/* Prime Partners Financial Planning: site styles.
   Calm light sections (white, warm white, soft grey); deep navy only for the hero, one
   contrast band and the footer. Blue is a quiet accent, never a glow. Tokens: copy/brand-kit.md. */

:root {
  --navy: #0e1e31;
  --navy-2: #15293f;
  --navy-3: #1d3654;
  --ink: #0f1d2c;
  --body: #46525f;
  --muted: #6b7685;
  --paper: #ffffff;
  --sand: #f7f5f1;
  --mist: #eef2f6;
  --line: #e3e7ec;
  --line-2: #cfd6df;
  --brand: #1f66b8;
  --brand-ink: #174f91;
  --brand-tint: #eaf1f9;
  --gold: #c9973a;
  --on-dark: #f3f6f9;
  --on-dark-2: #b6c2d0;
  --on-dark-3: #8496ab;
  --line-dark: rgba(255, 255, 255, .14);
  --danger: #b93a32;

  /* the live landscape (read by terrain.js) */
  --scene-base: #4f6278;
  --scene-mid: #a7b6c8;
  --scene-hi: #f4f7fa;
  --scene-gold: #e3b24c;

  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Sora", "Instrument Sans", system-ui, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 76px;
  --radius: 16px;
  --radius-sm: 8px;
  --section: clamp(88px, 11vw, 144px);

  --shadow-sm: 0 1px 2px rgba(14, 30, 49, .06), 0 2px 10px -4px rgba(14, 30, 49, .1);
  --shadow-md: 0 1px 2px rgba(14, 30, 49, .06), 0 14px 32px -14px rgba(14, 30, 49, .24);
  --shadow-lg: 0 2px 4px rgba(14, 30, 49, .05), 0 30px 60px -26px rgba(14, 30, 49, .34);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--body);
  font: 400 1.0625rem/1.68 var(--font); overflow-x: clip;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { padding-left: 1.2em; }
::selection { background: rgba(31, 102, 184, .18); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: #9cc3ec; }
[hidden] { display: none !important; }

.visually-hidden {
  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: fixed; left: 16px; top: -60px; z-index: 300; padding: 12px 18px; border-radius: var(--radius-sm);
  background: var(--navy); color: #fff; font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: var(--section) 0; }
.bg-sand { background: var(--sand); }
.bg-mist { background: var(--mist); }
.bg-navy { background: var(--navy); }

/* ---------- type ---------- */
h1, h2, h3, h4 {
  margin: 0; color: var(--ink); font-family: var(--font-head); font-weight: 600;
  line-height: 1.12; letter-spacing: -.02em; text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); letter-spacing: -.035em; line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 3.3vw, 2.8rem); letter-spacing: -.028em; }
h3 { font-size: clamp(1.12rem, 1.35vw, 1.28rem); letter-spacing: -.012em; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: clamp(1.1rem, 1.3vw, 1.22rem); line-height: 1.62; color: var(--body); }
.eyebrow { display: block; margin: 0 0 14px; font: 600 .78rem/1.2 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 72px; align-items: end; }
.section-head .lead { max-width: 46ch; }

