:root {
  /* Option A "Chrome & Light" (W17): light body, dark hero/footer, chrome-silver details, deep red accent */
  --accent: #A4262C;
  --accent-hover: #861C22;
  --charcoal: #2C3033;
  --charcoal-dark: #14161A;
  --chrome: #AEB3BB;
  --chrome-light: #D5D8DD;
  --chrome-grad: linear-gradient(90deg, #AEB3BB, #D5D8DD);
  --silver: #C8CAC9;
  --surface: #F1F2F4;
  --white: #FFFFFF;
  --text: #23262B;
  --text-light: #5B616B;
  --bg: #FFFFFF;
  --bg-alt: #F1F2F4;
  --border: #D5D8DD;
  --header-bg: #FFFFFF;
  --header-text: #23262B;
  --success: #15803d;
  --success-bg: #f0fdf4;
  --error: #3A3A3A;
  --error-bg: #EDEDED;
  --max-width: 1120px;
  --font-body: 1.0625rem;
  --radius: 8px;
  --shadow: 0 2px 10px rgba(30, 35, 40, 0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: var(--font-body);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; }

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  color: var(--header-text);
  border-bottom: 1px solid var(--chrome-light);
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 1.5rem, var(--max-width));
  margin-inline: auto;
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.logo img {
  display: block;
  height: 52px;
  width: auto;
  max-width: min(240px, 58vw);
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--silver), var(--chrome));
  border: 2px solid rgba(255,255,255,0.35);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--charcoal);
}

.logo-text { font-size: 0.95rem; line-height: 1.15; }
.logo-text small { display: block; font-weight: 500; opacity: 0.85; font-size: 0.7rem; letter-spacing: 0.08em; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--header-text);
  margin-inline: auto;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.85rem;
  font-size: 0.875rem;
}
.nav-links a { font-weight: 600; }
.nav-links a:hover,
.nav-links a.active { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.nav-links .btn-primary:hover { color: #fff; text-decoration: none; }
.nav-phone a { font-weight: 800; white-space: nowrap; }
/* Desktop: larger logo (52px -> 76px), wider header row so nav stays on one line */
@media (min-width: 1024px) {
  .navbar { width: min(100% - 2rem, 1320px); padding: 0.6rem 0; }
  .logo img { height: 76px; max-width: none; }
}
@media (min-width: 1280px) {
  .nav-links { flex-wrap: nowrap; gap: 0.35rem 0.8rem; }
  .nav-links a { white-space: nowrap; }
}
.nav-cta { margin-left: 0.25rem; }

/* Buttons — charcoal CTA on light; white/silver on charcoal sections */
.btn-primary,
.btn-secondary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; font-weight: 700; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: #fff; color: var(--charcoal); border-color: var(--chrome); }
.btn-secondary:hover { background: var(--bg-alt); }
.btn-outline { background: transparent; border-color: currentColor; color: inherit; }
.btn-outline:hover { background: rgba(255,255,255,0.08); }
.btn-nav { padding: 0.45rem 0.9rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* Primary CTA is the red accent everywhere (light sections, dark hero, header, forms) */
.hero .btn-secondary,
.section-charcoal .btn-secondary,
.page-hero .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: var(--silver);
}
.hero .btn-secondary:hover,
.section-charcoal .btn-secondary:hover,
.page-hero .btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-dark) 55%, #3A3E42 100%);
  color: #fff;
  padding: 3.5rem 0 3rem;
}
/* Hero background video (temporary reel until real TRS drone footage) */
.hero.hero-has-video {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-image: url("/assets/media/hero-poster.jpg"), linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-dark) 55%, #3A3E42 100%);
  background-size: cover;
  background-position: center;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  pointer-events: none;
}
.hero.hero-has-video::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10,12,15,0.80) 0%, rgba(10,12,15,0.60) 45%, rgba(10,12,15,0.35) 100%),
    linear-gradient(0deg, rgba(10,12,15,0.55) 0%, transparent 40%);
}
.hero.hero-has-video h1,
.hero.hero-has-video .subhead { text-shadow: 0 2px 12px rgba(0,0,0,0.45); }
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}
.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.2fr 0.9fr; }
}
.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero .subhead { font-size: 1.05rem; opacity: 0.95; margin-bottom: 1rem; max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }

.hero-card {
  background: #fff;
  color: var(--text);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.hero-card h2 { font-size: 1.15rem; color: var(--charcoal); margin-bottom: 0.75rem; }

/* Sections */
.section { padding: 3rem 0; }
.section-alt { background: var(--bg-alt); }
.section-charcoal { background: var(--charcoal); color: #fff; }
.section h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}
/* Chrome-silver rule above section headings */
.section > .container > h2:first-child::before {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 2px;
  background: var(--chrome-grad);
  margin-bottom: 0.85rem;
}
.section-charcoal h2 { color: #fff; }
.section-intro { color: var(--text-light); max-width: 40rem; margin-bottom: 1.5rem; }
.section-charcoal .section-intro { color: rgba(255,255,255,0.85); }

.trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  text-align: center;
  padding: 1.25rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
  border-top: 1px solid var(--chrome-light);
  border-bottom: 1px solid var(--chrome-light);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-2px); border-color: var(--chrome); }
.card h3 { color: var(--charcoal); font-size: 1.05rem; margin-bottom: 0.5rem; }
.card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 0.75rem; }
.card a.link { color: var(--accent); font-weight: 700; font-size: 0.9rem; text-decoration: underline; text-underline-offset: 3px; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  counter-reset: step;
}
.step {
  background: #fff;
  border-radius: 0 0 12px 12px;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-top: 4px solid var(--chrome);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.step h3 { color: var(--charcoal); margin-bottom: 0.35rem; }

.table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; }
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}
th, td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
}
th { background: var(--charcoal); color: #fff; }
.section-charcoal td { color: var(--charcoal); }
.permit-note { margin-top: 1.25rem; max-width: 40rem; color: var(--text-light); }

.fine-print {
  font-size: 0.8rem;
  color: var(--text-light);
  max-width: 48rem;
}

.quote-block {
  border-left: 4px solid var(--chrome);
  padding: 1rem 1.25rem;
  background: #fff;
  border-radius: 0 12px 12px 0;
  margin-bottom: 1rem;
}
.quote-block cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-weight: 600;
  color: var(--charcoal);
  font-size: 0.9rem;
}

.city-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.city-chip {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
}

