/* ============================================================
   King Auto Electrics – redesign mockup
   Design system: 03-design/design-system.md (implemented exactly)
   Hard constraints: border-radius:0 everywhere, no glassmorphism,
   no ambient motion, 44px touch targets, responsive 360/480/768/
   1080/1280/1440, accessible focus + reduced-motion.
   ============================================================ */

/* ---------------- 1. Tokens (design-system §9) ---------------- */
:root {
  /* Type families */
  --ff-display: "Saira Condensed", "Arial Narrow", system-ui, sans-serif;
  --ff-body:    "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Type scale (fluid) */
  --fs-display:  clamp(2.75rem, 1.6rem + 6vw, 5.5rem);
  --fs-h1:       clamp(2.125rem, 1.5rem + 3.2vw, 3.75rem);
  --fs-h2:       clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  --fs-h3:       clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
  --fs-h4:       clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem);
  --fs-h5:       1.1875rem;
  --fs-h6:       1rem;
  --fs-overline: 0.875rem;
  --fs-lead:     clamp(1.125rem, 1rem + 0.8vw, 1.375rem);
  --fs-body:     clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --fs-small:    0.9375rem;
  --fs-xs:       0.8125rem;

  /* Colour: core */
  --engine-charcoal: #191B1E;
  --block-graphite:  #26292E;
  --steel-slate:     #3A3F46;
  --conductor-copper:#B4622B;
  --copper-bright:   #CE7A3D;
  --copper-deep:     #8C4A1F;
  --charge-amber:    #E8A12B;
  --amber-soft:      #F6E6C7;
  --service-sheet:   #F6F4F0;
  --pure-card:       #FFFFFF;

  /* Colour: semantic */
  --bg:            #F6F4F0;
  --bg-dark:       #191B1E;
  --bg-dark-2:     #26292E;
  --surface:       #FFFFFF;
  --surface-2:     #F0EDE7;
  --surface-dark:  #26292E;
  --surface-dark-2:#3A3F46;
  --ink:           #1C1E21;
  --ink-muted:     #5A5F66;
  --ink-invert:    #F6F4F0;
  --ink-invert-mut:#AEB3B9;
  --accent:        #B4622B;
  --accent-bright: #CE7A3D;
  --accent-deep:   #8C4A1F;
  --accent-2:      #E8A12B;
  --accent-2-soft: #F6E6C7;
  --line:          #D9D5CE;
  --line-dark:     #41464D;
  --line-accent:   #B4622B;
  --positive:      #2F6B3E;
  --negative:      #A22A22;
  --link:          #8C4A1F;
  --link-hover:    #B4622B;
  --link-invert:   #E8A12B;

  /* Spacing */
  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;   --sp-7: 3rem;     --sp-8: 4rem;
  --sp-9: 6rem;    --sp-10: 8rem;

  /* Layout */
  --maxw: 1280px;
  --maxw-text: 68ch;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 0;
  --header-h: 72px;
  --header-h-sm: 60px;
  --tap: 44px;

  /* Elevation */
  --shadow-1: 2px 2px 0 rgba(25, 27, 30, 0.10);
  --shadow-2: 4px 4px 0 rgba(25, 27, 30, 0.14);
  --border:        1px solid var(--line);
  --border-strong: 2px solid var(--ink);
  --border-dark:   1px solid var(--line-dark);

  /* Motion */
  --dur-fast: 120ms;
  --dur:      200ms;
  --ease:     cubic-bezier(0.2, 0, 0.2, 1);
}

/* HARD CONSTRAINT – square corners everywhere */
*, *::before, *::after { border-radius: 0 !important; box-sizing: border-box; }

