/* ==========================================================================
   NextGen Diesel Inc. — Site stylesheet
   --------------------------------------------------------------------------
   This is the ONE stylesheet for the entire website. Every page loads it.
   Edit the design tokens in section 1 to change colors, fonts, spacing and
   sizes site-wide.

   Contents
   1.  Design tokens (colors, type, spacing — edit these first)
   2.  Fonts (local files in /assets/fonts)
   3.  Reset & base elements
   4.  Layout helpers (container, sections, grids)
   5.  Typography helpers (eyebrows, headings, prose)
   6.  Buttons & links
   7.  Utility bar & header & navigation
   8.  Mobile menu & sticky mobile call bar
   9.  Home hero
   10. Need router
   11. Services index
   12. Process steps
   13. Reviews
   14. Fleet & mobile band (with radius map)
   15. Crew / team
   16. Community
   17. Request service panel & form
   18. Footer
   19. Interior page hero & breadcrumbs
   20. Content pages (prose, sidebar, FAQ, cards, grids)
   21. Partial-loading fallbacks
   22. Motion & reduced motion
   23. Print
   ========================================================================== */


/* 1. DESIGN TOKENS ======================================================== */
:root {
  /* Brand color — from the strategy document's palette */
  --red: #D9202A;            /* Primary: buttons, key words, active states   */
  --red-hi: #F2232E;         /* Gradient start (logo, final CTA, toy drive)  */
  --red-lo: #A8141D;         /* Gradient end, button hover                   */
  --red-text: #B81C25;       /* Red for SMALL text on light/concrete (AA)    */
  --red-on-dark: #FF5A62;    /* Red for small text on graphite (AA)          */

  /* Neutrals */
  --graphite: #1C1E21;       /* Text, dark bands, footer                     */
  --graphite-2: #26292D;     /* Raised surfaces on dark bands                */
  --graphite-3: #33373C;     /* Borders on dark bands                        */
  --steel: #5B6169;          /* Secondary text, mono labels                  */
  --steel-light: #AEB3BA;    /* Secondary text on dark bands                 */
  --shop-white: #F5F3EF;     /* Page background                              */
  --concrete: #E6E2DB;       /* Alternating sections                         */
  --hairline: #D3CDC3;       /* Rules and borders                            */
  --white: #FFFFFF;

  /* Repair-tag accent (manila) */
  --tag: #EADBB6;
  --tag-ink: #6B5A33;
  --manila-band: #EDE3CF;    /* Community section background                 */

  /* Typography */
  --font-display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-stretch: 112%;   /* Expanded headings (Archivo width axis)       */

  --fs-h1: clamp(2.875rem, 1.6rem + 5.2vw, 5.75rem);   /* 46 → 92px */
  --fs-h1-page: clamp(2.5rem, 1.7rem + 3.4vw, 4.25rem);/* interior pages */
  --fs-h2: clamp(2.125rem, 1.4rem + 3vw, 3.875rem);    /* 34 → 62px */
  --fs-h3: clamp(1.375rem, 1.1rem + 1vw, 2.125rem);    /* 22 → 34px */
  --fs-h4: 1.25rem;
  --fs-body: 1.0625rem;      /* 17px */
  --fs-small: 0.90625rem;    /* 14.5px */
  --fs-mono: 0.75rem;        /* 12px */
  --fs-nav: 0.96875rem;      /* 15.5px */
  --lh-body: 1.6;

  /* Layout */
  --content-width: 1240px;
  --prose-width: 46rem;
  --gutter: 20px;
  --page-pad: clamp(20px, 4vw, 40px);
  --section-pad: 120px;      /* desktop; reduced in media queries below    */
  --header-height: 84px;
  --utility-height: 36px;

  /* Shape */
  --radius: 0;               /* Square corners per the design system       */
  --chamfer: 14px;           /* Wrench-jaw cut on primary buttons          */
  --notch: 34px;             /* Stepped-N notch on photo frames            */
  --shadow-card: 0 10px 28px rgba(28, 30, 33, 0.12);
  --shadow-tag: 0 14px 30px rgba(28, 30, 33, 0.18);

  --focus-ring: 3px solid var(--graphite);
  --focus-offset: 3px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (max-width: 1199px) { :root { --section-pad: 80px; --header-height: 76px; } }
@media (max-width: 767px)  { :root { --section-pad: 56px; --header-height: 66px; } }


/* 2. FONTS ================================================================ */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-var.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}


/* 3. RESET & BASE ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-height) + 16px); }
body {
  margin: 0;
  background: var(--shop-white);
  color: var(--graphite);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
img { background-color: var(--concrete); }
img[src$=".png"], img[src$=".svg"] { background-color: transparent; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-offset); }
.on-dark :focus-visible, .on-red :focus-visible { outline-color: var(--white); }
[hidden] { display: none !important; }
::selection { background: var(--red); color: var(--white); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--graphite); color: var(--white);
  padding: 12px 18px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.nowrap { white-space: nowrap; }
.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;
}


/* 4. LAYOUT =============================================================== */
.container {
  width: 100%;
  max-width: calc(var(--content-width) + var(--page-pad) * 2);
  margin-inline: auto;
  padding-inline: var(--page-pad);
}
.section { padding-block: var(--section-pad); position: relative; }
.section--concrete { background: var(--concrete); }
.section--white { background: var(--white); }
.section--dark { background: var(--graphite); color: var(--white); }
.section--manila { background: var(--manila-band); }
.section--tight { padding-block: calc(var(--section-pad) * .6); }
.section + .section--flush-top { padding-top: 0; }

/* Subtle warm grain on light sections (pure CSS, no image request) */
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .36 0 0 0 0 .2 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Section heading row: headline left, supporting copy right */
.section-head {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px 64px; align-items: end; margin-bottom: 56px;
}
.section-head__intro { color: var(--steel); max-width: 34rem; }
.section--dark .section-head__intro { color: var(--steel-light); }
@media (max-width: 899px) {
  .section-head { grid-template-columns: 1fr; margin-bottom: 36px; }
}


/* 5. TYPOGRAPHY =========================================================== */
.display, h1, h2, h3, .h1, .h2, .h3 {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
h1, .h1 { font-size: var(--fs-h1); line-height: .98; letter-spacing: -0.035em; }
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); line-height: 1.1; letter-spacing: -0.015em; }
h4, .h4 { font-family: var(--font-display); font-stretch: 105%; font-weight: 700; font-size: var(--fs-h4); line-height: 1.25; }
.text-red { color: var(--red); }
.section--dark .text-red { color: var(--red-hi); }

/* Mono label — section numbers, tags, captions */
.mono {
  font-family: var(--font-mono); font-weight: 500; font-size: var(--fs-mono);
  letter-spacing: .14em; text-transform: uppercase; line-height: 1.5;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-weight: 500; font-size: var(--fs-mono);
  letter-spacing: .14em; text-transform: uppercase; color: var(--steel);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); flex: none; }
.section--dark .eyebrow, .on-dark .eyebrow { color: var(--steel-light); }
.eyebrow--red { color: var(--red-text); }
.lede { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); color: var(--steel); max-width: 36rem; }
.section--dark .lede, .on-dark .lede { color: var(--steel-light); }

