/* ============================================================
   HAFEN'S GARAGE — ORG DESIGN SYSTEM
   Flat color blocks · cream + red + charcoal + amber ·
   thick borders · hard offset "sticker" shadows · sharp corners.
   Fonts: Big Shoulders Display (display) + Overpass (body), via
   Google Fonts — see <head> of each page.
   ============================================================ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

/* ── TOKENS ── */
:root {
  /* Brand palette */
  --red-60: #ed1c24; --red-70: #c8151c; --red-40: #f24d54;
  --charcoal-90: #121a16; --charcoal-80: #17231e; --charcoal-60: #2c3a33; --charcoal-40: #5c6961;
  --amber-60: #faa534; --amber-70: #e08e1f; --amber-30: #ffd699;
  --cream-00: #f9fcf7; --cream-10: #f0efe8;
  --white: #ffffff; --black: #0b0f0d;

  /* Semantic surfaces / text / borders */
  --surface-page: var(--cream-00);
  --surface-card: var(--white);
  --surface-sunken: var(--cream-10);
  --surface-inverse: var(--charcoal-80);
  --surface-brand: var(--red-60);
  --surface-brand-hover: var(--red-70);
  --surface-accent: var(--amber-60);

  --text-primary: var(--charcoal-90);
  --text-secondary: var(--charcoal-40);
  --text-inverse: var(--cream-00);
  --text-brand: var(--red-60);
  --text-accent: var(--amber-70);

  --border-default: var(--charcoal-90);
  --border-subtle: #d8d5cb;
  --border-inverse: var(--cream-00);

  --focus-ring: var(--amber-60);

  --state-success: #6ecbd3;
  --state-warning: var(--amber-60);
  --state-danger: var(--red-60);

  /* Legacy aliases kept so markup/JS referencing old names still resolves */
  --bg: var(--surface-page);
  --surface: var(--surface-card);
  --paper: var(--surface-sunken);
  --ink: var(--text-primary);
  --ink-muted: var(--text-secondary);
  --ink-black: var(--charcoal-90);
  --line: var(--border-subtle);
  --brand: var(--red-60);
  --brand-down: var(--red-70);
  --accent: var(--amber-60);

  /* Type */
  --font-display: 'Big Shoulders Display', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Overpass', Arial, sans-serif;

  --text-display-1: clamp(48px, 7vw, 96px);
  --text-display-2: clamp(36px, 5vw, 64px);
  --text-display-3: clamp(28px, 4vw, 40px);
  --text-title: 24px;
  --text-subtitle: 18px;
  --text-body: 16px;
  --text-body-sm: 14px;
  --text-caption: 12px;

  --weight-display: 800;
  --weight-display-black: 900;
  --weight-body-light: 300;
  --weight-body-regular: 400;
  --weight-body-semibold: 600;
  --weight-body-bold: 700;

  --leading-tight: 0.98;
  --leading-snug: 1.15;
  --leading-normal: 1.45;

  --tracking-display: 0.01em;
  --tracking-caps: 0.08em;

  /* Spacing scale: 4/8/12/16/24/32/48/64/96/128 */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  --container: 1200px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-pill: 999px;
  /* Legacy aliases */
  --radius: var(--radius-md);

  --shadow-card: 0 2px 0 var(--charcoal-90);
  --shadow-raised: 0 4px 0 var(--charcoal-90);
  --shadow-soft: 0 8px 24px rgba(11, 15, 13, 0.12);

  --border-width: 2px;
  --border-width-thick: 3px;

  --nav-h: 64px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }

body {
  background: var(--surface-page);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: var(--weight-body-regular);
  font-size: 16px;
  line-height: var(--leading-normal);
  overflow-x: hidden;
}

/* ── TYPE SCALE — heavy uppercase display, light sentence-case body ── */
h1, .h1 { font-family: var(--font-display); font-weight: var(--weight-display-black); font-size: 44px; line-height: var(--leading-tight); letter-spacing: var(--tracking-display); text-transform: uppercase; }
h2, .h2 { font-family: var(--font-display); font-weight: var(--weight-display); font-size: 34px; line-height: var(--leading-snug); letter-spacing: var(--tracking-display); text-transform: uppercase; }
h3, .h3 { font-family: var(--font-display); font-weight: var(--weight-display); font-size: 26px; line-height: var(--leading-snug); text-transform: uppercase; }
h4, .h4 { font-family: var(--font-display); font-weight: var(--weight-display); font-size: 22px; line-height: var(--leading-snug); text-transform: uppercase; }
h5, .h5 { font-family: var(--font-display); font-weight: var(--weight-display); font-size: 18px; line-height: 1.25; text-transform: uppercase; }
h6, .h6 { font-family: var(--font-display); font-weight: var(--weight-display); font-size: 15px; line-height: 1.3; text-transform: uppercase; letter-spacing: var(--tracking-caps); }
p       { font-weight: var(--weight-body-light); font-size: 16px; line-height: var(--leading-normal); }
small, .small   { font-size: 14px; line-height: 1.5; }
.caption        { font-size: 12px; line-height: 1.45; color: var(--text-secondary); }

