@charset "utf-8";
/* ==========================================================================
   MB AUTO LTD
   A workshop data plate: condensed signage type, mono field labels, hairline
   rules, and one hot accent held back for the things that matter — the phone
   number and the price.
   ========================================================================== */

/* ------------------------------------------------------------------ fonts */

@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 500;
  src: url('/assets/fonts/barlow-condensed-500.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600;
  src: url('/assets/fonts/barlow-condensed-600.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700;
  src: url('/assets/fonts/barlow-condensed-700.woff2') format('woff2'); font-display: swap; }

@font-face { font-family: 'Plex Sans'; font-style: normal; font-weight: 400;
  src: url('/assets/fonts/plex-sans-400.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Plex Sans'; font-style: normal; font-weight: 500;
  src: url('/assets/fonts/plex-sans-500.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Plex Sans'; font-style: normal; font-weight: 600;
  src: url('/assets/fonts/plex-sans-600.woff2') format('woff2'); font-display: swap; }

@font-face { font-family: 'Plex Mono'; font-style: normal; font-weight: 400;
  src: url('/assets/fonts/plex-mono-400.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Plex Mono'; font-style: normal; font-weight: 500;
  src: url('/assets/fonts/plex-mono-500.woff2') format('woff2'); font-display: swap; }

/* ----------------------------------------------------------------- tokens */

:root {
  /* Type */
  --display: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --body: 'Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --t--2: 0.6875rem;
  --t--1: 0.8125rem;
  --t-0:  1.0625rem;
  --t-1:  1.1875rem;
  --t-2:  1.4375rem;
  --t-3:  clamp(1.75rem, 1.45rem + 1.5vw, 2.5rem);
  --t-4:  clamp(2.25rem, 1.7rem + 2.7vw, 3.75rem);
  --t-5:  clamp(2.5rem, 1.65rem + 3.4vw, 4.5rem);

  /* Rhythm */
  --gap: 1.5rem;
  --band: clamp(3.5rem, 2rem + 6vw, 6.5rem);
  /* Outer container. Width-hungry things — hero, card grids, tables, photos —
     use all of it. Running text is held to --measure separately, so a wide
     display gives the layout more room without giving paragraphs more width. */
  --wrap: 88rem;
  --measure: 42rem;

  /* Fixed hues — theme-independent identity */
  --blue-core: #1466D6;
  --amber-core: #F2A81C;

  /* LIGHT — a photocopied workshop page: cool grey, slight green bias */
  --bg:        #E2E6E5;
  --bg-alt:    #D7DCDB;
  --surface:   #F3F5F4;
  --surface-2: #FBFCFB;
  --fg:        #101820;
  --fg-mid:    #414F59;
  --fg-faint:  #66757F;
  --rule:      rgb(16 24 32 / 0.16);
  --rule-hard: rgb(16 24 32 / 0.34);
  --accent:    #0D53BE;
  --accent-hi: #0A47A4;
  --accent-on: #FFFFFF;
  --accent-wash: rgb(13 83 190 / 0.09);
  --hot:       #9A5C00;
  --hot-wash:  rgb(154 92 0 / 0.11);
  --good:      #1C6B44;
  --shadow:    0 1px 0 rgb(16 24 32 / .05), 0 12px 28px -18px rgb(16 24 32 / .5);
}

/* Dark tokens, defined once and reused by both the media query and the
   explicit toggle so the two can never drift apart. */
@media (prefers-color-scheme: dark) {
  :root {
    --bg:        #0E141A;
    --bg-alt:    #0A0F14;
    --surface:   #161F27;
    --surface-2: #1C262F;
    --fg:        #E3E8E7;
    --fg-mid:    #A6B5BF;
    --fg-faint:  #7E8E99;
    --rule:      rgb(227 232 231 / 0.15);
    --rule-hard: rgb(227 232 231 / 0.32);
    --accent:    #4C93FF;
    --accent-hi: #78ADFF;
    --accent-on: #06101C;
    --accent-wash: rgb(76 147 255 / 0.13);
    --hot:       #F2A81C;
    --hot-wash:  rgb(242 168 28 / 0.13);
    --good:      #4FBF8B;
    --shadow:    0 1px 0 rgb(0 0 0 / .3), 0 14px 34px -20px rgb(0 0 0 / .9);
  }
}

:root[data-theme='dark'] {
  --bg:        #0E141A;
  --bg-alt:    #0A0F14;
  --surface:   #161F27;
  --surface-2: #1C262F;
  --fg:        #E3E8E7;
  --fg-mid:    #A6B5BF;
  --fg-faint:  #7E8E99;
  --rule:      rgb(227 232 231 / 0.15);
  --rule-hard: rgb(227 232 231 / 0.32);
  --accent:    #4C93FF;
  --accent-hi: #78ADFF;
  --accent-on: #06101C;
  --accent-wash: rgb(76 147 255 / 0.13);
  --hot:       #F2A81C;
  --hot-wash:  rgb(242 168 28 / 0.13);
  --good:      #4FBF8B;
  --shadow:    0 1px 0 rgb(0 0 0 / .3), 0 14px 34px -20px rgb(0 0 0 / .9);
}

:root[data-theme='light'] {
  --bg:        #E2E6E5;
  --bg-alt:    #D7DCDB;
  --surface:   #F3F5F4;
  --surface-2: #FBFCFB;
  --fg:        #101820;
  --fg-mid:    #414F59;
  --fg-faint:  #66757F;
  --rule:      rgb(16 24 32 / 0.16);
  --rule-hard: rgb(16 24 32 / 0.34);
  --accent:    #0D53BE;
  --accent-hi: #0A47A4;
  --accent-on: #FFFFFF;
  --accent-wash: rgb(13 83 190 / 0.09);
  --hot:       #9A5C00;
  --hot-wash:  rgb(154 92 0 / 0.11);
  --good:      #1C6B44;
  --shadow:    0 1px 0 rgb(16 24 32 / .05), 0 12px 28px -18px rgb(16 24 32 / .5);
}

/* The hero and a few other bands stay dark in every theme — they are the
   plates in the manual, printed on the dark stock. */
.plate {
  --bg: #0B1116; --surface: #131C24; --surface-2: #18232C;
  --fg: #E6EBEA; --fg-mid: #A2B1BB; --fg-faint: #798994;
  --rule: rgb(230 235 234 / 0.14); --rule-hard: rgb(230 235 234 / 0.3);
  --accent: #4C93FF; --accent-hi: #82B2FF; --accent-on: #06101C;
  --accent-wash: rgb(76 147 255 / 0.14);
  --hot: #F2A81C; --hot-wash: rgb(242 168 28 / 0.14);
  --good: #4FBF8B;
  background: var(--bg); color: var(--fg);

  /* Colours the cutaway canvas reads out of the cascade, so the drawing
     always matches the panel it sits in. */
  --cut-line: #8FA0AC;
  --cut-belt: #4C93FF;
  --cut-hot: #F2A81C;
  --cut-face: #101922;
  --cut-faint: rgb(143 160 172 / 0.4);
}

/* ------------------------------------------------------------------ reset */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--fg);
  font: 400 var(--t-0)/1.65 var(--body);
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hi); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute; left: 0.5rem; top: -4rem; z-index: 200;
  background: var(--accent); color: var(--accent-on);
  padding: 0.7rem 1.1rem; font: 600 var(--t--1)/1 var(--mono);
  text-decoration: none; transition: top .15s;
}
.skip:focus { top: 0.5rem; }

::selection { background: var(--accent); color: var(--accent-on); }

/* --------------------------------------------------------------- typography */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0.005em;
  text-wrap: balance;
  text-transform: uppercase;
}

