/* ==========================================================================
   Claremore Water Damage: design system
   "Calm water, steady hands."
   One shared stylesheet. Mobile first. Breakpoints: 600 / 900 / 1080 (nav) / 1200.
   The block between CRITICAL:START and CRITICAL:END is also inlined in every
   page <head> (run: node tools/sync.js). Keep it small: banner, header, hero, call bar.
   ========================================================================== */

/* CRITICAL:START */

/* ---------- 1. Font fallbacks (metric-matched to cut layout shift on swap) ---------- */
@font-face { font-family: "Inter Fallback"; src: local("Arial"); size-adjust: 107%; ascent-override: 90%; descent-override: 22.4%; line-gap-override: 0%; }
@font-face { font-family: "Jakarta Fallback"; src: local("Arial"); size-adjust: 104%; ascent-override: 96%; descent-override: 24%; line-gap-override: 0%; }

/* ---------- 2. Tokens ---------- */
:root {
  /* Brand palette */
  --deep: #0D2233;
  --harbor: #163A52;
  --tide: #1B7A86;
  --tide-ink: #14646E;      /* deeper tide for small text on --mist (6.0:1) */
  --tide-light: #2A98A3;
  --mist: #E7F1F2;
  --shell: #F6F8F7;
  --paper: #FFFFFF;
  --signal: #E9A23B;
  --signal-dark: #C9821F;
  --signal-soft: #FFF4E0;
  --ember: #C2502F;
  --ember-ink: #9E3B1F;
  --ember-soft: #FBEDE8;
  --sewer: #6E6A3E;
  --line: #D9E3E5;
  --line-strong: #B7C8CC;
  --live: #3FD1B5;

  /* Text */
  --ink: #14212B;           /* 15.9:1 on shell */
  --ink-soft: #4A5B66;      /* 6.5:1 on shell, 6.1:1 on mist */
  --on-signal: #1A1A1A;     /* 8.0:1 on signal, 5.5:1 on signal-dark */
  --on-dark: #FFFFFF;
  --on-dark-soft: #C3D0D8;  /* 10.6:1 on deep */

  /* Category colors (always paired with a text label) */
  --cat1: var(--tide);
  --cat2: var(--signal);
  --cat3: var(--ember);

  /* Type */
  --font-body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Plus Jakarta Sans", "Jakarta Fallback", "Inter", system-ui, sans-serif;
  --fs-h1: clamp(2.375rem, 1.55rem + 3.5vw, 4.25rem);     /* 38 to 68 */
  --fs-h2: clamp(1.75rem, 1.4rem + 1.5vw, 2.625rem);      /* 28 to 42 */
  --fs-h3: clamp(1.25rem, 1.13rem + 0.5vw, 1.5625rem);    /* 20 to 25 */
  --fs-body: clamp(1.0625rem, 1.03rem + 0.15vw, 1.125rem); /* 17 to 18 */
  --fs-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;
  --lh: 1.65;
  --measure: 70ch;

  /* Space and shape */
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 120px);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --header-h: 64px;
  --callbar-h: 76px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(13, 34, 51, .06), 0 2px 8px rgba(13, 34, 51, .05);
  --shadow: 0 2px 4px rgba(13, 34, 51, .05), 0 12px 32px -8px rgba(13, 34, 51, .14);
  --shadow-lg: 0 4px 8px rgba(13, 34, 51, .05), 0 24px 56px -12px rgba(13, 34, 51, .24);

  /* Motion: slow, soft, never jumpy */
  --ease-water: cubic-bezier(.22, .8, .24, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: .6s;

  /* Layers */
  --z-header: 50; --z-nav: 60; --z-float: 70; --z-callbar: 80; --z-dialog: 100; --z-progress: 110; --z-skip: 200;
}
@media (min-width: 900px) { :root { --header-h: 76px; } }

