/* =========================================================================
   DAP Automotive North
   Direction: graphite + DAP red (taken from the logo, #EC3237). Cool off-white,
   charcoal sections, red as the one accent. Hairlines and soft depth.
   Type: Archivo (variable) for words, IBM Plex Mono for data (hours, labels).
   Both fonts: SIL Open Font License, self-hosted (no Google Fonts request).
   ========================================================================= */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-variable.woff2") format("woff2-variations"),
       url("../fonts/archivo-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-italic-variable.woff2") format("woff2-variations"),
       url("../fonts/archivo-italic-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  /* colour. Contrast ratios noted are against the background they're used on (WCAG AA = 4.5:1) */
  --paper: #FFFFFF;          /* page background: clean white makes the red and black hit harder */
  --paper-2: #F1F1EE;        /* alternate section, cards */
  --surface: #FFFFFF;        /* cards, inputs */
  --ink: #111214;            /* text, 18.9:1 */
  --muted: #575C63;          /* secondary text, 6.6:1 on white */
  --graphite: #0F1012;       /* dark sections: near-black, like the logo lettering */
  --graphite-2: #1A1C1F;     /* raised on dark */
  --graphite-3: #2A2D31;     /* borders on dark */
  --chalk: #F2F2F0;          /* text on graphite, 17.6:1 */
  --chalk-muted: #A6ABB1;    /* secondary on graphite, 7.7:1 */
  /* DAP red, from the logo. 60-30-10: ~60% off-white, ~30% graphite, ~10% red */
  --red: #EC3237;            /* exact logo red: lines, dots, edges, decoration. Not for small text */
  --red-fill: #D82A30;       /* filled blocks with white text (buttons, bars, band). White on it 4.9:1 */
  --red-hover: #B91D23;      /* hover for filled blocks, white on it 6.4:1 */
  --red-ink: #C8232A;        /* red text on light backgrounds, 5.1:1 */
  --red-deep: #9E1A1F;       /* hover for red text */
  --red-light: #FF5A5F;      /* red text/lines on graphite, 5.8:1 */
  --go: #7FD18B;             /* "open" on graphite */
  --danger: #B42318;         /* form errors */
  --line: rgb(17 18 20 / 0.12);
  --line-strong: rgb(17 18 20 / 0.24);
  --line-dark: rgb(236 237 235 / 0.12);

  --shadow-sm: 0 1px 2px rgb(22 24 27 / .06), 0 1px 1px rgb(22 24 27 / .04);
  --shadow-md: 0 8px 24px -8px rgb(22 24 27 / .18), 0 2px 6px rgb(22 24 27 / .06);
  --shadow-lg: 0 24px 48px -16px rgb(22 24 27 / .35);

  /* type */
  --f-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* one spacing scale, used everywhere */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  --wrap: 1240px;
  --gutter: var(--s-4);
  --radius: 8px;
  --radius-lg: 12px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --header-h: 76px;
}

