/* Dr Wheels — engineering-workshop design system
   Motif: machinist's spec sheet. Hairline grids, dimension lines, mono labels.
   No wheel imagery anywhere (client request). */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono-var.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --ink: #0f1114;
  --ink-2: #171a1f;
  --ink-3: #20242a;
  --line-dark: rgb(255 255 255 / 0.13);
  --text-on-dark: #f2f0eb;
  --muted-on-dark: #b6bbc3;
  --paper: #f2f0eb;
  --paper-2: #e6e2d9;
  --text: #16181b;
  --muted: #4a4f57;
  --line: rgb(22 24 27 / 0.16);
  --signal: #ff6b1a;
  --signal-hover: #ff8a47;
  --signal-deep: #a83c00;
  --focus: #ffb380;

  --font-sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 76rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --space-section: clamp(4rem, 9vw, 7.5rem);
  --radius: 2px;
  --header-h: 4.5rem;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  font-stretch: 100%;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.05; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
ul { padding: 0; margin: 0; }

:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--focus); }

.visually-hidden {
  position: absolute; clip-path: inset(50%); overflow: hidden;
  width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; white-space: nowrap;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--signal); color: var(--ink); padding: 0.75rem 1rem; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

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

/* ---------- Type primitives ---------- */
.display {
  font-weight: 800;
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.h-xl { font-size: clamp(2.25rem, 6.2vw, 4.75rem); }
.h-lg { font-size: clamp(1.9rem, 4.4vw, 3.25rem); }
.h-md { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.h-sm { font-size: 1.25rem; font-weight: 750; font-stretch: 112%; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; max-width: 40rem; }

.label {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.label--signal { color: var(--signal-deep); }
.on-dark .label--signal { color: var(--signal); }

/* Dimension line: |——— LABEL ———| */
.dim {
  display: flex; align-items: center; gap: 1rem;
  font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
  margin-block-end: 2rem;
}
.dim::before, .dim::after {
  content: ""; flex: 1; height: 0.75rem;
  border-inline: 1px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat;
  opacity: 0.6;
}
.dim--start::before { flex: 0 0 2.5rem; }
.on-dark .dim { color: var(--muted-on-dark); }

/* ---------- Surfaces ---------- */
.on-dark {
  background-color: var(--ink);
  color: var(--text-on-dark);
}
.on-dark .muted, .on-dark p { color: var(--muted-on-dark); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark strong { color: var(--text-on-dark); }
.grid-bg {
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: -1px -1px;
}
.grid-bg--fade {
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
}
.section { padding-block: var(--space-section); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section--alt { background: var(--paper-2); }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3rem; padding: 0.75rem 1.4rem;
  font: inherit; font-weight: 750; font-stretch: 112%; font-size: 1rem;
  text-transform: uppercase; letter-spacing: 0.02em; text-decoration: none;
  border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn--primary { background: var(--signal); color: var(--ink); }
.btn--primary:hover { background: var(--signal-hover); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: var(--text); color: var(--paper); border-color: var(--text); }
.on-dark .btn--ghost:hover { background: var(--text-on-dark); color: var(--ink); border-color: var(--text-on-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 3rem;
  font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--signal);
  min-height: auto; padding-block: 0.6rem 0.2rem;
}
.text-link:hover { color: var(--signal-deep); }
.on-dark .text-link:hover { color: var(--signal); }

/* ---------- Header & navigation (navbar guide) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(15 17 20 / 0.96);
  color: var(--text-on-dark);
  border-bottom: 1px solid var(--line-dark);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgb(15 17 20 / 0.88); backdrop-filter: blur(10px); }
}
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: var(--header-h);
  width: min(100% - 2 * var(--gutter), 90rem); margin-inline: auto;
}
.header-inner > * { flex-shrink: 0; white-space: nowrap; }

.wordmark {
  display: inline-flex; align-items: baseline; gap: 0;
  min-height: 3rem; align-items: center;
  text-decoration: none; color: var(--text-on-dark);
  font-weight: 900; font-stretch: 125%; font-size: clamp(1.1rem, 4.5vw, 1.35rem); letter-spacing: -0.01em; text-transform: uppercase;
}
.header-actions:not(:has(> :is(.header-phone, .btn):not([hidden]))) { display: none; }
@media (max-width: 30rem) { .header-actions { display: none; } .claims li { grid-template-columns: 2.25rem 1fr; } }
.wordmark .dot { color: var(--signal); }

.site-nav { margin-inline-start: auto; }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.header-phone {
  display: none; align-items: center; gap: 0.5rem; min-height: 3rem; padding-inline: 0.5rem;
  font-family: var(--font-mono); font-size: 0.95rem; text-decoration: none; color: var(--text-on-dark);
}
.header-phone svg { width: 1.1rem; height: 1.1rem; color: var(--signal); }
.header-phone:hover { color: var(--signal); }
@media (min-width: 40rem) { .header-phone { display: inline-flex; } }
.header-actions .btn { min-height: 2.75rem; padding-inline: 1rem; font-size: 0.9rem; }
@media (max-width: 30rem) { .header-actions .btn { display: none; } }

.menu-button {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 3rem; padding: 0 0.9rem;
  font: inherit; font-weight: 700; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--text-on-dark); background: transparent;
  border: 1px solid var(--line-dark); border-radius: var(--radius); cursor: pointer;
  anchor-name: --menu-button;
}
.menu-button svg { width: 1.25rem; height: 1.25rem; }
.menu-button:hover { border-color: var(--text-on-dark); }

.site-menu {
  list-style: none; margin: 0;
  /* collapsed popover */
  position: fixed;
  inset: auto;
  inset-block-start: 5rem;
  inset-block-start: anchor(--menu-button bottom);
  inset-inline-end: 1rem;
  inline-size: min(88dvw, 22rem);
  max-inline-size: calc(100dvw - 2rem);
  block-size: fit-content;
  max-block-size: calc(100dvh - 6rem);
  margin-block-start: 0.5rem;
  overflow: auto;
  padding: 0.5rem;
  background: var(--ink-2); color: var(--text-on-dark);
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  box-shadow: 0 24px 48px rgb(0 0 0 / 0.45);
}
.site-menu::backdrop { background: rgb(0 0 0 / 0.35); }
.site-menu a, .dropdown-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  inline-size: 100%; min-height: 3rem; padding: 0.5rem 0.9rem;
  font: inherit; font-size: 1rem; font-weight: 600; text-align: start;
  color: var(--text-on-dark); text-decoration: none; background: transparent; border: 0; border-radius: var(--radius);
  cursor: pointer;
}
.site-menu a:hover, .dropdown-trigger:hover { background: var(--ink-3); }
.site-menu a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--signal); }
.dropdown-trigger .chev { width: 1rem; height: 1rem; transition: rotate 0.2s; }
.dropdown-trigger[aria-expanded="true"] .chev { rotate: 180deg; }
.dropdown-list { list-style: none; padding-inline-start: 0.75rem; display: grid; }
.dropdown-list a { font-weight: 500; color: var(--muted-on-dark); }
.dropdown-list a:hover { color: var(--text-on-dark); }

@media (prefers-reduced-motion: no-preference) {
  .site-menu, .dropdown-list[popover] {
    transition: opacity 0.18s, translate 0.18s, display 0.18s, overlay 0.18s;
    transition-behavior: allow-discrete;
  }
  .site-menu:not(:is(:popover-open, .\:popover-open)) { opacity: 0; translate: 0 -6px; }
  @starting-style {
    .site-menu:is(:popover-open, .\:popover-open) { opacity: 0; translate: 0 -6px; }
  }
}

@supports not selector(:popover-open) {
  [popover]:not(.\:popover-open) { display: none; }
}

.site-header.is-measuring * { transition: none !important; }

.site-header.is-wide .menu-button { display: none; }
.site-header.is-wide .site-menu {
  position: static; display: flex; align-items: center; gap: 0.1rem;
  inline-size: auto; max-inline-size: none; block-size: auto; max-block-size: none;
  overflow: visible; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none;
  opacity: 1; translate: none;
}
.site-header.is-wide .site-menu::backdrop { display: none; }
.site-header.is-wide .site-menu > li > a,
.site-header.is-wide .dropdown-trigger {
  inline-size: auto; padding: 0.5rem 0.7rem; font-size: 0.95rem;
}
.site-header.is-wide .site-menu > li > a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--signal); }
.site-header.is-wide .nav-dropdown { position: relative; }
.site-header.is-wide .dropdown-list[popover] {
  position: absolute;
  position-area: block-end span-inline-end;
  position-try-fallbacks: flip-block, flip-inline;
  inset: auto; height: auto;
  inline-size: max-content; min-inline-size: 15rem;
  margin: 0; margin-block-start: 0.5rem;
  overflow: visible;
  padding: 0.4rem;
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius);
  box-shadow: 0 24px 48px rgb(0 0 0 / 0.45);
  color: var(--text-on-dark);
}
.site-header.is-wide .dropdown-list::before {
  content: ""; position: absolute; inset-inline: 0; inset-block-end: 100%; block-size: 0.5rem;
}
.site-header.is-wide .dropdown-list:not(:is(:popover-open, .\:popover-open)) { display: none; }
.site-header.is-wide .dropdown-list:is(:popover-open, .\:popover-open) { display: grid; }
.site-header.is-wide .dropdown-list a { color: var(--text-on-dark); font-weight: 550; }
@supports not (position-area: block-end) {
  .site-header.is-wide .dropdown-list[popover] { position: fixed; margin: 0; }
}