/* Long-form content (service, repair, article, legal pages) */
.prose { max-width: var(--prose-width); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); margin-top: 2.2em; }
.prose h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); margin-top: 1.9em; }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: .55em; }
.prose li::marker { color: var(--red); }
.prose li > p { margin: 0; }
.prose strong { font-weight: 600; }
.prose a { text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose a:hover { text-decoration-thickness: 4px; }
.prose blockquote { border-left: 3px solid var(--red); padding-left: 1.2em; font-style: italic; }


/* 6. BUTTONS & LINKS ====================================================== */
.btn {
  --btn-bg: var(--red); --btn-fg: var(--white); --btn-border: transparent;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  font-family: var(--font-display); font-stretch: 105%; font-weight: 700; font-size: 1rem; line-height: 1.2;
  letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  color: var(--btn-fg); background: transparent; border: 0;
  transition: transform .12s var(--ease), color .15s;
}
/* The fill sits on ::before so the wrench-jaw chamfer never clips the focus ring */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-bg); border: 2px solid var(--btn-border);
  clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, 0 100%);
  transition: background-color .15s;
}
.btn:hover { --btn-bg: var(--red-lo); }
.btn:active { transform: translateY(1px); }
.btn .arrow { transition: transform .15s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn--secondary { --btn-bg: transparent; --btn-fg: var(--graphite); --btn-border: var(--graphite); }
.btn--secondary::before { clip-path: none; }
.btn--secondary:hover { --btn-bg: var(--graphite); --btn-fg: var(--white); color: var(--white); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--red-lo); }
.btn--light:hover { --btn-bg: var(--shop-white); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-border: rgba(255,255,255,.7); }
.btn--ghost-light::before { clip-path: none; }
.btn--ghost-light:hover { --btn-bg: var(--white); color: var(--graphite); }
.btn--block { width: 100%; }
.btn--small { min-height: 44px; padding: 10px 18px; font-size: .9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link {
  font-weight: 600; text-decoration: underline; text-decoration-color: var(--red);
  text-decoration-thickness: 2px; text-underline-offset: 4px; transition: text-decoration-thickness .12s;
}
.link:hover { text-decoration-thickness: 4px; }
.link--arrow { display: inline-flex; gap: 8px; align-items: center; }
.on-dark .link, .section--dark .link { color: var(--white); }

.arrow { display: inline-block; width: 1em; height: 1em; flex: none; }


/* 7. UTILITY BAR, HEADER & NAVIGATION ===================================== */
.utility-bar {
  background: var(--graphite); color: var(--steel-light);
  font-size: .8125rem; min-height: var(--utility-height);
}
.utility-bar .container {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: var(--utility-height);
}
.utility-bar__group { display: flex; align-items: center; gap: 28px; }
.utility-bar a { color: var(--white); text-decoration: none; font-weight: 600; }
.utility-bar a:hover { text-decoration: underline; text-decoration-color: var(--red-hi); }
.open-status { display: inline-flex; align-items: center; gap: 8px; }
.open-status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--steel); flex: none; }
.open-status[data-state="open"] .open-status__dot { background: #3CCB6E; box-shadow: 0 0 0 3px rgba(60, 203, 110, .2); }
.open-status[data-state="closed"] .open-status__dot { background: var(--red-hi); }
.open-status strong { color: var(--white); font-weight: 600; }
@media (max-width: 1023px) { .utility-bar__address, .utility-bar__mobile { display: none; } }
@media (max-width: 599px) { .utility-bar__hours { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 243, 239, .96);
  border-bottom: 1px solid var(--hairline);
  backdrop-filter: saturate(1.2) blur(6px);
}
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-height); }
.brand { display: block; flex: none; line-height: 0; }
.brand img { width: 172px; height: auto; }
@media (max-width: 767px) { .brand img { width: 136px; } }

.primary-nav { margin-inline: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px;
  font-family: var(--font-body); font-weight: 500; font-size: var(--fs-nav); white-space: nowrap;
  color: var(--graphite); text-decoration: none; background: none; border: 0;
  background-image: linear-gradient(var(--red), var(--red));
  background-size: 0 2px; background-position: 12px calc(100% - 6px); background-repeat: no-repeat;
  transition: background-size .2s var(--ease);
}
.nav-link:hover, .nav-link[aria-current="page"], .nav-link[aria-expanded="true"], .nav-link.is-active {
  background-size: calc(100% - 24px) 2px;
}
.nav-caret { width: 10px; height: 10px; transition: transform .2s; }
.nav-toggle[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: -8px; z-index: 60;
  min-width: 260px; padding: 12px; background: var(--white);
  border: 1px solid var(--hairline); box-shadow: var(--shadow-card);
  display: none;
}
.dropdown.is-open { display: block; }
.dropdown--services { width: min(720px, 90vw); left: -20px; display: none; grid-template-columns: repeat(3, 1fr); gap: 4px 20px; padding: 22px; }
.dropdown--services.is-open { display: grid; }
.dropdown__group-title { color: var(--red-text); margin: 4px 10px 6px; }
.dropdown ul { list-style: none; margin: 0; padding: 0; }
.dropdown a {
  display: block; padding: 8px 10px; text-decoration: none; font-size: .9375rem; color: var(--graphite);
  border-left: 2px solid transparent;
}
.dropdown a:hover, .dropdown a:focus-visible { background: var(--shop-white); border-left-color: var(--red); }
.dropdown__footer { grid-column: 1 / -1; display: flex; gap: 20px; border-top: 1px solid var(--hairline); margin-top: 10px; padding-top: 12px; }
.dropdown__footer a { font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 22px; flex: none; }
.header-call { display: grid; text-decoration: none; line-height: 1.15; text-align: right; }
.header-call__label { color: var(--steel); font-size: 10.5px; }
.header-call__number { font-family: var(--font-display); font-stretch: 108%; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; }
.header-call:hover .header-call__number { color: var(--red); }

.menu-toggle {
  display: none; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 8px 12px;
  background: var(--graphite); color: var(--white); border: 0; font-weight: 600; font-size: .875rem;
}
.menu-toggle__bars { width: 18px; height: 12px; position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after, .menu-toggle__bars span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
}
.menu-toggle__bars::before { top: 0; } .menu-toggle__bars span { top: 5px; } .menu-toggle__bars::after { bottom: 0; }

@media (max-width: 1239px) {
  .nav-link { padding-inline: 9px; }
  .header-inner { gap: 18px; }
  .header-call { display: none; }
}
@media (max-width: 1079px) {
  .primary-nav, .header-actions .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .header-call { display: grid; }
}
@media (max-width: 479px) { .header-call { display: none; } }


