/* Maple Valley Water Damage Relief — design system
   Cedar green base · chalk surfaces · amber-gold CTAs · stone-grey rules (decorative only)
   Contrast at shipped hex: #1F3A34 on #D99C2B = 5.09:1 (AA) · on #E8B14F = 6.32:1 · #F4F2EC on #1F3A34 = 10.9:1
   #46605A on #F4F2EC = 6.1:1 · #CBD5D1 on #2E5349 = 5.7:1 · white on amber is never used. */

/* Self-hosted fonts (latin subset, variable weight). Preloaded in every <head>. */
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 500 700; font-stretch: 100%; font-display: swap; src: url("../fonts/instrument-sans-latin-var.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/source-sans-3-latin-var.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --cedar-900: #1F3A34;
  --cedar-800: #26463F;
  --cedar-700: #2E5349;
  --chalk: #F4F2EC;
  --white: #FFFFFF;
  --amber: #D99C2B;
  --amber-light: #E8B14F;
  --stone: #9AA5A2;

  --ink: var(--cedar-900);
  --ink-muted: #46605A;
  --on-dark: #F4F2EC;
  --on-dark-muted: #CBD5D1;
  --focus: var(--cedar-700);

  --font-head: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: clamp(0.94rem, 0.9rem + 0.15vw, 1rem);
  --step-0: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.45rem, 1.25rem + 0.9vw, 1.95rem);
  --step-3: clamp(1.8rem, 1.45rem + 1.6vw, 2.7rem);
  --step-4: clamp(2.2rem, 1.6rem + 2.6vw, 3.6rem);

  --gap: clamp(16px, 2.4vw, 32px);
  --band-pad: clamp(56px, 8vw, 104px);
  --radius-sm: 10px;
  --radius: 12px;
  --radius-lg: 14px;
  --shadow-1: 0 1px 2px rgba(31, 58, 52, 0.06), 0 6px 18px rgba(31, 58, 52, 0.06);
  --shadow-2: 0 2px 6px rgba(31, 58, 52, 0.08), 0 18px 44px rgba(31, 58, 52, 0.12);
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--chalk);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); font-weight: 700; }
h2 { font-size: var(--step-3); font-weight: 700; }
h3 { font-size: var(--step-1); font-weight: 600; }
p, li { text-wrap: pretty; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
a { color: var(--cedar-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cedar-900); text-decoration-thickness: 2px; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.mt-gap { margin-top: var(--gap); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 12px; top: 12px; z-index: 2000;
  background: var(--amber); color: var(--cedar-900); font-weight: 600;
  padding: 12px 18px; border-radius: var(--radius-sm); text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.span-12 { grid-column: span 12; }
.span-7, .span-6, .span-5, .span-8, .span-4 { grid-column: span 12; }
@media (min-width: 900px) {
  .span-7 { grid-column: span 7; } .span-6 { grid-column: span 6; } .span-5 { grid-column: span 5; }
  .span-8 { grid-column: span 8; } .span-4 { grid-column: span 4; }
}
.stack > * + * { margin-top: 1em; }
.grid-12 > div > .reveal + .reveal, .grid-12 > div > .reveal + .cta { margin-top: 32px; }
p + h3, ul + h3 { margin-top: 1.4em; }
.measure { max-width: 68ch; }

.band { padding-block: var(--band-pad); position: relative; }
.band--chalk { background: var(--chalk); }
.band--white { background: var(--white); }
.band--cedar { background: var(--cedar-900); color: var(--on-dark); --focus: var(--amber-light); }
.band--cedar h2, .band--cedar h3 { color: var(--on-dark); }
.band--cedar p, .band--cedar li { color: var(--on-dark-muted); }
.band--cedar a:not(.btn) { color: var(--on-dark); }
.band--cedar a:not(.btn):hover { color: var(--amber-light); }

.eyebrow {
  font-family: var(--font-head); font-weight: 600; font-size: var(--step--1);
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--cedar-700); margin: 0 0 12px;
}
.band--cedar .eyebrow, .hero .eyebrow { color: var(--amber-light); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { font-size: var(--step-0); color: var(--ink-muted); }
.band--cedar .section-head p { color: var(--on-dark-muted); }
.lede { font-size: var(--step-1); line-height: 1.5; }

/* ---------- Buttons & CTAs ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius-sm);
  font-family: var(--font-head); font-weight: 600; font-size: var(--step-0); line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform 0.2s var(--ease);
}
.btn:hover { transform: scale(1.03); text-decoration: none; }
.btn:active { transform: scale(0.99); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn span { text-align: left; }
@media (min-width: 560px) { .btn { white-space: nowrap; } }
.btn--amber { background: var(--amber); color: var(--cedar-900); }
.btn--amber:hover { background: var(--amber-light); color: var(--cedar-900); }
.btn--ghost { background: transparent; color: var(--on-dark); border-color: rgba(244, 242, 236, 0.5); }
.btn--ghost:hover { color: var(--on-dark); border-color: var(--on-dark); }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: var(--step-1); }

.cta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: clamp(24px, 3vw, 36px); }
.cta__micro { margin: 0; font-size: var(--step--1); color: var(--ink-muted); }
.band--cedar .cta__micro, .hero .cta__micro, .cta-band .cta__micro { color: var(--on-dark-muted); }
.cta--center { align-items: center; text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 900; height: var(--header-h);
  color: var(--on-dark); --focus: var(--amber-light);
}
.site-header::before, .site-header::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; transform-origin: top center;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.site-header::after { background: linear-gradient(180deg, rgba(31, 58, 52, 0.7), rgba(31, 58, 52, 0)); }
.site-header::before { background: var(--cedar-900); box-shadow: 0 6px 24px rgba(15, 30, 26, 0.22); opacity: 0; }
.site-header.is-scrolled::before { opacity: 1; transform: scaleY(0.84); }
.site-header.is-scrolled::after { opacity: 0; }
.site-header__inner {
  position: relative; z-index: 1; height: 100%;
  display: flex; align-items: center; gap: clamp(10px, 2vw, 28px);
  transition: transform 0.3s var(--ease);
}
.site-header.is-scrolled .site-header__inner { transform: translateY(-6px); }
.brand {
  display: inline-flex; align-items: center; gap: 12px; color: var(--on-dark); text-decoration: none;
  margin-right: auto; min-height: 44px; transform-origin: left center; transition: transform 0.3s var(--ease);
}
.brand:hover { color: var(--on-dark); }
.site-header.is-scrolled .brand { transform: scale(0.92); }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { display: flex; flex-direction: column; font-family: var(--font-head); line-height: 1.05; }
.brand__line1 { font-weight: 700; font-size: 1.08rem; letter-spacing: -0.01em; }
.brand__line2 { font-weight: 500; font-size: 0.86rem; color: var(--on-dark-muted); letter-spacing: 0.01em; }
@media (max-width: 479px) { .brand__text { display: none; } }

.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav__link {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--on-dark); text-decoration: none;
}
.site-nav__link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 2px; background: var(--amber-light);
  transform: scaleX(0); transform-origin: left center; transition: transform 0.25s var(--ease);
}
.site-nav__link:hover { color: var(--on-dark); }
.site-nav__link:hover::after, .site-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.btn--header { flex: none; min-height: 44px; padding: 10px 16px; font-size: 0.98rem; white-space: nowrap; }
@media (max-width: 379px) { .btn--header { padding: 10px 12px; font-size: 0.92rem; } }
.nav-toggle {
  display: none; flex: none; width: 44px; min-width: 44px; height: 44px; border: 1px solid rgba(244, 242, 236, 0.35); border-radius: var(--radius-sm);
  background: transparent; color: var(--on-dark); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { transform: translateY(-6px); }
.nav-toggle__bars::after { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: rotate(45deg); background: var(--on-dark); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: rotate(-45deg); background: var(--on-dark); }

@media (max-width: 859px) {
  .js .nav-toggle { display: inline-flex; order: 3; }
  .js .site-nav { order: 4; }
  .js .site-nav__list {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0;
    padding: 8px clamp(16px, 4vw, 32px) 16px; background: var(--cedar-900);
    box-shadow: 0 16px 32px rgba(15, 30, 26, 0.25);
    opacity: 0; transform: translateY(-8px); visibility: hidden;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s;
  }
  .js .site-nav__list.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .js .site-nav__link { width: 100%; padding: 0 4px; border-bottom: 1px solid rgba(154, 165, 162, 0.25); }
  .js .site-nav__link::after { left: 4px; right: auto; width: 48px; }
  .btn--header span.btn__long { display: none; }
}
@media (max-width: 359px) { .btn--header { padding: 10px 12px; font-size: 0.92rem; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--cedar-900); color: var(--on-dark); --focus: var(--amber-light);
  padding-top: calc(var(--header-h) + clamp(48px, 8vw, 104px)); padding-bottom: clamp(56px, 8vw, 104px);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(31, 58, 52, 0.95) 0%, rgba(31, 58, 52, 0.86) 46%, rgba(31, 58, 52, 0.6) 100%);
}
.hero__motif {
  position: absolute; inset: 0; opacity: 0.14; pointer-events: none;
  background:
    radial-gradient(60% 80% at 88% 20%, rgba(232, 177, 79, 0.55), transparent 60%),
    radial-gradient(40% 60% at 70% 110%, rgba(154, 165, 162, 0.7), transparent 70%),
    repeating-radial-gradient(circle at 85% 30%, rgba(244, 242, 236, 0.35) 0 1px, transparent 1px 38px);
}
.hero__content { position: relative; max-width: 760px; }
.hero h1 { color: var(--on-dark); margin-bottom: 20px; }
.hero .lede { color: var(--on-dark-muted); margin-bottom: 0; }
.rule-amber { display: block; width: 64px; height: 4px; border-radius: 2px; background: var(--amber); margin: 0 0 22px; }
.hero__note { margin: 20px 0 0; font-size: var(--step--1); color: var(--on-dark-muted); }
.hero--compact { padding-bottom: clamp(44px, 6vw, 72px); }

.breadcrumbs { position: relative; margin-bottom: 8px; font-size: var(--step--1); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.breadcrumbs li { color: var(--on-dark-muted); display: flex; align-items: center; min-height: 44px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--stone); }
.breadcrumbs a { color: var(--on-dark); display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; }

/* ---------- Image placeholders (until verified Pexels IDs are supplied) ---------- */
.media { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--cedar-700); aspect-ratio: 1260 / 750; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall { aspect-ratio: 4 / 5; }
.media[data-photo]::before, .hero__media[data-photo]::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(244, 242, 236, 0.07) 0 12px, transparent 12px 24px);
}
.media[data-photo]::after {
  content: "photo: " attr(data-photo); position: absolute; left: 16px; right: 16px; bottom: 14px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 0.8rem; color: var(--on-dark-muted);
}
img[src^="["] { opacity: 0; }

/* ---------- Trust strip ---------- */
.trust { background: var(--white); border-bottom: 1px solid rgba(154, 165, 162, 0.4); }
.trust__list {
  list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px;
}
.trust__list li { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: var(--step--1); color: var(--cedar-900); }
.trust__list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex: none; }

