/* ==========================================================================
   Booked Route — design tokens
   ========================================================================== */
:root {
  --ink-900: #050E22;
  --ink-800: #07142E;
  --ink-700: #0A1A3A;
  --ink-600: #122A5C;
  --ink-500: #1B3A7A;
  --gold-300: #F7DA98;
  --gold-400: #E7B658;
  --gold-500: #D29B38;
  --gold-700: #8A5F0F;           /* gold text on light: 5.6:1 on cream */
  --cream: #F7F4EE;
  --paper: #FFFFFF;
  --line-light: #E4DED2;
  --line-dark: rgba(231, 182, 88, .16);
  --text: #0A1A3A;
  --text-muted: #4A5872;          /* 7.1:1 on cream */
  --text-on-dark: #F4F1EA;
  --text-on-dark-muted: #A9B4C8;  /* 8.4:1 on ink-800 */
  --signal: #3DDC97;
  --danger: #C2410C;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(7, 20, 46, .06), 0 2px 8px rgba(7, 20, 46, .05);
  --shadow: 0 10px 30px -12px rgba(7, 20, 46, .25);
  --shadow-lg: 0 30px 60px -20px rgba(5, 14, 34, .55);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur: 240ms;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 76px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; margin: 0; font-variation-settings: "opsz" 72; }
p { margin: 0; }
::selection { background: var(--gold-400); color: var(--ink-800); }

:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--gold-400); color: var(--ink-800); font-weight: 700;
  padding: 10px 16px; border-radius: var(--radius-sm); transition: top var(--dur);
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section--dark { background: var(--ink-800); color: var(--text-on-dark); }
.section--paper { background: var(--paper); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-700);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow, .hero .eyebrow { color: var(--gold-400); }

.h2 { font-size: clamp(36px, 5vw, 60px); margin-top: 18px; }
.h2 em, .hero h1 em { font-style: italic; font-weight: 500; color: var(--gold-700); }
.section--dark .h2 em, .hero h1 em { color: var(--gold-400); }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-muted); max-width: 60ch; margin-top: 20px; }
.section--dark .lede { color: var(--text-on-dark-muted); }
.section-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 72px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .lede { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  --bg: var(--gold-400); --fg: var(--ink-800);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg); font-weight: 650; font-size: 16px; letter-spacing: -.005em;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), background var(--dur);
  box-shadow: 0 10px 24px -10px rgba(231, 182, 88, .7), inset 0 1px 0 rgba(255,255,255,.45);
  white-space: nowrap; overflow: hidden; isolation: isolate;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 700ms var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(231, 182, 88, .85), inset 0 1px 0 rgba(255,255,255,.45); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { --bg: transparent; --fg: var(--text-on-dark); box-shadow: inset 0 0 0 1.5px rgba(244,241,234,.28); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--gold-400); }
.btn--dark { --bg: var(--ink-700); --fg: var(--text-on-dark); box-shadow: var(--shadow); }
.btn--dark:hover { box-shadow: 0 16px 30px -12px rgba(7,20,46,.55); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--block { width: 100%; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background var(--dur), box-shadow var(--dur), height var(--dur);
}
.nav.is-scrolled {
  background: rgba(7, 20, 46, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line-dark); height: 66px;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text-on-dark); }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -.02em; line-height: 1; }
.brand__name span { color: var(--gold-400); }
.brand__tag { display: block; font-family: var(--font-body); font-size: 9.5px; font-weight: 600; letter-spacing: .24em; color: var(--text-on-dark-muted); margin-top: 5px; }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
  color: var(--text-on-dark-muted); font-size: 15px; font-weight: 500; transition: color var(--dur), background var(--dur);
}
.nav__links a:hover, .nav__links a.is-active, .nav__links a[aria-current="page"] { color: var(--text-on-dark); background: rgba(244,241,234,.07); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(244,241,234,.18);
  background: transparent; color: var(--text-on-dark); align-items: center; justify-content: center;
}
.nav__toggle svg { width: 22px; height: 22px; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--ink-900);
  padding: calc(var(--nav-h) + 24px) var(--gutter) 32px; display: flex; flex-direction: column; gap: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--dur), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-menu a:not(.btn) {
  font-family: var(--font-display); font-size: 32px; color: var(--text-on-dark); padding: 10px 0;
  border-bottom: 1px solid var(--line-dark);
}
.mobile-menu .btn { margin-top: 24px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; color: var(--text-on-dark);
  background:
    radial-gradient(1000px 600px at 85% -10%, rgba(231,182,88,.20), transparent 60%),
    radial-gradient(800px 700px at -10% 110%, rgba(27,58,122,.65), transparent 60%),
    linear-gradient(180deg, var(--ink-900), var(--ink-800) 70%);
  padding: calc(var(--nav-h) + clamp(48px, 8vw, 96px)) 0 clamp(72px, 9vw, 120px);
}
.hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(244,241,234,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,241,234,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}
.hero__route { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__route path { fill: none; stroke: url(#heroGold); stroke-width: 1.5; stroke-linecap: round; opacity: .55; stroke-dasharray: 2200; stroke-dashoffset: 2200; animation: draw 3.2s var(--ease-out) .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__inner > *, .split > *, .tx > *, .about > *, .faq > *, .contact__inner > *, .offer > *, .tabs > *, .calc > * { min-width: 0; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(244,241,234,.06); border: 1px solid var(--line-dark); font-size: 14px; color: var(--text-on-dark-muted);
}
.hero__badge b { color: var(--text-on-dark); font-weight: 600; }
.flag { width: 26px; height: 18px; border-radius: 3px; overflow: hidden; flex: none; }
.hero h1 { font-size: clamp(42px, 6vw, 80px); margin-top: 26px; letter-spacing: -.01em; line-height: 1.04; }
.hero__sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--text-on-dark-muted); max-width: 54ch; margin-top: 26px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-dark); list-style: none; padding-left: 0; margin-bottom: 0; }
.hero__proof li { display: flex; align-items: center; gap: 9px; font-size: 15px; color: var(--text-on-dark-muted); }
.hero__proof svg { width: 18px; height: 18px; color: var(--gold-400); flex: none; }

