/* ==========================================================================
   repair.css — MR. DEE'S 3D Printer & CNC Repair (/repair).

   Source: designs/final/styles.css (approved): the shared base (tokens,
   type, buttons, ruler, eyebrow, steps, FAQ, feature, footer), the workshop
   wing (.wing-workshop / .wing-workshop-light) and the repair page block
   (.repair-hero, .cta-3, .card-figure, .callband, .phone-display, .hours,
   .areas, .rates, .service*, .brands, .cta-big). Nothing here styles the
   JMM Florida shop (assets/css/shop.css).

   Differences from the design, by owner decision (two separate sites):
   - Own header: Mr. Dee's mark + wordmark on the workshop navy (matches the
     page's theme-color #0F1F3A), the repair line (305) 993-9635, the page's
     own section nav. No JMM logo, no shop nav.
   - Own footer, painted by .wing-workshop (orange accents on navy).

   Alias layer: sections with no wing class use the light defaults below
   (paper ground, teal links, orange ticks) exactly as in the design's
   repair.html; .wing-workshop / .wing-workshop-light dial the accent to
   orange. Contrast pairs are recorded in designs/final/NOTES.md; the header
   pairs added here: paper on ink 14.86, paper-dim on ink 7.85, orange on ink
   5.76 (nav hover, current marker, phone hover fill with ink text),
   teal-light focus ring on ink 9.27.
   ========================================================================== */

:root {
  /* ---- Raw colour ------------------------------------------------------- */
  --ink: #0F1F3A;          /* ink navy: text on light, dark grounds, header */
  --ink-2: #182C4E;        /* raised panel on navy */
  --ink-soft: #4E5A6E;     /* secondary text on light grounds */
  --paper: #F7F3EC;        /* light section ground */
  --paper-3: #EFE9DE;      /* call band */
  --white: #FFFFFF;        /* cards */
  --paper-dim: #A9B4C6;    /* secondary text on navy */
  --teal: #0C6F78;         /* links, eyebrows, focus on light grounds */
  --teal-light: #5FD3DC;   /* focus on navy */
  --orange: #FF6B00;       /* Mr. Dee's signal orange: fills, text on navy only */
  --orange-ink: #B84600;   /* orange as text on paper / white */
  --wa: #25D366;           /* WhatsApp green, always with ink text */
  --line: #D9D2C5;         /* decorative hairline on paper */
  --line-strong: #4E5A6E;  /* UI borders that must read (3:1+) */
  --line-navy: rgba(247, 243, 236, .18);
  --line-on-ink: rgba(247, 243, 236, .35);

  /* ---- Type ---------------------------------------------------------------- */
  --font-display: "Bricolage Grotesque", "Avenir Next Condensed", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-num: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --fs-0: .8125rem;   /* 13 */
  --fs-1: .9375rem;   /* 15 */
  --fs-2: 1.0625rem;  /* 17 body */
  --fs-3: 1.375rem;   /* 22 */
  --fs-4: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  --fs-5: clamp(2.25rem, 1.5rem + 4vw, 4.5rem);
  --fs-6: clamp(3rem, 1.2rem + 9vw, 9rem);

  /* ---- Space, radius, shadow, layout -------------------------------------- */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --r1: 4px;
  --r2: 10px;
  --shadow-1: 0 1px 0 rgba(15, 31, 58, .06), 0 14px 28px -18px rgba(15, 31, 58, .35);
  --gutter: 16px;
  --max: 1280px;

  /* ---- Alias layer: light sections (design repair.html default) ------------ */
  --wing-ground: var(--paper);
  --wing-surface: var(--white);
  --wing-ink: var(--ink);
  --wing-ink-2: var(--ink-soft);
  --wing-line: var(--line);
  --wing-line-strong: var(--line-strong);
  --wing-accent: var(--teal);
  --wing-accent-ink: var(--paper);
  --wing-accent-hover: var(--ink);
  --wing-accent-hover-ink: var(--paper);
  --wing-accent-text: var(--teal);
  --wing-link-hover: var(--ink);
  --wing-tick: var(--orange);
  --wing-tick-text: var(--orange-ink);
  --wing-focus: var(--teal);
  --wing-radius: var(--r1);
  --wing-shadow: var(--shadow-1);
  --wing-rule: var(--ink);
  --wing-rule-minor: var(--ink-soft);
  --wing-h1-size: var(--fs-5);
  --wing-h1-weight: 800;
  --wing-h1-track: -.03em;
  --wing-head-weight: 700;
  --wing-head-track: -.02em;
  --wing-display-size: var(--fs-6);
  --wing-display-weight: 800;
  --wing-display-track: -.04em;
  --wing-display-leading: .92;
}

