/* =========================================================================
   Bingham Plumbing & Gas - mockup stylesheet
   Implements 03-design/design-system.md exactly.
   Motif: the Pipe Bend (hard 90deg elbow drawn in straight strokes).
   Hard rules: border-radius 0 everywhere; no glassmorphism; no ambient
   animation; touch targets >= 44px; responsive 360/480/768/1080/1280/1440.
   ========================================================================= */

/* ---------------------------------------------------------------------------
   1. Tokens (:root) - copied from design-system.md section 9
   --------------------------------------------------------------------------- */
:root {
  /* ---- Type families ---- */
  --font-display: "Archivo", system-ui, "Segoe UI", Arial, sans-serif;
  --font-body: "Libre Franklin", system-ui, "Segoe UI", Arial, sans-serif;

  /* ---- Fluid type scale (min ... max via clamp) ---- */
  --fs-display: clamp(2.125rem, 1.2rem + 4.1vw, 4.5rem);   /* 34 -> 72 */
  --fs-h1:      clamp(1.6875rem, 1.15rem + 2.4vw, 3.25rem);/* 27 -> 52 */
  --fs-h2:      clamp(1.4375rem, 1.2rem + 1.05vw, 2.25rem);/* 23 -> 36 */
  --fs-h3:      clamp(1.25rem, 1.16rem + 0.4vw, 1.625rem); /* 20 -> 26 */
  --fs-h4:      1.25rem;     /* 20 */
  --fs-h5:      1.0625rem;   /* 17 */
  --fs-h6:      0.9375rem;   /* 15 */
  --fs-lead:    clamp(1.125rem, 1.04rem + 0.37vw, 1.375rem); /* 18 -> 22 */
  --fs-body:    clamp(1rem, 0.97rem + 0.12vw, 1.0625rem);  /* 16 -> 17 */
  --fs-small:   0.9375rem;   /* 15 */
  --fs-xs:      0.8125rem;   /* 13 */
  --fs-overline:0.8125rem;   /* 13 */

  /* ---- Line heights ---- */
  --lh-display: 0.96;  --lh-h1: 1.02;  --lh-h2: 1.08;  --lh-h3: 1.15;
  --lh-h4: 1.2;        --lh-tight: 1.25; --lh-body: 1.6; --lh-lead: 1.45;

  /* ---- Letter spacing ---- */
  --ls-display: -0.02em; --ls-h1: -0.015em; --ls-h2: -0.01em;
  --ls-tight: -0.005em;  --ls-overline: 0.16em; --ls-label: 0.04em;

  /* ---- Weights ---- */
  --fw-reg: 400; --fw-med: 500; --fw-semi: 600; --fw-bold: 700;
  --fw-x: 800;   --fw-black: 900;

  /* ---- Core palette ---- */
  --van-blue:        #0E3A5F;
  --van-blue-deep:   #0A2C49;
  --van-blue-tint:   #1B4E7A;
  --gas-amber:       #E08A1E;
  --amber-hover:     #C9760F;
  --copper-deep:     #A85E12;
  --color-ink:       #13202B;
  --steel-900:       #1D2C38;
  --steel-700:       #3C4C58;
  --steel-500:       #647480;
  --steel-300:       #A9B4BC;
  --steel-200:       #D5DBDF;
  --steel-100:       #E7EAEC;
  --site-paper:      #F7F5F1;
  --white:           #FFFFFF;
  --green-success:   #2E7D4F;
  --orange-warning:  #B4530C;
  --red-error:       #A3271F;

  /* ---- Semantic tokens ---- */
  --bg:            var(--site-paper);
  --bg-dark:       var(--van-blue-deep);
  --surface:       var(--white);
  --surface-alt:   var(--steel-100);
  --ink:           var(--color-ink);
  --ink-on-dark:   #EEF2F5;
  --muted:         var(--steel-500);
  --muted-on-dark: var(--steel-300);
  --brand:         var(--van-blue);
  --brand-strong:  var(--van-blue-deep);
  --accent:        var(--gas-amber);
  --accent-hover:  var(--amber-hover);
  --accent-ink:    var(--copper-deep);
  --line:          var(--steel-200);
  --line-strong:   var(--steel-700);
  --focus:         var(--gas-amber);
  --success:       var(--green-success);
  --warning:       var(--orange-warning);
  --error:         var(--red-error);

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

  /* ---- Layout ---- */
  --maxw: 1200px;
  --measure: 66ch;
  --gutter: 40px;

  /* ---- Elevation ---- */
  --shadow-1: 0 1px 0 var(--line);
  --shadow-2: 0 6px 24px rgba(10,44,73,0.12);

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

  /* ---- Radius (locked to zero everywhere) ---- */
  --radius: 0;
}

