/* AK CODE preview. Night palette: graphite, headlight white, indicator amber (sampled from his clip). */
@font-face { font-family: "Hubot Sans"; src: url("../fonts/hubot-sans-latin-var.woff2") format("woff2"); font-weight: 500 900; font-stretch: 75% 125%; font-display: swap; }
@font-face { font-family: "Mona Sans"; src: url("../fonts/mona-sans-latin-var.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --canvas: #0b0c0f; --surface: #121419; --surface-2: #171a20; --raise: #1d2027;
  --ink: #eceef1; --ink-dim: #a6acb6; --ink-soft: #8d949f; --line: #23272e; --line-2: #30353e;
  --amber: #f29a38; --amber-hi: #f7ab55; --amber-deep: #de7623; --amber-ink: #1b1006;
  --accent-rgb: 242,154,56; --pulse: #ffd7a6; --run-border: #3b3328;
  --display: "Hubot Sans", system-ui, sans-serif; --text: "Mona Sans", system-ui, sans-serif;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --section: clamp(72px, 9vw, 128px);
  --radius: 18px;
  --flash: 0; --lights: 0; --px: 0; --py: 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 12px; }
body {
  margin: 0; color: var(--ink); font: 400 16px/1.6 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background: var(--canvas) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
::selection { background: var(--amber); color: var(--amber-ink); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stars { color: var(--amber); letter-spacing: 2px; }
section[id] { scroll-margin-top: 8px; }

/* Buttons: one shape (pill) across the page */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 15px/1 var(--text); text-decoration: none; white-space: nowrap; transition: transform .14s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease); cursor: pointer; }
.btn:active { transform: scale(.97); }
.btn--amber { background: var(--amber); color: var(--amber-ink); border: 0; }
.btn--amber:hover { background: var(--amber-hi); }
.btn--line { border: 1px solid var(--line-2); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: #565c66; }

/* Preview note */
.preview-tag { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 7px 44px 7px 16px; position: relative; background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--ink-dim); text-align: center; }
.preview-tag[hidden] { display: none; }
.preview-tag__close { all: unset; position: absolute; right: 4px; top: 50%; translate: 0 -50%; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; cursor: pointer; font-size: 18px; color: var(--ink-soft); }
.preview-tag__close:hover { color: var(--ink); }

/* Header: logo, live car status, sections, WhatsApp */
.bar { position: relative; z-index: 6; display: flex; align-items: center; gap: 14px; padding: 12px var(--gutter); }
.bar__brand { display: block; padding: 4px 0; }
.bar__brand img { width: 84px; height: auto; }
.status { margin-left: auto; display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; font: 600 10.5px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; transition: color .3s var(--ease), border-color .3s var(--ease); }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: #4a4f58; transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
[data-state="starting"] .status__dot { background: var(--amber); animation: blink .5s steps(2) infinite; }
[data-state="running"] .status { color: var(--ink); border-color: var(--run-border); }
[data-state="running"] .status__dot { background: var(--amber); box-shadow: 0 0 0 4px rgba(var(--accent-rgb),.18); }
[data-sent="1"] .status { color: var(--amber); }
@keyframes blink { 50% { opacity: .25; } }
.bar__nav { display: none; }
.pill { display: none; }

/* Hero */
.hero { position: relative; isolation: isolate; display: grid; padding: 0 var(--gutter) 40px; }
.hero__bloom { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__bloom::before, .hero__bloom::after { content: ""; position: absolute; inset: 0; transition: opacity .12s linear; }
.hero__bloom::before { opacity: var(--lights); background: radial-gradient(90% 38% at 50% 24%, rgba(214,228,255,.17), rgba(214,228,255,0) 70%); }
.hero__bloom::after { opacity: var(--flash); background: radial-gradient(90% 38% at 50% 24%, rgba(var(--accent-rgb),.28), rgba(var(--accent-rgb),0) 72%); }

.stage { position: relative; order: -1; margin: 0; }
.stage__frame { position: relative; height: clamp(220px, 33vh, 380px); border-radius: var(--radius); overflow: hidden; background: #050506; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1px #20242a; }
.stage__frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255,255,255,.08); pointer-events: none; }
.stage__video, .stage__dark { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.stage__dark { opacity: 0; transition: opacity .9s var(--ease); }
[data-fade="1"] .stage__dark { opacity: 1; }

.stage__cap { margin: 8px 2px 0; font-size: 11.5px; line-height: 1.4; color: var(--ink-soft); }
.stage__cap small { display: block; font-size: 10.5px; color: #a3a9b3; margin-top: 2px; }
.sound { all: unset; position: absolute; top: 10px; right: 10px; z-index: 3; cursor: pointer; font: 600 10.5px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; padding: 12px 13px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: var(--ink-dim); background: rgba(11,12,15,.6); backdrop-filter: blur(6px); }
.sound[aria-pressed="true"] { color: var(--amber); border-color: rgba(var(--accent-rgb),.45); }
.sound:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

.key { position: absolute; right: 6px; bottom: 6px; z-index: 3; display: flex; flex-direction: column-reverse; align-items: center; gap: 8px; rotate: -6deg; }
.key__fob { all: unset; cursor: pointer; display: block; width: 52px; filter: drop-shadow(0 22px 26px rgba(0,0,0,.65)); -webkit-tap-highlight-color: transparent; }
.key__fob:focus-visible { outline: 2px solid var(--amber); outline-offset: 8px; border-radius: 28px; }
.fob-svg { width: 100%; height: auto; overflow: visible; }
.fob-svg__centre { transform-origin: 60px 112px; transition: transform .12s var(--ease); }
.key__fob.is-pressed .fob-svg__centre { transform: scale(.9); }
.fob-svg__led { opacity: .35; transition: opacity .1s linear; }
.key__fob.is-pressed .fob-svg__led { opacity: 1; }
.fob-svg__halo { transform-origin: 60px 112px; animation: halo 2.2s var(--ease) infinite; }
[data-state="starting"] .fob-svg__halo, [data-state="running"] .fob-svg__halo { animation: none; opacity: 0; }
@keyframes halo { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.9); opacity: 0; } }
/* The cue: what to do, and three dots that fill with each press (the key also shows it until first touched) */
.key__cue { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 8px 12px 9px; max-width: 132px; border-radius: 14px; background: rgba(11,12,15,.8); backdrop-filter: blur(6px); box-shadow: 0 0 0 1px rgba(255,255,255,.08); text-align: center; pointer-events: none; }
.key__hint { font: 600 12px/1.3 var(--text); color: var(--ink); }
.key__dots { display: flex; gap: 6px; }
.key__dots i { width: 7px; height: 7px; border-radius: 50%; background: #3a3f47; transition: background .15s var(--ease), box-shadow .15s var(--ease); }
.key__dots i.is-on { background: var(--amber); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.2); }
.stage__frame { cursor: pointer; }
.key__cue { transition: opacity .3s var(--ease); }
[data-state="starting"] .key__cue { opacity: 0; }
.ring { position: absolute; left: 50%; top: 42%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border: 2px solid var(--amber); border-radius: 50%; pointer-events: none; animation: ring .8s var(--ease) forwards; }
@keyframes ring { from { transform: scale(.6); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }

.hero__copy { position: relative; z-index: 2; padding-top: 14px; max-width: 640px; }
.hero__kicker { display: block; margin-bottom: 10px; font: 600 11.5px/1.3 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.hero__title { display: block; font: 800 clamp(29px, 8.3vw, 44px)/.98 var(--display); font-stretch: 106%; letter-spacing: -.02em; color: color-mix(in oklab, var(--ink-dim), #fff calc(var(--lights) * 100%)); transition: color .2s linear; }
.hero__lede { margin: 12px 0 16px; max-width: 46ch; color: var(--ink-dim); font-size: 15px; line-height: 1.5; }
.hero__lede strong { color: var(--ink); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }

/* Entrance: the opening settles once, then the key presses itself */
@media (prefers-reduced-motion: no-preference) {
  .bar { animation: fade .6s var(--ease) both; }
  .stage__frame { animation: settle .9s var(--ease) .05s both; }
  .key { animation: drop .8s var(--ease) .45s both; }
  .hero__kicker, .hero__title, .hero__lede, .hero__actions { animation: rise .8s var(--ease) both; }
  .hero__title { animation-delay: .08s; } .hero__lede { animation-delay: .16s; } .hero__actions { animation-delay: .24s; }
}
@keyframes fade { from { opacity: 0; } }
@keyframes settle { from { opacity: 0; transform: scale(.965); } }
@keyframes drop { from { opacity: 0; transform: translateY(-24px) rotate(-14deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

/* Reviews: a slim band, cards strung on a trace like the lines in his logo */
.reviews { position: relative; padding: 22px 0 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.015), rgba(255,255,255,0)); }
.reviews__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 calc(var(--gutter) + 96px) 12px var(--gutter); }
.reviews__title { font: 600 14px/1.2 var(--text); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.reviews__score { font: 800 22px/1 var(--display); font-stretch: 110%; }
.reviews__count { color: var(--ink-soft); font-weight: 500; }
.reviews__nav { position: absolute; right: var(--gutter); top: 18px; display: flex; gap: 6px; }
.arrow { all: unset; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; color: var(--ink-dim); font-size: 16px; }
.arrow:hover { color: var(--ink); border-color: #565c66; }
.arrow:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.reviews__rail { position: relative; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); padding: 4px var(--gutter) 6px; scrollbar-width: none; }
.reviews__rail::-webkit-scrollbar { display: none; }
.reviews__rail::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2) 8%, var(--line-2) 92%, transparent); z-index: -1; }
.rv { flex: 0 0 min(80%, 340px); scroll-snap-align: start; }
.rv__btn { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 8px; width: 100%; min-height: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: border-color .2s var(--ease); }
.rv__btn:hover { border-color: var(--line-2); }
.rv__btn:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.rv .stars { font-size: 12px; }
.rv__text { font-size: 14px; line-height: 1.5; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rv__btn[aria-expanded="true"] .rv__text { -webkit-line-clamp: unset; display: block; }
.rv__name { font-size: 12.5px; color: var(--ink-soft); }
.rv__more { justify-self: start; font-size: 12px; font-weight: 600; color: var(--amber); }
.rv__btn[aria-expanded="true"] .rv__more { display: none; }

/* Remote jobs map */
.jobs { padding: var(--section) var(--gutter) calc(var(--section) * .8); display: grid; gap: 22px; }
.jobs__intro h2 { font: 800 clamp(30px, 7.4vw, 56px)/1 var(--display); font-stretch: 108%; letter-spacing: -.02em; max-width: 14ch; }
.jobs__quote { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.jobs__quote q { font: 700 clamp(20px, 4.6vw, 28px)/1.15 var(--display); font-stretch: 100%; color: var(--amber); quotes: "\201C" "\201D"; }
.jobs__quote span { font-size: 13px; color: var(--ink-soft); }
.jobs__lede { margin-top: 12px; color: var(--ink-dim); max-width: 46ch; }
.jobs__map { position: relative; aspect-ratio: 330 / 440; overflow: hidden; border-radius: var(--radius); background: radial-gradient(120% 80% at 60% 40%, #10131a, #0b0c0f 70%); border: 1px solid var(--line); }
.map { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.map__ie { fill: #101216; }
.map__land { fill: #161a21; stroke: #2e343d; stroke-width: 1; }
.trace { fill: none; stroke: #3c434d; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; transition: stroke .3s var(--ease); }
.trace.is-on { stroke: var(--amber); stroke-width: 2.4; }
.pulse { fill: none; stroke: var(--pulse); stroke-width: 5; stroke-linecap: round; stroke-dasharray: .05 1.2; stroke-dashoffset: 1.05; opacity: 0; }
.pulse.is-running { opacity: 1; animation: travel 1.1s var(--ease) forwards; }
@keyframes travel { from { stroke-dashoffset: 1.05; } to { stroke-dashoffset: 0; } }
.via { fill: var(--canvas); stroke: #4a515c; stroke-width: 1.5; }
.via.is-on { stroke: var(--amber); }
.map__origin { fill: var(--amber); }
.map__origin--small { fill: var(--amber-deep); }
.map__ping { fill: none; stroke: var(--amber); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(3.2); opacity: 0; } }
.map__pins { position: absolute; inset: 0; }
.pin { all: unset; position: absolute; translate: -50% -50%; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; border-radius: 50%; }
.pin i { width: 12px; height: 12px; border-radius: 50%; background: var(--canvas); border: 2px solid var(--amber); transition: transform .2s var(--ease), background-color .2s var(--ease); }
.pin[aria-pressed="true"] i { background: var(--amber); transform: scale(1.35); box-shadow: 0 0 0 6px rgba(var(--accent-rgb),.16); }
.pin:hover i { transform: scale(1.25); }
.pin:focus-visible { outline: 2px solid var(--amber); outline-offset: -4px; }
.tname { position: absolute; font: 600 10px/1.15 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); white-space: nowrap; pointer-events: none; }
.tname--l { translate: calc(-100% - 12px) -50%; text-align: right; }
.tname--r { translate: 12px -50%; }
.tname--t { translate: -50% calc(-100% - 10px); text-align: center; }
.tname--b { translate: -50% 10px; text-align: center; }
.tname small { display: block; font-weight: 500; letter-spacing: .06em; color: var(--ink-soft); margin-top: 2px; }
.tname--home { color: var(--amber); }
.tname.is-on { color: var(--ink); }
.job { position: absolute; left: 10px; bottom: 10px; width: 42%; max-width: 230px; background: rgba(18,20,25,.92); backdrop-filter: blur(8px); border: 1px solid var(--line-2); border-radius: 14px; padding: 7px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.8); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.job.is-swapping { opacity: 0; transform: translateY(8px); }
.job__vid { position: relative; aspect-ratio: 9 / 16; border-radius: 9px; overflow: hidden; background: #000; }
.job__vid video, .job__vid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.job__vid img { transition: opacity .3s linear; }
.job__vid.is-playing img { opacity: 0; }
.job__label { padding: 8px 3px 2px; }
.job__car { font: 700 11.5px/1.25 var(--text); }
.job__where, .job__date { font-size: 10.5px; line-height: 1.4; color: var(--ink-soft); }
.job__words { display: none; }
.jobs__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.jobs__list::-webkit-scrollbar { display: none; }
.jobs__list button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 2px; min-height: 48px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 12px; white-space: nowrap; font-size: 13px; }
.jobs__list button small { color: var(--ink-soft); font-size: 11.5px; }
.jobs__list button[aria-pressed="true"] { border-color: rgba(var(--accent-rgb),.6); background: rgba(var(--accent-rgb),.07); }
.jobs__list button:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

/* Can my BMW have it? */
.check { padding: var(--section) var(--gutter); display: grid; gap: 40px; border-top: 1px solid var(--line); }
.check h2 { font: 800 clamp(30px, 7.4vw, 52px)/1 var(--display); font-stretch: 108%; letter-spacing: -.02em; }
.check__lede { margin-top: 12px; color: var(--ink-dim); max-width: 44ch; }
.ask { margin-top: 26px; padding: 20px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); }
.ask__q { font: 700 18px/1.3 var(--display); font-stretch: 100%; }
.ask__opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.opt { all: unset; box-sizing: border-box; cursor: pointer; min-height: 46px; padding: 0 18px; display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; font-weight: 600; font-size: 14.5px; transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease); }
.opt:hover { border-color: #565c66; }
.opt[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }
.opt:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.ask__out > div { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; color: var(--ink-dim); animation: rise .45s var(--ease) both; }
.ask__out strong { color: var(--ink); }
.ask__out q { color: var(--ink); quotes: "\201C" "\201D"; }
.ask__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.check__use h3 { font: 700 13px/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 16px; }
.use { display: grid; gap: 14px; }
.use__item { display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink-dim); }
.use__item strong { color: var(--ink); font-weight: 600; }
.use__key, .use__phone { width: 34px; height: auto; color: #8b929c; justify-self: center; }
.use__key .mini-led, .done-key .mini-led { animation: led 3.2s steps(1) infinite; }
@keyframes led { 0%, 8%, 16% { opacity: 1; } 4%, 12%, 20%, 100% { opacity: .15; } }
.use__tap { transform-box: fill-box; transform-origin: center; animation: tap 2.6s var(--ease) infinite; }
@keyframes tap { 0%, 60%, 100% { transform: scale(1); opacity: 1; } 30% { transform: scale(1.18); opacity: .6; } }
.use__note { margin-top: 16px; font-size: 13px; color: var(--ink-soft); max-width: 52ch; }

/* How a remote session works */
.how { padding: var(--section) var(--gutter); border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--surface) 0%, var(--canvas) 100%); }
.how h2 { font: 800 clamp(28px, 7vw, 48px)/1.02 var(--display); font-stretch: 108%; letter-spacing: -.02em; max-width: 16ch; }
.how__steps { position: relative; margin-top: 36px; }
.how__cable { display: none; }
.steps { list-style: none; margin: 0; padding: 0 0 0 26px; display: grid; gap: 26px; position: relative; }
.steps::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--amber); transform-origin: top; }
.step { position: relative; }
.step::before { content: ""; position: absolute; left: -26px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--canvas); border: 3px solid var(--amber); }
.step__icon { width: 52px; height: 52px; color: var(--ink-dim); margin-bottom: 10px; }
.step__pulse { transform-box: fill-box; transform-origin: center; animation: halo 2.4s var(--ease) infinite; }
.step h3 { font: 700 19px/1.2 var(--display); font-stretch: 102%; margin-bottom: 6px; }
.step p { color: var(--ink-dim); font-size: 15px; max-width: 40ch; }
.how__foot { margin-top: 40px; display: grid; gap: 22px; }
.how__quote { margin: 0; padding-left: 18px; border-left: 2px solid var(--amber); }
.how__quote p { font: 600 clamp(18px, 4.4vw, 24px)/1.3 var(--display); font-stretch: 100%; }
.how__quote cite { display: block; margin-top: 8px; font-style: normal; font-size: 13px; color: var(--ink-soft); }
.how__person { padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink-dim); font-size: 15px; }
.how__person strong { color: var(--ink); }

/* Services: folding rows with drawn icons */
.services { padding: var(--section) var(--gutter); border-top: 1px solid var(--line); }
.services__head h2 { font: 800 clamp(30px, 7.4vw, 52px)/1 var(--display); font-stretch: 108%; letter-spacing: -.02em; }
.services__head p { margin-top: 12px; color: var(--ink-dim); max-width: 52ch; }
.svc-list { margin-top: 30px; border-top: 1px solid var(--line); }
.svc { border-bottom: 1px solid var(--line); }
.svc summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 46px 1fr 24px; gap: 14px; align-items: center; padding: 18px 2px; }
.svc summary::-webkit-details-marker { display: none; }
.svc summary:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 10px; }
.svc__icon { width: 44px; height: 44px; color: var(--ink-dim); }
.svc__title h3 { font: 700 clamp(17px, 4.4vw, 22px)/1.2 var(--display); font-stretch: 104%; }
.svc__title span { display: block; margin-top: 3px; font-size: 13.5px; color: var(--ink-soft); }
.svc__plus { position: relative; width: 18px; height: 18px; justify-self: end; }
.svc__plus::before, .svc__plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--ink-dim); border-radius: 2px; transition: transform .3s var(--ease); }
.svc__plus::after { transform: rotate(90deg); }
.svc[open] .svc__plus::after { transform: rotate(0deg); }
.svc__body { display: grid; gap: 16px; padding: 0 0 24px; }
.svc__body img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 6px 11px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; color: var(--ink-dim); }
.svc__note { margin-top: 14px; font-size: 14.5px; color: var(--ink-dim); max-width: 52ch; }
.figs { display: flex; gap: 22px; margin-bottom: 4px; }
.fig { display: grid; font-size: 13px; color: var(--ink-soft); }
.fig b { font: 800 clamp(34px, 8vw, 48px)/1 var(--display); font-stretch: 112%; color: var(--ink); font-variant-numeric: tabular-nums; }
.fig small { font-size: 12px; }
.services__legal { margin-top: 22px; font-size: 12.5px; color: var(--ink-soft); }
/* drawn icons come alive as their row opens */
.svc .draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.svc__needle { transform-box: view-box; transform-origin: 32px 44px; }
@media (prefers-reduced-motion: no-preference) {
  .svc[open] .draw { animation: draw 1s var(--ease) both; }
  .svc[open] .svc__needle { animation: needle 1.2s var(--ease) both; }
  .svc[open] .svc__tiles rect { animation: pop .5s var(--ease) both; }
  .svc[open] .svc__tiles rect:nth-child(2) { animation-delay: .06s; } .svc[open] .svc__tiles rect:nth-child(3) { animation-delay: .12s; }
  .svc[open] .svc__tiles rect:nth-child(4) { animation-delay: .18s; } .svc[open] .svc__tiles rect:nth-child(5) { animation-delay: .24s; }
  .svc[open] .svc__bars rect { transform-box: fill-box; transform-origin: bottom; animation: bar .6s var(--ease) both; }
  .svc[open] .svc__bars rect:nth-child(2) { animation-delay: .1s; } .svc[open] .svc__bars rect:nth-child(3) { animation-delay: .2s; }
  .svc[open] .svc__mirror { transform-box: fill-box; transform-origin: left center; animation: fold 1.4s var(--ease) .3s both; }
}
@keyframes draw { from { stroke-dashoffset: 1; } }
@keyframes needle { 0% { transform: rotate(-110deg); } 60% { transform: rotate(8deg); } 100% { transform: rotate(0deg); } }
@keyframes pop { from { opacity: 0; transform: scale(.6); transform-box: fill-box; transform-origin: center; } }
@keyframes bar { from { transform: scaleY(.15); } }
@keyframes fold { 0% { transform: scaleX(1); } 40%, 60% { transform: scaleX(.35); } 100% { transform: scaleX(1); } }