/* Display size for hero moments — colossal, tightly stacked */
.display {
  font-family: var(--font-display);
  font-weight: var(--weight-display-black);
  font-size: var(--text-display-1);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
  text-transform: uppercase;
}

@media (max-width: 767px) {
  h1, .h1 { font-size: 34px; }
  h2, .h2 { font-size: 28px; }
  h3, .h3 { font-size: 22px; }
  h4, .h4 { font-size: 19px; }
}

/* ── LAYOUT ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px)  { .container { padding: 0 32px; } }
@media (min-width: 1024px) { .container { padding: 0 64px; } }

.section       { padding: var(--s-7) 0; }
@media (min-width: 768px) { .section { padding: var(--s-9) 0; } }
.section--tight { padding: var(--s-6) 0; }
@media (min-width: 768px) { .section--tight { padding: var(--s-7) 0; } }
.section--dark  { background: var(--charcoal-90); color: var(--cream-00); }
.section--darker{ background: var(--black); color: var(--cream-00); }
.section--surface { background: var(--surface-sunken); }
.section--red { background: var(--red-60); color: var(--cream-00); }

/* Sections no longer use torn-paper edge clips or doodle textures — flat
   color blocks meet at hard edges or a diagonal seam (see .seam-*). */

/* Diagonal seam divider — used where a hard color break is wanted between
   two stacked full-bleed sections, echoing the brand sheet's cut panels. */
.seam-bottom-right { clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); padding-bottom: calc(var(--s-7) + 24px); }
.seam-bottom-left  { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 88%); padding-bottom: calc(var(--s-7) + 24px); }
@media (min-width: 768px) {
  .seam-bottom-right, .seam-bottom-left { padding-bottom: calc(var(--s-9) + 24px); }
}

/* ── KICKER — small uppercase badge tag ── */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: var(--weight-body-bold);
  font-size: 11px;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: #fff;
  background: var(--charcoal-90);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}
.section--dark .kicker, .section--darker .kicker, .section--red .kicker,
.hero--poster .kicker, .article-hero .kicker { background: var(--cream-00); color: var(--charcoal-90); }

.section-head { text-align: center; margin-bottom: var(--s-7); }
.section-head .kicker { justify-content: center; }
.section-head h2 { margin-top: var(--s-3); }
.section-head .lede { max-width: 580px; margin: var(--s-3) auto 0; color: var(--text-secondary); font-weight: var(--weight-body-light); font-size: 17px; }
.section--dark .lede, .section--darker .lede, .section--red .lede { color: var(--cream-10); }