/* 8. MOBILE MENU & STICKY MOBILE CALL BAR ================================= */
.mobile-menu {
  position: fixed; inset: 0; z-index: 120; background: var(--shop-white);
  display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
}
.mobile-menu__top {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-height); padding-inline: var(--page-pad); border-bottom: 1px solid var(--hairline);
}
.mobile-menu__close {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px;
  background: var(--graphite); color: var(--white); border: 0; font-weight: 600; font-size: .875rem;
}
.mobile-menu__body { padding: 24px var(--page-pad) 120px; display: grid; gap: 24px; }
.mobile-menu__call {
  display: grid; gap: 2px; padding: 18px 20px; background: var(--red); color: var(--white); text-decoration: none;
}
.mobile-menu__call .h3 { font-size: 1.75rem; }
.mobile-menu__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
.mobile-menu__list > li { border-bottom: 1px solid var(--hairline); }
.mobile-menu__link, .mobile-menu__toggle {
  display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 56px;
  padding: 10px 0; background: none; border: 0; text-align: left; text-decoration: none;
  font-family: var(--font-display); font-stretch: 108%; font-weight: 700; font-size: 1.25rem; color: var(--graphite);
}
.mobile-menu__toggle[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }
.mobile-menu__sub { list-style: none; margin: 0 0 14px; padding: 0 0 0 14px; border-left: 2px solid var(--red); }
.mobile-menu__sub a { display: block; padding: 10px 0; min-height: 44px; text-decoration: none; color: var(--graphite); }
.has-menu-open { overflow: hidden; }

.mobile-callbar { display: none; }
@media (max-width: 767px) {
  .mobile-callbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: grid; grid-template-columns: 1fr 1fr;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--graphite); box-shadow: 0 -8px 24px rgba(0,0,0,.18);
  }
  .mobile-callbar a {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px;
    font-family: var(--font-display); font-stretch: 105%; font-weight: 700; text-decoration: none; color: var(--white);
  }
  .mobile-callbar a + a { background: var(--red); }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
}


/* 9. HOME HERO ============================================================ */
.hero {
  position: relative; overflow: hidden; padding: 64px 0 0;
  /* Faint 12-column hairlines */
  background-image: repeating-linear-gradient(90deg, transparent 0, transparent calc((min(100vw, 1320px) / 12) - 1px), rgba(211, 205, 195, .45) calc((min(100vw, 1320px) / 12) - 1px), rgba(211, 205, 195, .45) calc(min(100vw, 1320px) / 12));
  background-position: center top;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 48px; align-items: start; }
.hero__title { margin-bottom: 28px; }
.hero__title .line { display: block; }
.hero__lede { font-size: 1.125rem; color: #3E434A; max-width: 33rem; margin-bottom: 32px; }
.hero__facts {
  display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 44px;
  border-top: 1px solid var(--hairline);
}
.hero__fact { padding: 16px 18px 26px 0; }
.hero__fact + .hero__fact { padding-left: 18px; border-left: 1px solid var(--hairline); }
.hero__fact .mono { color: var(--red-text); display: block; margin-bottom: 6px; font-size: 11px; }
.hero__fact p { font-size: .875rem; color: var(--steel); line-height: 1.45; }

.hero__media { position: relative; padding: 0 0 70px 0; }
.notched {
  clip-path: polygon(0 var(--notch), var(--notch) var(--notch), var(--notch) 0, 100% 0, 100% 100%, 0 100%);
}
.hero__photo { width: 100%; aspect-ratio: 5 / 4.4; object-fit: cover; object-position: 50% 78%; }
.hero__inset {
  position: absolute; left: -36px; bottom: 0; width: 46%; border: 6px solid var(--white);
  box-shadow: var(--shadow-card); background: var(--white);
}
.hero__inset img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 60%; width: 100%; }
.repair-tag {
  position: absolute; z-index: 2; background: var(--tag); color: var(--graphite);
  padding: 18px 22px 18px 34px; box-shadow: var(--shadow-tag); max-width: 290px;
}
.repair-tag::before { /* punched hole */
  content: ""; position: absolute; left: 12px; top: 50%; width: 10px; height: 10px; margin-top: -5px;
  border-radius: 50%; background: var(--shop-white); box-shadow: inset 0 1px 2px rgba(0,0,0,.35);
}
.repair-tag .mono { color: var(--tag-ink); display: block; margin-bottom: 6px; font-size: 10.5px; }
.repair-tag .h4 { font-size: 1.25rem; margin-bottom: 4px; }
.repair-tag p { font-size: .8125rem; line-height: 1.45; color: var(--tag-ink); }
.hero .repair-tag { top: 34px; left: -40px; transform: rotate(-3deg); }
.stamp {
  position: absolute; right: 16px; bottom: 92px; z-index: 2;
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  background: var(--graphite); color: var(--white);
}
.stamp img { width: 46px; height: auto; }
.stamp strong { display: block; font-family: var(--font-display); font-stretch: 105%; font-size: .9375rem; }
.stamp span { display: block; font-size: .75rem; color: var(--steel-light); }

@media (max-width: 1199px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 720px; margin-left: 40px; }
}
@media (max-width: 767px) {
  .hero { padding-top: 36px; }
  .hero__lede { font-size: 1.0625rem; }
  .hero__facts { grid-template-columns: 1fr; margin-top: 32px; }
  .hero__fact { padding: 14px 0; }
  .hero__fact + .hero__fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--hairline); }
  .hero__media { margin-left: 0; padding-bottom: 54px; }
  .hero__inset { left: auto; right: -6px; width: 44%; }
  .hero .repair-tag { left: -6px; top: 18px; max-width: 220px; padding: 12px 14px 12px 28px; }
  .hero .repair-tag .h4 { font-size: 1.0625rem; }
  .hero .repair-tag p:not(.h4) { display: none; }
  .stamp { left: 0; right: auto; bottom: 64px; padding: 8px 12px; }
  .stamp img { width: 34px; }
  .btn-row .btn { flex: 1 1 auto; }
}


/* 10. NEED ROUTER ========================================================= */
.router { background: var(--graphite); color: var(--white); }
.router__grid { display: grid; grid-template-columns: 1.15fr repeat(4, 1fr); }
.router__intro { padding: 34px 28px 34px 0; display: flex; flex-direction: column; justify-content: center; }
.router__intro .mono { color: var(--steel-light); margin-bottom: 8px; }
.router__intro .h3 { font-size: clamp(1.375rem, 1.1rem + .8vw, 1.75rem); }
.router__tile {
  position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 160px;
  padding: 30px 26px; text-decoration: none; color: var(--white);
  border-left: 1px solid var(--graphite-3); transition: background-color .15s;
}
.router__tile:hover { background: var(--graphite-2); }
.router__tile--urgent { background: var(--red); border-left-color: var(--red); }
.router__tile--urgent:hover { background: var(--red-lo); }
.router__icon { display: flex; justify-content: flex-end; color: var(--steel-light); min-height: 18px; }
.router__icon svg { width: 18px; height: 18px; }
.router__tile--urgent .router__icon { color: var(--white); }
.router__tile .h4 { font-size: 1.125rem; }
.router__tile p { font-size: .875rem; color: var(--steel-light); line-height: 1.45; }
.router__tile--urgent p { color: rgba(255,255,255,.9); }
.router__tile .arrow { transition: transform .15s var(--ease); }
.router__tile:hover .arrow { transform: translateX(4px); }
.router__tile--urgent p { font-weight: 500; }
@media (max-width: 1199px) {
  .router__grid { grid-template-columns: 1fr 1fr; }
  .router__intro { grid-column: 1 / -1; padding: 30px 0 18px; }
  .router__tile { border-top: 1px solid var(--graphite-3); }
  .router__tile:nth-child(2n) { border-left: 0; }
}
@media (max-width: 599px) {
  .router__grid { grid-template-columns: 1fr; }
  .router__tile { min-height: 56px; border-left: 0; padding: 20px 4px; }
  .router__tile--urgent { margin-inline: calc(var(--page-pad) * -1); padding-inline: var(--page-pad); }
}


