/* =================================================================
   Spartan Diesel: site stylesheet
   One file for the whole site. Edit the custom properties in :root
   to change colours, type, spacing and sizes everywhere.

   Contents
   1.  Design tokens
   2.  Font
   3.  Base and resets
   4.  Utilities and accessibility
   5.  Buttons
   6.  Header and navigation
   7.  Partial placeholders and fallbacks
   8.  Home: hero, facts band, services list, proof section
   9.  Shared sections: process, shop, reviews, visit, CTA band
   10. Contact band and request form
   11. Inner pages: page hero, content, FAQ, related links
   12. Footer
   13. Responsive
   14. Reduced motion and print
   ================================================================= */

/* 1. Design tokens ------------------------------------------------ */
:root {
  /* Brand colours, taken from the Spartan Diesel logo */
  --color-brand: #155A8F;        /* logo blue, deepened for white text */
  --color-brand-deep: #0F3A5E;   /* dark sections, contact band */
  --color-brand-tint: #9CCBEE;   /* blue text on dark backgrounds */
  --color-red: #C1121F;          /* logo red: call buttons and urgency only */
  --color-red-dark: #9A0E18;

  /* Neutrals (from the approved homepage concept) */
  --color-ink: #1C2026;          /* text and dark sections */
  --color-ink-2: #2B313A;
  --color-primer: #E4E6E3;       /* page background */
  --color-primer-2: #D3D7D4;     /* rules and quiet bands */
  --color-paper: #FFFFFF;
  --color-steel: #8D959C;
  --color-muted: #50575F;        /* secondary text on light backgrounds */
  --color-muted-light: #B7BEC5;  /* secondary text on dark backgrounds */
  --color-open: #23A35F;
  --color-closed: #8D959C;

  /* Type */
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --stretch-display: 125%;       /* Archivo Expanded */
  --weight-display: 850;
  --text-base: 1.125rem;         /* 18px */
  --text-small: 0.9375rem;       /* 15px */
  --text-lede: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --text-h1: clamp(2.75rem, 1.4rem + 5.2vw, 5rem);
  --text-h1-inner: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  --text-h2: clamp(2.125rem, 1.4rem + 3vw, 4rem);
  --text-h3: clamp(1.625rem, 1.3rem + 1.2vw, 2.5rem);

  /* Layout */
  --content-width: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-space: clamp(4.5rem, 3rem + 6vw, 8.125rem);
  --util-height: 44px;
  --header-height: 96px;
  --radius: 4px;
  --radius-pill: 999px;
  --shadow-card: 0 30px 60px -30px rgba(28, 32, 38, 0.45);
  --rule-heavy: 3px solid var(--color-ink);
  --button-height: 56px;
}

