@import url("../assets/fonts/fonts.css");

:root {
  --stage: #1b1613;
  --stage-2: #241d19;
  --stage-3: #2e2521;
  --cream: #f4eee4;
  --cream-2: #ebe3d6;
  --cream-3: #e1d7c8;
  --ink: #1b1613;
  --ink-soft: #6a5d54;
  --ink-mute: #74675d;
  --paper: #f4eee4;
  --paper-soft: #b8aa9c;
  --paper-mute: #7f7167;
  --fire: #e4572e;
  --fire-soft: #f0a184;
  --fire-on-card: #ec6a43; /* small fire text on the #2a231f cards: 4.9:1 (--fire is 4.2:1) */
  --pass: #2a6b33; /* Pass on the cream audit rows: 5.1:1 */
  --fix: #a83a1a; /* Fix on the cream audit rows: 5.0:1 */
  --plate: rgba(27, 22, 19, 0.82); /* dark backing for small type over the painted sky */
  --line: rgba(27, 22, 19, 0.12);
  --line-paper: rgba(244, 238, 228, 0.14);
  --nav: 68px;
  --radius: 18px;
  --radius-s: 12px;
  --display: "Archivo", system-ui, -apple-system, sans-serif;
  --text: "Geist", system-ui, -apple-system, sans-serif;
  --rise: 24px;
  --par-back: 0.55;
  --par-mid: 0.42;
  --par-obj: 0.3;
  --par-front: -0.12;
  --wrap: 1200px;
  --gutter: 24px;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --rise: 12px;
    --par-back: 0.28;
    --par-mid: 0.21;
    --par-obj: 0.15;
    --par-front: -0.04;
  }
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis { scroll-behavior: auto; } /* Lenis drives the smoothing; no double easing */

body {
  margin: 0;
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -0.022em; line-height: 1.05; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

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

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav);
  display: flex;
  align-items: center;
  color: var(--paper);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.nav.is-scrolled { background: rgba(27, 22, 19, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav.is-light { color: var(--ink); }
.nav.is-light.is-scrolled { background: rgba(244, 238, 228, 0.86); }
.nav.is-light .btn-paper { background: var(--ink); color: var(--paper); }
.nav.is-light .btn-paper:hover { background: #000; }
.nav .wrap { display: flex; align-items: center; gap: 28px; }
.brand { font-family: var(--display); font-weight: 700; letter-spacing: 0.18em; font-size: 14px; }
.nav-links { display: flex; gap: 26px; margin-left: 12px; font-size: 14px; }
.nav-links a { opacity: 0.78; transition: opacity 0.2s; display: inline-flex; align-items: center; min-height: 44px; }
.nav-links a:hover { opacity: 1; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  position: relative;
}
.nav-toggle-icon {
  position: absolute;
  left: 13px;
  top: 21px;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}
.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after { top: 6px; }
.nav.is-open .nav-toggle-icon { background: transparent; }
.nav.is-open .nav-toggle-icon::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav-toggle-icon::after { top: 0; transform: rotate(-45deg); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 14px; }
.lang-switch { display: flex; align-items: center; gap: 0; font-family: var(--display); font-size: 13px; font-weight: 650; letter-spacing: 0.08em; }
.lang-switch a { opacity: 0.5; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.lang-switch a[aria-current="page"] { opacity: 1; }
.lang-switch a:hover { opacity: 1; }
/* Sticky bottom CTA: phones only, shown by js once the hero button has scrolled away. */
.sticky-cta { display: none; }
@media (max-width: 480px) {
  .nav-right .btn { display: none; }
  .footer .right a { min-height: 44px; display: inline-flex; align-items: center; }
  .hero .btn-fire { min-height: 48px; }
  .btn { min-height: 44px; }
  .nav .brand { display: inline-flex; align-items: center; min-height: 44px; }
  .sticky-cta {
    display: flex;
    align-items: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    height: calc(64px + env(safe-area-inset-bottom));
    padding: 0 var(--gutter) env(safe-area-inset-bottom);
    background: var(--stage);
    border-top: 1px solid var(--line-paper);
    transform: translateY(100%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0s linear 0.25s;
  }
  .sticky-cta.is-on { transform: translateY(0); visibility: visible; transition: transform 0.25s ease, visibility 0s; }
  .sticky-cta .btn { width: 100%; min-height: 48px; }
}
@media (max-width: 480px) and (prefers-reduced-motion: reduce) {
  .sticky-cta,
  .sticky-cta.is-on { transition: none; }
}
/* The full name needs 172 px at 14 px; one size down keeps it on one line on 360 px phones. */
@media (max-width: 374px) {
  .nav .brand { font-size: 13px; }
}
.nav-phone { opacity: 0.78; white-space: nowrap; }
.nav-phone:hover { opacity: 1; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  min-height: 44px; /* WCAG 2.5.8 hit area at every width (was 41 px on desktop) */
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: #fff; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #000; }
.btn-fire { background: #C2410C; color: #fff; }
.btn-fire:hover { background: #9A3412; }
.btn-ghost { border-color: currentColor; background: transparent; }
.nav .btn { padding: 10px 16px; font-size: 14px; }

/* ---------- Stage sections ---------- */

.stage { background: var(--stage); color: var(--paper); }
.stage .muted { color: var(--paper-soft); }
.cream { background: var(--stage-2); color: var(--paper); }
.cream .muted { color: var(--paper-soft); }
.cream-2 { background: var(--stage); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-paper);
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--paper-soft);
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--fire); }
.cream .pill { border-color: var(--line-paper); color: var(--paper-soft); }

/* ---------- Enter motion ---------- */

[data-rise] {
  opacity: 0;
  transform: translateY(var(--rise));
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0ms);
}
[data-rise].is-in { opacity: 1; transform: none; }

[data-settle] {
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0ms);
}
[data-settle].is-in { opacity: 1; transform: none; }

[data-lift] {
  opacity: 0;
  transform: translateY(64px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0ms);
}
[data-lift].is-in { opacity: 1; transform: none; }

/* Without the script (blocked, failed, or off) the copy shows at rest. The <noscript> style in
   each page covers JavaScript off; html.no-js is set when js/site.js fails to load. */
.no-js [data-rise],
.no-js [data-settle],
.no-js [data-lift] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-settle] { transform: scale(1.03); }
  [data-lift] { transform: translateY(20px); }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  min-height: max(100svh, 720px);
  overflow: hidden;
  isolation: isolate;
}
.hero-air {
  position: relative;
  z-index: 5;
  padding-top: calc(var(--nav) + clamp(36px, 7vh, 80px));
  text-align: center;
}
.hero-air .pill { margin-bottom: 26px; max-width: 100%; white-space: normal; line-height: 1.35; }
.hero-air .pill span { min-width: 0; }
.hero h1 {
  font-size: clamp(40px, 4.9vw, 68px);
  max-width: 17ch;
  margin-inline: auto;
}
.hero .lede {
  margin: 22px auto 0;
  max-width: 44ch;
  font-size: clamp(17px, 1.3vw, 20px);
  color: var(--paper-soft);
}
.hero-note,
.hero-offer {
  margin: 14px auto 0;
  max-width: 46ch;
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.5;
  color: var(--paper-soft);
}
.hero-offer { color: var(--paper); }
.work-strip {
  margin: 16px auto 0;
  max-width: 42ch;
  font-size: 14px;
  line-height: 1.45;
  color: var(--paper-soft);
  text-shadow: 0 1px 14px rgba(27, 22, 19, 0.7);
}
.hero .cta {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
}
.link-phone { font-size: 15px; color: var(--paper-soft); border-bottom: 1px solid var(--line-paper); padding-bottom: 2px; transition: color 0.2s; }
.link-phone:hover { color: var(--paper); }

.ground {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.plane {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 2400px;
  max-width: none;
  transform: translate3d(-50%, 0, 0);
  will-change: transform;
}
.plane img { width: 100%; height: auto; max-width: none; }
.plane-back {
  width: max(1440px, 100vw);
  bottom: -2vh;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, 0.6) 30%, #000 52%);
  mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, 0.6) 30%, #000 52%);
}
.plane-mid { width: max(1600px, 110vw); bottom: -6vh; }
.plane-front { width: max(1700px, 118vw); bottom: -30vh; }
.plane-obj { width: 100%; bottom: 0; height: 100%; }