/* ---------- Numbered steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); counter-reset: step; }
.step { position: relative; padding: 26px 24px 22px; background: var(--chalk); border-radius: var(--radius); counter-increment: step; }
.band--chalk .step { background: var(--white); }
.step::before {
  content: counter(step); display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--stone); margin-bottom: 14px;
  font-family: var(--font-head); font-weight: 700; color: var(--cedar-900);
}
.step h3 { font-size: var(--step-1); margin-bottom: 8px; color: var(--cedar-900); }
.band--cedar .step { background: var(--chalk); }
.step p { margin: 0; color: var(--ink-muted); }
.safety-line { font-weight: 600; color: var(--cedar-900) !important; }

/* ---------- Leak vs groundwater (signature) ---------- */
.compare { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.compare__panel { background: var(--cedar-700); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); }
.compare__panel h3 { display: flex; align-items: center; gap: 12px; }
.compare__tag {
  display: inline-flex; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--stone);
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; color: var(--on-dark);
}
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 26px; margin-bottom: 12px; }
.checklist li:last-child { margin-bottom: 0; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--amber-light); }
.band--white .checklist li::before, .band--chalk .checklist li::before { border-color: var(--amber); }
.callout {
  margin-top: var(--gap); border: 1px solid rgba(154, 165, 162, 0.45); border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 36px); background: rgba(244, 242, 236, 0.04);
}
.band--white .callout, .band--chalk .callout { background: var(--white); border-color: rgba(154, 165, 162, 0.6); }
.band--white .callout { background: var(--chalk); }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.feature { border-top: 2px solid var(--stone); padding-top: 18px; }
.feature p { color: var(--ink-muted); margin: 0; }