/* ---------------- 2. Base ---------------- */
:root { font-size: 16px; }
@media (min-width: 1080px) { :root { font-size: 17px; } }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-feature-settings: "tnum" 0;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  text-transform: uppercase;
  margin: 0 0 var(--sp-4);
}
h1 { font-size: var(--fs-h1); line-height: 0.96; letter-spacing: -0.005em; font-weight: 800; }
h2 { font-size: var(--fs-h2); line-height: 1.02; font-weight: 700; }
h3 { font-size: var(--fs-h3); line-height: 1.06; letter-spacing: 0.005em; font-weight: 700; }
h4 { font-size: var(--fs-h4); line-height: 1.12; letter-spacing: 0.01em; font-weight: 600; }
h5 { font-family: var(--ff-body); font-size: var(--fs-h5); font-weight: 600; margin: 0 0 var(--sp-3); }
h6 { font-family: var(--ff-body); font-size: var(--fs-h6); font-weight: 600; text-transform: uppercase;
     letter-spacing: 0.02em; margin: 0 0 var(--sp-3); }
p  { margin: 0 0 var(--sp-4); max-width: var(--maxw-text); }
.num, .tel, .rating, .price { font-feature-settings: "tnum" 1; }

a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--link-hover); }
.section--dark a, .reviews a, .site-footer a { color: var(--link-invert); }

.prose { max-width: var(--maxw-text); }
.prose ul { padding-left: var(--sp-5); }
.prose li { margin-bottom: var(--sp-2); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------- 3. Skip link + focus + reduced motion ---------------- */
.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -64px;
  z-index: 100;
  background: var(--accent-2);
  color: var(--bg-dark);
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--ff-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: var(--sp-3); }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--accent-2);
  outline-offset: 2px;
}
:focus:not(:focus-visible) { outline: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .card:hover { transform: none; }
  .card::before { transition: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------------- 4. Motif: Copper Conductor Rail (§5) ---------------- */
.eyebrow {
  font-family: var(--ff-display);
  font-size: var(--fs-overline);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  margin: 0 0 var(--sp-4);
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--accent);
  flex: 0 0 auto;
}
.section--dark .eyebrow,
.hero__eyebrow { color: var(--accent-2); }
.section--dark .eyebrow::before,
.hero__eyebrow::before { background: var(--accent-2); }

.section-divider {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
}
.section-divider::before,
.section-divider::after {
  content: ""; width: 8px; height: 8px; background: var(--accent); flex: 0 0 auto;
}
.section-divider .wire { height: 2px; background: var(--line-accent); flex: 1 1 auto; }

/* ---------------- 5. Layout primitives ---------------- */
.section { padding: var(--sp-9) 0; }
.section--tight { padding: var(--sp-8) 0; }
.section--dark { background: var(--bg-dark); color: var(--ink-invert); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--ink-invert); }
.section--graphite { background: var(--bg-dark-2); color: var(--ink-invert); }
.section--graphite h2, .section--graphite h3 { color: var(--ink-invert); }
.section__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section__head { margin-bottom: var(--sp-7); }
.section__head p { color: var(--ink-muted); font-size: var(--fs-lead); }
.section--dark .section__head p { color: var(--ink-invert-mut); }
@media (max-width: 768px) { .section { padding: var(--sp-7) 0; } }

