/* Coach Boys storefront. One family, self-hosted (OFL): no third-party font requests,
   so one less processor to name in the POPIA notice. Archivo's width axis does the work
   of a second typeface: condensed for statements, normal width for reading. */
@font-face { font-family: "Archivo"; src: url("fonts/archivo-latin.de2f1fe81758.woff2") format("woff2");
  font-weight: 300 900; font-stretch: 62% 125%; font-display: swap; }

/* The idea: show the stock, don't claim it. Photographs of the racks at full size,
   counts read from the catalogue, and statements set like a destination blind. Glass
   has corners, so photographs sit in rounded panes; figures sit in square ruled tables.
   Amber means a vehicle off the road and nothing else. */
:root {
  --ink: #1F2254;          /* logo navy: text on light */
  --night: #10123A;        /* deep navy fields */
  --night-2: #181B4B;      /* raised surfaces on night */
  --signal: #00AEEF;       /* logo blue: actions on dark */
  --signal-ink: #006F9A;   /* the same blue, dark enough for text on white */
  --float: #E3EFEC;        /* the green of a float-glass edge */
  --float-2: #F1F6F5;
  --paper: #FFFFFF;
  --mist: #F4F6F8;
  --line: #D5DDE2;
  --line-night: rgba(255,255,255,.16);
  --mute: #525C78;
  --mute-night: #AEB5D0;
  --amber: #FFB21E;        /* emergencies only */
  --go: #11845B;           /* in stock */
  --go-night: #3DDC97;
  --stop: #B3261E;

  --f: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(18px, 4vw, 48px);
  --section: clamp(72px, 9.5vw, 144px);
  --r-pane: 18px;          /* photographs */
  --r-ctl: 7px;            /* buttons, fields */
  --shadow-pane: 0 30px 60px -28px rgba(16,18,58,.45);
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f); font-size: 17px; line-height: 1.6; font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
p, h1, h2, h3, h4, figure, blockquote, dl, dd { margin: 0; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only:focus { position: fixed; left: 12px; top: 12px; width: auto; height: auto; clip: auto; z-index: 99; background: var(--paper); color: var(--ink); padding: 10px 14px; }
.nw { white-space: nowrap; }
@view-transition { navigation: auto; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--f); text-wrap: balance; }
.display, .h2, .hero h1 {
  font-stretch: 64%; font-weight: 800; line-height: .94; letter-spacing: -.005em;
}
.h2 { font-size: clamp(2.3rem, 4.9vw, 4.4rem); }
.h3 { font-size: clamp(1.35rem, 1.9vw, 1.7rem); font-weight: 720; font-stretch: 84%; line-height: 1.12; }
.lede { font-size: clamp(1.08rem, 1.45vw, 1.28rem); line-height: 1.5; color: var(--mute); max-width: 58ch; text-wrap: pretty; }
.kicker { font-size: .95rem; font-weight: 650; color: var(--signal-ink); letter-spacing: .005em; }
.on-night { background: var(--night); color: var(--paper); }
.on-night .lede { color: #C7CDE4; }
.on-night .kicker { color: var(--signal); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px;
  font: 650 16px/1.1 var(--f); letter-spacing: .005em; text-decoration: none; text-align: center;
  padding: 12px 22px; border-radius: var(--r-ctl); border: 1.5px solid transparent;
  cursor: pointer; transition: background .16s, color .16s, border-color .16s, transform .16s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-signal, .btn-cyan { background: var(--signal); color: var(--night); }
.btn-signal:hover, .btn-cyan:hover { background: #4CC9F7; }
.btn-amber { background: var(--amber); color: var(--night); }
.btn-amber:hover { background: #FFC655; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--night); }
.btn-ghost { border-color: rgba(255,255,255,.42); color: var(--paper); }
.btn-ghost:hover { border-color: var(--paper); background: rgba(255,255,255,.08); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: 14.5px; }
.text-link { font-weight: 650; color: var(--signal-ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.text-link:hover { color: var(--ink); }
.on-night .text-link { color: var(--signal); }
.on-night .text-link:hover { color: var(--paper); }
.link-arrow { font-weight: 650; color: var(--signal-ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.link-arrow:hover { color: var(--ink); }

/* ---------- fields ---------- */
select, input[type="text"], input[type="tel"], input[type="email"], input[type="search"], input[type="number"], input[type="date"], textarea {
  width: 100%; font: 450 16px/1.3 var(--f); color: var(--ink);
  background: var(--paper); border: 1px solid #B4C0C8; border-radius: var(--r-ctl); padding: 12px 13px; min-height: 48px;
}
textarea { min-height: 96px; resize: vertical; }
select { appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%231F2254' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
select:focus, input:focus, textarea:focus { outline: 3px solid var(--signal); outline-offset: 0; border-color: var(--ink); }
.field { min-width: 0; }
.field label, .label { display: block; font-size: .875rem; font-weight: 600; color: var(--mute); margin-bottom: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }

/* ---------- stock status: a lamp, then the words ---------- */
.stock { display: inline-flex; align-items: baseline; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.stock::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--go); box-shadow: 0 0 0 3px rgba(17,132,91,.16); transform: translateY(-1px); }
.stock.order { color: var(--mute); font-weight: 500; }
.stock.order::before { background: transparent; box-shadow: inset 0 0 0 1.5px #8A94AE; }
.on-night .stock { color: var(--paper); }
.on-night .stock::before { background: var(--go-night); box-shadow: 0 0 0 3px rgba(61,220,151,.2); }

/* ---------- pane: a photograph, with glass corners and an etched mark ---------- */
.pane { position: relative; overflow: hidden; border-radius: var(--r-pane); background: var(--night); isolation: isolate; }
.pane picture { display: contents; }
.pane img { width: 100%; height: 100%; object-fit: cover; }
.pane figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 44px 20px 16px;
  font-size: .8125rem; font-weight: 550; color: rgba(255,255,255,.92); letter-spacing: .01em;
  background: linear-gradient(180deg, rgba(16,18,58,0), rgba(16,18,58,.62));
}

/* ---------- alert bar ---------- */
.alertbar { background: var(--night); color: var(--paper); font-size: 14.5px; }
.alertbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 6px 20px; min-height: 42px; flex-wrap: wrap; padding-block: 7px; }
.alert-main { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.alert-main strong { color: var(--amber); font-weight: 650; }
.alert-main a { color: var(--paper); font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
.alert-main a:hover { color: var(--amber); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(255,178,30,.7); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255,178,30,0); } 100% { box-shadow: 0 0 0 0 rgba(255,178,30,0); } }
.alert-branches { color: var(--mute-night); display: flex; gap: 22px; font-variant-numeric: tabular-nums; }
.alert-branches a { color: var(--paper); text-decoration: none; }
.alert-branches a:hover { text-decoration: underline; }
.alert-branches b { font-weight: 600; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.3) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 22px; height: var(--header-h); }
.logo { flex: none; }
.logo img { height: 50px; width: auto; }
.nav { display: flex; gap: clamp(14px, 1.7vw, 26px); margin-left: auto; }
.nav a { position: relative; text-decoration: none; font-weight: 600; font-size: 15.5px; color: var(--ink); padding-block: 8px; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"]::after { background: var(--ink); }
.header-cta { margin-left: 4px; }
.header-cta .count, .actionbar .count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--signal); color: var(--night); font-size: 12.5px; font-weight: 700; }
.actionbar .count { background: var(--night); color: var(--paper); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1.5px solid var(--line); border-radius: var(--r-ctl); min-height: 44px; padding: 9px 14px; font: 650 15px var(--f); color: var(--ink); cursor: pointer; }
.header-search { position: relative; }
.header-search summary { list-style: none; display: grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: var(--r-ctl); cursor: pointer; color: var(--ink); }
.header-search summary::-webkit-details-marker { display: none; }
.header-search summary svg { width: 20px; height: 20px; }
.header-search summary:hover, .header-search[open] summary { border-color: var(--ink); }
.header-search form { position: absolute; right: 0; top: calc(100% + 14px); width: min(540px, calc(100vw - 2 * var(--gutter))); display: flex; gap: 8px; padding: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 24px 48px -18px rgba(16,18,58,.35); z-index: 40; }
.header-search input[type="search"] { flex: 1; min-width: 0; }

/* Parts disclaimer, under the header on every page (the user's request, 2026-11-16). */
.disclaimer { margin: 0; background: var(--mist); border-bottom: 1px solid var(--line); color: var(--mute); font-size: 12.5px; line-height: 1.45; }
.disclaimer .wrap { display: block; padding-block: 7px; text-align: center; }
.flash { background: var(--float); border-bottom: 1px solid var(--line); }
.flash p { padding-block: 12px; font-size: 15.5px; }
.flash a, .added a { color: var(--signal-ink); font-weight: 650; }
.added { font-size: 14.5px; background: #E3F5FC; border-left: 3px solid var(--signal); border-radius: 0 var(--r-ctl) var(--r-ctl) 0; padding: 9px 12px; }

/* ---------- hero: the aisle between the windscreen trolleys, statement on the centre line ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--paper); display: grid; }
.hero picture { display: contents; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; z-index: -4; }
.hero::before {      /* the grade: multiplied navy keeps the photograph's contrast, where a wash would fog it */
  content: ""; position: absolute; inset: 0; z-index: -3; background: #8F95D6; mix-blend-mode: multiply;
}
.hero::after {       /* and a pool of shade on the centre line, where the statement sits */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(58% 56% at 50% 44%, rgba(12,14,48,.62) 0%, rgba(12,14,48,.40) 52%, rgba(12,14,48,0) 100%),
    linear-gradient(180deg, rgba(12,14,48,.42) 0%, rgba(12,14,48,0) 24%, rgba(12,14,48,0) 68%, rgba(12,14,48,.78) 100%);
}
.hero-glint {        /* light crossing glass, once, when the page arrives */
  position: absolute; inset: -20% -40%; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,.16) 48%, rgba(255,255,255,.04) 52%, transparent 58%);
  transform: translateX(-70%); opacity: 0;
}
.hero-inner { display: grid; justify-items: center; text-align: center; padding-block: clamp(44px, min(6.4vw, 10vh), 104px) clamp(32px, min(4.2vw, 6vh), 64px); }
.hero .kicker { color: var(--paper); display: inline-flex; align-items: center; gap: 12px; font-size: clamp(.9rem, 1.1vw, 1.05rem); font-weight: 600; }
.hero .kicker::before, .hero .kicker::after { content: ""; width: clamp(18px, 3vw, 44px); height: 2px; background: var(--signal); }
.hero h1 { font-size: clamp(2.85rem, min(6.9vw, 12.4vh), 7rem); margin-block: clamp(14px, 1.6vw, 24px) clamp(16px, 1.8vw, 26px); max-width: 12.6em; text-shadow: 0 2px 30px rgba(12,14,48,.5); }
.hero .lede { color: #E4E8F6; max-width: 54ch; font-size: clamp(1.06rem, 1.5vw, 1.32rem); text-shadow: 0 1px 14px rgba(16,18,58,.6); }
.hero-search { width: min(760px, 100%); margin-top: clamp(22px, 2.8vw, 38px); }
.hero-search > label { display: block; font-size: .9rem; font-weight: 600; color: #DDE2F3; margin-bottom: 9px; }
.search-bar { display: flex; gap: 6px; padding: 6px; background: rgba(255,255,255,.96); border-radius: 12px; box-shadow: 0 24px 60px -18px rgba(5,7,30,.7), inset 0 0 0 1px rgba(255,255,255,.7); }
.search-bar:focus-within { outline: 3px solid var(--signal); outline-offset: 3px; }
.search-bar input[type="search"] { flex: 1; min-width: 0; border: 0; background: transparent; font-size: clamp(16px, 1.4vw, 19px); font-weight: 500; padding: 12px 14px; min-height: 52px; }
.search-bar input[type="search"]:focus { outline: none; }
.search-bar .btn { padding-inline: clamp(16px, 2.4vw, 30px); min-height: 52px; border-radius: 8px; font-size: 17px; }
.hero-alt { margin-top: 14px; font-size: 15.5px; color: #DDE2F3; }
.hero-alt a { color: var(--paper); font-weight: 650; text-underline-offset: 4px; }
.hero-alt a:hover { color: var(--signal); }
.search-light > label { color: var(--mute); }
.search-light .search-bar { border: 1px solid #B4C0C8; box-shadow: none; }

/* the live figures: one line of plain facts, docked to the bottom edge of the photograph */
.hero-strip { border-top: 1px solid var(--line-night); background: rgba(16,18,58,.55); backdrop-filter: blur(10px); align-self: end; }
.hero-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 10px 32px; flex-wrap: wrap; padding-block: 16px; }
.figures { display: flex; flex-wrap: wrap; gap: 8px 0; }
.figure { display: flex; align-items: baseline; gap: 10px; padding-right: clamp(16px, 2.2vw, 32px); color: inherit; text-decoration: none; }
.figure + .figure { padding-left: clamp(16px, 2.2vw, 32px); border-left: 1px solid var(--line-night); }
.figure b { font-size: clamp(1.7rem, 2.5vw, 2.3rem); font-weight: 800; font-stretch: 68%; line-height: 1; font-variant-numeric: tabular-nums; }
.figure span { font-size: .92rem; color: #D5DAEE; line-height: 1.25; }
a.figure:hover b, a.figure:focus-visible b { color: var(--signal); }
.figures-note { font-size: .9rem; color: #D5DAEE; }
.figures-note a { color: var(--paper); font-weight: 650; text-underline-offset: 4px; }
.figures-note::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--go-night); box-shadow: 0 0 0 3px rgba(61,220,151,.2); margin-right: 10px; }

@media (prefers-reduced-motion: no-preference) {
  .hero-glint { animation: glint 1.9s cubic-bezier(.3,.1,.2,1) .35s both; }
  .hero .kicker, .hero h1, .hero .lede, .hero-search { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero h1 { animation-delay: .06s; }
  .hero .lede { animation-delay: .14s; }
  .hero-search { animation-delay: .22s; }
}
/* A short laptop screen (1366 x 768): the statement, the search and the figures still share the first screen. */
@media (min-width: 961px) and (max-height: 820px) {
  .hero-inner { padding-block: 5.4vh 3.4vh; }
  .hero h1 { font-size: min(6.2vw, 10.8vh); margin-block: 1.6vh 1.8vh; }
  .hero .lede { font-size: 1.1rem; }
  .hero-search { margin-top: 2.4vh; }
  .hero-strip .wrap { padding-block: 11px; }
}
@keyframes glint { 0% { transform: translateX(-70%); opacity: 0; } 18% { opacity: 1; } 100% { transform: translateX(70%); opacity: 0; } }
@keyframes rise { from { opacity: .01; transform: translateY(16px); } }

/* ---------- shared section furniture ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.tag { font-size: .8125rem; font-weight: 600; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--mute); background: var(--paper); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { display: inline-flex; gap: 8px; align-items: baseline; font-size: .9rem; font-weight: 600; text-decoration: none; padding: 8px 13px; border: 1px solid var(--line-night); border-radius: 999px; color: #DCE1F3; }
.chip small { color: var(--mute-night); font-size: .8rem; font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--signal); color: var(--paper); }
.chips-light .chip { color: var(--ink); border-color: var(--line); background: var(--paper); }
.chips-light .chip small { color: var(--mute); }
.chips-light .chip:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- glass drawings: the ceramic band, the glass, the light on it ---------- */
.glyph { width: 100%; height: auto; --g-frit: var(--ink); --g-glass: var(--float); }
.g-frit { fill: var(--g-frit); }
.g-glass { fill: var(--g-glass); transition: fill .2s; }
.g-line { fill: none; stroke: var(--g-frit); stroke-width: 2.4; }
.g-glint { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; opacity: .85; }
.g-heat { fill: none; stroke: var(--g-frit); stroke-width: 1.4; opacity: .45; }
.g-seal { fill: none; stroke: var(--g-frit); stroke-width: 8; stroke-linecap: round; }
.g-seal-2 { stroke-width: 3; opacity: .55; }
.on-night .glyph { --g-frit: #343A86; --g-glass: #BFE9FA; }

/* ---------- the claim, and the fleets that prove it ---------- */
.claim { padding-block: var(--section); }
.claim-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.claim-line { font-size: clamp(2rem, 4.1vw, 3.7rem); font-stretch: 66%; font-weight: 780; line-height: .98; letter-spacing: -.004em; }
.claim-side > p:first-child { color: var(--mute); font-size: 1.1rem; max-width: 46ch; }
.claim-fleets-label { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .9rem; font-weight: 650; color: var(--ink); }
.client-logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 30px; margin-top: 18px; align-items: center; }
.client-logos img { width: 100%; height: auto; max-height: 40px; object-fit: contain; object-position: left center; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; opacity: .78; transition: opacity .2s, filter .2s; }
.client-logos img:hover { opacity: 1; filter: none; }

/* ---------- the stock room ---------- */
.stockroom { position: relative; padding-bottom: var(--section); }
.stockroom-photo { position: relative; height: clamp(260px, 40vw, 600px); overflow: hidden; }
.stockroom-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.stockroom-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,18,58,.12) 0%, rgba(16,18,58,.10) 38%, rgba(16,18,58,.82) 82%, var(--night) 100%); }
.stockroom > .wrap { position: relative; margin-top: clamp(-190px, -12vw, -72px); }
.stockroom-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px clamp(32px, 6vw, 96px); align-items: end; }
.stockroom-head .h2 { text-shadow: 0 2px 28px rgba(12,14,48,.55); }
.glass-types { list-style: none; padding: 0; margin: clamp(44px, 5vw, 72px) 0 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-block: 1px solid var(--line-night); }
.glass-types li + li { border-left: 1px solid var(--line-night); }
.glass-types a { display: grid; grid-template-rows: auto 1fr auto; gap: 10px; height: 100%; padding: 26px clamp(12px, 1.6vw, 24px) 24px; text-decoration: none; transition: background .2s; }
.glass-types a:hover, .glass-types a:focus-visible { background: rgba(255,255,255,.05); }
.glass-types a:hover .g-glass, .glass-types a:focus-visible .g-glass { fill: var(--signal); }
.glass-types .glyph { max-width: 132px; margin-bottom: 8px; }
.glass-types b { font-size: 1.12rem; font-weight: 700; font-stretch: 88%; line-height: 1.15; }
.glass-types .n { font-size: clamp(2rem, 3vw, 2.9rem); font-weight: 800; font-stretch: 64%; line-height: 1; font-variant-numeric: tabular-nums; color: var(--paper); }
.glass-types .n small { display: block; margin-top: 6px; font-size: .84rem; font-weight: 500; font-stretch: 100%; color: var(--mute-night); }

.sheet-block { margin-top: clamp(48px, 6vw, 88px); }
.sheet-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 32px; flex-wrap: wrap; margin-bottom: 18px; }
.sheet-head p { color: var(--mute-night); font-size: .98rem; }
.sheet-scroll { overflow-x: auto; border-top: 2px solid var(--paper); }
.stock-sheet { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; }
.stock-sheet th, .stock-sheet td { padding: 0; border-bottom: 1px solid var(--line-night); text-align: right; font-weight: 500; }
.stock-sheet thead th { padding: 14px 16px; font-size: .86rem; font-weight: 600; color: var(--mute-night); white-space: nowrap; }
.stock-sheet thead th a { color: inherit; text-decoration: none; }
.stock-sheet thead th a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.stock-sheet th:first-child { text-align: left; position: sticky; left: 0; background: var(--night); z-index: 1; }
.stock-sheet tbody th a, .stock-sheet tfoot th a { font-size: 1.08rem; font-weight: 700; font-stretch: 90%; white-space: nowrap; }
.stock-sheet tbody a, .stock-sheet tfoot a { display: block; padding: 13px 16px; color: var(--paper); text-decoration: none; transition: background .12s, color .12s; }
.stock-sheet td a:hover, .stock-sheet td a:focus-visible { background: var(--signal); color: var(--night); }
.stock-sheet tbody th a:hover, .stock-sheet tfoot th a:hover { color: var(--signal); }
.stock-sheet tbody tr:hover > * { background-color: rgba(255,255,255,.045); }
.stock-sheet .nil { display: block; padding: 13px 16px; color: #6C739C; }
.stock-sheet .total { width: 30%; min-width: 210px; text-align: left; }
.stock-sheet thead .total { padding-left: 28px; }
.stock-sheet .total a { display: grid; grid-template-columns: 3.4ch minmax(0, 1fr); gap: 14px; align-items: center; padding-left: 28px; font-weight: 700; }
.stock-sheet .total a::after { content: ""; height: 8px; width: var(--share, 0%); min-width: 3px; border-radius: 4px; background: var(--signal); }
.stock-sheet .total a:hover::after { background: var(--night); }
.stock-sheet tfoot th, .stock-sheet tfoot td { border-bottom: 0; border-top: 1px solid rgba(255,255,255,.5); font-weight: 700; }
.stock-sheet tfoot a { font-weight: 700; }
.stock-sheet tfoot .total a::after { display: none; }

/* ---------- services ---------- */
.services { padding-block: var(--section); background: var(--mist); }
.services .h2 { max-width: 15em; }
.svc-cards { list-style: none; padding: 0; margin: clamp(36px, 4.4vw, 64px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 2.6vw, 40px); }
.svc-card { position: relative; display: flex; flex-direction: column; }
.svc-card .pane { aspect-ratio: 4 / 3; margin-bottom: 24px; box-shadow: var(--shadow-pane); }
.svc-card .pane img { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.svc-card:hover .pane img { transform: scale(1.03); }
.svc-card .pos-tech { object-position: 88% 30%; }
.svc-card .h3 a { text-decoration: none; }
.svc-card .h3 a::after { content: ""; position: absolute; inset: 0; }
.svc-card:hover .h3 a { color: var(--signal-ink); }
.svc-card .for { margin-top: 8px; font-size: .92rem; font-weight: 650; color: var(--signal-ink); }
.svc-card .d { margin-top: 12px; color: var(--mute); }

/* ---------- from cracked to back in service: four stops on one line ---------- */
.route { padding-block: var(--section); }
.stops { list-style: none; padding: 0; margin: clamp(40px, 5vw, 72px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 2.6vw, 40px); position: relative; counter-reset: stop; }
.stops::before { content: ""; position: absolute; left: 22px; right: 12%; top: 21px; height: 4px; background: var(--signal); border-radius: 2px; }
.stop { position: relative; counter-increment: stop; padding-top: 72px; }
.stop::before { content: counter(stop); position: absolute; left: 0; top: 0; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); border: 4px solid var(--ink); font-size: 1.05rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.stop:last-child::before { background: var(--ink); color: var(--paper); border-color: var(--signal); }
.stop h3 { font-size: 1.32rem; font-weight: 720; font-stretch: 86%; line-height: 1.15; }
.stop p { color: var(--mute); margin-top: 8px; font-size: 1rem; max-width: 30ch; }
.stops.stops-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* ---------- credentials ---------- */
.creds { background: var(--float); padding-block: var(--section); }
.creds-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.creds .lede { color: #3A4563; margin-top: 22px; }
.cred-list { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.cred-list li { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 20px; padding-block: 20px; border-bottom: 1px solid rgba(31,34,84,.2); align-items: baseline; }
.cred-code { font-size: 1.5rem; font-weight: 800; font-stretch: 68%; line-height: 1; }
.cred-list p { font-size: 1rem; color: #3A4563; }

/* ---------- a customer's words ---------- */
.voices { padding-block: var(--section); }
.voices-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.voices-photo { aspect-ratio: 5 / 4; box-shadow: var(--shadow-pane); }
.voices-photo img { object-position: 64% 50%; }
blockquote p { font-size: clamp(1.35rem, 2.3vw, 2.05rem); font-weight: 500; font-stretch: 92%; line-height: 1.28; letter-spacing: -.004em; text-wrap: pretty; }
blockquote p::before { content: "\201C"; }
blockquote p::after { content: "\201D"; }
blockquote footer { margin-top: 26px; display: flex; gap: 14px; align-items: baseline; font-size: 1rem; }
blockquote footer::before { content: ""; width: 34px; height: 3px; background: var(--signal); align-self: center; }
blockquote footer b { font-weight: 700; }
blockquote footer span { color: var(--mute); }

/* ---------- branches ---------- */
.branches { background: var(--mist); padding-block: var(--section); }
.branch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); margin-top: clamp(32px, 4vw, 56px); }
.branch { background: var(--paper); border-radius: var(--r-pane); padding: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px clamp(20px, 3vw, 40px); align-content: start; }
.branch .code { grid-column: 1; grid-row: 1 / span 6; font-size: clamp(3.4rem, 6.4vw, 6rem); font-weight: 800; font-stretch: 62%; line-height: .84; color: var(--ink); }
.branch > :not(.code) { grid-column: 2; }
.branch h3, .branch h2.svc-h { font-size: 1.45rem; font-weight: 720; font-stretch: 86%; line-height: 1.15; }
.branch address { font-style: normal; color: var(--mute); }
.branch .phone { font-size: 1.5rem; font-weight: 800; font-stretch: 72%; font-variant-numeric: tabular-nums; text-decoration: none; margin-top: 6px; justify-self: start; }
.branch .phone:hover { color: var(--signal-ink); }
.branch .meta { font-size: .94rem; color: var(--mute); }
.branch .meta.links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 8px; }
.branch .meta a { color: var(--signal-ink); font-weight: 650; text-underline-offset: 4px; }
.partner-line { margin-top: 28px; color: var(--mute); max-width: 70ch; }
.partner-line a { color: var(--signal-ink); font-weight: 650; }

/* ---------- quote band ---------- */
.quote { position: relative; }
.quote-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 96px); padding-block: var(--section); align-items: end; }
.quote .lede { margin-top: 20px; }
.direct { display: grid; border-top: 2px solid var(--paper); }
.direct div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 15px; border-bottom: 1px solid var(--line-night); }
.direct span { font-size: .92rem; color: var(--mute-night); }
.direct a { font-size: 1.32rem; font-weight: 800; font-stretch: 74%; text-decoration: none; font-variant-numeric: tabular-nums; }
.direct a:hover { color: var(--signal); }
.direct .em a { color: var(--amber); }

/* ---------- footer ---------- */
.site-footer { background: #0A0C2B; color: #C3C9E0; padding-block: 72px 36px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.4fr)); gap: 40px; }
.foot-logo { height: 46px; width: auto; filter: brightness(0) invert(1); }
.foot-grid .foot-h { font-size: .9rem; font-weight: 700; color: var(--paper); margin: 0 0 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.foot-about p { margin-top: 18px; max-width: 38ch; }
.foot-branches li { display: grid; gap: 2px; }
.foot-branches b { color: var(--paper); font-weight: 650; }
.foot-branches span { font-size: .9rem; }
.foot-em { margin-top: 12px; }
.foot-em a { color: var(--amber); font-weight: 700; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .86rem; color: #8D95B5; }
.foot-base a { text-decoration: none; color: inherit; }

/* ---------- phone action bar ---------- */
.actionbar { display: none; }

/* ---------- today: what "in stock" lets a buyer do the same day, beside the racks themselves ---------- */
.today { padding-block: var(--section); }
.today-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.today-list { list-style: none; padding: 0; margin: clamp(26px, 3vw, 40px) 0 0; border-top: 2px solid var(--paper); }
.today-list li { display: grid; grid-template-columns: minmax(0, 10.5em) minmax(0, 1fr); gap: 6px 24px; align-items: baseline; padding-block: 18px; border-bottom: 1px solid var(--line-night); }
.today-list h3 { font-size: clamp(1.45rem, 2.1vw, 1.9rem); font-weight: 800; font-stretch: 68%; line-height: 1; }
.today-list p { color: #DCE1F3; }
.today .actions { margin-top: clamp(26px, 3vw, 40px); }
.today-photo { aspect-ratio: 4 / 3; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.today-photo img { object-position: 62% 50%; }

/* ---------- breadcrumbs, small labels ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--mute); }
.crumbs a { color: var(--signal-ink); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }
.on-night .crumbs a { color: var(--signal); }
.label { display: block; font-size: .875rem; font-weight: 650; color: var(--mute); }
.on-night .label { color: var(--mute-night); }

/* ---------- glass in stock (spec 4A): the head ---------- */
.stock-head { padding-block: clamp(32px, 4.2vw, 60px) clamp(28px, 3.4vw, 46px); }
.stock-head-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px clamp(32px, 6vw, 96px); align-items: end; }
.stock-head .crumbs { margin-bottom: 12px; }
.stock-head .h2 { font-size: clamp(2.2rem, 4.5vw, 4rem); }
.stock-head .lede { margin-top: 16px; }
.stock-head .hero-alt { text-shadow: none; }
.stock-head-figures .figures, .page-figures .figures { display: grid; border-top: 2px solid var(--paper); }
.stock-head-figures .figure, .page-figures .figure { padding: 12px 0; border-bottom: 1px solid var(--line-night); }
.stock-head-figures .figure + .figure, .page-figures .figure + .figure { padding-left: 0; border-left: 0; }
.stock-head-figures .figure b, .page-figures .figure b { min-width: 2.6ch; }
.stock-head-figures .figures-note, .page-figures .figures-note { margin-top: 14px; }

/* ---------- glass in stock: filters and the list ---------- */
.stock-browse { padding-block: clamp(26px, 3.4vw, 44px) var(--section); background: var(--mist); }
.stock-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(22px, 3vw, 44px); align-items: start; }
.stock-filters { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; background: var(--paper); border-radius: 14px; padding: 22px; box-shadow: 0 0 0 1px var(--line), 0 20px 40px -32px rgba(16,18,58,.4); }
.stock-filters .check input { margin-top: 1px; }
.more-filters > summary { font-size: .95rem; font-weight: 650; cursor: pointer; color: var(--signal-ink); }
.more-filters > .field, .more-filters > .check { margin-top: 14px; }
.type-links { display: grid; border-top: 1px solid var(--line); padding-top: 14px; }
.type-links .label { margin-bottom: 6px; }
.type-links a { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; text-decoration: none; padding: 8px 10px; margin-inline: -10px; border-radius: 6px; font-weight: 600; }
.type-links a small { font-size: .86rem; font-weight: 500; color: var(--mute); font-variant-numeric: tabular-nums; }
.type-links a:hover { background: var(--mist); }
.type-links a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.type-links a[aria-current="page"] small { color: #C7CDE4; }
.filters-note { font-size: .9rem; color: var(--mute); }
.filters-note a { color: var(--signal-ink); font-weight: 600; }
.results-count { font-size: 1rem; color: var(--mute); margin-bottom: 14px; }
.results-count b { color: var(--ink); font-variant-numeric: tabular-nums; }
.vehicle-link { margin-bottom: 14px; }
.by-model { margin-bottom: 18px; }
.htmx-request .stock-results, .stock-results.htmx-swapping { opacity: .55; transition: opacity .2s; }

/* one line per part number: the drawing, what it is, its number, where it is, the button */
.stock-cards { list-style: none; margin: 0; padding: 0; background: var(--paper); border-radius: 14px; box-shadow: 0 0 0 1px var(--line), 0 20px 40px -32px rgba(16,18,58,.4); }
.stock-card { position: relative; display: grid; grid-template-columns: 62px minmax(0, 1fr) minmax(190px, auto) minmax(128px, auto); gap: 4px 20px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line); transition: background .12s; }
.stock-card:first-child { border-top: 0; border-radius: 14px 14px 0 0; }
.stock-card:last-child { border-radius: 0 0 14px 14px; }
.stock-card:hover { background: var(--float-2); }
.stock-card, .res, .readout, .sc-sides li { scroll-margin-top: calc(var(--header-h) + 20px); }
.sc-media { display: grid; place-items: center; width: 62px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; align-self: start; }
.sc-media img { width: 100%; height: 100%; object-fit: cover; }
.sc-body { min-width: 0; }
.sc-title { font-size: 1.06rem; font-weight: 700; font-stretch: 92%; line-height: 1.25; }
.sc-title a { text-decoration: none; }
.sc-title a::after { content: ""; position: absolute; inset: 0; }
.stock-card:hover .sc-title a { color: var(--signal-ink); }
.sc-meta { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 3px; font-size: .88rem; color: var(--mute); }
.sc-type { font-weight: 600; color: var(--signal-ink); }
.sc-line { display: grid; gap: 3px; justify-items: start; }
.sc-part { font-size: .92rem; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sc-add { position: relative; z-index: 1; justify-self: end; }
.sc-add form, .sc-sides form { margin: 0; }
.stock-card.sc-pair { grid-template-columns: 62px minmax(0, 1fr) auto; align-items: start; }
.sc-pair .sc-add { grid-column: 3; grid-row: 1; align-self: center; }
.sc-sides { grid-column: 2 / -1; list-style: none; margin: 8px 0 0; padding: 0; display: grid; }
.sc-sides li { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(150px, 1fr) 104px minmax(190px, 1.3fr) minmax(76px, auto); gap: 4px 16px; align-items: center; padding: 9px 0; border-top: 1px dashed var(--line); }
.sc-side { text-decoration: none; }
.sc-side b { font-weight: 650; }
.sc-side:hover b { color: var(--signal-ink); text-decoration: underline; text-underline-offset: 4px; }
.sc-sides form, .sc-sides .btn, .sc-sides .added { justify-self: end; margin: 0; }
.pager { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 28px; font-size: .95rem; color: var(--mute); }
.suggestion { font-size: .98rem; margin-top: 8px; }
.suggestion a { color: var(--signal-ink); font-weight: 650; }

/* ---------- one part ---------- */
.part { padding-block: 26px var(--section); }
.part-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); margin-top: 22px; align-items: start; }
.part-media { position: sticky; top: calc(var(--header-h) + 24px); display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--float-2); border-radius: var(--r-pane); overflow: hidden; }
.part-media img { width: 100%; height: 100%; object-fit: contain; }
.part-media.no-photo { background: radial-gradient(120% 90% at 30% 20%, #FFFFFF 0%, var(--float-2) 45%, var(--float) 100%); padding: 6% 12% 13%; }
.part-media .glyph { width: 100%; max-width: 440px; filter: drop-shadow(0 22px 26px rgba(16,18,58,.2)); }
.part-media figcaption { position: absolute; left: 20px; right: 20px; bottom: 16px; font-size: .88rem; color: var(--mute); text-align: center; }
.glyph-driver .g-half-driver, .glyph-passenger .g-half-passenger { fill: var(--signal); }
.glyph-driver .g-half-passenger, .glyph-passenger .g-half-driver { fill: #E2ECF0; }
.part-info .h2 { font-size: clamp(2rem, 3.7vw, 3.3rem); }
.part-number { margin-top: 12px; font-size: 1.08rem; font-weight: 650; color: var(--mute); font-variant-numeric: tabular-nums; }
.part-status { margin-top: 18px; padding: 16px 18px; border-radius: 12px; background: var(--float-2); display: grid; gap: 4px; }
.stock-big { font-size: 1.12rem; }
.today-line, .lead-time { font-size: .98rem; color: #3A4563; }
.part-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.part-actions form { margin: 0; }
.wa-line { margin-top: 14px; font-size: .98rem; }
.wa-line a { color: var(--signal-ink); font-weight: 650; text-underline-offset: 4px; }
.other-side { margin-top: 24px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; }
.other-side > p { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; margin-top: 6px; }
.other-side > p a { text-underline-offset: 4px; }
.other-side-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.other-side-actions form, .other-side-actions .added { margin: 0; }
.part-facts { margin: 28px 0 0; border-top: 2px solid var(--ink); }
.part-facts div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding-block: 13px; border-bottom: 1px solid var(--line); }
.part-facts dt { font-size: .92rem; font-weight: 600; color: var(--mute); }
.part-facts dd { font-weight: 650; font-variant-numeric: tabular-nums; }
.part-facts dd a { color: var(--signal-ink); text-underline-offset: 4px; }
.part-makes { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.part-fits { margin-top: 36px; }
.part-fits > p { color: var(--mute); margin-top: 10px; max-width: 56ch; }
.part-fits ul { list-style: none; padding: 0; margin: 12px 0 0; border-top: 1px solid var(--line); }
.part-fits li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.part-fits li span { font-size: .88rem; color: var(--mute); }
.part-fits .part-fits-label { margin-top: 22px; color: var(--mute); }
.part-fits-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.vehicle-links a { font-weight: 650; color: var(--ink); text-underline-offset: 4px; }
.vehicle-links li span { color: #8A5A00; font-weight: 600; }
.fit-panel { margin-top: 32px; padding: 22px 24px; border-radius: 14px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.fit-panel p { color: #C7CDE4; margin-top: 6px; max-width: 40ch; }
.matching { margin-top: clamp(48px, 6vw, 80px); }
.matching .stock-cards { margin-top: 18px; }

/* ---------- finder ---------- */
.finder { padding-block: var(--section); }
main > .finder:first-child { padding-top: clamp(36px, 4.6vw, 64px); }
.finder .crumbs { margin-bottom: 14px; }
.finder-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 18px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(26px, 3.6vw, 48px); }
.finder-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); background: var(--paper); border-radius: var(--r-pane); overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 40px 70px -44px rgba(16,18,58,.5); }
.picker-bar { grid-column: 1 / -1; padding: 20px 28px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; background: var(--mist); }
.picker-bar .field-row { max-width: 720px; }
.not-listed { margin: 0; }
.sheet { position: relative; padding: 24px 28px 22px; border-right: 1px solid var(--line); min-width: 0; background: linear-gradient(180deg, var(--float-2), #FAFCFC); }
.sheet-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px 12px; flex-wrap: wrap; margin-bottom: 12px; }
.view-label { font-size: .86rem; font-weight: 600; color: var(--mute); }
.side-toggle { display: inline-flex; padding: 3px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; }
.side-toggle a { font-size: .86rem; font-weight: 650; padding: 8px 14px; border-radius: 999px; color: var(--mute); text-decoration: none; }
.side-toggle a:hover { color: var(--ink); }
.side-toggle a[aria-current="true"] { background: var(--ink); color: var(--paper); }
.elev { width: 100%; height: auto; display: block; overflow: visible; }
.elev-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 18px; }
.elev-cell { min-width: 0; }
.elev .body { fill: var(--paper); stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: round; }
.elev .detail { fill: none; stroke: var(--ink); stroke-width: 1.2; opacity: .35; }
.elev .stripe { fill: var(--signal); }
.elev .tyre { fill: var(--ink); }
.elev .hub { fill: var(--float); stroke: var(--ink); stroke-width: 1.2; }
.elev .arch { fill: var(--float-2); stroke: var(--ink); stroke-width: 1.6; }
.elev .lamp { fill: var(--float); stroke: var(--ink); stroke-width: 1.2; }
.elev .mirror { fill: var(--paper); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.elev .wiper { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; opacity: .8; pointer-events: none; }
.elev .plate { fill: var(--paper); stroke: var(--ink); stroke-width: 1.2; }
.elev .ground { stroke: #B9C5CC; stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; fill: none; }
.elev .fixed { fill: #D3E7EE; stroke: var(--ink); stroke-width: 1.4; opacity: .8; }
.elev .dim { font: 600 10px var(--f); fill: var(--mute); }
.pane { fill: #CDE6F0; stroke: var(--ink); stroke-width: 1.8; cursor: pointer; transition: fill .16s; }
.pane:hover { fill: #86D3F3; }
.pane.is-on { fill: var(--signal); }
.pane.is-empty { fill: var(--paper); stroke-dasharray: 5 4; }
.pane.is-empty:hover { fill: #E4E9F0; }
.pane.is-empty.is-on { fill: #B9C2D6; }
.pane:focus-visible { outline: none; stroke: var(--signal); stroke-width: 4; }
.elev a { outline: none; }
.elev a:focus-visible .pane { stroke: #0085B8; stroke-width: 4.5; }
.glint { pointer-events: none; fill: none; stroke: var(--paper); stroke-width: 3; stroke-linecap: round; opacity: .75; }
.half-labels { display: flex; margin: 6px 16% 0; gap: 6px; }
.half-labels span { flex: 1; text-align: center; font-size: .76rem; font-weight: 600; line-height: 1.3; color: var(--mute); }
.sheet-foot { display: flex; justify-content: space-between; gap: 8px 12px; margin-top: 18px; font-size: .82rem; color: var(--mute); flex-wrap: wrap; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.legend i { display: inline-block; width: 16px; height: 11px; border: 1.5px solid var(--ink); border-radius: 3px; vertical-align: -1px; margin-right: 6px; }
.legend .l-on { background: var(--signal); }
.legend .l-off { background: #CDE6F0; }
.legend .l-empty { background: var(--paper); border-style: dashed; }
.controls { padding: 24px 28px 26px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (min-width: 1081px) {
  .finder-body > .controls { height: 0; min-height: 100%; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
}
.readout { padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.readout .v { font-size: clamp(1.5rem, 2.2vw, 1.9rem); font-weight: 800; font-stretch: 70%; line-height: 1.08; margin-top: 2px; }
.readout .hint { font-size: .92rem; color: var(--mute); margin-top: 8px; }
.readout .hint a, .results-note a { color: var(--signal-ink); font-weight: 600; text-underline-offset: 3px; }
.results { list-style: none; margin: -16px 0 0; padding: 0; display: grid; }
.res { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.res-title { font-weight: 700; font-size: 1rem; line-height: 1.3; }
.res-title a { text-decoration: none; }
.res-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.res-spec { font-size: .88rem; color: var(--mute); }
.res-spec .sc-part { color: var(--ink); font-size: inherit; }
.res > form, .res > .btn, .res > .added { grid-row: 1 / span 3; grid-column: 2; }
.res > form { margin: 0; }
.res-missing { background: var(--float-2); border: 1px dashed #B4C0C8; border-radius: 10px; padding: 14px 16px; margin-top: 12px; }
.res-empty { grid-template-columns: 1fr; background: var(--float-2); border: 0; border-radius: 12px; padding: 22px 24px; gap: 6px; }
.res-empty .res-title { font-size: 1.12rem; }
.res-empty .page-actions { margin-top: 14px; }
.res-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.results-sub { font-size: .92rem; color: var(--mute); border-left: 3px solid var(--signal); padding: 2px 0 2px 12px; }
.results-note { font-size: .88rem; color: var(--mute); }
.results-more { margin-top: 2px; }
.fit { font-weight: 600; }
.fit-confirmed { color: var(--go); }
.fit-unresolved { color: #8A5A00; }
a.fit { text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; }
.finder-pick { max-width: 680px; background: var(--paper); border-radius: var(--r-pane); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(16,18,58,.45); }
.finder-pick .form-error { color: var(--stop); background: #FDECEA; padding: 10px 12px; border-left: 3px solid var(--stop); font-size: .92rem; }
.browse-vehicles { margin-top: clamp(44px, 5vw, 64px); border-top: 1px solid var(--line); padding-top: 32px; }
.browse-vehicles .bv-make { margin-top: 20px; }
.browse-vehicles h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.browse-vehicles h3 span { font-size: .86rem; font-weight: 500; color: var(--mute); margin-left: 8px; }
.browse-vehicles ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.browse-vehicles a { color: var(--signal-ink); font-weight: 550; text-underline-offset: 3px; }
.browse-vehicles .bv-other { margin-top: 36px; }
.browse-vehicles .results-note { margin-top: 12px; }

/* ---------- request a quote ---------- */
.quote.quote-page { background: var(--mist); color: var(--ink); }
.quote-page .quote-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "intro form" "direct form"; grid-template-rows: auto 1fr; align-items: start; padding-block: clamp(34px, 5vw, 72px) var(--section); }
.quote-page .quote-intro { grid-area: intro; }
.quote-page .qform { grid-area: form; }
.quote-page .direct { grid-area: direct; border-top-color: var(--ink); }
.quote-page .h2 { font-size: clamp(2.1rem, 4vw, 3.6rem); }
.quote-page .lede { color: var(--mute); margin-top: 18px; }
.quote-page .direct div { border-bottom-color: var(--line); }
.quote-page .direct span { color: var(--mute); }
.quote-page .direct a { color: var(--ink); }
.quote-page .direct .em span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); margin-right: 8px; }
.reply-promise { margin-top: 14px; font-size: .94rem; font-weight: 600; color: var(--signal-ink); }
.quote-lines { list-style: none; padding: 0; margin: 26px 0 0; display: grid; background: var(--paper); border-radius: 12px; box-shadow: 0 0 0 1px var(--line); }
.quote-lines li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-top: 1px solid var(--line); }
.quote-lines li:first-child { border-top: 0; }
.quote-lines form { margin: 0; }
.ql-text { display: grid; gap: 2px; min-width: 0; flex: 1; }
.ql-text small { color: var(--mute); font-size: .86rem; }
.ql-qty input { width: 68px; min-height: 42px; padding: 8px; text-align: center; font-weight: 650; }
.link-btn { background: none; border: 0; color: var(--signal-ink); font: 600 14.5px var(--f); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 6px 2px; }
.add-many { margin-top: 26px; padding: 18px; border: 1px dashed #A9B6C0; border-radius: 12px; display: grid; gap: 8px; }
.add-many label { font-size: .95rem; font-weight: 650; }
.add-many .hint { font-size: .9rem; color: var(--mute); }
.add-many textarea { min-height: 84px; font-variant-numeric: tabular-nums; }
.add-many .btn { justify-self: start; }
.qform { background: var(--paper); color: var(--ink); padding: clamp(22px, 3vw, 40px); border-radius: var(--r-pane); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-content: start; box-shadow: 0 0 0 1px var(--line), var(--shadow-pane); }
.qform .full { grid-column: 1 / -1; }
.qform > div > label, .claim-fields label { display: block; font-size: .875rem; font-weight: 600; color: var(--mute); margin-bottom: 6px; }
.qform .fine { font-size: .88rem; color: var(--mute); }
.qform .fine a { color: var(--signal-ink); }
.need { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.need legend { font-size: .875rem; font-weight: 600; color: var(--mute); margin-bottom: 8px; padding: 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border: 1px solid #B4C0C8; border-radius: 999px; font-size: .98rem; cursor: pointer; transition: background .14s, border-color .14s, color .14s; }
.pill:hover { border-color: var(--ink); }
.pill:has(input:checked) { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.pill input { accent-color: var(--signal); margin: 0; }
.drop { position: relative; border: 1.5px dashed #9FB0B8; border-radius: 12px; padding: 18px; display: flex; gap: 14px; align-items: center; background: var(--float-2); cursor: pointer; scroll-margin-top: calc(var(--header-h) + 20px); }
.drop:hover { border-color: var(--ink); }
.drop:focus-within { outline: 3px solid var(--signal); outline-offset: 2px; }
.drop svg { width: 30px; height: 30px; flex: none; color: var(--signal-ink); }
.drop b { display: block; }
.drop small { color: var(--mute); font-size: .88rem; }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.drop-files { font-size: .92rem; color: var(--mute); margin-top: -8px; }
.drop-files:empty { display: none; }
.drop-files.is-error { color: var(--stop); font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.claim-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qform:not(:has(#id_is_insurance_claim:checked)) .claim-fields { display: none; }
.qform:has(.claim-fields .field-error) .claim-fields { display: grid; }
.qform .field-error, .qform .form-error { color: var(--stop); font-size: .92rem; margin-top: 6px; }
.qform .form-error { grid-column: 1 / -1; background: #FDECEA; padding: 12px 14px; border-left: 3px solid var(--stop); border-radius: 0 var(--r-ctl) var(--r-ctl) 0; margin-top: 0; }
.qform .form-error ul { margin: 6px 0 0; padding-left: 18px; }
.qform .form-error a { color: var(--stop); }
.qform [aria-invalid="true"] { border-color: var(--stop); }
.form-ok { grid-column: 1 / -1; background: var(--float); border-left: 3px solid var(--go); padding: 12px 14px; font-size: .98rem; }
.btn-send { min-width: 220px; min-height: 54px; font-size: 17px; }
.qform[role="note"] { display: block; }
.region-gate-notice h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; font-stretch: 70%; line-height: 1.05; }
.region-gate-notice p { margin-top: 14px; color: var(--mute); max-width: 60ch; }
.region-gate-notice a { color: var(--signal-ink); font-weight: 650; }
.quote-page > .wrap[role="note"] { padding-block: var(--section); }

/* ---------- content pages: a statement on night, a photograph, then the facts ---------- */
.page-band { position: relative; padding-block: clamp(38px, 5.2vw, 80px) clamp(42px, 6vw, 88px); }
.page-band-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 32px clamp(32px, 6vw, 96px); align-items: center; }
.page-band .h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); }
.page-band .lede { margin-top: 18px; }
.page-search { margin-top: 26px; max-width: 560px; }
.page-figures { margin-top: 28px; max-width: 520px; }
.page-band.has-photo { padding-bottom: 0; }
.page-band.has-photo .page-band-copy { padding-bottom: clamp(42px, 6vw, 88px); }
.page-band.has-photo { --overlap: clamp(36px, 5.6vw, 84px); }
.page-band.has-photo .route-aside { align-self: stretch; display: flex; align-items: flex-end; }
.page-photo { width: 100%; height: calc(100% + var(--overlap)); min-height: clamp(300px, 30vw, 440px); max-height: 640px; margin-bottom: calc(-1 * var(--overlap)); box-shadow: var(--shadow-pane); }
.page-band.has-photo + .page-body, .page-band.has-photo + .branches { padding-top: calc(var(--section) * .55 + clamp(36px, 5.6vw, 84px)); }
.facts-card { background: var(--night-2); border: 1px solid var(--line-night); border-radius: var(--r-pane); padding: 22px 26px; display: grid; }
.facts-card .label { color: var(--signal); margin-bottom: 4px; }
.facts-card .who { font-size: 1.4rem; font-weight: 800; font-stretch: 72%; }
.facts-card p { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding-block: 12px; border-bottom: 1px solid var(--line-night); }
.facts-card p:last-child { border-bottom: 0; padding-bottom: 0; }
.facts-card p span { font-size: .9rem; color: var(--mute-night); }
.facts-card a { color: var(--paper); font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
.facts-card a:hover { color: var(--signal); }
.facts-card .em a { color: var(--amber); }
.facts-list { list-style: none; margin: 0; }
.facts-list li { font-size: 1.4rem; font-weight: 800; font-stretch: 72%; padding-block: 11px; border-bottom: 1px solid var(--line-night); }
.facts-list li:last-child { border-bottom: 0; }
.page-body { padding-block: var(--section); }
.page-legal, .page-sent { padding-top: clamp(40px, 5vw, 72px); }
.page-plain-head { max-width: 860px; }
.page-plain-head .lede { margin-top: 18px; }
.page-plain-head .lede a { color: var(--signal-ink); font-weight: 600; }
.page-plain-head .hero-search { margin-top: 26px; max-width: 620px; }
.page-plain-head .page-actions { margin-top: 28px; }
.svc-list { list-style: none; padding: 0; margin: 0; }
.route-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 80px); }
.svc.svc-plain { padding-block: 30px; border-top: 1px solid var(--line); min-width: 0; }
.route-sections .svc-plain.is-wide { grid-column: 1 / -1; }
.page-legal .svc-list { max-width: 860px; margin-top: 40px; }
.svc-plain .d { color: var(--mute); margin-top: 12px; max-width: 62ch; }
.svc-plain .d a { color: var(--signal-ink); font-weight: 600; }
.svc-plain .stops { margin-top: 34px; }
.svc-plain blockquote { margin-top: 18px; max-width: 46em; }
.checklist { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 11px; max-width: 64ch; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .16em; width: 21px; height: 21px; border-radius: 6px; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5 8.5 14 15 6.5' fill='none' stroke='%2300AEEF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
.company-lines { margin: 16px 0 0; display: grid; max-width: 64ch; border-top: 1px solid var(--line); }
.company-lines div { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 12px; padding-block: 10px; border-bottom: 1px solid var(--line); }
.company-lines dt { font-size: .9rem; font-weight: 600; color: var(--mute); }
.branch-lines { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; color: var(--mute); }
.branch-lines b { margin-right: 6px; color: var(--ink); }
.branch-lines a { color: var(--signal-ink); font-weight: 600; }
.section-link { margin-top: 18px; }
.route-module { margin-top: 56px; padding-top: 36px; border-top: 2px solid var(--ink); }
.route-module .stops, .route-module .cred-list { margin-top: 28px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }
.stockroom-plain { padding-top: var(--section); }
.stockroom.stockroom-plain > .wrap { margin-top: 0; }
.stockroom-plain .stockroom-head .h2 { text-shadow: none; }
.by-make { margin-top: 36px; }
.sheet-more { margin-top: 16px; color: var(--mute-night); font-size: .95rem; }
.sent-lines { margin: 18px 0 0; padding-left: 20px; color: var(--mute); }
.page-sent .lede + .lede, .page-sent .sent-lines + .lede { margin-top: 12px; }
.sent-wa { margin-top: 20px; }
.branches-page .branch-grid { margin-top: 0; }

/* ---------- CMS blocks (the shared cms app's partials, in this site's tokens) ---------- */
.cms-body { max-width: 860px; }
.section { margin-top: 40px; }
.section-head h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); font-weight: 800; font-stretch: 70%; line-height: 1.05; }
.section-head h3 { font-size: 1.35rem; font-weight: 720; font-stretch: 84%; line-height: 1.15; }
.section-head p { color: var(--mute); margin-top: 10px; max-width: 60ch; }
.prose { color: var(--mute); max-width: 68ch; margin-top: 14px; }
.prose p + p { margin-top: 12px; }
.prose a { color: var(--signal-ink); }
.section .btn { background: var(--paper); color: var(--ink); border-color: var(--ink); margin-top: 16px; }
.section .btn:hover, .section .btn.pri { background: var(--ink); color: var(--paper); }
.section img { border-radius: var(--r-pane); }
.factors { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 24px; border-top: 2px solid var(--ink); }
.factors > div { padding: 22px 22px 22px 0; border-bottom: 1px solid var(--line); }
.factors h4 { font-size: 1.15rem; font-weight: 720; font-stretch: 88%; line-height: 1.2; margin: 6px 0 0; }
.factors p { color: var(--mute); font-size: 1rem; margin-top: 8px; }
.lbl { font-size: .86rem; font-weight: 650; color: var(--signal-ink); }
.tblock { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-top: 10px; }
.tblock summary { cursor: pointer; }
.kv { display: grid; gap: 8px; margin: 12px 0 0; }
.kv div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.kv dt { font-size: .9rem; font-weight: 600; color: var(--mute); }
.kv dd { margin: 0; font-weight: 650; }
.small { font-size: .88rem; }
.mute { color: var(--mute); }

/* ---------- responsive ---------- */
/* Seven menu items, search and the quote button need about 1,240 px; below that the menu button. */
@media (max-width: 1240px) {
  .nav { display: none; }
  .menu-btn { display: inline-block; }
  .header-cta { margin-left: 0; }
  .header-search { margin-left: auto; }
  .menu-btn { margin-left: 0; order: 9; }
  .nav.open { display: grid; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--paper); padding: 10px var(--gutter) 22px; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(16,18,58,.4); gap: 0; margin: 0; }
  .nav.open a { padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav.open a::after { display: none; }
  .nav.open a[aria-current="page"] { color: var(--signal-ink); }
}
@media (max-width: 1080px) {
  .glass-types { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .glass-types li:nth-child(4) { border-left: 0; }
  .glass-types li:nth-child(n+4) { border-top: 1px solid var(--line-night); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .claim-grid, .stockroom-head, .creds-grid, .voices-grid, .quote-grid, .today-grid { grid-template-columns: minmax(0, 1fr); }
  .stockroom-head, .quote-grid, .claim-grid { align-items: start; }
  .stops { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .stops::before { display: none; }
  .stops.stops-5 { grid-template-columns: 1fr 1fr; }
  .voices-photo { aspect-ratio: 16 / 9; }
  .hero-strip .wrap { justify-content: flex-start; }
}
@media (max-width: 720px) {
  :root { --header-h: 66px; --r-pane: 14px; }
  body { font-size: 16.5px; padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
  .alert-long, .alert-branches { display: none; }
  .alertbar .wrap { min-height: 38px; }
  .site-header .wrap { gap: 10px; }
  .logo img { height: 40px; }
  .header-cta { display: none; }
  .header-search form { position: fixed; left: var(--gutter); right: var(--gutter); top: 118px; width: auto; }
  .disclaimer { font-size: 11.5px; }
  .hero-img { object-position: 50% 30%; }
  .hero-inner { justify-items: start; text-align: left; padding-block: 40px 30px; }
  .hero .kicker { display: block; }
  .hero .kicker::before, .hero .kicker::after { display: none; }
  .hero h1 { font-size: clamp(2.7rem, 12.6vw, 3.6rem); }
  .hero::after { background: linear-gradient(180deg, rgba(12,14,48,.62) 0%, rgba(12,14,48,.46) 46%, rgba(12,14,48,.86) 100%); }
  .search-bar .btn { padding-inline: 16px; }
  .hero-strip .wrap { display: grid; gap: 12px; padding-block: 16px 18px; }
  .figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .figure { display: grid; gap: 4px; padding-right: 10px; align-content: start; }
  .figure + .figure { padding-left: 12px; }
  .figure span { font-size: .78rem; }
  .glass-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glass-types li:nth-child(4) { border-left: 1px solid var(--line-night); }
  .glass-types li:nth-child(odd) { border-left: 0; }
  .glass-types li:nth-child(n+3) { border-top: 1px solid var(--line-night); }
  .glass-types a { padding: 20px 12px 18px; }
  .glass-types .glyph { max-width: 96px; }
  .client-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .svc-cards { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .today-list li { grid-template-columns: minmax(0, 1fr); }
  .stops, .stops.stops-5 { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .stops::before { display: block; left: 21px; right: auto; top: 10px; bottom: 30px; width: 4px; height: auto; }
  .stop { padding: 0 0 30px 68px; min-height: 76px; }
  .stop p { max-width: none; }
  .cred-list li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .branch-grid { grid-template-columns: minmax(0, 1fr); }
  .branch { grid-template-columns: minmax(0, 1fr); }
  .branch .code { grid-row: auto; font-size: 3.6rem; margin-bottom: 8px; }
  .branch > :not(.code) { grid-column: 1; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .actionbar {
    display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--night); padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px)); gap: 8px;
    box-shadow: 0 -10px 30px -12px rgba(5,7,30,.6);
  }
  .actionbar .btn { padding: 12px 6px; font-size: 15px; min-height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse { animation: none; }
  .svc-card .pane img { transition: none; }
  @view-transition { navigation: none; }
}

/* ---------- responsive: the inner pages ---------- */
@media (max-width: 1180px) {
  .today-list li { grid-template-columns: minmax(0, 1fr); }
  .stock-card { grid-template-columns: 62px minmax(0, 1fr) auto; }
  .stock-card .sc-line { grid-column: 2; grid-row: 2; display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; }
  .stock-card .sc-add { grid-column: 3; grid-row: 1 / span 2; }
  .stock-card.sc-pair .sc-add { grid-row: 1; }
  .sc-sides li { grid-template-columns: minmax(0, 1fr) auto; }
  .sc-sides li .sc-side { grid-column: 1; }
  .sc-sides li .sc-part, .sc-sides li .stock { grid-column: 1; }
  .sc-sides li form, .sc-sides li .btn, .sc-sides li .added { grid-column: 2; grid-row: 1 / span 3; }
}
@media (max-width: 1080px) {
  .finder-body { grid-template-columns: minmax(0, 1fr); }
  .sheet { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 960px) {
  .stock-head-grid, .stock-layout, .part-grid, .finder-head, .page-band-grid { grid-template-columns: minmax(0, 1fr); }
  .stock-head.is-search .lede, .stock-head.is-search .stock-head-figures, .stock-head.is-search .hero-alt { display: none; }
  .stock-head.is-search { padding-block: 24px 20px; }
  .stock-filters, .part-media { position: static; }
  .stock-filters { padding: 16px; gap: 12px; }
  .type-links { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
  .type-links .label { display: none; }
  .type-links a { flex: none; white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; margin: 0; }
  .type-links a[aria-current="page"] { border-color: var(--ink); }
  .part-grid { gap: 22px; }
  .part-media { aspect-ratio: 16 / 9; }
  .part-media.no-photo { padding: 4% 26% 11%; }
  .quote-page .quote-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "form" "direct"; grid-template-rows: auto; }
  .route-sections { grid-template-columns: minmax(0, 1fr); }
  .page-photo { height: auto; min-height: 0; max-height: none; aspect-ratio: 16 / 9; }
  .page-band.has-photo .page-band-copy { padding-bottom: 0; }
}
@media (max-width: 720px) {
  .stock-cards, .stock-card:first-child, .stock-card:last-child { border-radius: 12px; }
  .stock-card:first-child { border-radius: 12px 12px 0 0; }
  .stock-card:last-child { border-radius: 0 0 12px 12px; }
  .stock-card, .stock-card.sc-pair { grid-template-columns: 46px minmax(0, 1fr); padding: 14px; gap: 6px 12px; }
  .sc-media { width: 46px; }
  .stock-card .sc-line { grid-column: 2; grid-row: auto; }
  .stock-card .sc-add, .stock-card.sc-pair .sc-add { grid-column: 2; grid-row: auto; justify-self: start; }
  .sc-sides { grid-column: 1 / -1; }
  .part-media.no-photo { padding: 4% 18% 15%; }
  .part-facts div { grid-template-columns: 124px minmax(0, 1fr); }
  .fit-panel .btn { width: 100%; }
  .sheet, .controls { padding: 18px; }
  .picker-bar { padding: 16px 18px; }
  .picker-bar .field-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .elev-row { gap: 12px; }
  .res-title, .res-spec { grid-column: 1 / -1; }
  .res > .stock { grid-column: 1; align-self: center; }
  .res > form, .res > .btn { grid-row: auto; grid-column: 2; }
  .res > .added { grid-row: auto; grid-column: 1 / -1; }
  .res-empty, .res-missing { grid-template-columns: minmax(0, 1fr); }
  .res-missing > .btn { grid-row: auto; grid-column: auto; justify-self: start; }
  .sheet-scroll { overflow-x: visible; }
  .stock-sheet { min-width: 0; }
  .stock-sheet td:not(.total), .stock-sheet thead th:not(:first-child):not(.total) { display: none; }
  .stock-sheet .total { width: 58%; min-width: 0; }
  .stock-sheet tbody a, .stock-sheet tfoot a, .stock-sheet thead th { padding-inline: 4px 8px; }
  .stock-sheet .total a, .stock-sheet thead .total { padding-left: 8px; }
  .qform, .claim-fields { grid-template-columns: minmax(0, 1fr); }
  .company-lines div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .facts-card { padding: 18px 20px; }
  .page-band .h2 { font-size: clamp(2.3rem, 10.5vw, 3.2rem); }
  .btn-send { width: 100%; }
}