/* Pipeline card */
.pipeline {
  position: relative; border-radius: var(--radius-lg); padding: 22px;
  background: linear-gradient(180deg, rgba(18,42,92,.72), rgba(7,20,46,.9));
  border: 1px solid rgba(231,182,88,.22); box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
}
.pipeline::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(247,218,152,.7), transparent 35%, transparent 65%, rgba(231,182,88,.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.pipeline__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pipeline__title { font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(61,220,151,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(61,220,151,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,151,0); } }
.pipeline__note { font-size: 12px; color: var(--text-on-dark-muted); font-family: var(--font-mono); }
.pipeline__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.stat-tile { padding: 14px; border-radius: 12px; background: rgba(244,241,234,.04); border: 1px solid rgba(244,241,234,.07); }
.stat-tile span { display: block; font-size: 12px; color: var(--text-on-dark-muted); }
.stat-tile strong { display: block; font-family: var(--font-display); font-size: 28px; font-weight: 600; margin-top: 4px; font-variant-numeric: tabular-nums; }
.stat-tile strong.gold { color: var(--gold-400); }
.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; min-height: 276px; }
.feed li {
  display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center;
  padding: 11px 12px; border-radius: 12px; background: rgba(244,241,234,.035); border: 1px solid rgba(244,241,234,.06);
  animation: feedIn 520ms var(--ease-out) both;
}
@keyframes feedIn { from { opacity: 0; transform: translateY(-10px) scale(.98); } }
.feed__icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(231,182,88,.12); color: var(--gold-400); }
.feed__icon svg { width: 18px; height: 18px; }
.feed__main b { display: block; font-size: 14px; font-weight: 600; }
.feed__main span { display: block; font-size: 12.5px; color: var(--text-on-dark-muted); }
.chip { font-size: 11.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.chip--booked { background: rgba(61,220,151,.14); color: #7EF0BE; }
.chip--qual { background: rgba(231,182,88,.14); color: var(--gold-300); }
.chip--new { background: rgba(120,160,255,.14); color: #B7CBFF; }
.pipeline__float {
  position: absolute; left: -28px; bottom: -26px; padding: 12px 16px; border-radius: 14px;
  background: var(--paper); color: var(--ink-700); box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px;
  animation: float 6s ease-in-out infinite;
}
.pipeline__float .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--ink-700); color: var(--gold-400); display: grid; place-items: center; }
.pipeline__float .ic svg { width: 18px; height: 18px; }
.pipeline__float b { display: block; font-size: 14px; }
.pipeline__float span { display: block; font-size: 12px; color: var(--text-muted); }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee { background: var(--ink-900); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 22px 0; overflow: hidden; color: var(--text-on-dark-muted); }
.marquee__label { text-align: center; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; color: var(--gold-400); font-weight: 600; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; gap: 48px; padding-right: 48px; }
.marquee__item { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 22px; color: var(--text-on-dark); white-space: nowrap; }
.marquee__item svg { width: 22px; height: 22px; color: var(--gold-400); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Problem / Solution
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.pain-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.pain-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line-light); }
.pain-list .x { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: #FCEDE4; color: var(--danger); }
.pain-list .x svg { width: 16px; height: 16px; }
.pain-list b { display: block; font-weight: 600; }
.pain-list span { color: var(--text-muted); font-size: 15px; }
.photo-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.photo-card:hover img { transform: scale(1.04); }
.photo-card__overlay {
  position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 18px 20px; border-radius: var(--radius);
  background: rgba(7,20,46,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--text-on-dark);
  border: 1px solid var(--line-dark);
}
.photo-card__overlay b { font-family: var(--font-display); font-size: 22px; font-weight: 600; display: block; }
.photo-card__overlay span { font-size: 14px; color: var(--text-on-dark-muted); }

/* ==========================================================================
   Services (tabs)
   ========================================================================== */
.tabs { display: grid; grid-template-columns: 340px 1fr; gap: 28px; }
.tablist { display: grid; gap: 10px; align-content: start; }
.tab {
  display: flex; align-items: center; gap: 14px; text-align: left; width: 100%;
  padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line-light); background: var(--paper);
  transition: border-color var(--dur), box-shadow var(--dur), transform var(--dur) var(--ease-out), background var(--dur);
  min-height: 72px;
}
.tab:hover { border-color: #CFC6B4; transform: translateX(3px); }
.tab[aria-selected="true"] { background: var(--ink-700); color: var(--text-on-dark); border-color: var(--ink-700); box-shadow: var(--shadow); }
.tab__ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; background: #F3ECDD; color: var(--gold-700); transition: background var(--dur), color var(--dur); }
.tab[aria-selected="true"] .tab__ic { background: rgba(231,182,88,.14); color: var(--gold-400); }
.tab__ic svg { width: 22px; height: 22px; }
.tab b { display: block; font-weight: 600; font-size: 16px; }
.tab small { display: block; font-size: 13.5px; color: var(--text-muted); }
.tab[aria-selected="true"] small { color: var(--text-on-dark-muted); }
.tabpanel {
  border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line-light); box-shadow: var(--shadow-sm);
  padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px;
  animation: panelIn 380ms var(--ease-out);
}
.tabpanel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } }
.tabpanel h3 { font-size: clamp(28px, 3vw, 38px); }
.tabpanel p { color: var(--text-muted); margin-top: 14px; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 20px; height: 20px; flex: none; color: var(--gold-700); margin-top: 3px; }
.section--dark .checks svg { color: var(--gold-400); }
.tabpanel__aside { border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line-light); padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.kv span { display: block; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
.kv b { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 600; margin-top: 4px; }

/* ==========================================================================
   Process — The Route
   ========================================================================== */
.route { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.route__line { position: absolute; left: 0; right: 0; top: 34px; height: 2px; background: rgba(231,182,88,.15); border-radius: 2px; overflow: hidden; }
.route__line i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--gold-500), var(--gold-300)); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 120ms linear; }
.step { position: relative; }
.step__num {
  position: relative; z-index: 1; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink-800); border: 2px solid rgba(231,182,88,.3); color: var(--gold-400);
  font-family: var(--font-display); font-size: 24px; font-weight: 600; transition: border-color 400ms, background 400ms, color 400ms, box-shadow 400ms;
}
.step.is-lit .step__num { border-color: var(--gold-400); background: var(--gold-400); color: var(--ink-800); box-shadow: 0 0 0 8px rgba(231,182,88,.12); }
.step h3 { font-size: 24px; margin-top: 26px; }
.step p { color: var(--text-on-dark-muted); margin-top: 10px; font-size: 16px; }
.step__meta { display: inline-block; margin-top: 16px; font-family: var(--font-mono); font-size: 12.5px; color: var(--gold-300); padding: 5px 10px; border-radius: 8px; background: rgba(231,182,88,.08); border: 1px solid var(--line-dark); }

