/* ============================================================
   VANGUARD CLAIMS — bright design system
   Cool clean light + logo steel-blue/navy accents.
   Fonts: Outfit (sans) + JetBrains Mono (labels).
   ============================================================ */

:root {
  --bg: #f4f7fb;            /* cool light page */
  --surface: #ffffff;      /* cards / nav */
  --surface-2: #e9f0f8;    /* alt sections / hover */
  --surface-3: #dce7f3;    /* deepest light fill */
  --ink: #0e1a2b;          /* primary text (logo navy) */
  --ink-soft: #33425a;     /* body prose */
  --muted: #566679;        /* secondary text (AA on --bg) */
  --accent: #2f6db0;       /* steel blue (logo) — icons, links, labels */
  --accent-deep: #163a5f;  /* deep navy — primary button fill */
  --accent-bright: #5b8fc0;/* logo highlight */
  --accent-wash: rgba(47,109,176,0.08);
  --border: rgba(22,58,95,0.12);
  --border-strong: rgba(22,58,95,0.22);
  --star: #d4972a;         /* review stars only */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(14,26,43,0.04), 0 2px 10px rgba(14,26,43,0.05);
  --shadow-md: 0 4px 14px rgba(14,26,43,0.07), 0 14px 38px rgba(14,26,43,0.09);
  --shadow-lg: 0 24px 60px rgba(14,26,43,0.16);
  --maxw: 1180px;
}

*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior:smooth; } }

body {
  background:var(--bg); color:var(--ink);
  font-family:'Outfit',sans-serif; line-height:1.6;
  overflow-x:hidden; -webkit-font-smoothing:antialiased;
}
img { max-width:100%; display:block; }
a { color:inherit; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline:2px solid var(--accent); outline-offset:3px; border-radius:6px;
}

/* Cursor glow — very subtle on light */
#glow {
  position:fixed; width:520px; height:520px; border-radius:50%;
  pointer-events:none; z-index:0;
  background:radial-gradient(circle, rgba(47,109,176,0.06) 0%, transparent 70%);
  transform:translate(-260px,-260px);
}

/* ─── TYPOGRAPHY HELPERS ─────────────────────────────────────── */
.eyebrow {
  font-family:'JetBrains Mono',monospace; font-size:13px; font-weight:700;
  letter-spacing:2.5px; text-transform:uppercase; color:var(--accent);
  display:inline-block; margin-bottom:16px;
}
.section-title {
  font-size:clamp(40px,5vw,72px); font-weight:800; line-height:1.06;
  color:var(--ink); letter-spacing:-1.2px;
}
.section-body {
  font-size:21px; color:var(--muted); line-height:1.65; max-width:600px;
}
.section-head { max-width:720px; margin-bottom:56px; }

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display:inline-flex; align-items:center; gap:10px;
  padding:17px 32px; border-radius:var(--radius-sm);
  font-weight:700; font-size:17.5px; text-decoration:none; cursor:pointer;
  border:1px solid transparent; transition:all .35s cubic-bezier(.16,1,.3,1);
  white-space:nowrap;
}
.btn svg { width:20px; height:20px; }
.btn-primary { background:var(--accent-deep); color:#fff; box-shadow:var(--shadow-sm); }
.btn-primary:hover { background:var(--accent); transform:translateY(-2px); box-shadow:var(--shadow-md); }
.btn-ghost { background:var(--surface); color:var(--ink); border-color:var(--border-strong); }
.btn-ghost:hover { border-color:var(--accent); color:var(--accent); transform:translateY(-2px); }
.btn-light { background:rgba(255,255,255,0.14); color:#fff; border-color:rgba(255,255,255,0.4); backdrop-filter:blur(6px); }
.btn-light:hover { background:rgba(255,255,255,0.24); transform:translateY(-2px); }

/* ─── NAVBAR ─────────────────────────────────────────────────── */
#navbar {
  position:fixed; top:0; left:0; right:0; z-index:100;
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 40px;
  border-bottom:1px solid var(--border);
  transition:padding .4s cubic-bezier(.16,1,.3,1), box-shadow .4s;
}
/* Glass lives on a pseudo-element, not #navbar itself: backdrop-filter on the
   bar would create a containing block that traps the fixed mobile menu panel
   (it would size to the bar, not the viewport). Keeping it on ::before lets
   .nav-links resolve top/right/bottom against the viewport. */
#navbar::before {
  content:""; position:absolute; inset:0; z-index:-1;
  background:rgba(255,255,255,0.82);
  backdrop-filter:blur(16px) saturate(1.4); -webkit-backdrop-filter:blur(16px) saturate(1.4);
  transition:background .4s;
}
#navbar.scrolled { padding:10px 40px; box-shadow:var(--shadow-sm); }
#navbar.scrolled::before { background:rgba(255,255,255,0.94); }
.nav-logo { display:flex; align-items:center; gap:13px; text-decoration:none; }
.nav-logo img { height:56px; width:auto; }
.nav-logo .nav-logo-text {
  font-weight:800; font-size:23px; color:var(--ink); letter-spacing:-0.3px; line-height:1;
}
.nav-logo .nav-logo-text small {
  display:block; font-family:'JetBrains Mono',monospace; font-weight:500;
  font-size:11px; letter-spacing:2.5px; color:var(--muted); margin-top:3px;
}
.nav-links { display:flex; align-items:center; gap:28px; }
.nav-links a {
  color:var(--ink-soft); font-size:16px; font-weight:500; text-decoration:none;
  transition:color .25s; position:relative;
}
.nav-links a:not(.nav-cta):hover { color:var(--accent); }
.nav-links a.active:not(.nav-cta) { color:var(--accent); font-weight:600; }
.nav-cta {
  background:var(--accent-deep); color:#fff !important; padding:12px 22px;
  border-radius:10px; font-weight:600 !important; font-size:15px !important;
  display:inline-flex; align-items:center; gap:8px;
  transition:all .35s cubic-bezier(.16,1,.3,1) !important;
}
.nav-cta svg { width:14px; height:14px; }
.nav-cta:hover { background:var(--accent); transform:translateY(-1px); }
.nav-actions { display:flex; align-items:center; gap:12px; }
/* position+z-index keep the toggle (and its close X) clickable above the
   slide-in panel, which is z-index:99 inside #navbar's stacking context. */
