/* ============================================================
   SOLARYIEN DEVELOPMENT GROUP, INC. (SDG)
   main.css — Global design system
   Premium · dark · cinematic · grounded · authoritative
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --bg:            #0a0a0a;
  --bg-deep:       #070707;
  --gold:          #c9a84c;
  --gold-bright:   #e3c976;
  --gold-deep:     #8a7233;
  --silver:        #a8a8b8;
  --text:          #f5f0e8;
  --text-secondary:#7a6a50;
  --border:        #1a1600;
  --border-gold:   #2a2410;
  --card:          #0f0e08;

  --maxw:          1240px;
  --gutter:        clamp(20px, 5vw, 64px);
  --radius:        4px;

  --glow:          0 0 40px rgba(201,168,76,0.15);
  --glow-strong:   0 0 60px rgba(201,168,76,0.30);
  --head-glow:     0 0 40px rgba(201,168,76,0.30);

  --ease:          cubic-bezier(0.22, 1, 0.36, 1);
  --photo-filter:  contrast(1.12) brightness(0.88) saturate(0.8) sepia(0.08);

  --font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px; line-height: 1.65; font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* Layered, lit background */
body {
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(1100px 600px at 50% -10%, rgba(201,168,76,0.10), transparent 60%),
    radial-gradient(900px 500px at 100% 12%, rgba(160,160,184,0.04), transparent 55%),
    radial-gradient(900px 700px at 0% 60%, rgba(201,168,76,0.05), transparent 55%);
  background-attachment: fixed;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.14; color: var(--text); }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.8rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); letter-spacing: -0.3px; }
h3 { font-size: clamp(1.35rem, 2.6vw, 2rem); }
h4 { font-size: clamp(1.05rem, 2vw, 1.4rem); }
p { color: var(--text); opacity: 0.92; }

.headline-glow { text-shadow: var(--head-glow); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-body); text-transform: uppercase;
  letter-spacing: 4px; font-size: 0.72rem; font-weight: 600;
  color: var(--gold); margin-bottom: 1.2rem;
}
.eyebrow::before, .eyebrow::after {
  content: ''; width: 26px; height: 1px; background: var(--gold); opacity: 0.7;
}
.eyebrow.solo::after { display: none; }

.lead { font-size: clamp(1.05rem, 1.7vw, 1.3rem); opacity: 0.9; max-width: 64ch; }
.text-secondary { color: var(--text-secondary) !important; }
.text-gold { color: var(--gold) !important; }
.serif { font-family: var(--font-head); }
.center { text-align: center; }
.maxw-text { max-width: 66ch; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(64px, 9vw, 130px); overflow: hidden; }
.section > .container { position: relative; z-index: 3; }
.section-head { max-width: 820px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* Gold divider */
.rule {
  height: 1px; border: 0;
  background: linear-gradient(90deg, transparent, var(--gold-deep) 30%, var(--gold) 50%, var(--gold-deep) 70%, transparent);
  opacity: 0.55; margin: 0 auto; max-width: var(--maxw); width: calc(100% - 2*var(--gutter));
}

/* ============================================================
   PHOTO LAYERING SYSTEM
   ============================================================ */
.photo-professional { filter: var(--photo-filter); }

/* full-bleed section background photo */
.photo-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-size: cover; background-position: center;
  filter: var(--photo-filter);
  opacity: 0.28;
  mix-blend-mode: luminosity;
}
.photo-bg.strong { opacity: 0.40; mix-blend-mode: normal; }
.photo-bg.soft   { opacity: 0.20; }
/* dark gradient overlay for contrast */
.photo-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(10,10,10,0.40) 0%, rgba(10,10,10,0.72) 60%, rgba(10,10,10,0.92) 100%);
}
.photo-overlay.hero { background: linear-gradient(to bottom, rgba(10,10,10,0.30) 0%, rgba(10,10,10,0.55) 55%, rgba(10,10,10,0.88) 100%); }

