/* ============================================================
   SOVEREIGN — Components & Sections
   ============================================================ */

/* ---------------- NAV ---------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  transition: padding 0.5s var(--ease), background 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 12px var(--gutter);
  background: rgba(8,22,38,0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
  box-shadow: 0 18px 40px -30px rgba(0,0,0,0.9);
}
.brand { display: flex; align-items: center; gap: 17px; text-decoration: none; }
.brand img {
  width: 70px; height: 70px; object-fit: contain;
  transition: width 0.5s var(--ease), height 0.5s var(--ease);
  animation: crestGlow 5.5s ease-in-out infinite;
}
.nav.scrolled .brand img { width: 56px; height: 56px; }
@keyframes crestGlow {
  0%, 100% { filter: drop-shadow(0 0 5px rgba(211,173,104,0.22)); }
  50%      { filter: drop-shadow(0 0 17px rgba(240,220,171,0.6)); }
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--wordmark);
  font-size: 1.92rem;
  letter-spacing: 0.34em;
  padding-left: 0.34em;
  background: linear-gradient(100deg,
    #e8edf5 0%, #ffffff 16%, #f0dcab 34%, #fffaf0 50%, #e6cd93 66%, #ffffff 84%, #dfe5f0 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: brandShimmer 6s linear infinite;
}
.brand-sub {
  font-family: var(--wordmark);
  font-size: 0.66rem;
  letter-spacing: 0.46em;
  color: var(--gold-400);
  margin-top: 7px;
  padding-left: 0.46em;
}
@keyframes brandShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -40% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .brand img { animation: none; }
  .brand-name { animation: none; background-position: 50% 0; }
}

.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav-links a {
  color: var(--on-navy-soft);
  text-decoration: none;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--gold-400);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.nav-links a:hover { color: var(--on-navy); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav a.nav-portal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  background: transparent;
  border: 1px solid var(--gold-400);
  color: var(--gold-300);
  padding: 13px 34px;
  white-space: nowrap;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700;
  cursor: pointer; text-decoration: none;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav a.nav-portal::after { display: none; }
.nav a.nav-portal:hover { background: var(--gold-grad); color: var(--navy-900); box-shadow: 0 10px 26px -12px rgba(211,173,104,0.7); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--on-navy); transition: 0.4s var(--ease); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--navy-900);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 0 var(--gutter);
  transform: translateY(-100%); transition: transform 0.6s var(--ease);
}
.mobile-menu.open { transform: none; }
.mobile-menu a {
  font-family: var(--serif); font-size: 2.2rem; color: var(--on-navy);
  text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--hairline);
}
.mobile-menu a:last-of-type { border-bottom: none; }

/* ---------------- HERO ---------------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; background: var(--navy-800); }
.hero-bg { position: absolute; inset: -8% 0 0 0; z-index: 0; will-change: transform; }
.hero-photo {
  position: absolute; inset: 0;
  width: 100% !important; height: 100% !important;
  display: block;
}
.hero-photo::part(frame) { background: var(--navy-800); }
/* scroll-driven veil: light haze up top, darkens over the skyline as you scroll */
.hero-veil {
  position: absolute; inset: 0;
  background: var(--navy-800);
  opacity: 0.12;
  transition: opacity 0.12s linear;
}
/* centered vignette: darkens the middle just enough for the headline to read */
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 62% at 50% 46%, rgba(6,18,31,0.62) 0%, rgba(6,18,31,0.30) 46%, rgba(6,18,31,0.05) 78%, rgba(6,18,31,0) 100%),
    linear-gradient(0deg, rgba(6,18,31,0.66) 0%, rgba(6,18,31,0) 42%),
    linear-gradient(180deg, rgba(6,18,31,0.46) 0%, rgba(6,18,31,0) 26%);
  z-index: 2; pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-block: 140px 90px; }
.hero-center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero h1 { color: var(--on-navy); margin: 0; max-width: none; width: 100%; }
.hero .lead { max-width: 42ch; margin-top: 30px; color: var(--on-navy-soft); }
.hero-cta { margin-top: 40px; display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }

