/* ============================================================
   REMAINING 84 · page-specific styles
   layered on top of styles.css
   ============================================================ */

/* ---------- HERO ---------- */
.r84-hero {
  position: relative;
  padding: 150px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 80% 20%, rgba(230, 122, 0, 0.10) 0%, transparent 60%),
    radial-gradient(800px 500px at 10% 90%, rgba(61,212,192,0.07) 0%, transparent 60%),
    var(--bg);
}
.r84-hero__inner {
  position: relative; z-index: 1;
  width: min(1320px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}
.r84-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 28px;
}
.r84-hero__eyebrow-dot {
  width: 6px; height: 6px; border-radius: 999px; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(230, 122, 0, 0.18);
  animation: pulse 1.8s ease-in-out infinite;
}
.r84-hero__title {
  font-weight: 700;
  font-size: clamp(38px, 4.8vw, 68px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--navy);
  margin: 0 0 24px;
  max-width: 640px;
}
.r84-hero__title em {
  font-style: normal;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.035em;
}
.r84-hero__lede {
  font-size: clamp(16px, 1.2vw, 19px);
  color: var(--ink-2);
  max-width: 52ch;
  line-height: 1.55;
  margin: 0 0 32px;
}
.r84-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.r84-hero__tag b { color: var(--accent); font-weight: 700; }
.r84-hero__tag-sep {
  width: 4px; height: 4px; border-radius: 999px;
  background: var(--ink-3-on-dark);
}
.r84-hero__ctas {
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
}

/* ---------- HERO VIZ · video embed ---------- */
.r84-hero__video {
  position: relative;
  width: 100%;
  margin-left: auto;
}
.r84-hero__video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(10, 18, 64, 0.14);
}
.r84-hero__video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.r84-hero__video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
  display: block;
  overflow: hidden;
}
.r84-hero__video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.r84-hero__video-poster:hover .r84-hero__video-thumb {
  transform: scale(1.03);
}
.r84-hero__video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.18),
    0 18px 40px rgba(10, 18, 64, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}
.r84-hero__video-play svg {
  margin-left: 4px;
}
.r84-hero__video-poster:hover .r84-hero__video-play {
  transform: translate(-50%, -50%) scale(1.08);
}
.r84-hero__video-poster:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- HERO VIZ · 16/84 icon grid ---------- */.r84-grid {
  position: relative;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(10,18,64,0.08);
  max-width: 460px;
  margin-left: auto;
}
.r84-grid__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}
.r84-grid__title {
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.4;
}
.r84-grid__stat {
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  white-space: nowrap;
}
.r84-grid__stat b { color: var(--accent); font-weight: 700; }
.r84-grid__dots {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 4px;
  margin: 4px 0 14px;
}
.r84-dot {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform .4s ease, opacity .4s ease;
}
.r84-dot__icon {
  width: 82%;
  height: 82%;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.6s cubic-bezier(.2,.7,.2,1), opacity 0.6s cubic-bezier(.2,.7,.2,1);
}
.r84-dot--on .r84-dot__icon {
  stroke: var(--tone, var(--accent));
  opacity: 1;
}
.r84-dot--remaining .r84-dot__icon {
  stroke: rgba(10,18,64,0.20);
  opacity: 0.45;
}
.r84-grid__legend {
  display: none;
}
.r84-grid__legend-item {
  display: flex; flex-direction: column; gap: 2px;
  padding: 8px 10px;
  background: var(--bg-2);
  border-radius: 6px;
}
.r84-grid__legend-pct {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.r84-grid__legend-pct--accent { color: var(--accent); }
.r84-grid__legend-lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.r84-grid__cap {
  margin: 12px 0 0;
  font-size: 11.5px;
  color: var(--ink-2);
  line-height: 1.5;
}
.r84-grid__cap em { color: var(--navy); font-style: normal; font-weight: 600; }

/* ---------- VISION ---------- */
.r84-vis {
  position: relative;
  padding: 140px 0;
  background:
    radial-gradient(900px 500px at 50% 100%, rgba(230, 122, 0,0.10) 0%, transparent 60%),
    var(--navy-deep);
  color: #fff;
  overflow: hidden;
}
.r84-vis__bg { position: absolute; inset: 0; z-index: 0; opacity: 0.55; }
.r84-vis__inner {
  position: relative;
  z-index: 1;
  width: min(1320px, 92vw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 72px;
}
.r84-vis__top {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 56px;
  align-items: center;
}
.r84-vis__chart {
  width: 100%;
  margin-top: 32px;
}
.r84-vis__head {
  position: static;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.r84-vis__head .eyebrow { margin-bottom: 18px; }
.r84-vis__title {
  font-weight: 700;
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0;
}
.r84-vis__title em { color: var(--accent); font-style: normal; }
.r84-vis__lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2-on-dark);
  margin: 0;
  max-width: 52ch;
}
.r84-vis__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.r84-vis-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-on-dark);
  border-radius: 18px;
  padding: 32px 34px;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.r84-vis-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  background: rgba(255,255,255,0.07);
}
.r84-vis-card__num {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}
.r84-vis-card__title {
  font-weight: 700;
  font-size: 23px;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 10px;
}
.r84-vis-card__body {
  margin: 0;
  font-size: 15px;
  color: var(--ink-2-on-dark);
  line-height: 1.65;
}

