/* ==========================================================================
   Dickies Tree Service - redesign mockup stylesheet
   Implements 03-design/design-system.md exactly (tokens, scale, components).
   Vanilla CSS, no build step. border-radius:0 everywhere. No glass, no blur.
   ========================================================================== */

/* ---- 5. :root token block (copy-paste from the design system) ---- */
:root {
  /* Core palette */
  --bark: #241C14;
  --trunk: #3A2E22;
  --canopy: #2F5D34;
  --canopy-deep: #234826;
  --leaf: #4F8A4E;
  --safety: #E2640F;
  --orange-deep: #B84D08;
  --woodchip: #C9A87C;
  --sawdust: #EDE4D6;
  --paper: #FAF7F1;
  --bone: #FFFFFF;
  --ink-raw: #1F1812;
  --slate-muted: #5C5448;
  --line-raw: #D8CFBF;
  --line-dark: #4A3D2E;

  /* Semantic (light / default context) */
  --bg: var(--paper);
  --surface: var(--bone);
  --surface-2: var(--sawdust);
  --ink: var(--ink-raw);
  --muted: var(--slate-muted);
  --accent: var(--canopy);
  --accent-ink: var(--canopy-deep);
  --urgent: var(--safety);
  --urgent-ink: var(--orange-deep);
  --warm: var(--woodchip);
  --line: var(--line-raw);
  --focus: var(--safety);

  /* Typography */
  --font-display: "Zilla Slab", "Rockwell", "Roboto Slab", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI",
               Helvetica, Arial, sans-serif;

  --fs-display: clamp(2.125rem, 1.4rem + 3.2vw, 4.0rem);
  --fs-h1: clamp(1.75rem, 1.25rem + 2.2vw, 3.0rem);
  --fs-h2: clamp(1.5rem, 1.2rem + 1.3vw, 2.25rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --fs-h4: 1.25rem;
  --fs-h5: 1rem;
  --fs-h6: 0.875rem;
  --fs-lead: clamp(1.0625rem, 1.0rem + 0.35vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;
  --fs-overline: 0.8125rem;
  --fs-stat: clamp(2.0rem, 1.6rem + 1.7vw, 2.75rem);

  --lh-tight: 1.06;
  --lh-snug: 1.2;
  --lh-body: 1.65;
  --measure: 68ch;

  /* Spacing */
  --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 */
  --container: 1200px;
  --container-wide: 1320px;
  --gutter: 24px;

  /* Borders / shadow / motion */
  --radius: 0;
  --border: 1px solid var(--line);
  --border-2: 2px solid var(--ink);
  --border-accent: 3px solid var(--accent);
  --border-urgent: 3px solid var(--urgent);
  --shadow-block: 6px 6px 0 var(--ink);
  --shadow-block-accent: 6px 6px 0 var(--accent);
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --dur-fast: 120ms;
  --dur: 200ms;
  --dur-slow: 320ms;
}

/* Dark context: footer, emergency band, photo-overlay sections */
.theme-dark {
  --bg: var(--bark);
  --surface: var(--trunk);
  --surface-2: #2E251B;
  --ink: var(--paper);
  --muted: #C9BCA6;
  --accent: #7FB37C;
  --accent-ink: #A9D2A4;
  --urgent: #F2853A;
  --urgent-ink: #F2853A;
  --line: var(--line-dark);
  --focus: #F2853A;
}

/* ---- Global reset (radius + box model) ---- */
*, *::before, *::after {
  box-sizing: border-box;
  border-radius: var(--radius) !important; /* enforce the hard rule everywhere */
}
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
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: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  font-family: var(--font-display); color: var(--ink);
  line-height: var(--lh-snug); margin: 0 0 var(--space-4);
}
h1 { font-size: var(--fs-h1); font-weight: 700; line-height: var(--lh-tight); }
h2 { font-size: var(--fs-h2); font-weight: 600; }
h3 { font-size: var(--fs-h3); font-weight: 600; }
h4 { font-size: var(--fs-h4); font-weight: 500; }
p  { margin: 0 0 var(--space-4); max-width: var(--measure); }
a  {
  color: var(--accent-ink); text-underline-offset: 0.18em;
  text-decoration-thickness: 2px;
}
a:hover { color: var(--canopy-deep); text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.25em; }
strong, b { font-weight: 700; }

/* ---- Utility ---- */
.container {
  max-width: var(--container); margin: 0 auto;
  padding-inline: var(--gutter);
}
.container-wide { max-width: var(--container-wide); }
.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;
}
.measure { max-width: var(--measure); }
.lead {
  font-size: var(--fs-lead); line-height: 1.6; color: var(--ink);
  max-width: 60ch;
}
.section { padding-block: clamp(48px, 6vw, 96px); }
.section--band { background: var(--surface-2); }
.section--dark { background: var(--bark); color: var(--paper); }

