/* =====================================================================
   Sovereign Wealth Partners — v2 design system
   Palette and type from the live brand (sovereign-advisor.com).
   ===================================================================== */

:root {
  --green-950: #0b1c13;
  --green-900: #102419;
  --green-800: #152e22;
  --green-700: #1b3a2a;
  --green-600: #24503a;
  --green-500: #2f6048;
  --sage: #6a9a7a;
  --green-100: #e8ede8;

  --gold-800: #6f5f2e;
  --gold-700: #96834a;
  --gold-500: #b59a5b;
  --gold-400: #c9a84c;
  --gold-300: #dfc06e;
  --gold-grad: linear-gradient(115deg, #96834a 0%, #c9a84c 32%, #dfc06e 50%, #c9a84c 68%, #96834a 100%);

  --ivory: #f8f8f5;
  --paper: #fbfaf6;
  --line-light: #e3e2da;
  --ink: #18201b;
  --body: #3e4741;
  --muted: #5d665f;
  --on-dark: #eef1ec;
  --on-dark-muted: rgba(238, 241, 236, 0.74);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Source Sans Pro", -apple-system, "Segoe UI", Arial, sans-serif;
  --label: "Questrial", "Source Sans 3", Arial, sans-serif;

  --step--1: clamp(0.86rem, 0.83rem + 0.12vw, 0.94rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --step-1: clamp(1.18rem, 1.1rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.42rem, 1.26rem + 0.8vw, 1.9rem);
  --step-3: clamp(1.75rem, 1.45rem + 1.5vw, 2.7rem);
  --step-4: clamp(2.2rem, 1.7rem + 2.5vw, 3.8rem);
  --step-5: clamp(2.7rem, 1.9rem + 4vw, 5.4rem);

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 18px 50px -24px rgba(16, 36, 25, 0.35);
  --shadow-lift: 0 30px 70px -30px rgba(16, 36, 25, 0.55);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --header-h: 84px;
  --container: 1200px;
}

/* Self-hosted fonts (latin subset) */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/PlayfairDisplay-italic-400-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/PlayfairDisplay-normal-400-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Questrial';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Questrial-normal-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/SourceSans3-italic-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/SourceSans3-normal-300-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 600; line-height: 1.15; margin: 0 0 0.55em; letter-spacing: -0.01em; }
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
ul { padding-left: 1.2em; }
button { font: inherit; }
::selection { background: var(--gold-300); color: var(--green-900); }
:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 3px; border-radius: 4px; }

.icon { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container-narrow { width: min(100% - 2.5rem, 820px); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 10001; background: var(--gold-300); color: var(--green-900); padding: 0.7rem 1rem; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 1rem; }
.text-center { text-align: center; }

/* ---------- Eyebrows & emphasis ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-family: var(--label); font-size: 0.92rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-800); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 38px; height: 1px; background: currentColor; opacity: 0.8; }
.on-dark .eyebrow, .eyebrow.on-dark { color: var(--gold-300); }
.gold-text {
  background: var(--gold-grad); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: var(--step-1); line-height: 1.65; color: var(--body); max-width: 60ch; }
.on-dark .lede { color: var(--on-dark-muted); }

/* ---------- Buttons ---------- */
.btn {
  --btn-pad: 1rem 1.7rem;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: var(--btn-pad); border-radius: 999px; border: 1px solid transparent;
  font-family: var(--label); font-size: 0.95rem; letter-spacing: 0.06em; text-decoration: none; cursor: pointer;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background-color 0.3s, color 0.3s, border-color 0.3s;
  isolation: isolate; overflow: hidden; white-space: nowrap;
}
.btn .icon { transition: transform 0.35s var(--ease-out); }
.btn:hover .icon { transform: translateX(4px); }
.btn-sm { --btn-pad: 0.7rem 1.25rem; font-size: 0.85rem; }
.btn-gold { background: var(--gold-grad); background-size: 220% 100%; background-position: 0% 50%; color: var(--green-900); box-shadow: 0 10px 30px -12px rgba(201, 168, 76, 0.65); }
.btn-gold:hover { background-position: 100% 50%; box-shadow: 0 16px 40px -14px rgba(201, 168, 76, 0.85); }
.btn-gold::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%); transform: translateX(-120%); }
.btn-gold:hover::after { transform: translateX(120%); transition: transform 0.9s var(--ease-out); }
.btn-green { background: var(--green-700); color: var(--on-dark); }
.btn-green:hover { background: var(--green-600); box-shadow: var(--shadow-soft); }
.btn-outline-light { border-color: rgba(223, 192, 110, 0.55); color: var(--on-dark); background: rgba(255,255,255,0.03); backdrop-filter: blur(6px); }
.btn-outline-light:hover { border-color: var(--gold-300); background: rgba(223, 192, 110, 0.12); }
.btn-outline-dark { border-color: var(--green-700); color: var(--green-700); }
.btn-outline-dark:hover { background: var(--green-700); color: var(--on-dark); }
.btn-link { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--label); letter-spacing: 0.06em; color: var(--green-700); text-decoration: none; border-bottom: 1px solid var(--gold-500); padding-bottom: 3px; }
.btn-link:hover .icon { transform: translateX(4px); }
.btn-link .icon { transition: transform 0.3s var(--ease-out); }
.on-dark .btn-link { color: var(--gold-300); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 1000; height: var(--header-h);
  display: flex; align-items: center; color: var(--on-dark);
  transition: background-color 0.45s var(--ease-out), box-shadow 0.45s, height 0.45s var(--ease-out), backdrop-filter 0.45s;
}
.site-header.is-solid { background: rgba(16, 36, 25, 0.9); backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 rgba(223, 192, 110, 0.14); --header-h: 70px; height: 70px; }
body.light-top .site-header:not(.is-solid) { color: var(--green-800); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; margin-right: auto; }
.brand-mark { width: 46px; height: auto; transition: transform 0.6s var(--ease-out); filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25)); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); }
.brand-words { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.45rem; letter-spacing: 0.01em; }
.brand-tag { font-family: var(--label); font-size: 0.62rem; letter-spacing: 0.34em; margin-top: 0.3rem; color: var(--gold-300); }
body.light-top .site-header:not(.is-solid) .brand-tag { color: var(--gold-800); }