/* ==========================================================================
   ROI Calculator
   ========================================================================== */
.calc { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line-light); }
.calc__inputs { background: var(--paper); padding: clamp(28px, 4vw, 48px); display: grid; gap: 30px; }
.field-range label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; }
.field-range output { font-family: var(--font-display); font-size: 24px; color: var(--ink-700); font-variant-numeric: tabular-nums; }
.field-range small { display: block; color: var(--text-muted); font-size: 14px; margin-top: 2px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin-top: 6px; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--gold-500) var(--fill, 50%), #E9E3D6 var(--fill, 50%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: #E9E3D6; }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--gold-500); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ink-700); border: 4px solid var(--paper); box-shadow: 0 0 0 1.5px var(--ink-700), 0 4px 10px rgba(7,20,46,.3); margin-top: -10px; transition: transform var(--dur); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--ink-700); border: 4px solid var(--paper); box-shadow: 0 0 0 1.5px var(--ink-700); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.calc__out { background: var(--ink-800); color: var(--text-on-dark); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 22px; position: relative; overflow: hidden; }
.calc__out::before { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(231,182,88,.22), transparent 65%); }
.calc__big span { font-size: 14px; color: var(--text-on-dark-muted); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.calc__big strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(48px, 6vw, 76px); line-height: 1; color: var(--gold-400); margin-top: 8px; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.calc__rows { display: grid; gap: 12px; position: relative; }
.calc__row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(244,241,234,.08); }
.calc__row span { color: var(--text-on-dark-muted); }
.calc__row b { font-variant-numeric: tabular-nums; font-weight: 600; }
.calc__bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; position: relative; }
.calc__bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--gold-400), rgba(231,182,88,.25)); transform-origin: bottom; transition: height 500ms var(--ease-out); }
.calc__disclaimer { font-size: 13px; color: var(--text-on-dark-muted); position: relative; }

/* ==========================================================================
   Texas map
   ========================================================================== */
.tx { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.tx__map { position: relative; }
.tx__map svg { width: 100%; height: auto; overflow: visible; }
.tx-shape { fill: url(#txFill); stroke: rgba(231,182,88,.55); stroke-width: 1.5; stroke-linejoin: round; }
.tx-route { fill: none; stroke: var(--gold-400); stroke-width: 1.6; stroke-dasharray: 4 6; opacity: .55; animation: dash 18s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -400; } }
.city { cursor: pointer; }
.city circle.core { fill: var(--gold-400); transition: r var(--dur); }
.city circle.halo { fill: rgba(231,182,88,.18); transform-box: fill-box; transform-origin: center; animation: halo 2.6s ease-out infinite; }
.city text { fill: var(--text-on-dark); font-size: 15px; font-family: var(--font-body); font-weight: 600; paint-order: stroke; stroke: var(--ink-800); stroke-width: 4px; pointer-events: none; }
.city:hover circle.core, .city:focus-visible circle.core, .city.is-active circle.core { r: 9; fill: var(--gold-300); }
.city:focus-visible { outline: none; }
.city:focus-visible circle.halo, .city.is-active circle.halo { fill: rgba(231,182,88,.35); }
@keyframes halo { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }
.city-card { border-radius: var(--radius-lg); padding: 28px; background: rgba(244,241,234,.04); border: 1px solid var(--line-dark); min-height: 230px; }
.city-card h3 { font-size: 32px; }
.city-card p { color: var(--text-on-dark-muted); margin-top: 10px; }
.city-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.city-card__tags span { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: rgba(231,182,88,.1); color: var(--gold-300); border: 1px solid var(--line-dark); }
.city-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.city-pills button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(244,241,234,.16); background: transparent; color: var(--text-on-dark-muted); font-size: 14px; font-weight: 500; transition: all var(--dur); }
.city-pills button:hover { color: var(--text-on-dark); border-color: rgba(244,241,234,.4); }
.city-pills button[aria-pressed="true"] { background: var(--gold-400); color: var(--ink-800); border-color: var(--gold-400); }
.expansion { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding: 16px 18px; border-radius: var(--radius); background: rgba(244,241,234,.04); border: 1px dashed rgba(231,182,88,.35); color: var(--text-on-dark-muted); font-size: 15px; }
.expansion svg { width: 22px; height: 22px; color: var(--gold-400); flex: none; }

/* ==========================================================================
   Why / Pillars
   ========================================================================== */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar {
  position: relative; padding: 30px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line-light);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur), border-color var(--dur); overflow: hidden;
}
.pillar::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--gold-500), var(--gold-300)); transform: scaleX(0); transform-origin: left; transition: transform 500ms var(--ease-out); }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.pillar:hover::after { transform: scaleX(1); }
.pillar__ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--ink-700); color: var(--gold-400); }
.pillar__ic svg { width: 26px; height: 26px; }
.pillar h3 { font-size: 24px; margin-top: 22px; }
.pillar p { color: var(--text-muted); margin-top: 10px; font-size: 16px; }

