/* West Coast Auto Repair — styles for the public site and the staff service board.
   The palette and type follow the shop's specials flyers: charcoal ground,
   black header bands, a crimson rule, heavy white letter-spaced type. */

:root {
  --asphalt: #3b3b3f;        /* flyer charcoal */
  --asphalt-deep: #313135;
  --black: #141417;          /* flyer header band */
  --black-2: #1e1e22;        /* form wells */
  --red: #c8102e;            /* flyer rule + buttons */
  --red-deep: #a10020;       /* flyer "What you get" box */
  --red-bright: #ec2a45;     /* red type on black */
  --red-text: #ff6b7a;       /* error text on dark grounds */
  --chalk: #f5f5f3;
  --chalk-soft: #d9d9dc;
  --steel: #aeb0b6;
  --muted: #8a8c92;
  --rule: rgba(245, 245, 243, 0.14);
  --edge: #4a4a50;

  /* status colors (service board only) */
  --amber: #f0b429;
  --green: #3ecf8e;
  --orange: #f08a3e;

  --display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: "Barlow", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--asphalt);
  color: var(--chalk);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--chalk); outline-offset: 3px; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 5.5rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 20;
  background: var(--red); color: #fff; padding: 0.6rem 1rem; font-weight: 700;
}
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }

/* ---------- Type roles ---------- */
.eyebrow {
  font-family: var(--display); font-stretch: 125%; font-weight: 700;
  font-size: 0.8125rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--steel);
}
.heading {
  font-family: var(--display); font-stretch: 125%; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.07em; line-height: 1.1;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0.6rem 1.15rem;
  border: 2px solid transparent; border-radius: 3px;
  background: var(--bg); color: var(--chalk);
  font-family: var(--display); font-stretch: 112%; font-weight: 800;
  font-size: 0.9375rem; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn--red { --bg: var(--red); }
.btn--red:hover { --bg: var(--red-deep); }
.btn--black { --bg: var(--black); }
.btn--black:hover { --bg: #000; }
.btn--ghost { border-color: rgba(245, 245, 243, 0.5); }
.btn--ghost:hover { border-color: var(--chalk); --bg: rgba(245, 245, 243, 0.07); }
.btn--lg { min-height: 3.25rem; padding-inline: 1.5rem; font-size: 1rem; }

/* ---------- Top bar + masthead ---------- */
.topbar { background: var(--black); color: var(--steel); font-size: 0.875rem; border-bottom: 1px solid var(--rule); }
.topbar__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1.5rem; padding-block: 0.5rem; }
.topbar a { color: var(--chalk); font-weight: 600; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.open-status[data-state="open"]::before {
  content: ""; display: inline-block; width: 0.5rem; height: 0.5rem; margin-right: 0.45rem;
  border-radius: 50%; background: var(--green); vertical-align: 0.05em;
}

.masthead { background: var(--black); border-bottom: 6px solid var(--red); position: sticky; top: 0; z-index: 10; }
.masthead__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.8rem; }

/* Wordmark rebuilt from the logo so it reads on the dark band */
.lockup { display: inline-grid; justify-items: center; gap: 0.3rem; text-decoration: none; line-height: 1; }
.lockup__box {
  font-family: var(--display); font-stretch: 118%; font-weight: 900; text-transform: uppercase;
  font-size: 1.35rem; letter-spacing: 0.02em; color: var(--red-bright);
  border: 2px solid var(--red-bright); padding: 0.3rem 0.55rem 0.25rem;
}
.lockup__sub {
  display: flex; align-items: center; gap: 0.45rem;
  font-family: var(--display); font-stretch: 125%; font-weight: 700;
  font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--chalk);
}
.lockup__sub::before, .lockup__sub::after { content: ""; width: 1.1rem; height: 2px; background: var(--chalk); }