.main-nav .nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.3rem; }
.main-nav a { display: block; padding: 0.55rem 0.85rem; font-family: var(--label); font-size: 0.9rem; letter-spacing: 0.05em; text-decoration: none; position: relative; }
.main-nav .nav-list > li > a::after { content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.3rem; height: 1px; background: var(--gold-300); transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease-out); }
.main-nav .nav-list > li > a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.has-dropdown { position: relative; display: flex; align-items: center; }
.dropdown-toggle { background: none; border: 0; color: inherit; padding: 0.3rem; margin-left: -0.6rem; cursor: pointer; display: flex; }
.dropdown {
  list-style: none; margin: 0; padding: 0.6rem; position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px;
  background: var(--green-900); border: 1px solid rgba(223, 192, 110, 0.18); border-radius: 14px; box-shadow: var(--shadow-lift);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.3s, transform 0.3s var(--ease-out), visibility 0.3s;
}
.dropdown a { color: var(--on-dark); border-radius: 8px; }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: rgba(223, 192, 110, 0.1); color: var(--gold-300); }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.has-dropdown.is-dismissed .dropdown { opacity: 0; visibility: hidden; }
.nav-login { border: 1px solid rgba(223, 192, 110, 0.45); border-radius: 999px; margin-left: 0.4rem; }
.nav-login::after { display: none; }
body.light-top .site-header:not(.is-solid) .nav-login { border-color: var(--gold-700); }
.nav-toggle { display: none; }
.mobile-menu { display: none; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: min(100svh, 1100px); display: grid; place-items: center; overflow: hidden;
  background: var(--green-900); color: var(--on-dark); isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media picture, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media picture { opacity: 0; transition: opacity 1.8s var(--ease-in-out); }
.hero-media picture.is-active { opacity: 1; }
.hero-media picture.is-active img { animation: kenburns 14s linear both; }
@keyframes kenburns { from { transform: scale(1.12) translate3d(0, 0, 0); } to { transform: scale(1.0) translate3d(0, -1.5%, 0); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(16, 36, 25, 0.35) 0%, rgba(16, 36, 25, 0.82) 70%, rgba(11, 28, 19, 0.96) 100%),
    linear-gradient(180deg, rgba(11, 28, 19, 0.6) 0%, rgba(11, 28, 19, 0) 30%, rgba(11, 28, 19, 0.85) 100%);
}
.hero-canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero-inner { text-align: center; padding: calc(var(--header-h) + 2.5rem) 1.25rem 7rem; max-width: 1160px; }
.hero-mark-wrap { position: relative; width: 128px; margin: 0 auto 2rem; }
.hero-mark { width: 128px; filter: drop-shadow(0 10px 30px rgba(0,0,0,0.45)); }
.hero-mark-wrap::after {
  content: ""; position: absolute; inset: -20%; border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 192, 110, 0.28), transparent 65%); z-index: -1; animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { opacity: 0.5; transform: scale(0.92); } 50% { opacity: 1; transform: scale(1.08); } }
.hero h1 { color: var(--on-dark); font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5rem); font-weight: 500; margin-bottom: 0.35em; }
.hero h1 .gold-text { font-style: italic; }

.rotator { position: relative; min-height: 8.2rem; margin: 0 auto 2.4rem; max-width: 760px; }
.rotator-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.9s var(--ease-out), visibility 0.9s; }
.rotator-slide.is-active { opacity: 1; visibility: visible; }
.rotator-slide h2 { font-size: var(--step-3); color: var(--on-dark); font-weight: 500; margin-bottom: 0.4em; }
.rotator-slide p { color: var(--on-dark-muted); font-size: var(--step-1); margin: 0; }
.rotator-slide .word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.rotator-slide .word > span { display: inline-block; transform: translateY(105%); transition: transform 0.9s var(--ease-out); transition-delay: calc(var(--i) * 45ms); }
.rotator-slide.is-active .word > span { transform: translateY(0); }
/* First slide paints instantly: it is above the fold and part of LCP */
.rotator-slide.is-instant, .rotator-slide.is-instant .word > span { transition: none; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.hero-controls { position: absolute; left: 50%; bottom: 2.2rem; transform: translateX(-50%); display: flex; align-items: center; gap: 1.2rem; }
.rotator-dots { display: flex; gap: 0.55rem; }
.rotator-dot { width: 28px; height: 3px; padding: 0; border: 0; border-radius: 3px; background: rgba(238, 241, 236, 0.28); cursor: pointer; position: relative; overflow: hidden; }
.rotator-dot::after { content: ""; position: absolute; inset: 0; background: var(--gold-300); transform: scaleX(0); transform-origin: left; }
.rotator-dot.is-active::after { animation: dotfill var(--dur, 6.5s) linear forwards; }
.is-paused .rotator-dot.is-active::after, .is-halted .rotator-dot.is-active::after { animation-play-state: paused; }
/* Pause stops every moving element in the hero (WCAG 2.2.2) */
.hero.is-paused .hero-mark-wrap::after, .hero.is-paused .scroll-cue span::after, .hero.is-paused .hero-media img { animation-play-state: paused; }
/* 24px hit area around the thin progress bars (WCAG 2.5.8) */
.rotator-dot::before { content: ""; position: absolute; inset: -11px -3px; }
.rotator-dot { overflow: visible; }
.rotator-dot::after { border-radius: 3px; }
@keyframes dotfill { to { transform: scaleX(1); } }
.rotator-pause { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(223, 192, 110, 0.5); background: transparent; color: var(--gold-300); display: grid; place-items: center; cursor: pointer; }
.rotator-pause .icon { width: 14px; height: 14px; }
.rotator-pause .i-play { display: none; }
.is-paused .rotator-pause .i-play { display: block; }
.is-paused .rotator-pause .i-pause { display: none; }
.scroll-cue { position: absolute; right: 2.5rem; bottom: 2.2rem; font-family: var(--label); font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--on-dark-muted); display: flex; flex-direction: column; align-items: center; gap: 0.7rem; text-decoration: none; }
.scroll-cue span { width: 1px; height: 54px; background: linear-gradient(var(--gold-300), transparent); position: relative; overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: #fff; animation: drip 2.4s var(--ease-in-out) infinite; }
@keyframes drip { to { top: 100%; } }

/* ---------- Journey chapter scaffolding ---------- */
.chapter { position: relative; padding: clamp(5rem, 10vw, 9rem) 0; }
.chapter-dark { background: var(--green-800); color: var(--on-dark-muted); }
.chapter-deep { background: var(--green-900); color: var(--on-dark-muted); }
.chapter-ivory { background: var(--ivory); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4, .chapter-dark h2, .chapter-dark h3, .chapter-deep h2, .chapter-deep h3 { color: var(--on-dark); }
.chapter-dark, .chapter-deep { --eyebrow: var(--gold-300); }
.chapter-dark .eyebrow, .chapter-deep .eyebrow { color: var(--gold-300); }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.text-center { margin-inline: auto; }
.section-head.text-center .lede { margin-inline: auto; }

/* Journey rail (home) */
.journey-rail { position: fixed; left: 1.6rem; top: 0; bottom: 0; height: fit-content; margin-block: auto; z-index: 900; display: flex; flex-direction: column; gap: 0.2rem; opacity: 0; pointer-events: none; transition: opacity 0.5s; }
.journey-rail.is-visible, .journey-rail:focus-within { opacity: 1; pointer-events: auto; }
.journey-rail a { display: flex; align-items: center; gap: 0.8rem; padding: 0.45rem 0; text-decoration: none; font-family: var(--label); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: transparent; }
.journey-rail a::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--gold-500); background: transparent; transition: background 0.3s, transform 0.3s; flex: none; }
.journey-rail a.is-past::before { background: var(--gold-700); }
.journey-rail a.is-current::before { background: var(--gold-300); transform: scale(1.35); box-shadow: 0 0 0 5px rgba(223, 192, 110, 0.18); }
.journey-rail:hover a, .journey-rail a:focus-visible { color: var(--gold-700); }
.journey-rail.on-dark:hover a { color: var(--gold-300); }
.journey-rail a { position: relative; width: 9px; }
.journey-rail span { position: absolute; left: 22px; top: 0; bottom: 0; height: fit-content; margin-block: auto; white-space: nowrap; pointer-events: none; background: rgba(251, 250, 246, 0.95); padding: 0.15rem 0.5rem; border-radius: 4px; opacity: 0; transform: translateX(-6px); transition: opacity 0.3s, transform 0.3s; }
.journey-rail:hover span, .journey-rail a:focus-visible span { opacity: 1; transform: none; }
.journey-rail.on-dark span { background: rgba(16, 36, 25, 0.9); }