@media (max-width: 1279px) { :root { --gutter: 32px; } }
@media (max-width: 767px)  { :root { --gutter: 24px; } }
@media (max-width: 480px)  { :root { --gutter: 20px; } }

/* ---------------------------------------------------------------------------
   2. Global resets that enforce the hard rules
   --------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  border-radius: var(--radius) !important; /* sharp corners everywhere */
}
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html:focus-within { scroll-padding-top: 88px; } /* sticky header offset for anchors */

body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: var(--fs-body);
  line-height: var(--lh-body); font-weight: var(--fw-reg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--brand); margin: 0 0 var(--space-4); }
h1 { font-weight: var(--fw-x);    font-size: var(--fs-h1); line-height: var(--lh-h1); letter-spacing: var(--ls-h1); }
h2 { font-weight: var(--fw-bold); font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: var(--ls-h2); }
h3 { font-weight: var(--fw-bold); font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--ls-tight); }
h4 { font-weight: var(--fw-semi); font-size: var(--fs-h4); line-height: var(--lh-h4); }
h5 { font-weight: var(--fw-semi); font-size: var(--fs-h5); line-height: var(--lh-tight); letter-spacing: 0.01em; }
h6 { font-weight: var(--fw-semi); font-size: var(--fs-h6); line-height: 1.3; letter-spacing: var(--ls-label); }

p { margin: 0 0 var(--space-4); max-width: var(--measure); }
.lead { font-size: var(--fs-lead); line-height: var(--lh-lead); font-weight: var(--fw-med); }
.small { font-size: var(--fs-small); }
.xs { font-size: var(--fs-xs); letter-spacing: 0.01em; }
.overline {
  font-family: var(--font-display); font-weight: var(--fw-med);
  font-size: var(--fs-overline); letter-spacing: var(--ls-overline);
  text-transform: uppercase; color: var(--accent-ink); margin: 0 0 var(--space-2);
}
.display {
  font-family: var(--font-display); font-weight: var(--fw-black);
  font-size: var(--fs-display); line-height: var(--lh-display);
  letter-spacing: var(--ls-display); font-variant-numeric: tabular-nums;
}

a { color: var(--van-blue-tint); text-decoration-thickness: 2px; text-underline-offset: 2px; }
a:hover { color: var(--brand); }
img { max-width: 100%; height: auto; display: block; }

strong, b { font-weight: var(--fw-semi); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); width: 100%; }
.section { padding: var(--space-8) 0; }
@media (min-width: 1080px) { .section { padding: var(--space-9) 0; } }

.section--alt { background: var(--surface-alt); }
.section--paper { background: var(--bg); }
.measure { max-width: var(--measure); }
.center { text-align: center; }

.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;
}

/* ---------------------------------------------------------------------------
   3. Skip link + focus
   --------------------------------------------------------------------------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: var(--ink);
  font-family: var(--font-display); font-weight: 600;
  padding: 12px 18px; z-index: 200; text-decoration: none;
}
.skip-link:focus { left: var(--gutter); top: 8px; }

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

/* ---------------------------------------------------------------------------
   4. Buttons (design-system 6.3)
   --------------------------------------------------------------------------- */
.btn {
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  line-height: 1; letter-spacing: 0.01em;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 44px; padding: 12px 24px;
  border: 2px solid transparent; cursor: pointer;
  text-decoration: none; text-align: center;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn--primary { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--ink); }
.btn--primary:active { background: var(--accent-hover); transform: translateY(1px); }