/* decorative blueprint/construction grid overlay */
.grid-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.06;
  background-image:
    linear-gradient(rgba(201,168,76,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,1) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 80%);
}
/* gold glow from a corner */
.glow-corner { position: absolute; z-index: 0; width: 520px; height: 520px; border-radius: 50%; filter: blur(100px); pointer-events: none; background: radial-gradient(circle, rgba(201,168,76,0.14), transparent 70%); }
.glow-corner.tl { top: -160px; left: -120px; }
.glow-corner.br { bottom: -180px; right: -140px; background: radial-gradient(circle, rgba(160,160,184,0.08), transparent 70%); }

/* giant decorative division number */
.ghost-number {
  position: absolute; z-index: 1; top: 50%; right: 3%; transform: translateY(-50%);
  font-family: var(--font-head); font-weight: 700; font-size: clamp(140px, 26vw, 320px);
  color: var(--gold); opacity: 0.07; line-height: 0.8; pointer-events: none; user-select: none;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-body); font-size: 0.92rem; font-weight: 600; letter-spacing: 0.4px;
  padding: 0.95rem 1.95rem; border-radius: var(--radius); border: 1px solid transparent;
  transition: all 0.3s var(--ease); text-align: center;
}
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1rem; }
.btn-gold { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%); color: #0a0a0a; box-shadow: var(--glow); }
.btn-gold:hover { box-shadow: var(--glow-strong); transform: translateY(-2px); filter: brightness(1.07); }
.btn-gold::after {
  content: ''; position: absolute; top: 0; left: -130%; width: 80%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-18deg); transition: left 0.6s var(--ease);
}
.btn-gold:hover::after { left: 150%; }
.btn-outline { background: transparent; color: var(--gold); border-color: var(--gold-deep); }
.btn-outline:hover { border-color: var(--gold); background: rgba(201,168,76,0.07); transform: translateY(-2px); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 0.36rem 0.85rem; border-radius: 100px; border: 1px solid;
}
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.badge-active { color: #6fcf97; border-color: rgba(111,207,151,0.35); background: rgba(111,207,151,0.06); }
.badge-expanding { color: var(--gold-bright); border-color: rgba(201,168,76,0.4); background: rgba(201,168,76,0.06); }
.badge-dev { color: var(--silver); border-color: rgba(168,168,184,0.3); background: rgba(168,168,184,0.05); }

/* ---------- Cards ---------- */
.card {
  position: relative; overflow: hidden;
  background: rgba(15,14,8,0.85);
  border: 0.5px solid rgba(201,168,76,0.30);
  border-radius: var(--radius); padding: 2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
}
.card:hover { border-color: rgba(201,168,76,0.8); box-shadow: 0 8px 40px rgba(201,168,76,0.15); transform: translateY(-4px); }
.card.featured { border-top: 2px solid var(--gold); }
.card .card-link {
  display: inline-flex; align-items: center; gap: 0.4rem; color: var(--gold);
  font-weight: 600; font-size: 0.88rem; margin-top: 1.2rem; transition: gap 0.25s var(--ease);
}
.card .card-link::after { content: '\2192'; }
.card .card-link:hover { gap: 0.75rem; }

/* gold L-corner accents (featured cards / quotes) */
.corners::before, .corners::after {
  content: ''; position: absolute; width: 22px; height: 22px; pointer-events: none;
}
.corners::before { top: 12px; left: 12px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.corners::after { bottom: 12px; right: 12px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2,1fr);} .grid-3 { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 600px) { .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr;} }