/* crest divider — gold hairline, shield, gold hairline */
.hero-crest { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 30px; }
.hero-crest .hc-line { display: block; width: clamp(70px, 13vw, 150px); height: 1px; background: linear-gradient(90deg, transparent, var(--gold-400)); }
.hero-crest .hc-line:last-child { background: linear-gradient(90deg, var(--gold-400), transparent); }
.hero-crest .hc-mark { width: 30px; height: 36px; object-fit: contain; opacity: 0.95; flex: none; }

/* outlined hero button */
.btn-approach {
  --bd: rgba(211,173,104,0.55);
  display: inline-block; font-family: var(--wordmark);
  font-size: 0.74rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--gold-200); text-decoration: none; white-space: nowrap;
  padding: 17px 38px; border: 1px solid var(--bd);
  background: rgba(211,173,104,0.04);
  transition: border-color 0.5s var(--ease-out), background 0.5s var(--ease-out), color 0.5s var(--ease-out), letter-spacing 0.5s var(--ease-out);
}
.btn-approach:hover { border-color: var(--gold-300); background: rgba(211,173,104,0.12); color: #fff; letter-spacing: 0.40em; }

.scroll-cue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--on-navy-mute); font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase;
}
.scroll-cue .line { width: 1px; height: 46px; background: linear-gradient(var(--gold-400), transparent); position: relative; overflow: hidden; }
.scroll-cue .line::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--gold-200); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { top: -50%; } 60%,100% { top: 100%; } }

/* ---------------- TAGLINE MARQUEE ---------------- */
.tagband { background: var(--navy-900); border-block: 1px solid var(--hairline); padding-block: 26px; overflow: hidden; }
.marquee { display: flex; gap: 60px; white-space: nowrap; width: max-content; animation: scrollx 38s linear infinite; }
.marquee span {
  font-family: var(--wordmark); font-size: 1.05rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--on-navy-soft); display: inline-flex; align-items: center; gap: 60px;
}
.marquee span::after { content: "✦"; color: var(--gold-400); font-size: 0.7rem; }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------------- PILLARS ---------------- */
.pillars { background: var(--navy-850); }
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 64px; border-top: 1px solid var(--hairline); }
.pillar {
  padding: 44px 32px 44px 0; position: relative;
  border-right: 1px solid var(--hairline);
}
.pillar:last-child { border-right: none; }
.pillar { padding-inline: 34px; }
.pillar:first-child { padding-left: 0; }
.pillar-num { font-family: var(--serif); font-size: 1.35rem; color: var(--gold-400); font-style: italic; }
.pillar-icon { width: 46px; height: 46px; margin: 22px 0 20px; color: var(--gold-400); }
.pillar-icon svg { width: 100%; height: 100%; }
.pillar h3 { font-size: 1.55rem; color: var(--on-navy); margin-bottom: 12px; }
.pillar p { color: var(--on-navy-soft); font-size: 0.97rem; line-height: 1.65; }

/* ---------------- STATEMENT (cream) ---------------- */
.statement { background: var(--cream); color: var(--ink); text-align: center; }
.statement .big {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2rem, 5vw, 4.4rem); line-height: 1.08; letter-spacing: -0.015em;
  max-width: 20ch; margin: 30px auto 0; color: var(--ink);
}
.statement .big em { font-style: italic; color: var(--gold-600); }
.statement .sig { margin-top: 36px; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--ink-soft); }