/* Forms */
.form-grid { display: grid; gap: 0.75rem; }
.form-row { display: grid; gap: 0.75rem; }
@media (min-width: 600px) {
  .form-row.two { grid-template-columns: 1fr 1fr; }
}
label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--charcoal);
}
input, select, textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(164, 38, 44, 0.35);
  border-color: var(--accent);
}
textarea { min-height: 100px; resize: vertical; }
.form-hint { font-size: 0.75rem; color: var(--text-light); margin-top: 0.5rem; }
.form-status {
  margin-top: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
}
.form-status-error { background: var(--error-bg); color: var(--error); border: 1px solid var(--border); }
.form-status-success { background: var(--success-bg); color: var(--success); }
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.consent { font-size: 0.75rem; color: var(--text-light); }

.disclosure {
  font-size: 0.7rem;
  color: var(--text-light);
  line-height: 1.45;
  margin-top: 0.75rem;
  max-width: 48rem;
}

/* Sticky call bar (W16): flush two-cell bar, mobile/tablet only (< 900px, where the header phone is inside the menu) */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--charcoal);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.25);
  transition: transform 0.2s ease;
}
.sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.5rem 0.75rem;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  text-align: center;
}
.sticky-cta .call { background: var(--charcoal); }
.sticky-cta .estimate { background: var(--accent); }
.sticky-cta .estimate:active { background: var(--accent-hover); }
body.cta-hidden .sticky-cta { transform: translateY(110%); }
body { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 900px) {
  .sticky-cta { display: none; }
  body { padding-bottom: 0; }
}

/* Footer */
.site-footer {
  background: var(--charcoal-dark);
  color: rgba(255,255,255,0.85);
  padding: 2.5rem 0;
  border-top: 3px solid var(--chrome);
}
.footer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.site-footer h3 { color: #fff; font-size: 0.95rem; margin-bottom: 0.75rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { display: grid; gap: 0.35rem; font-size: 0.9rem; }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
}

.page-hero {
  background: linear-gradient(135deg, var(--charcoal-dark) 0%, var(--charcoal) 55%, #4A5059 100%);
  color: #fff;
  padding: 2.75rem 0 2.25rem;
  border-bottom: 3px solid var(--chrome);
}
.page-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}
.page-hero p { max-width: 40rem; opacity: 0.95; }
.page-hero .hero-kicker { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.5rem; opacity: 1; }

.placeholder-box {
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  color: var(--text-light);
  background: var(--bg-alt);
}

.portal-stub {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  background: var(--bg-alt);
  text-align: center;
}


@media (max-width: 899px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--header-bg);
    border-bottom: 1px solid var(--chrome-light);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.75rem;
  }
  .nav-links.open { display: flex; }
  .nav-cta { margin-left: 0; }
}

/* Keep anchored forms clear of the sticky header */
form[id], section[id] { scroll-margin-top: 110px; }

/* Footer fine print (hours line) was muted gray on near-black (~3:1); lift for AA */
.site-footer .fine-print { color: rgba(255,255,255,0.75); }

/* Home hero without the estimate form: single column, taller, larger type */
.hero.hero-tall {
  min-height: min(78vh, 760px);
  display: flex;
  align-items: center;
  padding: 4.5rem 0 4rem;
}
.hero-grid.hero-solo { grid-template-columns: 1fr; }
.hero-solo > div { max-width: 46rem; }
.hero-tall h1 { font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.1; }
.hero-tall .subhead { font-size: 1.15rem; max-width: 40rem; }
.hero-tall .hero-actions .btn-primary,
.hero-tall .hero-actions .btn-outline { padding: 0.9rem 1.5rem; font-size: 1.05rem; }
@media (max-width: 599px) {
  .hero.hero-tall { min-height: auto; padding: 3rem 0 2.75rem; }
  .hero-tall .subhead { font-size: 1.05rem; }
}

/* Floating Free Guide button (roofing, siding, windows, gutters only) */
.guide-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 89;
  display: flex;
  align-items: stretch;
  background: var(--charcoal);
  border: 1px solid var(--chrome);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  color: #fff;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.guide-fab-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.65rem 0.4rem 0.65rem 1rem;
  line-height: 1.25;
}
.guide-fab-sub { font-size: 0.78rem; color: rgba(255,255,255,0.8); }
.guide-fab-title { font-size: 1rem; font-weight: 800; }
.guide-fab-link:hover .guide-fab-title { text-decoration: underline; text-underline-offset: 3px; }
.guide-fab-close {
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.8);
  font-size: 1.35rem;
  line-height: 1;
  min-width: 44px;
  cursor: pointer;
}
.guide-fab-close:hover { color: #fff; }
.guide-fab-link:focus-visible,
.guide-fab-close:focus-visible { outline: 2px solid #fff; outline-offset: -4px; border-radius: 8px; }
body.cta-hidden .guide-fab,
.guide-fab.is-tucked { opacity: 0; transform: translateY(12px); pointer-events: none; }
.guide-fab[hidden] { display: none; }
@media (max-width: 899px) {
  /* Sit just above the 56px mobile call bar */
  .guide-fab { right: 12px; bottom: calc(56px + env(safe-area-inset-bottom, 0px) + 12px); }
  .guide-fab-sub { display: none; }
  .guide-fab-link { padding: 0.55rem 0.2rem 0.55rem 0.85rem; min-height: 44px; }
  .guide-fab-title { font-size: 0.95rem; }
}

/* Estimate modal (product pages) */
html.modal-open, body.modal-open { overflow: hidden; }
body.modal-open .sticky-cta,
body.modal-open .guide-fab { display: none; }
.estimate-modal[hidden] { display: none; }
.estimate-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.estimate-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 22, 26, 0.7);
}
.estimate-modal__dialog {
  position: relative;
  width: min(100%, 560px);
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  color: var(--text);
  border-radius: 12px;
  border-top: 4px solid var(--accent);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  padding: 1.5rem 1.5rem 1.25rem;
}
.estimate-modal__dialog:focus { outline: none; }
.estimate-modal__dialog h2 { font-size: 1.3rem; color: var(--text); margin: 0 2.5rem 0.75rem 0; }
.estimate-modal__intro { color: var(--text-light); font-size: 0.95rem; margin: -0.35rem 0 1rem; }
.estimate-modal__close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}
.estimate-modal__close:hover { background: var(--bg-alt); }
.estimate-modal__close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 599px) {
  /* Full-screen sheet on phones */
  .estimate-modal { padding: 0; align-items: stretch; }
  .estimate-modal__dialog {
    width: 100%;
    max-height: none;
    height: 100%;
    border-radius: 0;
    padding: 1.25rem 1rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }
}

