/* Rollcall Research — shared design tokens & components
   Apple.com-inspired: system font stack, generous whitespace, single accent color. */

:root {
  --bg:          #ececee;
  --bg-alt:      #e1e3e6;
  --surface:     #ffffff;
  --ink:         #1d1d1f;
  --ink-soft:    #6e6e73;
  --accent:      #2f5ef5;
  --accent-ink:  #ffffff;
  --accent-soft: #e2e9fb;
  --porsche-grey: #53575e;
  --divider:     rgba(0,0,0,0.09);
  --shadow:      0 20px 40px -18px rgba(0,0,0,0.18);
  --verified:    #2f5ef5;
  --inferred:    #9a6a10;
  --absent:      #6e6e73;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Helvetica Neue", Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:          #1c1d1f;
    --bg-alt:      #232427;
    --surface:     #292a2d;
    --ink:         #f2f2f3;
    --ink-soft:    #9a9b9f;
    --accent:      #5b8fff;
    --accent-ink:  #071230;
    --accent-soft: rgba(91,143,255,0.18);
    --porsche-grey: #7a7e85;
    --divider:     rgba(255,255,255,0.12);
    --shadow:      0 20px 40px -18px rgba(0,0,0,0.6);
    --verified:    #5b8fff;
    --inferred:    #e0a940;
    --absent:      #9a9b9f;
  }
}
:root[data-theme="dark"] {
  --bg:          #1c1d1f;
  --bg-alt:      #232427;
  --surface:     #292a2d;
  --ink:         #f2f2f3;
  --ink-soft:    #9a9b9f;
  --accent:      #5b8fff;
  --accent-ink:  #071230;
  --accent-soft: rgba(91,143,255,0.18);
  --porsche-grey: #7a7e85;
  --divider:     rgba(255,255,255,0.12);
  --shadow:      0 20px 40px -18px rgba(0,0,0,0.6);
  --verified:    #5b8fff;
  --inferred:    #e0a940;
  --absent:      #9a9b9f;
}
:root[data-theme="light"] {
  --bg:          #ececee;
  --bg-alt:      #e1e3e6;
  --surface:     #ffffff;
  --ink:         #1d1d1f;
  --ink-soft:    #6e6e73;
  --accent:      #2f5ef5;
  --accent-ink:  #ffffff;
  --accent-soft: #e2e9fb;
  --porsche-grey: #53575e;
  --divider:     rgba(0,0,0,0.09);
  --shadow:      0 20px 40px -18px rgba(0,0,0,0.18);
  --verified:    #2f5ef5;
  --inferred:    #9a6a10;
  --absent:      #6e6e73;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

a { color: inherit; text-decoration: none; }

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

img { max-width: 100%; display: block; }

/* ---------- nav ---------- */

header.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--divider);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  height: 52px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-right: auto;
}

.wordmark .mark {
  width: 22px;
  height: 22px;
  flex: none;
}

nav.links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav.links a {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--ink);
  opacity: 0.8;
  transition: opacity 0.15s ease;
}

nav.links a:hover,
nav.links a[aria-current="page"] { opacity: 1; }

nav.links a.tel {
  opacity: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

nav.links a.nav-highlight {
  opacity: 1;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-weight: 590;
}
nav.links a.nav-highlight:hover { filter: brightness(1.08); }
@media (max-width: 40rem) {
  nav.links.is-open a.nav-highlight { border-radius: 999px; margin: 0.4rem 0; }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 1.1rem;
  padding: 0.5rem;
  cursor: pointer;
}

/* header rides over the dark data-scroll image on the homepage */
header.site-header {
  transition: background-color 0.3s ease;
}

header.site-header.on-dark {
  background: rgba(4,8,18,0.55);
  border-bottom-color: rgba(255,255,255,0.14);
}

header.site-header.on-dark .wordmark,
header.site-header.on-dark nav.links a,
header.site-header.on-dark .nav-toggle {
  color: #fff;
}

header.site-header.on-dark nav.links a[aria-current="page"] { opacity: 1; }

@media (max-width: 40rem) {
  nav.links { display: none; }
  .nav-toggle { display: block; margin-left: auto; }

  nav.links.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--divider);
    padding: 0.25rem clamp(1.25rem, 4vw, 3rem) 0.75rem;
    box-shadow: var(--shadow);
  }

  nav.links.is-open a {
    padding: 0.85rem 0;
    border-top: 1px solid var(--divider);
    opacity: 1;
  }

  nav.links.is-open a:first-child { border-top: none; }
}

/* ---------- eyebrow / buttons (shared) ---------- */

.eyebrow {
  display: block;
  font-size: 0.8125rem;
  font-weight: 590;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 1.1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.75rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 1rem;
  font-weight: 590;
  border-radius: 980px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(0,0,0,0.35); }

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--accent);
}