/* ---------- Metric cards ---------- */
.metric { position: relative; text-align: center; padding: 2rem 1rem; border: 0.5px solid rgba(201,168,76,0.30); border-radius: var(--radius); background: rgba(15,14,8,0.7); transition: all 0.3s ease; }
.metric:hover { border-color: rgba(201,168,76,0.7); box-shadow: 0 8px 40px rgba(201,168,76,0.12); }
.metric .num {
  font-family: var(--font-head); font-weight: 700; line-height: 1;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  background: linear-gradient(135deg, #f4e3ab, var(--gold) 50%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 24px rgba(201,168,76,0.3));
}
.metric .label { margin-top: 0.7rem; font-size: 0.82rem; color: var(--text-secondary); letter-spacing: 0.4px; line-height: 1.4; }

/* big dramatic statistic */
.stat-huge { font-family: var(--font-head); font-weight: 700; font-size: clamp(3rem, 7vw, 5rem); color: var(--gold); text-shadow: var(--head-glow); line-height: 1; }

/* ============================================================
   NAVIGATION + MEGA DROPDOWN
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(8,8,8,0.6); border-bottom: 1px solid var(--border-gold);
  backdrop-filter: blur(14px) saturate(120%);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav.scrolled { background: rgba(7,7,7,0.95); border-bottom-color: var(--gold-deep); }
.nav-inner { max-width: var(--maxw); margin-inline: auto; padding: 0.85rem var(--gutter); display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 0.7rem; }
.nav-logo img { height: 40px; width: auto; }
.nav-logo .wordmark { font-family: var(--font-head); font-size: 1.02rem; font-weight: 700; letter-spacing: 0.4px; line-height: 1; }
.nav-logo .wordmark small { display: block; font-family: var(--font-body); font-size: 0.5rem; letter-spacing: 2.2px; color: var(--gold); margin-top: 3px; font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links > a, .nav-dropdown > a { position: relative; font-size: 0.88rem; font-weight: 500; color: var(--text); opacity: 0.85; letter-spacing: 0.3px; padding-bottom: 4px; transition: color 0.2s, opacity 0.2s; }
.nav-links > a::after, .nav-dropdown > a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px;
  background: var(--gold); box-shadow: 0 0 8px var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav-links > a:hover, .nav-dropdown > a:hover { color: var(--gold); opacity: 1; }
.nav-links > a:hover::after, .nav-dropdown:hover > a::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold); opacity: 1; }
.nav-links a.active::after { transform: scaleX(1); }
.nav-dropdown > a::before { content: ' \25BE'; position: static; font-size: 0.7em; opacity: 0.7; }

/* mega dropdown */
.mega {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
  width: min(720px, 92vw);
  background: #0c0b07; border: 1px solid var(--border-gold); border-radius: var(--radius);
  padding: 1rem; box-shadow: 0 30px 70px rgba(0,0,0,0.7); z-index: 210;
  opacity: 0; visibility: hidden; transition: all 0.25s var(--ease);
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem;
}
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -22px; height: 24px; }
.nav-dropdown:hover .mega, .nav-dropdown.open .mega, .nav-dropdown:focus-within .mega {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.mega a { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.7rem 0.8rem; border-radius: var(--radius); transition: background 0.2s; }
.mega a:hover { background: rgba(201,168,76,0.08); }
.mega .m-num { font-family: var(--font-head); font-weight: 700; color: var(--gold); font-size: 0.95rem; min-width: 26px; }
.mega .m-name { color: var(--text); font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; gap: 0.5rem; }
.mega .m-desc { color: var(--text-secondary); font-size: 0.76rem; margin-top: 2px; }
.mega .mini-badge { font-size: 0.55rem; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold-deep); border-radius: 100px; padding: 1px 6px; }

.nav-toggle { display: none; background: none; border: 0; width: 30px; height: 24px; position: relative; z-index: 220; }
.nav-toggle span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--gold); transition: all 0.3s var(--ease); }
.nav-toggle span:nth-child(1){ top: 2px; } .nav-toggle span:nth-child(2){ top: 11px; } .nav-toggle span:nth-child(3){ top: 20px; }
.nav-toggle.open span:nth-child(1){ top: 11px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity: 0; }
.nav-toggle.open span:nth-child(3){ top: 11px; transform: rotate(-45deg); }

