/* Volta Electric — Elite / Electrical ("Power Up")
   Dark void canvas, one cyan accent used small, hierarchy from scale not weight, hairlines not cards.
   Tokens contract from _design-system/foundation.md. */

:root {
  --bg: #000000;
  --surface: #0a0c0e;
  --ink: #ffffff;
  --muted: #9a9a9a;
  --dim: #5f6367;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.32);
  --accent: #4cf0ff;
  --accent-ink: #000000;
  --font-display: "Technor", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Satoshi", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist Mono", "SF Mono", Menlo, Consolas, monospace;
  --radius: 0;
  --space-section: clamp(96px, 12vw, 160px);
  --banner-h: 52px;
  --header-h: 72px;
  --gutter: clamp(20px, 4vw, 56px);
  --measure: 60ch;
  --max: 1360px;
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-in: cubic-bezier(0.32, 0.72, 0, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--banner-h) + var(--header-h) + 16px); background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-weight: 400; font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, canvas, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* ---------- Type voices (three): display, body, mono ---------- */
.display {
  font-family: var(--font-display); font-weight: 400; line-height: 0.96; letter-spacing: -0.01em;
  text-wrap: balance;
}
.display--xl { font-size: clamp(64px, 11vw, 168px); line-height: 0.92; letter-spacing: -0.02em; }
.display--lg { font-size: clamp(44px, 7vw, 104px); }
.display--md { font-size: clamp(32px, 4.4vw, 64px); }
.display--sm { font-size: clamp(24px, 2.6vw, 36px); }
.mono {
  font-family: var(--font-mono); font-size: 12px; line-height: 1.4; letter-spacing: 0.08em; text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.eyebrow { color: var(--muted); margin-bottom: 20px; display: flex; gap: 12px; align-items: center; }
.eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; flex: none; }
.lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; max-width: 46ch; color: var(--muted); }
.fine { font-size: 13px; color: var(--muted); line-height: 1.5; }
.prose { max-width: var(--measure); }
.prose p + p, .prose p + h2, .prose h2 + p, .prose p + h3, .prose h3 + p, .prose ul + p, .prose p + ul { margin-top: 1.2em; }
.prose h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 3vw, 40px); line-height: 1.05; margin-top: 2em; }
.prose h3 { font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 1.1; margin-top: 1.6em; }
.prose ul { padding-left: 0; }
.prose ul li { padding: 10px 0 10px 28px; border-top: 1px solid var(--line); position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 19px; width: 12px; height: 1px; background: var(--accent); }
.prose ul li:last-child { border-bottom: 1px solid var(--line); }
.prose strong { font-weight: 400; color: var(--ink); }
.prose em { font-style: normal; color: var(--accent); }

