/* ==========================================================================
   CompShop — brand system & editorial layout
   Palette: paper #F7F3EC · ink #101B2D · navy #24406B · terracotta #C1613A
   Type:    Fraunces (display) · Space Grotesk (UI) · IBM Plex Sans (body)
   ========================================================================== */

:root {
  --ink: #101B2D;
  --ink-soft: #1B2740;
  --navy: #24406B;
  --terracotta: #C1613A;
  --terracotta-deep: #A84E2E;
  --terracotta-tint: #F4DDD0;
  --paper: #F7F3EC;
  --paper-elevated: #FBF9F4;
  --paper-line: #E4DDD1;
  --paper-line-strong: #D6CDBE;
  --warm-gray: #6B6259;
  --text-body: #2F2A24;
  --warn: #B0681F;

  --display-serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --display-sans: "Space Grotesk", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;

  --max: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-pad-y: clamp(80px, 11vw, 140px);
  --header-height: 78px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga";
}

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ==========================================================================
   Display type
   ========================================================================== */

.display {
  font-family: var(--display-serif);
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.display em {
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
}
.display-section {
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.018em;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--display-sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-decoration: none;
  border-radius: 10px;
  padding: 14px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn-primary {
  background: var(--terracotta-deep);
  color: var(--paper);
  border-color: var(--terracotta-deep);
}
.btn-primary:hover {
  background: #8F4025;
  border-color: #8F4025;
}
.btn-text {
  background: transparent;
  color: var(--paper);
  padding: 8px 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(247, 243, 236, 0.5);
}
.btn-text:hover { color: var(--terracotta); border-bottom-color: var(--terracotta); }
.btn-block { width: 100%; }
.btn-large {
  padding: 18px 30px;
  font-size: 16px;
}

/* ==========================================================================
   Header — logo centered, no nav CTA, NOT sticky (overlays the hero)
   ========================================================================== */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  padding: 22px 0;
  background: transparent;
}

.header-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display-sans);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.3px;
  color: var(--paper);
}
.logo .ink { color: var(--paper); }
.logo .accent { color: var(--terracotta); }
/* On-paper variant (footer) keeps the ink color — set explicitly there. */
.logo-foot .ink { color: var(--ink); }

/* ==========================================================================
   Hero — full-bleed video, centered content, trust strip at bottom.
   Hero + trust strip together = 100vh on desktop (per user directive).
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--paper);
  isolation: isolate;
  overflow: hidden;
}

/* Fade-out of the video into the trust strip area. The gradient holds
   transparent for the top ~40% of its height so more of the dusk video
   stays visible — the darkening only starts in the lower portion and
   reaches var(--ink) at the very bottom (the strip's bottom edge / hero
   bottom), so the navy flows into the banner without ever being a
   hard banner edge. The strip itself has no background so the text sits
   on the gradient (mostly transparent at the top, solid navy at the
   bottom) — legibility is fine because the gradient is dark by the time
   you reach the row's text baseline. */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 260px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 40%,
    rgba(16, 27, 45, 0.5) 60%,
    rgba(16, 27, 45, 0.85) 80%,
    var(--ink) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--ink);
  /*
   * Legibility technique for text over photographic/video hero backgrounds:
   * 1) darken + slightly desaturate the footage itself (filter, below) so no
   *    single frame can be bright/busy enough to fight the text,
   * 2) lay a scrim gradient on top (.hero-scrim) for guaranteed contrast
   *    regardless of what's playing underneath, and
   * 3) set text to a near-white color with a soft shadow for edge definition.
   * A *light* blur is part of (1) here because this footage is full of fine
   * high-frequency detail (roof lines, windows) right where centered text
   * sits — the blur softens that without turning the video to mush.
   */
  filter: brightness(0.55) saturate(0.88) blur(1.5px);
}