/* ---------------- 6. Header / nav (§6.3) ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-dark);
  color: var(--ink-invert);
  border-bottom: 2px solid var(--accent);
  height: var(--header-h);
  transition: height var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header--condensed {
  height: 60px;
  box-shadow: 0 2px 0 rgba(25,27,30,0.4);
}
.site-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}
.brand {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-invert);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
}
.brand:hover { color: var(--ink-invert); }
.brand .king { color: var(--accent-2); }
.brand__mark { width: 28px; height: 28px; flex: 0 0 auto; }

.nav {
  display: flex;
  gap: var(--sp-5);
  margin-left: auto;
}
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-invert);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.nav a:hover { color: var(--accent-2); }
.nav a[aria-current="page"] {
  color: var(--accent-2);
  border-bottom-color: var(--accent-2);
}
.header-actions { display: flex; gap: var(--sp-3); align-items: center; }

.nav-toggle { display: none; }

@media (max-width: 900px) {
  .site-header { height: var(--header-h-sm); }
  .site-header--condensed { height: var(--header-h-sm); }
  .nav, .header-actions .btn--quote, .header-actions .btn--call-text { display: none; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--tap);
    height: var(--tap);
    margin-left: auto;
    background: transparent;
    border: 2px solid var(--accent-2);
    color: var(--ink-invert);
    cursor: pointer;
    padding: 0;
  }
  .nav-toggle svg { width: 22px; height: 22px; }
  .nav-panel {
    position: fixed;
    inset: var(--header-h-sm) 0 auto 0;
    background: var(--bg-dark);
    border-bottom: 2px solid var(--accent);
    padding: var(--sp-4) var(--gutter) var(--sp-6);
    display: none;
    z-index: 49;
    max-height: calc(100vh - var(--header-h-sm));
    overflow-y: auto;
    transform: translateY(-8px);
    transition: transform var(--dur) var(--ease);
  }
  .nav-panel[data-open="true"] { display: block; transform: translateY(0); }
  .nav-panel a {
    display: flex;
    align-items: center;
    min-height: var(--tap);
    padding: var(--sp-3) 0;
    border-bottom: 1px solid var(--line-dark);
    color: var(--ink-invert);
    font-family: var(--ff-display);
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-decoration: none;
  }
  .nav-panel a[aria-current="page"] { color: var(--accent-2); }
  .nav-panel .panel-actions { display: grid; gap: var(--sp-3); margin-top: var(--sp-5); }
  .nav-panel .panel-actions .btn { width: 100%; }
}

/* Sub-list of service anchors inside the mobile panel */
.nav-panel .subnav { list-style: none; margin: 0; padding: 0 0 0 var(--sp-4); }
.nav-panel .subnav a { font-size: 1rem; min-height: var(--tap); border-bottom: 1px solid var(--line-dark); }

/* Sticky mobile action bar */
.action-bar { display: none; }
@media (max-width: 900px) {
  .action-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 2px solid var(--accent);
  }
  .action-bar .btn { min-height: 52px; border: 0; }
  body { padding-bottom: 60px; }
}

/* ---------------- 7. Buttons (§6.2) ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: var(--tap);
  padding: 0 var(--sp-5);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              transform var(--dur-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; fill: currentColor; flex: 0 0 auto; }

.btn--primary {
  background: var(--accent);
  color: var(--ink-invert);
  border-color: var(--accent);
}
.btn--primary:hover { background: var(--accent-bright); border-color: var(--accent-bright); color: var(--ink-invert); }
.btn--primary:active { background: var(--accent-deep); border-color: var(--accent-deep); }

.btn--secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--secondary:hover { background: var(--ink); color: var(--ink-invert); }

.btn--ghost {
  background: transparent;
  color: var(--ink-invert);
  border-color: var(--accent-2);
}
.btn--ghost:hover { background: var(--accent-2); color: var(--bg-dark); }

/* Action-bar split colours */
.action-bar .btn--call { background: var(--accent); color: var(--ink-invert); }
.action-bar .btn--call:hover { background: var(--accent-bright); }
.action-bar .btn--quote { background: var(--accent-2); color: var(--bg-dark); }
.action-bar .btn--quote:hover { background: var(--copper-bright); color: var(--bg-dark); }

/* ---------------- 8. Hero (§6.4) ---------------- */
.hero {
  background: var(--bg-dark);
  color: var(--ink-invert);
  border-bottom: 2px solid var(--accent);
}
.hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--sp-9) var(--gutter);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--sp-8);
  align-items: center;
}
.hero h1 {
  font-size: var(--fs-display);
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-5);
  color: var(--ink-invert);
}
.hero h1 .king { color: var(--accent-2); }
.hero__sub {
  font-size: var(--fs-lead);
  color: var(--ink-invert-mut);
  max-width: 52ch;
  margin-bottom: var(--sp-6);
}
.hero__cta { display: flex; gap: var(--sp-4); flex-wrap: wrap; }
.hero__rating {
  margin-top: var(--sp-5);
  display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap;
  font-size: var(--fs-small);
  color: var(--ink-invert-mut);
}
.hero__rating .stars { color: var(--accent-2); font-feature-settings: "tnum" 1; letter-spacing: 0.1em; }
.hero__rating a { color: var(--link-invert); }
.hero__media { border: 2px solid var(--accent); align-self: stretch; }
.hero__media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.05);
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--sp-6); padding: var(--sp-7) var(--gutter); }
  .hero__media { order: -1; aspect-ratio: 16 / 9; }
  .hero__media img { min-height: 0; aspect-ratio: 16 / 9; }
}