/* ---------------- SERVICES (cream, accordion list) ---------------- */
.services { background: var(--paper); color: var(--ink); }
.services-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; }
.services-head .h2 { color: var(--ink); }
.svc-list { margin-top: 70px; border-top: 1px solid var(--hairline-light); }
.svc-item { border-bottom: 1px solid var(--hairline-light); }
.svc-row {
  display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 28px;
  padding: 32px 8px; cursor: pointer; width: 100%; background: none; border: none; text-align: left;
  font-family: inherit; transition: padding-left 0.5s var(--ease);
}
.svc-row:hover { padding-left: 22px; }
.svc-idx { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--gold-600); }
.svc-name { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.3rem); color: var(--ink); font-weight: 600; line-height: 1.1; }
.svc-plus { width: 38px; height: 38px; border: 1px solid var(--hairline-light); border-radius: 50%; display: grid; place-items: center; color: var(--gold-600); transition: 0.45s var(--ease); flex-shrink: 0; }
.svc-plus svg { width: 16px; height: 16px; transition: transform 0.45s var(--ease); }
.svc-item.open .svc-plus { background: var(--gold-grad); border-color: transparent; color: var(--navy-900); }
.svc-item.open .svc-plus svg { transform: rotate(45deg); }
.svc-body { max-height: 0; overflow: hidden; transition: max-height 0.6s var(--ease); }
.svc-body-inner { padding: 0 8px 38px 108px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; }
.svc-body-inner p { color: var(--ink-soft); font-size: 1.05rem; }
.svc-tags { display: flex; flex-direction: column; gap: 10px; }
.svc-tags span { font-size: 0.96rem; letter-spacing: 0.04em; color: var(--ink-soft); display: flex; align-items: center; gap: 10px; }
.svc-tags span::before { content: ""; width: 7px; height: 7px; background: var(--gold-400); transform: rotate(45deg); flex-shrink: 0; }

/* ---------------- APPROACH (navy, steps) ---------------- */
.approach { background: var(--navy-800); }
.approach-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 110px); margin-top: 60px; align-items: start; }
.approach-intro { position: sticky; top: 120px; }
.approach-intro .lead { margin-top: 24px; }
.steps { display: flex; flex-direction: column; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 30px; padding: 36px 0; border-top: 1px solid var(--hairline); }
.step:last-child { border-bottom: 1px solid var(--hairline); }
.step-num { font-family: var(--serif); font-size: 3rem; font-style: italic; color: var(--gold-400); line-height: 1; }
.step h3 { font-size: 1.6rem; color: var(--on-navy); margin-bottom: 10px; }
.step p { color: var(--on-navy-soft); font-size: 0.98rem; }

/* ---------------- STATS ---------------- */
.stats { background: var(--navy-900); border-block: 1px solid var(--hairline); }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.stat { text-align: center; padding: 20px; }
.stat .num { font-family: var(--serif); font-size: clamp(3rem, 6vw, 5.2rem); font-weight: 600; line-height: 1; }
.stat .num .gold-text { display: inline-block; }
.stat .lbl { margin-top: 14px; font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-navy-mute); font-weight: 600; }