@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(340px, 86vw);
    flex-direction: column; align-items: flex-start; gap: 0.2rem;
    background: #0a0a0a; border-left: 1px solid var(--border-gold);
    padding: 5.5rem 1.8rem 2rem; transform: translateX(100%); transition: transform 0.35s var(--ease); overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links > a, .nav-dropdown { width: 100%; }
  .nav-links > a { padding: 0.8rem 0; border-bottom: 1px solid var(--border); }
  .nav-dropdown > a { display: block; padding: 0.8rem 0; border-bottom: 1px solid var(--border); }
  .mega {
    position: static; transform: none; opacity: 1; visibility: visible; width: 100%;
    grid-template-columns: 1fr; background: transparent; border: 0; box-shadow: none; padding: 0.3rem 0 0.6rem 0.8rem;
    max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease);
  }
  .nav-dropdown.open .mega { max-height: 1400px; }
  .nav-dropdown > a::before { content: ' +'; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding: 6rem var(--gutter) 4rem; }
.hero.compact { min-height: 66vh; }
.hero-content { position: relative; z-index: 4; max-width: 920px; width: 100%; }
.hero.center .hero-content { margin-inline: auto; text-align: center; }
.hero.center .eyebrow { justify-content: center; }
.hero-logo { height: 78px; width: auto; margin-bottom: 1.6rem; }
.hero.center .hero-logo { margin-inline: auto; }
.hero h1 { margin: 0.6rem 0 1rem; }
.hero .subhead { font-size: clamp(1.1rem, 2.2vw, 1.5rem); color: var(--silver); font-weight: 300; max-width: 720px; margin-bottom: 1.3rem; }
.hero.center .subhead { margin-inline: auto; }
.hero-body { max-width: 660px; opacity: 0.86; margin-bottom: 2.2rem; }
.hero.center .hero-body { margin-inline: auto; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero.center .hero-cta { justify-content: center; }

.scroll-indicator { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 5; width: 26px; height: 42px; border: 2px solid var(--gold-deep); border-radius: 14px; display: flex; justify-content: center; }
.scroll-indicator::after { content: ''; width: 4px; height: 8px; background: var(--gold); border-radius: 2px; margin-top: 7px; box-shadow: 0 0 8px var(--gold); animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0%{opacity:0;transform:translateY(0)} 30%{opacity:1} 60%{opacity:1;transform:translateY(12px)} 100%{opacity:0;transform:translateY(16px)} }

/* hero word-reveal load animation */
.reveal-stack > * { opacity: 0; transform: translateY(24px); }
.reveal-stack.go > * { animation: revealUp 0.7s var(--ease) forwards; }
.reveal-stack.go > *:nth-child(1){ animation-delay: 0.05s; }
.reveal-stack.go > *:nth-child(2){ animation-delay: 0.35s; }
.reveal-stack.go > *:nth-child(3){ animation-delay: 0.65s; }
.reveal-stack.go > *:nth-child(4){ animation-delay: 1.15s; }
.reveal-stack.go > *:nth-child(5){ animation-delay: 1.55s; }
.reveal-stack.go > *:nth-child(6){ animation-delay: 1.9s; }
@keyframes revealUp { to { opacity: 1; transform: none; } }
.word { display: inline-block; opacity: 0; }
.reveal-stack.go .word { animation: wordIn 0.5s var(--ease) forwards; }
@keyframes wordIn { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } to { opacity: 1; transform: none; filter: blur(0); } }

/* ============================================================
   QUOTE
   ============================================================ */