h1 { font-size: var(--t-4); }
h2 { font-size: var(--t-3); }
h3 { font-size: var(--t-2); letter-spacing: 0.012em; }
h4 { font-size: var(--t-1); letter-spacing: 0.02em; }

p, li { text-wrap: pretty; }

/* Mono field label — the caption on a data plate. Used everywhere. */
.field-label {
  font: 500 var(--t--2)/1.3 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

.lede {
  font-size: clamp(1.125rem, 1.02rem + 0.5vw, 1.375rem);
  line-height: 1.5;
  color: var(--fg-mid);
  max-width: 56ch;
  text-wrap: pretty;
}

.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 2.4em; }
.prose h3 { margin-top: 1.9em; margin-bottom: -0.35em; }
.prose h2 + p, .prose h3 + p { margin-top: 0.9em; }
.prose ul, .prose ol { padding-left: 1.15rem; display: grid; gap: 0.5rem; }
.prose li::marker { color: var(--accent); }
.prose strong { font-weight: 600; color: var(--fg); }
/* Emphasis as an underlay rather than a highlighter box — reads as stress,
   not as someone attacking the page with a marker pen. */
.prose em {
  font-style: normal; font-weight: 600; color: var(--fg);
  box-shadow: inset 0 -0.38em 0 var(--hot-wash);
}