/* ---------- EFFORTS · stat grid ---------- */
.r84-eff {
  position: relative;
  padding: 140px 0 130px;
  background: var(--navy-deep);
  color: #fff;
  overflow: hidden;
}
.r84-eff__bg { position: absolute; inset: 0; z-index: 0; opacity: 0.6; }
.r84-eff__inner {
  position: relative; z-index: 1;
  width: min(1320px, 92vw);
  margin: 0 auto;
}
.r84-eff__head {
  max-width: 760px;
  margin-bottom: 70px;
}
.r84-eff__eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.r84-eff__title {
  font-weight: 700;
  font-size: clamp(38px, 4.4vw, 64px);
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 0 0 22px;
  color: #fff;
}
.r84-eff__title em { font-style: normal; color: var(--accent); }
.r84-eff__lede {
  font-size: 17px;
  color: var(--ink-2-on-dark);
  max-width: 56ch;
  margin: 0;
  line-height: 1.6;
}
.r84-eff__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-on-dark);
  border: 1px solid var(--line-on-dark);
  border-radius: 14px;
  overflow: hidden;
}
.r84-eff-card {
  position: relative;
  background: var(--navy-deep);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
  transition: background .25s ease;
}
.r84-eff-card:hover { background: #08123f; }
.r84-eff-card__num {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3-on-dark);
}
.r84-eff-card__v {
  font-weight: 700;
  font-size: clamp(44px, 4vw, 62px);
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
  margin-top: auto;
}
.r84-eff-card__l {
  font-size: 15px;
  color: #fff;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.r84-eff-card__d {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2-on-dark);
}
.r84-eff__foot {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.r84-eff__foot-note {
  max-width: 56ch;
  font-size: 14px;
  color: var(--ink-2-on-dark);
  line-height: 1.55;
}
.r84-eff__foot-note b { color: #fff; font-weight: 600; }

/* ---------- PROBLEM · three cards ---------- */
.r84-prob {
  padding: 140px 0 100px;
  background: var(--bg);
}
.r84-prob__inner {
  width: min(1320px, 92vw);
  margin: 0 auto;
}
.r84-prob__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 60px;
}
.r84-prob__title {
  font-weight: 700;
  font-size: clamp(38px, 4.4vw, 64px);
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 14px 0 0;
  color: var(--navy);
}
.r84-prob__title em { color: var(--accent); font-style: normal; }
.r84-prob__lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 14px;
  max-width: 50ch;
  transform: translateY(-18px);
}
.r84-prob__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.r84-prob-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.r84-prob-card:hover {
  border-color: var(--ink-3);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(10,18,64,0.06);
}
.r84-prob-card__viz {
  position: relative;
  height: 200px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.r84-prob-card__body {
  padding: 26px 28px 28px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.r84-prob-card__eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.r84-prob-card__title {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0;
  line-height: 1.2;
}
.r84-prob-card__sub {
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  margin: 4px 0 8px;
  line-height: 1.4;
}
.r84-prob-card__list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.r84-prob-card__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}
.r84-prob-card__list li::before {
  content: "";
  display: block;
  width: 6px; height: 6px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--accent);
}

/* viz: invisible figures (human icons, 8 visible / 52 ghost) */
.r84-viz-invisible {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
  padding: 22px 32px;
  width: 100%;
  height: 100%;
  align-content: center;
}
.r84-viz-invisible span {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
}
.r84-viz-invisible span.on { background: transparent; }

/* viz: stacked bars dollar */
.r84-viz-cost {
  width: 100%; height: 100%;
  display: flex; align-items: flex-end; justify-content: center;
  gap: 14px;
  padding: 28px 24px;
}
.r84-viz-cost__bar {
  position: relative;
  width: 36px;
  background: linear-gradient(180deg, var(--accent) 0%, color-mix(in oklab, var(--accent) 70%, var(--navy)) 100%);
  border-radius: 4px 4px 0 0;
  display: flex; align-items: flex-end; justify-content: center;
}
.r84-viz-cost__bar--ghost {
  background: rgba(10,18,64,0.12);
}
.r84-viz-cost__bar span {
  position: absolute;
  top: -22px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.04em;
}

/* viz: ancestry  multi-colored human icons grid (problem card 03) */
.r84-viz-dna {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.r84-viz-ancestry {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
  padding: 22px 28px;
  width: 100%;
  height: 100%;
  align-content: center;
}
.r84-viz-ancestry__cell {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- MANIFESTO override (R84) ---------- */
.r84-manifesto {
  position: relative;
  padding: 160px 0;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 50% 100%, rgba(230, 122, 0, 0.12) 0%, transparent 60%),
    var(--navy-deep);
  color: #fff;
}
.r84-manifesto__inner {
  position: relative; z-index: 1;
  width: min(1100px, 92vw);
  margin: 0 auto;
  text-align: center;
}
.r84-manifesto__eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}
.r84-manifesto__title {
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 72px);
  letter-spacing: -0.025em;
  line-height: 1.16;
  margin: 0 auto 24px;
  max-width: 22ch;
  color: #fff;
}
.r84-manifesto__title em {
  font-style: normal;
  font-weight: 800;
  color: var(--accent);
}
.r84-manifesto__body {
  font-size: 18px;
  color: var(--ink-2-on-dark);
  max-width: 56ch;
  margin: 18px auto 0;
  line-height: 1.6;
}
.r84-manifesto__sig {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

/* ---------- SOLUTION · three cards ---------- */
.r84-sol {
  padding: 140px 0 100px;
  background: var(--bg-2);
}
.r84-sol__inner {
  width: min(1320px, 92vw);
  margin: 0 auto;
}
.r84-sol__head {
  max-width: 760px;
  margin-bottom: 60px;
}
.r84-sol__title {
  font-weight: 700;
  font-size: clamp(38px, 4.4vw, 64px);
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 14px 0 22px;
  color: var(--navy);
}
.r84-sol__title em { color: var(--accent); font-style: normal; }
.r84-sol__lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
  max-width: 56ch;
}
.r84-sol__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.r84-sol-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 30px 30px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.r84-sol-card:hover {
  border-color: var(--ink-3);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(10,18,64,0.06);
}
.r84-sol-card__viz {
  height: 120px;
  background: var(--bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.r84-sol-card__num {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.r84-sol-card__title {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0;
  line-height: 1.2;
}
.r84-sol-card__sub {
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  margin: 0;
  line-height: 1.4;
}
.r84-sol-card__body {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.55;
}

/* modality chips */
.r84-mod-stack {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 18px;
}
.r84-mod-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--c) 12%, white);
  border: 1px solid color-mix(in oklab, var(--c) 30%, white);
  color: var(--c);
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  font-weight: 600;
}
.r84-mod-chip .dot {
  width: 6px; height: 6px; border-radius: 999px; background: var(--c);
}
.r84-mod-chip--ghost {
  background: transparent;
  border-style: dashed;
  border-color: rgba(10,18,64,0.25);
  color: var(--ink-3);
}

/* globe (datalake) */
.r84-globe { width: 100%; height: 100%; }
.r84-globe-svg { width: 100%; height: 100%; }

/* funnel (diversity) */
.r84-funnel {
  width: 100%; padding: 20px 22px;
  display: flex; flex-direction: column; gap: 6px;
}
.r84-funnel__row {
  display: flex; align-items: center; gap: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
}
.r84-funnel__row span:first-child {
  width: 90px;
  color: var(--ink-2);
}
.r84-funnel__bar {
  flex: 1; height: 7px;
  background: var(--bg-3);
  border-radius: 4px;
  overflow: hidden;
}
.r84-funnel__fill { height: 100%; background: var(--accent); border-radius: 4px; }
.r84-funnel__fill--teal { background: var(--teal); }