/* ---- Workshop wings ----------------------------------------------------- */
.wing-workshop, .wing-navy, .section--dark, .section--contact, .site-header {
  --wing-ground: var(--ink);
  --wing-surface: var(--ink-2);
  --wing-ink: var(--paper);
  --wing-ink-2: var(--paper-dim);
  --wing-line: var(--line-navy);
  --wing-line-strong: var(--paper);
  --wing-accent: var(--orange);
  --wing-accent-ink: var(--ink);
  --wing-accent-hover: var(--paper);
  --wing-accent-hover-ink: var(--ink);
  --wing-accent-text: var(--orange);
  --wing-link-hover: var(--paper);
  --wing-tick: var(--orange);
  --wing-tick-text: var(--orange);
  --wing-focus: var(--teal-light);
  --wing-rule: var(--paper);
  --wing-rule-minor: var(--paper-dim);
}
.wing-workshop-light, .section--alt {
  --wing-ground: var(--paper-3);
  --wing-accent: var(--orange);
  --wing-accent-ink: var(--ink);
  --wing-accent-hover: var(--ink);
  --wing-accent-hover-ink: var(--paper);
  --wing-tick-text: var(--ink);           /* orange-ink is 4.44:1 here: not for small text */
}
.wing-workshop, .wing-navy, .wing-workshop-light, .section--dark, .section--contact, .section--alt {
  background-color: var(--wing-ground);
  color: var(--wing-ink);
}

body { --nav-current: var(--orange); }

/* ---- Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-2);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--wing-accent-text); text-underline-offset: .15em; }
/* Pointer-only, like the button hovers below: on touch a sticky a:hover would override the
   .btn text colours (paper on the green WhatsApp / orange Call fill after a tap). */
@media (hover: hover) and (pointer: fine) {
  a:hover { color: var(--wing-link-hover); }
}
h1, h2, h3 {
  font-family: var(--font-display); line-height: 1.05; margin: 0;
  font-weight: var(--wing-head-weight); letter-spacing: var(--wing-head-track);
  overflow-wrap: break-word;
}
h1 { font-size: var(--wing-h1-size); font-weight: var(--wing-h1-weight); letter-spacing: var(--wing-h1-track); }
h2 { font-size: var(--fs-4); }
h3 { font-size: var(--fs-3); }
p { margin: 0 0 var(--s4); }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--wing-focus); outline-offset: 3px; }
#main:focus { outline: none; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--orange); color: var(--ink); padding: 10px 14px; font-weight: 700; }
.skip-link:focus { left: 8px; color: var(--ink); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Utilities ------------------------------------------------------------ */
.wrap, .container { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: var(--s8) 0; }
.section-tight { padding: var(--s7) 0; }
.muted { color: var(--wing-ink-2); }
.measure { max-width: 58ch; }
.mt-4 { margin-top: var(--s4); }
.mt-5 { margin-top: var(--s5); }
.mt-6 { margin-top: var(--s6); }
.mb-4 { margin-bottom: var(--s4); }
.mb-0 { margin-bottom: 0; }
.tel { font-family: var(--font-num); font-weight: 500; white-space: nowrap; }
.band-lines { border-top: 1px solid var(--wing-line); border-bottom: 1px solid var(--wing-line); }
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 var(--s3);
  font-family: var(--font-body); font-weight: 700; font-size: var(--fs-0); line-height: 1.3;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--wing-accent-text);
}
.eyebrow::before { content: ""; flex: none; width: 20px; height: 2px; background: var(--wing-tick); }
.center .eyebrow { justify-content: center; }
.lead { font-size: clamp(1.125rem, 1rem + .6vw, 1.375rem); line-height: 1.45; max-width: 38ch; }
.section-head { display: grid; gap: var(--s3); margin-bottom: var(--s6); }
.section-head p { max-width: 60ch; margin: 0; color: var(--wing-ink-2); }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 5fr 7fr; align-items: end; gap: var(--s6); }
}
/* Legal text (/repair/privacy): same measure as the shop's .prose. */
.legal, .prose { max-width: 72ch; }
.prose h2 { margin: var(--s6) 0 var(--s3); font-size: var(--fs-3); }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 var(--s4); }
.prose li { margin-bottom: var(--s2); }
.accent { color: var(--wing-tick-text); }
.accent-2 { color: var(--wing-accent-text); }
.rule {
  height: 16px;
  border-bottom: 1px solid var(--wing-rule);
  background:
    repeating-linear-gradient(90deg, var(--wing-rule) 0 1px, transparent 1px 40px) left bottom / 100% 14px no-repeat,
    repeating-linear-gradient(90deg, var(--wing-rule-minor) 0 1px, transparent 1px 8px) left bottom / 100% 7px no-repeat;
}

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: 0 var(--s5);
  font-family: var(--font-body); font-weight: 700; font-size: var(--fs-1); line-height: 1.2;
  text-decoration: none; text-align: center;
  border-radius: var(--r1); border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--wing-accent); color: var(--wing-accent-ink); border-color: var(--wing-accent); }