/* Recent work */
.work { padding: var(--section) 0; border-top: 1px solid var(--line); }
.work__head { padding: 0 var(--gutter); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; }
.work__head h2 { font: 800 clamp(30px, 7.4vw, 52px)/1 var(--display); font-stretch: 108%; letter-spacing: -.02em; }
.work__ig { font-size: 14px; color: var(--ink-dim); display: inline-block; padding: 12px 0; }
.work__ig:hover { color: var(--ink); }
.work__rail { list-style: none; margin: 24px 0 0; padding: 0 var(--gutter) 8px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.shot { flex: 0 0 72%; max-width: 340px; scroll-snap-align: start; }
.shot img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); }
.shot p { margin-top: 10px; font-size: 13.5px; color: var(--ink-soft); }
.shot b { display: block; color: var(--ink); font-size: 15px; font-weight: 600; }

/* Close: Check my BMW */
.contact { padding: var(--section) var(--gutter) calc(var(--section) + 40px); border-top: 1px solid var(--line); display: grid; gap: 34px; }
.contact__intro h2 { font: 800 clamp(34px, 9vw, 64px)/.98 var(--display); font-stretch: 110%; letter-spacing: -.02em; }
.contact__intro > p { margin-top: 12px; color: var(--ink-dim); max-width: 42ch; }
.contact__ways { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.contact__ig { font-size: 14px; color: var(--ink-dim); display: inline-block; padding: 12px 0; }
.contact__where { margin-top: 18px; font-size: 13.5px; color: var(--ink-soft); max-width: 46ch; }
.form { display: grid; gap: 18px; padding: 20px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); }
.form label, .form legend { display: block; font-size: 13px; font-weight: 600; color: var(--ink-dim); margin-bottom: 7px; padding: 0; }
.form label span { font-weight: 400; color: var(--ink-soft); }
.form input[type="text"], .form input[type="tel"], .form textarea { width: 100%; font: 400 16px/1.4 var(--text); color: var(--ink); background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; min-height: 48px; transition: border-color .18s var(--ease), box-shadow .18s var(--ease); }
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.2); }
.form [aria-invalid="true"] { border-color: #e2715e !important; }
.plate { display: flex; align-items: stretch; max-width: 300px; border-radius: 8px; overflow: hidden; background: #f4f4ef; border: 2px solid #1c1c1c; box-shadow: 0 10px 24px -14px rgba(0,0,0,.8); }
.plate__band { display: grid; place-items: center; width: 36px; background: #1f4bb5; color: #fff; font: 700 12px/1 var(--text); letter-spacing: .04em; }
.plate input { flex: 1; min-width: 0; border: 0 !important; border-radius: 0 !important; background: transparent !important; color: #111 !important; font: 800 26px/1 var(--display) !important; font-stretch: 92% !important; letter-spacing: .06em; text-transform: uppercase; padding: 10px 12px !important; box-shadow: none !important; }
.plate input::placeholder { color: #b8b8b0; }
.plate:focus-within { outline: 3px solid rgba(var(--accent-rgb),.6); outline-offset: 2px; }
.plate:has(input[aria-invalid="true"]) { border-color: #e2715e; }
.chips { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips label { display: inline-block; margin: 0 6px 8px 0; font-weight: 500; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; color: var(--ink-dim); cursor: pointer; transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease); }
.chips input:checked + span { background: rgba(var(--accent-rgb),.12); border-color: var(--amber); color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }
.form__row { display: grid; gap: 18px; }
.form__error { color: #f0907e; font-size: 14px; }
.form__send { width: 100%; }
.form__done { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: center; }
.form__done[hidden] { display: none; }
.done-key { width: 40px; height: auto; color: #8b929c; }
.form__done-title { font: 800 26px/1.1 var(--display); font-stretch: 108%; margin-bottom: 6px; }
.form__done p { color: var(--ink-dim); }
.form__done .form__done-title { color: var(--ink); }
.form__done-note { margin-top: 8px; font-size: 13px; color: var(--ink-soft) !important; }
.form.is-done > :not(.form__done) { display: none; }

/* Footer */
.foot { padding: 40px var(--gutter) 110px; border-top: 1px solid var(--line); background: #08090b; }
.foot__top { display: grid; gap: 16px; }
.foot__top img { width: 120px; height: auto; }
.foot__top p { color: var(--ink-dim); font-size: 14px; max-width: 44ch; }
.foot__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
.foot__links a { color: var(--ink-dim); display: inline-block; padding: 12px 0; }
.foot__small { margin-top: 26px; font-size: 12px; color: #737a85; max-width: 80ch; }

/* Floating contact dock: the only fixed element on the page */
.dock { position: fixed; z-index: 20; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(18,20,25,.86); backdrop-filter: blur(10px); border: 1px solid var(--line-2); box-shadow: 0 20px 40px -18px rgba(0,0,0,.9); transition: transform .35s var(--ease), opacity .35s var(--ease); }
.dock.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
.dock__btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; padding: 0 14px; border-radius: 999px; font: 600 14px/1 var(--text); text-decoration: none; color: var(--ink); }
.dock__btn svg { width: 18px; height: 18px; }
.dock__btn--wa { background: var(--amber); color: var(--amber-ink); }
.dock__btn--check { border: 1px solid var(--line-2); }
.dock__btn:not(.dock__btn--wa):not(.dock__btn--check) span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.dock__btn:active { transform: scale(.97); }

/* Scroll reveals (native scroll-driven, off for automation and reduced motion) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    html:not(.no-reveal) :is(.jobs__intro, .jobs__map, .check__ask, .check__use, .step, .how__foot, .svc, .shot, .contact__intro, .form) { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
    html:not(.no-reveal) .steps::before { animation: grow linear both; animation-timeline: view(); animation-range: entry 10% cover 55%; }
    html:not(.no-reveal) .how__cable path { animation: draw linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
  }
}
@keyframes grow { from { transform: scaleY(0); } }

/* Tablet and up */
@media (min-width: 600px) {
  .pill { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: var(--canvas); font: 600 14px/1 var(--text); text-decoration: none; margin-left: 4px; }
  .status { font-size: 11px; }
  .stage__frame { height: 46vh; }
  .key { right: 18px; bottom: 18px; }
  .key__fob { width: 76px; }
  .reviews__rail { padding-top: 6px; }
  .rv { flex-basis: 46%; }
  .form__row { grid-template-columns: 1fr 1fr; }
  .shot { flex-basis: 44%; }
  .dock { left: auto; right: 16px; bottom: 16px; grid-template-columns: auto auto auto; }
}

/* Desktop */
@media (min-width: 900px) {
  .bar { gap: 28px; padding: 18px var(--gutter); }
  .bar__brand img { width: 104px; }
  .status { margin-left: 0; }
  .bar__nav { display: flex; gap: 24px; margin-left: auto; font-size: 14px; color: var(--ink-dim); }
  .bar__nav a { text-decoration: none; padding: 13px 0; }
  .bar__nav a:hover { color: var(--ink); }

  .hero { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(36px, 5vw, 88px); padding: 8px var(--gutter) 64px; min-height: min(860px, calc(100vh - 110px)); }
  .hero__bloom::before { background: radial-gradient(56% 50% at 66% 40%, rgba(214,228,255,.19), rgba(214,228,255,0) 70%), radial-gradient(30% 30% at 72% 38%, rgba(235,242,255,.14), rgba(235,242,255,0) 70%); }
  .hero__bloom::after { background: radial-gradient(50% 44% at 68% 42%, rgba(var(--accent-rgb),.3), rgba(var(--accent-rgb),0) 72%); }
  .stage { order: 0; width: min(36vw, 460px); transform: translate3d(calc(var(--px) * -6px), calc(var(--py) * -4px), 0); }
  .stage__frame { height: auto; aspect-ratio: 720 / 900; max-height: 76vh; min-height: 0; border-radius: 22px; }
  .stage__video, .stage__dark { object-position: 50% 50%; }
  .stage__frame::before { display: none; }
  .stage__cap { position: static; margin-top: 12px; padding-right: 120px; font-size: 12.5px; color: var(--ink-soft); }
  .stage__cap small { font-size: 11.5px; color: #6f7680; }
  .sound { top: auto; bottom: 0; right: 0; background: transparent; border-color: var(--line); padding: 12px 14px; }
  .key { left: -60px; right: auto; bottom: 14%; rotate: none; flex-direction: column; transform: translate3d(calc(var(--px) * 10px), calc(var(--py) * 8px), 0) rotate(calc(-8deg + var(--px) * 3deg)); }
  .key__fob { width: 92px; }
  .key__cue { max-width: 170px; padding: 10px 14px 11px; }
  .key__hint { font-size: 13px; }
  .key__cue { rotate: 8deg; }
  .hero__copy { padding-top: 0; }
  .hero__kicker { font-size: 12.5px; margin-bottom: 18px; }
  .hero__title { font-size: clamp(42px, 5.1vw, 78px); font-stretch: 112%; }
  .hero__lede { font-size: clamp(16px, 1.25vw, 18px); margin: 22px 0 30px; line-height: 1.65; }
  .hero__actions { gap: 12px; margin-bottom: 28px; }

  /* One slim row of four; the rest scroll sideways, with the arrows under the score. */
  .reviews { display: grid; grid-template-columns: 210px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; padding: 26px 0; }
  .reviews__head { grid-column: 1; grid-row: 1; align-self: end; padding: 0 0 0 var(--gutter); flex-direction: column; align-items: flex-start; }
  .reviews__title { flex-direction: column; align-items: flex-start; gap: 6px; }
  .reviews__score { font-size: 40px; }
  .reviews__nav { grid-column: 1; grid-row: 2; align-self: start; position: static; padding-left: var(--gutter); }
  .reviews__rail { grid-column: 2; grid-row: 1 / span 2; padding: 4px var(--gutter) 4px 18px; scroll-padding: 0 18px; align-items: start; }
  .rv { flex: 0 0 calc((100% - 36px) / 4); }

  .jobs { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "intro map" "list map"; align-items: start; column-gap: clamp(32px, 5vw, 80px); row-gap: 28px; }
  .jobs__intro { grid-area: intro; padding-top: 6vh; }
  .jobs__map { grid-area: map; aspect-ratio: 600 / 820; max-height: 88vh; justify-self: end; width: 100%; max-width: 660px; }
  .jobs__list { grid-area: list; flex-direction: column; overflow: visible; }
  .jobs__list button { width: 100%; grid-template-columns: 1fr auto; align-items: center; }
  .job { left: 16px; bottom: 16px; width: 34%; max-width: 220px; }
  .job__words { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.4; color: var(--ink); }
  .tname { font-size: 11px; }

  .check { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(36px, 6vw, 96px); align-items: start; }
  .ask { padding: 26px; }
  .check__use { padding-top: 12px; }

  .how__cable { display: block; position: absolute; left: 0; right: 0; top: 10px; width: 100%; height: 70px; }
  .how__cable path { fill: none; stroke: var(--amber); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; vector-effect: non-scaling-stroke; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); padding: 0; }
  .steps::before, .step::before { display: none; }
  .step__icon { width: 64px; height: 64px; margin-bottom: 18px; padding: 8px; background: var(--canvas); border: 1px solid var(--line-2); border-radius: 16px; position: relative; }
  .how__foot { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: clamp(28px, 5vw, 72px); }

  .svc summary { grid-template-columns: 56px minmax(0, 1fr) 24px; padding: 22px 4px; gap: 20px; }
  .svc__icon { width: 52px; height: 52px; }
  .svc__body { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); padding: 4px 4px 32px 76px; align-items: start; }

  .shot { flex: 0 0 300px; }
  .work__rail { padding-bottom: 14px; }

  .contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(36px, 6vw, 96px); align-items: start; }
  .form { padding: 28px; }

  .foot__top { grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
}

@media (min-width: 1200px) {
  .key { left: -96px; }
  .key__fob { width: 112px; }

}

@media (min-width: 1600px) {
  .hero, .jobs, .check, .how, .services, .contact { padding-left: max(var(--gutter), calc((100vw - 1480px) / 2)); padding-right: max(var(--gutter), calc((100vw - 1480px) / 2)); }
  .work__head { padding: 0 max(var(--gutter), calc((100vw - 1480px) / 2)); }
  .work__rail { padding-left: max(var(--gutter), calc((100vw - 1480px) / 2)); scroll-padding-left: max(var(--gutter), calc((100vw - 1480px) / 2)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fob-svg__halo, .map__ping, .use__tap, .step__pulse, .use__key .mini-led, .done-key .mini-led { animation: none !important; }
  .stage, .key { transform: none !important; }
  .ring { display: none; }
}

/* Map traces draw out of Blackburn when the map first arrives */
.map .trace { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease), stroke .3s var(--ease); }
.map.is-drawn .trace { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) { .map .trace { transition: none; } }

/* ---------- Pages: switcher on phones, current page in the nav ---------- */
.subnav { display: flex; gap: 6px; padding: 0 var(--gutter) 10px; margin-top: -4px; overflow-x: auto; scrollbar-width: none; }
.subnav::-webkit-scrollbar { display: none; }
.subnav a { flex: none; display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; color: var(--ink-dim); text-decoration: none; }
.subnav a[aria-current="page"] { color: var(--ink); border-color: rgba(var(--accent-rgb),.55); background: rgba(var(--accent-rgb),.08); }
.bar__nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--amber); }
.status--page .status__dot { background: var(--amber); }
.services__more { margin-top: 26px; }
@media (min-width: 900px) { .subnav { display: none; } }

/* ---------- Page intro (services, portfolio) ---------- */
.page-hero { padding: clamp(28px, 6vw, 72px) var(--gutter) clamp(36px, 6vw, 64px); max-width: 1100px; }
.page-hero__kicker { font: 600 11.5px/1.3 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.page-hero h1 { margin-top: 14px; font: 800 clamp(32px, 6vw, 72px)/1 var(--display); font-stretch: 110%; letter-spacing: -.02em; max-width: 18ch; }
.page-hero__lede { margin-top: 18px; color: var(--ink-dim); font-size: clamp(16px, 1.3vw, 18px); max-width: 56ch; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* ---------- Services page ---------- */
.svc-page { padding: 0 var(--gutter) var(--section); border-top: 1px solid var(--line); }
.svc-index { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 16px 0; position: sticky; top: 0; z-index: 5; background: linear-gradient(var(--canvas) 80%, rgba(11,12,15,0)); }
.svc-index::-webkit-scrollbar { display: none; }
.svc-index a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--ink-dim); text-decoration: none; background: var(--canvas); }
.svc-index a[aria-current] { color: var(--amber-ink); background: var(--amber); border-color: var(--amber); }
.svc-block { display: grid; gap: 20px; padding: clamp(40px, 6vw, 72px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 70px; }
.svc-block h2, .cars h2, .faq h2 { font: 800 clamp(26px, 5.4vw, 44px)/1.02 var(--display); font-stretch: 108%; letter-spacing: -.02em; }
.svc-block__lede { margin-top: 12px; color: var(--ink-dim); max-width: 54ch; }
.svc-block .tags { margin-top: 18px; }
.svc-note { margin-top: 16px; font-size: 14.5px; color: var(--ink-dim); max-width: 56ch; }
.svc-note q { color: var(--ink); }
.svc-block__links { margin-top: 16px; font-size: 14.5px; color: var(--ink-soft); }
.svc-block__links a { color: var(--amber); display: inline-block; padding: 10px 0; }
.svc-block__media { margin: 0; }
.svc-block__media img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); }
.svc-block__media figcaption { margin-top: 8px; font-size: 12.5px; color: var(--ink-soft); }
.flash-figs { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 22px; }
.flash-figs p { display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 6px; }
.flash-figs b { font: 800 clamp(40px, 9vw, 64px)/1 var(--display); font-stretch: 112%; font-variant-numeric: tabular-nums; }
.flash-figs span { font-weight: 700; color: var(--amber); }
.flash-figs small { grid-column: 1 / -1; margin-top: 4px; font-size: 12px; color: var(--ink-soft); }
.cars { padding: clamp(40px, 6vw, 72px) 0; border-bottom: 1px solid var(--line); }
.cars__list { margin: 22px 0 0; display: grid; gap: 12px; }
.cars__list div { padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; }
.cars__list dt { font: 700 17px/1.2 var(--display); }
.cars__list dd { margin: 6px 0 0; color: var(--ink-dim); font-size: 14.5px; }
.faq { padding: clamp(40px, 6vw, 72px) 0 0; scroll-margin-top: 70px; }
.faq h2 { margin-bottom: 18px; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 18px 2px; font: 600 16.5px/1.35 var(--text); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--amber); font-size: 22px; line-height: 1; }
.faq__item[open] summary::after { content: "\2013"; }
.faq__item summary:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 8px; }
.faq__item p { padding: 0 2px 20px; color: var(--ink-dim); max-width: 64ch; }
.cta-band { padding: var(--section) var(--gutter) calc(var(--section) + 30px); border-top: 1px solid var(--line); background: radial-gradient(60% 80% at 20% 0%, rgba(var(--accent-rgb),.08), transparent 70%); }
.cta-band h2 { font: 800 clamp(30px, 6vw, 56px)/1 var(--display); font-stretch: 110%; letter-spacing: -.02em; max-width: 18ch; }
.cta-band p { margin-top: 12px; color: var(--ink-dim); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* ---------- Portfolio ---------- */
.pf-wrap { padding: 0 var(--gutter) var(--section); border-top: 1px solid var(--line); }
.pf-filters { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 18px 0 22px; }
.pf-filters::-webkit-scrollbar { display: none; }
.pf-filter { all: unset; box-sizing: border-box; flex: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 15px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-dim); }
.pf-filter span { font-weight: 500; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.pf-filter[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }
.pf-filter[aria-pressed="true"] span { color: var(--amber-ink); }
.pf-filter:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.pf-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
.pf__btn { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 3px; width: 100%; border-radius: 16px; }
.pf__btn:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
.pf__img { position: relative; display: block; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); margin-bottom: 8px; }
.pf__img img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transition: transform .5s var(--ease); }
@media (hover: hover) { .pf__btn:hover .pf__img img { transform: scale(1.04); } }
.pf__badge { position: absolute; left: 8px; top: 8px; padding: 5px 9px; border-radius: 999px; background: rgba(11,12,15,.75); backdrop-filter: blur(6px); font-size: 11px; font-weight: 600; color: var(--amber); letter-spacing: .04em; }
.pf__car { font: 700 15px/1.25 var(--display); }
.pf__line { font-size: 13px; color: var(--ink-dim); line-height: 1.4; }
.pf__date { font-size: 12px; color: var(--ink-soft); }
.pf-more { margin-top: 30px; font-size: 14px; }
.pf-more a { color: var(--ink-dim); display: inline-block; padding: 12px 0; }
.viewer { padding: 0; border: 1px solid var(--line-2); border-radius: 20px; background: var(--surface); color: var(--ink); width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); }
.viewer::backdrop { background: rgba(5,5,6,.82); backdrop-filter: blur(4px); }
.viewer__inner { position: relative; padding: 14px 14px 20px; display: grid; gap: 8px; }
.viewer__close { all: unset; position: absolute; right: 18px; top: 18px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(11,12,15,.7); font-size: 22px; cursor: pointer; }
.viewer__close:focus-visible { outline: 2px solid var(--amber); }
.viewer__media { border-radius: 12px; overflow: hidden; background: #000; display: grid; place-items: center; }
.viewer__media img, .viewer__media video { width: 100%; height: auto; max-height: 62dvh; object-fit: contain; }
.viewer__nav { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 13px; color: var(--ink-soft); }
.viewer__car { margin-top: 6px; font: 800 22px/1.15 var(--display); font-stretch: 106%; }
.viewer__line { font-size: 13.5px; color: var(--ink-soft); }
.viewer__words { font-size: 14.5px; color: var(--ink-dim); line-height: 1.55; }

@media (min-width: 600px) { .pf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cars__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .svc-page { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
  .svc-index { flex-direction: column; gap: 4px; padding: 40px 0 0; top: 12px; background: none; overflow: visible; }
  .svc-index a { border: 0; background: none; padding: 0 12px; min-height: 40px; border-left: 2px solid var(--line); border-radius: 0; }
  .svc-index a[aria-current] { background: none; color: var(--ink); border-left-color: var(--amber); }
  .svc-block { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
  .pf-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 18px; }
}

/* ---------- Design 2: the same site in electric "coding" blue (switch at the top) ---------- */
:root[data-theme="blue"] {
  --amber: #3d9dff; --amber-hi: #6cb5ff; --amber-deep: #1e78e0; --amber-ink: #03111f;
  --accent-rgb: 61,157,255; --pulse: #c4e2ff; --run-border: #1d3550;
}
[fill="#f29a38"] { fill: var(--amber); }
[stroke="#f29a38"] { stroke: var(--amber); }
.design-switch { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid var(--line-2); border-radius: 999px; }
.design-switch button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 11px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--ink-dim); }
.design-switch button i { width: 9px; height: 9px; border-radius: 50%; }
.design-switch button[aria-pressed="true"] { background: var(--raise); color: var(--ink); }
.design-switch button:focus-visible { outline: 2px solid var(--amber); outline-offset: 1px; }
.preview-tag { flex-wrap: wrap; gap: 6px 14px; }

/* ---------- Burger menu with a Services dropdown ---------- */
.subnav { display: none !important; }
.menu-btn { all: unset; box-sizing: border-box; cursor: pointer; flex: none; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border: 1px solid var(--line-2); border-radius: 12px; }
.menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s var(--ease); }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu-btn:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.bar { position: relative; }
.status { margin-left: auto; }
.bar__nav.is-open { display: grid; position: absolute; left: 10px; right: 10px; top: calc(100% - 4px); z-index: 30; padding: 10px; gap: 2px; background: rgba(18,20,25,.97); backdrop-filter: blur(10px); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.9); animation: rise .3s var(--ease) both; }
.bar__nav.is-open > a, .bar__nav.is-open .dd__btn { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 12px; color: var(--ink); text-decoration: none; font-size: 16px; }
.bar__nav.is-open > a[aria-current="page"], .bar__nav.is-open .dd__btn[aria-current="page"] { background: var(--raise); box-shadow: none; }
.bar__nav.is-open .bar__wa { margin-top: 6px; justify-content: center; background: var(--amber); color: var(--amber-ink); font-weight: 600; }
.dd__btn { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.dd__btn::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s var(--ease); }
.dd__btn[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.dd__btn:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 8px; }
.dd__list { display: none; list-style: none; margin: 0; padding: 4px 0 6px 14px; }
.dd.is-open .dd__list { display: grid; }
.dd__list a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--ink-dim); text-decoration: none; font-size: 15px; }
.dd__list a:hover { color: var(--ink); background: var(--raise); }
.dd__all a { color: var(--amber); }
.bar__wa { display: none; }
@media (min-width: 900px) {
  .menu-btn { display: none; }
  .status { margin-left: 0; }
  .bar__nav { align-items: center; }
  .dd { position: relative; }
  .dd__btn { padding: 13px 0; color: var(--ink-dim); font-size: 14px; }
  .dd__btn:hover, .dd__btn[aria-current="page"] { color: var(--ink); }
  .dd__btn[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--amber); }
  .dd__list { position: absolute; left: -14px; top: 100%; z-index: 30; min-width: 270px; padding: 8px; background: rgba(18,20,25,.97); backdrop-filter: blur(10px); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.9); }
  .dd.is-open .dd__list { animation: rise .25s var(--ease) both; }
}
/* the services page key icon blinks its LED as the row opens */
.svc__icon--key { width: 26px; height: auto; justify-self: center; color: var(--ink-dim); }
.svc[open] .svc__icon--key .mini-led { animation: led 3.2s steps(1) infinite; }
.svc__note--lead { margin-top: 0; color: var(--ink); }
.svc__links { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14.5px; }
.svc__links a { color: var(--amber); display: inline-block; padding: 10px 0; }
.services--page { border-top: 0; padding-top: 0; }