.overline {
  font-family: var(--font-body); font-weight: 700;
  font-size: var(--fs-overline); letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--canopy-deep);
  margin: 0 0 var(--space-3);
  display: inline-flex; align-items: center; gap: var(--space-2);
}
.theme-dark .overline, .section--dark .overline { color: var(--warm); }

.eyebrow-mark { color: var(--accent); flex: 0 0 auto; }

/* ---- Skip link + focus + reduced motion ---- */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -56px;
  z-index: 999;
  background: var(--urgent);
  color: var(--bark);
  font-weight: 700;
  padding: 12px 16px;
  text-decoration: none;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: var(--space-4); }

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

@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;
  }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Motif - the growth ring
   ========================================================================== */
.ring-mark { flex: 0 0 auto; }

/* Section divider built from stepped rules (flat fills, not colour gradients) */
.ring-divider {
  border: 0; height: auto; margin: 0;
  padding: var(--space-5) var(--gutter); display: block;
}
.ring-divider::before {
  content: ""; display: block; height: 12px;
  max-width: var(--container); margin: 0 auto;
  background-image:
    linear-gradient(var(--line), var(--line)),
    linear-gradient(var(--line), var(--line)),
    linear-gradient(var(--line), var(--line)),
    linear-gradient(var(--line), var(--line));
  background-repeat: no-repeat;
  background-size: 100% 3px, 80% 2px, 56% 2px, 28% 1px;
  background-position: left top, left 4px, left 8px, left 11px;
}

/* ==========================================================================
   2. Navigation / header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 2px solid var(--ink);
  transition: box-shadow var(--dur) var(--ease),
              min-height var(--dur) var(--ease);
}
.nav-wrap {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: var(--space-5);
  min-height: 72px;
  transition: min-height var(--dur) var(--ease);
}
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img {
  display: block; width: auto; height: 48px;
  transition: height var(--dur) var(--ease);
}
.site-header.is-condensed .nav-wrap { min-height: 60px; }
.site-header.is-condensed .brand img { height: 40px; }

.nav-primary { margin-inline: auto; }
.nav-primary ul {
  display: flex; gap: var(--space-2); list-style: none; margin: 0; padding: 0;
}
.nav-primary a {
  display: flex; align-items: center; min-height: 44px;
  padding: 0 var(--space-3);
  font-family: var(--font-body); font-weight: 600; font-size: 0.9375rem;
  color: var(--ink); text-decoration: none;
  position: relative;
}
.nav-primary a::after {
  content: ""; position: absolute; left: var(--space-3); bottom: 14px;
  height: 3px; width: 0; background: var(--accent);
  transition: width var(--dur) var(--ease);
}
.nav-primary a:hover::after,
.nav-primary a:focus-visible::after,
.nav-primary a[aria-current="page"]::after { width: calc(100% - 24px); }
.nav-urgent { color: var(--urgent-ink) !important; font-weight: 700; }
.nav-urgent::after { background: var(--urgent) !important; }

.nav-actions { display: flex; gap: var(--space-3); align-items: center; flex: 0 0 auto; }
.nav-toggle { display: none; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 var(--space-5);
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  line-height: 1; text-decoration: none; cursor: pointer; text-align: center;
  border: 2px solid transparent;
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 52px; padding: 0 var(--space-6); font-size: 1.0625rem; }
.btn-full { width: 100%; }

.btn-primary {
  background: var(--urgent); color: var(--bark); border-color: var(--urgent);
}
.btn-primary:hover {
  background: var(--orange-deep); border-color: var(--orange-deep);
  color: var(--paper);
}
.btn-secondary {
  background: var(--canopy); color: var(--paper); border-color: var(--canopy);
}
.btn-secondary:hover {
  background: var(--canopy-deep); border-color: var(--canopy-deep);
  color: var(--paper);
}
.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-ghost-light {
  background: transparent; color: var(--paper); border-color: var(--paper);
}
.btn-ghost-light:hover { background: var(--paper); color: var(--bark); }
.btn-emergency {
  background: var(--safety); color: var(--bark); border-color: var(--safety);
  font-weight: 700;
}
.btn-emergency:hover {
  background: var(--orange-deep); color: var(--paper);
  border-color: var(--orange-deep);
}

/* ---- Mobile menu ---- */
.mobile-menu { display: none; }