/* ── BUTTONS — sharp-cornered, thick border, hard offset "sticker" shadow ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: var(--weight-body-bold);
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 22px;
  border: var(--border-width) solid var(--border-default);
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: var(--shadow-raised);
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, background 0.15s ease-out;
}
.btn:active { transform: translateY(4px); box-shadow: none; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; box-shadow: none; }

/* Primary — red brand action (reserve for "Book a Bay") */
.btn--primary { background: var(--surface-brand); color: #fff; border-color: var(--border-default); }
.btn--primary:hover { background: var(--surface-brand-hover); }

/* Secondary — charcoal */
.btn--secondary { background: var(--charcoal-80); color: #fff; border-color: var(--border-default); }
.btn--secondary:hover { background: var(--charcoal-60); }

/* Accent — amber, for high-energy CTAs on dark/red backgrounds */
.btn--accent { background: var(--amber-60); color: var(--charcoal-90); border-color: var(--border-default); }
.btn--accent:hover { background: var(--amber-70); }

/* Ghost / outline — for dark or red backgrounds */
.btn--ghost { background: transparent; color: var(--cream-00); border-color: var(--cream-00); box-shadow: none; }
.btn--ghost:hover { background: var(--cream-00); color: var(--charcoal-90); }
.btn--ghost:active { transform: none; }

/* Text link with underline flick */
.link {
  color: var(--red-60);
  text-decoration: none;
  font-weight: inherit;
  background: linear-gradient(var(--red-60), var(--red-60)) 0 100% / 0 2px no-repeat;
  transition: background-size 0.2s ease;
  padding-bottom: 1px;
}
.link:hover { background-size: 100% 2px; }
.section--dark .link, .section--darker .link, .section--red .link { color: var(--cream-00); background-image: linear-gradient(var(--cream-00), var(--cream-00)); }

.btn--sm { padding: 8px 14px; font-size: 12px; }
.btn--lg { padding: 16px 30px; font-size: 16px; }

/* ── PREVIEW BANNER (review builds only — remove at launch) ── */
.preview-note {
  background: var(--charcoal-90);
  color: var(--cream-00);
  text-align: center;
  font-size: 14px;
  padding: 8px 16px;
}
.preview-note a { color: var(--amber-60); font-weight: bold; }

/* ── NAV — flat cream bar, thick charcoal bottom border ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 300;
  background: var(--cream-00);
  border-bottom: var(--border-width-thick) solid var(--border-default);
}
.nav-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}
@media (min-width: 768px) { .nav-inner { padding: 0 32px; } }

.nav-logo { display: flex; align-items: center; text-decoration: none; }
/* Icon-only engine-block mark, trimmed to content (aspect ratio ~1.37:1). */
img.nav-logo-icon { height: 36px; width: auto; display: block; }
/* White logo swaps in only on the red mobile header (see max-width: 900px). */
img.nav-logo-icon--light { display: none; }

.nav-links { display: flex; align-items: center; list-style: none; gap: var(--s-5); }
.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: var(--weight-body-bold);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--red-60); border-color: var(--red-60); }
.nav-links .nav-cta {
  background: var(--surface-brand);
  color: #fff;
  border: var(--border-width) solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 9px 18px;
  box-shadow: var(--shadow-card);
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.nav-links .nav-cta:hover { background: var(--surface-brand-hover); }
.nav-links .nav-cta:active { transform: translateY(2px); box-shadow: none; }
.nav-links .nav-phone { color: var(--charcoal-40); white-space: nowrap; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--charcoal-90); transition: all 0.25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  /* Red header with the white logo mark in the top left. */
  .nav { background: var(--red-60); border-bottom-color: var(--charcoal-90); }
  img.nav-logo-icon--dark { display: none; }
  img.nav-logo-icon--light { display: block; }
  .nav-toggle span { background: #fff; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--cream-00);
    flex-direction: column;
    align-items: stretch;
    padding: var(--s-4);
    gap: var(--s-3);
    border-bottom: var(--border-width-thick) solid var(--border-default);
    z-index: 299;
  }
  .nav-links.open { display: flex; }
  .nav-links .nav-cta { text-align: center; justify-content: center; display: block; }
}

/* ── HERO ──
   Two flavors: .hero--poster (flat diagonal color-block, home) and the
   photographic .hero (location pages). */
.hero {
  position: relative;
  min-height: min(80vh, 700px);
  background-color: var(--charcoal-90);
  background-image: url("/images/opt/hero-2000.jpg");
  background-size: cover;
  background-position: right center;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero--img { background-image: none; }
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(18, 26, 22, 0.94) 0%,
    rgba(18, 26, 22, 0.84) 34%,
    rgba(23, 35, 30, 0.5) 60%,
    rgba(23, 35, 30, 0.12) 82%,
    transparent 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: var(--s-8) 16px;
}
@media (min-width: 768px)  { .hero-content { padding: var(--s-9) 32px; } }
@media (min-width: 1024px) { .hero-content { padding: var(--s-9) 64px; } }
.hero-copy { max-width: 660px; }

/* Headline accent words. They stay white over the desktop hero's red diagonal
   panel and turn red on the mobile photo background (see max-width: 900px). */
.hero--poster h1 .hero-mark-red { color: #fff; }

.hero .kicker { margin-bottom: var(--s-4); }
.hero h1 { color: var(--cream-00); margin-bottom: var(--s-3); }
.hero h1 .mark { color: var(--red-40); display: inline-block; }
.hero-sub {
  color: var(--cream-10);
  font-weight: var(--weight-body-light);
  font-size: 19px;
  max-width: 500px;
  margin-bottom: var(--s-4);
}
.hero-cta { display: flex; gap: var(--s-3); flex-wrap: wrap; align-items: center; margin-bottom: var(--s-4); }
/* Compact teaser that jumps to the single live <lockii-browse> widget in
   the RESERVE section — never a second live widget instance (see
   PLAN-conversion-redesign.md's "exactly one lockii-browse per page"). */
.hero-widget {
  max-width: 380px;
  background: var(--cream-00);
  border: var(--border-width) solid var(--charcoal-90);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-raised);
  padding: var(--s-4);
}
.hero-widget-kicker {
  font-family: var(--font-body);
  font-weight: var(--weight-body-bold);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal-90);
  margin-bottom: var(--s-2);
}
.hero-widget-rates { display: flex; gap: var(--s-4); margin-bottom: var(--s-3); }
.hero-widget-rate { font-size: 14px; color: var(--charcoal-90); }
.hero-widget-rate strong { font-family: var(--font-display); font-size: 20px; color: var(--red-60); }
.hero-widget-cta { width: 100%; }
.hero-widget-note { font-size: 12px; color: var(--charcoal-60); margin-top: var(--s-2); margin-bottom: 0; }
/* Float the teaser into the hero's top-right corner once there's a
   second column (hero-photo) for it to sit above; below that it stays
   in normal flow under the CTA row (see the mobile tightening rules). */