/* 11. SERVICES INDEX ====================================================== */
.services-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: start; }
.svc-index { border-top: 2px solid var(--graphite); }
.svc-group__title { color: var(--red-text); margin: 26px 0 6px; }
.svc-list { list-style: none; margin: 0; padding: 0; }
.svc-row {
  position: relative; display: grid; grid-template-columns: 52px minmax(0, 1.15fr) minmax(0, 1.2fr) 28px;
  gap: 16px; align-items: center; min-height: 64px; padding: 14px 16px 14px 0;
  text-decoration: none; color: var(--graphite); border-bottom: 1px solid var(--hairline);
  transition: background-color .15s;
}
.svc-row::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; background: var(--red); transform: scaleY(0); transition: transform .2s var(--ease); }
.svc-row:hover, .svc-row:focus-visible, .svc-row--featured { background: var(--white); }
.svc-row:hover::before, .svc-row:focus-visible::before, .svc-row--featured::before { transform: scaleY(1); }
.svc-row--featured .svc-row__num, .svc-row--featured .arrow { color: var(--red-text); }
.svc-row__num { color: var(--steel); padding-left: 18px; }
.svc-row__name { font-family: var(--font-display); font-stretch: 108%; font-weight: 700; font-size: 1.1875rem; letter-spacing: -0.01em; line-height: 1.2; }
.svc-row__desc { font-size: .875rem; color: var(--steel); line-height: 1.45; }
.svc-row .arrow { color: var(--steel); }
.svc-row:hover .arrow { color: var(--red); transform: translateX(3px); }
.svc-aside { position: sticky; top: calc(var(--header-height) + 24px); }
.photo-card { display: block; background: var(--white); box-shadow: var(--shadow-card); color: inherit; text-decoration: none; }
a.photo-card:hover .h4 { color: var(--red-text); }
.chips-more { margin-top: 18px; }
.photo-card img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; }
.photo-card__body { padding: 20px 22px 24px; }
.photo-card__body .mono { color: var(--red-text); display: block; margin-bottom: 8px; font-size: 11px; }
.photo-card__body .h4 { margin-bottom: 6px; }
.photo-card__body p { font-size: .875rem; color: var(--steel); }
/* Hover-swap preview cards. All cards share one grid cell (so the aside
   never changes height); the featured card shows by default and the card
   matching the hovered/focused service row replaces it. Uses :has(). */
.svc-cards { display: grid; }
.svc-preview {
  grid-area: 1 / 1; display: block; background: var(--white); box-shadow: var(--shadow-card);
  opacity: 0; visibility: hidden; transition: opacity .22s var(--ease), visibility 0s linear .22s;
}
.svc-preview img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; }
.svc-preview .photo-card__body .mono { color: var(--red-text); }
.svc-preview--default { opacity: 1; visibility: visible; transition: opacity .22s var(--ease); }
.services-layout:has(.svc-row[data-svc]:hover, .svc-row[data-svc]:focus-visible) .svc-preview--default { opacity: 0; visibility: hidden; transition: opacity .22s var(--ease), visibility 0s linear .22s; }
.services-layout:has(.svc-row[data-svc]:hover, .svc-row[data-svc]:focus-visible) .svc-row--featured:not(:hover):not(:focus-visible) { background: transparent; }
.services-layout:has(.svc-row[data-svc]:hover, .svc-row[data-svc]:focus-visible) .svc-row--featured:not(:hover):not(:focus-visible)::before { transform: scaleY(0); }
.services-layout:has([data-svc="advanced-engine-repair"]:is(:hover, :focus-visible)) .svc-preview[data-svc="advanced-engine-repair"],
.services-layout:has([data-svc="general-diesel-repair"]:is(:hover, :focus-visible)) .svc-preview[data-svc="general-diesel-repair"],
.services-layout:has([data-svc="collision-repair"]:is(:hover, :focus-visible)) .svc-preview[data-svc="collision-repair"],
.services-layout:has([data-svc="welding-fabrication"]:is(:hover, :focus-visible)) .svc-preview[data-svc="welding-fabrication"],
.services-layout:has([data-svc="preventive-maintenance"]:is(:hover, :focus-visible)) .svc-preview[data-svc="preventive-maintenance"],
.services-layout:has([data-svc="dot-inspection"]:is(:hover, :focus-visible)) .svc-preview[data-svc="dot-inspection"],
.services-layout:has([data-svc="fleet-services"]:is(:hover, :focus-visible)) .svc-preview[data-svc="fleet-services"],
.services-layout:has([data-svc="mobile-truck-repair"]:is(:hover, :focus-visible)) .svc-preview[data-svc="mobile-truck-repair"],
.services-layout:has([data-svc="trailer-repair"]:is(:hover, :focus-visible)) .svc-preview[data-svc="trailer-repair"],
.services-layout:has([data-svc="rv-repair"]:is(:hover, :focus-visible)) .svc-preview[data-svc="rv-repair"],
.services-layout:has([data-svc="heavy-equipment-repair"]:is(:hover, :focus-visible)) .svc-preview[data-svc="heavy-equipment-repair"] {
  opacity: 1; visibility: visible; transition: opacity .22s var(--ease);
}
/* Previews only make sense beside the list; on stacked layouts just show the featured card */
@media (max-width: 1199px) { .svc-preview:not(.svc-preview--default) { display: none; } }
.chips-label { color: var(--steel); margin: 26px 0 10px; display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chip {
  display: inline-flex; align-items: center; min-height: 34px; padding: 6px 12px;
  font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: .02em;
  color: var(--graphite); background: var(--white); border: 1px solid var(--hairline); text-decoration: none;
}
.chip:hover { border-color: var(--red); color: var(--red-text); }
@media (max-width: 1199px) {
  .services-layout { grid-template-columns: 1fr; }
  .svc-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
  .svc-row { grid-template-columns: 44px minmax(0, 1fr) 28px; }
  .svc-row__desc { display: none; }
}
@media (max-width: 767px) {
  .svc-aside { grid-template-columns: 1fr; }
  .svc-row__num { padding-left: 12px; }
  .svc-row__name { font-size: 1.0625rem; }
}


/* 12. PROCESS STEPS ======================================================= */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps::before { /* dashed track */
  content: ""; position: absolute; left: 20px; right: 20px; top: 21px; border-top: 2px dashed #B9B2A6;
}
.step { position: relative; background: var(--white); padding: 0 24px 22px; display: flex; flex-direction: column; }
.step__num {
  display: grid; place-items: center; width: 44px; height: 44px; margin: 0 0 22px;
  background: var(--graphite); color: var(--white);
  font-family: var(--font-display); font-weight: 800; font-size: 1.125rem;
}
.step:first-child .step__num { background: var(--red); }
.step .h4 { margin-bottom: 10px; }
.step p { font-size: .9375rem; color: var(--steel); line-height: 1.5; flex: 1; }
.step__meta { color: var(--steel); border-top: 1px solid var(--hairline); margin-top: 18px; padding-top: 12px; font-size: 10.5px; }
.steps-note { margin-top: 28px; font-size: .875rem; color: var(--steel); }
@media (max-width: 1023px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
}
@media (max-width: 599px) { .steps { grid-template-columns: 1fr; } }


/* 13. REVIEWS ============================================================= */
.reviews-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: stretch; }
.review-feature {
  background: var(--graphite); color: var(--white); padding: 48px 52px 40px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
}
.quote-mark { width: 56px; height: 44px; color: var(--red-hi); margin-bottom: 20px; }
.review-feature blockquote p {
  font-family: var(--font-display); font-stretch: 104%; font-weight: 600;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1.32; letter-spacing: -0.01em;
}
.review-cite { display: flex; align-items: center; gap: 14px; font-style: normal; }
.avatar {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--graphite-3); color: var(--white); font-family: var(--font-mono); font-size: 12px; flex: none;
}
.review-cite strong { display: block; font-size: .9375rem; }
.review-feature .review-cite .mono { color: var(--steel-light); font-size: 10.5px; }
.stars { color: #F5B82E; letter-spacing: 2px; font-size: .875rem; line-height: 1; }
.review-source { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--steel-light); font-size: .8125rem; }
.review-stack { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
.review-card { background: var(--white); border: 1px solid var(--hairline); padding: 24px 26px; display: flex; flex-direction: column; gap: 16px; }
.review-card blockquote p { font-size: .9375rem; line-height: 1.55; }
.review-card .review-cite { flex-wrap: wrap; }
.review-card .avatar { width: 32px; height: 32px; background: var(--concrete); color: var(--graphite); font-size: 11px; }
.review-tag {
  margin-left: auto; padding: 4px 10px; background: var(--tag); color: var(--tag-ink);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
}
.reviews-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 28px; font-size: .875rem; color: var(--steel); }
.reviews-foot__links { display: flex; gap: 24px; flex-wrap: wrap; }
.reviews-wall { columns: 3 320px; column-gap: 20px; }
.reviews-wall .review-card { break-inside: avoid; margin-bottom: 20px; }
@media (max-width: 1023px) { .reviews-grid { grid-template-columns: 1fr; } .review-feature { padding: 36px 28px 30px; } }


