/* ============================================================
   KESTREL ROOFING & RESTORATION - Storm Desk Editorial
   Libre Franklin (display/UI) + Source Serif 4 (editorial body)
   Paper #faf9f5 · Ink #171a1e · Storm Slate #3d4a5c
   Alert Red #c2372c · Hail Gray #e5e2da
   ============================================================ */

:root {
  /* palette */
  --paper: #faf9f5;
  --ink: #171a1e;
  --slate: #3d4a5c;
  --slate-deep: #2c3644;
  --red: #c2372c;
  --red-deep: #9e2c22;
  --hail: #e5e2da;
  --cloud: #f2f0e8;
  --overcast: #4f5a67;
  --bone: #f3efe6;
  --slate-mist: #c9d1da;

  /* type */
  --ff-d: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --ff-s: "Source Serif 4", Georgia, serif;
  --fs-hero: clamp(2.5rem, 1.1rem + 4.6vw, 4.35rem);
  --fs-h1: clamp(2.2rem, 1.2rem + 3.4vw, 3.4rem);
  --fs-h2: clamp(1.6rem, 1.1rem + 1.8vw, 2.25rem);
  --fs-h3: clamp(1.17rem, 1rem + 0.7vw, 1.4rem);
  --fs-body: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  --fs-small: 0.875rem;
  --fs-kicker: 0.75rem;
  --fs-num: clamp(2.4rem, 1.4rem + 3.4vw, 4.25rem);

  /* spacing */
  --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;
  --s7: 48px; --s8: 64px; --s9: 96px;
  --sec: clamp(64px, 44px + 4.5vw, 108px);

  /* shape + depth */
  --r: 4px;
  --r-lg: 6px;
  --line: 1px solid var(--hail);
  --shadow-1: 0 1px 2px rgba(23, 26, 30, 0.06), 0 4px 12px rgba(23, 26, 30, 0.06);
  --shadow-2: 0 2px 4px rgba(23, 26, 30, 0.08), 0 12px 28px rgba(23, 26, 30, 0.10);

  /* motion */
  --t-fast: 150ms;
  --t-base: 220ms;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-s);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--ff-d); line-height: 1.12; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-h2); font-weight: 800; }
h3 { font-size: var(--fs-h3); font-weight: 700; }
p { text-wrap: pretty; }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 2px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--bone); padding: 10px 18px;
  font-family: var(--ff-d); font-size: var(--fs-small);
}
.skip-link:focus { left: 12px; top: 12px; }

.wrap { max-width: 1220px; margin: 0 auto; padding: 0 26px; }
.wrap--narrow { max-width: 880px; }
section { padding: var(--sec) 0; }
.section--tight { padding: calc(var(--sec) * 0.62) 0; }
.section--cloud { background: var(--cloud); border-top: var(--line); border-bottom: var(--line); }

