/* ==========================================================================
   Kelleher Brouillette Associates — site styles
   Palette: harbor navy + brass, warm paper neutrals
   ========================================================================== */

:root {
  --ink: #0a1420;
  --navy: #0f2133;
  --navy-2: #15304a;
  --harbor: #1f4466;
  --brass: #c9a15b;
  --brass-2: #e4c68b;
  --brass-deep: #9c7633;
  --ember: #d9784f;
  --sage: #7fa392;

  --paper: #fbf8f2;
  --cream: #f3ece0;
  --sand: #e8dfcf;
  --line: rgba(15, 33, 51, 0.12);
  --line-light: rgba(255, 255, 255, 0.12);

  --text: #16202d;
  --muted: #586274;
  --text-inv: #eef2f6;
  --muted-inv: #a9b6c6;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(10, 20, 32, 0.06), 0 2px 8px rgba(10, 20, 32, 0.05);
  --shadow: 0 2px 4px rgba(10, 20, 32, 0.04), 0 12px 32px -8px rgba(10, 20, 32, 0.16);
  --shadow-lg: 0 30px 80px -20px rgba(5, 12, 22, 0.45);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -0.015em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--brass-2); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--brass); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brass-deep);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.dark .eyebrow, .eyebrow.light { color: var(--brass-2); }

.display { font-size: clamp(2.6rem, 6.4vw, 5.1rem); line-height: 1.02; letter-spacing: -0.025em; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 62ch; }
.dark .lead { color: var(--muted-inv); }
em.accent, .accent { font-style: italic; color: var(--brass-deep); font-weight: 400; }
.dark em.accent, .dark .accent { color: var(--brass-2); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--brass); --fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 15.5px; letter-spacing: 0.005em; line-height: 1;
  cursor: pointer; white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(201, 161, 91, .7); }
.btn:hover::after { transform: translateX(120%); }
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-ghost { --bg: transparent; --fg: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--text); box-shadow: none; }
.dark .btn-ghost { --fg: var(--text-inv); border-color: rgba(255,255,255,.25); }
.dark .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-dark { --bg: var(--navy); --fg: #fff; }
.btn-dark:hover { box-shadow: 0 12px 28px -10px rgba(15, 33, 51, .6); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); }
.text-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }
.text-link span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.text-link:hover span { background-size: 100% 1px; }
.dark .text-link { color: var(--brass-2); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; transition: height .35s var(--ease); }
.site-header.scrolled {
  background: rgba(10, 20, 32, 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.site-header.scrolled .wrap { height: 66px; }

.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.brand-sub { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-2); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  position: relative; padding: 10px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: rgba(255,255,255,.82);
  transition: color .2s, background .2s;
}
.nav a:not(.btn):hover { color: #fff; background: rgba(255,255,255,.07); }
.nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--brass); transform: translateX(-50%);
}
.nav .btn { margin-left: 10px; padding: 12px 20px; font-size: 14.5px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.04); cursor: pointer; position: relative;
}
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 22.5px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: stretch; justify-content: center; gap: 4px;
    padding: 96px 28px 40px;
    background:
      radial-gradient(600px 400px at 100% 0%, rgba(201,161,91,.18), transparent 60%),
      radial-gradient(500px 500px at 0% 100%, rgba(31,68,102,.6), transparent 60%),
      var(--ink);
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav a:not(.btn) {
    font-family: var(--serif); font-size: clamp(28px, 8vw, 40px); padding: 10px 0; border-radius: 0;
    color: #fff; border-bottom: 1px solid rgba(255,255,255,.08);
    opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .2s;
  }
  .nav a:not(.btn):hover { background: none; color: var(--brass-2); }
  .nav a[aria-current="page"] { color: var(--brass-2); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn { margin: 28px 0 0; padding: 18px; font-size: 16px; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .nav-open .nav a { opacity: 1; transform: none; }
  .nav-open .nav a:nth-child(1) { transition-delay: .05s; }
  .nav-open .nav a:nth-child(2) { transition-delay: .1s; }
  .nav-open .nav a:nth-child(3) { transition-delay: .15s; }
  .nav-open .nav a:nth-child(4) { transition-delay: .2s; }
  .nav-open .nav a:nth-child(5) { transition-delay: .25s; }
  .nav-open .nav a:nth-child(6) { transition-delay: .3s; }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: transparent; box-shadow: none; }
  .brand { position: relative; z-index: 2; }
}