/* Product hero: single primary CTA (phone lives in header + mobile call bar) */
.page-hero .hero-actions { margin-top: 1.5rem; }
.page-hero .hero-actions .btn-primary,
.page-hero .hero-actions .btn-outline { padding: 0.95rem 1.75rem; font-size: 1.05rem; text-align: center; }
.hero-actions-single .btn-primary { min-width: 15rem; text-align: center; }
@media (max-width: 600px) {
  .page-hero .hero-actions a { width: 100%; min-width: 0; }
}

/* Photo hero (reusable: add .page-hero--photo + <picture class="page-hero__media">; set --hero-focus per page) */
.page-hero--photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--charcoal-dark);
  padding: 4.75rem 0 4.25rem;
}
.page-hero__media,
.page-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.page-hero__media img { object-fit: cover; object-position: var(--hero-focus, 40% 45%); }
.page-hero--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(20, 22, 26, 0.9) 0%, rgba(20, 22, 26, var(--hero-shade-mid, 0.78)) 45%, rgba(20, 22, 26, var(--hero-shade-end, 0.4)) 100%);
}
.page-hero--photo h1,
.page-hero--photo p { text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45); }
@media (max-width: 768px) {
  .page-hero--photo { padding: 3.25rem 0 3rem; }
  .page-hero--photo::before { background: linear-gradient(180deg, rgba(20, 22, 26, 0.74) 0%, rgba(20, 22, 26, 0.68) 100%); }
}

/* Insurance storm hero: directional shade only behind the text so the roof and lightning keep their color */
.page-hero--storm { --hero-focus: 50% 22%; }
.page-hero--storm h1 { max-width: 34rem; }
.page-hero--storm::before { background: linear-gradient(90deg, rgba(12, 14, 18, 0.84) 0%, rgba(12, 14, 18, 0.74) 36%, rgba(12, 14, 18, 0.4) 56%, rgba(12, 14, 18, 0) 74%); }
.page-hero--storm h1,
.page-hero--storm p { text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
@media (max-width: 768px) {
  .page-hero--storm { --hero-focus: 62% 0%; padding-top: 9.5rem; }
  .page-hero--storm::before { background: linear-gradient(180deg, rgba(12, 14, 18, 0.08) 0, rgba(12, 14, 18, 0.12) 6.5rem, rgba(12, 14, 18, 0.6) 9.25rem, rgba(12, 14, 18, 0.62) 100%); }
}

/* Services dropdown (desktop: hover + click; mobile: expandable group) */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 600;
  color: inherit;
  cursor: pointer;
  white-space: nowrap;
}
.nav-caret { width: 12px; height: 12px; transition: transform 0.15s ease; }
.nav-dropdown.open .nav-caret { transform: rotate(180deg); }
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active { color: var(--accent); }
.nav-dropdown-toggle.active { text-decoration: underline; text-underline-offset: 4px; }
.nav-dropdown-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.nav-submenu { list-style: none; margin: 0; display: none; }
.nav-dropdown.open .nav-submenu { display: block; }
.nav-submenu a { display: block; }
@media (min-width: 900px) {
  .nav-submenu {
    position: absolute;
    top: calc(100% + 0.85rem);
    left: -1rem;
    min-width: 12.5rem;
    padding: 0.4rem 0;
    background: #fff;
    border: 1px solid var(--chrome-light);
    border-top: 3px solid var(--accent);
    border-radius: 8px;
    box-shadow: 0 14px 30px rgba(20, 22, 26, 0.14);
    z-index: 60;
  }
  .nav-submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -1.1rem; height: 1.1rem; }
  .nav-submenu a { padding: 0.55rem 1.1rem; color: var(--text); }
  .nav-submenu a:hover,
  .nav-submenu a:focus-visible { background: var(--bg-alt); color: var(--accent); text-decoration: none; outline: none; }
  .nav-submenu a.active { color: var(--accent); text-decoration: none; box-shadow: inset 3px 0 0 var(--accent); }
}
@media (max-width: 899px) {
  .nav-dropdown-toggle { width: 100%; justify-content: space-between; }
  .nav-submenu { padding: 0.35rem 0 0 0.9rem; margin-top: 0.5rem; border-left: 2px solid var(--chrome-light); }
  .nav-dropdown.open .nav-submenu { display: flex; flex-direction: column; gap: 0.6rem; }
}