@media (max-width: 980px) {
  .nav-primary, .nav-actions { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center;
    align-items: center; gap: 5px; margin-left: auto;
    width: 48px; height: 48px; padding: 12px;
    background: var(--ink); border: 0; cursor: pointer;
  }
  .nav-toggle span {
    display: block; height: 2px; width: 100%; background: var(--paper);
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-menu {
    display: block; position: fixed; top: 0; right: 0; bottom: 0;
    width: min(86vw, 360px); z-index: 200;
    background: var(--bark); color: var(--paper);
    padding: var(--space-7) var(--space-5) var(--space-6);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--dur-slow) var(--ease);
    border-left: 4px solid var(--safety);
  }
  .mobile-menu.is-open { transform: translateX(0); }
  .mobile-menu[hidden] { display: block; } /* JS toggles .is-open, not hidden */

  .mobile-menu .mm-close {
    background: transparent; border: 2px solid var(--paper); color: var(--paper);
    width: 44px; height: 44px; margin-left: auto; display: block;
    font-size: 1.25rem; cursor: pointer; line-height: 1;
  }
  .mobile-menu ul { list-style: none; margin: var(--space-5) 0; padding: 0; }
  .mobile-menu li { border-bottom: 1px solid var(--line-dark); }
  .mobile-menu li a {
    display: flex; align-items: center; min-height: 52px;
    color: var(--paper); text-decoration: none; font-weight: 600;
    font-size: 1.0625rem;
  }
  .mobile-menu li a.nav-urgent { color: #F2853A !important; }
  .mobile-menu .mm-quote { margin: var(--space-5) 0 var(--space-4); }
  .mobile-menu .mm-em {
    border-top: 2px solid var(--safety); padding-top: var(--space-4);
    margin-top: var(--space-4);
  }
  .mobile-menu .mm-em p {
    text-transform: uppercase; letter-spacing: 0.08em; font-size: var(--fs-xs);
    color: var(--warm); margin-bottom: var(--space-3);
  }
  .mobile-menu .mm-em a {
    display: flex; min-height: 48px; align-items: center; color: #F2853A;
    font-weight: 700; text-decoration: none; font-size: 1.0625rem;
  }
  .menu-backdrop {
    position: fixed; inset: 0; z-index: 150;
    background: rgba(36, 28, 20, 0.55);
    opacity: 0; visibility: hidden;
    transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
  }
  .menu-backdrop.is-open { opacity: 1; visibility: visible; }
}

/* ==========================================================================
   3. Hero
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; min-height: 64vh;
  display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(36, 28, 20, 0.66);
}
.hero-inner {
  max-width: var(--container); margin: 0 auto;
  padding: var(--space-9) var(--gutter); width: 100%;
}
.hero-h1 {
  font-size: var(--fs-display); color: var(--paper);
  max-width: 18ch; margin-bottom: var(--space-4);
}
.hero .lead { color: var(--paper); max-width: 56ch; }
.hero-cta {
  display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-6);
}

/* Compact page hero (interior pages, no big photo) */
.page-hero {
  background: var(--bark); color: var(--paper);
  position: relative; isolation: isolate; overflow: hidden;
  border-bottom: 6px solid var(--canopy);
}
.page-hero .container {
  padding-block: clamp(48px, 7vw, 88px); position: relative; z-index: 1;
}
.page-hero h1 { color: var(--paper); max-width: 20ch; }
.page-hero .lead { color: var(--paper); }
.page-hero .overline { color: var(--warm); }
/* faint oversized ring glyph anchored bottom-right as texture */
.page-hero .hero-ring {
  position: absolute; right: -40px; bottom: -60px; z-index: 0;
  color: var(--trunk); opacity: 0.85; width: 320px; height: 320px;
}
.page-hero .page-hero-cta { margin-top: var(--space-5); display: flex;
  flex-wrap: wrap; gap: var(--space-4); }

/* ==========================================================================
   5. Trust strip
   ========================================================================== */
.trust-strip {
  background: var(--bark); color: var(--paper);
  padding-block: var(--space-7); position: relative; overflow: hidden;
}
.trust-strip .ring-bg {
  position: absolute; right: -30px; top: -40px; width: 260px; height: 260px;
  color: var(--trunk); opacity: 0.6; z-index: 0;
}
.trust-grid {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  list-style: none; display: grid; gap: var(--space-5);
  grid-template-columns: repeat(6, 1fr); position: relative; z-index: 1;
}
.trust-grid li {
  border-left: 3px solid var(--leaf); padding-left: var(--space-4);
}
.stat {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: var(--fs-stat); color: var(--paper); line-height: 1;
}
.stat-label {
  display: block; font-size: var(--fs-small); color: #C9BCA6;
  margin-top: var(--space-2);
}
@media (max-width: 980px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Generic section heads + intro
   ========================================================================== */
.section-head { margin-bottom: var(--space-6); max-width: 62ch; }
.section-head h2 { margin-bottom: var(--space-3); }
.split {
  display: grid; gap: var(--space-7);
  grid-template-columns: 1.1fr 0.9fr; align-items: center;
}
.split--text-first { grid-template-columns: 0.9fr 1.1fr; }
.split img { width: 100%; height: 100%; object-fit: cover;
  border: 2px solid var(--ink); }
@media (max-width: 768px) {
  .split, .split--text-first { grid-template-columns: 1fr; }
}

/* ==========================================================================
   6.6 Service / category cards
   ========================================================================== */
.card-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: var(--surface); border: 2px solid var(--ink);
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.card-link {
  display: block; text-decoration: none; color: var(--ink); height: 100%;
}
.card-img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  border-bottom: 2px solid var(--ink);
}
.card-body { padding: var(--space-5); }
.card-title { margin-bottom: var(--space-2); }
.card-body p { color: var(--muted); margin-bottom: var(--space-3); }
.card-go {
  display: inline-block; margin-top: var(--space-2);
  font-weight: 700; color: var(--accent-ink);
}
.card-go::after { content: " \2192"; }
.card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-block-accent); }
.card:focus-within { box-shadow: var(--shadow-block-accent); }