/* Commitments strip */
.commit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; border-radius: var(--radius-lg); background: var(--ink-700); color: var(--text-on-dark); overflow: hidden; }
.commit div { padding: 28px 26px; border-right: 1px solid rgba(244,241,234,.08); }
.commit div:last-child { border-right: 0; }
.commit strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 44px; line-height: 1; color: var(--gold-400); font-variant-numeric: tabular-nums; }
.commit span { display: block; margin-top: 10px; font-size: 15px; color: var(--text-on-dark-muted); }

/* ==========================================================================
   Comparison
   ========================================================================== */
.compare { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-light); background: var(--paper); box-shadow: var(--shadow-sm); }
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line-light); vertical-align: middle; }
.compare thead th { font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; background: var(--cream); }
.compare thead th.us { background: var(--ink-700); color: var(--gold-400); }
.compare td.us { background: rgba(231,182,88,.07); font-weight: 600; }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }
.compare tbody th { font-weight: 600; }
.mark { display: inline-flex; align-items: center; gap: 8px; }
.mark svg { width: 20px; height: 20px; flex: none; }
.mark--yes svg { color: #178A5A; }
.mark--no svg { color: var(--danger); }
.mark--mid svg { color: var(--text-muted); }
.compare__scroll { overflow-x: auto; }

/* ==========================================================================
   About / Founder
   ========================================================================== */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about__photo { position: relative; }
.about__photo .photo-card { aspect-ratio: 3 / 4; }
.about__stamp {
  position: absolute; right: -24px; top: 32px; width: 132px; height: 132px; border-radius: 50%;
  background: var(--ink-700); display: grid; place-items: center; box-shadow: var(--shadow-lg);
}
.about__stamp svg { width: 100%; height: 100%; animation: spin 24s linear infinite; }
.about__stamp .brand__mark { position: absolute; width: 50px; height: 50px; }
@keyframes spin { to { transform: rotate(360deg); } }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.values div { padding: 20px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line-light); }
.values b { font-family: var(--font-display); font-size: 21px; font-weight: 600; display: block; }
.values span { font-size: 14.5px; color: var(--text-muted); display: block; margin-top: 6px; }
.signature { display: flex; align-items: center; gap: 16px; margin-top: 32px; }
.signature__avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--ink-700); color: var(--gold-400); display: grid; place-items: center; font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.signature b { display: block; font-weight: 600; }
.signature span { color: var(--text-muted); font-size: 15px; }

/* ==========================================================================
   Founding partner offer
   ========================================================================== */
.offer {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; color: var(--text-on-dark);
  background: linear-gradient(120deg, var(--ink-700), var(--ink-600)); padding: clamp(32px, 5vw, 64px);
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center; box-shadow: var(--shadow-lg);
}
.offer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 100% 0%, rgba(231,182,88,.25), transparent 60%); pointer-events: none; }
.offer > * { position: relative; }
.offer h2 { font-size: clamp(32px, 4vw, 48px); margin-top: 16px; }
.offer p { color: var(--text-on-dark-muted); margin-top: 14px; max-width: 56ch; }
.spots { text-align: center; padding: 26px; border-radius: var(--radius); background: rgba(5,14,34,.45); border: 1px solid var(--line-dark); }
.spots__dots { display: flex; justify-content: center; gap: 8px; margin: 14px 0; }
.spots__dots i { width: 16px; height: 16px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 12px rgba(231,182,88,.6); }
.spots__dots i.off { background: rgba(244,241,234,.14); box-shadow: none; }
.spots strong { font-family: var(--font-display); font-size: 22px; font-weight: 600; display: block; }
.spots span { font-size: 14px; color: var(--text-on-dark-muted); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.faq__list { display: grid; gap: 12px; }
.faq details { border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line-light); transition: box-shadow var(--dur), border-color var(--dur); }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: #D8CEBB; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 600; font-size: 17px; min-height: 64px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--cream); transition: transform var(--dur) var(--ease-out), background var(--dur); }
.faq summary .pm svg { width: 16px; height: 16px; }
.faq details[open] .pm { transform: rotate(45deg); background: var(--gold-400); }
.faq details > div { padding: 0 22px 22px; color: var(--text-muted); }

/* ==========================================================================
   Contact / multi-step form
   ========================================================================== */
.contact { position: relative; overflow: hidden; }
.contact__bg { position: absolute; inset: 0; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,14,34,.97) 0%, rgba(5,14,34,.9) 45%, rgba(5,14,34,.6) 100%); }
.contact__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.contact h2, .contact h1 { font-size: clamp(40px, 5.2vw, 68px); }
.contact-lines { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.contact-lines a, .contact-lines li > span { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; color: var(--text-on-dark); font-weight: 500; }
.contact-lines a:hover { color: var(--gold-300); }
.contact-lines .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(231,182,88,.12); color: var(--gold-400); border: 1px solid var(--line-dark); }
.contact-lines .ic svg { width: 20px; height: 20px; }