/* ---------- Cards (stretched link) ---------- */
.card-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.card {
  position: relative; background: var(--white); border-radius: var(--radius-lg); padding: 28px 24px 24px;
  box-shadow: var(--shadow-1); transition: transform 0.25s var(--ease); isolation: isolate;
}
.band--white .card { background: var(--chalk); }
.card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--amber); transform: scaleX(0.22); transform-origin: left center; transition: transform 0.3s var(--ease);
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: var(--shadow-2);
  opacity: 0; transition: opacity 0.25s var(--ease); z-index: -1;
}
.card:hover, .card:focus-within { transform: translateY(-4px); }
.card:hover::before, .card:focus-within::before { transform: scaleX(1); }
.card:hover::after, .card:focus-within::after { opacity: 1; }
.card__title { font-size: var(--step-1); margin-bottom: 8px; }
.card__link { color: var(--cedar-900); text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius-lg); }
.card__link:focus-visible { outline: none; }
.card__link:focus-visible::after { outline: 3px solid var(--focus); outline-offset: 3px; }
.card p { color: var(--ink-muted); margin: 0 0 16px; font-size: var(--step--1); }
.card__more { font-family: var(--font-head); font-weight: 600; font-size: var(--step--1); color: var(--cedar-700); }
.card--area { padding: 22px 20px 20px; }
.card--area .card__title { font-size: 1.15rem; }
.link-row { margin-top: clamp(24px, 3vw, 36px); font-family: var(--font-head); font-weight: 600; }
.link-row a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Drying process ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); counter-reset: proc; }
.process li { counter-increment: proc; position: relative; padding-top: 58px; }
.process li::before {
  content: counter(proc, decimal-leading-zero); position: absolute; top: 0; left: 0;
  font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--amber-light);
}
.process li::after { content: ""; position: absolute; top: 44px; left: 0; right: 0; height: 1px; background: rgba(154, 165, 162, 0.5); }
.process h3 { font-size: var(--step-1); }
.process p { margin: 0; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 860px; }
.faq-item { border-bottom: 1px solid rgba(154, 165, 162, 0.55); }
.faq-item:first-child { border-top: 1px solid rgba(154, 165, 162, 0.55); }
.faq-q { margin: 0; font-size: var(--step-1); font-weight: 600; }
.faq-q button {
  all: unset; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; min-height: 56px; padding: 18px 0; cursor: pointer; color: var(--cedar-900); font: inherit;
}
.faq-q button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.faq-q__icon { position: relative; width: 22px; height: 22px; flex: none; }
.faq-q__icon::before, .faq-q__icon::after {
  content: ""; position: absolute; left: 3px; right: 3px; top: 10px; height: 2px; background: var(--cedar-700); border-radius: 2px;
  transition: transform 0.25s var(--ease);
}
.faq-q__icon::after { transform: rotate(90deg); }
.faq-item.is-open .faq-q__icon::after { transform: rotate(0deg); }
.faq-a { margin: 0; padding: 0 0 22px; color: var(--ink-muted); max-width: 72ch; }
.js .faq-a { opacity: 0; transform: translateY(-6px); transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); }
.js .faq-item.is-open .faq-a { opacity: 1; transform: none; }

