/* ==========================================================================
   Lebros Hood Cleaning — Bold preset (dark / industrial)
   Spacing scale and container rules per Website Automation CLAUDE.md.
   ========================================================================== */

:root {
  /* Spacing scale — the ONLY permitted margin/padding values */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  6rem;
  --space-2xl: 8rem;

  /* Palette */
  --bg:         #0B0C0E;
  --bg-tint:    #131519;
  --bg-raise:   #191D22;
  --ember:      #0155D4;
  --ember-lt:   #116FFE;
  --ember-dk:   #012D71;
  --text:       #F2F1EF;
  --text-muted: #979CA3;
  --border:     #262B31;
  --water:      #0E161D;
  --water-edge: #1B2A36;

  --maxw: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 'Barlow', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.005em;
  text-wrap: balance;
  margin: 0 0 var(--space-sm);
}

h1 { font-size: clamp(2.9rem, 8.5vw, 5.75rem); font-weight: 800; letter-spacing: -0.005em; }
h2 { font-size: clamp(2.1rem, 5vw, 3.35rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }

p { text-wrap: pretty; max-width: 65ch; margin: 0 0 var(--space-sm); }
p:last-child { margin-bottom: 0; }

a { color: var(--ember-lt); }
img { max-width: 100%; height: auto; display: block; }

section { padding-block: var(--space-xl); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.text-center { text-align: center; }
.text-center p,
.text-center h1,
.text-center h2,
.text-center h3 { margin-inline: auto; }

.alt { background: var(--bg-tint); }

/* Small uppercase section label above each h2 --------------------------- */
.eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ember);
  margin: 0 0 var(--space-xs);
  max-width: none;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px; height: 2px;
  background: var(--ember);
  vertical-align: 0.28em;
  margin-right: 0.7em;
}
.text-center .eyebrow::before { display: none; }

.lede { font-size: 1.15rem; color: var(--text-muted); }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 52px;
  padding: 0.8rem 1.6rem;
  border-radius: 0.2rem;
  border: 2px solid transparent;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--primary { background: var(--ember); color: #14060A; border-color: var(--ember); }
.btn--primary:hover { background: var(--ember-lt); border-color: var(--ember-lt); }
.btn--ghost { background: transparent; color: var(--text); border-color: #3A4048; }
.btn--ghost:hover { border-color: var(--ember); color: var(--ember-lt); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.text-center .btn-row { justify-content: center; }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,12,14,0.92);
  backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-sm);
  padding-block: 0.7rem;
}
.wordmark { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--text); }
.wordmark svg { width: 34px; height: 34px; flex: none; }
.wordmark__text { font-family: 'Barlow Condensed', sans-serif; line-height: 1; }
.wordmark__name { display: block; font-weight: 800; font-size: 1.32rem; letter-spacing: 0.02em; text-transform: uppercase; }
.wordmark__sub  { display: block; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); margin-top: 2px; }
.site-header .btn { min-height: 44px; padding: 0.5rem 1.05rem; font-size: 1.05rem; }

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(var(--space-lg), 11vw, var(--space-2xl));
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero::after {
  /* a slow ember glow low on the page — the only decorative element */
  content: "";
  position: absolute; left: 50%; bottom: -55%;
  width: min(1000px, 130%); aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(1,85,212,0.14) 0%, rgba(1,85,212,0) 62%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }

.hero__certs {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.55rem 0.9rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}
.hero__certs b { color: var(--text); font-weight: 600; }
.hero__certs span[aria-hidden] { color: var(--ember); }
/* The two code numbers travel together — they must never split across a line. */
.hero__certs-codes { white-space: nowrap; }

.hero h1 { margin-bottom: var(--space-md); }
/* Two block lines rather than a hardcoded <br>, so each sentence wraps on its
   own terms at narrow widths instead of breaking in a fixed place. */
.hero__line { display: block; }
.hero__line--accent { color: var(--ember); }
.hero__sub { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--text-muted); max-width: 54ch; margin-bottom: var(--space-md); }
.hero__note { font-size: 0.95rem; color: var(--text-muted); margin-top: var(--space-sm); }

/* The pitch band ---------------------------------------------------------
   Sits directly under the hero because it carries the one thing competitors
   in this region cannot copy: certified for both the exhaust clean AND the
   fire suppression inspection. Left-aligned — it is a paragraph, and centred
   multi-line copy is forbidden here. */
.pitch {
  background: var(--bg-tint);
  border-top: 2px solid var(--ember);
  border-bottom: 1px solid var(--border);
  padding-block: var(--space-md);
}
.pitch__text {
  margin: 0;
  max-width: 70ch;
  font-size: clamp(1.1rem, 2.1vw, 1.42rem);
  line-height: 1.5;
  color: var(--text-muted);
}
.pitch__text b { color: var(--text); font-weight: 600; }