.nav { display: flex; align-items: center; gap: clamp(0.75rem, 2vw, 1.75rem); }
.nav a:not(.btn) {
  font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 0.875rem;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  color: var(--steel); padding-block: 0.5rem;
}
.nav a:not(.btn):hover { color: var(--chalk); }
.nav__links { display: flex; align-items: center; gap: clamp(0.75rem, 2vw, 1.75rem); }
.nav-toggle {
  display: none; align-items: center; gap: 0.6rem;
  min-height: 2.75rem; padding: 0.5rem 0.9rem; cursor: pointer;
  background: transparent; color: var(--chalk);
  border: 2px solid rgba(245, 245, 243, 0.5); border-radius: 3px;
  font-family: var(--display); font-stretch: 112%; font-weight: 800;
  font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.nav-toggle:hover { border-color: var(--chalk); }
.nav-toggle__icon, .nav-toggle__icon::before, .nav-toggle__icon::after {
  display: block; width: 18px; height: 2px; background: currentColor; transition: transform 0.15s, opacity 0.15s;
}
.nav-toggle__icon { position: relative; }
.nav-toggle__icon::before, .nav-toggle__icon::after { content: ""; position: absolute; left: 0; }
.nav-toggle__icon::before { top: -6px; }
.nav-toggle__icon::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 780px) {
  .nav-toggle { display: inline-flex; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 12;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--black); border-bottom: 6px solid var(--red);
    padding: 0.5rem clamp(1rem, 4vw, 2rem) 1rem;
    box-shadow: 0 16px 24px rgba(0, 0, 0, 0.4);
  }
  .nav__links[data-open] { display: flex; }
  .nav__links a { padding-block: 0.9rem; border-bottom: 1px solid var(--rule); font-size: 1rem; }
  .nav__links a:last-child { border-bottom: 0; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 {
  font-family: var(--display); font-stretch: 118%; font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.04; letter-spacing: 0.005em;
  margin-block: 0.9rem 1.25rem;
}
.flag { background: var(--red); padding: 0 0.16em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lede { max-width: 52ch; color: var(--chalk-soft); font-size: 1.25rem; line-height: 1.5; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

.plate { background: var(--black); border-top: 6px solid var(--red); padding: clamp(1.25rem, 3vw, 1.75rem); display: grid; gap: 0.9rem; }
.plate__score { display: flex; align-items: flex-end; gap: 1rem; }
.plate__num { font-family: var(--display); font-weight: 900; font-size: 4.5rem; line-height: 0.82; letter-spacing: -0.03em; }
.plate__count { color: var(--steel); font-size: 0.9375rem; line-height: 1.3; }
.plate blockquote { margin: 0; padding-top: 0.9rem; border-top: 1px solid var(--rule); font-size: 1.0625rem; color: var(--chalk-soft); }
.plate a { font-weight: 600; font-size: 0.9375rem; }

.stars {
  --pct: 100%;
  display: block; width: fit-content; font-size: 1.35rem; line-height: 1; letter-spacing: 0.06em;
  background: linear-gradient(90deg, var(--red-bright) var(--pct), rgba(245, 245, 243, 0.22) var(--pct));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stars--47 { --pct: 93%; }

@media (max-width: 860px) { .hero__grid { grid-template-columns: 1fr; } }

/* ---------- Black header band with the flyer's red rule ---------- */
.band { background: var(--black); border-bottom: 6px solid var(--red); }
.band__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 1.75rem 1.5rem; }
.band__row p { color: var(--steel); max-width: 46ch; }

.section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }

/* ---------- Specials (coupons) ---------- */
.coupons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.coupon {
  --pad: clamp(1.25rem, 3vw, 2rem);
  display: grid; grid-template-rows: auto auto 1fr auto auto;
  background: var(--black); padding: var(--pad);
}
.coupon__title {
  font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.07em; line-height: 1.15; font-size: clamp(1.25rem, 2.4vw, 1.625rem);
}
.coupon__meta {
  margin-top: 0.4rem; font-family: var(--display); font-stretch: 112%; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8125rem; color: var(--steel);
}
.coupon__offer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-block: 1.5rem; }
.coupon__art { width: clamp(84px, 12vw, 128px); flex: none; }
.coupon__from {
  display: block; margin-bottom: 0.7rem; font-family: var(--display); font-stretch: 125%; font-weight: 700;
  font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--steel);
}
.price {
  display: flex; align-items: flex-start;
  font-family: var(--display); font-stretch: 100%; font-weight: 900;
  font-size: clamp(5.25rem, 10.5vw, 8.5rem); line-height: 0.78; letter-spacing: -0.045em;
}
.price__cur { font-size: 0.36em; margin: 0.08em 0.05em 0 0; letter-spacing: 0; }
.price__cents { font-size: 0.36em; margin: 0.02em 0 0 0.07em; letter-spacing: 0; }

.includes { background: var(--red-deep); padding: 1.1rem 1.25rem 1.25rem; align-self: stretch; }
.includes h4 {
  font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.1em; font-size: 0.9375rem;
}
.plus-list { list-style: none; margin: 0.6rem 0 0; padding: 0; display: grid; gap: 0.35rem; font-weight: 600; }
.plus-list li { display: grid; grid-template-columns: 1rem 1fr; gap: 0.4rem; }
.plus-list li::before { content: "+"; font-weight: 800; }

.coupon__tear {
  position: relative; height: 0; border-top: 2px dashed rgba(245, 245, 243, 0.28);
  margin: 1.5rem calc(var(--pad) * -1);
}
.coupon__tear::before, .coupon__tear::after {
  content: ""; position: absolute; top: -15px; width: 28px; height: 28px;
  border-radius: 50%; background: var(--asphalt);
}
.coupon__tear::before { left: -14px; }
.coupon__tear::after { right: -14px; }

.coupon__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.fine { font-size: 0.8125rem; line-height: 1.45; color: var(--steel); max-width: 44ch; }

.strip {
  margin-top: clamp(1rem, 3vw, 2rem); background: var(--red);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  padding: 1.25rem clamp(1.25rem, 3vw, 2rem);
}
.strip h3 { font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 1.25rem; }
.strip p { font-weight: 500; }

/* One special on its own: a single, larger coupon across the full width */
.coupons--single { grid-template-columns: 1fr; }
.coupon--wide .coupon__title { font-size: clamp(1.5rem, 3.2vw, 2.25rem); }
.coupon--wide .price { font-size: clamp(5.5rem, 13vw, 11rem); }
.coupon--wide .coupon__art { width: clamp(96px, 14vw, 160px); }
.coupon--wide .includes h4 { font-size: 1.125rem; }
.coupon--wide .plus-list { font-size: 1.1875rem; gap: 0.55rem; }