.form-card { background: var(--paper); color: var(--text); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow-lg); }
.progress { display: flex; gap: 6px; margin-bottom: 8px; }
.progress i { flex: 1; height: 5px; border-radius: 5px; background: #ECE6DA; overflow: hidden; position: relative; }
.progress i::after { content: ""; position: absolute; inset: 0; background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform 400ms var(--ease-out); }
.progress i.done::after { transform: scaleX(1); }
.form-step-label { font-size: 13px; color: var(--text-muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.form-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-step legend { font-family: var(--font-display); font-size: 28px; font-weight: 600; margin: 14px 0 20px; padding: 0; line-height: 1.15; }
.form-step[hidden] { display: none; }
.form-step:not([hidden]) { animation: panelIn 360ms var(--ease-out); }
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.option span {
  display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--line-light); font-weight: 500; font-size: 15px; transition: all var(--dur); cursor: pointer;
}
.option span svg { width: 20px; height: 20px; color: var(--gold-700); flex: none; }
.option input:hover + span { border-color: #CFC6B4; }
.option input:checked + span { border-color: var(--ink-700); background: var(--ink-700); color: var(--text-on-dark); }
.option input:checked + span svg { color: var(--gold-400); }
.option input:focus-visible + span { outline: 3px solid var(--gold-400); outline-offset: 2px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: 15px; }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line-light); background: var(--paper);
  font-size: 16px; transition: border-color var(--dur), box-shadow var(--dur);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink-700); box-shadow: 0 0 0 4px rgba(10,26,58,.1); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field .err { font-size: 13.5px; color: var(--danger); min-height: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.form-nav .btn[hidden] { display: none; }
.btn-back { background: transparent; border: 0; min-height: 52px; padding: 0 10px; color: var(--text-muted); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; border-radius: 12px; }
.btn-back:hover { color: var(--text); }
.btn-back svg { width: 18px; height: 18px; }
.form-fine { margin-top: 16px; font-size: 13px; color: var(--text-muted); display: flex; gap: 8px; align-items: center; }
.form-fine svg { width: 16px; height: 16px; flex: none; color: #178A5A; }
.form-success { text-align: center; padding: 24px 8px; }
.form-success .ok { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; background: #E3F6EC; color: #178A5A; animation: pop 500ms var(--ease-out); }
.form-success .ok svg { width: 36px; height: 36px; }
.form-success h3 { font-size: 30px; margin-top: 20px; }
.form-success p { color: var(--text-muted); margin-top: 10px; }
@keyframes pop { from { transform: scale(.5); opacity: 0; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--ink-900); color: var(--text-on-dark-muted); padding: 72px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { font-family: var(--font-body); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-on-dark); font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 4px; }
.footer ul a { display: inline-flex; min-height: 36px; align-items: center; transition: color var(--dur); }
.footer ul a:hover { color: var(--gold-300); }
.footer__about { margin-top: 18px; max-width: 38ch; font-size: 15px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(244,241,234,.08); font-size: 14px; }

/* Mobile sticky CTA */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; display: none; transform: translateY(140%); transition: transform 400ms var(--ease-out); padding-bottom: env(safe-area-inset-bottom); }
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { width: 100%; box-shadow: var(--shadow-lg); }

/* ==========================================================================
   Reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__cta .btn { display: none; }
  .hero__inner, .split, .tx, .about, .faq, .contact__inner, .offer { grid-template-columns: 1fr; }
  .pipeline { max-width: 560px; }
  .pipeline__float { left: auto; right: 16px; bottom: -22px; }
  .tabs { grid-template-columns: 1fr; }
  .tablist { grid-template-columns: repeat(2, 1fr); }
  .route { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .route__line { display: none; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .commit { grid-template-columns: 1fr 1fr; }
  .commit div:nth-child(2) { border-right: 0; }
  .commit div:nth-child(-n+2) { border-bottom: 1px solid rgba(244,241,234,.08); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .about__photo { max-width: 460px; }
  .sticky-cta { display: block; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .brand__tag { display: none; }
  .tabpanel { grid-template-columns: 1fr; }
  .tablist { grid-template-columns: 1fr; }
  .route { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .options, .field-row { grid-template-columns: 1fr; }
  .pipeline__stats { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .stat-tile { padding: 10px; }
  .stat-tile strong { font-size: 22px; }
  .feed li { grid-template-columns: 32px 1fr; }
  .feed__icon { width: 32px; height: 32px; }
  .feed .chip { grid-column: 2; justify-self: start; }
  .about__stamp { right: 8px; width: 104px; height: 104px; }
  .compare th, .compare td { padding: 14px 12px; font-size: 14.5px; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__ctas .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__route path { stroke-dashoffset: 0; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__group[aria-hidden="true"] { display: none; }
}

/* ==========================================================================
   Hero network background (from the connected-people photo, inverted)
   ========================================================================== */
.hero__network {
  position: absolute; inset: -4% -4% -4% 20%; pointer-events: none;
  background: url("../img/hero-network.webp") center 40% / cover no-repeat;
  opacity: .42; mix-blend-mode: screen; filter: saturate(.8);
  -webkit-mask-image: radial-gradient(ellipse 60% 65% at 62% 48%, #000 25%, transparent 78%);
          mask-image: radial-gradient(ellipse 60% 65% at 62% 48%, #000 25%, transparent 78%);
  animation: netDrift 30s ease-in-out infinite alternate;
}
@keyframes netDrift { from { transform: scale(1) translate3d(0,0,0); } to { transform: scale(1.06) translate3d(-1.5%, 1%, 0); } }
@media (max-width: 1080px) { .hero__network { inset: 0; opacity: .22; } }

/* ==========================================================================
   Trust badges
   ========================================================================== */
.trust { background: var(--ink-800); border-top: 1px solid var(--line-dark); padding: 28px 0; }
.trust__row { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.badge {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius);
  color: var(--text-on-dark); transition: background var(--dur), transform var(--dur) var(--ease-out);
}
.badge:hover { background: rgba(244,241,234,.04); transform: translateY(-2px); }
.seal { position: relative; width: 56px; height: 56px; flex: none; display: grid; place-items: center; transition: transform 600ms var(--ease-out); }
.badge:hover .seal { transform: rotate(-12deg) scale(1.05); }
.seal > svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 6px 14px rgba(231,182,88,.25)); }
.seal .i { position: relative; width: 22px; height: 22px; color: var(--gold-400); }
.badge b { display: block; font-size: 15px; font-weight: 650; line-height: 1.25; }
.badge small { display: block; font-size: 13px; color: var(--text-on-dark-muted); line-height: 1.35; margin-top: 2px; }
@media (max-width: 1080px) { .trust__row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .trust__row { grid-template-columns: 1fr 1fr; gap: 8px; } .badge { padding: 8px 4px; } .seal { width: 48px; height: 48px; } .badge:last-child { grid-column: 1 / -1; } }

.form-badges { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 16px; padding-top: 16px; border-top: 1px solid var(--line-light); }
.form-badges li { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--text-muted); font-weight: 500; }
.form-badges svg { width: 16px; height: 16px; color: #178A5A; }

/* ==========================================================================
   Multi-page: page headers, breadcrumbs, cards, CTA band
   ========================================================================== */
.mobile-menu a[aria-current="page"] { color: var(--gold-400); }
.h1 { font-size: clamp(40px, 5.6vw, 72px); margin-top: 18px; letter-spacing: -.012em; }
.h1 em { font-style: italic; font-weight: 500; color: var(--gold-400); }
.page-top { padding-top: calc(var(--nav-h) + clamp(40px, 6vw, 80px)); }

.page-hero {
  position: relative; overflow: hidden; color: var(--text-on-dark);
  background:
    radial-gradient(900px 500px at 90% -20%, rgba(231,182,88,.18), transparent 60%),
    radial-gradient(700px 600px at -10% 120%, rgba(27,58,122,.6), transparent 60%),
    linear-gradient(180deg, var(--ink-900), var(--ink-800));
  padding: calc(var(--nav-h) + clamp(40px, 6vw, 80px)) 0 clamp(56px, 7vw, 96px);
}
.page-hero .hero__network { opacity: .2; }
.page-hero__inner { position: relative; max-width: var(--container); }
.page-hero .lede { color: var(--text-on-dark-muted); }
.page-hero .eyebrow { color: var(--gold-400); display: flex; margin-top: 4px; }
.page-hero .hero__ctas { margin-top: 32px; }

.crumbs { margin-bottom: 22px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; font-size: 14px; color: var(--text-on-dark-muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { display: inline-flex; min-height: 32px; align-items: center; transition: color var(--dur); }
.crumbs a:hover { color: var(--gold-300); }
.crumbs [aria-current] { color: var(--text-on-dark); font-weight: 500; }

/* Home: service cards */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc-card {
  display: flex; flex-direction: column; gap: 12px; padding: 28px 24px; border-radius: var(--radius-lg);
  background: var(--cream); border: 1px solid var(--line-light);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur), background var(--dur), border-color var(--dur);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: var(--paper); border-color: transparent; }
.svc-card h3 { font-size: 23px; margin-top: 10px; }
.svc-card p { color: var(--text-muted); font-size: 15.5px; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--gold-700); }
.more svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease-out); }
a:hover > .more svg { transform: translateX(4px); }

/* Home: explore cards */
.explore-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.explore-card {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px 26px; border-radius: var(--radius-lg);
  background: rgba(244,241,234,.035); border: 1px solid var(--line-dark); overflow: hidden;
  transition: transform var(--dur) var(--ease-out), border-color var(--dur), background var(--dur);
}
.explore-card::before { content: ""; position: absolute; width: 240px; height: 240px; right: -120px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(231,182,88,.18), transparent 65%); opacity: 0; transition: opacity 400ms; }
.explore-card:hover { transform: translateY(-4px); border-color: rgba(231,182,88,.5); background: rgba(244,241,234,.06); }
.explore-card:hover::before { opacity: 1; }
.explore-card__num { font-family: var(--font-mono); font-size: 13px; color: var(--gold-300); }
.explore-card__ic { width: 30px; height: 30px; color: var(--gold-400); margin-top: 18px; }
.explore-card h3 { font-size: 24px; margin-top: 6px; }
.explore-card p { color: var(--text-on-dark-muted); font-size: 15.5px; flex: 1; }
.explore-card .more { color: var(--gold-400); margin-top: 8px; }