/* ---------- Links / the one calm CTA ---------- */
.link {
  display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-mono); font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 14px 0; background: none; border: 0; border-radius: 0;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.4s var(--ease-in), gap 0.4s var(--ease-in);
}
.link::after { content: "→"; font-family: var(--font-body); transition: transform 0.5s var(--ease-out); }
.link:hover { border-color: var(--ink); gap: 20px; }
.link:hover::after { transform: translateX(4px); }
.link--lg { font-size: 14px; padding: 18px 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 28px;
  background: var(--ink); color: var(--accent-ink); font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.1em;
  text-transform: uppercase; border: 1px solid var(--ink); transition: background 0.4s var(--ease-in), color 0.4s var(--ease-in);
}
.btn:hover { background: var(--bg); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: var(--space-section); }
.section + .section { padding-top: 0; }
.section-head { max-width: 980px; margin-bottom: clamp(48px, 6vw, 88px); }
.section-head .lede { margin-top: 28px; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.two-col { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.two-col .section-head { margin-bottom: 0; position: sticky; top: calc(var(--banner-h) + var(--header-h) + 32px); }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 300; background: var(--ink); color: var(--bg); padding: 10px 16px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.skip-link:focus { top: calc(var(--banner-h) + 8px); }

/* ---------- Preloader: a single cyan line "energises" left to right ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 400; background: var(--bg); display: grid; place-items: center; gap: 24px;
  transition: opacity 0.7s var(--ease-in), visibility 0.7s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__line { width: min(60vw, 520px); height: 1px; background: var(--line); position: relative; overflow: hidden; }
.preloader__line::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; animation: energise 1.6s var(--ease-in) forwards; }
.preloader__label { color: var(--muted); }
.preloader__label b { font-weight: 400; color: var(--accent); }
@keyframes energise { to { transform: scaleX(1); } }

/* ---------- Claim banner (restyled kit) ---------- */
.sample-banner {
  position: sticky; top: 0; z-index: 60; display: flex; align-items: center; justify-content: center; gap: 20px;
  min-height: var(--banner-h); padding: 8px var(--gutter); background: #0b0d0f; color: var(--ink); border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
}
.sample-banner > span { min-width: 0; color: var(--muted); }
.sample-banner [data-buy] { font-family: var(--font-body); text-transform: none; letter-spacing: 0; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: var(--banner-h); z-index: 50; height: var(--header-h); display: flex; align-items: center; gap: 40px;
  padding: 0 var(--gutter); background: rgba(0, 0, 0, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); transition: background 0.5s var(--ease-in), border-color 0.5s var(--ease-in);
}
.home .site-header { position: fixed; left: 0; right: 0; }
.site-header.is-clear { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 20px; letter-spacing: 0.02em; text-transform: uppercase; }
.brand__mark { width: 10px; height: 10px; background: var(--accent); flex: none; transform: rotate(45deg); }
.site-nav { display: flex; gap: 32px; margin-left: auto; }
.site-nav a { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 8px 0; position: relative; transition: color 0.3s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); }
.site-header__right { display: flex; align-items: center; gap: 24px; }
.site-header__phone { font-size: 13px; letter-spacing: 0.08em; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.site-menu {
  position: fixed; inset: 0; z-index: 45; display: grid; align-content: center; gap: 4px;
  padding: calc(var(--banner-h) + var(--header-h) + 24px) var(--gutter) 120px; background: var(--bg);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.4s var(--ease-in), transform 0.4s var(--ease-in), visibility 0.4s;
}
.site-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.site-menu a { font-family: var(--font-display); font-size: clamp(36px, 10vw, 56px); line-height: 1.1; padding: 8px 0; border-bottom: 1px solid var(--line); }
.site-menu a[aria-current="page"] { color: var(--accent); }
.site-menu .mono { margin-top: 24px; color: var(--muted); }
body.menu-open { overflow: hidden; }

/* ---------- Chapter 01 — Power Up (pinned, stepped plates, headline inside the footage) ---------- */
.chapter { position: relative; background: var(--bg); }
.chapter__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.chapter__poster, .chapter__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chapter__canvas { opacity: 0; transition: opacity 0.6s var(--ease-in); }
.js-motion .chapter__canvas { opacity: 1; }
.js-motion .chapter__poster { opacity: 0; }
.chapter__scrim { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 32%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.75) 100%); pointer-events: none; }
.chapter__copy { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(56px, 9vh, 112px); max-width: 1100px; z-index: 2; }
.hero-headlines { position: relative; min-height: 2.2em; font-size: clamp(48px, 8.6vw, 140px); }
.hero-line { position: absolute; left: 0; bottom: 0; margin: 0; font-size: inherit; opacity: 0; pointer-events: none; }
.hero-line.is-current { position: relative; opacity: 1; pointer-events: auto; }
.hero-line .w { display: inline-block; transform: translateY(0.3em); opacity: 0; transition: transform 0.7s var(--ease-out), opacity 0.5s var(--ease-in); }
.hero-line.is-current .w { transform: none; opacity: 1; }
.chapter__copy .lede { margin-top: 24px; color: rgba(255,255,255,0.78); }
.hero-cta { margin-top: 24px; }
.instruments {
  position: absolute; top: calc(var(--banner-h) + var(--header-h) + 24px); right: var(--gutter); z-index: 2;
  display: grid; gap: 18px; text-align: right; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em;
}
.instrument__label { display: block; font-size: 11px; color: var(--muted); margin-bottom: 4px; }
.instrument__value { display: block; font-size: 22px; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.instrument__value small { font-size: 12px; color: var(--muted); }
.instrument__value.is-live { color: var(--accent); }
.breaker-rail {
  position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 2; display: grid; gap: 5px;
}
.breaker-rail i { display: block; width: 18px; height: 3px; background: rgba(255,255,255,0.18); transition: background 0.25s var(--ease-in), width 0.25s var(--ease-in); }
.breaker-rail i.is-on { background: var(--accent); width: 26px; }
.chapter__hint { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 2; color: var(--muted); display: flex; gap: 10px; align-items: center; transition: opacity 0.5s; }
.chapter__hint::after { content: ""; width: 1px; height: 28px; background: var(--accent); animation: hint 1.8s var(--ease-in) infinite; }
@keyframes hint { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.is-final .chapter__hint, .is-final .breaker-rail { opacity: 0; }
.chapter__static { display: none; }
.stage-list li { display: grid; grid-template-columns: 40px 1fr auto; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); align-items: baseline; }
.stage-list li:last-child { border-bottom: 1px solid var(--line); }
.stage-list .num, .stage-list .meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.stage-list .name { display: block; font-family: var(--font-display); font-size: 24px; line-height: 1.1; }
.stage-list .note { display: block; color: var(--muted); font-size: 15px; margin-top: 4px; }

/* ---------- The current (lens) ---------- */
.lens-section .section-head { margin-bottom: clamp(32px, 4vw, 56px); }
.lens { position: relative; aspect-ratio: 16 / 9; overflow: hidden; cursor: none; background: var(--surface); touch-action: none; }
.lens:focus-visible { outline-offset: 6px; }
.lens__base, .lens__xray { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lens__xray { clip-path: circle(0px at 50% 50%); transition: clip-path 0.12s linear; }
.lens.is-xray .lens__xray { clip-path: none !important; }
.lens__ring {
  position: absolute; left: 0; top: 0; width: var(--lens-d, 220px); height: var(--lens-d, 220px); border: 1px solid var(--accent);
  border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity 0.4s var(--ease-in); box-shadow: 0 0 0 1px rgba(76,240,255,0.15), inset 0 0 40px rgba(76,240,255,0.08);
}
.lens.is-active .lens__ring { opacity: 1; }
.lens.is-xray .lens__ring { opacity: 0; }
.lens__ring::before, .lens__ring::after { content: ""; position: absolute; background: var(--accent); opacity: 0.6; }
.lens__ring::before { left: 50%; top: -6px; width: 1px; height: 12px; }
.lens__ring::after { top: 50%; left: -6px; height: 1px; width: 12px; }
.lens__readout { position: absolute; left: 20px; bottom: 20px; display: grid; gap: 4px; max-width: 60%; color: var(--ink); z-index: 2; }
.lens__readout [data-lens-name] { color: var(--accent); }
.lens__readout [data-lens-note] { text-transform: none; letter-spacing: 0.02em; font-family: var(--font-body); font-size: 14px; color: rgba(255,255,255,0.8); }
.lens__controls { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; margin-top: 24px; }
.toggle { display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; padding: 8px 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.toggle__track { width: 36px; height: 18px; border: 1px solid var(--line-strong); position: relative; }
.toggle__track i { position: absolute; top: 3px; left: 3px; width: 10px; height: 10px; background: var(--muted); transition: transform 0.3s var(--ease-in), background 0.3s; }
.toggle[aria-pressed="true"] .toggle__track i { transform: translateX(18px); background: var(--accent); }

/* ---------- Services as a hairline table ---------- */
.service-rows li { border-top: 1px solid var(--line); }
.service-rows li:last-child { border-bottom: 1px solid var(--line); }
.service-rows a { display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1fr) 40px; gap: 24px; align-items: baseline; padding: 30px 0; transition: padding-left 0.5s var(--ease-out); }
.service-rows a:hover { padding-left: 12px; }
.service-rows .idx { color: var(--muted); }
.service-rows .name { font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 44px); line-height: 1; }
.service-rows .sum { color: var(--muted); font-size: 16px; }
.service-rows .arrow { text-align: right; color: var(--muted); transition: color 0.3s, transform 0.5s var(--ease-out); }
.service-rows a:hover .arrow { color: var(--accent); transform: translateX(6px); }

/* ---------- Selected work ---------- */
.case { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: end; padding: clamp(48px, 6vw, 96px) 0; border-top: 1px solid var(--line); }
.case--flip .case__figure { order: 2; }
.case__figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.case__meta { color: var(--muted); margin-bottom: 20px; }
.case__body h3 { margin-bottom: 20px; font-size: clamp(28px, 3.2vw, 46px); }
.case__body p { color: var(--muted); max-width: 44ch; }
.case__facts { display: grid; gap: 10px; margin: 28px 0; }
.case__facts div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding-top: 10px; border-top: 1px solid var(--line); }
.case__facts dt { color: var(--muted); }
.case__facts dd { margin: 0; color: var(--ink); text-transform: none; letter-spacing: 0.02em; font-family: var(--font-body); font-size: 15px; }