@media (min-width: 861px) {
  .coupon--wide {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr auto auto;
    column-gap: clamp(1.5rem, 4vw, 3.5rem);
  }
  .coupon--wide > header { grid-column: 1; grid-row: 1; }
  .coupon--wide .coupon__offer { grid-column: 1; grid-row: 2; margin-block: 1.5rem 0; justify-content: flex-start; gap: clamp(1.5rem, 4vw, 3rem); }
  .coupon--wide .includes { grid-column: 2; grid-row: 1 / 3; display: flex; flex-direction: column; justify-content: center; padding: clamp(1.25rem, 3vw, 2rem); }
  .coupon--wide .coupon__tear { grid-column: 1 / -1; grid-row: 3; }
  .coupon--wide .coupon__foot { grid-column: 1 / -1; grid-row: 4; }
}

@media (max-width: 860px) { .coupons { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.services { background: var(--asphalt-deep); }
.services__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(2rem, 5vw, 4rem); }
.services__intro p { margin-top: 1rem; color: var(--chalk-soft); max-width: 40ch; }
.service-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem;
  border-top: 1px solid var(--rule);
}
.service-list li { display: grid; align-content: start; gap: 0.3rem; padding: 1.1rem 0 1.25rem; border-bottom: 1px solid var(--rule); }
.service-list h3 {
  display: flex; gap: 0.5rem;
  font-family: var(--display); font-stretch: 118%; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.06em; font-size: 1.0625rem;
}
.service-list h3::before { content: "+"; color: var(--red-bright); }
.service-list p { color: var(--steel); font-size: 0.9375rem; }

@media (max-width: 860px) { .services__grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .service-list { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.reviews { background: var(--black); }
.reviews__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem;
  padding-bottom: 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--rule);
}
.score { display: flex; align-items: flex-end; gap: 1.25rem; }
.score__num { font-family: var(--display); font-weight: 900; font-size: clamp(4.5rem, 9vw, 6.5rem); line-height: 0.8; letter-spacing: -0.035em; }
.score__meta { display: grid; gap: 0.5rem; color: var(--steel); }
.quotes {
  display: flex; gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: 0.5rem; scrollbar-width: none;
}
.quotes::-webkit-scrollbar { display: none; }
.quotes > .quote { flex: 0 0 min(100%, 20rem); scroll-snap-align: start; }
@media (max-width: 700px) {
  .quotes { gap: 1rem; }
  .quotes > .quote { flex-basis: 100%; }
  .quote blockquote p { font-size: 1.0625rem; }
}
.quotes:focus-visible { outline: 3px solid var(--chalk); outline-offset: 6px; }
.slider__controls { display: flex; align-items: center; gap: 0.6rem; margin-top: 1.5rem; }
.slider__btn {
  width: 2.75rem; height: 2.75rem; display: grid; place-items: center; padding: 0; cursor: pointer;
  background: var(--black-2); color: var(--chalk); border: 1px solid var(--edge); border-radius: 3px;
  font-size: 1.75rem; line-height: 1;
}
.slider__btn:hover:not([disabled]) { border-color: var(--chalk); }
.slider__btn[disabled] { opacity: 0.35; cursor: default; }
.slider__dots { display: flex; gap: 0.4rem; margin-left: auto; }
.slider__dot { width: 0.6rem; height: 0.6rem; padding: 0; border: 0; border-radius: 50%; background: rgba(245, 245, 243, 0.3); cursor: pointer; }
.slider__dot[aria-current="true"] { background: var(--red); }
@media (prefers-reduced-motion: reduce) { .quotes { scroll-behavior: auto; } }
.quote { margin: 0; display: grid; grid-template-rows: auto 1fr auto; gap: 0.75rem; padding-top: 1.25rem; border-top: 3px solid var(--red); }
.quote::before { content: "\201C"; font-family: var(--display); font-weight: 900; font-size: 3.5rem; line-height: 0.5; color: var(--red-bright); height: 1.4rem; }
.quote blockquote { margin: 0; color: var(--chalk-soft); }
.quote figcaption { display: grid; gap: 0.1rem; }
.quote figcaption b { font-family: var(--display); font-stretch: 118%; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.9375rem; }
.quote figcaption span { color: var(--steel); font-size: 0.875rem; }

@media (max-width: 960px) { .quote blockquote { max-width: 65ch; } }

/* ---------- Booking ---------- */
.book__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.book__intro > p { color: var(--chalk-soft); max-width: 42ch; margin-top: 1rem; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.25rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.5rem 1fr; gap: 0.9rem; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 2.5rem; height: 2.5rem;
  background: var(--black); border: 2px solid var(--red);
  font-family: var(--display); font-weight: 900; font-size: 1.05rem;
}
.steps b { display: block; font-family: var(--display); font-stretch: 118%; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.9375rem; }
.steps p { color: var(--steel); font-size: 0.9375rem; }
.callout { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); color: var(--steel); }
.callout a { display: block; color: var(--chalk); font-family: var(--display); font-weight: 900; font-size: 1.75rem; text-decoration: none; letter-spacing: 0.01em; }
.callout a:hover { color: var(--red-bright); }