.btn-ghost, .btn-secondary { background: transparent; color: var(--wing-ink); border-color: var(--wing-ink); }
.btn-wa { background: var(--wa); color: var(--ink); border-color: var(--wa); }
/* Hover only where a real pointer hovers: on phones :hover sticks after a tap (a white
   WhatsApp button that looks disabled after coming back from the chat). Touch gets :active. */
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--wing-accent-hover); color: var(--wing-accent-hover-ink); border-color: var(--wing-accent-hover); }
  .btn-ghost:hover, .btn-secondary:hover { background: var(--wing-ink); color: var(--wing-ground); }
  .btn-wa:hover { background: var(--white); color: var(--ink); border-color: var(--wing-ink); }
}
.btn:active { filter: brightness(.92); }
.btn-sm { min-height: 44px; min-width: 44px; padding: 0 var(--s3); }
.btn-lg { min-height: 56px; font-size: var(--fs-2); }
.btn-row, .cta-row { display: flex; flex-wrap: wrap; gap: var(--s3); }
.text-link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 700; color: var(--wing-accent-text); text-decoration: none;
}
.text-link span { border-bottom: 2px solid currentColor; padding-bottom: 1px; }
.text-link:hover { color: var(--wing-link-hover); }

/* ---- Header: Mr. Dee's, on the workshop navy -----------------------------
   Sticky, one row at every width; the repair phone never hides.

   360px budget (328px content box):
     mark (drawn SVG, no crop) ............................... 32
     gap inside .brand ........................................ 6
     wordmark "Mr. Dee's", Bricolage Grotesque 800 at 14px,
       9 glyphs ~5.0em net ~70; budgeted at a 6.0em ceiling .. 84
     bar gap .................................................. 6
     phone "(305) 993-9635": 14 x 0.6em x 13px = 109.2
       + padding 2 x 7 + border 2 ........................... 125.2
     bar gap .................................................. 6
     menu button ............................................. 44
     total: ~289 expected, 303.2 at the ceiling -> 24.8px spare minimum.
   390px: wordmark 15px (ceiling 90): 309.2 of 358, 48.8 spare.
   420px: icon + 6, padding 10, mark 36, wordmark 17px (ceiling 102), gaps 8:
          ~357 of 388 at the ceiling, ~31 spare.
   1024px (992 box): brand 44 + 10 + max(wordmark 20px ceiling 120, descriptor
          "3D PRINTER & CNC REPAIR" 11px caps +.1em ~182) = 236; margin 24;
          gap 16; nav "Services / Rates & areas / FAQ / Contact" 31 glyphs x
          ~.55em x 15px = 256 + padding 4 x 24 + gaps 3 x 4 = 364; gap 16;
          phone 176. Total ~832 -> ~160 spare.
   ------------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: var(--ink); color: var(--paper);
  border-bottom: 1px solid var(--line-navy);
}
.header-bar { display: flex; align-items: center; gap: var(--s2); min-height: 60px; }
.brand {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; min-width: 0; margin-right: auto;
  color: var(--paper); text-decoration: none;
}
.brand:hover { color: var(--paper); }
.brand-mark { flex: none; width: 36px; height: 36px; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-word { font-family: var(--font-display); font-weight: 800; font-size: 1.0625rem; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.brand-word small { display: none; }
.header-phone {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 10px;
  font-family: var(--font-num); font-weight: 500; font-size: var(--fs-0);
  color: var(--paper); text-decoration: none; white-space: nowrap;
  border: 1px solid var(--paper-dim); border-radius: var(--r1);
}
@media (hover: hover) and (pointer: fine) {
  .header-phone:hover { background: var(--orange); color: var(--ink); border-color: var(--orange); }
}
.header-phone svg { width: 14px; height: 14px; }
.menu-btn {
  flex: none; min-width: 44px; min-height: 44px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--paper-dim); border-radius: var(--r1);
  color: var(--paper); cursor: pointer;
}
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .ic-close { display: none; }
.menu-btn[aria-expanded="true"] .ic-open { display: none; }
.menu-btn[aria-expanded="true"] .ic-close { display: block; }
.site-nav ul { list-style: none; display: flex; flex-direction: column; }
.site-nav a {
  display: flex; align-items: center; min-height: 48px; padding: 0 var(--s2);
  color: var(--paper); text-decoration: none; font-weight: 500; font-size: var(--fs-2);
  border-bottom: 1px solid var(--line-navy);
}
.site-nav li:last-child a { border-bottom: 0; }
@media (hover: hover) and (pointer: fine) {
  .site-nav a:hover { color: var(--orange); }   /* on touch it would stick and look like the current item */
}
.site-nav a[aria-current="page"] { color: var(--orange); font-weight: 700; }
.site-nav a[aria-current="page"]::before { content: ""; width: 8px; height: 8px; background: var(--nav-current); border-radius: 50%; margin-right: 10px; }
/* With JS: the nav is a drop panel under the sticky bar */
.js .site-nav {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--ink); border-bottom: 1px solid var(--line-navy);
  box-shadow: 0 16px 24px -16px rgba(0, 0, 0, .5);
  padding: var(--s1) var(--gutter) var(--s3);
  max-height: calc(100vh - 61px); overflow-y: auto;
}
.js .site-nav.is-open { display: block; }
/* Without JS: the nav is always visible as a second row; no menu button */
html:not(.js) .header-bar { flex-wrap: wrap; }
html:not(.js) .site-nav { order: 10; flex-basis: 100%; border-top: 1px solid var(--line-navy); }
html:not(.js) .menu-btn { display: none; }
@media (max-width: 419px) {
  .header-bar { gap: 6px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-word { font-size: .9375rem; }
  .header-phone { padding: 0 7px; }
  .header-phone svg { display: none; }
}
@media (max-width: 379px) {
  .brand-word { font-size: .875rem; }
}
@media (min-width: 1024px) {
  .header-bar { min-height: 72px; gap: var(--s4); }
  .brand { gap: 10px; margin-right: var(--s5); }
  .brand-mark { width: 44px; height: 44px; }
  .brand-word { font-size: 1.25rem; }
  .brand-word small { display: block; margin-top: 5px; font-family: var(--font-body); font-weight: 500; font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--paper-dim); }
  .menu-btn { display: none; }
  .site-nav, .js .site-nav, html:not(.js) .site-nav {
    display: block; position: static; order: 0; flex-basis: auto;
    background: none; border: 0; box-shadow: none; padding: 0;
    max-height: none; overflow: visible; margin-right: auto;
  }
  .site-nav ul { flex-direction: row; gap: var(--s1); }
  .site-nav a { min-height: 44px; border-bottom: 2px solid transparent; padding: 0 var(--s3); font-size: var(--fs-1); white-space: nowrap; }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--nav-current); }
  .site-nav a[aria-current="page"]::before { display: none; }
  .header-phone { font-size: var(--fs-1); padding: 0 14px; }
}