/* ---------- Dark sections & backgrounds ---------- */
.dark { background: var(--ink); color: var(--text-inv); position: relative; isolation: isolate; overflow: hidden; }
.dark .muted { color: var(--muted-inv); }

.bg-aurora { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.bg-aurora .blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.bg-aurora .b1 { width: 620px; height: 620px; left: -160px; top: -200px; background: radial-gradient(circle, #1f4466 0%, transparent 70%); animation: drift1 22s ease-in-out infinite alternate; }
.bg-aurora .b2 { width: 520px; height: 520px; right: -140px; top: 10%; background: radial-gradient(circle, rgba(201,161,91,.55) 0%, transparent 70%); animation: drift2 26s ease-in-out infinite alternate; }
.bg-aurora .b3 { width: 480px; height: 480px; left: 35%; bottom: -260px; background: radial-gradient(circle, rgba(217,120,79,.35) 0%, transparent 70%); animation: drift3 30s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(120px, 80px) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-100px, 120px) scale(.92); } }
@keyframes drift3 { to { transform: translate(-140px, -60px) scale(1.12); } }

.bg-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 85%);
}
.bg-grain::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.bg-dots {
  background-image: radial-gradient(rgba(15,33,51,.13) 1px, transparent 1.2px);
  background-size: 22px 22px;
}

/* ---------- Hero ---------- */
.hero { padding: 168px 0 110px; min-height: min(100svh, 980px); display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.hero h1 { margin: 22px 0 26px; }
.hero .lead { margin-bottom: 38px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 46px; padding-top: 28px; border-top: 1px solid var(--line-light); }
.hero-meta div { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--muted-inv); }
.hero-meta svg { width: 18px; height: 18px; color: var(--brass-2); flex: none; }

/* Hero composition — sample report collage */
.hero-art { position: relative; height: 540px; }
.hero-art .hcard {
  position: absolute; background: rgba(255,255,255,.97); color: var(--text); border-radius: 18px; box-shadow: var(--shadow-lg);
  padding: 20px 22px;
}
.hero-art .glass {
  background: linear-gradient(160deg, rgba(36,66,96,.92), rgba(16,34,54,.94));
  border: 1px solid rgba(255,255,255,.14); color: #fff;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.float-a { animation: floatY 7s ease-in-out infinite; }
.float-b { animation: floatY 8s ease-in-out -2s infinite; }
.float-c { animation: floatY 9s ease-in-out -4s infinite; }
@keyframes floatY { 50% { transform: translateY(-12px); } }

.report { top: 64px; left: 0; width: 74%; padding: 26px 26px 22px !important; }
.report-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.report-tag { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-deep); }
.report-dots { display: flex; gap: 5px; }
.report-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--sand); }
.report h3 { font-size: 22px; margin-bottom: 4px; }
.report .sub { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.phase-row { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; }
.phase-num { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #fff; }
.phase-num.pn1 { background: var(--sage); }
.phase-num.pn2 { background: var(--brass); }
.phase-num.pn3 { background: var(--harbor); }
.phase-row > div > strong { display: block; font-weight: 600; font-size: 14px; line-height: 1.3; }
.phase-row > div > span { font-size: 12.5px; color: var(--muted); line-height: 1.3; display: block; }
.pill { font-size: 11.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--cream); color: var(--brass-deep); white-space: nowrap; }

.rating { right: 0; top: 0; width: 200px; z-index: 2; }
.rating .k { font-size: 12px; color: rgba(255,255,255,.7); letter-spacing: .04em; }
.rating .v { font-family: var(--serif); font-size: 40px; line-height: 1; margin: 6px 0 8px; display: flex; align-items: baseline; gap: 8px; }
.rating .v small { font-family: var(--sans); font-size: 13px; color: #9fe0bf; font-weight: 600; }
.stars { display: flex; gap: 3px; color: var(--brass-2); }
.stars svg { width: 15px; height: 15px; }

.chart-card { right: 0; bottom: 24px; width: 250px; z-index: 2; }
.chart-card .k { font-size: 12px; font-weight: 600; color: var(--muted); display: flex; justify-content: space-between; }
.chart-card .k b { color: #2f8a5f; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 92px; margin-top: 16px; }
.bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--harbor), var(--navy)); transform-origin: bottom; animation: grow 1.4s var(--ease) both; }
.bars i:nth-child(1) { height: 34%; animation-delay: .5s; }
.bars i:nth-child(2) { height: 46%; animation-delay: .6s; }
.bars i:nth-child(3) { height: 41%; animation-delay: .7s; }
.bars i:nth-child(4) { height: 62%; animation-delay: .8s; }
.bars i:nth-child(5) { height: 74%; animation-delay: .9s; }
.bars i:nth-child(6) { height: 92%; animation-delay: 1s; background: linear-gradient(180deg, var(--brass-2), var(--brass)); }
@keyframes grow { from { transform: scaleY(0); } }

