/* Lopez Roofing Service — design system
   Palette: Deep Pine #0C3B34 + Clay Ridge #C2501E + Brass #D9A441, Warm Paper #FAF6EF.
   Light mode locked (color-scheme: light). Fresh design built for this site only.
   Tokens from the approved design preview (artifact lopez-roofing-design-preview). */

/* Self-hosted fonts: Barlow Condensed (headlines) + Archivo (body). Latin only. */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/archivo-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/archivo-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/archivo-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/archivo-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/archivo-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/barlow-condensed-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/barlow-condensed-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/barlow-condensed-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --pine: #0C3B34;
  --pine-deep: #07271F;
  --clay: #C2501E;
  --clay-deep: #9C3D12;
  --brass: #D9A441;
  --paper: #FAF6EF;
  --paper-2: #F1E9DA;
  --sand: #F0E7D6;
  --ink: #1D2B24;
  --body: #33463C;
  --muted: #5C6D63;
  --line: #DCE3DC;
  --line-strong: #B9CFC1;
  --bg: #FFFFFF;
  --hero-accent: #FFB59D;
  --cover-text: #EAF2EC;
  --cover-sub: #BCD2C6;
  --shadow: 0 2px 10px rgba(12, 59, 52, .08);
  --shadow-lift: 0 18px 50px rgba(10, 35, 28, .14);
  --radius: 14px;
  --radius-sm: 10px;
  --wrap: 1060px;
  --font-head: "Barlow Condensed", "Archivo", system-ui, sans-serif;
  --font-body: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--clay-deep); }
a:hover { color: var(--clay); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.05; margin: 0 0 .4em; text-transform: uppercase; letter-spacing: .01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .35em; }
strong { color: var(--ink); }

:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrap { padding: 0 24px; } }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--pine);
  color: #fff; padding: 12px 18px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Scroll progress bar ---------- */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 4px; width: 0;
  background: var(--brass); z-index: 120; transition: width .1s linear;
}

/* ---------- Utilbar ---------- */
.utilbar { background: var(--pine-deep); color: #DCEBE2; font-size: 12.5px; font-weight: 600; }
.utilbar .wrap { display: flex; gap: 8px; flex-wrap: wrap; justify-content: space-between; padding-top: 7px; padding-bottom: 7px; }
.utilbar .dot { color: var(--brass); padding: 0 6px; }

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  color: var(--ink);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(12, 59, 52, .08);
}
.site-header::after {
  content: ""; display: block; height: 4px;
  background: linear-gradient(90deg, var(--clay) 0%, var(--clay) 62%, var(--brass) 62%, var(--brass) 72%, transparent 72%);
}
.header-inner {
  display: flex; align-items: center; gap: 22px;
  min-height: 72px; padding-top: 10px; padding-bottom: 10px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 44px; height: 44px; flex-shrink: 0; }
.brand-name {
  font-family: var(--font-head); font-weight: 700; font-size: 27px; line-height: .92;
  color: var(--ink); letter-spacing: .01em; text-transform: uppercase; white-space: nowrap;
}
.brand-name small { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--clay-deep); margin-top: 3px; }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav > ul > li { position: relative; margin: 0; }
.nav-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 13px;
  color: #33463C; text-decoration: none; font-weight: 600; font-size: 14.5px;
  border-radius: 8px; white-space: nowrap;
}
.nav-link:hover, .nav-link:focus-visible { background: var(--paper); color: var(--pine); }
.nav-link.current { background: var(--sand); color: var(--pine); }
.nav-item { display: inline-flex; align-items: center; }
.caret-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; min-width: 44px; padding: 0; border: 0; border-radius: 8px;
  background: transparent; color: var(--pine); cursor: pointer; font-size: 13px; line-height: 1;
}
.caret-btn:hover, .caret-btn:focus-visible { background: var(--paper); }
.caret-btn .caret { display: inline-block; transition: transform .2s ease; }
.nav-item.open .caret-btn .caret { transform: rotate(180deg); }

