/* Eugene Auto Repair, direction "Bay door" (docs/design.md).
   Light only. Palette sampled from his sign and building. One accent: sign red.
   Plaques are the bay-door signs on his building; ribs are his steel siding. */

@font-face {
  font-family: 'Saira';
  src: url('/assets/fonts/saira.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 50% 125%;
  font-display: swap;
}
@font-face {
  font-family: 'Public Sans';
  src: url('/assets/fonts/public-sans.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
/* Metric-matched fallbacks, so the swap does not shift the layout. */
@font-face { font-family: 'Saira Fallback'; src: local('Arial Narrow'), local('Arial'); size-adjust: 92%; ascent-override: 98%; }
@font-face { font-family: 'Public Sans Fallback'; src: local('Arial'); size-adjust: 101%; ascent-override: 95%; }

:root {
  --red: #cf0001;
  --red-deep: #ab2d30;
  --navy: #0c3151;
  --trim: #191c20;
  --silver: #e0e1e2;
  --steel: #a6a6a1;
  --concrete: #5f615e;
  --paper: #f6f7f8;
  --white: #ffffff;
  --ink: #16202a;
  --muted: #4b5560;
  --rib: repeating-linear-gradient(90deg, rgb(25 28 32 / .045) 0 2px, transparent 2px 26px);
  --display: 'Saira', 'Saira Fallback', 'Arial Narrow', sans-serif;
  --body: 'Public Sans', 'Public Sans Fallback', Arial, sans-serif;
  --gutter: max(1.25rem, 7vw, calc((100% - 1240px) / 2));
  --r: 2px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: .18em; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: var(--r); }
h1, h2, h3 {
  font-family: var(--display);
  font-stretch: 75%;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.005em;
  color: var(--navy);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--trim); color: var(--white); padding: .75rem 1rem; border-radius: var(--r); }
.skip:focus { top: 1rem; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.25rem;
  font: 700 1.02rem/1 var(--display); font-stretch: 85%; letter-spacing: .02em; text-transform: uppercase;
  text-decoration: none; border-radius: var(--r); border: 2px solid transparent;
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-red { background: var(--red); color: var(--white); box-shadow: inset 0 -3px 0 var(--red-deep); }
.btn-red:hover { background: var(--red-deep); color: var(--white); }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: var(--white); }
.btn-white { background: var(--white); color: var(--trim); }
.btn-white:hover { background: var(--silver); color: var(--trim); }
.btn-sm { min-height: 42px; padding: .5rem .9rem; font-size: .95rem; }
.arr { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2.2; transition: transform .25s var(--ease); }
.btn:hover .arr, .link:hover .arr { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 0; }
.link { font-weight: 700; display: inline-flex; align-items: center; gap: .4rem; color: var(--navy); }

/* The bay sign: red plate, white condensed capitals, a darker rule under it. */
.plaque {
  display: inline-block; margin: 0;
  padding: .32em .75em .26em;
  background: var(--red); color: var(--white);
  font: 800 1rem/1 var(--display); font-stretch: 80%;
  letter-spacing: .08em; text-transform: uppercase;
  border-radius: var(--r);
  box-shadow: inset 0 -3px 0 var(--red-deep), 0 0 0 1px rgb(25 28 32 / .25);
}

/* ------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgb(246 247 248 / .94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 3px solid var(--trim);
}
.bar { display: flex; align-items: center; gap: 1.25rem; padding: .6rem var(--gutter); min-height: 68px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; line-height: 1; margin: 0; }
.brand img { width: 112px; height: auto; }
.brand-word { font: italic 800 1.7rem/1 var(--display); font-stretch: 90%; color: var(--navy); letter-spacing: -.01em; }
.brand-plate {
  margin-top: .12rem; padding: .16rem .45rem .12rem;
  background: var(--red); color: var(--white);
  font: 800 .72rem/1 var(--display); font-stretch: 80%; letter-spacing: .14em; text-transform: uppercase;
  border-radius: var(--r); box-shadow: inset 0 -2px 0 var(--red-deep);
}
.site-nav { display: flex; gap: 1.4rem; margin-left: auto; }
.site-nav a {
  font: 700 1rem/1 var(--display); font-stretch: 85%; text-transform: uppercase; letter-spacing: .03em;
  color: var(--ink); text-decoration: none; padding: .5rem 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--red); border-bottom-color: var(--red); }
.nav-toggle { display: none; }

@media (max-width: 1080px) {
  .head-call-label { display: none; }
  .site-nav { gap: 1rem; }
}
@media (max-width: 900px) {
  .bar { gap: .75rem; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: .5rem; margin-left: auto;
    min-height: 44px; padding: .4rem .8rem; background: var(--trim); color: var(--white);
    border: 0; border-radius: var(--r); font: 700 .95rem/1 var(--display); text-transform: uppercase; cursor: pointer;
  }
  .nav-toggle i, .nav-toggle i::before { display: block; width: 16px; height: 2px; background: currentColor; position: relative; }
  .nav-toggle i::before { content: ''; position: absolute; top: 5px; }
  .nav-toggle i { top: -2px; }
  .head-call { order: 2; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; margin: 0;
    background: var(--paper); border-bottom: 3px solid var(--trim);
    padding: .5rem var(--gutter) 1rem;
    display: none;
  }
  .site-nav[data-open="true"] { display: flex; }
  .site-nav a { padding: .9rem 0; border-bottom: 1px solid var(--silver); }
  html:not(.js) .site-nav { display: flex; position: static; }
}
@media (max-width: 420px) {
  .head-call { padding: .5rem .65rem; font-size: .9rem; }
  .brand img { width: 96px; }
}

/* --------------------------------------------------------------- hero */
/* His storefront and sign as the background (operator's pick, 2026-11-04, of three):
   white copy on a dark fade on the left, the sign kept clear on the right, a slow
   push toward the sign on scroll (main.js). One photo, moved whole. */
.hero { position: relative; isolation: isolate; padding: 0; background: #0e1218; }
.hero-stage {
  position: relative; overflow: hidden;
  min-height: clamp(640px, calc(100svh - 104px), 960px);
  padding: clamp(2rem, 4.5vw, 3.75rem) var(--gutter) clamp(5rem, 9vw, 7rem);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #0e1218; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 0% 42%; transform-origin: 66% 30%; }
.js .hero-img { will-change: transform; }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgb(10 14 20 / .92) 0%, rgb(10 14 20 / .78) 32%, rgb(10 14 20 / .2) 58%, rgb(10 14 20 / 0) 70%),
    linear-gradient(0deg, rgb(10 14 20 / .6) 0%, rgb(10 14 20 / 0) 34%);
}
.hero-type { display: grid; grid-template-columns: minmax(0, 40rem); gap: 1.5rem 3rem; align-items: start; }
.hero-h1 { font-size: clamp(2.7rem, 5.6vw, 5.2rem); margin: 0; font-stretch: 72%; line-height: .94; color: var(--white); }
.hero-h1 .ln { display: block; }
.hero-h1 .ln-2 { color: #ff5148; }
.hero-sub { font-size: 1.12rem; color: #e3e6e9; max-width: 36ch; margin: 1.1rem 0 0; }
.hero-more { margin-top: 1.2rem; }
.hero-call { display: flex; flex-wrap: wrap; align-items: stretch; gap: .8rem; }
.hero-call .tow-tag { margin: 0; }
.btn-glass { background: #1d242c; color: var(--white); border-color: rgb(255 255 255 / .75); }
.btn-glass:hover { background: var(--white); color: var(--trim); }

/* Now open: a temporary corner ribbon for the opening months (OPENING_UNTIL in build.mjs;
   main.js also drops it after that date). One burst of plates on the first visit. */
.now-open {
  position: absolute; z-index: 3; top: 0; right: 0; width: 260px; height: 260px; overflow: hidden; pointer-events: none;
}
.now-open-band {
  position: absolute; top: 58px; right: -76px; width: 340px; transform: rotate(45deg);
  display: grid; justify-items: center; gap: .1rem; padding: .55rem 0 .5rem;
  background: var(--red); color: var(--white); text-align: center;
  box-shadow: inset 0 -3px 0 var(--red-deep), 0 10px 24px -10px rgb(0 0 0 / .45);
  border-top: 2px dashed rgb(255 255 255 / .55); border-bottom: 2px dashed rgb(255 255 255 / .55);
}
.now-open-band b { font: 800 1.45rem/1 var(--display); font-stretch: 78%; letter-spacing: .08em; text-transform: uppercase; }
.now-open-band span { font: 700 .78rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.confetti { position: absolute; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 10px; height: 14px; border-radius: 1px; background: var(--red); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .now-open-band { animation: ribbon-in .9s 2s cubic-bezier(.34, 1.56, .64, 1) both; }
  @keyframes ribbon-in { from { transform: translate(120px, -120px) rotate(45deg); } to { transform: rotate(45deg); } }
  .confetti i { animation: fall var(--d, 2.6s) var(--t, 2.1s) cubic-bezier(.25, .6, .4, 1) both; }
  @keyframes fall {
    0% { opacity: 1; transform: translate3d(0, 0, 0) rotate(0); }
    85% { opacity: 1; }
    100% { opacity: 0; transform: translate3d(var(--x, 0), var(--y, 70vh), 0) rotate(var(--r, 540deg)); }
  }
}

/* The shop's number, as loud as the H1. */
.phone-plate {
  position: relative; display: inline-flex; align-items: center; gap: .9rem;
  padding: .8rem 1.5rem .8rem .8rem; max-width: 100%;
  background: var(--red); color: var(--white); text-decoration: none; border-radius: var(--r);
  box-shadow: inset 0 -4px 0 var(--red-deep), 0 18px 34px -14px rgb(207 0 1 / .6);
  transition: background-color .2s, transform .25s var(--ease);
}
.phone-plate:hover { background: var(--red-deep); color: var(--white); transform: translateY(-2px); }
.pp-icon { flex: none; width: 3.1rem; height: 3.1rem; padding: .7rem; background: var(--white); fill: var(--red); border-radius: var(--r); }
.pp-text { display: grid; gap: .3rem; }
.pp-label { font: 700 .82rem/1 var(--display); font-stretch: 85%; letter-spacing: .16em; text-transform: uppercase; }
.pp-num { font: 800 clamp(2.1rem, 3.9vw, 3.3rem)/.95 var(--display); font-stretch: 76%; letter-spacing: .01em; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Diamond Towing, the partner: a black plate with the wrecker on it. */
.tow-tag {
  display: flex; align-items: center; gap: .85rem; margin: .8rem 0 0; max-width: 100%; width: fit-content;
  padding: .6rem 1.1rem .6rem .7rem; background: var(--trim); color: #e6e8ea; border-radius: var(--r);
  box-shadow: inset 0 -3px 0 #000, 0 14px 28px -16px rgb(0 0 0 / .6);
}
.tow-tag-truck { flex: none; width: 74px; overflow: hidden; }
.tow-tag-truck .tow-truck { width: 74px; height: auto; display: block; }
.tow-tag-text { font-size: .98rem; line-height: 1.25; }
.tow-tag-text b { color: var(--white); }
.tow-tag-num { display: block; font: 800 1.7rem/1 var(--display); font-stretch: 80%; color: var(--white); letter-spacing: .02em; margin-top: .2rem; font-variant-numeric: tabular-nums; }

/* The wrecker drawing, for dark grounds. */
.tow-truck .tt-body, .tow-truck .tt-cab { fill: var(--white); }
.tow-truck .tt-glass { fill: #2b3947; }
.tow-truck .tt-light { fill: var(--red); }
.tow-truck .tt-boom, .tow-truck .tt-rail { fill: #9aa0a6; }
.tow-truck .tt-cable, .tow-truck .tt-hook { stroke: #c9ccd0; stroke-width: 2.5; stroke-linecap: round; }
.tow-truck .tt-wheel circle { fill: #0b0d10; stroke: #c9ccd0; stroke-width: 3; }
.tow-truck .tt-wheel .tt-hub { fill: #c9ccd0; stroke: none; }

@media (prefers-reduced-motion: no-preference) {
  .phone-plate { animation: pop .95s .45s cubic-bezier(.34, 1.56, .64, 1) both; }
  .phone-plate .pp-icon { animation: ring 3.6s 1.8s ease-in-out infinite; }
  .phone-plate::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    animation: halo 3.6s 1.8s ease-out infinite;
  }
  .tow-tag { animation: slide-in .8s 1s var(--ease) both; }
  .tow-tag .tow-truck { animation: drive-in 1.3s 1.05s var(--ease) both; }
  .hero-h1 .ln { animation: rise .9s var(--ease) both; }
  .hero-h1 .ln-2 { animation-delay: .12s; }
  @keyframes pop { 0% { opacity: 0; transform: scale(.5) rotate(-4deg); } 100% { opacity: 1; transform: none; } }
  @keyframes ring { 0%, 64%, 100% { transform: rotate(0); } 68% { transform: rotate(-16deg); } 72% { transform: rotate(14deg); } 76% { transform: rotate(-12deg); } 80% { transform: rotate(9deg); } 84% { transform: rotate(-5deg); } 88% { transform: rotate(0); } }
  @keyframes halo { 0%, 60% { box-shadow: 0 0 0 0 rgb(207 0 1 / .55); } 100% { box-shadow: 0 0 0 22px rgb(207 0 1 / 0); } }
  @keyframes slide-in { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
  @keyframes drive-in { from { transform: translateX(-110%); } to { transform: none; } }
  @keyframes rise { from { opacity: 0; transform: translateY(.35em); } to { opacity: 1; transform: none; } }
}

/* The facts plate overlaps the bottom of the scene. */
.facts-wrap { position: relative; z-index: 2; padding: 0 var(--gutter); margin-top: calc(-1 * clamp(3rem, 5.5vw, 4rem)); }

.facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0; background: var(--trim); color: var(--white);
  border-radius: var(--r); box-shadow: 0 24px 40px -24px rgb(0 0 0 / .55);
}
.facts > div { padding: 1.1rem 1.25rem; border-left: 1px solid rgb(255 255 255 / .14); }
.facts > div:first-child { border-left: 0; }
.facts dt { font: 700 .8rem/1 var(--display); font-stretch: 85%; letter-spacing: .1em; text-transform: uppercase; color: #c9ccd0; margin-bottom: .4rem; }
.facts dd { margin: 0; font: 700 1.15rem/1.2 var(--display); font-stretch: 85%; }
.facts a { color: var(--white); }
.facts a:hover { color: #ffb3b3; }
.open-badge { display: inline-flex; align-items: center; gap: .45rem; }
.open-badge[data-state]::before { content: ''; width: .6em; height: .6em; border-radius: 50%; background: #9aa0a6; }
.open-badge[data-state="open"]::before { background: #2fbf5b; }
.open-badge[data-state="closed"]::before { background: #ff6b6b; }

/* --------------------------------------------------------------- sections */
section { padding: clamp(3.5rem, 8vw, 6.5rem) var(--gutter); }
.sec-head { max-width: 46rem; margin-bottom: 2.25rem; }
.sec-head p { color: var(--muted); font-size: 1.1rem; }
.more-link { margin: 2rem 0 0; }

/* The three bays: a plaque over each door; the photo rolls up to show the list. */
.bays { background: var(--white); border-top: 1px solid var(--silver); }
.bay-row { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: clamp(1rem, 2vw, 1.75rem); }
.bay { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; }
.bay-door {
  position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden;
  border: 8px solid var(--trim); border-radius: var(--r);
  background: var(--silver) var(--rib);
}
.bay-inside { position: absolute; inset: 0; padding: 1.4rem 1.25rem; display: flex; flex-direction: column; justify-content: flex-end; }
.bay-inside ul { list-style: none; margin: 0 0 .9rem; padding: 0; }
.bay-inside li { font: 700 1.15rem/1.25 var(--display); font-stretch: 85%; color: var(--navy); padding: .35rem 0 .35rem 1.1rem; position: relative; }
.bay-inside li::before { content: ''; position: absolute; left: 0; top: .78em; width: .5rem; height: .5rem; background: var(--red); border-radius: 1px; }
.bay-inside p { margin: 0; color: var(--muted); font-size: .98rem; }
.bay-photo { position: absolute; inset: 0; transition: transform .75s var(--ease); }
.bay-photo img { width: 100%; height: 100%; object-fit: cover; }
.bay-photo::after { /* door slats */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(180deg, transparent 0 46px, rgb(25 28 32 / .13) 46px 48px);
}
.pos-ram { object-position: 34% 60%; }
.pos-tire-machine { object-position: 42% 50%; }
.pos-ac { object-position: 60% 50%; }
.bay-toggle {
  position: absolute; left: .75rem; bottom: .75rem; z-index: 2;
  min-height: 44px; padding: .5rem .8rem; border: 0; border-radius: var(--r);
  background: var(--trim); color: var(--white); cursor: pointer;
  font: 700 .9rem/1 var(--display); font-stretch: 85%; text-transform: uppercase; letter-spacing: .04em;
}
.bay-toggle::after { content: ' \2191'; }
.bay[data-open="true"] .bay-toggle::after { content: ' \2193'; }
.bay[data-open="true"] .bay-photo { transform: translateY(-62%); }
@media (hover: hover) {
  .bay:hover .bay-photo, .bay:focus-within .bay-photo { transform: translateY(-62%); }
}
html:not(.js) .bay-toggle { display: none; }
html:not(.js) .bay-door { aspect-ratio: auto; }
html:not(.js) .bay-photo { position: relative; aspect-ratio: 4 / 5; }
html:not(.js) .bay-inside { position: relative; }

/* Everything else: a bento with exactly eight cells. */
.more { background: var(--paper) var(--rib); }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(190px, auto); gap: 1rem; }
.cell {
  position: relative; display: flex; align-items: flex-end; overflow: hidden;
  border-radius: var(--r); text-decoration: none; color: var(--ink);
  background: var(--white); border: 1px solid var(--silver);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cell:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgb(12 49 81 / .45); color: var(--ink); }
.cell-body { position: relative; z-index: 2; padding: 1.1rem 1.2rem; display: grid; gap: .3rem; }
.cell-body b { font: 800 1.45rem/1.05 var(--display); font-stretch: 78%; color: var(--navy); }
.cell-body span { color: var(--muted); font-size: .98rem; line-height: 1.45; }
.cell-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cell-photo:hover img { transform: scale(1.04); }
.cell-photo::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 35%, rgb(12 20 30 / .86)); }
.cell-photo .cell-body b, .cell-photo .cell-body span { color: var(--white); }
.cell-diag { grid-column: span 2; grid-row: span 2; }
.cell-engine { grid-column: span 2; }
.cell-oil { grid-row: span 2; }
.cell-align { grid-column: span 2; grid-row: span 2; }
.cell-ribbed { background: var(--silver) var(--rib); }
.cell-red { background: var(--red); border-color: var(--red-deep); }
.cell-red .cell-body b, .cell-red .cell-body span { color: var(--white); }
.cell-navy { background: var(--navy); border-color: var(--navy); }
.cell-navy .cell-body b, .cell-navy .cell-body span { color: var(--white); }

/* Heavy trucks: the one full-bleed band. The inset grows to the edges on scroll. */
.heavy { position: relative; padding: 0; min-height: min(86vh, 760px); display: grid; align-items: end; overflow: hidden; color: var(--white); }
.heavy-media { position: absolute; inset: 0; }
.heavy-media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.heavy::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(12 20 30 / .88) 0%, rgb(12 20 30 / .62) 45%, rgb(12 20 30 / .12) 80%); }
.heavy-type { position: relative; z-index: 2; padding: clamp(3rem, 8vw, 6rem) var(--gutter); max-width: 44rem; }
.heavy-type h2 { color: var(--white); margin-top: .9rem; font-size: clamp(2.3rem, 5vw, 4.2rem); }
.heavy-type p { font-size: 1.12rem; color: #eef0f2; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .heavy-media { animation: grow linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    @keyframes grow { from { clip-path: inset(7% var(--gutter) 7% var(--gutter) round 2px); } to { clip-path: inset(0 0 0 0); } }
  }
}

/* The rate board: plates on a ribbed steel panel. */
.rates { background: var(--white); }
.rate-board {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem;
  padding: clamp(1rem, 2.5vw, 1.75rem); border-radius: var(--r);
  background: var(--silver) var(--rib); border: 6px solid var(--trim);
}
.plate { padding: 1.25rem 1.25rem 1rem; background: var(--white); border-radius: var(--r); box-shadow: 0 1px 0 rgb(25 28 32 / .12); }
.plate .plaque { font-size: 1.05rem; margin-bottom: 1rem; }
.plate dl { margin: 0; }
.plate dl > div { display: flex; align-items: baseline; gap: .5rem; padding: .32rem 0; }
.plate dt { color: var(--ink); }
.plate dl > div::after { content: ''; order: 1; flex: 1; border-bottom: 2px dotted var(--steel); transform: translateY(-.25em); min-width: 1rem; }
.plate dd { order: 2; margin: 0; font: 800 1.2rem/1 var(--display); font-stretch: 85%; color: var(--navy); white-space: nowrap; }
.plate-note { margin: .75rem 0 0; font-size: .92rem; color: var(--muted); }
.rates-tight .rate-board { grid-template-columns: minmax(0, 40rem); }
.rates-page { padding-top: 0; }

/* The crew: a photo in an offset frame, one big sentence, four points. */
.crew { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; background: var(--paper); }
.crew-photo { position: relative; }
.crew-photo::before { content: ''; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; border: 6px solid var(--red); border-radius: var(--r); z-index: 0; }
.crew-photo img { position: relative; z-index: 1; border-radius: var(--r); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.crew-type h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
.crew-points { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; }
.crew-points li { padding-left: 1.4rem; position: relative; color: var(--muted); }
.crew-points li::before { content: ''; position: absolute; left: 0; top: .5em; width: .65rem; height: .65rem; background: var(--red); border-radius: 1px; }
.crew-points b { color: var(--navy); }

/* How it works: four verbs across a black trim band. */
.how { background: var(--trim); color: var(--white); }
.how h2 { color: var(--white); }
.steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.steps li { align-content: start; counter-increment: s; padding: 1.4rem 1.4rem 1.4rem 0; border-top: 3px solid var(--red); display: grid; gap: .5rem; }
.steps li + li { padding-left: 1.4rem; border-left: 1px solid rgb(255 255 255 / .12); }
.steps li::before { content: counter(s); font: 800 .9rem/1 var(--display); color: #ff8f8f; }
.steps b { font: 800 1.55rem/1.05 var(--display); font-stretch: 78%; }
.steps span { color: #cfd3d7; }

/* FAQ */
.faqs { background: var(--white); }
.faq-list { max-width: 52rem; display: grid; gap: .6rem; }
.faq { border: 1px solid var(--silver); border-left: 6px solid var(--red); border-radius: var(--r); background: var(--paper); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.2rem; position: relative; font: 700 1.2rem/1.25 var(--display); font-stretch: 85%; color: var(--navy); min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 1.1rem; top: .8rem; font: 800 1.5rem/1 var(--display); color: var(--red); transition: transform .3s var(--ease); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 1.2rem 1.1rem; margin: 0; color: var(--muted); }

/* Find the shop */
.visit { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; background: var(--paper) var(--rib); }
.visit-photo img { border-radius: var(--r); border: 6px solid var(--trim); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.visit-card { background: var(--white); border-radius: var(--r); padding: clamp(1.25rem, 3vw, 2rem); border-top: 6px solid var(--red); box-shadow: 0 20px 40px -30px rgb(12 49 81 / .5); }
.visit-addr { font: 700 1.35rem/1.2 var(--display); font-stretch: 85%; }
.visit-addr a { color: var(--navy); }
.visit-open { font-weight: 700; color: var(--ink); }
.hours-table { width: 100%; border-collapse: collapse; margin: .5rem 0 0; }
.hours-table th, .hours-table td { text-align: left; padding: .45rem 0; border-bottom: 1px dotted var(--steel); font-weight: 400; }
.hours-table td { text-align: right; font-weight: 700; color: var(--navy); }
.hours-table tr.shut td { color: var(--concrete); font-weight: 400; }
.hours-table tr.today th, .hours-table tr.today td { color: var(--red); font-weight: 800; }
.holidays { margin: .9rem 0 0; font-size: .95rem; color: var(--muted); }
.visit-tight { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 6px solid var(--trim); border-radius: var(--r); display: block; }

/* The request form */
.request { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); background: var(--white); align-items: start; }
.request-type p { color: var(--muted); font-size: 1.1rem; }
.lead-form { display: grid; gap: 1rem; padding: clamp(1.25rem, 3vw, 2rem); background: var(--silver) var(--rib); border-radius: var(--r); border: 6px solid var(--trim); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label { font: 700 1rem/1.2 var(--display); font-stretch: 85%; color: var(--navy); text-transform: uppercase; letter-spacing: .03em; }
.field .opt { text-transform: none; font-family: var(--body); font-weight: 400; color: var(--muted); letter-spacing: 0; font-size: .88rem; }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .8rem;
  font: inherit; color: var(--ink); background: var(--white);
  border: 2px solid var(--steel); border-radius: var(--r);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgb(12 49 81 / .2); }
.field [aria-invalid="true"] { border-color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0; font-size: .92rem; color: var(--muted); }
.lead-form .btn { justify-self: start; }
.form-status { margin: 0; min-height: 1.5em; font-weight: 700; color: var(--navy); }

/* ------------------------------------------------------------ inner pages */
.crumbs { padding: 1rem var(--gutter) 0; font-size: .92rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.page-hero { padding-top: clamp(1.5rem, 4vw, 3rem); padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-stretch: 72%; max-width: 18ch; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 46rem; }
.page-hero-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.page-hero-photo img { border-radius: var(--r); border: 6px solid var(--trim); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.jump a { padding: .5rem .75rem; min-height: 40px; display: inline-flex; align-items: center; border-radius: var(--r); background: var(--white); border: 1px solid var(--silver); text-decoration: none; font: 700 .95rem/1 var(--display); font-stretch: 85%; text-transform: uppercase; color: var(--navy); }
.jump a:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.svc-list { padding: 0 var(--gutter); display: grid; gap: 1.25rem; }
.svc { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center; padding: clamp(1rem, 2.5vw, 1.75rem); background: var(--white); border-radius: var(--r); border-left: 6px solid var(--red); }
.svc:nth-child(even) .svc-photo { order: 2; }
.svc-plain { grid-template-columns: minmax(0, 1fr); background: var(--silver) var(--rib); }
.svc-photo img { border-radius: var(--r); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.svc-body h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.svc-body > p { color: var(--muted); max-width: 40rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.ticks li { padding: .4rem .75rem; background: var(--paper); border: 1px solid var(--silver); border-radius: var(--r); font-weight: 600; font-size: .95rem; }
.svc-plain .ticks li { background: var(--white); }
.request .ticks { margin-top: 1rem; }
.cta-band { background: var(--red); color: var(--white); text-align: left; }
.cta-band h2 { color: var(--white); }
.cta-band p { font-size: 1.15rem; max-width: 40rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.gallery figure { margin: 0; }
.gallery img { border-radius: var(--r); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; border: 4px solid var(--trim); }
.gallery figcaption { margin-top: .5rem; color: var(--muted); font-size: .95rem; }
.prose { max-width: calc(46rem + 2 * var(--gutter)); }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 1.25em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink); }
.prose-top { padding-top: clamp(2rem, 5vw, 3.5rem); }
.prose-top h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.inspect-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.inspect-grid li { padding: 1.5rem 1.25rem; background: var(--silver) var(--rib); border-radius: var(--r); border-top: 6px solid var(--red); display: grid; gap: .35rem; }
.inspect-grid b { font: 800 1.6rem/1 var(--display); font-stretch: 78%; color: var(--navy); }
.inspect-grid span { color: var(--muted); font-size: .95rem; }
.link-list { padding-left: 1.2rem; }
.link-list li { padding: .3rem 0; }

/* ----------------------------------------------------------------- footer */
.site-footer { background: var(--trim); color: #d7dade; padding: 0 0 6rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: #ffb3b3; }
.footer-towns { padding: 1.5rem 0 1.25rem; border-bottom: 1px solid rgb(255 255 255 / .1); }
.footer-towns-h { padding: 0 var(--gutter); margin: 0 0 .75rem; font: 700 .85rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: #9aa0a6; }
.marquee { overflow: hidden; }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 1.5rem; }
.marquee span { font: 800 clamp(1.8rem, 4vw, 3rem)/1 var(--display); font-stretch: 75%; color: var(--white); text-transform: uppercase; white-space: nowrap; }
.marquee i { width: .7rem; height: .7rem; background: var(--red); border-radius: 1px; flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: run 38s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  @keyframes run { to { transform: translateX(-50%); } }
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 2rem; padding: 2.5rem var(--gutter) 1rem; }
.footer-h { font: 700 .85rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: #9aa0a6; margin-bottom: .8rem; }
.footer-phone { font: 800 1.4rem/1 var(--display); font-stretch: 85%; }
.footer-nav { display: grid; gap: .45rem; align-content: start; }
.footer-small, .footer-small-p { font-size: .88rem; color: #9aa0a6; }
.footer-small { padding: 0 var(--gutter); margin: 1rem 0 0; }
.footer-logo { width: 200px; height: auto; margin-bottom: 1rem; }

/* The phone call bar: appears after the hero, on phones only. */
.call-bar { display: none; }
@media (max-width: 760px) {
  .call-bar {
    display: grid; grid-template-columns: 1.6fr 1fr; gap: .5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
    background: var(--trim); transform: translateY(110%); transition: transform .35s var(--ease);
  }
  .call-bar[data-shown="true"] { transform: none; }
  .call-bar a { min-height: 48px; display: flex; align-items: center; justify-content: center; border-radius: var(--r); text-decoration: none; font: 800 1rem/1 var(--display); font-stretch: 85%; text-transform: uppercase; }
  .call-bar-call { background: var(--red); color: var(--white); }
  .call-bar-go { background: var(--white); color: var(--trim); }
}

/* ------------------------------------------------------------- reveals */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal=""] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js [data-reveal=""].is-in { opacity: 1; transform: none; }
  /* Headings rise out of a mask. */
  .js [data-reveal="mask"] { clip-path: inset(0 -5% 100% -5%); transform: translateY(.45em); transition: clip-path .95s var(--ease), transform .95s var(--ease); }
  .js [data-reveal="mask"].is-in { clip-path: inset(-15% -5% -25% -5%); transform: none; }
  /* Photos open bottom-up like his roll-up doors, settling from a slight zoom. */
  .js [data-reveal="door"] { clip-path: inset(100% 0 0 0); transition: clip-path 1.15s cubic-bezier(.75, 0, .2, 1); }
  .js [data-reveal="door"].is-in { clip-path: inset(-3rem); }
  .js [data-reveal="door"] img { transform: scale(1.12); transition: transform 1.8s var(--ease); }
  .js [data-reveal="door"].is-in img { transform: none; }
  /* Dividers draw out from the centre, then the plate drops in; dark bands raise their roof edge. */
  .js .divider:not(.is-in)::before { transform: scaleX(0); }
  .js .divider:not(.is-in) .divider-plate { transform: translateY(-14px) rotate(-8deg) scale(.6); opacity: 0; }
  .js [data-reveal="edge"]:not(.is-in)::before { transform: scaleY(0); }
}

/* ------------------------------------------------------------- dividers */
/* Between two light sections: a black trim line with one of his red bay plates
   bolted at the centre. Into a dark band: the band's top edge is his steel panel
   profile. */
.divider { position: relative; height: 0; z-index: 2; }
.divider::before {
  content: ''; position: absolute; left: var(--gutter); right: var(--gutter); top: -1.5px; height: 3px;
  background: var(--trim); transition: transform 1.1s var(--ease);
}
.divider-plate {
  position: absolute; left: 50%; top: 0; width: 78px; height: 20px; margin: -10px 0 0 -39px;
  background: var(--red); border-radius: var(--r); box-shadow: inset 0 -3px 0 var(--red-deep), 0 0 0 4px var(--paper);
  transition: transform .7s .45s cubic-bezier(.34, 1.56, .64, 1), opacity .3s .45s;
}
.divider-plate::before, .divider-plate::after { content: ''; position: absolute; top: 7px; width: 5px; height: 5px; background: var(--white); border-radius: 1px; }
.divider-plate::before { left: 8px; }
.divider-plate::after { right: 8px; }
.how, .site-footer { position: relative; }
.how::before, .site-footer::before {
  content: ''; position: absolute; left: 0; right: 0; top: -15px; height: 16px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='16' viewBox='0 0 56 16'%3E%3Cpath d='M0 16V9h10l5-9h14l5 9h22v7z' fill='%23191c20'/%3E%3C/svg%3E") repeat-x 0 100% / 56px 16px;
  transform-origin: 50% 100%; transition: transform .8s var(--ease);
}


/* ------------------------------------------------------- tow strip, every page */
.topline { background: var(--trim); color: #d7dade; font-size: .92rem; line-height: 1.2; }
.topline p { margin: 0; padding: .4rem var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: .5rem 1.25rem; flex-wrap: wrap; }
.topline-tow { display: inline-flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.topline-tow .tow-truck { width: 42px; height: auto; flex: none; }
.topline b { color: var(--white); }
.topline-num, .topline a { font: 800 1.12rem/1 var(--display); font-stretch: 82%; letter-spacing: .02em; color: var(--white); text-decoration: none; font-variant-numeric: tabular-nums; }
.topline a:hover { color: #ffb3b3; }
.topline-shop { display: inline-flex; align-items: center; gap: .5rem; }
.topline-hours { color: #9aa0a6; }
.head-call { display: inline-flex; align-items: center; gap: .45rem; font-size: 1.12rem; }
.head-call .pp-icon { width: 1.05rem; height: 1.05rem; padding: 0; background: none; fill: currentColor; }
@media (prefers-reduced-motion: no-preference) {
  .head-call .pp-icon { animation: ring 3.6s 2.4s ease-in-out infinite; }
}

/* ---------------------------------------------------------------- phones */
@media (max-width: 860px) {
  .hero-type, .crew, .visit, .request, .page-hero-split, .visit-tight { grid-template-columns: minmax(0, 1fr); }
  .hero-stage { min-height: max(680px, calc(100svh - 96px)); }
  /* The sign on top, the copy below it on the dark. */
  .hero-stage { padding-top: calc(min(96vw, 560px) - 3rem); justify-content: flex-start; }
  .hero-media { bottom: auto; height: min(96vw, 560px); }
  .hero-img { object-position: 58% 40%; }
  .hero-shade { background: linear-gradient(0deg, #0e1218 0%, rgb(14 18 24 / .7) 22%, rgb(14 18 24 / 0) 50%); }
  /* On a phone the corner would sit on the headline: a straight strip above it instead. */
  .now-open { position: relative; order: -1; width: auto; height: auto; margin: 0 0 1.25rem; overflow: visible; }
  .now-open-band { position: static; width: auto; transform: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: .2rem .6rem; padding: .5rem .75rem; margin: 0; border-radius: var(--r); }
  .now-open-band b { font-size: 1.15rem; }
  .now-open-band span { font-size: .72rem; }
  .now-open-band { animation-name: strip-in; }
  @keyframes strip-in { from { transform: translateY(-12px) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
  .topline-shop { display: none; }
  .topline p { justify-content: center; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div:nth-child(3) { border-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid rgb(255 255 255 / .14); }
  .bay-row { grid-template-columns: minmax(0, 1fr); }
  .bay-door { aspect-ratio: 5 / 4; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell-diag, .cell-engine, .cell-align { grid-column: span 2; grid-row: span 2; }
  .cell-diag { grid-row: span 1; min-height: 280px; }
  .cell-oil, .cell-align { grid-row: span 1; }
  .rate-board { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li, .steps li + li { padding: 1.2rem 0; border-left: 0; }
  .crew-photo::before { inset: .75rem -.75rem -.75rem .75rem; }
  .svc, .svc:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .svc:nth-child(even) .svc-photo { order: 0; }
  .inspect-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 520px) {
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .cell-diag, .cell-engine, .cell-align { grid-column: span 1; }
  .gallery-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-h1 { font-size: clamp(2.4rem, 12vw, 3.4rem); }
  .phone-plate { width: 100%; padding-right: 1rem; }
  .hero-more { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
  .hero-more .btn { flex: none; padding-inline: .6rem; }
  .topline-partner, .topline-tow .tow-truck { display: none; }
  .tow-tag-truck, .tow-tag-truck .tow-truck { width: 60px; }
  .pp-num { font-size: clamp(1.9rem, 9.5vw, 2.5rem); }
  .tow-tag { width: 100%; }
  .actions .btn { flex: 1 1 100%; }
}