/* The form is laid out like a shop repair order */
.ticket { background: var(--black); border-top: 6px solid var(--red); }
.ticket__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.5rem 1rem;
  padding: 1.1rem clamp(1.25rem, 3vw, 2rem); border-bottom: 1px dashed rgba(245, 245, 243, 0.25);
}
.ticket__title { font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; font-size: 1rem; }
.ticket__ro { font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); font-variant-numeric: tabular-nums; }
.ticket__body { padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 2rem; }
.ticket__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem clamp(1.25rem, 3vw, 2rem); border-top: 1px dashed rgba(245, 245, 243, 0.25);
}
.ticket__foot p { color: var(--steel); font-size: 0.8125rem; max-width: 42ch; }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 0.9rem; }
legend {
  display: flex; align-items: center; gap: 0.7rem; width: 100%; padding: 0; margin-bottom: 0.9rem;
  font-family: var(--display); font-stretch: 125%; font-weight: 700; font-size: 0.75rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--chalk);
}
legend::before { content: ""; width: 0.55rem; height: 0.55rem; background: var(--red); flex: none; }
legend::after { content: ""; flex: 1; height: 1px; background: var(--rule); }

.row { display: grid; gap: 0.9rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.row--vehicle { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 560px) { .row, .row--vehicle { grid-template-columns: 1fr; } }

.field { display: grid; gap: 0.35rem; min-width: 0; align-content: start; }
.field > label, .field__label {
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--steel);
}
.field .opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.field__hint { font-size: 0.8125rem; color: var(--muted); }
.field__error { font-size: 0.875rem; color: var(--red-text); min-height: 0; }
.field__error:empty { display: none; }

input, select, textarea {
  width: 100%; min-height: 2.9rem; padding: 0.7rem 0.8rem;
  font: inherit; font-size: 1rem; color: var(--chalk);
  background: var(--black-2); border: 1px solid var(--edge); border-radius: 3px;
}
textarea { resize: vertical; min-height: 5.5rem; }
input::placeholder, textarea::placeholder { color: var(--muted); }
input:hover, select:hover, textarea:hover { border-color: #66666d; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--chalk); outline-offset: 1px; border-color: var(--chalk); }
select {
  appearance: none; -webkit-appearance: none; padding-right: 2.25rem; cursor: pointer;
  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 1l5 5 5-5' fill='none' stroke='%23aeb0b6' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.8rem center;
}
.field[data-invalid] input, .field[data-invalid] select, .field[data-invalid] textarea { border-color: var(--red-text); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Day + time chips */
.chips { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.2rem 0.2rem 0.5rem; margin: -0.2rem; scrollbar-width: thin; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.75rem, 1fr)); gap: 0.5rem; }
.chip { position: relative; display: block; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; min-height: 0; cursor: pointer; }
.chip span {
  display: grid; place-items: center; height: 100%; padding: 0.55rem 0.6rem;
  background: var(--black-2); border: 1px solid var(--edge); border-radius: 3px;
  line-height: 1.15; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums;
  transition: background-color 0.12s, border-color 0.12s;
}
.chip--day span { min-width: 4.4rem; }
.chip--day small { display: block; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); }
.chip--day b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.35rem; line-height: 1.1; }
.chip input:hover + span { border-color: #77777e; }
.chip input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.chip input:checked + span small { color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--chalk); outline-offset: 2px; }
.chip input:disabled { cursor: not-allowed; }
.chip input:disabled + span { color: var(--muted); background: transparent; border-style: dashed; text-decoration: line-through; }
.slot-hint { font-size: 0.875rem; color: var(--steel); }

.form-status { font-size: 0.9375rem; color: var(--steel); }
.form-status[data-kind="error"] { color: var(--red-text); }

.confirm { padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; gap: 1.25rem; }
.confirm:focus { outline: none; }
.confirm__ro { font-family: var(--display); font-weight: 900; font-size: clamp(2.5rem, 6vw, 3.5rem); line-height: 1; font-variant-numeric: tabular-nums; }
.confirm dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.5rem 1.5rem; margin: 0; padding-block: 1.25rem; border-block: 1px dashed rgba(245, 245, 243, 0.25); }
.confirm dt { color: var(--steel); text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.12em; font-weight: 600; padding-top: 0.2rem; }
.confirm dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.confirm p { color: var(--chalk-soft); max-width: 50ch; }

@media (max-width: 900px) { .book__grid { grid-template-columns: 1fr; } }

