/* Sonora Gutter Cleaning. Plan and token reasons: DESIGN-PLAN.md.
   Every section and every box that paints its own ground declares data-ground,
   and text, links and buttons key off it, so nothing sits in its own colour. */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-display: swap;
}

:root {
  --paper: #F1F4F5;      /* galvanized gutter sheen: light ground */
  --white: #FFFFFF;
  --ink: #13222C;        /* wet slate: text */
  --storm: #1C3443;      /* November storm cloud: dark ground */
  --storm-2: #264456;    /* panels on the dark ground */
  --steel: #4F616B;      /* secondary text on light grounds */
  --on-dark: #D3DEE5;    /* secondary text on the dark ground */
  --gold: #F2B630;       /* Gold Country grass: the call button on dark, the clean marks */
  --gold-hover: #F7C75A;
  --rain: #86C3EA;       /* calendar rain bars */
  --needle: #D27B3E;     /* calendar pine needle band */
  --oak: #B79062;        /* calendar oak leaf band */
  --sand: #E4D3A8;       /* calendar dry months outline */
  --snow: #EEF4F8;       /* calendar snow band */
  --rule: #C9D3D9;
  --rule-dark: #3A5768;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wide: 125%;
  --radius: 10px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--storm);   /* shows only below the footer and behind the mobile bar */
  font-kerning: normal;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
main { background: var(--white); }
[id] { scroll-margin-top: 1rem; }

h1, h2, h3 {
  font-stretch: var(--wide);
  line-height: 1.08;
  margin: 0 0 1rem;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 2.9vw + 1rem, 3.45rem); font-weight: 800; letter-spacing: -0.015em; line-height: 1.02; }