.btn--secondary { background: var(--brand); color: var(--ink-on-dark); border-color: var(--brand); }
.btn--secondary:hover { background: var(--brand-strong); border-color: var(--brand-strong); color: var(--ink-on-dark); }

.btn--ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--ghost:hover { background: var(--brand); color: var(--ink-on-dark); }

.hero .btn--ghost { color: #fff; border-color: #fff; }
.hero .btn--ghost:hover { background: #fff; color: var(--brand); }

.btn[aria-disabled="true"] { background: var(--surface-alt); color: var(--muted); border-color: var(--line); cursor: not-allowed; pointer-events: none; }

@media (max-width: 480px) { .btn { width: 100%; } }

/* ---------------------------------------------------------------------------
   5. Header / navigation (design-system 6.1)
   --------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  transition: min-height var(--dur) var(--ease);
}
.site-header__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; align-items: center; gap: var(--space-6);
  min-height: 80px;
  transition: min-height var(--dur) var(--ease);
}
.site-header[data-condensed="true"] .site-header__inner { min-height: 60px; }

.site-logo { display: inline-flex; align-items: center; gap: var(--space-3); text-decoration: none; }
.site-logo img { height: 46px; width: auto; display: block; transition: height var(--dur) var(--ease); }
.site-header[data-condensed="true"] .site-logo img { height: 38px; }
.site-logo__word {
  font-family: var(--font-display); font-weight: 800; font-size: 1.0625rem;
  line-height: 1.05; color: var(--brand); letter-spacing: -0.01em;
}
.site-logo__word span { display: block; font-weight: 500; font-size: 0.75rem; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
@media (max-width: 1080px) { .site-logo__word { display: none; } }

.nav { display: flex; align-items: center; gap: var(--space-5); margin-left: auto; }
.nav a {
  position: relative;
  font-family: var(--font-body);
  font-weight: 500; font-size: 1rem;
  color: var(--ink); text-decoration: none;
  padding: 12px 4px; min-height: 44px;
  display: inline-flex; align-items: center;
  transition: color var(--dur) var(--ease);
}
.nav a:hover { color: var(--brand); }
.nav a::after {
  content: ""; position: absolute; left: 4px; right: 4px; bottom: 6px;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"]::before {
  content: ""; position: absolute; right: 4px; bottom: 6px;
  width: 2px; height: 6px; background: var(--accent);
}
.nav a.nav--emergency { color: var(--accent-ink); font-weight: 600; }
.nav a.nav--emergency:hover { color: var(--accent-hover); }

/* Services dropdown */
.nav__has-menu { position: relative; }
.nav__menu {
  position: absolute; top: 100%; left: 0; min-width: 240px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-2); padding: var(--space-2) 0;
  display: none; z-index: 110;
}
.nav__has-menu:hover .nav__menu,
.nav__has-menu:focus-within .nav__menu { display: block; }
.nav__menu a {
  display: block; padding: 10px var(--space-5); min-height: 44px;
  font-weight: 500; width: 100%;
}
.nav__menu a::after, .nav__menu a::before { content: none; }
.nav__menu a:hover { background: var(--surface-alt); color: var(--brand); }

/* Phone button */
.nav__call {
  font-family: var(--font-display); font-weight: 600;
  background: var(--accent); color: var(--ink);
  padding: 12px 18px; min-height: 44px;
  display: inline-flex; align-items: center; gap: var(--space-2);
  text-decoration: none;
  border: 2px solid var(--accent);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.nav__call:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--ink); }

/* Mobile call button (visible only on small screens, in header) */
.header-call-mobile {
  display: none; margin-left: auto;
  font-family: var(--font-display); font-weight: 600;
  background: var(--accent); color: var(--ink);
  min-height: 44px; min-width: 44px; padding: 10px 14px;
  align-items: center; gap: var(--space-2); text-decoration: none;
  border: 2px solid var(--accent);
}
.header-call-mobile:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--ink); }

/* Hamburger */
.nav-toggle {
  min-width: 44px; min-height: 44px;
  display: none; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-strong); color: var(--ink);
  cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 22px; height: 2px; background: currentColor; position: relative;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle__bars::before { content: ""; position: absolute; top: -7px; left: 0; }