/* ---------- The tool: panel quiz ---------- */
.quiz { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.quiz__form { display: grid; gap: 0; }
.field { display: grid; gap: 12px; padding: 24px 0; border-top: 1px solid var(--line); }
.field:last-of-type { border-bottom: 1px solid var(--line); }
.field > label, .field > legend { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 0; }
fieldset.field { border: 0; margin: 0; padding-inline: 0; border-top: 1px solid var(--line); min-width: 0; }
.segmented { display: flex; flex-wrap: wrap; gap: 8px; }
.segmented label { position: relative; }
.segmented input { position: absolute; inset: 0; opacity: 0; }
.segmented span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-strong); font-size: 15px; transition: border-color 0.3s, color 0.3s, background 0.3s; }
.segmented input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.segmented input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.segmented label:hover span { border-color: var(--ink); }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); color: var(--ink); font: inherit; padding: 10px 0; border-radius: 0;
}
select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
select option { background: #111; color: #fff; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 0; border-bottom-color: var(--accent); }
.quiz__out { position: sticky; top: calc(var(--banner-h) + var(--header-h) + 32px); display: grid; gap: 0; }
.readout { padding: 22px 0; border-top: 1px solid var(--line); }
.readout:last-of-type { border-bottom: 1px solid var(--line); }
.readout__big { display: block; margin-top: 10px; font-size: clamp(30px, 3.6vw, 52px); line-height: 1; }
.readout__list li { padding: 8px 0 8px 24px; position: relative; font-size: 15px; }
.readout__list li::before { content: ""; position: absolute; left: 0; top: 17px; width: 12px; height: 1px; background: var(--accent); }
.readout p { margin-top: 8px; }
.quiz__out .link { margin-top: 24px; }
.quiz__out .fine { margin-top: 20px; }
.load-bar { height: 3px; background: rgba(255,255,255,0.14); margin-top: 14px; position: relative; overflow: hidden; }
.load-bar i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0.4); transition: transform 0.7s var(--ease-out); }