/* ---------- Visit ---------- */
.visit { background: var(--asphalt-deep); }
.visit__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.visit address { font-style: normal; font-size: 1.375rem; line-height: 1.35; margin-top: 1rem; }
.visit__phone { display: inline-block; margin-top: 0.75rem; font-family: var(--display); font-weight: 900; font-size: 1.5rem; text-decoration: none; }
.visit__phone:hover { color: var(--red-bright); }
.visit__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.hours { width: 100%; border-collapse: collapse; margin-top: 2rem; font-variant-numeric: tabular-nums; }
.hours caption { text-align: left; margin-bottom: 0.5rem; }
.hours th, .hours td { padding: 0.55rem 0; border-bottom: 1px solid var(--rule); text-align: left; font-weight: 500; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; color: #fff; }
.hours tr.is-today th::after { content: "Today"; margin-left: 0.6rem; padding: 0.05rem 0.4rem; background: var(--red); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; vertical-align: 0.15em; }
.hours .closed { color: var(--muted); }
.map { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; background: var(--black); }

@media (max-width: 860px) { .visit__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--black); border-top: 6px solid var(--red); color: var(--steel); font-size: 0.9375rem; }
.footer__grid {
  display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 2rem clamp(1.5rem, 4vw, 3rem); align-items: start; padding-block: clamp(2rem, 5vw, 3rem);
}
/* The logo is drawn for a white ground, so it sits on a white plate */
.footer__plate { display: block; max-width: 300px; background: #fff; padding: 0.9rem 1.1rem; border-radius: 3px; }
.footer__plate img { width: 100%; height: auto; }
.footer__col { display: grid; gap: 0.4rem; align-content: start; }
.footer__col .eyebrow { margin-bottom: 0.2rem; }
.footer address { font-style: normal; color: var(--chalk); }
.footer a { color: var(--chalk); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__base { border-top: 1px solid var(--rule); padding-block: 1rem; font-size: 0.8125rem; }

@media (max-width: 860px) {
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__plate { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Service board (staff) ---------- */
.admin .masthead { position: static; }
.admin-nav { display: flex; align-items: center; gap: 1rem; }
.admin-nav__label { font-family: var(--display); font-stretch: 125%; font-weight: 700; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--steel); }
.admin-nav a { color: var(--chalk); font-weight: 600; font-size: 0.9375rem; }
@media (max-width: 600px) { .admin-nav__label { display: none; } }
.admin-main { padding-block: clamp(1.5rem, 4vw, 2.5rem) 4rem; }
.login { max-width: 28rem; }

.board-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--rule); }
.board-title { font-family: var(--display); font-stretch: 118%; font-weight: 900; text-transform: uppercase; font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.1; margin-top: 0.35rem; }
.stats { display: flex; margin: 0; }
.stats > div { display: grid; gap: 0.2rem; padding-inline: 1.5rem; border-left: 1px solid var(--rule); }
.stats > div:first-child { padding-left: 0; border-left: 0; }
.stats dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); }
.stats dd { margin: 0; font-family: var(--display); font-weight: 900; font-size: 2.5rem; line-height: 1; font-variant-numeric: tabular-nums; }
.stats [data-attention] dd { color: var(--amber); }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; padding-block: 1.25rem 0.5rem; }
.toolbar input[type="search"] { flex: 1 1 16rem; width: auto; }
.toolbar select { width: auto; min-width: 11rem; }
.segmented { display: inline-flex; border: 1px solid var(--edge); border-radius: 3px; overflow: hidden; }
.segmented button {
  min-height: 2.9rem; padding: 0.7rem 0.95rem; border: 0; cursor: pointer;
  background: var(--black-2); color: var(--steel);
  font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 0.8125rem;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.segmented button + button { border-left: 1px solid var(--edge); }
.segmented button:hover { color: var(--chalk); }
.segmented button[aria-pressed="true"] { background: var(--chalk); color: var(--black); }
.board-meta { font-size: 0.8125rem; color: var(--steel); padding-block: 0.25rem 0.5rem; }

.day-group { margin-top: 1.5rem; }
.day-group__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.7rem 1rem; background: var(--black); border-bottom: 3px solid var(--red); }
.day-group__head h2 { display: flex; flex-wrap: wrap; gap: 0.6rem; font-family: var(--display); font-stretch: 118%; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; font-size: 1rem; }
.day-group__head em { font-style: normal; color: var(--red-bright); }
.day-group__head p { color: var(--steel); font-size: 0.875rem; font-variant-numeric: tabular-nums; }