/* 2. Font (self-hosted, SIL Open Font License) -------------------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

/* 3. Base and resets --------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-height) + 16px); }
body {
  background: var(--color-primer);
  color: var(--color-ink);
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul[class], ol[class] { list-style: none; padding: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
address { font-style: normal; }
h1, h2, h3, h4 { line-height: 1.1; }

.wrap {
  width: 100%;
  max-width: calc(var(--content-width) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-space); }

.nowrap { white-space: nowrap; }
.display {
  font-stretch: var(--stretch-display);
  font-weight: var(--weight-display);
  letter-spacing: -0.02em;
  line-height: 0.98;
  text-wrap: balance;
}
.h2 { font-size: var(--text-h2); }
.h3 { font-size: var(--text-h3); }
.lede {
  font-size: var(--text-lede);
  line-height: 1.5;
  color: var(--color-muted);
  max-width: 38em;
  margin-top: 1.25rem;
}
.lede-light { color: var(--color-muted-light); }

/* 4. Utilities and accessibility --------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--color-ink); color: #fff;
  padding: 0.75rem 1rem; font-weight: 700; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }
:focus-visible {
  outline: 3px solid var(--color-brand);
  outline-offset: 3px;
}
.on-dark :focus-visible,
.proof :focus-visible,
.contact-band :focus-visible,
.cta-band :focus-visible,
.site-footer :focus-visible,
.facts :focus-visible { outline-color: #fff; }

/* 5. Buttons ----------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.65rem;
  min-height: var(--button-height);
  padding: 0.75rem 1.6rem;
  font-weight: 700; font-size: 1.0625rem; line-height: 1.2;
  text-decoration: none; text-align: center;
  border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn .icon { flex: none; }
.btn-call { background: var(--color-red); color: #fff; }
.btn-call:hover { background: var(--color-red-dark); }
.btn-brand { background: var(--color-brand); color: #fff; }
.btn-brand:hover { background: var(--color-brand-deep); }
.btn-outline { border-color: var(--color-ink); color: var(--color-ink); background: transparent; }
.btn-outline:hover { background: var(--color-ink); color: #fff; }
.btn-light { background: #fff; color: var(--color-ink); }
.btn-light:hover { background: var(--color-primer); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--color-ink); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: progress; }

.text-link {
  font-weight: 700; color: var(--color-brand);
  text-decoration: none; border-bottom: 2px solid currentColor;
}
.text-link:hover { color: var(--color-ink); }

/* 6. Header and navigation --------------------------------------- */
.util-bar { background: var(--color-ink); color: #D8DDE1; font-size: var(--text-small); }
.util-inner { display: flex; justify-content: space-between; align-items: center; min-height: var(--util-height); gap: 1rem; }

.status { display: inline-flex; align-items: center; gap: 0.6rem; }
.status-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--color-closed); flex: none;
}
.status.is-open .status-dot { background: var(--color-open); box-shadow: 0 0 0 4px rgba(35, 163, 95, 0.25); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--color-primer);
  border-bottom: 1px solid var(--color-primer-2);
}
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: var(--header-height); }

.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--color-ink); flex: none; }
.brand-mark { width: 64px; height: auto; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-stretch: var(--stretch-display); font-weight: 900; font-size: 1.5rem; line-height: 1; text-transform: uppercase; letter-spacing: 0.01em; }
.brand-sub { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; color: var(--color-muted); margin-top: 0.3rem; text-transform: uppercase; }

.site-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 1.9rem; font-weight: 600; font-size: 1.03rem; }
.nav-list > li > a { text-decoration: none; padding-block: 0.4rem; display: inline-block; }
.nav-list a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--color-brand); }
.nav-list > li > a:hover { color: var(--color-brand); }
.nav-inspection { display: none; }

.has-sub { position: relative; display: flex; align-items: center; gap: 0.15rem; }
.sub-toggle {
  background: none; border: 0; padding: 0.4rem; cursor: pointer; border-radius: var(--radius);
  display: inline-flex; color: var(--color-ink);
}
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.sub-menu {
  position: absolute; top: calc(100% + 14px); left: -1.25rem;
  min-width: 330px;
  background: var(--color-paper);
  border-top: 6px solid var(--color-brand);
  box-shadow: var(--shadow-card);
  padding: 0.6rem 0;
  display: none;
}
.sub-menu.is-open { display: block; }
.sub-menu a { display: block; padding: 0.7rem 1.25rem; text-decoration: none; font-weight: 600; }
.sub-menu a:hover, .sub-menu a[aria-current="page"] { background: var(--color-primer); box-shadow: none; color: var(--color-brand); }
@media (hover: hover) and (min-width: 1081px) {
  .has-sub:hover .sub-menu { display: block; }
  /* Invisible bridge so the menu stays open while the pointer moves down */
  .has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; }
}