/* ---------- Proof as readout ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; border-top: 1px solid var(--line); padding-top: 28px; }
.stat dt { color: var(--muted); margin-bottom: 14px; }
.stat dd { margin: 0; font-size: clamp(48px, 6vw, 96px); line-height: 0.9; }
.stat dd sup { font-size: 0.4em; vertical-align: top; margin-left: 2px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 40px; margin-top: 32px; color: var(--muted); }
.trust li { display: flex; gap: 10px; align-items: center; }
.trust li::before { content: ""; width: 4px; height: 4px; background: var(--accent); }
.reviews { margin-top: clamp(48px, 7vw, 96px); display: grid; gap: 0; }
.review { padding: 36px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px; align-items: end; }
.review blockquote { font-size: clamp(24px, 3vw, 44px); }
.review .mono { color: var(--muted); }
.review:last-child { border-bottom: 1px solid var(--line); }

/* ---------- Contact / consult ---------- */
.consult__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.consult__phone { display: block; margin: 20px 0 12px; font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 44px); letter-spacing: 0; text-transform: none; line-height: 1; }
.consult__form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.consult__form .field { padding: 16px 0; border-top: 0; border-bottom: 0; }
.consult__form .field--full { grid-column: 1 / -1; }
.consult__form .link { grid-column: 1 / -1; justify-self: start; margin-top: 16px; }
.honey { position: absolute; left: -9999px; }
.form-status { grid-column: 1 / -1; min-height: 1.5em; color: var(--muted); font-size: 14px; }
.form-status.is-error { color: #ff8a8a; }
.form-status:empty { display: none; }
.hours li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.hours li:last-child { border-bottom: 1px solid var(--line); }
.hours li span:first-child { color: var(--muted); }

/* ---------- Band (sub-page hero: one strong image, finished work) ---------- */
.band { position: relative; min-height: 62vh; display: grid; align-items: end; overflow: hidden; }
.band--tall { min-height: calc(100vh - var(--banner-h) - var(--header-h)); min-height: calc(100svh - var(--banner-h) - var(--header-h)); }
.band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.28) 40%, rgba(0,0,0,0.85) 100%); }
.band__copy { position: relative; z-index: 1; padding: clamp(80px, 12vw, 160px) var(--gutter) clamp(40px, 6vw, 72px); width: min(100%, var(--max) + 2 * var(--gutter)); margin-inline: auto; }
.band__copy .lede { margin-top: 24px; color: rgba(255,255,255,0.8); }
.breadcrumb { color: var(--muted); margin-bottom: 28px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 10px; }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: var(--dim); }
.breadcrumb a:hover { color: var(--ink); }
.page-head { padding: clamp(64px, 9vw, 128px) 0 clamp(40px, 5vw, 72px); }
.page-head .lede { margin-top: 28px; }