/* CTA band */
.cta-band { padding-top: 0; }
.section + .cta-band, .section--dark + .cta-band { padding-top: clamp(64px, 8vw, 110px); }
.cta-band__inner {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); color: var(--text-on-dark);
  background: linear-gradient(120deg, var(--ink-700), var(--ink-600)); padding: clamp(32px, 5vw, 64px);
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; box-shadow: var(--shadow-lg);
}
.cta-band__inner::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 300px at 100% 0%, rgba(231,182,88,.25), transparent 60%); }
.cta-band__inner > * { position: relative; min-width: 0; }
.cta-band h2 { font-size: clamp(30px, 3.8vw, 46px); margin-top: 16px; }
.cta-band h2 em { font-style: italic; font-weight: 500; color: var(--gold-400); }
.cta-band p { color: var(--text-on-dark-muted); margin-top: 14px; max-width: 58ch; }
.cta-band .eyebrow { color: var(--gold-400); }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; }

.step-ic { font-family: var(--font-display); font-size: 24px; font-weight: 600; }

@media (max-width: 1080px) {
  .svc-grid, .explore-grid { grid-template-columns: 1fr 1fr; }
  .cta-band__inner { grid-template-columns: 1fr; }
  .cta-band__actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 720px) {
  .svc-grid, .explore-grid { grid-template-columns: 1fr; }
  .cta-band__actions .btn { flex: 1 1 100%; }
}
.contact .eyebrow { color: var(--gold-400); }

/* ==========================================================================
   Solar: market cards + qualification checklist
   ========================================================================== */