/* Car caption inside the video box, top left over the sky, same size as before */
.stage__cap { position: absolute; left: 10px; top: 10px; z-index: 3; margin: 0; max-width: calc(100% - 140px); padding: 7px 10px; border-radius: 10px; background: rgba(11,12,15,.62); backdrop-filter: blur(6px); color: #d3d7de; font-size: 11.5px; line-height: 1.4; }
@media (min-width: 900px) {
  .stage__cap { padding: 8px 11px; font-size: 12.5px; max-width: calc(100% - 150px); }
  .sound { top: 10px; bottom: auto; right: 10px; background: rgba(11,12,15,.6); border-color: rgba(255,255,255,.14); }
}
.stage__cap { top: auto; bottom: 10px; max-width: calc(100% - 92px); }
@media (min-width: 900px) { .stage__cap { max-width: calc(100% - 40px); } .key { bottom: 30%; } }
.stage__cap { background: none; backdrop-filter: none; padding: 0; left: 12px; bottom: 12px; color: #eef0f3; text-shadow: 0 1px 3px rgba(0,0,0,.85), 0 0 10px rgba(0,0,0,.55); }
@media (min-width: 900px) { .stage__cap { padding: 0; left: 14px; bottom: 14px; } }
.stage__cap { white-space: nowrap; max-width: none; right: auto; }

/* Phones: a squarer box showing the paving under the car, where the key and its label sit side by side */
@media (max-width: 599px) {
  .stage__frame { height: auto; aspect-ratio: 1 / 1; max-height: 52vh; }
  .stage__video, .stage__dark { object-position: 50% 100%; }
  .key { right: 8px; bottom: calc(12px + 1.4em + 14px); rotate: -4deg; flex-direction: row-reverse; align-items: flex-end; gap: 12px; font-size: 11.5px; }
  .key__cue { max-width: 112px; rotate: 4deg; }
  .stage__cap { position: static; margin-top: 8px; white-space: normal; color: var(--ink-soft); text-shadow: none; }
}
/* Hero car switch (preview only, home): at the right end of the preview bar on wide screens */
.car-switch__label { align-self: center; padding: 0 6px 0 9px; font-size: 11.5px; color: var(--ink-soft); }
@media (min-width: 900px) { .car-switch { position: absolute; right: 16px; top: 50%; translate: 0 -50%; } }
/* The M340i's whole car, roof to bumper, on tablets too (its clip has the car lower in the frame) */
@media (min-width: 600px) and (max-width: 899px) {
  [data-car="m340i"] .stage__frame { height: auto; aspect-ratio: 720 / 520; }
  [data-car="m340i"] .stage__video, [data-car="m340i"] .stage__dark { object-position: 50% 57%; }
}
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Privacy page and the line under the form */
.legal { padding: 0 var(--gutter) var(--section); max-width: calc(68ch + 2 * var(--gutter)); }
.legal h2 { margin: 40px 0 12px; font: 700 clamp(20px, 2.4vw, 26px)/1.15 var(--display); font-stretch: 105%; }
.legal p { color: var(--ink-dim); margin-top: 12px; }
.legal p:first-child { margin-top: 0; }
.legal a { color: var(--ink); }
.legal__date { margin-top: 36px !important; font-size: 13px; color: var(--ink-soft) !important; }
.form__privacy { margin-top: 10px; font-size: 12.5px; color: var(--ink-soft); text-align: center; }