/* Gold thread that draws down the journey */
.thread-wrap { position: relative; }
.thread { position: absolute; left: 50%; top: 0; height: 100%; width: 2px; transform: translateX(-50%); pointer-events: none; z-index: 0; }
.thread svg { width: 100%; height: 100%; overflow: visible; }

/* ---------- Reveal system (only when JS is running) ---------- */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal="left"] { transform: translate3d(-40px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(40px, 0, 0); }
.js [data-reveal="scale"] { transform: scale(0.94); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-stagger] > * { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.js [data-stagger].is-visible > * { opacity: 1; transform: none; }
.js [data-stagger].is-visible > *:nth-child(2) { transition-delay: 110ms; }
.js [data-stagger].is-visible > *:nth-child(3) { transition-delay: 220ms; }
.js [data-stagger].is-visible > *:nth-child(4) { transition-delay: 330ms; }
.js [data-stagger].is-visible > *:nth-child(5) { transition-delay: 440ms; }
.js [data-stagger].is-visible > *:nth-child(6) { transition-delay: 550ms; }
.js [data-stagger].is-visible > *:nth-child(7) { transition-delay: 660ms; }
.js [data-stagger].is-visible > *:nth-child(8) { transition-delay: 770ms; }

/* Word-by-word heading reveal (words stay real text) */
.js [data-split] .word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.js [data-split] .word > span { display: inline-block; transform: translateY(108%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 55ms); }
.js [data-split].is-visible .word > span { transform: none; }
.js [data-split]:not(.is-split) { opacity: 0; }

/* Scroll-read paragraph: words brighten as they pass */
.read-reveal { font-family: var(--serif); font-size: var(--step-3); line-height: 1.4; color: var(--ink); font-weight: 400; }
.js .read-reveal .w { color: var(--muted); transition: color 0.6s ease; }
.js .read-reveal .w.is-lit { color: var(--ink); }
/* Key words are italic from the start, so lighting them only changes colour and never reflows the lines */
.js .read-reveal .w.is-key { font-style: italic; }
.js .read-reveal .w.is-key.is-lit { color: var(--gold-800); }

/* ---------- Beliefs (chapter 1) ---------- */
.beliefs-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
.values-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3.5rem; }
.value-pill { text-align: center; padding: 1.6rem 1rem; border-top: 1px solid var(--gold-500); }
.value-pill .v-word { font-family: var(--label); text-transform: uppercase; letter-spacing: 0.24em; color: var(--green-700); font-size: 0.95rem; }

/* ---------- Parallax banner ---------- */
.banner {
  position: relative; min-height: 88vh; display: grid; place-items: center; overflow: hidden; color: var(--on-dark); isolation: isolate; text-align: center;
}
.banner-media { position: absolute; inset: -12% 0; z-index: -2; will-change: transform; }
.banner-media img { width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 28, 19, 0.85), rgba(16, 36, 25, 0.72) 45%, rgba(11, 28, 19, 0.92)); }
.banner h2 { color: var(--on-dark); font-size: var(--step-4); font-weight: 500; }
.banner p { color: var(--on-dark); font-size: var(--step-1); max-width: 720px; margin-inline: auto; }