@media (min-width: 720px) { :root { --gutter: var(--s-6); } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--s-4)); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 64px; /* room for mobile action bar */
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; font-weight: 650; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.875rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.005em; }
h4 { font-family: var(--f-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
p { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; text-decoration-color: var(--line-strong); transition: color .15s, text-decoration-color .15s; }
a:hover { text-decoration-color: currentColor; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; }

:focus-visible {
  outline: 2px solid var(--red-ink);
  outline-offset: 3px;
  border-radius: 4px;
}
.section--dark :focus-visible, .site-footer :focus-visible, .jobcard :focus-visible,
.map-facade :focus-visible, .action-bar :focus-visible { outline-color: var(--red-light); }
.moving-bar :focus-visible { outline-color: #fff; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100;
  background: var(--graphite); color: var(--chalk); padding: var(--s-3) var(--s-4); border-radius: var(--radius);
}
.skip-link:focus { top: var(--s-4); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.small { font-size: 0.9375rem; }
.todo { background: #FFE58A; color: #1B1D20; padding: 0 var(--s-1); border-radius: 3px; font-family: var(--f-mono); font-size: 0.85em; }

/* ---------- icons ---------- */
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- buttons ----------
   Hover: colour deepens, the button rises 1px onto a soft shadow and the arrow moves.
   Active: it settles back down. */
.btn {
  --btn-bg: var(--graphite); --btn-fg: var(--chalk); --btn-bg-hover: #000;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 50px; padding: 0 var(--s-5);
  border: 1px solid transparent; border-radius: var(--radius);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; text-decoration: none; cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--btn-bg-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: none; box-shadow: var(--shadow-sm); transition-duration: .05s; }
.btn .icon--arrow { transition: transform .2s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--sm { min-height: 40px; padding: 0 var(--s-4); font-size: 0.9375rem; }
.btn--accent { --btn-bg: var(--red-fill); --btn-fg: #fff; --btn-bg-hover: var(--red-hover); font-weight: 650; }
.btn--ink { --btn-bg: var(--graphite); --btn-fg: var(--chalk); --btn-bg-hover: #000; }
.btn--paper { --btn-bg: var(--chalk); --btn-fg: var(--ink); --btn-bg-hover: #fff; }
.btn--line { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bg-hover: var(--surface); border-color: var(--line-strong); box-shadow: none; }
.btn--line:hover { border-color: var(--ink); }
.btn[disabled] { cursor: progress; transform: none; box-shadow: none; opacity: .85; }
@media (prefers-reduced-motion: reduce) {
  .btn, .btn .icon--arrow { transition: background-color .2s, color .2s, border-color .2s; }
  .btn:hover { transform: none; }
  .btn:hover .icon--arrow { transform: none; }
}

.link-btn {
  margin-top: var(--s-5);
  display: inline-flex; align-items: center; gap: var(--s-2);
  background: none; border: 0; padding: 0; cursor: pointer;
  font-weight: 600; color: var(--red-ink);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; text-decoration-color: rgb(200 35 42 / .45);
}
.link-btn:hover { color: var(--red-deep); text-decoration-color: currentColor; }

/* ---------- moving announcement bar ---------- */
.moving-bar { background: var(--red-fill); color: #fff; font-size: 0.9375rem; font-weight: 500; }
.moving-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s-1) var(--s-3); padding-block: var(--s-2); text-align: center; }
.moving-bar__tag { font-family: var(--f-mono); font-size: 0.6875rem; text-transform: uppercase; letter-spacing: .08em; background: #fff; color: var(--red-ink); padding: 2px 8px; border-radius: 999px; }
.moving-bar a { color: #fff; font-weight: 700; text-decoration-color: #fff; }
.moving-bar a:hover { text-decoration-thickness: 2px; }
.mb-short { display: none; }
@media (max-width: 599px) { .mb-long, .moving-bar__tag { display: none; } .mb-short { display: inline; } }

/* ---------- header ----------
   Client wireframe: logo left (with the RMI badge), navigation centred in a pill, call icon right. */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: transform .3s var(--ease);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s-4); min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: var(--s-4); min-width: 0; }
.wordmark { display: inline-flex; align-items: center; text-decoration: none; margin: 0; flex: none; }
.wordmark__mark { height: 48px; width: auto; }
.rmi-badge {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  padding: 5px 12px 5px 8px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line-strong);
  font-size: 0.8125rem; font-weight: 500; white-space: nowrap; color: var(--ink);
}
.rmi-badge .icon { width: 18px; height: 18px; color: var(--red-ink); }
.rmi-badge__logo { height: 22px; width: auto; display: block; }
.rmi-badge strong { font-weight: 800; color: var(--red-ink); letter-spacing: .02em; }

.site-nav ul { list-style: none; display: flex; gap: 2px; padding: 4px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; }
.site-nav a { display: block; white-space: nowrap; padding: 8px 16px; border-radius: 999px; font-weight: 500; font-size: 0.9375rem; text-decoration: none; color: var(--ink); transition: background-color .2s, color .2s, box-shadow .2s; }
.site-nav a:hover { background: var(--surface); box-shadow: var(--shadow-sm); }

.site-header__end { justify-self: end; display: flex; align-items: center; gap: var(--s-3); }
/* call button: round icon, the number slides out on hover/focus (always shown on wide screens) */
.call-btn {
  display: inline-flex; align-items: center; height: 46px; min-width: 46px; padding: 0 14px;
  border-radius: 999px; background: var(--red-fill); color: #fff; text-decoration: none; font-weight: 650;
  box-shadow: var(--shadow-sm); transition: background-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.call-btn:hover { background: var(--red-hover); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.call-btn .icon { width: 18px; height: 18px; flex: none; }
.call-btn__num { display: inline-block; max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .35s var(--ease), margin .35s var(--ease); }
.call-btn:hover .call-btn__num, .call-btn:focus-visible .call-btn__num { max-width: 9em; margin-left: 8px; }
@media (min-width: 1280px) { .call-btn__num { max-width: 9em; margin-left: 8px; } }
@media (prefers-reduced-motion: reduce) { .call-btn__num { transition: none; } .call-btn:hover { transform: none; } }

.status-chip { display: inline-flex; align-items: center; gap: var(--s-2); font-family: var(--f-mono); font-size: 0.8125rem; color: var(--muted); white-space: nowrap; }
.status-chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status-chip[data-state="open"] .status-chip__dot { background: #22A33A; box-shadow: 0 0 0 3px rgb(34 163 58 / .2); }
.status-chip[data-state="closed"] .status-chip__dot { background: var(--red); }
.status-chip[data-state="open"] { color: var(--ink); }

.nav-toggle { display: none; }

@media (max-width: 1023px) {
  .site-header__inner { grid-template-columns: 1fr auto; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    padding: var(--s-2) var(--gutter) var(--s-6);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .25s var(--ease), opacity .2s, visibility 0s .25s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; transition: transform .25s var(--ease), opacity .2s; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 0; background: none; border: 0; border-radius: 0; }
  .site-nav a { padding: var(--s-4) 0; font-size: 1.25rem; font-weight: 600; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav a:hover { background: none; box-shadow: none; color: var(--red-ink); }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: var(--s-2);
    min-height: 46px; min-width: 46px; justify-content: center; padding: 0 var(--s-4);
    background: var(--surface); border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer;
    font-weight: 600; font-size: 0.9375rem;
  }
  .nav-toggle__bars, .nav-toggle__bars::before { display: block; width: 16px; height: 1.5px; background: currentColor; position: relative; transition: transform .2s var(--ease); }
  .nav-toggle__bars::before { content: ""; position: absolute; top: 5px; }
  .nav-toggle__bars { transform: translateY(-2.5px); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(-5px) rotate(-90deg); }
}
@media (max-width: 479px) {
  .wordmark__mark { height: 40px; }
  .brand { gap: var(--s-2); }
  .rmi-badge { padding: 4px 9px 4px 6px; font-size: 0.75rem; }
  .nav-toggle { padding: 0; }
  .nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- hero ----------
   Client wireframe: one big background shape (here a red gear ring, from the logo) that frames the
   top of the page, a title card overlapping its lower edge, text, two CTAs, a line of small text.
   Ring geometry (viewBox units of 1000): inner radius 388, body 455, 36 teeth to 493.
   Its centre sits 16% of its width above the hero, so the title card lands on the ring's lower band. */
.hero {
  --ring: min(118vw, 1500px);
  @media (max-width: 719px) { --ring: 165vw; }
  position: relative; overflow: hidden; isolation: isolate;
  background-color: var(--paper);
  background-image:
    linear-gradient(rgb(17 18 20 / .045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(17 18 20 / .045) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center -1px;
  padding-bottom: var(--s-9);
}
.hero__ring {
  will-change: transform;
  position: absolute; z-index: 0; left: 50%; top: calc(var(--ring) * -0.66);
  width: var(--ring); aspect-ratio: 1; transform: translateX(-50%); pointer-events: none;
}
.hero__ring svg { width: 100%; height: 100%; fill: var(--red); transform-origin: 50% 50%; }
.hero__content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-top: max(var(--s-7), calc(var(--ring) * 0.25 - 100px));
}
.hero__card {
  background: var(--surface); border-radius: 20px; padding: var(--s-5) clamp(var(--s-5), 4vw, var(--s-8)) var(--s-5);
  box-shadow: 0 30px 60px -24px rgb(15 16 18 / .45), 0 2px 6px rgb(15 16 18 / .08);
  border: 1px solid var(--line);
}
.hero__motto { font-family: var(--f-mono); font-size: 0.8125rem; font-weight: 500; letter-spacing: .3em; color: var(--red-ink); margin-bottom: var(--s-2); padding-left: .3em; }
.hero__motto abbr { text-decoration: none; }
.hero__title { font-size: clamp(2.5rem, 6.4vw, 5.5rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero__title .line > span { display: inline-block; }
.hero__title .line:last-child > span { color: var(--red-ink); font-style: italic; padding-right: .06em; } /* slanted, like the logo */
.js .hero__title .line > span { transform: translateY(105%); animation: rise .9s var(--ease) forwards; }
.js .hero__title .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { to { transform: none; } }
.hero__lede { max-width: 36em; margin-top: var(--s-6); font-size: 1.1875rem; color: #34383E; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); margin-top: var(--s-6); }
.hero__status { margin-top: var(--s-6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); } /* 404 + moving pages */
.hero__cta { margin-top: var(--s-6); }

@media (prefers-reduced-motion: no-preference) {
  /* ring swings in once, then turns slowly as the page scrolls (like the gear in the logo) */
  .js .hero__ring svg { animation: ring-in 1.1s var(--ease) both; }
  @keyframes ring-in { from { transform: rotate(-24deg) scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }
  @supports (animation-timeline: scroll()) {
    .hero__ring { animation: ring-turn linear both; animation-timeline: scroll(root); animation-range: 0 120vh; }
    @keyframes ring-turn { from { transform: translateX(-50%) rotate(0deg); } to { transform: translateX(-50%) rotate(30deg); } }
  }
}

/* ---------- workshop status card + split-flap board ---------- */
.jobcard {
  position: relative; margin: 0 0 var(--s-6);
  background: var(--graphite); color: var(--chalk);
  border-radius: var(--radius-lg); padding: var(--s-5) var(--s-5) var(--s-4);
  box-shadow: var(--shadow-lg);
  font-family: var(--f-mono); font-size: 0.8125rem;
  max-width: 420px;
}
.jobcard__head { display: flex; justify-content: space-between; text-transform: uppercase; letter-spacing: .08em; color: var(--chalk-muted); margin-bottom: var(--s-4); }
.flapboard { display: flex; gap: 4px; margin-bottom: var(--s-4); }
.flap {
  position: relative; flex: 1 1 0; max-width: 44px; aspect-ratio: 3 / 4;
  display: grid; place-items: center;
  background: linear-gradient(180deg, #2A2E33 0 50%, #25292D 50% 100%); border-radius: 4px;
  font-family: var(--f-sans); font-weight: 700; font-size: clamp(1.25rem, 4vw, 1.625rem); line-height: 1;
  color: var(--chalk); perspective: 200px; overflow: hidden;
}
.flap::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgb(0 0 0 / .45); }
.flap.is-flip > span { animation: flip .07s linear; }
@keyframes flip { from { transform: rotateX(80deg); opacity: .4; } to { transform: none; opacity: 1; } }
.flapboard[data-state="open"] .flap { color: var(--go); }
.flapboard[data-state="closed"] .flap { color: var(--red-light); }
.jobcard__rows { margin: 0; display: grid; }
.jobcard__rows div { display: grid; grid-template-columns: 56px 1fr; gap: var(--s-3); padding-block: var(--s-2); border-top: 1px solid var(--line-dark); }
.jobcard__rows dt { color: var(--chalk-muted); text-transform: uppercase; letter-spacing: .06em; }
.jobcard__rows dd { margin: 0; }
.jobcard a { text-decoration-color: var(--red-light); }

/* ---------- sections ---------- */
.section { padding-block: var(--s-10); }
@media (max-width: 719px) { .section { padding-block: var(--s-8); } }
.section--dark { background: var(--graphite); color: var(--chalk); }
.section--alt { background: var(--paper-2); }
.section--white { background: var(--surface); }
.section-head { display: grid; gap: var(--s-3); margin-bottom: var(--s-7); max-width: 46rem; }
.eyebrow { font-family: var(--f-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--red-ink); display: inline-flex; align-items: center; gap: var(--s-3); }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.section--dark .eyebrow { color: var(--red-light); }
.section-lede { color: var(--muted); font-size: 1.125rem; }

/* ---------- service explorer ---------- */
.explorer { display: grid; gap: var(--s-6); }
@media (min-width: 1000px) {
  .explorer { grid-template-columns: 260px 1fr; grid-template-areas: "tabs figure" "tabs panels"; column-gap: var(--s-7); row-gap: var(--s-6); }
  .explorer__tabs { grid-area: tabs; }
  .explorer__figure { grid-area: figure; }
  .explorer__panels { grid-area: panels; }
}
.explorer__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); align-content: start; }
@media (min-width: 1000px) { .explorer__tabs { grid-template-columns: 1fr; gap: var(--s-1); } }
.explorer__tabs [role="tab"] {
  display: flex; align-items: baseline; gap: var(--s-3); text-align: left;
  min-height: 48px; padding: var(--s-3) var(--s-4);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
  font-weight: 500; line-height: 1.25; color: var(--ink);
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
@media (min-width: 1000px) {
  .explorer__tabs [role="tab"] { background: transparent; border-color: transparent; }
}
.tab-no { font-family: var(--f-mono); font-size: 0.75rem; color: var(--muted); transition: color .2s; }
.explorer__tabs [role="tab"]:hover { background: var(--surface); border-color: var(--line); }
.explorer__tabs [role="tab"][aria-selected="true"] { background: var(--red-fill); color: #fff; border-color: var(--red-fill); box-shadow: 0 10px 24px -10px rgb(216 42 48 / .6); }
.explorer__tabs [role="tab"][aria-selected="true"] .tab-no { color: rgb(255 255 255 / .8); }

.explorer__figure { position: relative; margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); padding: var(--s-5); box-shadow: var(--shadow-sm); }
.explorer__figure::before { content: "Side view \00B7 not to scale"; position: absolute; top: var(--s-4); right: var(--s-5); font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.car { width: 100%; height: auto; overflow: visible; }
.car__ground { stroke: #B9BCBF; stroke-width: 1; stroke-dasharray: 2 6; fill: none; }
.car__body { fill: #FAFAF8; stroke: #2B2F34; stroke-width: 2; stroke-linejoin: round; }
.car__glass { fill: #E7E9EA; stroke: #2B2F34; stroke-width: 1.5; }
.car__line { fill: none; stroke: #2B2F34; stroke-width: 1; }
.car__line--bold { stroke-width: 3; stroke-linecap: round; }
.car__lamp { fill: #E7E9EA; stroke: #2B2F34; stroke-width: 1.5; }
.wheel__tyre { fill: #2B2F34; }
.wheel__rim { fill: #E7E9EA; stroke: #2B2F34; stroke-width: 1.5; }
.part { fill: none; stroke: #8E9399; stroke-width: 1.5; stroke-dasharray: 3 4; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s, stroke-width .3s, opacity .3s; opacity: .7; }
.part rect, .part circle { fill: transparent; transition: fill .3s; }
.part--over { stroke: #5E636A; opacity: .6; }
.part.is-on { stroke: var(--red); stroke-width: 3; stroke-dasharray: none; opacity: 1; }
.part.is-on rect, .part.is-on circle { fill: rgb(236 50 55 / .16); }
.part.is-soft { stroke: var(--red); opacity: .75; }
.part .caliper { stroke-width: 5; }
@media (prefers-reduced-motion: no-preference) {
  .part.is-on { animation: trace 1.2s var(--ease); }
  @keyframes trace { from { stroke-dasharray: 3 4; stroke-dashoffset: 40; } to { stroke-dasharray: 3 0; stroke-dashoffset: 0; } }
}

.hotspots { display: none; }
@media (min-width: 720px) {
  .hotspots { display: block; position: absolute; inset: var(--s-5); pointer-events: none; }
  .hs {
    position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; padding: 0;
    pointer-events: auto; cursor: pointer;
    border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface); color: var(--ink);
    box-shadow: var(--shadow-sm);
    font-family: var(--f-mono); font-size: 0.6875rem; font-weight: 500;
    display: grid; place-items: center;
    transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s;
  }
  .hs:hover { transform: scale(1.12); border-color: var(--red); }
  .hs.is-on { background: var(--red-fill); border-color: var(--red-fill); color: #fff; font-weight: 600; }
  @media (prefers-reduced-motion: no-preference) {
    .hs.is-on::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--red); animation: ping 1.8s var(--ease) infinite; }
    @keyframes ping { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
  }
  /* positions are % of the 800x330 viewBox */
  .hs--engine       { left: 13.75%;  top: 60.3%; }
  .hs--suspension   { left: 21.875%; top: 59.4%; }
  .hs--electrical   { left: 28.375%; top: 53.3%; }
  .hs--transmission { left: 26.75%;  top: 70.3%; }
  .hs--hvac         { left: 38.75%;  top: 53.9%; }
  .hs--maintenance  { left: 55.5%;   top: 38.8%; }
  .hs--exhaust      { left: 63.125%; top: 86.1%; }
  .hs--brakes       { left: 76.875%; top: 79.4%; }
}

.panel { padding-top: var(--s-2); }
.panel:focus-visible { outline-offset: 8px; }
.panel h3 { font-size: clamp(1.5rem, 2.6vw, 1.875rem); font-weight: 650; letter-spacing: -0.02em; margin-bottom: var(--s-3); }
.panel > p { max-width: 42em; color: #3A3E44; }
.panel__cols { display: grid; gap: var(--s-5); margin-top: var(--s-6); }
@media (min-width: 640px) { .panel__cols { grid-template-columns: 1fr 1fr; gap: var(--s-6); } }
.panel ul { list-style: none; margin-top: var(--s-3); }
.panel li { position: relative; padding: var(--s-2) 0 var(--s-2) var(--s-5); border-top: 1px solid var(--line); }
.panel li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.js .panel.is-entering { animation: panel-in .35s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .panel.is-entering, .part.is-on { animation: none; } }

/* ---------- process ---------- */
.steps { list-style: none; position: relative; display: grid; gap: var(--s-7); padding-left: var(--s-7); }
.steps__item { position: relative; z-index: 1; }  /* sits above the rail */
.steps__item h3 { margin: var(--s-2) 0; }
.steps__item p { color: var(--chalk-muted); max-width: 26em; }
.steps__no { font-family: var(--f-sans); font-size: 2.75rem; font-weight: 800; font-style: italic; letter-spacing: -0.04em; line-height: 1; color: var(--red-light); position: relative; display: inline-block; }
/* the marker: solid fill in the section colour hides the rail behind it, so the line
   stops at the ring instead of running through it */
.steps__no::before {
  content: ""; position: absolute; left: calc(-1 * var(--s-7) + 4px); top: 50%;
  width: 18px; height: 18px; margin-top: -9px; border-radius: 50%;
  background: var(--graphite); border: 1px solid var(--red-light);
  box-shadow: 0 0 0 5px var(--graphite), inset 0 0 0 4px var(--graphite), inset 0 0 0 9px var(--red-light);
}
.steps__rail { position: absolute; z-index: 0; left: 12px; top: 10px; bottom: 10px; width: 1px; background: var(--graphite-3); }
.steps__fill { position: absolute; inset: 0; background: var(--red-light); transform-origin: top; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); padding-left: 0; padding-top: var(--s-8); gap: var(--s-6); }
  .steps__no::before { left: 0; top: calc(-1 * var(--s-8) + 3px); margin-top: 0; }
  .steps__rail { left: 9px; right: 0; top: 16px; bottom: auto; width: auto; height: 1px; }
  .steps__fill { transform-origin: left; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .steps__fill { animation: rail-y linear both; animation-timeline: view(); animation-range: entry 30% cover 55%; }
    @media (min-width: 900px) { .steps__fill { animation-name: rail-x; } }
    @keyframes rail-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
    @keyframes rail-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  }
}
.process-note { margin-top: var(--s-8); }
.process-note a { color: var(--chalk); font-weight: 500; text-decoration-color: var(--red-light); }

/* ---------- visit ---------- */
.visit-tip { font-size: 0.9375rem; color: #3A3E44; padding-left: var(--s-3); border-left: 3px solid var(--red); }
.visit-move { margin-top: var(--s-3); font-size: 0.9375rem; padding: var(--s-3) var(--s-4); background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: var(--radius); }
.visit-move a { color: var(--red-ink); font-weight: 600; }
.visit { display: grid; gap: var(--s-7); }
@media (min-width: 960px) { .visit { grid-template-columns: 5fr 7fr; align-items: start; } }
.hours { width: 100%; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: var(--s-3) 0; border-bottom: 1px solid var(--line); text-align: left; }
.hours td { font-family: var(--f-mono); font-size: 0.9375rem; text-align: right; color: #3A3E44; }
.hours th { font-weight: 500; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--red); }
.hours tr.is-today th::after { content: "Today"; margin-left: var(--s-3); font-family: var(--f-mono); font-size: 0.6875rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; padding: 2px 8px; background: var(--red-fill); color: #fff; border-radius: 999px; vertical-align: 2px; }
.visit__info > .small { margin-top: var(--s-4); color: var(--muted); }
.visit__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

.map-facade { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 2; background: var(--paper-2); box-shadow: var(--shadow-sm); }
.map-facade img, .map-facade iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.map-facade__overlay {
  position: absolute; left: var(--s-4); right: var(--s-4); bottom: var(--s-4);
  background: rgb(22 24 27 / .94); color: var(--chalk); border-radius: var(--radius);
  padding: var(--s-4) var(--s-5); display: grid; gap: var(--s-3); max-width: 440px;
  box-shadow: var(--shadow-lg);
}
.map-facade__overlay a { color: var(--chalk); text-decoration-color: var(--red-light); }
.map-facade__text { font-size: 0.9375rem; }
.map-facade__controls { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); }
.map-facade.is-loaded .map-facade__overlay { display: none; }

/* ---------- contact ---------- */
.contact { display: grid; gap: var(--s-7); }
@media (min-width: 1000px) { .contact { grid-template-columns: 4fr 7fr; gap: var(--s-8); } }
.contact__intro h2 { margin: var(--s-3) 0 var(--s-4); }
.contact__intro > p { color: #3A3E44; }
.contact__alt { list-style: none; margin-top: var(--s-6); border-top: 1px solid var(--line-strong); }
.contact__alt li { border-bottom: 1px solid var(--line); }
.contact__alt li > a, .contact__alt li { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding: var(--s-4) 0; text-decoration: none; }
.contact__alt li:has(> a) { padding: 0; }
.contact__alt li > a { flex: 1; }
.contact__label { min-width: 96px; }
.contact__alt a:hover .contact__value { color: var(--red-ink); }
.contact__label { font-family: var(--f-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact__value { font-weight: 600; transition: color .15s; }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s-5); box-shadow: var(--shadow-md); }
@media (min-width: 720px) { .form { padding: var(--s-7); } }
.form__grid { display: grid; gap: var(--s-5); }
@media (min-width: 720px) { .form__grid { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--s-2); align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 500; font-size: 0.9375rem; }
.opt { font-family: var(--f-mono); font-size: 0.6875rem; font-weight: 400; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-left: var(--s-1); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: var(--s-3) var(--s-4);
  background: var(--surface); border: 1px solid #C4C7CA; border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #8E9399; }
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E636A' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: var(--s-7); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--red-ink); box-shadow: 0 0 0 3px rgb(236 50 55 / .25); }
.field input::placeholder, .field textarea::placeholder { color: #737880; }
.field [aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgb(180 35 24 / .12); }
.field__err { color: var(--danger); font-weight: 500; font-size: 0.875rem; }
.field__err:empty { display: none; }
.field__hint { color: var(--muted); font-size: 0.875rem; }

.check { display: grid; grid-template-columns: 22px 1fr; gap: var(--s-3); align-items: start; font-weight: 400 !important; font-size: 0.9375rem; cursor: pointer; color: #3A3E44; }
.check input { appearance: none; width: 22px; height: 22px; min-height: 0; margin: 1px 0 0; padding: 0; border: 1px solid #8E9399; border-radius: 5px; background: var(--surface); display: grid; place-items: center; cursor: pointer; transition: background-color .15s, border-color .15s; }
.check input::after { content: ""; width: 10px; height: 6px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) scale(0); margin-top: -3px; transition: transform .15s var(--ease); }
.check input:checked { background: var(--red-fill); border-color: var(--red-fill); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.check--inverse { color: var(--chalk); }
.check--inverse input { border-color: var(--chalk-muted); background: transparent; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__foot { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.form__status:not(:empty) { margin-top: var(--s-5); padding: var(--s-4) var(--s-5); border-radius: var(--radius); border: 1px solid var(--line-strong); }
.form__status[data-tone="ok"] { background: var(--graphite); color: var(--chalk); border-color: var(--graphite); }
.form__status[data-tone="ok"] a { color: var(--chalk); text-decoration-color: var(--red-light); }
.form__status[data-tone="error"] { border-color: rgb(180 35 24 / .35); background: #FDF3F2; }
.form__status a { font-weight: 600; }
.form.is-sent .form__grid, .form.is-sent .form__foot { display: none; }
.form.is-sent .form__status { margin-top: 0; }
.spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- footer ---------- */
.site-footer { background: #111315; color: var(--chalk); padding-top: var(--s-9); border-top: 4px solid var(--red); }
.site-footer__grid { display: grid; gap: var(--s-6); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-bottom: var(--s-8); }
.site-footer .small { color: var(--chalk-muted); margin-top: var(--s-3); line-height: 1.75; }
.site-footer a { color: var(--chalk); text-decoration-color: rgb(236 237 235 / .3); }
.site-footer a:hover { text-decoration-color: var(--red-light); }
.footer-h { font-family: var(--f-mono); font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: var(--chalk-muted); }
.footer-links { list-style: none; }
.footer-logo { width: 220px; height: auto; margin-bottom: var(--s-5); }
.wordmark--footer .wordmark__rest { color: var(--chalk-muted); }
.site-footer__base { border-top: 1px solid var(--line-dark); padding-block: var(--s-5); color: var(--chalk-muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); }

/* ---------- mobile action bar ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--graphite); border-top: 1px solid var(--graphite-3);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -8px 24px -12px rgb(0 0 0 / .4);
}
.action-bar a { display: grid; place-items: center; min-height: 56px; color: var(--chalk); font-weight: 600; text-decoration: none; }
.action-bar a + a { border-left: 1px solid var(--graphite-3); }
.action-bar a:last-child { background: var(--red-fill); color: #fff; }
@media (min-width: 900px) { .action-bar { display: none; } }

/* ---------- content pages (policies, moving) ---------- */
.page-head { border-bottom: 1px solid var(--line); padding-block: var(--s-9) var(--s-7); }
.page-head h1 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); font-weight: 700; letter-spacing: -0.03em; margin-top: var(--s-4); }
.page-head .meta { font-family: var(--f-mono); font-size: 0.8125rem; color: var(--muted); margin-top: var(--s-4); }
.page-head .lede { max-width: 40em; font-size: 1.1875rem; color: #3A3E44; margin-top: var(--s-4); }
.draft-notice { background: #FFF4C2; border-bottom: 1px solid #E8D27A; padding-block: var(--s-2); font-family: var(--f-mono); font-size: 0.8125rem; }
.prose-layout { display: grid; gap: var(--s-7); padding-block: var(--s-8); }
@media (min-width: 1000px) { .prose-layout { grid-template-columns: 240px 1fr; } }
.toc { font-size: 0.9375rem; }
@media (min-width: 1000px) { .toc { position: sticky; top: calc(var(--header-h) + var(--s-5)); align-self: start; } }
.toc h2 { font-family: var(--f-mono); font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: var(--s-3); }
.toc ol { list-style: none; border-top: 1px solid var(--line-strong); }
.toc a { display: block; padding: var(--s-2) 0; border-bottom: 1px solid var(--line); text-decoration: none; color: #3A3E44; }
.toc a:hover { color: var(--red-ink); }
.prose { max-width: 44rem; }
.prose h2 { font-size: 1.5rem; margin: var(--s-8) 0 var(--s-4); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.125rem; margin: var(--s-5) 0 var(--s-2); }
.prose p, .prose ul, .prose ol, .prose table, .prose dl { margin-bottom: var(--s-4); }
.prose ul, .prose ol { padding-left: var(--s-5); }
.prose li { margin-bottom: var(--s-2); }
.prose li::marker { color: var(--red); }
.prose a { text-decoration-color: rgb(200 35 42 / .6); }
.prose a:hover { color: var(--red-ink); }
.prose table { width: 100%; font-size: 0.9375rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: var(--s-3) var(--s-3) var(--s-3) 0; border-bottom: 1px solid var(--line); }
.prose thead th { font-family: var(--f-mono); font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); border-bottom: 1px solid var(--line-strong); }
.prose .table-scroll { overflow-x: auto; }
.prose dl div { display: grid; gap: var(--s-1); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .prose dl div { grid-template-columns: 220px 1fr; gap: var(--s-4); } }
.prose dt { font-weight: 600; }
.prose dd { margin: 0; }
.callout { border: 1px solid var(--line); border-left: 4px solid var(--red); padding: var(--s-4) var(--s-5); border-radius: var(--radius); background: var(--surface); }

/* moving page */
.moving-grid { display: grid; gap: var(--s-5); padding-block: var(--s-8); }
@media (min-width: 800px) { .moving-grid { grid-template-columns: repeat(3, 1fr); } }
.moving-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s-5); box-shadow: var(--shadow-sm); }
.moving-card h2 { font-family: var(--f-mono); font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: var(--s-3); }
.moving-card p { font-size: 1.0625rem; }
.moving-card--new { border-color: var(--red); box-shadow: inset 0 3px 0 var(--red), var(--shadow-md); }
.moving-card__link { margin-top: var(--s-3); }
.moving-card__link a { color: var(--red-ink); font-weight: 600; }
.moving-card .big { font-size: 1.25rem; font-weight: 600; margin-bottom: var(--s-2); }
.moving-notes { max-width: 44rem; padding-bottom: var(--s-9); }
.moving-notes h2 { font-size: 1.5rem; margin-bottom: var(--s-4); }
.moving-notes ul { padding-left: var(--s-5); display: grid; gap: var(--s-2); margin-bottom: var(--s-6); }
.moving-notes [data-gap] { margin-top: var(--s-6); }
.moving-notes p { color: #3A3E44; }
.moving-notes li::marker { color: var(--red); }

/* 404 */
.notfound { padding-block: var(--s-10); }
.notfound h1 { font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 700; letter-spacing: -0.04em; margin-top: var(--s-4); }
.notfound p { margin: var(--s-4) 0 var(--s-6); max-width: 30em; color: #3A3E44; }

@media print {
  .site-header, .action-bar, .site-footer, .toc, .draft-notice, .moving-bar { display: none !important; }
  body { background: #fff; padding: 0; }
}

/* ---------- red call band (between sections) ---------- */
.band { background: var(--red-fill); color: #fff; position: relative; overflow: hidden; }
.band::after { /* stepped edge echoing the hero */
  content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: min(38%, 460px);
  background:
    linear-gradient(var(--graphite), var(--graphite)) right bottom / 100% 25% no-repeat,
    linear-gradient(var(--graphite), var(--graphite)) right bottom / 75% 50% no-repeat,
    linear-gradient(var(--graphite), var(--graphite)) right bottom / 50% 75% no-repeat,
    linear-gradient(var(--graphite), var(--graphite)) right bottom / 25% 100% no-repeat;
  opacity: .1; pointer-events: none;
}
.band__inner { position: relative; z-index: 1; display: grid; gap: var(--s-5); padding-block: var(--s-8); align-items: center; }
@media (min-width: 900px) { .band__inner { grid-template-columns: 1fr auto; gap: var(--s-7); } }
.band h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 700; letter-spacing: -0.025em; }
.band p { margin-top: var(--s-2); font-size: 1.125rem; max-width: 36em; color: #fff; }
.band__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.band .btn--ink { --btn-bg: var(--graphite); --btn-fg: #fff; }
.band .btn--line { border-color: rgb(255 255 255 / .6); --btn-fg: #fff; --btn-bg-hover: rgb(255 255 255 / .12); }
.band .btn--line:hover { border-color: #fff; }
.band :focus-visible { outline-color: #fff; }

/* ---------- builds & projects ---------- */
.builds-head { max-width: 50rem; }
.feature { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 960px) { .feature { grid-template-columns: 7fr 5fr; gap: var(--s-8); align-items: start; } .feature__body { position: sticky; top: calc(var(--header-h) + var(--s-6)); } }
/* two photos, offset like the hero steps */
.feature__media { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--s-4); align-items: start; }
.feature__media .shot--wide { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.feature__media .shot:nth-child(3) { margin-top: var(--s-8); }   /* offset, like the hero steps */
@media (max-width: 599px) { .feature__media .shot:nth-child(3) { margin-top: var(--s-6); } }
.feature__body .feature__tag { font-family: var(--f-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: .1em; color: #fff; background: var(--red-fill); display: inline-block; padding: 3px 10px; border-radius: 999px; }
.feature__body h3 { font-size: clamp(1.75rem, 3vw, 2.375rem); font-weight: 700; letter-spacing: -0.025em; margin: var(--s-4) 0 var(--s-3); }
.feature__body > p { color: #3A3E44; }
.feature__body .btn { margin-top: var(--s-6); }
.spec { margin: var(--s-5) 0 0; border-top: 1px solid var(--line-strong); }
.spec div { display: grid; grid-template-columns: 96px 1fr; gap: var(--s-4); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.spec dt { font-family: var(--f-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-top: 3px; }
.spec dd { margin: 0; font-size: 0.9375rem; }

.builds-sub { margin: var(--s-9) 0 var(--s-5); font-size: 1.375rem; }
.gallery { list-style: none; display: grid; gap: var(--s-5); }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.card .shot { border-radius: 0; aspect-ratio: 4 / 3; }
.card__body { padding: var(--s-4) var(--s-5) var(--s-5); }
.card__body h4 { font-family: var(--f-sans); font-size: 1.125rem; font-weight: 650; letter-spacing: -0.01em; text-transform: none; color: var(--ink); margin-bottom: var(--s-2); }
.card__body p { font-size: 0.9375rem; color: #3A3E44; }
.card__todo { margin-top: var(--s-2); }

/* photo button: zooms gently on hover, opens the lightbox */
.shot {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2);
  box-shadow: var(--shadow-md);
}
.feature .shot:not(.shot--wide) { aspect-ratio: 3 / 4; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.shot:hover img { transform: scale(1.04); }
.shot__zoom {
  position: absolute; right: var(--s-3); bottom: var(--s-3);
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: rgb(22 24 27 / .75); color: #fff; opacity: 0; transform: translateY(4px);
  transition: opacity .2s, transform .2s var(--ease);
}
.shot:hover .shot__zoom, .shot:focus-visible .shot__zoom { opacity: 1; transform: none; }
@media (hover: none) { .shot__zoom { opacity: 1; transform: none; } }
.shot:focus-visible { outline-offset: 4px; }

/* reveal: photos wipe up into view once, staggered like the hero steps */
@media (prefers-reduced-motion: no-preference) {
  /* Reveal: a cover panel slides away to uncover the photo. It animates transform only,
     so the graphics card does the work instead of repainting the photo every frame. */
  .js .reveal::before {
    content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: var(--graphite); transform-origin: top; will-change: transform;
    transition: transform 1s var(--ease); transition-delay: var(--d, 0s);
  }
  .js .reveal.is-in::before { transform: scaleY(0); }
}
@media (prefers-reduced-motion: reduce) { .shot img, .shot__zoom { transition: none; } .shot:hover img { transform: none; } }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgb(10 11 12 / .88); }
.lightbox figure { margin: 0; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 82vh; width: auto; height: auto; border-radius: var(--radius); margin: 0 auto; }
.lightbox figcaption { color: var(--chalk); text-align: center; margin-top: var(--s-3); font-size: 0.9375rem; }
.lightbox__close {
  position: fixed; top: var(--s-4); right: var(--s-4); width: 44px; height: 44px; border-radius: 50%;
  background: rgb(255 255 255 / .12); color: #fff; border: 1px solid rgb(255 255 255 / .25); cursor: pointer; display: grid; place-items: center;
}
.lightbox__close:hover { background: rgb(255 255 255 / .22); }
.lightbox :focus-visible { outline-color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] { animation: lb-in .25s var(--ease); }
  @keyframes lb-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
}

/* moving page countdown */
.countdown { display: inline-flex; align-items: baseline; gap: var(--s-2); margin-top: var(--s-5); padding: var(--s-2) var(--s-4); background: var(--red-fill); color: #fff; border-radius: 999px; font-weight: 600; }
.countdown strong { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.countdown:empty { display: none; }

/* ---------- brand marquee (moves left to right) ---------- */
.marquee {
  display: grid; grid-template-columns: auto 1fr; align-items: center;
  background: var(--red-fill); color: #fff; overflow: hidden;
}
.marquee__label {
  font-family: var(--f-mono); font-size: 0.75rem; font-weight: 500; line-height: 1.3;
  text-transform: uppercase; letter-spacing: .12em; letter-spacing: .12em;
  align-self: stretch; display: flex; align-items: center;
  padding: 0 var(--s-5) 0 var(--gutter); background: var(--graphite); color: #fff; position: relative; z-index: 1;
}
.marquee__label::after { /* angled edge, like the speed lines in the logo */
  content: ""; position: absolute; top: 0; bottom: 0; right: -18px; width: 36px; background: var(--graphite); transform: skewX(-16deg);
}
.marquee__viewport {
  overflow: hidden; padding-block: var(--s-5);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.marquee__track { display: flex; width: max-content; }
.marquee__list { list-style: none; display: flex; align-items: center; flex: none; }
.marquee__list li { display: flex; align-items: center; padding: 0 var(--s-6); position: relative; }
.marquee__list li::after { /* separator dot */
  content: ""; position: absolute; right: -4px; width: 8px; height: 8px; border-radius: 50%; background: rgb(15 16 18 / .45);
}
.marquee__name { font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 800; letter-spacing: -0.015em; white-space: nowrap; }
.marquee__logo { height: 40px; width: auto; filter: brightness(0) invert(1); } /* official logos render as white silhouettes */
@media (prefers-reduced-motion: no-preference) {
  .marquee__track.is-running { animation: marquee var(--marquee-dur, 60s) linear infinite; }
  .marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
  @keyframes marquee { from { transform: translateX(-50%); } to { transform: translateX(0); } }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__viewport { -webkit-mask-image: none; mask-image: none; }
  .marquee__track, .marquee__list { width: auto; flex-wrap: wrap; justify-content: center; row-gap: var(--s-3); }
}
@media (max-width: 719px) {
  .marquee { grid-template-columns: 1fr; }
  .marquee__label { padding: var(--s-2) var(--gutter); justify-content: center; }
  .marquee__label br { display: none; }
  .marquee__label::after { display: none; }
  .marquee__viewport { padding-block: var(--s-4); }
}

/* ---------- motorcycle + caravan hotspots (% of the 800x330 viewBox) ---------- */
@media (min-width: 720px) {
  [data-vehicle="bike"] .hs--engine { left: 45.625%; top: 52.12%; }
  [data-vehicle="bike"] .hs--clutch { left: 52.500%; top: 62.42%; }
  [data-vehicle="bike"] .hs--maintenance { left: 54.625%; top: 43.94%; }
  [data-vehicle="bike"] .hs--suspension { left: 61.750%; top: 56.36%; }
  [data-vehicle="bike"] .hs--chain { left: 65.750%; top: 71.52%; }
  [data-vehicle="bike"] .hs--electrical { left: 60.500%; top: 42.73%; }
  [data-vehicle="bike"] .hs--tyres { left: 81.250%; top: 89.70%; }
  [data-vehicle="bike"] .hs--brakes { left: 25.000%; top: 74.55%; }
  [data-vehicle="caravan"] .hs--undercarriage { left: 92.750%; top: 76.36%; }
  [data-vehicle="caravan"] .hs--suspension { left: 71.875%; top: 70.91%; }
  [data-vehicle="caravan"] .hs--brakes { left: 37.500%; top: 71.52%; }
  [data-vehicle="caravan"] .hs--lights { left: 95.125%; top: 57.88%; }
  [data-vehicle="caravan"] .hs--tyres { left: 60.250%; top: 89.70%; }
  [data-vehicle="caravan"] .hs--bearings { left: 65.000%; top: 79.09%; }
  [data-vehicle="caravan"] .hs--coupling { left: 9.500%; top: 66.97%; }
  [data-vehicle="caravan"] .hs--maintenance { left: 66.500%; top: 45.45%; }
}

/* ---------- vehicle switcher (car / motorcycle / caravan) ---------- */
.vehicle-switch { display: flex; align-items: center; gap: var(--s-2); margin-bottom: var(--s-6); }
.vs-tabs { display: flex; gap: 2px; padding: 4px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; }
.vs-tabs [role="tab"] {
  border: 0; background: none; cursor: pointer; padding: 10px 20px; border-radius: 999px;
  font-weight: 600; color: var(--ink); white-space: nowrap; transition: background-color .2s, color .2s, box-shadow .2s;
}
.vs-tabs [role="tab"]:hover { background: var(--surface); }
.vs-tabs [role="tab"][aria-selected="true"] { background: var(--red-fill); color: #fff; box-shadow: var(--shadow-sm); }
.vs-arrow {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center; cursor: pointer;
  border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  transition: background-color .2s, color .2s, border-color .2s;
}
.vs-arrow:hover { background: var(--graphite); color: #fff; border-color: var(--graphite); }
@media (max-width: 479px) {
  .vehicle-switch { justify-content: space-between; }
  .vs-tabs [role="tab"] { padding: 8px 12px; font-size: 0.9375rem; }
  .vs-arrow { width: 40px; height: 40px; }
}
/* the new vehicle drives in from the side you're heading towards */
@media (prefers-reduced-motion: no-preference) {
  .explorer.is-arriving .car { animation: drive-in .55s var(--ease) both; }
  .explorer.is-arriving[data-dir="-1"] .car { animation-name: drive-in-back; }
  .explorer.is-arriving .explorer__tabs, .explorer.is-arriving .explorer__panels { animation: panel-in .4s var(--ease) both; }
  @keyframes drive-in { from { transform: translateX(14%); opacity: 0; } to { transform: none; opacity: 1; } }
  @keyframes drive-in-back { from { transform: translateX(-14%); opacity: 0; } to { transform: none; opacity: 1; } }
}
.explorer[hidden] { display: none; }

/* ================= vibrancy pass =================
   More punch from the logo's own colours: black, red, white. Big solid blocks and contrast,
   no gradients-for-the-sake-of-it, glows or extra hues. */

/* key phrase in each heading: red italic, the same device as "First Time." in the hero */
.hl { font-style: italic; font-weight: 800; color: var(--red-ink); padding-right: .04em; }
.section--dark .hl { color: var(--red-light); }

/* hero on near-black: the red gear and white title card jump forward */
.hero {
  background-color: var(--graphite);
  background-image:
    linear-gradient(rgb(255 255 255 / .045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .045) 1px, transparent 1px);
  color: var(--chalk);
}
.hero__card { border-color: transparent; box-shadow: 0 30px 70px -20px rgb(0 0 0 / .7); color: var(--ink); }
.hero__lede { color: #C9CCD0; }
.hero .status-chip { color: var(--chalk-muted); }
.hero .status-chip[data-state="open"] { color: var(--chalk); }
.hero :focus-visible { outline-color: #fff; }
.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-bg-hover: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .55); box-shadow: none; }
.btn--ghost:hover { border-color: #fff; }

/* builds on dark: photos pop */
.section--builds .section-lede, .section--builds .feature__body > p, .section--builds .card__body p { color: var(--chalk-muted); }
.section--builds .card { background: var(--graphite-2); border-color: var(--line-dark); }
.section--builds .card__body h4 { color: var(--chalk); }
.section--builds .shot { background: var(--graphite-2); box-shadow: 0 20px 40px -18px rgb(0 0 0 / .8); }
.section--builds .card { transition: transform .25s var(--ease), border-color .25s; }
.section--builds .card:hover { transform: translateY(-4px); border-color: var(--red); }
@media (prefers-reduced-motion: reduce) { .section--builds .card:hover { transform: none; } }

/* how it works: big red numbers, red rail */
.steps__item h3 { margin-top: var(--s-3); }