.hero-scrim {
  /* Light scrim — the dusk video already reads moody on its own, so we only
     add a small center vignette and a soft top-to-bottom tone. Heavier
     scrims here push the frame into "blue-tinted darkness" territory that
     fights the actual neighborhood footage. */
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 65% at 50% 45%, rgba(16, 27, 45, 0.20) 0%, rgba(16, 27, 45, 0.40) 75%),
    linear-gradient(180deg, rgba(16, 27, 45, 0.32) 0%, rgba(16, 27, 45, 0.18) 35%, rgba(16, 27, 45, 0.38) 100%);
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 80px 0 40px;
  max-width: 720px;
}

.hero h1 {
  font-family: var(--display-sans);
  font-weight: 700;
  font-size: 52px;
  line-height: 1.1;
  margin: 0 0 20px;
  color: var(--paper);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
  letter-spacing: -0.5px;
}

.lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-body);
  max-width: 640px;
  margin: 0 auto 32px;
}

/* .lede-hero overrides .lede's dark color so it reads paper over the video;
   the later declaration order wins at equal specificity. */
.lede-hero {
  color: rgba(247, 243, 236, 0.9);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary-hero {
  background: #A84E2E; /* deeper terracotta than the base brand color, for ~4.8:1 with paper text */
  color: var(--paper);
}
.btn-primary-hero:hover { background: #8F4025; }

/* ----- Trust strip inside hero — no background of its own so the
   .hero::after gradient behind it bleeds through and the navy flows into
   the banner area without a hard edge. The text sits on the gradient
   (transparent at the very top of the strip, solid navy at the bottom). */
.strip {
  position: relative;
  z-index: 2;
  background: transparent;
  color: var(--paper);
}
.strip-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 28px 24px;
}
.strip-row div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.strip-row strong {
  font-family: var(--display-sans);
  font-weight: 700;
  font-size: 20px;
  color: var(--paper);
}
.strip-row span {
  font-size: 13.5px;
  color: #C7CCD6;
}

/* Note: reduced-motion and small-viewport handling happen in script.js by
   simply never calling video.play() — the <video> element keeps rendering
   its [poster] image in that case (that's the browser's native behavior
   for an unplayed video), so there's no separate "no-video" visual state
   to maintain here. Hiding the element with CSS would lose the poster too. */

/* ==========================================================================
   Section baseline
   ========================================================================== */

.section {
  padding: var(--section-pad-y) 0;
}

/* ==========================================================================
   How it works — editorial numerals, answer-first h2 (no eyebrow)
   ========================================================================== */

.section-how { background: var(--paper); }

.how-list {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  border-top: 1px solid var(--paper-line-strong);
}
.how-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  padding: 36px 0;
  border-bottom: 1px solid var(--paper-line-strong);
  align-items: start;
}
.how-num {
  font-family: var(--display-serif);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(56px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--terracotta);
}
.how-title {
  font-family: var(--display-sans);
  font-weight: 600;
  font-size: clamp(20px, 1.8vw, 24px);
  letter-spacing: -0.01em;
  margin: 6px 0 10px;
  color: var(--ink);
}
.how-text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
  max-width: 620px;
  margin: 0 0 14px;
}
.how-meta {
  font-family: var(--display-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.how-meta::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--terracotta-deep);
}

/* ==========================================================================
   Sample report — full editorial masthead
   ========================================================================== */

.section-sample {
  background: var(--paper-elevated);
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
}
.sample-wrap { max-width: 1180px; }
.sample-wrap > h2 {
  /* Breathing room between the section h2 ("What you'll read Monday morning")
     and the report card below it — otherwise they sit flush. */
  margin-bottom: 40px;
}
.sample-head { max-width: 720px; margin-bottom: 48px; }
.sample-lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-body);
  max-width: 600px;
  margin: 20px 0 0;
}

.report {
  background: #FFFFFF;
  border: 1px solid var(--paper-line);
  border-radius: 16px;
  padding: 0;
  box-shadow:
    0 1px 0 rgba(16, 27, 45, 0.04),
    0 28px 60px -32px rgba(16, 27, 45, 0.22),
    0 6px 18px -8px rgba(16, 27, 45, 0.08);
  overflow: hidden;
}

