/* =====================================================================
   Beacon Accreditation Consulting — styles.css
   Palette: warm cream + deep ink-teal + beacon amber + ocean teal
   Type: Fraunces (display) + Inter (UI/body)
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink:        #16262d;
  --ink-soft:   #3a4f57;
  --muted:      #62737a;
  --cream:      #faf7f0;
  --cream-2:    #f2ece0;
  --card:       #ffffff;
  --line:       #e7dfce;
  --line-2:     #d9cfb8;

  --teal:       #1f8a7d;
  --teal-deep:  #115e57;
  --teal-soft:  #e3f1ee;

  --amber:      #d4842b;
  --amber-soft: #e7a951;
  --amber-deep: #ad641a;
  --amber-tint: #fbeede;

  --navy:       #102229;
  --navy-2:     #16323b;

  --ok:         #2a9d8f;
  --warn:       #d4842b;
  --bad:        #c25a3a;

  /* shadcn-style focus ring (translated to our amber, vanilla CSS) */
  --ring:       color-mix(in oklab, var(--amber) 55%, transparent);

  --shadow-sm:  0 1px 2px rgba(16,34,41,.05), 0 2px 8px rgba(16,34,41,.05), inset 0 1px 0 rgba(255,255,255,.6);
  --shadow-md:  0 4px 16px rgba(16,34,41,.07), 0 16px 44px rgba(16,34,41,.08), inset 0 1px 0 rgba(255,255,255,.6);
  --shadow-lg:  0 10px 30px rgba(16,34,41,.12), 0 30px 70px rgba(16,34,41,.12);

  --r-sm: 8px;
  --r:    12px;
  --r-lg: 18px;
  --r-xl: 24px;

  --maxw: 1180px;
  --pad:  clamp(20px, 5vw, 64px);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-enter: cubic-bezier(.16,.84,.44,1);
  --ease-exit:  cubic-bezier(.4,0,.9,.3);
  --ease-emph:  cubic-bezier(.34,1.3,.64,1);
  --amber-display: #f3c47a;   /* the one warm figure-on-dark */
  --on-dark-2: #9fb6b4;       /* tiered secondary text on dark */
  --track-caps: .14em;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; font-optical-sizing: auto; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'cv05' 1, 'cv11' 1, 'ss01' 1, 'calt' 1;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.container--narrow { max-width: 820px; }

.section { padding-block: clamp(64px, 9vw, 130px); position: relative; }
.section--alt { background: var(--cream-2); }
.section--alt::before, .section--alt::after { content: ""; }

.section__eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 16px;
  position: relative; padding-left: 30px;
}
.section__eyebrow::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 28px; height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--amber-soft) 70%, transparent); transform: translateY(-50%);
}
.section__eyebrow--light { color: var(--amber-soft); }
.section__eyebrow--light::before { background: linear-gradient(90deg, var(--amber-soft), rgba(231,169,81,0)); }
/* numbered editorial folio variant (replaces the beam on pitch sections) */
.section__eyebrow--folio { padding-left: 0; }
.section__eyebrow--folio::before { display: none; }
.section__folio { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1; color: var(--amber-deep); margin-right: 15px; padding-right: 15px; border-right: 2px solid var(--amber); font-variant-numeric: tabular-nums lining-nums; letter-spacing: 0; }

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5.2vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 16ch;
}
.section__title--light { color: #fff; max-width: 16ch; }
.section__lead {
  margin-top: 22px;
  max-width: 60ch;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink-soft);
}
.section__lead strong { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--bg); color: var(--fg);
  padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: 15.5px; letter-spacing: .015em;
  border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; box-shadow: none; transform: none; }