@media (forced-colors: active) {
  .site-menu a[aria-current="page"] { text-decoration: underline; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: clip;
  padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 7vw, 6rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 30% 20%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 90% at 30% 20%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero > .wrap { position: relative; }
.hero-grid > * { min-width: 0; }
.hero-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
@media (min-width: 64rem) { .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr); } }

.claims { list-style: none; margin: 1.5rem 0 2rem; padding: 0; }
.claims li {
  display: grid; grid-template-columns: 3rem 1fr; align-items: baseline;
  padding-block: 0.35rem;
  border-bottom: 1px solid var(--line-dark);
}
.claims li:first-child { border-top: 1px solid var(--line-dark); }
.claims .idx { font-family: var(--font-mono); font-size: 0.85rem; color: var(--signal); }
.claims .claim {
  font-weight: 800; font-stretch: 125%; text-transform: uppercase; line-height: 1.02;
  font-size: clamp(1.45rem, 7.4vw, 3.6rem); letter-spacing: -0.015em; color: var(--text-on-dark); overflow-wrap: anywhere;
}
.claims .claim em { font-style: normal; color: var(--signal); }
.hero .lead { color: var(--text-on-dark); }
.hero-meta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.hero-meta .label { color: var(--muted-on-dark); }

/* ---------- Form cards ---------- */
.form-card {
  position: relative;
  background: var(--paper); color: var(--text);
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius);
}
.form-card h2, .on-dark .form-card h2 { font-size: 1.6rem; color: var(--text); }
.on-dark .form-card p { color: var(--muted); }
.form-card > p { color: var(--muted); }
/* Registration marks on card corners */
.reg { position: relative; }
.reg::before, .reg::after {
  content: ""; position: absolute; width: 14px; height: 14px; pointer-events: none;
  border-color: var(--signal); border-style: solid;
}
.reg::before { top: -7px; left: -7px; border-width: 2px 0 0 2px; }
.reg::after { bottom: -7px; right: -7px; border-width: 0 2px 2px 0; }

