/* ============================================================
   STOCK & SOLD — The Digital Forecourt
   Design tokens. Every visual value lives here.
   ============================================================ */

@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/anton.woff2') format('woff2');
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/archivo-var.woff2') format('woff2');
}

:root {
  /* color roles */
  --surface: #0b0d12;
  --surface-2: #12151d;
  --surface-3: #1a1e28;
  --ink: #f4f1ea;
  --muted: #9ba1ac;
  --faint: #7d8590;
  --accent: #f5a524;
  --accent-deep: #c47f0e;
  --accent-ink: #201503;
  --signal: #4fd9e0;
  --signal-deep: #123a3d;
  --line: rgba(244, 241, 234, 0.12);
  --line-strong: rgba(244, 241, 234, 0.24);
  --amber-glow: rgba(245, 165, 36, 0.32);
  --cyan-glow: rgba(79, 217, 224, 0.22);

  /* type */
  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Archivo', 'Helvetica Neue', sans-serif;

  /* 8-pt spacing scale */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 8rem;

  /* radii + shadow language */
  --radius-s: 4px;
  --radius: 10px;
  --shadow-card: 0 24px 48px -28px rgba(0, 0, 0, 0.75);
  --shadow-lift: 0 32px 64px -28px rgba(0, 0, 0, 0.85);

  /* motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 0.28s;

  /* layout */
  --container: 76rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --nav-h: 4.5rem;
}

/* ============ reset / base ============ */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: clip;
}

/* The WebGL canvas sits behind everything. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(120% 90% at 50% 0%, #10141d 0%, var(--surface) 62%);
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, canvas, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  top: -100%;
  left: var(--space-2);
  z-index: 200;
  padding: var(--space-1) var(--space-2);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  border-radius: var(--radius-s);
  transition: top var(--dur) var(--ease-out);
}
.skip-link:focus-visible { top: var(--space-2); }

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

/* ============ WebGL layer + fallback scene ============ */

#gl {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Static forecourt used when WebGL is unavailable or reduced motion is on. */
.forecourt-fallback {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: none;
  overflow: hidden;
  background: linear-gradient(180deg, #0d1220 0%, #0b0d12 55%, #0b0d12 100%);
}
html.no-webgl .forecourt-fallback,
html.reduced-motion .forecourt-fallback { display: block; }
html.no-webgl #gl,
html.reduced-motion #gl { display: none; }

.forecourt-fallback svg { width: 100%; height: 100%; }

/* ============ shared layout utilities ============ */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  z-index: 1;
  background: var(--surface);
  padding-block: var(--space-7);
}

[id] { scroll-margin-top: calc(var(--nav-h) + 0.5rem); }

.section--tight { padding-block: var(--space-6); }

/* A vista is a transparent window that lets the 3D forecourt show through. */
.vista {
  position: relative;
  z-index: 1;
  background: transparent;
  min-height: 72svh;
  display: grid;
  place-items: center;
  padding: var(--space-6) var(--gutter);
  text-align: center;
}

.vista__inner { max-width: 46rem; }

.vista__line {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.01em;
  font-size: clamp(2.6rem, 7.5vw, 6rem);
  color: var(--ink);
  text-wrap: balance;
}

.vista__line em {
  font-style: normal;
  color: var(--accent);
}

.vista__sub {
  margin-top: var(--space-3);
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 34rem;
  margin-inline: auto;
  text-wrap: pretty;
}

/* Eyebrow / lot tag — the page is a walk down the lots. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: '';
  width: 1.75rem;
  height: 2px;
  background: var(--accent);
}

.section__head { max-width: 44rem; margin-bottom: var(--space-6); }

.section__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2.4rem, 5.5vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  margin-top: var(--space-3);
  text-wrap: balance;
}

.section__lede {
  margin-top: var(--space-3);
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 36rem;
  text-wrap: pretty;
}

/* ============ buttons ============ */

.btn {
  --btn-bg: var(--accent);
  --btn-ink: var(--accent-ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 1em 1.7em;
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-s);
  box-shadow: 0 10px 30px -12px var(--amber-glow);
  transition:
    box-shadow var(--dur) var(--ease-out),
    background var(--dur) var(--ease-out);
  will-change: transform;
}

.btn svg { width: 1.1em; height: 1.1em; }