/* ---------- PIPELINE · Where we can help ---------- */
.r84-pipe {
  padding: 140px 0 120px;
  background: var(--bg);
}
.r84-pipe__inner {
  width: min(1320px, 92vw);
  margin: 0 auto;
}
.r84-pipe__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 60px;
}
.r84-pipe__title {
  font-weight: 700;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 14px 0 0;
  color: var(--navy);
}
.r84-pipe__title em { color: var(--accent); font-style: normal; }
.r84-pipe__body {
  display: flex; flex-direction: column;
  gap: 20px;
  padding-top: 64px;
}
.r84-pipe__lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}
.r84-pipe__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex; flex-direction: column;
  gap: 10px;
}
.r84-pipe__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-2);
}
.r84-pipe__list li::before {
  content: "";
  width: 6px; height: 6px;
  margin-top: 8px;
  background: var(--accent);
  border-radius: 999px;
}

.r84-pipeline {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px 40px 38px;
  box-shadow: 0 20px 60px rgba(10,18,64,0.05);
}
.r84-pipeline__rule {
  position: relative;
  height: 2px;
  background: var(--line);
  margin: 24px 0 18px;
}
.r84-pipeline__progress {
  position: absolute; top: 0; left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 70%, color-mix(in oklab, var(--accent) 30%, transparent) 100%);
}
.r84-pipeline__stages {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.r84-pipeline__stage {
  display: flex; flex-direction: column; gap: 6px;
  text-align: center;
  position: relative;
}
.r84-pipeline__stage-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--accent);
  margin: -28px auto 8px;
  position: relative;
  z-index: 1;
}
.r84-pipeline__stage--ghost .r84-pipeline__stage-dot {
  background: #fff;
  box-shadow: 0 0 0 1px var(--ink-3);
}
.r84-pipeline__stage-n {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.r84-pipeline__stage-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  letter-spacing: -0.005em;
}
.r84-pipeline__stage-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
}
.r84-pipeline__stages-head {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 6px;
}
.r84-pipeline__stages-head > span {
  text-align: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.r84-pipeline__legend {
  display: flex; justify-content: space-between;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.r84-pipeline__legend b { color: var(--navy); font-weight: 700; }

/* ---------- CONTACT · tabs + demo calendar ---------- */
.cta__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 6px;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--line-on-dark);
  border-radius: 10px;
}
.cta__tab {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  background: transparent;
  border: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  border-radius: 7px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.cta__tab:hover { color: #fff; }
.cta__tab--on {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(230,122,0,0.30);
}
.cta__tab-icon { display: inline-flex; align-items: center; }

.cta__demo { display: flex; flex-direction: column; gap: 12px; }
.cta__msg { display: flex; flex-direction: column; gap: 14px; }

.cta__cal {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  padding: 20px 22px 18px;
  overflow: hidden;
}
.cta__cal-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 14px;
}
.cta__cal-month { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; color: #fff; }
.cta__cal-nav {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.5);
  border-radius: 6px;
  font-size: 16px;
  cursor: not-allowed;
}
.cta__cal-dow {
  display: grid; grid-template-columns: repeat(7,1fr);
  gap: 4px;
  margin-bottom: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.cta__cal-dow span { text-align: center; padding: 4px 0; }
.cta__cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; }
.cta__cal-cell {
  position: relative;
  aspect-ratio: 1/1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2px;
  border-radius: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  min-height: 36px;
}
.cta__cal-cell--empty { background: transparent; border-color: transparent; }
.cta__cal-cell--past { color: rgba(255,255,255,0.20); text-decoration: line-through; }
.cta__cal-cell--off  { color: rgba(255,255,255,0.25); }
.cta__cal-cell--booked { color: rgba(255,255,255,0.4); }
.cta__cal-cell--booked .cta__cal-num { text-decoration: line-through; }
.cta__cal-cell--open {
  background: rgba(230,122,0,0.08);
  border-color: rgba(230,122,0,0.30);
  color: #fff;
}
.cta__cal-cell--today {
  outline: 1.5px solid var(--accent);
  outline-offset: -1.5px;
}
.cta__cal-num { line-height: 1; }
.cta__cal-dot {
  width: 4px; height: 4px; border-radius: 999px; background: var(--accent);
}
.cta__cal-legend {
  display: flex; flex-wrap: wrap; gap: 16px;
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.cta__cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cta__cal-sw {
  width: 10px; height: 10px; border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.15);
}
.cta__cal-sw--open   { background: rgba(230,122,0,0.45); border-color: rgba(230,122,0,0.6); }
.cta__cal-sw--booked { background: rgba(255,255,255,0.08); }
.cta__cal-sw--off    { background: rgba(255,255,255,0.03); }
.cta__cal-overlay {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  display: flex; flex-direction: column; gap: 6px;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(10,18,64,0.92), rgba(10,18,64,0.96));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(230,122,0,0.35);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
}
.cta__cal-overlay-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.cta__cal-overlay strong { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.cta__cal-overlay-lede { font-size: 13px; line-height: 1.5; color: rgba(255,255,255,0.65); }
.cta__cal-overlay-cta {
  align-self: flex-start;
  margin-top: 8px;
  padding: 8px 14px;
  border: 0;
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  font: 600 12px/1 "Inter", sans-serif;
  letter-spacing: 0.06em;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.cta__cal-overlay-cta:hover { filter: brightness(1.08); }

@media (max-width: 520px) {
  .cta__tab { font-size: 10px; padding: 9px 8px; letter-spacing: 0.10em; }
}

.r84-camp {
  padding: 84px 0;
  background: var(--bg-2);
}
.r84-camp__inner {
  width: min(1320px, 92vw);
  margin: 0 auto;
}
.r84-camp__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 40px;
}
.r84-camp__title {
  font-weight: 700;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 14px 0 0;
  color: var(--navy);
  max-width: 680px;
}
.r84-camp__title em { color: var(--accent); font-style: normal; }
.r84-camp__lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
  max-width: 50ch;
  transform: translateY(-36px);
}
.r84-camp__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.r84-ch {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  cursor: pointer;
}
.r84-ch:hover {
  transform: translateY(-3px);
  border-color: var(--ink-3);
  box-shadow: 0 14px 32px rgba(10,18,64,0.08);
}
.r84-ch__cover {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  display: flex; flex-direction: column;
  padding: 22px;
  overflow: hidden;
}
.r84-ch__cover::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 25% 30%, rgba(230,122,0,0.25), transparent 50%),
    radial-gradient(circle at 75% 70%, rgba(61,212,192,0.18), transparent 50%);
  pointer-events: none;
}
.r84-ch__num {
  position: relative; z-index: 1;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--accent);
  text-transform: uppercase;
}
.r84-ch__big {
  position: relative; z-index: 1;
  margin-top: auto;
  font-weight: 800;
  font-size: clamp(60px, 5.5vw, 96px);
  letter-spacing: -0.05em;
  color: #fff;
  line-height: 0.95;
  font-feature-settings: "ss01";
}
.r84-ch__body {
  padding: 16px 20px 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.r84-ch__title {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.005em;
  color: var(--navy);
  margin: 0;
  line-height: 1.25;
}
.r84-ch__desc {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.5;
}
.r84-ch__cta {
  margin-top: 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}

/* ---------- PULL QUOTE / FUTURE ---------- */
.r84-future {
  padding: 140px 0;
  background: var(--bg);
}
.r84-future__inner {
  width: min(1100px, 92vw);
  margin: 0 auto;
  text-align: center;
}
.r84-future__eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.r84-future__title {
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 64px);
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--navy);
  margin: 0 auto 28px;
  max-width: 22ch;
}
.r84-future__title em {
  font-style: normal;
  font-weight: 800;
  color: var(--accent);
}
.r84-future__body {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 56ch;
  line-height: 1.6;
  margin: 0 auto 36px;
}
.r84-future__quote {
  margin-top: 60px;
  padding: 36px 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-style: normal;
  font-weight: 500;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.35;
  color: var(--navy);
  max-width: 60ch;
  margin-left: auto; margin-right: auto;
  text-wrap: balance;
}
.r84-future__quote-attr {
  margin-top: 16px;
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .r84-hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .r84-vis__inner { gap: 48px; }
  .r84-vis__top { grid-template-columns: 1fr; gap: 40px; }
  .r84-vis__head { position: static; }
  .r84-eff__grid { grid-template-columns: repeat(2, 1fr); }
  .r84-prob__head { grid-template-columns: 1fr; gap: 24px; }
  .r84-prob__grid { grid-template-columns: 1fr; }
  .r84-sol__grid { grid-template-columns: 1fr; }
  .r84-pipe__head { grid-template-columns: 1fr; gap: 28px; }
  .r84-camp__head { grid-template-columns: 1fr; gap: 24px; }
  .r84-camp__head .r84-camp__lede { transform: none; }
  .r84-camp__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .r84-eff__grid { grid-template-columns: 1fr; }
  .r84-camp__grid { grid-template-columns: 1fr; }
  .r84-grid__dots { gap: 5px; }
  .r84-pipeline__stages,
  .r84-pipeline__stages-head { grid-template-columns: repeat(5, 1fr); gap: 4px; }
  .r84-pipeline__stage-name { font-size: 11px; }
  .r84-pipeline__stage-tag { font-size: 8.5px; }
}