.pin-card { left: 4%; bottom: 40px; width: 230px; z-index: 2; display: flex; gap: 14px; align-items: center; }
.pin-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brass); color: var(--ink); display: grid; place-items: center; flex: none; }
.pin-icon svg { width: 22px; height: 22px; }
.pin-card strong { display: block; font-size: 14px; }
.pin-card span { font-size: 12.5px; color: rgba(255,255,255,.7); }

.art-ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(201,161,91,.35); pointer-events: none; }
.art-ring.r1 { width: 460px; height: 460px; left: 50%; top: 50%; transform: translate(-50%, -50%); animation: spin 80s linear infinite; }
.art-ring.r2 { width: 320px; height: 320px; left: 50%; top: 50%; transform: translate(-50%, -50%); border-style: solid; border-color: rgba(255,255,255,.07); }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.sample-note { position: absolute; left: 4%; bottom: -10px; font-size: 11.5px; color: rgba(255,255,255,.45); letter-spacing: .04em; }

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-art { height: 500px; max-width: 560px; width: 100%; margin: 0 auto; }
}
@media (max-width: 560px) {
  .hero { padding: 130px 0 72px; min-height: 0; }
  .hero-art { height: 530px; }
  .report { left: 0; width: 88%; top: 64px; padding: 20px 18px 16px !important; }
  .report h3 { font-size: 19px; }
  .phase-row { grid-template-columns: 28px 1fr; }
  .phase-row .pill { display: none; }
  .rating { width: 170px; padding: 14px 16px; top: -6px; }
  .rating .v { font-size: 32px; }
  .chart-card { width: 200px; bottom: 0; right: 0; padding: 16px 18px; }
  .bars { height: 64px; }
  .pin-card { display: none; }
  .art-ring.r1 { width: 340px; height: 340px; }
  .art-ring.r2 { width: 240px; height: 240px; }
  .hero-meta { gap: 14px 22px; }
  .sample-note { bottom: -28px; left: 0; }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding: 180px 0 110px; }
.page-hero h1 { margin: 20px 0 22px; max-width: 18ch; }
@media (min-width: 861px) { .page-hero .wrap > * { max-width: min(760px, 62vw); } }
.page-hero .lead { max-width: 60ch; }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--muted-inv); margin-bottom: 8px; }
.crumbs a:hover { color: #fff; }
.crumbs svg { width: 14px; height: 14px; opacity: .6; }
.page-hero .hero-emblem {
  position: absolute; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); top: 50%; transform: translateY(-38%);
  width: clamp(220px, 28vw, 360px); opacity: .9; z-index: -1; pointer-events: none;
}
@media (max-width: 860px) {
  .page-hero { padding: 140px 0 80px; }
  .page-hero .hero-emblem { opacity: .18; right: -60px; top: 40%; }
}
.wave-edge { position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; color: var(--paper); z-index: 1; pointer-events: none; }
.wave-edge svg { width: 100%; height: 100%; }