.form { display: grid; gap: 1rem; }
.form .row { display: grid; gap: 1rem; }
@media (min-width: 36rem) { .form .row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 650; font-size: 0.95rem; }
.field .req { color: var(--signal-deep); }
.field .opt { color: var(--muted); font-weight: 400; font-size: 0.85rem; }
.form input, .form select, .form textarea {
  font: inherit; font-size: max(1rem, 1em);
  inline-size: 100%; min-height: 3rem; padding: 0.7rem 0.85rem;
  color: var(--text); background: #fff;
  border: 1.5px solid #6b6f76; border-radius: var(--radius);
}
.form textarea { resize: vertical; min-height: 7rem; }
.form 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='%2316181b' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.8rem center; background-size: 1.1rem;
  padding-inline-end: 2.5rem;
}
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible {
  outline: 3px solid var(--signal); outline-offset: 1px; border-color: var(--text);
}
.form :is(input, textarea, select):user-invalid { border-color: #b3261e; border-width: 2px; }
.field-error { color: #b3261e; font-size: 0.875rem; font-weight: 600; }
.field-error:empty { display: none; }
.form button[type="submit"] { inline-size: 100%; margin-top: 0.25rem; }
@media (pointer: coarse) { .form input, .form select { min-height: 3.25rem; } }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[data-turnstile-slot]:empty { display: none; }

/* ---------- Fact rail ---------- */
.fact-rail { border-top: 1px solid var(--line-dark); }
.fact-rail ul { list-style: none; display: grid; }
@media (min-width: 52rem) { .fact-rail ul { grid-template-columns: repeat(3, 1fr); } }
.fact-rail li { padding: 1.75rem 1.5rem 1.75rem 0; border-bottom: 1px solid var(--line-dark); }
@media (min-width: 52rem) {
  .fact-rail li { border-bottom: 0; padding-inline: 1.5rem; border-inline-start: 1px solid var(--line-dark); }
  .fact-rail li:first-child { border-inline-start: 0; padding-inline-start: 0; }
}
.fact-rail .label { display: block; color: var(--signal); margin-bottom: 0.5rem; }
.fact-rail p { margin: 0; color: var(--text-on-dark); font-size: 1.05rem; }

/* ---------- Services (home) ---------- */
.svc-head { display: grid; gap: 1.5rem; margin-bottom: clamp(2rem, 4vw, 3rem); align-items: end; }

.svc-head p { margin: 0; line-height: 1.12; }
.svc-head { grid-template-columns: minmax(0, 1fr); }

.spec-cards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 56rem) { .spec-cards { grid-template-columns: repeat(3, 1fr); } }
.spec-card {
  display: flex; flex-direction: column; gap: 1.25rem;
  background: var(--paper); padding: clamp(1.5rem, 3vw, 2.25rem);
}
.spec-card__no { font-family: var(--font-mono); font-size: 0.85rem; color: var(--signal-deep); }
.spec-card h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 800; font-stretch: 125%; text-transform: uppercase; margin: 0; }
.spec-list { list-style: none; counter-reset: spec; }
.spec-list li {
  counter-increment: spec;
  display: grid; grid-template-columns: 2.5rem 1fr; gap: 0.25rem;
  padding-block: 0.65rem; border-top: 1px dashed var(--line);
}
.spec-list li::before {
  content: counter(spec, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); padding-top: 0.15rem;
}
.spec-card .text-link { margin-top: auto; align-self: flex-start; }
.spec-card--dark { background: var(--ink); color: var(--text-on-dark); }
.spec-card--dark .spec-card__no { color: var(--signal); }
.spec-card--dark .spec-list li { border-top-color: var(--line-dark); }
.spec-card--dark .spec-list li::before { color: var(--muted-on-dark); }