@media (min-width: 900px) {
  .hero-widget {
    position: absolute;
    top: var(--s-7);
    right: var(--s-7);
    z-index: 2;
    width: 300px;
    max-width: 300px;
  }
}
.hero-link {
  color: var(--cream-00);
  font-size: 16px;
  text-decoration: none;
  background: linear-gradient(var(--amber-60), var(--amber-60)) 0 100% / 100% 2px no-repeat;
  padding-bottom: 2px;
  transition: color 0.15s;
}
.hero-link:hover { color: var(--amber-60); }

/* Poster hero — diagonal color-block layout: red + charcoal panels over
   cream, per the design system's Home.jsx reference. */
.hero--poster {
  position: relative;
  min-height: 0;
  background: var(--cream-00);
  overflow: hidden;
  padding: 0;
}
.hero--poster::before,
.hero--poster::after {
  content: "";
  position: absolute;
  inset: 0;
}
.hero--poster::before {
  background: var(--red-60);
  clip-path: polygon(0 0, 95% 0, 32% 100%, 0 100%);
}
.hero--poster::after {
  background: var(--charcoal-90);
  clip-path: polygon(72% 0, 100% 0, 100% 100%, 9% 100%);
}
.hero--poster .hero-content { position: relative; z-index: 1; padding-top: var(--s-9); padding-bottom: var(--s-8); }
.hero--poster .hero-grid {
  display: grid;
  gap: var(--s-5);
  align-items: center;
}
@media (min-width: 900px) {
  .hero--poster .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: var(--s-7); }
}
.hero--poster .hero-copy { max-width: none; }
.hero--poster h1 { color: #fff; }
.hero--poster h1 .mark { color: #fff; }
.hero--poster .hero-sub { color: var(--cream-00); opacity: 0.95; }
/* White/red button — red-on-red from the default .btn--primary has no
   contrast against the hero's red panel. */
.hero--poster .btn--primary { background: #fff; color: var(--red-60); border-color: var(--charcoal-90); }
.hero--poster .btn--primary:hover { background: var(--cream-10); }
/* Plain framed photo — flat border, hard offset shadow, no tilt/polaroid framing */
.hero-photo {
  position: relative;
  z-index: 1;
  border: var(--border-width-thick) solid var(--cream-00);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  background: var(--cream-00);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
@media (max-width: 899px) { .hero-photo { max-width: 460px; margin: var(--s-2) auto 0; } }

/* Tighten vertical rhythm so the CTA clears the fixed sticky mobile CTA bar
   without scrolling (.mobile-cta appears at this breakpoint too). On mobile the
   framed photo becomes a full-bleed hero background instead of a stacked panel,
   and the reserve-your-bay teaser widget is dropped entirely. */
@media (max-width: 900px) {
  .hero--poster {
    background-color: var(--charcoal-90);
    background-image:
      linear-gradient(to bottom, rgba(18, 26, 22, 0.74) 0%, rgba(18, 26, 22, 0.86) 100%),
      url("/images/opt/car_on_lift-640.webp");
    background-size: cover;
    background-position: center;
  }
  /* Diagonal color-block panels give way to the photo on mobile. */
  .hero--poster::before,
  .hero--poster::after { display: none; }
  .hero-photo { display: none; }
  .hero-widget { display: none; }
  .hero--poster h1 .hero-mark-red { color: var(--red-40); }
  .hero--poster .hero-content { padding-top: var(--s-6); padding-bottom: var(--s-7); }
  .hero--poster .kicker { margin-bottom: var(--s-2); }
  .hero--poster h1 { margin-bottom: var(--s-2); }
  .hero--poster .hero-sub { margin-bottom: var(--s-4); }
  .hero--poster .hero-cta { margin-bottom: 0; }
  /* Red button with white text — reads on the photo background instead of the
     white-on-red used over the desktop hero's red diagonal panel. */
  .hero--poster .btn--primary { background: var(--red-60); color: #fff; border-color: var(--charcoal-90); }
  .hero--poster .btn--primary:hover { background: var(--red-70); }
}

/* Location switcher chips */
.loc-switch { display: inline-flex; gap: var(--s-2); flex-wrap: wrap; }
.loc-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: var(--weight-body-bold);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream-00);
  text-decoration: none;
  border: var(--border-width) solid var(--cream-00);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  transition: background 0.15s, color 0.15s;
}
.loc-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber-60); }
.loc-chip:hover, .loc-chip.active { background: var(--cream-00); color: var(--red-60); }
.loc-switch--light .loc-chip { color: var(--charcoal-90); border-color: var(--charcoal-90); }
.loc-switch--light .loc-chip:hover, .loc-switch--light .loc-chip.active { background: var(--charcoal-90); color: var(--cream-00); }

/* ── MARQUEE / TICKER STRIP ── */
.ticker {
  background: var(--charcoal-90);
  color: var(--cream-00);
  overflow: hidden;
  padding: 12px 0;
  border-top: var(--border-width-thick) solid var(--red-60);
  border-bottom: var(--border-width-thick) solid var(--red-60);
}
.ticker--red { background: var(--red-60); border-color: var(--charcoal-90); }
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: var(--s-4);
  white-space: nowrap;
  will-change: transform;
  animation: ticker-scroll 26s linear infinite;
  padding-left: var(--s-4);
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  font-family: var(--font-body);
  font-weight: var(--weight-body-bold);
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: var(--s-4);
}
.ticker-track span::after {
  content: "";
  width: 8px; height: 8px;
  background: var(--red-60);
  display: inline-block;
}
.ticker--red .ticker-track span::after { background: var(--cream-00); }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ── PROMO BANNER — amber weekday-discount band with thick borders ── */
.promo-banner {
  background: var(--amber-60);
  color: var(--charcoal-90);
  border-top: var(--border-width-thick) solid var(--charcoal-90);
  border-bottom: var(--border-width-thick) solid var(--charcoal-90);
  padding: var(--s-3) 0;
}
.promo-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  flex-wrap: wrap;
  text-align: center;
}
.promo-banner-tag {
  font-family: var(--font-body);
  font-weight: var(--weight-body-bold);
  font-size: 12px;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  background: var(--charcoal-90);
  color: var(--cream-00);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}
