/* ==========================================================================
   Five Star Automotive Repair — base styles
   Mobile-first. Tokens first, then base, components, sections, breakpoints.
   ========================================================================== */

:root {
  /* Brand palette (approved) */
  --charcoal: #16181b;
  --warm-white: #f4f2ee;
  --signal-red: #c8102e;
  --steel: #313740;
  --warm-gray: #d8d5cf;

  /* Supporting shades */
  --charcoal-900: #0f1113;
  --charcoal-700: #202328;
  --steel-300: #9097a0;
  --warm-white-200: #eae7e1;
  --ink: #1a1c1f;
  --ink-muted: #4a4e55;
  --red-700: #a50d26;

  /* Roles */
  --bg: var(--warm-white);
  --text: var(--ink);
  --text-muted: var(--ink-muted);
  --accent: var(--signal-red);
  --rule: var(--warm-gray);
  --focus: #1f6feb;

  /* Type */
  --font-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.0625rem;
  --fs-lg: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --fs-h2: clamp(2rem, 1.5rem + 2vw, 3rem);

  /* Space */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6rem;

  /* Layout */
  --container: 76rem;
  --gutter: clamp(1rem, 0.4rem + 2.6vw, 2.5rem);
  --header-h: 4.5rem;
  --callbar-h: 3.75rem;
  --tap: 3rem;            /* minimum comfortable touch target */
  --radius: 3px;
  --transition: 160ms ease;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + var(--space-4));
  /* keyboard focus and in-page jumps never land underneath the mobile call bar */
  scroll-padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom, 0px) + var(--space-4));
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  /* reserve exactly the space the mobile call bar occupies */
  padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom, 0px));
}

/* Smooth in-page scrolling, enabled by script.js after load so that arriving
   from another page (e.g. services.html#brake-repair) jumps straight to the section. */
@media (prefers-reduced-motion: no-preference) {
  html.smooth-scroll { scroll-behavior: smooth; }
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  margin: 0 0 var(--space-4);
}

h2 { font-size: var(--fs-h2); }

p { margin: 0 0 var(--space-4); }

a { color: inherit; }

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

.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: var(--space-4);
  top: -100px;
  z-index: 100;
  padding: var(--space-3) var(--space-4);
  background: var(--warm-white);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
}
.skip-link:focus { top: var(--space-3); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.icon {
  width: 1.15em;
  height: 1.15em;
  fill: currentColor;
  flex-shrink: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.eyebrow::before {
  content: "";
  flex: 0 0 2rem;
  height: 2px;
  background: var(--accent);
}

.nowrap { white-space: nowrap; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: var(--tap);
  padding: 0.75rem 1.35rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition), color var(--transition);
}

.btn-primary { background: var(--signal-red); color: #fff; }
.btn-primary:hover { background: var(--red-700); }

.btn-ghost {
  border-color: var(--charcoal);
  color: var(--charcoal);
  background: transparent;
}
.btn-ghost:hover { background: var(--charcoal); color: var(--warm-white); }

.btn-lg {
  min-height: 3.5rem;
  padding: 1rem 1.6rem;
  font-size: var(--fs-md);
}

.btn-number { font-weight: 500; margin-left: 0.3em; }

.icon-arrow { transition: transform var(--transition); }
.btn:hover .icon-arrow { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Header & navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--charcoal-900);
  color: var(--warm-white);
  border-bottom: 1px solid var(--charcoal-700);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: var(--space-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.75rem; /* 44px touch target at every width; no visual change */
  text-decoration: none;
}

/* Official gear emblem (Milestone 14A assets). Height drives the size; width follows the artwork. */
.brand-logo {
  display: block;
  flex: none;
  height: 3rem;          /* 48px: phones and tablets */
  width: auto;
}

.brand-text { display: flex; flex-direction: column; line-height: 1; }
.site-header .brand-text {
  padding-left: 0.7rem;
  border-left: 2px solid var(--signal-red);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-sub {
  margin-top: 0.25rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--steel-300);
}

/* Mobile-only actions: call icon + menu toggle */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.header-call-icon,
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius);
}

.header-call-icon {
  background: var(--signal-red);
  color: #fff;
}
.header-call-icon:hover { background: var(--red-700); }
.header-call-icon .icon { width: 1.25rem; height: 1.25rem; }

.nav-toggle {
  padding: 0;
  background: transparent;
  border: 1px solid var(--steel);
  color: inherit;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: currentColor;
  transition: transform var(--transition), background-color var(--transition);
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile: nav is a drop-down panel. Without JS it stays visible (see the scripting: none rules). */
.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  max-height: calc(100vh - var(--header-h) - var(--callbar-h));
  max-height: calc(100dvh - var(--header-h) - var(--callbar-h) - env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: var(--space-3) var(--gutter) var(--space-6);
  background: var(--charcoal);
  border-bottom: 1px solid var(--steel);
}
.site-nav.is-open { display: block; }

/* Phone header (Milestone 12C): one compact header on every page.
   Logo left; call icon + menu toggle right; 64px tall. */
@media (max-width: 47.99em) {
  :root { --header-h: 4rem; }
  .brand-name { font-size: 1.375rem; }
  .site-nav { background: var(--charcoal-900); }
}

/* Mobile/tablet menu: current page gets the same red underline as the desktop nav */
@media (max-width: 55.99em) {
  .nav-list a[aria-current="page"] {
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 3px;
    text-underline-offset: 0.3em;
  }
}

.nav-list {
  list-style: none;
  margin: 0 0 var(--space-5);
  padding: 0;
}

.nav-list a {
  display: flex;
  align-items: center;
  min-height: 3.25rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--charcoal-700);
}
.nav-list a:hover { color: #fff; }

.header-call {
  width: 100%;
  min-height: 3.5rem;
}
.header-call-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.header-call-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.9;
}
.header-call-number { font-size: 1rem; font-weight: 600; letter-spacing: 0.01em; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

/* Headline lines and action rows are shared with the interior page intros */
.hero-line { display: block; }
.hero-dot { color: var(--signal-red); }

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.media-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--steel);
  overflow: hidden;
}

/* Real photo, once supplied: fills the frame and crops around --focal */
.media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focal, 50% 50%);
}

/* Labeled stand-in for real photography */
.image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--space-2);
  padding: var(--space-6) var(--space-6) var(--space-6);
  color: var(--warm-white);
}
.image-placeholder::before {
  /* hairline inset frame */
  content: "";
  position: absolute;
  inset: var(--space-4);
  border: 1px solid rgba(244, 242, 238, 0.16);
  pointer-events: none;
}
.image-placeholder::after {
  /* red index mark */
  content: "";
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  width: 2.5rem;
  height: 3px;
  background: var(--accent);
}
.image-placeholder-kicker {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel-300);
}
.image-placeholder-label {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.image-placeholder-note {
  max-width: 24rem;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--warm-gray);
}

/* --------------------------------------------------------------------------
   Shared section patterns
   -------------------------------------------------------------------------- */

.section { padding-block: var(--space-8); }

.section-title {
  font-size: var(--fs-h2);
  line-height: 0.95;
  color: var(--charcoal);
  text-wrap: balance;
  margin-bottom: 0;
}

.section-head {
  display: grid;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.section-intro p,
.section-lede {
  max-width: 34rem;
  font-size: var(--fs-lg);
  color: var(--text-muted);
}

.eyebrow--dark { color: var(--steel-300); }

/* Generic photo frames (hero has its own sizing rules).
   Wide crops on phone/tablet so photos never fill the screen; portrait on desktop. */
.media-frame--portrait,
.media-frame--landscape { aspect-ratio: 4 / 3; }
@media (min-width: 48em) {
  .media-frame--portrait,
  .media-frame--landscape { aspect-ratio: 16 / 9; }
}
@media (min-width: 56em) {
  .media-frame--portrait { aspect-ratio: 4 / 5; }
  .media-frame--landscape { aspect-ratio: 4 / 3; }
}

/* Small labeled placeholder used inside cards */
.ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: var(--space-3);
  background: var(--steel);
  color: var(--steel-300);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.3;
}
.ph::before {
  content: "";
  position: absolute;
  inset: var(--space-2);
  border: 1px solid rgba(244, 242, 238, 0.14);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--tap);
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}
.text-link:hover { color: var(--red-700); }
.text-link:hover .icon-arrow { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */

.service-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  border-top: 1px solid var(--rule);
}

/* Mobile: compact rows — thumbnail left, text right */
.service-card {
  position: relative;
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: var(--space-4);
  align-items: start;
  padding-block: var(--space-5);
  border-bottom: 1px solid var(--rule);
}

.service-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--steel);
}
.service-media .ph span { display: none; } /* too small to label on phones; aria-label still applies */