.ground-floor {
  position: absolute;
  inset: auto 0 0 0;
  height: 200px;
  z-index: 4;
  background: linear-gradient(to bottom, rgba(27, 22, 19, 0) 0%, var(--stage) 100%);
}

/* City plates (index.html): skyline across the water, rooftop silhouettes, quay wall in front */

.hero--city {
  --hero-extra: 210px;
  min-height: max(calc(116svh + var(--hero-extra)), calc(860px + var(--hero-extra)));
}
/* window: centered, 42px higher than the old fold hang, 800px = 1.25× of 640; booked stays above the rail */
.hero--city .window-wrap {
  left: 50%;
  right: auto;
  width: min(800px, 72vw);
  top: calc(100svh - 32px);
  transform: translate3d(-50%, -100%, 0);
}
.hero--city .window { padding: 22px 26px 72px; font-size: 16px; }
.hero--city .plane-back { width: max(1600px, 112vw); bottom: 24svh; }
.hero--city .plane-mid { width: max(1580px, 110vw); bottom: 10svh; }
.hero--city .plane-front { width: max(1500px, 104vw); min-width: 0; bottom: calc(16svh + 24px - max(64px, 4.46vw)); }
/* short laptops: tighten the copy block and the window so the CTA keeps clear of the window top */
@media (min-width: 761px) and (max-height: 860px) {
  .hero--city .hero-air { padding-top: calc(var(--nav) + 22px); }
  .hero--city .hero-air .pill { margin-bottom: 16px; }
  .hero--city h1 { font-size: clamp(36px, 3.9vw, 54px); }
  .hero--city .lede { margin-top: 14px; font-size: 17px; }
  .hero--city .cta { margin-top: 20px; }
  .hero--city .window { font-size: 13px; padding: 14px 18px 72px; }
  .hero--city .msg { padding: 9px 12px; margin-bottom: 8px; }
  .hero--city .slots { margin: 8px 0 10px auto; }
}
/* Desktop: the window sits where it did before the longer hero copy (top 523 at 1440x900) and tucks between the layers. Same copy, tighter block. Below 900px tall, --hero-extra moves the window and quay layer down together so the copy stays clear. */
@media (min-width: 900px) {
  .hero--city { --hero-extra: max(0px, calc(900px - 100svh)); }
  .hero--city .hero-air { padding-top: calc(var(--nav) + 28px); }
  .hero--city .hero-air .pill { margin-bottom: 14px; }
  .hero--city h1 { font-size: clamp(36px, 3.6vw, 52px); max-width: 22ch; }
  .hero--city .lede { margin-top: 12px; max-width: 62ch; font-size: 17px; line-height: 1.45; }
  .hero--city .hero-note,
  .hero--city .hero-offer { margin-top: 6px; max-width: 70ch; font-size: 15px; line-height: 1.4; }
  .hero--city .cta { margin-top: 16px; }
  .hero--city .work-strip { margin-top: 10px; max-width: 80ch; font-size: 13px; }
}
@media (min-width: 900px) and (max-height: 860px) {
  .hero--city { --hero-extra: max(0px, calc((900px - 100svh) * 0.75)); }
  .hero--city .hero-air { padding-top: calc(var(--nav) + 16px); }
  .hero--city .hero-air .pill { margin-bottom: 10px; }
  .hero--city h1 { font-size: clamp(32px, 3.2vw, 46px); }
  .hero--city .lede { margin-top: 10px; font-size: 16px; }
  .hero--city .hero-note,
  .hero--city .hero-offer { margin-top: 4px; font-size: 14px; }
  .hero--city .cta { margin-top: 12px; }
  .hero--city .work-strip { margin-top: 8px; }
}
.hero--city .plane-front::after { content: ""; position: absolute; top: 99%; left: 0; right: 0; height: 120vh; background: #14110e; }
.hero--city .ground-floor { height: 260px; }
.close--city .plane-back { width: max(1600px, 112vw); bottom: 0; }
.close--city .plane-front { width: max(1580px, 110vw); min-width: 0; bottom: -2vh; transform-origin: 50% 100%; }
.close--city .plane-back { transform-origin: 50% 100%; }
.close--city .plane-front::after { content: ""; position: absolute; top: 99%; left: 0; right: 0; height: 60vh; background: #14110e; }

/* The bright object: a conversation window */

.window-wrap {
  position: absolute;
  left: 50%;
  top: 66%;
  width: min(640px, 56vw);
  transform: translate3d(-50%, 0, 0);
  pointer-events: auto;
}
.window-wrap .glow {
  position: absolute;
  inset: -60px -80px -20px -80px;
  z-index: -1;
  filter: blur(60px);
  opacity: 0.55;
  background: radial-gradient(ellipse at 50% 60%, #b489ff 0%, rgba(180, 137, 255, 0) 60%);
  animation: glow-cycle 16s ease-in-out infinite;
}
@keyframes glow-cycle {
  0%   { background: radial-gradient(ellipse at 50% 60%, #b489ff 0%, rgba(180, 137, 255, 0) 60%); }
  33%  { background: radial-gradient(ellipse at 50% 60%, #7fd9a4 0%, rgba(127, 217, 164, 0) 60%); }
  66%  { background: radial-gradient(ellipse at 50% 60%, #ffb26b 0%, rgba(255, 178, 107, 0) 60%); }
  100% { background: radial-gradient(ellipse at 50% 60%, #b489ff 0%, rgba(180, 137, 255, 0) 60%); }
}
@media (prefers-reduced-motion: reduce) { .window-wrap .glow { animation: none; } }

.window {
  position: relative;
  background: #fbf8f2;
  color: var(--ink);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -2px 0 rgba(255, 255, 255, 0.5) inset, 0 30px 80px rgba(0, 0, 0, 0.45);
  padding: 18px 22px 26px;
  text-align: left;
  font-size: 15px;
  line-height: 1.45;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-mute);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.window-bar .dots { display: flex; gap: 5px; flex: 0 0 60px; }
.window-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--cream-3); }
.window-bar .title { flex: 1; text-align: center; min-width: 0; }
.window-bar time { flex: 0 0 60px; text-align: right; letter-spacing: 0.02em; }
.mock .window-bar .dots, .mock .window-bar time { flex-basis: 44px; }
.msg { max-width: 82%; padding: 11px 14px; border-radius: 14px; margin-bottom: 10px; }
.msg-q { background: var(--cream-2); border-bottom-left-radius: 4px; }
.msg-a { background: var(--ink); color: var(--paper); margin-left: auto; border-bottom-right-radius: 4px; }
.slots { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 12px auto; justify-content: flex-end; }
.slot {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  background: #fff;
}
.slot.is-picked { background: var(--fire); border-color: var(--fire); color: #fff; }
.window .booked-row { display: flex; justify-content: flex-start; }
.booked {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-s);
  background: #eaf3e6;
  color: #24522c;
  font-size: 13px;
  font-weight: 600;
}
.booked::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3b8f4a; }

/* Devices (hero B and proof) */

.devices { position: relative; width: min(880px, 100%); margin-inline: auto; }
.laptop { position: relative; width: 100%; }
.laptop-screen {
  position: relative;
  background: #0c0a09;
  border-radius: 16px 16px 4px 4px;
  padding: 12px 12px 0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.laptop-screen::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1f1b19;
  transform: translateX(-50%);
}
.laptop-screen img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 6px 6px 0 0; }
.laptop-base {
  height: 14px;
  margin: 0 -2.5%;
  background: linear-gradient(#3a322d, #221c19);
  border-radius: 0 0 14px 14px;
}
.phone {
  position: absolute;
  right: -3%;
  bottom: -4%;
  width: 21%;
  background: #0c0a09;
  border-radius: 12% / 6.5%;
  padding: 3.5%;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}
.phone img { width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 9% / 4.5%; }

.hero-devices {
  position: absolute;
  left: 50%;
  top: 64%;
  width: min(880px, calc(100vw - 2 * var(--gutter)));
  transform: translate3d(-50%, 0, 0);
  pointer-events: auto;
}
.hero-devices .glow { position: absolute; inset: -60px -80px -20px -80px; z-index: -1; filter: blur(60px); opacity: 0.45; animation: glow-cycle 16s ease-in-out infinite; }
.hero-devices .laptop-screen { border-radius: 16px 16px 0 0; }
.hero-devices .laptop-base { display: none; }
.hero-devices .laptop-screen img { aspect-ratio: 16 / 8.2; }
.hero-devices .phone { bottom: -12px; }

/* ---------- Intro: brightening lines ---------- */

.intro { padding: clamp(88px, 12vh, 140px) 0 clamp(72px, 10vh, 120px); }
.intro .wrap { max-width: 820px; }
.intro .pill { margin-bottom: 36px; }
.line-set h2,
.line-set p {
  color: var(--paper-soft);
  transition: color 0.5s ease;
}
.line-set h2 {
  font-weight: 560;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.022em;
  max-width: 16ch;
  margin-bottom: 0.55em;
}
.line-set p {
  font-family: var(--text);
  font-weight: 400;
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.55;
  letter-spacing: 0;
  max-width: 46ch;
  margin-bottom: 0.9em;
}
.line-set h2.is-lit,
.line-set p.is-lit { color: var(--paper); }
.line-set p:last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) {
  .line-set h2, .line-set p { color: var(--paper); transition: none; }
}
.short-answer .section-head { margin-bottom: 0; max-width: 820px; }
.short-answer .section-head .sub { max-width: 62ch; }

/* ---------- Section shell ---------- */

.section { padding: clamp(88px, 12vh, 144px) 0; overflow-x: clip; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vh, 64px); }
.section-head .pill { margin-bottom: 22px; }
.section-head h2 { font-size: clamp(32px, 3.8vw, 54px); }
.section-head .sub { margin-top: 18px; font-size: clamp(17px, 1.2vw, 19px); max-width: 56ch; }

/* ---------- Stack cards ---------- */

.stack { position: relative; }
.card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 32px 36px;
  border-radius: 24px;
  background: #2a231f;
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 30px 70px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  min-height: 400px;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(255, 236, 214, 0.11), transparent 62%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.card:hover::after { opacity: 1; }

/* Weak page flashlight (same as cards). Not painted on .hero. pointer-events none. */
#page-flash {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  background: radial-gradient(380px circle at var(--px, 50%) var(--py, 50%), rgba(255, 236, 214, 0.11), transparent 62%);
  opacity: 0;
}
#page-flash.is-on { opacity: 1; }
.card:hover { border-color: rgba(255, 255, 255, 0.14); }
.card.is-flip .card-mock { order: -1; }
.card-num { font-family: var(--display); font-size: 13px; letter-spacing: 0.1em; color: var(--fire-on-card); font-weight: 700; margin-bottom: 18px; }
.card h3 { font-size: clamp(28px, 2.6vw, 38px); margin-bottom: 16px; }
.card p { color: var(--paper-soft); font-size: 17px; max-width: 42ch; }
.card .mock p { color: var(--ink-soft); }
.card-mock { position: relative; }

@media (min-width: 900px) {
  /* Freeze when Why is just gone under HEADER (measured 1440×900: PARK GAP 160 is almost right;
     4px more scroll, intro.bottom just past nav). Sticky top is that frame, not a new pad.
     Padding extra stays 67.28px so the header-to-pill gap is 3.5cm. JS drops the extra sticky once 04 covers 03. */
  .js #what { padding: 0; }
  .js #what .wrap { position: sticky; top: calc(var(--nav) - 3px); height: 100svh; box-sizing: border-box; display: flex; flex-direction: column; padding-top: calc(var(--nav) + 67.28px); padding-bottom: 28px; }
  .js #what .section-head { flex: none; margin-bottom: 48px; }
  /* clipped at the top only (the type is above); the next card may hang below the fold like the old flow */
  .js #what .stack { flex: 1; min-height: 0; clip-path: inset(0 -60px -200vh -60px); }
  .js #what .stack .card { position: absolute; top: 0; left: 0; right: 0; margin: 0; transform-origin: 50% 0; will-change: transform, opacity; transition: none; }
  /* without JS the cards fall back to plain flow */
  html:not(.js) #what .card { margin-bottom: 28px; }
}

/* Small mocks used inside cards */

.mock {
  background: #fbf8f2;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  font-size: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.mock .window-bar { margin-bottom: 12px; padding-bottom: 10px; }
.mock .msg { font-size: 14px; }
.mock-title { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 12px; }
.mock-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.mock-row:first-of-type { border-top: 0; }
.mock-row b { font-weight: 600; min-width: 0; }
.mock-row .when { color: var(--ink-mute); font-size: 13px; text-align: right; }
.tick { display: inline-flex; width: 18px; height: 18px; border-radius: 50%; background: #eaf3e6; color: #3b8f4a; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.tag { display: inline-block; padding: 4px 9px; border-radius: 999px; background: var(--cream-2); font-size: 12px; font-weight: 500; }
.tag.is-fire { background: #fde9e1; color: #b6421f; }
.timeline { position: relative; padding-left: 22px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--cream-3); }
.timeline li { position: relative; padding: 8px 0 8px 10px; }
.timeline li::before { content: ""; position: absolute; left: -20px; top: 15px; width: 10px; height: 10px; border-radius: 50%; background: var(--cream-3); border: 2px solid #fff; }
.timeline li.is-hot::before { background: var(--fire); }
.timeline li.is-ok::before { background: #3b8f4a; }
.timeline small { display: block; color: var(--ink-mute); font-size: 12px; }
.profile { display: grid; gap: 10px; }
.profile-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.profile-head .avatar { width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(135deg, #3b8f4a, #7fd9a4); }
.profile-head b { display: block; }
.profile-head small { color: var(--ink-mute); }
.profile-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; }

/* ---------- Proof ---------- */

.proof .devices { margin-top: 12px; }
.devices--his { position: relative; width: min(920px, 100%); margin-inline: auto; padding-right: 6%; }
.devices--his .his-laptop { width: 100%; height: auto; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.5)); }
.devices--his .his-phone { position: absolute; right: 0; bottom: -4%; width: 19%; height: auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55)); }
.proof-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
.proof .caption { margin-top: 36px; display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; color: var(--paper-soft); font-size: 14px; }
.proof .caption a { color: var(--paper); border-bottom: 1px solid var(--line-paper); }
.browser {
  background: #0c0a09;
  border-radius: 16px;
  padding: 10px 10px 0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.browser-bar { display: flex; gap: 6px; padding: 4px 6px 12px; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a322d; }
.browser img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 6px 6px 0 0; }

/* ---------- Packages ---------- */

.pkgs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: end; }
.pkg {
  --mx: 50%;
  --my: 50%;
  position: relative;
  padding: 36px;
  border-radius: 24px;
  background: #2a231f;
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}
.pkg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(320px circle at var(--mx) var(--my), rgba(255, 236, 214, 0.11), transparent 62%);
  opacity: 0;
  transition: opacity 0.35s;
}
.pkg:hover::after { opacity: 1; }
.pkg:hover { border-color: rgba(255, 255, 255, 0.14); }
.pkg.is-raised { background: #332a25; border-color: rgba(228, 87, 46, 0.45); margin-top: -20px; padding-bottom: 56px; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45); }
.pkg-name { font-family: var(--display); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fire); font-weight: 700; }
.pkg h3 { font-size: clamp(26px, 2.4vw, 34px); margin: 14px 0 8px; }
.pkg .tag-line { color: var(--paper-soft); }
.pkg-price { margin: 26px 0 22px; padding: 16px 0; border-top: 1px solid var(--line-paper); border-bottom: 1px solid var(--line-paper); display: flex; align-items: baseline; gap: 10px; }
.pkg-price b { font-family: var(--display); font-size: 22px; font-weight: 600; }
.pkg-price span { color: var(--paper-mute); font-size: 14px; }
.pkg ul li { display: flex; gap: 12px; padding: 9px 0; line-height: 1.45; }
.pkg ul li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 9px; border-radius: 50%; background: var(--fire); }
.pkg .btn { margin-top: 26px; width: 100%; }
.pkg-note { margin-top: 24px; font-size: 14px; color: var(--paper-soft); }

/* ---------- Who ---------- */

.who-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.portrait {
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  background: linear-gradient(160deg, #fbf8f2, var(--cream-3));
  color: var(--ink);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}
.portrait span { font-family: var(--display); font-weight: 700; font-size: clamp(64px, 8vw, 120px); letter-spacing: -0.04em; opacity: 0.9; }
.portrait small { position: absolute; left: 20px; bottom: 16px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); }
.who h2 { font-size: clamp(32px, 3.6vw, 50px); }
.who .sub { margin: 20px 0 32px; font-size: 18px; color: var(--paper-soft); max-width: 48ch; }
.commit li { padding: 18px 0; border-top: 1px solid var(--line-paper); display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: baseline; }
.commit li:last-child { border-bottom: 1px solid var(--line-paper); }
.commit b { font-family: var(--display); color: var(--fire); font-size: 13px; letter-spacing: 0.08em; }

/* ---------- Questions ---------- */

.faq-grid { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: start; }
.faq-side { position: sticky; top: calc(var(--nav) + 24px); }
.chips { display: flex; flex-direction: column; gap: 6px; }
.chip {
  text-align: left;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--paper-soft);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover { color: var(--paper); }
.chip.is-on { background: var(--paper); color: var(--ink); }
.qa { min-height: var(--qa-min, 0); }
.qa details { border-top: 1px solid var(--line-paper); }
.qa details:last-child { border-bottom: 1px solid var(--line-paper); }
.qa summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(18px, 1.5vw, 22px);
  letter-spacing: -0.01em;
  position: relative;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 400;
  color: var(--paper-mute);
  font-size: 26px;
  transition: transform 0.25s;
}
.qa details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.qa .ans { padding: 0 0 24px; color: var(--paper-soft); max-width: 60ch; }
.qa details.is-hidden { display: none; }

/* ---------- Close ---------- */

.close { position: relative; overflow: hidden; padding: clamp(120px, 18vh, 200px) 0 0; isolation: isolate; }
.close .ground { z-index: 0; }
.close .plane-back { -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.7) 35%, #000 60%); mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.7) 35%, #000 60%); }
.close .wrap { position: relative; z-index: 2; }
.close-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.close h2 { font-size: clamp(36px, 4.4vw, 62px); }
.close .sub { margin-top: 20px; font-size: 18px; font-weight: 500; color: var(--paper); max-width: 44ch; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 0 14px rgba(0, 0, 0, 0.35); }
.close .contact { margin-top: 30px; display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.close .contact .link-phone { font-weight: 600; color: var(--paper); border-bottom-color: rgba(255, 255, 255, 0.55); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 0 14px rgba(0, 0, 0, 0.35); }
.form {
  background: #fbf8f2;
  color: var(--ink);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
}
.form h3 { font-size: 22px; margin-bottom: 6px; }
.form .hint { color: var(--ink-soft); font-size: 14px; margin-bottom: 22px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
.field input,
.field textarea {
  font: inherit;
  font-size: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  width: 100%;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--fire); outline-offset: 0; border-color: transparent; }
.form .btn { width: 100%; margin-top: 6px; }
.form .fine { margin-top: 12px; font-size: 13px; color: var(--ink-mute); }
.form-ok { display: none; padding: 16px; border-radius: 12px; background: #eaf3e6; color: #24522c; font-weight: 500; margin-top: 12px; }
.form.is-sent .form-ok { display: block; }

/* Book: title + line above a wide chat, same window styling as the hero */

.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; }
.book-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 640px;
  margin: 0 auto clamp(28px, 5vh, 44px);
  text-align: center;
}
.book-copy h2 { text-align: center; text-wrap: balance; }
.book-copy .sub {
  margin-top: 20px;
  margin-inline: auto;
  font-size: 18px;
  font-weight: 500;
  color: var(--paper);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 0 14px rgba(0, 0, 0, 0.35);
  text-align: center;
  text-wrap: balance;
}
.close .book-copy .sub { margin-inline: auto; }

/* Audit close: one phone photo. Copy stays in the dark upper field; the phone stays low. */
#audit.close {
  min-height: max(120svh, 980px, 50vw);
  padding-top: clamp(88px, 11vh, 140px);
}
#audit .audit-phone {
  position: absolute;
  inset: 0;
  display: block;
  height: 100%;
}
#audit .audit-phone img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: right bottom;
}
#book-log,
.chat-log {
  display: flex;
  flex-direction: column;
  flex: none;
  height: clamp(280px, 44vh, 480px);
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(27, 22, 19, 0.28) transparent;
}
#book-log::-webkit-scrollbar,
.chat-log::-webkit-scrollbar { width: 8px; }
#book-log::-webkit-scrollbar-thumb,
.chat-log::-webkit-scrollbar-thumb {
  background: rgba(27, 22, 19, 0.22);
  border-radius: 99px;
}
.chat-log .slots { width: 100%; }
.chat-log .booked-row { margin: 4px 0 10px; }
/* Flex column stretches items. Hug the words; do not restyle hero .msg. */
#book-log .msg {
  width: fit-content;
  max-width: 82%;
  align-self: flex-start;
}
#book-log .msg-a {
  align-self: flex-end;
}
.chat-input {
  display: flex;
  flex: none;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  background: transparent;
}
.chat-input[hidden] { display: none; }
#book-typing[hidden] { display: none; }
.chat-input input {
  flex: 1;
  font: inherit;
  font-size: 16px;
  padding: 13px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  min-width: 0;
}
.chat-input input:focus { outline: 2px solid var(--fire); outline-offset: 0; border-color: transparent; }
.chat-input .btn { flex: none; }

