/* ============================================================
   DORMAN ROOFING LLC — COMPLETE REDESIGN
   Brand: Crimson Red + Black — Roofing • Siding • Gutters
   ============================================================ */

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
ul, ol { list-style: none; }

/* === DESIGN TOKENS === */
:root {
  --red:         #C41C1C;
  --red-light:   #E02828;
  --red-dark:    #951515;
  --red-glow:    rgba(196,28,28,0.22);
  --red-a10:     rgba(196,28,28,0.10);
  --red-a20:     rgba(196,28,28,0.20);
  --red-a35:     rgba(196,28,28,0.35);

  --black:       #060606;
  --ink:         #0D0D0D;
  --surface:     #131313;
  --card:        #1A1A1A;
  --card-hover:  #202020;
  --border:      rgba(255,255,255,0.07);
  --border-act:  rgba(255,255,255,0.14);

  --text:        #D4D4D4;
  --text-2:      #8C8C8C;
  --text-3:      #565656;
  --text-bright: #ECECEC;
  --white:       #FFFFFF;

  --font-head: 'Oswald', 'Barlow Condensed', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --max-w:     1220px;
  --pad-x:     clamp(1.25rem, 5vw, 3rem);
  --sec-gap:   clamp(5rem, 8.5vw, 8.5rem);

  --radius:    8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.55);
  --shadow-md: 0 8px 36px rgba(0,0,0,0.65);
  --shadow-lg: 0 24px 72px rgba(0,0,0,0.75);
}

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
}

/* === UTILITIES === */
.container  { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }
.section    { padding: var(--sec-gap) 0; }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.demo-note {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  color: var(--text-3); font-size: .7rem; letter-spacing: .04em;
  padding: .3rem .75rem; border-radius: 30px; margin-top: .75rem;
}

/* === TYPOGRAPHY === */
.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--font-head);
  font-size: .82rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--red-light); margin-bottom: 1.15rem;
}
.eyebrow::before {
  content: ''; width: 30px; height: 2px; background: var(--red);
  flex-shrink: 0;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 700; line-height: 1.0; color: var(--white);
  text-transform: uppercase; letter-spacing: .005em;
}
.section-sub {
  font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: var(--text-2);
  max-width: 58ch; margin: 1.5rem auto 0; line-height: 1.78;
}
.section-title .accent { color: var(--red-light); }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.9rem; border-radius: var(--radius);
  font-family: var(--font-head); font-size: .95rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
  white-space: nowrap; cursor: pointer;
}
.btn:active { transform: scale(.97); }

.btn--red {
  background: var(--red); color: var(--white);
  border: 2px solid var(--red);
}
.btn--red:hover {
  background: var(--red-light); border-color: var(--red-light);
  box-shadow: 0 0 0 4px var(--red-glow);
}

.btn--ghost {
  background: transparent; color: var(--text);
  border: 2px solid var(--border-act);
}
.btn--ghost:hover { border-color: var(--white); color: var(--white); }

.btn--outline-red {
  background: transparent; color: var(--red-light);
  border: 2px solid var(--red-a35);
}
.btn--outline-red:hover {
  background: var(--red-a10); border-color: var(--red-light);
}

.btn--lg { padding: 1rem 2.4rem; font-size: 1.05rem; }
.btn--sm { padding: .5rem 1.25rem; font-size: .82rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(6,6,6,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(196,28,28,0.25);
}
.header-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex; align-items: center; gap: 1.5rem; height: 72px;
}

/* Logo — mix-blend-mode: screen removes white bg on dark surfaces */
.brand-logo {
  height: 50px; width: auto;
  flex-shrink: 0;
  display: block;
}

.brand-wordmark {
  display: flex; align-items: center; gap: .6rem; flex-shrink: 0;
  text-decoration: none;
}

.footer-brand-logo {
  height: 58px;
  width: auto;
}
.brand-mark {
  width: 44px; height: 44px;
  background: var(--red); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-mark svg { display: block; }
.brand-text-wrap { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-head); font-size: 1.1rem;
  font-weight: 700; color: var(--white); letter-spacing: .04em;
  text-transform: uppercase;
}
.brand-sub {
  font-size: .58rem; color: var(--text-2);
  letter-spacing: .1em; text-transform: uppercase;
}

.nav {
  display: flex; align-items: center; gap: .15rem; margin-left: auto;
}
.navlink {
  font-family: var(--font-head); font-size: .85rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-2); padding: .45rem .85rem; border-radius: 5px;
  transition: color .2s, background .2s;
}
.navlink:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.navlink[aria-current="page"] { color: var(--red-light); }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-phone {
  display: flex; align-items: center; gap: .4rem;
  font-family: var(--font-head); font-size: .9rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--text-2); transition: color .2s;
}
.header-phone:hover { color: var(--red-light); }
.header-cta { display: flex; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: .5rem; margin-left: auto;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO — FULL-BLEED CINEMATIC
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  overflow: hidden;
  background: var(--black);
}

/* Full-bleed photo */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(6,6,6,0.62) 0%,
      rgba(6,6,6,0.18) 28%,
      rgba(6,6,6,0.70) 74%,
      rgba(6,6,6,0.97) 100%),
    linear-gradient(98deg,
      rgba(6,6,6,0.94) 0%,
      rgba(6,6,6,0.64) 44%,
      rgba(6,6,6,0.22) 100%);
}
/* Crimson cinematic grade — anchors the lower-left where the diagnostic panel lives */
.hero-overlay::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 75%; height: 70%;
  background: radial-gradient(ellipse at 0% 100%, rgba(196,28,28,0.22) 0%, transparent 62%);
}

/* Large faded brand art in background */
.hero-art {
  position: absolute; right: -2%; top: 50%;
  transform: translateY(-50%);
  z-index: 1; pointer-events: none; user-select: none;
  font-family: var(--font-head);
  font-size: clamp(12rem, 22vw, 28rem);
  font-weight: 700; color: var(--white); opacity: .03;
  letter-spacing: -.03em; line-height: 1;
  text-transform: uppercase;
}

/* Red vertical accent bar on left */
.hero-accent-bar {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(to bottom, var(--red) 0%, rgba(196,28,28,0) 100%);
  z-index: 2;
}

/* Main hero content */
.hero-body {
  position: relative; z-index: 2;
  flex: 1; display: flex; align-items: center;
  padding: 3rem var(--pad-x);
  max-width: var(--max-w); margin: 0 auto; width: 100%;
}
.hero-content { max-width: 700px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--red-a10); border: 1px solid var(--red-a35);
  color: var(--red-light);
  font-family: var(--font-head); font-size: .72rem;
  font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: .4rem .9rem; border-radius: 4px; margin-bottom: 1.5rem;
}
.hero-badge .live-dot {
  width: 6px; height: 6px; background: var(--red-light);
  border-radius: 50%; animation: livepulse 2s ease-in-out infinite;
}
@keyframes livepulse {
  0%,100% { opacity: 1; } 50% { opacity: .2; }
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 5.75rem);
  font-weight: 700; line-height: .96;
  color: var(--white); text-transform: uppercase;
  letter-spacing: 0; margin-bottom: 1.5rem;
}
.hero h1 .accent { color: var(--red-light); }