.chip-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.chip-links a {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 3rem; padding: 0.5rem 1rem;
  border: 1px solid var(--text); border-radius: var(--radius); text-decoration: none; font-weight: 650;
}
.chip-links a::after { content: "→"; color: var(--signal-deep); }
.chip-links a:hover { background: var(--text); color: var(--paper); }
.chip-links a:hover::after { color: var(--signal); }

/* ---------- Statement band (V8) ---------- */
.statement { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 60rem) { .statement { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.statement blockquote { margin: 0; }
.statement blockquote p {
  font-weight: 800; font-stretch: 118%; text-transform: uppercase;
  font-size: clamp(1.8rem, 4.2vw, 3.3rem); line-height: 1.05; letter-spacing: -0.01em;
  color: var(--text-on-dark); margin: 0;
}
.statement blockquote p em { font-style: normal; color: var(--signal); }
.mini-cards { display: grid; gap: 1rem; }
.mini-card { padding: 1.5rem; border: 1px solid var(--line-dark); background: var(--ink-2); }
.mini-card h3 { font-size: 1.25rem; font-weight: 800; font-stretch: 125%; text-transform: uppercase; margin-bottom: 0.5rem; }
.mini-card p { margin: 0; }

/* ---------- Freight band ---------- */
.freight { background: var(--signal); color: var(--ink); overflow: clip; }
.freight .wrap { display: grid; gap: 2rem; }
@media (min-width: 60rem) { .freight .wrap { grid-template-columns: 1fr 1fr; align-items: center; } }
.freight h2 { color: var(--ink); }
.freight p { color: var(--ink); font-size: 1.1rem; }
.freight .btn--dark { background: var(--ink); color: var(--text-on-dark); }
.freight .btn--dark:hover { background: var(--ink-3); }
.freight .btn--ghost:hover { background: var(--ink); color: var(--signal); border-color: var(--ink); }
.freight .label { color: var(--ink); }
.cities { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.cities li {
  font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(1.6rem, 4vw, 3rem); line-height: 1.05;
  color: transparent; -webkit-text-stroke: 1.5px var(--ink);
}
.cities li:nth-child(3n+1) { color: var(--ink); -webkit-text-stroke: 0; }
@media (forced-colors: active) { .cities li { color: CanvasText; -webkit-text-stroke: 0; } }

/* ---------- Timeline ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 60rem) { .split { grid-template-columns: 1fr 1fr; } }
.timeline { list-style: none; padding: 0; margin: 0; border-inline-start: 2px solid var(--text); }
.timeline li { position: relative; padding: 0 0 2rem 1.75rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 0.35rem;
  width: 12px; height: 12px; background: var(--signal); border: 2px solid var(--text);
}
.timeline .yr { display: block; font-weight: 900; font-stretch: 125%; font-size: 1.75rem; line-height: 1; margin-bottom: 0.35rem; }
.timeline p { margin: 0; }

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 48rem) { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72rem) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { background: var(--paper); padding: 1.75rem; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.review blockquote { margin: 0; }
.review blockquote p { margin: 0 0 0.6em; }
.review figcaption { margin-top: auto; font-family: var(--font-mono); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.review figcaption::before { content: "— "; color: var(--signal-deep); }
.review--feature { background: var(--ink); color: var(--text-on-dark); }
@media (min-width: 48rem) { .review--feature, .review--fill { grid-column: span 2; } }
.review--feature blockquote p {
  color: var(--text-on-dark);
  font-weight: 700; font-stretch: 110%; font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.3;
}
.review--feature figcaption::before { color: var(--signal); }
.review .mark {
  font-weight: 900; font-stretch: 125%; font-size: 3.5rem; line-height: 0.6; color: var(--signal-deep); height: 1.5rem;
}
.review--feature .mark { color: var(--signal); }

/* ---------- Page title band (inner pages) — typographic only, no imagery ---------- */
.page-head { position: relative; overflow: clip; padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2.5rem, 5vw, 4rem); }
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(100deg, #000 10%, transparent 70%);
  mask-image: linear-gradient(100deg, #000 10%, transparent 70%);
  pointer-events: none;
}
.page-head > .wrap { position: relative; }
.crumbs { margin-bottom: 1.25rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 0.6rem; padding: 0; margin: 0; }
.crumbs li { font-family: var(--font-mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted-on-dark); }
.crumbs li + li::before { content: "/"; margin-inline-end: 0.6rem; color: var(--signal); }
.crumbs a { display: inline-block; padding-block: 0.4rem; color: var(--muted-on-dark); }
.crumbs a:hover { color: var(--text-on-dark); }
.page-head h1 { max-width: 22ch; margin-bottom: 0.4em; }
.page-head .lead { color: var(--muted-on-dark); margin-bottom: 0; }
.page-head .btn-row { margin-top: 1.75rem; }

/* ---------- Prose & content layouts ---------- */
.content-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 64rem) { .content-grid { grid-template-columns: minmax(0, 1fr) 22rem; } }
.prose { max-width: 44rem; }
.prose h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 800; font-stretch: 118%; text-transform: uppercase; margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.25rem; font-weight: 750; font-stretch: 110%; margin-top: 1.75rem; }
.prose ul:not([class]) { list-style: none; margin: 0 0 1.5em; }
.prose ul:not([class]) li { position: relative; padding: 0.55rem 0 0.55rem 1.75rem; border-top: 1px dashed var(--line); }
.prose ul:not([class]) li:last-child { border-bottom: 1px dashed var(--line); }
.prose ul:not([class]) li::before {
  content: ""; position: absolute; left: 0; top: 1.15rem; width: 0.85rem; height: 2px; background: var(--signal-deep);
}

.aside { display: grid; gap: 1.25rem; align-content: start; }
@media (min-width: 64rem) { .aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.aside-card { padding: 1.5rem; border: 1px solid var(--line); background: var(--paper); }
.aside-card--dark { background: var(--ink); color: var(--text-on-dark); border-color: var(--ink); }
.aside-card--dark p { color: var(--muted-on-dark); }
.aside-card h2 { font-size: 1.3rem; font-weight: 800; font-stretch: 118%; text-transform: uppercase; }
.aside-card .btn { inline-size: 100%; }
.aside-card .btn + .btn { margin-top: 0.6rem; }
.aside-nav { list-style: none; }
.aside-nav a {
  display: flex; justify-content: space-between; align-items: center; min-height: 3rem;
  padding-block: 0.5rem; border-top: 1px solid var(--line); text-decoration: none; font-weight: 600;
}
.aside-nav a::after { content: "→"; color: var(--signal-deep); }
.aside-nav a[aria-current="page"] { color: var(--signal-deep); }
.aside-nav a:hover { color: var(--signal-deep); }

.pull {
  margin: 2.5rem 0; padding: 1.5rem 0 1.5rem 1.5rem;
  border-inline-start: 4px solid var(--signal);
}
.pull p {
  margin: 0; font-weight: 800; font-stretch: 118%; text-transform: uppercase;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.12;
}

/* Spec readout (e.g. stud pattern) */
.readout {
  display: grid; gap: 1rem; padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--ink); color: var(--text-on-dark); margin: 2rem 0;
}
.readout__vals { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }
.readout__val { font-family: var(--font-mono); font-weight: 700; font-size: clamp(2rem, 6vw, 3.5rem); line-height: 1; }
.readout__val--to { color: var(--signal); }
.readout__arrow { font-family: var(--font-mono); font-size: clamp(1.5rem, 4vw, 2.5rem); color: var(--muted-on-dark); }
.readout p { margin: 0; color: var(--muted-on-dark); }

.numbers { list-style: none; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 2rem 0; }
@media (min-width: 40rem) { .numbers { grid-template-columns: repeat(3, 1fr); } }
.numbers li { background: var(--paper); padding: 1.25rem; }
.numbers .n { display: block; font-family: var(--font-mono); font-weight: 700; font-size: 1.9rem; line-height: 1.1; color: var(--signal-deep); }

/* Steps / process */
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 1rem; margin: 1.5rem 0 2rem; }
.steps li {
  counter-increment: step; position: relative;
  padding: 1.25rem 1.25rem 1.25rem 4rem; background: var(--paper-2);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 1.25rem; top: 1.25rem;
  font-family: var(--font-mono); font-weight: 700; color: var(--signal-deep);
}
.steps li p { margin: 0; }