h2 { font-size: clamp(1.7rem, 1.6vw + 1.1rem, 2.55rem); font-weight: 780; letter-spacing: -0.01em; max-width: 24ch; }
h3 { font-size: 1.25rem; font-weight: 720; font-stretch: 112%; line-height: 1.2; margin-bottom: .5rem; }
p { margin: 0 0 1rem; }
.lead { font-size: 1.2rem; max-width: 62ch; }
strong { font-weight: 650; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.band { padding: clamp(3.5rem, 6vw, 6rem) 0; }

/* ---------------------------------------------------------------- grounds
   Each ground sets custom properties; text, links and buttons read them, so the
   nearest ground always wins, even for a dark box inside a white section. */
[data-ground="white"], [data-ground="light"] {
  color: var(--ink);
  --text: var(--ink); --muted: var(--steel); --heading: var(--ink); --line: var(--steel);
  --btn-bg: var(--storm); --btn-fg: var(--white); --btn-hover: var(--ink);
  --btn2: var(--ink); --btn2-hover-fg: var(--white); --star: var(--ink); --focus: var(--storm);
}
[data-ground="white"] { background: var(--white); }
[data-ground="light"] { background: var(--paper); }
[data-ground="dark"] {
  background: var(--storm); color: var(--white);
  --text: var(--on-dark); --muted: var(--on-dark); --heading: var(--white); --line: var(--gold);
  --btn-bg: var(--gold); --btn-fg: var(--ink); --btn-hover: var(--gold-hover);
  --btn2: var(--white); --btn2-hover-fg: var(--ink); --star: var(--gold); --focus: var(--rain);
}
p, li { color: var(--text, inherit); }
h1, h2, h3, legend, label, summary { color: var(--heading, inherit); }

/* ---------------------------------------------------------------- links */
main a:not(.btn) { color: var(--heading); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--line); }
main a:not(.btn):hover { text-decoration-color: currentColor; }
a[data-inert] { cursor: default; }

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

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--white); color: var(--ink); padding: .6rem 1rem; border-radius: 6px; font-weight: 700; }
.skip-link:focus { top: 1rem; outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.25rem;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-align: center;
  text-decoration: none; border: 2px solid transparent; border-radius: 8px; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-large { min-height: 56px; padding: .85rem 1.5rem; font-size: 1.08rem; }
.btn-small { min-height: 42px; padding: .5rem 1rem; font-size: .95rem; }
/* light and white grounds: storm fill; dark ground: gold fill with ink text */
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.btn-primary:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.btn-secondary, .btn-outline { background: transparent; color: var(--btn2); border-color: var(--btn2); }
.btn-secondary:hover, .btn-outline:hover { background: var(--btn2); color: var(--btn2-hover-fg); }

.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* tick lists: a drawn check, not a glyph */
.ticks { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.ticks li { position: relative; padding: .35rem 0 .35rem 1.9rem; }
.ticks li::before {
  content: ""; position: absolute; left: .2rem; top: .78rem;
  width: .95rem; height: .5rem; border-left: 3px solid currentColor; border-bottom: 3px solid currentColor;
  transform: rotate(-45deg);
}
.ticks-lg li { font-size: 1.1rem; padding-top: .5rem; padding-bottom: .5rem; border-bottom: 1px solid var(--rule); }
.ticks-lg li::before { top: .95rem; }

figure { margin: 0; }
figcaption { font-size: .9rem; color: var(--muted); margin-top: .6rem; line-height: 1.4; }

/* ---------------------------------------------------------------- header */
/* Six links: two open a panel (every service, every town) so each page gets
   a descriptive link from every page without crowding the row. Panels read
   as the header growing down: storm panel, gold top rule. */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.site-header { position: relative; z-index: 20; }
.header-row { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--white); text-decoration: none; margin-right: auto; flex: none; }
.mark { width: 54px; height: 49px; fill: var(--gold); flex: none; }   /* the house-and-gutter logo, brand/logo.svg */
.brand-name { display: flex; flex-direction: column; font-stretch: var(--wide); font-weight: 800; font-size: 1.05rem; line-height: 1.05; letter-spacing: -.005em; }
.brand-name span:first-child { color: var(--gold); }
.site-nav { align-self: stretch; }
.site-nav a { color: var(--white); text-decoration: none; }
.site-nav a[aria-disabled="true"] { cursor: default; }
.nav-list { display: flex; gap: 1.3rem; height: 100%; margin: 0; padding: 0; list-style: none; }
.nav-list > li { position: relative; display: flex; align-items: center; }
/* Every menu link: one weight, one size. */
:where(.site-nav) a { font-weight: 600; font-size: 1rem; }
.nav-top { padding-block: 6px; white-space: nowrap; }
.nav-top:hover, .nav-group.open > .nav-top { color: var(--gold); }
.nav-sub-toggle {
  display: inline-grid; place-items: center; width: 26px; height: 32px; margin-left: 2px; padding: 0;
  background: none; border: 0; border-radius: 4px; color: var(--on-dark); cursor: pointer;
}
.nav-sub-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.nav-group.open .nav-sub-toggle { color: var(--gold); }
.nav-group.open .nav-sub-toggle svg { transform: rotate(180deg); }
.nav-panel {
  display: none; position: absolute; top: 100%; left: -20px; padding-block: 8px;
  background: var(--storm-2); border-top: 3px solid var(--gold); border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 22px 40px -12px rgba(19,34,44,.6);
}
.nav-group.open .nav-panel { display: block; }
.nav-services { width: 440px; margin: 0; padding: 0; list-style: none; }
.nav-services li { position: relative; display: grid; gap: 2px; padding: 12px 20px; }
.nav-services li + li { border-top: 1px solid var(--rule-dark); }
.nav-services a { line-height: 1.3; }
.nav-services a::after { content: ""; position: absolute; inset: 0; }
.nav-services span { color: var(--on-dark); font-size: 1rem; line-height: 1.4; }
.nav-services li:hover { background: rgba(255,255,255,.06); }
.nav-services li:hover a { color: var(--gold); }
.nav-services a:focus-visible { outline: none; }
.nav-services a:focus-visible::after { outline: 2px solid var(--gold); outline-offset: -4px; border-radius: 4px; }
.nav-towns { display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); margin: 0; padding: 0 8px; list-style: none; }
.nav-towns a { display: block; padding: 9px 12px; border-radius: 4px; white-space: nowrap; }
.nav-towns a:hover { color: var(--gold); background: rgba(255,255,255,.06); }
.header-actions { display: flex; gap: .6rem; flex: none; }
.menu-toggle { display: none; }