/* Stats strip ------------------------------------------------------------ */
.stats { border-bottom: 1px solid var(--border); background: var(--bg-tint); padding-block: var(--space-md); }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.stat { text-align: center; }
.stat__n {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.1rem); font-weight: 800; line-height: 1;
  color: var(--ember);
}
.stat__l {
  display: block; margin-top: 0.45rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--text-muted);
}

/* Generic card grid ------------------------------------------------------ */
.grid { display: grid; gap: var(--space-md); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg-raise);
  border-top: 3px solid var(--ember);
  padding: var(--space-md);
}
.card h3 { margin-bottom: 0; }
.card p { color: var(--text-muted); font-size: 1rem; }
/* Icon sits ON the title line. Stacked above it, the icon read as a stray
   element that happened to be nearby rather than part of the heading. */
.card__head {
  display: flex; align-items: flex-start; gap: 0.8rem;
  margin-bottom: 0.7rem;
  /* Titles wrap to two lines at desktop column widths. Without a floor here the
     three cards start their body copy at three different heights. */
  min-height: 3.4rem;
}
/* Nudged to sit on the first line's cap height rather than the box top. */
.card__icon { width: 30px; height: 30px; color: var(--ember); flex: none; margin-top: 0.1rem; }

.card__list { list-style: none; margin: var(--space-sm) 0 0; padding: 0; }
.card__list li {
  position: relative; padding-left: 1.5rem; margin-bottom: 0.45rem;
  font-size: 0.97rem; color: var(--text-muted);
}
.card__list li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 8px; height: 2px; background: var(--ember);
}

/* Risk section ----------------------------------------------------------- */
.risk__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--space-lg); align-items: start; }
.risk__facts { list-style: none; margin: 0; padding: 0; }
.risk__facts li {
  border-left: 3px solid var(--ember);
  background: var(--bg-raise);
  padding: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-sm);
}
.risk__facts strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.32rem; font-weight: 700; letter-spacing: 0.02em;
  margin-bottom: 0.15rem;
}
.risk__facts span { color: var(--text-muted); font-size: 0.99rem; }
/* Andy's own line, and the best sentence anyone has written for this page. Set as a
   statement rather than a quote — it is the company talking, not a person being quoted,
   so it takes no quotation marks and no attribution. */
.risk__line {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3.2vw, 2.05rem);
  line-height: 1.15;
  color: var(--text);
  border-left: 3px solid var(--ember);
  padding-left: var(--space-sm);
  margin-top: var(--space-md);
  max-width: 24ch;
}

/* NFPA frequency table — styled as an inspection tag --------------------- */
.freq { border: 1px solid var(--border); background: var(--bg-raise); }
.freq__head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: var(--space-xs);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: var(--space-sm) var(--space-md);
}
.freq__head b {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
}
.freq__head span { font-size: 0.85rem; color: var(--text-muted); letter-spacing: 0.06em; }

.freq table { width: 100%; border-collapse: collapse; }
.freq th, .freq td { text-align: left; padding: var(--space-sm) var(--space-md); border-bottom: 1px solid var(--border); }
.freq tr:last-child th, .freq tr:last-child td { border-bottom: 0; }
.freq thead th {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-muted);
  padding-block: 0.75rem;
}
.freq tbody th { font-weight: 600; font-size: 1rem; }
.freq tbody th small { display: block; font-weight: 400; color: var(--text-muted); font-size: 0.88rem; margin-top: 0.15rem; }
.freq__when {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.35rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ember); white-space: nowrap;
}

/* Map -------------------------------------------------------------------- */
/* The map is the signature moment — it gets the full container width, and the
   corridor list sits under it rather than squeezing it into a side column. */
.map__intro { margin-bottom: var(--space-lg); }
.map__layout { margin-bottom: var(--space-lg); }
.map__figure { margin: 0; }
.map__svg { width: 100%; height: auto; display: block; }