/* Stock table */
.stock { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); list-style: none; }
@media (min-width: 40rem) { .stock { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .stock { grid-template-columns: repeat(3, 1fr); } }
.stock li { background: var(--paper); padding: 1.5rem; display: grid; gap: 0.5rem; align-content: start; }
.stock h3 { margin: 0; font-size: 1.2rem; font-weight: 800; font-stretch: 118%; text-transform: uppercase; }
.stock .finish { font-family: var(--font-mono); font-size: 0.85rem; text-transform: uppercase; color: var(--muted); }
.stock .tag {
  justify-self: start; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem; border: 1.5px solid currentColor;
}
.stock .tag--out { color: var(--muted); }
.stock .tag--in { color: var(--signal-deep); }

/* FAQ accordion (accordion guide) */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; display: flex; align-items: center; gap: 0.9rem;
  min-height: 3rem; padding: 1.1rem 0;
  font-weight: 750; font-stretch: 108%; font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: ""; inline-size: 1.1rem; block-size: 1.1rem; flex-shrink: 0;
  background-color: var(--signal-deep);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
  rotate: -90deg;
}
.faq details[open] > summary::before { rotate: 0deg; }
.faq summary:hover { color: var(--signal-deep); }
.faq .answer { padding: 0 0 1.5rem 2rem; max-width: 46rem; }
.faq details::details-content { interpolate-size: allow-keywords; overflow: clip; contain: layout; }
.faq details:not([open])::details-content { block-size: 0; }
@media (prefers-reduced-motion: no-preference) {
  .faq summary::before { transition: rotate 0.2s; }
  .faq details::details-content {
    transition: block-size, content-visibility, display;
    transition-duration: 0.28s; transition-timing-function: ease-in-out;
    transition-behavior: allow-discrete;
  }
}