@media (max-width: 1180px) {
  .menu-toggle {
    display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .45rem .8rem;
    background: transparent; color: var(--white); border: 2px solid var(--white); border-radius: 8px;
    font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; order: 3;
  }
  .menu-toggle .icon path { transition: opacity .15s, transform .15s; transform-origin: center; }
  .menu-toggle[aria-expanded="true"] .bar-mid { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .bar-top { transform: translateY(5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bar-bot { transform: translateY(-5px) rotate(-45deg); }
  .header-actions { order: 2; }
  .site-nav {
    display: none; position: fixed; inset: 76px 0 0 0; z-index: 30;
    padding: 12px var(--gutter) 120px; overflow-y: auto; background: var(--storm);
  }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-nav { display: block; }
  .nav-list { flex-direction: column; gap: 0; height: auto; max-width: 640px; }
  .nav-list > li { display: grid; grid-template-columns: 1fr auto; align-items: center; border-bottom: 1px solid var(--rule-dark); }
  .nav-top { display: flex; align-items: center; min-height: 56px; font-size: 1.15rem; padding-block: 0; }
  .nav-sub-toggle { width: 48px; height: 48px; margin: 0; border: 1px solid var(--rule-dark); border-radius: 8px; color: var(--white); }
  .nav-sub-toggle svg { width: 20px; height: 20px; }
  .nav-panel { position: static; grid-column: 1 / -1; padding: 0 0 12px; background: none; border: 0; border-radius: 0; box-shadow: none; }
  .nav-services { width: auto; }
  .nav-services li { padding: 0; }
  .nav-services li + li { border-top: 0; }
  .nav-services li:hover { background: none; }
  .nav-services a { display: flex; align-items: center; min-height: 48px; padding-left: 16px; }
  .nav-services a::after { content: none; }
  .nav-services a:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
  .nav-services span { display: none; }
  .nav-towns { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: 0; }
  .nav-towns a { display: flex; align-items: center; min-height: 48px; padding: 0 0 0 16px; white-space: normal; }
}
/* The sticky bar carries Call from 920 down, so the header drops its button.
   The open menu stops at the bar's top edge (8 + 56 + 8 px) instead of running
   under it, so its last link can never sit beneath the Call button. */
@media (max-width: 920px) {
  .header-row { gap: .75rem; min-height: 68px; }
  .site-nav { inset: 68px 0 calc(72px + env(safe-area-inset-bottom)) 0; padding-bottom: 24px; }
  .header-actions { display: none; }
}
@media (max-width: 360px) {
  .brand-name { font-size: .92rem; }
  .mark { width: 42px; height: 38px; }
  .menu-toggle .menu-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ---------------------------------------------------------------- hero */
.hero { padding: clamp(2.5rem, 5vw, 4.75rem) 0 clamp(3rem, 6vw, 5.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.hero h1 { max-width: 17ch; }
.hero-sub { font-size: 1.2rem; max-width: 58ch; margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.5rem; }
.hero-rating { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; margin-bottom: 1.25rem; }
.hero-rating a { font-weight: 600; }
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.hero-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; border-top: 1px solid var(--rule); padding-top: .5rem; max-width: 640px; }
.hero-trust li { font-weight: 600; font-size: 1rem; border-bottom: 1px solid var(--rule); padding-top: .6rem; padding-bottom: .6rem; }
.hero-trust li::before { top: .98rem; }
.hero-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.hero-figure figcaption { margin-bottom: 1.25rem; }

.quote-card { border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.25rem 1.25rem 1rem; }
.quote-title { color: var(--heading); font-size: 1.3rem; font-weight: 750; font-stretch: 112%; line-height: 1.2; margin-bottom: .9rem; }
.quote-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: .9rem; }
.quote-card .btn { width: 100%; }
.form-note { font-size: .92rem; color: var(--muted); margin: .6rem 0 0; }

/* ---------------------------------------------------------------- forms */
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .9rem; }
.field label, legend { font-weight: 650; font-size: .95rem; }
input[type="text"], input[type="tel"], select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1.5px solid var(--steel); border-radius: 8px; padding: .7rem .8rem; min-height: 48px; width: 100%;
}
textarea { min-height: 96px; resize: vertical; }
input[aria-invalid="true"] { border-color: #B3261E; border-width: 2px; }
.quote-fields .field { margin-bottom: 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-weight: 650; font-size: .98rem; margin: .75rem 0 0; min-height: 1px; }
.form-status.is-error { color: #A1231B; }
.form-status.is-success { color: #1E6B3A; }
.form-status.is-pending { color: var(--steel); }
fieldset { border: 0; margin: 0 0 1rem; padding: 0; }
legend { margin-bottom: .55rem; padding: 0; }
.pick-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.pick { font: inherit; font-size: .95rem; font-weight: 600; min-height: 44px; padding: .45rem .9rem; border: 1.5px solid var(--steel); border-radius: 999px; background: var(--white); color: var(--ink); cursor: pointer; }
.pick[aria-pressed="true"] { background: var(--storm); color: var(--white); border-color: var(--storm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .9rem; }
.form-fineprint { font-size: .88rem; color: var(--muted); margin: .75rem 0 0; }
.field .req { font-weight: 400; font-size: .85em; }

/* ---------------------------------------------------------------- included */
.include-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.include-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.aside-note { font-size: 1rem; color: var(--muted); max-width: 54ch; }

/* ---------------------------------------------------------------- calendar */
.when-head { margin-bottom: 2.5rem; }
.cal-hint { font-weight: 650; margin: 0; }
.cal { display: grid; grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "top notes" "rows notes"; gap: 1.25rem 2.5rem; align-items: start; }
.cal-top { grid-area: top; }
.cal-rows { grid-area: rows; }
.cal-notes { grid-area: notes; }
.cal-letter { display: none; text-align: center; font-weight: 750; font-size: .8rem; color: var(--muted); }
.cal-grid { display: grid; grid-template-columns: 11.5rem repeat(12, minmax(0, 1fr)); column-gap: 4px; row-gap: .55rem; align-items: center; }
.cal-label { grid-column: 1; margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.3; padding-right: .75rem; }
.cal-label-rain { align-self: end; padding-bottom: 2.6rem; }
.cal-label-clean { color: var(--heading); font-weight: 700; }
.cal-month {
  display: flex; flex-direction: column; align-items: center; gap: .2rem;
  background: transparent; border: 0; border-radius: 8px; padding: .4rem 0 .5rem; margin: 0;
  font: inherit; color: var(--white); cursor: pointer; transition: background-color .15s;
}
@media (hover: hover) {
  .cal-month:hover { background: color-mix(in srgb, var(--storm-2) 55%, var(--storm)); }
}
.cal-month[aria-pressed="true"] { background: var(--storm-2); box-shadow: inset 0 -3px 0 var(--gold); }
.cal-month[aria-pressed="true"] .cal-name { color: var(--gold); }
.cal-bar { width: 100%; height: 9.5rem; }
.cal-bar rect { fill: var(--rain); }
.cal-month[aria-pressed="true"] .cal-bar rect { fill: var(--white); }
.cal-val { font-size: .8rem; font-variant-numeric: tabular-nums; color: var(--on-dark); }
.cal-name { font-weight: 750; font-size: .95rem; }
.cal-name-short { display: none; }
.seg { height: 14px; border-radius: 7px; }
.seg-leaves { background: var(--oak); }
.seg-needles { background: color-mix(in srgb, var(--needle) 60%, var(--storm)); }
.seg-needles.seg-heavy { background: var(--needle); }
.seg-dry { background: transparent; border: 2px dashed var(--sand); }
.seg-snow { background: var(--snow); }
.seg-clean { height: auto; min-height: 30px; background: var(--gold); color: var(--ink); display: flex; align-items: center; justify-content: center; border-radius: 6px; font-size: .82rem; font-weight: 750; line-height: 1.1; text-align: center; padding: .2rem .3rem; }
.gc-1 { grid-column-start: 2; } .gc-2 { grid-column-start: 3; } .gc-3 { grid-column-start: 4; }
.gc-4 { grid-column-start: 5; } .gc-5 { grid-column-start: 6; } .gc-6 { grid-column-start: 7; }
.gc-7 { grid-column-start: 8; } .gc-8 { grid-column-start: 9; } .gc-9 { grid-column-start: 10; }
.gc-10 { grid-column-start: 11; } .gc-11 { grid-column-start: 12; } .gc-12 { grid-column-start: 13; }
.gs-1 { grid-column-end: span 1; } .gs-2 { grid-column-end: span 2; } .gs-3 { grid-column-end: span 3; }
.gs-4 { grid-column-end: span 4; } .gs-8 { grid-column-end: span 8; }
.cal-notes { background: var(--storm-2); border-radius: var(--radius); padding: 1.5rem 1.5rem 1.6rem; }
.cal-note h3 { font-size: 1.45rem; margin-bottom: .6rem; }
.cal-note p { font-size: 1.05rem; }
.cal-notes .btn { margin-top: .25rem; }
.cal-source { font-size: .88rem; margin: 1.75rem 0 0; max-width: 80ch; }

@media (max-width: 1000px) {
  .cal { grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "notes" "rows"; }
  .cal-letter { display: block; }
}
@media (max-width: 760px) {
  .cal-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2px; row-gap: .3rem; }
  .cal-label { grid-column: 1 / -1; padding: .7rem 0 0; }
  .cal-label-rain { padding: 0 0 .3rem; }
  .gc-1 { grid-column-start: 1; } .gc-2 { grid-column-start: 2; } .gc-3 { grid-column-start: 3; }
  .gc-4 { grid-column-start: 4; } .gc-5 { grid-column-start: 5; } .gc-6 { grid-column-start: 6; }
  .gc-7 { grid-column-start: 7; } .gc-8 { grid-column-start: 8; } .gc-9 { grid-column-start: 9; }
  .gc-10 { grid-column-start: 10; } .gc-11 { grid-column-start: 11; } .gc-12 { grid-column-start: 12; }
  .cal-bar { height: 6.5rem; }
  .cal-val { font-size: .72rem; letter-spacing: -.03em; }
  .cal-name-long { display: none; }
  .cal-name-short { display: inline; }
  .cal-month { padding: .3rem 0 .4rem; min-height: 44px; }
  .seg { height: 12px; }
  .seg-clean { min-height: 14px; padding: 0; }
  .seg-clean span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ---------------------------------------------------------------- clogged */
.clogged-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.harm-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 2rem; margin-top: 2rem; }
.harm { border-top: 2px solid var(--ink); padding-top: 1rem; }
.harm p { margin: 0; }
.clogged-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }

/* ---------------------------------------------------------------- services */
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0 1.75rem; }
.tabs [role="tab"] {
  font: inherit; font-weight: 700; font-size: 1rem; min-height: 48px; padding: .6rem 1.15rem;
  border: 2px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer;
}
.tabs [role="tab"][aria-selected="true"] { background: var(--storm); border-color: var(--storm); color: var(--white); }
.tab-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; }
.tab-panel[hidden] { display: none; }
.panel-photo, .photo-slot { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.photo-slot { display: flex; align-items: center; justify-content: center; padding: 2rem; border: 2px dashed var(--steel); background: var(--paper); text-align: center; }
.photo-slot p { margin: 0; max-width: 34ch; color: var(--steel); font-size: .98rem; }
.photo-slot strong { display: block; color: var(--ink); font-stretch: 112%; font-size: 1.1rem; margin-bottom: .4rem; }
.panel-body h3 { font-size: 1.6rem; font-stretch: var(--wide); }
.panel-short { font-size: 1.12rem; }
.panel-price { font-weight: 650; }
.panel-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }

/* ---------------------------------------------------------------- cost */
.cost-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.cost-photo { margin: 2rem 0 0; }
.cost-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.cost-table-wrap { background: var(--white); border-radius: var(--radius); padding: .5rem 1.25rem 1rem; }
.cost-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.cost-table caption { text-align: left; font-weight: 750; font-stretch: 112%; font-size: 1.1rem; padding: .9rem 0 .6rem; }
.cost-table th, .cost-table td { text-align: left; padding: .7rem .6rem .7rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.cost-table thead th { font-size: .88rem; color: var(--steel); font-weight: 650; border-bottom: 2px solid var(--ink); }
.cost-table tbody th { font-weight: 700; width: 26%; }
.cost-table tbody tr:last-child > * { border-bottom: 0; }

/* ---------------------------------------------------------------- steps */
.steps-list { list-style: none; margin: 2.25rem 0 2.5rem; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; counter-reset: step; }
.steps-list li { counter-increment: step; border-top: 2px solid var(--rule-dark); padding-top: 1.1rem; }
.steps-list li::before { content: counter(step); display: block; font-stretch: var(--wide); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--gold); margin-bottom: .9rem; font-variant-numeric: tabular-nums; }
.steps-list p { margin: 0; }
.steps-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------------------------------------------------------------- reviews */
.reviews-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 2rem; margin-top: 2rem; align-items: start; }
.rating-panel { border-radius: var(--radius); padding: 1.75rem 1.5rem; position: sticky; top: 1.5rem; }
.rating-big { color: var(--heading); font-stretch: var(--wide); font-weight: 800; font-size: 2.6rem; line-height: 1; margin-bottom: .5rem; }
.rating-panel .stars { margin-bottom: 1rem; }
.rating-panel .stars svg { width: 24px; height: 24px; }
.rating-panel p:last-child { margin: 0; font-size: .98rem; }
.review-cards { columns: 2; column-gap: 1.25rem; }
.review { break-inside: avoid; margin: 0 0 1.25rem; padding: 1.4rem 1.4rem 1.25rem; border-radius: var(--radius); }
.review p { font-size: 1.05rem; margin-bottom: 1rem; }
.review-featured p { font-size: 1.2rem; }
.review footer { display: flex; flex-direction: column; gap: .1rem; font-size: .92rem; }
.review-name { font-weight: 700; }
.review-service { color: var(--muted); }

/* ---------------------------------------------------------------- ladder, who */
.ladder-grid, .who-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.who-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.ladder-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.who-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.ladder-text h3, .who-text h3 { margin-top: 1.75rem; }
.who-facts { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.who-facts span { border: 1.5px solid var(--ink); border-radius: 999px; padding: .35rem .85rem; font-size: .92rem; font-weight: 650; }

/* ---------------------------------------------------------------- areas */
.town-list { list-style: none; margin: 2.25rem 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.town { background: var(--storm-2); border-radius: var(--radius); padding: 1.2rem 1.25rem 1.3rem; }
.town h3 { margin-bottom: .6rem; font-size: 1.25rem; }
.town h3 a { color: var(--white); text-decoration: none; }
.town-note { margin: 0; font-size: 1rem; }
.areas-more { margin: 0; }

/* ---------------------------------------------------------------- faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); grid-template-areas: "head list" "card list"; gap: 0 clamp(2rem, 5vw, 4.5rem); align-items: start; }
.faq-grid > h2 { grid-area: head; }
.faq-list { grid-area: list; }
.call-card { grid-area: card; border-radius: var(--radius); overflow: hidden; margin-top: .5rem; }
.call-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.call-card-body { padding: 1.25rem 1.4rem 1.5rem; }
.call-card-title { color: var(--heading); font-stretch: 112%; font-weight: 750; font-size: 1.2rem; }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list details:first-child { border-top: 2px solid var(--ink); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1.1rem 0; cursor: pointer; font-weight: 700; font-size: 1.1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.pm { position: relative; width: 18px; height: 18px; flex: none; margin-top: .25rem; }
.pm::before, .pm::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; }
.pm::before { left: 0; top: 7.75px; width: 18px; height: 2.5px; }
.pm::after { left: 7.75px; top: 0; width: 2.5px; height: 18px; transition: opacity .15s; }
details[open] .pm::after { opacity: 0; }
.faq-list details p { margin: 0 0 1.25rem; max-width: 64ch; }

/* ---------------------------------------------------------------- estimate */
.estimate-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.or-call { margin: 1.5rem 0 .25rem; font-weight: 650; }
.big-phone { display: inline-block; font-stretch: var(--wide); font-weight: 800; font-size: clamp(1.8rem, 2.5vw + 1rem, 2.6rem); text-decoration: none; margin-bottom: 1.25rem; }
main a.big-phone { text-decoration: none; }
.estimate-form { border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); border: 2px solid var(--ink); }
.estimate-form h3 { font-size: 1.5rem; font-stretch: var(--wide); }

/* ---------------------------------------------------------------- footer */
.site-footer { padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer p, .site-footer li { font-size: .98rem; }
.site-footer a { color: var(--white); text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: var(--gold); }
.footer-name { color: var(--heading); display: flex; align-items: center; gap: .6rem; font-stretch: var(--wide); font-weight: 800; font-size: 1.1rem; }
.footer-head { color: var(--heading); font-weight: 750; margin-bottom: .5rem; }
.footer-head-gap { margin-top: 1.25rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0; }
.footer-links a { display: inline-block; padding: .45rem 0; }
.footer-legal a { display: inline-block; padding: .5rem 0; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--rule-dark); }
.footer-base p { margin: 0; font-size: .9rem; }
.footer-legal a { margin-right: 1.25rem; }
.footer-credit a { font-weight: 500; color: var(--on-dark); }

/* ---------------------------------------------------------------- mobile call bar */
.mobile-bar { display: none; }
@media (max-width: 920px) {
  /* Keep a focused field or link clear of the fixed bar when the browser scrolls it into view (WCAG 2.4.11). */
  html { scroll-padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  body { padding-bottom: 72px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px; border-radius: 8px; color: var(--white); border: 1.5px solid var(--on-dark); text-decoration: none; font-weight: 700; font-size: .85rem; }
  .mobile-bar a.mb-call { background: var(--gold); color: var(--ink); border-color: var(--gold); }
}

/* ---------------------------------------------------------------- error page */
.error-page h1 { max-width: 18ch; }

/* ---------------------------------------------------------------- layout breakpoints */
@media (max-width: 1000px) {
  .hero-grid, .include-grid, .clogged-grid, .cost-grid, .ladder-grid, .who-grid, .faq-grid, .estimate-grid, .tab-panel { grid-template-columns: minmax(0, 1fr); }
  .steps-list { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .rating-panel { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .include-photo, .clogged-photo, .who-photo { max-width: 520px; }
  .clogged-photo { order: 2; }
  .include-text, .ladder-text { order: -1; }
  .faq-grid { grid-template-areas: "head" "list" "card"; }
  .call-card { margin-top: 2rem; max-width: 520px; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  body { font-size: 1.0625rem; }
  .lead, .hero-sub { font-size: 1.1rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-trust { grid-template-columns: 1fr; }
  .quote-fields, .form-grid { grid-template-columns: 1fr; }
  .quote-fields .field { margin-bottom: 0; }
  .harm-list { grid-template-columns: 1fr; gap: 1.25rem; }
  .steps-list { grid-template-columns: 1fr; gap: 1.25rem; }
  .review-cards { columns: 1; }
  .tabs [role="tab"] { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps-actions .btn { flex: 1 1 100%; }
  .cost-table-wrap { padding: .25rem .9rem .5rem; }
  .cost-table { font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ================================================================ blog
   The index and the posts. Same tokens, grounds and type as the homepage;
   the gold rule is the one accent, as on the header panels. */
.crumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; margin: 0 0 1.25rem; padding: 0; list-style: none; font-size: 1rem; }
.crumbs li { color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--muted); }
main .crumbs a:not(.btn) { font-weight: 600; text-decoration-thickness: 1px; }
.crumbs [aria-current] { color: var(--text); }

/* index */
.blog-head { padding-bottom: clamp(2rem, 4vw, 3rem); }
.blog-head h1 { max-width: 20ch; }
.blog-list-band { padding-top: clamp(2.5rem, 4vw, 3.5rem); }
.blog-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem); margin: 0; padding: 0; list-style: none; }
.blog-card { display: grid; align-content: start; gap: 1.1rem; border-top: 3px solid var(--gold); padding-top: 1.25rem; }
.blog-card-photo { display: block; border-radius: var(--radius); overflow: hidden; }
.blog-card-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.blog-card-meta { font-size: 1rem; color: var(--muted); margin-bottom: .5rem; }
.blog-card h3 { font-size: clamp(1.3rem, .6vw + 1.1rem, 1.6rem); font-stretch: var(--wide); margin-bottom: .6rem; }
main .blog-card h3 a:not(.btn) { text-decoration: none; }
main .blog-card h3 a:not(.btn):hover { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--gold); }
.blog-card-text > p:last-child { margin-bottom: 0; max-width: 60ch; }
.blog-card-feature { grid-column: 1 / -1; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.blog-card-feature .blog-card-photo img { aspect-ratio: 4 / 3; }
.blog-card-feature h3 { font-size: clamp(1.6rem, 1.2vw + 1.2rem, 2.2rem); line-height: 1.08; }
.blog-card-answer { font-size: 1.15rem; }
.blog-calendar { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "icon head link" "icon text link"; gap: .25rem 1.75rem; align-items: center; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius); }
.blog-calendar-icon { grid-area: icon; width: 56px; height: 56px; fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; }
.blog-calendar h3 { grid-area: head; margin: 0; font-stretch: var(--wide); }
.blog-calendar p { grid-area: text; margin: 0; max-width: 62ch; }
main .blog-calendar-link:not(.btn) { grid-area: link; justify-self: end; white-space: nowrap; color: var(--white); }

/* post head */
.post-head { padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.post-head-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.post-head-grid.no-photo { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.post-head h1 { font-size: clamp(2rem, 2.2vw + 1rem, 3rem); max-width: 22ch; }
.post-byline { display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: 1rem; color: var(--muted); margin-bottom: 1.5rem; }
.post-byline span:first-child { color: var(--text); font-weight: 650; }
.post-answer { border-left: 5px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.25rem 1.5rem; }
.post-answer p { margin: 0; font-size: 1.15rem; }
.post-answer .post-answer-label { font-weight: 750; font-stretch: 112%; font-size: 1rem; margin-bottom: .4rem; }
.post-hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }

/* post body */
.post-body { padding-top: clamp(2.5rem, 5vw, 4rem); }
.post-layout { display: grid; grid-template-columns: minmax(0, 760px); justify-content: center; }
.post-layout.has-toc { grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(2rem, 5vw, 4.5rem); justify-content: stretch; }
.post-toc { position: sticky; top: 1.5rem; align-self: start; padding: 1.25rem 1.4rem; border-radius: var(--radius); }
.post-toc-title { font-weight: 750; font-stretch: 112%; margin-bottom: .6rem; }
.post-toc ol { margin: 0; padding: 0 0 0 1.2rem; font-size: 1rem; }
.post-toc li { padding: .3rem 0; }
.post-toc li::marker { color: var(--muted); font-weight: 650; }
main .post-toc a:not(.btn) { font-weight: 550; text-decoration-thickness: 1px; }
.post-article { max-width: 760px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.5rem, 1vw + 1.15rem, 2rem); max-width: 28ch; margin: 2.75rem 0 1rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.prose h3 { margin-top: 1.75rem; }
.prose p, .prose li { max-width: 68ch; }
.prose ul, .prose ol { padding-left: 1.4rem; margin: 0 0 1.25rem; }
.prose li { margin-bottom: .45rem; }
.prose li::marker { color: var(--steel); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0 1.75rem; font-size: 1rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .75rem .9rem; border-bottom: 1px solid var(--rule); }
.prose thead th { font-weight: 750; border-bottom: 2px solid var(--ink); }
.prose figure { margin: 2rem 0; }
.prose figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 40%; border-radius: var(--radius); }
.prose blockquote { margin: 1.5rem 0; padding: .25rem 0 .25rem 1.25rem; border-left: 4px solid var(--gold); }
.post-deeper { margin-top: 2.75rem; padding: 1.5rem 1.6rem; border-radius: var(--radius); border-top: 3px solid var(--gold); }
.post-deeper h2 { font-size: 1.35rem; margin-bottom: .75rem; }
.post-deeper ul { margin: 0; padding: 0; list-style: none; }
.post-deeper li { display: grid; gap: .15rem; padding: .6rem 0; }
.post-deeper li + li { border-top: 1px solid var(--rule); }
.post-deeper span { color: var(--muted); font-size: 1rem; }
.post-about { margin-top: 2rem; font-size: 1rem; color: var(--muted); max-width: 68ch; }

/* post FAQ, CTA, related */
.post-faq-grid .faq-list { grid-area: auto; }
.post-faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 0 clamp(2rem, 5vw, 4.5rem); align-items: start; }
.post-cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: center; }
.post-cta h2 { max-width: 22ch; }
.post-cta p:last-child { margin-bottom: 0; }
.post-cta-actions { display: flex; flex-direction: column; gap: .75rem; }
.post-related-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2.5rem; margin: 0; padding: 0; list-style: none; }
.post-related-list li { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.post-related-list img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.post-related-list h3 { font-size: 1.15rem; }
.post-related-list p { font-size: 1rem; margin: 0; }

@media (max-width: 1000px) {
  .post-layout.has-toc { grid-template-columns: minmax(0, 1fr); }
  .post-toc { position: static; }
  .post-faq-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .post-head-grid { grid-template-columns: minmax(0, 1fr); }
  .post-hero-photo img { aspect-ratio: 3 / 2; }
  .blog-card-feature { grid-template-columns: minmax(0, 1fr); }
  .blog-calendar { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "icon head" "text text" "link link"; gap: .75rem 1rem; }
  main .blog-calendar-link:not(.btn) { justify-self: start; }
  .post-cta-grid { grid-template-columns: minmax(0, 1fr); }
  .post-cta-actions { flex-direction: row; flex-wrap: wrap; }
  .post-related-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .blog-list { grid-template-columns: minmax(0, 1fr); }
  .post-related-list li { grid-template-columns: 96px minmax(0, 1fr); gap: 1rem; }
  .post-cta-actions .btn { flex: 1 1 100%; }
  .prose .table-scroll { overflow-x: auto; }
  .prose .table-scroll:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
}
.cal-more { margin: .75rem 0 0; }