.nav-toggle { display:none; position:relative; z-index:101; background:none; border:none; color:var(--ink); cursor:pointer; padding:6px; }
.nav-toggle svg { width:24px; height:24px; }
/* Menu/close icon swap: show the X (and hide the hamburger) while the menu is open. */
.nav-toggle .lucide-x { display:none; }
body.nav-open .nav-toggle .lucide-menu { display:none; }
body.nav-open .nav-toggle .lucide-x { display:block; }
/* Dimmed scrim behind the slide-in panel; tap to close. Mobile-only (see media query). */
.nav-scrim {
  position:fixed; inset:0; z-index:98; border:none; padding:0; margin:0;
  background:rgba(14,26,43,0.42); opacity:0; pointer-events:none;
  transition:opacity .3s ease; display:none;
}

/* ─── HERO (home) ────────────────────────────────────────────── */
.hero { height:360vh; position:relative; }
.hero-sticky { position:sticky; top:0; height:100vh; overflow:hidden; background:var(--surface-2); }
.hero-bright {
  position:absolute; inset:0; z-index:1;
  background:url('../assets/hero-banner.jpg') center/cover no-repeat;
}
.hero-bright::after {
  content:''; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(244,247,251,0) 55%, rgba(244,247,251,0.55) 100%);
}
#heroCanvas { position:absolute; top:0; left:0; display:block; z-index:2; }
.hero-fallback {
  display:none; position:absolute; inset:0; z-index:2;
  background:url('../assets/hero-banner.jpg') center/cover no-repeat;
}
.hero-fallback::after {
  content:''; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(255,255,255,0.30) 0%, rgba(255,255,255,0.12) 45%, rgba(255,255,255,0.30) 100%);
}
html.static-hero .hero { height:100vh; }
html.static-hero #heroCanvas, html.static-hero #loader, html.static-hero .hero-bright { display:none; }
html.static-hero .hero-fallback { display:block; }
.hero-content {
  position:absolute; inset:0; z-index:3;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding:0 24px;
}
.hero-eyebrow {
  font-family:'JetBrains Mono',monospace; font-size:14px; font-weight:700;
  letter-spacing:3px; text-transform:uppercase; color:var(--accent-deep);
  background:rgba(255,255,255,0.82); padding:7px 18px; display:inline-block;
  backdrop-filter:blur(4px); margin-bottom:22px; border-radius:7px;
  border:1px solid rgba(22,58,95,0.14); box-shadow:0 4px 18px rgba(14,26,43,0.12);
}
.hero h1 {
  font-size:clamp(54px,8vw,116px); font-weight:900; line-height:1.02;
  color:var(--ink); letter-spacing:-2px; margin-bottom:18px;
  text-shadow:0 2px 26px rgba(255,255,255,0.95),0 1px 3px rgba(255,255,255,0.9),0 8px 40px rgba(255,255,255,0.6);
}
.hero h1 span { color:var(--accent); }
.hero-sub {
  font-size:clamp(19px,2.4vw,26px); color:var(--ink); font-weight:500; max-width:680px;
  margin:0 auto 30px; line-height:1.5;
  background:rgba(255,255,255,0.80); padding:10px 22px; display:inline-block;
  backdrop-filter:blur(5px); border-radius:12px; border:1px solid rgba(22,58,95,0.10);
  box-shadow:0 6px 24px rgba(14,26,43,0.10);
}
.hero-actions { display:flex; gap:16px; flex-wrap:wrap; justify-content:center; }
.hero-scroll-hint {
  position:absolute; bottom:30px; left:50%; transform:translateX(-50%); z-index:3;
  font-family:'JetBrains Mono',monospace; font-size:12px; letter-spacing:2px;
  color:var(--ink-soft); text-transform:uppercase;
  background:rgba(255,255,255,0.7); padding:5px 14px; border-radius:20px; backdrop-filter:blur(4px);
  display:flex; align-items:center; gap:8px;
}

/* Loader */
#loader {
  position:absolute; inset:0; z-index:10; background:var(--surface-2);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:16px;
  transition:opacity .6s;
}
.loader-spinner {
  width:34px; height:34px; border:2px solid var(--border-strong);
  border-top-color:var(--accent); border-radius:50%; animation:spin .8s linear infinite;
}
@keyframes spin { to { transform:rotate(360deg); } }
.loader-text {
  font-family:'JetBrains Mono',monospace; font-size:12px;
  letter-spacing:2px; text-transform:uppercase; color:var(--muted);
}

/* ─── KINETIC MARQUEE ────────────────────────────────────────── */
.marquee-section {
  background:var(--accent-deep); overflow:hidden;
  height:50px; position:relative; z-index:5;
}
.marquee-track { display:flex; align-items:center; height:50px; white-space:nowrap; }
.marquee-content { display:inline-flex; align-items:center; }
.marquee-item {
  font-family:'JetBrains Mono',monospace; font-size:11px; font-weight:700;
  letter-spacing:3px; text-transform:uppercase; color:#bcd4ec;
  padding:0 30px; border-right:1px solid rgba(255,255,255,0.12);
  height:50px; display:inline-flex; align-items:center;
}

/* ─── SECTIONS ───────────────────────────────────────────────── */
.section { padding:96px 40px; }
.wrap { max-width:var(--maxw); margin:0 auto; }
.section.alt { background:var(--surface-2); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }

/* ─── WHY CHOOSE US ──────────────────────────────────────────── */
.why-grid { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.why-list { display:flex; flex-direction:column; gap:14px; margin-top:36px; }
.why-item {
  display:flex; gap:16px; align-items:flex-start;
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-sm);
  padding:18px 20px; box-shadow:var(--shadow-sm);
}
html.js .why-item { opacity:0; transform:translateY(20px); }
.why-icon {
  width:42px; height:42px; background:var(--accent-wash);
  border-radius:10px; display:flex; align-items:center; justify-content:center;
  flex-shrink:0; color:var(--accent);
}
.why-icon svg { width:20px; height:20px; }
.why-text strong { display:block; font-size:15.5px; font-weight:700; color:var(--ink); margin-bottom:3px; }
.why-text span { font-size:14px; color:var(--muted); }
.why-image { border-radius:var(--radius); overflow:hidden; position:relative; aspect-ratio:4/3; box-shadow:var(--shadow-md); }
.why-image img { width:100%; height:100%; object-fit:cover; }
.why-image-badge {
  position:absolute; bottom:18px; left:18px;
  background:rgba(255,255,255,0.94); backdrop-filter:blur(8px);
  border:1px solid var(--border); border-radius:12px; padding:12px 18px; box-shadow:var(--shadow-sm);
}
.why-image-badge .big { font-size:28px; font-weight:900; color:var(--accent-deep); line-height:1; }
.why-image-badge .small { font-size:10.5px; color:var(--muted); font-family:'JetBrains Mono',monospace; letter-spacing:1px; text-transform:uppercase; margin-top:2px; }