/* ---------------- ABOUT (cream split) ---------------- */
.about { background: var(--cream); color: var(--ink); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-img { position: relative; }
.about-img image-slot, .about-img > img { width: 100%; height: 600px; display: block; object-fit: cover; object-position: center; }
.about-img .badge {
  position: absolute; bottom: -28px; right: -28px; z-index: 3;
  background: var(--navy-900); color: var(--on-navy);
  padding: 26px 30px; border: 1px solid var(--hairline); max-width: 230px;
}
.about-img .badge { display: flex; align-items: center; gap: 16px; }
.about-img .badge .b-crest { width: 46px; height: 46px; object-fit: contain; flex-shrink: 0; }
.about-img .badge .b-txt { font-size: 0.82rem; color: var(--on-navy-soft); letter-spacing: 0.04em; line-height: 1.5; }
.about h2 { color: var(--ink); }
.about p { color: var(--ink-soft); margin-top: 22px; font-size: 1.06rem; }
.about .checklist { margin-top: 30px; display: grid; gap: 14px; }
.about .checklist li { list-style: none; display: flex; gap: 14px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.about .checklist svg { width: 22px; height: 22px; color: var(--gold-600); flex-shrink: 0; margin-top: 2px; }

/* ---------------- INSIGHTS ---------------- */
.insights { background: var(--navy-850); }
.insights-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 60px; }
.card {
  background: var(--navy-700); border: 1px solid var(--hairline);
  text-decoration: none; color: var(--on-navy); display: flex; flex-direction: column;
  transition: transform 0.6s var(--ease-out), border-color 0.6s var(--ease), box-shadow 0.6s var(--ease-out);
}
.card:hover { transform: translateY(-8px); border-color: var(--gold-400); box-shadow: 0 30px 60px -34px rgba(0,0,0,0.8); }
.card image-slot { width: 100%; height: 220px; }
.card-img-ph { width: 100%; height: 220px; background: linear-gradient(135deg, var(--navy-600), var(--navy-800)); position: relative; overflow: hidden; }
.card-body { padding: 30px 30px 34px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card .tag { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-400); font-weight: 700; }
.card h3 { font-size: 1.45rem; color: var(--on-navy); line-height: 1.18; }
.card p { font-size: 0.94rem; color: var(--on-navy-soft); }
.card .more { margin-top: auto; padding-top: 12px; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-300); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.card .more .arr { transition: transform 0.4s var(--ease-out); }
.card:hover .more .arr { transform: translateX(5px); }

/* ---------------- CTA / CONTACT ---------------- */
.cta { background: var(--navy-900); position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 20%, rgba(211,173,104,0.1), transparent 60%);
}
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.cta h2 { color: var(--on-navy); }
.cta .lead { margin-top: 22px; max-width: 40ch; }
.cta-actions { margin-top: 38px; display: flex; gap: 20px; flex-wrap: wrap; }
.contact-card { border: 1px solid var(--hairline); padding: 40px; background: rgba(255,255,255,0.02); }
.contact-card .ci { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--hairline); }
.contact-card .ci:last-child { border-bottom: none; }
.contact-card .ci svg { width: 22px; height: 22px; color: var(--gold-400); flex-shrink: 0; margin-top: 2px; }
.contact-card .ci .k { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-navy-mute); }
.contact-card .ci .v { color: var(--on-navy); font-size: 1.02rem; margin-top: 3px; }
.contact-card .ci a { color: var(--on-navy); text-decoration: none; }
.contact-card .ci a:hover { color: var(--gold-300); }

/* ---------------- TEAM ---------------- */
.team { background: var(--navy-800); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 64px; }
/* clickable member card (button reset) */
.member {
  -webkit-appearance: none; appearance: none; background: none; border: none;
  font: inherit; color: inherit; text-align: left; padding: 0; margin: 0;
  display: flex; flex-direction: column; cursor: pointer;
}
.member-photo {
  position: relative; overflow: hidden; border: 1px solid var(--hairline);
  transition: border-color 0.5s var(--ease-out);
}
.member-photo image-slot, .member-photo img {
  width: 100%; height: 380px; display: block; object-fit: cover;
  transition: transform 0.9s var(--ease-out), filter 0.6s var(--ease-out);
  filter: saturate(0.92) brightness(0.92);
}
.member-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(6,18,31,0.5) 0%, rgba(6,18,31,0) 38%);
}
.member-photo img { transform: scale(1.01); object-position: 50% 50%; }
.member:hover .member-photo { border-color: var(--gold-400); }
.member:hover .member-photo img { transform: scale(1.06); filter: saturate(1.05) brightness(1); }

/* corner plus badge, fades in on hover */
.member-plus {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 38px; height: 38px; display: grid; place-items: center;
  color: var(--navy-900); background: var(--gold-grad); border-radius: 50%;
  opacity: 0; transform: translateY(-6px) scale(0.85);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
  box-shadow: 0 8px 22px -8px rgba(211,173,104,0.7);
}
.member-plus svg { width: 18px; height: 18px; }
.member:hover .member-plus, .member:focus-visible .member-plus { opacity: 1; transform: none; }