/* Compact page hero (Services / About / Contact / 404) */
.page-hero {
  background: var(--bg-dark);
  color: var(--ink-invert);
  border-bottom: 2px solid var(--accent);
}
.page-hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--sp-8) var(--gutter);
}
.page-hero h1 { color: var(--ink-invert); margin-bottom: var(--sp-4); }
.page-hero p { color: var(--ink-invert-mut); font-size: var(--fs-lead); max-width: 60ch; }

/* ---------------- 9. Trust bar (§6.5) ---------------- */
.trustbar { background: var(--surface-2); border-bottom: 1px solid var(--line); }
.trustbar__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--sp-4) var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-6);
  align-items: center;
  list-style: none;
}
.trustbar li {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--ff-display);
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.trustbar li::before {
  content: ""; width: 8px; height: 8px; background: var(--accent); flex: 0 0 auto;
}

/* ---------------- 10. Service cards (§6.6) ---------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-5);
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  padding: var(--sp-6) var(--sp-5) var(--sp-5);
  text-decoration: none;
  color: var(--ink);
  transition: box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur-fast) var(--ease);
}
.card:hover { color: var(--ink); }
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.card:hover, .card:focus-visible {
  border-color: var(--ink);
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}
.card:hover::before, .card:focus-visible::before { transform: scaleX(1); }
.card__icon { width: 40px; height: 40px; margin-bottom: var(--sp-4); color: var(--accent-deep); }
.card__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.75; }
.card h3 { margin-bottom: var(--sp-3); }
.card p { font-size: var(--fs-small); color: var(--ink-muted); margin-bottom: var(--sp-4); }
.card__more {
  margin-top: auto;
  font-family: var(--ff-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-deep);
}

/* ---------------- 11. Section cards (§6.7) ---------------- */
.section-card {
  scroll-margin-top: calc(var(--header-h) + var(--sp-5));
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--sp-6);
  align-items: start;
  padding: var(--sp-7) 0;
  border-top: 1px solid var(--line);
}
.section-card:first-of-type { border-top: 0; padding-top: var(--sp-5); }
.section-card__media { border: 2px solid var(--ink); aspect-ratio: 4 / 3; overflow: hidden; }
.section-card__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.12) contrast(1.04); }
/* Motif placeholder for sections without a real photo */
.section-card__motif {
  border: 2px solid var(--ink);
  aspect-ratio: 4 / 3;
  background: var(--bg-dark);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.section-card__motif svg { width: 56%; height: 56%; }
.section-card h2 { margin-bottom: var(--sp-3); }
.section-card .meta { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4) var(--sp-4); margin: var(--sp-4) 0 var(--sp-5); }
.section-card__cta { display: inline-flex; gap: var(--sp-3); flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center;
  min-height: 28px; padding: 0 var(--sp-3);
  background: var(--accent-2-soft);
  border: 1px solid var(--accent-2);
  color: var(--ink);
  font-family: var(--ff-display);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.chip--link { text-decoration: none; }
.chip--link:hover { background: var(--accent-2); color: var(--bg-dark); }
@media (max-width: 768px) {
  .section-card { grid-template-columns: 1fr; gap: var(--sp-4); }
  .section-card__media, .section-card__motif { aspect-ratio: 16 / 9; max-width: 100%; }
}

/* ---------------- 12. Feature lists / why blocks ---------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-5);
}
.feature {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: var(--surface);
  padding: var(--sp-5);
}
.section--dark .feature, .section--graphite .feature {
  background: var(--surface-dark);
  border: 1px solid var(--line-dark);
  border-left: 3px solid var(--accent-2);
}
.feature h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-3); }
.feature p { font-size: var(--fs-small); color: var(--ink-muted); margin: 0; }
.section--dark .feature p, .section--graphite .feature p { color: var(--ink-invert-mut); }

/* Equipment / brand strip */
.brandstrip {
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5);
  align-items: center; list-style: none; margin: 0; padding: 0;
}
.brandstrip li {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  font-family: var(--ff-display);
  font-size: var(--fs-h4);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-invert);
}
.brandstrip li::before { content: ""; width: 8px; height: 8px; background: var(--accent-2); flex: 0 0 auto; }