.map__water path { fill: var(--water); stroke: var(--water-edge); stroke-width: 1.2; }
.map__road { fill: none; stroke: var(--ember); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.map__spur { fill: none; stroke: var(--ember); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .85; stroke-dasharray: 1 7; }
.map__shields rect { fill: var(--bg); stroke: #4A525B; stroke-width: 1.5; }
.map__shields text { fill: #C9CDD2; font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.map__dot { fill: var(--bg); stroke: var(--ember); stroke-width: 2.5; }
.is-minor .map__dot { stroke: #7C8590; stroke-width: 2; }
.is-hub .map__dot { fill: var(--ember); stroke: #E4EDFF; stroke-width: 2.5; }
.map__halo { fill: none; stroke: var(--ember); stroke-width: 1.5; opacity: .45; }
.map__label {
  fill: #E7E5E2; font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
}
.is-hub .map__label { fill: #fff; font-size: 20px; font-weight: 700; }

.corridors {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md);
  align-items: start;
}
.corridors li { border-left: 3px solid var(--ember); padding: 0.1rem 0 0.1rem var(--space-sm); }
.corridors b {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.corridors span { color: var(--text-muted); font-size: 0.97rem; }

.map__towns-all {
  margin-top: var(--space-md); padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  color: var(--text-muted); font-size: 0.97rem; max-width: none;
}
.map__towns-all b { color: var(--text); }

/* Gallery ---------------------------------------------------------------- */
/* One pair per row: four thumbnails across a 1100px container left each
   before/after panel too small to actually read grease against bare metal. */
.gallery { display: grid; grid-template-columns: 1fr; gap: var(--space-md); max-width: 940px; margin-inline: auto; }
.shot { margin: 0; background: var(--bg-raise); border: 1px solid var(--border); }
.shot__pair { display: grid; grid-template-columns: 1fr 1fr; }
.shot__half { position: relative; }
/* 3:4, not 4:3. Every photo Andy sent is a phone shot held upright, because a hood canopy
   and its duct run are a tall subject. Forcing them into a landscape box cropped the grease
   line clean out of frame — the one thing a before/after has to show. */
.shot__half img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center; }
.shot__tag {
  position: absolute; left: 0; top: 0;
  background: var(--bg); color: var(--text);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.3rem 0.65rem;
}
.shot__half--after .shot__tag { background: var(--ember); color: #14060A; }
.shot figcaption { padding: var(--space-sm) var(--space-md); color: var(--text-muted); font-size: 0.95rem; }

/* Standalone photos — not a matched pair, so they must not be presented as one.
   Two per row, matching the rhythm of the pair above; one per row on a phone, where a
   half-width portrait photo is too small to read grease detail. An odd number of singles
   leaves a half-empty row, so build-site.mjs warns when the count is odd. */
.shots-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.shot--single img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center; }
@media (max-width: 700px) { .shots-row { grid-template-columns: 1fr; } }

/* Empty state used until the real photos land */
.shot__half--empty {
  display: grid; place-items: center;
  aspect-ratio: 3 / 4;
  background: repeating-linear-gradient(135deg, #15181C 0 10px, #121418 10px 20px);
  color: #5A616A;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase;
}

/* Credentials ------------------------------------------------------------ */
/* Four credentials, so four columns — three would leave an orphan on its own row. */
.creds { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); margin-top: var(--space-lg); }
@media (max-width: 1024px) { .creds { grid-template-columns: repeat(2, 1fr); } }
/* Left-aligned to match the service cards. These sit in the same scroll and
   previously disagreed with them — centred icon + centred copy against the
   services' left icon + left copy, with no rule you could state out loud. */
.cred {
  border: 1px solid var(--border); background: var(--bg);
  padding: var(--space-md);
  /* Column flex so the PAC badge on the first card can push itself to the bottom edge
     and still line up with the other three cards' baselines. */
  display: flex; flex-direction: column;
}
/* Same floor as the service cards: 'Phil Ackland Certified' wraps to two lines
   and without this its body copy starts lower than the other three. */
.cred__head { display: flex; align-items: flex-start; gap: 0.8rem; margin-bottom: 0.7rem; min-height: 2.9rem; }
.cred__mark { width: 32px; height: 32px; color: var(--ember); flex: none; margin-top: 0.05rem; }
.cred b {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.28rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  line-height: 1.1;
}
.cred span { color: var(--text-muted); font-size: 0.96rem; }
/* Andy's own PAC sticker, scanned. It sits on a white chip because the mark's own white —
   the die-cut border and the "PHIL ACKLAND" type — is the same white as the paper it was
   scanned on, so it cannot be knocked out without eating half the logo. */
/* Centred in its card at every width. This is an image centring itself inside its own
   panel, not centred text — the heading and copy above it stay left-aligned, so it does not
   break the one-alignment rule or the qa.mjs check that enforces it. */
.cred__badge {
  display: block;
  width: 116px; height: auto;
  margin-top: auto;
  margin-inline: auto;
  padding: 7px 9px;
  background: #fff;
  border-radius: 5px;
}
.cred > span { margin-bottom: var(--space-sm); }

/* Reviews ---------------------------------------------------------------- */
/* One real review, presented confidently, beats two cards where one is padding. */
.reviews { display: grid; grid-template-columns: 1fr; gap: var(--space-md); max-width: 760px; }
.review { background: var(--bg-raise); border-top: 3px solid var(--ember); padding: var(--space-md); }
.review__stars { color: var(--ember); letter-spacing: 0.15em; font-size: 1.05rem; }
.review p { font-size: 1.08rem; margin-block: var(--space-sm); }
.review__quote { font-size: 1.32rem; line-height: 1.45; }
.review__by { font-family: 'Barlow Condensed', sans-serif; font-size: 1.05rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.review__src { display: block; font-size: 0.84rem; letter-spacing: 0.06em; text-transform: none; margin-top: 0.2rem; }

/* Crew ------------------------------------------------------------------- */
/* Added 2026-09-21. The client declined photos of his people, so the crew has to come
   across in words instead. These are his own words about them, quoted as he sent them —
   left-aligned with everything else on the page, per the one-alignment rule. */
.crew { margin-top: var(--space-lg); }
.crew__lede { max-width: 68ch; }
.crew__quotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
  max-width: 900px;
}
@media (max-width: 720px) { .crew__quotes { grid-template-columns: 1fr; } }
.crewq {
  margin: 0;
  background: var(--bg-raise);
  border-left: 3px solid var(--ember);
  padding: var(--space-md);
}
.crewq blockquote {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  line-height: 1.2;
  color: var(--text);
}
.crewq figcaption {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ember);
  margin-top: var(--space-sm);
}
.crewq figcaption span {
  display: block;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}
@media (max-width: 640px) { .crewq { padding: var(--space-sm); } }

/* FAQ -------------------------------------------------------------------- */
/* Left edge must line up with the section heading above it, not float centred. */
.faq { max-width: 820px; margin-inline: 0; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: var(--space-sm) 2.5rem var(--space-sm) 0;
  position: relative;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem; font-weight: 700; letter-spacing: 0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0.4rem; top: 50%; transform: translateY(-50%);
  color: var(--ember); font-size: 1.6rem; line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--text-muted); padding-bottom: var(--space-sm); }

/* Contact ---------------------------------------------------------------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--space-lg); align-items: start; }
.contact__direct { list-style: none; margin: var(--space-md) 0 0; padding: 0; }
.contact__direct li { display: flex; gap: var(--space-sm); align-items: flex-start; margin-bottom: var(--space-md); }
.contact__direct svg { width: 22px; height: 22px; color: var(--ember); flex: none; margin-top: 0.3rem; }
.contact__direct b {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 0.15rem;
}
/* These are primary contact actions, not body links — give them a real thumb target. */
.contact__direct a {
  color: var(--text); text-decoration: none; font-size: 1.22rem; font-weight: 500;
  display: inline-flex; align-items: center; min-height: 44px;
}
.contact__direct a:hover { color: var(--ember-lt); }
/* Non-link values (a name, a postal address) sized to match the links beside them, so the
   list reads as one block rather than two different kinds of entry. */
.contact__plain { display: block; font-size: 1.22rem; font-weight: 500; }
/* The why behind the second number: old certificates and business cards carry it, and it is
   what "north bay hood cleaning" still turns up online. Quieter than the number itself. */
.contact__sub { display: block; font-size: 0.92rem; color: var(--text-muted); margin-top: 0.1rem; }

form { background: var(--bg-raise); border: 1px solid var(--border); padding: var(--space-md); }
.field { margin-bottom: var(--space-sm); }
.field label {
  display: block; margin-bottom: 0.35rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-muted);
}
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font: inherit;
  padding: 0.75rem 0.85rem;
  border-radius: 0.2rem;
}
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--ember); outline-offset: 1px; border-color: var(--ember);
}
form .btn { width: 100%; margin-top: var(--space-xs); }
.form__note { font-size: 0.88rem; color: var(--text-muted); margin-top: var(--space-sm); }