/* 14. FLEET & MOBILE BAND ================================================= */
.fleet {
  background-color: var(--graphite); color: var(--white);
  /* Blueprint grid */
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 32px 32px;
}
.fleet__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.fleet h2 { margin-bottom: 24px; }
.fleet .lede { margin-bottom: 32px; }
.benefits { list-style: none; margin: 0 0 36px; padding: 0; border-top: 1px solid var(--graphite-3); }
.benefit { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--graphite-3); font-size: .9375rem; color: var(--steel-light); }
.benefit__num { color: var(--red-on-dark); padding-top: 3px; }
.benefit strong { color: var(--white); font-weight: 600; }
.map-card { background: rgba(38, 41, 45, .85); border: 1px solid var(--graphite-3); padding: 24px 24px 18px; }
.map-card__head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 8px; flex-wrap: wrap; }
.map-card__head .h4 { font-size: 1.125rem; }
.map-card__head .mono { color: var(--steel-light); font-size: 10.5px; }
.radius-map { width: 100%; height: auto; }
.radius-map text { font-family: var(--font-body); font-size: 13px; fill: #E9EBEE; }
.radius-map .road-label { font-family: var(--font-mono); font-size: 10px; fill: #7D838B; letter-spacing: .08em; }
.radius-map .shop-label { font-family: var(--font-mono); font-size: 10.5px; fill: #fff; font-weight: 500; letter-spacing: .1em; }
.map-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .75rem; color: var(--steel-light); border-top: 1px solid var(--graphite-3); padding-top: 12px; margin-top: 6px; }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend-ring { width: 18px; border-top: 2px dashed var(--red-hi); }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.map-note { font-size: .75rem; color: var(--steel-light); margin-top: 8px; }
@media (max-width: 1023px) { .fleet__grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 599px) {
  /* The map scales down on phones, so enlarge its labels to stay readable */
  .map-card { padding: 18px 14px 14px; }
  .radius-map text { font-size: 21px; }
  .radius-map .road-label { font-size: 15px; }
  .radius-map .minor { display: none; }   /* smaller towns stay as dots; the full list is in the text */
}


/* 15. CREW / TEAM ========================================================= */
.crew-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, .9fr); gap: 32px; align-items: start; }
.story-card { background: var(--white); padding: 36px 36px 30px; box-shadow: var(--shadow-card); }
.story-card .mono { color: var(--red-text); display: block; margin-bottom: 12px; }
.story-card .h3 { margin-bottom: 16px; }
.story-card p { color: #444950; font-size: .9375rem; }
.story-card p + p { margin-top: 12px; }
.values { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--graphite); }
.value { display: grid; grid-template-columns: 40px 1fr; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--hairline); }
.value__num { color: var(--red-text); padding-top: 3px; }
.value strong { display: block; font-family: var(--font-display); font-stretch: 105%; font-size: 1rem; }
.value span { font-size: .875rem; color: var(--steel); }
.photo-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.photo-stack figure:first-child { grid-column: 1 / -1; }
.photo-stack img { width: 100%; object-fit: cover; aspect-ratio: 1 / 1; }
.photo-stack figure:first-child img { aspect-ratio: 4 / 3.3; object-position: 50% 30%; }
.roster { position: relative; background: var(--tag); color: var(--graphite); padding: 26px 26px 22px 40px; box-shadow: var(--shadow-tag); }
.roster::before { content: ""; position: absolute; left: 16px; top: 30px; width: 10px; height: 10px; border-radius: 50%; background: var(--shop-white); box-shadow: inset 0 1px 2px rgba(0,0,0,.35); }
.roster .mono { color: var(--tag-ink); display: block; margin-bottom: 6px; font-size: 10.5px; }
.roster .h4 { font-size: 1.375rem; margin-bottom: 12px; }
.roster ul { list-style: none; margin: 0; padding: 0; }
.roster li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed rgba(107, 90, 51, .45); font-size: .875rem; }
.roster li span:last-child { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--tag-ink); text-align: right; }
.roster--wide ul { columns: 2 260px; column-gap: 36px; }
.roster--wide li { break-inside: avoid; }
.roster__note { font-size: .75rem; color: var(--tag-ink); margin-top: 12px; }
.hiring-card { background: var(--graphite); color: var(--white); padding: 26px 28px; margin-top: 20px; }
.hiring-card .mono { color: var(--red-on-dark); display: block; margin-bottom: 8px; }
.hiring-card .h4 { font-size: 1.375rem; margin-bottom: 8px; }
.hiring-card p { font-size: .875rem; color: var(--steel-light); margin-bottom: 14px; }
@media (max-width: 1199px) { .crew-grid { grid-template-columns: 1fr 1fr; } .crew-grid > :last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; } .crew-grid > :last-child .hiring-card { margin-top: 0; } }
@media (max-width: 767px) { .crew-grid, .crew-grid > :last-child { grid-template-columns: 1fr; } .story-card { padding: 28px 22px 22px; } }