.member-info { padding: 24px 4px 0; }
.member-name { font-family: var(--serif); font-size: 1.7rem; color: var(--on-navy); line-height: 1.1; }
.member-name .lt {
  transition: color 0.4s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 0.024s);
}
.member:hover .member-name .lt, .member:focus-visible .member-name .lt { color: var(--gold-300); }
.member-info .role {
  display: inline-block; margin-top: 9px; font-family: var(--wordmark);
  font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-400);
}
.member-cue {
  display: flex; align-items: center; gap: 0.55em; margin-top: 18px;
  font-family: var(--wordmark); font-size: 0.66rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--on-navy-mute);
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out), color 0.45s var(--ease-out);
}
.member-cue .arr { transition: transform 0.4s var(--ease-out); }
.member:hover .member-cue, .member:focus-visible .member-cue { opacity: 1; transform: none; color: var(--gold-300); }
.member:hover .member-cue .arr { transform: translateX(5px); }
.member:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 6px; }

/* ---------------- PARTNERS ---------------- */
.partners { background: var(--navy-850); border-top: 1px solid var(--hairline); }
.partners-inner { text-align: center; }
.partners .eyebrow { justify-content: center; }
.partners h2 { color: var(--on-navy); margin-top: 18px; }
.partners-sub { color: var(--on-navy-soft); max-width: 52ch; margin: 18px auto 0; }
.partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 56px; max-width: 840px; margin-inline: auto; }
.partner-card {
  border: 1px solid var(--hairline); background: #ffffff;
  padding: 40px 36px; display: flex; flex-direction: column; align-items: center; gap: 22px;
  transition: border-color 0.5s var(--ease), transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.partner-card:hover { border-color: var(--gold-400); transform: translateY(-5px); box-shadow: 0 26px 50px -30px rgba(0,0,0,0.65); }
.partner-card image-slot {
  width: 300px; height: 150px;
  background: #fff;
}
#partner-wdg { width: 340px; height: 170px; }
.partner-card image-slot::part(frame) { background: #fff; }
.partner-logo-static { width: 300px; height: 150px; display: grid; place-items: center; }
.partner-logo-static img { max-width: 100%; max-height: 100%; object-fit: contain; }
.partner-logo-static.wdg { width: 380px; height: 170px; }
.partner-name { font-family: var(--wordmark); font-size: 1.18rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-600); }
.partner-role { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute); margin-top: -10px; }
@media (max-width: 720px) {
  .partner-grid { grid-template-columns: 1fr; max-width: 380px; }
}

@media (max-width: 880px) {
  .team-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .member-photo image-slot { height: 420px; }
}

/* ---------------- FOOTER ---------------- */
.footer { background: var(--navy-900); border-top: 1px solid var(--hairline); padding-top: 80px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer .brand { margin-bottom: 22px; }
.footer-blurb { color: var(--on-navy-soft); font-size: 0.95rem; max-width: 32ch; }
.footer-col h4 { font-family: var(--wordmark); font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 20px; }
.footer-col a { display: block; color: var(--on-navy-soft); text-decoration: none; font-size: 0.92rem; padding: 7px 0; transition: color 0.3s var(--ease), padding-left 0.3s var(--ease); }
.footer-col a:hover { color: var(--gold-300); padding-left: 6px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 28px 0; border-top: 1px solid var(--hairline); color: var(--on-navy-mute); font-size: 0.8rem; }
.footer-bottom .legal { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-bottom a { color: var(--on-navy-mute); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-300); }

/* ---------------- MODAL (portal) ---------------- */
.modal-scrim { position: fixed; inset: 0; z-index: 200; background: rgba(4,12,20,0.7); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease); display: grid; place-items: center; padding: 20px; }
.modal-scrim.open { opacity: 1; pointer-events: auto; }
.modal { background: var(--navy-800); border: 1px solid var(--hairline); max-width: 420px; width: 100%; padding: 46px 42px; transform: translateY(20px) scale(0.98); transition: transform 0.5s var(--ease-out); position: relative; }
.modal-scrim.open .modal { transform: none; }
.modal .crest { width: 70px; height: 70px; object-fit: contain; margin: 0 auto 22px; display: block; }
.modal h3 { font-size: 1.9rem; text-align: center; color: var(--on-navy); }
.modal p { text-align: center; color: var(--on-navy-soft); font-size: 0.92rem; margin-top: 8px; }
.modal .field { margin-top: 20px; }
.modal label { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-navy-mute); display: block; margin-bottom: 8px; }
.modal input { width: 100%; background: var(--navy-900); border: 1px solid var(--hairline); color: var(--on-navy); padding: 14px 16px; font-family: var(--sans); font-size: 0.95rem; outline: none; transition: border-color 0.3s var(--ease); }
.modal input:focus { border-color: var(--gold-400); }
.modal .btn-gold { width: 100%; justify-content: center; margin-top: 26px; }
.modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; color: var(--on-navy-mute); cursor: pointer; width: 34px; height: 34px; display: grid; place-items: center; font-size: 1.4rem; transition: color 0.3s; }
.modal-close:hover { color: var(--gold-300); }
.modal .small { text-align: center; font-size: 0.8rem; color: var(--on-navy-mute); margin-top: 18px; }
.modal .small a { color: var(--gold-300); text-decoration: none; }