.hero-sub {
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  color: var(--text-2); line-height: 1.75;
  margin-bottom: 2.25rem; max-width: 52ch;
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex; gap: 1.75rem; flex-wrap: wrap;
}
.hero-trust-item {
  display: flex; align-items: center; gap: .45rem;
  font-family: var(--font-head); font-size: .78rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-2);
}
.hero-trust-item svg { color: var(--red-light); flex-shrink: 0; }

/* Stats strip — pinned to bottom */
.hero-stats {
  position: relative; z-index: 2;
  background: rgba(20,20,20,0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(196,28,28,0.3);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hero-stat {
  display: flex; flex-direction: column; align-items: center;
  padding: 1.25rem 1rem; gap: .2rem;
  border-right: 1px solid var(--border);
  text-align: center;
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  font-family: var(--font-head); font-size: 1.7rem; font-weight: 700;
  color: var(--white); line-height: 1;
}
.hero-stat-num .star { color: var(--red-light); }
.hero-stat-label {
  font-size: .65rem; color: var(--text-3);
  letter-spacing: .09em; text-transform: uppercase;
}

/* ============================================================
   SERVICES BAND
   ============================================================ */
.services-band {
  background: var(--surface);
  border-top: 3px solid var(--red);
  padding: clamp(4rem, 7vw, 6rem) 0;
  position: relative; overflow: hidden;
}
.services-band::before {
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,.012) 40px,
    rgba(255,255,255,.012) 80px
  );
  pointer-events: none;
}

.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 3rem; position: relative;
}

.svc-card {
  position: relative;
  border-radius: var(--radius-lg); overflow: hidden;
  min-height: 400px;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .3s, box-shadow .3s;
  border: 1px solid var(--border);
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--red-glow);
}

.svc-card-bg {
  position: absolute; inset: 0; z-index: 0;
}
.svc-card-bg img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.svc-card:hover .svc-card-bg img { transform: scale(1.06); }
.svc-card-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,6,6,0.95) 0%, rgba(6,6,6,0.55) 55%, rgba(6,6,6,0.25) 100%);
  transition: background .3s;
}
.svc-card:hover .svc-card-bg::after {
  background: linear-gradient(to top, rgba(6,6,6,0.98) 0%, rgba(6,6,6,0.62) 55%, rgba(6,6,6,0.3) 100%);
}

/* Red left accent line on cards */
.svc-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--red);
  z-index: 2; transform: scaleY(0); transform-origin: bottom;
  transition: transform .35s ease;
}
.svc-card:hover::before { transform: scaleY(1); }

.svc-card-body {
  position: relative; z-index: 1;
  padding: 2rem 1.75rem 2rem;
}
.svc-icon {
  width: 46px; height: 46px;
  background: var(--red-a10); border: 1px solid var(--red-a35);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--red-light); margin-bottom: .875rem;
}
.svc-card h3 {
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 700;
  color: var(--white); text-transform: uppercase; margin-bottom: .5rem;
  letter-spacing: .03em;
}
.svc-card p { font-size: .875rem; color: var(--text-2); line-height: 1.65; margin-bottom: 1rem; }
.svc-services {
  display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.25rem;
}
.svc-tag {
  background: rgba(255,255,255,0.06); border: 1px solid var(--border);
  font-size: .72rem; color: var(--text-2); padding: .25rem .7rem;
  border-radius: 4px; letter-spacing: .04em;
}
.svc-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--red-light); transition: gap .2s;
}
.svc-link:hover { gap: .7rem; }

/* ============================================================
   EMERGENCY BLOCK
   ============================================================ */
.emergency-block {
  background: var(--red-dark);
  background-image: repeating-linear-gradient(
    -55deg, transparent, transparent 40px,
    rgba(0,0,0,.1) 40px, rgba(0,0,0,.1) 80px
  );
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: clamp(3.5rem, 6vw, 5.5rem) var(--pad-x);
  position: relative; overflow: hidden;
}
.emergency-block::before {
  content: 'EMERGENCY';
  position: absolute; right: -3%; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(8rem, 15vw, 18rem);
  color: rgba(0,0,0,0.15); line-height: 1;
  pointer-events: none; user-select: none;
  text-transform: uppercase;
}
.emergency-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 3rem; position: relative; z-index: 1;
}
.emg-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-head); font-size: .72rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem;
}
.pulse-dot {
  width: 8px; height: 8px;
  background: var(--white); border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .3; transform: scale(.6); }
}
.emergency-block h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; color: var(--white); line-height: 1.1; margin-bottom: .75rem;
  text-transform: uppercase;
}
.emergency-block p {
  font-size: 1rem; color: rgba(255,255,255,0.75); line-height: 1.72; max-width: 48ch;
}
.emg-actions { display: flex; flex-direction: column; gap: .875rem; min-width: 220px; }
.btn--white {
  background: var(--white); color: var(--red-dark);
  border: 2px solid var(--white);
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
}
.btn--white:hover { background: rgba(255,255,255,0.9); }
.btn--outline-white {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn--outline-white:hover { border-color: var(--white); }

/* ============================================================
   POSITIONING / DEFENSE BAND
   ============================================================ */
.defense-band {
  background: var(--black); padding: clamp(4rem, 7vw, 6rem) var(--pad-x);
  text-align: center; position: relative; overflow: hidden;
}
.defense-band::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--red) 30%, var(--red) 70%, transparent 100%);
}
.defense-band::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--red) 30%, var(--red) 70%, transparent 100%);
}
.defense-inner { max-width: 820px; margin: 0 auto; }
.defense-band h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700; color: var(--white); line-height: 1.14;
  margin-bottom: 1rem; text-transform: uppercase;
}
.defense-band h2 em { color: var(--red-light); font-style: normal; }
.defense-band > .defense-inner > p {
  font-size: 1.05rem; color: var(--text-2); line-height: 1.8; max-width: 56ch; margin: 0 auto;
}
.defense-stats {
  display: flex; justify-content: center; gap: 4rem; flex-wrap: wrap;
  margin-top: 3rem; padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.def-stat-num {
  font-family: var(--font-head); font-size: 2.5rem; font-weight: 700;
  color: var(--white); line-height: 1; display: block;
}
.def-stat-num .hi { color: var(--red-light); }
.def-stat-label {
  font-size: .75rem; color: var(--text-2);
  letter-spacing: .09em; text-transform: uppercase;
  margin-top: .3rem; display: block;
}

/* ============================================================
   PROCESS
   ============================================================ */
.process-section { background: var(--surface); }
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem; margin-top: 3.5rem; position: relative;
}
.process-grid::before {
  content: ''; position: absolute; top: 26px;
  left: calc(12.5% + 26px); right: calc(12.5% + 26px);
  height: 2px;
  background: linear-gradient(90deg, var(--red), rgba(196,28,28,0.08));
  z-index: 0;
}
.process-step { position: relative; z-index: 1; text-align: center; }
.process-num {
  width: 52px; height: 52px;
  background: var(--card); border: 2px solid var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 1.25rem; font-weight: 700;
  color: var(--red-light); margin: 0 auto 1.25rem;
}
.process-icon { display: block; font-size: 1.4rem; margin-bottom: .4rem; color: var(--text-2); }
.process-step h3 {
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 700;
  color: var(--white); text-transform: uppercase; margin-bottom: .5rem;
}
.process-step p { font-size: .875rem; color: var(--text-2); line-height: 1.65; }