.btn--accent { --bg: var(--amber); --fg: #2a1606; box-shadow: 0 6px 18px rgba(212,132,43,.32); }
.btn--accent:hover { --bg: var(--amber-soft); box-shadow: 0 10px 26px rgba(212,132,43,.4); }
.btn--ghost { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { --bg: rgba(255,255,255,.1); border-color: #fff; }
.btn--outline { --bg: transparent; --fg: var(--ink); border-color: var(--line-2); }
.btn--outline:hover { --bg: var(--ink); --fg: #fff; border-color: var(--ink); }
.btn--small { padding: 9px 18px; font-size: 14px; }
.btn--lg { padding: 18px 38px; font-size: 17px; letter-spacing: .02em; }
.btn--block { display: flex; width: 100%; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: perspective(1000px) translateY(28px) rotateX(4deg); transform-origin: 50% 100%; transition: opacity .7s var(--ease), transform .8s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { transform: none; } }

/* =====================================================================
   NAV
   ===================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s, box-shadow .3s, padding .3s;
  padding-block: 18px;
}
.nav.is-scrolled {
  background: rgba(250,247,240,.86);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(16,34,41,.06);
  padding-block: 10px;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.nav__logo { width: 38px; height: 38px; color: var(--teal-deep); flex: none; transition: transform .4s var(--ease); }
.nav__brand:hover .nav__logo { transform: translateY(-2px) rotate(-4deg); }
.nav__brandtext { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -.01em; }
.nav__brandtext em { font-style: normal; font-family: var(--font-body); font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative; padding: 8px 14px; font-size: 15px; font-weight: 500; color: var(--ink-soft); border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--amber);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after, .nav__link.is-current::after { transform: scaleX(1); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.nav__toggle span { width: 24px; height: 2.4px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.4px) 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.4px) rotate(-45deg); }

/* =====================================================================
   HERO
   ===================================================================== */
/* ---- Hero: editorial split, dark premium ---- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden;
  color: #eef3f2;
  background:
    radial-gradient(900px 500px at 88% -8%, rgba(231,169,81,.16), transparent 60%),
    linear-gradient(165deg, #0e2329 0%, #102b32 46%, #0c1f25 100%);
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 28px 28px; opacity: .5; will-change: transform;
}
.hero__fx { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__inner {
  position: relative; z-index: 2; flex: 1;
  display: flex; flex-direction: column; justify-content: space-between;
  padding-block: 104px 30px;
}

/* masthead rule */
.hero__mast {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-bottom: 20px; margin-bottom: clamp(30px, 4.5vw, 54px);
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.hero__mast-k { font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #cdb78f; }
.hero__mast-r { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #7f9794; display: inline-flex; align-items: center; gap: 10px; }
.hero__mast-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber-soft); box-shadow: 0 0 10px 1px rgba(231,169,81,.6); }

/* editorial grid */
.hero__grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(32px, 5vw, 72px); align-items: center; perspective: 1300px; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-soft);
  margin-bottom: 26px;
}
.hero__kicker::before { content: ""; width: 36px; height: 2px; background: linear-gradient(90deg, var(--amber), var(--amber-soft) 70%, transparent); }
.hero__title {
  font-family: var(--font-display); font-weight: 600;
  font-variation-settings: 'opsz' 144, 'SOFT' 40;
  font-size: clamp(46px, 6.1vw, 78px); line-height: .98; letter-spacing: -.025em; color: #fff;
}
.hero__title-accent {
  font-style: italic; font-weight: 500; color: var(--amber-display);
  background: linear-gradient(100deg, var(--amber-soft), var(--amber-display) 60%, var(--amber-soft));
  -webkit-background-clip: text; background-clip: text;
}
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .hero__title-accent { -webkit-text-fill-color: transparent; }
}
.hero__sub { margin-top: 28px; max-width: 46ch; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: #bcccc9; }
.hero__sub strong { color: #fff; font-weight: 600; }
.hero__ctas { margin-top: 38px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

/* reusable editorial text link */
.textlink {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  color: var(--ink); border-bottom: 1px solid var(--line-2); padding-bottom: 3px;
  transition: gap .25s var(--ease), border-color .25s, color .25s;
}
.textlink:hover { color: var(--amber-deep); border-color: var(--amber); gap: 13px; }
.textlink--light { color: #dfe8e6; border-color: rgba(255,255,255,.28); }
.textlink--light:hover { color: #fff; border-color: var(--amber-soft); }

/* signature night-plate visual */
.hero__plate {
  position: relative; aspect-ratio: 1/1; border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  will-change: transform; animation: plateIn .9s var(--ease-enter) both;
}
@keyframes plateIn { from { opacity: 0; } to { opacity: 1; } }
/* pointer-tracked light glare — the "premium 3D card" highlight */
.hero__plate::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255,255,255,.16), transparent 46%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.hero:hover .hero__plate::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero__plate { transform: none; animation: none; }
  .hero__plate::after { display: none; }
}
.hero__plate-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; filter: saturate(.92) contrast(1.04); }
.hero__plate-grad { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,20,25,.1) 0%, rgba(8,20,25,.04) 40%, rgba(8,20,25,.78) 100%); }
.hero__plate-beam {
  position: absolute; top: 18%; left: 50%; width: 80vmax; height: 80vmax; transform: translateX(-50%); will-change: transform;
  background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(255,244,222,0) 16deg, rgba(240,177,92,.34) 22deg, rgba(255,244,222,.6) 26deg, rgba(240,177,92,.34) 30deg, transparent 40deg, transparent 360deg);
  filter: blur(2px); animation: sweep 18s cubic-bezier(.6,0,.4,1) infinite;
}
.hero__plate-chip {
  position: absolute; left: 18px; bottom: 18px; right: 18px; z-index: 4;
  display: flex; align-items: center; gap: 14px;
  background: rgba(13,28,33,.72); backdrop-filter: blur(10px) saturate(160%);
  border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 14px 16px;
}
.hero__plate-gauge { position: relative; width: 46px; height: 46px; border-radius: 50%; flex: none; background: conic-gradient(var(--amber-soft) 0 252deg, rgba(255,255,255,.14) 252deg 360deg); }
.hero__plate-gauge::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #0e242a; }
.hero__plate-gnum { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: #fff; z-index: 2; }
.hero__plate-ct { line-height: 1.25; }
.hero__plate-ct b { display: block; font-size: 13.5px; color: #fff; font-weight: 600; }
.hero__plate-ct span { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #9fb6b4; }

/* credential strip */
.hero__cred {
  position: relative; z-index: 2; margin-top: clamp(34px, 5vw, 56px);
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap;
}
.cred__item { flex: 1 1 0; min-width: 180px; padding: 22px 28px 26px 0; display: flex; flex-direction: column; gap: 5px; border-right: 1px solid rgba(255,255,255,.1); }
.cred__item:last-child { border-right: none; }
.cred__big { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2.4vw, 30px); color: var(--amber-display); line-height: 1; font-variant-numeric: tabular-nums lining-nums; font-variation-settings: 'opsz' 70; }
.cred__lab { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: #8ba4a1; }

@keyframes sweep { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero__plate-beam { animation: none; } }

@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; gap: 38px; }
  .hero__plate { aspect-ratio: 16/12; max-width: 540px; }
  .hero__mast-r { display: none; }
  .hero__cred { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
  .cred__item { flex: none; border-right: none; padding: 16px 0; }
}

/* --- type machinery: optical sizing + true italics + editorial accents --- */
.section__title, .login__arttitle { font-variation-settings: 'opsz' 144, 'SOFT' 50; }
.nav__brandtext, .price__name, .faq__item summary, .whycard h3, .svc__title { font-variation-settings: 'opsz' 22; }
.section__title em, .hero__sub em, .section__lead em { font-family: var(--font-display); font-style: italic; font-weight: 500; }
.price__amount, .priceentry__price, .estimator__figure, .gauge__num, .tp__num { font-variant-numeric: tabular-nums lining-nums; }

.hero__scroll { position: absolute; left: 50%; bottom: 26px; z-index: 3; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: scrolldot 1.8s var(--ease) infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* =====================================================================
   WHY CARF — cards + tilemap
   ===================================================================== */
.whygrid { margin-top: 56px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 760px) { .whygrid { grid-template-columns: 1fr; } }
.whycard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px;
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  position: relative; overflow: hidden;
}
.whycard::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--teal), var(--amber)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.whycard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.whycard:hover::after { transform: scaleX(1); }
.whycard__icon { color: var(--teal-deep); width: 58px; height: 58px; display: grid; place-items: center; background: var(--teal-soft); border-radius: 16px; margin-bottom: 18px; transition: transform .35s var(--ease), background-color .3s var(--ease), color .3s var(--ease); }
.whycard:hover .whycard__icon { transform: translateY(-2px); background: var(--teal); color: #fff; }
.whycard h3 { font-family: var(--font-display); font-weight: 600; font-size: 21px; margin-bottom: 10px; letter-spacing: -.01em; }
.whycard p { color: var(--ink-soft); font-size: 15.5px; }
.whycard em { color: var(--teal-deep); font-style: italic; }

/* Tilemap */
.mapblock {
  margin-top: 64px; display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 36px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 3vw, 44px); box-shadow: var(--shadow-md);
}
.mapblock__title { font-family: var(--font-display); font-weight: 600; font-size: 24px; }
.mapblock__hint { color: var(--muted); font-size: 14.5px; margin: 6px 0 22px; }
.tilemap { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 10px; max-width: 320px; }
/* New England arranged loosely by geography */
.tile {
  min-height: 60px; border-radius: 14px; background: var(--cream-2); border: 2px solid var(--line);
  font-weight: 700; font-size: 17px; color: var(--ink-soft); letter-spacing: .04em;
  display: grid; place-items: center; transition: all .25s var(--ease);
}
.tile:hover { transform: translateY(-3px); border-color: var(--teal); color: var(--teal-deep); }
.tile.is-active { background: var(--teal-deep); color: #fff; border-color: var(--teal-deep); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.tile--vt { grid-column: 1; grid-row: 1; }
.tile--nh { grid-column: 2; grid-row: 1; }
.tile--me { grid-column: 3; grid-row: 1 / span 3; }
.tile--ma { grid-column: 1 / span 2; grid-row: 2; }
.tile--ct { grid-column: 1; grid-row: 3; }
.tile--ri { grid-column: 2; grid-row: 3; }
.mapblock__panel { align-self: center; }
.mapblock__panel .sp__state { font-family: var(--font-display); font-weight: 600; font-size: 26px; color: var(--teal-deep); }
.mapblock__panel .sp__tag { display: inline-block; margin: 8px 0 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.mapblock__panel .sp__tag.req { background: var(--amber-tint); color: var(--amber-deep); }
.mapblock__panel .sp__tag.pref { background: var(--teal-soft); color: var(--teal-deep); }
.mapblock__panel p { color: var(--ink-soft); font-size: 16px; }
.mapblock__panel.is-swapping { opacity: 0; transform: translateY(8px); }
.mapblock__panel { transition: opacity .3s var(--ease), transform .3s var(--ease); }

/* =====================================================================
   SERVICES
   ===================================================================== */
.svcgrid { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.svc {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 26px;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  cursor: pointer; position: relative;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--teal); }
.svc.is-open { border-color: var(--teal); box-shadow: var(--shadow-md); }
.svc__head { display: flex; align-items: center; gap: 14px; padding-right: 42px; }
.svc__icon { color: var(--amber-deep); width: 48px; height: 48px; flex: none; display: grid; place-items: center; background: var(--amber-tint); border-radius: 12px; transition: transform .35s var(--ease), background-color .3s var(--ease), color .3s var(--ease); }
.svc:hover .svc__icon { background: var(--amber-soft); color: #2a1606; }
.svc__head h3 { font-family: var(--font-display); font-weight: 600; font-size: 19.5px; letter-spacing: -.01em; }
.svc__teaser { margin-top: 14px; color: var(--ink-soft); font-size: 15.5px; }
.svc__teaser em { font-style: italic; color: var(--teal-deep); }
.svc__detail { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease), opacity .35s var(--ease), margin .35s; opacity: 0; }
.svc.is-open .svc__detail { max-height: 900px; opacity: 1; margin-top: 18px; }
@media (max-width: 560px) { .svc.is-open .svc__detail { max-height: 1400px; } }
.svc__detail ul { display: grid; gap: 10px; }
.svc__detail li { position: relative; padding-left: 26px; font-size: 15px; color: var(--ink-soft); }
.svc__detail li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--teal); font-weight: 700; }
.svc__tag { display: inline-block; margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--amber-deep); background: var(--amber-tint); padding: 7px 14px; border-radius: 999px; }
.svc::after {
  content: "+"; position: absolute; right: 24px; top: 22px;
  font-family: var(--font-body); font-size: 26px; font-weight: 300; line-height: 1; color: var(--amber-deep);
  transition: color .25s var(--ease);
}
.svc:hover::after { color: var(--amber); }
.svc.is-open::after { content: "\2212"; color: var(--teal-deep); }

/* Mid CTA — light editorial band with a contained illustration plate */
.midcta {
  margin-top: 56px; display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(24px, 3vw, 44px); align-items: center;
  border-radius: var(--r-xl); background: radial-gradient(140% 140% at 0% 0%, var(--amber-soft), var(--amber) 72%); border: none; color: #2a1606;
  padding: clamp(22px, 2.6vw, 36px); box-shadow: var(--shadow-lg);
}
.midcta .btn--accent { --bg: var(--ink); --fg: #fff; box-shadow: 0 8px 22px rgba(16,34,41,.3); }
.midcta .btn--accent:hover { --bg: var(--teal-deep); }
.midcta__img { width: 100%; height: 100%; min-height: 240px; max-height: 320px; object-fit: cover; border-radius: var(--r-lg); }
.midcta__body { align-self: center; }
.midcta__body h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.12; color: var(--ink); position: relative; padding-top: 22px; }
.midcta__body h3::before { content: ""; position: absolute; left: 0; top: 0; width: 34px; height: 2px; background: linear-gradient(90deg, var(--amber), var(--amber-soft) 70%, transparent); }
.midcta__body p { margin: 16px 0 26px; color: var(--ink-soft); font-size: 16.5px; }

/* =====================================================================
   PROCESS / TIMELINE
   ===================================================================== */
.timeline { margin-top: 56px; }
.timeline__track { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-bottom: 36px; }
.timeline__bar { position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 19px; height: 3px; background: var(--line); border-radius: 3px; z-index: 0; }
.timeline__fill { height: 100%; width: 0%; background: var(--teal-deep); border-radius: 3px; transition: width .5s var(--ease); }
.tstep { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 0; }
.tstep__dot {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 15px;
  background: var(--card); border: 3px solid var(--line); color: var(--muted); transition: all .3s var(--ease);
}
.tstep__name { font-size: 13.5px; font-weight: 600; color: var(--muted); text-align: center; transition: color .3s; }
.tstep:hover .tstep__dot { border-color: var(--teal); color: var(--teal-deep); }
.tstep.is-active .tstep__dot { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; box-shadow: 0 0 0 4px var(--cream), 0 0 0 5px var(--teal-deep); }
.tstep.is-active .tstep__name { color: var(--ink); }
.tstep.is-done .tstep__dot { background: var(--teal); border-color: var(--teal); color: #fff; }
.timeline__panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-md); display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start;
  min-height: 224px;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.timeline__panel.is-swapping { opacity: 0; transform: translateY(8px); }
.tp__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(54px, 7vw, 84px); color: var(--amber-soft); line-height: .9; }
.tp__dur { display: inline-block; margin-bottom: 12px; font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--teal-deep); background: var(--teal-soft); padding: 6px 14px; border-radius: 999px; }
.tp__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; letter-spacing: -.01em; }
.tp__desc { color: var(--ink-soft); font-size: 16.5px; max-width: 62ch; }