/* CTA band --------------------------------------------------------------- */
.cta-band { background: var(--bg-tint); border-block: 1px solid var(--border); }
.cta-band h2 { margin-bottom: var(--space-sm); }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--border); padding-block: var(--space-lg) var(--space-md); }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: var(--space-md); }
.site-footer h4 {
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: var(--space-sm);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--ember-lt); text-decoration: underline; }
.site-footer p { color: var(--text-muted); font-size: 0.97rem; }
.site-footer__base {
  margin-top: var(--space-lg); padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: space-between;
  color: var(--text-muted); font-size: 0.9rem;
}

/* Cookie notice ---------------------------------------------------------- */
#cookie-notice {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--bg-raise);
  border-top: 2px solid var(--ember);
  padding: var(--space-sm) var(--space-md);
  align-items: center; justify-content: center; gap: var(--space-md); flex-wrap: wrap;
}
#cookie-notice p { margin: 0; font-size: 0.92rem; color: var(--text-muted); max-width: 70ch; }
#cookie-accept {
  background: var(--ember); color: #14060A; border: 0; cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.6rem 1.3rem; border-radius: 0.2rem; min-height: 44px;
}

/* Scroll reveal ---------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Skip link -------------------------------------------------------------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ember); color: #14060A; padding: 0.7rem 1.1rem; font-weight: 700;
}
.skip:focus { left: var(--space-sm); top: var(--space-sm); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .risk__grid,
  .contact__grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .corridors { grid-template-columns: 1fr; gap: var(--space-sm); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

/* Map labels below ~860px ------------------------------------------------
   The SVG scales with its container, so a 16-unit label renders at roughly
   6 real pixels on a phone — illegible. Keep only the five towns that orient
   the shape, at a size that actually reads; every community is still named in
   the corridor list directly underneath. */