/* ==========================================================================
   Reasons to believe list
   ========================================================================== */
.reasons {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.reasons li {
  background: var(--surface); border: 2px solid var(--ink);
  border-left-width: 6px; border-left-color: var(--canopy);
  padding: var(--space-5);
}
.reasons li h3 {
  font-family: var(--font-display); font-size: var(--fs-h4);
  font-weight: 600; margin-bottom: var(--space-2);
}
.reasons li p { margin: 0; color: var(--muted); }

/* ==========================================================================
   6.14 Free-mulch panel
   ========================================================================== */
.mulch-panel {
  background: var(--woodchip); color: var(--bark);
  border: 2px solid var(--ink); padding: var(--space-7);
  display: grid; gap: var(--space-4);
}
.mulch-panel .overline { color: var(--orange-deep); }
.mulch-panel h2 { color: var(--bark); }
.mulch-panel p { color: var(--bark); max-width: 60ch; }
.mulch-panel .btn-primary { align-self: start; }

/* ==========================================================================
   6.8 Testimonials
   ========================================================================== */
.review-grid {
  list-style: none; margin: var(--space-6) 0; padding: 0;
  display: grid; gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.review {
  background: var(--surface); border: 2px solid var(--ink);
  padding: var(--space-5); box-shadow: var(--shadow-block);
}
.review-stars {
  color: var(--safety); font-size: 1.125rem; letter-spacing: 2px;
  margin: 0 0 var(--space-3);
}
.review blockquote {
  margin: 0 0 var(--space-4); font-size: 1rem; line-height: 1.6;
  color: var(--ink); max-width: none;
}
.review cite { font-style: normal; font-weight: 700; display: block; }
.review cite span {
  display: block; font-weight: 400; color: var(--muted);
  font-size: var(--fs-small); margin-top: 2px;
}

/* ==========================================================================
   6.9 Emergency band + emergency page
   ========================================================================== */
.emergency-band {
  background: var(--bark); color: var(--paper);
  border-top: 6px solid var(--safety); border-bottom: 6px solid var(--safety);
  padding-block: var(--space-8);
}
.emergency-band h2 { color: var(--paper); }
.emergency-band p { color: var(--paper); }
.emergency-cta {
  display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-5);
}

.em-numbers {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.em-numbers a {
  display: flex; flex-direction: column; justify-content: center;
  min-height: 96px; padding: var(--space-4) var(--space-5);
  background: var(--safety); color: var(--bark); text-decoration: none;
  border: 2px solid var(--bark);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.em-numbers a:hover { background: var(--orange-deep); color: var(--paper); }
.em-numbers .em-who {
  font-size: var(--fs-small); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 2px;
}
.em-numbers .em-tel {
  font-family: var(--font-display); font-weight: 700; font-size: 1.875rem;
  line-height: 1.05;
}
.em-office {
  margin-top: var(--space-4); font-weight: 600;
}
.em-office a { color: var(--accent-ink); }

/* ==========================================================================
   Services hub - anchored service sections
   ========================================================================== */
.svc {
  display: grid; gap: var(--space-6);
  grid-template-columns: 0.9fr 1.1fr; align-items: center;
  scroll-margin-top: 96px;
}
.svc:nth-child(even) { grid-template-columns: 1.1fr 0.9fr; }
.svc:nth-child(even) .svc-media { order: 2; }
.svc-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border: 2px solid var(--ink); }
.svc-body h2 { margin-bottom: var(--space-3); }
.svc + .svc { margin-top: var(--space-8); padding-top: var(--space-8);
  border-top: 1px solid var(--line); }
@media (max-width: 768px) {
  .svc, .svc:nth-child(even) { grid-template-columns: 1fr; }
  .svc:nth-child(even) .svc-media { order: 0; }
}

/* Process strip */
.process {
  list-style: none; margin: 0; padding: 0; counter-reset: step;
  display: grid; gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.process li {
  counter-increment: step; background: var(--surface);
  border: 2px solid var(--ink); padding: var(--space-5);
  position: relative;
}
.process li::before {
  content: counter(step); display: inline-flex; align-items: center;
  justify-content: center; width: 40px; height: 40px;
  background: var(--canopy); color: var(--paper);
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  margin-bottom: var(--space-3);
}
.process li p { margin: 0; }

/* ==========================================================================
   About - people + client roster
   ========================================================================== */
.people {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.people li {
  background: var(--surface); border: 2px solid var(--ink);
  border-top: 6px solid var(--canopy); padding: var(--space-5);
}
.people li h3 { font-size: var(--fs-h4); margin-bottom: var(--space-2); }
.people li .role {
  font-size: var(--fs-small); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--urgent-ink); margin-bottom: var(--space-3);
  display: block;
}
.people li p { margin: 0; color: var(--muted); }

.client-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1px; background: var(--line);
  grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line);
}
.client-list li {
  background: var(--surface); padding: var(--space-4) var(--space-5);
  font-weight: 600; display: flex; align-items: center; min-height: 56px;
}
@media (max-width: 768px) { .client-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .client-list { grid-template-columns: 1fr; } }

.promise-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--space-3);
}
.promise-list li {
  display: flex; gap: var(--space-3); align-items: flex-start;
  padding: var(--space-3) 0; border-bottom: 1px solid var(--line);
}
.promise-list li::before {
  content: ""; flex: 0 0 auto; width: 14px; height: 14px; margin-top: 5px;
  background: var(--canopy);
}