/* =====================================================================
   PRICING
   ===================================================================== */
.pricegrid { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; align-items: start; }
.price {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 30px;
  box-shadow: var(--shadow-sm); position: relative; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column;
}
.price:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.price--featured { border: 2px solid var(--amber); box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.price--featured:hover { transform: translateY(-12px); }
.price__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--amber); color: #2a1606; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.price__name { font-family: var(--font-display); font-weight: 600; font-size: 26px; color: var(--teal-deep); }
.price__for { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.price__amount { font-family: var(--font-display); font-weight: 600; font-size: 40px; color: var(--ink); margin: 20px 0 4px; letter-spacing: -.02em; }
.price__amount span { font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price__list { display: grid; gap: 11px; margin: 22px 0; flex: 1; }
.price__list li { position: relative; padding-left: 28px; font-size: 15px; color: var(--ink-soft); }
.price__list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; font-size: 12px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-deep); border-radius: 50%; font-weight: 700; }
.price__note { font-size: 13.5px; color: var(--muted); font-style: italic; margin-bottom: 20px; }

/* Add-ons */
.addons { margin-top: 44px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-sm); }
.addons h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; margin-bottom: 20px; }
.addons__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.addon { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-sm); }
.addon strong { font-size: 16px; color: var(--ink); }
.addon span { font-size: 15px; color: var(--teal-deep); font-weight: 600; }
.addon em { display: block; font-style: normal; font-size: 13px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.addons__lead { color: var(--ink-soft); font-size: 15px; margin: -6px 0 18px; max-width: 72ch; }

/* founding-client banner */
.founding { margin-top: 36px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; background: transparent; border: none; border-left: 2px solid var(--amber); border-radius: 0; padding: 14px 0 14px 22px; }
.founding__tag { background: none; color: var(--amber-deep); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; padding: 0; border-radius: 0; white-space: nowrap; }
.founding p { font-size: 15px; color: var(--ink-soft); flex: 1; min-width: 240px; }
.founding strong { color: var(--ink); }
.founding a { color: var(--amber-deep); font-weight: 700; white-space: nowrap; }
.founding a:hover { text-decoration: underline; }

/* Snapshot entry on-ramp */
.priceentry { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--teal); border-radius: var(--r-lg); padding: 24px 28px; box-shadow: var(--shadow-sm); }
.priceentry__main { flex: 1; min-width: 260px; }
.priceentry__main h3 { font-family: var(--font-display); font-weight: 600; font-size: 24px; color: var(--teal-deep); }
.priceentry__main p { color: var(--ink-soft); font-size: 15px; margin-top: 6px; max-width: 58ch; }
.priceentry__side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.priceentry__price { font-family: var(--font-display); font-weight: 600; font-size: 32px; color: var(--ink); letter-spacing: -.02em; }
.priceentry__price span { font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--muted); }
.priceentry__note { font-size: 13px; color: var(--muted); font-style: italic; }
@media (max-width: 560px) { .priceentry__side { align-items: flex-start; text-align: left; } }