/* 16. COMMUNITY =========================================================== */
.community-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.snap {
  background: var(--white); padding: 12px 12px 16px; box-shadow: var(--shadow-card);
}
.snap img { width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.snap figcaption { padding-top: 12px; }
.snap figcaption .mono { color: var(--steel); display: block; font-size: 10.5px; }
.snap figcaption strong { font-family: var(--font-display); font-stretch: 105%; font-size: 1rem; }
.snap--a { grid-column: span 5; transform: rotate(-1deg); }
.snap--b { grid-column: span 3; transform: rotate(1.2deg); margin-top: 20px; }
.snap--c { grid-column: span 4; transform: rotate(-.6deg); }
.snap--d { grid-column: span 4; transform: rotate(.8deg); }
.toy-card {
  grid-column: span 4; padding: 30px 30px 32px; color: var(--white);
  background: linear-gradient(150deg, var(--red-hi), var(--red-lo));
}
.toy-card .mono { color: rgba(255,255,255,.85); display: block; margin-bottom: 10px; }
.toy-card .h3 { margin-bottom: 12px; }
.toy-card p { font-size: .9375rem; margin-bottom: 22px; color: rgba(255,255,255,.92); }
.partners-card { grid-column: span 4; background: var(--graphite); color: var(--white); padding: 30px; }
.partners-card .mono { color: var(--steel-light); display: block; margin-bottom: 8px; }
.partners-card .h4 { font-size: 1.375rem; margin-bottom: 16px; }
.partners-card ul { list-style: none; margin: 0; padding: 0; }
.partners-card li { padding: 12px 0; border-top: 1px solid var(--graphite-3); }
.partners-card a { font-weight: 600; text-decoration: none; }
.partners-card a:hover { text-decoration: underline; text-decoration-color: var(--red-hi); }
.partners-card p { font-size: .8125rem; color: var(--steel-light); margin-top: 2px; }
@media (max-width: 1023px) {
  .snap--a, .snap--b, .snap--c, .snap--d, .toy-card, .partners-card { grid-column: span 6; margin-top: 0; }
}
@media (max-width: 599px) {
  .snap--a, .snap--b, .snap--c, .snap--d, .toy-card, .partners-card { grid-column: 1 / -1; transform: none; }
}


/* 17. "TRUCK DOWN? CALL THE SHOP." BAND & CONTACT-PAGE FORM ============== */
.request__panel {
  position: relative; overflow: hidden; color: var(--white);
  background: linear-gradient(160deg, var(--red-hi) 0%, var(--red) 45%, var(--red-lo) 100%);
  padding-block: var(--section-pad);
}
.request__panel::after { /* ND watermark */
  content: ""; position: absolute; right: -40px; bottom: -30px; width: 38%; aspect-ratio: 2 / 1;
  background: url("../images/nd-mark-white.png") no-repeat right bottom / contain; opacity: .1; pointer-events: none;
}
.request__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px 80px; align-items: end; }
.request__panel .mono { color: rgba(255,255,255,.85); }
.request__panel h2 { margin: 16px 0 20px; }
.request__panel p { color: rgba(255,255,255,.92); max-width: 32rem; }
.request__phone {
  display: inline-block; margin: 0 0 6px; text-decoration: none; color: var(--white);
  font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: clamp(2.25rem, 1.5rem + 3vw, 4rem); letter-spacing: -0.02em; line-height: 1;
}
.request__phone:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.request__alt { margin-top: 18px; }
.request__alt .link { color: var(--white); text-decoration-color: rgba(255,255,255,.7); font-size: 1.0625rem; }
.request__alt .link:hover { text-decoration-color: var(--white); }
.request__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.3); }
.request__facts .mono { display: block; margin-bottom: 4px; font-size: 10.5px; }
.request__facts p { font-size: .9375rem; }
@media (max-width: 899px) { .request__inner { grid-template-columns: 1fr; align-items: start; } .request__panel::after { width: 70%; } }
@media (max-width: 599px) { .request__facts { grid-template-columns: 1fr; } }

/* Contact page: shop details + map in a sticky left column, GHL form on the
   right. The form is long, so the left column follows the visitor down.
   --contact-side-h is the column's height, measured by main.js. When the
   column fits in the window it pins under the header; when it's taller than
   the window, `top` goes negative so the column scrolls until its bottom (the
   map) reaches the bottom of the window and holds there — nothing is cut off.
   Without JavaScript the default (a very tall value) means it simply scrolls.
   Phones stack: details → form → map. */
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px 64px; align-items: start;
}
.contact-side {
  position: sticky;
  top: min(calc(var(--header-height) + 24px), calc(100vh - var(--contact-side-h, 300vh) - 24px));
  display: grid; gap: 40px;
}
.contact-form { background: var(--white); border: 1px solid var(--hairline); padding: 32px 28px 24px; }
.contact-form .h3 { margin-bottom: 8px; }
.contact-form > p { color: var(--steel); font-size: .9375rem; margin-bottom: 20px; }
.contact-map { aspect-ratio: 4 / 3; }
/* Safety net: if a browser or server cache serves an older copy of the
   contact page (info, form and map as separate pieces, no sticky column),
   still place the map directly under the shop info. */
@media (min-width: 900px) {
  .contact-grid:has(> .contact-map) { grid-template-rows: auto 1fr; }
  .contact-grid:has(> .contact-map) > .contact-info { grid-column: 1; grid-row: 1; }
  .contact-grid:has(> .contact-map) > .contact-form { grid-column: 2; grid-row: 1 / span 2; }
  .contact-grid:has(> .contact-map) > .contact-map { grid-column: 1; grid-row: 2; }
}
@media (max-width: 899px) {
  .contact-grid { grid-template-columns: 1fr; grid-template-areas: "info" "form" "map"; }
  .contact-side { display: contents; }   /* lets info and map be placed around the form */
  .contact-info { grid-area: info; }
  .contact-form { grid-area: form; padding: 24px 14px 16px; margin-inline: calc(var(--page-pad) * -1 + 8px); }
  .contact-map { grid-area: map; }
}

/* 18. FOOTER ============================================================== */
.site-footer { background: var(--graphite); color: var(--steel-light); padding: 88px 0 0; font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr 1.1fr; gap: 40px; }
.footer-brand img { width: 220px; margin-bottom: 20px; }
.footer-brand p { max-width: 22rem; font-size: .875rem; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.footer-social a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1px solid var(--graphite-3); color: var(--white); text-decoration: none; font-size: .8125rem; }
.footer-social a:hover { border-color: var(--red-hi); }
.footer-col h2 { font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8A9098; margin-bottom: 16px; font-stretch: normal; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-col a { color: var(--steel-light); text-decoration: none; display: inline-block; padding: 4px 0; }
.footer-col a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--red-hi); }
.footer-visit address { font-style: normal; color: var(--white); }
.footer-phone { display: inline-block; margin: 14px 0 6px; color: var(--white) !important; font-family: var(--font-display); font-stretch: 110%; font-weight: 800; font-size: 1.5rem; }
.footer-visit p { font-size: .875rem; }
.footer-visit p + p { margin-top: 8px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: 64px; padding: 24px 0 28px; border-top: 1px solid var(--graphite-3); font-size: .8125rem;
}
.footer-bottom a { color: var(--steel-light); }
.footer-bottom a:hover { color: var(--white); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.footer-tagline { font-family: var(--font-display); font-stretch: 115%; font-weight: 800; color: var(--white); letter-spacing: .02em; text-transform: uppercase; font-size: .875rem; }
@media (max-width: 1199px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 599px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; } .footer-visit { grid-column: 1 / -1; } .site-footer { padding-top: 56px; } }