/* ============================================================
   ANIMATED HERO ICONS
   ============================================================ */
.r84-grid__dots .r84-dot {
  opacity: 0;
  transform: scale(0.4);
  animation: r84DotEnter 700ms cubic-bezier(.2,.7,.2,1) forwards;
  animation-delay: var(--enter-delay, 0ms);
}
@keyframes r84DotEnter {
  0%   { opacity: 0; transform: scale(0.4); }
  60%  { opacity: 1; transform: scale(1.1); }
  100% { opacity: 1; transform: scale(1); }
}
.r84-grid__dots .r84-dot--on {
  animation:
    r84DotEnter 700ms cubic-bezier(.2,.7,.2,1) forwards,
    r84IconPulse 2.6s ease-in-out infinite;
  animation-delay: var(--enter-delay, 0ms), calc(900ms + var(--enter-delay, 0ms));
}
@keyframes r84IconPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}

/* Filter transition uses --filter-delay on icons */
.r84-grid__dots .r84-dot__icon {
  transition:
    stroke 0.6s cubic-bezier(.2,.7,.2,1),
    opacity 0.6s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--filter-delay, 0ms);
}

.r84-grid__sweep { display: none; }

/* ============================================================
   GLOBAL REACH — animated world map section
   ============================================================ */
.r84-reach {
  position: relative;
  padding: 140px 0 130px;
  background: var(--bg-2);
  overflow: hidden;
}
.r84-reach__inner {
  width: min(1320px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: center;
}
.r84-reach__head {
  display: flex; flex-direction: column; gap: 18px;
}
.r84-reach__title {
  font-weight: 700;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 14px 0 0;
  color: var(--navy);
}
.r84-reach__title em {
  font-style: normal;
  color: var(--accent);
  font-weight: 800;
}
.r84-reach__lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
  max-width: 44ch;
}
.r84-reach__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}
.r84-reach__stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
}
.r84-reach__stat-v {
  font-weight: 700;
  font-size: 26px;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.r84-reach__stat-l {
  margin-top: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.r84-map {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 24px 60px rgba(10,18,64,0.08);
}
.r84-map__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 14px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.r84-map__title {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.r84-map__legend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.r84-map__legend-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 999px;
  box-shadow: 0 0 0 3px rgba(230,122,0,0.18);
}
.r84-map__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg);
  border-radius: 10px;
  overflow: hidden;
}
.r84-map__svg { width: 100%; height: 100%; display: block; }