/* ---------- typography helpers ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-d); font-size: var(--fs-kicker); font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--red);
}
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--red); flex-shrink: 0; }
.kicker--ink { color: var(--overcast); }
.kicker--ink::before { background: var(--slate); }
.lead {
  font-size: clamp(1.06rem, 1rem + 0.35vw, 1.2rem);
  color: var(--overcast); line-height: 1.6; max-width: 62ch;
}
.serif-note { font-family: var(--ff-s); font-style: italic; color: var(--overcast); }
.microline { font-family: var(--ff-d); font-size: 0.8125rem; color: var(--overcast); }
.tnum, .stat-num, td.num { font-variant-numeric: tabular-nums; }
.section-head { max-width: 780px; margin-bottom: var(--s7); }
.section-head .kicker { margin-bottom: var(--s3); }
.section-head p { margin-top: var(--s4); }
.section-head--row {
  max-width: none; display: flex; align-items: flex-end;
  justify-content: space-between; gap: var(--s6); flex-wrap: wrap;
}
.section-head--row > div { max-width: 680px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--ff-d); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.01em; white-space: nowrap;
  padding: 14px 24px; border-radius: var(--r);
  background: var(--red); color: #fff; text-decoration: none;
  border: 1.5px solid var(--red);
  transition: background var(--t-fast) ease-out, border-color var(--t-fast) ease-out, transform var(--t-fast) ease-out;
}
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.btn--light-ghost { background: transparent; color: var(--bone); border: 1.5px solid rgba(243, 239, 230, 0.55); }
.btn--light-ghost:hover { background: rgba(243, 239, 230, 0.12); border-color: var(--bone); }
.text-link {
  font-family: var(--ff-d); font-weight: 700; font-size: 0.95rem;
  color: var(--red); text-decoration: none; display: inline-flex; align-items: center; gap: 7px;
  border-bottom: 2px solid transparent; transition: border-color var(--t-fast) ease-out;
}
.text-link:hover { border-bottom-color: var(--red); }
.text-link svg { width: 16px; height: 16px; margin-left: 1px; }
.cta-row { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; margin-top: var(--s6); }

/* ---------- utility bar + header ---------- */
.util-bar {
  background: var(--ink); color: var(--slate-mist);
  font-family: var(--ff-d); font-size: 0.8125rem; font-weight: 500;
}
.util-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 38px; }
.util-bar a { color: var(--bone); text-decoration: none; font-weight: 700; }
.util-bar a:hover { text-decoration: underline; }
.util-left, .util-right { display: flex; align-items: center; gap: 18px; }
.util-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); display: inline-block; margin-right: 7px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper); border-bottom: var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); min-height: 76px; }
.wordmark { display: flex; flex-direction: column; text-decoration: none; flex-shrink: 0; line-height: 1; gap: 3px; }
.wordmark .wm-name { font-family: var(--ff-d); font-weight: 900; font-size: 1.45rem; letter-spacing: 0.01em; color: var(--ink); }
.wordmark .wm-name span { color: var(--red); }
.wordmark .wm-tag { font-family: var(--ff-d); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--overcast); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.main-nav a { text-decoration: none; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--ff-d); font-weight: 600; font-size: 0.92rem; color: var(--ink);
  padding: 12px 13px; border-radius: var(--r);
}
.nav-link:hover { color: var(--red); }
.nav-link[aria-current="true"] { color: var(--red); }
.nav-link .caret { width: 11px; height: 11px; transition: transform var(--t-fast) ease-out; }
.sub-nav {
  position: absolute; top: 100%; left: 0; min-width: 250px;
  background: var(--paper); border: var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-2); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--t-fast) ease-out, transform var(--t-fast) ease-out, visibility var(--t-fast);
}
.nav-item:hover .sub-nav, .nav-item:focus-within .sub-nav { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-item:hover .caret, .nav-item:focus-within .caret { transform: rotate(180deg); }
.sub-nav a {
  display: block; padding: 9px 12px; border-radius: var(--r);
  font-family: var(--ff-d); font-weight: 600; font-size: 0.9rem; color: var(--ink);
}
.sub-nav a:hover { background: var(--cloud); color: var(--red); }
.sub-nav .sub-label {
  font-family: var(--ff-d); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--overcast); padding: 8px 12px 4px;
}
.header-cta { display: flex; align-items: center; gap: var(--s4); flex-shrink: 0; }
.header-phone { display: flex; flex-direction: column; align-items: flex-end; text-decoration: none; line-height: 1.2; }
.header-phone .hp-label { font-family: var(--ff-d); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); }
.header-phone .hp-num { font-family: var(--ff-d); font-weight: 800; font-size: 1.02rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--r); }
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* ---------- hero (form-card split over storm sky) ---------- */
.hero { position: relative; background: var(--slate-deep); overflow: hidden; padding: 0; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(97deg, rgba(16, 20, 26, 0.92) 8%, rgba(20, 26, 34, 0.72) 46%, rgba(23, 26, 30, 0.38) 100%);
}
.hero .wrap {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
  padding-top: clamp(56px, 4vw + 40px, 88px);
  padding-bottom: clamp(56px, 4vw + 40px, 88px);
}
.hero-copy { color: var(--bone); }
.hero-copy .kicker { color: var(--bone); }
.hero-copy .kicker::before { background: var(--red); }
.hero-copy h1 {
  font-size: var(--fs-hero); font-weight: 900; color: #fff;
  margin: var(--s4) 0 var(--s5); letter-spacing: -0.02em; line-height: 1.06;
}
.hero-copy h1 em { font-family: var(--ff-s); font-style: italic; font-weight: 600; color: var(--slate-mist); }
.hero-copy .lead { color: rgba(243, 239, 230, 0.86); max-width: 54ch; }
.hero-stats { display: flex; gap: clamp(24px, 3.5vw, 52px); margin-top: var(--s7); flex-wrap: wrap; }
.hero-stat .stat-num {
  font-family: var(--ff-d); font-weight: 800; font-size: clamp(1.9rem, 1.2rem + 2vw, 2.9rem);
  color: #fff; line-height: 1; letter-spacing: -0.01em;
}
.hero-stat .stat-num span { color: var(--red); }
.hero-stat .stat-label {
  font-family: var(--ff-d); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate-mist); margin-top: 7px;
}
.hero-stats-note { margin-top: var(--s3); font-size: 0.75rem; color: rgba(201, 209, 218, 0.75); font-family: var(--ff-d); }