/* Dropdown panel: hover bridge covers the gap so the panel never closes mid-move */
.drop {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 300px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-lift); padding: 8px; z-index: 110;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.drop::before { /* invisible hover bridge */
  content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px;
}
.nav-item:hover .drop, .nav-item:focus-within .drop, .nav-item.open .drop {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.drop a {
  display: flex; align-items: center; min-height: 44px; padding: 9px 12px;
  color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500;
  border-radius: 8px; white-space: nowrap;
}
.drop a:hover, .drop a:focus-visible { background: var(--paper); color: var(--clay-deep); }
.drop a.view-all { color: var(--clay-deep); font-weight: 700; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; }

.header-call {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px;
  padding: 11px 16px; margin-left: 8px; flex-shrink: 0;
  background: var(--clay); color: #fff !important; text-decoration: none;
  font-weight: 800; font-size: 14px; border-radius: 10px; white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}
.header-call:hover { background: var(--clay-deep); color: #fff; }
.header-call svg { flex-shrink: 0; }

.hamburger {
  display: none; margin-left: auto; width: 48px; height: 48px; min-width: 48px;
  border: 2px solid var(--pine); border-radius: 10px;
  background: transparent; cursor: pointer; padding: 0;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.hamburger span { display: block; width: 24px; height: 3px; background: var(--pine); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile nav panel */
.mobile-nav {
  display: none; background: #fff; border-bottom: 1px solid var(--line);
  max-height: calc(100vh - 72px); overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 20px 16px; }
.mobile-nav li { margin: 0; border-bottom: 1px solid var(--line); }
.mobile-nav li:last-child { border-bottom: 0; }
.mobile-nav .m-row { display: flex; align-items: center; }
.mobile-nav .m-link {
  flex: 1; display: flex; align-items: center; min-height: 48px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px;
}
.mobile-nav .m-caret {
  width: 48px; height: 48px; min-width: 48px; border: 0; background: transparent;
  color: var(--clay-deep); font-size: 15px; cursor: pointer;
}
.mobile-nav .m-caret .caret { display: inline-block; transition: transform .2s ease; }
.mobile-nav .m-row.open .m-caret .caret { transform: rotate(180deg); }
.mobile-nav .m-drop { display: none; list-style: none; padding: 0 0 8px 12px; }
.mobile-nav .m-row.open + .m-drop { display: block; }
.mobile-nav .m-drop li { border-bottom: 0; }
.mobile-nav .m-drop a {
  display: flex; align-items: center; min-height: 44px; padding: 6px 4px;
  color: var(--body); text-decoration: none; font-size: 15.5px;
}
.mobile-nav .m-drop a.view-all { color: var(--clay-deep); font-weight: 700; }
.mobile-nav .m-call { padding: 12px 0 4px; border-bottom: 0; }

/* ---------- Sticky mobile call bar (slides in only after the hero) ---------- */
.mobile-callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: var(--clay); box-shadow: 0 -2px 14px rgba(0, 0, 0, .25);
  transform: translateY(110%); transition: transform .3s ease;
}
.mobile-callbar.show { transform: translateY(0); }
.mobile-callbar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; border-radius: 999px; text-decoration: none;
  font-weight: 800; font-size: 15px; white-space: nowrap;
}
.mobile-callbar .cb-call { background: #fff; color: var(--clay-deep); }
/* call-only bar: no email button on this site */

/* ---------- Back to top button ---------- */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 95;
  width: 52px; height: 52px; border: 2px solid rgba(255, 255, 255, .85); border-radius: 50%;
  background: var(--clay); color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 10px 28px rgba(10, 35, 28, .32);
  opacity: .55; visibility: visible; transform: translateY(0);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.back-to-top.visible { opacity: 1; }
.back-to-top:hover { background: var(--clay-deep); }
.back-to-top:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.back-to-top svg { width: 22px; height: 22px; }
@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--pine); min-height: 430px; display: flex; align-items: stretch; }
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 62%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7, 39, 31, .88) 0%, rgba(7, 39, 31, .62) 46%, rgba(7, 39, 31, .12) 78%);
}
.hero-inner { position: relative; padding: 84px 20px 76px; max-width: 1060px; margin: 0 auto; width: 100%; }
.hero-kicker {
  display: inline-block; margin: 0 0 16px;
  color: var(--brass);
  font-family: var(--font-body); font-size: 12.5px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
}
.hero h1 {
  color: #fff; font-size: clamp(40px, 6vw, 64px); font-weight: 700;
  line-height: .96; max-width: 640px; margin-bottom: 18px; letter-spacing: 0;
}
.hero h1 .accent { color: var(--hero-accent); }
.hero-intro { color: #E7EFE9; font-size: clamp(16px, 1.6vw, 18px); line-height: 1.6; max-width: 520px; margin-bottom: 28px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.hero-pills li {
  padding: 8px 14px; border-radius: 999px;
  background: rgba(7, 39, 31, .72); border: 1px solid rgba(255, 255, 255, .28);
  color: #fff; font-size: 12.5px; font-weight: 700; margin: 0;
}
.hero-pills li b { color: var(--brass); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 13px 20px; border-radius: 10px;
  font-weight: 800; font-size: 14.5px;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-clay { background: var(--clay); color: #fff; }
.btn-clay:hover { background: var(--clay-deep); color: #fff; }
.btn-pine { background: var(--pine); color: #fff; }
.btn-pine:hover { background: var(--pine-deep); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: #fff; color: var(--pine); }
.btn-white { background: #fff; color: var(--pine); }
.btn-white:hover { background: var(--paper); color: var(--pine); }
.btn-brass { background: var(--brass); color: var(--pine-deep); }
.btn-brass:hover { background: #C8922F; color: var(--pine-deep); }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--paper); border-bottom: 1px solid var(--line); padding: 26px 0; overflow: hidden; }
.trust-strip .wrap { display: flex; flex-wrap: nowrap; gap: 0; justify-content: flex-start; width: max-content; max-width: none; margin: 0; padding: 0; animation: trust-ticker 40s linear infinite; }
.trust-strip span { display: inline-flex; align-items: center; gap: 10px; color: var(--pine); font-size: 15.5px; font-weight: 700; white-space: nowrap; margin-right: 36px; }
.trust-strip svg { color: var(--clay); flex-shrink: 0; }
@keyframes trust-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.trust-strip:hover .wrap { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .trust-strip .wrap { animation: none; } }

/* ---------- Sections ---------- */
.section { padding: 56px 0; background: #FFFFFF; }
.section-tint { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-pine { background: var(--pine); color: #fff; }
.section-pine h2, .section-pine h3, .section-pine h4 { color: #fff; }
.section-pine p { color: var(--cover-text); }
.section-head { margin-bottom: 30px; }
.section-head h2 { font-size: clamp(28px, 4.4vw, 40px); font-weight: 700; }
.section-head h2::after {
  content: ""; display: block; width: 64px; height: 5px; border-radius: 3px;
  background: var(--clay); margin-top: 12px;
}
.section-head .lead { font-size: 16.5px; color: var(--muted); max-width: 640px; margin-top: 10px; }
.section-pine .section-head h2::after { background: var(--brass); }
.section-pine .section-head .lead { color: var(--cover-sub); }

/* Stat strip */
.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: -34px; position: relative; z-index: 5;
}
.stat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px 20px; text-align: center;
}
.stat-num { font-family: var(--font-head); font-size: 34px; font-weight: 700; color: var(--pine); line-height: 1; text-transform: uppercase; }
.stat-label { font-size: 14px; font-weight: 600; color: var(--muted); margin-top: 6px; line-height: 1.4; }

/* Side-by-side photo + text rows */
.side-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-bottom: 40px; }
/* Design audit 2026-11-28 (rule 81): a side-row directly after a card grid sat
   flush against it (0px gap, e.g. Vermont signs grid -> side-row). Grids carry
   no bottom margin, so the row needs its own top margin in that spot only. */
.grid-2 + .side-row, .grid-3 + .side-row, .grid-4 + .side-row, .steps-grid + .side-row { margin-top: 30px; }
/* TECH-CSS 2026-11-28 (R8, rules 80/81): on the 11 A service pages the hero
   section is directly followed by a bare .side-row (child of <main>), which sat
   flush against the hero (0px gap at 1280 and 390). Same 30px rhythm as F2.
   B service pages put the side-row inside a .section, so section padding
   already separates it and this rule does not affect them. */
.hero + .side-row { margin-top: 30px; }
.side-row:last-child { margin-bottom: 0; }
.side-row.flip .side-photo { order: 2; }
.side-row .side-photo { margin: 0; }
.side-row.flip .side-text { order: 1; }
.side-photo img {
  width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.side-photo.tall img { aspect-ratio: 4 / 5; }
.side-photo figcaption { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
@media (min-width: 901px) {
  .side-row .side-photo { position: sticky; top: 104px; }
}
.side-text h2 { font-size: clamp(28px, 4vw, 36px); font-weight: 700; }
.side-text h3 { font-size: 21px; font-weight: 600; margin-top: 1.2em; text-transform: none; letter-spacing: 0; }
.side-text > :first-child { margin-top: 0; }

/* Side rows placed directly under <main> (Group B service pages) have no .wrap
   ancestor, so the grid spanned the full viewport and the photo + text bled to
   the screen edges. Constrain them to the same width as .wrap. */
main > .side-row { max-width: var(--wrap); margin: 0 auto 40px; padding: 0 20px; }
@media (min-width: 768px) { main > .side-row { padding: 0 24px; } }

/* Cards + grids */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px;
}
.card h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; text-transform: none; letter-spacing: 0; }
.card p:last-child { margin-bottom: 0; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

/* Service cards */
.service-card { display: flex; flex-direction: column; padding: 16px; }
.service-card .svc-icon {
  width: 40px; height: 40px; border-radius: 10px; margin-bottom: 12px;
  background: var(--sand); display: flex; align-items: center; justify-content: center;
  color: var(--clay-deep); font-family: var(--font-head); font-size: 20px; font-weight: 700;
}
.service-card h3 { font-size: 16px; font-weight: 600; text-transform: none; }
.service-card h3 a { color: var(--ink); text-decoration: none; }
.service-card h3 a:hover { color: var(--clay-deep); text-decoration: underline; }
.service-card .region-cities { flex: none; font-size: 13.5px; margin: 12px 0 0; }
.service-card .region-cities a { font-weight: 700; }
.service-card p { flex: 1; font-size: 13.5px; color: var(--muted); }
.hub-card-photo { margin: -16px -16px 14px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.hub-card-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.card-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 14px; color: var(--clay-deep); text-decoration: none; }
.card-link:hover { text-decoration: underline; }
.view-all-row { text-align: center; margin-top: 26px; }
.view-all-link { font-weight: 800; font-size: 14px; color: var(--clay-deep); text-decoration: none; border-bottom: 2px solid var(--brass); padding-bottom: 2px; }
.view-all-link:hover { color: var(--clay); }

/* Services in depth (homepage detail list) */
.detail-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.detail-item { border-top: 1px solid var(--line); padding: 18px 0; }
.detail-item h3 { font-size: 17px; font-weight: 600; color: var(--pine); text-transform: none; letter-spacing: 0; margin-bottom: 4px; }
.detail-item p { font-size: 14.5px; color: var(--muted); margin-bottom: 0; }
.detail-item p a { font-weight: 700; }

/* Why-choose cards */
.why-card { border-top: 4px solid var(--clay); }
.why-card .why-num {
  font-family: var(--font-head); font-size: 15px; font-weight: 700;
  letter-spacing: 1.5px; color: var(--clay-deep); text-transform: uppercase;
}
.why-card h3 { margin-top: 6px; }

/* Glossary */
.glossary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.glossary-term { padding: 20px 22px; }
.glossary-term dt {
  font-family: var(--font-head); font-size: 18px; font-weight: 600; color: var(--ink);
  margin-bottom: 4px; text-transform: none; letter-spacing: 0;
}
.glossary-term dd { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.55; }

/* Warning signs */
.sign-card { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: start; padding: 22px; }
.sign-card .sign-mark {
  grid-column: 1; grid-row: 1 / span 2; margin: 0;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--clay); color: #fff; font-family: var(--font-head);
  font-size: 21px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.sign-card > h3, .sign-card > div, .sign-card > p:not(.sign-mark) { grid-column: 2; }
.sign-card h3 { font-size: 17.5px; margin: 0 0 5px; text-transform: none; letter-spacing: 0; }
.sign-card p { font-size: 15px; color: var(--muted); margin: 0; }

/* Anatomy explorer */
.anatomy { display: grid; grid-template-columns: 1fr 1.15fr; gap: 36px; align-items: start; }
.layer-list { display: flex; flex-direction: column; gap: 10px; }
.layer-btn {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  min-height: 56px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; cursor: pointer; font-family: var(--font-body); font-size: 16px;
  transition: border-color .15s ease, background .15s ease;
}
.layer-btn:hover { border-color: var(--clay); }
.layer-btn[aria-expanded="true"] { background: var(--paper); border-color: var(--clay); }
.layer-btn .layer-dot {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--pine); color: #fff; font-family: var(--font-head);
  font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center;
}
.layer-btn[aria-expanded="true"] .layer-dot { background: var(--clay); color: #fff; }
.layer-btn .layer-name { font-weight: 700; color: var(--ink); }
.layer-btn .layer-hint { display: block; font-size: 13.5px; color: var(--muted); font-weight: 400; }
.layer-panel { padding: 26px; }
.layer-panel h3 { font-size: 22px; margin-bottom: 8px; text-transform: none; }
.layer-panel p:last-child { margin-bottom: 0; }

/* Comparison table */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
/* Design audit 2026-11-28 (rule 81): a plain paragraph directly after a comparison
   table sat flush against it (0px gap; <p> has no top margin). 44 pages carry
   this table -> paragraph junction. The .swipe-cue variant keeps its own 8px
   top margin and is excluded. */
.table-scroll + p:not(.swipe-cue) { margin-top: 16px; }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15.5px; }
table.compare caption { text-align: left; padding: 16px 18px 0; font-weight: 700; color: var(--ink); font-family: var(--font-head); font-size: 18px; text-transform: none; }
table.compare th, table.compare td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
table.compare thead th { background: var(--pine); color: #fff; font-family: var(--font-head); font-size: 15px; letter-spacing: .3px; text-transform: uppercase; }
table.compare thead th:first-child { border-radius: 12px 0 0 0; }
table.compare thead th:last-child { border-radius: 0 12px 0 0; }
table.compare tbody tr:last-child th, table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare tbody th { color: var(--ink); font-weight: 700; white-space: nowrap; }
.swipe-cue { display: none; font-size: 13.5px; color: var(--muted); margin-top: 8px; }
@media (max-width: 900px) {
  .swipe-cue { display: block; }
}

/* Repair vs replace */
.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.vs-card h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; text-transform: none; }
.vs-card ul { padding-left: 1.1em; }
.vs-card li { font-size: 15.5px; }
.vs-repair { border-top: 4px solid var(--clay); }
.vs-replace { border-top: 4px solid var(--pine); }
.vs-note { margin-top: 18px; padding: 18px 22px; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--sand); }
.vs-note p:last-child { margin-bottom: 0; }

/* Weather cards */
.weather-card { padding: 24px; }
.weather-card .wx-icon { font-size: 30px; line-height: 1; margin-bottom: 10px; }
.weather-card h3 { font-size: 19px; text-transform: none; }
.weather-card p { font-size: 15.5px; color: var(--muted); }
.weather-card p:last-child { margin-bottom: 0; }

/* Symptom checker */
.checker { display: grid; grid-template-columns: 1fr 1.35fr; gap: 24px; align-items: start; }
.symptom-list { display: flex; flex-direction: column; gap: 10px; }
.symptom-btn {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  min-height: 56px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; cursor: pointer; font-family: var(--font-body); font-size: 16px; font-weight: 600; color: var(--ink);
  transition: border-color .15s ease, background .15s ease;
}
.symptom-btn:hover { border-color: var(--clay); }
.symptom-btn[aria-pressed="true"] { background: var(--pine); color: #fff; border-color: var(--pine); }
.symptom-btn[aria-pressed="true"] .symptom-arrow { color: var(--brass); }
.symptom-arrow { margin-left: auto; color: var(--clay-deep); font-weight: 800; }
.checker-panel { padding: 26px; min-height: 220px; }
.checker-panel h3 { font-size: 21px; text-transform: none; }
.checker-panel p:last-child { margin-bottom: 0; }
.checker-panel .panel-cta { margin-top: 16px; }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.time-card { position: relative; padding-top: 26px; }
.time-card::before {
  content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 4px;
  background: var(--brass); border-radius: 4px;
}
.time-when {
  font-family: var(--font-head); font-size: 14px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--clay-deep);
}
.time-card h3 { font-size: 18.5px; margin-top: 6px; text-transform: none; }
.time-card p { font-size: 15px; color: var(--muted); margin-bottom: 0; }

/* Season cards */
.season-card { padding: 24px; }
.season-card .season-tag {
  display: inline-block; padding: 5px 12px; border-radius: 999px; margin-bottom: 12px;
  background: var(--sand); color: var(--clay-deep); font-family: var(--font-head);
  font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
}
.season-card h3 { font-size: 19px; text-transform: none; }
.season-card p { font-size: 15.5px; color: var(--muted); margin-bottom: 0; }

/* Steps (How It Works) */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.step-card .step-num { font-family: var(--font-head); font-size: 30px; font-weight: 700; color: var(--clay); line-height: 1; }
.step-card h3 { font-size: 19px; margin-top: 8px; text-transform: none; }
.step-card p { font-size: 15px; color: var(--muted); margin-bottom: 0; }

/* Coverage finder (homepage + locations hub) */
.coverage-search { margin-bottom: 26px; }
.coverage-search input {
  min-width: 230px; width: 100%; max-width: 420px; min-height: 44px;
  padding: 10px 16px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .08); color: #fff; font-family: var(--font-body); font-size: 15.5px;
}
.coverage-search input::placeholder { color: #A9C2B4; }
.coverage-search input:focus-visible { outline: 3px solid var(--brass); }
.coverage-hint { font-size: 13px; color: var(--cover-sub); margin-top: 10px; }
.region-block { margin-bottom: 22px; }
.region-block h3 {
  font-size: 16px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 10px;
}
.state-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.state-chips li { margin: 0; }
.state-chips a {
  display: inline-block; padding: 7px 13px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .05);
  color: var(--cover-text); text-decoration: none; font-size: 12.5px; font-weight: 600;
}
.state-chips a:hover { background: var(--clay); border-color: var(--clay); color: #fff; }
.state-chips a.hot { background: var(--clay); border-color: var(--clay); color: #fff; }

/* City links on the locations hub — same chip look as the state list,
   grouped per state under a small brass label. */
.state-cities { margin-top: 16px; }
.state-cities h4 { font-size: 13px; letter-spacing: .08em; color: var(--brass); margin-bottom: 8px; }
.city-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 16px; padding: 0; }
.city-chips li { margin: 0; }
.city-chips a {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .05);
  color: var(--cover-text); text-decoration: none; font-size: 12.5px; font-weight: 600;
}
.city-chips a:hover { background: var(--clay); border-color: var(--clay); color: #fff; }

/* Region story cards (homepage Coverage by Region) */
.region-card { padding: 22px; }
.region-card h3 { font-size: 20px; text-transform: none; }
.region-card p { font-size: 15px; color: var(--muted); margin-bottom: 0; }
.region-card .region-tag {
  display: inline-block; padding: 4px 11px; border-radius: 999px; margin-bottom: 10px;
  background: var(--pine); color: #fff; font-family: var(--font-head);
  font-size: 12.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
}

/* State-page coverage section */
.coverage-region { margin-bottom: 34px; }
.coverage-region > h3 { font-size: 22px; color: var(--pine); margin-bottom: 6px; text-transform: none; }
.coverage-region > p { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.city-pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 14px; padding: 0; }
.city-pills li { margin: 0; }
.city-pills .city-pill {
  display: inline-block; padding: 7px 13px; border-radius: 999px;
  background: var(--pine); color: #fff; font-size: 12.5px; font-weight: 700; text-decoration: none;
}
.city-pills .city-pill:hover { background: var(--clay); color: #fff; }
.city-pills .city-pill.plain { background: var(--sand); color: var(--pine); cursor: default; }
/* Coverage town grid — each town is its own card (name bold, ZIPs beneath in
   muted text) instead of one giant run-on paragraph. Multi-column flow so a
   big-city card (100+ ZIPs) never stretches its neighbours. */
.coverage-grid { columns: 3; column-gap: 20px; margin: 0; }
.town { break-inside: avoid; margin: 0 0 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.town-name { font-weight: 700; color: var(--ink); font-size: 15px; line-height: 1.35; margin: 0 0 4px; }
.town-zips { font-size: 13.5px; color: var(--muted); line-height: 1.65; margin: 0; overflow-wrap: break-word; }
.town-anchor { border-color: var(--line-strong); }
.town-anchor .town-name { color: var(--pine); }
.town-name a { color: inherit; text-decoration: none; }
.town-name a:hover { color: var(--clay-deep); text-decoration: underline; }
@media (max-width: 900px) { .coverage-grid { columns: 2; } }
@media (max-width: 560px) { .coverage-grid { columns: 1; } }
/* ZIP toggle — big-city cards show the first 6 ZIPs by default; the full
   list stays in the HTML (crawlers see it) and expands on tap/click. */
.zip-toggle {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; padding: 10px 14px;
  background: var(--sand); color: var(--pine);
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  cursor: pointer;
}
.zip-toggle:hover { background: var(--clay); border-color: var(--clay); color: #fff; }
.zip-toggle:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
.town.expanded .zips-rest { display: inline; }
/* Small towns behind one toggle — layout v2 (Shams-approved 2026-11-27):
   big towns stay as cards; smaller towns open as styled pills. Default:
   collapsed, so the page stays short on phones. Full town/ZIP data stays
   in the HTML (crawlers see it); the toggle only changes visibility. */
.town-toggle { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 10px 18px; min-height: 44px; background: var(--pine); color: #fff; border: none; border-radius: 999px; font-family: var(--font-body); font-size: 14px; font-weight: 700; cursor: pointer; }
.town-toggle:hover { background: var(--pine-deep); }
.town-toggle:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }
.town-toggle .chev { font-size: 12px; }
.town-panel { display: none; margin-top: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; }
.town-panel.open { display: block; }
.town-panel p { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.town-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.town-pills li { background: #fff; border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; line-height: 1.4; }
.town-pills li b { color: var(--pine); font-weight: 700; }
.town-pills li span { color: var(--muted); }

/* Mid CTA bands (6 on homepage) */
.mid-cta {
  background: var(--pine); border-radius: var(--radius);
  padding: 20px 22px; margin: 40px 0;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.mid-cta h3 { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: #fff; margin: 0; }
.mid-cta h3 span { color: var(--brass); }
.mid-cta p { color: var(--cover-sub); font-size: 13.5px; margin: 4px 0 0; flex: 1; min-width: 240px; }
.mid-cta .btn { flex-shrink: 0; }

/* Slim CTA bars: dark bar, short line + call button, between sections */
.cta-slim { background: var(--pine-deep); color: #fff; padding: 26px 0; }
.cta-slim .wrap { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-slim p { margin: 0; flex: 1; min-width: 260px; font-family: var(--font-head); font-size: 20px; font-weight: 600; line-height: 1.3; text-transform: none; letter-spacing: 0; }
.cta-slim p span { color: var(--brass); }
.cta-slim .btn { flex-shrink: 0; }

/* PAA cards — Lopez style: clay left bar + pine disc with brass "?" */
.paa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.paa-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); }
.paa-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); }
.paa-card {
  background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--clay);
  border-radius: 12px; box-shadow: var(--shadow); padding: 22px;
}
.paa-card .paa-q { display: flex; gap: 12px; align-items: flex-start; }
.paa-card .paa-disc {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--pine); color: var(--brass); font-family: var(--font-head);
  font-size: 19px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.paa-card h3 { font-size: 17.5px; line-height: 1.35; margin: 2px 0 0; text-transform: none; letter-spacing: 0; }
.paa-card p { font-size: 15px; color: var(--muted); margin: 12px 0 0; }

/* FAQ accordion */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  margin-bottom: 12px; overflow: hidden;
}
.faq-item:last-child { margin-bottom: 0; }
.faq-q {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  min-height: 60px; padding: 16px 20px; border: 0; background: #fff; cursor: pointer;
  font-family: var(--font-head); font-size: 18px; font-weight: 600; color: var(--ink); text-transform: none; letter-spacing: 0;
}
.faq-q:hover { background: var(--paper); }
.faq-q .faq-icon {
  margin-left: auto; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--sand); color: var(--clay-deep); font-size: 19px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; transition: transform .2s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--clay); color: #fff; }
.faq-a { display: none; padding: 0 20px 20px; font-size: 16px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-item.open .faq-a { display: block; }

/* Hiring checklist */
.checklist-card { max-width: 860px; margin: 0 auto; }
.check-item {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 4px;
  border-bottom: 1px solid var(--line); cursor: pointer; background: none;
  border-left: 0; border-right: 0; border-top: 0; width: 100%; text-align: left;
  font-family: var(--font-body); font-size: 16px; color: var(--body);
}
.check-item:last-child { border-bottom: 0; }
.check-box {
  flex-shrink: 0; width: 28px; height: 28px; margin-top: 1px; border-radius: 8px;
  border: 2px solid var(--line-strong); background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: transparent; font-size: 17px; font-weight: 800; transition: all .15s ease;
}
.check-item[aria-pressed="true"] .check-box { background: var(--clay); border-color: var(--clay); color: #fff; }
.check-item[aria-pressed="true"] .check-text { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--clay); }
.check-text strong { display: block; color: var(--ink); font-size: 16.5px; margin-bottom: 2px; }

/* Areas served */
.town-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.town-link {
  display: flex; align-items: center; min-height: 48px; padding: 10px 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15.5px;
  transition: border-color .15s ease, background .15s ease;
}
.town-link:hover { border-color: var(--clay); background: var(--paper); color: var(--clay-deep); }
.town-link .town-arrow { margin-left: auto; color: var(--clay-deep); font-weight: 800; }
.zip-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.zip-chip {
  padding: 7px 13px; border-radius: 999px; background: var(--pine-deep); color: #FFE9C9;
  font-size: 14px; font-weight: 600;
}
.zip-note { font-size: 14.5px; color: var(--muted); margin-top: 12px; }
.map-box { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-box iframe { display: block; width: 100%; height: 380px; border: 0; }

/* Closing call band */
.call-band { background: var(--clay); color: #fff; padding: 36px 0 28px; text-align: center; }
.call-band h2 { color: #fff; font-size: clamp(28px, 4.4vw, 40px); font-weight: 700; }
.call-band p { color: #FFF3EA; max-width: 620px; margin: 0 auto 20px; font-size: 17px; }
.call-band .band-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer (Lopez: pine-deep, big wordmark, 3 columns, fine print) ---------- */
/* TECH-CSS 2026-11-28 (R2, rule 83 "SLIM FOOTER, SEPARATED, IN BOXES"): slimmed —
   smaller wordmark, tighter top/column/disclaimer/copy spacing. Footer was
   626px @1280 / 1485px @390. Columns were never boxed (computed border 0,
   background transparent, padding 0 on all viewports — verified in-browser),
   so the rule below states that explicitly rather than adding any box. The
   84px mobile bottom padding is kept: it clears the fixed mobile call bar. */
.site-footer { background: var(--pine-deep); color: #CFE0D5; padding: 24px 0 0; }
.footer-wordmark {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  font-size: clamp(30px, 4.6vw, 44px); line-height: .95; color: #fff; margin: 0 0 16px;
}
.footer-wordmark span { color: var(--brass); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 18px; }
.footer-col { background: transparent; border: 0; padding: 0; }
.footer-col h3 {
  font-family: var(--font-body); font-size: 13px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 10px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 3px; }
.footer-col a { color: #CFE0D5; text-decoration: none; font-size: 13.5px; padding: 3px 0; display: inline-block; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-col p { font-size: 13.5px; line-height: 1.65; margin: 0 0 10px; }
.footer-col p a { color: #fff; }
.footer-divider { border: 0; border-top: 1px solid rgba(255, 255, 255, .16); margin: 0; }
.footer-disclaimer { padding: 14px 0; font-size: 13px; line-height: 1.65; color: #93ACA0; max-width: 980px; }
.footer-disclaimer p { margin: 0; }
.footer-copy { padding: 12px 0 14px; font-size: 13px; color: #93ACA0; display: flex; gap: 8px 24px; flex-wrap: wrap; justify-content: space-between; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav > ul { gap: 0; }
  .nav-link { padding: 10px 9px; font-size: 14px; }
  .header-call { display: none; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .hamburger { display: inline-flex; }
  .header-call { display: none; }
  .mobile-callbar { display: flex; }
  .back-to-top { right: 16px; bottom: 96px; width: 48px; height: 48px; } /* sits above the fixed call bar */
  .site-footer { padding-bottom: calc(84px + env(safe-area-inset-bottom)); } /* clear fixed mobile call bar so the footer copy scrolls fully above the bar */
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .paa-grid { grid-template-columns: 1fr; }
  .paa-grid:has(> :nth-child(2):last-child), .paa-grid:has(> :nth-child(4):last-child) { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 16px; }
  .side-row { grid-template-columns: 1fr; gap: 24px; }
  .side-row.flip .side-photo { order: 0; }
  .side-row.flip .side-text { order: 0; }
  .anatomy { grid-template-columns: 1fr; gap: 20px; }
  .checker { grid-template-columns: 1fr; gap: 18px; }
  .town-grid { grid-template-columns: repeat(2, 1fr); }
  .vs-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); margin-top: -24px; }
  .detail-list { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .hero { min-height: 380px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 44px 0; }
  .hero-inner { padding: 60px 20px 56px; }
  .hero-buttons .btn { width: 100%; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .glossary-grid { grid-template-columns: 1fr; }
  .stat-strip { margin-top: -18px; }
  .stat-num { font-size: 28px; }
  .cta-slim .wrap { flex-direction: column; align-items: flex-start; }
  .cta-slim .btn { width: 100%; }
  .map-box iframe { height: 300px; }
  .table-scroll { border-radius: 12px; }
  table.compare { min-width: 0; display: block; }
  table.compare caption { display: block; }
  table.compare thead { display: none; }
  table.compare tbody, table.compare tr, table.compare th, table.compare td { display: block; width: 100%; }
  table.compare tbody tr { border-bottom: 2px solid var(--line-strong); padding: 6px 0; }
  table.compare tbody tr:last-child { border-bottom: 0; }
  table.compare tbody th { padding: 12px 16px 2px; font-size: 16.5px; border-bottom: 0; }
  table.compare td { border-bottom: 0; padding: 5px 16px 5px 16px; }
  table.compare td::before {
    content: attr(data-label) ": "; font-weight: 700; color: var(--ink); font-size: 13.5px;
  }
  table.compare td:last-child { padding-bottom: 14px; }
  .brand-name { font-size: 22px; }
  .brand-name small { font-size: 10.5px; letter-spacing: 2px; }
  .mid-cta { flex-direction: column; align-items: flex-start; }
  .mid-cta .btn { width: 100%; }
}

@media (max-width: 380px) {
  .town-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
}

/* ---------- Breadcrumb, byline, prose, related ---------- */
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 20px 0 0; font-size: 14.5px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--muted); }
.crumbs a { color: var(--clay-deep); }
.crumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }
.breadcrumb { max-width: var(--wrap); margin: 0 auto; padding: 20px 20px 0; font-size: 14.5px; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--muted); }
.breadcrumb a { color: var(--clay-deep); }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 600; }
@media (min-width: 768px) { .breadcrumb { padding: 20px 24px 0; } }
.byline { font-size: 14.5px; color: var(--muted); margin: 6px 0 0; }
.prose-col p { margin-bottom: 16px; }
.prose-col h3 { margin: 26px 0 8px; }
.prose-col { max-width: 860px; }
@media (max-width: 640px) { .paa-grid { grid-template-columns: 1fr !important; } }

/* Related articles: text link list, no photos (heroes stay unique per page) */
.related-list { list-style: none; margin: 0; padding: 0; max-width: 860px; }
.related-list li { margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.related-list li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.related-list a { font-family: var(--font-head); font-size: 20px; font-weight: 600; color: var(--ink); text-decoration: none; line-height: 1.2; text-transform: none; }
.related-list a:hover { color: var(--clay-deep); text-decoration: underline; }
.related-list p { font-size: 15px; color: var(--muted); margin: 4px 0 0; }