/* ---------- Open architecture orbit ---------- */
.access-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.orbit { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; margin-inline: auto; }
.orbit svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit-ring { fill: none; stroke: rgba(223, 192, 110, 0.28); stroke-width: 1; }
.orbit-ring.dashed { stroke-dasharray: 2 7; }
.orbit-core { position: absolute; inset: 0; margin: auto; width: 30%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 35% 30%, #2f6048, var(--green-900)); border: 1px solid rgba(223, 192, 110, 0.5); box-shadow: 0 0 0 10px rgba(223, 192, 110, 0.05), 0 0 80px rgba(223, 192, 110, 0.18); }
.orbit-core img { width: 46%; }
.orbit-node { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.orbit-node > span {
  position: absolute; white-space: nowrap; padding: 0.5rem 0.95rem; border-radius: 999px;
  font-family: var(--label); font-size: 0.8rem; letter-spacing: 0.06em; color: var(--on-dark); background: rgba(16, 36, 25, 0.92);
  border: 1px solid rgba(223, 192, 110, 0.4); box-shadow: 0 10px 30px -12px rgba(0,0,0,0.6); transition: border-color 0.3s, color 0.3s, transform 0.4s var(--ease-out);
}
.orbit-node > .two-line { text-align: center; line-height: 1.25; }
.orbit-node > span:hover { border-color: var(--gold-300); color: var(--gold-300); transform: scale(1.06); }
.diff-list { display: grid; gap: 1.2rem; }
.diff-item { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; padding: 1.5rem; border-radius: var(--radius); border: 1px solid rgba(223, 192, 110, 0.16); background: linear-gradient(145deg, rgba(255,255,255,0.045), rgba(255,255,255,0.01)); transition: border-color 0.4s, transform 0.5s var(--ease-out), background 0.4s; }
.diff-item:hover { border-color: rgba(223, 192, 110, 0.5); transform: translateX(6px); background: linear-gradient(145deg, rgba(223, 192, 110, 0.08), rgba(255,255,255,0.01)); }
.diff-item h3 { font-size: var(--step-1); margin-bottom: 0.35rem; }
.diff-item p { margin: 0; font-size: 0.98rem; }
.icon-badge { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: var(--gold-300); background: rgba(223, 192, 110, 0.08); border: 1px solid rgba(223, 192, 110, 0.3); }
.icon-badge .icon { width: 24px; height: 24px; stroke-width: 1.4; }
.icon-badge.light { color: var(--gold-800); background: rgba(181, 154, 91, 0.1); border-color: rgba(150, 131, 74, 0.35); }

/* ---------- Who we serve selector ---------- */
.serve-wrap { display: grid; grid-template-columns: 340px 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.serve-tabs { display: grid; gap: 0.7rem; position: sticky; top: calc(var(--header-h) + 24px); }
.serve-tab {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; text-align: left; width: 100%;
  padding: 1.1rem 1.2rem; border-radius: var(--radius); border: 1px solid var(--line-light); background: #fff; cursor: pointer; color: var(--ink);
  font-family: var(--serif); font-size: 1.08rem; line-height: 1.3; transition: border-color 0.3s, box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out), background 0.3s;
}
.serve-tab .icon-badge { width: 44px; height: 44px; }
.serve-tab > .icon { color: var(--gold-700); opacity: 0; transform: translateX(-6px); transition: opacity 0.3s, transform 0.3s; }
.serve-tab:hover { transform: translateX(4px); border-color: var(--gold-500); }
.serve-tab[aria-selected="true"] { background: var(--green-700); color: var(--on-dark); border-color: var(--green-700); box-shadow: var(--shadow-soft); }
.serve-tab[aria-selected="true"] .icon-badge { color: var(--gold-300); border-color: rgba(223, 192, 110, 0.4); background: rgba(223, 192, 110, 0.1); }
.serve-tab[aria-selected="true"] > .icon { opacity: 1; transform: none; color: var(--gold-300); }
.serve-panel { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line-light); box-shadow: var(--shadow-soft); min-height: 100%; }
.serve-panel[hidden] { display: none; }
.serve-panel-media { height: 220px; position: relative; overflow: hidden; }
.serve-panel-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s var(--ease-out); }
.serve-panel.is-shown .serve-panel-media img { transform: scale(1); }
.serve-panel-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,36,25,0) 30%, rgba(16,36,25,0.75)); }
.serve-panel-media h3 { position: absolute; left: 2rem; right: 2rem; bottom: 1.2rem; z-index: 1; color: #fff; font-size: var(--step-2); margin: 0; }
.serve-panel-body { padding: 2rem; }
.serve-panel-body h4 { font-family: var(--label); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-800); margin: 1.4rem 0 0.9rem; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: 0.7rem; }
.check-list li { display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; align-items: start; }
.check-list li::before { content: ""; width: 22px; height: 22px; margin-top: 0.2rem; border-radius: 50%; background: rgba(181, 154, 91, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f5f2e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat; }
.on-dark .check-list li::before, .chapter-dark .check-list li::before { background-color: rgba(223, 192, 110, 0.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dfc06e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E"); }
.serve-note { margin-top: 3rem; padding: 2rem 2.2rem; border-radius: var(--radius-lg); background: var(--green-100); display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: center; }
.serve-note h3 { font-size: var(--step-2); margin-bottom: 0.4rem; }
.serve-note p { margin: 0; }

/* ---------- Process (sticky scrollytelling) ---------- */
.process { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); }
.process-visual { position: sticky; top: calc(var(--header-h) + 5vh); height: min(78vh, 620px); display: grid; place-items: center; }
.dial { position: relative; width: min(100%, 460px); aspect-ratio: 1; }
.dial svg { width: 100%; height: 100%; overflow: visible; }
.dial-track { fill: none; stroke: rgba(223, 192, 110, 0.16); stroke-width: 2; }
.dial-progress { fill: none; stroke: url(#gold-stroke); stroke-width: 3; stroke-linecap: round; transition: stroke-dashoffset 0.9s var(--ease-out); }
.dial-node circle { fill: var(--green-800); stroke: rgba(223, 192, 110, 0.45); stroke-width: 1.5; transition: fill 0.5s, stroke 0.5s, r 0.5s var(--ease-out); }
.dial-node text { font-family: var(--serif); font-size: 17px; font-variant-numeric: lining-nums; fill: var(--gold-300); text-anchor: middle; dominant-baseline: central; transform: translateY(-0.93px); transition: fill 0.5s; }
.dial-node.is-done circle { fill: var(--gold-700); stroke: var(--gold-300); }
.dial-node.is-done text { fill: var(--green-900); }
.dial-node.is-current circle { fill: var(--gold-300); stroke: #fff; r: 24; }
.dial-node.is-current text { fill: var(--green-900); }
.dial-center { position: absolute; inset: 22%; display: grid; place-items: center; text-align: center; }
.dial-center .step-count { font-family: var(--serif); font-size: clamp(3.5rem, 8vw, 5.5rem); line-height: 1; color: var(--on-dark); }
.dial-center .step-count small { font-size: 0.4em; color: var(--gold-500); }
.dial-center .step-name { font-family: var(--label); letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.78rem; color: var(--gold-300); margin-top: 0.8rem; max-width: 18ch; }
.process-steps { display: grid; gap: 0; }
.p-step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 2rem 0 2rem 1.6rem; border-left: 2px solid rgba(223, 192, 110, 0.12); opacity: 0.8; transition: opacity 0.6s var(--ease-out), border-color 0.6s; }
.p-step.is-current { opacity: 1; border-left-color: var(--gold-300); }
.p-step .p-num { font-family: var(--label); letter-spacing: 0.24em; text-transform: uppercase; font-size: 0.95rem; color: var(--gold-300); margin-bottom: 0.9rem; }
.p-step h3 { font-size: var(--step-3); }
.p-step p { font-size: var(--step-1); line-height: 1.7; }

/* ---------- Three lanes ---------- */
.lanes { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.lane {
  position: relative; display: flex; flex-direction: column; padding: 2.3rem 2rem 2rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line-light);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out), border-color 0.4s; overflow: hidden;
}
.lane::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform 0.8s var(--ease-out); }
.lane:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); border-color: transparent; }
.lane:hover::before, .lane.is-visible::before { transform: scaleX(1); }
.lane h3 { margin-top: 1.4rem; font-size: var(--step-2); }
.lane > p { flex: 1; }
.lane-details { border-top: 1px solid var(--line-light); padding-top: 1.2rem; margin-top: 0.4rem; display: grid; gap: 1rem; font-size: 0.95rem; }
.lane-details h4 { font-family: var(--label); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-800); margin: 0 0 0.3rem; }
.lane-details p, .lane-details ul { margin: 0; }
.lane-details ul { padding-left: 1.1em; }
.lane .btn-link { margin-top: 1.6rem; align-self: flex-start; }
.lanes-svg { display: block; width: 100%; height: 120px; margin-top: 1rem; overflow: visible; }
.lanes-svg path { fill: none; stroke: url(#gold-stroke); stroke-width: 1.5; }
.lanes-caption { text-align: center; font-family: var(--serif); font-style: italic; font-size: var(--step-1); color: var(--green-700); margin-top: 0.6rem; }

/* ---------- Quotes ---------- */
.quotes { position: relative; text-align: center; }
.quotes .qmark { display: block; font-family: var(--serif); font-size: 7rem; line-height: 0.6; height: 3.2rem; color: var(--gold-500); margin-bottom: 1.2rem; }
.quote-stage { position: relative; min-height: 15rem; max-width: 900px; margin: 0 auto; }
.quote { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out), visibility 0.9s; }
.quote.is-active { opacity: 1; visibility: visible; transform: none; position: relative; }
.quote p { font-family: var(--serif); font-size: var(--step-2); line-height: 1.5; color: var(--on-dark); font-weight: 400; font-style: italic; }
.quote footer { font-family: var(--label); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.82rem; color: var(--gold-300); }
.quote-controls { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 2.2rem; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.team-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line-light); text-align: left; transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out); }
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.team-photo-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; position: relative; overflow: hidden; aspect-ratio: 4 / 4.4; }
.team-photo-btn img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform 1.2s var(--ease-out), filter 0.8s; filter: saturate(0.85); }
.team-card:hover .team-photo-btn img { transform: scale(1.06); filter: saturate(1); }
.team-photo-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(16, 36, 25, 0.78)); }
.team-photo-btn .view-bio { position: absolute; left: 1.4rem; bottom: 1.2rem; z-index: 1; display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--label); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.75rem; color: var(--gold-300); opacity: 0; transform: translateY(8px); transition: opacity 0.4s, transform 0.4s var(--ease-out); }
.team-card:hover .view-bio, .team-photo-btn:focus-visible .view-bio { opacity: 1; transform: none; }
.team-body { padding: 1.5rem 1.6rem 1.7rem; }
.team-body h3 { font-size: 1.45rem; margin-bottom: 0.2rem; }
.team-body h3 a { text-decoration: none; }
.team-body h3 a:hover { color: var(--gold-800); }
.team-body .role { font-family: var(--label); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.78rem; color: var(--gold-800); margin-bottom: 1rem; }
.team-body .contact-line { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 0.4rem; font-size: 0.95rem; overflow-wrap: anywhere; }
.team-body .contact-line .icon { color: var(--gold-700); }
.team-body .contact-line a { text-decoration: none; }
.team-body .contact-line a:hover { color: var(--gold-800); text-decoration: underline; }