.muted { color: var(--fg-faint); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ layout */

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
@media (max-width: 40rem) { .wrap { width: calc(100% - 2rem); } }

.band { padding-block: var(--band); }
.band + .band { border-top: 1px solid var(--rule); }
.band-alt { background: var(--bg-alt); }

/* Section head: a mono index label sitting above a condensed title, with a
   rule running out to the right — the top of a manual chapter. */
.sec-head { display: grid; gap: 0.85rem; margin-bottom: 2.75rem; }
.sec-head .field-label { display: flex; align-items: center; gap: 0.9rem; }
.sec-head .field-label::after {
  content: ''; flex: 1; height: 1px; background: var(--rule);
}
.sec-head p { color: var(--fg-mid); max-width: 62ch; }

.grid { display: grid; gap: var(--gap); }
.g-2 { grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr)); }
.g-3 { grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr)); }
.g-4 { grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr)); }
/* Capped at three across so the contact page's five cards sit 3 + 2 rather
   than 4 + 1 with a hole in the second row. */
@media (min-width: 40rem) { .g-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .g-cards { grid-template-columns: repeat(3, 1fr); } }

/* Both variants need the base grid — .split-wide is used on its own, so it
   cannot rely on .split being present in the class list. */
.split, .split-wide { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
/* Text hugs the left edge (capped to a readable measure by .prose), the
   sticky card hugs the right. The space between them is the gutter, not a
   mistake — and both columns stay aligned with the page heading above. */
@media (min-width: 62rem) {
  .split { grid-template-columns: minmax(0, 1fr) 22rem; }
  /* Both tracks are fractional so the text column grows with the viewport.
     A fixed rem cap here left the copy stuck at ~384px on a 1920 screen
     while the picture beside it kept getting wider. */
  .split-wide { grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr); }
}

.stack { display: grid; gap: var(--gap); align-content: start; }
.stack-s { display: grid; gap: 0.6rem; align-content: start; }

/* ------------------------------------------------------------------ header */

.site-head {
  position: sticky; top: 0; z-index: 90;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.head-inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 4.25rem;
}

.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--fg); flex: none; }
.brand-mark { width: 1.85rem; height: 1.85rem; color: var(--accent); flex: none; }
.brand-text { display: grid; }
.brand-name {
  font: 700 1.4rem/0.95 var(--display);
  text-transform: uppercase; letter-spacing: 0.01em;
}
.brand-ltd {
  font-family: var(--mono); font-size: 0.5rem; font-weight: 500;
  letter-spacing: 0.16em; vertical-align: 0.55em; margin-left: 0.3em;
  color: var(--accent);
}
.brand-sub {
  font: 500 0.5625rem/1 var(--mono); letter-spacing: 0.11em;
  text-transform: uppercase; color: var(--fg-faint); margin-top: 0.2rem;
}

.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 0.15rem; list-style: none; padding: 0; }
.nav-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 0.7rem; border: 0; background: none; cursor: pointer;
  font: 500 var(--t--1)/1 var(--body);
  color: var(--fg-mid); text-decoration: none; border-radius: 2px;
  white-space: nowrap;
}
.nav-link:hover { color: var(--fg); background: var(--accent-wash); }
.nav-link.is-current, .nav-link[aria-current='page'] { color: var(--fg); }
.nav-link.is-current::after,
.nav-link[aria-current='page']::after {
  content: ''; position: absolute; inset: auto 0.7rem -1px; height: 2px; background: var(--accent);
}
.nav-list > li { position: relative; }

.chev { width: 0.45rem; height: 0.45rem; border-right: 1.5px solid; border-bottom: 1.5px solid;
  transform: rotate(45deg) translate(-1px, -1px); opacity: .6; transition: transform .18s; }
[aria-expanded='true'] .chev { transform: rotate(-135deg) translate(-1px, -1px); }