.quote-section { border-block: 1px solid var(--border-gold); background: linear-gradient(180deg, #0c0b06, #0a0a0a); }
.quote-wrap { position: relative; max-width: 940px; margin-inline: auto; padding: clamp(2rem,5vw,3.5rem); }
.quote-section blockquote { font-family: var(--font-head); font-style: italic; font-size: clamp(1.5rem, 3.4vw, 2.5rem); line-height: 1.4; }
.quote-section cite { display: block; margin-top: 1.6rem; font-family: var(--font-body); font-style: normal; font-size: 0.95rem; letter-spacing: 1px; color: var(--gold); }

/* ============================================================
   FEATURES / SERVICES with gold icons
   ============================================================ */
.feature { display: flex; gap: 1.1rem; padding: 1.5rem; border: 0.5px solid rgba(201,168,76,0.3); border-radius: var(--radius); background: rgba(15,14,8,0.8); transition: all 0.3s ease; }
.feature:hover { border-color: rgba(201,168,76,0.8); transform: translateX(4px); box-shadow: 0 8px 30px rgba(201,168,76,0.12); }
.icon-box { flex: 0 0 46px; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--gold-deep); border-radius: var(--radius); color: var(--gold); background: rgba(201,168,76,0.05); }
.icon-box svg { width: 22px; height: 22px; }
.feature h4 { margin-bottom: 0.3rem; }
.feature p { font-size: 0.9rem; opacity: 0.8; }

/* service checklist with gold check icon */
.svc-list { display: grid; gap: 0.7rem; }
.svc-list li { position: relative; padding-left: 1.9rem; opacity: 0.9; font-size: 0.95rem; }
.svc-list li::before {
  content: ''; position: absolute; left: 0; top: 0.35em; width: 12px; height: 7px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg);
}
.checklist li { position: relative; padding-left: 1.9rem; margin-bottom: 0.8rem; opacity: 0.9; }
.checklist li::before { content: '\2713'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* ---------- Tables ---------- */
.data-table { width: 100%; border-collapse: collapse; border: 1px solid var(--border-gold); border-radius: var(--radius); overflow: hidden; }
.data-table th, .data-table td { padding: 1rem 1.2rem; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.data-table thead th { background: #0c0b06; color: var(--gold); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 2px; }
.data-table tbody tr:hover { background: rgba(201,168,76,0.04); }
.data-table td:first-child { font-weight: 600; }
.data-table .accent { color: var(--gold-bright); font-weight: 600; }
.table-note { margin-top: 1rem; font-size: 0.86rem; color: var(--text-secondary); }
.table-wrap { overflow-x: auto; }

/* ---------- Callout ---------- */
.callout { position: relative; border: 1px solid var(--gold-deep); border-left: 4px solid var(--gold); border-radius: var(--radius); background: rgba(15,14,8,0.85); padding: clamp(1.8rem,4vw,2.8rem); box-shadow: var(--glow); }

/* ---------- CTA strip ---------- */
.cta-strip { position: relative; border: 1px solid var(--gold-deep); border-radius: var(--radius); background: linear-gradient(135deg, #0e0d07, #0a0a0a); padding: clamp(2.5rem,6vw,4rem); text-align: center; box-shadow: var(--glow); overflow: hidden; }
.cta-strip h2 { margin-bottom: 1.6rem; }
.cta-strip .hero-cta { justify-content: center; margin-top: 1.4rem; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.facts-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--border); }
.facts-list li .k { color: var(--text-secondary); font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; }
.facts-list li .v { color: var(--gold); font-weight: 600; text-align: right; }

/* ---------- Photo frame (leadership/portfolio) ---------- */
.photo-frame { position: relative; border: 1px solid var(--gold-deep); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: linear-gradient(150deg,#14110a,#0a0a0a); box-shadow: 0 24px 60px rgba(0,0,0,0.55), var(--glow); display: flex; align-items: center; justify-content: center; text-align: center; padding: 2rem; }
.photo-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 3; }
.photo-frame .placeholder-text { position: relative; z-index: 2; }
.photo-frame .placeholder-text .avatar { width: 80px; height: 80px; margin: 0 auto 1rem; color: var(--gold-deep); opacity: 0.85; }
.photo-frame .placeholder-text .name { font-family: var(--font-head); font-size: 1.4rem; color: var(--gold); }
.photo-frame .placeholder-text .role { font-size: 0.85rem; color: var(--text-secondary); letter-spacing: 1px; margin-top: 0.3rem; }
.photo-frame .placeholder-text .hint { margin-top: 0.8rem; font-size: 0.7rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-secondary); opacity: 0.7; }

/* ============================================================
   DIVISION OVERVIEW — mini-hero blocks
   ============================================================ */
.division-block { position: relative; min-height: 86vh; display: flex; align-items: center; overflow: hidden; padding: 5rem var(--gutter); border-bottom: 1px solid var(--border-gold); }
.division-block .dv-inner { position: relative; z-index: 3; max-width: var(--maxw); margin-inline: auto; width: 100%; }
.division-block .dv-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
@media (max-width: 860px){ .division-block .dv-grid { grid-template-columns: 1fr; } }
.dv-type { color: var(--gold); text-transform: uppercase; letter-spacing: 4px; font-size: 0.75rem; font-weight: 600; }

/* ============================================================
   PORTFOLIO
   ============================================================ */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; margin-bottom: 2.5rem; justify-content: center; }
.filter-bar select, .filter-bar .fbtn {
  background: #0c0c0c; border: 1px solid var(--border-gold); color: var(--text);
  font-family: var(--font-body); font-size: 0.88rem; padding: 0.7rem 1.1rem; border-radius: var(--radius); cursor: pointer; transition: all 0.25s ease;
}
.filter-bar select:focus { outline: none; border-color: var(--gold); }
.filter-bar .fbtn.active, .filter-bar .fbtn:hover { border-color: var(--gold); color: var(--gold); }

.pf-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
@media (max-width: 900px){ .pf-grid { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 600px){ .pf-grid { grid-template-columns: 1fr;} }
.pf-card { position: relative; border: 0.5px solid rgba(201,168,76,0.3); border-radius: var(--radius); overflow: hidden; cursor: pointer; min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; transition: all 0.3s ease; }
.pf-card:hover { border-color: rgba(201,168,76,0.8); box-shadow: 0 8px 40px rgba(201,168,76,0.18); transform: translateY(-4px); }
.pf-card .pf-photo { position: absolute; inset: 0; background-size: cover; background-position: center; filter: var(--photo-filter); opacity: 0.55; transition: transform 0.6s var(--ease), opacity 0.3s; }
.pf-card:hover .pf-photo { transform: scale(1.06); opacity: 0.7; }
.pf-card .pf-veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,8,0.94) 10%, rgba(8,8,8,0.4) 70%, rgba(8,8,8,0.2)); }
.pf-card .pf-body { position: relative; z-index: 2; padding: 1.5rem; }
.pf-card .pf-badge { font-size: 0.62rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold-deep); border-radius: 100px; padding: 2px 8px; display: inline-block; margin-bottom: 0.7rem; }
.pf-card h4 { margin-bottom: 0.3rem; }
.pf-card .pf-loc { font-size: 0.78rem; color: var(--text-secondary); letter-spacing: 1px; text-transform: uppercase; }
.pf-card .pf-desc { font-size: 0.86rem; opacity: 0.8; margin-top: 0.6rem; }
.pf-card.hide { display: none; }