/* ---------- Integration (converging circles) ---------- */
.converge { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.venn { position: relative; aspect-ratio: 1.1; max-width: 480px; width: 100%; margin-inline: auto; }
.venn-c { position: absolute; width: 58%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center; padding: 12%;
  border: 1px solid rgba(223, 192, 110, 0.55); background: radial-gradient(circle at 40% 35%, rgba(223, 192, 110, 0.12), rgba(223, 192, 110, 0.02)); mix-blend-mode: screen;
  font-family: var(--label); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.78rem; color: var(--on-dark); transition: transform 1.6s var(--ease-out); }
.venn-c.c1 { left: 0; top: 0; padding: 4% 19% 20% 5%; }
.venn-c.c2 { right: 0; top: 0; padding: 4% 5% 20% 19%; }
.venn-c.c3 { left: 21%; bottom: 0; padding: 19% 12% 5% 12%; }
.js .venn:not(.is-visible) .c1 { transform: translate(-22%, -12%); }
.js .venn:not(.is-visible) .c2 { transform: translate(22%, -12%); }
.js .venn:not(.is-visible) .c3 { transform: translate(0, 24%); }
.venn-core { position: absolute; left: 41.5%; top: 34.65%; width: 17%; aspect-ratio: 1; border-radius: 50%; background: var(--gold-grad); display: grid; place-items: center; box-shadow: 0 0 60px rgba(223, 192, 110, 0.45); opacity: 0; transition: opacity 1s 1.1s; }
.venn.is-visible .venn-core, .no-js .venn-core { opacity: 1; }
.venn-core img { width: 64%; filter: brightness(0.25); }
.integration-list { display: grid; gap: 1.6rem; margin-top: 2rem; }
.integration-item { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; }
.integration-item h3 { font-size: var(--step-1); margin-bottom: 0.25rem; }
.integration-item p { margin: 0; }

/* ---------- Finale / contact ---------- */
.finale { position: relative; overflow: hidden; }
.finale-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-points { display: grid; gap: 1.1rem; margin: 2rem 0; }
.contact-point { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; }
.contact-point a { text-decoration: none; }
.contact-point a:hover { color: var(--gold-300); }
.contact-point small { display: block; font-family: var(--label); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.72rem; color: var(--gold-300); }
.form-card { position: relative; border-radius: var(--radius-lg); background: var(--paper); color: var(--body); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: 0 40px 90px -40px rgba(0,0,0,0.7); }
.form-card h2, .form-card h3 { color: var(--ink); }
.form-progress { display: flex; gap: 0.5rem; margin-bottom: 1.8rem; }
.form-progress span { flex: 1; height: 3px; border-radius: 3px; background: var(--line-light); position: relative; overflow: hidden; }
.form-progress span::after { content: ""; position: absolute; inset: 0; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out); }
.form-progress span.is-done::after { transform: scaleX(1); }
.form-step[hidden] { display: none; }
.form-step-label { font-family: var(--label); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.74rem; color: var(--gold-800); margin-bottom: 0.4rem; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin: 1.2rem 0 1.6rem; border: 0; padding: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip label { display: flex; align-items: center; gap: 0.7rem; padding: 1rem; border: 1px solid #8f958f; border-radius: 12px; background: #fff; cursor: pointer; font-weight: 600; color: var(--ink); line-height: 1.3; transition: border-color 0.3s, background 0.3s, box-shadow 0.3s; }
.chip label .icon { color: var(--gold-700); width: 1.4em; height: 1.4em; }
.chip input:checked + label { border-color: var(--green-700); background: var(--green-100); box-shadow: inset 0 0 0 1px var(--green-700); }
.chip input:focus-visible + label { outline: 2px solid var(--gold-400); outline-offset: 2px; }
.field { display: grid; gap: 0.4rem; margin-bottom: 1.1rem; }
.field label { font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.field input, .field textarea {
  width: 100%; padding: 0.9rem 1rem; border-radius: 10px; border: 1px solid #8f958f; background: #fff; color: var(--ink); font: inherit; font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(47, 96, 72, 0.14); }
.field-error { color: #9b2c2c; font-size: 0.88rem; min-height: 1.2em; }
.form-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 0.6rem; }
.form-back { background: none; border: 0; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--label); letter-spacing: 0.06em; }
.form-back:hover { color: var(--green-700); }
.form-success { text-align: center; padding: 2rem 0.5rem; }
.form-success .seal { width: 84px; height: 84px; margin: 0 auto 1.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: var(--green-900); }
.form-success .seal .icon { width: 38px; height: 38px; stroke-width: 2; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 1rem; }
.form-error { color: #9b2c2c; background: #fbeaea; border-radius: 10px; padding: 0.8rem 1rem; font-size: 0.92rem; }
.hp-field { position: absolute; left: -10000px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(4rem, 9vw, 7rem)) 0 clamp(4rem, 8vw, 6.5rem); background: var(--green-900); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; transform: scale(1.08); animation: heroSettle 2.4s var(--ease-out) forwards; }
@keyframes heroSettle { to { transform: scale(1); } }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11, 28, 19, 0.95) 20%, rgba(16, 36, 25, 0.55)); }
.page-hero h1 { color: var(--on-dark); font-size: var(--step-5); font-weight: 500; max-width: 16ch; }
.page-hero p { color: var(--on-dark-muted); font-size: var(--step-1); max-width: 62ch; margin: 0; }
.page-hero .hero-orbit { position: absolute; right: -8%; top: 50%; width: min(52vw, 640px); aspect-ratio: 1; transform: translateY(-45%); z-index: -1; opacity: 0.55; }
.page-hero .hero-orbit ellipse { fill: none; stroke: rgba(223, 192, 110, 0.35); stroke-width: 0.6; }
.breadcrumb { font-family: var(--label); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 1.5rem; }
.breadcrumb a { text-decoration: none; color: var(--gold-300); }