/* report card */
.report-card {
  background: var(--paper); border-radius: var(--r-lg);
  box-shadow: 0 4px 10px rgba(10, 13, 18, 0.25), 0 24px 60px rgba(10, 13, 18, 0.35);
  overflow: hidden; max-width: 460px; justify-self: end; width: 100%;
}
.report-card-head { border-top: 5px solid var(--red); padding: 24px 28px 0; }
.report-card-head .kicker { margin-bottom: 6px; }
.report-card-head p { font-family: var(--ff-s); font-style: italic; color: var(--overcast); font-size: 0.95rem; }
.report-card form { padding: 18px 28px 26px; display: grid; gap: 14px; }
.field label {
  display: block; font-family: var(--ff-d); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); margin-bottom: 6px;
}
.field label .opt { color: var(--overcast); font-weight: 500; text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 14px;
  border: 1.5px solid var(--hail); border-radius: var(--r);
  background: #fff; font-family: var(--ff-d); font-size: 0.95rem;
  transition: border-color var(--t-fast) ease-out;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--slate); outline: none; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234f5a67' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-micro { font-family: var(--ff-d); font-size: 0.75rem; color: var(--overcast); line-height: 1.5; }
.form-success { display: none; padding: 26px 28px 34px; text-align: left; }
.form-success .kicker { margin-bottom: var(--s3); }
.form-success h3 { margin-bottom: var(--s3); }
.form-success p { color: var(--overcast); font-size: 0.95rem; }
form.is-sent { display: none; }
form.is-sent + .form-success { display: block; }

/* ---------- trust row ---------- */
.trust-row { background: var(--paper); border-bottom: var(--line); padding: 0; }
.trust-row .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s5); padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 12px; font-family: var(--ff-d); }
.trust-item svg { width: 26px; height: 26px; color: var(--slate); flex-shrink: 0; }
.trust-item .t-big { font-weight: 800; font-size: 0.95rem; line-height: 1.2; display: block; }
.trust-item .t-small { font-size: 0.75rem; color: var(--overcast); display: block; }