.market-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.market-card { padding: 28px 24px; border-radius: var(--radius-lg); background: rgba(244,241,234,.035); border: 1px solid var(--line-dark); transition: border-color var(--dur), transform var(--dur) var(--ease-out); }
.market-card:hover { border-color: rgba(231,182,88,.45); transform: translateY(-3px); }
.market-card > svg { width: 30px; height: 30px; color: var(--gold-400); }
.market-card h3 { font-size: 22px; margin-top: 20px; }
.market-card p { color: var(--text-on-dark-muted); font-size: 15.5px; margin-top: 10px; }
.qual-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.qual-list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line-light); }
.qual-list__ic { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--ink-700); color: var(--gold-400); }
.qual-list__ic svg { width: 20px; height: 20px; }
.qual-list b { display: block; font-weight: 600; }
.qual-list li > span:last-child > span { display: block; color: var(--text-muted); font-size: 15px; margin-top: 2px; }
@media (max-width: 1080px) { .market-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px)  { .market-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Trust & authority: hero stats, founder card, audit, "we speak solar"
   ========================================================================== */
.hero__stats { list-style: none; margin: 36px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hero__stats strong { display: flex; align-items: baseline; gap: 2px; font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 3vw, 40px); line-height: 1; color: var(--gold-400); font-variant-numeric: tabular-nums; }
.hero__stats strong small { font-size: .5em; font-weight: 500; }
.hero__stats span { display: block; margin-top: 8px; font-size: 13.5px; line-height: 1.35; color: var(--text-on-dark-muted); }

.founder-card { display: flex; gap: 16px; align-items: flex-start; margin: 28px 0 0; padding: 18px 20px; border-radius: var(--radius); background: rgba(244,241,234,.05); border: 1px solid var(--line-dark); max-width: 560px; }
.founder-card__avatar { width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(140deg, var(--gold-300), var(--gold-500)); color: var(--ink-800); font-family: var(--font-display); font-size: 22px; font-weight: 600; box-shadow: 0 0 0 3px rgba(231,182,88,.2); overflow: hidden; }
.founder-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.founder-card blockquote { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-on-dark); font-style: italic; }
.founder-card blockquote::before { content: "\201C"; } .founder-card blockquote::after { content: "\201D"; }
.founder-card figcaption { margin-top: 8px; font-size: 13.5px; color: var(--text-on-dark-muted); }
.founder-card figcaption b { color: var(--gold-300); font-weight: 600; }

.audit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.audit-card { padding: 30px 26px; border-radius: var(--radius-lg); background: var(--cream); border: 1px solid var(--line-light); }
.section--dark .audit-card { background: rgba(244,241,234,.035); border-color: var(--line-dark); }
.audit-card__num { font-family: var(--font-mono); font-size: 13px; color: var(--gold-700); }
.section--dark .audit-card__num { color: var(--gold-300); }
.audit-card h3 { font-size: 24px; margin-top: 12px; }
.audit-card .checks { margin-top: 18px; font-size: 15.5px; }
.section--dark .audit-card .checks { color: var(--text-on-dark-muted); }
.audit-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; margin-top: 40px; text-align: center; }
.audit-cta span { font-size: 14px; color: var(--text-muted); }
.section--dark .audit-cta span { color: var(--text-on-dark-muted); }

.speak-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: speak; }
.speak-card { position: relative; padding: 28px 26px 26px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line-light); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur); }
.speak-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.speak-card::before { counter-increment: speak; content: counter(speak, decimal-leading-zero); font-family: var(--font-mono); font-size: 12.5px; color: var(--gold-700); }
.speak-card h3 { font-size: 22px; margin-top: 10px; }
.speak-card p { color: var(--text-muted); font-size: 15.5px; margin-top: 10px; }
.assurances { list-style: none; padding: 22px 26px; margin: 32px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; border-radius: var(--radius-lg); background: var(--ink-700); color: var(--text-on-dark); }
.assurances li { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15.5px; }
.assurances svg { width: 20px; height: 20px; color: var(--gold-400); }

@media (max-width: 1080px) {
  .audit-grid, .speak-grid { grid-template-columns: 1fr 1fr; }
  .hero__stats { max-width: 560px; }
}
@media (max-width: 720px) {
  .audit-grid, .speak-grid { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .assurances { justify-content: flex-start; }
}

/* ==========================================================================
   Founder
   ========================================================================== */
.founder-card figcaption a { color: var(--gold-300); text-decoration: underline; text-underline-offset: 3px; }
.founder-card figcaption a:hover { color: var(--gold-400); }
.founder-card__avatar picture, .founder-card__avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.founder__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.founder__grid > * { min-width: 0; }
.founder__photo { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3 / 4; }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; }
.founder__photo figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 14px 18px; border-radius: var(--radius); background: rgba(7,20,46,.84); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--text-on-dark); border: 1px solid var(--line-dark); }
.founder__photo figcaption b { display: block; font-family: var(--font-display); font-size: 21px; font-weight: 600; }
.founder__photo figcaption span { font-size: 14px; color: var(--text-on-dark-muted); }
.founder__story { display: grid; gap: 16px; margin-top: 22px; max-width: 60ch; }
.founder__story p { font-size: clamp(17px, 1.4vw, 19px); color: var(--text-muted); }
.verse { margin: 28px 0 0; padding: 22px 26px; border-left: 3px solid var(--gold-500); border-radius: 0 var(--radius) var(--radius) 0; background: var(--cream); }
.verse p { font-family: var(--font-display); font-style: italic; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; color: var(--ink-700); }
.verse cite { display: block; margin-top: 8px; font-style: normal; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-700); }
.signature__avatar--photo { overflow: hidden; padding: 0; box-shadow: 0 0 0 3px rgba(231,182,88,.35); }
.signature__avatar--photo img { width: 100%; height: 100%; object-fit: cover; }
.signature a { color: var(--gold-700); }
@media (max-width: 1080px) { .founder__grid { grid-template-columns: 1fr; } .founder__photo { max-width: 440px; } }

/* ==========================================================================
   Always-visible quick links (Services · How it works · About)
   ========================================================================== */