.chev { transition: transform 0.15s ease; }
.btn-text:hover .chev,
.tile:hover .chev,
.example-featured:hover .chev { transform: translateX(3px); }

/* ---------- homepage hero (now the first slide inside data-scroll) ---------- */

.ds-hero {
  padding: clamp(1.5rem, 4vw, 2.5rem) 0;
  text-align: center;
}

.ds-hero h1 {
  margin: 0 auto;
  max-width: 20ch;
  font-size: clamp(2.5rem, 6.6vw, 5.5rem);
  font-weight: 660;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
  color: #fff;
}

.ds-hero .lede {
  max-width: 40rem;
  margin: 1.5rem auto 0;
  font-size: clamp(1.05rem, 1.9vw, 1.3rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
  text-wrap: balance;
}

.ds-hero .btn-text { color: #cfe0ff; }

.cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

/* ---------- subpage hero (smaller) ---------- */

.page-hero {
  padding: clamp(3.5rem, 9vw, 6rem) 0 clamp(2.5rem, 6vw, 3.5rem);
  text-align: center;
  border-bottom: 1px solid var(--divider);
}

.page-hero h1 {
  margin: 0 auto;
  max-width: 22ch;
  font-size: clamp(2.25rem, 5.4vw, 3.75rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}

.page-hero .lede {
  max-width: 38rem;
  margin: 1.25rem auto 0;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: balance;
}

/* ---------- examples (homepage) ---------- */

.examples { padding: clamp(4rem, 9vw, 6.5rem) 0 0; }

.section-lede {
  max-width: 34rem;
  margin: 0 auto clamp(2.5rem, 6vw, 3.5rem);
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.tiles-heading {
  text-align: center;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 630;
  letter-spacing: -0.025em;
  margin: 0 0 clamp(2rem, 5vw, 3rem);
}

.example-featured {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  background: var(--bg-alt);
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 3.25rem);
  margin-bottom: 1.25rem;
  transition: transform 0.2s ease;
}

.example-featured:hover { transform: translateY(-3px); }

.ef-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 620;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.3rem 0.7rem;
  border-radius: 980px;
  margin-bottom: 0.9rem;
}

.ef-text h3 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 640;
  letter-spacing: -0.02em;
}

.ef-text p {
  margin: 0;
  max-width: 32ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.5;
}

.mini-stats { display: flex; gap: clamp(1.5rem, 4vw, 3rem); margin: 0; flex: none; }

.mstat dt { font-size: 0.75rem; color: var(--ink-soft); margin: 0 0 0.4rem; white-space: nowrap; }

.mstat dd {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 640;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.mstat.is-accent dd { color: var(--accent); }

.example-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

.example-card {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: 20px;
  padding: 1.75rem;
}

.example-card h4 { margin: 0 0 0.5rem; font-size: 1.05rem; font-weight: 620; letter-spacing: -0.01em; }
.example-card p { margin: 0; font-size: 0.92rem; line-height: 1.5; color: var(--ink-soft); }

@media (max-width: 48rem) {
  .example-featured { flex-direction: column; align-items: stretch; text-align: center; }
  .mini-stats { justify-content: center; }
  .example-grid { grid-template-columns: 1fr; }
}

/* ---------- data scroll (parallax / pinned) ---------- */

.data-scroll {
  position: relative;
  background: linear-gradient(180deg, #05070f 0%, #060c1e 40%, #030509 82%, var(--bg) 100%);
  overflow: clip;
}

.data-scroll-pin {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.data-scroll-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.55) brightness(1.28) contrast(1.08);
  will-change: transform;
}

.data-scroll-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, transparent 88%, var(--bg) 100%),
    radial-gradient(55% 60% at 50% 50%, rgba(4,8,18,0.55), rgba(4,8,18,0.15) 100%);
}

.data-scroll-content {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 8vw, 5rem) 0;
  color: #fff;
  text-align: center;
}

.data-scroll-content .eyebrow { margin-bottom: 1.5rem; color: #bcdcff; }

.ds-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0;
}

.ds-num {
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 660;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, #ffffff, #86a8ff 60%, #2f5ef5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ds-label {
  font-size: 1.05rem;
  color: #cfe0f5;
  letter-spacing: 0.01em;
}

/* enhanced (scroll-jacked) state — added by JS only when motion is welcome */

.data-scroll.is-enhanced { height: 230vh; }

.data-scroll.is-enhanced .data-scroll-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 100vh;
}

.data-scroll.is-enhanced .data-scroll-content {
  display: grid;
  width: 100%;
}