/* ---------- Final CTA band ---------- */
.cta-band { background: var(--cedar-700); color: var(--on-dark); text-align: center; padding-block: clamp(56px, 8vw, 96px); --focus: var(--amber-light); }
.cta-band h2 { color: var(--on-dark); max-width: 22ch; margin-inline: auto; }
.cta-band p { color: var(--on-dark-muted); max-width: 60ch; margin-inline: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--cedar-900); color: var(--on-dark-muted); padding: clamp(48px, 7vw, 80px) 0 104px; font-size: var(--step--1); --focus: var(--amber-light); }
.footer-grid { display: grid; gap: 36px var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }
.footer-brand .brand { margin-bottom: 16px; }
.footer-h { font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber-light); margin-bottom: 14px; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list a { display: inline-flex; align-items: center; min-height: 36px; color: var(--on-dark-muted); text-decoration: none; }
.footer-list a:hover { color: var(--on-dark); text-decoration: underline; }
.footer-nap { line-height: 1.7; }
.footer-nap strong { color: var(--on-dark); font-weight: 600; }
.footer-nap a { color: var(--on-dark); font-weight: 600; display: inline-flex; min-height: 44px; align-items: center; }
.footer-disclosure { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(154, 165, 162, 0.35); max-width: 90ch; }
.footer-base { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.footer-base p { margin: 0; }

/* ---------- Floating call button ---------- */
.fab {
  position: fixed; z-index: 1000;
  right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--amber); color: var(--cedar-900); box-shadow: 0 8px 24px rgba(15, 30, 26, 0.3);
  opacity: 0; transform: translateY(24px) scale(0.9); pointer-events: none; visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
}
.fab svg { width: 26px; height: 26px; }
.fab:hover { background: var(--amber-light); color: var(--cedar-900); }
.fab:focus-visible { outline: 3px solid var(--cedar-900); outline-offset: 3px; box-shadow: 0 0 0 6px var(--amber-light); }
.fab.is-visible { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--amber); opacity: 0; pointer-events: none; }
.fab.is-ringing::after { animation: fab-ring 1.8s var(--ease) 1; }
@keyframes fab-ring { 0% { opacity: 0.7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.55); } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Related links / hub groups ---------- */
.related-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.related-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 14px 18px;
  background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-1);
  font-family: var(--font-head); font-weight: 600; color: var(--cedar-900); text-decoration: none;
  transition: transform 0.2s var(--ease);
}
.related-list a::after { content: "\2192"; color: var(--cedar-700); }
.related-list a:hover { transform: translateY(-2px); }
.band--white .related-list a { background: var(--chalk); }
.hub-group + .hub-group { margin-top: clamp(40px, 6vw, 64px); }
.hub-group > h2 { font-size: var(--step-2); }
.two-col { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.two-col > div > h3:first-child { margin-top: 0; }
.panel { background: var(--white); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-1); }
.band--white .panel { background: var(--chalk); box-shadow: none; }
.band--cedar .panel { background: var(--cedar-700); box-shadow: none; }
.hero__note--area { font-family: var(--font-head); font-weight: 500; }

/* ---------- 404 ---------- */
.route-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover, .card:hover, .card:focus-within { transform: none; }
  .fab.is-visible { transform: none; }
}

/* ---------- Comparison tables ---------- */
.table-wrap { margin: var(--gap) 0 0; overflow-x: auto; overflow-y: hidden; background: var(--white); color: var(--ink); border-radius: var(--radius-lg); box-shadow: 0 10px 30px rgba(15, 30, 26, 0.10); -webkit-overflow-scrolling: touch; }
.table-wrap:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.compare-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: var(--step--1); line-height: 1.45; }
.compare-table caption { text-align: left; padding: 16px 18px 6px; font-family: var(--font-head); font-weight: 600; font-size: var(--step-0); color: var(--cedar-900); }
.compare-table th, .compare-table td { padding: 12px 18px; text-align: left; vertical-align: top; border-top: 1px solid rgba(31, 58, 52, 0.12); }
.compare-table thead th { font-family: var(--font-head); font-weight: 600; color: var(--cedar-900); background: var(--chalk); border-top: 0; }
.compare-table tbody th { font-weight: 600; color: var(--cedar-900); width: 24%; }