/* modal */
.modal-backdrop { position: fixed; inset: 0; z-index: 500; background: rgba(5,5,5,0.85); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: var(--gutter); }
.modal-backdrop.open { display: flex; }
.modal { position: relative; max-width: 760px; width: 100%; max-height: 88vh; overflow-y: auto; background: #0c0b07; border: 1px solid var(--gold-deep); border-radius: var(--radius); box-shadow: 0 40px 100px rgba(0,0,0,0.7); }
.modal .m-photo { height: 240px; background-size: cover; background-position: center; filter: var(--photo-filter); }
.modal .m-inner { padding: clamp(1.6rem,4vw,2.4rem); }
.modal-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; background: rgba(10,10,10,0.7); border: 1px solid var(--gold-deep); color: var(--gold); font-size: 1.2rem; line-height: 1; z-index: 3; }
.modal-close:hover { background: rgba(201,168,76,0.15); }
.gallery-placeholder { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.6rem; margin-top: 1.2rem; }
.gallery-placeholder div { aspect-ratio: 4/3; border: 1px dashed var(--gold-deep); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--text-secondary); font-size: 0.72rem; letter-spacing: 1px; }

/* ============================================================
   FORMS
   ============================================================ */
.form { display: grid; gap: 1.3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
@media (max-width: 600px){ .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 0.76rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.field input, .field select, .field textarea { width: 100%; background: #0c0c0c; border: 1px solid var(--border-gold); border-radius: var(--radius); color: var(--text); font-family: var(--font-body); font-size: 0.95rem; padding: 0.85rem 1rem; transition: border-color 0.25s, box-shadow 0.25s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.12); }
.field textarea { resize: vertical; min-height: 140px; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-status { padding: 1rem 1.2rem; border-radius: var(--radius); font-size: 0.92rem; display: none; }
.form-status.show { display: block; }
.form-status.success { background: rgba(111,207,151,0.08); border: 1px solid rgba(111,207,151,0.3); color: #6fcf97; }
.form-status.error { background: rgba(224,108,108,0.08); border: 1px solid rgba(224,108,108,0.3); color: #e06c6c; }

.contact-card { text-align: center; }
.contact-card .icon-box { margin: 0 auto 1rem; }
.contact-card .k { font-size: 0.74rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-secondary); }
.contact-card .v { font-size: 1.05rem; margin-top: 0.4rem; word-break: break-word; }

/* Florida map */
.fl-map { position: relative; border: 1px solid var(--border-gold); border-radius: var(--radius); background: rgba(15,14,8,0.7); padding: 2rem; text-align: center; }
.fl-map svg { width: 100%; max-width: 420px; height: auto; margin: 0 auto; }
.fl-map .marker { fill: var(--gold); }
.fl-map .marker-pulse { fill: var(--gold); opacity: 0.5; transform-origin: center; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100%{ opacity: 0.5; r: 6; } 50%{ opacity: 0; r: 18; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--border-gold); background: #070707; padding-block: clamp(3rem,6vw,4.5rem) 2rem; position: relative; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(4,1fr); gap: 2rem; }
@media (max-width: 900px){ .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-top { grid-template-columns: 1fr; } }
.footer-brand .wordmark { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; }
.footer-brand .tag { color: var(--gold); letter-spacing: 1.5px; font-size: 0.66rem; text-transform: uppercase; margin-top: 0.6rem; }
.footer-brand .parent { color: var(--text-secondary); font-size: 0.8rem; margin-top: 0.8rem; }
.footer-col h5 { font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.footer-col a { display: block; padding: 0.32rem 0; font-size: 0.86rem; opacity: 0.78; transition: opacity 0.2s, color 0.2s; }
.footer-col a:hover { opacity: 1; color: var(--gold); }
.footer-bottom { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: 0.8rem; color: var(--text-secondary); }
.footer-bottom a { color: var(--gold); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: none; }
.fade-in.d1 { transition-delay: 0.1s; } .fade-in.d2 { transition-delay: 0.2s; }
.fade-in.d3 { transition-delay: 0.3s; } .fade-in.d4 { transition-delay: 0.4s; }
.fade-in.d5 { transition-delay: 0.5s; }
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
  .reveal-stack > *, .word { opacity: 1 !important; transform: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* utilities */
.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}.mt-5{margin-top:3rem}
.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}.mb-4{margin-bottom:2rem}
.gold-divider{height:1px;background:linear-gradient(90deg,transparent,var(--gold-deep),transparent);margin:2rem 0;border:0}