/* Suburb list */
.suburb-list { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-3); list-style: none; margin: var(--sp-4) 0 0; padding: 0; }
.suburb-list li {
  display: inline-flex; align-items: center;
  min-height: 36px; padding: 0 var(--sp-4);
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: var(--ff-display);
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.section--dark .suburb-list li, .section--graphite .suburb-list li {
  background: var(--surface-dark); border: 1px solid var(--line-dark); color: var(--ink-invert);
}

/* ---------------- 13. Reviews (§6.9) ---------------- */
.reviews { background: var(--bg-dark); color: var(--ink-invert); }
.reviews__agg {
  display: flex; align-items: baseline; gap: var(--sp-4); flex-wrap: wrap;
  margin-bottom: var(--sp-5);
}
.reviews__score {
  font-family: var(--ff-display); font-weight: 800;
  font-size: var(--fs-h1); color: var(--accent-2); font-feature-settings: "tnum" 1; line-height: 1;
}
.reviews__stars { color: var(--accent-2); font-size: var(--fs-h3); letter-spacing: 0.05em; }
.reviews__count { color: var(--ink-invert-mut); font-size: var(--fs-small); }
.reviews__note { color: var(--ink-invert-mut); font-size: var(--fs-small); max-width: 60ch; }

/* ---------------- 14. Contact / detail blocks ---------------- */
.detail-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--sp-8); align-items: start; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; gap: var(--sp-6); } }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: var(--sp-4) 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { padding-top: 0; }
.section--dark .contact-list li { border-bottom: 1px solid var(--line-dark); }
.contact-list .label {
  display: block; font-family: var(--ff-display); text-transform: uppercase;
  letter-spacing: 0.08em; font-size: var(--fs-overline); color: var(--accent-deep); margin-bottom: var(--sp-1);
}
.section--dark .contact-list .label { color: var(--accent-2); }
.contact-list .value { font-size: var(--fs-h5); font-weight: 600; }
.contact-list a.value { color: var(--link); text-decoration: none; }
.contact-list a.value:hover { color: var(--link-hover); text-decoration: underline; }

/* Map placeholder (CSS-only, no fabricated embed key) */
.map-frame {
  border: 2px solid var(--ink);
  aspect-ratio: 4 / 3;
  width: 100%;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------------- 15. Forms (§6.11) ---------------- */
.form-well {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  padding: var(--sp-7);
}
.form { display: grid; gap: var(--sp-5); max-width: 640px; }
.form-note { font-size: var(--fs-small); color: var(--ink-muted); margin: 0; }
.form-note .req { color: var(--negative); }
.form-row { display: grid; gap: var(--sp-2); }
.form-row label { font-family: var(--ff-body); font-weight: 600; font-size: var(--fs-small); color: var(--ink); }
.form-row .req { color: var(--negative); }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
.input, .select, .textarea {
  width: 100%;
  min-height: var(--tap);
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--ink-muted);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.select { appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: var(--sp-7);
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent);
}
.input:focus-visible, .select:focus-visible, .textarea:focus-visible {
  outline: 2px solid var(--accent-2); outline-offset: 2px;
}
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--negative); }
.form-error { color: var(--negative); font-size: var(--fs-small); }
.form-success {
  border-left: 3px solid var(--positive);
  background: var(--surface);
  padding: var(--sp-4) var(--sp-5);
  color: var(--ink);
  margin-bottom: var(--sp-5);
}
.form-success strong { font-family: var(--ff-display); text-transform: uppercase; letter-spacing: 0.03em; }
@media (max-width: 600px) { .form-well { padding: var(--sp-5); } .form-grid-2 { grid-template-columns: 1fr; } }