.masthead {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 32px 24px;
  flex-wrap: wrap;
}
.masthead-volume {
  font-family: var(--display-sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin: 0 0 6px;
}
.masthead-title {
  font-family: var(--display-serif);
  font-weight: 500;
  font-size: clamp(34px, 3.6vw, 46px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 10px;
  position: relative;
  padding-bottom: 14px;
}
.masthead-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 3px;
  background: var(--terracotta-deep);
}
.masthead-subtitle {
  font-family: var(--display-sans);
  font-size: 13px;
  color: var(--warm-gray);
  margin: 0;
  letter-spacing: 0.01em;
}
.masthead-stats {
  display: flex;
  gap: 22px;
  margin: 0;
}
.masthead-stat { text-align: right; }
.masthead-stat dt {
  font-family: var(--display-sans);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: 4px;
}
.masthead-stat dd {
  font-family: var(--display-serif);
  font-weight: 500;
  font-size: 32px;
  line-height: 1;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.02em;
}
.masthead-stat-new dd { color: var(--terracotta-deep); }
.masthead-stat-warn dd { color: var(--warn); }

.masthead-rule {
  height: 3px;
  background:
    linear-gradient(to right,
      var(--terracotta-deep) 0%, var(--terracotta-deep) 32%,
      transparent 32%, transparent 36%,
      var(--terracotta-deep) 36%, var(--terracotta-deep) 60%,
      transparent 60%, transparent 64%,
      var(--terracotta-deep) 64%, var(--terracotta-deep) 84%,
      transparent 84%);
  margin: 0;
  opacity: 0.85;
}

.masthead-body {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  padding: 32px;
  border-top: 1px solid var(--paper-line);
  background: linear-gradient(180deg, #FFFDF9 0%, #FFFFFF 100%);
}
.masthead-kicker {
  font-family: var(--display-sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin: 0 0 10px;
}
.masthead-headline {
  font-family: var(--display-serif);
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 14px;
  text-wrap: balance;
}
.masthead-dropcap {
  font-family: var(--display-serif);
  font-weight: 500;
  font-size: 1.4em;
  line-height: 0.9;
  color: var(--terracotta-deep);
  float: left;
  margin: 0.05em 0.12em 0 -0.04em;
}
.masthead-dek {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0 0 20px;
  max-width: 540px;
}
.masthead-pullquote {
  margin: 0;
  padding: 18px 0 18px 18px;
  border-left: 3px solid var(--terracotta-deep);
  font-family: var(--display-serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
}
.masthead-pullquote cite {
  display: block;
  margin-top: 10px;
  font-family: var(--display-sans);
  font-style: normal;
  font-size: 12px;
  color: var(--warm-gray);
  letter-spacing: 0.04em;
}
.masthead-pullquote cite a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: rgba(36, 64, 107, 0.35);
}

.masthead-rail {
  border-left: 1px solid var(--paper-line);
  padding-left: 32px;
}
.masthead-rail-title {
  font-family: var(--display-sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin: 0 0 14px;
}
.rail-list { list-style: none; margin: 0; padding: 0; }
.rail-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--paper-line);
}
.rail-item:first-child { border-top: none; padding-top: 0; }
.rail-item:last-child { padding-bottom: 0; }
.rail-item-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 2px;
  line-height: 1.3;
}
.rail-item-meta {
  font-size: 12px;
  color: var(--warm-gray);
  margin: 0;
  line-height: 1.4;
}

.dot {
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 7px;
  background: var(--ink);
}
.dot-terra { background: var(--terracotta); }
.dot-ink { background: var(--ink); }
.dot-warn {
  background: var(--warn);
  color: #fff;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-top: 5px;
  flex-basis: 14px;
  font-family: var(--display-sans);
  font-weight: 700;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.masthead-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: 22px 32px 28px;
  background: #FBF7EE;
  border-top: 1px solid var(--paper-line);
}
.masthead-foot-note {
  font-family: var(--display-serif);
  font-style: italic;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--text-body);
  margin: 0;
  max-width: 640px;
}
.masthead-foot-label {
  display: inline-block;
  font-family: var(--display-sans);
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin-right: 10px;
  vertical-align: middle;
}
.masthead-foot-sig {
  font-family: var(--display-sans);
  font-size: 12px;
  color: var(--warm-gray);
  margin: 0;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ==========================================================================
   Published rates chart — inside the sample-report card, below masthead-body
   ========================================================================== */

.published-rates {
  padding: 28px 32px 36px;
  border-top: 1px solid var(--paper-line);
  background: linear-gradient(180deg, #FFFDF9 0%, #FFFFFF 100%);
}
.published-rates-eyebrow {
  font-family: var(--display-sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin: 0 0 14px;
}
.published-rates-intro {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0 0 24px;
  max-width: 720px;
}

.rates-chart {
  background: #FBF7EE;
  border: 1px solid var(--paper-line);
  border-radius: 10px;
  padding: 24px 28px 22px;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) 120px;
  column-gap: 20px;
  row-gap: 0;
}

.rates-row {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: 1 / -1;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--paper-line);
}
.rates-row:first-of-type { border-top: none; padding-top: 6px; }
.rates-row:last-of-type  { padding-bottom: 6px; }

.rates-builder {
  font-family: var(--display-sans);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.rates-axis-track {
  position: relative;
  height: 28px;
  border-top: 1px solid var(--ink);
  /* axis runs 4.75%–6.00%, so leftmost tick = 4.75%, rightmost = 6.00%.
     The border-top is the line — dots sit at top:0 so their center lands
     on the line (with translate(-50%, -50%) halving the 14px height
     above and below the line). */
}

.rates-dot {
  position: absolute;
  top: 0;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 2px #FBF7EE;
}
.rates-dot-prior {
  background: transparent;
  border: 1.5px solid var(--ink);
  width: 12px;
  height: 12px;
  opacity: 0.85;
}

.rates-readout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 2px;
}
.rates-amount {
  font-family: var(--display-serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.rates-meta {
  font-family: var(--display-sans);
  font-size: 11.5px;
  color: var(--warm-gray);
  letter-spacing: 0.02em;
}

/* Axis labels live in the track column (grid-column: 2) and use flex with
   justify-content: space-between so the 6 labels sit at evenly spaced
   positions — leftmost tick (4.75%) at the track's start, rightmost (6.00%)
   at the end, and the 4 in-between distributed across. Each label has a
   tiny tick mark above it. */
.rates-axis-labels {
  grid-column: 2 / 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 6px;
  font-family: var(--display-sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--warm-gray);
  letter-spacing: 0.04em;
}
.rates-axis-labels span {
  position: relative;
  padding-top: 6px;
  display: inline-block;
  white-space: nowrap;
}
.rates-axis-labels span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 4px;
  background: var(--ink);
}

@media (max-width: 720px) {
  .rates-chart {
    grid-template-columns: 110px minmax(0, 1fr) 88px;
    column-gap: 12px;
    padding: 18px 18px 16px;
  }
  .rates-builder { font-size: 13px; }
  .rates-amount { font-size: 18px; }
  .rates-meta { font-size: 10.5px; }
}

/* ==========================================================================
   Why it's different — prose + comparison graphic (research avg vs CompShop specific)
   ========================================================================== */

.section-why { background: var(--paper); }

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.why-copy { max-width: 560px; }
.why-lede {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text-body);
  margin: 20px 0 0;
}
.why-lede em { color: var(--ink); font-style: italic; }

.why-pullquote {
  margin: 36px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--paper-line-strong);
}