.nav-toggle__bars::after { content: ""; position: absolute; top: 7px; left: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel */
.mobile-nav {
  position: fixed; inset: 80px 0 auto 0; z-index: 95;
  background: var(--surface); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
  max-height: calc(100vh - 80px); overflow-y: auto;
}
.mobile-nav[data-open="true"] { transform: none; opacity: 1; pointer-events: auto; }
.mobile-nav a {
  display: block; padding: 16px var(--gutter); min-height: 44px;
  border-bottom: 1px solid var(--line); font-weight: 500; text-decoration: none; color: var(--ink);
}
.mobile-nav a:hover { background: var(--surface-alt); color: var(--brand); }
.mobile-nav a.nav--emergency { color: var(--accent-ink); font-weight: 600; }
.mobile-nav__call {
  font-family: var(--font-display); font-weight: 700;
  font-variant-numeric: tabular-nums; color: var(--brand) !important;
  font-size: 1.25rem;
}

/* Mobile bottom call bar */
.mobile-callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line); background: var(--surface);
}
.mobile-callbar a {
  min-height: 52px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; text-decoration: none;
}
.mobile-callbar a:first-child { background: var(--accent); color: var(--ink); }
.mobile-callbar a:last-child { background: var(--brand); color: var(--ink-on-dark); }

@media (max-width: 767px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-call-mobile { display: inline-flex; }
  .mobile-callbar { display: grid; }
  body { padding-bottom: 52px; } /* room for the fixed call bar */
}
@media (min-width: 768px) {
  .mobile-nav, .mobile-callbar { display: none !important; }
}

/* ---------------------------------------------------------------------------
   6. Motif: the Pipe Bend (design-system 4)
   --------------------------------------------------------------------------- */
.divider {
  position: relative; height: 0;
  border-top: 1px solid var(--line);
  margin: var(--space-8) 0;
}
.divider::before {
  content: ""; position: absolute; top: -3px; left: 0;
  width: 56px; height: 6px; background: var(--accent);
}
.divider::after {
  content: ""; position: absolute; top: -3px; left: 0;
  width: 6px; height: 24px; background: var(--accent);
}

.section-head { position: relative; padding-left: 28px; }
.section-head::before {
  content: ""; position: absolute; left: 0; top: 0.35em;
  width: 16px; height: 16px;
  border-left: 3px solid var(--accent); border-top: 3px solid var(--accent);
}

.bend-list { list-style: none; padding: 0; margin: 0 0 var(--space-4); }
.bend-list li { position: relative; padding-left: 24px; margin-bottom: var(--space-3); }
.bend-list li::before {
  content: ""; position: absolute; left: 2px; top: 0.55em;
  width: 8px; height: 8px;
  border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent);
}

/* ---------------------------------------------------------------------------
   7. Hero (design-system 6.2)
   --------------------------------------------------------------------------- */