/* 19. INTERIOR PAGE HERO & BREADCRUMBS ==================================== */
.page-hero { padding: 48px 0 72px; border-bottom: 1px solid var(--hairline); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.page-hero h1 { font-size: var(--fs-h1-page); margin-bottom: 22px; }
.page-hero .h1-sub {
  display: block; margin-top: 12px; font-size: .38em; font-stretch: 105%; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; color: var(--steel);
}
.page-hero .lede { margin-bottom: 30px; }
.page-hero__media { position: relative; }
.page-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
/* Focal points for cropped photos (set per photo in the page files).
   They override layout defaults on purpose, hence !important. */
.img-focus-top   { object-position: 50% 0% !important; }   /* keep heads */
.img-focus-upper { object-position: 50% 20% !important; }
.img-focus-low   { object-position: 50% 80% !important; }   /* group shots with lots of ceiling */
.page-hero__media .repair-tag { left: -28px; bottom: -26px; transform: rotate(-2deg); }
.page-hero--icon .page-hero__media { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--graphite); color: var(--white); }
.page-hero--icon .page-hero__media svg { width: 42%; height: auto; }
.page-hero--plain .page-hero__grid { grid-template-columns: minmax(0, 1fr); max-width: 52rem; }
.page-hero--dark { background: var(--graphite); color: var(--white); border-bottom: 0; }
.page-hero--dark .lede { color: var(--steel-light); }
.page-hero--dark .breadcrumbs, .page-hero--dark .breadcrumbs a { color: var(--steel-light); }
.breadcrumbs { margin-bottom: 30px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; list-style: none; margin: 0; padding: 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
.breadcrumbs li + li::before { content: "/"; margin-right: 10px; color: var(--hairline); }
.breadcrumbs a { color: var(--steel); text-decoration: none; }
.breadcrumbs a:hover { color: var(--red-text); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--graphite); }
.page-hero--dark .breadcrumbs [aria-current] { color: var(--white); }
@media (max-width: 1023px) {
  .page-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .page-hero__media { max-width: 640px; }
  .page-hero--icon .page-hero__media { display: none; }
}
@media (max-width: 767px) { .page-hero { padding: 32px 0 56px; } .page-hero__media .repair-tag { left: 8px; } }
/* About hero: on phones, use the same compact tag as the home hero so it doesn't cover faces in the family photo */
@media (max-width: 599px) {
  .page-hero__media .repair-tag--compact { max-width: 220px; padding: 12px 14px 12px 28px; }
  .page-hero__media .repair-tag--compact .h4 { font-size: 1.0625rem; }
  .page-hero__media .repair-tag--compact p:not(.h4) { display: none; }
}


/* 20. CONTENT PAGES ======================================================= */
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-height) + 24px); display: grid; gap: 20px; }
/* About page: seven core values make this card taller than most screens, so let it scroll with the page. */
.sidebar[aria-label="Our values"] { position: static; }
.side-card { background: var(--white); border: 1px solid var(--hairline); padding: 24px; }
.side-card > .mono { color: var(--red-text); display: block; margin-bottom: 12px; }
.side-card .h4 { margin-bottom: 10px; }
.side-card p { font-size: .9375rem; color: var(--steel); }
.side-card ul { list-style: none; margin: 0; padding: 0; }
.side-card li a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--hairline); text-decoration: none; font-weight: 500; font-size: .9375rem; }
.side-card li a:hover { color: var(--red-text); }
.side-card--dark { background: var(--graphite); color: var(--white); border-color: var(--graphite); }
.side-card--dark p { color: var(--steel-light); }
.side-card--dark > .mono { color: var(--red-on-dark); }
.side-card--dark .h4 { color: var(--white); }
.side-card--dark .side-phone { display: block; margin: 8px 0 16px; font-family: var(--font-display); font-stretch: 110%; font-weight: 800; font-size: 1.75rem; color: var(--white); text-decoration: none; }
.side-card--dark .side-phone:hover { color: var(--red-on-dark); }
.side-card dl { display: grid; gap: 10px; font-size: .875rem; }
.side-card dt { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-light); }
.side-card dd { color: var(--white); }
@media (max-width: 1023px) { .content-layout { grid-template-columns: 1fr; gap: 48px; } .sidebar { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }

/* FAQ accordion (native <details>) */
.faq { border-top: 2px solid var(--graphite); margin-top: 1em; }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  display: flex; justify-content: space-between; gap: 20px; align-items: center; cursor: pointer; list-style: none;
  padding: 18px 0; font-family: var(--font-display); font-stretch: 105%; font-weight: 700; font-size: 1.125rem; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.375rem; color: var(--red); flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--red-text); }
.faq__answer { padding: 0 0 20px; color: #3E434A; }
.faq__answer > * + * { margin-top: .8em; }

/* Card grids (repairs hub, articles, related) */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.card-grid--3 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.icon-card {
  display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 26px; background: var(--white);
  border: 1px solid var(--hairline); text-decoration: none; transition: border-color .15s, transform .15s var(--ease);
}
.icon-card:hover { border-color: var(--graphite); }
.icon-card__icon { width: 52px; height: 52px; color: var(--steel); transition: color .15s; }
.icon-card:hover .icon-card__icon { color: var(--red); }
.icon-card .h4 { font-size: 1.125rem; }
.icon-card p { font-size: .875rem; color: var(--steel); flex: 1; }
.icon-card .mono { color: var(--steel); display: flex; justify-content: space-between; font-size: 10.5px; }
.article-card { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--hairline); text-decoration: none; }
.article-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.article-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.article-card .h4 { font-size: 1.1875rem; }
.article-card p { font-size: .875rem; color: var(--steel); flex: 1; }
.article-card .link { align-self: flex-start; font-size: .875rem; }
.article-card:hover .h4 { color: var(--red-text); }
.article-hero-img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; margin-bottom: 48px; }
.byline { color: var(--steel); margin-bottom: 26px; }

.related-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 899px) { .split { grid-template-columns: 1fr; gap: 36px; } }

.fact-list { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--hairline); }
.fact-list li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--hairline); font-size: .9375rem; }
.fact-list .mono { color: var(--red-text); padding-top: 3px; }
@media (max-width: 599px) { .fact-list li { grid-template-columns: 1fr; gap: 2px; } }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.gallery .snap { transform: none; }
.role-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--graphite); }
.role { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--hairline); }
.role .h4 { font-size: 1.375rem; }
.role p { color: var(--steel); font-size: .9375rem; }
@media (max-width: 599px) { .role { grid-template-columns: 1fr; } }