.menu {
  position: absolute; top: calc(100% + 0.5rem); right: 0; z-index: 95;
  width: min(30rem, 90vw);
  background: var(--surface-2); border: 1px solid var(--rule-hard);
  box-shadow: var(--shadow); padding: 1.1rem;
}
.menu[hidden] { display: none; }
.menu-head { font: 500 var(--t--2)/1 var(--mono); letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-faint); margin-bottom: 0.8rem; }
.menu-list { list-style: none; padding: 0; display: grid; gap: 1px; }
.menu-list a {
  display: grid; gap: 0.15rem; padding: 0.6rem 0.7rem;
  text-decoration: none; color: var(--fg);
}
.menu-list a:hover { background: var(--accent-wash); }
.menu-title { font: 600 var(--t--1)/1.2 var(--body); }
.menu-note { font-size: var(--t--2); color: var(--fg-faint); line-height: 1.4; }

.head-cta { display: flex; align-items: center; gap: 0.75rem; flex: none; }
.tel {
  display: grid; gap: 0.05rem; text-decoration: none;
  padding: 0.4rem 0.85rem; border: 1px solid var(--rule-hard); border-radius: 2px;
  color: var(--fg);
}
.tel:hover { border-color: var(--accent); background: var(--accent-wash); color: var(--fg); }
.tel-label { font: 500 0.5625rem/1 var(--mono); letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-faint); }
.tel-num { font: 600 1rem/1.1 var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

.burger { display: none; width: 2.5rem; height: 2.5rem; border: 1px solid var(--rule-hard);
  background: none; cursor: pointer; border-radius: 2px; padding: 0.6rem 0.55rem; }
.burger span { display: block; height: 1.5px; background: var(--fg); transition: transform .2s, opacity .2s; }
.burger span + span { margin-top: 0.32rem; }
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(0.47rem) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-0.47rem) rotate(-45deg); }

@media (max-width: 68rem) {
  .nav { display: none; }
  .burger { display: block; }
  .head-inner { gap: 0.75rem; }
}
@media (max-width: 30rem) {
  .tel-num { font-size: 0.875rem; }
  .brand-sub { display: none; }
}

.drawer {
  position: fixed; inset: 4.25rem 0 0; z-index: 89;
  background: var(--bg); overflow-y: auto;
  border-top: 1px solid var(--rule);
  animation: drop .2s ease;
}
.drawer[hidden] { display: none; }
@keyframes drop { from { opacity: 0; transform: translateY(-0.5rem); } }
.drawer-inner { width: calc(100% - 2rem); margin-inline: auto; padding: 1.75rem 0 5rem; display: grid; gap: 0.65rem; }
.drawer-inner .field-label { margin-top: 1rem; }
.drawer-list { list-style: none; padding: 0; display: grid; }
.drawer-list a {
  display: block; padding: 0.7rem 0; border-bottom: 1px solid var(--rule);
  font: 600 var(--t-1)/1.2 var(--display); text-transform: uppercase;
  letter-spacing: 0.015em; color: var(--fg); text-decoration: none;
}
.drawer-list a:hover { color: var(--accent); }
.drawer-cta { display: grid; gap: 0.6rem; margin-top: 1.5rem; }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.85rem 1.4rem; border: 1px solid transparent; border-radius: 2px;
  font: 600 var(--t--1)/1 var(--body); letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-on); }
.btn-primary:hover { background: var(--accent-hi); color: var(--accent-on); }
.btn-ghost { border-color: var(--rule-hard); color: var(--fg); }
.btn-ghost:hover { border-color: var(--accent); background: var(--accent-wash); color: var(--fg); }
.btn-lg { padding: 1.05rem 1.75rem; font-size: var(--t-0); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }
/* Phone-width: full-bleed buttons give a bigger tap target and a tidier
   right edge than a ragged wrapped row. */
@media (max-width: 30rem) {
  .btn-row { display: grid; }
  .btn-row .btn { width: 100%; }
}

/* ------------------------------------------------------------------- hero */

.hero { position: relative; overflow: hidden;
  padding-block: clamp(2.25rem, 1.5rem + 3vw, 3.75rem) clamp(3rem, 2rem + 4vw, 5rem); }

/* Faint engineering graph paper. Two gradients, no image request. */
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent 0 47px, var(--rule) 47px 48px),
    repeating-linear-gradient(90deg, transparent 0 47px, var(--rule) 47px 48px);
  opacity: .5;
  mask-image: radial-gradient(120% 90% at 70% 15%, #000 20%, transparent 78%);
}

.hero-grid { position: relative; display: grid; gap: clamp(2.5rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 60rem) { .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font: 500 var(--t--2)/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-mid); border: 1px solid var(--rule-hard);
  padding: 0.5rem 0.8rem; border-radius: 99px;
}
.hero-eyebrow b { color: var(--hot); font-weight: 500; }