.data-scroll.is-enhanced .ds-line {
  grid-area: 1 / 1;
  align-self: center;
  justify-self: center;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.data-scroll.is-enhanced .ds-line.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 40rem) {
  .data-scroll.is-enhanced { height: 210vh; }
}

@media (prefers-reduced-motion: reduce) {
  .data-scroll-img { transform: none !important; }
}


/* ---------- generic content sections (subpages) ---------- */

.content-section { padding: clamp(3.5rem, 8vw, 6rem) 0; border-bottom: 1px solid var(--divider); }
.content-section:last-of-type { border-bottom: none; }

.content-section .kicker {
  text-align: center;
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  font-weight: 630;
  letter-spacing: -0.02em;
  max-width: 34rem;
  margin: 0 auto 3rem;
  text-wrap: balance;
}

.prose { max-width: 42rem; margin: 0 auto; font-size: 1.08rem; line-height: 1.6; color: var(--ink-soft); }
.prose p { margin: 0 0 1.15rem; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 600; }

.pull {
  max-width: 34rem;
  margin: 2rem auto;
  padding-left: 1.5rem;
  border-left: 3px solid var(--accent);
}
.pull p {
  margin: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}

/* numbered rows — used only where order is real (workbook tabs, process steps) */

.row-list { max-width: 42rem; margin: 0 auto; display: flex; flex-direction: column; }

.row-item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--divider);
}
.row-item:first-child { border-top: none; padding-top: 0; }

.row-num {
  font-size: 0.85rem;
  font-weight: 620;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  padding-top: 0.2rem;
}

.row-item h4 { margin: 0 0 0.35rem; font-size: 1.1rem; font-weight: 620; letter-spacing: -0.01em; }
.row-item p { margin: 0; color: var(--ink-soft); line-height: 1.55; }

@media (max-width: 34rem) {
  .row-item { grid-template-columns: 1fr; gap: 0.3rem; }
}

/* ---------- coverage legend ---------- */

.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.75rem; margin: 2.5rem 0; }
.legend-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: var(--ink-soft); }
.legend-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.legend-dot.verified { background: var(--verified); }
.legend-dot.inferred { background: var(--inferred); }
.legend-dot.absent   { background: var(--absent); }

.big-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}
.big-stat { text-align: center; padding: 2rem 1rem; border-left: 1px solid var(--divider); }
.big-stat:first-child { border-left: none; }
.big-stat dt { font-size: 0.8rem; color: var(--ink-soft); margin: 0 0 0.5rem; }
.big-stat dd { margin: 0; font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 650; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.big-stat.is-accent dd { color: var(--accent); }

@media (max-width: 34rem) {
  .big-stat-row { grid-template-columns: 1fr; }
  .big-stat { border-left: none; border-top: 1px solid var(--divider); }
  .big-stat:first-child { border-top: none; }
}

/* ---------- pricing cards ---------- */

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; max-width: 56rem; margin: 0 auto; }

@media (max-width: 55rem) { .price-grid { grid-template-columns: 1fr; } }

.price-card {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: 24px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
}

.price-card .eyebrow { margin-bottom: 1.25rem; }
.price-card .amount { font-size: 2.25rem; font-weight: 660; letter-spacing: -0.02em; margin: 0 0 0.35rem; font-variant-numeric: tabular-nums; }
.price-card .amount small { font-size: 1rem; font-weight: 500; color: var(--ink-soft); }
.price-card p { margin: 0; color: var(--ink-soft); line-height: 1.5; font-size: 0.95rem; }

.terms-block {
  max-width: 42rem;
  margin: clamp(3rem, 7vw, 4rem) auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.terms-block p { margin: 0; color: var(--ink-soft); line-height: 1.6; }
.terms-block strong { color: var(--ink); font-weight: 600; }

/* ---------- contact cards ---------- */

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; max-width: 56rem; margin: 0 auto; }

@media (max-width: 55rem) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: 24px;
  padding: 2rem 1.75rem;
  text-align: center;
}

.contact-card h4 { margin: 0 0 0.6rem; font-size: 0.85rem; font-weight: 620; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }
.contact-card .contact-value { display: block; margin: 0 0 0.6rem; font-size: 1.2rem; font-weight: 620; color: var(--accent); font-variant-numeric: tabular-nums; }
.contact-card p { margin: 0; font-size: 0.92rem; line-height: 1.5; color: var(--ink-soft); }

/* ---------- feature tiles (homepage) ---------- */

.tiles-section { padding: clamp(4rem, 9vw, 6.5rem) 0; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.25rem; }

@media (max-width: 48rem) { .tiles { grid-template-columns: 1fr; } }

