/* Brand palette: Option 2 · Plum + Chartreuse (Wada #61) · condensed industrial type; dark by default, light as an option.
   BRAND COLORS: every color the site uses is set in this top section. To change the look, change only the values here
   (the palette block, then the light-mode line under it). The 3D van glow and the light sweep read --accent and --accent-hot from here.
   Outside this file, only index.html's theme-color and favicon carry colors (3 hex values, marked there). */
:root {
  /* palette: dark (the default, and always the header, the story and the photo tiles) */
  --d-bg: #0A1322; --d-bg-rgb: 10, 19, 34; --d-surface: #111D33; --d-raised: #17284A; --d-surface-2: #0C172B; --d-foot: #070D18; --d-field: #0C1729;
  --d-text: #EEF2F8; --d-text-rgb: 238, 242, 248; --d-text-2: #D5DCE8; --d-text-3: #DCE2EE; --d-muted: #A3AFC4; --d-muted-rgb: 163, 175, 196;
  --night-rgb: 8, 14, 26; --night-2-rgb: 6, 11, 22; --night-3-rgb: 9, 16, 30; --night-4-rgb: 4, 8, 18;   /* navy behind see-through panels and shadows */
  --map-1: #10203B; --map-2: #081121; --van-bg: #142746; --sms-in-d: #1C2C4C;
  /* palette: the accent (buttons, highlights, the van's glow) */
  --accent: #C7D14F; --accent-rgb: 199, 209, 79; --accent-ink-d: #C7D14F; --on-accent: #1A1306;
  --accent-hi-rgb: 246, 250, 214; --accent-hot: 240, 246, 190;   /* the bright core of the light sweep */
  --stamp-ink: #4A5200; --stamp-bg: #F1F4C8; --red: #FF4D4D;
  /* palette: the lead color (Option 2 · Plum + Chartreuse (Wada #61)): the last band of the page, white text on it */
  --lead: #501345; --final-bg: var(--lead); --on-lead: #FFFFFF; --on-lead-2: rgba(255, 255, 255, .9); --final-ghost: rgba(255, 255, 255, .10); --final-ghost-line: rgba(255, 255, 255, .45);
  /* palette: the proof-of-delivery paper card */
  --pod-bg: #F4F6FA; --pod-ink: #16213A; --pod-sig: #2D3E66;

  color-scheme: dark;   /* one deliberate look: night with accent light */
  --bg: var(--d-bg); --surface: var(--d-surface); --raised: var(--d-raised); --text: var(--d-text); --muted: var(--d-muted);
  --mark: var(--accent); --accent-ink: var(--accent-ink-d); --line: rgba(var(--d-text-rgb), .10);
  --surface-2: var(--d-surface-2); --text-2: var(--d-text-2); --foot: var(--d-foot); --field: var(--d-field); --field-line: rgba(var(--d-text-rgb), .18);
  --ghost-bg: rgba(var(--d-bg-rgb), .55); --ghost-line: rgba(var(--d-text-rgb), .28); --chip-line: rgba(var(--d-text-rgb), .14); --sms-in: var(--sms-in-d);
  --head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif; --body: "IBM Plex Sans", system-ui, sans-serif;
  --sat: env(safe-area-inset-top, 0px);   /* the notch: the fixed header drops below it, so content does too */
  --r: 8px; --tshadow: 0 1px 2px rgba(var(--night-4-rgb), .9), 0 3px 14px rgba(var(--night-4-rgb), .75), 0 10px 44px rgba(var(--night-4-rgb), .7);
}
/* light is an option (dark is the default); the story, the header and the photo tiles always stay dark */:root[data-pe-theme="light"] { color-scheme: light; --mark: var(--accent-ink); --bg: #F3F5F9; --surface: #FFFFFF; --raised: #E6ECF5; --surface-2: #E9EEF6; --text: #0E1A2E; --text-2: #24324D; --muted: #4B5874; --accent-ink: #501345;
  --line: rgba(14, 26, 46, .12); --foot: #E3E8F1; --field: #FFFFFF; --field-line: rgba(14, 26, 46, .22); --ghost-bg: rgba(255, 255, 255, .7); --ghost-line: rgba(14, 26, 46, .25); --chip-line: rgba(14, 26, 46, .16); --sms-in: #E3E9F3; }
.story, .top, .tile-big { color-scheme: dark; color: var(--text); --bg: var(--d-bg); --surface: var(--d-surface); --raised: var(--d-raised); --surface-2: var(--d-surface-2); --text: var(--d-text); --text-2: var(--d-text-2); --muted: var(--d-muted); --accent-ink: var(--accent-ink-d); --mark: var(--accent);
  --line: rgba(var(--d-text-rgb), .10); --field: var(--d-field); --field-line: rgba(var(--d-text-rgb), .18); --ghost-bg: rgba(var(--d-bg-rgb), .55); --ghost-line: rgba(var(--d-text-rgb), .28); --chip-line: rgba(var(--d-text-rgb), .14); }/* service area = the insured radius (config.js serviceArea). Dallas County shows by default, before any script runs. */
[data-only="dfw"] { display: none; }
html[data-pe-area="dfw"] [data-only="dfw"] { display: revert; }
html[data-pe-area="dfw"] [data-only="county"] { display: none; }
/* The Standard's gates (config.js standard). A claim marked data-gate stays hidden until its switch is on, even if no script runs;
   its data-ungate twin is today's wording and steps aside once the switch is on. data-also="ontime": the line also needs the on-time switch.
   ontime = the on-time promise; proof = the proof-of-delivery app set up and tested; kit = uniform + clean-van routine in use;
   finddriver = "We find the driver to fill the work" (held until partner drivers sign). */
html:not([data-pe-ontime="on"]) [data-gate="ontime"], html:not([data-pe-ontime="on"]) [data-also="ontime"], html[data-pe-ontime="on"] [data-ungate="ontime"],
html:not([data-pe-proof="on"]) [data-gate="proof"], html[data-pe-proof="on"] [data-ungate="proof"],
html:not([data-pe-kit="on"]) [data-gate="kit"], html[data-pe-kit="on"] [data-ungate="kit"],
html:not([data-pe-finddriver="on"]) [data-gate="finddriver"], html[data-pe-finddriver="on"] [data-ungate="finddriver"],
html:not([data-pe-medkit="on"]) [data-gate="medkit"], html[data-pe-medkit="on"] [data-ungate="medkit"],
html:not([data-pe-portal="on"]) [data-gate="portal"], html:not([data-pe-dba="on"]) [data-gate="dba"], html[data-pe-dba="on"] [data-ungate="dba"] { display: none !important; }
a.terms { color: var(--accent-ink); font-weight: 600; font-size: .9em; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.story a.terms { color: var(--accent-ink-d); }
.terms-box { margin-top: 22px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); scroll-margin-top: 90px; }
.terms-box h3 { font-size: 1.4rem; margin: 0 0 6px; }
.terms-box .fine { margin-top: 10px; } .terms-box .fine b { color: var(--text); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--body); overflow-x: clip; }
html.lenis, html.lenis body { height: auto; } .lenis.lenis-smooth { scroll-behavior: auto !important; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.02; letter-spacing: .005em; margin: 0 0 14px; }
p { margin: 0 0 14px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: #121212; padding: 10px 14px; border-radius: var(--r); }
.skip:focus { left: 12px; }
.wrap { width: min(1180px, 100% - 40px); margin: 0 auto; }

/* buttons: softly squared, never pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 6px; font: 600 1rem var(--body); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .15s ease, background .2s, border-color .2s; }
.btn:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; }
.btn:active { transform: translateY(1px); }
.btn-amber { background: var(--accent); color: var(--on-accent); }
.btn-amber:hover { background: var(--accent-ink); }
.btn-ghost { background: var(--ghost-bg); color: var(--text); border-color: var(--ghost-line); }
.btn-ghost:hover { border-color: var(--accent-ink); }
.btn-sm { min-height: 44px; padding: 0 14px; font-size: .92rem; }
.theme-btn, .lang-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; flex: none; border-radius: 6px; border: 1px solid var(--ghost-line); background: var(--ghost-bg); color: var(--text); cursor: pointer; }
.theme-btn svg { width: 20px; height: 20px; }
.lang-btn { font: 700 1rem var(--head); letter-spacing: .06em; }
.lang-btn:hover, .theme-btn:hover { border-color: var(--accent); }
.theme-btn:focus-visible, .lang-btn:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 2px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
/* the header "Log in" (config.js portal): looks like the ES and theme buttons, and stays on phones */
.login-btn { display: inline-flex; align-items: center; gap: 7px; flex: none; min-height: 44px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--ghost-line); background: var(--ghost-bg); color: var(--text); font: 600 .92rem var(--body); text-decoration: none; white-space: nowrap; }
.login-btn svg { width: 18px; height: 18px; flex: none; }
.login-btn:hover { border-color: var(--accent); }
.login-btn:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 2px; }
.ac-login { margin: 14px 0 0; font-size: .95rem; color: var(--muted); }
.ac-login a { color: var(--accent-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
/* with Log in on, the menu steps aside ~100px (EN) / ~150px (ES) sooner, so the header stays on one line */
@media (max-width: 1130px) { html[data-pe-portal="on"] .nav { display: none; } html[data-pe-portal="on"] .bar-cta { margin-left: auto; } }
@media (max-width: 1290px) { html[data-pe-portal="on"][lang="es"] .nav { display: none; } html[data-pe-portal="on"][lang="es"] .bar-cta { margin-left: auto; } }
/* phones: an icon square like the ES and theme buttons (its words stay for screen readers) */
@media (max-width: 720px) {
  .login-btn { width: 44px; padding: 0; justify-content: center; }
  .login-btn svg { width: 20px; height: 20px; }
  .login-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 420px) { html[data-pe-portal="on"] .bar { gap: 8px; } html[data-pe-portal="on"] .bar-cta { gap: 6px; } }
@media (max-width: 359px) { html[data-pe-portal="on"] .top .logo span { display: none; } }

/* header */
.top { position: fixed; inset: 0 0 auto; z-index: 40; padding-top: env(safe-area-inset-top, 0px); background: linear-gradient(180deg, rgba(var(--night-rgb), .82), rgba(var(--night-rgb), 0)); }
.bar { display: flex; align-items: center; gap: 22px; width: min(1320px, 100% - 32px); margin: 0 auto; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font: 700 1.35rem var(--head); text-transform: uppercase; letter-spacing: .06em; }
.mark { width: 34px; height: 34px; color: var(--text); }
.logo:hover .mark { color: var(--accent); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--text); }
.bar-cta { display: flex; gap: 10px; }
/* the header stays on one line: the nav steps aside before anything wraps (it needs ~980px in English, ~1100px in Spanish) */
.nav a, .btn-sm, .top .logo { white-space: nowrap; }
@media (max-width: 1020px) { .nav { display: none; } .bar-cta { margin-left: auto; } }
@media (max-width: 1120px) { html[lang="es"] .nav { display: none; } html[lang="es"] .bar-cta { margin-left: auto; } }
/* any length of brand name fits: the buttons never shrink; on phones a long wordmark wraps to two tight lines instead of pushing them off-screen (a short name that fits stays on one line) */
.top .bar-cta { flex: none; }
.top .logo { min-width: 0; flex: 0 1 auto; }
@media (max-width: 640px) { .top .logo { white-space: normal; } .top .logo span { min-width: 0; line-height: 1.02; overflow-wrap: anywhere; } }

/* the story stage: pinned behind the beats */
.story { position: relative; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; margin-bottom: -100vh; margin-bottom: -100svh; overflow: hidden; background: var(--d-foot); z-index: 0; }
.scene { position: absolute; inset: 0; opacity: 0; will-change: opacity; }
.scene > img, .scene > picture, .scene > picture > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene > img, .scene > picture { will-change: transform; transform-origin: 50% 50%; }
.scene[data-scene="dawn"] { opacity: 1; }
.atmos { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
.sweep { position: absolute; top: -20%; bottom: -20%; left: 0; width: 46%; pointer-events: none; opacity: 0; mix-blend-mode: screen;
  background: linear-gradient(100deg, rgba(var(--accent-rgb), 0) 0%, rgba(var(--accent-rgb), .18) 38%, rgba(var(--accent-hi-rgb), .55) 50%, rgba(var(--accent-rgb), .18) 62%, rgba(var(--accent-rgb), 0) 100%); transform: translateX(-120%) skewX(-12deg); }
.shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(var(--d-bg-rgb), .85) 0%, rgba(var(--d-bg-rgb), 0) 22%), radial-gradient(120% 90% at 50% 40%, rgba(0, 0, 0, 0) 55%, rgba(var(--night-4-rgb), .55) 100%); }