/* Estimator */
.estimator { margin-top: 44px; background: linear-gradient(155deg, var(--navy), var(--navy-2)); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 48px); color: #eaf2f1; box-shadow: var(--shadow-lg); }
.estimator__head h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 3vw, 32px); color: #fff; }
.estimator__head p { color: #a9bdbc; margin-top: 6px; }
.estimator__grid { margin-top: 30px; display: grid; grid-template-columns: 1.2fr .9fr; gap: 36px; align-items: stretch; }
.estimator__controls { display: grid; gap: 24px; }
.estimator .field__label { color: #d4e2e1; font-size: 14.5px; font-weight: 600; margin-bottom: 10px; display: block; }
.seg { display: inline-flex; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 4px; gap: 2px; flex-wrap: wrap; }
.seg__btn { padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #b9cbca; transition: all .2s var(--ease); }
.seg__btn:hover { color: #fff; }
.seg__btn.is-active { background: var(--amber); color: #2a1606; }
.slider { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: rgba(255,255,255,.18); outline: none; margin: 6px 0; }
.slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--amber); cursor: pointer; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.3); transition: transform .15s; }
.slider::-webkit-slider-thumb:hover { transform: scale(1.12); }
.slider::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--amber); cursor: pointer; border: 3px solid #fff; }
.slider__labels { display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: 12px; font-size: 12px; color: #8fa6a5; margin-top: 6px; }
.slider__labels span:first-child { text-align: left; }
.slider__labels span:nth-child(2) { text-align: center; white-space: nowrap; color: var(--amber-soft); font-weight: 600; }
.slider__labels span:last-child { text-align: right; }
.estimator__result { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.estimator__result-label { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #a9bdbc; }
.estimator__figure { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 3.4vw, 38px); color: #ffd699; margin: 10px 0; letter-spacing: -.01em; }
.estimator__rec { color: #eaf2f1; font-size: 16px; }
.estimator__rec strong { color: #fff; }
.estimator__fine { font-size: 12.5px; color: #8fa6a5; margin: 14px 0 20px; line-height: 1.4; }

/* =====================================================================
   QUIZ
   ===================================================================== */
.quiz { margin-top: 44px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 52px); box-shadow: var(--shadow-md); min-height: 360px; }
.quiz__start { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 24px 0; }
.quiz__domains { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.quiz__domains span { font-size: 14.5px; font-weight: 600; color: var(--teal-deep); background: var(--teal-soft); padding: 10px 18px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; }
.quiz__domains svg { flex: none; }
.quiz__progress { height: 8px; background: var(--cream-2); border-radius: 999px; overflow: hidden; margin-bottom: 22px; }
.quiz__progress-fill { height: 100%; width: 0%; background: var(--teal-deep); border-radius: 999px; transition: width .4s var(--ease); }
.quiz__meta { font-size: 13.5px; font-weight: 600; letter-spacing: .04em; color: var(--teal-deep); text-transform: uppercase; }
.quiz__q { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 3vw, 30px); line-height: 1.2; margin: 12px 0 28px; letter-spacing: -.01em; }
.quiz__opts { display: grid; gap: 12px; }
.qopt {
  display: flex; align-items: center; gap: 14px; text-align: left; width: 100%;
  padding: 18px 22px; border: 2px solid var(--line); border-radius: var(--r); background: var(--cream);
  font-size: 16px; font-weight: 500; color: var(--ink); transition: all .2s var(--ease);
}
.qopt:hover { border-color: var(--teal); transform: translateX(4px); }
.qopt__key { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--card); border: 1px solid var(--line); font-weight: 700; font-size: 14px; color: var(--teal-deep); }
.qopt:hover .qopt__key { background: var(--teal-deep); color: #fff; border-color: var(--teal-deep); }
.quiz__back { margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--muted); }
.quiz__back:hover { color: var(--ink); }

.quiz__result { text-align: center; }
.quiz__result-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-deep); }
.gauge { position: relative; width: 240px; margin: 12px auto 6px; }
.gauge svg { width: 100%; height: auto; }
#gaugeArc { transition: stroke-dasharray 1.2s var(--ease); }
.gauge__num { position: absolute; left: 0; right: 0; bottom: 6px; font-family: var(--font-display); font-weight: 600; font-size: 46px; color: var(--ink); }
.quiz__verdict { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 3vw, 32px); margin-top: 6px; }
.quiz__verdict-sub { color: var(--ink-soft); font-size: 16.5px; max-width: 52ch; margin: 12px auto 0; }
.quiz__bars { margin: 30px auto; max-width: 520px; display: grid; gap: 16px; text-align: left; }
.qbar__top { display: flex; justify-content: space-between; font-size: 14.5px; font-weight: 600; margin-bottom: 7px; }
.qbar__top span:last-child { color: var(--teal-deep); }
.qbar__track { height: 10px; background: var(--cream-2); border-radius: 999px; overflow: hidden; }
.qbar__fill { height: 100%; width: 0; border-radius: 999px; background: var(--teal); transition: width 1s var(--ease); }
.quiz__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 10px; }

/* =====================================================================
   ABOUT
   ===================================================================== */
.about { display: grid; grid-template-columns: 360px 1fr; gap: clamp(32px, 5vw, 70px); align-items: start; margin-top: 40px; }
.about__body > p:first-of-type { margin-top: 0; }
.about__body p { max-width: 58ch; }
.about__media { position: relative; }
.about__photo {
  aspect-ratio: 4/5; border-radius: var(--r-xl); background: linear-gradient(155deg, var(--teal-deep), #0e3a37);
  display: grid; place-items: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.about__photo::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 300px at 70% 10%, rgba(231,169,81,.4), transparent 60%); }
.about__photo span { font-family: var(--font-display); font-weight: 600; font-size: 130px; color: rgba(255,255,255,.92); position: relative; }
.about__card { position: absolute; bottom: -26px; left: 24px; right: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 22px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 2px; }
.about__card strong { font-family: var(--font-display); font-size: 20px; }
.about__card span { font-size: 13.5px; color: var(--muted); }
.about__card .about__loc { color: var(--teal-deep); font-weight: 600; margin-top: 4px; display: inline-flex; align-items: center; gap: 7px; }
.about__body p { margin-top: 18px; color: var(--ink-soft); font-size: 17px; }
.about__points { margin-top: 26px; display: grid; gap: 14px; }
.about__points li { position: relative; padding-left: 30px; font-size: 16px; color: var(--ink-soft); }
.about__points li::before { content: "◆"; position: absolute; left: 4px; top: 1px; color: var(--amber); font-size: 12px; }
.about__points strong { color: var(--ink); }
.about__ctas { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq { margin-top: 44px; display: grid; gap: 14px; }
.faq__item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 4px 26px; box-shadow: var(--shadow-sm); transition: border-color .25s, box-shadow .25s; }
.faq__item[open] { border-color: var(--teal); box-shadow: var(--shadow-md); }
.faq__item summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--ink); position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 9px; height: 9px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-65%) rotate(45deg); transition: transform .3s var(--ease), border-color .3s; }
.faq__item[open] summary::after { transform: translateY(-25%) rotate(225deg); border-color: var(--teal-deep); }
.faq__item p { animation: faqIn .35s var(--ease-enter); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .faq__item p { animation: none; } }
.faq__item p { color: var(--ink-soft); font-size: 16px; padding: 0 0 22px; max-width: 70ch; }