/* No max-width here. `text-wrap: balance` equalises the lines by itself, and
   a ch-based cap on top of it forces far more lines than the column needs. */
.hero h1 {
  font-size: var(--t-5); line-height: 0.92; letter-spacing: -0.002em;
  margin-top: 1.5rem;
}
.hero h1 .hl { color: var(--accent); }
.hero .lede { margin-top: 1.5rem; max-width: 58ch; font-size: clamp(1.0625rem, 1rem + 0.45vw, 1.3125rem); }
.hero-actions { margin-top: 2rem; }

/* Four hard facts under the fold-line — the plate riveted to the door jamb. */
.hero-facts {
  margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 1.4rem 1rem;
}
.fact dt { font: 500 var(--t--2)/1.3 var(--mono); letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fg-faint); }
.fact dd { margin: 0.35rem 0 0; font: 600 var(--t-1)/1.15 var(--display);
  text-transform: uppercase; letter-spacing: 0.015em; }
.fact dd .unit { font: 400 var(--t--1)/1 var(--mono); color: var(--fg-faint);
  text-transform: none; letter-spacing: 0; margin-left: 0.2em; }

/* ------------------------------------------------------------ the cutaway */

.cutaway { position: relative; }
.cutaway-frame {
  position: relative; border: 1px solid var(--rule-hard); background: var(--surface);
  aspect-ratio: 1 / 1;
}
.cutaway-frame canvas { width: 100%; height: 100%; }

/* Corner ticks — a drawing pinned at four corners. */
.cutaway-frame::before, .cutaway-frame::after {
  content: ''; position: absolute; width: 0.75rem; height: 0.75rem; pointer-events: none;
  border: 1px solid var(--accent);
}
.cutaway-frame::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.cutaway-frame::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

.cutaway-cap {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 0.7rem;
  font: 400 var(--t--2)/1.5 var(--mono); letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--fg-faint);
}
.cutaway-cap b { color: var(--fg-mid); font-weight: 500; }

.cutaway-key {
  list-style: none; padding: 0; margin-top: 1.1rem;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr)); gap: 0.55rem 1rem;
}
.cutaway-key li {
  display: flex; align-items: baseline; gap: 0.5rem;
  font-size: var(--t--2); color: var(--fg-mid); line-height: 1.4;
}
.cutaway-key .key-n {
  flex: none; width: 1.15rem; height: 1.15rem; display: grid; place-items: center;
  border: 1px solid var(--accent); color: var(--accent); border-radius: 50%;
  font: 500 0.5625rem/1 var(--mono); font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------- answer box */
/* The direct answer, first thing after the h1 on inner pages. Written for a
   human skimming — and for the assistant summarising the page for them. */

.answer-box {
  border-left: 3px solid var(--accent);
  background: var(--surface);
  padding: 1.35rem 1.5rem;
  display: grid; gap: 0.6rem;
  /* Panel tracks its own text rather than the column, so the fill doesn't
     run on past where the sentences stop. */
  max-width: calc(var(--measure) + 3.4rem);
}
.answer-box .field-label { color: var(--accent); }
.answer-box p { font-size: var(--t-1); line-height: 1.55; max-width: 60ch; }
.answer-box p + p { color: var(--fg-mid); font-size: var(--t-0); }

/* ------------------------------------------------------------------ cards */

.card {
  background: var(--surface); border: 1px solid var(--rule);
  padding: 1.5rem; display: grid; gap: 0.65rem; align-content: start;
  text-decoration: none; color: inherit;
  transition: border-color .15s, background .15s, transform .15s;
}
a.card:hover { border-color: var(--accent); background: var(--surface-2); transform: translateY(-2px); }
.card h3 { color: var(--fg); }
.card p { font-size: var(--t--1); color: var(--fg-mid); line-height: 1.55; }
.card-n {
  font: 500 var(--t--2)/1 var(--mono); letter-spacing: 0.11em;
  text-transform: uppercase; color: var(--hot);
}
.card-go { font: 500 var(--t--2)/1 var(--mono); letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-top: 0.35rem; }
a.card:hover .card-go { color: var(--accent-hi); }
.card-price {
  font: 600 var(--t-1)/1 var(--mono); font-variant-numeric: tabular-nums; color: var(--hot);
}
.card-price small { font: 400 var(--t--2)/1 var(--mono); color: var(--fg-faint); display: block; margin-bottom: 0.3rem;
  letter-spacing: 0.1em; text-transform: uppercase; }

/* ------------------------------------------------------------- spec table */
/* Reads like the data table at the back of a workshop manual. */

.spec-wrap { overflow-x: auto; border: 1px solid var(--rule); background: var(--surface); }
.spec { width: 100%; border-collapse: collapse; min-width: 30rem; }
.spec caption {
  text-align: left; padding: 1rem 1.25rem;
  font: 500 var(--t--2)/1.3 var(--mono); letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fg-faint);
  border-bottom: 1px solid var(--rule);
}
.spec th, .spec td { padding: 0.85rem 1.25rem; text-align: left; vertical-align: top; }
.spec thead th {
  font: 500 var(--t--2)/1.3 var(--mono); letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--fg-faint); border-bottom: 1px solid var(--rule-hard); font-weight: 500;
}
.spec tbody tr + tr { border-top: 1px solid var(--rule); }
.spec tbody th { font: 600 var(--t-0)/1.4 var(--body); color: var(--fg); }
.spec td { font-size: var(--t--1); color: var(--fg-mid); }
.spec .cost {
  font-family: var(--mono); font-variant-numeric: tabular-nums;
  font-weight: 500; color: var(--hot); white-space: nowrap; font-size: var(--t-0);
}
.spec .cost small { display: block; font-size: var(--t--2); color: var(--fg-faint); font-weight: 400; }