/* scene overlays */
.scene-map { background: radial-gradient(90% 80% at 60% 45%, var(--map-1) 0%, var(--map-2) 70%); }
.map { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .hwy { fill: none; stroke: rgba(var(--d-muted-rgb), .32); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.map .grid { stroke: rgba(var(--d-muted-rgb), .06); stroke-width: 1; }
.map .city circle { fill: var(--d-muted); } .map .city text { fill: rgba(var(--d-text-rgb), .72); font: 500 22px var(--body); }
.map .city.on circle { fill: var(--accent); } .map .city.on text { fill: #fff; font-weight: 600; }
.map .route-glow { fill: none; stroke: var(--accent); stroke-width: 16; stroke-linecap: round; opacity: .35; filter: blur(8px); }
.map .route { fill: none; stroke: var(--accent-ink); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.map .van-dot { fill: #fff; stroke: var(--accent); stroke-width: 6; }
.map .pulse { fill: none; stroke: var(--accent); stroke-width: 3; }
.map-ticker, .log, .specs, .clock, .load-tabs { position: absolute; z-index: 2; font-variant-numeric: tabular-nums; }
.map-ticker { right: 5vw; bottom: 12vh; display: grid; gap: 8px; text-align: right; font-size: 1rem; color: var(--muted); }
.map-ticker span, .map-ticker b { opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.map-ticker .on { opacity: 1; transform: none; color: var(--text); }
.map-ticker b { color: var(--accent-ink); font: 700 1.5rem var(--head); }
.log { right: 5vw; bottom: 12vh; margin: 0; padding: 18px 20px; list-style: none; background: rgba(var(--night-rgb), .78); border: 1px solid var(--line); border-radius: var(--r); backdrop-filter: blur(6px); min-width: 300px; }
.log li { padding: 6px 0; border-bottom: 1px solid var(--line); opacity: .25; transition: opacity .4s; }
.log li.on { opacity: 1; } .log li b { color: var(--accent-ink); margin-right: 8px; }
.log .log-tag { border: 0; opacity: .7 !important; font-size: .78rem; color: var(--muted); padding-bottom: 0; }
.scene-van { background: radial-gradient(70% 70% at 62% 55%, var(--van-bg) 0%, var(--d-foot) 75%); }
.van3d { position: absolute; inset: 0; }
.van3d canvas { display: block; width: 100% !important; height: 100% !important; }
.specs { right: 5vw; bottom: 12vh; margin: 0; padding: 16px 20px; list-style: none; display: grid; gap: 6px; background: rgba(var(--night-rgb), .72); border: 1px solid var(--line); border-radius: var(--r); max-width: 300px; }
.specs b { font: 700 1.25rem var(--head); color: var(--accent-ink); margin-right: 6px; }
.specs-note { font-size: .8rem; color: var(--muted); }
.load-tabs { left: 50%; top: calc(92px + var(--sat)); transform: translateX(-50%); width: max-content; display: flex; gap: 6px; padding: 5px; background: rgba(var(--night-rgb), .7); border: 1px solid var(--line); border-radius: 8px; }
.load-tabs span { padding: 6px 12px; border-radius: 5px; color: var(--muted); font-weight: 500; font-size: .9rem; white-space: nowrap; transition: background .3s, color .3s; }
.load-tabs span.on { background: var(--accent); color: var(--on-accent); }
.clock { right: 5vw; top: calc(96px + var(--sat)); display: grid; gap: 2px; text-align: right; padding: 12px 16px; background: rgba(var(--night-rgb), .7); border: 1px solid var(--line); border-radius: var(--r); }
.clock span { color: var(--muted); font-size: .85rem; } .clock b { font: 700 2.4rem/1 var(--head); color: var(--red); letter-spacing: .02em; }
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.pod { position: absolute; right: 6vw; top: 50%; margin: 0; width: 300px; transform: translateY(-50%); background: var(--pod-bg); color: var(--pod-ink); border-radius: 10px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .55); opacity: 0; }
.pod-img { height: 150px; background: url(img/lobby.jpg) 62% 70% / 260% auto no-repeat; }
.pod figcaption { display: grid; gap: 3px; padding: 14px 16px 16px; font-size: .86rem; position: relative; }
.pod figcaption b { font: 700 1.3rem var(--head); color: var(--d-bg); }
.pod .sig { width: 140px; height: 34px; color: var(--pod-sig); margin-top: 4px; }
.pod i { position: absolute; right: 14px; top: 14px; font-style: normal; font-size: .76rem; font-weight: 600; color: var(--stamp-ink); background: var(--stamp-bg); padding: 2px 8px; border-radius: 4px; }

/* beats of copy over the stage */
.beat { position: relative; z-index: 1; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 100px max(20px, 6vw) 70px; pointer-events: none; }
.beat-right { justify-content: flex-end; }
.beat-end { min-height: 150vh; min-height: 150svh; }
.beat-in { position: relative; width: min(36rem, 100%); min-width: 0; text-shadow: var(--tshadow); pointer-events: auto; opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.beat-in::before { content: ""; position: absolute; inset: -18% -14%; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 70% 62% at 50% 50%, rgba(var(--night-2-rgb), .66), rgba(var(--night-2-rgb), 0) 74%); }
.beat.in .beat-in { opacity: 1; transform: none; }
.beat-hero .beat-in { opacity: 1; transform: none; }
.beat h1 { font-size: clamp(2.8rem, 6.6vw, 5.6rem); text-transform: none; }
.beat h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
html[lang="es"] .beat-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.8rem); }   /* Spanish runs ~20% longer: keep the instant price above the fold */
.beat p { color: var(--d-text-3); font-size: 1.08rem; }
.eyebrow { color: var(--accent-ink); font-weight: 600; font-size: .98rem; margin-bottom: 14px; text-wrap: balance; }
.kicker { color: var(--accent-ink) !important; font-weight: 600; font-size: 1rem !important; margin-bottom: 10px; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem) !important; margin-bottom: 22px; }
.trust, .tags { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 18px 0 0; color: var(--muted); font-size: .92rem; text-shadow: none; }
.trust li::before, .tags li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; background: var(--mark); transform: rotate(45deg) translateY(-2px); }
.doors { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* instant price */
.mini { text-shadow: none; background: rgba(var(--night-3-rgb), .82); border: 1px solid var(--line); border-radius: 10px; padding: 14px; backdrop-filter: blur(8px); max-width: 33rem; }
.mini-row, .q-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
label { display: grid; gap: 4px; font-size: .8rem; color: var(--muted); font-weight: 500; }
select, input[type=number] { width: 100%; min-height: 44px; background: var(--field); color: var(--text); border: 1px solid var(--field-line); border-radius: 6px; padding: 0 10px; font: 500 .95rem var(--body); }
select:focus, input:focus { outline: 2px solid var(--mark); outline-offset: 1px; }
.speed { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 10px 0; }
.chip { display: grid; gap: 1px; padding: 8px 6px; min-height: 52px; background: var(--field); color: var(--text); border: 1px solid var(--chip-line); border-radius: 6px; cursor: pointer; font: 500 .82rem var(--body); text-align: center; }
.chip b { font: 700 1.05rem var(--head); letter-spacing: .02em; }
.chip span { color: var(--muted); font-size: .75rem; }
.chip[aria-pressed="true"] { border-color: var(--accent-ink); background: rgba(var(--accent-rgb), .14); }   /* accent-ink: readable on white in light mode */
.chip[aria-pressed="true"] span { color: var(--accent-ink); }
.mini-out { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mini-out span { display: block; color: var(--muted); font-size: .82rem; }
.price { font: 700 2.4rem/1 var(--head); color: var(--text); font-variant-numeric: tabular-nums; display: inline-block; }
.price.tick { animation: tick .35s ease; }
@keyframes tick { from { transform: translateY(-6px); color: var(--accent-ink); } to { transform: none; } }

/* sections */
.block { position: relative; z-index: 2; padding: clamp(80px, 11vw, 140px) 0; background: var(--bg); }
.h-sec { font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 22ch; margin-bottom: 28px; }
.sub { color: var(--muted); font-size: 1.08rem; max-width: 44ch; }
.quote { background: linear-gradient(180deg, var(--bg) 0%, var(--surface-2) 100%); }
.quote-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.quote-copy h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.quote-copy p { color: var(--muted); font-size: 1.08rem; }
.incl { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.incl li { padding-left: 28px; position: relative; }
.incl li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px; border-left: 2px solid var(--mark); border-bottom: 2px solid var(--mark); transform: rotate(-45deg); }
.qcard { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: clamp(18px, 3vw, 28px); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.speed-full .chip { min-height: 60px; }
.q-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin: 6px 0 16px; }
.check { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--text); font-weight: 400; cursor: pointer; min-height: 44px; }
.check input { width: 22px; height: 22px; accent-color: var(--mark); flex: none; }
.check small, .num small { color: var(--muted); }
.num { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--text); font-weight: 400; }
.num input { width: 70px; min-height: 44px; }
.q-out { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; margin-bottom: 14px; }
.price-big { font-size: clamp(3rem, 6vw, 4.2rem); color: var(--accent-ink); }
.q-mi { display: block; color: var(--muted); font-size: .9rem; margin-top: 4px; }
.q-win { margin: 8px 0; font-size: .95rem; }
.q-lines { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 4px; font-size: .9rem; color: var(--muted); }
.q-lines li { display: flex; justify-content: space-between; gap: 12px; } .q-lines b { color: var(--text); font-weight: 500; }
.q-promise { margin: 6px 0 0; color: var(--accent-ink); font-weight: 600; font-size: .95rem; }
.hhg { margin-bottom: 10px; }
.q-book { display: flex; flex-wrap: wrap; gap: 10px; }
.q-note { margin: 10px 0 0; font-size: .88rem; color: var(--accent-ink); min-height: 1.2em; }
.q-small { margin: 6px 0 0; font-size: .78rem; color: var(--muted); }
/* the start-time picker: any day and time; "Available" starts already have a driver ready */
.q-when { margin-top: 4px; }
.q-slot { margin: 8px 0 2px; font-size: .9rem; font-weight: 600; color: var(--accent-ink); min-height: 1.4em; }
.q-slot::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: currentColor; vertical-align: 1px; }
.q-slot.req { color: var(--text-2); font-weight: 500; }
.q-slot:empty { display: none; }
.q-hours { margin: 0 0 12px; font-size: .82rem; color: var(--muted); }
.check input:disabled { cursor: not-allowed; }
.btn[hidden] { display: none; }
.serve-sub { margin: -14px 0 26px; }
.serve-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.tile { grid-column: span 2; display: flex; flex-direction: column; gap: 6px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; min-height: 210px; transition: border-color .2s, transform .2s; }
.tile:hover { border-color: rgba(var(--accent-rgb), .55); transform: translateY(-2px); }
.tile h3 { font-size: 1.7rem; } .tile p { color: var(--muted); flex: 1; }
.tile a { display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px; color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.tile a::after { content: " \2192"; }
.tile-big { grid-column: span 3; min-height: 280px; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.tile-big::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--d-bg-rgb), .25), rgba(var(--d-bg-rgb), .92) 72%); }
.tile-big > * { position: relative; }
.tile-big h3 { margin-top: auto; font-size: 2.2rem; } .tile-big p { flex: none; color: var(--d-text-2); }
.tile-med { background-image: url(img/custody.jpg); } .tile-auto { background-image: url(img/bay.jpg); }
.tile-wide { grid-column: span 6; min-height: 0; flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
.tile-wide p { flex: 1; margin: 0; } .tile-wide h3 { margin: 0; flex: none; }
.pricing { background: var(--surface-2); }
.ladder { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 26px; }
.rung { padding: 22px; border-right: 1px solid var(--line); background: var(--surface); }
.rung:last-child { border-right: 0; }
.rung:first-child { background: linear-gradient(160deg, rgba(var(--accent-rgb), .16), rgba(var(--accent-rgb), .02) 60%), var(--surface); }
.rung h3 { font-size: 1.6rem; margin-bottom: 4px; } .rung .from { font: 700 2.6rem/1 var(--head); color: var(--accent-ink); }
.rung .from small { font: 500 .85rem var(--body); color: var(--muted); margin-right: 4px; }
.rung p { color: var(--muted); font-size: .9rem; margin: 10px 0 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.bands { width: 100%; border-collapse: collapse; min-width: 640px; font-variant-numeric: tabular-nums; }
.bands caption { text-align: left; padding: 14px 18px; color: var(--muted); caption-side: top; font-size: .9rem; }
.bands th, .bands td { padding: 13px 18px; text-align: right; border-top: 1px solid var(--line); }
.bands th:first-child, .bands td:first-child { text-align: left; }
.bands thead th { color: var(--muted); font-weight: 500; font-size: .85rem; }
.bands tbody th { font: 700 1.25rem var(--head); } .bands td { font-weight: 500; }
.price-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); margin-top: 40px; }
.price-split h3 { font-size: 1.7rem; }
.dots { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; color: var(--muted); }
.dots li { padding-left: 18px; position: relative; } .dots li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; background: var(--mark); transform: rotate(45deg); }
.how-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 6vw, 90px); align-items: center; }
.steps { margin: 0; display: grid; gap: 22px; }
.steps div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: baseline; border-top: 1px solid var(--line); padding-top: 18px; }
.steps dt { font: 700 2rem var(--head); color: var(--accent-ink); } .steps dd { margin: 0; color: var(--text-2); font-size: 1.05rem; }
.phone { position: relative; padding: 26px 18px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 30px; display: grid; gap: 10px; max-width: 340px; margin-left: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.sms { padding: 10px 14px; border-radius: 16px; font-size: .92rem; max-width: 88%; }
.sms.in { background: var(--sms-in); border-bottom-left-radius: 4px; } .sms.out { background: var(--accent); color: var(--on-accent); justify-self: end; border-bottom-right-radius: 4px; }
.phone-tag { margin: 4px 0 0; font-size: .8rem; color: var(--muted); text-align: center; }
.promise { background: radial-gradient(80% 120% at 0% 0%, rgba(var(--accent-rgb), .10), rgba(var(--accent-rgb), 0) 60%), var(--bg); }
.promise-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; }
.pr { padding: 26px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.pr h3 { font-size: 1.9rem; } .pr p { color: var(--muted); margin: 0; }
.pr-main { background: linear-gradient(150deg, rgba(var(--accent-rgb), .2), rgba(var(--accent-rgb), .03)), var(--surface); border-color: rgba(var(--accent-rgb), .4); }
.pr-main h3 { font-size: 2.6rem; color: var(--accent-ink); }
.fine { margin: 18px 0 0; color: var(--muted); font-size: .85rem; max-width: 90ch; }
.paper-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.facts li { display: grid; gap: 2px; padding: 18px 12px 18px 0; border-bottom: 1px solid var(--line); }
.facts b { font: 700 1.8rem var(--head); } .facts span { color: var(--muted); font-size: .9rem; }
.accounts { background: var(--surface-2); }
.accounts-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.stack { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 12px; }
.stack li { padding-left: 22px; position: relative; color: var(--text-2); } .stack li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--mark); transform: rotate(45deg); }
.stack b { color: var(--text); }
.bonus { padding: 28px; border-radius: 12px; border: 1px solid rgba(var(--accent-rgb), .4); background: linear-gradient(160deg, rgba(var(--accent-rgb), .14), rgba(var(--accent-rgb), .02) 70%), var(--surface); }
.bonus h3 { font-size: 1.8rem; }
.drive { background: radial-gradient(70% 90% at 100% 0%, rgba(var(--accent-rgb), .08), rgba(var(--accent-rgb), 0) 60%), var(--bg); }
.drive-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.drive-std { color: var(--text-2); max-width: 52ch; padding: 16px 18px; border-left: 3px solid var(--mark); background: var(--surface); border-radius: 0 8px 8px 0; }
.drive-std b { color: var(--text); }
.dform { display: grid; gap: 12px; }
.dform input[type=text], .dform input[type=tel], .dform input[type=email] { width: 100%; min-height: 44px; background: var(--field); color: var(--text); border: 1px solid var(--field-line); border-radius: 6px; padding: 0 10px; font: 500 .95rem var(--body); }
.drive-when { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; min-width: 0; }
.drive-when legend { padding: 0; margin-bottom: 2px; font-size: .8rem; color: var(--muted); font-weight: 500; }
.faq-wrap { max-width: 860px; }
details { border-top: 1px solid var(--line); padding: 4px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; font: 600 1.1rem var(--body); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--mark); border-bottom: 2px solid var(--mark); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { color: var(--muted); margin: 0 0 16px; }
details p a { color: var(--accent-ink); font-weight: 600; }
/* the last band takes the brand's lead color when the palette sets --final-bg (white text on it); otherwise the page background */
.final { background: radial-gradient(60% 100% at 50% 100%, rgba(var(--accent-rgb), .14), rgba(var(--accent-rgb), 0) 70%), var(--final-bg, var(--bg)); text-align: center; color: var(--on-lead, var(--text)); }
.final h2 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); color: var(--on-lead, inherit); }
.final .doors { justify-content: center; }
.final .home-base { margin: 0 auto 26px; max-width: 62ch; color: var(--on-lead-2, var(--muted)); }
.final .btn-ghost { color: var(--on-lead, var(--text)); background: var(--final-ghost, var(--ghost-bg)); border-color: var(--final-ghost-line, var(--ghost-line)); }
.foot { position: relative; z-index: 2; background: var(--foot); padding: 64px 0 90px; border-top: 1px solid var(--line); }
.foot a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-grid { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 30px; }
.foot h3 { font: 600 .95rem var(--body); color: var(--muted); margin-bottom: 10px; }
.foot p { color: var(--muted); font-size: .92rem; }
.legal { font-size: .82rem !important; }
.copy { width: min(1180px, 100% - 40px); margin: 30px auto 0; color: var(--muted); font-size: .8rem; }
.mobile-cta { display: none; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 20px); max-width: min(92vw, 520px); padding: 12px 16px; border-radius: 8px; background: var(--raised); border: 1px solid rgba(var(--accent-rgb), .45); color: var(--text); font-size: .92rem; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* phones and tablets */
@media (max-width: 900px) {
  .nav { display: none; }
  .bar-cta .btn-ghost { display: none; }
  .quote-grid, .how-grid, .paper-grid, .accounts-grid, .drive-grid, .price-split, .foot-grid { grid-template-columns: 1fr; }
  .ladder { grid-template-columns: 1fr 1fr; } .rung:nth-child(2) { border-right: 0; } .rung:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .promise-row { grid-template-columns: 1fr; }
  .serve-grid { grid-template-columns: 1fr 1fr; } .tile, .tile-big { grid-column: span 1; } .tile-wide { grid-column: span 2; flex-direction: column; align-items: flex-start; }
  .phone { margin: 0 auto; }
}
@media (max-width: 640px) {
  .bar { height: 60px; } .logo { font-size: 1.15rem; } .mark { width: 30px; height: 30px; }
  .bar-cta .btn-amber { display: none; }
  .beat { align-items: flex-end; padding: calc(80px + var(--sat)) 18px 90px; }
  .beat-hero { align-items: flex-start; padding-top: calc(84px + var(--sat)); min-height: 165svh; }
  .beat-hero .beat-in::before { display: none; }
  .hero-top { position: relative; }
  .hero-top::before { content: ""; position: absolute; inset: -30px -18px -24px; z-index: -1; background: linear-gradient(180deg, rgba(var(--night-2-rgb), .72), rgba(var(--night-2-rgb), .35) 70%, rgba(var(--night-2-rgb), 0)); }
  .hero-bottom { margin-top: 64svh; }
  .hero-bottom .trust { margin-top: 10px; padding: 10px 12px; border-radius: 8px; background: rgba(var(--night-3-rgb), .78); color: var(--d-text-2); }
  .beat-right { justify-content: flex-start; }
  .beat h1 { font-size: 2.55rem; } .beat h2 { font-size: 2.1rem; }
  .beat p { font-size: 1rem; }
  .speed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .q-extras { grid-template-columns: 1fr; }
  .qcard .q-row { grid-template-columns: 1fr; }   /* the price card and the driver form: one select per line, so long place names and start times read whole */
  .serve-grid { grid-template-columns: 1fr; } .tile-wide { grid-column: span 1; }
  .facts { grid-template-columns: 1fr; }
  /* the band table becomes one card per service: no sideways swipe */
  .table-wrap { border: 0; border-radius: 0; overflow: visible; }
  .bands { min-width: 0; }
  .bands thead { display: none; }
  .bands, .bands tbody, .bands tr, .bands th, .bands td, .bands caption { display: block; }
  .bands caption { padding: 0 0 12px; }
  .bands tr { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; padding: 14px 16px; margin-bottom: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
  .bands tbody th { grid-column: span 2; border: 0; padding: 0 0 6px; text-align: left; }
  .bands td { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; text-align: left; }
  .bands td::before { content: attr(data-label); color: var(--muted); font-weight: 400; font-size: .85rem; }
  .steps div { grid-template-columns: 1fr; gap: 4px; }
  .map-ticker, .log, .specs { right: 18px; left: 18px; top: calc(76px + var(--sat)); bottom: auto; min-width: 0; max-width: none; }
  .map-ticker { text-align: left; }
  .specs { grid-template-columns: 1fr 1fr; } .specs-note { grid-column: span 2; }
  /* the spec card and the load tabs stack in flow, so the tabs always sit under the card however tall it wraps */
  .scene-van { display: flex; flex-direction: column; gap: 10px; padding: calc(76px + var(--sat)) 18px 0; }
  .scene-van .specs, .scene-van .load-tabs { position: relative; inset: auto; transform: none; }
  .scene-van .load-tabs { align-self: center; }
  .clock { top: calc(76px + var(--sat)); right: 18px; }
  .pod { right: 18px; top: calc(80px + var(--sat)); transform: none; width: 220px; }
  .pod-img { height: 84px; }
  .pod figcaption { font-size: .78rem; padding: 10px 12px 12px; } .pod figcaption b { font-size: 1.1rem; } .pod .sig { width: 110px; height: 26px; }
  .mobile-cta { display: inline-flex; position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 45; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
  .foot { padding-bottom: 110px; }
}
/* phones and tablets held upright: the three wide photos (lab tote, parts bay, lobby) show nearly whole in a band near the top,
   over a soft, dimmed copy of themselves, instead of a narrow zoomed-in slice of the frame. The camera moves stay (story.js .tall). */
@media (max-aspect-ratio: 4/5) {
  .scene[data-scene="custody"]::before, .scene[data-scene="bay"]::before, .scene[data-scene="lobby"]::before {
    content: ""; position: absolute; inset: -40px; background: center / cover no-repeat; filter: blur(18px) brightness(.5) saturate(1.15); }
  .scene[data-scene="custody"]::before { background-image: url(img/custody.jpg); }
  .scene[data-scene="bay"]::before { background-image: url(img/bay.jpg); }
  .scene[data-scene="lobby"]::before { background-image: url(img/lobby.jpg); }
  .scene[data-scene="custody"] > img, .scene[data-scene="bay"] > img, .scene[data-scene="lobby"] > img {
    top: calc(72px + var(--sat)); bottom: auto; height: 80vw;
    -webkit-mask-image: linear-gradient(transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(transparent, #000 9%, #000 91%, transparent); }
  .scene[data-scene="bay"] > img { top: calc(96px + var(--sat)); object-position: 55% 50%; }   /* the car on the lift, the part on the bench and the van at the door, under the clock */
}
@media (max-width: 640px) and (max-aspect-ratio: 4/5) {
  /* the custody log stays on top (its lines light up first) and the photo sits right under it, however tall the log wraps */
  .scene[data-scene="custody"] { display: flex; flex-direction: column; gap: 12px; padding-top: calc(76px + var(--sat)); }
  .scene[data-scene="custody"] .log { position: relative; inset: auto; order: -1; margin: 0 18px; }
  .scene[data-scene="custody"] > img { position: relative; top: auto; flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .beat-in { opacity: 1; transform: none; transition: none; }
  .price.tick { animation: none; }
}