/* ---------- wire alert strip (emergency band) ---------- */
.wire-strip { background: var(--ink); padding: 0; border-top: var(--line); }
.wire-strip .wrap { display: flex; align-items: center; gap: 18px; min-height: 62px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.wire-chip {
  font-family: var(--ff-d); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: #fff; background: var(--red);
  padding: 5px 11px; border-radius: 3px; flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px;
}
.wire-chip .pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.wire-text { font-family: var(--ff-d); font-size: 0.92rem; font-weight: 600; color: var(--bone); }
.wire-text a { color: #fff; font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--red); }
.wire-text a:hover { color: var(--slate-mist); }
.wire-meta { margin-left: auto; font-family: var(--ff-d); font-size: 0.75rem; color: var(--slate-mist); }

/* ---------- storm log ---------- */
.storm-log-wrap { border: var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-1); overflow-x: auto; }
.storm-log { width: 100%; border-collapse: collapse; min-width: 720px; }
.storm-log caption {
  text-align: left; font-family: var(--ff-d); font-size: 0.75rem; color: var(--overcast);
  padding: 14px 20px; caption-side: bottom; border-top: var(--line);
}
.storm-log th {
  font-family: var(--ff-d); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--overcast); text-align: left;
  padding: 16px 20px; border-bottom: 2px solid var(--ink); white-space: nowrap;
}
.storm-log td { padding: 16px 20px; border-bottom: var(--line); font-size: 0.95rem; vertical-align: top; }
.storm-log tr:last-child td { border-bottom: 0; }
.storm-log td.num { font-family: var(--ff-d); font-weight: 700; }
.storm-log .log-date { font-family: var(--ff-d); font-weight: 800; white-space: nowrap; }
.storm-log .log-event { font-family: var(--ff-s); font-style: italic; color: var(--overcast); }
.log-status {
  display: inline-block; font-family: var(--ff-d); font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 3px; white-space: nowrap;
}
.log-status--active { background: var(--red); color: #fff; }
.log-status--closed { background: var(--cloud); color: var(--overcast); border: var(--line); }

/* ---------- cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: var(--line); border-radius: var(--r-lg);
  padding: 30px 28px; box-shadow: var(--shadow-1); display: flex; flex-direction: column;
  transition: transform var(--t-base) ease-out, box-shadow var(--t-base) ease-out;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.card .card-icon { width: 40px; height: 40px; color: var(--red); margin-bottom: var(--s4); }
.card .card-icon svg { width: 32px; height: 32px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--overcast); font-size: 0.97rem; flex-grow: 1; }
.card .text-link { margin-top: var(--s4); }
.card-kicker { font-family: var(--ff-d); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }

/* case report cards */
.case-card { background: #fff; border: var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-1); display: flex; flex-direction: column; transition: transform var(--t-base) ease-out, box-shadow var(--t-base) ease-out; }
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.case-card .case-img { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: var(--line); }
.case-card .case-img img { width: 100%; height: 100%; object-fit: cover; outline: 1px solid rgba(0, 0, 0, 0.08); outline-offset: -1px; }
.case-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex-grow: 1; }
.case-body h3 { margin: 6px 0 8px; }
.case-body > p { color: var(--overcast); font-size: 0.95rem; flex-grow: 1; }
.case-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: var(--s4); padding-top: var(--s4); border-top: var(--line); }
.case-facts div { font-family: var(--ff-d); }
.case-facts dt { font-size: 0.64rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--overcast); }
.case-facts dd { font-weight: 800; font-size: 0.95rem; font-variant-numeric: tabular-nums; }

/* ---------- claim rail ---------- */
.claim-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.claim-step { position: relative; background: #fff; border: var(--line); border-radius: var(--r-lg); padding: 30px 26px 28px; box-shadow: var(--shadow-1); }
.claim-step .step-num {
  font-family: var(--ff-d); font-weight: 900; font-size: 2.6rem; line-height: 1;
  color: var(--hail); display: block; margin-bottom: 14px; font-variant-numeric: tabular-nums;
}
.claim-step h3 { margin-bottom: 10px; }
.claim-step p { color: var(--overcast); font-size: 0.94rem; }
.claim-step::after {
  content: ""; position: absolute; top: 44px; right: -22px; width: 22px; height: 2px; background: var(--hail);
}
.claim-step:last-child::after { display: none; }
.claim-rail--2 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
.claim-rail--2 .claim-step::after { display: none; }

/* two-column split (contact page) */
.split-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); align-items: start; }