.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
.section-tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.bg-ivory { background: var(--ivory); }
.bg-green { background: var(--green-800); color: var(--on-dark-muted); }
.bg-green h2, .bg-green h3 { color: var(--on-dark); }
.bg-green .eyebrow { color: var(--gold-300); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card { position: relative; padding: 2.2rem 2rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line-light); transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out), border-color 0.4s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: transparent; }
.card h2, .card h3 { font-size: var(--step-1); margin: 1.3rem 0 0.6rem; }
.card p:last-child { margin-bottom: 0; }
.card.dark { background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)); border-color: rgba(223, 192, 110, 0.18); color: var(--on-dark-muted); }
.card.dark h3 { color: var(--on-dark); }
.card.dark:hover { border-color: rgba(223, 192, 110, 0.5); box-shadow: none; }
.card .card-link { margin-top: 1.4rem; }

.cta-band { position: relative; overflow: hidden; text-align: center; padding: clamp(5rem, 10vw, 8rem) 0; background: var(--green-900); color: var(--on-dark-muted); isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 70% at 50% 110%, rgba(223, 192, 110, 0.22), transparent 70%); }
.cta-band h2 { color: var(--on-dark); font-size: var(--step-4); font-weight: 500; }
.cta-band p { font-size: var(--step-1); max-width: 620px; margin: 0 auto 2.2rem; }
.cta-band .cta-mark { width: 70px; margin: 0 auto 1.8rem; opacity: 0.95; }

/* Menu cards (Our Approach) */
.menu-card { display: grid; grid-template-columns: 1fr; gap: clamp(1.2rem, 4vw, 3rem); padding: clamp(2rem, 4vw, 3rem); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line-light); margin-bottom: 1.4rem; transition: box-shadow 0.6s var(--ease-out); }
.menu-card:hover { box-shadow: var(--shadow-soft); }
.menu-card h2 { font-size: var(--step-3); display: flex; align-items: center; gap: 0.9rem; }
.menu-details { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line-light); }
.menu-details h4 { font-family: var(--label); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-800); margin-bottom: 0.5rem; }
.menu-details p, .menu-details ul { margin: 0; }

/* Service pages */
.back-link { display: flex; width: fit-content; align-items: center; gap: 0.5rem; font-family: var(--label); letter-spacing: 0.08em; text-decoration: none; color: var(--gold-300); margin-bottom: 1.6rem; font-size: 0.85rem; }
.intro-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.intro-split .lede { font-family: var(--serif); font-size: var(--step-2); line-height: 1.45; color: var(--ink); }
.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 31px; top: 0; bottom: 0; width: 1px; background: var(--line-light); }
.timeline-fill { position: absolute; left: 31px; top: 0; width: 2px; margin-left: -0.5px; height: 0; background: var(--gold-grad); }
.t-step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 1.8rem; padding-bottom: 3rem; }
.t-step:last-child { padding-bottom: 0; }
.t-dot { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--gold-500); font-family: var(--serif); font-size: 1.5rem; color: var(--gold-800); position: relative; z-index: 1; transition: background 0.5s, color 0.5s, box-shadow 0.5s; }
.t-step.is-lit .t-dot { background: var(--green-700); color: var(--gold-300); box-shadow: 0 0 0 8px rgba(181, 154, 91, 0.14); }
.t-step h3 { font-size: var(--step-2); margin-top: 0.8rem; }
.strategy-picker { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.6rem; margin-bottom: 1.8rem; }
.strategy-btn { padding: 1.1rem 0.8rem; border-radius: 12px; border: 1px solid rgba(223, 192, 110, 0.25); background: rgba(255,255,255,0.03); color: var(--on-dark); font-family: var(--serif); font-size: 1.1rem; cursor: pointer; transition: background 0.3s, border-color 0.3s, color 0.3s; }
.strategy-btn:hover { border-color: var(--gold-300); }
.strategy-btn[aria-selected="true"] { background: var(--gold-grad); color: var(--green-900); border-color: transparent; }
.strategy-panel { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding: 2.2rem; border-radius: var(--radius-lg); border: 1px solid rgba(223, 192, 110, 0.2); background: rgba(255,255,255,0.03); min-height: 170px; }
.strategy-panel[hidden] { display: none; }
.strategy-panel h3 { font-size: var(--step-3); margin-bottom: 0.4rem; }
.strategy-panel p { font-size: var(--step-1); margin: 0; }
.strategy-tag { font-family: var(--label); letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.78rem; color: var(--green-900); background: var(--gold-300); padding: 0.55rem 1rem; border-radius: 999px; white-space: nowrap; }
.lenses { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.lens { padding: 2.2rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line-light); }
.lens h3 { display: flex; align-items: center; gap: 0.8rem; font-size: var(--step-2); }
.toolkit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.tool { padding: 1.4rem 1.2rem; border-radius: 14px; border: 1px solid var(--line-light); background: #fff; display: grid; gap: 0.8rem; align-content: start; font-weight: 600; color: var(--ink); line-height: 1.35; }
.tool .icon { color: var(--gold-700); width: 22px; height: 22px; }
.statement { max-width: 880px; margin: 3rem auto 0; text-align: center; font-size: var(--step-1); }
.independence { text-align: center; }
.independence p { font-size: var(--step-1); max-width: 760px; margin-inline: auto; }

/* Who-we-serve cards, team names, media */
.serve-panel-media .serve-card-title { position: absolute; left: 2rem; right: 2rem; bottom: 1.2rem; z-index: 1; color: #fff; font-size: var(--step-2); margin: 0; }
.serve-list-title { font-family: var(--label); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-800); margin: 1.4rem 0 0.9rem; font-weight: 400; }
.team-name { font-size: 1.45rem; margin-bottom: 0.2rem; }
.team-name a { text-decoration: none; }
.team-name a:hover { color: var(--gold-800); }
.rounded-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); }
.rounded-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.page-hero-short { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.bio-aside .bio-brokercheck { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line-light); }