.hero {
  background: var(--brand);
  color: var(--ink-on-dark);
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: stretch;
}
.hero__text { padding: var(--space-10) var(--gutter); max-width: 660px; margin-left: auto; }
.hero .overline { color: #F3C98B; }
.hero__title { font-family: var(--font-display); font-weight: 800; color: #fff; margin: var(--space-3) 0 var(--space-5); }
.hero .lead { color: var(--muted-on-dark); max-width: 52ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.hero__media { position: relative; min-height: 320px; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__media { order: -1; min-height: 0; }
  .hero__media img { max-height: 320px; }
  .hero__text { padding: var(--space-8) var(--gutter); margin: 0; max-width: none; }
}

/* Compact page hero for interior pages */
.page-hero { background: var(--brand); color: var(--ink-on-dark); padding: var(--space-9) 0 var(--space-8); }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: var(--muted-on-dark); }
.page-hero .overline { color: #F3C98B; }
.page-hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }

/* Breadcrumb */
.breadcrumb { font-size: var(--fs-xs); color: var(--muted-on-dark); margin-bottom: var(--space-3); }
.breadcrumb a { color: var(--muted-on-dark); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span[aria-hidden] { padding: 0 var(--space-2); }

/* ---------------------------------------------------------------------------
   8. Trust strip (design-system 6.5)
   --------------------------------------------------------------------------- */
.trust-strip {
  background: var(--surface-alt);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: var(--space-5) 0;
}
.trust-strip__grid {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5);
}
.trust-strip__item { position: relative; padding-left: 22px; font-size: 0.9375rem; color: var(--ink); font-weight: 500; line-height: 1.4; }
.trust-strip__item::before {
  content: ""; position: absolute; left: 0; top: 0.15em; width: 12px; height: 12px;
  border-left: 3px solid var(--accent); border-top: 3px solid var(--accent);
}
@media (max-width: 767px) { .trust-strip__grid { grid-template-columns: 1fr 1fr; gap: var(--space-4); } }
@media (max-width: 360px) { .trust-strip__grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------
   9. Section header block
   --------------------------------------------------------------------------- */
.section__head { margin-bottom: var(--space-7); max-width: 64ch; }
.section__head p { color: var(--steel-700); }

/* ---------------------------------------------------------------------------
   10. Cards (design-system 6.4)
   --------------------------------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
@media (max-width: 1079px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .card-grid { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line);
  padding: var(--space-6) var(--space-5) var(--space-5);
  text-decoration: none;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.card__edge { position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--accent); }
.card__edge::after { content: ""; position: absolute; top: 0; left: 0; width: 6px; height: 24px; background: var(--accent); }
.card__title { font-family: var(--font-display); font-weight: 700; color: var(--brand); margin: var(--space-3) 0 var(--space-2); font-size: var(--fs-h3); }
.card__body { color: var(--ink); font-size: 1rem; margin: 0 0 var(--space-4); }
.card__more { display: inline-flex; align-items: center; gap: var(--space-2); margin-top: auto; font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; color: var(--accent-ink); }
.card__more::after { content: ""; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.card:hover { border-color: var(--brand); transform: translateY(-2px); }
.card:hover .card__title { color: var(--brand-strong); }
.card:hover .card__more { color: var(--accent-hover); }

/* Media card variant */
.card--media { padding: 0; }
.card--media .card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 6px solid var(--accent); }
.card--media .card__media img { width: 100%; height: 100%; object-fit: cover; }
.card--media .card__inner { padding: var(--space-5) var(--space-5) var(--space-5); display: flex; flex-direction: column; flex: 1; }

/* ---------------------------------------------------------------------------
   11. Why / feature blocks
   --------------------------------------------------------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; gap: var(--space-5); } }
.feature {
  background: var(--surface); border: 1px solid var(--line);
  border-top: 6px solid var(--accent);
  padding: var(--space-6) var(--space-5);
}
.feature h3 { font-size: var(--fs-h3); }
.feature p { margin-bottom: 0; }

/* ---------------------------------------------------------------------------
   12. Reviews (design-system 6.6)
   --------------------------------------------------------------------------- */
.reviews-source { color: var(--muted); font-size: var(--fs-small); margin-bottom: var(--space-6); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
@media (max-width: 1079px) { .reviews-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .reviews-grid { grid-template-columns: 1fr; } }

.review {
  background: var(--surface); border: 1px solid var(--line);
  padding: var(--space-7) var(--space-5) var(--space-5);
  position: relative; margin: 0;
}
.review__mark { position: absolute; top: var(--space-4); left: var(--space-5); width: 18px; height: 18px; border-left: 3px solid var(--accent); border-top: 3px solid var(--accent); }
.review__quote { font-family: var(--font-body); font-style: italic; font-weight: 400; font-size: 1.0625rem; line-height: 1.6; color: var(--ink); margin: 0 0 var(--space-4); max-width: none; }
.review__by { font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; color: var(--muted); }
.review__by::before { content: ""; display: inline-block; width: 14px; height: 2px; background: var(--accent); margin-right: var(--space-2); vertical-align: middle; }

/* ---------------------------------------------------------------------------
   13. Emergency band (design-system 6.7)
   --------------------------------------------------------------------------- */
.emergency {
  position: relative; overflow: hidden;
  background: var(--brand-strong); color: var(--ink-on-dark);
  padding: var(--space-9) 0;
}
.emergency__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 1; }
.emergency h2 { color: #fff; }
.emergency p { color: var(--muted-on-dark); }
.emergency__phone {
  font-family: var(--font-display); font-weight: 900; font-variant-numeric: tabular-nums;
  font-size: clamp(2.125rem, 6vw, 4.5rem); line-height: 0.96; color: var(--accent);
  text-decoration: none; display: inline-block; margin: var(--space-4) 0 var(--space-2);
}
.emergency__phone:hover { color: var(--accent-hover); }
.emergency__links { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; margin-top: var(--space-4); }
.emergency__links a:not(.btn) { color: #F3C98B; font-weight: 600; }
.emergency__links a:not(.btn):hover { color: #fff; }
.emergency__bend {
  position: absolute; right: -20px; bottom: -20px; width: 220px; height: 220px;
  border-left: 10px solid var(--line-strong); border-top: 10px solid var(--line-strong);
  opacity: 0.25; pointer-events: none;
}

/* ---------------------------------------------------------------------------
   14. Emergency page - first-aid steps
   --------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
@media (max-width: 767px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--surface); border: 1px solid var(--line);
  border-left: 6px solid var(--accent);
  padding: var(--space-5) var(--space-5) var(--space-4);
}
.step h3 { font-size: var(--fs-h4); color: var(--brand); margin-bottom: var(--space-3); }
.step p { margin-bottom: 0; }

.availability {
  background: var(--surface); border: 1px solid var(--line);
  border-left: 4px solid var(--accent); padding: var(--space-4) var(--space-5);
  margin: var(--space-5) 0 0; max-width: 70ch;
}
.availability p { margin: 0; color: var(--ink); }

/* big call panel */
.call-panel { background: var(--surface-alt); border: 1px solid var(--line); padding: var(--space-7) var(--space-6); text-align: center; }
.call-panel .display { color: var(--brand); display: block; margin: var(--space-3) 0; }
.call-panel .display a { color: var(--brand); text-decoration: none; }
.call-panel .display a:hover { color: var(--accent-ink); }

/* ---------------------------------------------------------------------------
   15. Services page layout
   --------------------------------------------------------------------------- */
.svc-group { padding-top: var(--space-7); }
.svc-group:first-of-type { padding-top: 0; }
.svc-group__intro { max-width: 70ch; color: var(--steel-700); }
.svc-item {
  border-top: 1px solid var(--line);
  padding: var(--space-6) 0;
  display: grid; grid-template-columns: 240px 1fr; gap: var(--space-6); align-items: start;
}
.svc-item:last-child { border-bottom: 1px solid var(--line); }
.svc-item h3 { margin-bottom: var(--space-2); }
.svc-item__id { font-family: var(--font-display); font-weight: 600; color: var(--accent-ink); font-size: var(--fs-small); }
.svc-item p:last-child { margin-bottom: 0; }
.svc-item__media { border: 1px solid var(--line); border-top: 6px solid var(--accent); }
.svc-item__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 767px) {
  .svc-item { grid-template-columns: 1fr; gap: var(--space-4); }
}

/* Anchored sections clear the sticky header */
:target { scroll-margin-top: 96px; }

/* Service jump nav */
.svc-jump { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
.svc-jump a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px;
  border: 1px solid var(--line-strong); color: var(--brand); font-family: var(--font-display);
  font-weight: 600; font-size: 0.9375rem; text-decoration: none; background: var(--surface);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.svc-jump a:hover { background: var(--brand); color: var(--ink-on-dark); border-color: var(--brand); }

/* ---------------------------------------------------------------------------
   16. Gallery / proof-of-work (before & after pairs)
   --------------------------------------------------------------------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: 1fr; } }
.ba {
  border: 1px solid var(--line); border-top: 6px solid var(--accent);
  background: var(--surface);
}
.ba__pair { display: grid; grid-template-columns: 1fr 1fr; }
.ba__pair figure { margin: 0; position: relative; }
.ba__pair figure + figure { border-left: 1px solid var(--line); }
.ba__pair img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ba__tag {
  position: absolute; top: 0; left: 0;
  font-family: var(--font-display); font-weight: 600; font-size: 0.75rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--brand); color: #fff; padding: 4px 10px;
}
.ba__pair figure:last-child .ba__tag { background: var(--accent); color: var(--ink); }
.ba__caption { padding: var(--space-4) var(--space-5); font-size: var(--fs-small); color: var(--ink); font-weight: 500; }

/* ---------------------------------------------------------------------------
   17. Coverage block (design-system 6.11)
   --------------------------------------------------------------------------- */
.coverage__lead { max-width: 70ch; color: var(--steel-700); }
.suburb-list {
  list-style: none; padding: 0; margin: var(--space-5) 0 var(--space-5);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-2) var(--space-5);
}
@media (max-width: 900px) { .suburb-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .suburb-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 360px) { .suburb-list { grid-template-columns: 1fr; } }
.suburb-list li { position: relative; padding-left: 20px; font-size: 0.9375rem; color: var(--ink); }
.suburb-list li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 8px; height: 8px;
  border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent);
}
.coverage__note { font-weight: 500; color: var(--ink); }

.map-placeholder {
  margin-top: var(--space-6); border: 1px solid var(--line); border-top: 6px solid var(--accent);
  background:
    repeating-linear-gradient(0deg, transparent 0 38px, var(--steel-200) 38px 39px),
    repeating-linear-gradient(90deg, transparent 0 38px, var(--steel-200) 38px 39px),
    var(--surface-alt);
  min-height: 260px; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: var(--space-6);
}
.map-placeholder__pin { position: relative; }
.map-placeholder p { margin: 0; color: var(--steel-700); font-weight: 500; max-width: 40ch; }
.map-placeholder strong { color: var(--brand); }

/* ---------------------------------------------------------------------------
   18. FAQ accordion (design-system 6.10)
   --------------------------------------------------------------------------- */
.faq details { border: 1px solid var(--line); background: var(--surface); margin-bottom: var(--space-3); }
.faq summary {
  list-style: none; cursor: pointer; padding: var(--space-4) var(--space-5); min-height: 44px;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  font-family: var(--font-display); font-weight: 600; color: var(--brand);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 12px; height: 12px; flex: none;
  border-right: 3px solid var(--accent); border-bottom: 3px solid var(--accent);
  transform: rotate(45deg); transition: transform var(--dur) var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .faq__body { padding: 0 var(--space-5) var(--space-5); color: var(--ink); }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------------------
   19. Forms (design-system 6.9)
   --------------------------------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-8); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; gap: var(--space-7); } }