.btn:hover {
  background: #ffb937;
  box-shadow: 0 14px 40px -12px var(--amber-glow);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-ink: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.btn--ghost:hover {
  background: var(--surface-3);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.btn--ink {
  --btn-bg: var(--ink);
  --btn-ink: #10121a;
  box-shadow: none;
}
.btn--ink:hover { background: #ffffff; box-shadow: none; }

/* ============ intro (forecourt sign powering up) ============ */

.intro {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background: var(--surface);
  transition: transform 0.6s var(--ease-inout), visibility 0s linear 0.6s;
}

.intro.is-done {
  transform: translateY(-100%);
  visibility: hidden;
}

.intro__sign {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.6rem, 5vw, 3rem);
  letter-spacing: 0.06em;
  color: var(--ink);
  display: flex;
  gap: 0.35em;
}

.intro__sign span {
  opacity: 0;
  animation: sign-on 0.42s var(--ease-out) forwards;
  animation-delay: calc(var(--i) * 65ms);
}

.intro__sign span.amber { color: var(--accent); }

@keyframes sign-on {
  0% { opacity: 0; }
  35% { opacity: 1; }
  50% { opacity: 0.25; }
  100% { opacity: 1; }
}

/* ============ navigation ============ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: transform 0.35s var(--ease-out), background 0.35s var(--ease-out);
}

.nav.is-hidden { transform: translateY(-100%); }

.nav.is-scrolled {
  background: rgba(11, 13, 18, 0.92);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

.brand svg { width: 1.6rem; height: 1.6rem; color: var(--accent); }
.brand .amp { color: var(--accent); margin-inline: 0.1em; }

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--dur) var(--ease-out);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}

.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta { padding: 0.7em 1.2em; font-size: 0.9rem; }

.nav__toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  position: relative;
  z-index: 130;
}

.nav__toggle span {
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease-out), top 0.3s var(--ease-out);
}

.nav__toggle span:nth-child(1) { top: 1.05rem; }
.nav__toggle span:nth-child(2) { top: 1.65rem; }

body.menu-open .nav__toggle span:nth-child(1) { top: 1.35rem; transform: rotate(45deg); }
body.menu-open .nav__toggle span:nth-child(2) { top: 1.35rem; transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--surface);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-out), visibility 0s linear 0.3s;
}

body.menu-open .menu {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s var(--ease-out);
}

/* keep the toggle (and its X) above the overlay */
body.menu-open .nav { z-index: 115; }
body.menu-open .nav__cta,
body.menu-open .nav .brand { visibility: hidden; }

.menu__brand {
  position: absolute;
  top: calc((var(--nav-h) - 1.6rem) / 2);
  left: var(--gutter);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.menu__brand .amp { color: var(--accent); }

.menu__links {
  display: grid;
  gap: var(--space-2);
  text-align: center;
}

.menu__links a {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2rem, 9vw, 3.4rem);
  line-height: 1.1;
  color: var(--ink);
}

.menu__links a:hover { color: var(--accent); }

.menu__phone {
  margin-top: var(--space-4);
  color: var(--muted);
  font-size: 1rem;
}
.menu__phone a { color: var(--accent); font-weight: 600; }

/* ============ hero ============ */

.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + var(--space-4)) var(--gutter) var(--space-4);
}

/* quieten the tarmac behind the headline so the type always wins */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 60% at 22% 88%, rgba(11, 13, 18, 0.82), transparent 70%),
    linear-gradient(180deg, transparent 34%, rgba(11, 13, 18, 0.68) 82%);
  pointer-events: none;
}

@media (max-width: 48rem) {
  .hero::before {
    background:
      radial-gradient(120% 55% at 50% 78%, rgba(11, 13, 18, 0.92), transparent 75%),
      linear-gradient(180deg, rgba(11, 13, 18, 0.4) 0%, transparent 26%, rgba(11, 13, 18, 0.92) 62%);
  }

  .cta::before {
    background:
      radial-gradient(120% 55% at 30% 38%, rgba(11, 13, 18, 0.92), transparent 78%),
      linear-gradient(180deg, rgba(11, 13, 18, 0.55), transparent 35%, rgba(11, 13, 18, 0.7));
  }

  .cta__phone {
    background: var(--surface);
    border-radius: var(--radius-s);
    padding: var(--space-2);
    width: max-content;
  }
}

.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
}

.hero__eyebrow { margin-bottom: var(--space-3); }

.hero__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.005em;
  font-size: clamp(3.2rem, 10.4vw, 9.5rem);
}