/* ---------- Sub-page blocks ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.facts div { border-top: 1px solid var(--line); padding-top: 16px; }
.facts dt { color: var(--muted); margin-bottom: 8px; }
.facts dd { margin: 0; font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.05; }
.steps { counter-reset: step; }
.steps li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 24px; padding: 24px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--accent); padding-top: 6px; }
.steps h3 { font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.1; margin-bottom: 8px; }
.steps p { color: var(--muted); max-width: 56ch; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.tile { border-top: 1px solid var(--line); padding-top: 20px; }
.tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 20px; }
.tile .mono { color: var(--muted); }
.tile h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.05; margin: 10px 0 12px; }
.tile p { color: var(--muted); font-size: 15px; }
.tile .link { margin-top: 16px; }
.tile a.tile__link { display: block; }
.tile a.tile__link:hover h3 { color: var(--accent); }
.figure { margin-block: clamp(40px, 6vw, 80px); }
.figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.figure figcaption { margin-top: 12px; color: var(--muted); }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ba figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ba figcaption { margin-top: 10px; color: var(--muted); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 32px; gap: 24px; align-items: center; padding: 26px 0; font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 30px); line-height: 1.1; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--font-mono); color: var(--accent); text-align: right; font-size: 22px; transition: transform 0.4s var(--ease-out); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details > div { padding: 0 0 28px; max-width: 60ch; color: var(--muted); }
.faq-list details > div p + p { margin-top: 1em; }
.article-meta { color: var(--muted); display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.article-list article { display: grid; grid-template-columns: 120px minmax(0, 7fr) minmax(0, 4fr); gap: 32px; padding: 32px 0; border-top: 1px solid var(--line); align-items: start; }
.article-list article:last-child { border-bottom: 1px solid var(--line); }
.article-list h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 3vw, 40px); line-height: 1.05; }
.article-list h2 a:hover { color: var(--accent); }
.article-list p { color: var(--muted); margin-top: 12px; max-width: 50ch; }
.article-list img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.area { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.area-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.area-list li { padding: 14px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; }
.area-list li span { color: var(--muted); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.map { aspect-ratio: 4 / 3; border: 1px solid var(--line); position: relative; overflow: hidden; }
.map svg { width: 100%; height: 100%; }
.next { padding: clamp(80px, 10vw, 140px) 0; border-top: 1px solid var(--line); }
.next .display { margin-bottom: 32px; max-width: 14ch; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 96px) 0 calc(40px + env(safe-area-inset-bottom)); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 3fr); gap: 40px; }
.site-footer__name { font-size: clamp(28px, 3vw, 40px); margin-bottom: 16px; }
.site-footer .mono { color: var(--muted); }
.site-footer__links { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.site-footer__links .mono { margin-bottom: 8px; }
.site-footer__links a:hover { color: var(--accent); }
.site-footer__legal { display: grid; gap: 12px; align-content: end; }
.site-footer__meta { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 0; }
.site-footer__meta span + span::before { content: "|"; margin: 0 14px; color: var(--dim); }

/* ---------- Sticky CTA + mobile call bar ---------- */
.sticky-cta { position: fixed; right: var(--gutter); bottom: 28px; z-index: 40; opacity: 0; transform: translateY(12px); visibility: hidden; transition: opacity 0.5s var(--ease-in), transform 0.5s var(--ease-out), visibility 0.5s; }
.sticky-cta.is-visible { opacity: 1; transform: none; visibility: visible; }
.call-bar { display: none; }