/* Sponsorship */
.wins { list-style: none; display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); margin: 1.5rem 0; }
@media (min-width: 40rem) { .wins { grid-template-columns: 1fr 1fr; } }
.wins li { background: var(--ink-2); padding: 1.1rem 1.25rem; font-weight: 650; color: var(--text-on-dark); }
.wins li .label { display: block; color: var(--signal); margin-bottom: 0.25rem; }

/* Places list */
.places { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0; }
.places li { font-family: var(--font-mono); font-size: 0.9rem; text-transform: uppercase; padding: 0.4rem 0.75rem; border: 1px solid var(--line); background: var(--paper); }

/* Benefits (trade) */
.benefits { display: grid; gap: 1rem; list-style: none; margin: 1.5rem 0 2rem; }
@media (min-width: 48rem) { .benefits { grid-template-columns: repeat(3, 1fr); } }
.benefits li { padding: 1.5rem; background: var(--ink); color: var(--text-on-dark); }
.benefits h3 { font-size: 1.15rem; font-weight: 800; font-stretch: 118%; text-transform: uppercase; color: var(--signal); margin: 0 0 0.5rem; }
.benefits p { color: var(--muted-on-dark); margin: 0 0 0.5em; }

/* Contact details */
.contact-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.contact-list .label { color: var(--muted); padding-top: 0.2rem; }
.contact-list a { font-weight: 700; }