/* ---------- Marquee ---------- */
.marquee { background: var(--navy); color: var(--brass-2); padding: 20px 0; overflow: hidden; border-top: 1px solid rgba(255,255,255,.06); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--serif); font-size: clamp(18px, 2.2vw, 24px); font-style: italic; white-space: nowrap; }
.marquee-track span::after { content: "✦"; font-style: normal; font-size: 13px; color: var(--brass); opacity: .8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(84px, 11vw, 140px) 0; position: relative; }
.section.tight { padding: clamp(64px, 8vw, 100px) 0; }
.section.cream { background: var(--cream); }
.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 70px); }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.section-head h2 { margin: 16px 0 18px; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(44px, 6vw, 70px); }
.split-head .section-head { margin-bottom: 0; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .g-4 { grid-template-columns: repeat(2, 1fr); } .g-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px; box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.card.lift:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(201,161,91,.5); }
.card h3 { font-size: 1.38rem; margin: 22px 0 10px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card .num { position: absolute; top: 26px; right: 28px; font-family: var(--serif); font-size: 15px; color: var(--brass-deep); opacity: .7; }

.icon {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--navy-2), var(--ink)); color: var(--brass-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 8px 18px -8px rgba(10,20,32,.5);
}
.icon svg { width: 25px; height: 25px; }
.icon.light { background: linear-gradient(145deg, #fff, var(--cream)); color: var(--brass-deep); border: 1px solid var(--line); box-shadow: none; }

/* Pillar cards (offer overview) */
.pillar { display: flex; flex-direction: column; padding: 34px 30px 30px; overflow: hidden; }
.pillar::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--brass), var(--ember)); transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease);
}
.pillar:hover::before { transform: scaleX(1); }
.pillar ul { margin: 18px 0 26px; display: grid; gap: 9px; }
.pillar li { display: flex; gap: 10px; font-size: 15px; color: var(--text); line-height: 1.45; }
.pillar li svg { width: 17px; height: 17px; color: var(--brass-deep); flex: none; margin-top: 2px; }
.pillar .text-link { margin-top: auto; }
.pillar-tag { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-deep); margin-top: 22px; }
.pillar h3 { margin-top: 6px; }