/* Pilot customers — anchor the social proof with real builders */
.why-pilots {
  margin: 30px 0 30px;
  padding: 22px 0 0;
  border-top: 1px solid var(--paper-line-strong);
}
.why-pilots-label {
  font-family: var(--display-sans);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin: 0 0 14px;
}
.why-pilots-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.why-pilot {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid var(--paper-line);
}
.why-pilot:first-child { border-top: none; }
.why-pilot-market {
  font-family: var(--display-serif);
  font-weight: 500;
  font-style: italic;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--terracotta-deep);
}
.why-pilot-detail {
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--text-body);
}
@media (max-width: 640px) {
  .why-pilot {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .why-pilot-market { font-size: 18px; }
}
.why-pullquote p {
  font-family: var(--display-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 18px;
  text-wrap: balance;
}
.why-pullquote-by {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--display-sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.why-pullquote-name { color: var(--terracotta-deep); font-weight: 700; }
.why-pullquote-co { color: var(--warm-gray); }

/* ----- Comparison graphic ----- */
.why-graphic {
  background: #FFFFFF;
  border: 1px solid var(--paper-line);
  border-radius: 16px;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(16, 27, 45, 0.04),
    0 24px 50px -28px rgba(16, 27, 45, 0.20),
    0 4px 14px -8px rgba(16, 27, 45, 0.08);
}
.why-graphic-side {
  padding: 26px 26px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.why-graphic-research {
  background: var(--paper-elevated);
  border-right: 1px solid var(--paper-line);
  /* Faded, generic — visually quieter than the CompShop side */
  opacity: 0.94;
}
.why-graphic-compshop {
  background: #FFFFFF;
}
.why-graphic-label {
  font-family: var(--display-sans);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin: 0 0 6px;
}
.why-graphic-compshop .why-graphic-label { color: var(--terracotta-deep); }
.why-graphic-meta {
  font-family: var(--display-sans);
  font-size: 11px;
  color: var(--warm-gray);
  margin: 0 0 20px;
  letter-spacing: 0.02em;
}
.why-graphic-quote {
  font-family: var(--display-serif);
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-body);
  margin: 0 0 24px;
  padding-left: 14px;
  border-left: 2px solid var(--paper-line);
}

.why-graphic-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 6px 0 10px;
}
.why-graphic-bar {
  flex: 1;
  height: 8px;
  background: var(--paper-line);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
}
.why-graphic-bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
}
.why-graphic-research .why-graphic-bar-fill {
  background: var(--warm-gray);
  opacity: 0.55;
}
.why-graphic-compshop .why-graphic-bar-fill {
  background: var(--terracotta);
}
.why-graphic-bar-amount {
  font-family: var(--display-serif);
  font-weight: 500;
  font-size: 14.5px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  min-width: 68px;
  text-align: right;
}
.why-graphic-research .why-graphic-bar-amount { color: var(--warm-gray); }

.why-graphic-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.why-graphic-list li {
  padding: 10px 0;
  border-top: 1px solid var(--paper-line);
}
.why-graphic-list li:first-child { border-top: none; padding-top: 0; }
.why-graphic-builder {
  font-family: var(--display-sans);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.01em;
  display: block;
  margin-bottom: 4px;
}
.why-graphic-stale .why-graphic-builder { color: var(--warm-gray); }
.why-graphic-stale-flag {
  font-family: var(--display-sans);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--warn);
  margin: 4px 0 0;
  letter-spacing: 0.02em;
}
.why-graphic-footer {
  font-family: var(--display-sans);
  font-size: 11px;
  color: var(--warm-gray);
  margin: auto 0 0;
  letter-spacing: 0.04em;
  padding-top: 14px;
  border-top: 1px solid var(--paper-line);
}
.why-graphic-compshop .why-graphic-footer { color: var(--ink); font-weight: 500; }