/* ---------------- MEMBER PROFILE MODAL ---------------- */
.member-scrim {
  position: fixed; inset: 0; z-index: 210; background: rgba(4,12,20,0.72);
  backdrop-filter: blur(6px); opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease); display: grid; place-items: center; padding: 24px;
}
.member-scrim.open { opacity: 1; pointer-events: auto; }
.member-modal {
  position: relative; display: grid; grid-template-columns: 300px 1fr;
  width: 100%; max-width: 760px; background: var(--navy-800);
  border: 1px solid var(--hairline); overflow: hidden;
  transform: translateY(22px) scale(0.985);
  transition: transform 0.55s var(--ease-out);
}
.member-scrim.open .member-modal { transform: none; }
.mm-photo { position: relative; }
.mm-photo img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; display: block; }
.mm-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(6,18,31,0) 72%, rgba(10,26,46,0.55) 100%); }
.mm-body { padding: 48px 44px; display: flex; flex-direction: column; }
.mm-eyebrow { font-family: var(--wordmark); font-size: 0.62rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold-400); }
.mm-name { font-family: var(--serif); font-size: 2.1rem; color: var(--on-navy); line-height: 1.05; margin-top: 14px; }
.mm-role { margin-top: 11px; }
.mm-bio { color: var(--on-navy-soft); font-size: 1rem; line-height: 1.7; margin-top: 22px; }
.mm-contact { margin-top: 30px; align-self: flex-start; }
@media (max-width: 640px) {
  .member-modal { grid-template-columns: 1fr; max-width: 420px; }
  .mm-photo img { min-height: 260px; max-height: 320px; }
  .mm-body { padding: 32px 28px; }
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1040px) {
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar { border-bottom: 1px solid var(--hairline); }
  .pillar:nth-child(2) { border-right: none; }
  .insight-grid { grid-template-columns: 1fr 1fr; }
  .insight-grid .card:last-child { grid-column: span 2; }
}
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-portal { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 880px) {
  .services-head { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .approach-intro { position: static; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img { order: -1; }
  .about-img image-slot { height: 420px; }
  .cta-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .svc-body-inner { grid-template-columns: 1fr; padding-left: 8px; gap: 24px; }
  .svc-row { grid-template-columns: 40px 1fr auto; gap: 16px; }
}
@media (max-width: 560px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar { border-right: none; padding-inline: 0; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .insight-grid { grid-template-columns: 1fr; }
  .insight-grid .card:last-child { grid-column: auto; }
  .footer-top { grid-template-columns: 1fr; }
  .about-img .badge { right: 0; bottom: -20px; }
}

/* ============================================================
   ADDED COMPONENTS — marquee-in-hero, team scroll, resource
   center, survey & content modals
   ============================================================ */

/* bolder section sub-heads */
.pillar h3 { font-size: 1.78rem; font-weight: 700; }
.step h3 { font-size: 1.85rem; font-weight: 700; }
.rc-tile h3 { font-weight: 700; }

/* ---- hero marquee band ---- */
.hero-marquee {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  background: rgba(6,18,31,0.5);
  backdrop-filter: blur(6px);
  border-top: 1px solid var(--hairline);
  padding-block: 17px; overflow: hidden;
}
.about-cta { margin-top: 32px; }

/* ---- team: banner + horizontal scroll ---- */
.team-banner { margin-top: 44px; border: 1px solid var(--hairline); overflow: hidden; }
.team-banner img { width: 100%; height: clamp(280px, 44vw, 520px); object-fit: cover; object-position: 50% 48%; display: block; filter: saturate(0.97) brightness(0.97); }
.team-scroll { margin-top: 52px; }
.team-track {
  display: flex; gap: 30px; overflow-x: auto; padding-bottom: 14px;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: thin; scrollbar-color: var(--gold-500) transparent;
}
.team-track::-webkit-scrollbar { height: 5px; }
.team-track::-webkit-scrollbar-thumb { background: var(--gold-500); }
.team-track::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }
.team-track .member { flex: 0 0 clamp(260px, 30vw, 330px); scroll-snap-align: start; }
.team-track .member-photo image-slot, .team-track .member-photo img { height: 400px; }
/* chest-up framing: zoom + focus near top third of the portrait */
/* portraits are pre-framed (480×640) with headroom; show in full, no head-cropping zoom */
.team-track .member-photo img { transform: none; object-position: 50% 50%; }
.team-track .member:hover .member-photo img { transform: scale(1.03); }
.team-nav { display: flex; gap: 14px; margin-top: 28px; }
.team-arrow {
  width: 54px; height: 54px; border: 1px solid var(--hairline); background: transparent;
  color: var(--gold-300); cursor: pointer; display: grid; place-items: center;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease);
}
.team-arrow:hover { border-color: var(--gold-400); background: rgba(211,173,104,0.08); color: var(--gold-200); }
.team-arrow svg { width: 22px; height: 22px; }

/* ---- resource center tiles ---- */
.rc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 62px; }
.rc-tile {
  -webkit-appearance: none; appearance: none; text-align: left; cursor: pointer;
  background: var(--navy-700); border: 1px solid var(--hairline);
  padding: 42px 40px; display: flex; flex-direction: column; gap: 12px;
  color: inherit; font: inherit;
  transition: transform 0.55s var(--ease-out), border-color 0.5s var(--ease), box-shadow 0.55s var(--ease-out);
}
.rc-tile:hover { transform: translateY(-7px); border-color: var(--gold-400); box-shadow: 0 30px 60px -34px rgba(0,0,0,0.8); }
.rc-tile-wide { grid-column: span 2; }
.rc-kicker { font-family: var(--serif); font-style: italic; font-size: 1.55rem; color: var(--gold-400); }
.rc-tile h3 { font-size: 1.72rem; color: var(--on-navy); line-height: 1.1; }
.rc-tile p { color: var(--on-navy-soft); font-size: 0.98rem; }
.rc-open {
  margin-top: 10px; font-family: var(--wordmark); font-size: 0.68rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold-300); display: inline-flex; align-items: center; gap: 0.6em;
}
.rc-open .arr { transition: transform 0.4s var(--ease-out); }
.rc-tile:hover .rc-open .arr { transform: translateX(5px); }
@media (max-width: 720px) { .rc-grid { grid-template-columns: 1fr; } .rc-tile-wide { grid-column: auto; } }