/* Signs / fit list */
.signs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1000px) { .signs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .signs { grid-template-columns: 1fr; } }
.sign {
  display: flex; gap: 18px; padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,.04);
  border: 1px solid var(--line-light); transition: background .3s, border-color .3s, transform .45s var(--ease);
}
.sign:hover { background: rgba(255,255,255,.07); border-color: rgba(201,161,91,.4); transform: translateY(-4px); }
.sign .icon { width: 46px; height: 46px; border-radius: 13px; flex: none; background: rgba(201,161,91,.12); box-shadow: none; }
.sign .icon svg { width: 22px; height: 22px; }
.sign h3 { font-family: var(--sans); font-size: 16.5px; font-weight: 600; letter-spacing: 0; margin-bottom: 6px; color: #fff; }
.sign p { font-size: 14.5px; color: var(--muted-inv); line-height: 1.55; }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

/* ---------- Timeline (weeks) ---------- */
.timeline { position: relative; margin-top: 10px; }
.tl-labels { display: grid; grid-template-columns: 1fr 5fr 1fr 5fr 1.3fr; gap: 6px; margin-bottom: 14px; }
.tl-labels span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tl-bar { display: grid; grid-template-columns: repeat(12, 1fr) 1.3fr; gap: 6px; }
.tl-week {
  height: 64px; border-radius: 10px; display: grid; place-items: center;
  font-family: var(--serif); font-size: 22px; color: #fff; position: relative;
  transform-origin: left; transition: transform .7s var(--ease), opacity .7s;
}
.tl-week.w0 { background: #6e7fa8; }
.tl-week.wa { background: linear-gradient(180deg, #2a5680, var(--harbor)); }
.tl-week.w6 { background: linear-gradient(180deg, var(--brass-2), var(--brass)); color: var(--ink); }
.tl-week.wd { background: linear-gradient(180deg, #2d3d52, #1e2b3c); }
.tl-week.wm { background: repeating-linear-gradient(-45deg, var(--sage), var(--sage) 8px, #74988a 8px, #74988a 16px); }
.tl-legend { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.tl-legend div { padding: 20px 20px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.tl-legend i { display: block; width: 26px; height: 6px; border-radius: 3px; margin-bottom: 14px; }
.tl-legend strong { display: block; font-size: 15px; margin-bottom: 4px; }
.tl-legend span { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: 6px; }
.tl-legend p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.tl-caption { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.reveal .tl-week { transform: scaleX(.2); opacity: 0; }
.reveal.in .tl-week { transform: none; opacity: 1; }
@media (max-width: 900px) {
  .tl-labels { display: none; }
  .tl-bar { grid-template-columns: repeat(7, 1fr); }
  .tl-week { height: 52px; font-size: 18px; }
  .tl-legend { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .tl-bar { grid-template-columns: repeat(5, 1fr); gap: 5px; }
  .tl-week { height: 46px; font-size: 16px; border-radius: 8px; }
  .tl-legend { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- Phase cards ---------- */
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: ph; }
.phase {
  position: relative; border-radius: var(--radius); padding: 34px 30px 32px; overflow: hidden; color: #fff;
  min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .45s var(--ease);
}
.phase:hover { transform: translateY(-6px); }
.phase::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.phase { isolation: isolate; }
.phase.p1::before { background: radial-gradient(400px 260px at 100% 0%, rgba(255,255,255,.2), transparent 60%), linear-gradient(160deg, #8db3a1, #557d6b); }
.phase.p2::before { background: radial-gradient(400px 260px at 100% 0%, rgba(255,255,255,.25), transparent 60%), linear-gradient(160deg, #d8b475, #a37b38); }
.phase.p3::before { background: radial-gradient(400px 260px at 100% 0%, rgba(255,255,255,.15), transparent 60%), linear-gradient(160deg, #2b5a84, #142c45); }
.phase .big { position: absolute; top: 6px; right: 22px; font-family: var(--serif); font-size: 140px; line-height: 1; opacity: .18; font-weight: 400; }
.phase .tag { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .85; margin-bottom: 10px; }
.phase h3 { font-size: 1.6rem; margin-bottom: 10px; }
.phase p { font-size: 15px; opacity: .9; }
@media (max-width: 900px) { .phases { grid-template-columns: 1fr; } .phase { min-height: 210px; } }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: 1fr; gap: 28px; max-width: 1040px; margin: 0 auto; }
.member { background: #fff; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: grid; grid-template-columns: 360px 1fr; transition: box-shadow .45s var(--ease), transform .45s var(--ease); }
.member:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.member-photo { position: relative; overflow: hidden; background: var(--navy); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: saturate(.92) contrast(1.03); transition: transform 1s var(--ease); }
.member:hover .member-photo img { transform: scale(1.04); }
.member-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,20,32,.55)); }
.member-body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.member:nth-child(even) { grid-template-columns: 1fr 360px; }
.member:nth-child(even) .member-photo { order: 2; }
.member-role { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-deep); }
.member h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin: 8px 0 14px; }
.member p { font-size: 15.5px; color: var(--muted); }
.member-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.member-tags span { font-size: 12.5px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--cream); color: var(--navy); }
.member-mail { margin-top: 4px; display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--navy); word-break: break-all; }
.member-mail svg { width: 18px; height: 18px; color: var(--brass-deep); flex: none; }
.member-mail:hover { color: var(--brass-deep); }
@media (max-width: 860px) { .member, .member:nth-child(even) { grid-template-columns: 260px 1fr; } .member:nth-child(even) .member-photo { order: 0; } }
@media (max-width: 640px) {
  .member, .member:nth-child(even) { grid-template-columns: 1fr; }
  .member-photo { aspect-ratio: 1 / 1; }
  .member-body { padding: 24px 22px 24px; }
}

/* Team preview (home) */
.duo { display: flex; gap: 18px; }
.duo figure { margin: 0; flex: 1; position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow); }

.duo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.duo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(180deg, transparent, rgba(10,20,32,.85)); color: #fff; }
.duo figcaption strong { display: block; font-family: var(--serif); font-size: 19px; font-weight: 500; }
.duo figcaption span { font-size: 12.5px; color: var(--brass-2); }

/* ---------- Quote / story ---------- */
.story-quote { position: relative; padding: clamp(36px, 5vw, 64px); border-radius: 28px; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.story-quote::before { content: "“"; position: absolute; top: 4px; right: 36px; font-family: var(--serif); font-size: 220px; line-height: 1; color: var(--brass); opacity: .28; z-index: -1; }
.story-quote::after { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(500px 300px at 100% 0%, rgba(201,161,91,.16), transparent 60%), radial-gradient(500px 400px at 0% 100%, rgba(31,68,102,.55), transparent 60%); }
.story-quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.45; font-weight: 400; }
.story-quote footer { margin-top: 28px; display: flex; align-items: center; gap: 14px; }
.story-quote .avatars { display: flex; }
.story-quote .avatars img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: center 15%; border: 2px solid var(--navy); }
.story-quote .avatars img + img { margin-left: -12px; }
.story-quote footer strong { display: block; font-size: 15px; }
.story-quote footer span { font-size: 13.5px; color: var(--muted-inv); }

/* ---------- Values list ---------- */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.value { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 30px 28px 30px 0; border-bottom: 1px solid var(--line); }
.value:nth-child(odd) { border-right: 1px solid var(--line); }
.value:nth-child(even) { padding-left: 32px; padding-right: 0; }
.value .n { font-family: var(--serif); font-size: 15px; color: var(--brass-deep); padding-top: 4px; }
.value h3 { font-size: 1.3rem; margin-bottom: 8px; }
.value p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 800px) {
  .values { grid-template-columns: 1fr; }
  .value, .value:nth-child(even) { padding: 26px 0; border-right: 0 !important; grid-template-columns: 44px 1fr; }
}

/* ---------- Steps (how it works) ---------- */
.steps { position: relative; display: grid; gap: 18px; }
.steps::before { content: ""; position: absolute; left: 31px; top: 30px; bottom: 30px; width: 1px; background: linear-gradient(var(--brass), rgba(201,161,91,.15)); }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 26px; align-items: start; }
.step-dot {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--paper); border: 1px solid var(--brass); font-family: var(--serif); font-size: 20px; color: var(--brass-deep);
  transition: background .35s, color .35s;
}
.step:hover .step-dot { background: var(--brass); color: var(--ink); }
.step-body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow-sm); }
.step-when { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-deep); }
.step-body h3 { font-size: 1.35rem; margin: 6px 0 8px; }
.step-body p { color: var(--muted); font-size: 15.5px; }
.step-free { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: #e3efe8; color: #2f6b4d; vertical-align: middle; }
@media (max-width: 600px) {
  .steps::before { left: 21px; }
  .step { grid-template-columns: 44px 1fr; gap: 14px; }
  .step-dot { width: 44px; height: 44px; font-size: 16px; }
  .step-body { padding: 20px 20px; }
}

/* ---------- Service detail blocks ---------- */
.service { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 5vw, 72px); padding: clamp(40px, 5vw, 56px) 0; border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service-head { position: sticky; top: 100px; align-self: start; }
.service-head .num { font-family: var(--serif); font-size: 15px; color: var(--brass-deep); display: block; margin: 20px 0 6px; }
.service-head h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 12px; }
.service-head p { color: var(--muted); font-size: 15.5px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; align-content: start; }
.checks li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.5; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.checks li svg { width: 20px; height: 20px; flex: none; color: var(--brass-deep); margin-top: 1px; }
.checks li b { font-weight: 600; }
@media (max-width: 900px) {
  .service { grid-template-columns: 1fr; }
  .service-head { position: static; }
  .checks { grid-template-columns: 1fr; }
}

/* Tabs-ish anchor chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.88); transition: background .25s, border-color .25s, color .25s; }
.chips a:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }

/* Pricing principles */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.principle { padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid var(--line-light); }
.principle .icon { margin-bottom: 18px; background: rgba(201,161,91,.12); box-shadow: none; }
.principle h3 { font-size: 1.25rem; margin-bottom: 8px; }
.principle p { font-size: 15px; color: var(--muted-inv); }
@media (max-width: 900px) { .principles { grid-template-columns: 1fr; } }

/* Callout */
.callout { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; border-radius: 16px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--brass); }
.callout svg { width: 22px; height: 22px; color: var(--brass-deep); flex: none; margin-top: 2px; }
.callout p { font-size: 15.5px; color: var(--muted); }
.callout strong { color: var(--text); }

/* Report anatomy */
.anatomy { display: grid; gap: 14px; }
.anatomy li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 22px 24px; background: #fff; border-radius: 16px; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.anatomy li:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.anatomy .icon { width: 48px; height: 48px; border-radius: 13px; }
.anatomy .icon svg { width: 22px; height: 22px; }
.anatomy h3 { font-family: var(--sans); font-size: 16.5px; font-weight: 600; letter-spacing: 0; margin-bottom: 4px; }
.anatomy p { font-size: 15px; color: var(--muted); }

/* Document mock (report illustration) */
.doc-stack { position: relative; aspect-ratio: 1 / 1.05; max-width: 480px; margin: 0 auto; width: 100%; }
.doc { position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 28px; border: 1px solid var(--line); }
.doc.back { inset: 8% 0 0 14%; transform: rotate(5deg); background: var(--sand); }
.doc.mid { inset: 4% 7% 4% 7%; transform: rotate(-3deg); background: var(--cream); }
.doc.front { inset: 0 14% 8% 0; display: flex; flex-direction: column; gap: 12px; }
.doc .d-tag { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-deep); }
.doc .d-title { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 26px); line-height: 1.15; }
.doc .d-line { height: 8px; border-radius: 4px; background: var(--sand); }
.doc .d-line.s { width: 60%; }
.doc .d-line.m { width: 82%; }
.doc .d-rows { display: grid; gap: 8px; margin-top: 6px; }
.doc .d-row { display: grid; grid-template-columns: 22px 1fr 52px; gap: 10px; align-items: center; }
.doc .d-row i { width: 22px; height: 22px; border-radius: 6px; }
.doc .d-row b { height: 7px; border-radius: 4px; background: var(--sand); }
.doc .d-row em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--muted); text-align: right; }
.doc .d-chart { margin-top: auto; display: flex; align-items: flex-end; gap: 6px; height: 70px; }
.doc .d-chart span { flex: 1; border-radius: 4px 4px 2px 2px; background: var(--harbor); opacity: .85; }
.doc .d-chart span:last-child { background: var(--brass); opacity: 1; }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(80px, 10vw, 130px) 0; text-align: center; }
.cta-band h2 { max-width: 18ch; margin: 18px auto 20px; }
.cta-band .lead { margin: 0 auto 36px; }
.cta-band .btn-row { justify-content: center; }
.cta-band .eyebrow { justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-cards { display: grid; gap: 16px; margin-top: 32px; }
.contact-card { display: flex; align-items: center; gap: 18px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease); }
.contact-card:hover { border-color: var(--brass); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.contact-card img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: center 15%; flex: none; }
.contact-card strong { display: block; font-size: 16px; }
.contact-card span { display: block; font-size: 14.5px; color: var(--muted); word-break: break-all; }
.contact-card .go { margin-left: auto; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--navy); flex: none; transition: background .3s, color .3s; }
.contact-card:hover .go { background: var(--brass); color: var(--ink); }
.contact-card .go svg { width: 16px; height: 16px; }