.form { display: grid; gap: var(--space-5); max-width: 600px; }
.field { display: grid; gap: var(--space-2); }
.field label { font-family: var(--font-body); font-weight: 600; font-size: 0.9375rem; color: var(--ink); }
.field .req { color: var(--accent-ink); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-strong);
  padding: 12px 14px; min-height: 48px; width: 100%;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--brand); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(224,138,30,0.35);
}
.field .hint { font-size: 0.8125rem; color: var(--muted); }
.field[data-invalid="true"] input,
.field[data-invalid="true"] select,
.field[data-invalid="true"] textarea { border-color: var(--error); }
.field .error-text { font-size: 0.8125rem; color: var(--error); font-weight: 600; }
.form__note {
  font-size: 0.9375rem; color: var(--ink); border-left: 4px solid var(--accent);
  padding: var(--space-3) var(--space-4); background: var(--surface-alt);
}
.form__note p { margin: 0; max-width: none; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }
.form__status { font-size: var(--fs-small); color: var(--success); font-weight: 600; margin: 0; }

/* Contact details panel */
.contact-info { background: var(--surface); border: 1px solid var(--line); border-top: 6px solid var(--accent); padding: var(--space-6) var(--space-5); }
.contact-info h2 { font-size: var(--fs-h3); }
.contact-info dl { margin: 0; }
.contact-info dt { font-family: var(--font-display); font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-top: var(--space-4); }
.contact-info dd { margin: 4px 0 0; color: var(--ink); }
.contact-info dd a { color: var(--van-blue-tint); font-weight: 600; text-decoration: none; }
.contact-info dd a:hover { color: var(--brand); text-decoration: underline; }
.contact-info .licence-line { font-size: var(--fs-xs); line-height: 1.7; color: var(--steel-700); }