.promo-banner-text {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: clamp(18px, 3.5vw, 26px);
  text-transform: uppercase;
  letter-spacing: var(--tracking-display);
}

/* ── TRUST BAR ── */
.trustbar { background: var(--charcoal-90); padding: var(--s-5) 0; }
.trustbar-inner {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: var(--s-4);
}
.trust-item { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--cream-00); }
a.trust-item--link { text-decoration: none; }
a.trust-item--link .trust-label { background: linear-gradient(var(--amber-60), var(--amber-60)) 0 100% / 0 1px no-repeat; transition: background-size 0.2s ease, color 0.15s; }
a.trust-item--link:hover .trust-label { color: var(--cream-00); background-size: 100% 1px; }
.trust-num { font-family: var(--font-display); font-weight: var(--weight-display-black); font-size: 26px; line-height: 1; color: var(--amber-60); }
.trust-label { font-size: 12px; line-height: 1.25; color: var(--cream-10); }
.trust-item .stars { font-size: 15px; }
.stars { color: var(--amber-60); letter-spacing: 2px; font-size: 18px; }
@media (max-width: 560px) {
  .trustbar-inner { gap: var(--s-3); }
  .trust-item { gap: 6px; }
  .trust-num { font-size: 20px; }
  .trust-label { font-size: 10px; }
  .trust-item .stars { font-size: 12px; letter-spacing: 1px; }
}

/* ── CARDS — flat surface, thick border, hard offset shadow ── */
.card {
  background: var(--surface-card);
  border: var(--border-width) solid var(--border-default);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: var(--s-5);
}
.card--hover { transition: transform 0.15s ease-out, box-shadow 0.15s ease-out; }
.card--hover:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-raised);
}
.card-title { margin-bottom: var(--s-2); }
.card-text { color: var(--text-secondary); font-weight: var(--weight-body-light); font-size: 15px; }

.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--red-60);
  color: #fff;
  border: var(--border-width) solid var(--border-default);
  margin-bottom: var(--s-3);
}
.icon-chip svg { width: 28px; height: 28px; }

.grid { display: grid; gap: var(--s-4); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; }
  .grid--3 > *:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* ── STEPS (how it works) ── */