/* CTA band */
.cta-band { padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta-band .wrap { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 56rem) { .cta-band .wrap { grid-template-columns: 1fr auto; } }
.cta-band h2 { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--text-on-dark); }
.footer-enquire { padding-block: clamp(3.5rem, 7vw, 5.5rem); border-bottom: 1px solid var(--line-dark); }
.footer-enquire .wrap { display: grid; gap: 2.5rem; }
@media (min-width: 60rem) { .footer-enquire .wrap { grid-template-columns: 1fr 1.25fr; align-items: start; } }
.footer-enquire h2 { color: var(--text-on-dark); }
.footer-enquire p { color: var(--muted-on-dark); }
.footer-form { background: var(--ink-2); border: 1px solid var(--line-dark); padding: clamp(1.25rem, 3vw, 2rem); }
.footer-form .field label { color: var(--text-on-dark); }
.footer-form .field .opt { color: var(--muted-on-dark); }
.footer-form .field .req { color: var(--signal); }
.footer-form input, .footer-form textarea { background: var(--ink); color: var(--text-on-dark); border-color: #8a9099; }
.footer-form :is(input, textarea):focus-visible { border-color: var(--text-on-dark); outline-color: var(--signal); }
.footer-form .field-error { color: #ff9b8f; }
.footer-form :is(input, textarea):user-invalid { border-color: #ff9b8f; }
.footer-contact { list-style: none; display: grid; gap: 0.25rem; margin-top: 1.5rem; }
.footer-contact a, .footer-contact span {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 3rem;
  color: var(--text-on-dark); text-decoration: none; font-weight: 600;
}
.footer-contact a:hover { color: var(--signal); }
.footer-contact svg { width: 1.2rem; height: 1.2rem; color: var(--signal); flex-shrink: 0; }

.footer-links { padding-block: 3rem; display: grid; gap: 2rem; }
@media (min-width: 48rem) { .footer-links { grid-template-columns: 1.2fr repeat(3, 1fr); } }
.footer-links h3 { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-on-dark); margin-bottom: 0.75rem; }
.footer-links ul { list-style: none; }
.footer-links a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--text-on-dark); text-decoration: none; }
.footer-links a:hover { color: var(--signal); text-decoration: underline; }
.footer-links p { color: var(--muted-on-dark); font-size: 0.95rem; }
.footer-base { border-top: 1px solid var(--line-dark); padding-block: 1.5rem; }
.footer-base p { margin: 0; font-size: 0.875rem; color: var(--muted-on-dark); }

/* ---------- Mobile call bar ---------- */
.call-bar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line-dark);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -8px 24px rgb(0 0 0 / 0.25);
}
.call-bar a {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3.5rem; font-weight: 800; font-stretch: 112%; text-transform: uppercase; text-decoration: none; font-size: 0.95rem;
}
.call-bar svg { width: 1.15rem; height: 1.15rem; }
.call-bar .call { background: var(--ink); color: var(--text-on-dark); }
.call-bar .quote { background: var(--signal); color: var(--ink); }
body { padding-bottom: calc(3.5rem + env(safe-area-inset-bottom)); }
@media (min-width: 48rem) {
  .call-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Utility pages ---------- */
.utility { min-height: 50vh; display: grid; align-content: center; }
.utility .big { font-family: var(--font-mono); font-weight: 700; font-size: clamp(4rem, 14vw, 9rem); line-height: 1; color: var(--signal); }

@media print {
  .site-header, .call-bar, .footer-enquire { display: none; }
}

/* =================== Photography layer (v2) =================== */
.wordmark .badge { width: 2.5rem; height: 2.5rem; border-radius: 50%; margin-inline-end: 0.6rem; flex-shrink: 0; }
.footer-banner { width: min(100%, 26rem); height: auto; margin-bottom: 1rem; }

.ph { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--ink-3); }
figure { margin: 0; }
.frame { position: relative; overflow: hidden; background: var(--ink-3); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame figcaption, .cap {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--muted); padding-top: 0.6rem;
}
.on-dark .cap, .on-dark .frame figcaption { color: var(--muted-on-dark); }
.ar-43 { aspect-ratio: 4 / 3; } .ar-32 { aspect-ratio: 3 / 2; } .ar-11 { aspect-ratio: 1; } .ar-45 { aspect-ratio: 4 / 5; } .ar-169 { aspect-ratio: 16 / 9; } .ar-21 { aspect-ratio: 21 / 9; }

/* Cinematic band under hero */
.cine { position: relative; color: var(--text-on-dark); background: var(--ink); }
.cine__img { aspect-ratio: 16 / 9; max-height: 78vh; width: 100%; }
@media (min-width: 60rem) { .cine__img { aspect-ratio: 21 / 9; } }
.cine__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.cine .fact-rail { position: relative; background: var(--ink); }
@media (min-width: 60rem) {
  .cine .fact-rail { position: absolute; inset-inline: 0; bottom: 0; background: linear-gradient(to top, rgb(15 17 20 / 0.96) 55%, rgb(15 17 20 / 0)); border-top: 0; padding-top: 4rem; }
}