/* ---------- dark slate band ---------- */
.band--slate { background: var(--slate); color: var(--bone); }
.band--slate .kicker { color: var(--bone); }
.band--slate h2, .band--slate h3 { color: #fff; }
.band--slate p, .band--slate .lead { color: var(--slate-mist); }
.band--slate .section-head p { color: var(--slate-mist); }
/* cascade-trap override: light cards inside dark bands keep ink text */
.band--slate .card h3, .band--slate .claim-step h3, .band--slate .case-body h3 { color: var(--ink); }
.band--slate .card p, .band--slate .claim-step p, .band--slate .case-body p { color: var(--overcast); }

.stat-band { padding: calc(var(--sec) * 0.8) 0; }
.stat-band .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s6); }
.stat-cell { border-left: 2px solid rgba(243, 239, 230, 0.2); padding-left: 22px; }
.stat-cell .stat-num { font-family: var(--ff-d); font-weight: 800; font-size: var(--fs-num); color: #fff; line-height: 1; letter-spacing: -0.015em; }
.stat-cell .stat-num span { color: var(--red); }
.stat-cell--accent { border-left-color: var(--red); }
.stat-cell .stat-label { font-family: var(--ff-d); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate-mist); margin-top: 10px; }
.stat-band-note { margin-top: var(--s5); font-family: var(--ff-d); font-size: 0.75rem; color: rgba(201, 209, 218, 0.7); }

/* ---------- editorial split feature ---------- */
.feature-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 5vw, 80px); align-items: center; }
.feature-split .f-img { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); }
.feature-split .f-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.4; outline: 1px solid rgba(0, 0, 0, 0.08); outline-offset: -1px; }
.feature-split .kicker { margin-bottom: var(--s3); }
.feature-split h2 { margin-bottom: var(--s4); }
.feature-split p { color: var(--overcast); margin-bottom: var(--s4); }
.feature-split .f-copy > p:last-of-type { margin-bottom: 0; }
.feature-split--rev .f-img { order: 2; }
.check-list { display: grid; gap: 12px; margin: var(--s5) 0; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; }
.check-list li svg { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; margin-top: 3px; }
.check-list li strong { font-family: var(--ff-d); font-weight: 700; }

/* dark-band override for feature splits (source order: this must beat .feature-split p) */
.band--slate .feature-split p { color: var(--slate-mist); }
.band--slate .check-list li { color: var(--bone); }

/* pull quote */
.pull-quote { border-left: 3px solid var(--red); padding: 6px 0 6px 28px; margin: var(--s6) 0; }
.pull-quote p { font-family: var(--ff-s); font-style: italic; font-size: clamp(1.15rem, 1rem + 0.8vw, 1.45rem); line-height: 1.5; color: var(--ink); margin-bottom: 10px; }
.pull-quote cite { font-family: var(--ff-d); font-style: normal; font-size: 0.85rem; font-weight: 700; color: var(--overcast); }

/* ---------- reviews ---------- */
.review-card { background: #fff; border: var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-1); display: flex; flex-direction: column; }
.review-stars { display: flex; gap: 3px; color: var(--red); margin-bottom: 14px; }
.review-stars svg { width: 16px; height: 16px; }
.review-card blockquote { font-family: var(--ff-s); font-style: italic; font-size: 1rem; line-height: 1.6; flex-grow: 1; }
.review-card .review-meta { margin-top: 18px; padding-top: 16px; border-top: var(--line); font-family: var(--ff-d); }
.review-card .review-meta strong { font-weight: 800; font-size: 0.92rem; display: block; }
.review-card .review-meta span { font-size: 0.78rem; color: var(--overcast); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; max-width: 880px; }
.faq-list details { background: #fff; border: var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  cursor: pointer; list-style: none; padding: 20px 24px;
  font-family: var(--ff-d); font-weight: 700; font-size: 1.02rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--red); transition: transform var(--t-fast) ease-out; }
.faq-list details[open] summary svg { transform: rotate(45deg); }
.faq-list details p { padding: 0 24px 22px; color: var(--overcast); max-width: 72ch; }