/* ---------------- 16. CTA band ---------------- */
.cta-band { background: var(--accent); color: var(--ink-invert); }
.cta-band__inner {
  max-width: var(--maxw); margin: 0 auto; padding: var(--sp-8) var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-6); flex-wrap: wrap;
}
.cta-band h2 { color: var(--ink-invert); margin: 0; }
.cta-band p { color: var(--ink-invert); margin: var(--sp-2) 0 0; max-width: 48ch; }
.cta-band .btn--ghost { border-color: var(--ink-invert); color: var(--ink-invert); }
.cta-band .btn--ghost:hover { background: var(--ink-invert); color: var(--accent-deep); }
.cta-band .btn--solid { background: var(--bg-dark); color: var(--ink-invert); border-color: var(--bg-dark); }
.cta-band .btn--solid:hover { background: var(--block-graphite); border-color: var(--block-graphite); color: var(--ink-invert); }

/* ---------------- 17. Footer (§6.10) ---------------- */
.site-footer {
  background: var(--bg-dark-2);
  color: var(--ink-invert);
  border-top: 2px solid var(--accent);
}
.site-footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--sp-8) var(--gutter) var(--sp-6);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--sp-7);
}
.site-footer h4 { color: var(--ink-invert); margin-bottom: var(--sp-4); }
.site-footer__brand .brand { font-size: 1.375rem; margin-bottom: var(--sp-3); }
.site-footer__brand p { color: var(--ink-invert-mut); font-size: var(--fs-small); max-width: 36ch; }
.site-footer__brand .lic { color: var(--ink-invert); font-family: var(--ff-display); letter-spacing: 0.04em;
  text-transform: uppercase; font-size: var(--fs-small); margin-top: var(--sp-3); }
.site-footer a { color: var(--link-invert); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: var(--sp-3); color: var(--ink-invert-mut); }
.site-footer .tel { font-feature-settings: "tnum" 1; }
.footer-legal {
  border-top: 1px solid var(--line-dark);
  margin-top: var(--sp-7);
  padding: var(--sp-5) 0 0;
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  font-size: var(--fs-xs);
  color: var(--ink-invert-mut);
}
.footer-legal .maxw { max-width: var(--maxw); }
@media (max-width: 768px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .footer-legal { flex-direction: column; gap: var(--sp-2); }
}
@media (max-width: 560px) { .site-footer__inner { grid-template-columns: 1fr; } }

/* ---------------- 18. Scroll reveal (single, user-scroll-triggered) ---------------- */
.reveal { opacity: 0; transform: translateY(8px); transition: opacity 360ms var(--ease), transform 360ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------------- 19. Utility ---------------- */
.lede { font-size: var(--fs-lead); color: var(--ink-muted); max-width: 60ch; }
.section--dark .lede { color: var(--ink-invert-mut); }
.stack-6 > * + * { margin-top: var(--sp-6); }
.center-narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
.mt-6 { margin-top: var(--sp-6); }
.mt-5 { margin-top: var(--sp-5); }

/* 404 */
.error-hero { text-align: left; }
.error-hero .code { font-family: var(--ff-display); font-weight: 800; font-size: var(--fs-display);
  color: var(--accent-2); line-height: 0.9; }
.error-links { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-6); }

/* ---------------- 20. Print (§8.1) ---------------- */
@media print {
  .site-header, .action-bar, .nav-toggle, .hero__cta, .skip-link, .cta-band .btn { display: none; }
  body { background: #fff; color: #000; font-size: 12pt; padding-bottom: 0; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  .section, .hero__inner { padding: 12pt 0; }
  .card, .section-card { box-shadow: none; border: 1px solid #000; }
  .hero, .section--dark, .reviews, .page-hero { background: #fff !important; color: #000 !important; }
  .hero h1, .page-hero h1, .section--dark h2 { color: #000 !important; }
}