/* ==========================================================================
   Contact — from inspo, on navy
   ========================================================================== */

.section-contact {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--ink);
}
.section-contact .display { color: var(--paper); }
.section-contact .display em { color: var(--paper); font-style: italic; }

.contact-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.contact-copy { max-width: 540px; }
.contact-lede {
  font-size: 16.5px;
  line-height: 1.65;
  color: rgba(247, 243, 236, 0.78);
  margin: 24px 0 28px;
}
.contact-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-bullets li {
  position: relative;
  padding: 12px 0 12px 28px;
  font-size: 14.5px;
  color: rgba(247, 243, 236, 0.88);
  border-top: 1px solid rgba(247, 243, 236, 0.12);
}
.contact-bullets li:last-child { border-bottom: 1px solid rgba(247, 243, 236, 0.12); }
.contact-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--terracotta);
  border-bottom: 2px solid var(--terracotta);
  transform: rotate(-45deg);
}

.contact-form .btn-primary {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--paper);
  font-family: var(--display-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.005em;
  padding: 18px 28px;
}
.contact-form .btn-primary:hover {
  background: var(--terracotta-deep);
  border-color: var(--terracotta-deep);
}

.contact-form {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 32px 0 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--paper);
}
.form-signed {
  margin: 0 0 6px;
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(247, 243, 236, 0.18);
  font-family: var(--display-serif);
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(247, 243, 236, 0.78);
}
.form-signed-mark {
  display: inline-block;
  margin-right: 8px;
  font-family: var(--display-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--paper);
}
.field-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field-row label {
  font-family: var(--display-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(247, 243, 236, 0.78);
  margin-bottom: 6px;
}
.field-row input,
.field-row textarea {
  font-family: var(--body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid rgba(247, 243, 236, 0.20);
  border-radius: 0;
  background: rgba(247, 243, 236, 0.06);
  color: var(--paper);
  resize: vertical;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.field-row input::placeholder,
.field-row textarea::placeholder {
  color: rgba(247, 243, 236, 0.45);
}
.field-row input:focus,
.field-row textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  background: rgba(247, 243, 236, 0.10);
  box-shadow: 0 0 0 4px rgba(193, 97, 58, 0.20);
}
.field-row input:hover:not(:focus),
.field-row textarea:hover:not(:focus) {
  border-color: rgba(247, 243, 236, 0.36);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  font-size: 14px;
  margin: 0;
  min-height: 20px;
  font-family: var(--display-sans);
}
.form-status[data-state="ok"] { color: #4F8A5F; }
.form-status[data-state="error"] { color: var(--terracotta-deep); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--paper-line);
  padding: 36px 0 44px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  font-family: var(--display-sans);
  font-size: 13px;
  font-weight: 500;
}
.footer-nav a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.15s ease;
}
.footer-nav a:hover { border-bottom-color: var(--terracotta-deep); color: var(--terracotta-deep); }
/* Footer logo mirrors the hero mark — same geometric CompShop, same paper-
   colored center line. We only flip the center-line stroke from paper
   (hero bg is dark video) to ink (footer bg is paper) so the divider stays
   visible in both places. */
.logo-foot {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display-sans);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.3px;
  color: var(--ink);
}
.logo-foot svg line { stroke: var(--ink); }
.logo-foot:hover { color: var(--terracotta-deep); }
.logo-foot .ink { color: var(--ink); }
.logo-foot .accent { color: var(--terracotta); }
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
  text-align: right;
}
.footer-dateline {
  font-family: var(--display-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.footer-stamp-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terracotta);
  display: inline-block;
}
.footer-note {
  font-size: 12.5px;
  color: var(--warm-gray);
  margin: 0;
}
.footer-note a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--paper-line-strong); }
.footer-note a:hover { text-decoration-color: var(--terracotta-deep); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .why-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }
  .why-graphic {
    grid-template-columns: 1fr;
  }
  .why-graphic-research {
    border-right: none;
    border-bottom: 1px solid var(--paper-line);
  }
  .how-row { grid-template-columns: 80px minmax(0, 1fr); gap: 20px; }
  .how-num { font-size: 48px; }
  .masthead-body { grid-template-columns: 1fr; gap: 28px; padding: 24px; }
  .masthead-rail { border-left: none; border-top: 1px solid var(--paper-line); padding-left: 0; padding-top: 24px; }
  .masthead-foot { grid-template-columns: 1fr; padding: 22px 24px; }
  .masthead { padding: 22px 24px 18px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero {
    /* On mobile the vh hero isn't useful — the video doesn't play and the
       fixed nav overlay crowds the headline — let content drive height. */
    min-height: 0;
    padding: 100px 0 24px;
  }
  .hero h1 { font-size: 36px; }
  .hero-content { padding: 24px 0 32px; }
  .section { padding: 64px 0; }
  .how-row {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
    padding: 28px 0;
  }
  .how-num { font-size: 36px; }
  .footer-meta { align-items: flex-start; text-align: left; }

  /* Strip wraps on small screens — three items stack into a column with
     tighter gaps, and the strong/span pair stays inline per row. */
  .strip-row {
    flex-direction: column;
    gap: 14px;
    padding: 22px 24px;
  }
  .strip-row div { justify-content: center; }
}