.step { position: relative; overflow: hidden; padding: 0; }
.step img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; height: auto; }
.step-body { padding: var(--s-3) var(--s-4) var(--s-4); }
.step-num {
  position: absolute;
  top: 0; left: 0;
  background: var(--red-60);
  color: #fff;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 17px;
  padding: 6px 14px;
  border-right: var(--border-width) solid var(--border-default);
  border-bottom: var(--border-width) solid var(--border-default);
}
.step-title { margin-bottom: var(--s-1); }

/* ── PRICING / RECEIPT COMPARE ── */
.rate-table {
  max-width: 560px;
  margin: 0 auto var(--s-3);
  background: var(--surface-card);
  border: var(--border-width) solid var(--border-default);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.rate-table-head,
.rate-table-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  align-items: baseline;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-5);
}
.rate-table-head {
  background: var(--charcoal-90);
  color: #fff;
  align-items: center;
}
.rate-table-head span {
  font-family: var(--font-body);
  font-weight: var(--weight-body-bold);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.rate-table-row + .rate-table-row,
.rate-table-head + .rate-table-row { border-top: 2px dashed var(--border-subtle); }
.rate-table-svc { text-align: right; }
.rate-table-hours {
  font-family: var(--font-body);
  font-weight: var(--weight-body-bold);
  font-size: 15px;
}
.rate-table-rate {
  text-align: right;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-secondary);
}
.rate-table-rate strong {
  font-family: var(--font-display);
  font-weight: var(--weight-display-black);
  font-size: 24px;
  line-height: 1;
  color: var(--red-60);
}
.rate-per { font-size: 15px; color: var(--text-secondary); font-family: var(--font-body); }
.rate-table-note {
  max-width: 560px;
  margin: 0 auto var(--s-6);
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
  max-width: 880px;
  margin: 0 auto;
}
@media (max-width: 700px) { .compare-grid { grid-template-columns: 1fr; } }

/* Flat bordered receipt card — thick border, hard offset shadow */
.price-col {
  position: relative;
  background: var(--surface-card);
  color: var(--text-primary);
  border: var(--border-width) solid var(--border-default);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: var(--s-5);
}
.price-col--featured {
  background: var(--red-60);
  color: #fff;
}
.price-tag {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--charcoal-90);
  color: #fff;
  font-family: var(--font-body);
  font-weight: var(--weight-body-bold);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
}
.price-col-title { margin-bottom: var(--s-3); }
.price-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--s-2) 0;
  border-bottom: 2px dashed var(--border-subtle);
  font-size: 15px;
}
.price-col--featured .price-line { border-bottom-color: rgba(249, 252, 247, 0.45); }
.price-line strong { font-size: 16px; }
.price-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: var(--s-3);
  padding-top: var(--s-3);
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 20px;
  text-transform: uppercase;
}
.price-total .big { font-size: 32px; color: var(--red-60); }
.price-col--featured .price-total .big { color: #fff; }
.price-total .big--accent { color: #fff; }
.strike { text-decoration: line-through; opacity: 0.55; }
.compare-note { max-width: 880px; margin: var(--s-5) auto 0; text-align: center; font-size: 14px; color: var(--text-secondary); }

/* ── REVIEWS — flat, aligned; no tilt ── */
.review-card { display: flex; flex-direction: column; gap: var(--s-3); color: #fff; background: var(--red-60); border-color: var(--border-default); }
.grid > .review-card:nth-child(2n) { background: var(--charcoal-90); }
.review-card .stars { color: var(--amber-60); }
.review-text { font-size: 15px; line-height: 1.55; font-weight: var(--weight-body-light); }
.review-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review-avatar {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: var(--cream-00);
  color: var(--charcoal-90);
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: var(--border-width) solid var(--cream-00);
}
.review-name { font-weight: var(--weight-body-bold); font-size: 14px; }
.review-meta { font-size: 12px; color: var(--cream-10); }

/* ── ALERTS / BANNERS ── */
.alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-radius: var(--radius-md);
  padding: var(--s-3) var(--s-4);
  font-size: 15px;
  border: var(--border-width) solid;
  border-left-width: 6px;
}
.alert--info  { background: var(--cream-10); border-color: var(--charcoal-60); color: var(--charcoal-90); }
.alert--warn  { background: var(--amber-30); border-color: var(--state-warning); color: var(--charcoal-90); }
.alert--urgent{ background: var(--red-40); border-color: var(--state-danger); color: #fff; }
.alert-title { font-family: var(--font-body); font-weight: var(--weight-body-bold); text-transform: uppercase; font-size: 13px; letter-spacing: 0.05em; display: block; margin-bottom: 2px; }

/* ── FORMS — sharp corners, thick borders, amber focus ring ── */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; letter-spacing: var(--tracking-caps); text-transform: uppercase; font-family: var(--font-body); font-weight: var(--weight-body-bold); color: var(--text-secondary); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-primary);
  background: var(--surface-card);
  border: var(--border-width) solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  transition: box-shadow 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--focus-ring);
}
.field .hint { font-size: 12px; color: var(--text-secondary); }
.field--error input { border-color: var(--state-danger); }
.field--error .hint { color: var(--red-70); }