.service-name {
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  margin-bottom: var(--space-2);
}
.service-desc {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.service-tag {
  display: inline-block;
  margin-bottom: var(--space-2);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-700);
}

.cta-strip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
  margin-top: var(--space-7);
  padding: var(--space-6);
  background: var(--charcoal);
  color: var(--warm-white);
}
.cta-strip-text {
  max-width: 36rem;
  margin: 0;
  font-size: var(--fs-lg);
  color: var(--warm-gray);
}
.cta-strip-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
}
.cta-strip .btn:focus-visible { outline-color: #fff; }

/* --------------------------------------------------------------------------
   Why Five Star
   -------------------------------------------------------------------------- */

.why { background: var(--warm-white-200); }

.why-grid {
  display: grid;
  gap: var(--space-7);
}

.why-media { margin: 0 calc(-1 * var(--gutter)); }

.why-copy .section-title { margin-bottom: var(--space-4); }
.why-copy .section-lede { margin-bottom: var(--space-6); }

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-5);
}
.why-item {
  padding-top: var(--space-4);
  border-top: 1px solid var(--warm-gray);
  position: relative;
}
.why-item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 2rem;
  height: 2px;
  background: var(--accent);
}
.why-title {
  font-size: 1.375rem;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  margin-bottom: var(--space-2);
}
.why-item p { margin: 0; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */

.reviews {
  background: var(--charcoal);
  color: var(--warm-white);
}
.reviews .section-title { color: #fff; margin-bottom: var(--space-4); }

/* Google reputation panel */
.g-panel {
  position: relative;
  display: grid;
  gap: var(--space-6);
  padding: var(--space-7) var(--space-5) var(--space-6);
  border: 1px solid var(--steel);
}
.g-panel::before {
  /* red index mark, consistent with photo frames */
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 3rem;
  height: 3px;
  background: var(--accent);
}

.g-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: var(--space-5);
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--steel);
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--warm-white);
}

.g-text {
  max-width: 32rem;
  margin: 0;
  font-size: var(--fs-lg);
  color: var(--warm-gray);
}

/* Score block: large 5.0 + gold stars */
.g-score {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--steel);
}
.g-score-number {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4rem, 3rem + 4vw, 5.5rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.01em;
  color: #fff;
}
.g-stars {
  display: flex;
  gap: 0.25rem;
}
.g-stars svg {
  width: 1.625rem;
  height: 1.625rem;
  fill: #f2b01e; /* gold */
}
.g-score-caption {
  margin: var(--space-2) 0 0;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-300);
}

.g-button { width: 100%; padding-inline: 1rem; }
.g-button:focus-visible { outline-color: #fff; }

/* --------------------------------------------------------------------------
   Visit
   -------------------------------------------------------------------------- */

.visit-grid {
  display: grid;
  gap: var(--space-7);
}

.visit-copy .section-title { margin-bottom: var(--space-6); }

.visit-details {
  display: grid;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

.visit-label {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}

.visit-address {
  font-style: normal;
  font-size: var(--fs-md);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: var(--space-2);
}

.hours { margin: 0; }
.hours-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: 0.55rem;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9375rem;
}
.hours-row:first-child { border-top: 1px solid var(--rule); }
.hours-row dt { font-weight: 500; }
.hours-row dd { margin: 0; font-variant-numeric: tabular-nums; }
.hours-row--closed { color: var(--text-muted); }
/* Phone numbers listed in the same row style as hours; links keep a 44px tap area */
.phone-list a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-block: -0.65rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--warm-gray);
  text-underline-offset: 0.25em;
}
.phone-list a:hover { text-decoration-color: var(--accent); }

/* Small "Main" / "Secondary" label placed after a phone number */
.phone-tag {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-300);
}

.visit-actions .btn { width: 100%; }

.visit-media { margin: 0 calc(-1 * var(--gutter)); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--charcoal-900);
  color: var(--warm-gray);
  padding-top: var(--space-8);
  font-size: var(--fs-sm);
}

.footer-grid {
  display: grid;
  gap: var(--space-6);
  padding-bottom: var(--space-7);
}

.footer-brand .brand { margin-bottom: var(--space-4); }
.footer-logo { display: block; height: 6.75rem; width: auto; }   /* 108px; 128px from tablet up */
.footer-tagline { max-width: 20rem; color: var(--steel-300); margin: 0; }

.footer-heading {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--steel-300);
  margin-bottom: var(--space-3);
}

.footer-col p { margin-bottom: var(--space-2); }

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-5);
}
.footer-links a,
.footer-top {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration: none;
  color: var(--warm-white);
}
.footer-links a:hover,
.footer-top:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 0.3em; }

.footer-phone {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
}
.footer-phone:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.footer-col .footer-phone-row { margin-bottom: 0; }
.footer-phone { flex-wrap: wrap; column-gap: 0.5rem; }
.footer-phone--alt { font-size: 1.25rem; }

.footer-address { font-style: normal; line-height: 1.6; }
.footer-muted { color: var(--steel-300); }

.site-footer :focus-visible { outline-color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2) var(--space-5);
  padding-block: var(--space-4);
  border-top: 1px solid var(--steel);
  color: var(--steel-300);
  font-size: var(--fs-xs);
}
.footer-bottom p { margin: 0; }

/* --------------------------------------------------------------------------
   Section layouts — tablet
   -------------------------------------------------------------------------- */

@media (min-width: 48em) {
  .section-head { margin-bottom: var(--space-7); }

  /* Services become vertical cards in a grid */
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
    border-top: 0;
  }
  .service-card {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    background: #fbfaf8;
    border: 1px solid var(--rule);
    transition: border-color var(--transition);
  }
  .service-card::before {
    /* red rule that draws across the top on hover */
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms ease;
    z-index: 1;
  }
  .service-media { aspect-ratio: 3 / 2; }
  .service-media .ph span { display: inline; }
  .service-body { padding: var(--space-5) var(--space-5) var(--space-6); }

  .why-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-5); }
  .why-media, .visit-media { margin: 0; }

  .visit-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Address and Phone stack on the left; the taller Hours list fills the right column */
  .visit-block--hours { grid-column: 2; grid-row: 1 / span 2; }
  .visit-actions .btn { width: auto; }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-links { flex-direction: column; }
}

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

.call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: calc(var(--callbar-h) + env(safe-area-inset-bottom, 0px));
  padding: 0 var(--space-4) env(safe-area-inset-bottom, 0px);
  background: var(--signal-red);
  color: #fff;
  font-weight: 600;
  font-size: var(--fs-md);
  text-decoration: none;
}
.call-bar:hover { background: var(--red-700); }
.call-bar:focus-visible { outline-color: #fff; outline-offset: -5px; }

/* --------------------------------------------------------------------------
   Breakpoints
   -------------------------------------------------------------------------- */

/* Large phones / small tablets */
@media (min-width: 30em) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
}

/* Desktop */
@media (min-width: 56em) {
  :root {
    --header-h: 5.5rem;
  }

  html { scroll-padding-bottom: 0; }
  body { padding-bottom: 0; }
  .call-bar { display: none; }

  .header-actions { display: none; }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: none;
    border: 0;
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    margin: 0;
    padding-right: var(--space-6);
    margin-right: var(--space-6);
    border-right: 1px solid var(--steel);
  }
  .nav-list a {
    min-height: 2.75rem;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--warm-gray);
    border-bottom: 2px solid transparent;
    transition: color var(--transition), border-color var(--transition);
  }
  .nav-list a:hover,
  .nav-list a[aria-current="page"] { color: #fff; border-bottom-color: var(--accent); }

  .header-call { width: auto; min-height: 3.25rem; padding-inline: 1.25rem 1.4rem; }

  .image-placeholder { padding: var(--space-7); }
  .image-placeholder::before { inset: var(--space-5); }
  .image-placeholder::after { top: var(--space-5); left: var(--space-5); }

  /* Sections */
  .section { padding-block: var(--space-9); }

  .section-head {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: end;
    gap: var(--space-8);
    margin-bottom: var(--space-7);
  }
  .section-intro p { margin-bottom: 0; }

  .why-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: var(--space-8);
  }
  /* Real photos in these slots are 16:9: team at 4:3 keeps all five people; storefront stays uncropped */
  .why-media .media-frame:has(.media-img) { aspect-ratio: 4 / 3; --focal: 48% 45%; }
  .visit-media .media-frame:has(.media-img) { aspect-ratio: 16 / 9; }

  .g-panel {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--space-8);
    padding: var(--space-8) var(--space-7);
  }
  .g-copy .section-title { font-size: clamp(2.5rem, 1.5rem + 2.6vw, 3.75rem); }

  .visit-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--space-8);
  }

  .cta-strip {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
    gap: var(--space-7);
  }
}