.on-dark, .page-hero { color: var(--on-dark-2); }
.on-dark h1, .on-dark h2, .on-dark h3, .page-hero h1 { color: #fff; }
.on-dark .lead, .page-hero .lead { color: #c5cfdb; }
.on-dark .eyebrow, .page-hero .eyebrow { color: #9cc3ec; }
.page-hero .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .34); box-shadow: none; }
.page-hero .btn--ghost:hover { background: rgba(255, 255, 255, .07); border-color: #fff; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--radius-sm);
  background: var(--navy); color: #fff; text-decoration: none; white-space: nowrap;
  font: 600 .97rem/1 var(--font); letter-spacing: .005em;
  box-shadow: 0 1px 2px rgba(14, 30, 49, .22), 0 8px 20px -8px rgba(14, 30, 49, .5);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.btn:hover { background: var(--navy-3); transform: translateY(-1px); box-shadow: 0 2px 4px rgba(14, 30, 49, .18), 0 14px 28px -10px rgba(14, 30, 49, .55); }
.btn:active { transform: none; box-shadow: 0 1px 2px rgba(14, 30, 49, .3); }
.btn .icon-arrow { transition: transform .25s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn--light { background: #fff; color: var(--navy); box-shadow: 0 1px 2px rgba(0, 0, 0, .2), 0 12px 28px -12px rgba(0, 0, 0, .55); }
.btn--light:hover { background: #eef3f8; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { background: #fff; border-color: var(--ink); box-shadow: var(--shadow-md); }
.on-dark .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .34); box-shadow: none; }
.on-dark .btn--ghost:hover { background: rgba(255, 255, 255, .07); border-color: #fff; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 9px; color: var(--brand);
  font-weight: 600; text-decoration: none; transition: color .2s;
}
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 4px; }
.link-arrow:hover svg { transform: translateX(3px); }
.on-dark .link-arrow { color: #9cc3ec; }
.on-dark .link-arrow:hover { color: #fff; }

.phone-link { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.phone-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.phone-link svg { color: var(--brand); }
.on-dark .phone-link { color: #fff; }
.on-dark .phone-link svg { color: #9cc3ec; }

.icon-btn {
  display: grid; place-items: center; width: 46px; height: 46px; flex: none; padding: 0;
  border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; color: var(--ink);
  box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s;
}
.icon-btn:hover { border-color: var(--ink); box-shadow: var(--shadow-md); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); color: #fff;
  transition: background-color .35s, box-shadow .35s, color .35s;
  view-transition-name: site-header;
}
.site-header.is-scrolled, .menu-open .site-header {
  background: rgba(255, 255, 255, .94); color: var(--ink);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(14, 30, 49, .35);
}
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; flex-direction: column; gap: 6px; color: inherit; text-decoration: none; line-height: 1; flex: none; }
.brand__word { font-family: var(--font-head); font-weight: 300; font-size: 1.3rem; letter-spacing: .07em; }
.brand__word b { font-weight: 700; letter-spacing: .05em; }
.brand__tag { font-size: .55rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #9cc3ec; }
.is-scrolled .brand__tag, .menu-open .brand__tag, .site-footer .brand__tag { color: var(--brand); }
.site-footer .brand__tag { color: #9cc3ec; }
.brand--lg .brand__word { font-size: 1.65rem; }
.brand--lg .brand__tag { font-size: .62rem; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; height: 42px; padding: 0 14px;
  color: inherit; opacity: .78; text-decoration: none; font-weight: 500; font-size: .96rem; transition: opacity .2s;
}
.nav__link:hover, .nav__link[aria-current] { opacity: 1; }
.nav__link[aria-current]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px; background: currentColor; }
.nav__item--menu { position: relative; display: flex; align-items: center; }
.nav__item--menu .nav__link { padding-right: 6px; }
.nav__item--menu .nav__link[aria-current]::after { right: 6px; }
.nav__toggle {
  display: grid; place-items: center; width: 26px; height: 42px; padding: 0; margin-right: 4px;
  border: 0; background: none; color: inherit; opacity: .78; border-radius: 6px;
}
.nav__toggle svg { transition: transform .3s var(--ease); }
.nav__item--menu:hover .nav__toggle, .nav__item--menu.is-open .nav__toggle { opacity: 1; }
.nav__item--menu:hover .nav__toggle svg, .nav__item--menu.is-open .nav__toggle svg { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 12px); left: -24px; width: 620px; padding: 12px;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s var(--ease), transform .28s var(--ease), visibility 0s .28s;
}
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__item--menu:hover .nav__menu, .nav__item--menu.is-open .nav__menu, .nav__item--menu:focus-within .nav__menu {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.nav__menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.nav__menu-link { display: flex; gap: 14px; align-items: flex-start; padding: 13px; border-radius: 10px; text-decoration: none; transition: background-color .2s; }
.nav__menu-link:hover, .nav__menu-link:focus-visible { background: var(--mist); }
.nav__menu-link strong { display: block; font-weight: 600; font-size: .95rem; color: var(--ink); }
.nav__menu-link small { display: block; margin-top: 2px; font-size: .83rem; color: var(--muted); line-height: 1.4; }
.nav__menu-icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--brand-tint); color: var(--brand); }
.nav__menu-icon svg { width: 20px; height: 20px; }
.nav__menu-all {
  display: flex; justify-content: space-between; margin-top: 8px; padding: 13px; border-top: 1px solid var(--line);
  color: var(--brand); font-weight: 600; font-size: .9rem; text-decoration: none;
}
.nav__menu-all:hover { color: var(--brand-ink); }

.site-header__actions { display: flex; align-items: center; gap: 22px; }
.header-phone { display: inline-flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; font-weight: 500; font-size: .95rem; white-space: nowrap; opacity: .9; }
.header-phone:hover { opacity: 1; }
.site-header:not(.is-scrolled) .header-cta { background: #fff; color: var(--navy); box-shadow: 0 1px 2px rgba(0, 0, 0, .2), 0 10px 24px -12px rgba(0, 0, 0, .6); }
.site-header:not(.is-scrolled) .header-cta:hover { background: #eef3f8; }

.menu-btn {
  display: none; place-items: center; width: 46px; height: 46px; padding: 0;
  border: 1px solid currentColor; border-radius: 10px; background: transparent; color: inherit; opacity: .9;
}
.menu-btn__bars { position: relative; width: 18px; height: 10px; }
.menu-btn__bars span {
  position: absolute; left: 0; width: 100%; height: 1.6px; border-radius: 2px; background: currentColor;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.menu-btn__bars span:first-child { top: 0; }
.menu-btn__bars span:last-child { top: 8.4px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars span:first-child { top: 4.2px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars span:last-child { top: 4.2px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 99; overflow-y: auto; overscroll-behavior: contain;
  background: #fff; color: var(--ink); opacity: 0; transition: opacity .3s var(--ease);
}
.mobile-menu.is-open { opacity: 1; }
.mobile-menu__inner { padding: 12px var(--gutter) 48px; }
.mobile-menu__list { list-style: none; margin: 0; padding: 0; }
.mobile-menu__list > li {
  border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(12px);
  transition: opacity .45s var(--ease), transform .45s var(--ease); transition-delay: calc(var(--i) * 40ms + 50ms);
}
.mobile-menu.is-open .mobile-menu__list > li, .mobile-menu.is-open .mobile-menu__contact { opacity: 1; transform: none; }
.mobile-menu__list > li > a {
  display: flex; align-items: center; min-height: 64px; font-family: var(--font-head);
  font-size: 1.5rem; font-weight: 500; letter-spacing: -.02em; text-decoration: none;
}
.mobile-menu__list > li > a[aria-current] { color: var(--brand); }
.mobile-menu__sub { list-style: none; margin: -4px 0 14px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.mobile-menu__sub a { display: block; padding: 8px 0; color: var(--body); text-decoration: none; font-size: .98rem; }
.mobile-menu__contact {
  display: grid; gap: 12px; margin-top: 28px; opacity: 0; transform: translateY(12px);
  transition: opacity .45s var(--ease) .3s, transform .45s var(--ease) .3s;
}
.mobile-menu__contact p { color: var(--muted); text-align: center; font-size: .92rem; }
.menu-open, .menu-open body { overflow: hidden; }

/* ---------- home hero with the live landscape ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center;
  min-height: min(100svh, 960px); padding: calc(var(--header-h) + 48px) 0 140px; background: var(--navy);
}
.stage { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.stage__poster, .stage__scrim, .stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage__poster {
  background:
    radial-gradient(52% 58% at 76% 60%, rgba(150, 176, 206, .16), transparent 70%),
    linear-gradient(180deg, #11253b 0%, #0b1828 100%);
}
.stage__grid {
  position: absolute; left: -30%; right: -30%; bottom: -12%; height: 68%;
  background-image: radial-gradient(circle, rgba(200, 214, 230, .45) 1px, transparent 1.5px); background-size: 26px 26px;
  transform: perspective(520px) rotateX(64deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%); mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  opacity: .4; transition: opacity 1.4s var(--ease);
}
.stage canvas { opacity: 0; transition: opacity 1.6s var(--ease); }
.terrain-ready .stage canvas { opacity: 1; }
.terrain-ready .stage__grid { opacity: 0; }
.stage__scrim { background: linear-gradient(90deg, rgba(11, 24, 40, .9) 0%, rgba(11, 24, 40, .55) 38%, rgba(11, 24, 40, 0) 64%); }
.stage__label {
  position: absolute; left: 0; top: 0; z-index: 2; display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  font: 600 .74rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: #e9eef4;
  text-shadow: 0 1px 8px rgba(5, 12, 22, .8); opacity: 0; transition: opacity .6s var(--ease); will-change: transform;
}
.stage__label::before { content: ""; width: 18px; height: 1px; background: rgba(233, 238, 244, .55); }
.stage__label.is-on { opacity: 1; }
.stage__label.is-left { flex-direction: row-reverse; }

.hero__content { position: relative; max-width: 660px; }
.hero h1 { color: #fff; text-shadow: 0 2px 30px rgba(5, 12, 22, .4); }
.hero .lead { max-width: 520px; margin-top: 26px; color: #c5cfdb; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 40px; }
.hero__trust { position: absolute; left: 0; right: 0; bottom: 38px; }
.hero__trust ul { display: flex; flex-wrap: wrap; gap: 12px 0; margin: 0; padding: 0; list-style: none; font-size: .9rem; color: var(--on-dark-2); }
.hero__trust li { display: inline-flex; align-items: center; gap: 10px; padding-right: 24px; margin-right: 24px; border-right: 1px solid var(--line-dark); }
.hero__trust li:last-child { border-right: 0; }
.hero__trust svg { color: #9cc3ec; flex: none; }

/* headline words rise in on load */
.js [data-split] .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.js [data-split] .word > span { display: inline-block; transform: translateY(108%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--w) * 60ms + 120ms); }
.js.is-loaded [data-split] .word > span { transform: none; }
.js [data-intro] { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 120ms + 500ms); }
.js.is-loaded [data-intro] { opacity: 1; transform: none; }

/* ---------- interior page hero ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; background: var(--navy);
  padding: calc(var(--header-h) + clamp(60px, 8vw, 104px)) 0 clamp(64px, 7vw, 96px);
}
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -3; background: radial-gradient(50% 70% at 78% 60%, rgba(150, 176, 206, .14), transparent 70%), linear-gradient(180deg, #11253b, #0b1828); }
.page-hero canvas { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; opacity: 0; transition: opacity 1.6s var(--ease); }
.terrain-ready .page-hero canvas { opacity: 1; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(11, 24, 40, .92) 0%, rgba(11, 24, 40, .55) 42%, rgba(11, 24, 40, 0) 72%); }
.page-hero h1 { max-width: 16ch; font-size: clamp(2.4rem, 5vw, 4.2rem); color: #fff; }
.page-hero .lead { max-width: 600px; margin-top: 22px; color: #c5cfdb; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 34px; }
.page-hero--compact h1 { max-width: 20ch; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; font-size: .88rem; color: var(--on-dark-3); }
.breadcrumb a { color: var(--on-dark-2); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: rgba(255, 255, 255, .28); }
.breadcrumb [aria-current] { color: #e6ecf2; }
.jump-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.jump-links a {
  display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius-sm); color: #e6ecf2;
  text-decoration: none; font-weight: 500; font-size: .92rem; transition: border-color .2s, background-color .2s;
}
.jump-links a:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.jump-links svg { color: #9cc3ec; }

/* ---------- life stages, with floating photographs ---------- */
.life { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 660px; padding: clamp(120px, 14vw, 190px) 0; background: var(--sand); }
.life > .container { width: 100%; }
.life__inner { position: relative; z-index: 2; max-width: 500px; margin: 0 auto; text-align: center; }
.life__inner .lead { margin-top: 22px; }
.life__inner .link-arrow { margin-top: 30px; }
.life__photos { position: absolute; inset: 0; z-index: 1; max-width: 1440px; margin: 0 auto; pointer-events: none; }
.float { position: absolute; width: var(--w); transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.float__card {
  overflow: hidden; border-radius: 18px; background: #e9e5de; box-shadow: var(--shadow-lg);
  border: 5px solid #fff; animation: bob var(--dur, 9s) ease-in-out infinite alternate; animation-delay: var(--delay, 0s);
}
.float img { width: 100%; height: auto; aspect-ratio: var(--ar, 3 / 4); object-fit: cover; object-position: var(--pos, 50% 35%); }
@keyframes bob { from { transform: translateY(-7px); } to { transform: translateY(7px); } }

/* ---------- services ---------- */
.svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; margin-top: 56px; border-top: 1px solid var(--line); }
.svc-item {
  display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; gap: 20px; align-items: center;
  padding: 26px 6px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none;
}
.svc-item__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); transition: background-color .25s, color .25s; }
.svc-item__icon svg { width: 24px; height: 24px; }
.svc-item h3 { transition: color .2s; }
.svc-item p { margin-top: 4px; color: var(--muted); font-size: .97rem; line-height: 1.5; }
.svc-item__arrow { color: var(--line-2); transition: color .25s, transform .3s var(--ease); }
.svc-item:hover .svc-item__icon { background: var(--navy); color: #fff; }
.svc-item:hover h3 { color: var(--brand); }
.svc-item:hover .svc-item__arrow { color: var(--brand); transform: translateX(4px); }
.services-home__more { margin-top: 44px; }

.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.svc-card {
  display: flex; flex-direction: column; padding: clamp(26px, 3vw, 36px); border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, border-color .3s, transform .3s var(--ease); scroll-margin-top: calc(var(--header-h) + 24px);
}
.svc-card:hover { box-shadow: var(--shadow-md); border-color: var(--line-2); transform: translateY(-2px); }
.svc-card .svc-item__icon { margin-bottom: 22px; }
.svc-card h2 { font-size: clamp(1.35rem, 1.9vw, 1.6rem); }
.svc-card > p { margin-top: 10px; color: var(--body); }
.svc-card .check-list { margin-top: 18px; gap: 10px; font-size: .97rem; }
.svc-card .link-arrow { margin-top: auto; padding-top: 24px; }

/* ---------- process ---------- */
.process__track { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; margin-top: 72px; }
.process__line { position: absolute; left: 11px; right: 11px; top: 11px; height: 2px; background: var(--line-2); }
.process__line span { position: absolute; inset: 0; transform-origin: left center; transform: scaleX(var(--p, 0)); background: var(--navy); }
.step { position: relative; padding-top: 50px; }
.step__node { position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-2); background: #fff; transition: border-color .5s, background-color .5s; }
.step__node::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--line-2); transition: background-color .5s; }
.step.is-on .step__node { border-color: var(--navy); }
.step.is-on .step__node::after { background: var(--navy); }
.step__kicker { display: block; margin-bottom: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .5s; }
.step.is-on .step__kicker { color: var(--brand); }
.step h3 { font-size: clamp(1.3rem, 1.8vw, 1.55rem); }
.step p { margin-top: 10px; color: var(--body); }

/* ---------- credentials band ---------- */
.creds { background: var(--navy); color: var(--on-dark-2); }
.creds__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cred { padding: clamp(48px, 6vw, 76px) clamp(20px, 3vw, 44px); border-left: 1px solid var(--line-dark); }
.cred:first-child { border-left: 0; padding-left: 0; }
.cred__value { display: block; font-family: var(--font-head); font-weight: 600; font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -.04em; color: #fff; }
.cred__value small { margin-left: .2em; font-size: .4em; font-weight: 500; letter-spacing: -.01em; color: #9cc3ec; }
.cred__label { display: block; margin-top: 16px; max-width: 28ch; }

/* ---------- people ---------- */
.team-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 56px; }
.team-row .person { flex: 0 1 calc((100% - 100px) / 6); min-width: 0; }
.person {
  display: flex; flex-direction: column; padding: 10px 10px 18px; border-radius: 18px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: inherit; text-decoration: none;
  transition: box-shadow .3s, border-color .3s, transform .3s var(--ease);
}
.person:hover, .person:focus-visible { box-shadow: var(--shadow-md); border-color: var(--line-2); transform: translateY(-3px); }
.person__photo { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 12px; background: var(--mist); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .7s var(--ease); }
.person:hover .person__photo img { transform: scale(1.03); }
.person__name { display: block; margin: 16px 6px 0; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em; color: var(--ink); }
.person__role { display: block; margin: 4px 6px 0; font-size: .86rem; line-height: 1.4; color: var(--muted); }
.person__more { display: inline-flex; align-items: center; gap: 8px; margin: 14px 6px 0; color: var(--brand); font-weight: 600; font-size: .9rem; }
.person__more svg { transition: transform .25s var(--ease); }
.person:hover .person__more svg { transform: translateX(3px); }
.team-home__more { margin-top: 44px; }

/* ---------- testimonials (home) ---------- */
.quotes-section .container { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: 48px 96px; align-items: start; }
.quotes__intro .link-arrow { margin-top: 28px; }
.quotes__mark { width: 46px; height: 36px; margin-bottom: 26px; color: var(--brand); opacity: .9; }
.quotes__stage { display: grid; }
.quote { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .8s var(--ease), transform .8s var(--ease), visibility 0s .8s; }
.quote.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: .1s, .1s, 0s; }
.quote blockquote { margin: 0; font-family: var(--font-head); font-weight: 400; font-size: clamp(1.3rem, 2.1vw, 1.85rem); line-height: 1.42; letter-spacing: -.02em; color: var(--ink); }
.quote figcaption { display: flex; align-items: center; gap: 16px; margin-top: 32px; }
.quote__avatar { display: grid; place-items: center; width: 50px; height: 50px; flex: none; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .95rem; }
.quote__who strong { display: block; font-weight: 600; color: var(--ink); }
.quote__who span { display: block; font-size: .92rem; color: var(--muted); }
.quote__more { margin-left: auto; font-size: .92rem; }
.quotes__controls { display: flex; align-items: center; gap: 14px; margin-top: 48px; }
.quotes__bars { display: flex; gap: 8px; flex: 1; }
.quotes__bar { position: relative; flex: 1; height: 28px; padding: 0; border: 0; background: none; }
.quotes__bar::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 2px; border-radius: 2px; background: var(--line-2); }
.quotes__bar span { position: absolute; left: 0; right: 0; top: 13px; height: 2px; border-radius: 2px; background: var(--navy); transform-origin: left; transform: scaleX(0); }
.quotes__bar.is-done span { transform: scaleX(1); }
.quotes__bar.is-active span { animation: fill var(--dur, 9s) linear forwards; }
.quotes.is-paused .quotes__bar.is-active span { animation-play-state: paused; }
.quotes.is-static .quotes__bar.is-active span { animation: none; transform: scaleX(1); }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- contact + form ---------- */
.contact { position: relative; padding: var(--section) 0; background: var(--mist); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 56px clamp(40px, 6vw, 96px); align-items: start; }
.contact__intro h2 { max-width: 15ch; }
.contact__intro .lead { margin-top: 22px; max-width: 46ch; }
.free-meeting {
  display: flex; align-items: flex-start; gap: 16px; max-width: 480px; margin-top: 30px; padding: 18px 20px;
  border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.free-meeting__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 11px; background: var(--brand-tint); color: var(--brand); }
.free-meeting__icon svg { width: 22px; height: 22px; }
.free-meeting strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.free-meeting p { margin-top: 3px; font-size: .97rem; line-height: 1.5; color: var(--body); }
.contact__list { margin: 40px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-2); }
.contact__list li { border-bottom: 1px solid var(--line-2); }
.contact__list a, .contact__row { display: flex; align-items: center; gap: 18px; padding: 20px 0; color: inherit; text-decoration: none; }
.contact__icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); transition: background-color .25s, color .25s; }
.contact__icon svg { width: 22px; height: 22px; }
.contact__list a:hover .contact__icon { background: var(--navy); color: #fff; }
.contact__label { display: block; font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact__value { display: block; margin-top: 5px; font-family: var(--font-head); font-size: clamp(1.02rem, 1.4vw, 1.18rem); font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.contact__list a:hover .contact__value { color: var(--brand); }

.form { position: relative; padding: clamp(26px, 3.4vw, 42px); border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.form__title { margin-bottom: 24px; font-size: 1.2rem; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { padding: 0; font-size: .88rem; font-weight: 600; color: var(--ink); }
.req { color: var(--brand); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px;
  background: #fff; color: var(--ink); font-size: 1rem; line-height: 1.4; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 116px; }
.field input:hover, .field textarea:hover { border-color: #aeb8c5; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(31, 102, 184, .14); }
.field.has-error input { border-color: var(--danger); }
.field__error { font-size: .82rem; color: var(--danger); }
.choices legend { margin-bottom: 8px; }
.choices__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: flex; align-items: center; justify-content: center; min-height: 48px; height: 100%; padding: 8px 10px;
  border: 1px solid var(--line-2); border-radius: 10px; background: #fff; text-align: center; font-size: .9rem; line-height: 1.3;
  color: var(--body); cursor: pointer; transition: border-color .2s, background-color .2s, color .2s;
}
.choice span:hover { border-color: #aeb8c5; }
.choice input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 26px; }
.form__note { flex: 1 1 220px; font-size: .84rem; color: var(--muted); }
.form__error { flex-basis: 100%; padding: 12px 14px; border-radius: 10px; background: #fdf2f1; border: 1px solid #f0c9c5; color: var(--danger); font-size: .92rem; outline: none; }
.form__error a { color: inherit; font-weight: 600; }
.form__submit:disabled { opacity: .7; cursor: progress; transform: none; }
.form__note a { color: var(--body); }
.form__done { padding: clamp(24px, 5vw, 56px) 8px; text-align: center; outline: none; }
.form__done-icon { display: inline-block; width: 60px; height: 60px; color: var(--brand); }
.form__done-icon circle { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 1s var(--ease) forwards; }
.form__done-icon path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s var(--ease) .6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form__done h3 { margin-top: 20px; font-size: 1.45rem; }
.form__done p { margin: 12px auto 0; max-width: 42ch; color: var(--body); }
.form__done .form__done-alt { font-size: .92rem; color: var(--muted); }
.form__done .btn { margin-top: 26px; }

/* ---------- footer ---------- */
.site-footer { position: relative; padding: clamp(72px, 9vw, 104px) 0 40px; background: #0b1828; color: var(--on-dark-2); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr); gap: 56px 72px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { margin-top: 22px; max-width: 34ch; font-size: .96rem; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); gap: 40px; justify-content: space-between; }
.footer-cols h2 { margin: 0 0 18px; font: 600 .74rem/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-3); }
.footer-cols ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; font-size: .95rem; }
.footer-cols a { color: #d6dee7; text-decoration: none; transition: color .2s; }
.footer-cols a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-note { line-height: 1.5; }
.file-tag { margin-left: 6px; padding: 2px 5px; border: 1px solid var(--line-dark); border-radius: 4px; font-size: .68rem; font-weight: 600; letter-spacing: .08em; color: var(--on-dark-2); vertical-align: 1px; }
.footer-assoc { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 60px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.footer-assoc a { display: inline-flex; align-items: center; gap: 10px; color: #d6dee7; text-decoration: none; font-size: .92rem; }
.footer-assoc a:hover { color: #fff; }
.footer-assoc svg { color: #9cc3ec; flex: none; }
.footer-legal { display: grid; gap: 10px; max-width: 1000px; margin-top: 28px; font-size: .8rem; line-height: 1.6; color: var(--on-dark-3); }
.footer-copy { margin-top: 8px; }

/* ---------- services overview: coordinated approach ---------- */
.network-section .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px clamp(40px, 7vw, 112px); align-items: center; }
.network-section .lead { margin-top: 22px; }
.network { position: relative; width: 100%; max-width: 500px; aspect-ratio: 1; justify-self: center; }
.network > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.network__links line { stroke: var(--line-2); stroke-width: .4; stroke-dasharray: 1 1.4; }
.network__packet { fill: var(--brand); }
.network__node { position: absolute; transform: translate(-50%, -50%); display: grid; place-items: center; gap: 8px; width: 30%; text-align: center; font-size: .9rem; font-weight: 500; color: var(--ink); }
.network__node i { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 16px; font-style: normal; background: #fff; border: 1px solid var(--line); color: var(--brand); box-shadow: var(--shadow-md); }
.network__node i svg { width: 28px; height: 28px; }
.network__node--core { width: 36%; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; }
.network__node--core i { width: 100px; height: 100px; border-radius: 50%; background: var(--navy); border: 0; color: #fff; box-shadow: 0 0 0 10px rgba(14, 30, 49, .06), var(--shadow-lg); }
.network__node--core i svg { width: 38px; height: 38px; }

/* ---------- service detail ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 56px clamp(40px, 7vw, 112px); align-items: start; }
.prose { font-size: 1.1rem; color: var(--body); }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { margin-top: 1.9em; font-size: clamp(1.5rem, 2.3vw, 1.95rem); }
.prose .lead-quote { font-family: var(--font-head); font-size: clamp(1.4rem, 2.2vw, 1.85rem); font-weight: 500; line-height: 1.32; letter-spacing: -.02em; color: var(--ink); }
.aside-card { position: sticky; top: calc(var(--header-h) + 32px); padding: clamp(26px, 3vw, 34px); border-radius: var(--radius); background: var(--sand); border: 1px solid var(--line); }
.aside-card h2 { font-size: 1.2rem; }
.aside-card .check-list { margin-top: 20px; gap: 12px; font-size: .98rem; }
.aside-card__cta { display: grid; gap: 12px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line-2); }
.aside-card__cta p { margin-bottom: 2px; font-size: .95rem; color: var(--muted); }
.check-list { display: grid; gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 34px; color: var(--body); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3.2 3.2L17 9' fill='none' stroke='%231f66b8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.areas li { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font-size: 1rem; box-shadow: var(--shadow-sm); }
.areas li::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--brand); }
.related { background: var(--mist); }
.related__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.related-card {
  display: flex; align-items: center; gap: 20px; padding: 24px 26px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: inherit; text-decoration: none;
  transition: box-shadow .3s, border-color .3s, transform .3s var(--ease);
}
.related-card:hover { box-shadow: var(--shadow-md); border-color: var(--line-2); transform: translateY(-2px); }
.related-card h3 { font-size: 1.2rem; }
.related-card p { margin-top: 4px; font-size: .95rem; color: var(--muted); }
.related-card .arrow { margin-left: auto; flex: none; color: var(--brand); transition: transform .25s var(--ease); }
.related-card:hover .arrow { transform: translateX(4px); }

/* ---------- staff ---------- */
.team-subhead { display: flex; align-items: center; gap: 18px; margin: 96px 0 0; font: 600 .78rem/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.team-subhead::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.team-subhead:first-child { margin-top: 0; }
.directors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.directors .person__photo { aspect-ratio: 1 / 1.05; }
.directors .person__name { font-size: 1.28rem; }
.directors .person__role { font-size: .95rem; }
.support { display: grid; margin-top: 28px; border-top: 1px solid var(--line); }
.person-row {
  display: grid; grid-template-columns: 84px minmax(180px, 1fr) minmax(0, 1.6fr) auto; align-items: center; gap: 28px;
  padding: 20px 8px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; transition: background-color .25s;
}
.person-row:hover { background: var(--sand); }
.person-row img { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; object-position: 50% 15%; border: 1px solid var(--line); }
.person-row strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; color: var(--ink); }
.person-row__who span { display: block; margin-top: 3px; font-size: .9rem; color: var(--muted); }
.person-row__note { color: var(--body); }
.person-row .arrow { color: var(--brand); transition: transform .25s var(--ease); }
.person-row:hover .arrow { transform: translateX(4px); }
.ethos blockquote { margin: 0; max-width: 28ch; font-family: var(--font-head); font-weight: 500; font-size: clamp(1.7rem, 3.2vw, 2.7rem); line-height: 1.22; letter-spacing: -.03em; color: var(--ink); }

/* bio */
.bio { display: grid; grid-template-columns: minmax(260px, 360px) minmax(0, 1fr); gap: 56px clamp(40px, 7vw, 104px); align-items: start; }
.bio__card { position: sticky; top: calc(var(--header-h) + 32px); }
.bio__photo { overflow: hidden; padding: 10px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.bio__photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.bio__actions { display: grid; gap: 10px; margin-top: 18px; }
.bio__actions .btn { width: 100%; }
.credentials { margin-top: 52px; padding: clamp(24px, 3vw, 34px); border-radius: var(--radius); background: var(--sand); border: 1px solid var(--line); }
.credentials h2 { font-size: 1.15rem; }
.credentials ul { display: grid; margin: 18px 0 0; padding: 0; list-style: none; }
.credentials li { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--body); font-variant-numeric: tabular-nums; }
.credentials li:last-child { border-bottom: 0; }
.credentials li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); transform: translateY(-2px); }
.credentials .fsg { margin-top: 20px; }
.bio-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 80px; padding-top: 32px; border-top: 1px solid var(--line); }
.bio-nav a { display: flex; flex-direction: column; gap: 6px; color: inherit; text-decoration: none; }
.bio-nav a:last-child { text-align: right; align-items: flex-end; }
.bio-nav small { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.bio-nav strong { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--ink); transition: color .2s; }
.bio-nav a:hover strong { color: var(--brand); }

/* ---------- testimonials page ---------- */
.t-list { display: grid; gap: clamp(64px, 8vw, 112px); }
.t-item { display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 1fr); gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
.t-item__who { position: sticky; top: calc(var(--header-h) + 40px); padding-top: 22px; border-top: 2px solid var(--navy); }
.t-item__who .quote__avatar { width: 58px; height: 58px; margin-bottom: 16px; font-size: 1.1rem; }
.t-item__who strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.18rem; color: var(--ink); }
.t-item__who span:not(.quote__avatar) { display: block; margin-top: 4px; color: var(--muted); }
.t-item__text p { color: var(--body); font-size: 1.1rem; }
.t-item__text p + p { margin-top: 1.1em; }
.t-item__text p.big { font-family: var(--font-head); font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.4; letter-spacing: -.02em; color: var(--ink); }
.t-item__text p.context { padding-left: 18px; border-left: 2px solid var(--line-2); font-size: .97rem; color: var(--muted); }

/* ---------- legal ---------- */
.legal { display: grid; grid-template-columns: 250px minmax(0, 780px); gap: 56px clamp(40px, 6vw, 96px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 32px); max-height: calc(100vh - var(--header-h) - 64px); overflow: auto; }
.toc h2 { margin: 0 0 14px; font: 600 .74rem/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.toc ol { margin: 0; padding: 0; list-style: none; }
.toc a { display: block; padding: 7px 0 7px 16px; border-left: 1px solid var(--line); color: var(--muted); font-size: .88rem; line-height: 1.4; text-decoration: none; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); border-left: 2px solid var(--navy); padding-left: 15px; }
.toc details summary { display: none; }
.legal-prose { color: var(--body); font-size: 1.03rem; }
.legal-prose > :first-child { margin-top: 0; }
.legal-prose h2 { margin: 2.3em 0 .7em; font-size: clamp(1.25rem, 1.9vw, 1.5rem); }
.legal-prose h3 { margin: 1.8em 0 .6em; font-size: 1.1rem; }
.legal-prose p, .legal-prose ul, .legal-prose ol { margin: 0 0 1em; }
.legal-prose li { margin: .4em 0; }
.legal-prose li::marker { color: var(--brand); }
.legal-prose a { color: var(--brand); }
.legal-prose strong { color: var(--ink); font-weight: 600; }
.legal-prose table { display: block; width: 100%; margin: 1.4em 0; overflow-x: auto; border-collapse: collapse; font-size: .95rem; }
.legal-prose td { min-width: 160px; padding: 12px 14px; border: 1px solid var(--line); vertical-align: top; }
.legal-prose tr:first-child td { background: var(--mist); color: var(--ink); font-weight: 600; }
.legal-card { display: block; margin: 1.6em 0; padding: 24px 26px; border-radius: var(--radius); background: var(--sand); border: 1px solid var(--line); font-style: normal; line-height: 1.8; }

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: flex; align-items: center; }
.notfound h1 { max-width: 14ch; }
.notfound__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: var(--on-dark-2); }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 48px; }
.cta-band h2 { max-width: 17ch; color: #fff; }
.cta-band .lead { max-width: 46ch; margin-top: 18px; }
.cta-band .eyebrow { color: #9cc3ec; }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; animation-timing-function: var(--ease); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .header-phone span { display: none; }
  .team-row { gap: 16px; }
  .team-row .person { flex-basis: calc((100% - 32px) / 3); }
  .person__role { font-size: .82rem; }
  .footer-top { grid-template-columns: 1fr; }
  .float--sm { display: none; }
}

@media (max-width: 980px) {
  :root { --header-h: 70px; }
  .nav, .header-phone, .header-cta { display: none; }
  .menu-btn { display: grid; }
  .site-header__actions { margin-left: auto; }
  .section-head, .quotes-section .container, .contact__grid, .network-section .container, .detail, .bio { grid-template-columns: minmax(0, 1fr); }
  .svc-list { grid-template-columns: minmax(0, 1fr); }
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .process__track { grid-template-columns: minmax(0, 1fr); gap: 34px; margin-top: 52px; }
  .process__line { left: 11px; right: auto; top: 11px; bottom: 11px; width: 2px; height: auto; }
  .process__line span { transform-origin: center top; transform: scaleY(var(--p, 0)); }
  .step { padding: 0 0 0 52px; }
  .creds__grid { grid-template-columns: minmax(0, 1fr); }
  .cred, .cred:first-child { padding: 40px 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .cred:first-child { border-top: 0; }
  .aside-card, .bio__card, .t-item__who, .toc { position: static; }
  .bio__card { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; align-items: center; }
  .bio__actions { margin-top: 0; }
  .related__grid { grid-template-columns: minmax(0, 1fr); }
  .t-item { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .legal { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .toc { max-height: none; overflow: visible; padding: 4px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--sand); }
  .toc details summary { display: flex; justify-content: space-between; align-items: center; min-height: 52px; cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; }
  .toc details summary::-webkit-details-marker { display: none; }
  .toc details summary::after { content: "+"; font-size: 1.3rem; color: var(--brand); }
  .toc details[open] summary::after { content: "\2212"; }
  .toc h2 { display: none; }
  .toc ol { padding-bottom: 14px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; }

  .team-row .person { flex-basis: calc((100% - 32px) / 3); }
  .directors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .life { display: block; min-height: 0; padding: 96px 0 104px; }
  .life__photos { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 620px; margin: 52px auto 0; padding: 0 var(--gutter); }
  .float { position: static; width: auto; transform: none; }
  .float:nth-child(even) { margin-top: 30px; }
  .float--sm { display: none; }
  .float img { aspect-ratio: 4 / 5; }
}

@media (max-width: 760px) {
  .person-row { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 18px; }
  .person-row img { width: 72px; height: 72px; }
  .person-row__note { display: none; }
  .team-row { gap: 14px; }
  .team-row .person { flex-basis: calc((100% - 14px) / 2); }
  .directors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  body { font-size: 1.03rem; }
  .brand__word { font-size: 1.14rem; }
  .brand__tag { font-size: .5rem; letter-spacing: .17em; }
  .hero { flex-direction: column; align-items: stretch; padding-top: calc(var(--header-h) + 52px); padding-bottom: 42vh; min-height: 100svh; }
  .hero__trust { position: static; margin-top: 34px; }
  .hero__trust ul { flex-direction: column; gap: 9px; }
  .hero__trust li { border-right: 0; padding-right: 0; margin-right: 0; }
  .hero__actions .btn { width: 100%; }
  .stage__scrim { background: linear-gradient(180deg, rgba(11, 24, 40, .9) 0%, rgba(11, 24, 40, .6) 46%, rgba(11, 24, 40, 0) 70%); }
  .page-hero::after { background: linear-gradient(180deg, rgba(11, 24, 40, .78) 0%, rgba(11, 24, 40, .5) 70%, rgba(11, 24, 40, .3) 100%); }
  .svc-item { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 16px; padding: 22px 2px; }
  .svc-item__icon { width: 44px; height: 44px; }
  .directors { grid-template-columns: minmax(0, 1fr); }
  .form__grid { grid-template-columns: minmax(0, 1fr); }
  .choices__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form__submit { width: 100%; }
  .quote figcaption { flex-wrap: wrap; }
  .quote__more { margin-left: 66px; }
  .areas { grid-template-columns: minmax(0, 1fr); }
  .related-card { padding: 20px; gap: 16px; }
  .bio__card { grid-template-columns: minmax(0, 1fr); }
  .bio__photo { max-width: 280px; }
  .bio-nav strong { font-size: 1.05rem; }
  .footer-cols { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .cta-band__actions .btn { width: 100%; }
  .mobile-menu__sub { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-intro], .js [data-split] .word > span { opacity: 1; transform: none; }
  .float__card { animation: none; }
}

/* no JavaScript: keep everything reachable */
.no-js .mobile-menu, .no-js .toc { display: none; }
@media (max-width: 980px) {
  .no-js .nav { display: block; position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
  .no-js .nav__list { flex-wrap: wrap; padding: 8px var(--gutter); }
  .no-js .nav__toggle, .no-js .nav__menu { display: none; }
  .no-js .menu-btn { display: none; }
}