/* ── BOOKING SECTION ── */
/* Single column at every width. The two-column version handed the booking
   widget only ~600px, which is under the breakpoint where it lays its product
   cards out side by side — so they stacked and you couldn't see both without
   scrolling. Full container width gives the widget room to go two-up. */
.booking-grid {
  display: grid;
  gap: var(--s-5);
  margin: 0 auto;
  align-items: start;
}
/* Widget leads; the info list sits under it as a "rescue" for anyone who
   scrolls past without booking. */
.booking-info { display: flex; flex-direction: column; gap: var(--s-4); }
@media (min-width: 720px) {
  .booking-info {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-5);
  }
  /* Two short columns instead of one tall list, so the band stays ~3 lines. */
  .booking-info .check-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(240px, auto));
    column-gap: var(--s-6);
  }
}
.check-list { list-style: none; display: flex; flex-direction: column; gap: var(--s-2); }
.check-list li {
  position: relative;
  padding-left: 32px;
  font-size: 16px;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 20px; height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  background: var(--red-60);
  border-radius: var(--radius-sm);
}
.booking-alt { display: flex; flex-direction: column; gap: var(--s-2); align-items: flex-start; }
.booking-alt-label { font-size: 14px; color: var(--text-secondary); }

/* Tighten the gap into the pricing section for continuity on mobile. */
@media (max-width: 959px) {
  #reserve { padding-bottom: var(--s-5); }
  #pricing { padding-top: var(--s-5); }
}

/* Reserve space for third-party widgets so they don't shift the page. */
.widget-frame { max-width: 880px; margin: 0 auto; min-height: 420px; width: 100%; }
/* The booking widget picks its column count from the width it is given, so the
   frame width is the only lever we have over it — its internals are Lockii's.
   The full container (~1070px) fits three cards across, which strands the
   fourth product alone on a second row. 760px is the widest setting that still
   holds at two across, so the four products land 2 x 2. */
.booking-grid .widget-frame { max-width: 760px; }
.find-frame { max-width: 700px; margin: 0 auto; min-height: 180px; }
.widget-fallback {
  background: var(--amber-30);
  border: var(--border-width) solid var(--state-warning);
  border-left-width: 6px;
  border-radius: var(--radius-md);
  color: var(--charcoal-90);
  padding: var(--s-3) var(--s-4);
  font-size: 15px;
}
.widget-fallback .alert-title { color: inherit; }