/* Tablet: the family and service-bay photos are portrait, so skip the generic 16:9 crop that would cut most of the people */
@media (min-width: 48em) and (max-width: 55.99em) {
  .about-story-media .media-frame--portrait,
  .about-craft-media .media-frame--portrait { aspect-ratio: 4 / 3; }
}

/* Genuine shop photos (portrait 899 x 1599): crop focus per breakpoint */
.about-craft-media .media-frame { --focal: 50% 30%; } /* phones/tablet 4:3: heads, hands, vehicle underside */
@media (min-width: 56em) {
  .about-craft-media .media-frame { --focal: 50% 52%; }
}

/* Narrow desktop: tighten nav spacing so five items fit without wrapping the header */
@media (min-width: 56em) and (max-width: 63.99em) {
  .nav-list { gap: 1.25rem; padding-right: var(--space-4); margin-right: var(--space-4); }
}

/* Wide desktop: four service cards per row */
@media (min-width: 72em) {
  .service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Desktop hover affordance only for devices that can hover */
@media (hover: hover) and (min-width: 48em) {
  .service-card:hover { border-color: var(--charcoal); }
  .service-card:hover::before { transform: scaleX(1); }
}

/* --------------------------------------------------------------------------
   Current page + homepage service card links
   -------------------------------------------------------------------------- */

.nav-list a[aria-current="page"] { color: #fff; }
.footer-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 0.3em; }

/* Whole card is clickable via the heading link (stretched link) */
.service-link {
  color: inherit;
  text-decoration: none;
  padding-right: 1.1em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23c8102e' d='M13.2 5.3l6.7 6.7-6.7 6.7-1.4-1.4 4.3-4.3H4v-2h12.1l-4.3-4.3z'/%3E%3C/svg%3E") no-repeat right 0.12em / 0.8em;
}
.service-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}
.service-link:focus-visible { outline: none; }
.service-link:focus-visible::after { outline: 3px solid var(--focus); outline-offset: 2px; }
.service-card:hover .service-link {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

/* --------------------------------------------------------------------------
   Services page
   -------------------------------------------------------------------------- */

/* A. Compact page introduction */
.svc-intro {
  padding-block: var(--space-6);
  border-bottom: 1px solid var(--rule);
}
.svc-intro-grid {
  display: grid;
  gap: var(--space-5);
}
.breadcrumb ol {
  list-style: none;
  margin: 0 0 var(--space-4);
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-muted);
}
.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--steel-300);
}
.breadcrumb a {
  display: inline-block;
  /* ~44px tap area; negative margins keep the visual position unchanged */
  padding: 0.8rem 0.35rem;
  margin: -0.55rem -0.35rem;
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--warm-gray);
  text-underline-offset: 0.2em;
}
.breadcrumb a:hover { color: var(--charcoal); text-decoration-color: var(--accent); }
.svc-intro .eyebrow { margin-bottom: var(--space-4); }
.svc-intro-title {
  /* "FOR YOUR VEHICLE." measures ~7.5em; sized to stay on one line at 320px+ */
  font-size: clamp(2.25rem, 0.25rem + 9vw, 4.25rem);
  line-height: 0.9;
  color: var(--charcoal);
  margin: 0;
}
.svc-intro-text {
  max-width: 30rem;
  font-size: var(--fs-lg);
  color: var(--text-muted);
  margin-bottom: var(--space-5);
}

/* B. Services showcase */
.svx { padding-block: var(--space-6) var(--space-8); }

.svx-grid {
  display: grid;
  gap: var(--space-6);
}

/* Selector tiles */
.svx-picker-title {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}
.svx-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}
.svx-card {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.7rem;
  min-height: 4rem;
  padding: 0.75rem 0.85rem;
  background: var(--charcoal);
  border: 1px solid var(--charcoal);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition);
}
.svx-card:hover { background: var(--steel); border-color: var(--steel); }
.svx-card:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.svx-card-num { display: none; }
.svx-icon {
  width: 1.6rem;
  height: 1.6rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--signal-red);
  transition: color var(--transition);
}
.svx-card[aria-pressed="true"],
.svx-card[aria-pressed="true"]:hover {
  background: var(--signal-red);
  border-color: var(--signal-red);
}
.svx-card[aria-pressed="true"] .svx-icon { color: #fff; }
.svx-card[aria-pressed="true"] .svx-card-num { color: rgba(255, 255, 255, 0.8); }

.svx-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: var(--space-3) 0 0;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.svx-status .icon { color: var(--signal-red); }
.svx-status strong { color: var(--charcoal); }

/* Selected service presentation */
.svx-service[hidden] { display: none; }
.svx-service:focus { outline: none; }

.svx-photo {
  position: relative;
  margin: 0 calc(-1 * var(--gutter));
  aspect-ratio: 16 / 10;
  background: var(--steel);
  overflow: hidden;
}
/* Labeled placeholder until authentic photos are supplied */
.svx-ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: var(--space-5);
}
.svx-ph::before {
  content: "";
  position: absolute;
  inset: var(--space-3);
  border: 1px solid rgba(244, 242, 238, 0.14);
  pointer-events: none;
}
.svx-ph-icon {
  position: absolute;
  top: 50%;
  right: 8%;
  width: min(42%, 16rem);
  height: auto;
  aspect-ratio: 1;
  translate: 0 -50%;
  fill: none;
  stroke: rgba(244, 242, 238, 0.12);
  stroke-width: 0.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.svx-ph-label {
  position: relative;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm-gray);
}
.svx-ph-path {
  position: relative;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
  color: var(--steel-300);
}

/* Charcoal title plate overlapping the photo */
.svx-plate {
  position: relative;
  z-index: 1;
  margin: -2.5rem var(--space-5) 0 0;
  padding: var(--space-5);
  background: var(--charcoal);
  color: #fff;
}
.svx-plate::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3rem;
  height: 3px;
  background: var(--accent);
}
.svx-count {
  margin: 0 0 var(--space-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--steel-300);
}
.svx-count span { color: #fff; }
.svx-tag {
  display: inline-block;
  margin: 0 0 var(--space-3);
  padding: 0.2rem 0.5rem;
  background: var(--signal-red);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}
.svx-title {
  font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.75rem);
  line-height: 0.92;
  color: #fff;
  margin: 0;
}

.svx-body { padding-top: var(--space-6); }
.svx-lede {
  max-width: 40rem;
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem);
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: var(--space-6);
}
.svx-cols {
  display: grid;
  gap: var(--space-5);
}
.svx-action .svc-note { margin-bottom: var(--space-4); }
.svx-call { width: 100%; padding-inline: 1rem; }

/* Subtle content transition (disabled by the reduced-motion rules) */
@keyframes svx-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.svx-service.is-entering { animation: svx-in 260ms ease-out; }

/* Without JavaScript: no selector, all services listed.
   Uses the scripting media feature, not the html.no-js class, so browsers with
   JavaScript lay the page out correctly from the first paint (the deferred
   script used to remove .no-js after first paint, shifting the page). */
@media (scripting: none) {
  :root .svx-picker { display: none; }
  :root .svx-detail { display: grid; gap: var(--space-8); }
}

.svc-label {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}
.svc-signs {
  list-style: none;
  margin: 0 0 var(--space-5);
  padding: 0;
  display: grid;
  gap: var(--space-2);
}
.svc-signs li {
  position: relative;
  padding-left: 1.25rem;
}
.svc-signs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 0.6rem;
  height: 2px;
  background: var(--accent);
}
.svc-note {
  max-width: 36rem;
  margin: 0 0 var(--space-5);
  padding: var(--space-4);
  background: var(--warm-white-200);
  border-left: 3px solid var(--charcoal);
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.svc-note strong { color: var(--charcoal); font-weight: 600; }

.closing-cta {
  background: var(--charcoal);
  color: var(--warm-white);
  padding-block: var(--space-8);
  border-top: 3px solid var(--accent);
}
.closing-cta-inner {
  display: grid;
  gap: var(--space-6);
}
.closing-cta-title {
  font-size: var(--fs-h2);
  line-height: 0.95;
  color: #fff;
  text-wrap: balance;
  margin-bottom: var(--space-4);
}
.closing-cta-text {
  max-width: 34rem;
  margin: 0;
  font-size: var(--fs-lg);
  color: var(--warm-gray);
}
.closing-cta .btn { justify-self: start; }
.closing-cta .btn:focus-visible { outline-color: #fff; }

@media (min-width: 48em) {
  /* Tablet: full-width stacked layout; selector becomes a 4 x 2 strip */
  .svx-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.6rem; }
  .svx-card {
    grid-template-columns: 1fr;
    align-content: space-between;
    gap: var(--space-3);
    min-height: 6.25rem;
    padding: 0.9rem;
  }
  .svx-icon { width: 1.85rem; height: 1.85rem; }
  .svx-photo { margin: 0; aspect-ratio: 16 / 9; }
  .svx-plate { margin: -3.5rem 20% 0 0; padding: var(--space-5) var(--space-6); }
  .svx-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-6); align-items: start; }
  .svx-call { width: auto; }
}