/* ============================================================
   BEFORE / AFTER
   ============================================================ */
.ba-section { background: var(--ink); }
.ba-wrap {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  cursor: col-resize; user-select: none;
  max-width: 960px; margin: 3rem auto 0;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
}
.ba-img { position: absolute; inset: 0; }
.ba-img img { width: 100%; height: 100%; object-fit: cover; }
.ba-img--before { z-index: 1; clip-path: inset(0 50% 0 0); }
.ba-img--before img {
  filter: grayscale(.8) contrast(.85) brightness(.65) saturate(.2);
}
.ba-img--after { z-index: 0; }
.ba-divider {
  position: absolute; top: 0; bottom: 0; left: 50%; z-index: 2;
  width: 3px; background: var(--red);
  transform: translateX(-50%); cursor: col-resize;
}
.ba-handle {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  background: var(--red); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); color: var(--white);
}
.ba-labels {
  display: flex; justify-content: space-between;
  margin-top: 1rem; padding: 0 .5rem;
}
.ba-label {
  font-family: var(--font-head); font-size: .75rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--text-2);
}
.ba-label--after { color: var(--red-light); }

/* ============================================================
   TRUST PILLARS
   ============================================================ */
.trust-section { background: var(--surface); }
.trust-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem; margin-top: 3rem;
}
.trust-item {
  display: flex; flex-direction: column;
  padding: 2rem 1.5rem;
  background: var(--card); border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: var(--radius-lg); gap: .75rem;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.trust-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--red-glow);
}
.trust-icon {
  width: 52px; height: 52px;
  background: var(--red-a10); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--red-light);
}
.trust-item h3 {
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 700;
  color: var(--white); text-transform: uppercase; letter-spacing: .03em;
}
.trust-item p { font-size: .875rem; color: var(--text-2); line-height: 1.65; }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-section { background: var(--black); }
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 3rem;
}
.review-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  display: flex; flex-direction: column;
  position: relative;
  transition: border-color .2s;
}
.review-card:hover { border-color: var(--red-a35); }
.review-quote {
  font-size: 3rem; color: var(--red); line-height: 1;
  font-family: Georgia, serif; margin-bottom: .5rem;
  opacity: .5;
}
.review-stars {
  display: flex; gap: 3px; margin-bottom: 1rem;
  color: var(--red-light); font-size: 1rem;
}
.review-text {
  font-size: .92rem; color: var(--text); line-height: 1.75;
  margin-bottom: 1.5rem; font-style: italic; flex: 1;
}
.review-author { display: flex; flex-direction: column; gap: .15rem; }
.review-name { font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--white); text-transform: uppercase; }
.review-location { font-size: .75rem; color: var(--text-3); }

/* ============================================================
   SERVICE AREA
   ============================================================ */
.area-section { background: var(--surface); }
.area-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem; margin-top: 2.5rem;
}
.area-item {
  display: flex; align-items: center; gap: .6rem;
  padding: 1rem 1.1rem;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-head); font-size: .9rem; font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase; color: var(--text);
  transition: border-color .2s, color .2s, background .2s;
}
.area-item:hover {
  border-color: var(--red-a35); color: var(--white); background: var(--card-hover);
}
.area-item svg { color: var(--red); flex-shrink: 0; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-final {
  background: var(--black);
  border-top: 3px solid var(--red);
  padding: clamp(5rem, 9vw, 8.5rem) var(--pad-x);
  text-align: center; position: relative; overflow: hidden;
}
/* Full-bleed aspirational close — graded so the headline stays crisp */
.cta-final::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, rgba(6,6,6,.88) 0%, rgba(6,6,6,.80) 42%, rgba(6,6,6,.94) 100%),
    radial-gradient(ellipse at 50% 0%, rgba(196,28,28,.18) 0%, transparent 55%),
    url('../img/service-roofing.jpg') center 32% / cover no-repeat;
  pointer-events: none;
}
.cta-final-inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.cta-final h2 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700; color: var(--white); text-transform: uppercase;
  line-height: 1.04; margin-bottom: 1.1rem; letter-spacing: .005em;
}
.cta-final .section-sub { margin-bottom: 2.5rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 1.25rem; }
.cta-note { font-size: .75rem; color: var(--text-3); }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.form-wrap {
  background: var(--card); border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: var(--radius-lg); padding: 2.75rem;
  max-width: 680px; margin: 3.5rem auto 0;
}
.form-wrap h3 {
  font-family: var(--font-head); font-size: 1.3rem; font-weight: 700;
  color: var(--white); text-transform: uppercase; margin-bottom: 1.75rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1rem; }
.form-group.span-2 { grid-column: 1 / -1; }
.form-group label {
  font-family: var(--font-head); font-size: .72rem; font-weight: 600;
  color: var(--text-2); letter-spacing: .08em; text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface); border: 1px solid var(--border-act);
  border-radius: var(--radius); padding: .8rem 1rem;
  color: var(--text); font-family: var(--font-body); font-size: .95rem;
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.form-group input::placeholder { color: var(--text-3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-group select {
  cursor: pointer; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a7a7a' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem;
}
.form-group select option { background: var(--card); }
.form-btn-wrap { margin-top: .5rem; }
.form-btn-wrap .btn { width: 100%; justify-content: center; }
.form-privacy { font-size: .75rem; color: var(--text-3); margin-top: .75rem; text-align: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--black); border-top: 1px solid var(--border);
  padding: 3.5rem var(--pad-x) 1.75rem;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
}
.footer-brand-copy {
  font-size: .875rem; color: var(--text-2); line-height: 1.75;
  margin-top: .875rem; max-width: 28ch;
}
.footer-heading {
  font-family: var(--font-head); font-size: .68rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { font-size: .875rem; color: var(--text-2); transition: color .2s; }
.footer-links a:hover { color: var(--white); }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .875rem; color: var(--text-2); margin-bottom: .65rem;
  line-height: 1.55;
}
.footer-contact-item svg { color: var(--red); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a:hover { color: var(--red-light); }
.footer-bottom {
  max-width: var(--max-w); margin: 2rem auto 0; padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .5rem;
  font-size: .75rem; color: var(--text-3);
}
.footer-bottom a { color: var(--text-3); transition: color .2s; }
.footer-bottom a:hover { color: var(--text-2); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 5.5rem var(--pad-x) 4.5rem;
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--red);
}
.page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 30%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 700; color: var(--white);
  text-transform: uppercase; letter-spacing: .02em; margin-bottom: .875rem;
}
.page-hero p {
  font-size: 1.05rem; color: var(--text-2); max-width: 54ch; margin: 0 auto;
  line-height: 1.75;
}
.page-hero-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2.25rem;
}