/* Bio pages */
.bio-layout { display: grid; grid-template-columns: 360px 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.bio-aside { position: sticky; top: calc(var(--header-h) + 24px); border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line-light); box-shadow: var(--shadow-soft); }
.bio-aside img { width: 100%; aspect-ratio: 1 / 1.1; object-fit: cover; object-position: center 20%; }
.bio-aside-body { padding: 1.6rem; }
.bio-aside-body h2 { font-size: 1.6rem; margin-bottom: 0.2rem; }
.bio-content h2 { font-size: var(--step-3); }
.bio-content h3 { font-size: var(--step-1); font-family: var(--label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-800); margin-top: 2.2rem; }
.bio-content p { font-size: 1.08rem; }
.credentials { margin-top: 2.5rem; padding: 2rem; border-radius: var(--radius-lg); background: var(--green-100); }
.credentials h3 { margin-top: 0; }

/* Contact page */
.office-card { border-radius: var(--radius-lg); padding: 2.4rem; background: var(--green-800); color: var(--on-dark-muted); }
.office-card h2 { color: var(--on-dark); font-size: var(--step-3); }
.office-card p { display: flex; gap: 0.9rem; align-items: center; margin-bottom: 0.9rem; }
.office-card .icon { color: var(--gold-300); }
.office-card a { text-decoration: none; }
.office-card a:hover { color: var(--gold-300); }
.map-art { margin-top: 1.8rem; border-radius: 16px; overflow: hidden; border: 1px solid rgba(223, 192, 110, 0.2); }

/* ---------- Footer ---------- */
.footer { background: var(--green-950); color: rgba(238, 241, 236, 0.66); padding: 5rem 0 6rem; font-size: 0.9rem; }
.footer a { color: var(--on-dark); }
.footer a:hover { color: var(--gold-300); }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(223, 192, 110, 0.14); }
.footer-brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0.45rem; text-decoration: none; color: var(--on-dark); }
.footer-brand img { width: 64px; margin-bottom: 0.5rem; }
.footer-brand .brand-name { font-size: 1.8rem; }
.footer-heading { font-family: var(--label); font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 1.2rem; font-weight: 400; }
.footer-contact p { display: flex; gap: 0.8rem; align-items: flex-start; }
.footer-contact .icon { color: var(--gold-500); margin-top: 0.3rem; }
.footer-contact a { text-decoration: none; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer-nav a { text-decoration: none; }
.footer-disclosures { padding: 2.5rem 0; font-size: 0.82rem; line-height: 1.7; }
.footer-disclosures p { margin-bottom: 1em; }
.footer-disclosures a { text-decoration: underline; }
.investment-warning { font-weight: 700; color: rgba(238, 241, 236, 0.85); }
.footer-bottom { border-top: 1px solid rgba(223, 192, 110, 0.14); padding-top: 1.6rem; }
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 1.8rem; }

/* BrokerCheck: visible on every page at every width (FINRA Rule 2210(d)(8)) */
.floating-broker-check { position: fixed; bottom: 0; right: 96px; z-index: 9998; height: 40px; padding: 0 14px; display: flex; align-items: center; background: rgba(246, 246, 246, 0.94); border-radius: 8px 8px 0 0; box-shadow: 0 -6px 20px -10px rgba(0,0,0,0.35); }
.floating-broker-check a { display: flex; align-items: center; height: 100%; }
.floating-broker-check img { height: 28px; width: auto; }