/* ==========================================================================
   Areas page
   ========================================================================== */
.suburb-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1px; background: var(--line);
  grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line);
}
.suburb-list li {
  background: var(--surface); padding: var(--space-3) var(--space-4);
  font-weight: 500; display: flex; align-items: center; min-height: 48px;
}
@media (max-width: 768px) { .suburb-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .suburb-list { grid-template-columns: repeat(2, 1fr); } }

.map-frame {
  width: 100%; border: 2px solid var(--ink); display: block;
  aspect-ratio: 16 / 9;
}
@media (max-width: 560px) { .map-frame { aspect-ratio: 4 / 3; } }

/* ==========================================================================
   6.10 Forms (quote request)
   ========================================================================== */
.contact-grid {
  display: grid; gap: var(--space-7);
  grid-template-columns: 1.2fr 0.8fr; align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.quote-form {
  background: var(--surface); border: 2px solid var(--ink);
  padding: var(--space-6); max-width: 640px; scroll-margin-top: 96px;
}
.quote-form h2 { margin-bottom: var(--space-3); }
.field { margin-bottom: var(--space-4); }
.field-row {
  display: grid; gap: var(--space-4); grid-template-columns: 1fr 1fr;
}
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; margin-bottom: var(--space-2); }
.req { color: var(--urgent-ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--bone); border: 2px solid var(--line);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 1px;
  border-color: var(--ink);
}
.field input:invalid:not(:placeholder-shown) { border-color: var(--orange-deep); }
.field .hint { font-size: var(--fs-xs); color: var(--muted); margin-top: 4px; }
.form-note { font-size: var(--fs-small); color: var(--muted); margin-top: var(--space-4); }