/* =====================================================================
   CONTACT
   ===================================================================== */
.section--contact { background: linear-gradient(160deg, var(--navy) 0%, #0c1d23 100%); color: #eaf2f1; overflow: hidden; position: relative; }
.section--contact::before { content: ""; position: absolute; top: -24%; right: -8%; width: 46vmax; height: 46vmax; background: radial-gradient(circle, rgba(31,138,125,.2), transparent 66%); pointer-events: none; }
.section--contact::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(231,169,81,.5), transparent); pointer-events: none; }
.contact { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 70px); align-items: start; }
.contact__lead { margin-top: 20px; color: #c2d3d2; font-size: 18px; max-width: 46ch; }
.contact__points { margin-top: 28px; display: grid; gap: 12px; }
.contact__points li { font-size: 16px; color: #d8e5e4; display: flex; align-items: center; gap: 10px; }
.contact__points li svg { color: var(--amber-soft); flex: none; }
.contact__direct { margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); display: grid; gap: 10px; }
.contact__direct a { font-size: 19px; font-weight: 600; color: var(--amber-soft); display: inline-flex; align-items: center; gap: 9px; }
.contact__direct a:hover { color: #fff; }
.contact__direct span { font-size: 14.5px; color: #a9bdbc; display: inline-flex; align-items: center; gap: 9px; }
.contact__direct svg { flex: none; }

.contact__form { background: #0c1f25; border: 1px solid rgba(255,255,255,.1); border-left: 3px solid var(--amber-soft); border-radius: var(--r-xl); padding: clamp(26px, 3.5vw, 40px); box-shadow: var(--shadow-lg); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field__label { display: block; font-size: 14px; font-weight: 600; color: #d4e2e1; margin-bottom: 8px; }
.contact__form input, .contact__form select, .contact__form textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06); color: #fff; font-size: 15.5px; transition: border-color .2s, background .2s, box-shadow .2s;
}
.contact__form input::placeholder, .contact__form textarea::placeholder { color: #7e9594; }
.contact__form input:focus, .contact__form select:focus, .contact__form textarea:focus { border-color: var(--amber); background: rgba(255,255,255,.1); outline: none; box-shadow: 0 0 0 3px color-mix(in oklab, var(--amber-soft) 32%, transparent); }
.contact__form input:user-invalid, .contact__form select:user-invalid, .contact__form textarea:user-invalid { border-color: var(--bad); box-shadow: 0 0 0 3px color-mix(in oklab, var(--bad) 28%, transparent); }
.contact__form select option { color: #16262d; }
.contact__form textarea { resize: vertical; }
.form__note { font-size: 13px; color: #94a9a8; margin-top: 14px; text-align: center; }
.form__note.is-success { color: var(--amber-soft); font-weight: 600; }

/* =====================================================================
   FOOTER + to-top
   ===================================================================== */
.footer { background: #0a181d; color: #9fb3b2; padding-block: 56px 40px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: start; }
.footer__brand { display: flex; flex-direction: column; gap: 10px; }
.footer__lock { display: inline-flex; align-items: center; gap: 12px; }
.footer__logo { width: 34px; height: 34px; flex: none; color: var(--amber-soft); }
.footer__brand strong { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: #fff; }
.footer__beam { width: 40px; height: 2px; background: linear-gradient(90deg, var(--amber), var(--amber-soft) 70%, transparent); border-radius: 2px; }
.footer__brand span { font-size: 14.5px; max-width: 42ch; }
.footer__nav { display: flex; flex-direction: column; gap: 14px; align-items: flex-end; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: flex-end; }
.footer__links a { font-size: 14.5px; color: #bcccca; transition: color .2s; }
.footer__links a:hover { color: var(--amber-soft); }
.footer__legal-links { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: flex-end; }
.footer__legal-links a { font-size: 13px; color: #6f8584; transition: color .2s; }
.footer__legal-links a:hover { color: var(--amber-soft); }
.footer__legal { grid-column: 1 / -1; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12.5px; line-height: 1.6; color: #6f8584; max-width: 100ch; }
@media (max-width: 940px) { .footer__nav { align-items: flex-start; } .footer__links, .footer__legal-links { justify-content: flex-start; } }

.totop { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 20px; box-shadow: var(--shadow-md); opacity: 0; transform: translateY(16px) scale(.8); pointer-events: none; transition: all .35s var(--ease); }
.totop.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { background: var(--teal-deep); transform: translateY(-3px); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 940px) {
  /* backdrop-filter on the scrolled nav was creating a containing block that trapped the
     fixed menu into a tiny corner box — drop it on mobile so the menu fills the viewport */
  .nav.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }
  .nav__links {
    position: fixed; inset: 0; width: 100%; height: 100dvh; flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 2px; padding: 88px 26px 32px; background: var(--cream); box-shadow: none;
    transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto; z-index: 100;
  }
  .nav__links.is-open { transform: none; }
  .nav__link { padding: 17px 14px; font-size: 19px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__link::after { display: none; }
  .nav__links .btn { margin-top: 18px; width: 100%; }
  .nav__toggle { display: flex; z-index: 101; position: relative; }
  .mapblock { grid-template-columns: 1fr; }
  .midcta { grid-template-columns: 1fr; }
  .midcta__img { min-height: 220px; max-height: 280px; }
  .estimator__grid { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 340px; margin: 0 auto 30px; }
  .contact { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__links { justify-content: flex-start; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .hero__cred { gap: 4px 18px; }
  .timeline__track { grid-template-columns: repeat(3, 1fr); gap: 12px 8px; }
  .timeline__bar { display: none; }
  .timeline__panel { grid-template-columns: 1fr; gap: 10px; }
  .form__row { grid-template-columns: 1fr; }
  .tstep__name { font-size: 12px; }
}
@media (max-width: 420px) {
  .seg { width: 100%; justify-content: space-between; }
}

/* ---------- Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---- legal pages (privacy / terms / disclosures) ---- */
.legal-page{ padding:128px 0 84px; background:#faf7f0; color:#16262d; }
.legal-wrap{ max-width:760px; }
.legal-back{ display:inline-block; margin-bottom:22px; color:#115e57; font-weight:600; font-size:14px; }
.legal-back:hover{ color:#ad641a; }
.legal__title{ font-family:"Fraunces",Georgia,serif; font-weight:600; font-size:clamp(32px,5vw,46px); letter-spacing:-.02em; color:#115e57; margin:0 0 6px; line-height:1.1; }
.legal__meta{ color:#62737a; font-size:14px; margin:0 0 26px; }
.legal-page h2{ font-family:"Fraunces",Georgia,serif; font-weight:600; font-size:23px; color:#16262d; margin:34px 0 10px; }
.legal-page p{ font-size:16px; line-height:1.7; color:#3a4f57; margin:0 0 14px; }
.legal-page ul{ margin:0 0 16px; padding-left:0; list-style:none; }
.legal-page li{ position:relative; padding-left:24px; font-size:16px; line-height:1.7; color:#3a4f57; margin-bottom:8px; }
.legal-page li::before{ content:""; position:absolute; left:4px; top:12px; width:7px; height:7px; border-radius:50%; background:#e7a951; }
.legal-page strong{ color:#16262d; font-weight:600; }
.legal-page a{ color:#115e57; font-weight:600; }
.legal-page a:hover{ color:#ad641a; }
.legal__crosslinks{ margin-top:36px; padding-top:18px; border-top:1px solid #e7dfce; font-size:14px; color:#62737a; }

/* ===== mobile alignment pass (phones) ===== */
@media (max-width: 760px) {
  /* condensed mobile nav -> shorter anchor offset */
  html { scroll-padding-top: 64px; }
  /* About: the floating name-card was overlapping the bio — flow it under the photo */
  .about__media { max-width: 360px; margin: 0 auto 16px; }
  .about__card { position: static; left: auto; right: auto; bottom: auto; margin: 14px auto 0; max-width: 360px; }
  .about__body p { font-size: 16px; }
  /* Quiz ("3-minute questionnaire"): give it room, kill the tall min-height */
  .quiz { padding: 24px 18px; margin-top: 26px; min-height: 0; }
  .quiz__domains { gap: 9px; }
  .quiz__domains span { font-size: 13px; padding: 8px 13px; }
  /* full-width, stacked CTAs = bigger tap targets, no smashing */
  .hero__ctas, .about__ctas, .quiz__actions { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn, .about__ctas .btn, .quiz__actions .btn { width: 100%; }
  /* tighter vertical rhythm so there's less endless scrolling */
  .section { padding-block: clamp(46px, 11vw, 82px); }
}
@media (max-width: 420px) {
  .quiz__q { font-size: 20px; margin: 10px 0 20px; }
}

/* prevent any horizontal overflow / left-shift on mobile (clip is sticky-safe) */
html, body { overflow-x: clip; }

/* nav legibility over the dark hero (only before scroll AND when the mobile menu is closed) */
.nav:not(.is-scrolled):not(.menu-open) .nav__brandtext { color: #f4f1ea; }
.nav:not(.is-scrolled):not(.menu-open) .nav__brandtext em { color: rgba(244,241,234,.72); }
.nav:not(.is-scrolled):not(.menu-open) .nav__logo { color: var(--amber-soft); }
.nav:not(.is-scrolled):not(.menu-open) .nav__link { color: rgba(244,241,234,.92); }
.nav:not(.is-scrolled):not(.menu-open) .nav__link:hover { color: #fff; }
.nav:not(.is-scrolled):not(.menu-open) .nav__toggle span { background: #f4f1ea; }

/* =====================================================================
   EDITORIAL POLISH PASS
   ===================================================================== */
/* one crisp squared register for informational tags (full-radius reserved for buttons) */
.svc__tag, .tp__dur, .price__badge, .founding__tag,
.mapblock__panel .sp__tag, .quiz__domains span { border-radius: 4px; }

/* client-portal nav affordance — visually distinct from in-page links */
.nav__link--portal { margin-left: 10px; padding-left: 20px; color: var(--teal-deep); font-weight: 600; }
.nav__link--portal::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 18px; background: var(--line-2); }
.nav__link--portal::after { left: 20px; }
.nav:not(.is-scrolled):not(.menu-open) .nav__link--portal { color: var(--amber-soft); }
.nav:not(.is-scrolled):not(.menu-open) .nav__link--portal::before { background: rgba(244,241,234,.3); }

/* mobile drawer: lock page scroll while the menu is open */
.nav-locked { overflow: hidden; }
.nav__links { overscroll-behavior: contain; }

/* GSAP immersion layer */
#smooth-content { will-change: transform; }

/* =====================================================================
   LOUD — pinned, scroll-scrubbed manifesto (bold color-block beats)
   ===================================================================== */
/* default = safe stacked statements (works with no JS / no GSAP / reduce-motion) */
.loud { position: relative; }
.loud__sticky { position: relative; overflow: hidden; }
.loud__panel {
  position: relative; min-height: 78svh; display: grid; place-items: center; text-align: center;
  padding: clamp(24px, 6vw, 90px); overflow: hidden; will-change: transform, opacity;
}
/* active = pinned scroll-scrubbed mode — DESKTOP ONLY (mobile stays stacked & legible) */
@media (min-width: 768px) {
  .gsap-on .loud { height: 320vh; }
  .gsap-on .loud__sticky { height: 100svh; }
  .gsap-on .loud__panel { position: absolute; inset: 0; min-height: 0; }
}
/* mobile: each beat is its own full-bleed screen, scrolled through normally */
@media (max-width: 767px) {
  .loud__panel { min-height: 86svh; }
  .loud__idx { font-size: min(48vh, 64vw); }
}
.loud__panel--1 { background: linear-gradient(165deg, #0e2329, #0c1f25); color: #fff; z-index: 1; }
.loud__panel--2 { background: radial-gradient(120% 120% at 50% 0%, var(--amber-soft), var(--amber) 60%, var(--amber-deep)); color: #2a1606; z-index: 2; }
.loud__panel--3 { background: var(--cream); color: var(--ink); z-index: 3; }
.loud__idx {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--font-display); font-weight: 700; font-size: min(62vh, 78vw); line-height: 1;
  opacity: .07; pointer-events: none; user-select: none; font-variant-numeric: tabular-nums; letter-spacing: -.04em;
}
.loud__panel--2 .loud__idx { opacity: .12; }
.loud__h {
  position: relative; z-index: 2; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(38px, 8.5vw, 150px); line-height: .94; letter-spacing: -.03em; max-width: 15ch;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
}
.loud__h em { font-style: italic; font-weight: 500; }
.loud__panel--1 .loud__h em { color: var(--amber-soft); }
.loud__panel--3 .loud__h em { color: var(--amber-deep); }
.loud__kicker { display: block; font-family: var(--font-body); font-weight: 700; font-size: 13px; letter-spacing: .28em; text-transform: uppercase; margin-bottom: clamp(16px, 2.4vw, 30px); opacity: .7; }
/* magnetic buttons: let GSAP own transform; CSS keeps the rest of the transitions */
.btn.is-magnetic { transition: box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s; }
@media (max-width: 940px) {
  .nav__link--portal { margin-left: 0; padding-left: 14px; }
  .nav__link--portal::before { display: none; }
}