.back-to-top { position: fixed; right: 26px; bottom: 26px; z-index: 950; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(223, 192, 110, 0.5); background: var(--green-800); color: var(--gold-300); display: grid; place-items: center; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.4s, transform 0.4s var(--ease-out), visibility 0.4s; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.action-bar { display: none; }

/* ---------- Bio modal ---------- */
.bio-modal { width: min(720px, calc(100% - 2rem)); max-height: 86vh; padding: clamp(1.5rem, 4vw, 2.6rem); border: 0; border-radius: var(--radius-lg); background: var(--paper); color: var(--body); box-shadow: 0 50px 120px -40px rgba(0,0,0,0.7); }
.bio-modal::backdrop { background: rgba(11, 28, 19, 0.72); backdrop-filter: blur(6px); }
.bio-modal[open] { animation: modalIn 0.5s var(--ease-out); }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(0.98); } }
.bio-modal-close { position: absolute; top: 1rem; right: 1rem; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-light); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.bio-modal-close:hover { border-color: var(--gold-500); }
.bio-modal-header { display: flex; align-items: center; gap: 1.4rem; padding-bottom: 1.4rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--gold-500); padding-right: 3rem; }
.bio-modal-photo { width: 96px; height: 96px; flex: none; border-radius: 50%; background-size: cover; background-position: center 20%; border: 2px solid var(--gold-500); }
.bio-modal-header h2 { font-size: 1.7rem; margin-bottom: 0.2rem; }
.bio-modal-title { font-family: var(--label); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.8rem; color: var(--gold-800); margin: 0; }
.bio-modal-body h3 { font-size: 1.1rem; font-family: var(--label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-700); margin: 1.4rem 0 0.4rem; }
.bio-modal-body p { font-size: 1rem; }
.bio-modal-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line-light); }
.bio-brokercheck { margin: 0; font-size: 0.9rem; }
.bio-modal-badge { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 8px; background: #f6f6f6; }
.bio-modal-badge img { height: 28px; width: auto; }
.bio-sources { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .header-cta { display: none; }
  .journey-rail { display: none; }
}
@media (max-width: 960px) {
  :root { --header-h: 70px; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 46px; height: 46px; border: 1px solid rgba(223, 192, 110, 0.45); border-radius: 50%; background: transparent; cursor: pointer; padding: 0 12px; }
  .nav-toggle span { display: block; height: 1.5px; background: currentColor; transition: transform 0.4s var(--ease-out), opacity 0.3s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .mobile-menu { display: block; position: fixed; inset: var(--header-h) 0 0; background: var(--green-900); padding: 2rem 1.5rem 7rem; overflow-y: auto; color: var(--on-dark); }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu ul { list-style: none; padding: 0; margin: 0 0 2rem; }
  .mobile-menu li { border-bottom: 1px solid rgba(223, 192, 110, 0.14); }
  .mobile-menu li a { display: block; padding: 1.05rem 0; font-family: var(--serif); font-size: 1.5rem; text-decoration: none; }
  .mobile-menu .btn { width: 100%; }
  .mobile-menu-phone { display: block; text-align: center; margin-top: 1.2rem; color: var(--gold-300); font-family: var(--label); letter-spacing: 0.1em; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { background: var(--green-900); color: var(--on-dark); }

  .access-grid, .converge, .finale-grid, .intro-split, .process { grid-template-columns: 1fr; }
  .serve-wrap { grid-template-columns: 1fr; }
  .serve-tabs { position: static; grid-template-columns: 1fr 1fr; }
  .serve-tab { font-size: 0.98rem; grid-template-columns: auto 1fr; }
  .serve-tab > .icon { display: none; }
  .process-visual { position: sticky; top: var(--header-h); height: auto; padding: 0.8rem 0; z-index: 2; background: var(--green-800); }
  .dial { width: 150px; }
  .dial-center .step-count { font-size: 2.2rem; }
  .dial-center .step-name { display: none; }
  .p-step { min-height: auto; padding: 2rem 0 2rem 1.25rem; opacity: 1; }
  .lanes, .team-grid, .card-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .card-grid.two, .lenses { grid-template-columns: 1fr; }
  .lanes-svg { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .bio-layout { grid-template-columns: 1fr; }
  .bio-aside { position: static; max-width: 420px; }
  .toolkit { grid-template-columns: repeat(2, 1fr); }
  .strategy-picker { grid-template-columns: repeat(3, 1fr); }
  .strategy-panel { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
}
@media (max-width: 640px) {
  /* side-slide reveals would push past the screen edge; rise vertically instead */
  .js [data-reveal="left"], .js [data-reveal="right"] { transform: translate3d(0, 34px, 0); }
  .js .venn:not(.is-visible) .c1, .js .venn:not(.is-visible) .c2 { transform: translate(0, -12%); }
  .values-trio { grid-template-columns: 1fr; gap: 0; }
  .serve-tabs { grid-template-columns: 1fr; }
  .chips { grid-template-columns: 1fr; }
  .menu-details { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .serve-note { grid-template-columns: 1fr; }
  .brand-name { font-size: 1.25rem; }
  .brand-mark { width: 38px; }
  .hero-inner { padding: calc(var(--header-h) + 1.4rem) 1.25rem 9rem; }
  .hero-mark-wrap, .hero-mark { width: 84px; }
  .hero-mark-wrap { margin-bottom: 1.2rem; }
  .rotator { margin-bottom: 1.4rem; }
  /* Phones: the fixed Call / Schedule bar is the hero's call to action, so the in-hero buttons are hidden */
  .hero-actions { display: none; }
  /* Anchored under the header on phones so they can never sit under the fixed BrokerCheck badge */
  .hero-controls { top: calc(var(--header-h) + 0.6rem); bottom: auto; left: auto; right: 1rem; transform: none; gap: 0.8rem; }
  .hero-inner { padding-top: calc(var(--header-h) + 3.4rem); }
  .rotator { min-height: 10.5rem; }
  .orbit-node > span { font-size: 0.68rem; padding: 0.35rem 0.6rem; }
  .strategy-picker { grid-template-columns: repeat(2, 1fr); }
  /* Mobile action bar; BrokerCheck sits directly above it */
  .action-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; gap: 0.6rem; align-items: center; padding: 0.6rem 0.8rem calc(0.6rem + env(safe-area-inset-bottom)); background: rgba(11, 28, 19, 0.96); backdrop-filter: blur(10px); border-top: 1px solid rgba(223, 192, 110, 0.2); transform: translateY(110%); transition: transform 0.5s var(--ease-out); }
  .action-bar, .action-bar.is-visible { transform: none; }
  .action-bar .btn { flex: 1; }
  .action-bar-call { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--on-dark); text-decoration: none; font-family: var(--label); font-size: 0.9rem; padding: 0 0.4rem; }
  .floating-broker-check { right: 12px; height: 36px; padding: 0 10px; transition: bottom 0.5s var(--ease-out); }
  .floating-broker-check img { height: 24px; }
  .floating-broker-check { bottom: calc(72px + env(safe-area-inset-bottom)); }
  .back-to-top { display: none; }
  .footer { padding-bottom: 9rem; }
}

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-stagger] > *, .js [data-split], .js [data-split] .word > span, .rotator-slide .word > span { opacity: 1 !important; transform: none !important; }
  .js .read-reveal .w { color: var(--ink) !important; }
  .hero-media picture.is-active img { animation: none; }
  .js .venn .venn-c { transform: none !important; }
  .venn-core { opacity: 1; }
}
@media print {
  .site-header, .action-bar, .back-to-top, .journey-rail, .hero-controls, .scroll-cue { display: none !important; }
  .js [data-reveal], .js [data-stagger] > *, .js [data-split], .js [data-split] .word > span { opacity: 1 !important; transform: none !important; }
  .js .read-reveal .w { color: var(--ink) !important; }
}

/* Bio modal: BrokerCheck directly under the name, always in view without scrolling */
.bio-modal-bc { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; margin: -0.4rem 0 1.2rem; padding: 0.7rem 0.9rem; border-radius: 12px; background: var(--ivory); border: 1px solid var(--line-light); }
.bio-modal-bc .bio-brokercheck { font-size: 0.88rem; }