.contact-aside { display: grid; gap: var(--space-5); }
.info-card {
  background: var(--surface); border: 2px solid var(--ink);
  padding: var(--space-5);
}
.info-card h3 { font-size: var(--fs-h4); margin-bottom: var(--space-3); }
.info-card dl { margin: 0; display: grid; gap: var(--space-3); }
.info-card dt {
  font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 700; color: var(--muted);
}
.info-card dd { margin: 2px 0 0; font-weight: 600; }
.info-card dd a { font-weight: 600; }
.info-card .em-line a { color: var(--urgent-ink); font-weight: 700; }

/* ==========================================================================
   Closing CTA band
   ========================================================================== */
.cta-band {
  background: var(--canopy); color: var(--paper);
  padding-block: var(--space-8);
}
.cta-band h2 { color: var(--paper); }
.cta-band p { color: #E8F0E6; max-width: 56ch; }
.cta-band .cta-actions {
  display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center;
  margin-top: var(--space-5);
}
.cta-band .cta-phone { color: var(--paper); font-weight: 700; font-size: 1.125rem; }
.cta-band .cta-phone a { color: var(--paper); }

/* ==========================================================================
   6.11 Footer
   ========================================================================== */
.site-footer {
  background: var(--bark); color: var(--paper);
  border-top: 6px solid var(--canopy); padding-top: var(--space-8);
}
.footer-grid {
  max-width: var(--container); margin: 0 auto;
  padding: 0 var(--gutter) var(--space-7);
  display: grid; gap: var(--space-6);
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
}
.footer-grid img { height: 96px; width: auto; margin-bottom: var(--space-4); }
.footer-grid h2 {
  font-family: var(--font-body); font-size: var(--fs-h6);
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700;
  color: var(--warm); margin: 0 0 var(--space-4);
}
.footer-grid p { color: #C9BCA6; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: var(--space-1); }
.footer-grid li a {
  display: inline-flex; align-items: center; min-height: 36px;
  color: var(--paper); text-decoration: none;
}
.footer-grid li a:hover { color: var(--leaf); text-decoration: underline; }
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--leaf); }
.emergency-line { margin-top: var(--space-4); }
.emergency-line a { color: #F2853A; font-weight: 700; }
.footer-base {
  border-top: 1px solid var(--line-dark);
  max-width: var(--container); margin: 0 auto;
  padding: var(--space-5) var(--gutter);
  display: flex; flex-wrap: wrap; gap: var(--space-4);
  justify-content: space-between; font-size: var(--fs-small);
}
.footer-base p { color: #C9BCA6; margin: 0; max-width: none; }
.footer-base ul { display: flex; gap: var(--space-4); list-style: none; margin: 0; padding: 0; }
.footer-base li a { color: #C9BCA6; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   6.12 Sticky mobile call bar
   ========================================================================== */
.call-bar { display: none; }
@media (max-width: 980px) {
  .call-bar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    border-top: 2px solid var(--ink);
  }
  .call-bar a {
    min-height: 52px; display: flex; align-items: center;
    justify-content: center; font-weight: 700; text-decoration: none;
    gap: var(--space-2);
  }
  .call-bar .call { background: var(--canopy); color: var(--paper); }
  .call-bar .quote { background: var(--safety); color: var(--bark); }
  body { padding-bottom: 56px; }
}

/* ==========================================================================
   Scroll reveal (one effect, fade + 8px rise, JS-gated)
   ========================================================================== */
.reveal {
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--dur-slow) var(--ease),
              transform var(--dur-slow) var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Misc helpers used in markup
   ========================================================================== */
.stack > * + * { margin-top: var(--space-4); }
.prose p { max-width: var(--measure); }
.prose h2 { margin-top: var(--space-7); }
.prose h2:first-child { margin-top: 0; }
.text-center { text-align: center; }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }
.badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: var(--surface-2); color: var(--ink);
  border: 1px solid var(--line); padding: 6px 12px;
  font-size: var(--fs-small); font-weight: 600;
}
.note-box {
  background: var(--surface-2); border-left: 6px solid var(--woodchip);
  padding: var(--space-5); margin-top: var(--space-5);
}
.note-box p { margin: 0; color: var(--muted); }

/* ==========================================================================
   9. Print stylesheet
   ========================================================================== */
@media print {
  .site-header, .call-bar, .nav-toggle, .hero-cta, .mulch-panel .btn,
  .quote-form button, .mobile-menu, .menu-backdrop, .skip-link {
    display: none !important;
  }
  body { color: #000; background: #fff; padding-bottom: 0; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
  .hero, .trust-strip, .emergency-band, .site-footer, .page-hero, .cta-band {
    color: #000 !important; background: #fff !important;
  }
  .hero-h1, .page-hero h1, .hero .lead, .page-hero .lead { color: #000 !important; }
}