/* ── STICKY MOBILE CTA ── */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 400;
  background: var(--charcoal-90);
  border-top: var(--border-width-thick) solid var(--red-60);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mobile-cta a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: var(--weight-body-bold);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 10px;
  border-radius: var(--radius-md);
}
.mobile-cta svg { width: 18px; height: 18px; }
.mobile-cta-call { color: var(--cream-00); border: var(--border-width) solid var(--charcoal-60); }
.mobile-cta-book { background: var(--red-60); color: #fff; }
@media (max-width: 900px) {
  .mobile-cta { display: flex; }
  body:has(.mobile-cta) .footer-bottom { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

/* ── CTA STRIP — flat red band with thick top/bottom border ── */
.cta-strip {
  background: var(--red-60);
  text-align: center;
  padding: var(--s-7) 16px;
  border-top: var(--border-width-thick) solid var(--border-default);
  border-bottom: var(--border-width-thick) solid var(--border-default);
}
.cta-strip a {
  font-family: var(--font-display);
  font-weight: var(--weight-display-black);
  font-size: clamp(32px, 6vw, 56px);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  transition: color 0.15s ease;
}
.cta-strip a:hover { color: var(--charcoal-90); }
.cta-strip .caption { color: #fff; margin-top: var(--s-2); opacity: 0.95; }

/* ── LOCATIONS ── */
.location-card .location-map {
  width: 100%;
  height: 240px;
  border: var(--border-width) solid var(--border-default);
  border-radius: var(--radius-md);
  margin: var(--s-3) 0;
}
.location-address { color: var(--text-secondary); font-size: 15px; }
.location-hours { font-size: 14px; color: var(--text-secondary); margin-top: var(--s-1); }
.location-hours strong { color: var(--red-60); }

/* ── AREA PILLS ── */
.area-pills { display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: center; max-width: 760px; margin: 0 auto; }
.area-pill {
  background: var(--surface-card);
  border: var(--border-width) solid var(--border-default);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-size: 13px;
  font-family: var(--font-body);
  font-weight: var(--weight-body-bold);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--charcoal-90);
}
a.area-pill { text-decoration: none; transition: background 0.15s ease, border-color 0.15s ease; }
a.area-pill:hover { background: var(--charcoal-90); border-color: var(--charcoal-90); color: var(--cream-00); }

/* ── FAQ ── */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { padding: var(--s-4) 0; border-bottom: 2px dashed var(--border-subtle); }
.faq-item:first-child { padding-top: 0; }
.faq-item:last-child { border-bottom: none; }
.faq-question { margin-bottom: var(--s-2); }
.faq-answer { color: var(--text-secondary); font-weight: var(--weight-body-light); }

/* ── ARTICLE / GUIDES ── */
.article-hero {
  background: var(--red-60);
  padding: var(--s-7) 16px calc(var(--s-7) + 8px);
  text-align: center;
  border-bottom: var(--border-width-thick) solid var(--border-default);
}
.article-hero h1 { color: #fff; max-width: 900px; margin: var(--s-3) auto var(--s-2); font-size: clamp(32px, 6vw, 56px); }
.article-hero .kicker { margin-bottom: var(--s-2); }
.article-hero .sub { color: #fff; opacity: 0.95; font-weight: var(--weight-body-light); font-size: 18px; }
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--s-7) 16px;
  font-size: 17px;
  line-height: 1.65;
}
.article-body p { font-size: 17px; font-weight: var(--weight-body-light); margin-bottom: var(--s-3); }
.article-body h2 { margin: var(--s-5) 0 var(--s-3); }
.article-body img { border-radius: var(--radius-md); border: var(--border-width-thick) solid var(--border-default); margin: var(--s-4) 0; }
.article-body ul { list-style: disc; padding-left: var(--s-5); margin-bottom: var(--s-3); }
.article-body li { font-size: 17px; font-weight: var(--weight-body-light); margin-bottom: var(--s-1); }
.article-back { max-width: 720px; margin: var(--s-4) auto 0; padding: 0 16px; font-size: 14px; }
.video-embed {
  max-width: 880px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border: var(--border-width-thick) solid var(--border-default);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.video-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ── FOOTER ── */
.footer { background: var(--charcoal-90); color: var(--cream-10); }
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--s-7) 16px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: var(--s-5);
}
@media (min-width: 768px) { .footer-inner { padding: var(--s-7) 32px; } }
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-inner { grid-template-columns: 1fr; } }
/* Vertical lockup — engine-block mark over the HAFEN'S / DIY GARAGE wordmark (~1.39:1). */
.footer-logo { height: 64px; width: auto; display: block; margin-bottom: var(--s-3); }
.footer-tag { font-size: 14px; font-weight: var(--weight-body-light); max-width: 260px; }
.footer-heading {
  font-family: var(--font-body);
  font-weight: var(--weight-body-bold);
  font-size: 13px;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--amber-60);
  margin-bottom: var(--s-3);
}
.footer-col { display: flex; flex-direction: column; gap: var(--s-2); }
.footer a { color: var(--cream-10); text-decoration: none; font-size: 15px; transition: color 0.15s; }
.footer a:hover { color: var(--amber-60); }
.footer-bottom {
  border-top: var(--border-width) solid var(--charcoal-60);
  padding: var(--s-3) 16px;
  text-align: center;
  font-size: 13px;
  color: var(--cream-10);
}

/* ── UTILITIES ── */
.center { text-align: center; }
.mt-2 { margin-top: var(--s-2); } .mt-3 { margin-top: var(--s-3); }
.mt-4 { margin-top: var(--s-4); } .mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); }
.uppercase { text-transform: uppercase; }
.muted { color: var(--text-secondary); }
.on-dark { color: var(--cream-00); }
.locations-grid { max-width: 980px; margin: 0 auto; }
.footer-address { color: var(--cream-10); }

/* ── STYLEGUIDE-ONLY HELPERS ── */
.sg-swatch-row { display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; margin-bottom: var(--s-3); }
.sg-swatch { height: 56px; border-radius: var(--radius-sm); display: flex; align-items: flex-end; padding: 4px 6px; font-size: 10px; font-family: monospace; border: var(--border-width) solid var(--border-default); }
.sg-block { margin-bottom: var(--s-7); }
.sg-row { display: flex; gap: var(--s-3); flex-wrap: wrap; align-items: center; }
@media (max-width: 700px) { .sg-swatch-row { grid-template-columns: repeat(3, 1fr); } }