.appt {
  --status-color: var(--edge);
  position: relative; display: grid; align-items: start; gap: 1.25rem;
  grid-template-columns: 4.75rem minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, 1.5fr) 10.5rem;
  padding: 1rem 1rem 1rem 1.25rem; background: var(--asphalt); border-bottom: 1px solid var(--rule);
}
.appt::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--status-color); }
.appt[data-status="new"] { --status-color: var(--amber); }
.appt[data-status="confirmed"] { --status-color: var(--green); }
.appt[data-status="completed"] { --status-color: var(--steel); }
.appt[data-status="no-show"] { --status-color: var(--orange); }
.appt[data-status="cancelled"] { --status-color: #5b5b61; }
.appt[data-status="cancelled"] .appt__who h3, .appt[data-status="cancelled"] .appt__vehicle { text-decoration: line-through; color: var(--steel); }
.appt[data-status="completed"] .appt__time b, .appt[data-status="cancelled"] .appt__time b { color: var(--steel); }

.appt__time b { display: block; font-family: var(--display); font-weight: 900; font-size: 1.5rem; line-height: 1; font-variant-numeric: tabular-nums; }
.appt__time span { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; color: var(--steel); }
.appt__who { display: grid; gap: 0.15rem; }
.appt__who h3 { font-family: var(--body); font-size: 1.0625rem; font-weight: 700; overflow-wrap: anywhere; }
.appt__who a { color: var(--chalk); text-decoration: none; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.appt__who a:hover { text-decoration: underline; }
.appt__who a.appt__email { color: var(--steel); font-size: 0.875rem; }
.appt__job { display: grid; gap: 0.2rem; }
.appt__vehicle { font-weight: 700; overflow-wrap: anywhere; }
.appt__service { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }
.tag { padding: 0 0.4rem; border: 1px solid var(--rule); border-radius: 2px; font-size: 0.75rem; font-weight: 600; color: var(--steel); font-variant-numeric: tabular-nums; }
.appt__ro { font-size: 0.8125rem; color: var(--steel); font-variant-numeric: tabular-nums; }
.appt__notes { display: grid; gap: 0.5rem; }
.appt__note { font-size: 0.9375rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.appt__note--none { color: var(--muted); font-style: italic; }
.shop-notes { min-height: 2.6rem; padding: 0.45rem 0.6rem; font-size: 0.875rem; }
.appt__actions { display: grid; gap: 0.35rem; }
.status-select { font-weight: 700; border-color: var(--status-color); border-left-width: 4px; }
.saved { font-size: 0.75rem; color: var(--steel); min-height: 1.1em; }
.link-btn { justify-self: start; padding: 0.2rem 0; border: 0; background: none; color: var(--steel); font: inherit; font-size: 0.8125rem; text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--red-text); }
.empty { margin-top: 1.5rem; padding: 2.5rem 1rem; border: 1px dashed var(--rule); color: var(--steel); text-align: center; }

@media (max-width: 1040px) {
  .appt { grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1fr); }
  .appt__notes, .appt__actions { grid-column: 2 / -1; }
  .appt__actions { grid-template-columns: minmax(0, 13rem) 1fr auto; align-items: center; gap: 1rem; }
}
@media (max-width: 600px) {
  .appt { grid-template-columns: 1fr; gap: 0.75rem; }
  .appt__notes, .appt__actions { grid-column: auto; }
  .appt__actions { grid-template-columns: 1fr auto; }
  .appt__actions .saved { grid-column: 1 / -1; grid-row: 2; }
  .appt__time { display: flex; align-items: baseline; gap: 0.35rem; }
  .stats > div { padding-inline: 1rem; }
}

/* Plain-language summary at the foot of the page, for search engines and skimmers */
.footer__seo { border-top: 1px solid var(--rule); padding-block: 1.75rem; }
.footer__seo h2 {
  font-family: var(--display); font-stretch: 125%; font-weight: 700; font-size: 0.75rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--steel); margin-bottom: 0.75rem;
}
.footer__seo p { font-size: 0.8125rem; line-height: 1.65; color: var(--muted); max-width: 100ch; }
.footer__seo p + p { margin-top: 0.6rem; }
.footer__seo strong { color: var(--steel); font-weight: 600; }

/* ---------- Service pages ---------- */
.page-hero { padding-block: clamp(1.5rem, 4vw, 2.75rem) clamp(2rem, 5vw, 3rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.8125rem; color: var(--steel); margin-bottom: 1.25rem; }
.crumbs a { color: var(--chalk); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero h1 {
  font-family: var(--display); font-stretch: 118%; font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.85rem, 4.2vw, 3.15rem); line-height: 1.05; margin-block: 0.75rem 1rem;
}

.article-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.prose h2 {
  font-family: var(--display); font-stretch: 118%; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.05em; font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.2; margin-top: 2.5rem;
}
.prose > h2:first-child { margin-top: 0; }
.prose p { margin-top: 0.85rem; max-width: 68ch; color: var(--chalk-soft); }
.prose ul { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.55rem; max-width: 60ch; }
.prose li { display: grid; grid-template-columns: 1rem 1fr; gap: 0.55rem; color: var(--chalk-soft); }
.prose li::before { content: "+"; color: var(--red-bright); font-weight: 800; }

.side-card { position: sticky; top: 6rem; background: var(--black); border-top: 6px solid var(--red); padding: clamp(1.25rem, 3vw, 1.75rem); display: grid; gap: 0.75rem; }
.side-card__price { font-family: var(--display); font-stretch: 100%; font-weight: 900; font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1; letter-spacing: -0.02em; }
.side-card__note { color: var(--steel); font-size: 0.875rem; }
.side-card .btn { margin-top: 0.35rem; }
.side-card__phone { display: block; font-family: var(--display); font-weight: 900; font-size: 1.375rem; text-align: center; text-decoration: none; padding-block: 0.25rem; }
.side-card__phone:hover { color: var(--red-bright); }
.side-card__facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.4rem 1rem; margin: 0; padding-top: 0.9rem; border-top: 1px solid var(--rule); font-size: 0.875rem; }
.side-card__facts dt { color: var(--steel); text-transform: uppercase; font-size: 0.6875rem; letter-spacing: 0.12em; font-weight: 600; padding-top: 0.2rem; }
.side-card__facts dd { margin: 0; color: var(--chalk-soft); }