/* Nav color rule (Scott): "Services" is always red; the current page is marked with a charcoal underline, never red */
.nav-dropdown-toggle,
.nav-dropdown-toggle.active { color: var(--accent); }
.nav-dropdown-toggle:hover { color: var(--accent-hover); }
.nav-links a:hover,
.nav-links a.active { color: var(--header-text); text-decoration: underline; text-decoration-color: var(--charcoal); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.nav-links a.btn-primary.active { color: #fff; text-decoration: none; }
@media (min-width: 900px) {
  .nav-submenu a:hover,
  .nav-submenu a:focus-visible { color: var(--header-text); }
  .nav-submenu a.active { color: var(--header-text); text-decoration: underline; text-decoration-color: var(--charcoal); text-decoration-thickness: 2px; text-underline-offset: 5px; box-shadow: none; }
}

/* Services dropdown: divider above Project Visualizer, and a featured Bundle & Save row at the bottom (Scott, Nov 10) */
.nav-submenu .nav-sep { height: 1px; background: var(--chrome-light); margin: 0.35rem 1.1rem; list-style: none; }
.nav-links .nav-submenu a.nav-bundle {
  position: relative; display: flex; align-items: center; gap: 0.7rem; min-height: 54px;
  margin: 0.4rem 0.5rem 0.1rem; padding: 0.5rem 0.9rem 0.5rem 4.35rem; border-radius: 10px;
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-dark) 100%);
  border: 1px solid var(--charcoal-dark); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #fff; text-decoration: none; white-space: nowrap;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
/* Knight (decorative, never mirrored): head and body inside the card, feet about 8px below its bottom edge, over the white menu */
.nav-bundle__knight { position: absolute; z-index: 2; left: 0.3rem; bottom: -11px; width: 64px; height: 64px; pointer-events: none; }
.nav-bundle__knight img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 3px 2px rgba(20, 22, 26, 0.3)); }
.nav-links .nav-submenu a.nav-bundle::after { content: ""; position: absolute; z-index: 1; left: 0.9rem; bottom: -12px; width: 44px; height: 7px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(20, 22, 26, 0.28) 0%, rgba(20, 22, 26, 0) 70%); pointer-events: none; }
.nav-bundle__text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-bundle__title { font-weight: 700; color: #fff; }
.nav-bundle__sub { font-size: 0.8rem; font-weight: 600; color: var(--chrome-light); letter-spacing: 0.01em; }
.nav-links .nav-submenu a.nav-bundle:hover,
.nav-links .nav-submenu a.nav-bundle:focus-visible {
  background: linear-gradient(135deg, #3A3F43 0%, var(--charcoal) 100%); color: #fff; text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 0 2px var(--chrome);
}
.nav-links .nav-submenu a.nav-bundle:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 2px; }
.nav-links .nav-submenu a.nav-bundle.active { text-decoration: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 2px var(--chrome); }
.nav-links .nav-submenu a.nav-bundle.active .nav-bundle__title { text-decoration: underline; text-decoration-color: var(--chrome); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (min-width: 900px) {
  .nav-submenu { padding-bottom: 1.15rem; }
}
@media (max-width: 899px) {
  .nav-submenu .nav-sep { margin: 0.1rem 0; }
  .nav-links .nav-submenu a.nav-bundle { margin: 0.2rem 0 0.75rem; align-self: stretch; }
}

/* Warranties / Project Visualizer: external document & tool links */
.doc-list { display: grid; gap: 0.55rem; margin-top: 0.75rem; }
.ext-link { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ext-link:hover { color: var(--accent-hover); }
.ext-link[target="_blank"]::after { content: " \2197"; font-size: 0.85em; }

/* Next steps (insurance-claims; same visual system as the product next-steps draft) */
.next-steps { background: var(--bg-alt); padding: 3.5rem 0 3.75rem; border-top: 1px solid var(--chrome-light); }
.next-steps .eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.35rem; }
.next-steps .lede { color: var(--text-light); max-width: 40rem; margin-top: 0.5rem; }
.ns-list { list-style: none; display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: 1.25rem; margin-top: 2.25rem; position: relative; }
.ns-list::before { content: ""; position: absolute; top: 28px; left: calc(100% / (var(--n, 5) * 2)); right: calc(100% / (var(--n, 5) * 2)); height: 2px; background: var(--chrome); }
.ns-step { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.ns-dot { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid var(--chrome); display: grid; place-items: center; color: var(--charcoal); box-shadow: 0 2px 10px rgba(30, 35, 40, 0.06); }
.ns-dot svg { width: 24px; height: 24px; }
.ns-num { position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 0.78rem; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--bg-alt); }
.ns-step h3 { font-size: 1.02rem; color: var(--charcoal); margin-top: 0.9rem; line-height: 1.3; }
.ns-step p { font-size: 0.93rem; color: var(--text-light); margin-top: 0.3rem; max-width: 15rem; }
.ns-cta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; justify-content: center; text-align: center; }
.ns-cta small { color: var(--text-light); font-size: 0.9rem; }
.ns-cta small a { color: var(--charcoal); font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 820px) {
  .ns-list { grid-template-columns: 1fr; gap: 1.4rem; margin-top: 1.75rem; }
  .ns-list::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; }
  .ns-step { flex-direction: row; align-items: flex-start; text-align: left; gap: 1rem; }
  .ns-dot { flex: 0 0 56px; }
  .ns-step h3 { margin-top: 0.2rem; }
  .ns-step p { max-width: none; }
  .ns-cta { justify-content: flex-start; text-align: left; }
}
.claim-note {
  margin-top: 1.5rem;
  max-width: 48rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--chrome-light);
  border-left: 4px solid var(--charcoal);
  border-radius: 8px;
  color: var(--text);
}
.steps-first { list-style: none; display: grid; gap: 0.9rem; margin-top: 1.25rem; max-width: 46rem; counter-reset: first; }
.steps-first li { counter-increment: first; position: relative; padding-left: 2.6rem; }
.steps-first li::before { content: counter(first); position: absolute; left: 0; top: 0.05rem; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 0.9rem; display: grid; place-items: center; }

/* Hero "Bundle & Save" (product pages): white secondary with red text so Get Free Estimate stays primary.
   Short nudge every ~4.5s; stops on hover/focus; off for reduced motion. */