.r84-map__node-base { fill: var(--accent); }
.r84-map__node-ring {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1;
  transform-origin: center;
  transform-box: fill-box;
  opacity: 0;
  animation: r84MapPulse 2.6s ease-out infinite;
}
@keyframes r84MapPulse {
  0%   { opacity: 0.6; r: 4; }
  100% { opacity: 0;   r: 18; }
}
.r84-map__arc {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.2;
  pathLength: 1;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
}
.r84-map__arc--on {
  opacity: 0.55;
  animation: r84ArcDraw 2.6s ease-in-out forwards;
}
@keyframes r84ArcDraw {
  0%   { stroke-dashoffset: 1; opacity: 0; }
  20%  { opacity: 0.55; }
  80%  { opacity: 0.55; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
.r84-map__list {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.r84-map__chip {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
}
.r84-map__chip b {
  color: var(--accent);
  font-weight: 700;
  margin-left: 4px;
}

/* ============================================================
   ETHNICITY × DISEASE — animated donut + table
   ============================================================ */
.r84-eth {
  position: relative;
  padding: 100px 0;
  background:
    radial-gradient(900px 500px at 50% 100%, rgba(230, 122, 0,0.10) 0%, transparent 60%),
    var(--navy-deep);
  color: #fff;
  overflow: hidden;
}
.r84-eth__bg { position: absolute; inset: 0; z-index: 0; opacity: 0.55; }
.r84-eth__inner {
  position: relative;
  z-index: 1;
  width: min(1100px, 92vw);
  margin: 0 auto;
}
.r84-eth__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 56px;
}
.r84-eth__title {
  font-weight: 700;
  font-size: clamp(38px, 4.2vw, 60px);
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 14px 0 0;
  color: #fff;
}
.r84-eth__title em {
  font-style: normal;
  color: var(--accent);
  font-weight: 800;
}
.r84-eth__head .eyebrow,
.r84-eth__head--centered .eyebrow { color: var(--accent); }
.r84-eth__seg-label { fill: #ffffff; }
.r84-eth__center-title { fill: #ffffff; }
.r84-eth__center-pct { fill: rgba(255,255,255,0.7); }
.r84-eth__lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
  max-width: 50ch;
}
.r84-eth__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.r84-eth-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px 32px 32px;
  display: flex; flex-direction: column;
  gap: 18px;
}
.r84-eth-card__head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.r84-eth-card__title {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.r84-eth-card__tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

/* Donut wrapper */
.r84-donut {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 28px;
  align-items: center;
}
.r84-donut__svg {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}
.r84-donut__seg {
  fill: none;
  stroke-width: 22;
  stroke-linecap: butt;
  transform-origin: 50% 50%;
  transform: rotate(-90deg);
  transition: stroke-width .2s ease, filter .2s ease;
  cursor: pointer;
  opacity: 0;
  animation: r84DonutFade 700ms cubic-bezier(.2,.7,.2,1) forwards;
  animation-delay: var(--delay, 0ms);
}
@keyframes r84DonutFade {
  from { opacity: 0; stroke-width: 0; }
  60%  { opacity: 1; stroke-width: 26; }
  to   { opacity: 1; stroke-width: 22; }
}
.r84-donut__seg:hover,
.r84-donut__seg.on {
  stroke-width: 28;
  filter: drop-shadow(0 4px 14px rgba(10,18,64,0.18));
}
.r84-donut__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  text-align: center;
}
.r84-donut__center-v {
  font-weight: 700;
  font-size: clamp(36px, 3vw, 54px);
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1;
}
.r84-donut__center-l {
  margin-top: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  max-width: 12ch;
}
.r84-donut__legend {
  display: flex; flex-direction: column;
  gap: 8px;
}
.r84-donut__legend-item {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 4px;
  border-bottom: 1px dashed var(--line);
  font-size: 13px;
  cursor: pointer;
  transition: background .15s ease;
}
.r84-donut__legend-item:last-child { border-bottom: 0; }
.r84-donut__legend-item:hover,
.r84-donut__legend-item.on {
  background: var(--bg-2);
  border-radius: 4px;
  padding-left: 8px;
  padding-right: 8px;
}
.r84-donut__legend-sw {
  width: 12px; height: 12px;
  border-radius: 3px;
}
.r84-donut__legend-name {
  color: var(--navy);
  font-weight: 500;
}
.r84-donut__legend-v {
  font-family: "JetBrains Mono", monospace;
  font-weight: 600;
  color: var(--ink-2);
}
.r84-eth-card__note {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin: 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  line-height: 1.5;
}

/* Disease selector + risk delta table */
.r84-eth-card__tabs {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.r84-eth-tab {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .15s ease;
}
.r84-eth-tab:hover { border-color: var(--ink-3); color: var(--navy); }
.r84-eth-tab--on {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.r84-eth-card__verdict {
  margin: 4px 0 0;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
}
.r84-eth-card__verdict b { color: var(--navy); }

.r84-eth-bars {
  display: flex; flex-direction: column; gap: 10px;
}
.r84-eth-bar {
  display: grid;
  grid-template-columns: 130px 1fr 70px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.r84-eth-bar__lbl {
  display: flex; align-items: center; gap: 8px;
  color: var(--navy);
  font-weight: 500;
}
.r84-eth-bar__lbl-sw {
  width: 10px; height: 10px; border-radius: 2px;
}
.r84-eth-bar__track {
  position: relative;
  height: 8px;
  background: var(--bg-3);
  border-radius: 4px;
  overflow: hidden;
}
.r84-eth-bar__base {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(10,18,64,0.25);
  z-index: 1;
}
.r84-eth-bar__fill {
  position: absolute;
  top: 0; bottom: 0;
  border-radius: 4px;
  background: var(--c, var(--accent));
  animation: r84BarGrow 900ms cubic-bezier(.2,.7,.2,1) forwards;
  animation-delay: var(--delay, 0ms);
  transform-origin: var(--origin, left);
  transform: scaleX(0);
}
@keyframes r84BarGrow {
  to { transform: scaleX(1); }
}
.r84-eth-bar__v {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  text-align: right;
}
.r84-eth-bar__v.neg { color: var(--ink-2); }

/* ============================================================
   ETHNICITY MORPH DONUT
   ============================================================ */
.r84-eth__head--centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  display: block;
}
.r84-eth__head--centered .r84-eth__title {
  margin: 10px auto 32px;
  max-width: 28ch;
  font-size: clamp(28px, 3.2vw, 44px);
}
.r84-eth__stage {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.r84-eth__stage--embed {
  max-width: 100%;
  margin: 0;
  gap: 0;
}
.r84-eth__stage--embed .r84-eth__svg { margin-bottom: -52px; }
.r84-eth__stage--embed .r84-eth__caption { font-size: 16px; max-width: 46ch; }
@media (max-width: 600px) {
  .r84-eth__stage--embed .r84-eth__svg {
    width: 122%;
    max-width: none;
  }
}
@media (max-width: 760px) {
  .r84-vis__cols { grid-template-columns: 1fr; }
}
.r84-eth__svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.r84-eth__seg-label {
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 600;
  fill: #ffffff;
  letter-spacing: 0;
}
.r84-eth__center-title {
  font-family: Inter, sans-serif;
  font-size: 17px;
  font-weight: 700;
  fill: #ffffff;
  letter-spacing: -0.01em;
}
.r84-eth__center-pct {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  fill: var(--accent);
  letter-spacing: 0.06em;
}
.r84-eth__callout {
  font-family: Inter, sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  fill: var(--ink-2);
}
.r84-eth__callout-name {
  font-weight: 700;
  fill: var(--navy);
  font-size: 12px;
  letter-spacing: -0.005em;
}
.r84-eth__controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 56ch;
  margin: 6px auto 0;
}
.r84-eth__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 0;
  transition: background .2s ease, transform .2s ease;
}
.r84-eth__btn:hover { background: var(--navy-2); transform: translateY(-1px); }
.r84-eth__caption {
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2-on-dark);
  margin: 0;
  max-width: 56ch;
}
.r84-eth__caption em {
  font-style: normal;
  color: var(--accent);
  font-weight: 700;
}
@media (max-width: 720px) {
  .r84-eth__callout { font-size: 11px; }
}
.r84-pipeline__stage-icon {
  width: 30px; height: 30px;
  margin: 0 auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg);
  color: var(--accent);
}
.r84-pipeline__stage--ghost .r84-pipeline__stage-icon { color: var(--ink-3); }

@media (max-width: 1080px) {
  .r84-reach__inner { grid-template-columns: 1fr; }
  .r84-eth__head { grid-template-columns: 1fr; gap: 24px; }
  .r84-eth__grid { grid-template-columns: 1fr; }
  .r84-donut { grid-template-columns: 1fr; }
}


/* ============================================================
   HERO  FILTER BUTTON  &  STATE TRANSITION
   ============================================================ */
.r84-grid__dots .r84-dot {
  transition:
    background-color 0.6s cubic-bezier(.2,.7,.2,1),
    border-color 0.6s cubic-bezier(.2,.7,.2,1),
    transform 0.6s cubic-bezier(.2,.7,.2,1),
    box-shadow 0.6s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--filter-delay, 0ms);
}
.r84-grid__btn {
  margin-top: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  background: var(--navy);
  color: #fff;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 0;
  transition: background .2s ease, transform .2s ease;
}
.r84-grid__btn:hover { background: var(--navy-2); transform: translateY(-1px); }
.r84-grid__btn:active { transform: translateY(0); }
.r84-grid__btn--reset {
  background: transparent;
  color: var(--ink-2);
  border: 1px solid var(--line);
}
.r84-grid__btn--reset:hover { background: var(--bg-2); color: var(--navy); }