/* ---------- compare table ---------- */
.compare-wrap { border: var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-1); overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th {
  font-family: var(--ff-d); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.13em;
  text-transform: uppercase; text-align: left; padding: 18px 22px; border-bottom: 2px solid var(--ink);
}
.compare-table th.col-metal { color: var(--red); }
.compare-table td { padding: 16px 22px; border-bottom: var(--line); font-size: 0.96rem; vertical-align: top; }
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table td:first-child { font-family: var(--ff-d); font-weight: 700; font-size: 0.9rem; }
.compare-table td.num { font-family: var(--ff-d); font-weight: 700; }

/* ---------- financing tiles ---------- */
.pay-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pay-tile { background: #fff; border: var(--line); border-radius: var(--r-lg); padding: 32px 30px; box-shadow: var(--shadow-1); text-align: left; position: relative; }
.pay-tile--lead { border-top: 4px solid var(--red); }
.pay-tile .pay-label { font-family: var(--ff-d); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--overcast); }
.pay-tile .pay-num { font-family: var(--ff-d); font-weight: 800; font-size: clamp(2.2rem, 1.6rem + 1.8vw, 3.1rem); line-height: 1.05; margin: 12px 0 4px; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.pay-tile .pay-num sup { font-size: 0.45em; font-weight: 700; vertical-align: super; }
.pay-tile .pay-per { font-family: var(--ff-d); font-size: 0.85rem; color: var(--overcast); font-weight: 600; }
.pay-tile p { color: var(--overcast); font-size: 0.93rem; margin-top: 14px; }

/* ---------- ZIP coverage grid ---------- */
.zip-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.zip-chip {
  font-family: var(--ff-d); font-weight: 700; font-size: 0.9rem;
  padding: 9px 16px; background: #fff; border: var(--line); border-radius: 3px;
  font-variant-numeric: tabular-nums; color: var(--ink);
}
.zip-chip--hot { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.team-card { background: #fff; border: var(--line); border-radius: var(--r-lg); padding: 30px 28px; box-shadow: var(--shadow-1); }
.team-mono {
  width: 62px; height: 62px; border-radius: 50%; background: var(--slate); color: var(--bone);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-d); font-weight: 800; font-size: 1.3rem; margin-bottom: 18px; letter-spacing: 0.03em;
}
.team-card--lead .team-mono { background: var(--red); }
.team-card h3 { margin-bottom: 2px; }
.team-card .team-role { font-family: var(--ff-d); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); display: block; margin-bottom: 12px; }
.team-card p { color: var(--overcast); font-size: 0.94rem; }

/* ---------- deductible explainer ---------- */
.explainer { border: var(--line); border-left: 4px solid var(--slate); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-1); padding: 32px 34px; max-width: 880px; }
.explainer .kicker { margin-bottom: var(--s3); }
.explainer h3 { margin-bottom: 12px; }
.explainer p { color: var(--overcast); margin-bottom: 12px; }
.explainer p:last-child { margin-bottom: 0; }

/* ---------- page header (interior) ---------- */
.page-head { background: var(--cloud); border-bottom: var(--line); padding: calc(var(--sec) * 0.75) 0; }
.page-head .crumbs { font-family: var(--ff-d); font-size: 0.78rem; font-weight: 600; color: var(--overcast); margin-bottom: var(--s4); }
.page-head .crumbs a { color: var(--overcast); text-decoration: none; }
.page-head .crumbs a:hover { color: var(--red); }
.page-head .crumbs span { margin: 0 8px; color: var(--hail); }
.page-head .kicker { margin-bottom: var(--s3); }
.page-head h1 { max-width: 20ch; }
.page-head .lead { margin-top: var(--s4); }
.page-head .cta-row { margin-top: var(--s5); }