@media (max-width: 860px) {
  .map__label { display: none; }
  .t-north-bay .map__label,
  .t-hearst .map__label,
  .t-white-river .map__label,
  .t-sault-ste-marie .map__label,
  .t-timmins .map__label { display: block; font-size: 30px; }
  .t-north-bay .map__label { font-size: 34px; }
  .map__dot { stroke-width: 4; }
  .is-minor .map__dot { stroke-width: 3; }
  .map__road { stroke-width: 5; }
  .map__spur { stroke-width: 3.5; stroke-dasharray: 1 9; }
  /* The shield rects are fixed-width in viewBox units; scaling the numerals to
     match would overflow them. The corridor list names all three highways. */
  .map__shields { display: none; }
}

@media (max-width: 760px) {
  section { padding-block: var(--space-lg); }

  /* ONE ALIGNMENT, WHOLE PAGE: LEFT. (2026-09-20, second pass)
     The first pass centred section titles on mobile, then the hero, and each
     change made the thing beside it look wrong — cards, then the cert line,
     then the credential cards. That cascade IS the symptom. A page with a
     centred heading over left-aligned content reads as a mistake, because it
     is one. Dense technical content (lists, a code table, a town list) is
     left-aligned content, so the headings above it are left too.
     The ONLY centred things on this page are the stat strip and the closing
     CTA band — standalone bands where every element inside is centred
     together, so there is no mismatch to notice. Nothing else centres. */

  .grid--3, .grid--2,
  .gallery, .reviews, .creds { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .wordmark__sub { display: none; }
  .container { padding-inline: var(--space-sm); }
  .card, form, .risk__facts li, .cred { padding: var(--space-sm); }
  .card__head, .cred__head { min-height: 0; }
  .freq th, .freq td { padding: 0.7rem var(--space-sm); }
  .stats__grid { gap: var(--space-sm); }
  .stat__l { font-size: 0.72rem; letter-spacing: 0.1em; }

  /* "PHIL ACKLAND CERTIFIED · NFPA 96 · NFPA 17" is ~355px of a 358px column,
     so it wrapped with a stranded bullet on the first line. Break it into two
     deliberate lines instead and drop the separator that joined them. */
  .hero__certs-sep { display: none; }
  .hero__certs-codes { flex-basis: 100%; }
  .btn-row .btn { width: 100%; }
  .site-header .btn span { display: none; }
  .site-header .btn { padding-inline: 0.85rem; }

  /* Thumb targets: footer links are 20px tall as plain text, which is too small
     to hit reliably on a phone. Space them out rather than restyling them. */
  .site-footer li { margin-bottom: 0; }
  .site-footer li a,
  .site-footer li { display: flex; align-items: center; min-height: 44px; }
  .wordmark { padding-block: 0.3rem; }
}

/* Very narrow: the 3-up stat strip would wrap badly as a grid, so stack it */
@media (max-width: 400px) {
  .stats__grid { grid-template-columns: 1fr; gap: var(--space-xs); }
  /* Stacked as rows, the numbers and labels must line up in two columns —
     centring each row independently leaves three ragged, unrelated lines. */
  .stat {
    display: grid; grid-template-columns: 3.4rem 1fr;
    gap: 0.7rem; align-items: baseline; text-align: left;
    max-width: 17rem; margin-inline: auto;
  }
  .stat__n { font-size: 1.9rem; text-align: right; }
  .stat__l { margin-top: 0; }
}