/* ============================================================
   REAL WORLD MAP (Global Reach) — clean, no box
   ============================================================ */
.r84-realmap {
  position: relative;
  background: transparent;
  border-radius: 0;
  padding: 0;
  overflow: visible;
}
.r84-realmap__svg {
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 420;
  display: block;
  overflow: hidden;
}
.r84-realmap__country {
  fill: #e6e8ed;
  stroke: #ffffff;
  stroke-width: 0.5;
  transition: fill 0.18s ease, stroke 0.18s ease;
  cursor: default;
}
.r84-realmap__country.on {
  cursor: pointer;
}
.r84-realmap__country.on {
  fill: var(--accent);
  fill-opacity: 1;
}
.r84-realmap__country.on.hi {
  fill: #ff8e1c;
  stroke: #fff;
  stroke-width: 0.9;
}
.r84-realmap__country.hi:not(.on) {
  fill: #d3d6df;
}
.r84-realmap__loading,
.r84-realmap__error {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  pointer-events: none;
}
.r84-realmap__tooltip {
  position: absolute;
  z-index: 5;
  pointer-events: none;
  background: var(--navy);
  color: #fff;
  padding: 7px 12px;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(10,18,64,0.22);
  transform: translate(12px, 14px);
  white-space: nowrap;
}
.r84-realmap__tt-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.2;
}
.r84-realmap__legend { display: none; }

/* Tighten Global Reach grid (no stats column anymore) */
.r84-reach__inner {
  grid-template-columns: 0.65fr 1.7fr;
}
@media (max-width: 1080px) {
  .r84-reach__inner { grid-template-columns: 1fr; }
}


/* ============================================================
   SOLUTION CARD VIZ — stratified matrix + flow
   ============================================================ */
.r84-strata-svg,
.r84-flow-svg {
  width: 100%;
  height: 100%;
  display: block;
  padding: 6px 10px;
  box-sizing: border-box;
}
.r84-strata-lbl,
.r84-flow-lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  fill: rgba(10,18,64,0.55);
  text-transform: uppercase;
}
.r84-strata-chip {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
}


/* ============================================================
   COMPACT WORLD MAP (solution card 02)
   ============================================================ */
.r84-minimap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 6px;
  box-sizing: border-box;
}
.r84-minimap__svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
}
.r84-minimap__c {
  fill: #e6e8ed;
  stroke: #ffffff;
  stroke-width: 0.5;
}
.r84-minimap__c.on {
  fill: var(--accent);
}

/* Give the solution card a touch more height so the map breathes */
.r84-sol-card__viz {
  min-height: 130px;
}


/* ============================================================
   CAMPAIGN COVERS w/ IMAGE-SLOTS + LIGHTBOX MODAL
   ============================================================ */