.faq { background: var(--asphalt-deep); }
.faq .heading { margin-top: 0.35rem; }
.faq__list { display: grid; gap: 1.5rem; margin-top: 2rem; max-width: 78ch; }
.faq__item { padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.faq__item h3 { font-family: var(--body); font-size: 1.125rem; font-weight: 700; }
.faq__item p { margin-top: 0.45rem; color: var(--steel); }

.other__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; margin-top: 2rem; }
.other__card { display: grid; gap: 0.3rem; align-content: start; padding: 1.15rem 1.25rem; background: var(--black); border-left: 3px solid var(--red); text-decoration: none; transition: background-color 0.15s; }
.other__card:hover { background: #1b1b1f; }
.other__card b { font-family: var(--display); font-stretch: 112%; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.9375rem; }
.other__card span { color: var(--steel); font-size: 0.875rem; }

.service-list h3 a { text-decoration: none; }
.service-list h3 a:hover { color: var(--red-bright); text-decoration: underline; }

@media (max-width: 900px) {
  .article-grid { grid-template-columns: 1fr; }
  .side-card { position: static; }
}

/* ---------- Call / book bar (phones only) ---------- */
.callbar { display: none; }
@media (max-width: 780px) {
  .callbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    background: var(--rule);
    padding-bottom: env(safe-area-inset-bottom, 0);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
  }
  .callbar a {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    min-height: 3.5rem; padding: 0.75rem 1rem; text-decoration: none; color: var(--chalk);
    font-family: var(--display); font-stretch: 112%; font-weight: 800;
    font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase;
  }
  .callbar__call { background: var(--black); }
  .callbar__book { background: var(--red); }
  .callbar a:active { filter: brightness(0.9); }
  body { padding-bottom: 3.5rem; }
}

/* ---------- Email alerts (staff page) ---------- */
.alerts {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem;
  padding: 1rem 1.25rem; margin-top: 1.25rem;
  background: var(--black); border-left: 3px solid var(--red);
}
.alerts__label { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--steel); }
.alerts input { flex: 1 1 18rem; width: auto; min-height: 2.75rem; }
.alerts .btn { min-height: 2.75rem; }
.alerts__help { flex-basis: 100%; font-size: 0.8125rem; color: var(--muted); }
.alerts__status { flex-basis: 100%; font-size: 0.875rem; color: var(--steel); min-height: 1.2em; white-space: pre-wrap; }
.alerts__status[data-kind="error"] { color: var(--red-text); }
.alerts__status[data-kind="ok"] { color: var(--green); }
.alerts__toggle { flex-basis: 100%; display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.875rem; color: var(--chalk-soft); cursor: pointer; }
.alerts__toggle input[type="checkbox"] { width: 1.1rem; min-height: 0; height: 1.1rem; margin-top: 0.15rem; flex: none; accent-color: var(--red); cursor: pointer; }
.appt__tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.appt__tags:empty { display: none; }

/* ---------- Shop photos ---------- */
.gallery { background: var(--asphalt-deep); }
.gallery__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); margin-top: 2rem; }
.shot { margin: 0; display: grid; gap: 0.75rem; }
.shot img { width: 100%; height: auto; border-top: 6px solid var(--red); background: var(--black); }
.shot figcaption { font-size: 0.875rem; color: var(--steel); }

/* ---------- Careers ---------- */
.ticket--wide { max-width: 52rem; }
.prose li strong { color: var(--chalk); }