/* ============================================================
   GENERIC CONTENT BLOCKS (inner pages)
   ============================================================ */
.content-section { padding: var(--sec-gap) 0; }
.content-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4.5rem; align-items: center; margin-top: 2.5rem;
}
.content-grid.reverse { direction: rtl; }
.content-grid.reverse > * { direction: ltr; }
.content-img {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); position: relative;
}
.content-img::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--red); z-index: 1; border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.content-img img { width: 100%; height: 400px; object-fit: cover; display: block; }
.content-text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700; color: var(--white);
  text-transform: uppercase; margin-bottom: 1rem; line-height: 1.15;
}
.content-text p { font-size: .95rem; color: var(--text-2); line-height: 1.8; margin-bottom: 1.25rem; }

.check-list { display: flex; flex-direction: column; gap: .65rem; margin-bottom: 1.75rem; }
.check-list li {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .9rem; color: var(--text);
}
.check-list li svg { color: var(--red-light); flex-shrink: 0; margin-top: 2px; }

.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem; margin-top: 3rem;
}
.feature-card {
  background: var(--card); border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: var(--radius-lg); padding: 1.75rem;
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 44px; height: 44px;
  background: var(--red-a10); border: 1px solid var(--red-a35);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--red-light); margin-bottom: 1rem;
}
.feature-card h3 {
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 700;
  color: var(--white); text-transform: uppercase; margin-bottom: .4rem;
}
.feature-card p { font-size: .875rem; color: var(--text-2); line-height: 1.65; }

/* FAQ */
.faq-section { background: var(--black); }
.faq-list { max-width: 760px; margin: 3rem auto 0; display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: var(--red-a35); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem; cursor: pointer; gap: 1rem;
  font-family: var(--font-head); font-size: 1rem; font-weight: 600;
  letter-spacing: .03em; text-transform: uppercase;
  color: var(--white); transition: color .2s;
}
.faq-q:hover { color: var(--red-light); }
.faq-q svg { flex-shrink: 0; transition: transform .25s; color: var(--text-2); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: .92rem; color: var(--text-2); line-height: 1.75;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-values {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem; margin-top: 3rem;
}
.value-card {
  background: var(--card); border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: var(--radius-lg); padding: 1.75rem;
  display: flex; flex-direction: column; gap: .75rem;
}
.value-card h3 {
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 700;
  color: var(--white); text-transform: uppercase;
}
.value-card p { font-size: .875rem; color: var(--text-2); line-height: 1.65; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 3.5rem;
  align-items: start; margin-top: 3rem;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-block {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
}
.contact-block-icon {
  width: 46px; height: 46px;
  background: var(--red-a10); border: 1px solid var(--red-a35);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--red-light); margin-bottom: 1rem;
}
.contact-block h3 {
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  color: var(--white); text-transform: uppercase; margin-bottom: .5rem;
}
.contact-block p, .contact-block a {
  font-size: .9rem; color: var(--text-2); line-height: 1.65;
}
.contact-block a:hover { color: var(--red-light); }

/* ============================================================
   404
   ============================================================ */
.not-found {
  min-height: 80vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 4rem var(--pad-x);
}
.not-found-inner h1 {
  font-family: var(--font-head);
  font-size: clamp(6rem, 18vw, 14rem);
  font-weight: 700; color: var(--red-a20); line-height: 1;
  text-transform: uppercase;
}
.not-found-inner h2 {
  font-family: var(--font-head); font-size: 2rem; color: var(--white);
  text-transform: uppercase; margin-bottom: .75rem;
}
.not-found-inner p { font-size: 1rem; color: var(--text-2); margin-bottom: 2rem; }

/* ============================================================
   THANK YOU
   ============================================================ */
.thank-you {
  min-height: 80vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 4rem var(--pad-x);
}
.thank-you-inner { max-width: 560px; }
.ty-check {
  width: 80px; height: 80px; margin: 0 auto 2rem;
  background: var(--red-a10); border: 2px solid var(--red-a35);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--red-light);
}
.thank-you h1 {
  font-family: var(--font-head); font-size: 2.5rem; font-weight: 700;
  color: var(--white); text-transform: uppercase; margin-bottom: .75rem;
}
.thank-you p { font-size: 1rem; color: var(--text-2); line-height: 1.75; margin-bottom: 1.75rem; }

/* ============================================================
   ROOF AGE RISK CALCULATOR
   ============================================================ */
.calc-section { background: var(--black); position: relative; overflow: hidden; }
/* Faint roof-texture atmosphere behind the data tool */
.calc-section::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, rgba(6,6,6,.90) 0%, rgba(6,6,6,.85) 45%, rgba(6,6,6,.97) 100%),
    url('../img/service-roofing-alt.jpg') center / cover no-repeat;
}
.calc-section > .container { position: relative; z-index: 1; }
.calc-card {
  display: grid; grid-template-columns: 1fr 1fr;
  margin-top: 3.5rem;
  background: var(--card); border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(196,28,28,0.12);
}
.calc-inputs-col {
  padding: 2.75rem;
  border-right: 1px solid var(--border);
}
.calc-result-col {
  padding: 2.75rem;
  background: var(--surface);
  display: flex; flex-direction: column; gap: 1rem;
}
.calc-label {
  display: block;
  font-family: var(--font-head); font-size: .68rem; font-weight: 700;
  color: var(--text-2); letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: .875rem;
}
.calc-field { margin-bottom: 2rem; }
.calc-field:last-of-type { margin-bottom: 0; }
.calc-year-ui { display: flex; flex-direction: column; gap: .6rem; }