/* ---- Hero --------------------------------------------------------------- */
.hero { padding: var(--s5) 0 var(--s7); }
.hero-grid { display: grid; gap: var(--s6); align-items: center; }
.hero h1 { max-width: 16ch; }
.hero .lead { margin: var(--s4) 0 var(--s5); }
.hero-facts, .trust { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin-top: var(--s5); font-size: var(--fs-1); color: var(--wing-ink-2); }
.hero-facts li, .trust li { display: inline-flex; align-items: center; gap: var(--s2); }
.hero-facts li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 1px; background: var(--wing-tick); }
@media (min-width: 900px) {
  .hero { padding: var(--s7) 0 var(--s8); }
  .hero-grid { grid-template-columns: 7fr 5fr; gap: var(--s8); }
}

/* ---- Repair page --------------------------------------------------------
   Hero: Call, WhatsApp and SMS sit above the fold at 390x844 and 1366x768.
   h1 is 32px at 390 and caps at 56px (22ch); the lead is capped at 50ch.
   Estimated button bottoms: ~525px at 390x844, ~585px at 1366x768. */
.repair-hero, .hero--repair { --wing-h1-size: clamp(2rem, 1.2rem + 3vw, 3.5rem); padding: var(--s5) 0 var(--s7); }
.repair-hero h1, .hero--repair h1 { max-width: 22ch; line-height: 1.04; }
.repair-hero .lead, .hero--repair .lead { max-width: 50ch; margin: var(--s4) 0 var(--s5); color: var(--wing-ink-2); }
.hero--repair { background: var(--ink); color: var(--paper); --wing-ink-2: var(--paper-dim); --wing-accent: var(--orange); --wing-accent-ink: var(--ink); --wing-accent-text: var(--orange); --wing-tick-text: var(--orange); --wing-ink: var(--paper); --wing-focus: var(--teal-light); }
.hero--repair .hero__media img { width: 100%; max-height: 42vh; object-fit: cover; }
.hero--repair .hero__content { padding-top: var(--s5); }
.cta-3 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); }
.cta-3 .btn:first-child { grid-column: 1 / -1; }
@media (min-width: 560px) {
  .cta-3 { display: flex; flex-wrap: wrap; gap: var(--s3); }
}
@media (min-width: 900px) {
  .repair-hero { padding: var(--s6) 0 var(--s7); }
}
.card-figure { margin: 0; }
.card-figure img { width: 100%; height: auto; border-radius: var(--r2); box-shadow: 0 0 0 1px var(--line-navy), 0 24px 40px -24px rgba(0, 0, 0, .6); }
.card-figure figcaption { margin-top: var(--s3); font-size: var(--fs-1); color: var(--wing-ink-2); }