/* long-form prose */
.prose { max-width: 72ch; }
.prose h2 { margin: var(--s7) 0 var(--s4); }
.prose h3 { margin: var(--s6) 0 var(--s3); }
.prose p { margin-bottom: var(--s4); color: #2e343c; }
.prose ul { margin: 0 0 var(--s4); display: grid; gap: 10px; }
.prose ul li { display: flex; gap: 12px; align-items: flex-start; }
.prose ul li svg { width: 19px; height: 19px; color: var(--red); flex-shrink: 0; margin-top: 4px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--slate-deep); color: var(--bone); position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: repeating-linear-gradient(90deg, var(--red) 0 44px, transparent 44px 60px);
}
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: var(--s7); align-items: center; }
.cta-band .kicker { color: var(--bone); }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.8rem); margin: var(--s3) 0 var(--s4); }
.cta-band p { color: var(--slate-mist); max-width: 56ch; }
.cta-band-actions { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; justify-self: end; }
.cta-band-phone { display: flex; flex-direction: column; text-decoration: none; }
.cta-band-phone .hp-label { font-family: var(--ff-d); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate-mist); }
.cta-band-phone .hp-num { font-family: var(--ff-d); font-weight: 800; font-size: 1.7rem; color: #fff; font-variant-numeric: tabular-nums; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--slate-mist); padding: var(--s9) 0 var(--s6); font-family: var(--ff-d); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s7); padding-bottom: var(--s7); border-bottom: 1px solid rgba(201, 209, 218, 0.15); }
.footer-brand .wm-name { font-weight: 900; font-size: 1.3rem; color: #fff; letter-spacing: 0.01em; }
.footer-brand .wm-name span { color: var(--red); }
.footer-brand .wm-tag { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--slate-mist); display: block; margin: 4px 0 16px; }
.footer-brand p { font-family: var(--ff-s); font-size: 0.92rem; line-height: 1.6; max-width: 34ch; color: rgba(201, 209, 218, 0.85); }
.footer-col h4 { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 9px; }
.footer-col a { color: var(--slate-mist); text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; }
.footer-contact svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; color: var(--red); }
.footer-legal { padding-top: var(--s5); font-size: 0.76rem; color: rgba(201, 209, 218, 0.6); line-height: 1.7; }
.footer-legal p { margin-bottom: 6px; }
.footer-legal a { color: rgba(201, 209, 218, 0.8); }

/* ---------- reveals + motion ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 480ms ease-out, transform 480ms ease-out; transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-link { padding: 12px 9px; font-size: 0.88rem; }
  .header-phone { display: none; }
}
@media (max-width: 940px) {
  .main-nav {
    position: fixed; inset: 0; top: 0; z-index: 90;
    background: var(--paper); padding: 120px 28px 40px;
    display: none; overflow-y: auto;
  }
  .nav-open .main-nav { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; }
  .nav-link .caret { display: none; }
  .sub-nav { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 12px 14px; min-width: 0; }
  .sub-nav a { padding: 8px 4px; color: var(--overcast); }
  .nav-toggle { display: inline-flex; position: relative; z-index: 95; }
  .util-right { display: none; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .report-card { justify-self: stretch; max-width: 560px; }
  .claim-rail { grid-template-columns: repeat(2, 1fr); }
  .claim-step::after { display: none; }
  .stat-band .wrap { grid-template-columns: repeat(2, 1fr); }
  .cta-band .wrap { grid-template-columns: 1fr; }
  .cta-band-actions { justify-self: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  section { padding: calc(var(--sec) * 0.72) 0; }
  .card-grid, .card-grid--2, .team-grid, .pay-tiles { grid-template-columns: 1fr; }
  .feature-split { grid-template-columns: 1fr; }
  .split-2 { grid-template-columns: 1fr; }
  .claim-rail--2 { grid-template-columns: 1fr; }
  .feature-split--rev .f-img { order: 0; }
  .field-row { grid-template-columns: 1fr; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .wire-meta { margin-left: 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .claim-rail { grid-template-columns: 1fr; }
  .stat-band .wrap { grid-template-columns: 1fr; gap: var(--s5); }
  .hero-stats { gap: var(--s5); }
  .util-left { width: 100%; justify-content: space-between; }
  .header-cta .btn { padding: 12px 16px; font-size: 0.85rem; }
}

/* ---------- reduced motion (mandatory) ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .wire-chip .pulse-dot { animation: none; }
}