/* Range slider */
.calc-slider {
  width: 100%; height: 4px; border-radius: 2px;
  appearance: none; -webkit-appearance: none;
  background: linear-gradient(
    to right,
    var(--red) 0%,
    var(--red) var(--slider-fill, 53%),
    var(--border-act) var(--slider-fill, 53%),
    var(--border-act) 100%
  );
  outline: none; cursor: pointer;
}
.calc-slider::-webkit-slider-thumb {
  appearance: none; -webkit-appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--red); border: 2px solid var(--white);
  box-shadow: 0 0 0 4px var(--red-a20); cursor: pointer;
}
.calc-slider::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--red); border: 2px solid var(--white);
  cursor: pointer; border: none;
}
.calc-year-row { display: flex; align-items: center; gap: 1.1rem; }
.calc-year-input {
  width: 108px; flex-shrink: 0;
  background: var(--ink); border: 1px solid var(--border-act);
  border-radius: var(--radius); padding: .65rem .9rem;
  color: var(--white); font-family: var(--font-mono);
  font-size: 1.6rem; font-weight: 700; text-align: center;
  transition: border-color .2s, box-shadow .2s;
}
.calc-year-input:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-glow);
}
.calc-age-badge { font-size: .85rem; color: var(--text-2); line-height: 1.5; }
.calc-age-badge strong { color: var(--text); }

/* Material tabs */
.calc-tabs { display: flex; flex-direction: column; gap: .5rem; }
.calc-tab {
  display: flex; align-items: center; gap: .8rem;
  padding: .875rem 1.1rem;
  background: var(--ink); border: 1px solid var(--border);
  border-radius: var(--radius); cursor: pointer; text-align: left;
  transition: border-color .2s, background .2s, color .2s;
  color: var(--text-2);
}
.calc-tab:hover { border-color: var(--border-act); color: var(--text); }
.calc-tab.active { border-color: var(--red-a35); background: var(--red-a10); color: var(--white); }
.calc-tab svg { flex-shrink: 0; color: var(--text-3); }
.calc-tab.active svg { color: var(--red-light); }
.calc-tab-name {
  font-family: var(--font-head); font-size: .88rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; flex: 1;
}
.calc-tab-life { font-size: .7rem; color: var(--text-3); white-space: nowrap; }
.calc-tab.active .calc-tab-life { color: var(--text-2); }