.map-embed { position: relative; aspect-ratio: 16 / 10; background: var(--concrete); border: 1px solid var(--hairline); display: grid; place-items: center; text-align: center; padding: 24px; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-embed p { color: var(--steel); font-size: .875rem; max-width: 26rem; margin: 10px auto 18px; }

.notice { padding: 18px 20px; background: var(--tag); color: var(--tag-ink); font-size: .9375rem; }

/* 404 */
.not-found { min-height: 60vh; display: grid; align-items: center; }
.not-found__code { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: clamp(6rem, 4rem + 10vw, 12rem); line-height: .85; color: var(--red); letter-spacing: -0.04em; }


/* Team gallery (About page): scroll-snap slider of bio cards */
.team-gallery { margin-top: 72px; }
.team-gallery__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 24px; }
.team-gallery__head .h3 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); }
.team-gallery__nav { display: flex; gap: 10px; flex: none; }
.slider-btn {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  background: var(--white); color: var(--graphite); border: 1px solid var(--graphite);
  transition: background-color .15s, color .15s;
}
.slider-btn:hover:not(:disabled) { background: var(--graphite); color: var(--white); }
.slider-btn:disabled { opacity: .35; cursor: default; }
.slider-btn[data-slide="-1"] svg, .slider-btn[data-lightbox-step="-1"] svg { transform: rotate(180deg); }
.slider-btn--light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.slider-btn--light:hover:not(:disabled) { background: var(--white); color: var(--graphite); }
.team-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px;
  list-style: none; margin: 0; padding: 4px 4px 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--steel) transparent;
}
.team-slide { scroll-snap-align: start; }
.team-card {
  position: relative; display: block; width: 100%; padding: 0; text-align: left;
  background: var(--white); border: 1px solid var(--hairline); box-shadow: var(--shadow-card);
  transition: transform .2s var(--ease), border-color .15s;
}
.team-card img { width: 100%; aspect-ratio: 560 / 470; object-fit: cover; background: var(--graphite); }
.team-card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 14px 16px 16px; }
.team-card__meta strong { font-family: var(--font-display); font-stretch: 105%; font-size: 1.0625rem; }
.team-card__meta .mono { color: var(--steel); font-size: 10.5px; text-align: right; }
.team-card__zoom {
  position: absolute; right: 10px; top: 10px; padding: 5px 9px; font-size: 10.5px;
  background: var(--red); color: var(--white); opacity: 0; transform: translateY(-4px); transition: opacity .15s, transform .15s;
}
.team-card:hover, .team-card:focus-visible { border-color: var(--graphite); transform: translateY(-3px); }
.team-card:hover .team-card__zoom, .team-card:focus-visible .team-card__zoom { opacity: 1; transform: none; }
@media (max-width: 1023px) { .team-track { grid-auto-columns: calc((100% - 2 * 20px) / 3); } }
@media (max-width: 767px)  { .team-track { grid-auto-columns: 72%; } .team-gallery { margin-top: 48px; } }

.lightbox {
  width: min(1100px, calc(100vw - 24px)); max-width: none; max-height: calc(100vh - 24px); padding: 0; border: 0;
  background: var(--graphite); color: var(--white); overflow: hidden;
}
.lightbox::backdrop { background: rgba(10, 11, 12, .82); }
.lightbox__frame { display: flex; flex-direction: column; max-height: calc(100vh - 24px); }
.lightbox__img { width: 100%; height: auto; max-height: calc(100vh - 110px); object-fit: contain; background: #000; }
.lightbox__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; }
.lightbox__caption { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-light); }
.lightbox__controls { display: flex; gap: 8px; align-items: center; }
.lightbox__close { min-height: 48px; padding: 8px 16px; background: var(--red); color: var(--white); border: 0; font-weight: 600; }
.lightbox__close:hover { background: var(--red-lo); }
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] { animation: rise .25s var(--ease); }
}

/* Job pages */
.job-eeo { font-size: .875rem; color: var(--steel); border-top: 1px solid var(--hairline); padding-top: 1.2em; margin-top: 2em !important; }
.prose .fact-list { padding-left: 0; }
.prose .fact-list li + li { margin-top: 0; }

/* 21. PARTIAL-LOADING FALLBACKS =========================================== */
/* Each page holds a small fallback inside its partial placeholders. It shows
   if JavaScript is off or a partial file can't be loaded, and is replaced by
   the full shared component once it loads. */
.fallback-header { border-bottom: 1px solid var(--hairline); background: var(--shop-white); }
/* The fallback is held to exactly the real header's height so nothing on the
   page moves when the full header replaces it (no layout shift). Links that
   don't fit scroll sideways. */
[data-partial="header"] { height: calc(var(--header-height) + var(--utility-height)); overflow: hidden; }
.fallback-header .container { display: flex; flex-wrap: nowrap; align-items: center; gap: 20px; height: var(--header-height); }
.fallback-header nav { min-width: 0; overflow-x: auto; }
.fallback-header nav ul { display: flex; flex-wrap: nowrap; gap: 18px; list-style: none; margin: 0; padding: 4px 0; font-size: .9375rem; white-space: nowrap; }
@media (max-width: 599px) { .fallback-header__call { display: none; } .fallback-header .brand img { width: 110px; } }
.fallback-header nav a { text-decoration: none; font-weight: 500; }
.fallback-header__call { margin-left: auto; font-weight: 700; }
.fallback-header .brand img { width: 150px; }
.utility-placeholder { height: var(--utility-height); background: var(--graphite); }
.fallback-block { padding: 40px 0; }
.fallback-block ul { columns: 2 220px; }
.fallback-footer { background: var(--graphite); color: var(--steel-light); padding: 48px 0; font-size: .9375rem; }
.fallback-footer a { color: var(--white); }
.fallback-footer ul { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: 16px 0 0; padding: 0; }


/* 22. MOTION ============================================================== */
/* One orchestrated moment: the home hero assembles on load. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__title .line, .js .hero__lede, .js .hero .btn-row, .js .hero__media {
    animation: rise .7s var(--ease) both;
  }
  .js .hero__title .line:nth-child(2) { animation-delay: .06s; }
  .js .hero__title .line:nth-child(3) { animation-delay: .12s; }
  .js .hero__title .line:nth-child(4) { animation-delay: .18s; }
  .js .hero__lede { animation-delay: .24s; }
  .js .hero .btn-row { animation-delay: .3s; }
  .js .hero__media { animation: settle .9s var(--ease) .15s both; }
  .js .hero .repair-tag { animation: tag-drop .7s var(--ease) .6s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes tag-drop { from { opacity: 0; transform: translateY(-14px) rotate(-8deg); } to { opacity: 1; transform: rotate(-3deg); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}


/* 23. PRINT =============================================================== */
@media print {
  .utility-bar, .site-header, .mobile-callbar, .router, .site-footer, .mobile-menu { display: none !important; }
  body { background: #fff; padding: 0; }
  .request { display: block; }
  .request__panel { background: none; color: #000; padding: 0; }
}