@media (min-width: 56em) {
  /* A. Compact intro: headline left, copy + call right */
  .svc-intro { padding-block: var(--space-7); }
  .svc-intro-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: end;
    gap: var(--space-8);
  }
  .svc-intro-text { margin-bottom: var(--space-5); }

  /* B. Showcase: presentation left (~60%), permanent selector right (~40%) */
  .svx { padding-block: var(--space-7) var(--space-9); }
  .svx-grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    grid-template-areas: "detail picker";
    align-items: start;
    gap: var(--space-7);
  }
  .svx-detail { grid-area: detail; }
  .svx-detail.has-selection { min-height: var(--svx-detail-h, 0px); }
  .svx-picker {
    grid-area: picker;
    position: sticky;
    top: calc(var(--header-h) + var(--space-4));
  }
  .svx-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  .svx-card {
    grid-template-columns: 1fr;
    align-content: space-between;
    gap: var(--space-4);
    min-height: 9rem;
    padding: 1.1rem 1.15rem 1.2rem;
  }
  .svx-card-num {
    display: block;
    position: absolute;
    top: 1.15rem;
    right: 1.15rem;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--steel-300);
  }
  .svx-icon { width: 2.25rem; height: 2.25rem; }
  .svx-card-name {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }
  /* Status line is for screen readers only on desktop (selection is visible beside it) */
  .svx-status {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .svx-plate { margin: -4.5rem 22% 0 0; padding: var(--space-6) var(--space-7); }

  .closing-cta { padding-block: var(--space-9); }
  .closing-cta-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--space-8);
  }
}

@media print {
  .call-bar, .header-actions { display: none !important; }
  body { padding-bottom: 0; }
}

/* --------------------------------------------------------------------------
   About page
   (reuses .svc-intro, .section-title, .image-placeholder, .svc-signs, .closing-cta)
   -------------------------------------------------------------------------- */

.about-lead {
  max-width: 36rem;
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem);
  line-height: 1.55;
  color: var(--ink);
}
.about-story-copy p:not(.eyebrow):not(.about-lead),
.about-craft-copy > p:not(.eyebrow):not(.about-lead) {
  max-width: 36rem;
  color: var(--text-muted);
}
.about-story-copy .section-title,
.about-craft-copy .section-title { margin-bottom: var(--space-5); }

/* 2. Story: large photo with an overlapping experience panel */
.about-story-grid {
  display: grid;
  gap: var(--space-7);
}
.about-story-media { margin: 0 calc(-1 * var(--gutter)); position: relative; }
/* Placeholder caption sits at the top so the experience panel never covers it */
.image-placeholder--top { justify-content: flex-start; padding-top: calc(var(--space-6) + var(--space-3)); }
.about-stat {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: var(--space-4);
  margin: -2.5rem var(--space-5) 0 var(--gutter);
  padding: var(--space-5);
  background: var(--charcoal);
  color: #fff;
}
.about-stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3rem;
  height: 3px;
  background: var(--accent);
}
.about-stat-number {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 2.5rem + 4vw, 5.5rem);
  font-weight: 700;
  line-height: 0.8;
}
.about-stat-number span { color: var(--signal-red); }
.about-stat-label {
  max-width: 10rem;
  margin: 0;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--warm-gray);
}

/* 2B. Team photo: 4:3 on phones (all five people kept in frame), native 16:9 from tablet up */
.about-team {
  padding-block: var(--space-8);
  background: var(--warm-white-200);
}
.about-team-grid {
  display: grid;
  gap: var(--space-5);
}
.about-team-media { margin: 0 calc(-1 * var(--gutter)); }
.about-team .media-frame { --focal: 48% 45%; }
.about-team-copy .section-title { margin-bottom: var(--space-4); }
.about-team-copy p:not(.eyebrow) {
  max-width: 30rem;
  margin: 0;
  color: var(--text-muted);
}
@media (min-width: 48em) {
  .about-team-media { margin: 0; }
  .about-team .media-frame { aspect-ratio: 16 / 9; }
}
@media (min-width: 56em) {
  .about-team-grid {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    align-items: center;
    gap: var(--space-8);
  }
  .about-team-copy { order: -1; }
}

/* 3. Approach: charcoal editorial list with large numerals */
.about-approach {
  background: var(--charcoal);
  color: var(--warm-white);
}
.about-approach .section-title { color: #fff; margin-bottom: var(--space-4); }
.about-approach-grid {
  display: grid;
  gap: var(--space-6);
}
.about-approach-intro {
  max-width: 24rem;
  margin: 0;
  font-size: var(--fs-lg);
  color: var(--warm-gray);
}
.principles {
  list-style: none;
  margin: 0;
  padding: 0;
}
.principle {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: var(--space-4);
  padding-block: var(--space-5);
  border-top: 1px solid var(--steel);
}
.principle:last-child { border-bottom: 1px solid var(--steel); }
.principle-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 0.9;
  color: var(--signal-red);
}
.principle-title {
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: #fff;
  margin-bottom: var(--space-3);
}
.principle p {
  max-width: 34rem;
  margin: 0;
  color: var(--warm-gray);
}

/* 4. Experience & craft */
.about-craft { background: var(--warm-white-200); }
.about-craft-grid {
  display: grid;
  gap: var(--space-7);
}
.about-craft-copy .svc-label { margin-top: var(--space-6); }
.about-craft-media { margin: 0 calc(-1 * var(--gutter)); }

@media (min-width: 48em) {
  .about-story-media,
  .about-craft-media { margin: 0; }
  .about-stat { margin: -3.5rem 30% 0 0; padding: var(--space-5) var(--space-6); }
  .principle { grid-template-columns: 5rem minmax(0, 1fr); padding-block: var(--space-6); }
  .principle-num { font-size: 3.25rem; }
}

@media (min-width: 56em) {
  .about-story-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--space-8);
  }
  /* Panel overlaps the photo's lower-right corner on desktop */
  .about-stat {
    position: absolute;
    right: calc(-1 * var(--space-6));
    bottom: calc(-1 * var(--space-6));
    margin: 0;
  }
  .about-approach-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: var(--space-8);
    align-items: start;
  }
  .about-approach-head { position: sticky; top: calc(var(--header-h) + var(--space-6)); }
  .about-craft-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--space-8);
  }
}

/* --------------------------------------------------------------------------
   Visit & Contact page
   (reuses .svc-intro, .hours, .section-title, .closing-cta)
   -------------------------------------------------------------------------- */

.svc-intro-side .hero-actions { margin: 0; }

/* Location: charcoal info panel joined to a large map */
.loc { padding-block: var(--space-6) var(--space-8); }
.loc-grid { display: grid; }

.loc-info {
  position: relative;
  padding: var(--space-6) var(--space-5);
  background: var(--charcoal);
  color: var(--warm-white);
}
.loc-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3rem;
  height: 3px;
  background: var(--accent);
}
.loc-title {
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  line-height: 0.95;
  color: #fff;
  margin-bottom: var(--space-4);
}
.loc-address {
  font-style: normal;
  font-size: var(--fs-lg);
  line-height: 1.5;
  color: var(--warm-white);
  margin-bottom: var(--space-5);
}
.btn-directions {
  width: 100%;
  min-height: 3.75rem;
  font-size: 1.0625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.btn-directions .icon { width: 1.35em; height: 1.35em; }
.loc-info .btn:focus-visible,
.loc-info a:focus-visible { outline-color: #fff; }

.loc-call,
.loc-hours-summary {
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--steel);
}
.loc-label {
  margin: 0 0 var(--space-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-300);
}
.loc-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: var(--tap);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.loc-phone .icon { width: 0.75em; height: 0.75em; color: var(--signal-red); }
.loc-phone:hover { border-bottom-color: var(--accent); }
.loc-call .loc-phone { display: flex; width: fit-content; flex-wrap: wrap; }
.loc-phone .phone-tag { align-self: center; }
.loc-phone--alt { font-size: 1.375rem; }
.loc-hours-summary p:last-child { margin: 0; font-weight: 500; }
.loc-muted { color: var(--steel-300); font-weight: 400; }

.loc-map {
  position: relative;
  min-height: 22rem;
  background: var(--steel);
}
.loc-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Storefront photo inside the location panel: native 16:9, so the signage is never cropped */
.loc-storefront { margin: 0 0 var(--space-5); }
.loc-storefront .media-frame { aspect-ratio: 16 / 9; }
.loc-storefront-caption {
  margin-top: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--warm-gray);
}