/* ---------- 3. Reset and base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--shell); color: var(--ink);
  font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--tide-ink); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); color: inherit; margin: 0 0 .5em; line-height: 1.15; text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.025em; line-height: 1.05; }
h2 { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -.02em; }
h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--signal); color: var(--on-signal); }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.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: absolute; left: 12px; top: -100px; z-index: var(--z-skip); background: var(--signal); color: var(--on-signal); padding: 12px 18px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.tabular { font-variant-numeric: tabular-nums; }

/* ---------- 4. Live dot ("line is open") ---------- */
.live-dot { position: relative; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--live); flex: none; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .live-dot::after { animation: livePulse 2.6s var(--ease-out) infinite; }
}
@keyframes livePulse { 0% { transform: scale(1); opacity: .6; } 70%, 100% { transform: scale(2.8); opacity: 0; } }
.live { display: inline-flex; align-items: center; gap: .55em; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .02em; }

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-fill: var(--mist);
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .75em 1.35em; border: 0; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 1rem/1.2 var(--font-body); letter-spacing: .005em; text-decoration: none; white-space: nowrap;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  transition: transform .25s var(--ease-out), box-shadow .3s, background-color .3s, color .3s, border-color .3s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.97); }
/* Rising water fill: a wave-topped layer scales up from the bottom on hover */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--btn-fill); transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform .55s var(--ease-water);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }
.btn--primary {
  --btn-bg: var(--signal); --btn-fg: var(--on-signal); --btn-fill: var(--signal-dark);
  box-shadow: 0 10px 26px -12px rgba(201, 130, 31, .9);
}
.btn--primary::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 8'%3E%3Cpath d='M0 4Q10 0 20 4T40 4V8H0Z' fill='%23C9821F'/%3E%3C/svg%3E") 0 0 / 40px 8px repeat-x,
    linear-gradient(var(--signal-dark), var(--signal-dark)) 0 7px / 100% 100% no-repeat;
}
.btn--dark { --btn-bg: var(--deep); --btn-fg: #fff; --btn-fill: var(--harbor); }
.btn--tide { --btn-bg: var(--tide); --btn-fg: #fff; --btn-fill: var(--tide-ink); }
.btn--ghost { --btn-bg: rgba(255,255,255,.08); --btn-fg: #fff; --btn-fill: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.42); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-fill: var(--mist); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--outline:hover { box-shadow: inset 0 0 0 1.5px var(--tide); }
.btn--lg { min-height: 56px; font-size: 1.0625rem; padding-inline: 1.6em; }
.btn--xl { min-height: 64px; font-size: 1.1875rem; padding-inline: 1.8em; }
.btn--block { display: flex; width: 100%; }
.btn--sm { min-height: 44px; padding: .55em 1.05em; font-size: .9375rem; }
.btn .icon { width: 1.2em; height: 1.2em; }
.btn--primary .live-dot { background: var(--deep); }
.btn__sub { display: block; font-size: .78em; font-weight: 500; opacity: .85; }
/* Soft ripple ring every few seconds on call buttons (not constant) */
.btn--ring::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 2px var(--signal); opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .btn--ring::after { animation: ring 7s var(--ease-out) 2s infinite; }
}
@keyframes ring { 0% { transform: scale(1); opacity: .75; } 18% { transform: scale(1.12, 1.45); opacity: 0; } 100% { transform: scale(1.12, 1.45); opacity: 0; } }

/* ---------- 6. Emergency banner ---------- */
.emergency-banner { position: relative; z-index: calc(var(--z-header) + 1); background: #08192A; color: var(--on-dark-soft); font-size: var(--fs-xs); }
.emergency-banner__inner { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; padding-block: 6px; padding-right: 48px; text-align: center; }
.emergency-banner p { margin: 0; }
.emergency-banner a { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: var(--signal); text-underline-offset: 3px; }
.emergency-banner__close { position: absolute; right: max(4px, calc(var(--gutter) - 12px)); top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: var(--on-dark-soft); border-radius: 50%; }
.emergency-banner__close:hover { color: #fff; background: rgba(255,255,255,.08); }
.emergency-banner__close .icon { width: 18px; height: 18px; }
.banner-dismissed .emergency-banner { display: none; }
@media (min-width: 600px) { .emergency-banner { font-size: var(--fs-sm); } }

/* ---------- 7. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header); height: var(--header-h); color: #fff;
  transition: background-color .4s, box-shadow .4s, transform .45s var(--ease-water), backdrop-filter .4s;
}
.site-header.is-solid { background: rgba(13, 34, 51, .88); -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%); box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 10px 30px -18px rgba(0,0,0,.6); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { position: relative; display: flex; align-items: center; gap: 12px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; margin-right: auto; min-height: 44px; }
.brand__mark { width: 34px; height: 40px; }
.brand__text { display: grid; line-height: 1; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.125rem; letter-spacing: -.015em; }
.brand__tag { font-size: .625rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #9ED7DC; margin-top: 5px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-call .header-call__num { display: none; }
.header-callback { display: none; color: #fff; font-size: var(--fs-sm); font-weight: 600; text-decoration: none; padding: 10px 4px; }
.header-callback:hover { color: var(--signal); }
.menu-toggle { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.25); text-decoration: none; border: 0; }
.menu-toggle .icon { width: 22px; height: 22px; }
.primary-nav { display: none; }
@media (min-width: 420px) { .header-call .header-call__num { display: inline; } .header-call .header-call__short { display: none; } }
@media (min-width: 900px) {
  .brand__mark { width: 38px; height: 46px; }
  .brand__name { font-size: 1.25rem; }
}
@media (min-width: 1080px) {
  .menu-toggle { display: none; }
  .primary-nav { display: flex; align-items: center; height: 100%; }
}
@media (min-width: 1240px) { .header-callback { display: inline-block; } }
/* Minimal nav layout so menus never flash open before the full stylesheet arrives */
.primary-nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0 8px 0 0; padding: 0; height: 100%; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-item--mega { position: static; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border: 0; border-radius: 999px; background: none; color: #E6EEF2; font-size: .9375rem; font-weight: 500; text-decoration: none; }
.nav-link .icon { width: 16px; height: 16px; }
.nav-panel { position: absolute; opacity: 0; visibility: hidden; }
.float-call, .read-progress { display: none; }

/* ---------- 8. Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; margin-top: calc(-1 * var(--header-h)); padding-top: calc(var(--header-h) + clamp(24px, 5vw, 56px)); padding-bottom: clamp(96px, 12vw, 150px); background: var(--deep); color: #fff; }
.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__shade { position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(13,34,51,.72) 0%, rgba(13,34,51,.82) 38%, rgba(13,34,51,.95) 100%); }
@media (min-width: 900px) {
  .hero__shade { background:
    linear-gradient(90deg, rgba(13,34,51,.96) 0%, rgba(13,34,51,.86) 42%, rgba(13,34,51,.42) 78%, rgba(13,34,51,.3) 100%),
    linear-gradient(0deg, rgba(13,34,51,.85) 0%, rgba(13,34,51,0) 45%); }
}
/* Moisture map: thermal-camera blobs that breathe very slowly */
.hero__blobs { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__blobs span { position: absolute; border-radius: 50%; opacity: .5; background: radial-gradient(closest-side, rgba(42,152,163,.55), rgba(42,152,163,.18) 55%, rgba(42,152,163,0)); }
.hero__blobs span:nth-child(1) { width: 70vmax; height: 70vmax; right: -28vmax; top: -30vmax; }
.hero__blobs span:nth-child(2) { width: 42vmax; height: 42vmax; left: -16vmax; bottom: -18vmax; background: radial-gradient(closest-side, rgba(63,209,181,.32), rgba(63,209,181,0)); }
.hero__blobs span:nth-child(3) { width: 30vmax; height: 30vmax; right: 18%; bottom: -10vmax; background: radial-gradient(closest-side, rgba(22,58,82,.9), rgba(22,58,82,0)); opacity: .7; }
@media (prefers-reduced-motion: no-preference) {
  .hero__blobs span:nth-child(1) { animation: breathe 16s ease-in-out infinite alternate; }
  .hero__blobs span:nth-child(2) { animation: breathe 21s ease-in-out -6s infinite alternate; }
  .hero__blobs span:nth-child(3) { animation: breathe 26s ease-in-out -3s infinite alternate; }
}
@keyframes breathe { from { transform: scale(1) translate3d(0,0,0); opacity: .38; } to { transform: scale(1.14) translate3d(-2%, 2%, 0); opacity: .62; } }
.hero__inner { position: relative; display: grid; gap: 40px; align-items: end; }
.hero__content { max-width: 760px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em; color: #E3EEF2; }
.hero__title { margin-bottom: .38em; }
.hero__title .w { display: inline-block; }
.hero__title .p { margin-left: -.09em; } /* tightens Plus Jakarta's wide comma and period: <span class="w">Claremore<span class="p">,</span></span> */
@media (prefers-reduced-motion: no-preference) {
  .hero__title .w { animation: wordRise .9s var(--ease-out) both; }
  .hero__title .w:nth-child(2) { animation-delay: .06s; } .hero__title .w:nth-child(3) { animation-delay: .12s; }
  .hero__title .w:nth-child(4) { animation-delay: .18s; } .hero__title .w:nth-child(5) { animation-delay: .24s; }
  .hero__title .w:nth-child(6) { animation-delay: .30s; } .hero__title .w:nth-child(7) { animation-delay: .36s; }
  .hero__title .w:nth-child(8) { animation-delay: .42s; } .hero__title .w:nth-child(9) { animation-delay: .48s; }
  .hero__title .w:nth-child(10) { animation-delay: .54s; } .hero__title .w:nth-child(n+11) { animation-delay: .6s; }
  .hero__fade { animation: fadeRise .8s var(--ease-out) .15s both; }
}
@keyframes wordRise { from { opacity: 0; transform: translateY(.45em); filter: blur(10px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes fadeRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero__lead { max-width: 64ch; font-size: var(--fs-lead); line-height: 1.6; color: #D6E2E8; }
.hero__lead strong { color: #fff; font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }
.hero__actions .btn { flex: 1 1 220px; }
@media (min-width: 600px) { .hero__actions .btn { flex: 0 0 auto; } }
.hero__card { display: none; }
.hero__lead a { color: #fff; }
/* Locator card: visible on every screen size on town pages */
.hero__card--locator { display: block; max-width: 420px; padding: 20px; border-radius: var(--radius-lg); background: rgba(13,34,51,.55); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), var(--shadow-lg); }
.hero__card--locator .hero__card-label { font-size: .875rem; letter-spacing: .12em; color: #fff; margin-bottom: 12px; }
.locator { margin: 0 0 14px; }
.locator .county-map__frame { max-height: 300px; display: grid; place-items: center; }
.locator svg { width: auto; max-height: 300px; margin-inline: auto; }
.locator .map-town.is-active .cm-dot { fill: var(--signal); }
.locator .map-town--hub .cm-dot { fill: #fff; stroke: var(--deep); }
.locator__dist { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 12px; font-size: var(--fs-sm); font-weight: 600; color: #fff; line-height: 1.45; }
.locator__dist .icon { color: var(--signal); width: 18px; height: 18px; margin-top: 2px; }
.locator__tags { margin: 0; }
.locator__tags .tag { min-height: 32px; font-size: var(--fs-xs); }
.hero--town .tag--zip { background: var(--signal); color: var(--on-signal); }
@media (max-width: 1079px) {
  .hero__card--locator { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 4px 16px; align-items: center; max-width: 560px; }
  .hero__card--locator .hero__card-label, .hero__card--locator .locator__tags { grid-column: 1 / -1; }
  .hero__card--locator .locator { grid-row: span 1; margin: 0; }
  .locator .county-map__frame, .locator svg { max-height: 150px; }
}
@media (min-width: 1080px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr) 320px; }
  .hero__card { display: block; padding: 26px; border-radius: var(--radius-lg); background: rgba(13,34,51,.55); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), var(--shadow-lg); }
}
.hero__card-label { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: #9ED7DC; margin-bottom: 14px; }
.hero__card-phone { display: block; font-family: var(--font-head); font-size: 1.75rem; font-weight: 800; letter-spacing: -.01em; color: #fff; text-decoration: none; margin: 6px 0 16px; font-variant-numeric: tabular-nums; }
.hero__card-list { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.14); display: grid; gap: 10px; font-size: var(--fs-sm); color: #D6E2E8; }
.hero__card-list li { display: flex; gap: 10px; align-items: center; }
.hero__card-list .icon { color: var(--live); }

/* Hero mood variants: same system, different weather */
.hero--storm { background: #1C2833; }
.hero--storm .hero__shade { background: linear-gradient(180deg, rgba(28,40,51,.7), rgba(22,36,48,.96)); }
@media (min-width: 900px) { .hero--storm .hero__shade { background: linear-gradient(90deg, rgba(24,36,47,.96) 0%, rgba(30,44,58,.84) 45%, rgba(40,56,72,.35) 100%), linear-gradient(0deg, rgba(20,32,42,.85), rgba(20,32,42,0) 50%); } }
.hero--storm .hero__blobs span:nth-child(1) { background: radial-gradient(closest-side, rgba(120,150,170,.45), rgba(120,150,170,0)); }
.hero--fire .hero__blobs span:nth-child(1) { background: radial-gradient(closest-side, rgba(194,80,47,.5), rgba(194,80,47,.14) 55%, rgba(194,80,47,0)); }
.hero--fire .hero__blobs span:nth-child(2) { background: radial-gradient(closest-side, rgba(233,162,59,.28), rgba(233,162,59,0)); }
.hero--fire .hero__eyebrow { box-shadow: inset 0 0 0 1px rgba(194,80,47,.6); }
/* Fire hero: warm ember shade over the photo */
.hero--fire { background: #1E1411; }
.hero--fire .hero__shade { background: linear-gradient(180deg, rgba(30,20,17,.72) 0%, rgba(30,20,17,.84) 40%, rgba(22,16,14,.96) 100%); }
@media (min-width: 900px) { .hero--fire .hero__shade { background: linear-gradient(90deg, rgba(24,16,14,.95) 0%, rgba(30,20,17,.84) 45%, rgba(60,28,18,.4) 100%), linear-gradient(0deg, rgba(20,14,12,.85), rgba(20,14,12,0) 50%); } }
.hero--sewage .hero__blobs span:nth-child(2) { background: radial-gradient(closest-side, rgba(140,135,84,.35), rgba(140,135,84,0)); }
.hero--article { padding-bottom: clamp(88px, 10vw, 128px); }
.hero--article .hero__content { max-width: 820px; }
.hero--compact { padding-bottom: clamp(80px, 9vw, 112px); }

/* ---------- 9. Waterline (animated SVG sine layers) ---------- */
.waterline { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(54px, 7vw, 100px); overflow: hidden; pointer-events: none; color: var(--shell); }
.waterline svg { position: absolute; bottom: 0; left: 0; width: 200%; max-width: none; height: 100%; }
.waterline__a { fill: #fff; opacity: .07; }
.waterline__b { fill: #fff; opacity: .12; }
.waterline__c { fill: currentColor; }
@media (prefers-reduced-motion: no-preference) {
  .waterline svg:nth-child(1) { animation: drift 34s linear infinite; }
  .waterline svg:nth-child(2) { animation: drift 24s linear infinite reverse; }
  .waterline svg:nth-child(3) { animation: drift 46s linear infinite; }
}
@keyframes drift { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }

/* ---------- 10. Trust chips ---------- */
.chips { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.chip { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 14px; font-size: var(--fs-sm); line-height: 1.45; font-weight: 500; }
.chip__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; flex: none; }
.chip__icon .icon { width: 19px; height: 19px; }
.chip span:last-child { padding-top: 6px; }
.hero .chip { background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); color: #E6EEF2; }
.hero .chip__icon { background: rgba(63,209,181,.14); color: var(--live); }
@media (min-width: 700px) { .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- 11. Breadcrumbs ---------- */
.breadcrumbs { font-size: var(--fs-xs); margin-bottom: 18px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 0; padding: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs li + li::before { content: ""; width: 6px; height: 6px; margin: 0 10px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); opacity: .5; }
.breadcrumbs a { color: inherit; text-decoration: none; padding: 8px 0; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { font-weight: 600; }
.hero .breadcrumbs { color: #B9CBD4; }
.hero .breadcrumbs [aria-current] { color: #fff; }

/* ---------- 12. Sticky mobile call bar (works with no JS: plain tel: link) ---------- */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-callbar); display: flex; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(8, 25, 42, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 -10px 30px -12px rgba(0,0,0,.45); }
.callbar__call { flex: 1 1 auto; min-width: 0; min-height: 56px; justify-content: flex-start; gap: 9px; padding-inline: 14px; text-align: left; line-height: 1.15; white-space: normal; font-size: .9375rem; }
@media (max-width: 400px) { .callbar { gap: 8px; } .callbar__call { font-size: .875rem; } .callbar__back { padding-inline: 12px; } }
.callbar__call .icon { width: 24px; height: 24px; }
.callbar__back { flex: 0 0 auto; min-height: 56px; padding-inline: 13px; font-size: .875rem; }
body { padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .callbar { display: none; } body { padding-bottom: 0; } }

/* CRITICAL:END */

/* ==========================================================================
   Below the fold (loaded by the shared stylesheet)
   ========================================================================== */

/* ---------- 13. Desktop navigation, mega menu, dropdown ---------- */
.primary-nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0 8px 0 0; padding: 0; height: 100%; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-item--mega { position: static; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border: 0; border-radius: 999px; background: none; color: #E6EEF2; font-size: .9375rem; font-weight: 500; text-decoration: none; transition: background-color .25s, color .25s; }
.nav-link:hover, .nav-item:hover > .nav-link, .nav-link[aria-expanded="true"] { color: #fff; background: rgba(255,255,255,.08); }
.nav-link[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--signal); border-radius: 0; }
.nav-link .icon { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.nav-link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav-panel {
  position: absolute; top: calc(100% - 6px); left: 50%; z-index: var(--z-nav);
  min-width: 280px; padding: 12px; border-radius: 20px; background: var(--paper); color: var(--ink);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(13,34,51,.06);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
  transition: opacity .25s, transform .35s var(--ease-out), visibility 0s .35s;
}
.nav-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-item.is-open > .nav-panel,
.nav-item:hover > .nav-panel,
.nav-item:focus-within > .nav-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.nav-panel--mega { left: var(--gutter); right: var(--gutter); transform: translateY(10px); display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px; padding: 16px; }
.nav-item--mega.is-open > .nav-panel, .nav-item--mega:hover > .nav-panel, .nav-item--mega:focus-within > .nav-panel { transform: none; }
.mega__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; list-style: none; margin: 0; padding: 0; }
.mega__link { display: flex; gap: 14px; padding: 14px; border-radius: 14px; color: var(--ink); text-decoration: none; transition: background-color .25s; }
.mega__link:hover { background: var(--shell); }
.mega__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--mist); color: var(--tide); flex: none; transition: transform .4s var(--ease-out); }
.mega__link:hover .mega__icon { transform: translateY(-2px); }
.mega__icon .icon { width: 22px; height: 22px; }
.mega__title { display: block; font-weight: 600; font-size: .9375rem; line-height: 1.3; }
.mega__desc { display: block; font-size: var(--fs-xs); color: var(--ink-soft); line-height: 1.45; margin-top: 3px; }
.mega__aside { display: grid; gap: 10px; align-content: start; }
.mega__feature { display: block; padding: 18px; border-radius: 16px; background: var(--deep); color: #fff; text-decoration: none; position: relative; overflow: hidden; }
.mega__feature::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(42,152,163,.6), rgba(42,152,163,0)); }
.mega__feature .mega__desc { color: var(--on-dark-soft); }
.mega__feature--amber { background: var(--signal-soft); color: var(--ink); box-shadow: inset 0 0 0 1px #F3D8A8; }
.mega__feature--amber::after { background: radial-gradient(closest-side, rgba(233,162,59,.45), rgba(233,162,59,0)); }
.mega__feature--amber .mega__desc { color: var(--ink-soft); }
.mega__feature-label { display: block; font-size: .6875rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #9ED7DC; margin-bottom: 6px; }
.mega__feature--amber .mega__feature-label { color: #8A5A12; }
.dropdown__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.dropdown__link { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 11px 14px; border-radius: 12px; color: var(--ink); text-decoration: none; font-size: .9375rem; font-weight: 500; }
.dropdown__link:hover { background: var(--shell); }
.dropdown__link small { color: var(--ink-soft); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
.dropdown__link--all { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; color: var(--tide-ink); font-weight: 600; }

/* ---------- 14. Mobile menu (full screen <dialog>) ---------- */
.mobile-menu { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: var(--deep); color: #fff; overflow-y: auto; overscroll-behavior: contain; }
.mobile-menu::backdrop { background: rgba(8,25,42,.6); }
.mobile-menu[open] { animation: menuIn .45s var(--ease-out); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding-inline: var(--gutter); border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-menu__close { width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; }
.mobile-menu__body { padding: 20px var(--gutter) calc(40px + env(safe-area-inset-bottom)); }
.mobile-menu__call { display: grid; gap: 10px; padding: 18px; border-radius: 20px; background: linear-gradient(145deg, rgba(42,152,163,.22), rgba(42,152,163,.04)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); margin-bottom: 26px; }
.mobile-menu__call .btn--xl { font-size: 1.25rem; }
.mobile-menu__live { justify-content: center; color: #CFE0E6; }
.mobile-menu__label { margin: 22px 0 6px; font-size: .6875rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #9ED7DC; }
.mobile-menu__list { list-style: none; margin: 0; padding: 0; }
.mobile-menu__list a { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 8px 4px; border-bottom: 1px solid rgba(255,255,255,.07); color: #fff; text-decoration: none; font-size: 1.0625rem; font-weight: 500; }
.mobile-menu__list a:hover { color: var(--signal); }
.mobile-menu__list .icon { width: 22px; height: 22px; color: var(--live); }
.mobile-menu__list--grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }

/* ---------- 15. Sections and layout ---------- */
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--paper { background: var(--paper); }
.section--mist { background: var(--mist); }
.section--mist a:not(.btn) { color: var(--tide-ink); }
.section--deep { background: var(--deep); color: #fff; }
.section--deep a:not(.btn) { color: #9ED7DC; }
.section--deep p, .section--deep li { color: var(--on-dark-soft); }
.section--deep strong { color: #fff; }
.section--cv { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--tide-ink); }
.eyebrow::before { content: ""; width: 22px; height: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 6'%3E%3Cpath d='M1 3q2.5-2.4 5 0t5 0 5 0 5 0' fill='none' stroke='%231B7A86' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain; }
.section--deep .eyebrow, .hero .eyebrow { color: #9ED7DC; }
.section--deep .eyebrow::before { filter: brightness(1.8); }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-soft); }
.section--deep .lead { color: var(--on-dark-soft); }
.measure { max-width: var(--measure); }
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } .split--flip > :first-child { order: 2; } }

/* Content page with sticky table of contents */
.layout { display: grid; gap: 32px; padding-block: clamp(40px, 6vw, 72px); }
.layout__main { min-width: 0; }
.layout__main > section { padding-block: clamp(28px, 4vw, 44px); }
.layout__main > section:first-child { padding-top: 0; }
.layout__main > section + section { border-top: 1px solid var(--line); }
@media (min-width: 1200px) {
  .layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 72px; }
  .layout > .toc { grid-column: 2; grid-row: 1; }
  .layout__main { grid-column: 1; grid-row: 1; max-width: 780px; }
}
.layout--article .layout__main { width: 100%; max-width: 700px; margin-inline: auto; }
@media (min-width: 1200px) { .layout--article { grid-template-columns: minmax(0, 1fr) 260px; } .layout--article .layout__main { margin-inline: 0 auto; } }

/* ---------- 16. Prose (long-form copy) ---------- */
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 0; }
.prose h2 { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose ul:not([class]), .prose ol:not([class]) { padding-left: 0; margin: 0 0 1.25em; list-style: none; }
.prose ul:not([class]) > li { position: relative; padding-left: 1.7em; margin-bottom: .55em; }
.prose ul:not([class]) > li::before { content: ""; position: absolute; left: .2em; top: .62em; width: .5em; height: .62em; background: var(--tide); clip-path: path("M4 0C4 0 0 4.4 0 6.6A4 4 0 0 0 8 6.6C8 4.4 4 0 4 0Z"); border-radius: 0 0 50% 50%; transform: scale(.95); }
.prose ol:not([class]) { counter-reset: p; }
.prose ol:not([class]) > li { position: relative; padding-left: 2.3em; margin-bottom: .7em; counter-increment: p; }
.prose ol:not([class]) > li::before { content: counter(p); position: absolute; left: 0; top: .15em; width: 1.6em; height: 1.6em; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--tide-ink); font: 700 .8125rem/1 var(--font-head); }
.prose strong { font-weight: 650; color: var(--ink); }
.prose em { color: var(--ink-soft); }
.section--deep .prose strong { color: #fff; }
.note { font-size: var(--fs-sm); color: var(--ink-soft); }

/* ---------- 17. Answer card (quoted by AI Overviews) ---------- */
.answer-card { position: relative; overflow: hidden; margin: 0 0 clamp(28px, 4vw, 40px); padding: clamp(20px, 3vw, 30px) clamp(20px, 3vw, 32px); border-radius: var(--radius-lg); background: linear-gradient(140deg, #FFFFFF 0%, #F0F7F8 100%); box-shadow: var(--shadow), inset 0 0 0 1px #CFE3E5; }
.answer-card::after { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(closest-side, rgba(42,152,163,.22), rgba(42,152,163,0)); pointer-events: none; }
.answer-card__label { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tide-ink); }
.answer-card__label .icon { width: 18px; height: 18px; }
.answer-card p:last-child, .answer-card ul:last-child { margin-bottom: 0; }
.answer-card > p:not(.answer-card__label) { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.6; }
.answer-card h2 { font-size: var(--fs-h3); }

/* ---------- 18. Table of contents ---------- */
.toc { font-size: var(--fs-sm); }
.toc__details { border-radius: var(--radius); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.toc__summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 18px; list-style: none; cursor: pointer; font-weight: 700; font-family: var(--font-head); }
.toc__summary::-webkit-details-marker { display: none; }
.toc__summary .icon { width: 18px; height: 18px; transition: transform .3s; }
.toc__details[open] .toc__summary .icon { transform: rotate(180deg); }
.toc__list { list-style: none; margin: 0; padding: 4px 10px 14px; counter-reset: t; }
.toc__list a { position: relative; display: block; padding: 8px 10px 8px 14px; border-radius: 8px; color: var(--ink-soft); text-decoration: none; line-height: 1.4; }
.toc__list a::before { content: ""; position: absolute; left: 2px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: var(--tide); transform: scaleY(0); transition: transform .35s var(--ease-out); }
.toc__list a:hover { color: var(--ink); background: var(--shell); }
.toc__list a.is-active { color: var(--tide-ink); font-weight: 600; }
.toc__list a.is-active::before { transform: scaleY(1); }
@media (min-width: 1200px) {
  .toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; }
  .toc__details { background: none; box-shadow: none; }
  .toc__summary { pointer-events: none; padding: 0 10px; min-height: 0; margin-bottom: 8px; font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
  .toc__summary .icon { display: none; }
  .toc__list { padding: 0; border-left: 1px solid var(--line); }
  .toc__list a::before { left: -1px; }
}

/* ---------- 19. Tables ---------- */
.table-wrap { position: relative; margin: 0 0 1.5em; overflow-x: auto; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.table-wrap:focus-visible { outline-offset: 2px; }
table.data { width: 100%; min-width: 600px; border-collapse: separate; border-spacing: 0; font-size: var(--fs-sm); line-height: 1.5; font-variant-numeric: tabular-nums; }
table.data caption { caption-side: top; text-align: left; padding: 16px 20px 14px; font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--ink); }
table.data th, table.data td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
table.data thead th { background: var(--deep); color: #fff; font-weight: 600; font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
table.data thead th:first-child { border-top-left-radius: 0; }
table.data tbody th[scope="row"] { font-weight: 600; color: var(--ink); background: var(--paper); }
table.data th:first-child, table.data td:first-child { position: sticky; left: 0; z-index: 1; min-width: 180px; max-width: 260px; box-shadow: 1px 0 0 var(--line); }
table.data thead th:first-child { z-index: 2; background: var(--deep); }
table.data tbody tr:nth-child(even) > * { background: #F9FBFB; }
table.data tbody tr:last-child > * { border-bottom: 0; }
table.data tbody tr:hover > * { background: #F1F7F8; }
table.data .num { white-space: nowrap; font-weight: 600; color: var(--ink); }
table.data .num--wrap { white-space: normal; min-width: 200px; }
table.data tr.is-highlight > * { background: #FFF8EB; }
table.data tr.is-highlight > th[scope="row"] { box-shadow: inset 4px 0 0 var(--signal), 1px 0 0 var(--line); }
.table-hint { display: flex; align-items: center; gap: 8px; margin: -0.8em 0 1.5em; font-size: var(--fs-xs); color: var(--ink-soft); }
@media (min-width: 900px) { .table-hint { display: none; } }

/* ---------- 20. Process steps ---------- */
.steps { list-style: none; margin: 0 0 1.5em; padding: 0; counter-reset: s; display: grid; gap: 0; }
.steps > li { position: relative; counter-increment: s; display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 18px; padding-bottom: 26px; }
.steps > li::before { content: counter(s); grid-row: span 3; position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--paper); color: var(--tide-ink); font: 800 1.25rem/1 var(--font-head); box-shadow: inset 0 0 0 2px var(--tide), 0 6px 18px -8px rgba(27,122,134,.6); }
.steps > li::after { content: ""; position: absolute; left: 25px; top: 56px; bottom: 4px; width: 2px; background: linear-gradient(var(--tide), rgba(27,122,134,.15)); transform-origin: top; }
.steps > li:last-child::after { display: none; }
.steps > li:last-child { padding-bottom: 0; }
.steps__body { padding-top: 12px; }
.steps__body > :last-child { margin-bottom: 0; }
.steps__body strong:first-child { font-family: var(--font-head); font-size: 1.0625rem; color: var(--ink); }
.section--deep .steps > li::before { background: var(--harbor); color: #fff; box-shadow: inset 0 0 0 2px var(--live); }
.reveal-on .steps.reveal > li::after { transform: scaleY(0); transition: transform .9s var(--ease-water); }
.reveal-on .steps.reveal > li::before { transform: scale(.6); opacity: 0; transition: transform .6s var(--ease-out), opacity .6s; }
.reveal-on .steps.reveal.is-in > li::after { transform: scaleY(1); }
.reveal-on .steps.reveal.is-in > li::before { transform: none; opacity: 1; }
.steps.reveal > li:nth-child(2)::before, .steps.reveal > li:nth-child(2)::after { transition-delay: .12s; }
.steps.reveal > li:nth-child(3)::before, .steps.reveal > li:nth-child(3)::after { transition-delay: .24s; }
.steps.reveal > li:nth-child(4)::before, .steps.reveal > li:nth-child(4)::after { transition-delay: .36s; }
.steps.reveal > li:nth-child(5)::before, .steps.reveal > li:nth-child(5)::after { transition-delay: .48s; }
.steps.reveal > li:nth-child(n+6)::before, .steps.reveal > li:nth-child(n+6)::after { transition-delay: .6s; }
@media (min-width: 900px) {
  .steps--feature { gap: 14px; }
  .steps--feature > li { padding: 22px 24px 22px 22px; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
  .steps--feature > li::after { display: none; }
}

/* ---------- 21. Callouts ---------- */
.callout { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 16px; margin: 0 0 1.5em; padding: 20px 22px; border-radius: var(--radius); background: var(--mist); box-shadow: inset 4px 0 0 var(--tide); }
.callout__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--paper); color: var(--tide); }
.callout__icon .icon, .callout__icon svg { width: 22px; height: 22px; }
.callout__label { margin: 0 0 4px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tide-ink); }
.callout__body > :last-child { margin-bottom: 0; }
.callout--ok { background: #EDF3F6; box-shadow: inset 4px 0 0 var(--harbor); }
.callout--ok .callout__icon { color: var(--harbor); }
.callout--ok .callout__label { color: var(--harbor); }
.callout--warn { background: var(--signal-soft); box-shadow: inset 4px 0 0 var(--signal); }
.callout--warn .callout__icon { color: #8A5A12; }
.callout--warn .callout__label { color: #7A4F0E; }
.callout--cat3 { background: var(--ember-soft); box-shadow: inset 4px 0 0 var(--ember), inset 0 0 0 1px #F2C9BB; }
.callout--cat3 .callout__icon { background: var(--ember); color: #fff; }
.callout--cat3 .callout__label { color: var(--ember-ink); font-size: .875rem; letter-spacing: .08em; }
.callout--ember { background: var(--ember-soft); box-shadow: inset 4px 0 0 var(--ember); }
.callout--ember .callout__icon { color: var(--ember); }
.callout--ember .callout__label { color: var(--ember-ink); }
.tag-sewer { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; background: var(--sewer); color: #fff; font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; vertical-align: middle; }

/* ---------- 22. Cards ---------- */
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.card__body { padding: clamp(20px, 2.4vw, 28px); display: flex; flex-direction: column; flex: 1; }
.card__body > :last-child { margin-bottom: 0; }
.card__media { position: relative; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; aspect-ratio: 16 / 10; background: var(--harbor); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.card__icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 18px; border-radius: 14px; background: var(--mist); color: var(--tide); }
.card__icon .icon { width: 26px; height: 26px; }
.card__media + .card__body .card__icon { margin-top: -46px; position: relative; background: var(--paper); box-shadow: var(--shadow); }
.card__kicker { margin: 0 0 6px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tide-ink); }
.card__title { margin: 0 0 8px; font-family: var(--font-head); font-size: 1.1875rem; font-weight: 700; line-height: 1.3; color: var(--ink); }
.card__title a { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; }
.card__text { color: var(--ink-soft); font-size: var(--fs-sm); line-height: 1.6; }
.card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; font-weight: 600; font-size: var(--fs-sm); color: var(--tide-ink); }
.card__more .icon { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.card__underline { position: relative; display: inline; }
.card--link .card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg), inset 0 0 0 1px #C6DCDF; }
.card--link:hover .card__media img { transform: scale(1.04); }
.card--link:hover .card__more .icon { transform: translateX(4px); }
@media (prefers-reduced-motion: no-preference) {
  .card--link:hover .card__icon { animation: bob 1.6s ease-in-out infinite; }
  .card__title a { transition: background-size .5s var(--ease-out); }
  .card--link:hover .card__title a { background-size: 100% 1.5px; }
}
@media (prefers-reduced-motion: reduce) { .card--link:hover .card__title a { background-size: 100% 1.5px; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.card--deep { background: var(--harbor); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.card--deep .card__title { color: #fff; }
.card--deep .card__text { color: var(--on-dark-soft); }
.card--deep .card__icon { background: rgba(63,209,181,.12); color: var(--live); }
.card--deep .card__more { color: var(--signal); }
.card--blob { overflow: hidden; }
.card--blob::before { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(42,152,163,.18), rgba(42,152,163,0)); pointer-events: none; }
.card--ember .card__icon { background: var(--ember-soft); color: var(--ember); }
.card--horizontal { display: grid; }
@media (min-width: 700px) {
  .card--horizontal { grid-template-columns: 42% minmax(0, 1fr); }
  .card--horizontal .card__media { aspect-ratio: auto; height: 100%; border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
}
.card-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; font-size: var(--fs-xs); color: var(--ink-soft); }
.card-meta span { display: inline-flex; align-items: center; gap: 6px; }
.card-meta .icon { width: 15px; height: 15px; color: var(--tide); }

/* Guide card and town card */
.guide-card .card__body { padding: 22px; }
.guide-card .card__icon { width: 44px; height: 44px; margin-bottom: 14px; }
.town-card .card__body { flex-direction: row; align-items: center; gap: 16px; padding: 20px 22px; }
.town-card .card__icon { margin: 0; flex: none; }
.town-card .card__title { margin: 0; font-size: 1.0625rem; }
.town-card .card__text { margin: 2px 0 0; font-size: var(--fs-xs); }
.town-card .card__more { margin: 0 0 0 auto; padding: 0; }

/* Related service (end of guides) */
.related-service { display: grid; gap: 18px; align-items: center; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-lg); background: var(--deep); color: #fff; position: relative; overflow: hidden; }
.related-service::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(42,152,163,.45), rgba(42,152,163,0)); }
.related-service__label { margin: 0 0 4px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #9ED7DC; }
.related-service__title { margin: 0; font-family: var(--font-head); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); font-weight: 700; }
.related-service__title a { color: #fff; text-decoration: none; }
.related-service__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.related-service .btn { position: relative; z-index: 2; }
@media (min-width: 700px) { .related-service { grid-template-columns: auto minmax(0, 1fr) auto; } }
.related-service__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(63,209,181,.12); color: var(--live); }
.related-service__icon .icon { width: 28px; height: 28px; }

/* Inline call card (mid-page) */
.inline-call { position: relative; overflow: hidden; display: grid; gap: 16px; align-items: center; margin: clamp(28px, 4vw, 44px) 0; padding: clamp(22px, 3vw, 30px); border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--deep), var(--harbor)); color: #fff; }
.inline-call::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(42,152,163,.5), rgba(42,152,163,0)); }
.inline-call__text { position: relative; margin: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.125rem, 1rem + .6vw, 1.375rem); line-height: 1.3; }
.inline-call__text small { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 500; color: var(--on-dark-soft); }
.inline-call .btn { position: relative; }
@media (min-width: 700px) { .inline-call { grid-template-columns: minmax(0, 1fr) auto; } }

/* Chip lists: ZIP codes, neighborhoods, roads, landmarks */
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.25em; padding: 0; }
.tag { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 6px 14px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fs-sm); font-weight: 500; color: var(--ink); }
.tag .icon { width: 16px; height: 16px; color: var(--tide); }
.tag--zip { font-variant-numeric: tabular-nums; font-weight: 700; background: var(--mist); box-shadow: none; color: var(--tide-ink); }
.tag--dark { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); color: #E6EEF2; }
.chips--light .chip { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.chips--light .chip__icon { background: var(--mist); color: var(--tide); }

/* Guide meta row */
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 18px 0 0; padding: 0; list-style: none; font-size: var(--fs-xs); color: #D6E2E8; }
.meta-row li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.meta-row .icon { width: 15px; height: 15px; color: var(--live); }

/* ---------- 23. Reveal on scroll (content is visible by default; main.js adds .reveal-on) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal-on .reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease-water), transform .9s var(--ease-water); transition-delay: calc(var(--d, 0) * 75ms); }
  .reveal-on .reveal.is-in { opacity: 1; transform: none; }
  .reveal-on .steps.reveal { opacity: 1; transform: none; }
}

/* ---------- 24. Wave divider between sections ---------- */
.wave-divider { position: relative; height: clamp(40px, 5vw, 72px); background: var(--from, var(--shell)); color: var(--to, var(--deep)); overflow: hidden; margin-bottom: -1px; }
.wave-divider svg { position: absolute; bottom: 0; left: 0; width: 200%; max-width: none; height: 100%; }
.wave-divider .waterline__a, .wave-divider .waterline__b { fill: currentColor; }
.wave-divider .waterline__a { opacity: .25; }
.wave-divider .waterline__b { opacity: .45; }
@media (prefers-reduced-motion: no-preference) {
  .wave-divider svg:nth-child(1) { animation: drift 38s linear infinite; }
  .wave-divider svg:nth-child(2) { animation: drift 28s linear infinite reverse; }
  .wave-divider svg:nth-child(3) { animation: drift 50s linear infinite; }
}

/* ---------- 25. First Hour checklist ---------- */
.checklist { position: relative; border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.checklist__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 20px clamp(18px, 3vw, 28px) 16px; border-bottom: 1px solid var(--line); }
.checklist__title { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; }
.checklist__title .icon { color: var(--tide); }
.checklist__count { margin: 0; font-size: var(--fs-sm); color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.checklist__bar { flex-basis: 100%; height: 8px; border-radius: 999px; background: var(--mist); overflow: hidden; }
.checklist__fill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--tide), var(--live)); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-water); }
.checklist__list { list-style: none; margin: 0; padding: clamp(12px, 2vw, 18px); display: grid; gap: 10px; counter-reset: c; }
.checklist__item { position: relative; counter-increment: c; border-radius: var(--radius); background: var(--shell); box-shadow: inset 0 0 0 1px transparent; transition: background-color .4s, box-shadow .4s; }
.checklist__item:has(input:checked) { background: #EEF7F5; box-shadow: inset 0 0 0 1px #BFE2DA; }
.checklist__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checklist__label { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 16px 4px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.checklist__box { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--line-strong); transition: background-color .35s, box-shadow .35s, transform .35s var(--ease-out); }
.checklist__box::before { content: counter(c); font: 800 1rem/1 var(--font-head); color: var(--tide-ink); transition: opacity .2s; }
.checklist__box svg { position: absolute; width: 22px; height: 22px; color: #fff; opacity: 0; transform: scale(.4) rotate(-12deg); transition: opacity .3s, transform .45s var(--ease-out); }
.checklist__input:checked + .checklist__label .checklist__box { background: var(--tide); box-shadow: none; }
.checklist__input:checked + .checklist__label .checklist__box::before { opacity: 0; }
.checklist__input:checked + .checklist__label .checklist__box svg { opacity: 1; transform: none; }
.checklist__input:focus-visible + .checklist__label .checklist__box { outline: 3px solid var(--signal); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .checklist__input:checked + .checklist__label .checklist__box { animation: tickPop .5s var(--ease-out); }
}
@keyframes tickPop { 0% { transform: scale(.8); } 55% { transform: scale(1.12); } 100% { transform: scale(1); } }
.checklist__step { padding-top: 8px; font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; line-height: 1.35; color: var(--ink); }
.checklist__input:checked + .checklist__label .checklist__step { color: var(--tide-ink); }
.checklist__detail { margin: 0; padding: 0 16px 16px 70px; font-size: var(--fs-sm); line-height: 1.6; color: var(--ink-soft); }
.checklist__foot { position: sticky; bottom: calc(var(--callbar-h) + 8px + env(safe-area-inset-bottom)); z-index: 2; display: grid; gap: 10px; padding: 14px clamp(12px, 2vw, 18px) 18px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); background: linear-gradient(rgba(255,255,255,0), #fff 30%); }
@media (min-width: 900px) { .checklist__foot { bottom: 16px; grid-template-columns: 1fr auto; align-items: center; } }
.checklist__reset { justify-self: start; min-height: 44px; padding: 0 6px; border: 0; background: none; color: var(--ink-soft); font-size: var(--fs-sm); text-decoration: underline; text-underline-offset: 3px; }
.checklist__done { margin: 0; padding: 0 clamp(18px, 3vw, 28px); font-weight: 600; color: var(--tide-ink); }

/* ---------- 26. Water category identifier ---------- */
.tool { border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); overflow: hidden; }
.tool__head { display: flex; align-items: center; gap: 14px; padding: 20px clamp(18px, 3vw, 28px); background: var(--deep); color: #fff; position: relative; overflow: hidden; }
.tool__head::after { content: ""; position: absolute; right: -60px; top: -90px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(closest-side, rgba(42,152,163,.5), rgba(42,152,163,0)); }
.tool__head .icon { width: 28px; height: 28px; color: var(--live); position: relative; }
.tool__title { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.125rem; position: relative; }
.tool__sub { margin: 2px 0 0; font-size: var(--fs-xs); color: var(--on-dark-soft); position: relative; }
.tool__body { padding: clamp(18px, 3vw, 28px); display: grid; gap: 22px; }
.q { margin: 0; padding: 0; border: 0; min-width: 0; }
.q__legend { display: flex; gap: 10px; align-items: baseline; padding: 0; margin-bottom: 12px; font-weight: 700; font-family: var(--font-head); font-size: 1.0625rem; }
.q__num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--mist); color: var(--tide-ink); font-size: .8125rem; flex: none; }
.q__options { display: grid; gap: 8px; }
@media (min-width: 700px) { .q__options--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .q__options--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt label { display: flex; flex-direction: column; gap: 2px; height: 100%; min-height: 56px; padding: 12px 14px 12px 44px; border-radius: 14px; background: var(--shell); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; font-weight: 600; font-size: var(--fs-sm); line-height: 1.35; transition: box-shadow .25s, background-color .25s; }
.opt label small { font-weight: 400; color: var(--ink-soft); font-size: var(--fs-xs); }
.opt label::before { content: ""; position: absolute; left: 14px; top: 15px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--line-strong); transition: box-shadow .25s; }
.opt input:checked + label { background: #EEF7F8; box-shadow: inset 0 0 0 2px var(--tide); }
.opt input:checked + label::before { box-shadow: inset 0 0 0 6px var(--tide); }
.opt input:focus-visible + label { outline: 3px solid var(--signal); outline-offset: 2px; }
.opt label:hover { box-shadow: inset 0 0 0 1.5px var(--tide); }
.cat-result { border-radius: var(--radius); padding: 20px; background: var(--shell); box-shadow: inset 0 0 0 1px var(--line); }
.cat-result__empty { margin: 0; color: var(--ink-soft); font-size: var(--fs-sm); }
.cat-badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: 999px; font-weight: 800; font-family: var(--font-head); font-size: .9375rem; }
.cat-badge__dot { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.25); font-size: .8125rem; }
.cat-badge--1 { background: var(--cat1); color: #fff; }
.cat-badge--2 { background: var(--cat2); color: var(--on-signal); }
.cat-badge--3 { background: var(--cat3); color: #fff; }
.cat-panel { animation: fadeRise .6s var(--ease-out); }
.cat-panel__name { margin: 12px 0 6px; font-family: var(--font-head); font-weight: 700; font-size: 1.1875rem; }
.cat-panel ul { margin-bottom: 12px; }
.cat-result:has(.cat-panel--1:not([hidden])) { box-shadow: inset 4px 0 0 var(--cat1), inset 0 0 0 1px var(--line); }
.cat-result:has(.cat-panel--2:not([hidden])) { box-shadow: inset 4px 0 0 var(--cat2), inset 0 0 0 1px var(--line); }
.cat-result:has(.cat-panel--3:not([hidden])) { box-shadow: inset 4px 0 0 var(--cat3), inset 0 0 0 1px var(--line); background: var(--ember-soft); }

/* ---------- 27. Cost estimator ---------- */
.estimator .tool__body { gap: 20px; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.seg .opt label { padding: 10px 10px 12px; align-items: flex-start; font-size: .8125rem; }
@media (min-width: 600px) { .seg .opt label { font-size: var(--fs-sm); padding: 12px 10px 12px 12px; } }
.seg .opt label::before { display: none; }
.seg .opt label .seg__swatch { width: 100%; height: 4px; border-radius: 4px; margin-bottom: 6px; }
.field-inline { display: grid; grid-template-columns: minmax(0, 1fr) 130px; gap: 14px; align-items: center; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--tide) var(--pct, 20%), var(--mist) var(--pct, 20%)); }
.range::-moz-range-track { height: 8px; border-radius: 999px; background: var(--mist); }
.range::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--tide); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 3px var(--tide), var(--shadow); }
.range::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 3px var(--tide), var(--shadow); }
.input-suffix { position: relative; }
.input-suffix .input { padding-right: 52px; font-variant-numeric: tabular-nums; font-weight: 600; }
.input-suffix span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: var(--fs-xs); color: var(--ink-soft); pointer-events: none; }
.estimate { position: relative; overflow: hidden; padding: 22px; border-radius: var(--radius); background: var(--deep); color: #fff; }
.estimate::after { content: ""; position: absolute; right: -60px; bottom: -100px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(42,152,163,.5), rgba(42,152,163,0)); }
.estimate__label { margin: 0 0 4px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #9ED7DC; position: relative; }
.estimate__value { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem); letter-spacing: -.02em; font-variant-numeric: tabular-nums; position: relative; }
.estimate__math { margin: 6px 0 0; font-size: var(--fs-sm); color: var(--on-dark-soft); font-variant-numeric: tabular-nums; position: relative; }
.estimator__notes { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: var(--fs-sm); color: var(--ink-soft); }
.estimator__notes li { display: flex; gap: 10px; }
.estimator__notes .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--tide); }
.estimator--compact .estimator__notes li:nth-child(n+2) { display: none; }

/* ---------- 28. Drying timeline ---------- */
.dry-timeline { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.dry-timeline::before, .dry-timeline::after { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 3px; border-radius: 3px; background: var(--line); }
.dry-timeline::after { background: linear-gradient(var(--tide), var(--live)); transform-origin: top; transform: scaleY(var(--prog, 1)); transition: transform 1.8s var(--ease-water); }
.reveal-on .dry-timeline { --prog: 0; }
.reveal-on .dry-timeline.is-in { --prog: 1; }
.dry-timeline li { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); align-content: start; gap: 14px; padding-bottom: 22px; }
.dry-timeline li:last-child { padding-bottom: 0; }
.dry-timeline__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--paper); color: var(--tide); box-shadow: inset 0 0 0 2px var(--tide); }
.dry-timeline__dot .icon { width: 22px; height: 22px; }
.dry-timeline li:last-child .dry-timeline__dot { background: var(--signal); color: var(--on-signal); box-shadow: none; }
.dry-timeline__day { display: block; margin: 0 0 4px; padding-top: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.0625rem; color: var(--ink); }
.dry-timeline__text { margin: 0; font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.6; }
@media (min-width: 1000px) {
  .dry-timeline { grid-template-columns: repeat(var(--cols, 6), minmax(0, 1fr)); gap: 18px; }
  .dry-timeline::before, .dry-timeline::after { left: 23px; right: 23px; top: 21px; bottom: auto; width: auto; height: 3px; }
  .dry-timeline::after { background: linear-gradient(90deg, var(--tide), var(--live)); transform-origin: left; transform: scaleX(var(--prog, 1)); }
  .dry-timeline li { grid-template-columns: 1fr; gap: 12px; padding-bottom: 0; }
}

/* ---------- 29. Local history strip ---------- */
.history { position: relative; }
.history__track { position: relative; list-style: none; margin: 0; padding: 8px 2px 18px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; }
.history__track::before { content: ""; position: absolute; left: 0; right: 0; top: 52px; height: 1px; background: linear-gradient(90deg, rgba(158,215,220,0), rgba(158,215,220,.5) 10%, rgba(158,215,220,.5) 90%, rgba(158,215,220,0)); }
.history__item { position: relative; scroll-snap-align: start; padding: 20px; border-radius: var(--radius); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.history__icon { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 50%; background: var(--harbor); color: var(--live); box-shadow: 0 0 0 6px var(--deep), inset 0 0 0 1px rgba(255,255,255,.16); }
.history__icon .icon { width: 24px; height: 24px; }
.history__item--storm .history__icon { color: var(--signal); }
.history__item--freeze .history__icon { color: #BFE6F2; }
.history__date { display: block; margin: 0 0 6px; font-family: var(--font-head); font-weight: 800; font-size: 1.125rem; color: #fff; font-variant-numeric: tabular-nums; }
.history__text { margin: 0; font-size: var(--fs-sm); line-height: 1.55; color: var(--on-dark-soft); }
@media (min-width: 1200px) { .history__track { grid-auto-flow: row; grid-template-columns: repeat(var(--cols, 6), minmax(0, 1fr)); overflow: visible; } }

/* ---------- 30. CTA band and forms ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(72px, 9vw, 120px); }
.cta-band--amber { background: var(--signal); color: var(--on-signal); }
.cta-band--amber .lead, .cta-band--amber p:not(.form-card *) { color: #2B2414; }
.cta-band--amber a:not(.btn):not(.form-card *) { color: var(--on-signal); }
.cta-band--deep { background: var(--deep); color: #fff; }
.cta-band--deep p:not(.form-card *) { color: var(--on-dark-soft); }
.cta-band::before { content: ""; position: absolute; z-index: -1; right: -15%; top: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.28), rgba(255,255,255,0)); }
.cta-band--deep::before { background: radial-gradient(closest-side, rgba(42,152,163,.4), rgba(42,152,163,0)); }
.cta-band__grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 960px) { .cta-band__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); } }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.cta-band__nap { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: var(--fs-sm); font-weight: 600; }
.cta-band__nap span { display: inline-flex; align-items: center; gap: 8px; }
.cta-band__nap .icon { width: 18px; height: 18px; }

.form-card { padding: clamp(20px, 3vw, 32px); border-radius: var(--radius-lg); background: var(--paper); color: var(--ink); box-shadow: var(--shadow-lg); }
.form-card__title { margin: 0 0 4px; font-family: var(--font-head); font-weight: 800; font-size: 1.375rem; color: var(--ink); }
.form-card__sub { margin: 0 0 20px; font-size: var(--fs-sm); color: var(--ink-soft) !important; }
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field__label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.field__req { color: var(--ember-ink); margin-left: 2px; }
.field__opt { font-weight: 400; color: var(--ink-soft); font-size: var(--fs-xs); }
.input, .select, .textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 0; border-radius: 12px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line-strong); font-size: 1rem; color: var(--ink); transition: box-shadow .2s; appearance: none; }
.select { padding-right: 44px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B7A86' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; }
.textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.input:hover, .select:hover, .textarea:hover { box-shadow: inset 0 0 0 1.5px #8FA9AF; }
.input:focus, .select:focus, .textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--tide), 0 0 0 4px rgba(27,122,134,.15); }
.field__error { display: none; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 600; color: var(--ember-ink); }
.field__error .icon { width: 16px; height: 16px; }
.field.is-invalid .field__error { display: flex; }
.field.is-invalid .input, .field.is-invalid .select { box-shadow: inset 0 0 0 2px var(--ember); }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio-pill label { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: var(--shell); box-shadow: inset 0 0 0 1.5px var(--line-strong); font-size: var(--fs-sm); font-weight: 600; cursor: pointer; transition: box-shadow .2s, background-color .2s; }
.radio-pill input:checked + label { background: var(--deep); color: #fff; box-shadow: none; }
.radio-pill input:focus-visible + label { outline: 3px solid var(--signal); outline-offset: 2px; }
.form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.form legend { padding: 0; margin-bottom: 8px; }
.notice-urgent { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--signal-soft); box-shadow: inset 0 0 0 1.5px var(--signal); color: #3B2A0A; font-weight: 600; font-size: var(--fs-sm); line-height: 1.5; }
.notice-urgent .icon { width: 22px; height: 22px; color: #8A5A12; margin-top: 1px; }
.notice-urgent a { color: inherit; font-weight: 800; }
@media (prefers-reduced-motion: no-preference) { .notice-urgent:not([hidden]) { animation: noticeIn .55s var(--ease-out); } }
@keyframes noticeIn { 0% { opacity: 0; transform: translateY(-8px) scale(.98); } 60% { opacity: 1; transform: translateY(0) scale(1.01); } 100% { transform: none; } }
.form__consent { margin: 0; font-size: var(--fs-xs); line-height: 1.55; color: var(--ink-soft) !important; }
.form__consent a { color: var(--tide-ink) !important; }
.form__hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 0; font-size: var(--fs-sm); font-weight: 600; color: var(--ember-ink); }
.form .btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.form-success { display: grid; justify-items: start; gap: 10px; padding: 8px 0; }
.form-success__check { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #E3F5F1; color: var(--tide); }
.form-success__check svg { width: 34px; height: 34px; }
.form-success__check path { stroke-dasharray: 24; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .form-success:not([hidden]) .form-success__check { animation: tickPop .6s var(--ease-out); }
  .form-success:not([hidden]) .form-success__check path { animation: draw .7s .15s var(--ease-out) both; }
}
@keyframes draw { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
.form-success__title { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.form-success p { color: var(--ink-soft) !important; margin: 0; }

/* ---------- 31. FAQ accordion (native <details>, smooth height where supported) ---------- */
.faq { max-width: 880px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-of-type { border-top: 1px solid var(--line); }
.faq__summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 2px; list-style: none; cursor: pointer; }
.faq__summary::-webkit-details-marker { display: none; }
.faq__summary h3 { margin: 0; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.4; transition: color .25s; }
.faq__summary:hover h3 { color: var(--tide-ink); }
.faq__toggle { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--mist); transition: background-color .3s, transform .45s var(--ease-out); }
.faq__toggle::before, .faq__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: var(--tide-ink); transition: transform .45s var(--ease-out), background-color .3s; }
.faq__toggle::after { transform: rotate(90deg); }
.faq__item[open] .faq__toggle { background: var(--tide); transform: rotate(180deg); }
.faq__item[open] .faq__toggle::before, .faq__item[open] .faq__toggle::after { background: #fff; }
.faq__item[open] .faq__toggle::after { transform: rotate(0deg); }
.faq__answer { padding: 0 2px 22px; color: var(--ink-soft); max-width: var(--measure); }
.faq__answer > :last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: no-preference) {
  .faq { interpolate-size: allow-keywords; }
  .faq__item::details-content { height: 0; overflow: clip; transition: height .5s var(--ease-water), content-visibility .5s allow-discrete; }
  .faq__item[open]::details-content { height: auto; }
  .faq__item[open] .faq__answer { animation: fadeRise .55s var(--ease-out); }
}

/* ---------- 32. Call-back slide-up panel (<dialog>) ---------- */
.call-panel { width: 100%; max-width: 100%; max-height: 92svh; margin: auto 0 0; padding: 0; border: 0; border-radius: 26px 26px 0 0; background: var(--paper); color: var(--ink); box-shadow: 0 -20px 60px -10px rgba(8,25,42,.5); overflow: auto; overscroll-behavior: contain; }
.call-panel::backdrop { background: rgba(8, 25, 42, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
@media (prefers-reduced-motion: no-preference) {
  .call-panel[open] { animation: sheetUp .5s var(--ease-water); }
  .call-panel[open]::backdrop { animation: fadeIn .4s ease; }
}
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.call-panel__grab { width: 44px; height: 5px; margin: 10px auto 0; border-radius: 5px; background: var(--line-strong); }
.call-panel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 14px 20px 6px; }
.call-panel__title { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: 1.375rem; }
.call-panel__close { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--shell); color: var(--ink); }
.call-panel__body { padding: 6px 20px calc(24px + env(safe-area-inset-bottom)); }
.call-panel__call { margin-bottom: 18px; }
.call-panel__or { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.call-panel__or::before, .call-panel__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
@media (min-width: 900px) {
  .call-panel { width: 480px; margin: auto 28px 28px auto; border-radius: 26px; max-height: calc(100svh - 56px); }
  .call-panel__grab { display: none; }
  .call-panel__head { padding: 26px 28px 6px; }
  .call-panel__body { padding: 6px 28px 28px; }
}

/* ---------- 33. Floating call card (desktop, after the hero scrolls away) ---------- */
.float-call { position: fixed; right: 24px; bottom: 24px; z-index: var(--z-float); display: none; align-items: center; gap: 14px; padding: 12px 12px 12px 18px; border-radius: 20px; background: rgba(13,34,51,.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #fff; box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.1); transform: translateY(150%); opacity: 0; transition: transform .6s var(--ease-water), opacity .4s; }
.float-call.is-visible { transform: none; opacity: 1; }
.float-call__text { display: grid; font-size: var(--fs-xs); color: var(--on-dark-soft); line-height: 1.3; }
.float-call__text strong { font-size: .9375rem; color: #fff; }
.float-call__close { width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: var(--on-dark-soft); display: grid; place-items: center; }
.float-call__close:hover { color: #fff; background: rgba(255,255,255,.08); }
.float-call__close .icon { width: 16px; height: 16px; }
@media (min-width: 900px) { .float-call { display: flex; } }

/* ---------- 34. Reading progress (thin rising water line) ---------- */
.read-progress { display: block; position: fixed; left: 0; right: 0; top: 0; z-index: var(--z-progress); height: 5px; pointer-events: none; }
.read-progress__bar { height: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--tide), var(--live)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 5'%3E%3Cpath d='M0 2Q6 0 12 2T24 2V5H0Z'/%3E%3C/svg%3E") repeat-x 0 0 / 24px 5px; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 5'%3E%3Cpath d='M0 2Q6 0 12 2T24 2V5H0Z'/%3E%3C/svg%3E") repeat-x 0 0 / 24px 5px; }

/* ---------- 35. Rogers County map ---------- */
.county-map { margin: 0; position: relative; }
.county-map__frame { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(160deg, #F1F7F8, #E2EEF0); box-shadow: inset 0 0 0 1px var(--line); }
.county-map svg { width: 100%; height: auto; }
.county-map .cm-county { fill: #FFFFFF; stroke: #B7C8CC; stroke-width: 2; stroke-dasharray: 8 6; }
.county-map .cm-lake { fill: #9FD0D5; }
.county-map .cm-river { fill: none; stroke: #6FB7BF; stroke-width: 5; stroke-linecap: round; }
.county-map .cm-road { fill: none; stroke: var(--signal); stroke-width: 2.5; stroke-dasharray: 2 7; stroke-linecap: round; opacity: .9; }
.county-map .cm-label-water { font: italic 500 14px var(--font-body); fill: #2B7C86; }
.county-map .cm-label-road { font: 700 12px var(--font-body); fill: #8A5A12; letter-spacing: .04em; }
.county-map .cm-county-label { font: 800 13px var(--font-head); letter-spacing: .26em; fill: #9FB4BA; }
.map-town { cursor: pointer; outline: none; }
.map-town .cm-halo { fill: var(--tide); opacity: 0; transform-box: fill-box; transform-origin: center; transition: opacity .3s, transform .45s var(--ease-out); }
.map-town .cm-dot { fill: var(--harbor); stroke: #fff; stroke-width: 3; transition: fill .3s; }
.map-town .cm-name { font: 700 15px var(--font-body); fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; }
.map-town .cm-zip { font: 500 11.5px var(--font-body); fill: var(--ink-soft); paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.map-town:hover .cm-halo, .map-town:focus-visible .cm-halo { opacity: .22; transform: scale(1.25); }
.map-town:hover .cm-dot, .map-town:focus-visible .cm-dot { fill: var(--tide); }
.map-town:focus-visible .cm-name { fill: var(--tide-ink); text-decoration: underline; }
.map-town--hub .cm-dot { fill: var(--deep); }
.map-town--hub .cm-name { font-size: 18px; font-weight: 800; font-family: var(--font-head); }
.county-map[data-current="claremore"] [data-town="claremore"],
.county-map[data-current="catoosa"] [data-town="catoosa"],
.county-map[data-current="verdigris"] [data-town="verdigris"],
.county-map[data-current="oologah"] [data-town="oologah"],
.county-map[data-current="chelsea"] [data-town="chelsea"],
.county-map[data-current="inola"] [data-town="inola"],
.county-map[data-current="foyil"] [data-town="foyil"],
.map-town.is-active { --current: 1; }
.map-town.is-active .cm-dot,
.county-map[data-current="claremore"] [data-town="claremore"] .cm-dot, .county-map[data-current="catoosa"] [data-town="catoosa"] .cm-dot,
.county-map[data-current="verdigris"] [data-town="verdigris"] .cm-dot, .county-map[data-current="oologah"] [data-town="oologah"] .cm-dot,
.county-map[data-current="chelsea"] [data-town="chelsea"] .cm-dot, .county-map[data-current="inola"] [data-town="inola"] .cm-dot,
.county-map[data-current="foyil"] [data-town="foyil"] .cm-dot { fill: var(--signal); }
.map-town.is-active .cm-halo,
.county-map[data-current="claremore"] [data-town="claremore"] .cm-halo, .county-map[data-current="catoosa"] [data-town="catoosa"] .cm-halo,
.county-map[data-current="verdigris"] [data-town="verdigris"] .cm-halo, .county-map[data-current="oologah"] [data-town="oologah"] .cm-halo,
.county-map[data-current="chelsea"] [data-town="chelsea"] .cm-halo, .county-map[data-current="inola"] [data-town="inola"] .cm-halo,
.county-map[data-current="foyil"] [data-town="foyil"] .cm-halo { fill: var(--signal); opacity: .3; }
@media (prefers-reduced-motion: no-preference) {
  .map-town.is-active .cm-halo,
  .county-map[data-current="claremore"] [data-town="claremore"] .cm-halo, .county-map[data-current="catoosa"] [data-town="catoosa"] .cm-halo,
  .county-map[data-current="verdigris"] [data-town="verdigris"] .cm-halo, .county-map[data-current="oologah"] [data-town="oologah"] .cm-halo,
  .county-map[data-current="chelsea"] [data-town="chelsea"] .cm-halo, .county-map[data-current="inola"] [data-town="inola"] .cm-halo,
  .county-map[data-current="foyil"] [data-town="foyil"] .cm-halo { animation: halo 3.2s var(--ease-out) infinite; }
}
@keyframes halo { 0% { transform: scale(.8); opacity: .45; } 70%, 100% { transform: scale(2); opacity: 0; } }
.county-map__legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 12px 4px 0; font-size: var(--fs-xs); color: var(--ink-soft); }
.county-map__legend span { display: inline-flex; align-items: center; gap: 8px; }
.county-map__legend i { display: inline-block; width: 18px; height: 4px; border-radius: 2px; }
.county-map--mini .cm-county-label, .county-map--mini .cm-label-road, .county-map--mini .cm-zip { display: none; }
.county-map--mini .county-map__frame { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.county-map--mini .cm-county { fill: rgba(255,255,255,.04); stroke: rgba(255,255,255,.3); }
.county-map--mini .cm-lake { fill: rgba(95,211,195,.35); }
.county-map--mini .cm-river { stroke: rgba(95,211,195,.6); }
.county-map--mini .cm-name { fill: #fff; stroke: var(--deep); }
.county-map--mini .cm-label-water { fill: #9ED7DC; }
.county-map--mini .map-town .cm-dot { stroke: var(--deep); fill: #9ED7DC; }

/* Click-to-load Google Map facade (iframe never loads on page load) */
.map-facade { position: relative; display: grid; place-items: center; overflow: hidden; width: 100%; aspect-ratio: 16 / 9; min-height: 260px; border-radius: var(--radius-lg); background: radial-gradient(ellipse at 30% 30%, rgba(42,152,163,.5), transparent 60%), repeating-linear-gradient(35deg, rgba(255,255,255,.04) 0 2px, transparent 2px 26px), repeating-linear-gradient(-55deg, rgba(255,255,255,.04) 0 2px, transparent 2px 34px), var(--harbor); color: #fff; text-align: center; }
.map-facade__inner { display: grid; justify-items: center; gap: 10px; padding: 24px; }
.map-facade__pin { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--signal); color: var(--on-signal); box-shadow: 0 0 0 10px rgba(233,162,59,.2); }
.map-facade__note { margin: 0; font-size: var(--fs-xs); color: var(--on-dark-soft); }
.map-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- 36. Insurance: vertical timeline, compare, split graphic ---------- */
.vtimeline { list-style: none; margin: 0 0 1.5em; padding: 0; position: relative; counter-reset: v; }
.vtimeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--tide), var(--line)); }
.vtimeline > li { position: relative; counter-increment: v; padding: 0 0 26px 60px; }
.vtimeline > li::before { content: counter(v); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--deep); color: #fff; font: 800 1rem/1 var(--font-head); box-shadow: 0 0 0 6px var(--shell); }
.section--paper .vtimeline > li::before { box-shadow: 0 0 0 6px var(--paper); }
.vtimeline > li:last-child { padding-bottom: 0; }
.vtimeline > li > :first-child { padding-top: 7px; }
.compare { display: grid; gap: 16px; margin: 0 0 1.5em; }
@media (min-width: 760px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare__col { padding: 24px; border-radius: var(--radius-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.compare__head { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-family: var(--font-head); font-weight: 800; font-size: 1.125rem; }
.compare__badge { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; }
.compare__col--yes .compare__badge { background: #E3F5F1; color: var(--tide); }
.compare__col--no .compare__badge { background: var(--ember-soft); color: var(--ember); }
.compare__col--yes { box-shadow: inset 0 3px 0 var(--tide), inset 0 0 0 1px var(--line); }
.compare__col--no { box-shadow: inset 0 3px 0 var(--ember), inset 0 0 0 1px var(--line); }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.compare li { display: flex; gap: 10px; font-size: var(--fs-sm); line-height: 1.5; }
.compare li .icon { width: 18px; height: 18px; margin-top: 3px; }
.compare__col--yes li .icon { color: var(--tide); }
.compare__col--no li .icon { color: var(--ember); }
.shield-graphic { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 420px; margin-inline: auto; }
.shield-graphic::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(42,152,163,.28), rgba(42,152,163,0)); }
.shield-graphic svg { position: relative; width: 70%; }

/* ---------- 37. About: how it works ---------- */
.howit { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: h; position: relative; }
.howit > li { position: relative; counter-increment: h; padding: 26px 24px; border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.howit__num { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 50%; background: var(--signal); color: var(--on-signal); font: 800 1.125rem/1 var(--font-head); }
.howit__title { margin: 0 0 6px; font-family: var(--font-head); font-weight: 800; font-size: 1.1875rem; }
.howit__text { margin: 0; font-size: var(--fs-sm); color: var(--ink-soft); }
@media (min-width: 900px) {
  .howit { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .howit::before { content: ""; position: absolute; left: 12%; right: 12%; top: 50px; height: 2px; background: repeating-linear-gradient(90deg, var(--tide) 0 8px, transparent 8px 16px); transform-origin: left; transform: scaleX(var(--prog, 1)); transition: transform 1.6s var(--ease-water); }
  .reveal-on .howit { --prog: 0; }
  .reveal-on .howit.is-in { --prog: 1; }
  .howit > li { background: var(--paper); }
}

/* Renter slots (hidden until real reviews, photos, licenses exist) */
.renter-slot { padding: 24px; border-radius: var(--radius-lg); background: var(--mist); border: 1.5px dashed var(--line-strong); }

/* ---------- 38. Neighbors strip and guides groups ---------- */
.neighbors { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.neighbors a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 18px 10px 12px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); transition: box-shadow .25s, transform .35s var(--ease-out); }
.neighbors a:hover { box-shadow: inset 0 0 0 1.5px var(--tide); transform: translateY(-2px); }
.neighbors .icon { width: 20px; height: 20px; color: var(--tide); }
.guide-group { padding-block: clamp(28px, 4vw, 44px); }
.guide-group--urgent { position: relative; padding: clamp(22px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--signal-soft); box-shadow: inset 0 0 0 1.5px #F0CF92; }
.guide-group--urgent .card__icon { background: var(--signal); color: var(--on-signal); }
.urgent-badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 5px 12px; border-radius: 999px; background: var(--deep); color: #fff; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; }

/* ---------- 39. Footer ---------- */
.site-footer { position: relative; background: var(--deep); color: var(--on-dark-soft); font-size: var(--fs-sm); padding-top: clamp(64px, 8vw, 96px); }
.site-footer .waterline { top: auto; bottom: calc(100% - 1px); color: var(--deep); height: clamp(40px, 5vw, 64px); }
.site-footer .waterline__a, .site-footer .waterline__b { fill: var(--deep); }
.site-footer .waterline__a { opacity: .12; }
.site-footer .waterline__b { opacity: .28; }
.site-footer__top { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 760px) { .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .site-footer__top { grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 40px; } }
.site-footer .brand { margin-bottom: 18px; }
.footer__title { margin: 0 0 14px; font-size: .6875rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #9ED7DC; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer__list a { display: inline-block; padding: 7px 0; color: #E3EBEF; text-decoration: none; }
.footer__list a:hover { color: var(--signal); text-decoration: underline; }
.nap { font-style: normal; display: grid; gap: 8px; }
.nap__name { color: #fff; font-weight: 700; font-family: var(--font-head); font-size: 1rem; }
.nap a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; min-height: 32px; }
.nap a:hover { color: var(--signal); }
.nap .icon { width: 18px; height: 18px; color: var(--live); }
.nap__line { display: inline-flex; align-items: center; gap: 10px; }
.nap__phone { font-family: var(--font-head); font-size: 1.25rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.disclosure { margin: 20px 0 0; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); font-size: var(--fs-xs); line-height: 1.6; color: var(--on-dark-soft); }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: var(--fs-xs); }
.site-footer__bottom a { color: #E3EBEF; }
.site-footer__bottom p { margin: 0; }

/* ---------- 40. 404 ---------- */
.leak { display: grid; justify-items: center; text-align: center; }
.leak__drop { width: 84px; height: 84px; color: var(--live); }
@media (prefers-reduced-motion: no-preference) { .leak__drop { animation: drip 2.8s var(--ease-water) infinite; } }
@keyframes drip { 0% { transform: translateY(-14px) scale(.9); opacity: 0; } 30% { opacity: 1; } 70% { transform: translateY(18px) scale(1); opacity: 1; } 100% { transform: translateY(28px) scale(.6); opacity: 0; } }

/* ---------- 41. Page accents (same system, different mood) ---------- */
.theme-fire .eyebrow, .theme-fire .answer-card__label { color: var(--ember-ink); }
.theme-fire .eyebrow::before { filter: hue-rotate(160deg) saturate(2); }
.theme-fire .steps > li::before { box-shadow: inset 0 0 0 2px var(--ember); color: var(--ember-ink); }
.theme-fire .card__icon { background: var(--ember-soft); color: var(--ember); }
.theme-fire .answer-card { box-shadow: var(--shadow), inset 0 0 0 1px #F2C9BB; background: linear-gradient(140deg, #fff, #FCF3EF); }
.theme-fire .toc__list a.is-active { color: var(--ember-ink); }
.theme-fire .toc__list a::before { background: var(--ember); }

/* ---------- 42. View transitions (cross-document, light cross-fade) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: .22s ease both vtOut; }
  ::view-transition-new(root) { animation: .32s ease both vtIn; }
}
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; } }


/* ==========================================================================
   BATCH 1 ADDITIONS (homepage)
   ========================================================================== */
.split--top { align-items: start; }
.split > *, .cost-grid > *, .cta-band__grid > * { min-width: 0; }
@media (min-width: 900px) { .sticky-col { position: sticky; top: calc(var(--header-h) + 28px); } }
.figure { margin: 0 0 20px; }
.figure img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.prose .steps { margin-top: 28px; }

/* Services: 2 large + 3 small */
.svc-grid { display: grid; gap: clamp(16px, 2vw, 24px); }
@media (min-width: 700px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .svc-grid > :nth-child(5) { grid-column: 1 / -1; } }
@media (min-width: 1000px) {
  .svc-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .svc-grid > * { grid-column: span 2; }
  .svc-grid > :nth-child(1), .svc-grid > :nth-child(2) { grid-column: span 3; }
  .svc-grid > :nth-child(5) { grid-column: span 2; }
}
.svc-card .card__text { font-size: var(--fs-sm); }
.svc-card .card__text a { font-weight: 600; }
.card:not(.card--link):hover { box-shadow: var(--shadow), inset 0 0 0 1px #C6DCDF; }

/* Statement section */
.statement { overflow: hidden; }
.statement__blob { position: absolute; right: -20vmax; top: -10vmax; width: 60vmax; height: 60vmax; border-radius: 50%; background: radial-gradient(closest-side, rgba(42,152,163,.32), rgba(42,152,163,0)); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .statement__blob { animation: breathe 22s ease-in-out infinite alternate; } }
.statement .container { position: relative; }
.risk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.risk-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09); }
.risk-list p { margin: 0; font-size: var(--fs-sm); line-height: 1.6; }
.risk-list__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(63,209,181,.12); color: var(--live); }
.risk-list__icon .icon { width: 24px; height: 24px; }
.history__label { margin-top: clamp(48px, 6vw, 72px); }

/* Cost: table + compact estimator */
.cost-grid { display: grid; gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (min-width: 1000px) { .cost-grid { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); } .cost-grid > .tool { position: sticky; top: calc(var(--header-h) + 28px); } }
.cost-grid .prose { margin-top: 8px; }

/* Check list (insurance) */
.checks { list-style: none; margin: 0 0 1.25em; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 16px; border-radius: 14px; background: var(--shell); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fs-sm); line-height: 1.5; }
.checks .icon { width: 22px; height: 22px; margin-top: 1px; color: var(--tide); }
.insurance-visual { display: grid; gap: 28px; justify-items: center; }
.insurance-visual > img { width: 100%; border-radius: var(--radius-lg); }

/* Fire and mold pair */
@media (min-width: 1000px) { .feature-pair { grid-template-columns: 1fr 1fr; } }
.feature-pair .card__text { font-size: var(--fs-sm); }
@media (min-width: 700px) {
  .card--horizontal .card__media + .card__body .card__icon { margin-top: 0; box-shadow: none; background: var(--mist); }
  .card--horizontal.card--ember .card__media + .card__body .card__icon { background: var(--ember-soft); }
}

/* Areas */
.town-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.card__text--lead { font-size: var(--fs-sm) !important; color: var(--ink) !important; font-weight: 600; margin: 0 !important; }
.card--link .card__text--lead a::after { content: ; position: absolute; inset: 0; border-radius: inherit; }
.county-map { max-width: 560px; justify-self: center; width: 100%; }

/* CTA band secondary button on amber */
.cta-band--amber .btn--outline { --btn-fg: var(--on-signal); --btn-fill: rgba(255,255,255,.28); box-shadow: inset 0 0 0 1.5px rgba(26,26,26,.5); }
.page-note { max-width: var(--measure); margin: 40px 0 0; font-size: var(--fs-sm); color: var(--ink-soft); }


/* ==========================================================================
   BATCH 2 ADDITIONS (core service pages)
   ========================================================================== */
.layout__main .figure { margin: 24px 0; }
.layout__main .tool { margin-top: 28px; }
.layout__main .checklist { margin-top: 8px; }
.cta-band__title { margin: 0 0 .45em; font-family: var(--font-head); font-weight: 800; font-size: var(--fs-h2); line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }

/* Two side-by-side panels with H3s (crawlspace vs slab) */
.duo { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 760px) { .duo { grid-template-columns: 1fr 1fr; } }
.panel { padding: clamp(20px, 2.6vw, 28px); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.panel h3 { margin-top: 0; }
.panel > :last-child { margin-bottom: 0; }
.panel p, .panel ul:not([class]) > li { font-size: var(--fs-sm); }
.panel__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 14px; background: var(--mist); color: var(--tide); }
.panel__icon .icon { width: 24px; height: 24px; }

/* Local history strip on a light background (flood page) */
.history--light { margin: 8px 0 24px; }
.history--light .history__track { grid-auto-flow: row; grid-template-columns: 1fr; overflow: visible; padding: 0; gap: 12px; }
.history--light .history__track::before { display: none; }
@media (min-width: 700px) { .history--light .history__track { grid-template-columns: 1fr 1fr; } }
.history--light .history__item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; background: var(--paper); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.history--light .history__icon { width: 44px; height: 44px; margin: 0; background: var(--mist); color: var(--tide); box-shadow: none; }
.history--light .history__text { color: var(--ink-soft); }
.history--light .history__date { color: var(--ink); font-size: 1.0625rem; }

/* Mistakes list (x icons) */
.mistakes { list-style: none; margin: 0 0 1.25em; padding: 0; display: grid; gap: 10px; }
.mistakes li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 18px; border-radius: 14px; background: var(--paper); box-shadow: inset 3px 0 0 var(--ember), inset 0 0 0 1px var(--line); font-size: var(--fs-sm); line-height: 1.55; }
.mistakes .icon { flex: none; width: 22px; height: 22px; margin-top: 1px; padding: 3px; border-radius: 50%; background: var(--ember-soft); color: var(--ember); }


/* ==========================================================================
   BATCH 3 ADDITIONS (fire, sewage)
   ========================================================================== */
.statement-line { margin: 0 0 1em; padding-left: 18px; border-left: 3px solid var(--tide); font-family: var(--font-head); font-weight: 700; font-size: clamp(1.25rem, 1.1rem + .7vw, 1.625rem); line-height: 1.35; color: var(--ink); }
.theme-fire .statement-line { border-color: var(--ember); }

.theme-fire .hero .chip__icon { background: rgba(194,80,47,.2); color: #F2A68D; }
.theme-fire .checks .icon, .theme-fire .risk-list__icon { color: var(--ember); }
.theme-fire .risk-list--light .risk-list__icon { background: var(--ember-soft); }
.theme-fire .panel__icon { background: var(--ember-soft); color: var(--ember); }
.cta-band--ember::before { background: radial-gradient(closest-side, rgba(194,80,47,.45), rgba(194,80,47,0)); }

/* Two panels as a list (no headings inside) */
.duo--list { list-style: none; padding: 0; margin: 20px 0 1.25em; }
.duo--list .panel p { margin: 0; }

/* Risk cards on a light background */
.risk-list--light { margin-bottom: 1.25em; }
.risk-list--light li { background: var(--paper); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.risk-list--light p { color: var(--ink-soft); }
.risk-list--light strong { color: var(--ink); }
.risk-list--light .risk-list__icon { background: var(--mist); color: var(--tide); }

/* Saved / thrown out / specialty */
.sort-list { list-style: none; margin: 0 0 1.25em; padding: 0; display: grid; gap: 12px; }
@media (min-width: 900px) { .sort-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sort-list__item { padding: 20px; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.sort-list__item p { margin: 0; font-size: var(--fs-sm); color: var(--ink-soft); }
.sort-list__item strong { display: block; margin-bottom: 4px; color: var(--ink); font-family: var(--font-head); font-size: 1rem; }
.sort-list__icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 12px; border-radius: 50%; }
.sort-list__icon .icon { width: 22px; height: 22px; }
.sort-list__item--keep { box-shadow: inset 0 3px 0 var(--tide), inset 0 0 0 1px var(--line); }
.sort-list__item--keep .sort-list__icon { background: #E3F5F1; color: var(--tide); }
.sort-list__item--toss { box-shadow: inset 0 3px 0 var(--ember), inset 0 0 0 1px var(--line); }
.sort-list__item--toss .sort-list__icon { background: var(--ember-soft); color: var(--ember); }
.sort-list__item--special { box-shadow: inset 0 3px 0 var(--signal), inset 0 0 0 1px var(--line); }
.sort-list__item--special .sort-list__icon { background: var(--signal-soft); color: #8A5A12; }


/* ==========================================================================
   BATCH 4 ADDITIONS (storm, mold)
   ========================================================================== */
/* Grid of panels, each with one of the page's H3s */
.h3-grid { display: grid; gap: 14px; margin: 8px 0 1.25em; }
@media (min-width: 760px) { .h3-grid { grid-template-columns: 1fr 1fr; } .h3-grid--lead > :first-child { grid-column: 1 / -1; } }
.h3-grid .panel h3 { font-size: 1.125rem; margin-bottom: .5em; }

/* Storm record card (May 2024 tornado) */
.storm-record { margin: 0 0 1.25em; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(160deg, #24313D, var(--deep)); box-shadow: var(--shadow); }
.storm-record__media { margin: 0; }
.storm-record__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.storm-record > p { margin: 0; padding: clamp(18px, 3vw, 28px); color: #DCE5EB; font-size: var(--fs-sm); line-height: 1.7; }

/* Amber variant of the icon list (claim pitfalls, warning signs) */
.mistakes--amber li { box-shadow: inset 3px 0 0 var(--signal), inset 0 0 0 1px var(--line); }
.mistakes--amber .icon { background: var(--signal-soft); color: #8A5A12; }

/* History strip inside a tight band */
.section--tight .history__label { margin-top: 0; }
.prose .compare ul > li { padding-left: 0; margin-bottom: 0; }
.prose .compare ul > li::before { display: none; }

/* Storm mood accents */
.theme-storm .eyebrow:not(.section--deep *) { color: #3E5568; }
.theme-storm .toc__list a.is-active { color: #2E475B; }
.theme-storm .toc__list a::before { background: #4F6A80; }


/* ==========================================================================
   BATCH 5 ADDITIONS (town pages)
   ========================================================================== */
/* Neighbors section: map + click-to-load Google map */
.town-map { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 760px) { .town-map { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; } .town-map .map-facade { aspect-ratio: auto; height: 100%; } }
.town-map .county-map { max-width: none; }


/* ==========================================================================
   BATCH 6 ADDITIONS (service area, insurance hub)
   ========================================================================== */
/* Service area: large interactive map + town cards */
.area-band__grid { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; }
@media (min-width: 900px) { .area-band__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.county-map--large { max-width: 520px; justify-self: center; width: 100%; }
.town-list--grid { margin-top: 0; }
@media (min-width: 600px) { .town-list--grid { grid-template-columns: 1fr 1fr; } }
.town-list--grid .card__text { font-variant-numeric: tabular-nums; }
/* A tapped map pin or town card jumps to its section: give the heading a soft highlight */
.layout__main > section:target h2 { color: var(--tide-ink); }
@media (prefers-reduced-motion: no-preference) {
  .layout__main > section:target { animation: targetGlow 2.4s var(--ease-out); }
}
@keyframes targetGlow { 0% { box-shadow: 0 0 0 0 rgba(233,162,59,0); } 15% { box-shadow: -14px 0 0 -10px var(--signal); } 100% { box-shadow: -14px 0 0 -10px rgba(233,162,59,0); } }

/* Link cards (guides and services lists that keep their exact anchor text) */
.link-cards { list-style: none; margin: 8px 0 1.25em; padding: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .link-cards { grid-template-columns: 1fr 1fr; } }
.link-card .card__body { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 4px 14px; padding: 16px 18px; }
.link-card .card__icon { width: 44px; height: 44px; margin: 0; }
.link-card .card__title { flex: 1 1 140px; margin: 0; font-size: 1rem; }
.link-card .card-meta { order: 3; flex-basis: 100%; margin: 0 0 0 58px; }
.link-card .card__more { margin: 0; padding: 0; }

/* Coverage status pills (text label, never color alone) */
.status { display: inline-flex; align-items: center; min-height: 26px; padding: 3px 10px; border-radius: 14px; font-size: .8125rem; font-weight: 700; line-height: 1.35; }
.status::before { flex: none; }
.status::before { content: ""; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: currentColor; }
.status--yes { background: #E3F5F1; color: #0F5E57; }
.status--no { background: var(--ember-soft); color: var(--ember-ink); }
.status--maybe { background: var(--signal-soft); color: #7A4F0E; }

/* Stacked rule panels (the three lines that decide claims) */
.h3-grid--stack { grid-template-columns: 1fr !important; }
.h3-grid--stack .panel { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 18px; box-shadow: var(--shadow-sm), inset 4px 0 0 var(--harbor), inset 0 0 0 1px var(--line); }
.h3-grid--stack .panel__icon { grid-row: span 3; margin: 0; }
.h3-grid--stack .panel > :not(.panel__icon) { grid-column: 2; }


/* ==========================================================================
   BATCH 7 ADDITIONS (cost page, guides index)
   ========================================================================== */
/* Cost: full estimator sits right under the answer card */
.layout__main > .estimator { margin: 0 0 clamp(32px, 4vw, 48px); }
.page-cost .table-wrap { box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.page-cost table.data caption { font-size: 1.0625rem; }

/* Numbered factor cards (what makes a job cost more or less) */
.factor-cards { list-style: none; margin: 8px 0 1.25em; padding: 0; display: grid; gap: 12px; counter-reset: f; }
@media (min-width: 700px) { .factor-cards { grid-template-columns: 1fr 1fr; } }
.factor-card { counter-increment: f; }
.factor-card .card__body { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; padding: 18px 20px; }
.factor-card .card__icon { position: relative; width: 44px; height: 44px; margin: 0; }
.factor-card .card__icon::after { content: counter(f); position: absolute; right: -6px; top: -6px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--deep); color: #fff; font: 800 .6875rem/1 var(--font-head); }
.factor-card p { margin: 0; font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.6; }
.factor-card strong { color: var(--ink); }

/* Guides index: editorial groups */
.guides-index { padding-block: clamp(40px, 6vw, 72px); display: grid; gap: clamp(36px, 5vw, 56px); }
.guide-group { padding: 0; scroll-margin-top: calc(var(--header-h) + 16px); }
.guide-group--urgent { padding: clamp(22px, 3vw, 36px); }
.guide-group__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.guide-group__head h2 { margin: 0; }
.guide-group__icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 16px; background: var(--mist); color: var(--tide); }
.guide-group__icon .icon { width: 26px; height: 26px; }
.guide-group--urgent .guide-group__icon { background: var(--signal); color: var(--on-signal); }
.guide-group__intro { max-width: var(--measure); color: var(--ink-soft); }
.guide-group__intro a { font-weight: 600; }
.guide-grid { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.guide-grid .card__text { margin-bottom: 0; }
.guide-grid .card__text::first-letter { text-transform: uppercase; }
.guide-grid--services { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.guide-grid--services .card__kicker { display: none; }
.guide-group--urgent .card { box-shadow: var(--shadow-sm), inset 0 0 0 1px #F0CF92; }
.guide-group > p:last-child em { color: var(--ink-soft); font-size: var(--fs-sm); }


/* ==========================================================================
   BATCH 8 ADDITIONS (guide articles)
   ========================================================================== */
.hero__eyebrow .icon { width: 16px; height: 16px; color: var(--live); }
.container--article { max-width: 940px; }
.page-guide .layout__main > .related-service { margin-top: clamp(32px, 4vw, 48px); }
.page-guide .layout__main > p { max-width: var(--measure); }

/* First-hour guide: sticky progress bar + a tick on each time block */
.checklist-progress { position: sticky; top: calc(var(--header-h) + 10px); z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 24px; padding: 12px 14px; border-radius: var(--radius); background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.checklist-progress__title { display: flex; align-items: center; gap: 8px; margin: 0; font-family: var(--font-head); font-weight: 700; font-size: .9375rem; }
.checklist-progress__title .icon { color: var(--tide); }
.checklist-progress .checklist__count { margin: 0; font-size: var(--fs-xs); color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.checklist-progress .checklist__bar { order: 5; flex-basis: 100%; height: 6px; }
.checklist-progress .btn { margin-left: auto; }
.checklist-progress .checklist__reset { font-size: var(--fs-xs); min-height: 36px; }
@media (max-width: 899px) { .checklist-progress { top: calc(var(--header-h) + 6px); } .checklist-progress .btn { display: none; } }
.step-check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin: -4px 0 14px; padding: 4px 14px 4px 6px; border-radius: 999px; background: var(--mist); font-size: var(--fs-sm); font-weight: 600; color: var(--tide-ink); cursor: pointer; transition: background-color .3s; }
.step-check__box { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--line-strong); transition: background-color .3s, box-shadow .3s, transform .35s var(--ease-out); }
.step-check__box svg { width: 18px; height: 18px; color: #fff; opacity: 0; transform: scale(.4); transition: opacity .25s, transform .4s var(--ease-out); }
.step-check:has(input:checked) { background: #E3F5F1; }
.step-check input:checked + .step-check__box { background: var(--tide); box-shadow: none; }
.step-check input:checked + .step-check__box svg { opacity: 1; transform: none; }
.step-check input:focus-visible + .step-check__box { outline: 3px solid var(--signal); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) { .step-check input:checked + .step-check__box { animation: tickPop .5s var(--ease-out); } }


/* ==========================================================================
   BATCH 9 ADDITIONS (guides 19 to 22)
   ========================================================================== */
/* Category panels: color bar plus the text label in the heading (never color alone) */
.panel--cat1 { box-shadow: var(--shadow-sm), inset 4px 0 0 var(--cat1), inset 0 0 0 1px var(--line) !important; }
.panel--cat2 { box-shadow: var(--shadow-sm), inset 4px 0 0 var(--cat2), inset 0 0 0 1px var(--line) !important; }
.panel--cat3 { box-shadow: var(--shadow-sm), inset 4px 0 0 var(--cat3), inset 0 0 0 1px var(--line) !important; background: #FFFBF9; }
.panel--cat1 .panel__icon { background: #E3F2F3; color: var(--cat1); }
.panel--cat2 .panel__icon { background: var(--signal-soft); color: #8A5A12; }
.panel--cat3 .panel__icon { background: var(--ember-soft); color: var(--ember); }
/* Answer card that holds a whole section ("The short version") */
.answer-card ul:not([class]) { margin-bottom: .8em; }
.answer-card > p:last-child { margin-bottom: 0; }
/* Drying timeline inside the narrow article column stays vertical */
.dry-timeline--article { margin: 8px 0 1.25em; }
@media (min-width: 1000px) {
  .dry-timeline--article { grid-template-columns: 1fr; gap: 0; }
  .dry-timeline--article::before, .dry-timeline--article::after { left: 21px; right: auto; top: 22px; bottom: 22px; width: 3px; height: auto; }
  .dry-timeline--article::after { transform-origin: top; transform: scaleY(var(--prog, 1)); background: linear-gradient(var(--tide), var(--live)); }
  .dry-timeline--article li { grid-template-columns: 46px minmax(0, 1fr); gap: 14px; padding-bottom: 22px; }
}
.dry-timeline--article .dry-timeline__text { font-size: var(--fs-sm); }
.layout__main .figure img[src$=".svg"] { box-shadow: none; }

/* ==========================================================================
   BATCH 10 ADDITIONS (guides 23 to 26)
   ========================================================================== */
/* Nested list under a numbered step (water type options) */
.steps__sub { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.steps__sub li { position: relative; padding: 10px 14px 10px 34px; border-radius: 12px; background: var(--shell); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fs-sm); line-height: 1.55; }
.steps__sub li::before { content: ""; position: absolute; left: 14px; top: 1.05em; width: 9px; height: 9px; border-radius: 50%; background: var(--tide); }
.steps__sub li:nth-child(2)::before { background: var(--signal); }
.steps__sub li:nth-child(3)::before { background: var(--ember); }
/* Tables and figures inside material panels */
.panel .table-wrap { margin: 14px 0 12px; }
.panel .table-hint { margin-top: -4px; }
.panel .figure { margin: 18px 0 0; }
.panel > p:last-child, .panel > ul:last-child { margin-bottom: 0; }
.h3-grid--stack .panel > .table-wrap, .h3-grid--stack .panel > .table-hint, .h3-grid--stack .panel > .figure { grid-column: 1 / -1; }
@media (min-width: 700px) {
  .panel table.data { min-width: 0; }
  .panel .table-hint { display: none; }
}
/* Callout with no label (safety notes kept verbatim) */
.callout--warn .callout__body > p:only-child { margin: 0; }

/* ==========================================================================
   BATCH 12 ADDITIONS (About, Contact, Privacy, 404)
   ========================================================================== */
/* Photo-free hero: same deep water, a soft tide glow instead of a stock photo */
.hero--plain { background: radial-gradient(110% 120% at 88% 0%, #1D5068 0%, rgba(29,80,104,0) 55%), var(--deep); }
.trust-body { padding-block: clamp(32px, 5vw, 56px) clamp(56px, 8vw, 96px); }
.trust-body > section { margin-top: clamp(40px, 5vw, 60px); }
.trust-body > .lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink); }
/* About: four-step "How it works" (2 x 2 on wide screens) */
.howit__text { color: var(--ink-soft); }
.howit__text strong { display: block; margin-bottom: 4px; font-family: var(--font-head); font-size: 1.0625rem; color: var(--ink); }
@media (min-width: 640px) { .howit--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .howit--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } .howit--4::before { display: none; } }
.answer-card--note { margin: 24px 0 0; }
.answer-card--note p { margin: 0; font-weight: 500; color: var(--ink); }
/* Contact */
.contact-grid { display: grid; gap: clamp(32px, 4vw, 44px); padding-block: clamp(32px, 5vw, 56px) clamp(56px, 8vw, 96px); }
.contact-grid > section { min-width: 0; }
@media (min-width: 980px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-areas: "em form" "wait form" "details details"; column-gap: 52px; align-items: start; }
  .contact-emergency { grid-area: em; }
  .contact-form { grid-area: form; }
  .contact-wait { grid-area: wait; }
  .contact-details { grid-area: details; }
}
.contact-emergency { position: relative; isolation: isolate; overflow: hidden; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--deep); color: var(--on-dark-soft); box-shadow: var(--shadow-lg); }
.contact-emergency h2 { color: #fff; font-size: clamp(1.625rem, 1.3rem + 1.3vw, 2.25rem); }
.contact-emergency .hero__blobs span { opacity: .45; }
.btn--giant { display: flex; width: 100%; min-height: 84px; margin-top: 10px; padding: 18px 24px; gap: 14px; font: 800 clamp(1.25rem, 1rem + 1.3vw, 1.75rem)/1.15 var(--font-head); white-space: normal; text-align: center; font-variant-numeric: tabular-nums; }
.btn--giant .icon { width: 1.25em; height: 1.25em; }
.btn--giant [data-nap="phone"] { white-space: nowrap; }
.form-card--contact { margin-top: 18px; box-shadow: var(--shadow); }
.contact-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.contact-list li { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.contact-list__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--mist); color: var(--tide); flex: none; }
.contact-list__label { font-weight: 600; color: var(--ink); }
.contact-list a { font-weight: 600; overflow-wrap: anywhere; }
.contact-details__grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .contact-details__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; } }
.town-map--contact { margin-top: 0; }
.map-facade .btn { max-width: 100%; white-space: normal; text-align: center; }
.map-facade__inner { padding-inline: 16px; }
/* Privacy */
.legal__updated { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--mist); font-size: var(--fs-sm); color: var(--ink); }
.legal__updated .icon { color: var(--tide); }
.legal-nap { font-style: normal; display: grid; gap: 6px; padding: 18px 20px; border-radius: var(--radius); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.legal-nap > span:first-child { font-family: var(--font-head); font-weight: 700; }
/* 404 */
.hero--404 .hero__inner { justify-items: center; }
.hero--404 .hero__content { margin-inline: auto; }
.hero--404 .hero__actions { justify-content: center; }
.hero--404 .hero__lead { margin-inline: auto; }
.hero--404 .hero__lead a { color: #fff; font-weight: 600; }
.leak__drop { margin-bottom: 12px; }

/* ---------- 43. Styleguide only ---------- */
.sg-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.sg-swatch { border-radius: var(--radius); overflow: hidden; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--fs-xs); }
.sg-swatch__chip { height: 84px; display: flex; align-items: flex-end; padding: 10px; font-weight: 700; font-size: .875rem; }
.sg-swatch__meta { padding: 10px 12px; display: grid; gap: 2px; color: var(--ink-soft); }
.sg-swatch__meta strong { color: var(--ink); font-size: .8125rem; }
.sg-block { padding: clamp(20px, 3vw, 32px); border-radius: var(--radius-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.sg-label { margin: 0 0 14px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .75rem; color: var(--ink-soft); }
.sg-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sg-dark { padding: 24px; border-radius: var(--radius-lg); background: var(--deep); }
.sg-type > * { margin-bottom: 14px; }
.sg-icons { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.sg-icons div { display: grid; justify-items: center; gap: 8px; padding: 16px 8px; border-radius: 14px; background: var(--shell); font-size: .6875rem; color: var(--ink-soft); font-family: ui-monospace, Menlo, Consolas, monospace; }
.sg-icons .icon { width: 28px; height: 28px; color: var(--tide); }
.sg-nav { position: sticky; top: var(--header-h); z-index: 10; background: rgba(246,248,247,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.sg-nav ul { display: flex; gap: 4px; overflow-x: auto; list-style: none; margin: 0; padding: 8px 0; scrollbar-width: none; }
.sg-nav a { display: block; padding: 8px 12px; border-radius: 999px; white-space: nowrap; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-soft); text-decoration: none; }
.sg-nav a:hover { background: var(--mist); color: var(--ink); }
.sg-header-demo { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--deep); }
.sg-header-demo .site-header { position: relative; }
.sg-panel-demo { position: relative; max-width: 480px; border-radius: 26px; box-shadow: var(--shadow-lg); background: var(--paper); overflow: hidden; }

/* ---------- 44. Print ---------- */
@media print {
  .emergency-banner, .site-header, .callbar, .float-call, .call-panel, .mobile-menu, .waterline, .wave-divider, .hero__media, .hero__blobs, .toc, .cta-band form { display: none !important; }
  .hero { background: none; color: #000; padding: 0; margin: 0; }
  .hero__lead, .hero .chip { color: #000; }
  body { padding: 0; background: #fff; }
  a { color: #000; }
  .checklist__foot { position: static; }
}