.form-card { background: #fff; border-radius: 26px; padding: clamp(26px, 4vw, 44px); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; }
.form-card h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 8px; }
.form-intro p { color: var(--muted); margin-bottom: 28px; font-size: 15.5px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(15,33,51,.18); background: var(--paper);
  font-size: 16px; line-height: 1.4; transition: border-color .2s, box-shadow .2s, background .2s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23586274' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brass); background: #fff; box-shadow: 0 0 0 4px rgba(201,161,91,.18); }
.check-group { display: flex; flex-wrap: wrap; gap: 10px; }
.check-group label { margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(15,33,51,.18); font-size: 14px; font-weight: 500; cursor: pointer; transition: all .2s; background: var(--paper); }
.check-group input { position: absolute; opacity: 0; pointer-events: none; }
.check-group label:has(input:checked) { background: var(--navy); color: #fff; border-color: var(--navy); }
.check-group label:has(input:focus-visible) { outline: 2px solid var(--brass); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; }
.form-foot small { color: var(--muted); font-size: 13px; max-width: 34ch; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-size: 14.5px; display: none; }
.form-status.ok { display: block; background: #e6f2eb; color: #22553b; }
.form-status.err { display: block; background: #fbeae4; color: #8a3a1d; }
.form-status a { text-decoration: underline; font-weight: 600; }
.btn[disabled] { opacity: .65; pointer-events: none; }
.hp { position: absolute; left: -9999px; }

.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success .icon { margin: 0 auto 22px; width: 68px; height: 68px; border-radius: 50%; background: linear-gradient(145deg, var(--brass-2), var(--brass)); color: var(--ink); }
.form-success h2 { margin-bottom: 10px; }
.form-success p { color: var(--muted); max-width: 40ch; margin: 0 auto; }
.form-card.sent form { display: none; }
.form-card.sent .form-intro { display: none; }
.form-card.sent .form-success { display: block; animation: fadeUp .7s var(--ease); }

.next-steps { display: grid; gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.next-steps li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.next-steps .n { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--brass-2); font-family: var(--serif); font-size: 14px; display: grid; place-items: center; }
.next-steps strong { display: block; font-size: 15.5px; }
.next-steps p { font-size: 14.5px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-inv); position: relative; overflow: hidden; isolation: isolate; }
.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding: 64px 0 56px; border-bottom: 1px solid var(--line-light); }
.site-footer .accent { color: var(--brass-2); }
.footer-cta h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.7rem); max-width: 20ch; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 48px; padding: 56px 0 48px; }
.footer-main p { font-size: 15px; max-width: 36ch; margin-top: 18px; }
.footer-main h4 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-2); margin-bottom: 18px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { font-size: 15px; color: var(--muted-inv); transition: color .2s; width: fit-content; }
.footer-links a:hover { color: #fff; }
.footer-mail { display: grid; gap: 14px; }
.footer-mail a { display: flex; flex-direction: column; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-light); transition: border-color .25s, background .25s; }
.footer-mail a:hover { border-color: rgba(201,161,91,.6); background: rgba(255,255,255,.03); }
.footer-mail strong { color: #fff; font-size: 14.5px; font-weight: 600; }
.footer-mail span { font-size: 14px; word-break: break-all; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 24px 0 30px; border-top: 1px solid var(--line-light); font-size: 13.5px; }
.footer-bottom .loc { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom svg { width: 15px; height: 15px; color: var(--brass); }
.footer-word { position: absolute; left: 50%; bottom: -0.28em; transform: translateX(-50%); z-index: -1; font-family: var(--serif); font-size: clamp(120px, 24vw, 360px); line-height: 1; color: rgba(255,255,255,.025); white-space: nowrap; pointer-events: none; letter-spacing: -0.04em; }
@media (max-width: 860px) { .footer-main { grid-template-columns: 1fr 1fr; } .footer-main > :first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-main { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 34px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 4vw, 3.1rem); line-height: 1; color: var(--navy); letter-spacing: -0.02em; }
.stat b sup { font-size: .45em; color: var(--brass-deep); vertical-align: top; margin-left: 2px; }
.stat span { display: block; margin-top: 10px; font-size: 14.5px; color: var(--muted); }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 420px) { .stat { padding: 26px 16px; } }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
.hero .reveal { transition-duration: 1.1s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }
.no-js .reveal { opacity: 1; transform: none; }

@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; }
}

/* ---------- Misc ---------- */
.phase-num svg { width: 16px; height: 16px; }
@media (min-width: 901px) { .sticky-col { position: sticky; top: 110px; } }
.doc svg { width: 20px; height: 20px; flex: none; }
.member-photo { min-height: 100%; }