.footer {
  position: relative;
  z-index: 2;
  padding: 28px 0 32px;
  border-top: 1px solid var(--line-paper);
  background: var(--stage);
  font-size: 13px;
  color: var(--paper-soft);
}
.footer .wrap { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer .brand { color: var(--paper); }
.footer a:hover { color: var(--paper); }
.footer .right { margin-left: auto; display: flex; gap: 22px; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .faq-grid { grid-template-columns: 240px 1fr; gap: 40px; }
  .who-grid { gap: 40px; }
}

@media (max-width: 899px) {
  :root { --nav: 60px; --gutter: 20px; }
  body { font-size: 16px; }
  .nav { height: auto; }
  .nav .wrap { gap: 8px; min-height: var(--nav); }
  .nav-right { gap: 8px; }
  .nav-right .btn { min-height: 44px; padding: 0 12px; font-size: 14px; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    padding: 6px var(--gutter) 14px;
    flex-direction: column;
    gap: 4px;
    background: #1b1613;
    z-index: 2;
  }
  .nav.is-open { background: #1b1613; }
  .nav.is-open .nav-links { display: flex; }
  .nav.is-open .nav-links a {
    display: flex;
    align-items: center;
    min-height: 48px;
    opacity: 1;
    font-family: var(--display);
    font-weight: 600;
    font-size: 18px;
  }
  .nav.is-open + main .hero-air {
    padding-top: calc(var(--sections-shift, 232px) + 12px);
  }
  .nav-phone { display: none; }
  .hero { min-height: 100svh; }
  .hero-air { padding-top: calc(var(--nav) + 36px); text-align: left; }
  .hero h1 { font-size: clamp(36px, 10.5vw, 48px); margin-inline: 0; max-width: 12ch; }
  .hero .lede,
  .hero-note,
  .hero-offer,
  .work-strip { margin-inline: 0; }
  .hero .lede { font-size: 17px; }
  .hero .cta { justify-content: flex-start; flex-wrap: wrap; gap: 16px; }
  .plane-back { width: auto; height: 72%; bottom: 4%; -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.6) 24%, #000 46%); mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.6) 24%, #000 46%); }
  .plane-back img { width: auto; height: 100%; }
  .plane-mid { width: 1100px; bottom: -4vh; }
  .plane-front { width: 1200px; bottom: -22vh; }
  .hero--city { min-height: 100svh; }
  .hero--city .window-wrap {
    top: auto;
    bottom: -8px;
    left: 50%;
    width: calc(100vw - 2 * var(--gutter));
    transform: translate3d(-50%, 0, 0);
  }
  .hero--city .plane-back { width: auto; height: 72%; bottom: 6%; }
  .hero--city .plane-mid { width: 1000px; bottom: 6vh; }
  .hero--city .plane-front { width: 1100px; min-width: 0; bottom: -6vh; }
  .hero--city { display: flex; flex-direction: column; }
  .hero--city > .ground { display: contents; }
  .hero--city .hero-air { order: 1; }
  .hero--city .plane-obj {
    order: 2;
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: min(var(--wrap), calc(100% - 2 * var(--gutter)));
    max-width: 100%;
    height: auto;
    margin: 28px auto 36px;
    transform: none;
    z-index: 5;
  }
  .hero--city .plane-obj .window-wrap {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    max-width: 100%;
    transform: none;
  }
  .hero--city .plane-obj .window { border-radius: 20px; padding-bottom: 20px; }
  .hero--city .ground-floor { height: 160px; }
  .close--city .plane-front { width: 1100px; min-width: 0; bottom: -4vh; }
  .devices--his { padding-right: 0; }
  .devices--his .his-phone { width: 26%; right: -2%; }
  .window-wrap { width: calc(100vw - 2 * var(--gutter)); top: auto; bottom: -8px; }
  .plane-obj { top: 0; }
  .window { padding: 14px 16px 20px; font-size: 14px; }
  .msg { max-width: 92%; }
  .slots { justify-content: flex-start; margin-left: 0; }
  .hero-devices { width: calc(100vw - 2 * var(--gutter)); top: auto; bottom: -40px; }
  .hero-devices .phone { bottom: 6%; }
  .hero-devices .laptop-screen img { aspect-ratio: 16 / 9; }
  .phone { width: 30%; right: 0; }
  .laptop-base { margin: 0; }
  .intro { padding: 72px 0 64px; }
  .intro .pill { margin-bottom: 22px; }
  .line-set h2 { font-size: clamp(30px, 8vw, 40px); }
  .line-set p { font-size: 17px; }
  .card { grid-template-columns: 1fr; gap: 24px; padding: 24px; min-height: 0; margin-bottom: 16px; border-radius: 20px; }
  .card.is-flip .card-mock { order: 0; }
  .card-mock { order: 1; }
  .pkgs { grid-template-columns: 1fr; }
  .pkg.is-raised { margin-top: 0; padding-bottom: 36px; }
  .who-grid { grid-template-columns: 1fr; gap: 32px; }
  .portrait { max-width: 320px; aspect-ratio: 1; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .faq-grid > * { min-width: 0; }
  .faq-side { position: sticky; top: var(--nav); z-index: 5; background: var(--stage-2); padding: 12px 0; }
  .chips { flex-direction: row; flex-wrap: wrap; overflow: visible; gap: 8px; }
  .chip { white-space: nowrap; border-color: var(--line-paper); padding: 10px 14px; font-size: 14px; min-height: 44px; }
  .close-grid { grid-template-columns: 1fr; gap: 40px; }
  .close .window-wrap, .close .hero-devices { display: none; }
  .form { padding: 24px; }
  .book-copy { text-align: left; margin-bottom: 24px; align-items: flex-start; }
  .close .book-copy .sub { margin-inline: 0; text-align: left; }
  .close .book-copy h2 { text-align: left; }
  #audit.close { min-height: auto; padding-bottom: 280px; }
  #book-log,
  .chat-log { height: clamp(240px, 40vh, 360px); }
  .footer .right { margin-left: 0; flex-wrap: wrap; gap: 14px; }
}

/* ---------- Version 1b (Paper boards 22L-1 at 1440, 2BQ-1 at 390) ----------
   Every value from the live tokens above. New sections use new class names so sv.html,
   which shares this file, keeps its current layout. */

.wide-only { display: inline; }

/* Hero: second button and the terms line under the buttons */
.btn-on-stage { color: var(--paper); border-color: var(--paper); }
.btn-on-stage:hover { background: rgba(244, 238, 228, 0.08); }
.hero-terms {
  width: fit-content;
  max-width: 100%;
  margin: 10px auto 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--plate); /* solid backing: the sky behind this line is too light for 13 px type */
  font-size: 13px;
  line-height: 18px;
  color: var(--paper-soft);
}
.hero-terms span + span::before { content: "·"; margin: 0 7px; }
@media (min-width: 900px) and (max-height: 860px) {
  .hero--city .hero-terms { margin-top: 8px; }
}
/* The hero floor runs into the band under it (the live front-plate fill). */
.hero--city .ground-floor { background: linear-gradient(to bottom, rgba(20, 17, 14, 0) 0%, #14110e 100%); }

/* Band under the hero */
.work-band { background: #14110e; color: var(--paper); padding: 8px 0 56px; position: relative; z-index: 2; }
.work-band .wrap { display: flex; align-items: flex-start; gap: 64px; }
.work-band .pill { flex: none; margin-top: 2px; white-space: nowrap; }
.work-band-copy { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.work-band-lead { font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 31px; letter-spacing: -0.022em; }
.work-band-note { font-size: 16px; line-height: 24px; color: var(--paper-soft); max-width: 51ch; } /* about 75 characters a line (Geist ch is wide) */

/* Short answer and Why: one section, heading left, text right */
.split-row { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 64px; align-items: start; }
.split-row > h2,
.split-head h2 { font-size: clamp(32px, 3.8vw, 54px); line-height: 1.06; }
.answer-why .sub { font-size: 19px; line-height: 29px; color: var(--paper-soft); max-width: 51ch; } /* about 75 characters a line (Geist ch is wide) */
.answer-why .sub b { color: var(--paper); font-weight: 600; }
.split-rule { border: 0; height: 1px; margin: 88px 0; background: var(--line-paper); }
.split-head { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.split-body { display: flex; flex-direction: column; gap: 18px; }
.answer-why .line-set h2 { font-weight: 600; max-width: none; margin: 0; }
.answer-why .line-set p { font-size: 19px; line-height: 29px; max-width: none; margin: 0; }

/* The offer: price block, four counts, picture 01 and the terms */
.offer-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 64px; margin-bottom: 56px; }
.offer-head .section-head { margin-bottom: 0; }
.price-block { flex: none; width: 340px; padding-left: 24px; border-left: 2px solid var(--fire); display: flex; flex-direction: column; gap: 6px; }
.price-main { font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 26px; color: var(--paper); }
.price-sub { font-size: 15px; line-height: 22px; color: var(--paper-soft); }
.counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-paper); border-bottom: 1px solid var(--line-paper); margin-bottom: 56px; }
.counts article { display: flex; flex-direction: column; gap: 10px; padding: 32px 28px; border-left: 1px solid var(--line-paper); }
.counts article:first-child { padding-left: 0; border-left: 0; }
.counts article:last-child { padding-right: 0; }
.count-num { font-family: var(--display); font-weight: 700; font-size: 64px; line-height: 64px; letter-spacing: -0.022em; color: var(--fire); }
.counts h3 { font-size: 20px; line-height: 24px; letter-spacing: 0; }
.counts p { font-size: 15px; line-height: 23px; color: var(--paper-soft); }
@media (min-width: 900px) and (max-width: 1100px) {
  .counts article { padding: 28px 20px; }
  .count-num { font-size: 48px; line-height: 52px; }
  .counts h3 { font-size: 18px; line-height: 22px; }
}
.offer-proof { display: flex; align-items: center; gap: 64px; }
.offer-pic { flex: none; width: 520px; height: 474px; margin: 0; border-radius: 24px; overflow: hidden; }
.offer-pic img { width: 100%; height: 100%; object-fit: cover; }
.offer-terms-block { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.offer-terms-block h3 { font-size: 34px; line-height: 36px; }
.terms-list li { padding: 14px 0; border-top: 1px solid var(--line-paper); font-size: 17px; line-height: 26px; color: var(--paper-soft); }
.terms-list li:last-child { border-bottom: 1px solid var(--line-paper); }
.promise { font-size: 17px; line-height: 22px; font-weight: 600; color: var(--paper); }
.offer-terms-block .offer-cta { margin-top: 0; }

/* Bigger needs: a full-width band */
.bigger-band { background: var(--stage-2); color: var(--paper); padding: 36px 0; border-top: 1px solid var(--line-paper); }
.bigger-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.bigger-band h2 { font-size: 22px; line-height: 26px; }

/* How you start: numbered steps and the timeline card */
.start { border-top: 1px solid var(--line-paper); }
.start .section-head { margin-bottom: 48px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.steps article { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line-paper); }
.step-num { font-family: var(--display); font-weight: 700; font-size: 13px; line-height: 16px; letter-spacing: 0.1em; color: var(--fire); }
.steps h3 { font-size: 23px; line-height: 26px; }
.steps p { font-size: 16px; line-height: 25px; color: var(--paper-soft); }
.after-yes { margin-top: 48px; padding: 32px 36px; border-radius: 24px; background: #2a231f; border: 1px solid rgba(255, 255, 255, 0.07); }
.after-yes h3 { font-size: 20px; line-height: 24px; margin-bottom: 20px; }
.after-yes-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.after-yes-cols b { display: block; font-weight: 600; font-size: 16px; line-height: 24px; }
.after-yes-cols p { margin-top: 4px; font-size: 16px; line-height: 24px; color: var(--paper-soft); }

/* What it does: each mock frame holds a picture; the stack scene is unchanged */
.mock.mock-pic { padding: 0; border: 0; overflow: hidden; height: 413px; }
.mock-pic img { width: 100%; height: 100%; object-fit: cover; }
/* Pinned scene (900px+): the stack is a size container, so each card fits the space under the
   heading and its picture gives up height on short laptops (1280×720, 1366×768). Motion unchanged. */
@media (min-width: 900px) {
  /* The pinned wrap is 100svh tall from its sticky top, so the stack ends ~37px under the fold.
     --card-fit keeps the card above the fold and leaves 1440×900 exactly as it was. */
  .js #what .stack { container-type: size; --card-fit: calc(100cqh - var(--nav) + 28px); }
  .js #what .stack .card { min-height: min(400px, var(--card-fit)); max-height: var(--card-fit); }
  .js #what .mock.mock-pic { height: min(413px, calc(var(--card-fit) - 66px)); }
}

/* Who: the portrait in the 4:5 box */
.who-grid:has(.portrait--photo) { grid-template-columns: 420px minmax(0, 1fr); }
.portrait--photo { width: 420px; max-width: 100%; height: 525px; aspect-ratio: auto; margin: 0; background: none; border-radius: 0; overflow: visible; }
.portrait--photo img { width: 420px; max-width: 100%; aspect-ratio: 1; height: auto; border-radius: 50%; object-fit: cover; }
.who .sub:has(+ .who-name) { margin-bottom: 20px; }
.who-name { margin: 0 0 32px; font-size: 15px; line-height: 18px; color: var(--paper-soft); }

/* Close: copy left, the audit form right, the close city plate behind */
#audit.close.close--form { min-height: 0; padding: 162px 0 120px; }
.close--form .plane-back { opacity: 0.45; }
.close--form .ground::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 420px; background: linear-gradient(to bottom, var(--stage), rgba(27, 22, 19, 0)); }
.close--form .close-grid { grid-template-columns: minmax(0, 1fr) 480px; gap: 64px; }
.close-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.close-copy .sub { margin-top: 0; max-width: none; }
.next-steps { padding-top: 12px; }
.next-kicker { font-size: 12px; line-height: 24px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fire-soft); margin-bottom: 8px; }
.next-steps ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.next-steps li { font-size: 16px; line-height: 24px; color: var(--paper-soft); }
.audit-form .btn { margin-top: 0; }
.audit-form .fine { margin-top: 14px; line-height: 20px; text-align: center; }
.audit-form .fine a { text-decoration: underline; text-underline-offset: 2px; padding-block: 14px; } /* 45 px hit area; inline padding does not move the line */
.field .req { font-weight: 500; color: var(--fix); }
.field .opt { font-weight: 400; color: var(--ink-mute); }
.field-error { font-size: 13px; line-height: 18px; color: var(--fix); }
.field-error:empty { display: none; }
.field input[aria-invalid="true"] { border: 2px solid var(--fix); padding: 11px 13px; }
.audit-form.is-sent > :not(.form-ok) { display: none; }
.audit-form .form-ok { margin-top: 0; padding: 0; background: none; color: var(--ink); font-weight: 400; }
.audit-form .form-ok:focus { outline: none; }
.form-ok-note { padding: 16px; border-radius: 12px; background: #eaf3e6; color: #24522c; font-size: 14px; line-height: 21px; }
.form-ok-note b { display: block; margin-bottom: 4px; font-size: 16px; font-weight: 600; }
.form-ok-lines { margin: 12px 0 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: 14px/22px ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.form-ok-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.audit-form .form-ok-actions .btn { flex: 1 1 auto; width: auto; margin-top: 0; }
.form-ok-actions .btn-ghost { color: var(--ink); }
.form-ok .fine { text-align: center; }

/* Questions: heading and chips in the left column, chips in a row */
.faq-grid:has(.faq-head) { grid-template-columns: 340px minmax(0, 1fr); }
.faq-head { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.faq-head h2 { font-size: clamp(32px, 3.2vw, 46px); line-height: 1.05; }
.faq-side:has(.faq-head) .chips { flex-direction: row; flex-wrap: wrap; gap: 6px; margin-top: 34px; }
.faq-side:has(.faq-head) .chip { font-size: 15px; line-height: 18px; }

/* Footer: brand, contact, button */
.footer-grid { justify-content: space-between; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.footer-col:first-child { gap: 8px; }
.footer-col a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; } /* 44 px hit area, same spacing as before */
.footer-end { display: flex; align-items: center; gap: 24px; }
.footer .footer-end .btn { color: #fff; }

@media (min-width: 900px) and (max-width: 1100px) {
  .split-row { grid-template-columns: 320px minmax(0, 1fr); gap: 40px; }
  .offer-pic { width: 420px; height: 383px; }
  .offer-proof { gap: 40px; }
  .who-grid:has(.portrait--photo) { grid-template-columns: 340px minmax(0, 1fr); }
  .portrait--photo { width: 340px; height: 425px; }
  .faq-grid:has(.faq-head) { grid-template-columns: 280px minmax(0, 1fr); gap: 40px; }
  .close--form .close-grid { grid-template-columns: minmax(0, 1fr) 420px; gap: 40px; }
}

@media (max-width: 899px) {
  .wide-only { display: none; }

  /* Phone hero (2BQ-1, window lifted): the window top and the main button sit in the first screen at 390x844 */
  .hero--city .hero-air { padding-top: calc(var(--nav) + 20px); }
  .hero--city .hero-air .pill { margin-bottom: 14px; }
  .hero--city .lede { margin-top: 14px; line-height: 26px; }
  .hero--city .hero-offer { margin-top: 12px; font-size: 15px; line-height: 21px; }
  .hero--city .cta.cta-pair { margin: 16px 0 0; flex-direction: column; align-items: stretch; gap: 10px; }
  .hero--city .cta-pair .btn { width: 100%; min-height: 48px; }
  .hero--city .hero-terms { margin: 5px 0 -5px; line-height: 19px; padding: 5px 12px; border-radius: 12px; } /* plate grows outward; the text and the window stay where they were */
  .hero--city .hero-terms span:nth-child(3)::before { content: none; }
  .hero--city .hero-terms span:nth-child(3) { display: block; }
  .hero--city .plane-obj { margin-top: 20px; }

  .work-band { padding: 4px 0 48px; }
  .work-band .wrap { flex-direction: column; gap: 16px; }
  .work-band-lead { font-size: 20px; line-height: 28px; }

  .split-row { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .split-rule { margin: 56px 0; }
  .answer-why .sub,
  .answer-why .line-set p { font-size: 17px; line-height: 26px; }

  .offer-head { flex-direction: column; align-items: flex-start; gap: 28px; margin-bottom: 40px; }
  .price-block { width: auto; }
  .counts { grid-template-columns: minmax(0, 1fr); border-bottom: 0; margin-bottom: 40px; }
  .counts article,
  .counts article:first-child,
  .counts article:last-child { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line-paper); }
  .count-num { font-size: 48px; line-height: 48px; }
  .offer-proof { flex-direction: column; align-items: stretch; gap: 32px; }
  .offer-pic { width: 100%; height: auto; aspect-ratio: 1600 / 1460; }
  .offer-terms-block h3 { font-size: 28px; line-height: 31px; }

  .bigger-band .wrap { flex-direction: column; align-items: flex-start; gap: 18px; }

  .start .section-head { margin-bottom: 32px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .after-yes { margin-top: 32px; padding: 24px; border-radius: 20px; }
  .after-yes-cols { grid-template-columns: minmax(0, 1fr); gap: 18px; }

  .mock.mock-pic { height: auto; aspect-ratio: 4 / 3; }

  .who-grid:has(.portrait--photo) { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .portrait--photo { width: 260px; height: auto; }
  .portrait--photo img { width: 260px; }

  #audit.close.close--form { padding: 96px 0 72px; }
  .close--form .close-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .close--form .ground::after { height: 280px; }

  .faq-grid:has(.faq-head) { grid-template-columns: minmax(0, 1fr); }
  .faq-side:has(.faq-head) { display: contents; }
  .faq-side:has(.faq-head) .chips { position: sticky; top: var(--nav); z-index: 5; margin-top: 0; padding: 12px 0; background: var(--stage-2); }

  .footer .footer-grid { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-end { flex-wrap: wrap; gap: 16px; }
}
@media (max-width: 480px) {
  .footer-col a { margin-block: 0; }
  .footer-col { gap: 0; }
}