/* ---------------------------------------------------------------------------
   20. Prose / generic content
   --------------------------------------------------------------------------- */
.prose { max-width: var(--measure); }
.prose h2 { margin-top: var(--space-7); }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink); }
.prose ul { padding-left: 0; }

.about-layout { display: grid; grid-template-columns: 1fr 0.8fr; gap: var(--space-8); align-items: start; }
@media (max-width: 900px) { .about-layout { grid-template-columns: 1fr; gap: var(--space-6); } }
.about-media { border: 1px solid var(--line); border-top: 6px solid var(--accent); }
.about-media img { width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.about-media figcaption { padding: var(--space-3) var(--space-4); font-size: var(--fs-xs); color: var(--muted); }

.licence-block { background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--accent); padding: var(--space-5) var(--space-6); }
.licence-block dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); margin: var(--space-3) 0 0; }
@media (max-width: 520px) { .licence-block dl { grid-template-columns: 1fr; } }
.licence-block dt { font-family: var(--font-display); font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.licence-block dd { margin: 2px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; color: var(--brand); font-variant-numeric: tabular-nums; }

/* CTA closing band on paper */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: var(--space-3); }
.cta-band .cta-row { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; margin-top: var(--space-5); }

/* ---------------------------------------------------------------------------
   21. Footer (design-system 6.8)
   --------------------------------------------------------------------------- */