/* ------------------------------------------------------------------ steps */
/* Numbered only where the order genuinely matters — the collection sequence. */

.steps { list-style: none; padding: 0; display: grid; gap: 0; counter-reset: s; }
.steps > li {
  counter-increment: s; position: relative;
  padding: 1.4rem 0 1.4rem 4.5rem; border-top: 1px solid var(--rule);
}
.steps > li:last-child { border-bottom: 1px solid var(--rule); }
/* Absolute, not a grid column — the <h3> and <p> must stay in normal flow. */
.steps > li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute; left: 0; top: 1.35rem;
  font: 700 var(--t-2)/1 var(--display); color: var(--accent);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 34rem) { .steps > li { padding-left: 3.5rem; } }
.steps h3 { margin-bottom: 0.4rem; }
.steps p { color: var(--fg-mid); font-size: var(--t--1); max-width: 54ch; }

/* -------------------------------------------------------------------- faq */

.faq { display: grid; }
.faq details {
  border-top: 1px solid var(--rule);
}
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex; align-items: baseline; gap: 1rem; cursor: pointer;
  padding: 1.15rem 0; list-style: none;
  font: 600 var(--t-1)/1.35 var(--body); color: var(--fg);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; margin-left: auto; margin-top: 0.4rem;
  width: 0.7rem; height: 0.7rem;
  border-right: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent);
  transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:hover { color: var(--accent); }
.faq .a { padding: 0 0 1.4rem; color: var(--fg-mid); max-width: 62ch; }

/* ------------------------------------------------------------------- misc */

/* Info plate — address, hours — set like the plate riveted inside a door jamb.
   Stacked plates share one rule between them rather than doubling up. */
.info-plate + .info-plate { border-top: 0; padding-top: 0; }
.info-plate {
  display: grid; gap: 0.55rem;
  border-top: 1px solid var(--rule-hard);
  border-bottom: 1px solid var(--rule);
  padding-block: 1.15rem 1.25rem;
}
/* Inside a card the surrounding border is framing enough. */
.info-plate.is-bare { border: 0; padding-block: 0; }
.info-plate address {
  font-style: normal; line-height: 1.75;
  font-size: var(--t--1); color: var(--fg-mid);
}
.info-plate .pc {
  display: inline-block; margin-top: 0.35rem;
  font: 500 var(--t-1)/1 var(--mono); letter-spacing: 0.07em; color: var(--fg);
}
.info-plate .plate-note {
  font-size: var(--t--2); line-height: 1.6; color: var(--fg-faint); max-width: 44ch;
}
/* Payment methods — name and explanation on one line each, like a key. */
.pay-list { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.pay-list li {
  display: grid; gap: 0.1rem;
  padding-bottom: 0.6rem; border-bottom: 1px dotted var(--rule);
}
.pay-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.pay-name {
  font: 600 var(--t-0)/1.3 var(--display); text-transform: uppercase;
  letter-spacing: 0.02em; color: var(--fg);
}
.pay-note { font-size: var(--t--2); line-height: 1.5; color: var(--fg-faint); }
.info-plate .plate-note strong { color: var(--hot); font-weight: 600; }

.plate-map {
  justify-self: start;
  font: 500 var(--t--2)/1 var(--mono); letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--accent); text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 0.2rem; margin-top: 0.2rem;
}
.plate-map:hover { color: var(--accent-hi); }