.hero__title .h-line {
  display: block;
  overflow: hidden;
  padding-block: 0.04em;
}

.hero__title .h-inner {
  display: block;
  transform: translateY(112%);
  transition: transform 0.9s var(--ease-out);
  transition-delay: calc(var(--i) * 90ms + 0.15s);
}

body.is-ready .hero__title .h-inner { transform: translateY(0); }

.hero__title .t-online { color: var(--signal); }
.hero__title .t-sold { color: var(--accent); }

.hero__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
}

.hero__lede {
  max-width: 32rem;
  color: var(--muted);
  font-size: 1.1rem;
  text-wrap: pretty;
}

.hero__lede strong { color: var(--ink); font-weight: 600; }

.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
  color: var(--faint);
  font-size: 0.85rem;
}

.hero__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); }

.hero__meta a { color: var(--muted); font-weight: 600; }
.hero__meta a:hover { color: var(--accent); }

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: var(--space-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  color: var(--faint);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.scroll-cue::after {
  content: '';
  width: 1px;
  height: 3.5rem;
  background: linear-gradient(var(--accent), transparent);
  animation: cue 1.8s var(--ease-inout) infinite;
}

@keyframes cue {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============ ticker (forecourt LED board) ============ */

.ticker {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding-block: var(--space-2);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 36s linear infinite;
}

.ticker__track span {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  margin-right: var(--space-4);
}

.ticker__track span::after {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  transform: rotate(45deg);
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ============ how it works ============ */

.how { border-top: 1px solid var(--line); }

.how__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-6);
  align-items: start;
}

.how__sticky { position: sticky; top: calc(var(--nav-h) + var(--space-4)); }

.steps { display: grid; }

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3) var(--space-4);
  padding-block: var(--space-4);
  border-top: 1px solid var(--line);
}

.step:last-child { border-bottom: 1px solid var(--line); }

.step__num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
}

.step h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-1);
}

.step p { color: var(--muted); max-width: 30rem; text-wrap: pretty; }

/* ============ features: the spec-sheet wall ============ */

.features { position: relative; }

.features__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-3);
  position: relative;
}

/* paper spec-sheet cards on the dark forecourt */
.card {
  position: relative;
  background: var(--ink);
  color: #14161d;
  border-radius: var(--radius-s);
  padding: var(--space-3);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  overflow: hidden;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.card:hover {
  transform: translateY(-6px) rotate(-0.4deg);
  box-shadow: var(--shadow-lift);
}

.card:hover::before { transform: scaleX(1); }

.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.card__num {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: #9a6208;
}

.card__icon { width: 2rem; height: 2rem; color: #14161d; }
.card__icon svg { width: 100%; height: 100%; }

.card h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.card p { font-size: 0.95rem; color: rgba(20, 22, 29, 0.72); text-wrap: pretty; }

.card--wide { grid-column: span 7; }
.card--mid { grid-column: span 5; }
.card--third { grid-column: span 4; }

/* registration-plate motif on the part-exchange card */
.plate {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  margin-top: auto;
  padding: 0.3em 0.6em;
  border: 2px solid #14161d;
  border-radius: var(--radius-s);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 0.9rem;
  width: max-content;
  background:
    linear-gradient(90deg, var(--signal) 0 2.1em, transparent 2.1em);
  padding-left: 2.6em;
}

.features__foot {
  margin-top: var(--space-4);
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 40rem;
}

/* spotlight that follows the cursor across the wall */
.features__grid::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    22rem 22rem at var(--mx, 50%) var(--my, 0%),
    var(--amber-glow),
    transparent 70%
  );
  opacity: var(--spot, 0);
  transition: opacity 0.4s var(--ease-out);
  mix-blend-mode: screen;
}

/* ============ pricing: the price board ============ */

.board-wrap { display: grid; place-items: center; }

.board {
  width: min(100%, 62rem);
  background: var(--surface-2);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 40px 90px -40px var(--amber-glow),
    var(--shadow-lift);
  overflow: hidden;
  text-align: left;
}

.board__strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  background: var(--accent);
  color: var(--accent-ink);
  padding: var(--space-1) var(--space-3);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.board__strip .price-note { font-family: var(--font-body); font-weight: 700; letter-spacing: 0; font-size: 0.8rem; }

.board__body {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-4);
  padding: var(--space-4) var(--space-4) var(--space-3);
}

.board__price { display: flex; flex-direction: column; justify-content: center; }