/* ─── STATS / ODOMETER ───────────────────────────────────────── */
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:32px; margin-top:52px; }
.stat-item {
  text-align:center; background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius); padding:30px 18px; box-shadow:var(--shadow-sm);
}
.odometer-wrap { display:flex; align-items:center; justify-content:center; gap:1px; height:88px; overflow:hidden; margin-bottom:12px; }
.od-digit {
  font-size:clamp(54px,6vw,82px); font-weight:900; font-family:'JetBrains Mono',monospace;
  color:var(--accent-deep); line-height:1; display:inline-block; height:88px; overflow:hidden; position:relative;
}
.od-digit-inner { display:flex; flex-direction:column; transition:transform 1.2s cubic-bezier(.16,1,.3,1); }
.od-digit-inner span { display:block; height:88px; line-height:88px; text-align:center; width:52px; }
.od-suffix { font-size:42px; font-weight:900; font-family:'JetBrains Mono',monospace; color:var(--accent); line-height:1; align-self:flex-end; margin-bottom:10px; }
.stat-label { font-size:15px; color:var(--ink); font-weight:700; font-family:'JetBrains Mono',monospace; letter-spacing:1.5px; text-transform:uppercase; }
.stat-desc { font-size:16px; color:var(--muted); margin-top:6px; }

/* ─── SERVICES / CARD GRID ───────────────────────────────────── */
.card-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:22px; }
.card-grid.cols-2 { grid-template-columns:repeat(auto-fit,minmax(320px,1fr)); }
.spot-card {
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  padding:30px; position:relative; overflow:hidden; box-shadow:var(--shadow-sm);
  transition:transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s, border-color .35s;
  display:flex; flex-direction:column;
}
html.js .spot-card { opacity:0; transform:translateY(24px); }
.spot-card::before {
  content:''; position:absolute; inset:0; pointer-events:none; opacity:0; transition:opacity .3s;
  background:radial-gradient(circle 220px at var(--mx,50%) var(--my,50%), rgba(47,109,176,0.08), transparent);
}
.spot-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:var(--border-strong); }
.spot-card:hover::before { opacity:1; }
.spot-card-icon {
  width:50px; height:50px; background:var(--accent-wash); border-radius:13px;
  display:flex; align-items:center; justify-content:center; margin-bottom:20px; color:var(--accent);
  transition:transform .35s, background .35s;
}
.spot-card-icon svg { width:24px; height:24px; }
.spot-card:hover .spot-card-icon { background:var(--accent); color:#fff; transform:scale(1.06); }
.spot-card h3 { font-size:24px; font-weight:700; color:var(--ink); margin-bottom:11px; }
.spot-card p { font-size:16.5px; color:var(--muted); line-height:1.6; margin-bottom:20px; flex:1; }
.spot-card-link {
  font-size:15.5px; color:var(--accent); font-weight:700; text-decoration:none;
  display:inline-flex; align-items:center; gap:6px; transition:gap .3s;
}
.spot-card-link svg { width:15px; height:15px; }
.spot-card:hover .spot-card-link { gap:11px; }
.spot-card-media { margin:-30px -30px 22px; aspect-ratio:16/10; overflow:hidden; }
.spot-card-media img { width:100%; height:100%; object-fit:cover; transition:transform .5s; }
.spot-card:hover .spot-card-media img { transform:scale(1.05); }

/* ─── HOW IT WORKS ───────────────────────────────────────────── */
.hw-layout { display:grid; grid-template-columns:1fr 1fr; gap:72px; align-items:start; }
.hw-sticky { position:sticky; top:110px; }
.hw-mockup {
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  padding:22px; box-shadow:var(--shadow-md);
}
.hw-mockup-header { display:flex; align-items:center; gap:9px; margin-bottom:18px; padding-bottom:14px; border-bottom:1px solid var(--border); }
.hw-mockup-header img { height:22px; width:auto; }
.hw-mockup-header span { font-size:13px; font-weight:600; color:var(--ink); }
.hw-mockup-img { height:190px; border-radius:12px; background:var(--surface-2); overflow:hidden; position:relative; margin-bottom:16px; }
.hw-mockup-img img { width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity .5s; }
.hw-mockup-img img.visible { opacity:1; }
.hw-mockup-line { height:9px; border-radius:6px; background:var(--surface-2); margin-bottom:10px; transition:background .6s, width .6s cubic-bezier(.16,1,.3,1); }
.hw-mockup-line.active { background:var(--accent-bright); }
.hw-steps { display:flex; flex-direction:column; }
.hw-step { padding:28px 0; border-bottom:1px solid var(--border); opacity:.45; transition:opacity .4s; }
.hw-step.active { opacity:1; }
.hw-steps.plain .hw-step { opacity:1; }
.hw-step:last-child { border-bottom:none; }
.hw-step-num { font-family:'JetBrains Mono',monospace; font-size:13px; font-weight:700; letter-spacing:2px; color:var(--accent); margin-bottom:10px; text-transform:uppercase; }
.hw-step h3 { font-size:26px; font-weight:700; color:var(--ink); margin-bottom:9px; }
.hw-step p { font-size:18px; color:var(--muted); line-height:1.6; }

/* ─── TESTIMONIALS ───────────────────────────────────────────── */
.testimonials-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:20px; margin-top:52px; }
.testi-card {
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  padding:28px; display:flex; flex-direction:column; gap:16px; box-shadow:var(--shadow-sm);
  transition:transform .35s, box-shadow .35s;
}
html.js .testi-card { opacity:0; transform:translateY(28px); }
.testi-card:hover { transform:translateY(-3px); box-shadow:var(--shadow-md); }
.testi-stars { display:flex; gap:3px; }
.testi-star { width:19px; height:19px; color:var(--star); }
.testi-quote { font-size:18px; color:var(--ink-soft); line-height:1.6; flex:1; }
.testi-name { font-weight:700; font-size:17px; color:var(--ink); }
.testi-role { font-size:13.5px; color:var(--muted); font-family:'JetBrains Mono',monospace; }
.reviews-source { text-align:center; margin-top:26px; font-size:13.5px; color:var(--muted); }
.reviews-source a { color:var(--accent); font-weight:600; text-decoration:none; }
.reviews-source a:hover { text-decoration:underline; }