.tile {
  background: var(--surface);
  border-radius: 22px;
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.tile:hover { transform: translateY(-3px); }
.tile .eyebrow { color: var(--accent); margin-bottom: 0.9rem; }
.tile h3 { margin: 0 0 0.6rem; font-size: 1.4rem; font-weight: 620; letter-spacing: -0.01em; }
.tile p { margin: 0 0 1.5rem; color: var(--ink-soft); line-height: 1.5; flex: 1; }
.tile .btn-text { font-size: 0.95rem; }

/* ---------- Apple-style alternating feature sections (digital-products) ---------- */

.feature { padding: clamp(4.5rem, 10vw, 7.5rem) 0; border-bottom: 1px solid var(--divider); }
.feature:last-of-type { border-bottom: none; }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.feature-media-left .feature-text { order: 2; }
.feature-media-left .feature-media { order: 1; }

.feature-text h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 1.1rem;
  text-wrap: balance;
}

.feature-text p {
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 1.85rem;
  max-width: 34rem;
}

.feature-media img {
  width: 100%;
  border-radius: 16px;
  filter: drop-shadow(0 30px 50px -20px rgba(0,0,0,0.35));
}

.feature-media-narrow { display: flex; justify-content: center; }
.feature-media-narrow img { max-width: 320px; }

@media (max-width: 55rem) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-media-left .feature-text,
  .feature-media-left .feature-media { order: initial; }
  .feature-media { order: -1; }
}

/* ---------- live redaction demo (digital-products) ---------- */

.demo-section { padding: clamp(3.5rem, 8vw, 6rem) 0; border-bottom: 1px solid var(--divider); text-align: center; }
.demo-box { max-width: 42rem; margin: 2rem auto 0; display: grid; gap: 0.6rem; text-align: left; }
.demo-box label { font-size: 0.85rem; font-weight: 620; color: var(--ink-soft); }
.demo-box textarea {
  width: 100%; font: inherit; font-size: 0.95rem; color: var(--ink);
  padding: 0.9rem 1rem; border: 1px solid var(--divider); border-radius: 14px;
  background: var(--surface); resize: vertical; line-height: 1.5;
}
.demo-box textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.demo-output {
  min-height: 3.5rem; padding: 0.9rem 1rem; border: 1px solid var(--divider); border-radius: 14px;
  background: var(--bg-alt); line-height: 1.6; white-space: pre-wrap; font-size: 0.95rem;
}
.demo-output mark {
  background: var(--accent); color: var(--accent-ink);
  padding: 0.05rem 0.4rem; border-radius: 5px; font-size: 0.85em; font-weight: 650;
}
.demo-placeholder { color: var(--ink-soft); }
.demo-note { max-width: 42rem; margin: 1.25rem auto 0; color: var(--ink-soft); font-size: 0.9rem; }
.demo-note a { color: var(--accent); }

/* ---------- closer (homepage) ---------- */

.closer {
  position: relative;
  padding: clamp(4.5rem, 10vw, 7rem) 0 calc(clamp(4.5rem, 10vw, 7rem) + 3rem);
  text-align: center;
  background: linear-gradient(160deg, var(--porsche-grey), var(--accent));
  color: #fff;
}

.closer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 8rem;
  background: linear-gradient(180deg, var(--bg), transparent);
  pointer-events: none;
}

.closer::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 8rem;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.closer + footer.site-footer { border-top: none; }

.closer .wrap { position: relative; z-index: 1; }

.closer .eyebrow { margin-bottom: 1.25rem; }

.closer h2 {
  margin: 0 auto;
  max-width: 18ch;
  font-size: clamp(2.25rem, 5.2vw, 3.75rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}

.closer .lede {
  max-width: 36rem;
  margin: 1.5rem auto 0;
  font-size: clamp(1.05rem, 1.9vw, 1.25rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.86);
  text-wrap: balance;
}

.closer .cta-row { margin-top: 2.25rem; }

.closer .btn-primary {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.closer .btn-primary:hover { box-shadow: 0 10px 24px -10px rgba(0,0,0,0.4); }

.closer .btn-text { color: #fff; }

/* ---------- CTA band ---------- */

.cta-band {
  text-align: center;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  background: var(--bg-alt);
}
.cta-band h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); font-weight: 640; letter-spacing: -0.02em; margin: 0 0 0.75rem; }
.cta-band p { margin: 0 0 2rem; color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- footer ---------- */

footer.site-footer {
  border-top: 1px solid var(--divider);
  padding: 2.75rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }

.footer-contact { display: flex; align-items: center; gap: 1.5rem; font-size: 0.95rem; flex-wrap: wrap; justify-content: center; }
.footer-contact a { color: var(--accent); font-weight: 500; }
.footer-contact a.tel { color: var(--ink); font-weight: 400; font-variant-numeric: tabular-nums; }

footer.site-footer p { margin: 0; max-width: 42rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-primary, .tile, .btn-text .chev { transition: none; }
}