/* ---- shared big modal (resource center + survey) ---- */
.sheet-scrim {
  position: fixed; inset: 0; z-index: 220; background: rgba(4,12,20,0.74);
  backdrop-filter: blur(7px); opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease); display: grid; place-items: center; padding: 24px;
}
.sheet-scrim.open { opacity: 1; pointer-events: auto; }
.sheet {
  position: relative; background: var(--navy-800); border: 1px solid var(--hairline);
  width: 100%; max-width: 620px; max-height: 88vh; display: flex; flex-direction: column;
  transform: translateY(22px) scale(0.985); transition: transform 0.5s var(--ease-out);
}
.sheet-scrim.open .sheet { transform: none; }
.sheet-head { padding: 38px 42px 22px; border-bottom: 1px solid var(--hairline); }
.sheet-head .eyebrow { margin-bottom: 14px; }
.sheet-head h3 { font-size: 2rem; color: var(--on-navy); line-height: 1.05; }
.sheet-head p { color: var(--on-navy-soft); font-size: 0.96rem; margin-top: 10px; }
.sheet-body { padding: 10px 42px 40px; overflow-y: auto; }

/* resource entries */
.rc-entry { padding: 24px 0; border-bottom: 1px solid var(--hairline); }
.rc-entry:last-child { border-bottom: none; }
.rc-entry .rc-meta { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-400); font-weight: 700; }
.rc-entry h4 { font-family: var(--serif); font-size: 1.4rem; color: var(--on-navy); margin-top: 10px; line-height: 1.18; }
.rc-entry p { color: var(--on-navy-soft); font-size: 0.95rem; margin-top: 8px; }
.rc-empty { color: var(--on-navy-mute); font-size: 0.92rem; font-style: italic; padding: 8px 0 4px; }