/* Photographic plate — framed and captioned like a figure in the manual. */
.photo { margin: 0; }
.photo img {
  width: 100%; border: 1px solid var(--rule-hard);
  background: var(--surface);
}
.photo figcaption {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 0.7rem;
  font: 400 var(--t--2)/1.5 var(--mono); letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--fg-faint);
}
.photo figcaption b { color: var(--fg-mid); font-weight: 500; }

/* The tick sits absolutely, NOT as a grid/flex sibling — these list items mix
   a <strong> with bare text, and a bare text node in a grid container becomes
   its own anonymous item, which collapses the sentence to one word per line. */
.tick-list { list-style: none; padding: 0; display: grid; gap: 0.7rem; }
.tick-list li {
  position: relative; padding-left: 1.9rem;
  font-size: var(--t--1); color: var(--fg-mid); line-height: 1.55;
}
.tick-list li::before {
  content: ''; position: absolute; left: 0.15rem; top: 0.5em;
  width: 0.65rem; height: 0.34rem;
  border-left: 1.75px solid var(--good); border-bottom: 1.75px solid var(--good);
  transform: rotate(-45deg);
}
.tick-list strong { color: var(--fg); font-weight: 600; }

/* `.prose .chips` matches the specificity of `.prose ul`, which would
   otherwise stack these into a full-width grid. */
.chips, .prose .chips {
  display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; list-style: none;
}
.chips li {
  font: 400 var(--t--2)/1 var(--mono); letter-spacing: 0.04em;
  border: 1px solid var(--rule); padding: 0.45rem 0.6rem; color: var(--fg-mid);
  border-radius: 2px; background: var(--surface);
}

.pull {
  border-left: 3px solid var(--hot); padding: 0.4rem 0 0.4rem 1.3rem;
  font: 500 var(--t-2)/1.35 var(--display); text-transform: uppercase;
  letter-spacing: 0.012em; color: var(--fg); max-width: 22ch;
}

.aside-card {
  border: 1px solid var(--rule); background: var(--surface);
  padding: 1.5rem; display: grid; gap: 0.9rem; align-content: start;
  position: sticky; top: 5.5rem;
}
.aside-card h3 { font-size: var(--t-1); }
.aside-card p { font-size: var(--t--1); color: var(--fg-mid); }
.aside-card .big-tel { font: 600 var(--t-2)/1 var(--mono); color: var(--accent);
  text-decoration: none; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
@media (max-width: 62rem) { .aside-card { position: static; } }

.cta-band { text-align: center; display: grid; gap: 1.25rem; justify-items: center; }
.cta-band h2 { font-size: var(--t-4); }
.cta-band p { color: var(--fg-mid); max-width: 56ch; }

.crumbs { padding-block: 1.25rem 0; }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem;
  font: 400 var(--t--2)/1.5 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.crumbs a { color: var(--fg-faint); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs li + li::before { content: '/'; margin-right: 0.4rem; color: var(--rule-hard); }
.crumbs [aria-current] { color: var(--fg-mid); }

.page-head { padding-block: clamp(2.5rem, 2rem + 3vw, 4rem) 0; }
.page-head h1 { max-width: 24ch; }
.page-head .lede { margin-top: 1.25rem; max-width: 58ch; }

/* Area list — a run of place names, set as a register not a menu. */
.area-run { font-size: var(--t--1); line-height: 2; color: var(--fg-mid); }
.area-run a { color: var(--fg); text-decoration-color: var(--rule-hard); }
.area-run a:hover { color: var(--accent); }
.area-run i { color: var(--rule-hard); font-style: normal; margin-inline: 0.15rem; }

.dist-list { list-style: none; padding: 0; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 0; }
.dist-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem;
  padding: 0.7rem 0.9rem 0.7rem 0; border-bottom: 1px solid var(--rule);
  font-size: var(--t--1);
}
.dist-list .d {
  font: 400 var(--t--2)/1 var(--mono); font-variant-numeric: tabular-nums;
  color: var(--fg-faint); white-space: nowrap;
}
.dist-list a { text-decoration: none; color: var(--fg); font-weight: 500; }
.dist-list a:hover { color: var(--accent); }

/* ----------------------------------------------------------------- footer */

.site-foot {
  border-top: 1px solid var(--rule-hard);
  background: var(--bg-alt);
  padding-block: clamp(3rem, 2rem + 4vw, 4.5rem) 7rem;
  font-size: var(--t--1);
}
@media (min-width: 48rem) { .site-foot { padding-bottom: clamp(3rem, 2rem + 4vw, 4.5rem); } }

.foot-grid { display: grid; gap: 2.5rem; }
@media (min-width: 44rem) { .foot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 68rem) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 3rem; } }