/* ─── REVIEWS CAROUSEL ───────────────────────────────────────── */
.reviews-carousel { display:flex; flex-wrap:wrap; align-items:center; gap:14px; margin-top:52px; }
.rc-viewport {
  flex:1 1 0; min-width:0; overflow-x:auto; overflow-y:hidden;
  scroll-snap-type:x mandatory; scroll-behavior:smooth;
  -ms-overflow-style:none; scrollbar-width:none; padding:8px 4px 16px;
}
.rc-viewport::-webkit-scrollbar { display:none; }
.rc-track { display:flex; gap:20px; list-style:none; margin:0; padding:0; }
.rc-slide { flex:0 0 calc((100% - 40px) / 3); scroll-snap-align:start; display:flex; }
.rc-slide .testi-card { width:100%; }
/* carousel cards are always visible — not gated on the scroll-reveal that hides off-screen slides */
html.js .rc-slide .testi-card { opacity:1; transform:none; }
.rc-slide .testi-card:hover { transform:translateY(-3px); box-shadow:var(--shadow-md); }
.rc-arrow {
  flex:0 0 auto; width:48px; height:48px; border-radius:50%;
  display:grid; place-items:center; cursor:pointer;
  background:var(--surface); border:1px solid var(--border); color:var(--accent);
  box-shadow:var(--shadow-sm); transition:transform .2s, box-shadow .2s, background .2s, color .2s;
}
.rc-arrow svg { width:22px; height:22px; }
.rc-arrow:hover { background:var(--accent); color:#fff; transform:translateY(-2px); box-shadow:var(--shadow-md); }
.rc-arrow:focus-visible { outline:3px solid var(--accent); outline-offset:2px; }
.rc-arrow:disabled { opacity:.35; cursor:default; transform:none; box-shadow:var(--shadow-sm); background:var(--surface); color:var(--accent); }
.rc-dots { display:flex; justify-content:center; gap:9px; margin-top:18px; width:100%; }
.rc-dot { width:9px; height:9px; padding:0; border:none; border-radius:50%; background:var(--border); cursor:pointer; transition:background .25s, width .25s; }
.rc-dot:hover { background:var(--muted); }
.rc-dot.is-active { width:26px; border-radius:5px; background:var(--accent); }
.rc-dot:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
@media (max-width:900px) { .rc-slide { flex-basis:calc((100% - 20px) / 2); } }
@media (max-width:600px) { .rc-slide { flex-basis:86%; } .rc-arrow { display:none; } }
@media (prefers-reduced-motion: reduce) { .rc-viewport { scroll-behavior:auto; } }

/* ─── CTA BAND ───────────────────────────────────────────────── */
.cta-band {
  background:linear-gradient(135deg, #102a44 0%, #1c4a78 100%);
  padding:80px 40px; text-align:center; color:#fff; position:relative; overflow:hidden;
}
.cta-band::before {
  content:''; position:absolute; inset:0; opacity:.5;
  background:radial-gradient(circle at 80% 20%, rgba(91,143,192,0.35), transparent 55%);
}
.cta-band .wrap { position:relative; }
.cta-band .eyebrow { color:var(--accent-bright); }
.cta-band h2 { font-size:clamp(36px,4.6vw,64px); font-weight:900; color:#fff; margin-bottom:14px; letter-spacing:-1px; }
.cta-band p { font-size:21px; color:#cdddec; margin:0 auto 32px; max-width:600px; }
.cta-actions { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.cta-band .btn-primary { background:#fff; color:var(--accent-deep); }
.cta-band .btn-primary:hover { background:var(--accent-bright); color:#fff; }
.cta-sub { margin-top:18px; font-size:14px; color:#cdddec; }
.cta-sub a { color:#fff; text-decoration:none; border-bottom:1px solid rgba(255,255,255,0.4); }

/* ─── PAGE HERO (inner pages) ────────────────────────────────── */
.page-hero {
  padding:140px 40px 64px; position:relative; overflow:hidden;
  background:linear-gradient(180deg, var(--surface-2) 0%, var(--bg) 100%);
  border-bottom:1px solid var(--border);
}
/* ─── FULL-SCREEN BACKGROUND HERO ──────────────────────────── */
.page-hero.full-screen {
  min-height:60vh;
  display:flex; align-items:center; justify-content:center;
  position:relative; overflow:hidden;
  background-size:cover; background-position:center; background-color:#112033;
}
.page-hero.full-screen::before {
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(11,22,34,.45) 0%, rgba(11,22,34,.82) 100%);
}
.page-hero.full-screen .page-hero-inner { position:relative; z-index:1; text-align:center; max-width:780px; padding:140px 40px 72px; }
.page-hero.full-screen .page-hero-inner .breadcrumb { text-align:left; }
.page-hero.full-screen h1 { color:#fff; text-shadow:0 4px 30px rgba(0,0,0,.9), 0 2px 10px rgba(0,0,0,.7); }
.page-hero.full-screen p.lead { color:rgba(232,237,244,.92); text-shadow:0 2px 10px rgba(0,0,0,.8); }
.page-hero.full-screen .page-hero-actions { justify-content:center; }
.page-hero.full-screen .page-hero-actions .btn-primary { background:var(--settlement-gold, #c9922a); color:#0b1622; border:none; }
.page-hero.full-screen .page-hero-actions .btn-ghost {
  background:rgba(11,22,34,.7);
  color:#8fa0b3;
  border-color:transparent;
  backdrop-filter:blur(4px);
  transition:background .3s, color .3s, border-color .3s;
}
.page-hero.full-screen .page-hero-actions .btn-ghost:hover {
  background:#fff;
  color:#0b1622;
  border-color:#fff;
}

.page-hero.has-media .page-hero-inner { display:grid; grid-template-columns:1.1fr 0.9fr; gap:56px; align-items:center; }
.page-hero-inner { max-width:var(--maxw); margin:0 auto; }
.page-hero h1 { font-size:clamp(44px,6vw,88px); font-weight:900; line-height:1.04; letter-spacing:-1.6px; color:var(--ink); margin-bottom:20px; }
.page-hero p.lead { font-size:clamp(19px,2.2vw,24px); color:var(--muted); line-height:1.6; max-width:660px; margin-bottom:30px; }
.page-hero-actions { display:flex; gap:13px; flex-wrap:wrap; }
.page-hero-media { border-radius:var(--radius); overflow:hidden; aspect-ratio:4/3; box-shadow:var(--shadow-lg); }
.page-hero-media img { width:100%; height:100%; object-fit:cover; }
.breadcrumb { font-size:12.5px; color:var(--muted); margin-bottom:18px; font-family:'JetBrains Mono',monospace; letter-spacing:0.5px; }
.breadcrumb a { color:var(--accent); text-decoration:none; }
.breadcrumb a:hover { text-decoration:underline; }
.breadcrumb span { margin:0 8px; opacity:.5; }

/* ─── PROSE / CONTENT ────────────────────────────────────────── */
.prose { max-width:760px; }
.prose p { font-size:20px; color:var(--ink-soft); line-height:1.7; margin-bottom:22px; }
.prose h2 { font-size:clamp(30px,3.6vw,46px); font-weight:800; color:var(--ink); margin:8px 0 20px; letter-spacing:-0.7px; }
.checklist { list-style:none; display:grid; gap:13px; margin:8px 0 30px; }
.checklist li { display:flex; gap:12px; align-items:flex-start; font-size:18px; color:var(--ink-soft); }
.checklist li svg { width:20px; height:20px; color:var(--accent); flex-shrink:0; margin-top:1px; }
.note-card {
  background:var(--accent-wash); border:1px solid var(--border);
  border-left:3px solid var(--accent); border-radius:12px; padding:22px 24px; margin:8px 0 28px;
}
.note-card .note-label { font-family:'JetBrains Mono',monospace; font-size:11px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:var(--accent); display:flex; align-items:center; gap:8px; margin-bottom:10px; }
.note-card .note-label svg { width:15px; height:15px; }
.note-card p { font-size:15px; color:var(--ink-soft); line-height:1.65; margin:0; }

.split { display:grid; grid-template-columns:1.4fr 1fr; gap:56px; align-items:start; }
.split-media { border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-md); position:sticky; top:110px; }
.split-media img { width:100%; height:auto; object-fit:cover; }

/* ─── SCROLL-BREAK DIVIDER (full-bleed parallax image + scrim) ──── */
.scroll-break {
  position:relative; min-height:54vh; display:flex; align-items:center; justify-content:center;
  padding:96px 40px; text-align:center;
  background-size:cover; background-position:center; background-attachment:fixed;
  background-color:#0b1622; border-top:1px solid var(--border); border-bottom:1px solid var(--border);
}
.scroll-break::before {
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(11,22,34,.72) 0%, rgba(11,22,34,.55) 50%, rgba(11,22,34,.82) 100%);
}
.scroll-break-inner { position:relative; z-index:1; max-width:760px; }
.scroll-break-quote {
  font-size:clamp(26px,3.6vw,46px); font-weight:800; line-height:1.15; letter-spacing:-0.8px;
  color:#fff; text-shadow:0 4px 30px rgba(0,0,0,.7); margin:0;
}
.scroll-break-sub {
  font-size:clamp(16px,1.6vw,20px); color:rgba(232,237,244,.9); line-height:1.55;
  margin:18px auto 0; max-width:560px; text-shadow:0 2px 10px rgba(0,0,0,.6);
}

/* ─── DEEP CONTENT BLOCKS (peril / city pages) ───────────────── */
.content-narrow { max-width:820px; margin:0 auto; }
.content-narrow.prose { max-width:820px; }
.prose h3 { font-size:clamp(21px,2.2vw,26px); font-weight:700; color:var(--ink); margin:30px 0 12px; letter-spacing:-0.3px; }
.prose > p:last-child { margin-bottom:0; }

/* ─── LEGAL PAGES (document-scale prose, denser than marketing prose) ── */
.page-legal .prose { max-width:820px; }
.page-legal .prose .legal-intro { font-size:17px; color:var(--ink-soft); }
.page-legal .prose .legal-updated { font-size:13.5px; color:var(--muted); margin-bottom:30px; }
.page-legal .prose h2 { font-size:22px; font-weight:800; letter-spacing:-0.2px; color:var(--ink); margin:36px 0 12px; }
.page-legal .prose p { font-size:16px; line-height:1.72; margin-bottom:15px; }
.page-legal .prose ul { margin:0 0 18px; padding-left:22px; }
.page-legal .prose li { font-size:16px; color:var(--ink-soft); line-height:1.7; margin-bottom:8px; }
.page-legal .prose a { color:var(--accent); font-weight:600; }
.page-legal .prose .legal-note {
  background:var(--surface-2); border:1px solid var(--border); border-radius:12px;
  padding:18px 22px; font-size:15.5px; line-height:1.7; margin:6px 0 0;
}
/* answer-first snippet box */
.answer-box {
  background:var(--surface); border:1px solid var(--border);
  border-left:4px solid var(--accent); border-radius:var(--radius);
  padding:30px 34px; box-shadow:var(--shadow-sm);
}
.answer-box h2 { font-size:clamp(26px,3vw,38px); font-weight:800; color:var(--ink); margin:0 0 16px; letter-spacing:-0.6px; }
.answer-box p { font-size:19px; color:var(--ink-soft); line-height:1.7; margin:0; }
/* plain bulleted list (causes, lowball signs) */
.bullet-list { margin:8px 0 28px; padding-left:22px; display:grid; gap:11px; }
.bullet-list li { font-size:18px; color:var(--ink-soft); line-height:1.6; padding-left:6px; }
.bullet-list li::marker { color:var(--accent); }
/* reason list — bold lead + explanation */
.reason-list { list-style:none; margin:8px 0 28px; display:grid; gap:18px; }
.reason-list li { font-size:18px; color:var(--ink-soft); line-height:1.65; padding-left:20px; border-left:3px solid var(--border-strong); }
.reason-list li strong { color:var(--ink); font-weight:700; }
/* numbered process list */
.process-list { list-style:none; counter-reset:pl; margin:14px 0 28px; display:grid; gap:18px; }
.process-list li { counter-increment:pl; position:relative; padding-left:58px; min-height:40px; }
.process-list li::before {
  content:counter(pl,decimal-leading-zero); position:absolute; left:0; top:0;
  width:40px; height:40px; display:flex; align-items:center; justify-content:center;
  background:var(--accent-deep); color:#fff; border-radius:10px;
  font-family:'JetBrains Mono',monospace; font-size:14px; font-weight:700;
}
.process-list .pl-title { font-size:18px; font-weight:700; color:var(--ink); margin-bottom:3px; }
.process-list .pl-desc { font-size:16.5px; color:var(--ink-soft); line-height:1.6; }
.result-disclaimer { font-size:14px; color:var(--muted); font-style:italic; }
/* resources: definition box, comparison table, inline links */
.definition-box {
  background:var(--accent-deep); color:#fff; border-radius:var(--radius);
  padding:32px 36px; box-shadow:var(--shadow-md);
}
.definition-box .definition-label {
  font-family:'JetBrains Mono',monospace; font-size:11px; font-weight:700;
  letter-spacing:2.5px; text-transform:uppercase; color:var(--accent-bright); margin-bottom:12px;
}
.definition-box p { font-size:clamp(19px,2.2vw,24px); line-height:1.6; color:#fff; margin:0; font-weight:500; }
.ctable-wrap { margin:8px 0 28px; overflow-x:auto; }
.ctable { width:100%; border-collapse:collapse; font-size:15.5px; min-width:560px; }
.ctable th, .ctable td { padding:13px 16px; text-align:left; border:1px solid var(--border); vertical-align:top; }
.ctable thead th { background:var(--accent-deep); color:#fff; font-weight:700; font-size:14px; }
.ctable thead th:first-child { background:var(--accent-deep); }
.ctable tbody th[scope="row"] { background:var(--surface-2); font-weight:700; color:var(--ink); }
.ctable tbody td { color:var(--ink-soft); }
.ctable tbody tr:nth-child(even) td { background:var(--surface-2); }
.ctable-caption { font-size:14px; color:var(--muted); font-style:italic; margin-top:4px; }
.resource-inline-link { margin:4px 0 28px; }
.resource-inline-link a { color:var(--accent); font-weight:600; display:inline-flex; align-items:center; gap:6px; }
.resource-inline-link a svg { width:16px; height:16px; }
.prose .bullet-list a { color:var(--accent); font-weight:600; }
/* recent results band (Home/About) */
.results-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:20px; }
.result-card { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:30px 26px; box-shadow:var(--shadow-sm); text-align:center; transition:transform .25s ease, box-shadow .25s ease; }
.result-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); }
.result-card.has-banner { padding-top:0; overflow:hidden; }
.result-banner { margin:0 -26px 22px; height:140px; background:var(--surface-3); }
.result-banner img { width:100%; height:100%; object-fit:cover; display:block; }
.result-peril { font-family:'JetBrains Mono',monospace; font-size:12px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:var(--accent); margin-bottom:14px; }
.result-uplift { margin:0 0 18px; line-height:1; }
.result-uplift-num { display:block; font-size:76px; font-weight:900; letter-spacing:-3px; color:#d12029; }
.result-uplift-label { display:block; font-size:12px; font-weight:600; letter-spacing:.4px; text-transform:uppercase; color:var(--muted); margin-top:7px; }
.result-figures { display:flex; align-items:center; justify-content:center; gap:12px; font-weight:800; }
.result-figures svg { width:20px; height:20px; color:var(--accent); }
.result-offer { font-size:20px; color:var(--muted); text-decoration:line-through; }
.result-final { font-size:28px; color:var(--accent-deep); }
.result-meta { font-size:13px; color:var(--muted); margin-top:12px; }
.result-meta strong { color:var(--ink); font-weight:700; }
@media (max-width:480px){ .result-uplift-num { font-size:58px; } }

/* neighborhood chips (deep city pages) */
.hood-list { list-style:none; display:flex; flex-wrap:wrap; gap:10px; margin:8px 0 28px; padding:0; }
.hood-list li {
  font-size:15px; color:var(--ink-soft); background:var(--surface-2);
  border:1px solid var(--border); border-radius:999px; padding:8px 16px;
  font-family:'JetBrains Mono',monospace; letter-spacing:0.3px;
}

/* ─── ABOUT / BIO ────────────────────────────────────────────── */
.bio-grid { display:grid; grid-template-columns:0.8fr 1.2fr; gap:56px; align-items:start; }
.bio-photo { border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-lg); aspect-ratio:4/5; }
.bio-photo img { width:100%; height:100%; object-fit:cover; }
.bio-stats { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; margin-top:32px; }
.bio-stat { background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:20px; box-shadow:var(--shadow-sm); }
.bio-stat .big { font-size:22px; font-weight:800; color:var(--accent-deep); }
.bio-stat .small { font-size:12px; color:var(--muted); font-family:'JetBrains Mono',monospace; letter-spacing:1px; text-transform:uppercase; margin-top:4px; }

/* ─── FAQ ACCORDION ──────────────────────────────────────────── */
.faq-jumps { display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
.faq-jump {
  display:inline-flex; align-items:center; padding:9px 16px; border-radius:999px;
  background:var(--surface); border:1px solid var(--border); color:var(--ink);
  font-size:14.5px; font-weight:600; text-decoration:none; box-shadow:var(--shadow-sm);
  transition:border-color .25s, transform .25s, background .25s;
}
.faq-jump:hover { border-color:var(--accent); color:var(--accent); transform:translateY(-2px); }
.faq-list { max-width:820px; margin:0 auto; display:flex; flex-direction:column; gap:12px; }
.faq-item { background:var(--surface); border:1px solid var(--border); border-radius:12px; overflow:hidden; box-shadow:var(--shadow-sm); }
.faq-q {
  width:100%; text-align:left; background:none; border:none; cursor:pointer;
  padding:24px 26px; font-size:19px; font-weight:700; color:var(--ink);
  font-family:'Outfit',sans-serif; display:flex; justify-content:space-between; align-items:center; gap:16px;
}
.faq-q .faq-icon { flex-shrink:0; width:22px; height:22px; color:var(--accent); transition:transform .3s; }
.faq-item.open .faq-q .faq-icon { transform:rotate(45deg); }
.faq-a { max-height:0; overflow:hidden; transition:max-height .4s cubic-bezier(.16,1,.3,1); }
.faq-a-inner { padding:0 26px 24px; font-size:17.5px; color:var(--muted); line-height:1.7; }

/* ─── INDEX / LISTING GRID ───────────────────────────────────── */
.link-card {
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  padding:26px; text-decoration:none; color:inherit; box-shadow:var(--shadow-sm);
  transition:transform .35s, box-shadow .35s, border-color .35s; display:flex; flex-direction:column; gap:10px;
}
.link-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:var(--accent); }
.link-card .lc-icon { width:44px; height:44px; border-radius:11px; background:var(--accent-wash); color:var(--accent); display:flex; align-items:center; justify-content:center; margin-bottom:6px; }
.link-card .lc-icon svg { width:22px; height:22px; }
.link-card h3 { font-size:23px; font-weight:700; color:var(--ink); }
.link-card p { font-size:16.5px; color:var(--muted); line-height:1.55; flex:1; }
.link-card .lc-more { font-size:15px; font-weight:700; color:var(--accent); display:inline-flex; align-items:center; gap:6px; }
.link-card .lc-more svg { width:16px; height:16px; transition:transform .3s; }
.link-card:hover .lc-more svg { transform:translateX(4px); }
.link-card .lc-meta { font-family:'JetBrains Mono',monospace; font-size:12.5px; letter-spacing:1px; text-transform:uppercase; color:var(--muted); }

/* ─── CONTACT / FORM ─────────────────────────────────────────── */
.contact-grid { display:grid; grid-template-columns:0.9fr 1.1fr; gap:56px; align-items:start; }
.contact-info { display:flex; flex-direction:column; gap:18px; }
.contact-row { display:flex; gap:14px; align-items:flex-start; }
.contact-row .ci-icon { width:44px; height:44px; border-radius:11px; background:var(--accent-wash); color:var(--accent); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-row .ci-icon svg { width:20px; height:20px; }
.contact-row .ci-label { font-family:'JetBrains Mono',monospace; font-size:11px; letter-spacing:1.5px; text-transform:uppercase; color:var(--muted); }
.contact-row .ci-value { font-size:16px; font-weight:600; color:var(--ink); text-decoration:none; }
.contact-row a.ci-value:hover { color:var(--accent); }
.lead-form {
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  padding:32px; box-shadow:var(--shadow-md);
}
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field { margin-bottom:16px; }
.field label { display:block; font-size:13px; font-weight:600; color:var(--ink); margin-bottom:7px; }
.field label .req { color:var(--accent); }
.field input, .field select, .field textarea {
  width:100%; padding:12px 14px; border:1px solid var(--border-strong); border-radius:9px;
  font-family:'Outfit',sans-serif; font-size:15px; color:var(--ink); background:var(--bg);
  transition:border-color .25s, box-shadow .25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline:none; border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-wash);
}
.field textarea { resize:vertical; min-height:110px; }
.form-note { font-size:12.5px; color:var(--muted); margin-top:6px; }
.form-success {
  display:none; text-align:center; padding:24px;
  background:var(--accent-wash); border:1px solid var(--border); border-radius:12px; margin-top:8px;
}
.form-success.show { display:block; }
.form-success svg { width:40px; height:40px; color:var(--accent); margin:0 auto 12px; }
.form-success h3 { font-size:19px; color:var(--ink); margin-bottom:6px; }
.form-success p { font-size:14.5px; color:var(--muted); }
.form-placeholder-flag {
  font-family:'JetBrains Mono',monospace; font-size:10.5px; color:#9a6a1a;
  background:#fdf3e0; border:1px solid #f0d9a8; border-radius:7px; padding:8px 11px; margin-top:14px; letter-spacing:.5px;
}

/* ─── MULTI-STEP LEAD QUIZ ─────────────────────────────────────── */
.lead-quiz { position:relative; }
.lf-progress { height:5px; border-radius:99px; background:var(--surface-3); overflow:hidden; margin-bottom:14px; }
.lf-progress-bar { height:100%; width:16.66%; border-radius:99px; background:var(--accent); transition:width .35s cubic-bezier(.4,0,.2,1); }
.lf-meta { margin-bottom:20px; }
.lf-stepcount { font-size:12px; font-weight:600; letter-spacing:.4px; text-transform:uppercase; color:var(--muted); }

.lf-step { display:none; border:0; padding:0; margin:0; min-width:0; }
.lf-step.is-active { display:block; animation:lfIn .32s cubic-bezier(.4,0,.2,1); }
@keyframes lfIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }
.lf-q { font-family:'Outfit',sans-serif; font-size:21px; font-weight:800; line-height:1.3; color:var(--ink); margin-bottom:14px; padding:0; }
.lf-q .req { color:var(--accent); }
.lf-optional { font-size:13px; font-weight:500; color:var(--muted); }
.lf-help { font-size:14px; color:var(--muted); line-height:1.6; margin:-6px 0 16px; }

/* option cards */
.lf-options { display:grid; gap:11px; }
.lf-opt {
  display:flex; align-items:center; gap:12px; cursor:pointer;
  padding:16px 18px; border:1.5px solid var(--border-strong); border-radius:12px;
  background:var(--bg); transition:border-color .2s, background .2s, box-shadow .2s;
}
.lf-opt:hover { border-color:var(--accent-bright); background:var(--surface); }
.lf-opt input { position:absolute; opacity:0; width:0; height:0; }
.lf-opt-label { flex:1; font-size:16px; font-weight:600; color:var(--ink); }
.lf-opt svg { width:20px; height:20px; color:var(--accent); opacity:0; transform:scale(.6); transition:opacity .2s, transform .2s; }
.lf-opt:has(input:checked) { border-color:var(--accent); background:var(--accent-wash); box-shadow:0 0 0 3px var(--accent-wash); }
.lf-opt:has(input:checked) svg { opacity:1; transform:none; }
.lf-opt:has(input:focus-visible) { border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-wash); }

/* file upload */
.lf-upload {
  display:flex; flex-direction:column; align-items:center; gap:5px; text-align:center; cursor:pointer;
  padding:26px 18px; border:1.5px dashed var(--border-strong); border-radius:12px; background:var(--bg);
  transition:border-color .2s, background .2s; margin-bottom:14px;
}
.lf-upload:hover, .lf-upload.is-drag { border-color:var(--accent); background:var(--accent-wash); }
.lf-upload input[type=file] { position:absolute; width:1px; height:1px; opacity:0; overflow:hidden; }
.lf-upload svg { width:26px; height:26px; color:var(--accent); }
.lf-upload-cta { font-size:15px; font-weight:600; color:var(--ink); }
.lf-upload-hint { font-size:12.5px; color:var(--muted); }
.lf-filelist { list-style:none; display:flex; flex-direction:column; gap:7px; margin:0 0 16px; padding:0; }
.lf-filelist:empty { display:none; }
.lf-filechip {
  display:flex; align-items:center; gap:10px; font-size:13.5px; color:var(--ink);
  background:var(--surface-2); border:1px solid var(--border); border-radius:8px; padding:8px 11px;
}
.lf-filechip .lf-fname { flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.lf-filechip .lf-fsize { color:var(--muted); font-size:12px; flex-shrink:0; }
.lf-filechip button { background:none; border:0; color:var(--muted); cursor:pointer; font-size:18px; line-height:1; padding:0 2px; }
.lf-filechip button:hover { color:#c0392b; }
.lf-fileerror { font-size:13px; color:#c0392b; margin:-6px 0 14px; }

/* consent */
.lf-consent { display:flex; align-items:flex-start; gap:11px; cursor:pointer; font-size:14.5px; color:var(--ink-soft); line-height:1.55; }
.lf-consent input { margin-top:3px; width:18px; height:18px; accent-color:var(--accent); flex-shrink:0; }
.lf-consent a { color:var(--accent); font-weight:600; }

/* nav — [hidden] must beat .btn's display:inline-flex */
.lf-nav [hidden] { display:none !important; }
.lf-nav { display:flex; gap:12px; align-items:center; margin-top:26px; }
.lf-nav .lf-back { padding-left:18px; padding-right:18px; }
.lf-nav .lf-next, .lf-nav .lf-submit { flex:1; justify-content:center; }

/* honeypot — visually removed, still in DOM for bots */
.lf-hp { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

/* validation feedback */
.field.lf-invalid input, .field.lf-invalid textarea, input.lf-invalid { border-color:#c0392b; box-shadow:0 0 0 3px rgba(192,57,43,.1); }
.lf-consent input.lf-invalid { outline:2px solid #c0392b; outline-offset:2px; }
.lf-shake { animation:lfShake .4s; }
@keyframes lfShake { 10%,90%{transform:translateX(-1px)} 30%,70%{transform:translateX(3px)} 50%{transform:translateX(-4px)} }

@media (prefers-reduced-motion: reduce) {
  .lf-step.is-active { animation:none; }
  .lf-progress-bar { transition:none; }
  .lf-opt, .lf-opt svg, .lf-upload { transition:none; }
  .lf-shake { animation:none; }
}

/* ─── FOOTER ─────────────────────────────────────────────────── */
footer { background:var(--ink); color:#aeb9c7; padding:64px 40px 30px; }
.footer-inner { max-width:var(--maxw); margin:0 auto; }
.footer-top { display:grid; grid-template-columns:1.8fr 1fr 1fr 1fr; gap:44px; padding-bottom:40px; border-bottom:1px solid rgba(255,255,255,0.1); margin-bottom:26px; }
.footer-logo { display:flex; align-items:center; gap:11px; text-decoration:none; margin-bottom:16px; }
.footer-logo img { height:36px; width:auto; }
.footer-logo span { font-weight:800; font-size:16px; color:#fff; }
.footer-brand p { font-size:14px; color:#8fa0b3; line-height:1.65; max-width:300px; margin-bottom:16px; }
.footer-cred { display:flex; flex-wrap:wrap; gap:8px; }
.footer-cred span { font-family:'JetBrains Mono',monospace; font-size:10px; letter-spacing:1px; color:#bcd0e6; background:rgba(91,143,192,0.16); border:1px solid rgba(91,143,192,0.25); border-radius:6px; padding:4px 9px; }
.footer-col h4 { font-size:11px; font-family:'JetBrains Mono',monospace; letter-spacing:2px; text-transform:uppercase; color:var(--accent-bright); margin-bottom:15px; font-weight:700; }
.footer-col a, .footer-col p { display:block; font-size:14px; color:#aeb9c7; text-decoration:none; margin-bottom:10px; transition:color .25s; }
.footer-col a:hover { color:#fff; }
.footer-bottom { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:12px; color:#8fa0b3; }
.area-links { display:flex; flex-wrap:wrap; gap:12px 22px; max-width:760px; }
.area-links a { display:inline-flex; align-items:center; gap:6px; font-weight:600; color:var(--accent); text-decoration:none; }
.area-links a:hover { color:var(--ink); }
.area-links a svg { width:15px; height:15px; }
.footer-legal { display:flex; gap:18px; flex-wrap:wrap; }
.footer-legal a { color:#8fa0b3; text-decoration:none; transition:color .25s; }
.footer-legal a:hover { color:#fff; }
.footer-license { font-family:'JetBrains Mono',monospace; color:#bcd0e6; }
.footer-disclaimer { max-width:var(--maxw); margin:18px auto 0; font-size:11.5px; color:#7589a0; line-height:1.6; }

/* ─── REVEAL ─────────────────────────────────────────────────── */
html.js .fade-up { opacity:0; transform:translateY(28px); }

/* ─── REDUCED MOTION ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  #glow { display:none; }
  .loader-spinner { animation:none; }
  .hero-scroll-hint svg { display:none; }
  .scroll-break { background-attachment:scroll; }
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width:900px) {
  .section { padding:72px 24px; }
  .why-grid, .hw-layout, .split, .bio-grid, .contact-grid,
  .page-hero.has-media .page-hero-inner { grid-template-columns:1fr; gap:40px; }
  .split-media, .hw-sticky { position:static; }
  .stats-grid { grid-template-columns:repeat(2,1fr); }
  .footer-top { grid-template-columns:1fr 1fr; }
  #navbar { padding:12px 20px; }
  #navbar.scrolled { padding:10px 20px; }
  .page-hero { padding:120px 24px 52px; }
  /* background-attachment:fixed is unreliable / janky on mobile (esp. iOS) */
  .scroll-break { background-attachment:scroll; min-height:42vh; padding:72px 24px; }
  .nav-toggle { display:inline-flex; }
  .nav-links {
    position:fixed; top:0; right:0; bottom:0; width:min(300px,80vw);
    flex-direction:column; align-items:flex-start; gap:8px;
    background:var(--surface); box-shadow:var(--shadow-lg); padding:84px 28px 28px;
    transform:translateX(100%); transition:transform .35s cubic-bezier(.16,1,.3,1); z-index:99;
  }
  .nav-links.open { transform:translateX(0); }
  .nav-links a { font-size:16px; padding:8px 0; width:100%; }
  .nav-scrim { display:block; }
  body.nav-open .nav-scrim { opacity:1; pointer-events:auto; }
}
@media (max-width:430px) {
  .nav-cta-label { display:none; }
  .nav-cta { padding:9px 12px; }
}
@media (max-width:560px) {
  .stats-grid, .form-row { grid-template-columns:1fr; }
  .footer-top { grid-template-columns:1fr; }
  .bio-stats { grid-template-columns:1fr 1fr; }
  .hero-actions { flex-direction:column; width:100%; max-width:300px; }
  .hero-actions .btn { justify-content:center; }
}