.board__amount {
  font-family: var(--font-display);
  font-size: clamp(5rem, 13vw, 9.5rem);
  line-height: 0.9;
  color: var(--ink);
}

.board__amount sup {
  font-size: 0.42em;
  vertical-align: super;
  color: var(--accent);
}

.board__per { color: var(--muted); margin-top: var(--space-1); font-size: 1.05rem; }

.board__list { display: grid; gap: 0; }

.board__list li {
  display: flex;
  gap: var(--space-1);
  align-items: baseline;
  padding-block: 0.55rem;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
  color: var(--ink);
}

.board__list li:first-child { border-top: 0; }

.board__list svg {
  width: 1rem;
  height: 1rem;
  flex: none;
  color: var(--accent);
  transform: translateY(2px);
}

.board__offer {
  margin: 0 var(--space-4) var(--space-4);
  padding: var(--space-2) var(--space-3);
  border: 1.5px dashed var(--accent);
  border-radius: var(--radius-s);
  color: var(--muted);
  font-size: 0.92rem;
}

.board__offer strong { color: var(--accent); font-weight: 600; }

.board__cta {
  padding: 0 var(--space-4) var(--space-4);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.board__guarantee { color: var(--faint); font-size: 0.85rem; }

/* ============ FAQ ============ */

.faq { border-top: 1px solid var(--line); }

.faq__list { max-width: 52rem; }

.faq__item { border-top: 1px solid var(--line); }

.faq__item:last-child { border-bottom: 1px solid var(--line); }

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-3);
  text-align: left;
}

.faq__q .q-text {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  font-weight: 600;
  font-size: 1.12rem;
}

.faq__q .q-num {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 0.95rem;
}

.faq__icon {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  position: relative;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--accent);
  transition: transform 0.3s var(--ease-out);
}

.faq__icon::before { width: 100%; height: 2px; }
.faq__icon::after { width: 2px; height: 100%; }

.faq__item.is-open .faq__icon::after { transform: rotate(90deg); }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease-inout);
}

.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

.faq__a > div { overflow: hidden; }

.faq__a p {
  color: var(--muted);
  max-width: 42rem;
  padding-bottom: var(--space-3);
  text-wrap: pretty;
}

/* ============ CTA / form ============ */

.cta { min-height: 92svh; align-content: center; }

/* keep the finale copy legible over the last stretch of tarmac */
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 60% at 24% 42%, rgba(11, 13, 18, 0.85), transparent 72%),
    linear-gradient(180deg, rgba(11, 13, 18, 0.5), transparent 35%, rgba(11, 13, 18, 0.6));
  pointer-events: none;
}

.cta__panel {
  position: relative;
}

.cta__panel {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-5);
  align-items: start;
  text-align: left;
}

.cta__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.95;
  margin-top: var(--space-3);
  text-wrap: balance;
}

.cta__title em { font-style: normal; color: var(--accent); }

.cta__lede { margin-top: var(--space-3); color: var(--muted); max-width: 30rem; font-size: 1.1rem; }

.cta__phone {
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.cta__phone .label { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }

.cta__phone a {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--ink);
  width: max-content;
  border-bottom: 3px solid var(--accent);
  transition: color var(--dur) var(--ease-out);
}

.cta__phone a:hover { color: var(--accent); }

.cta__phone-alt {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-1);
}

.cta__phone-alt a {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  border-bottom: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta__phone-alt a:hover { color: var(--accent); }

.icon-link { display: inline-flex; align-items: center; gap: 0.45em; }
.icon-wa, .icon-mail { width: 1.6em; height: 1.6em; flex-shrink: 0; }

.form {
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: var(--space-4);
  box-shadow: var(--shadow-lift);
}

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }

.field { display: grid; gap: var(--space-1); margin-bottom: var(--space-3); }

.field label { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

.field label .req { color: var(--accent); }

.field input,
.field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  padding: 0.6em 0.1em;
  color: var(--ink);
  border-radius: 0;
  transition: border-color var(--dur) var(--ease-out);
}

.field textarea { resize: vertical; min-height: 4.5rem; }

.field input::placeholder,
.field textarea::placeholder { color: var(--faint); }