/* ---------- Claim dialog (kit wraps the inside) ---------- */
#buy-dialog { max-width: 590px; width: min(100% - 32px, 590px); padding: 36px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); border-radius: 0; }
#buy-dialog::backdrop { background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(6px); }
#buy-dialog h2 { font-family: var(--font-display); font-size: 36px; font-weight: 400; line-height: 1; margin: 12px 0 14px; padding-right: 52px; }
#buy-dialog > p, #buy-dialog .claim-card > p { color: var(--muted); margin-bottom: 24px; }
#buy-dialog form { display: grid; gap: 18px; }
#buy-dialog .field { border: 0; padding: 0; }
#buy-dialog .link { justify-self: start; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { margin-top: 4px; accent-color: var(--accent); }
.dialog-close { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; background: none; border: 1px solid var(--line-strong); font-size: 20px; line-height: 1; }

/* ---------- Reveals ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-in), transform 0.75s var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .two-col, .quiz, .consult__grid, .area { grid-template-columns: 1fr; }
  .two-col .section-head, .quiz__out { position: static; }
  .case, .case--flip { grid-template-columns: 1fr; align-items: start; }
  .case--flip .case__figure { order: 0; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .service-rows a { grid-template-columns: 48px minmax(0, 1fr) 32px; }
  .service-rows .sum { grid-column: 2; }
}
@media (max-width: 767px) {
  :root { --banner-h: 58px; --header-h: 64px; --space-section: 88px; }
  body { font-size: 16px; }
  .sample-banner { font-size: 11px; justify-content: space-between; gap: 12px; }
  .site-nav { display: none; }
  .menu-toggle { display: inline-block; }
  .site-header__phone { display: none; }
  .brand { font-size: 17px; }
  .display--xl { font-size: clamp(48px, 15vw, 72px); }
  .hero-headlines { font-size: clamp(40px, 12.5vw, 64px); }
  .chapter__stage { height: auto; min-height: 78vh; }
  .chapter__copy { position: relative; left: auto; right: auto; bottom: auto; padding: 42vh var(--gutter) 40px; }
  .instruments { top: calc(var(--banner-h) + var(--header-h) + 16px); display: flex; gap: 20px; text-align: left; left: var(--gutter); right: auto; }
  .instrument__value { font-size: 16px; }
  .breaker-rail, .chapter__hint { display: none; }
  .chapter__static { display: block; padding: 48px var(--gutter) 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .review { grid-template-columns: 1fr; }
  .consult__form { grid-template-columns: 1fr; }
  .facts, .grid-3 { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .article-list article { grid-template-columns: 1fr; }
  .article-list img { order: -1; }
  .area-list { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 40px 1fr; }
  .lens { aspect-ratio: 4 / 3; cursor: default; }
  .lens__readout { max-width: 80%; }
  .ba { grid-template-columns: 1fr; }
  .sticky-cta { display: none; }
  .call-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr;
    background: var(--ink); color: var(--bg); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--line);
    font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  }
  .call-bar a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; }
  .call-bar__cta { background: var(--accent); color: var(--accent-ink); }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
  .site-footer { padding-bottom: 32px; }
}

/* ---------- Reduced motion: stills, same copy ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-line .w { opacity: 1; transform: none; }
  .chapter__hint { display: none; }
  .chapter__static { display: block; padding: 48px var(--gutter) 0; }
}

/* Lens readout legibility: the note sits straight on the photo, often over the white wall. A dark glow
   keeps it readable without adding a panel, in line with the no-card-chrome rule in STYLE.md. */
.lens__readout [data-lens-name], .lens__readout [data-lens-note] { text-shadow: 0 1px 2px rgba(0, 0, 0, .7), 0 0 18px rgba(0, 0, 0, .6); }
.lens__readout [data-lens-note] { color: #fff; }

/* Launch audit: breadcrumb and eyebrow sit over the brightest part of each band photo. */
.band__copy .breadcrumb, .band__copy .eyebrow { color: rgba(255, 255, 255, 0.86); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6); }
.band__copy .breadcrumb li + li::before { color: rgba(255, 255, 255, 0.5); }

/* Launch audit polish: the lens caption gets a soft backing so it reads over the pale floor. */
.lens__readout { background: rgba(0, 0, 0, 0.45); padding: 10px 12px; }

/* Hero readout labels sit on the night sky, so they get a lighter gray than the page muted tone. */
.instruments :is(.instrument__label, .instrument__value small) { color: #C8CDD6; text-shadow: 0 1px 6px rgba(0, 0, 0, .55); }