/* ---- survey flow ---- */
.sv-progress { display: flex; gap: 8px; margin-top: 4px; }
.sv-dot { width: 26px; height: 3px; background: var(--hairline); transition: background 0.4s var(--ease); }
.sv-dot.active { background: var(--gold-grad); }
.sv-step { display: none; }
.sv-step.active { display: block; }
.sv-q { font-family: var(--serif); font-size: 1.7rem; color: var(--on-navy); line-height: 1.12; }
.sv-options { display: grid; gap: 12px; margin-top: 24px; }
.sv-opt {
  -webkit-appearance: none; appearance: none; text-align: left; cursor: pointer;
  background: var(--navy-900); border: 1px solid var(--hairline); color: var(--on-navy);
  padding: 18px 20px; font: inherit; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease), transform 0.35s var(--ease-out);
}
.sv-opt:hover { border-color: var(--gold-400); transform: translateX(4px); }
.sv-opt.sel { border-color: var(--gold-400); background: rgba(211,173,104,0.08); }
.sv-opt .sv-opt-t { font-size: 1.02rem; }
.sv-opt .sv-opt-d { display: block; font-size: 0.82rem; color: var(--on-navy-mute); margin-top: 3px; }
.sv-opt .sv-tick { width: 20px; height: 20px; color: var(--gold-300); opacity: 0; flex-shrink: 0; transition: opacity 0.3s; }
.sv-opt.sel .sv-tick { opacity: 1; }
.sv-field { margin-top: 18px; }
.sv-field label { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-navy-mute); display: block; margin-bottom: 8px; }
.sv-field input { width: 100%; background: var(--navy-900); border: 1px solid var(--hairline); color: var(--on-navy); padding: 14px 16px; font-family: var(--sans); font-size: 0.95rem; outline: none; transition: border-color 0.3s var(--ease); }
.sv-field input:focus { border-color: var(--gold-400); }
.sv-consent { margin-top: 16px; }
.sv-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.sv-check input[type="checkbox"] { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; accent-color: var(--gold-400); cursor: pointer; }
.sv-check span { font-size: 0.8rem; line-height: 1.5; color: var(--on-navy-mute); }
.sv-consent.invalid .sv-check span { color: var(--danger); }
.sv-error { color: var(--danger); font-size: 0.78rem; margin-top: 8px; }
.sv-error[hidden] { display: none; }
.sv-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 30px; }
.sv-back { background: none; border: none; color: var(--on-navy-mute); cursor: pointer; font: inherit; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 8px 0; transition: color 0.3s; }
.sv-back:hover { color: var(--gold-300); }
.sv-back[hidden] { visibility: hidden; }
.sv-confirm { text-align: center; padding: 14px 0; }
.sv-confirm .sv-crest { width: 64px; height: 64px; object-fit: contain; margin: 0 auto 18px; display: block; }
.sv-confirm h4 { font-family: var(--serif); font-size: 1.9rem; color: var(--on-navy); }
.sv-confirm p { color: var(--on-navy-soft); margin-top: 12px; font-size: 0.98rem; }
@media (max-width: 560px) {
  .sheet-head { padding: 28px 26px 18px; }
  .sheet-body { padding: 8px 26px 30px; }
}