.foot-mark { width: 1.6rem; height: 1.6rem; color: var(--accent); margin-bottom: 0.7rem; }
.foot-name { font: 700 var(--t-2)/1 var(--display); text-transform: uppercase; letter-spacing: 0.012em; }
.foot-line { color: var(--fg-faint); margin-top: 0.7rem; max-width: 32ch; line-height: 1.6; }
.foot-grid .field-label { margin-bottom: 0.9rem; }
.foot-addr { font-style: normal; color: var(--fg-mid); line-height: 1.75; }
.foot-addr .pc { font-family: var(--mono); font-weight: 500; color: var(--fg); letter-spacing: 0.03em; }
.plain { color: var(--fg-mid); text-decoration-color: var(--rule-hard); }
.plain:hover { color: var(--accent); }

.hours { display: grid; gap: 0.5rem; }
.hrow { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  border-bottom: 1px dotted var(--rule); padding-bottom: 0.5rem; }
.hrow dt { color: var(--fg-mid); }
.hrow dd { margin: 0; font-family: var(--mono); font-size: var(--t--2);
  font-variant-numeric: tabular-nums; color: var(--fg); white-space: nowrap; }

.foot-contact { display: grid; gap: 0.4rem; }
.big-tel { font: 600 var(--t-2)/1 var(--mono); letter-spacing: -0.02em;
  color: var(--accent); text-decoration: none; font-variant-numeric: tabular-nums; }
.big-tel:hover { color: var(--accent-hi); }
.foot-links { list-style: none; padding: 0; display: grid;
  grid-template-columns: 1fr 1fr; gap: 0.4rem 1rem; }
.foot-links a { color: var(--fg-mid); text-decoration: none; font-size: var(--t--2); }
.foot-links a:hover { color: var(--accent); }

.foot-areas { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--rule); }
.foot-areas .field-label { margin-bottom: 0.7rem; }

.foot-base {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  color: var(--fg-faint); font-size: var(--t--2);
}
.foot-plate { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.foot-plate span, .theme-btn {
  font: 400 var(--t--2)/1.4 var(--mono); letter-spacing: 0.06em;
  border: 1px solid var(--rule); padding: 0.3rem 0.5rem; color: var(--fg-faint);
  background: none; border-radius: 2px;
}
.theme-btn { cursor: pointer; }
.theme-btn:hover { color: var(--fg); border-color: var(--accent); }
.theme-val { border: 0 !important; padding: 0 !important; color: var(--accent); }

/* --------------------------------------------------------------- call bar */

.callbar {
  position: fixed; inset: auto 0 0; z-index: 88;
  display: grid; grid-template-columns: 1fr auto;
  background: var(--surface-2); border-top: 1px solid var(--rule-hard);
  box-shadow: 0 -10px 30px -20px rgb(0 0 0 / .8);
  padding-bottom: env(safe-area-inset-bottom);
}
@media (min-width: 48rem) { .callbar { display: none; } }
.callbar-tel { display: grid; gap: 0.1rem; padding: 0.7rem 1rem; text-decoration: none; color: var(--fg); }
.callbar-tel strong { font: 500 0.5625rem/1 var(--mono); letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-faint); }
.callbar-tel span { font: 600 1.0625rem/1.1 var(--mono); font-variant-numeric: tabular-nums; }
.callbar-wa {
  display: grid; place-items: center; padding: 0 1.35rem;
  background: var(--accent); color: var(--accent-on); text-decoration: none;
  font: 600 var(--t--1)/1 var(--body);
}
body { padding-bottom: 0; }
@media (max-width: 47.99rem) { body { padding-bottom: 3.75rem; } }

/* --------------------------------------------------------------- a11y/motion */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  .site-head, .callbar, .drawer, .cutaway, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}