.header-call { flex: none; min-height: 52px; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 52px; height: 52px; border: 2px solid var(--color-ink); border-radius: var(--radius);
  background: transparent; cursor: pointer; position: relative;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  position: absolute; left: 50%; width: 22px; height: 2.5px; background: var(--color-ink);
  transform: translateX(-50%); transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bars { top: 50%; margin-top: -1px; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateX(-50%) translateY(7px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translateX(-50%) translateY(-7px) rotate(-45deg); }

/* 7. Partial placeholders and fallbacks -------------------------- */
/* Placeholders reserve the space the loaded partial will take,
   so the page doesn't jump when it arrives. */
[data-partial="header"] { min-height: calc(var(--util-height) + var(--header-height)); }
.fallback-header {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  min-height: calc(var(--util-height) + var(--header-height));
  border-bottom: 1px solid var(--color-primer-2);
}
.fallback-header nav ul { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; padding: 0; font-weight: 600; }
.fallback-brand { font-stretch: var(--stretch-display); font-weight: 900; font-size: 1.4rem; text-decoration: none; text-transform: uppercase; }
.fallback-footer { background: var(--color-ink); color: #D8DDE1; padding-block: 3rem; }
.fallback-footer a { color: #fff; }

/* 8. Home -------------------------------------------------------- */
.hero { padding-top: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.hero-top { display: grid; grid-template-columns: minmax(0, 1fr) 500px; gap: 3.5rem; align-items: end; }
.pill {
  display: inline-flex; align-items: center; gap: 0.7rem;
  background: var(--color-paper); padding: 0.55rem 1rem 0.55rem 0.9rem;
  border-radius: var(--radius-pill); font-weight: 600; font-size: 1rem;
}
.hero-title { font-size: var(--text-h1); margin-top: 1.4rem; }
.hero .lede { color: var(--color-ink-2); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.4rem; }

.sheet {
  background: var(--color-paper);
  border-top: 8px solid var(--color-brand);
  padding: 1.9rem 2rem 1.6rem;
  box-shadow: var(--shadow-card);
}
.sheet-kicker { font-size: var(--text-small); font-weight: 700; color: var(--color-muted); }
.sheet-title { font-stretch: var(--stretch-display); font-weight: var(--weight-display); font-size: 1.75rem; line-height: 1.08; margin-top: 0.3rem; }
.sheet-list { margin-top: 1.3rem; border-top: var(--rule-heavy); }
.sheet-list li {
  display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; align-items: baseline;
  padding: 0.85rem 0; border-bottom: 1px solid var(--color-primer-2);
}
.sheet-list strong { font-stretch: 115%; font-weight: 800; font-size: 1.15rem; display: flex; gap: 0.55rem; align-items: center; }
.sheet-list strong svg { color: var(--color-brand); flex: none; }
.sheet-list span { font-size: var(--text-small); color: var(--color-muted); }
.sheet-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.2rem; }
.sheet-nums b { display: block; font-stretch: var(--stretch-display); font-weight: var(--weight-display); font-size: 2.9rem; line-height: 1; font-variant-numeric: tabular-nums; }
.sheet-nums span { display: block; font-size: var(--text-small); line-height: 1.4; color: var(--color-muted); margin-top: 0.3rem; }
.sheet-foot { font-size: var(--text-small); color: var(--color-muted); margin-top: 1rem; }

.hero-photo { margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem); position: relative; }
.hero-photo img { width: 100%; height: clamp(260px, 32vw, 470px); object-fit: cover; object-position: 50% 62%; }

.facts { background: var(--color-brand); color: #fff; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 2.1rem 1.75rem 2.1rem 0; margin-right: 1.75rem; border-right: 1px solid rgba(255, 255, 255, 0.22); }
.fact:last-child { border-right: 0; margin-right: 0; }
.fact-title { display: block; font-stretch: 118%; font-weight: 800; font-size: 1.45rem; line-height: 1.15; }
.fact-text { display: block; font-size: 0.97rem; color: #D5E6F4; margin-top: 0.4rem; }

.services-home .wrap { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 5rem; }
.svc-intro { align-self: start; position: sticky; top: calc(var(--header-height) + 2rem); }
.svc-intro .btn { margin-top: 2.1rem; }
.svc-list { border-bottom: var(--rule-heavy); }
.svc { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 2.5rem; padding-block: 2.25rem; border-top: var(--rule-heavy); }
.svc-title { font-stretch: var(--stretch-display); font-weight: var(--weight-display); font-size: clamp(1.75rem, 1.4rem + 1vw, 2.375rem); line-height: 1.05; }
.svc-title a { text-decoration: none; }
.svc-title a:hover { color: var(--color-brand); }
.svc p { margin-top: 0.75rem; color: var(--color-ink-2); max-width: 33em; }
.svc .text-link { display: inline-block; margin-top: 1rem; }
.spec-list { font-size: 0.97rem; color: var(--color-muted); padding-top: 0.5rem; }
.spec-list li { padding: 0.45rem 0; border-bottom: 1px solid var(--color-primer-2); }
.svc-tag { display: inline-block; font-size: 0.85rem; font-weight: 700; background: var(--color-ink); color: #fff; padding: 0.2rem 0.6rem; border-radius: var(--radius); margin-bottom: 0.7rem; }

.proof { background: var(--color-ink); color: #fff; position: relative; overflow: hidden; }
.proof .lede { color: var(--color-muted-light); }
.proof-mark { position: absolute; right: -60px; top: -40px; width: 520px; opacity: 0.06; pointer-events: none; }
.proof-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; position: relative; }
.proof-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 1.75rem; margin-top: 4rem; position: relative; }
.options { background: var(--color-ink-2); padding: 2.1rem 2.25rem 2rem; border-top: 8px solid var(--color-red); }
.options-title { font-stretch: var(--stretch-display); font-weight: var(--weight-display); font-size: clamp(1.75rem, 1.4rem + 1vw, 2.375rem); }
.options-intro { color: var(--color-muted-light); margin-top: 0.6rem; }
.option-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.6rem; }
.option { border: 1px solid #4A525C; padding: 1.4rem 1.4rem 1.5rem; }
.option-label { font-size: 0.9rem; font-weight: 700; color: var(--color-brand-tint); }
.option-name { font-stretch: 118%; font-weight: 800; font-size: 1.4rem; line-height: 1.15; margin-top: 0.35rem; }
.option p:not([class]) { color: var(--color-muted-light); font-size: 1rem; margin-top: 0.55rem; }
.options-foot { font-size: 0.95rem; color: var(--color-muted-light); margin-top: 1.25rem; }
.proof-stack { display: grid; grid-template-rows: 1fr auto; gap: 1.75rem; }
.proof-photo { position: relative; min-height: 260px; }
.proof-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.far-box { background: var(--color-brand); padding: 1.8rem 2rem; }
.far-box h3 { font-stretch: 118%; font-weight: 800; font-size: 1.5rem; line-height: 1.15; }
.far-box p { color: #D5E6F4; margin-top: 0.5rem; font-size: 1.02rem; }

/* 9. Shared sections --------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 3.75rem; }
.step { padding-right: 1.9rem; }
.step-n { display: block; font-stretch: var(--stretch-display); font-weight: var(--weight-display); font-size: 5rem; line-height: 1; color: var(--color-brand); }
.step-bar { display: block; height: 6px; background: var(--color-ink); margin: 1.1rem 0 1.4rem; }
.step:last-child .step-bar { background: var(--color-red); }
.step-title { font-weight: 800; font-size: 1.45rem; font-stretch: 112%; }
.step p { color: var(--color-ink-2); margin-top: 0.5rem; font-size: 1.05rem; }

.shop { padding-bottom: var(--section-space); }
.shop-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.75rem; }
.shop-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 330px 260px; gap: 0.9rem; }
.shop-photos figure:first-child { grid-column: 1 / 3; }
.shop-photos img { width: 100%; height: 100%; object-fit: cover; }
.shop-copy { background: var(--color-paper); padding: 3.25rem 3.1rem; display: flex; flex-direction: column; }
.shop-copy .h3 { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.9rem); }
.shop-quote { font-stretch: 118%; font-weight: 750; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.05rem); line-height: 1.18; margin-top: 1.5rem; }
.shop-quote-src { font-size: var(--text-small); color: var(--color-muted); margin-top: 0.85rem; }
.shop-copy > p:not([class]) { margin-top: 1.6rem; color: var(--color-ink-2); }
.shop-copy .text-link { align-self: flex-start; margin-top: 2rem; }

.reviews-band { background: var(--color-primer-2); padding-block: 4.4rem; }
.reviews-inner { display: flex; justify-content: space-between; align-items: center; gap: 3.75rem; }
.reviews-inner p { color: var(--color-ink-2); margin-top: 0.65rem; max-width: 40em; }
.reviews-inner .btn { flex: none; }

.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; margin-top: 3.5rem; }
.visit-photo img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; object-position: 50% 35%; }
.visit-info { background: var(--color-paper); padding: 2.75rem 2.9rem; }
.vrow { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--color-primer-2); }
.vrow:first-child { padding-top: 0; }
.vrow dt { font-weight: 700; }
.vrow dd { color: var(--color-ink-2); }
.vrow-note dd { color: var(--color-muted); }
.visit-btns { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.9rem; }

.cta-band { background: var(--color-brand-deep); color: #fff; padding-block: clamp(4rem, 3rem + 4vw, 6.5rem); }
.cta-inner { display: grid; grid-template-columns: 1fr 460px; gap: 4rem; align-items: center; }
.cta-title { font-size: clamp(2.4rem, 1.6rem + 3vw, 4.25rem); }
.cta-actions { display: grid; gap: 1rem; }

.call-block {
  display: block; text-decoration: none;
  background: var(--color-red); color: #fff;
  padding: 1.6rem 1.8rem;
  border-radius: var(--radius);
  transition: background-color 0.15s ease;
}
.call-block:hover { background: var(--color-red-dark); }
.call-block-number { display: block; font-stretch: var(--stretch-display); font-weight: var(--weight-display); font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.6rem); line-height: 1.05; font-variant-numeric: tabular-nums; }
.call-block-note { display: block; font-weight: 600; font-size: 1rem; margin-top: 0.35rem; }

/* 10. Contact band and request form ------------------------------ */
.contact-band { background: var(--color-brand-deep); color: #fff; padding-block: var(--section-space); }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1fr) 620px; gap: 5.5rem; align-items: start; }
.contact-title { font-size: clamp(2.6rem, 1.6rem + 3.4vw, 4.5rem); }
.contact-copy .call-block { margin-top: 2.4rem; }
.contact-email { margin-top: 1.25rem; color: var(--color-muted-light); }
.contact-email a { color: #fff; font-weight: 600; }

.request-form { background: var(--color-paper); color: var(--color-ink); padding: 2.5rem 2.6rem; border-radius: var(--radius); }
.form-title { font-stretch: 118%; font-weight: 800; font-size: 1.75rem; }
.form-intro { font-size: var(--text-small); color: var(--color-muted); margin-top: 0.35rem; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; margin-top: 1.5rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field-full { grid-column: 1 / -1; }
fieldset.field { border: 0; padding: 0; }
.field label, .field legend { font-size: 0.95rem; font-weight: 700; }
.field legend { margin-bottom: 0.5rem; padding: 0; }
.field input, .field textarea {
  width: 100%; min-height: 52px;
  border: 2px solid #B9C0C5; border-radius: var(--radius);
  background: #FAFBFB; padding: 0.7rem 0.85rem; font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--color-brand); outline-offset: 1px; }
.field input::placeholder, .field textarea::placeholder { color: #61686F; }
.field [aria-invalid="true"] { border-color: var(--color-red); }
.field-error { color: var(--color-red); font-size: 0.9rem; font-weight: 600; min-height: 0; }
.field-error:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px;
  border: 2px solid #B9C0C5; border-radius: var(--radius-pill);
  padding: 0.4rem 1rem; font-size: 0.95rem; font-weight: 600;
}
.chip input:checked + span { background: var(--color-ink); border-color: var(--color-ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--color-brand); outline-offset: 2px; }
.chip input[aria-invalid="true"] + span { border-color: var(--color-red); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.request-form .btn-block { margin-top: 1.6rem; }
.form-status { margin-top: 1rem; font-weight: 600; font-size: 1rem; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--color-red); }
.form-status.is-success, .form-status.is-info { background: var(--color-primer); padding: 0.85rem 1rem; border-left: 4px solid var(--color-brand); }
.form-small { font-size: 0.88rem; color: var(--color-muted); margin-top: 0.9rem; text-align: center; }

/* 11. Inner pages ------------------------------------------------ */
.page-hero { padding-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); padding-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
.breadcrumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: var(--text-small); color: var(--color-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--color-steel); }
.breadcrumb a { text-decoration: none; font-weight: 600; color: var(--color-ink); }
.breadcrumb a:hover { color: var(--color-brand); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 3.5rem; align-items: end; margin-top: 1.75rem; }
.page-title { font-size: var(--text-h1-inner); }
.page-title-solo { margin-top: 1.75rem; }
.page-hero .lede { color: var(--color-ink-2); }
.page-hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow-card); border-top: 8px solid var(--color-brand); }
.page-hero-photo.is-tall img { aspect-ratio: 4 / 4.2; }

.band-facts { margin-top: 0; }

.content { padding-block: var(--section-space); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 5rem; align-items: start; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-stretch: var(--stretch-display); font-weight: var(--weight-display); font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.75rem); line-height: 1.02; letter-spacing: -0.015em; margin-top: 3.25rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-weight: 800; font-size: 1.35rem; font-stretch: 112%; margin-top: 2rem; }
.prose p, .prose li { color: var(--color-ink-2); max-width: 40em; }
.prose ul:not([class]) { padding-left: 1.2rem; }
.prose ul:not([class]) li + li { margin-top: 0.4rem; }

.checklist { border-top: var(--rule-heavy); }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 0.75rem; padding: 0.95rem 0; border-bottom: 1px solid var(--color-primer-2); }
.checklist svg { color: var(--color-brand); margin-top: 0.2rem; }

.aside-card { background: var(--color-paper); border-top: 8px solid var(--color-red); padding: 2rem 2rem 2.1rem; position: sticky; top: calc(var(--header-height) + 2rem); }
.aside-card h2 { font-stretch: 118%; font-weight: 800; font-size: 1.6rem; line-height: 1.15; }
.aside-card p { color: var(--color-ink-2); margin-top: 0.7rem; font-size: 1.02rem; }
.aside-card .btn { width: 100%; margin-top: 1rem; }
.aside-card .btn + .btn { margin-top: 0.75rem; }
.aside-card .aside-hours { font-size: var(--text-small); color: var(--color-muted); margin-top: 1rem; }

.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; margin-top: 2.5rem; }
.photo-strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.photo-strip figcaption { font-size: 0.9rem; color: var(--color-muted); margin-top: 0.5rem; }

.faq { border-top: var(--rule-heavy); margin-top: 1.5rem; }
.faq details { border-bottom: 1px solid var(--color-primer-2); }
.faq summary {
  cursor: pointer; list-style: none; font-weight: 700; font-size: 1.15rem;
  padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0.4rem; top: 50%; width: 12px; height: 12px;
  border-right: 3px solid var(--color-brand); border-bottom: 3px solid var(--color-brand);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.15s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding-bottom: 1.2rem; color: var(--color-ink-2); max-width: 40em; }

.related { padding-bottom: var(--section-space); }
.related-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.related-list a {
  display: block; height: 100%; text-decoration: none;
  background: var(--color-paper); padding: 1.6rem 1.6rem 1.7rem;
  border-top: 5px solid var(--color-ink);
  transition: border-color 0.15s ease;
}
.related-list a:hover { border-top-color: var(--color-brand); }
.related-list strong { display: block; font-stretch: 115%; font-weight: 800; font-size: 1.3rem; line-height: 1.15; }
.related-list span { display: block; color: var(--color-muted); margin-top: 0.5rem; font-size: 1rem; }

.service-index { padding-block: 0 var(--section-space); }
.service-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.service-card { background: var(--color-paper); display: grid; grid-template-rows: 260px auto; }
.service-card img { width: 100%; height: 100%; object-fit: cover; }
.service-card-body { padding: 1.9rem 2rem 2.1rem; border-top: 6px solid var(--color-brand); }
.service-card h2 { font-stretch: var(--stretch-display); font-weight: var(--weight-display); font-size: clamp(1.6rem, 1.3rem + 0.9vw, 2.1rem); line-height: 1.05; }
.service-card h2 a { text-decoration: none; }
.service-card h2 a:hover { color: var(--color-brand); }
.service-card p { color: var(--color-ink-2); margin-top: 0.7rem; }
.service-card .text-link { display: inline-block; margin-top: 1.1rem; }
.service-card.is-wide { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
.service-card.is-wide .service-card-body { border-top: 0; border-left: 6px solid var(--color-red); align-self: center; }

.not-found { padding-block: var(--section-space); text-align: left; }
.not-found .btn { margin-top: 2rem; }
.not-found-links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }

/* 12. Footer ----------------------------------------------------- */
.site-footer { background: var(--color-ink); color: var(--color-muted-light); padding-block: 4.4rem 2.5rem; font-size: 0.97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.1fr 0.8fr 1.1fr; gap: 2.5rem; }
.footer-brand img { width: 120px; }
.footer-brand p { margin-top: 1.25rem; max-width: 22em; }
.footer-heading { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; padding: 0; }
.footer-col li { padding: 0.25rem 0; }
.site-footer a { color: #E6EAED; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-hours { margin-top: 0.9rem; }
.social { display: flex; gap: 1.1rem; margin-top: 1.1rem; }
.social a { display: inline-flex; align-items: center; gap: 0.45rem; }
.footer-legal { display: flex; justify-content: space-between; gap: 2rem; border-top: 1px solid #3A414A; margin-top: 3.5rem; padding-top: 1.5rem; font-size: 0.88rem; }
.footer-legal p:last-child { max-width: 40em; text-align: right; }

/* 13. Responsive ------------------------------------------------- */
@media (max-width: 1240px) {
  .nav-list { gap: 1.3rem; }
  .header-call .call-label { display: none; }
}

@media (max-width: 1080px) {
  :root { --header-height: 80px; }
  .brand-mark { width: 52px; }
  .brand-name { font-size: 1.25rem; }
  .nav-toggle { display: block; order: 3; margin-left: 0; }
  .header-call { margin-left: auto; }
  .site-nav {
    position: fixed; left: 0; right: 0; top: var(--header-height); bottom: 0;
    background: var(--color-primer); overflow-y: auto;
    padding: 1.5rem var(--gutter) 3rem;
    display: none; margin: 0;
    border-top: 1px solid var(--color-primer-2);
  }
  .nav-open .site-nav { display: block; }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; font-size: 1.2rem; }
  .nav-list > li { border-bottom: 1px solid var(--color-primer-2); }
  .nav-list > li > a { padding-block: 1rem; display: block; }
  .nav-list a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--color-brand); padding-left: 0.9rem; }
  .has-sub { flex-wrap: wrap; justify-content: space-between; }
  .has-sub > a { flex: 1; }
  .sub-toggle { width: 48px; height: 48px; justify-content: center; align-items: center; }
  .sub-menu { position: static; min-width: 0; width: 100%; box-shadow: none; border-top: 0; background: transparent; padding: 0 0 0.75rem 0.75rem; }
  .sub-menu a { padding: 0.75rem 0.5rem; font-size: 1.05rem; }
  .nav-inspection { display: block; border-bottom: 0 !important; padding-top: 1.5rem; }
  .nav-inspection .btn { width: 100%; }

  .hero-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .sheet { max-width: 620px; }
  .services-home .wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .svc-intro { position: static; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-stack { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .request-form { max-width: 720px; }
  .cta-inner { grid-template-columns: 1fr; gap: 2.25rem; }
  .cta-actions { max-width: 520px; }
  .content-grid { grid-template-columns: 1fr; gap: 3rem; }
  .aside-card { position: static; max-width: 560px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact { margin-right: 0; padding: 1.6rem 1.25rem 1.6rem 0; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
  .fact:nth-child(odd) { padding-right: 1.5rem; border-right: 1px solid rgba(255, 255, 255, 0.22); margin-right: 0; }
  .fact:nth-child(even) { padding-left: 1.5rem; }
  .fact:nth-last-child(-n + 2) { border-bottom: 0; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.75rem; }
  .shop-grid { grid-template-columns: 1fr; }
  .visit-grid { grid-template-columns: 1fr; }
  .visit-photo img { min-height: 0; aspect-ratio: 16 / 10; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .page-hero-photo.is-tall img { aspect-ratio: 4 / 3; }
  .service-cards { grid-template-columns: 1fr; }
  .service-card.is-wide { grid-template-columns: 1fr; grid-template-rows: 260px auto; }
  .service-card.is-wide .service-card-body { border-left: 0; border-top: 6px solid var(--color-red); }
  .related-list { grid-template-columns: 1fr; }
  .reviews-inner { flex-direction: column; align-items: flex-start; gap: 1.6rem; }
  .proof-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  :root { --text-base: 1.0625rem; --header-height: 72px; --util-height: 40px; }
  .util-address { display: none; }
  .brand-text { display: none; }
  .brand-mark { width: 48px; }
  .header-call { min-height: 48px; padding-inline: 0.9rem; font-size: 1rem; }
  .hero-ctas .btn { width: 100%; }
  .sheet { padding: 1.5rem 1.35rem 1.35rem; }
  .sheet-list li { grid-template-columns: 1fr; gap: 0.2rem; }
  .sheet-nums b { font-size: 2.3rem; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact, .fact:nth-child(odd), .fact:nth-child(even) { padding: 1.35rem 0; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
  .fact:last-child { border-bottom: 0; }
  .svc { grid-template-columns: 1fr; gap: 1rem; }
  .option-pair { grid-template-columns: 1fr; }
  .options { padding: 1.6rem 1.35rem; }
  .proof-stack { grid-template-columns: 1fr; }
  .proof-photo { min-height: 0; aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: 1fr; }
  .step { padding-right: 0; }
  .step-n { font-size: 3.75rem; }
  .shop-photos { grid-template-rows: 220px 170px; }
  .shop-copy { padding: 2.25rem 1.5rem; }
  .visit-info { padding: 1.9rem 1.35rem; }
  .vrow { grid-template-columns: 1fr; gap: 0.2rem; }
  .visit-btns .btn { width: 100%; }
  .request-form { padding: 1.75rem 1.25rem; }
  .fgrid { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .photo-strip figure:last-child { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; gap: 0.75rem; }
  .footer-legal p:last-child { text-align: left; }
  .reviews-inner .btn, .cta-actions .btn { width: 100%; }
}

/* 14. Reduced motion and print ----------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .util-bar, .site-nav, .nav-toggle, .header-call, .request-form, .cta-band, .reviews-band { display: none !important; }
  .site-header { position: static; }
  body { background: #fff; }
}