.nav__quick { display: none; }
@media (max-width: 1080px) and (min-width: 721px) {
  .nav__links { display: flex; }
  .nav__links .nav__more { display: none; }
  .nav__links a { padding: 0 12px; }
  .nav__inner > nav { margin-left: auto; }
  .nav__inner { gap: 12px; }
}
@media (max-width: 720px) {
  :root { --nav-h: 118px; }
  .nav, .nav.is-scrolled { height: auto; flex-direction: column; align-items: stretch; }
  .nav__inner { height: 64px; }
  .nav__quick { display: block; border-top: 1px solid rgba(244,241,234,.08); background: rgba(7,20,46,.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .nav.is-scrolled .nav__quick { background: transparent; }
  .nav__quick .container { display: flex; gap: 6px; padding-top: 5px; padding-bottom: 5px; }
  .nav__quick a {
    flex: 1; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px;
    font-size: 14.5px; font-weight: 500; color: var(--text-on-dark-muted); white-space: nowrap;
    transition: color var(--dur), background var(--dur);
  }
  .nav__quick a:hover { color: var(--text-on-dark); background: rgba(244,241,234,.07); }
  .nav__quick a[aria-current="page"] { color: var(--ink-800); background: var(--gold-400); font-weight: 600; }
}

/* ==========================================================================
   USA coverage map
   ========================================================================== */
.usa-wrap { margin-top: clamp(32px, 5vw, 56px); }
.usa { width: 100%; height: auto; overflow: visible; display: block; }
.usa-land { fill: url(#usaFill); stroke: rgba(231,182,88,.45); stroke-width: 1.2; stroke-linejoin: round; }
.usa-tx { fill: rgba(231,182,88,.16); stroke: var(--gold-400); stroke-width: 1.4; stroke-linejoin: round; }
.usa-lakes path { fill: var(--ink-800); }
.usa-mesh path { fill: none; stroke: rgba(247,218,152,.32); stroke-width: 1; stroke-dasharray: 2 4; }
.usa-hubs path { fill: none; stroke: var(--gold-400); stroke-width: 1.6; stroke-linecap: round; opacity: .75; stroke-dasharray: 6 8; animation: dash 20s linear infinite; }
.usa-pulse { fill: var(--gold-300); filter: drop-shadow(0 0 4px rgba(247,218,152,.9)); }
.usa-hq { fill: var(--gold-300); font: 600 11px var(--font-body); letter-spacing: .22em; }
.usa .city text { font-size: 14px; }
.usa .city .lbl { opacity: 0; transition: opacity var(--dur); }
.usa .city .lbl--show, .usa .city:hover .lbl, .usa .city:focus-visible .lbl, .usa .city.is-active .lbl { opacity: 1; }
.usa .city.is-active text { fill: var(--gold-300); }
.usa .city--hq circle.core { fill: var(--gold-300); stroke: var(--ink-800); stroke-width: 2; }
.usa .city:hover circle.core, .usa .city:focus-visible circle.core, .usa .city.is-active circle.core { r: 8; }

.usa-legend { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 18px 0 0; padding: 0; font-size: 14px; color: var(--text-on-dark-muted); }
.usa-legend li { display: inline-flex; align-items: center; gap: 10px; }
.usa-legend i { display: inline-block; flex: none; }
.lg-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 0 4px rgba(231,182,88,.18); }
.lg-route { width: 28px; height: 0; border-top: 2px dashed var(--gold-400); }
.lg-tx { width: 16px; height: 12px; border-radius: 3px; background: rgba(231,182,88,.16); border: 1.5px solid var(--gold-400); }

.usa-panel { display: grid; grid-template-columns: 1.35fr .65fr; gap: 24px; margin-top: 36px; align-items: start; }
.usa-panel > * { min-width: 0; }
.usa-picker { display: grid; gap: 10px; }
.usa-picker label { font-weight: 600; color: var(--text-on-dark); }
.usa-select {
  width: 100%; min-height: 52px; padding: 0 44px 0 16px; border-radius: 14px; font-size: 16px; cursor: pointer;
  color: var(--text-on-dark); background: rgba(244,241,234,.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23E7B658' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1px solid rgba(244,241,234,.18); -webkit-appearance: none; appearance: none; transition: border-color var(--dur);
}
.usa-select:hover, .usa-select:focus { border-color: var(--gold-400); outline: none; }
.usa-select option, .usa-select optgroup { color: var(--ink-800); background: #fff; }
.usa-picker .expansion { margin-top: 8px; }
.hq-chip { display: inline-block; vertical-align: middle; margin-left: 10px; font-family: var(--font-body); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--gold-400); color: var(--ink-800); letter-spacing: .02em; }

@media (max-width: 1080px) { .usa-panel { grid-template-columns: 1fr; } .usa-picker { order: -1; } }
@media (max-width: 720px) {
  .usa .city .lbl--show { opacity: 0; }
  .usa .city.is-active .lbl { opacity: 1; font-size: 30px; }
  .usa .city circle.core { r: 9; }
  .usa .city--hq circle.core { r: 11; }
  .usa .city.is-active circle.core { r: 13; }
  .usa-hq { font-size: 15px; }
  .usa-legend { justify-content: flex-start; }
}

/* ==========================================================================
   Featured service: Solar Website & SEO (step one)
   ========================================================================== */
.svc-feature {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 8px 24px; align-items: center;
  padding: 30px 30px 28px; border-radius: var(--radius-lg); overflow: hidden; color: var(--text-on-dark);
  background: linear-gradient(120deg, var(--ink-700), var(--ink-600)); box-shadow: var(--shadow);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur);
}
.svc-feature::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(500px 240px at 100% 0%, rgba(231,182,88,.22), transparent 60%); }
.svc-feature > * { position: relative; }
.svc-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.svc-feature__step { grid-column: 1 / -1; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; color: var(--gold-300); }
.svc-feature .tab__ic { width: 56px; height: 56px; background: rgba(231,182,88,.14); color: var(--gold-400); }
.svc-feature .tab__ic svg { width: 26px; height: 26px; }
.svc-feature h3 { font-size: clamp(24px, 2.4vw, 30px); }
.svc-feature p { color: var(--text-on-dark-muted); margin-top: 8px; max-width: 70ch; font-size: 16px; }
.svc-feature .more { color: var(--gold-400); }
.svc-then { margin: 28px 0 16px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); display: flex; align-items: center; gap: 12px; }
.svc-then::after { content: ""; flex: 1; height: 1px; background: var(--line-light); }
@media (max-width: 720px) {
  .svc-feature { grid-template-columns: 1fr; padding: 24px 22px; }
  .svc-feature .more { margin-top: 6px; }
}