/* let image-slot fill the cover */
.r84-ch__cover {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.r84-ch__cover-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}
.r84-ch__cover-tint {
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,18,64,0.05) 0%, rgba(10,18,64,0.45) 100%),
    radial-gradient(circle at 30% 30%, rgba(230,122,0,0.15), transparent 60%);
  opacity: 0.85;
}
/* The numeral and chapter number sit on top */
.r84-ch__num,
.r84-ch__big,
.r84-ch__open {
  z-index: 2;
}
.r84-ch__num {
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.r84-ch__big {
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}
.r84-ch__open {
  position: absolute;
  top: 14px; right: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(10,18,64,0.10);
  border-radius: 999px;
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.r84-ch__open:hover { background: var(--accent); color: #2a1300; transform: translateY(-1px); }

.r84-ch__cta--btn {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
.r84-ch__cta--btn:hover { color: var(--accent); }

/* ----- LIGHTBOX MODAL ----- */
.r84-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 9, 42, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: r84ModalIn 0.25s ease;
}
@keyframes r84ModalIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.r84-modal__shell {
  position: relative;
  width: min(1080px, 100%);
  max-height: calc(100vh - 48px);
  background: var(--bg);
  border-radius: 18px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: r84ModalSlide 0.32s cubic-bezier(.2,.7,.2,1);
}
@keyframes r84ModalSlide {
  from { transform: translateY(14px) scale(0.98); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.r84-modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(10,18,64,0.06);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  transition: background .2s ease, transform .2s ease;
}
.r84-modal__close:hover { background: var(--accent); color: #fff; transform: rotate(90deg); }

.r84-modal__header {
  padding: 30px 40px 18px;
  border-bottom: 1px solid var(--line);
}
.r84-modal__num {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.r84-modal__title {
  margin: 6px 0 4px;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--navy);
}
.r84-modal__desc {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
  max-width: 70ch;
}

.r84-modal__stage {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  padding: 28px 24px 8px;
  min-height: 0;
}
.r84-modal__arrow {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.r84-modal__arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: scale(1.08);
}
.r84-modal__viewport {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}
.r84-modal__slot {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(60vh, 540px);
  display: block;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.r84-modal__caption {
  margin: 0;
  text-align: center;
  font-size: 14px;
  color: var(--ink-2);
  font-style: italic;
  letter-spacing: -0.005em;
}

.r84-modal__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px 24px;
  gap: 24px;
}
.r84-modal__dots {
  display: flex;
  gap: 8px;
}
.r84-modal__dot {
  width: 24px;
  height: 6px;
  border-radius: 3px;
  background: var(--bg-3);
  border: 0;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.r84-modal__dot.is-on {
  background: var(--accent);
  transform: scaleY(1.1);
}
.r84-modal__dot:hover {
  background: color-mix(in oklab, var(--accent) 60%, var(--bg-3));
}
.r84-modal__counter {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

@media (max-width: 720px) {
  .r84-modal { padding: 12px; }
  .r84-modal__header,
  .r84-modal__foot { padding-left: 20px; padding-right: 20px; }
  .r84-modal__stage { grid-template-columns: 40px 1fr 40px; padding: 18px 8px 4px; }
  .r84-modal__arrow { width: 36px; height: 36px; font-size: 18px; }
}


/* ============================================================
   PDF PAGE renderer (used by Campaign covers + carousel)
   ============================================================ */
.r84-pdf-page {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #1a1f3d;
}
.r84-pdf-page__canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.r84-pdf-page.is-ready .r84-pdf-page__canvas {
  opacity: 1;
}
.r84-pdf-page__loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.r84-pdf-page__spinner {
  width: 24px;
  height: 24px;
  border: 2.5px solid rgba(255,255,255,0.18);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: r84Spin 0.9s linear infinite;
}
@keyframes r84Spin { to { transform: rotate(360deg); } }
.r84-pdf-page__err {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* In the modal we want contain not cover so the whole slide is visible */
.r84-modal__slot.r84-pdf-page {
  background: #0a0d28;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  aspect-ratio: 4 / 5;
  max-height: min(64vh, 620px);
  width: auto;
  margin: 0 auto;
}
.r84-modal__slot .r84-pdf-page__canvas {
  object-fit: contain;
}

/* Chapter card cover is a button now; clear default styles */
.r84-ch__cover--btn {
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  width: 100%;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.r84-ch__cover-pdf {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.r84-ch__cover-pdf .r84-pdf-page__canvas {
  object-fit: cover;
}

/* The Roman-numeral overlay is no longer needed on top of the cover image —
   the carousel slides already speak for themselves. Move the chapter number
   into the body instead. Hide what's left of the gradient tint. */
.r84-ch__cover-tint,
.r84-ch__cover .r84-ch__num,
.r84-ch__cover .r84-ch__big {
  display: none;
}
.r84-ch__cover::before {
  display: none;
}
.r84-ch__cover {
  background: #fbfaf6;
}
.r84-ch__body .r84-ch__num {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}


/* ============================================================
   BOOK SECTION
   ============================================================ */
.r84-book {
  position: relative;
  padding: 140px 0 100px;
  background: var(--bg-2);
  overflow: hidden;
}
.r84-book__inner {
  width: min(1320px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.r84-book__cover {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin-left: auto;
}
.r84-book__img {
  width: 100%;
  height: auto;
  display: block;
  /* the PNG already has a baked-in 3D look + shadow */
  filter: drop-shadow(0 30px 50px rgba(10, 18, 64, 0.25));
}
.r84-book__copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.r84-book__title {
  font-weight: 700;
  font-size: clamp(36px, 4.2vw, 58px);
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 6px 0 0;
  color: var(--navy);
  max-width: 22ch;
}
.r84-book__title em {
  color: var(--accent);
  font-style: normal;
  font-weight: 800;
}
.r84-book__byline {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-3);
  letter-spacing: 0;
}
.r84-book__byline b {
  color: var(--navy);
  font-weight: 700;
}
.r84-book__lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  max-width: 58ch;
  font-weight: 500;
}
.r84-book__body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
  max-width: 58ch;
}
.r84-book__body--accent {
  font-weight: 600;
  color: var(--navy);
  padding: 16px 20px;
  border-left: 3px solid var(--accent);
  background: rgba(230, 122, 0, 0.06);
  border-radius: 0 6px 6px 0;
}
.r84-book__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 8px;
}

/* ----- AUTHOR row, lives inside .r84-book section ----- */
.r84-author {
  margin-top: 90px;
  padding-top: 70px;
  border-top: 1px solid var(--line);
}
.r84-author__inner {
  width: min(1320px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}
.r84-author__photo {
  position: relative;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}
.r84-author__slot {
  width: 100%;
  height: 100%;
  display: block;
  background: var(--bg-3);
  box-shadow: 0 20px 50px rgba(10, 18, 64, 0.15);
}
.r84-author__copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.r84-author__name {
  font-weight: 700;
  font-size: clamp(26px, 2.6vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--navy);
  margin: 6px 0 0;
}
.r84-author__role {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0;
}
.r84-author__body {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 64ch;
}
.r84-author__body b {
  color: var(--navy);
  font-weight: 700;
}

@media (max-width: 1080px) {
  .r84-book__inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .r84-book__copy { order: 1; }
  .r84-book__cover {
    order: 2;
    margin: 0 auto;
    max-width: 320px;
  }
  .r84-author__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .r84-author__photo {
    max-width: 200px;
  }
  .r84-author__body {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ============================================================
   BOOK PRE-ORDER MODAL
   ============================================================ */
.r84-bookmodal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 18, 64, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: r84bm-fade 0.18s ease-out;
}
@keyframes r84bm-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.r84-bookmodal__card {
  position: relative;
  width: min(680px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px 44px 36px;
  box-shadow: 0 30px 80px rgba(10, 18, 64, 0.25);
  animation: r84bm-pop 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}
/* HubSpot embed sits flush on the white modal card — drop its nested box look */
.r84-bookmodal .hs-form-frame { background: transparent; border: 0; padding: 0; }
@keyframes r84bm-pop {
  from { transform: translateY(12px) scale(0.97); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.r84-bookmodal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.r84-bookmodal__close:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: rotate(90deg);
}
.r84-bookmodal__eyebrow {
  margin-bottom: 10px;
}
.r84-bookmodal__title {
  margin: 0 0 10px;
  font-family: "Instrument Serif", serif;
  font-size: clamp(28px, 2.4vw, 36px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--navy);
}
.r84-bookmodal__title em {
  font-style: italic;
  color: var(--accent);
}
.r84-bookmodal__lede {
  margin: 0 0 24px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.r84-bookmodal__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.r84-bookmodal__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.r84-bookmodal__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.r84-bookmodal__label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.r84-bookmodal__field input {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  color: var(--navy);
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.r84-bookmodal__field input::placeholder {
  color: var(--ink-3);
}
.r84-bookmodal__field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(230, 122, 0, 0.16);
}
.r84-bookmodal__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 8px;
}
.r84-bookmodal__actions--center {
  justify-content: center;
  margin-top: 4px;
}
.r84-bookmodal__fineprint {
  margin: 4px 0 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-3);
}
.r84-bookmodal__success {
  text-align: center;
  padding: 8px 0 4px;
}
.r84-bookmodal__check {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: 28px;
  font-weight: 700;
  box-shadow: 0 0 0 6px rgba(230, 122, 0, 0.16);
}

@media (max-width: 520px) {
  .r84-bookmodal__card { padding: 32px 22px 26px; }
  .r84-bookmodal__row { grid-template-columns: 1fr; }
  .r84-bookmodal__actions { flex-direction: column-reverse; }
  .r84-bookmodal__actions .btn { width: 100%; justify-content: center; }
}

/* ---------- KEY OPINION LEADERS (ByteSight voices) ---------- */
.r84-kol {
  padding: 130px 0;
  background: var(--bg-2);
}
.r84-kol__inner {
  width: min(1200px, 92vw);
  margin: 0 auto;
}
.r84-kol__head {
  max-width: 900px;
  margin: 0 auto 56px;
  text-align: center;
}
.r84-kol__title {
  font-weight: 800;
  font-size: clamp(32px, 4vw, 50px);
  letter-spacing: -0.025em;
  line-height: 1.06;
  color: var(--navy);
  margin: 14px 0 0;
}
@media (min-width: 1081px) {
  .r84-kol__title { white-space: nowrap; }
}
.r84-kol__title em { font-style: normal; color: var(--accent); }
.r84-kol__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.r84-kol-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 32px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.r84-kol-card:hover {
  border-color: var(--ink-3);
  box-shadow: 0 14px 34px rgba(10,18,64,0.08);
  transform: translateY(-3px);
}
.r84-kol-card__quote {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--navy);
  flex: 1;
}
.r84-kol-card__quote::before { content: "\201C"; color: var(--accent); }
.r84-kol-card__quote::after  { content: "\201D"; color: var(--accent); }
.r84-kol-card__foot {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.r84-kol-card__photo {
  flex-shrink: 0;
}
.r84-kol-card__photo img,
.r84-kol-card__photo image-slot {
  border-radius: 50%;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  box-shadow: 0 0 0 1px var(--line);
}
.r84-kol-card__id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.r84-kol-card__name { font-weight: 700; font-size: 14px; color: var(--navy); }
.r84-kol-card__role {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--ink-3);
}
@media (max-width: 900px) {
  .r84-kol__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

/* ---------- SCIENCE (evidence / resources) ---------- */
.r84-sci {
  padding: 64px 0;
  background: var(--bg);
}
.r84-sci__inner {
  width: min(1120px, 92vw);
  margin: 0 auto;
}
.r84-sci__head {
  max-width: 680px;
  margin-bottom: 32px;
}
.r84-sci__head .eyebrow { color: var(--accent); }
.r84-sci__title {
  font-weight: 800;
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--navy);
  margin: 12px 0 14px;
}
.r84-sci__title em { font-style: normal; color: var(--accent); }
.r84-sci__lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}
.r84-sci__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.r84-sci-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  height: 100%;
  padding: 24px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.r84-sci-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(10,18,64,0.07);
}
.r84-sci-card__tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.r84-sci-card__title {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--navy);
  margin: 2px 0 0;
}
.r84-sci-card__authors {
  font-size: 13px;
  color: var(--ink-3);
}
.r84-sci-card__note {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 6px 0 0;
  flex: 1;
}
.r84-sci-card__cta {
  margin-top: 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.r84-sci-card:hover .r84-sci-card__cta { color: var(--accent); }
.r84-sci__foot {
  margin: 24px 0 0;
  font-size: 12.5px;
  color: var(--ink-3);
}

/* ============================================================
   GLOBAL TYPE NORMALIZE
   Section headings → 60px · section intro paragraphs → 16px
   Orange section eyebrows stay 13px (set in styles.css)
   ============================================================ */
.r84-hero__title,
.r84-vis__title,
.r84-eff__title,
.r84-prob__title,
.r84-manifesto__title,
.r84-sol__title,
.r84-pipe__title,
.r84-camp__title,
.r84-future__title,
.r84-reach__title,
.r84-eth__title,
.r84-book__title,
.r84-kol__title,
.r84-sci__title {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.08;
}
.r84-vis__lede,
.r84-eff__lede,
.r84-prob__lede,
.r84-manifesto__body,
.r84-sol__lede,
.r84-pipe__lede,
.r84-camp__lede,
.r84-future__body,
.r84-reach__lede,
.r84-eth__lede,
.r84-eth__caption,
.r84-book__lede,
.r84-book__body,
.r84-sci__lede {
  font-size: 16px;
}
.r84-hero__lede { font-size: 20px; }
.r84-hero__title { font-size: clamp(40px, 5.6vw, 70px); }
@media (max-width: 760px) {
  .r84-sci__list { grid-template-columns: 1fr; }
}