/* Hours + contact options */
.loc-details { background: var(--warm-white-200); }
.loc-details-grid {
  display: grid;
  gap: var(--space-8);
}
.loc-section-title { margin-bottom: var(--space-5); }
.loc-details .hours { max-width: 30rem; }
.loc-details .hours-row { font-size: var(--fs-base); padding-block: 0.7rem; }
.loc-note {
  max-width: 30rem;
  margin: var(--space-4) 0 0;
  padding-left: var(--space-3);
  border-left: 3px solid var(--accent);
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.loc-options {
  list-style: none;
  margin: 0;
  padding: 0;
}
.loc-option {
  padding-block: var(--space-5);
  border-top: 1px solid var(--warm-gray);
}
.loc-option:last-child { border-bottom: 1px solid var(--warm-gray); }
.loc-option-title {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--charcoal);
  margin-bottom: var(--space-2);
}
.loc-option p {
  max-width: 30rem;
  color: var(--text-muted);
}
.loc-option .btn { width: 100%; padding-inline: 1rem; }

@media (min-width: 48em) {
  .loc-info { padding: var(--space-7) var(--space-6); }
  .loc-map { min-height: 28rem; }
  .btn-directions { width: auto; padding-inline: 2rem; }
  .loc-option .btn { width: auto; padding-inline: 1.6rem; }
}

@media (min-width: 56em) {
  .loc { padding-block: var(--space-7) var(--space-9); }
  .loc-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); align-items: stretch; }
  .loc-map { min-height: 34rem; }
  .btn-directions { width: 100%; }
  .loc-details-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   404 page (reuses .svc-intro and .text-link)
   -------------------------------------------------------------------------- */

.nf-links { padding-block: var(--space-7) var(--space-8); }
.nf-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
}

/* --------------------------------------------------------------------------
   Mobile homepage (Milestone 9A): cinematic layout for phones only.
   Every rule is scoped to .page-home (index.html) below 48em, so tablet,
   desktop, and the other pages are unaffected.
   -------------------------------------------------------------------------- */

/* Phone-only elements stay hidden everywhere else */
.why-family,
.hours-compact { display: none; }