/* ---------- Staff: switching between appointments and applications ---------- */
.board-switch { display: inline-flex; border: 1px solid var(--edge); border-radius: 3px; overflow: hidden; margin-bottom: 1.25rem; }
.board-switch button {
  min-height: 2.9rem; padding: 0.7rem 1.1rem; border: 0; cursor: pointer;
  background: var(--black-2); color: var(--steel);
  font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 0.875rem;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.board-switch button + button { border-left: 1px solid var(--edge); }
.board-switch button:hover { color: var(--chalk); }
.board-switch button[aria-pressed="true"] { background: var(--red); color: #fff; }
.board-switch .count { margin-left: 0.45rem; font-variant-numeric: tabular-nums; opacity: 0.85; }

.applicant {
  --status-color: var(--edge);
  position: relative; display: grid; align-items: start; gap: 1.25rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr) minmax(0, 1.6fr) 10.5rem;
  padding: 1rem 1rem 1rem 1.25rem; background: var(--asphalt); border-bottom: 1px solid var(--rule);
}
.applicant::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--status-color); }
.applicant[data-status="new"] { --status-color: var(--amber); }
.applicant[data-status="reviewing"] { --status-color: var(--chalk); }
.applicant[data-status="interview"] { --status-color: var(--green); }
.applicant[data-status="hired"] { --status-color: var(--green); }
.applicant[data-status="declined"] { --status-color: #5b5b61; }
.applicant[data-status="declined"] .applicant__who h3 { text-decoration: line-through; color: var(--steel); }
.applicant__who { display: grid; gap: 0.15rem; }
.applicant__who h3 { font-family: var(--body); font-size: 1.0625rem; font-weight: 700; overflow-wrap: anywhere; }
.applicant__who a { color: var(--chalk); text-decoration: none; overflow-wrap: anywhere; }
.applicant__who a:hover { text-decoration: underline; }
.applicant__meta { display: grid; gap: 0.2rem; font-size: 0.9375rem; }
.applicant__meta b { font-weight: 700; }
.applicant__meta span { color: var(--steel); font-size: 0.875rem; }
.applicant__about { font-size: 0.9375rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.applicant__about--none { color: var(--muted); font-style: italic; }
.applicant__notes { display: grid; gap: 0.5rem; }

@media (max-width: 1040px) {
  .applicant { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .applicant__notes, .applicant__actions { grid-column: 1 / -1; }
}
@media (max-width: 600px) { .applicant { grid-template-columns: 1fr; } }

/* ---------- Staff: tire calculator ---------- */
.tire-calc { display: flex; flex-wrap: wrap; gap: 0.9rem 1.25rem; padding: 1.25rem; margin-top: 1.25rem; background: var(--black); border-left: 3px solid var(--red); }
.tire-num { flex: 0 1 11rem; gap: 0.3rem; }
.tire-out { display: grid; gap: 1rem; padding: 1.25rem; background: var(--asphalt-deep); }
.tire-out__total { display: grid; gap: 0.25rem; }
.tire-out__total b { font-family: var(--display); font-weight: 900; font-size: clamp(2.5rem, 6vw, 3.5rem); line-height: 1; font-variant-numeric: tabular-nums; }
.tire-out__total span { color: var(--steel); font-size: 0.9375rem; }
.tire-out__lines { display: grid; grid-template-columns: 1fr auto; gap: 0.35rem 1.5rem; margin: 0; max-width: 32rem; font-size: 0.9375rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.tire-out__lines dt { color: var(--steel); }
.tire-out__lines dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.tire-out__lines .is-total { padding-top: 0.5rem; border-top: 1px solid var(--rule); color: var(--chalk); font-weight: 700; }
.tire-out__margin { font-size: 0.875rem; color: var(--steel); font-variant-numeric: tabular-nums; }
.tire-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.25rem; }
.tire-num--wide { flex: 0 1 20rem; }
.tire-calc .field[hidden] { display: none; }

/* ---------- Customer-facing price view: a full screen you can X out of ---------- */
body.is-showing-customer { overflow: hidden; }
.customer-view {
  position: fixed; inset: 0; z-index: 60;
  height: 100dvh; max-height: 100dvh;
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  display: grid; align-content: start; gap: 0.4rem;
  padding: clamp(0.9rem, 4vw, 3rem);
  padding-bottom: max(clamp(0.9rem, 4vw, 3rem), env(safe-area-inset-bottom, 0px));
  background: var(--black);
}
.customer-view__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: clamp(0.75rem, 3vw, 2rem); }
.customer-view__close {
  width: 2.75rem; height: 2.75rem; flex: none; display: grid; place-items: center; padding: 0; cursor: pointer;
  background: transparent; color: var(--chalk); border: 2px solid var(--edge); border-radius: 3px;
  font-size: 1.75rem; line-height: 1;
}
.customer-view__close:hover { border-color: var(--chalk); }
.customer-view__total {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(2.75rem, 13vw, 5.5rem); line-height: 0.95; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.customer-view__note { color: var(--chalk-soft); font-size: clamp(1rem, 3.4vw, 1.375rem); }
.customer-view__lines {
  display: grid; grid-template-columns: 1fr auto; gap: 0.45rem 1rem;
  margin: clamp(0.75rem, 3vw, 1.5rem) 0 0; padding-top: clamp(0.75rem, 3vw, 1.25rem);
  border-top: 1px solid var(--rule); max-width: 40rem;
  font-size: clamp(0.9375rem, 3.2vw, 1.25rem);
}
.customer-view__lines dt { color: var(--steel); }
.customer-view__lines dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.customer-view__lines .is-total { padding-top: 0.6rem; border-top: 1px solid var(--rule); color: var(--chalk); font-weight: 700; font-size: clamp(1.125rem, 4vw, 1.5rem); }
.customer-view__fine { margin-top: clamp(0.75rem, 3vw, 1.5rem); max-width: 48ch; font-size: clamp(0.75rem, 2.6vw, 0.875rem); color: var(--muted); }
@media (max-height: 700px) { .customer-view__fine { display: none; } }

/* ---------- Header on small phones: keep Book now inside the bar ---------- */
@media (max-width: 540px) {
  .masthead__row { gap: 0.5rem; padding-block: 0.6rem; }
  .lockup { gap: 0.2rem; }
  .lockup__box { font-size: 1.0625rem; padding: 0.25rem 0.4rem 0.2rem; letter-spacing: 0; }
  .lockup__sub { font-size: 0.5625rem; letter-spacing: 0.16em; gap: 0.3rem; }
  .lockup__sub::before, .lockup__sub::after { width: 0.6rem; }
  .nav { gap: 0.5rem; }
  /* the bars alone say "menu"; the word is only there for screen readers */
  .nav-toggle { width: 2.75rem; padding: 0; gap: 0; font-size: 0; }
  .nav .btn { padding: 0.55rem 0.7rem; font-size: 0.8125rem; letter-spacing: 0.03em; }
}
.tag--ad { border-color: var(--green); color: var(--green); }

/* ---------- Tire calculator results: what they pay, what you make ---------- */
.tire-out__tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: clamp(1.25rem, 4vw, 2.5rem); align-items: start; }
.tire-out__profit { display: grid; gap: 0.3rem; align-content: start; padding: 0.25rem 0 0.25rem 1.25rem; border-left: 6px solid var(--green); }
.tire-out__profit .eyebrow { color: var(--green); }
.tire-out__profit b {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(3rem, 8vw, 4.5rem); line-height: 1; letter-spacing: -0.02em;
  color: var(--green); font-variant-numeric: tabular-nums;
}
.tire-out__profit span { color: var(--chalk-soft); font-size: 1rem; }
@media (max-width: 640px) {
  .tire-out__profit { padding: 1rem 0 0; border-left: 0; border-top: 6px solid var(--green); }
}