.field input:focus,
.field textarea:focus { border-bottom-color: var(--accent); }

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.field.has-error input,
.field.has-error textarea { border-bottom-color: #e5484d; }

.field .error-msg {
  display: none;
  color: #e5484d;
  font-size: 0.82rem;
}

.field.has-error .error-msg { display: block; }

.form__note { color: var(--faint); font-size: 0.85rem; margin-top: var(--space-2); }

.form__success {
  display: none;
  padding: var(--space-3);
  border: 1.5px dashed var(--signal);
  border-radius: var(--radius-s);
  color: var(--ink);
  margin-top: var(--space-3);
}

.form__success strong { color: var(--signal); }

.form__fail {
  display: none;
  padding: var(--space-3);
  border: 1.5px dashed var(--accent);
  border-radius: var(--radius-s);
  color: var(--ink);
  margin-top: var(--space-3);
}

.form__fail strong { color: var(--accent); }

/* ============ footer ============ */

.footer {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: var(--space-5) 0 var(--space-3);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
  gap: var(--space-4);
}

.footer .brand { font-size: 1.5rem; }

.footer__blurb { margin-top: var(--space-2); color: var(--muted); font-size: 0.95rem; max-width: 24rem; }

.footer h4 {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: var(--space-2);
}

.footer__links { display: grid; gap: var(--space-1); }

.footer__links a { color: var(--muted); font-size: 0.95rem; width: max-content; }
.footer__links a:hover { color: var(--accent); }

.footer__contact { display: grid; gap: var(--space-1); }
.footer__contact a { color: var(--ink); font-weight: 600; font-size: 1.15rem; width: max-content; }
.footer__contact a:hover { color: var(--accent); }

.footer__contact p { color: var(--muted); font-size: 0.95rem; margin-top: var(--space-1); }

.footer__base {
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2);
  color: var(--faint);
  font-size: 0.85rem;
}

.footer__credits {
  margin: var(--space-2) auto 0;
  max-width: 78ch;
  text-align: center;
  color: var(--faint);
  font-size: 0.75rem;
  line-height: 1.7;
}

.footer__credits a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__credits a:hover,
.footer__credits a:focus-visible {
  color: var(--accent);
}

/* ============ reveal system ============ */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

[data-reveal].is-in { opacity: 1; transform: none; }

/* ============ custom cursor ============ */

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 150;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
}

body.has-cursor .cursor-dot,
body.has-cursor .cursor-ring { opacity: 1; }

body.has-cursor, body.has-cursor a, body.has-cursor button,
body.has-cursor label { cursor: none; }
body.has-cursor input, body.has-cursor textarea { cursor: text; }

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  transform: translate(-50%, -50%);
}

.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(244, 241, 234, 0.55);
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
  mix-blend-mode: difference;
}

body.cursor-hover .cursor-ring {
  transform: translate(-50%, -50%) scale(1.7);
  border-color: var(--accent);
}

body.cursor-down .cursor-ring { transform: translate(-50%, -50%) scale(0.8); }

/* ============ responsive ============ */

@media (max-width: 60rem) {
  .how__grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .how__sticky { position: static; }
  .board__body { grid-template-columns: 1fr; gap: var(--space-3); }
  .cta__panel { grid-template-columns: 1fr; gap: var(--space-4); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 48rem) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav .nav__cta { display: none; }

  .card--wide, .card--mid, .card--third { grid-column: span 12; }
  .features__grid { gap: var(--space-2); }

  .hero__grid { flex-direction: column; align-items: flex-start; }
  .scroll-cue { display: none; }

  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .vista { min-height: 60svh; }
}

@media (max-width: 26rem) {
  .step { grid-template-columns: 1fr; }
  .step__num { font-size: 2.2rem; }
}

/* ============ reduced motion ============ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .ticker__track { animation: none; width: auto; flex-wrap: wrap; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__title .h-inner { transform: none; }
  .intro { display: none; }
}

/* ---- ALTCHA spam check + asset attribution (added 2026-09-20) ---- */
altcha-widget {
  --altcha-color-base: var(--surface-2);
  --altcha-color-border: var(--line-strong);
  --altcha-color-text: var(--ink);
  --altcha-color-border-focus: var(--accent);
  --altcha-border-radius: 10px;
  --altcha-max-width: 100%;
  display: block;
  margin-bottom: var(--space-2);
}
.form__noscript { font-size: 0.85rem; color: var(--muted); }
.credit--models {
  flex-basis: 100%;
  margin-top: var(--space-2);
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--faint);
}
.credit--models a { color: inherit; text-decoration: underline; }
.credit--models a:hover, .credit--models a:focus-visible { color: var(--ink); }