/* Spec card photo */
.spec-card__img { margin: calc(-1 * clamp(1.5rem, 3vw, 2.25rem)); margin-bottom: 0.25rem; aspect-ratio: 4 / 3; overflow: hidden; }
.spec-card__img img { width: 100%; height: 100%; object-fit: cover; transition: scale 0.4s ease; }
@media (prefers-reduced-motion: no-preference) { .spec-card:hover .spec-card__img img { scale: 1.04; } }

/* Statement band photo */
.statement__photo { aspect-ratio: 4 / 3; margin-top: 2rem; }
.mini-card { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1.25rem; align-items: start; }
.mini-card .frame { aspect-ratio: 1; }
@media (max-width: 26rem) { .mini-card { grid-template-columns: 1fr; } .mini-card .frame { aspect-ratio: 16/9; } }

/* Inner page head: title beside photo (never behind it) */
.page-head--photo .wrap { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 60rem) { .page-head--photo .wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } }
.page-head__photo { aspect-ratio: 4 / 3; border: 1px solid var(--line-dark); }
.page-head__photo img { width: 100%; height: 100%; object-fit: cover; }

/* Before / after */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 2rem 0; }
.ba figure { position: relative; }
.ba .frame { aspect-ratio: 4 / 5; }
.ba .tag-ba {
  position: absolute; top: 0.75rem; left: 0.75rem; z-index: 1;
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.3rem 0.55rem; background: var(--ink); color: var(--text-on-dark);
}
.ba figure:last-child .tag-ba { background: var(--signal); color: var(--ink); }

/* Photo pairs / rows inside prose */
.photo-row { display: grid; gap: 0.75rem; margin: 2rem 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.photo-row .frame { aspect-ratio: 4 / 3; }

/* Gallery mosaic */
.mosaic { display: grid; gap: 0.5rem; grid-template-columns: repeat(2, 1fr); grid-auto-flow: dense; }
@media (min-width: 48rem) { .mosaic { grid-template-columns: repeat(4, 1fr); } }
.mosaic a, .mosaic figure { display: block; position: relative; overflow: hidden; aspect-ratio: 1; background: var(--ink-3); }
.mosaic .wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.mosaic .tall { grid-row: span 2; aspect-ratio: 1 / 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: scale 0.4s ease, opacity 0.2s; }
@media (prefers-reduced-motion: no-preference) { .mosaic a:hover img { scale: 1.05; } }
.mosaic a:focus-visible { outline-offset: -3px; }

/* Horizontal car strip */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 22rem); gap: 0.75rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; overscroll-behavior-x: contain; }
.strip > * { scroll-snap-align: start; }
.strip .frame { aspect-ratio: 3 / 2; }
.strip:focus-visible { outline: 3px solid var(--signal); outline-offset: 4px; }

/* Split with photo */
.split--photo { align-items: center; }
.split__photo { aspect-ratio: 4 / 3; }

/* Stock cards with photos */
.stock li { padding: 0; }
.stock .stock__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--ink-3); }
.stock .stock__img img { width: 100%; height: 100%; object-fit: cover; }
.stock .stock__img--none { display: grid; place-items: center; background: var(--ink); color: var(--signal); font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.1em; }
.stock .stock__body { padding: 1.25rem 1.5rem 1.5rem; display: grid; gap: 0.5rem; }
.stock li.is-sold .stock__img img { filter: grayscale(1); opacity: 0.6; }

/* Lightbox (native dialog) */
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(96vw, 80rem); max-height: 92dvh; overflow: visible; }
.lightbox::backdrop { background: rgb(0 0 0 / 0.88); }
.lightbox img { max-width: min(96vw, 80rem); max-height: 84dvh; width: auto; height: auto; margin-inline: auto; }
.lightbox p { color: #e9e9e9; font-family: var(--font-mono); font-size: 0.85rem; text-align: center; margin: 0.75rem 0 0; }
.lightbox__close {
  position: absolute; top: -3.25rem; right: 0; min-width: 3rem; min-height: 3rem;
  background: var(--signal); color: var(--ink); border: 0; font: inherit; font-weight: 800; cursor: pointer; padding: 0 1rem;
}
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] { animation: lb-in 0.2s ease-out; }
  @keyframes lb-in { from { opacity: 0; scale: 0.97; } }
}
@media (max-width: 24rem) { .wordmark > span { display: none; } }
.contact-list a { overflow-wrap: anywhere; }
@media (max-width: 30rem) { .contact-list li { grid-template-columns: 1fr; gap: 0.25rem; } }
.footer-contact a { overflow-wrap: anywhere; }