.site-footer { background: var(--bg-dark); color: var(--ink-on-dark); padding: var(--space-9) 0 var(--space-6); }
.site-footer__grid { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--space-6); }
.site-footer h4 { font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; margin-bottom: var(--space-4); }
.site-footer p { color: var(--muted-on-dark); font-size: 0.9375rem; max-width: 38ch; }
.site-footer a { color: var(--muted-on-dark); text-decoration: none; display: block; padding: 6px 0; min-height: 32px; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-brand-logo { background: #fff; display: inline-block; padding: 10px 12px; margin-bottom: var(--space-4); }
.site-footer .footer-brand-logo img { height: 40px; width: auto; }
.site-footer .licence-line { color: var(--muted-on-dark); font-size: 0.8125rem; line-height: 1.8; }
.site-footer .footer-phone { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: #fff !important; font-variant-numeric: tabular-nums; }
.site-footer .footer-phone:hover { color: var(--accent) !important; }
.site-footer__bar { max-width: var(--maxw); margin: var(--space-7) auto 0; padding: var(--space-5) var(--gutter) 0; border-top: 1px solid rgba(255,255,255,0.14); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-3); font-size: 0.8125rem; color: var(--muted-on-dark); }
.site-footer__bar a { display: inline; padding: 0; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------
   22. Scroll reveal (design-system 5.4) - user scroll triggered, opt-out
   --------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(8px); transition: opacity 420ms var(--ease), transform 420ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 60ms; }
.reveal[data-delay="2"] { transition-delay: 120ms; }

/* ---------------------------------------------------------------------------
   23. Reduced motion (design-system 7.3)
   --------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------------------------------------------------------------------------
   24. Print (design-system 7.4)
   --------------------------------------------------------------------------- */
@media print {
  .site-header, .mobile-callbar, .mobile-nav, .hero__media, .emergency__bend,
  .nav__call, .nav-toggle, .header-call-mobile, .btn { display: none !important; }
  * { color: #000 !important; background: #fff !important; box-shadow: none !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
  .site-footer { border-top: 1px solid #000; }
  body { font-size: 12pt; padding-bottom: 0; }
}

/* ---------------------------------------------------------------------------
   25. Utility spacing helpers used in markup
   --------------------------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mt-5 { margin-top: var(--space-5); }
.mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: var(--space-4); }