.calc-disclaimer {
  font-size: .72rem; color: var(--text-3); line-height: 1.6;
  margin-top: 1.5rem; padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

/* Result panel */
.calc-meter { margin-bottom: 1rem; }
.calc-meter-zones {
  display: flex; justify-content: space-between; margin-bottom: .4rem;
}
.cmz {
  font-family: var(--font-head); font-size: .58rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.cmz--low  { color: #22c55e; }
.cmz--mod  { color: #eab308; }
.cmz--high { color: #f97316; }
.cmz--crit { color: #ef4444; }
.calc-meter-track {
  height: 10px; background: var(--ink); border-radius: 10px;
  overflow: hidden; border: 1px solid var(--border);
}
.calc-meter-fill {
  height: 100%; width: 72%; border-radius: 10px;
  background: linear-gradient(90deg, #22c55e, #f97316);
  transition: width .65s cubic-bezier(.25,.46,.45,.94), background .65s ease;
}
.calc-risk-badge {
  display: inline-flex; align-items: center;
  font-family: var(--font-head); font-size: .75rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .32rem .85rem; border-radius: 4px;
  background: var(--card); border: 1px solid var(--border);
}
.calc-risk-badge[data-risk="low"]      { color: #22c55e; border-color: rgba(34,197,94,.3);  background: rgba(34,197,94,.08); }
.calc-risk-badge[data-risk="moderate"] { color: #eab308; border-color: rgba(234,179,8,.3);  background: rgba(234,179,8,.08); }
.calc-risk-badge[data-risk="high"]     { color: #f97316; border-color: rgba(249,115,22,.3); background: rgba(249,115,22,.08); }
.calc-risk-badge[data-risk="critical"] { color: #ef4444; border-color: rgba(239,68,68,.3);  background: rgba(239,68,68,.08); }
.calc-result-title {
  font-family: var(--font-head); font-size: 1.3rem; font-weight: 700;
  color: var(--white); text-transform: uppercase; margin: .4rem 0;
}
.calc-result-msg { font-size: .88rem; color: var(--text-2); line-height: 1.75; flex: 1; }
.calc-result-cta { margin-top: .25rem; align-self: flex-start; }

/* ============================================================
   COST OF DELAY
   ============================================================ */
.delay-section { background: var(--ink); }
.delay-heading-em { color: var(--red-light); font-style: normal; }
.delay-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  margin-top: 3.5rem;
  background: var(--border); gap: 1px;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border);
}
.delay-col {
  background: var(--card); display: flex; flex-direction: column;
  transition: background .2s;
}
.delay-col:hover { background: var(--card-hover); }
.delay-col[data-risk="critical"] { background: rgba(196,28,28,0.04); }
.delay-col[data-risk="critical"]:hover { background: rgba(196,28,28,0.07); }
.delay-header { padding: 1.75rem 1.4rem 0; }
.delay-when {
  display: block; font-family: var(--font-head); font-size: .66rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--text-3); margin-bottom: .7rem;
}
.delay-cost {
  font-family: var(--font-mono); font-size: clamp(1.05rem,2vw,1.45rem);
  font-weight: 700; color: var(--white); line-height: 1; margin-bottom: .5rem;
}
.delay-sep { color: var(--text-3); }
.delay-verdict {
  display: inline-block; font-family: var(--font-head); font-size: .62rem;
  font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  padding: .22rem .6rem; border-radius: 3px; margin-bottom: 1.1rem;
}
.delay-verdict--safe     { background: rgba(34,197,94,.1);  color: #22c55e; }
.delay-verdict--warn     { background: rgba(234,179,8,.1);  color: #eab308; }
.delay-verdict--danger   { background: rgba(249,115,22,.1); color: #f97316; }
.delay-verdict--critical { background: rgba(239,68,68,.1);  color: #ef4444; }
.delay-bar-wrap {
  margin: 0 1.4rem; height: 100px; display: flex; align-items: flex-end;
  border-bottom: 2px solid var(--border-act);
}
.delay-bar {
  width: 100%; height: var(--bar-h, 14%);
  border-radius: 3px 3px 0 0;
}
.delay-col[data-risk="safe"]     .delay-bar { background: linear-gradient(to top, rgba(34,197,94,.75),  rgba(34,197,94,.12)); }
.delay-col[data-risk="warn"]     .delay-bar { background: linear-gradient(to top, rgba(234,179,8,.8),   rgba(234,179,8,.1));  }
.delay-col[data-risk="danger"]   .delay-bar { background: linear-gradient(to top, rgba(249,115,22,.9),  rgba(249,115,22,.1)); }
.delay-col[data-risk="critical"] .delay-bar { background: linear-gradient(to top, rgba(196,28,28,1),    rgba(196,28,28,.15)); }
.delay-items {
  padding: 1.1rem 1.4rem; flex: 1;
  display: flex; flex-direction: column; gap: .4rem;
}
.delay-items li {
  font-size: .78rem; color: var(--text-2); padding-left: 1rem; position: relative; line-height: 1.45;
}
.delay-items li::before { content: '→'; position: absolute; left: 0; color: var(--text-3); font-size: .68rem; }
.delay-col[data-risk="warn"]     .delay-items li::before { content: '✗'; color: rgba(234,179,8,.5); }
.delay-col[data-risk="danger"]   .delay-items li::before { content: '✗'; color: rgba(249,115,22,.5); }
.delay-col[data-risk="critical"] .delay-items li::before { content: '✗'; color: rgba(196,28,28,.6); }
.delay-note {
  padding: 1rem 1.4rem 1.4rem; font-size: .74rem; color: var(--text-3);
  font-style: italic; line-height: 1.55; border-top: 1px solid var(--border);
}
.delay-col[data-risk="safe"] .delay-note { color: rgba(34,197,94,.5); font-style: normal; }
.delay-col[data-risk="critical"] .delay-note { color: rgba(239,68,68,.55); font-style: normal; font-weight: 500; }
.delay-cta {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; flex-wrap: wrap; margin-top: 3rem;
}

/* ============================================================
   THE DORMAN STANDARD
   ============================================================ */
.standard-section { background: var(--surface); }
.standard-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem; margin-top: 3.5rem;
}
.standard-col {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border);
}
.standard-dorman  { border-top: 3px solid var(--red); }
.standard-industry { border-top: 3px solid rgba(255,255,255,.06); }
.standard-col-header {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.6rem 1.75rem; border-bottom: 1px solid var(--border);
}
.standard-dorman .standard-col-header  { background: rgba(196,28,28,.06); }
.standard-industry .standard-col-header { background: rgba(255,255,255,.02); }
.standard-col-icon {
  width: 44px; height: 44px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.standard-col-icon--dorman  { background: var(--red-a10); border: 1px solid var(--red-a35); color: var(--red-light); }
.standard-col-icon--industry { background: rgba(255,255,255,.04); border: 1px solid var(--border); color: var(--text-3); }
.standard-col-header h3 {
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  text-transform: uppercase;
}
.standard-dorman .standard-col-header h3  { color: var(--white); }
.standard-industry .standard-col-header h3 { color: var(--text-2); }
.standard-col-header p { font-size: .75rem; color: var(--text-3); margin-top: .15rem; }
.standard-list { list-style: none; }
.standard-item {
  display: flex; gap: .875rem; align-items: flex-start;
  padding: 1.1rem 1.75rem; border-bottom: 1px solid var(--border);
}
.standard-item:last-child { border-bottom: none; }
.standard-mark {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.standard-mark--check { background: var(--red-a10); border: 1px solid var(--red-a35); color: var(--red-light); }
.standard-mark--cross { background: rgba(255,255,255,.03); border: 1px solid var(--border); color: var(--text-3); }
.standard-item strong {
  display: block; font-family: var(--font-head); font-size: .82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .03em; margin-bottom: .25rem;
}
.standard-dorman .standard-item strong  { color: var(--white); }
.standard-industry .standard-item strong { color: var(--text-2); }
.standard-item p { font-size: .8rem; color: var(--text-2); line-height: 1.6; }
.standard-industry .standard-item p { color: var(--text-3); }
.standard-cta { text-align: center; margin-top: 2.75rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   SCROLL ANIMATION
   ============================================================ */
.fade-up {
  opacity: 0; transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-up.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .services-grid    { grid-template-columns: 1fr 1fr; }
  .reviews-grid     { grid-template-columns: 1fr 1fr; }
  .trust-grid       { grid-template-columns: 1fr 1fr; }
  .footer-inner     { grid-template-columns: 1fr 1fr; }
  .footer-inner > :first-child { grid-column: 1 / -1; }
  .delay-grid       { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .process-grid    { grid-template-columns: 1fr 1fr; }
  .process-grid::before { display: none; }
  .emergency-inner { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .emergency-block p { margin: 0 auto; }
  .emg-actions { align-items: center; }
  .content-grid    { grid-template-columns: 1fr; gap: 2.5rem; }
  .content-grid.reverse { direction: ltr; }
  .contact-grid    { grid-template-columns: 1fr; }
  .hero-stats      { grid-template-columns: 1fr 1fr; }
  .calc-card       { grid-template-columns: 1fr; }
  .calc-inputs-col { border-right: none; border-bottom: 1px solid var(--border); }
  .standard-wrap   { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero { min-height: 100svh; }
  .nav {
    display: none; flex-direction: column; align-items: stretch;
    position: fixed; inset: 72px 0 0 0;
    background: var(--ink); padding: 1.5rem; overflow-y: auto;
    gap: .25rem; z-index: 199; border-top: 1px solid var(--border);
  }
  .nav.is-open { display: flex; }
  .nav .navlink { padding: .875rem 1rem; border-radius: 6px; font-size: 1rem; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .services-grid   { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .reviews-grid    { grid-template-columns: 1fr; }
  .trust-grid      { grid-template-columns: 1fr 1fr; }
  .footer-inner    { grid-template-columns: 1fr; }
  .defense-stats   { gap: 2rem; }
}

/* ============================================================
   EMERGENCY RESPONSE STRIP
   ============================================================ */
.emg-strip {
  background: var(--red-dark);
  border-bottom: 1px solid rgba(0,0,0,.25);
  padding: .45rem var(--pad-x);
}
.emg-strip-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 1.25rem; flex-wrap: wrap;
}
.emg-strip-dot {
  width: 7px; height: 7px;
  background: var(--white); border-radius: 50%; flex-shrink: 0;
  animation: livepulse 2s ease-in-out infinite;
}
.emg-strip-text {
  font-family: var(--font-head); font-size: .75rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.9);
}
.emg-strip-cta {
  font-family: var(--font-head); font-size: .75rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--white); background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.3); padding: .3rem .9rem;
  border-radius: 4px; white-space: nowrap; transition: background .2s;
}
.emg-strip-cta:hover { background: rgba(0,0,0,.42); }

/* ============================================================
   STAGGER ANIMATION DELAYS
   ============================================================ */
.services-grid .svc-card:nth-child(1) { transition-delay: 0s; }
.services-grid .svc-card:nth-child(2) { transition-delay: .1s; }
.services-grid .svc-card:nth-child(3) { transition-delay: .2s; }
.process-grid .process-step:nth-child(1) { transition-delay: 0s; }
.process-grid .process-step:nth-child(2) { transition-delay: .1s; }
.process-grid .process-step:nth-child(3) { transition-delay: .2s; }
.process-grid .process-step:nth-child(4) { transition-delay: .3s; }
.reviews-grid .review-card:nth-child(1) { transition-delay: 0s; }
.reviews-grid .review-card:nth-child(2) { transition-delay: .12s; }
.reviews-grid .review-card:nth-child(3) { transition-delay: .24s; }

/* ============================================================
   SYSTEM EDUCATION CALLOUT
   ============================================================ */
.system-callout {
  margin-top: 3rem;
  background: var(--card); border: 1px solid var(--border);
  border-top: 3px solid var(--red); border-radius: var(--radius-lg);
  padding: 2.5rem; text-align: center;
}
.system-callout h3 {
  font-family: var(--font-head); font-size: clamp(1.2rem,2.2vw,1.75rem);
  font-weight: 700; color: var(--white); text-transform: uppercase;
  margin: .5rem 0 .875rem; line-height: 1.15;
}
.system-callout h3 em { color: var(--red-light); font-style: normal; }
.system-callout p { font-size: .95rem; color: var(--text-2); line-height: 1.75; max-width: 62ch; margin: 0 auto; }

@media (max-width: 540px) {
  .emg-strip-text { display: none; }
  .process-grid    { grid-template-columns: 1fr; }
  .hero-actions    { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .trust-grid      { grid-template-columns: 1fr; }
  .form-row        { grid-template-columns: 1fr; }
  .cta-actions     { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 340px; justify-content: center; }
  .hero-stats      { grid-template-columns: 1fr 1fr; }
  .hero-trust      { flex-direction: column; gap: .75rem; }
  .ba-wrap         { aspect-ratio: 4 / 3; }
  .delay-grid      { grid-template-columns: 1fr; }
  .delay-cta       { flex-direction: column; align-items: center; }
  .delay-cta .btn  { width: 100%; max-width: 340px; justify-content: center; }
  .calc-year-row   { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .standard-cta    { flex-direction: column; align-items: center; }
  .standard-cta .btn { width: 100%; max-width: 340px; justify-content: center; }
}

/* ============================================================
   CONCEPT D — DIAGNOSTIC HERO
   ============================================================ */

.diag-hero .hero-content { max-width: 100%; padding: 0; }
.diag-hero .hero-body    { align-items: flex-start; padding-top: 1.5rem; }

/* max-width: 100% lets the h1 render in 2 lines instead of 4 at 660px */
.diag-statement { max-width: 100%; margin-bottom: 1.25rem; }
.diag-statement .hero-badge { margin-bottom: 1rem; }
.diag-statement h1          { margin-bottom: .75rem; }

/* Two-tier editorial headline — quiet lead, oversized punch line */
.diag-h1 { display: block; }
.diag-h1 .h1-lead {
  display: block;
  font-size: clamp(1.3rem, 2.5vw, 2.1rem);
  font-weight: 500; color: var(--text-2);
  letter-spacing: .03em; line-height: 1.12;
  margin-bottom: .45rem;
}
.diag-h1 .h1-punch {
  display: block;
  font-size: clamp(3rem, 8.2vw, 6.75rem);
  font-weight: 700; line-height: .9; letter-spacing: -.01em;
  color: var(--white);
}
.diag-statement-sub {
  font-size: clamp(.85rem, 1.1vw, .95rem);
  color: var(--text-2); line-height: 1.7; max-width: 60ch;
}

.diag-rule {
  border: none; border-top: 1px solid rgba(255,255,255,.08);
  margin: 0 0 1.75rem;
}

.diag-selector { width: 100%; }
.diag-question {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-head);
  font-size: clamp(.82rem, 1.3vw, 1rem); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--text); margin-bottom: 1.1rem;
}
.diag-question::before {
  content: ''; width: 22px; height: 2px; background: var(--red); flex-shrink: 0;
}

.diag-cards { display: flex; gap: 1rem; margin-bottom: 1rem; }

.diag-card {
  flex: 1; min-width: 0;
  padding: 1.4rem 1.35rem 1.45rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,0) 42%),
    rgba(12,12,12,.72);
  border: 1.5px solid rgba(255,255,255,.10);
  border-radius: 12px;
  cursor: pointer; text-align: left;
  display: flex; flex-direction: column;
  justify-content: space-between;
  min-height: 176px; position: relative; overflow: hidden;
  transition: border-color .25s, background .25s,
              transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
/* Left red bar */
.diag-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--red);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .3s ease; z-index: 2;
}
/* Crimson glow that rises from the base on hover / active */
.diag-card::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 72%;
  background: radial-gradient(ellipse at 50% 125%, rgba(196,28,28,.30) 0%, transparent 70%);
  opacity: 0; transition: opacity .3s ease; z-index: 0;
}
.diag-card > * { position: relative; z-index: 1; }

.diag-card:hover {
  border-color: rgba(196,28,28,.5);
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(0,0,0,.5);
}
.diag-card:hover::after { opacity: .6; }
.diag-card:hover::before,
.diag-card.is-active::before { transform: scaleY(1); }

.diag-card.is-active {
  border-color: var(--red);
  background:
    linear-gradient(180deg, rgba(196,28,28,.10) 0%, rgba(255,255,255,0) 46%),
    rgba(24,8,8,.80);
  box-shadow: 0 0 0 1px var(--red-a35),
              0 20px 46px rgba(120,10,10,.34),
              inset 0 0 50px rgba(196,28,28,.06);
  transform: translateY(-5px);
}
.diag-card.is-active::after { opacity: 1; }

.diag-card:focus-visible { outline: 2px solid var(--red-light); outline-offset: 3px; }

.diag-card-header {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}
.diag-card-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--red-a10); border: 1px solid var(--red-a20);
  border-radius: 9px; color: var(--red-light);
  transition: background .25s, border-color .25s, transform .25s, color .25s;
}
.diag-card-icon svg { width: 21px; height: 21px; }
.diag-card:hover .diag-card-icon { transform: scale(1.06); }
.diag-card.is-active .diag-card-icon {
  background: var(--red); border-color: var(--red); color: #fff;
}
.diag-card-tag {
  font-family: var(--font-head); font-size: .6rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-3); padding: .22rem .55rem;
  border-radius: 4px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.06);
  transition: color .25s, background .25s, border-color .25s;
}
.diag-card.is-active .diag-card-tag {
  color: #fff; background: var(--red-a20); border-color: var(--red-a35);
}
.diag-card-cta {
  font-family: var(--font-head); font-size: clamp(.95rem, 1.25vw, 1.12rem);
  font-weight: 700; letter-spacing: .015em; text-transform: uppercase;
  color: var(--white); line-height: 1.18; display: block;
  transition: color .2s;
}
.diag-card.is-active .diag-card-cta { color: #fff; }

.diag-hint {
  font-size: .72rem; color: var(--text-3);
  letter-spacing: .05em; text-align: center; padding: .4rem 0 0;
}

/* ============================================================
   CONCEPT D — ADAPTIVE CONTENT BAND
   ============================================================ */
.adaptive-band {
  background: var(--ink);
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.adaptive-default {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 2.5rem var(--pad-x); gap: .4rem;
}
.adaptive-default-prompt {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--font-head); font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--text-3);
}
.adaptive-default-prompt::before { content: '↑'; font-size: 1rem; color: var(--text-3); }
.adaptive-default-sub { font-size: .78rem; color: var(--text-3); font-style: italic; }

.adaptive-path { animation: adaptFade .3s ease both; }
@keyframes adaptFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.adaptive-tag {
  display: inline-block;
  font-family: var(--font-head); font-size: .65rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--red-light); margin-bottom: .875rem;
  border-left: 2px solid var(--red); padding-left: .75rem;
}
.adaptive-tag--alert { color: #ff6b6b; }

.adaptive-storm-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 2.5rem var(--pad-x);
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 3rem;
  border-left: 4px solid var(--red);
}
.adaptive-storm-left h2,
.adaptive-std h2 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700; color: var(--white); text-transform: uppercase;
  line-height: 1.1; margin-bottom: .625rem;
}
.adaptive-storm-left p,
.adaptive-std p { font-size: .9rem; color: var(--text-2); line-height: 1.75; max-width: 52ch; margin-bottom: .75rem; }
.adaptive-checklist {
  list-style: none; padding: 0; margin: .5rem 0 0;
  display: flex; flex-direction: column; gap: .35rem;
}
.adaptive-checklist li {
  font-size: .85rem; color: var(--text-2);
  padding-left: 1.1rem; position: relative;
}
.adaptive-checklist li::before {
  content: '✓'; position: absolute; left: 0; color: var(--red-light); font-size: .75rem;
}
.adaptive-storm-actions,
.adaptive-std-actions { display: flex; flex-direction: column; gap: .75rem; min-width: 220px; }

.adaptive-std {
  max-width: var(--max-w); margin: 0 auto;
  padding: 2.5rem var(--pad-x);
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 3rem;
}
.adaptive-pullquote {
  margin-top: .25rem; padding: .625rem .875rem;
  border-left: 2px solid rgba(196,28,28,.3);
  font-style: italic; font-size: .85rem; color: var(--text-3); line-height: 1.6;
}

/* ============================================================
   CONCEPT D — TRUST AUTHORITY BAR
   ============================================================ */
.trust-bar-sec {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-bar-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: stretch;
}
.trust-signal {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 1.25rem 1rem; text-align: center;
  border-right: 1px solid var(--border);
}
.trust-signal:last-child { border-right: none; }
.trust-num {
  font-family: var(--font-head);
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  font-weight: 700; color: var(--white); line-height: 1; margin-bottom: .3rem;
}
.trust-star { color: var(--red-light); }
.trust-label {
  font-size: .6rem; color: var(--text-3);
  letter-spacing: .1em; text-transform: uppercase;
}

/* ============================================================
   CONCEPT D — STANDARD STATEMENT (editorial 2-col manifesto)
   ============================================================ */
.standard-stmt {
  position: relative; overflow: hidden;
  background: var(--black);
  border-top: 3px solid var(--red);
  padding: clamp(5rem, 9vw, 9rem) 0;
}
/* Full-bleed photographic editorial — premium home graded into the dark */
.standard-stmt::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(96deg, rgba(6,6,6,.985) 0%, rgba(6,6,6,.93) 38%, rgba(6,6,6,.66) 72%, rgba(6,6,6,.40) 100%),
    linear-gradient(0deg, rgba(6,6,6,.92) 0%, rgba(6,6,6,0) 50%),
    url('../img/ba-roof.jpg') right center / cover no-repeat;
}
.standard-stmt-grid {
  position: relative; z-index: 1;
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid; grid-template-columns: 3fr 2fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.standard-stmt-left  { padding-right: 0; }
.standard-stmt-left .eyebrow { display: inline-flex; margin-bottom: 1.25rem; }
.standard-stmt-left h2 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  font-weight: 700; color: var(--white); text-transform: uppercase;
  line-height: .98; letter-spacing: .005em; margin-bottom: 1.6rem;
}
.standard-stmt-left p {
  font-size: 1.02rem; color: var(--text); line-height: 1.8; margin-bottom: 1.15rem;
  max-width: 54ch;
}
.standard-stmt-left p:last-child { margin-bottom: 0; }
.standard-stmt-div   { display: none; }
.standard-stmt-right {
  padding: clamp(1.5rem, 2.5vw, 2.25rem) clamp(1.5rem, 3vw, 2.5rem);
  background: rgba(9,9,9,.60);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-act);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}
.stmt-proof {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.stmt-proof:first-child { padding-top: 0; }
.stmt-proof:last-child  { border-bottom: none; padding-bottom: 0; }
.stmt-proof-num {
  display: block; font-family: var(--font-head);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700; color: var(--white); line-height: 1; margin-bottom: .5rem;
}
.stmt-proof-num .hi { color: var(--red-light); }
.stmt-proof-label {
  display: block; font-size: .85rem; color: var(--text-2); line-height: 1.6;
}

/* ============================================================
   RESPONSIVE — Concept D Sections
   ============================================================ */
@media (max-width: 1100px) {
  .adaptive-storm-inner,
  .adaptive-std { grid-template-columns: 1fr; gap: 1.5rem; }
  .adaptive-storm-actions,
  .adaptive-std-actions { flex-direction: row; min-width: 0; }
}

@media (max-width: 900px) {
  .standard-stmt-grid { grid-template-columns: 1fr; }
  .standard-stmt-div  { display: none; }
  .standard-stmt-left { padding-right: 0; margin-bottom: 2.5rem; }
  .stmt-proof:first-child { padding-top: 0; }
}

@media (max-width: 768px) {
  .diag-cards { flex-wrap: wrap; }
  .diag-card  { flex: 1 1 calc(50% - .44rem); min-height: 130px; }
  .adaptive-storm-actions,
  .adaptive-std-actions { flex-direction: column; }
  .trust-bar-inner { flex-wrap: wrap; }
  .trust-signal    { flex: 1 1 33.33%; }
}

@media (max-width: 540px) {
  .diag-cards { flex-direction: column; }
  .diag-card  { min-height: 0; flex-direction: row; align-items: center; padding: .875rem 1rem; }
  .diag-card-header { margin-bottom: 0; flex: 0 0 auto; gap: .5rem; }
  .trust-bar-inner  { flex-direction: column; }
  .trust-signal     { flex: none; width: 100%; border-right: none; border-bottom: 1px solid var(--border); }
  .trust-signal:last-child { border-bottom: none; }
  .adaptive-storm-inner { border-left: none; border-top: 3px solid var(--red); }
}