@media (max-width: 47.99em) {
  /* 1. Header: shared compact phone header (see "Phone header" in Header & navigation) */

  /* 2. Hero, highlights and contact band: see "Milestone 14B" at the end of this file */

  /* 3. Services: two-column photographic cards on near-black */
  .page-home .services { padding-block: var(--space-7); background: var(--charcoal); color: var(--warm-white); }
  .page-home .services .eyebrow { color: var(--warm-gray); }
  .page-home .services .section-title { color: #fff; font-size: 2rem; }
  .page-home .services .section-intro { display: none; }
  .page-home .services .section-head { margin-bottom: var(--space-5); }
  .page-home .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
    border-top: 0;
  }
  .page-home .service-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    background: var(--charcoal-700);
    border: 0;
  }
  .page-home .service-media { aspect-ratio: 4 / 3; }
  .page-home .service-body {
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 4.25rem;
    padding: 0.8rem 0.75rem;
    border-top: 2px solid var(--charcoal-900);
  }
  .page-home .service-name {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.1;
    letter-spacing: 0.025em;
    color: #fff;
  }
  /* Arrow pinned to the right of the label bar so it never wraps onto its own line */
  .page-home .service-body { justify-content: space-between; gap: 0.5rem; }
  .page-home .service-link { padding-right: 0; background: none; }
  .page-home .service-body::after {
    content: "";
    flex: 0 0 0.875rem;
    height: 0.875rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23c8102e' d='M13.2 5.3l6.7 6.7-6.7 6.7-1.4-1.4 4.3-4.3H4v-2h12.1l-4.3-4.3z'/%3E%3C/svg%3E") no-repeat center / contain;
  }
  .page-home .service-desc { display: none; }
  .page-home .service-card--featured .service-tag {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 1;
    margin: 0;
    padding: 0.2rem 0.45rem;
    background: var(--signal-red);
    color: #fff;
    font-size: 0.625rem;
  }
  .page-home .service-card:hover .service-link { text-decoration-color: var(--accent); }
  .page-home .cta-strip {
    margin-top: var(--space-5);
    padding: var(--space-5);
    gap: var(--space-4);
    background: var(--charcoal-900);
    border-left: 3px solid var(--accent);
  }
  .page-home .cta-strip-text { font-size: var(--fs-base); }
  .page-home .cta-strip-text strong { font-size: 1.5rem; }
  .page-home .cta-strip .btn { width: 100%; }

  /* 4. Family story: full-bleed photo with an overlapping charcoal title plate */
  .page-home .why { padding-top: 0; padding-bottom: var(--space-7); }
  .page-home .why-grid { gap: 0; }
  .page-home .why-media { display: none; }
  .page-home .why-family {
    position: relative;
    display: block;
    margin: 0 calc(-1 * var(--gutter));
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--steel);
  }
  .page-home .why-family::after {
    /* fade from the dark services section into the photo, so the two read as one sequence */
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 28%;
    background: linear-gradient(to bottom, var(--charcoal) 0%, rgba(22, 24, 27, 0.6) 45%, rgba(22, 24, 27, 0) 100%);
    pointer-events: none;
  }
  .page-home .why-family img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 72%;
  }
  .page-home .why-head {
    position: relative;
    margin: -4.5rem var(--space-5) var(--space-6) 0;
    padding: var(--space-5);
    background: var(--charcoal);
    color: var(--warm-white);
  }
  .page-home .why-head::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3rem;
    height: 3px;
    background: var(--accent);
  }
  .page-home .why-head .eyebrow { margin-bottom: var(--space-3); color: var(--warm-gray); }
  .page-home .why-copy .why-head .section-title { margin-bottom: var(--space-3); color: #fff; font-size: 2rem; }
  .page-home .why-copy .why-head .section-lede { margin: 0; font-size: var(--fs-base); color: var(--warm-gray); }
  .page-home .why-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5) var(--space-4); }
  .page-home .why-title { font-size: 1.125rem; }
  .page-home .why-item p { font-size: var(--fs-sm); line-height: 1.5; }

  /* 5. Reviews: compact, rating first */
  .page-home .reviews { padding-block: var(--space-7); background: var(--charcoal-900); }
  .page-home .g-panel {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: var(--space-5);
    border-color: var(--charcoal-700);
  }
  .page-home .g-copy,
  .page-home .g-action { display: contents; }
  .page-home .g-label { order: 0; align-self: flex-start; margin-bottom: var(--space-4); }
  .page-home .g-score { order: 1; margin-bottom: var(--space-4); padding-bottom: 0; border-bottom: 0; }
  .page-home .g-score-number { font-size: 5rem; }
  .page-home .reviews .section-title { order: 2; margin-bottom: var(--space-2); font-size: 1.75rem; }
  .page-home .g-text { order: 3; margin-bottom: var(--space-5); font-size: var(--fs-base); }
  .page-home .g-button { order: 4; }

  /* 6. Visit & contact: concise dark panel */
  .page-home .visit { padding-block: var(--space-7); background: var(--charcoal-700); color: var(--warm-white); }
  .page-home .visit .eyebrow { color: var(--warm-gray); }
  .page-home .visit-copy .section-title { margin-bottom: var(--space-5); color: #fff; font-size: 2rem; }
  .page-home .visit-details { gap: var(--space-5); margin-bottom: 0; }
  .page-home .visit-label { color: var(--steel-300); margin-bottom: var(--space-2); }
  .page-home .visit-address { margin-bottom: var(--space-4); }
  .page-home .visit .text-link {
    width: 100%;
    justify-content: center;
    min-height: 3.25rem;
    border: 2px solid var(--warm-white);
    border-radius: var(--radius);
    color: #fff;
    text-decoration: none;
  }
  .page-home .visit .text-link:hover { background: var(--warm-white); color: var(--charcoal); }
  .page-home .visit .hours-row { border-color: var(--steel); }
  .page-home .visit .phone-list a { text-decoration-color: var(--steel-300); }
  .page-home .visit .phone-list dt { color: var(--warm-gray); }
  .page-home .visit-block--hours .hours { display: none; }
  .page-home .hours-compact { display: block; margin: 0; font-weight: 500; line-height: 1.6; }
  .page-home .hours-compact span { color: var(--steel-300); font-weight: 400; }
  .page-home .visit-actions,
  .page-home .visit-media { display: none; }
  .page-home .visit :focus-visible { outline-color: #fff; }
}

/* --------------------------------------------------------------------------
   Mobile Visit & Contact (Milestone 11A): phones only, scoped to .page-visit
   -------------------------------------------------------------------------- */

.hours-split,
.loc-holiday { display: none; }

@media (max-width: 47.99em) {

  /* Introduction: dark band, white headline, no duplicate Call Now (sticky bar covers it) */
  .page-visit .svc-intro {
    padding-block: var(--space-6) var(--space-6);
    background: var(--charcoal-900);
    color: var(--warm-white);
    border-bottom: 0;
  }
  .page-visit .svc-intro-grid { gap: var(--space-4); }
  .page-visit .breadcrumb ol { color: var(--steel-300); }
  .page-visit .breadcrumb a { text-decoration-color: var(--steel); }
  .page-visit .svc-intro .eyebrow { margin-bottom: var(--space-4); color: var(--warm-gray); }
  .page-visit .svc-intro-title { color: #fff; }
  .page-visit .svc-intro-text { margin: 0; font-size: var(--fs-base); color: var(--warm-gray); }
  .page-visit .svc-intro .hero-actions { display: none; }
  .page-visit .svc-intro :focus-visible { outline-color: #fff; }

  /* One contact sequence: name, address, live map, directions, phones, hours */
  .page-visit .loc {
    padding-block: var(--space-6) var(--space-7);
    background: var(--charcoal);
    color: var(--warm-white);
  }
  .page-visit .loc-info { display: contents; }
  .page-visit .loc-title { order: 1; position: relative; padding-top: var(--space-4); }
  .page-visit .loc-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3rem;
    height: 3px;
    background: var(--accent);
  }
  .page-visit .loc-address { order: 2; margin-bottom: var(--space-5); }
  .page-visit .loc-storefront { order: 2; margin: 0 calc(-1 * var(--gutter)) var(--space-5); }
  .page-visit .loc-storefront-caption { padding-inline: var(--gutter); }
  .page-visit .loc-map {
    order: 3;
    min-height: 16.5rem;
    margin: 0 calc(-1 * var(--gutter));
    border-block: 1px solid var(--steel);
  }
  .page-visit .btn-directions { order: 4; margin-block: var(--space-4) var(--space-2); }
  .page-visit .loc-call { order: 5; }
  .page-visit .loc-hours-summary { order: 6; }
  .page-visit .loc-call .loc-phone { font-size: 2.125rem; }
  .page-visit .loc-call .loc-phone--alt { font-size: 1.375rem; }
  .page-visit .loc a:focus-visible { outline-color: #fff; }

  /* Simplified hours + holiday note (replaces the one-line summary on phones) */
  .page-visit .loc-hours-summary > p:last-child { display: none; }
  .page-visit .hours-split { display: grid; gap: 0; margin: 0; }
  .page-visit .hours-split div {
    display: flex;
    justify-content: space-between;
    gap: var(--space-4);
    padding-block: 0.6rem;
    border-bottom: 1px solid var(--steel);
  }
  .page-visit .hours-split dt { font-weight: 500; }
  .page-visit .hours-split dd { margin: 0; font-variant-numeric: tabular-nums; }
  .page-visit .hours-split div:last-child dd { color: var(--steel-300); }
  .page-visit .loc-holiday {
    display: block;
    margin: var(--space-4) 0 0;
    padding-left: var(--space-3);
    border-left: 3px solid var(--accent);
    font-size: var(--fs-sm);
    color: var(--warm-gray);
  }

  /* Repeated hours table, contact cards and closing Call Now: covered above and by the sticky bar */
  .page-visit .loc-details,
  .page-visit .closing-cta { display: none; }
}

/* --------------------------------------------------------------------------
   Mobile Services (Milestone 11B): phones only, scoped to .page-services
   -------------------------------------------------------------------------- */

@media (max-width: 47.99em) {

  /* 1. Dark compact intro (sticky call bar replaces the intro Call Now) */
  .page-services .svc-intro {
    padding-block: var(--space-5);
    background: var(--charcoal-900);
    color: var(--warm-white);
    border-bottom: 0;
  }
  .page-services .svc-intro-grid { gap: var(--space-3); }
  .page-services .breadcrumb ol { color: var(--steel-300); }
  .page-services .breadcrumb a { text-decoration-color: var(--steel); }
  .page-services .svc-intro .eyebrow { margin-bottom: var(--space-3); color: var(--warm-gray); }
  .page-services .svc-intro-title { color: #fff; }
  .page-services .svc-intro-text { margin: 0; font-size: var(--fs-sm); line-height: 1.55; color: var(--warm-gray); }
  .page-services .svc-intro .btn { display: none; }
  .page-services .svc-intro :focus-visible { outline-color: #fff; }

  /* 2. Service grid: all eight visible, 2 columns x 4 rows, on dark */
  .page-services .svx { padding-block: 0 var(--space-7); background: var(--charcoal-900); color: var(--warm-white); }
  .page-services .svx-grid { gap: 0; }
  .page-services .svx-picker {
    padding-block: var(--space-4) var(--space-4);
    border-top: 1px solid var(--charcoal-700);
  }
  .page-services .svx-picker-title { margin-bottom: var(--space-3); color: var(--steel-300); }
  .page-services .svx-cards { gap: 0.5rem; }
  .page-services .svx-card {
    min-height: 3.5rem;
    padding: 0.6rem 0.75rem;
    gap: 0.6rem;
    background: var(--charcoal);
    border-color: var(--charcoal-700);
    font-size: 0.9375rem;
  }
  .page-services .svx-card[aria-pressed="true"] {
    background: var(--signal-red);
    border-color: var(--signal-red);
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.25);
  }
  .page-services .svx-icon { width: 1.375rem; height: 1.375rem; }
  .page-services .svx-card:focus-visible { outline-color: #fff; }
  /* Tapping a tile scrolls the details into view, so the "Showing … below" line is announced only */
  .page-services .svx-status {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  /* 3. Photo-led panels on dark, tighter text */
  .page-services .svx-service { padding-top: var(--space-4); }
  .page-services .svx-plate { background: var(--charcoal); }
  .page-services .svx-title { font-size: 2.375rem; }
  .page-services .svx-body { padding-top: var(--space-5); }
  .page-services .svx-lede { margin-bottom: var(--space-5); font-size: var(--fs-base); line-height: 1.6; color: var(--warm-white); }
  .page-services .svx-cols { gap: var(--space-4); }
  .page-services .svx-cols > div:first-child {
    position: relative;
    padding: var(--space-4) var(--space-4) var(--space-2);
    background: var(--charcoal);
  }
  .page-services .svx-cols > div:first-child::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 2rem;
    height: 3px;
    background: var(--accent);
  }
  .page-services .svc-label { margin-bottom: var(--space-3); color: var(--steel-300); }
  .page-services .svc-signs { margin-bottom: var(--space-3); }
  .page-services .svc-signs li { font-size: 0.9375rem; color: var(--warm-white); }
  .page-services .svc-note {
    margin-bottom: var(--space-2);
    padding: 0.15rem 0 0.15rem var(--space-3);
    background: none;
    border-left-color: var(--accent);
    font-size: var(--fs-sm);
    color: var(--warm-gray);
  }
  .page-services .svc-note strong { color: #fff; }
  /* 4. In-panel call becomes a compact text link (sticky bar is the main call button) */
  .page-services .svx-call {
    width: auto;
    min-height: var(--tap);
    padding: 0;
    justify-content: flex-start;
    background: none;
    border: 0;
    color: #fff;
    font-size: var(--fs-base);
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.35em;
  }
  .page-services .svx-call:hover { background: none; color: var(--warm-gray); }
  .page-services .svx-call .icon { color: var(--signal-red); }
  .page-services .svx-call .btn-number { margin-left: 0; }
  .page-services .svx :focus-visible { outline-color: #fff; }

  /* 5. Closing message without a repeated Call button */
  .page-services .closing-cta { padding-block: var(--space-6); }
  .page-services .closing-cta-inner { gap: 0; }
  .page-services .closing-cta-title { font-size: 1.875rem; margin-bottom: var(--space-3); }
  .page-services .closing-cta-text { font-size: var(--fs-base); }
  .page-services .closing-cta .btn { display: none; }
}

/* --------------------------------------------------------------------------
   Mobile About (Milestone 11C): phones only, scoped to .page-about.
   Charcoal steps: intro 900 -> story charcoal -> approach 700 -> craft 900 -> closing charcoal
   -------------------------------------------------------------------------- */

@media (max-width: 47.99em) {
  .page-about main :focus-visible { outline-color: #fff; }

  /* 1. Dark compact intro (sticky call bar replaces the intro Call Now) */
  .page-about .svc-intro {
    padding-block: var(--space-5) var(--space-6);
    background: var(--charcoal-900);
    color: var(--warm-white);
    border-bottom: 0;
  }
  .page-about .svc-intro-grid { gap: var(--space-4); }
  .page-about .breadcrumb ol { color: var(--steel-300); }
  .page-about .breadcrumb a { text-decoration-color: var(--steel); }
  .page-about .svc-intro .eyebrow { margin-bottom: var(--space-3); color: var(--warm-gray); }
  .page-about .svc-intro-title { color: #fff; }
  .page-about .svc-intro-text { margin: 0; font-size: var(--fs-base); line-height: 1.6; color: var(--warm-gray); }
  .page-about .svc-intro .btn { display: none; }

  /* 2. Family story: photo flush under the intro, copy on charcoal */
  .page-about .about-story {
    padding-block: 0 var(--space-7);
    background: var(--charcoal);
    color: var(--warm-white);
  }
  .page-about .about-story-grid { gap: var(--space-6); }
  .page-about .about-stat { background: var(--charcoal-700); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35); }
  .page-about .about-story-copy .eyebrow,
  .page-about .about-craft-copy .eyebrow { margin-bottom: var(--space-4); color: var(--warm-gray); }
  .page-about .about-story-copy .section-title,
  .page-about .about-craft-copy .section-title {
    font-size: 2.5rem;
    line-height: 0.95;
    color: #fff;
    margin-bottom: var(--space-5);
  }
  .page-about .about-lead {
    font-size: 1.1875rem;
    line-height: 1.5;
    color: #fff;
    margin-bottom: var(--space-5);
    padding-left: var(--space-4);
    border-left: 3px solid var(--signal-red);
  }
  .page-about .about-story-copy p:not(.eyebrow):not(.about-lead),
  .page-about .about-craft-copy > p:not(.eyebrow):not(.about-lead) {
    font-size: var(--fs-base);
    line-height: 1.65;
    color: var(--warm-gray);
  }
  .page-about .about-story-copy p:last-child { margin-bottom: 0; }

  /* 2B. Team: photo flush under the story, short caption block on the darkest charcoal */
  .page-about .about-team {
    padding-block: 0 var(--space-6);
    background: var(--charcoal-900);
    color: var(--warm-white);
  }
  .page-about .about-team-copy .eyebrow { margin-bottom: var(--space-3); color: var(--warm-gray); }
  .page-about .about-team-copy .section-title { font-size: 2rem; line-height: 0.95; color: #fff; margin-bottom: var(--space-3); }
  .page-about .about-team-copy p:not(.eyebrow) { font-size: var(--fs-base); color: var(--warm-gray); }

  /* 3. How we work: compact, numerals beside the titles */
  .page-about .about-approach {
    padding-block: var(--space-7);
    background: var(--charcoal-700);
  }
  .page-about .about-approach-grid { gap: var(--space-5); }
  .page-about .about-approach .eyebrow { margin-bottom: var(--space-4); color: var(--warm-gray); }
  .page-about .about-approach .section-title { font-size: 2.5rem; line-height: 0.95; margin-bottom: var(--space-3); }
  .page-about .about-approach-intro { font-size: var(--fs-base); }
  .page-about .principle {
    grid-template-columns: 2.25rem minmax(0, 1fr);
    gap: var(--space-3);
    padding-block: var(--space-4) var(--space-5);
    border-color: rgba(144, 151, 160, 0.28);
  }
  .page-about .principle-num { font-size: 1.5rem; line-height: 1.05; padding-top: 0.05em; }
  .page-about .principle-title { font-size: 1.375rem; line-height: 1.05; margin-bottom: var(--space-2); }
  .page-about .principle p { font-size: 0.9375rem; line-height: 1.6; }

  /* 4. Experience & craft: technician photo leads, copy on the darkest charcoal */
  .page-about .about-craft {
    padding-block: 0 var(--space-7);
    background: var(--charcoal-900);
    color: var(--warm-white);
  }
  .page-about .about-craft-grid { gap: var(--space-6); }
  .page-about .about-craft-media { order: -1; }
  .page-about .about-craft-copy .svc-label { margin-top: var(--space-5); color: var(--steel-300); }
  .page-about .about-craft .svc-signs li { color: var(--warm-white); }
  .page-about .about-craft .text-link { color: #fff; }
  .page-about .about-craft .text-link:hover { color: var(--warm-gray); }

  /* 5. Closing: message only (sticky call bar is the call action) */
  .page-about .closing-cta { padding-block: var(--space-6); }
  .page-about .closing-cta-inner { gap: 0; }
  .page-about .closing-cta-title { font-size: 1.875rem; margin-bottom: var(--space-3); }
  .page-about .closing-cta-text { font-size: var(--fs-base); }
  .page-about .closing-cta .btn { display: none; }
}


/* Mobile footer readability (all pages): larger small text, lighter secondary color */
@media (max-width: 47.99em) {
  .site-footer { font-size: 0.9375rem; }
  .footer-tagline,
  .footer-muted,
  .site-footer .phone-tag { color: var(--warm-gray); }
  .footer-heading { font-size: 0.8125rem; }
  .footer-bottom { font-size: var(--fs-sm); color: var(--warm-gray); }
}

/* No-JS fallback: keep nav reachable if JavaScript is off. A media query rather
   than the html.no-js class: the class is only removed by the deferred script.js,
   after the first paint, and on phones the expanded nav then collapsed and moved
   the whole page up (the mobile CLS reported by PageSpeed). */
@media (scripting: none) {
  :root .site-nav { position: static; display: block; }
  :root .nav-toggle { display: none; }
}
@media (scripting: none) and (min-width: 56em) { :root .site-nav { display: flex; } }

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* --------------------------------------------------------------------------
   Mobile 404 (Milestone 12C): phones only, scoped to .page-404
   -------------------------------------------------------------------------- */

@media (max-width: 47.99em) {
  .page-404 main :focus-visible { outline-color: #fff; }

  /* Dark compact intro; the sticky call bar replaces the in-page Call Now */
  .page-404 .svc-intro {
    padding-block: var(--space-6);
    background: var(--charcoal-900);
    color: var(--warm-white);
    border-bottom: 0;
  }
  .page-404 .svc-intro-grid { gap: var(--space-4); }
  .page-404 .svc-intro .eyebrow { margin-bottom: var(--space-3); color: var(--warm-gray); }
  .page-404 .svc-intro-title { color: #fff; }
  .page-404 .svc-intro-text { margin-bottom: var(--space-5); font-size: var(--fs-base); line-height: 1.6; color: var(--warm-gray); }
  .page-404 .svc-intro .btn-primary { display: none; }
  .page-404 .svc-intro .btn-ghost { border-color: var(--steel-300); color: #fff; }
  .page-404 .svc-intro .btn-ghost:hover { background: var(--warm-white); color: var(--charcoal); }

  /* Popular pages on charcoal */
  .page-404 .nf-links {
    padding-block: var(--space-6) var(--space-7);
    background: var(--charcoal);
    color: var(--warm-white);
  }
  .page-404 .nf-links .svc-label { color: var(--steel-300); }
  .page-404 .nf-links .text-link { color: #fff; }
  .page-404 .nf-links .text-link:hover { color: var(--warm-gray); }
}

/* --------------------------------------------------------------------------
   Milestone 14B: official emblem in the header/footer (all pages) and the
   dark homepage hero, highlights and contact band (index.html only).
   -------------------------------------------------------------------------- */

/* Desktop header: both phone lines beside Call Now on wide screens only */
.header-phones { display: none; }
.site-header .brand { flex: none; }
.brand-name,
.brand-sub,
.header-call-text { white-space: nowrap; }

@media (min-width: 48em) {
  .footer-logo { height: 8rem; }
}

@media (min-width: 56em) {
  .brand-logo { height: 3.75rem; }   /* 60px */
}

/* Narrow desktop: keep emblem, wordmark, five links and Call Now on one row */
@media (min-width: 56em) and (max-width: 63.99em) {
  .brand-logo { height: 3.25rem; }
  .site-header .brand { gap: 0.55rem; }
  .site-header .brand-text { padding-left: 0.55rem; }
  .brand-name { font-size: 1.3125rem; }
  .brand-sub { letter-spacing: 0.18em; }
  .header-call { padding-inline: 1rem 1.1rem; }
}

/* Mid desktop: slightly tighter nav so the larger emblem keeps breathing room */
@media (min-width: 64em) and (max-width: 79.99em) {
  .nav-list { gap: 1.5rem; padding-right: var(--space-5); margin-right: var(--space-5); }
}

@media (min-width: 75em) {
  :root { --header-h: 6rem; }
  .brand-logo { height: 4.5rem; }    /* 72px */
  .brand-name { font-size: 1.75rem; }
}

@media (min-width: 80em) {
  /* make room for the phone list: slightly tighter nav spacing on wide screens */
  .nav-list { gap: 1.6rem; padding-right: var(--space-5); margin-right: var(--space-5); }

  .header-phones {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-right: var(--space-5);
  }
  .header-phones a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
  }
  .header-phones a:hover span:first-of-type { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 0.25em; }
  .header-phones .icon { width: 0.95rem; height: 0.95rem; color: #e3172f; }
  .header-phones .phone-tag { color: var(--steel-300); }

  /* the numbers sit beside the button here, so it reads simply "Call Now" */
  .header-call-number {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .header-call-label { font-size: 0.9375rem; letter-spacing: 0.12em; opacity: 1; }
}

/* ---- Homepage hero ---------------------------------------------------- */
/* Phones and tablets: photo band on top fading into the dark copy area.
   Desktop: photo fills the right side behind a left-to-right dark gradient. */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--charcoal-900);
  color: var(--warm-white);
}

.hero-media {
  position: relative;
  margin: 0;
  /* sized so the hero call button stays above the sticky call bar on typical phones */
  height: clamp(12.5rem, calc(100svh - var(--header-h) - var(--callbar-h) - 26rem), 20rem);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 72%;   /* technician and the lifted car's underside */
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: -1px;   /* overlaps the photo edge so sub-pixel rounding never shows a bright hairline */
  background: linear-gradient(to bottom, rgba(15, 17, 19, 0.05) 0%, rgba(15, 17, 19, 0.25) 40%, rgba(15, 17, 19, 0.85) 82%, var(--charcoal-900) 100%);
}

.hero-inner {
  position: relative;
  margin-top: calc(-1 * var(--space-5));
  padding-bottom: var(--space-7);
}

.hero-eyebrow {
  margin-bottom: var(--space-4);
  color: var(--warm-gray);
  letter-spacing: 0.3em;
}

.hero-title {
  position: relative;
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  font-size: clamp(3.25rem, 1.9rem + 5.6vw, 4.75rem);
  font-style: italic;
  line-height: 0.88;
  letter-spacing: 0;
}
.hero-title::after {
  /* red rule under the headline, fading out to the right */
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(100%, 20rem);
  height: 3px;
  background: linear-gradient(90deg, var(--signal-red) 0%, var(--signal-red) 55%, rgba(200, 16, 46, 0) 100%);
}
.hero-title .hero-line { padding-right: 0.12em; }   /* room for the italic overhang */
.hero-line--silver {
  background: linear-gradient(180deg, #ffffff 0%, #eef0f2 36%, #a9afb7 52%, #d9dde1 68%, #f7f8f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-line--red {
  background: linear-gradient(180deg, #ff4252 0%, #e3172f 48%, #b30d24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  max-width: 34rem;
  margin-bottom: var(--space-6);
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: var(--warm-gray);
}

.hero-call {
  width: 100%;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 10px 28px -12px rgba(200, 16, 46, 0.75);
}
.hero-call .icon { width: 1.35rem; height: 1.35rem; }

.hero :focus-visible,
.highlights :focus-visible,
.trust-band :focus-visible { outline-color: #fff; }

@media (min-width: 30em) {
  .hero-call { width: auto; padding-inline: 1.75rem 2rem; }
}

@media (min-width: 48em) {
  .hero-media { height: clamp(20rem, 52vw, 28rem); }
  .hero-inner { padding-bottom: var(--space-8); }
}

@media (min-width: 56em) {
  .hero {
    display: flex;
    align-items: center;
    min-height: clamp(32rem, calc(100vh - var(--header-h) - 8.5rem), 42rem);
  }
  .hero-media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 64%;
    height: auto;
  }
  .hero-img { object-position: 55% 74%; }
  .hero-media::after {
    background:
      /* eased fade (many stops) so the photo emerges gradually with no visible starting edge */
      linear-gradient(90deg,
        rgba(15, 17, 19, 1) 0%, rgba(15, 17, 19, 0.97) 8%, rgba(15, 17, 19, 0.91) 16%,
        rgba(15, 17, 19, 0.81) 25%, rgba(15, 17, 19, 0.67) 35%, rgba(15, 17, 19, 0.5) 46%,
        rgba(15, 17, 19, 0.33) 58%, rgba(15, 17, 19, 0.18) 71%, rgba(15, 17, 19, 0.07) 85%, rgba(15, 17, 19, 0.02) 100%),
      linear-gradient(to top, rgba(15, 17, 19, 0.55) 0%, rgba(15, 17, 19, 0) 30%);
  }
  .hero-inner {
    margin-top: 0;
    padding-block: var(--space-8);
  }
  .hero-copy { max-width: 37rem; }
  .hero-title { font-size: clamp(4.5rem, 1.5rem + 5.4vw, 6.5rem); }
  .hero-lede { font-size: 1.1875rem; margin-bottom: var(--space-7); }
}

/* ---- Highlights ------------------------------------------------------- */
.highlights {
  background: var(--charcoal);
  border-block: 1px solid var(--charcoal-700);
  color: #fff;
}
.hl-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5) var(--space-4);
  margin-block: 0;
  padding-block: var(--space-6);
  list-style: none;
}
.hl-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}
.hl-icon {
  flex: none;
  width: 2rem;
  height: 2rem;
  color: #e3172f;
}
.hl-label {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (min-width: 48em) {
  .hl-item { gap: var(--space-3); }
  .hl-icon { width: 2.25rem; height: 2.25rem; }
  .hl-label { font-size: 1.125rem; }
}

@media (min-width: 56em) {
  .hl-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding-block: var(--space-6);
  }
  .hl-item { justify-content: center; padding-inline: var(--space-4); }
  .hl-item + .hl-item { border-left: 1px solid var(--steel); }
  .hl-label { white-space: nowrap; }
}

@media (min-width: 75em) {
  .hl-icon { width: 2.5rem; height: 2.5rem; }
  .hl-label { font-size: 1.375rem; }
}

/* ---- Contact band (tablet and desktop) -------------------------------- */
.trust-band { display: none; }

@media (min-width: 48em) {
  .trust-band {
    display: block;
    background: var(--charcoal-900);
    color: var(--warm-white);
    border-bottom: 1px solid var(--charcoal-700);
  }
  .trust-inner { padding-block: var(--space-6); }
  .trust-logo { display: none; }
  .trust-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
  }
  .trust-item {
    position: relative;
    padding: 0 var(--space-4) 0 calc(var(--space-4) + 2.25rem);
    border-left: 1px solid var(--steel);
  }
  .trust-item:first-child { border-left: 0; padding-left: 2.25rem; }
  .trust-item:first-child .trust-icon { left: 0; }
  .trust-item dt {
    margin-bottom: var(--space-2);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--steel-300);
  }
  .trust-icon {
    position: absolute;
    left: var(--space-4);
    top: 0.1rem;
    width: 1.6rem;
    height: 1.6rem;
    fill: #e3172f;
  }
  .trust-item dd {
    margin: 0;
    font-size: var(--fs-md);
    font-weight: 500;
    line-height: 1.5;
  }
  .trust-muted { color: var(--steel-300); font-weight: 400; }
  .trust-phones { display: flex; flex-direction: column; align-items: flex-start; }
  .trust-phone {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    min-height: 2.25rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    white-space: nowrap;
  }
  .trust-phone--alt { font-size: 1.25rem; }
  .trust-phone .phone-tag { color: var(--steel-300); }
  .trust-phone:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 0.2em; }
}

/* Tablet and narrow desktop: address and hours side by side, both phone lines on a full-width row below */
@media (min-width: 48em) and (max-width: 74.99em) {
  .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-5); }
  .trust-item:last-child {
    grid-column: 1 / -1;
    padding-top: var(--space-5);
    padding-left: 2.25rem;
    border-left: 0;
    border-top: 1px solid var(--steel);
  }
  .trust-item:last-child .trust-icon { left: 0; top: calc(var(--space-5) + 0.1rem); }
  .trust-item:last-child .trust-phones { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: var(--space-6); }
}

@media (min-width: 56em) {
  .trust-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: var(--space-6);
  }
  .trust-logo { display: block; height: 7.5rem; width: auto; }
  .trust-list { padding-left: var(--space-6); border-left: 1px solid var(--signal-red); }
}

/* Service photo crop points (Milestone 15D: moved out of inline style attributes so the
   Content-Security-Policy needs no 'unsafe-inline' for styles). Same values on Home and Services. */
.media-img[src$="service-ac-repair.jpg"] { --focal: 50% 80%; }
.media-img[src$="service-brake-repair.jpg"] { --focal: 60% 50%; }
.media-img[src$="service-engine-repair.jpg"] { --focal: 60% 35%; }
.media-img[src$="service-transmission-repair.jpg"] { --focal: 50% 50%; }
.media-img[src$="service-cooling-system.jpg"] { --focal: 50% 60%; }
.media-img[src$="service-oil-changes-maintenance.jpg"] { --focal: 50% 30%; }
.media-img[src$="service-suspension.jpg"] { --focal: 55% 55%; }
.media-img[src$="service-starters-alternators.jpg"] { --focal: 55% 55%; }
.about-story-media .media-frame { --focal: 50% 75%; } /* family photo (was an inline style) */