.btn-bundle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  color: var(--accent);
  background: #fff;
  border: 2px solid var(--chrome-light);
  border-radius: var(--radius);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  animation: bundle-nudge 4.5s ease-in-out 1.5s infinite;
  transform-origin: 50% 60%;
}
.btn-bundle:hover,
.btn-bundle:focus-visible { border-color: var(--accent); background: #fff; color: var(--accent-hover); animation: none; }
.btn-bundle:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@keyframes bundle-nudge {
  0%, 88%, 100% { transform: none; }
  90% { transform: rotate(-2.5deg); }
  92.5% { transform: rotate(2.5deg); }
  95% { transform: rotate(-1.5deg); }
  97.5% { transform: rotate(1deg); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-bundle { animation: none; }
}

/* Playful caption under the red hero CTA: "(Push the red button, it's fun)".
   The button and caption share a stack; the row aligns to the top so the other buttons keep their size and position. */
.hero-actions--note { align-items: flex-start; }
.cta-stack { display: inline-flex; flex-direction: column; align-items: center; }
.cta-note {
  margin-top: 0.3rem;
  font-size: 0.8125rem; /* 13px */
  line-height: 1.3;
  font-weight: 500;
  font-style: italic;
  color: #E4E7EB;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
  text-align: center;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .page-hero .hero-actions--note .cta-stack { width: 100%; }
}

/* Home scroll reveal (progressive enhancement; see js/reveal.js).
   Only active while <html> has .js-reveal; transform/opacity only, so no layout shift. */
html.js-reveal [data-reveal] .is-visible:not(.reveal-done) {
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
}
html.js-reveal [data-reveal] > .container > :not(.card-grid):not(.steps):not(.is-visible),
html.js-reveal [data-reveal] .card-grid > :not(.is-visible),
html.js-reveal [data-reveal] .steps > :not(.is-visible) {
  opacity: 0;
  transform: translateY(24px);
}
@media (prefers-reduced-motion: reduce) {
  html.js-reveal [data-reveal] * { opacity: 1 !important; transform: none !important; transition: none !important; }
}
@media print {
  html.js-reveal [data-reveal] * { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Visual refresh v1 (branch visual-refresh, Nov 2026)
   Heading font, type scale + eyebrow labels, photo service cards, photo heroes,
   icon dots on trust bar / steps, Google review cards, closing CTA band, branded footer.
   ========================================================================== */
@font-face {
  font-family: "Barlow Semi Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/barlow-semi-condensed-700-latin-v16.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;
}
/* Metric-matched fallback so the swap barely moves text (keeps CLS near 0) */
@font-face {
  font-family: "Barlow SC Fallback";
  src: local("Arial Narrow"), local("ArialNarrow"), local("Liberation Sans Narrow"), local("Arial");
  size-adjust: 88%;
  ascent-override: 102%;
  descent-override: 26%;
  line-gap-override: 0%;
}
:root {
  --font-head: "Barlow Semi Condensed", "Barlow SC Fallback", "Arial Narrow", system-ui, sans-serif;
  --gold: #C99A2E;
}
h1, h2, .card h3, .step h3, .ns-step h3, .site-footer h3, .footer-brand-name, .review-card cite strong {
  font-family: var(--font-head);
  font-weight: 700;
}
.hero h1, .page-hero h1 { letter-spacing: 0; line-height: 1.06; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.hero-tall h1 { font-size: clamp(2.5rem, 5.4vw, 3.7rem); line-height: 1.04; }
.hero-tall .hero-solo > div { max-width: 50rem; }
.page-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.15rem); max-width: 32ch; }
.page-hero .hero-solo > div { max-width: 48rem; }
.page-hero--storm h1 { max-width: 34rem; }
.section h2 { font-size: clamp(1.95rem, 3.4vw, 2.65rem); line-height: 1.08; letter-spacing: 0; margin-bottom: 0.9rem; }
.hero-grid h2, .hero-card h2 { letter-spacing: 0; }
.card h3 { font-size: 1.35rem; line-height: 1.15; letter-spacing: 0.005em; }
.step h3, .ns-step h3 { font-size: 1.3rem; line-height: 1.15; }
.section { padding: 4rem 0; }
@media (max-width: 599px) { .section { padding: 3rem 0; } }
.section-intro { font-size: 1.08rem; color: #4F555E; }
.card p { color: #4F555E; }

/* Eyebrow label above section headings (replaces the bare chrome rule when present) */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.6rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 34px; height: 3px; border-radius: 2px; background: var(--chrome-grad); flex: 0 0 auto; }
.section-charcoal .eyebrow, .cta-band .eyebrow { color: var(--chrome-light); }
.page-hero .hero-kicker, .hero .hero-kicker {
  display: flex; align-items: center; gap: 0.65rem;
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--chrome-light); margin-bottom: 0.85rem; opacity: 1;
}
.page-hero .hero-kicker::before, .hero .hero-kicker::before { content: ""; width: 34px; height: 3px; border-radius: 2px; background: var(--chrome-grad); }

/* Photo heroes on the formerly flat pages: a little taller, keep text readable */
.page-hero--photo { padding: 5.5rem 0 5rem; border-bottom: 3px solid var(--chrome); }
.page-hero--photo .hero-card { position: relative; }
@media (min-width: 1024px) { .page-hero--photo { min-height: 440px; display: flex; align-items: center; } .page-hero--photo > .container { width: min(100% - 2rem, var(--max-width)); } }
@media (max-width: 768px) { .page-hero--photo { padding: 3.5rem 0 3.25rem; } }
.hero.page-hero--photo { padding: 4.5rem 0 4rem; }

/* Home service cards with photos: clean 3 x 2 grid */
.card-grid--services { grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 600px) { .card-grid--services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .card-grid--services { grid-template-columns: repeat(3, 1fr); } }
.card--photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--chrome-light); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.card--photo:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 1.15rem 1.3rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.card-body p { flex: 1; }
@media (prefers-reduced-motion: reduce) {
  .card-media img, .card { transition: none; }
  .card--photo:hover .card-media img { transform: none; }
}

/* Icon dots (same look as the insurance timeline) */
.icon-dot {
  position: relative; flex: 0 0 auto;
  width: 52px; height: 52px; border-radius: 50%;
  background: #fff; border: 2px solid var(--chrome);
  display: inline-grid; place-items: center; color: var(--charcoal);
  box-shadow: 0 2px 10px rgba(30, 35, 40, 0.06);
}
.icon-dot svg { width: 24px; height: 24px; }
.icon-dot .ns-num { border-color: #fff; }
.trust-bar { gap: 1.25rem; padding: 1.5rem 0; font-size: 0.98rem; }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 0.75rem; text-align: left; line-height: 1.3; }
.trust-item .icon-dot { width: 46px; height: 46px; }
.trust-item .icon-dot svg { width: 22px; height: 22px; }
@media (max-width: 599px) {
  .trust-bar { grid-template-columns: 1fr 1fr; }
  .trust-item { flex-direction: column; text-align: center; gap: 0.45rem; }
}
.step--icon::before { content: none; }
.step--icon .icon-dot { margin-bottom: 0.85rem; }

/* Google review cards (genuine reviews only; no aggregate rating) */
.review-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin: 0.5rem 0 1.5rem; }
@media (min-width: 900px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card {
  position: relative; margin: 0;
  background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--chrome);
  border-radius: 0 0 12px 12px; padding: 1.4rem 1.4rem 1.25rem;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.section-alt .review-card { background: #fff; }
.review-stars { display: block; width: 104px; height: 20px; color: var(--gold); margin-bottom: 0.85rem; }
.review-card blockquote { margin: 0; flex: 1; font-size: 1.02rem; line-height: 1.6; color: var(--text); }
.review-card cite { display: flex; flex-direction: column; gap: 0.1rem; margin-top: 1.1rem; padding-top: 0.9rem; border-top: 1px solid var(--chrome-light); font-style: normal; }
.review-card cite strong { font-size: 1.15rem; color: var(--charcoal); }
.review-card cite span { font-size: 0.85rem; color: var(--text-light); }
.review-more { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; }
.review-more .ext-link::after { content: " \2197"; font-size: 0.85em; }

/* Closing call-to-action band (every page, above the footer) */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--charcoal) 0%, var(--charcoal-dark) 70%);
  color: #fff; padding: 3.25rem 0;
  border-top: 3px solid var(--chrome);
}
.cta-band::after {
  content: ""; position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  width: 300px; height: 370px; opacity: 0.07; pointer-events: none;
  background: url("/assets/images/vr1-shield-112.webp") center / contain no-repeat;
}
.cta-band__inner { position: relative; z-index: 1; display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.4fr auto; } }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.08; margin-bottom: 0.5rem; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 40rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cta-band__actions .btn-primary, .cta-band__actions .btn-outline { padding: 0.95rem 1.6rem; font-size: 1.05rem; }
.cta-band__actions .btn-outline { color: #fff; border-color: var(--silver); }
@media (max-width: 600px) { .cta-band__actions a { width: 100%; } }

/* Branded footer */
.site-footer { border-top: 0; padding-top: 3rem; }
.footer-brand { display: inline-flex; align-items: center; gap: 0.75rem; margin-bottom: 0.85rem; color: #fff; }
.footer-brand img { width: 45px; height: 56px; }
.footer-brand-name { font-size: 1.4rem; line-height: 1.05; color: #fff; }
.footer-brand-name small { display: block; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--chrome); margin-top: 0.2rem; }
.footer-insured { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.75rem; font-size: 0.85rem; font-weight: 700; color: var(--chrome-light); }
.footer-insured svg { width: 16px; height: 16px; }
.site-footer h3 { font-size: 1.1rem; letter-spacing: 0.02em; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.5fr repeat(4, 1fr); } }
/* Defer offscreen card rendering (and their lazy images) until near the viewport */
.card-grid--services > .card--photo { content-visibility: auto; contain-intrinsic-size: auto 380px; }
.hero h1, .page-hero h1, .section h2 { text-wrap: balance; }

/* ===== Mobile fixes v1 ===== */
/* Free Guide link lives in the mobile menu; the desktop header keeps its current items */
.nav-guide { display: none; }
@media (max-width: 899px) {
  .nav-guide { display: list-item; }
  /* The floating guide pill covered page content just above the call bar; on phones/tablets it moves into the menu */
  .guide-fab { display: none; }
}

/* Home services: swipeable row on phones (scroll-snap, next card peeks in, hint below) */
.services-swipe-hint { display: none; }
@media (max-width: 599px) {
  .card-grid--services {
    display: flex; gap: 0.85rem;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: 1rem;
    margin-inline: -1rem; padding: 0.25rem 1rem 0.9rem;
    scrollbar-width: thin; scrollbar-color: var(--chrome) transparent;
    -webkit-overflow-scrolling: touch;
  }
  .card-grid--services > .card--photo {
    flex: 0 0 82%; scroll-snap-align: start;
    /* keep content-visibility:auto from above so off-screen cards (and their lazy images) wait until swiped near */
    contain-intrinsic-size: auto calc(51.25vw + 170px); /* a touch taller than the tallest rendered card, so the row never grows mid-swipe */
  }
  .card-grid--services > .card--photo:hover { transform: none; }
  /* Reveal-on-scroll would leave off-screen (horizontal) cards hidden, so show them as-is */
  html.js-reveal [data-reveal] .card-grid--services > .card--photo.card { opacity: 1; transform: none; transition: none; }
  .services-swipe-hint {
    display: flex; align-items: center; gap: 0.5rem;
    margin: 0.35rem 0 0; font-size: 0.88rem; font-weight: 700; color: var(--text-light);
  }
  .services-swipe-hint svg { width: 18px; height: 18px; flex: 0 0 auto; }
}

/* Insurance "Next steps" heading: match the other section headings */
.next-steps h2 { font-size: clamp(1.95rem, 3.4vw, 2.65rem); line-height: 1.08; letter-spacing: 0; text-wrap: balance; margin-bottom: 0.4rem; }
.next-steps .eyebrow { display: flex; }

/* Footer on phones: two columns of links with comfier tap targets, and dark fill under the call bar */
@media (max-width: 599px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem 1.25rem; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .site-footer ul { gap: 0; }
  .site-footer ul a { display: inline-block; padding: 0.3rem 0; }
}
@media (max-width: 899px) {
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: calc(2.5rem + 56px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 420px) { .page-hero .hero-kicker, .hero .hero-kicker { letter-spacing: 0.1em; } }

/* ===== SMS consent (G02): two optional, unchecked boxes on every form that asks for a phone ===== */
.sms-consent { border: 1px solid var(--border); border-radius: var(--radius); padding: 0.35rem 0.75rem 0.5rem; margin: 0.25rem 0 0; min-width: 0; background: #fff; }
.sms-consent legend { padding: 0 0.35rem; font-size: 0.85rem; font-weight: 700; color: var(--charcoal); }
.consent-check {
  display: grid; grid-template-columns: 24px 1fr; gap: 0.65rem; align-items: start;
  min-height: 44px; padding: 0.45rem 0; margin: 0; cursor: pointer;
  font-size: 0.8rem; font-weight: 400; line-height: 1.45; color: #4F555E;
}
.consent-check + .consent-check { border-top: 1px solid var(--chrome-light); }
.consent-check input[type="checkbox"] {
  width: 22px; height: 22px; margin: 0.05rem 0 0; padding: 0;
  accent-color: var(--accent); cursor: pointer;
}
.consent-check input[type="checkbox"]:focus { outline: none; }
.consent-check input[type="checkbox"]:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.consent-check:has(input:focus-visible) { background: rgba(164, 38, 44, 0.04); }
.form-legal { font-size: 0.85rem; text-align: center; color: var(--text-light); margin: 0; }
.form-legal a { display: inline-block; min-height: 44px; padding: 0.7rem 0.4rem; color: var(--charcoal); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.form-legal a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
.section-charcoal .form-legal a, .page-hero .hero-card .form-legal a { color: var(--charcoal); }
.legal-page p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-page h2 { font-size: clamp(1.6rem, 3vw, 2rem); }

/* SMS consent v2: Box A (project texts) is a friendly highlighted card; Box B stays quiet below it. Both optional and unchecked. */
.sms-consent { padding: 0.5rem 0.75rem 0.6rem; }
.consent-check--primary {
  grid-template-columns: 24px 1fr; gap: 0.75rem;
  margin: 0.25rem 0 0.35rem; padding: 0.85rem 0.9rem 0.9rem 0.85rem;
  background: #FBF1F1; border: 1px solid #EED6D7; border-left: 4px solid #A4262C; border-radius: 10px;
  color: #3A3F46; font-size: 0.86rem; line-height: 1.5;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.consent-check--primary:hover { background: #F8E9EA; }
.consent-check--primary:has(input:checked) { background: #F6E4E5; border-color: #E2BDBF; border-left-color: #A4262C; }
.consent-check--primary:has(input:focus-visible) { background: #F8E9EA; }
.consent-check--primary input[type="checkbox"] { width: 24px; height: 24px; margin-top: 0.1rem; }
.consent-body { display: grid; gap: 0.3rem; }
.consent-lead {
  display: flex; align-items: center; gap: 0.45rem;
  font-family: var(--font-head); font-size: 1.12rem; font-weight: 700; line-height: 1.2; color: var(--charcoal);
}
.consent-icon { width: 22px; height: 22px; flex: 0 0 auto; color: #A4262C; }
.consent-legal { display: block; color: #3A3F46; }
.consent-check--primary + .consent-check { border-top: 0; }
.consent-check--secondary { padding: 0.55rem 0.15rem 0.3rem 0.15rem; font-size: 0.78rem; color: #5A6069; }
@media (prefers-reduced-motion: reduce) { .consent-check--primary { transition: none; } }
.consent-lead { align-items: flex-start; }
.consent-icon { margin-top: 0.05rem; }
@media (max-width: 599px) {
  .sms-consent { padding: 0.4rem 0.5rem 0.5rem; }
  .consent-check--primary { gap: 0.65rem; padding: 0.8rem 0.75rem 0.85rem 0.7rem; }
}

/* ===== Polish Nov 4: Free Guide pill never covers content =====
   The full pill only fits in the side gutter on wide screens (>= 1680px).
   1200-1679px: a slim vertical tab docked to the right edge, inside the 40px+ gutter.
   900-1199px: no gutter to sit in, so the pill is hidden (Free Guide stays linked in the footer).
   Below 900px it lives in the mobile menu (unchanged). */
@media (min-width: 900px) and (max-width: 1199px) {
  .guide-fab { display: none; }
}
@media (min-width: 1200px) and (max-width: 1679px) {
  .guide-fab {
    right: 0;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    width: 36px;
    border-left: 1px solid var(--chrome);
    border-right: 0;
    border-top: 4px solid var(--accent);
    border-radius: 10px 0 0 10px;
  }
  .guide-fab-sub { display: none; }
  .guide-fab-link {
    order: 2;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    padding: 0.85rem 0;
    align-items: center;
  }
  .guide-fab-title { font-size: 0.875rem; letter-spacing: 0.02em; white-space: nowrap; }
  .guide-fab-close { order: 1; min-width: 0; min-height: 36px; width: 36px; font-size: 1.15rem; }
  body.cta-hidden .guide-fab,
  .guide-fab.is-tucked { transform: translate(12px, -50%); }
}

/* ===== Polish Nov 4: red-button caption =====
   Same treatment on every hero: small, centered under the red button, light weight,
   with a hand-drawn style arrow (inline SVG data URI, CSP img-src allows data:) curling up at the button. */
.cta-note {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.3rem;
  margin-top: 0.55rem;
  font-size: 0.8125rem;
  line-height: 1.2;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.015em;
  color: #DDE1E5;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.cta-note::before {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-bottom: 0.15rem;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DDE1E5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21c1.5-6 5-11 13-14'/%3E%3Cpath d='M11.5 4.5 17.5 6.8 15 12.6'/%3E%3C/svg%3E");
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.55));
}


/* ---- Compact visual product guides (on-page, not PDF) ---- */
.product-guide { scroll-margin-top: 7rem; }
.product-guide .guide-intro { max-width: 48rem; margin: 0.85rem 0 1.75rem; color: var(--text-light); font-size: 1.1rem; line-height: 1.6; }
.guide-overview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.25rem, 4vw, 3.5rem); align-items: center; }
.guide-figure { margin: 0; padding: 1rem; background: #fff; border: 1px solid var(--chrome-light); border-radius: 16px; }
.guide-figure img { display: block; width: 100%; height: auto; max-width: 480px; margin: 0 auto; }
.guide-figure figcaption { margin-top: 0.65rem; color: #59636b; font-size: 0.78rem; line-height: 1.45; }
.product-guide h3 { font-size: 1.15rem; line-height: 1.3; color: var(--charcoal); margin: 0 0 0.65rem; }
.guide-takeaways ul, .guide-trs ul { display: grid; gap: 0.9rem; list-style: none; margin: 0; padding: 0; }
.guide-takeaways li { padding-left: 1rem; border-left: 2px solid var(--chrome); color: var(--text-light); line-height: 1.5; }
.product-guide strong { color: var(--charcoal); }
.guide-takeaways strong { display: block; margin-bottom: 0.15rem; }
.guide-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; margin-top: 1.5rem; }
.guide-choice { background: #fff; border: 1px solid var(--chrome-light); border-radius: 10px; padding: 1.15rem 1.25rem; }
.guide-choice h3 { font-size: 1.06rem; }
.guide-choice p { color: var(--text-light); font-size: 0.95rem; line-height: 1.5; margin: 0; }
.guide-note { max-width: 62rem; color: var(--text-light); font-size: 0.88rem; line-height: 1.5; margin: 1rem 0 0; }
.guide-trs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 1.25rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--chrome); }
.guide-trs ul { gap: 0.6rem; }
.guide-trs li { color: var(--text-light); line-height: 1.5; }
.guide-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem 1.5rem; margin-top: 1.75rem; }
.guide-cta p { color: var(--text-light); margin: 0; }
.guide-cta .btn-primary { text-align: center; }
.guide-offer-link { flex-basis: 100%; color: var(--charcoal); font-size: 0.9rem; text-decoration: underline; text-underline-offset: 3px; }
.product-guide a:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 4px; }
@media (max-width: 700px) {
  .guide-overview, .guide-trs { grid-template-columns: minmax(0, 1fr); }
  .guide-overview { gap: 1.25rem; }
  .guide-figure { padding: 0.7rem; }
  .product-guide .guide-intro { font-size: 1rem; }
  .guide-trs { gap: 0.35rem; }
  .guide-cta { align-items: stretch; flex-direction: column; }
  .guide-cta .btn-primary { width: 100%; }
}

/* ===== Stewman draft (Nov 9): hero eyebrow, rating line, about line, FAQ ===== */
.hero .hero-eyebrow { color: var(--chrome-light); }
.review-rating { margin: -0.5rem 0 1rem; font-size: 1.05rem; }
.about-line { margin: 0 0 1rem; color: #4F555E; }
.faq-list { display: grid; gap: 0.75rem; max-width: 48rem; margin-top: 1.25rem; }
.faq-item { border: 1px solid var(--border, #d9dce0); border-radius: 12px; background: #fff; padding: 0.9rem 1.1rem; }
.faq-item summary { cursor: pointer; font-weight: 700; list-style-position: inside; }
.faq-item p { margin: 0.6rem 0 0; color: #4F555E; }

/* ===== Draft (Nov 9): home services grid and featured Bundle & Save card ===== */
/* Five service cards: Roofing + Windows large on top, Siding / Doors / Gutters below */
@media (min-width: 900px) {
  .card-grid--services { grid-template-columns: repeat(6, 1fr); }
  .card-grid--services > .card--photo { grid-column: span 2; }
  .card-grid--services > .card--photo:nth-child(-n+2) { grid-column: span 3; }
  .card-grid--services > .card--photo:nth-child(-n+2) .card-media { aspect-ratio: 16 / 8; }
}
@media (min-width: 600px) and (max-width: 899px) {
  /* 2 columns: Roofing + Windows, Siding + Doors, Gutters full width */
  .card-grid--services > .card--photo:nth-child(5) { grid-column: 1 / -1; }
  .card-grid--services > .card--photo:nth-child(5) .card-media { aspect-ratio: 21 / 8; }
}
/* Featured Bundle & Save card (option C): silver split card, TRS Knight breaking out of the left. Artwork is never mirrored. */
.bundle-c__knight { display:block; pointer-events:none; }
.bundle-c__knight img { display:block; width:100%; height:auto; }
.bundle-c { position:relative; isolation:isolate; margin-top:3.5rem; display:grid; grid-template-columns:330px 1fr; align-items:center; min-height:300px;
  border-radius:16px; border:1px solid var(--chrome); background:linear-gradient(120deg,#DDE0E4 0%,#EEF0F2 45%,#F8F9FA 100%); box-shadow:0 14px 32px rgba(35,38,43,.10); }
.bundle-c::before { content:""; position:absolute; z-index:0; left:0; top:0; bottom:0; width:330px; border-radius:16px 0 0 16px;
  background:linear-gradient(160deg,var(--charcoal),var(--charcoal-dark)); }
.bundle-c .bundle-c__knight { position:absolute; z-index:3; left:-48px; bottom:-14px; width:380px; filter:drop-shadow(0 12px 8px rgba(0,0,0,.28)); }
.bundle-c__stage { grid-column:1; }
.bundle-c__offer { grid-column:2; position:relative; z-index:2; padding:2.2rem 2.6rem; }
.bundle-c__eyebrow { margin:0 0 .4rem; font-weight:800; font-size:.85rem; letter-spacing:.12em; text-transform:uppercase; color:var(--charcoal); }
.bundle-c__eyebrow::before { content:""; display:inline-block; vertical-align:middle; width:34px; height:3px; margin-right:.6rem; background:var(--charcoal); }
.bundle-c h3 { margin:0 0 1rem; font-size:clamp(1.6rem,2.3vw,2rem); color:var(--charcoal-dark); }
.bundle-c__nums { display:flex; align-items:stretch; gap:1.6rem; margin:0 0 1.4rem; flex-wrap:wrap; }
.bundle-c__num { display:flex; flex-direction:column; }
.bundle-c__num strong { font:700 clamp(3rem,5vw,4.4rem)/.95 var(--font-head); color:var(--charcoal-dark); letter-spacing:-.02em; }
.bundle-c__num span { margin-top:.35rem; font-weight:700; color:#4F555E; text-transform:uppercase; letter-spacing:.06em; font-size:.85rem; }
.bundle-c__div { width:2px; background:linear-gradient(var(--chrome),#fff); }
@media (max-width:1199px){ .bundle-c .bundle-c__knight{ left:-10px; width:330px; } }
@media (max-width:899px){ .bundle-c{grid-template-columns:240px 1fr} .bundle-c::before{width:240px} .bundle-c .bundle-c__knight{left:-6px;width:250px} .bundle-c__offer{padding:1.8rem 1.6rem} }
@media (max-width:599px){
  .bundle-c { display:block; margin-top:4rem; min-height:0; border-radius:12px; }
  .bundle-c::before { width:auto; right:0; bottom:auto; height:150px; border-radius:12px 12px 0 0; }
  .bundle-c .bundle-c__knight { left:.25rem; top:-52px; bottom:auto; width:150px; }
  .bundle-c__offer { padding:1.1rem 1.15rem 1.4rem; }
  .bundle-c__eyebrow, .bundle-c h3 { margin-left:150px; color:#fff; }
  .bundle-c__eyebrow { margin-top:.2rem; font-size:.72rem; } .bundle-c__eyebrow::before { display:none; }
  .bundle-c h3 { font-size:1.4rem; line-height:1.15; min-height:96px; margin-bottom:1.6rem; }
  .bundle-c__nums { gap:1rem; flex-wrap:nowrap; }
  .bundle-c__num strong { font-size:2.5rem; }
  .bundle-c__num span { font-size:.72rem; }
  .bundle-c .btn-primary { display:block; text-align:center; }
}

/* ===== Service guides as a collapsed disclosure (draft, Nov 9). No red; content stays in the page. ===== */
.product-guide:has(.guide-disclosure:not([open])) { padding-block: 2.25rem; }
.guide-disclosure { max-width: 100%; }
.guide-toggle {
  display: flex; align-items: center; gap: 1rem; min-height: 64px;
  padding: 1rem 1.25rem; cursor: pointer; list-style: none;
  background: #fff; border: 1px solid var(--chrome); border-radius: 12px;
  box-shadow: 0 6px 18px rgba(35,38,43,.05);
  transition: background-color .2s, border-color .2s;
}
.guide-toggle::-webkit-details-marker { display: none; }
.guide-toggle::marker { content: ""; }
.guide-toggle:hover { background: #F6F7F8; border-color: var(--charcoal); }
.guide-toggle:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 3px; }
.guide-toggle__text { display: flex; flex-direction: column; gap: .2rem; flex: 1; min-width: 0; }
.guide-toggle__title { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; line-height: 1.2; color: var(--charcoal); }
.guide-toggle__teaser { color: var(--text-light); font-size: .95rem; line-height: 1.4; }
.guide-toggle__chevron {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--chrome); background: var(--chrome-light); position: relative;
  transition: transform .25s ease;
}
.guide-toggle__chevron::before {
  content: ""; position: absolute; left: 50%; top: 45%; width: 9px; height: 9px;
  border-right: 2px solid var(--charcoal); border-bottom: 2px solid var(--charcoal);
  transform: translate(-50%, -50%) rotate(45deg);
}
.guide-disclosure[open] .guide-toggle { border-radius: 12px; margin-bottom: 1.5rem; }
.guide-disclosure[open] .guide-toggle__chevron { transform: rotate(180deg); }
.guide-disclosure__body > .eyebrow:first-child { margin-top: .5rem; }
@media (max-width: 599px) {
  .product-guide:has(.guide-disclosure:not([open])) { padding-block: 1.75rem; }
  .guide-toggle { padding: .85rem 1rem; gap: .75rem; min-height: 56px; }
  .guide-toggle__title { font-size: 1.1rem; }
  .guide-toggle__teaser { font-size: .88rem; }
  .guide-toggle__chevron { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) { .guide-toggle, .guide-toggle__chevron { transition: none; } }

/* ===== Homepage About signal: Family-owned + The TRS Story in the trust bar (last item) ===== */
/* B: trust bar item linked to About */
.trust-item--about { color: var(--charcoal); text-decoration: none; border-radius: 10px; }
.trust-item--about:hover .trust-item__more, .trust-item--about:focus-visible .trust-item__more { text-decoration: underline; text-underline-offset: 3px; }
.trust-item--about:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 4px; }
.trust-item__title { display: block; }
.trust-item__more { display: block; margin-top: .15rem; font-size: .82rem; font-weight: 700; color: var(--accent); }
@media (max-width: 599px) {
  /* 5th item closes the 2-column grid as a centered full-width row */
  .trust-item--about { grid-column: 1 / -1; }
}