/* Call band: directly under the hero. Phone as the display moment,
   hours, the eight cities and the five labour rates, before services. */
.callband { padding: var(--s5) 0 var(--s7); }
.callband-grid { display: grid; gap: var(--s6); margin-top: var(--s5); }
.callband h2 { font-size: var(--fs-3); }
.callband h3 { margin-bottom: var(--s3); font-size: var(--fs-2); font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.phone-display {
  display: inline-flex; flex-wrap: wrap; align-items: center; min-height: 44px;
  margin: var(--s3) 0 var(--s2);
  font-family: var(--font-num); font-weight: 500; font-size: clamp(2rem, 1rem + 6vw, 5.5rem); line-height: 1; letter-spacing: -.02em;
  color: var(--wing-ink); text-decoration: none;
}
.phone-display:hover { color: var(--wing-accent-text); }
.hours { margin: 0; font-size: var(--fs-2); }
.hours strong { font-weight: 700; }
@media (min-width: 900px) {
  .callband-grid { grid-template-columns: 5fr 7fr; column-gap: var(--s8); }
  .callband-call { grid-column: 1 / -1; }
}
.areas { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px var(--s4); font-size: var(--fs-1); }
.areas li { display: flex; align-items: baseline; gap: var(--s2); }
.areas li::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--orange); border-radius: 1px; }
.rates { width: 100%; border-collapse: collapse; font-size: var(--fs-1); }
.rates th, .rates td { padding: 10px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--wing-line); }
.rates th { font-weight: 700; font-size: var(--fs-0); letter-spacing: .08em; text-transform: uppercase; color: var(--wing-ink-2); }
.rates td:last-child, .rates th:last-child { text-align: right; }
.rates td:last-child { font-family: var(--font-num); font-weight: 500; color: var(--wing-ink); white-space: nowrap; }
.note { margin: var(--s3) 0 0; font-size: var(--fs-1); color: var(--wing-ink-2); }
.service-grid, .grid { list-style: none; display: grid; gap: var(--s5); }
.service, .card { padding: var(--s5); background: var(--wing-surface); color: var(--wing-ink); border: 1px solid var(--wing-line); border-radius: var(--r1); box-shadow: var(--shadow-1); }
.service .code, .card__ico { display: block; margin-bottom: var(--s3); font-weight: 700; font-size: var(--fs-0); letter-spacing: .08em; color: var(--wing-tick-text); }
.service h3, .card h3 { margin-bottom: var(--s2); font-size: var(--fs-3); }
.service p, .card p { margin: 0; color: var(--wing-ink-2); }
@media (min-width: 640px) { .service-grid, .grid--2, .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .service-grid, .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.brands, .brand-list { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.center .brand-list { justify-content: center; }
.brands li, .brand-list li { padding: var(--s3) var(--s4); border: 1px solid var(--wing-ink); border-radius: var(--r1); font-family: var(--font-display); font-weight: 700; font-size: var(--fs-3); line-height: 1.2; }
.brands small, .brand-list small { display: block; font-family: var(--font-body); font-weight: 400; font-size: var(--fs-0); color: var(--wing-ink-2); }
.faq { max-width: 820px; }
.center .faq { margin-left: auto; margin-right: auto; text-align: left; }
.faq details { border-top: 1px solid var(--wing-ink); }
.faq details:last-child { border-bottom: 1px solid var(--wing-ink); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s4);
  min-height: 44px; padding: var(--s4) 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-3); line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
/* The sign is decoration: '/ ""' keeps it out of the summary's accessible name ("…? plus,
   collapsed"). The plain content line first is the fallback for browsers without the syntax. */
.faq summary::after { content: "+"; content: "+" / ""; flex: none; font-weight: 400; font-size: 1.5rem; color: var(--wing-tick-text); }
.faq details[open] summary::after { content: "\2013"; content: "\2013" / ""; }
.faq .ans, .faq__answer { max-width: 65ch; padding: 0 0 var(--s5); color: var(--wing-ink-2); }
.cta-big { display: grid; gap: var(--s3); margin-top: var(--s5); }
.cta-big .btn { min-height: 56px; font-size: var(--fs-2); }
@media (min-width: 700px) { .cta-big { grid-template-columns: repeat(3, max-content); } }

/* ---- Steps ---------------------------------------------------------------- */
.steps { list-style: none; counter-reset: step; display: grid; gap: var(--s5); text-align: left; }
.steps li { counter-increment: step; padding-top: var(--s4); border-top: 2px solid var(--wing-ink); }
.steps li::before { content: "0" counter(step); display: block; margin-bottom: var(--s2); font-weight: 700; font-size: var(--fs-0); letter-spacing: .08em; color: var(--wing-tick-text); }
.steps li:has(.step__num)::before { content: none; }
.step__num { display: block; margin-bottom: var(--s2); font-weight: 700; font-size: var(--fs-0); letter-spacing: .08em; color: var(--wing-tick-text); }
.steps h3 { margin-bottom: var(--s2); font-size: var(--fs-3); }
.steps p { margin: 0; color: var(--wing-ink-2); }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* ---- Two-column feature (contact band + spindle drawing) ------------------ */
.feature { display: grid; gap: var(--s6); align-items: center; }
.feature figure { margin: 0; }
.feature figure img { width: 100%; height: auto; border-radius: var(--wing-radius); }
.feature .plate { background: var(--paper); }
@media (min-width: 900px) {
  .feature { grid-template-columns: 7fr 5fr; gap: var(--s8); }
}

/* ---- Contract layer for the pre-design /repair markup (STACK.md §8) ------ */
.center { text-align: center; }
.center .cta-row { justify-content: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-title { margin-bottom: var(--s5); font-size: var(--fs-4); }
.info-grid { text-align: left; margin-top: var(--s5); }
.info-box { padding: var(--s5); background: var(--wing-surface); color: var(--wing-ink); border: 1px solid var(--wing-line); border-radius: var(--r1); }
.info-box h3 { margin-bottom: var(--s3); }
.info-list { list-style: none; display: grid; gap: 6px; }
.info-list--rates li { display: flex; justify-content: space-between; gap: var(--s4); padding: 6px 0; border-bottom: 1px solid var(--wing-line); }
.info-list--rates strong { font-family: var(--font-num); font-weight: 500; }
.email-line, .nap { margin-top: var(--s5); color: var(--wing-ink-2); }

/* ---- Footer (painted by .wing-workshop) ----------------------------------- */
.site-footer { padding: var(--s8) 0 var(--s6); font-size: var(--fs-1); color: var(--wing-ink-2); }
.site-footer a { color: var(--wing-ink); text-decoration: none; }
.site-footer a:hover { color: var(--wing-accent-text); text-decoration: underline; }
.footer-grid { display: grid; gap: var(--s6); }
.footer-grid h2 { margin-bottom: var(--s2); font-family: var(--font-body); font-size: var(--fs-0); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--wing-accent-text); }
.footer-grid ul { list-style: none; display: grid; }
.footer-grid li a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-grid .label { display: inline-block; min-width: 6.5em; font-size: var(--fs-0); color: var(--wing-ink-2); }
.site-footer__hours li, .site-footer__areas li { padding: 4px 0; color: var(--wing-ink); }
.site-footer__areas { grid-template-columns: 1fr 1fr; column-gap: var(--s4); }
.site-footer__col .site-footer__note { margin: var(--s2) 0 0; }
.footer-brand { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s3); color: var(--wing-ink); font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; line-height: 1.1; }
.footer-brand small { display: block; margin-top: 4px; font-family: var(--font-body); font-weight: 400; font-size: var(--fs-0); letter-spacing: .02em; color: var(--wing-ink-2); }
.footer-logo { flex: none; width: 64px; height: 64px; }
.footer-logo img { width: 100%; height: 100%; object-fit: contain; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--wing-line); font-size: var(--fs-0); }
.footer-legal p { margin: 0; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: .2em; }
/* The ONE discreet cross-link to the shop: small, secondary colour. */
.footer-cross { color: var(--wing-ink-2); }
@media (min-width: 700px) { .footer-cross { margin-left: auto; } }
.site-footer .footer-cross a { color: var(--wing-ink-2); }
.site-footer .footer-cross a:hover { color: var(--wing-ink); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 4fr 3fr 2fr 3fr; } }

/* ---- Motion ------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .service { transition: transform .2s ease, box-shadow .2s ease; }
}
/* The cards are not links: no lift on touch (it would stick after a tap and suggest they open). */
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .service:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(15, 31, 58, .06), 0 22px 36px -20px rgba(15, 31, 58, .4); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---- Print -------------------------------------------------------------- */
@media print {
  .site-header, .menu-btn, .cta-3, .cta-big, .site-footer { display: none; }
  body { background: #fff; color: #000; }
}

/* mobile-fix: repair ========================================================= */

/* Hero headline on narrow phones (below 380px: 360px Android, 375px iPhone SE / mini).
   Bricolage is 8% wider than the fallback Android draws first (Roboto), so at 360px the
   headline goes from 3 lines to 4 when the font arrives and the Call / WhatsApp / Text
   buttons drop 33px under the visitor's thumb. Here the h1 uses the same file with
   font-display: optional: Bricolage when it is ready within the first ~100ms (repeat
   visits, fast networks), otherwise the fallback for the whole visit, never a swap.
   No "Bricolage Grotesque" after it in the stack: that face swaps, which is the jump.
   Wider screens keep swap: the headline wraps to the same line count in both fonts. */
@font-face {
  font-family: 'Bricolage Grotesque Hero';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: optional;
  src: url(/assets/fonts/bricolage-grotesque.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@media (max-width: 379px) {
  .repair-hero h1, .hero--repair h1 { font-family: 'Bricolage Grotesque Hero', "Avenir Next Condensed", "Helvetica Neue", Arial, sans-serif; }
}

/* Contact band: email and Instagram as two rows with 44px link targets (they were
   inline links on adjacent 27px lines). */
.contact-alt { list-style: none; display: grid; gap: var(--s2); }
.contact-alt a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
