/* ============================================================
   index.css — page-specific styles for the consultation site
   Builds on colors_and_type.css + components.css
   ============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }

a { color: inherit; }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding-top: 56px;
  padding-bottom: 88px;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--s-10);
  align-items: end;
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--s-7); }
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-7);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  text-wrap: balance;
  margin: 0;
}

.hero__title em {
  font-style: normal;
  background: var(--kiwi-400);
  padding: 0 0.08em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  display: inline-block;
  transform: rotate(-0.5deg);
}

.hero__sub {
  margin-top: var(--s-7);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--fg-2);
  max-width: 60ch;
}

.hero__art {
  aspect-ratio: 3 / 4;
  background: var(--bone-2);
  border-radius: var(--r-4);
  overflow: hidden;
  position: relative;
}

/* Stat-art — page 1 hero abstract preview of calculator result */
.stat-art {
  position: absolute;
  inset: 0;
  background: var(--ink-900);
  color: var(--bone);
  padding: clamp(20px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stat-art__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.stat-art__eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-300);
}
.stat-art__chip {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--ink-200);
  text-transform: uppercase;
}
.stat-art__big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(64px, 9vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--kiwi-400);
  margin-top: 4px;
}
.stat-art__unit {
  font-size: 0.4em;
  font-weight: 600;
  color: var(--bone);
  letter-spacing: -0.02em;
}
.stat-art__sub {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink-200);
  margin-top: -4px;
}
.stat-art__bars {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-art__bar {
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  transition: width 800ms var(--ease-out);
}
.stat-art__bar--accent {
  background: var(--kiwi-400);
}
.stat-art__legend {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-300);
  margin-top: 4px;
}

/* Abstract money/chart art (alt) */
.coin-art {
  position: absolute;
  inset: 0;
  background: var(--ink-900);
  color: var(--bone);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.coin-art__bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 60%;
}
.coin-art__bar {
  width: 28px;
  background: var(--kiwi-400);
  border-radius: 4px 4px 0 0;
}

/* ============ PAGE INDICATOR ============ */
.page-indicator {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-3);
}
.page-indicator__num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-900);
}

/* ============ SECTION HEADER ============ */
.section-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-7);
  align-items: end;
  margin-bottom: var(--s-9);
}
.section-header__num {
  font-family: var(--font-display);
  font-size: clamp(80px, 12vw, 160px);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--kiwi-400);
}
.section-header__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  max-width: 24ch;
  text-wrap: balance;
}

/* ============ RULES GRID ============ */
.rules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}
@media (max-width: 1024px) { .rules { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .rules { grid-template-columns: 1fr; } }

/* ============ COMPANY EXAMPLE BLOCK ============ */
.company-stat {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--s-6);
  align-items: center;
  padding: var(--s-6) 0;
  border-top: var(--border-hair);
}
.company-stat:last-child { border-bottom: var(--border-hair); }
.company-stat__logo {
  height: 36px;
  display: flex;
  align-items: center;
}
.company-stat__logo img { height: 100%; width: auto; }
.company-stat__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--ink-900);
}
.company-stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 38px);
  color: var(--ink-900);
  letter-spacing: -0.02em;
}
.company-stat__num em {
  font-style: normal;
  background: var(--kiwi-400);
  padding: 0 6px;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
@media (max-width: 900px) { .company-grid { grid-template-columns: 1fr; } }

.company-card {
  background: var(--paper);
  border: var(--border-hair);
  border-radius: var(--r-4);
  padding: var(--s-7);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}
.company-card__logo {
  height: 28px;
  display: flex;
  align-items: center;
}
.company-card__logo img { height: 100%; width: auto; }
.company-card__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  color: var(--ink-900);
  letter-spacing: -0.025em;
  font-feature-settings: 'tnum' 1;
}
.company-card__num--kiwi { color: var(--kiwi-600); }
.company-card__body {
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-2);
}

/* ============ CALCULATOR ============ */
.calc {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-9);
  background: var(--paper);
  border: var(--border-hair);
  border-radius: var(--r-5);
  padding: var(--s-9);
}
@media (max-width: 1024px) { .calc { grid-template-columns: 1fr; gap: var(--s-7); padding: var(--s-7); } }

.calc__fields {
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
}
.calc__output {
  background: var(--ink-900);
  color: var(--bone);
  border-radius: var(--r-4);
  padding: var(--s-7);
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
}
.calc__output .metric__label { color: var(--ink-300); }
.calc__output .metric__value { color: var(--bone); }
.calc__hero-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 700;
  line-height: 1;
  color: var(--kiwi-400);
  letter-spacing: -0.025em;
  font-feature-settings: 'tnum' 1;
  text-wrap: nowrap;
  margin-top: 12px;
}
.calc__output-row__label {
  font-size: 14px;
  color: var(--ink-300);
  flex-shrink: 1;
  min-width: 0;
}
.calc__output-row__val {
  flex-shrink: 0;
  margin-left: 12px;
}
.calc__output-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--s-3) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.calc__output-row:last-child { border-bottom: none; }
.calc__output-row__label { font-size: 14px; color: var(--ink-300); }
.calc__output-row__val {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--bone);
  font-feature-settings: 'tnum' 1;
}

/* Instruction box above calculator */
.calc-intro {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-5);
  align-items: start;
  padding: var(--s-6);
  background: var(--kiwi-100);
  border-radius: var(--r-4);
  margin-bottom: var(--s-6);
}
.calc-intro__icon {
  width: 44px;
  height: 44px;
  background: var(--kiwi-400);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--ink-900);
}

/* ============ PAGE TAB NAV (Section starter / cross-page nav) ============ */
.page-tabs {
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
  padding: var(--s-4) 0;
  border-bottom: var(--border-hair);
}
.page-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-2);
  text-decoration: none;
  border: 1px solid transparent;
  transition: all var(--dur-base) var(--ease-out);
  cursor: pointer;
  background: transparent;
  font-family: var(--font-body);
}
.page-tab:hover { color: var(--ink-900); border-color: var(--line); }
.page-tab--active {
  background: var(--ink-900);
  color: var(--bone);
}
.page-tab--active:hover { color: var(--bone); border-color: var(--ink-900); }
.page-tab__num {
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: 0.6;
}

/* ============ COMPARISON BLOCK (Scenario 1 vs 2) ============ */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}
@media (max-width: 900px) { .compare { grid-template-columns: 1fr; } }
.compare__col {
  padding: var(--s-7);
  border-radius: var(--r-4);
}
.compare__col--neutral {
  background: var(--bone-2);
}
.compare__col--win {
  background: var(--ink-900);
  color: var(--bone);
}
.compare__col--win .metric__label { color: var(--ink-300); }
.compare__col--win .metric__value { color: var(--kiwi-400); }
.compare__head {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-6);
}
.compare__head__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.compare__rows { display: flex; flex-direction: column; gap: var(--s-3); }
.compare__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid currentColor;
  border-color: rgba(20,24,8,0.08);
}
.compare__col--win .compare__row { border-color: rgba(255,255,255,0.1); }
.compare__row:last-child { border-bottom: none; }
.compare__row__label { font-size: 14px; }
.compare__row__val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  font-feature-settings: 'tnum' 1;
}

/* ============ FOOTER CTA (page 4) ============ */
.cta-block {
  background: var(--ink-900);
  color: var(--bone);
  border-radius: var(--r-5);
  padding: clamp(40px, 6vw, 88px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--s-9);
  align-items: end;
  position: relative;
  overflow: hidden;
}
@media (max-width: 900px) { .cta-block { grid-template-columns: 1fr; } }
.cta-block__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.cta-block__title em {
  font-style: normal;
  color: var(--kiwi-400);
}
.cta-block__decoration {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--kiwi-500), var(--kiwi-700));
  opacity: 0.18;
  filter: blur(40px);
  pointer-events: none;
}

/* ============ FOOTER ============ */
.footer {
  border-top: var(--border-hair);
  padding: var(--s-9) 0 var(--s-7);
  background: var(--bone);
  font-size: 13px;
  color: var(--fg-3);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-7);
  margin-bottom: var(--s-8);
}
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
.footer h5 {
  font-family: var(--font-body);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: var(--ink-700);
  margin-bottom: var(--s-3);
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer a { color: var(--fg-2); text-decoration: none; }
.footer a:hover { color: var(--ink-900); }
.footer__bottom {
  border-top: var(--border-hair);
  padding-top: var(--s-5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-3);
}

/* ============ TICKER (running text decoration like notdorn) ============ */
.ticker {
  background: var(--ink-900);
  color: var(--bone);
  overflow: hidden;
  padding: 14px 0;
  border-radius: var(--r-pill);
}
.ticker__track {
  display: flex;
  gap: var(--s-8);
  animation: ticker 30s linear infinite;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}
.ticker__track span {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
}
.ticker__track .dot {
  width: 8px;
  height: 8px;
  background: var(--kiwi-400);
  border-radius: 50%;
  display: inline-block;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ MOTION ============ */
.fade-up { animation: fadeUp 600ms var(--ease-out) both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ EXPANDABLE PROSE wrapper (mobile collapse) ============ */
.prose-wrap { position: relative; }
.prose-wrap .prose-toggle { display: none; }

/* ============ PROSE — editorial text blocks ============ */
.prose {
  max-width: 72ch;
  color: var(--fg-2);
}
.prose__lead {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin: 0 0 var(--s-6) 0;
  text-wrap: balance;
}
.prose__h {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 1.8vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin: var(--s-8) 0 var(--s-4) 0;
  text-wrap: balance;
}
.prose p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg-2);
  margin: 0 0 var(--s-4) 0;
}
.prose p strong { color: var(--ink-900); font-weight: 600; }
.prose p em {
  font-style: normal;
  background: var(--kiwi-400);
  padding: 0 0.12em;
  color: var(--ink-900);
}
.prose ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-5) 0;
  border-left: 2px solid var(--kiwi-400);
}
.prose ul li {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg-2);
  padding: 6px 0 6px var(--s-4);
}
.prose__pull {
  border-top: 1px solid var(--line);
  margin-top: var(--s-7);
  padding-top: var(--s-6);
}
.prose__pull p { font-size: 18px; }
.prose__question {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  margin: 0 0 var(--s-4) 0;
}
.prose__question em {
  font-style: normal;
  background: var(--kiwi-400);
  padding: 0 0.1em;
}

/* ============ UTILS ============ */
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--s-2); }
.gap-3 { gap: var(--s-3); }
.gap-4 { gap: var(--s-4); }
.gap-5 { gap: var(--s-5); }
.gap-6 { gap: var(--s-6); }
.gap-7 { gap: var(--s-7); }
.mt-3 { margin-top: var(--s-3); }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
.mt-9 { margin-top: var(--s-9); }
.mb-3 { margin-bottom: var(--s-3); }
.mb-5 { margin-bottom: var(--s-5); }
.mb-6 { margin-bottom: var(--s-6); }
.mb-7 { margin-bottom: var(--s-7); }
.mb-9 { margin-bottom: var(--s-9); }
.text-center { text-align: center; }
.w-full { width: 100%; }
.grow { flex-grow: 1; }

/* ============ NEXT PAGE NAV (between pages 1-3 → 2-4) ============ */
.next-page-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-9);
  padding-bottom: var(--s-9);
  gap: var(--s-4);
  flex-wrap: wrap;
}

/* ============================================================
   MOBILE (≤768px) — global responsive overrides
   ============================================================ */
@media (max-width: 768px) {
  /* Next page nav — compact */
  .next-page-nav { padding-top: var(--s-6); padding-bottom: var(--s-6); gap: var(--s-3); }
  .next-page-nav > div { width: 100%; }
  /* Tighter container gutter */
  .container { padding-left: 16px; padding-right: 16px; }

  /* Section vertical rhythm — tighter */
  .section { padding-top: var(--s-8); padding-bottom: var(--s-8); }
  .section-tight { padding-top: var(--s-6); padding-bottom: var(--s-6); }

  /* HERO — compact */
  .hero { padding-top: 20px; padding-bottom: var(--s-7); }
  .hero__grid { gap: var(--s-5); }
  .hero__title { font-size: clamp(34px, 9vw, 44px); line-height: 1.02; }
  .hero__sub { font-size: 16px; margin-top: var(--s-4); line-height: 1.45; }
  .hero__eyebrow { gap: var(--s-2); margin-bottom: var(--s-4); flex-wrap: wrap; }
  .hero__art { aspect-ratio: 16 / 11; }

  /* SECTION HEADER — big lime number compacted */
  .section-header { gap: var(--s-3); align-items: center; margin-bottom: var(--s-5) !important; }
  .section-header__num { font-size: clamp(48px, 14vw, 64px); line-height: 0.9; }
  .section-header__title { font-size: clamp(20px, 5.2vw, 26px); line-height: 1.08; }

  /* SCROLL-ROW — horizontal snap carousel for parallel card lists.
     Bleeds to viewport edges to look intentional; first/last items snap
     under container padding. */
  .rules,
  .company-grid {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-template-columns: none !important;
    grid-auto-columns: 78% !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
    -webkit-overflow-scrolling: touch;
    /* edge bleed */
    margin-left: -16px;
    margin-right: -16px;
    padding: 6px 16px 18px 16px;
    scrollbar-width: thin;
  }
  .rules > *,
  .company-grid > * {
    scroll-snap-align: start;
  }
  .rules::-webkit-scrollbar,
  .company-grid::-webkit-scrollbar { height: 6px; }
  .rules::-webkit-scrollbar-thumb,
  .company-grid::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }

  /* Cards inside scroll row */
  .rule-card { padding: var(--s-5); }
  .rule-card__title { font-size: 18px; }
  .rule-card__body { font-size: 14px; line-height: 1.5; }

  .company-card { padding: var(--s-5); }
  .company-card__num { font-size: clamp(28px, 8vw, 36px); margin-top: 8px; }
  .company-card__body { font-size: 14px; line-height: 1.5; }
  .company-card__logo img { height: 26px; }

  /* COMPARE — stacks 1col, tighter */
  .compare { grid-template-columns: 1fr !important; gap: var(--s-3) !important; }
  .compare__col { padding: var(--s-5); }

  /* CTA block — fix overflow + compact */
  .cta-block { padding: var(--s-6) var(--s-5) !important; grid-template-columns: 1fr !important; gap: var(--s-5) !important; }
  .cta-block__title {
    font-size: clamp(28px, 8vw, 38px) !important;
    line-height: 1.05;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  .cta-block__title em, .cta-block em { display: inline; }
  .cta-block .btn--xl { font-size: 16px; padding: 14px 18px; width: 100%; justify-content: center; }
  .cta-block__decoration { opacity: 0.6; }

  /* TICKER — compact */
  .ticker { margin-bottom: var(--s-7) !important; padding: 10px 0; }
  .ticker__track { gap: var(--s-5); }

  /* CALCULATOR layout — tighter */
  .calc { grid-template-columns: 1fr !important; gap: var(--s-5) !important; padding: var(--s-5) !important; border-radius: var(--r-4); }
  .calc__fields { gap: var(--s-4) !important; }
  .calc__output { padding: var(--s-5) !important; gap: var(--s-3) !important; }
  .calc__hero-num { font-size: clamp(36px, 11vw, 54px) !important; line-height: 1; text-wrap: wrap; }
  .calc__output-row { padding: 6px 0 !important; }
  .calc__output-row__label { font-size: 13px !important; }
  .calc__output-row__val { font-size: 15px !important; }
  .calc-intro { gap: var(--s-4); align-items: flex-start; margin-bottom: var(--s-5); }
  .calc-intro__icon { flex-shrink: 0; }

  /* Form fields touch targets */
  .field input[type="number"],
  .field input[type="text"] {
    font-size: 16px; /* prevents iOS zoom on focus */
    padding: 12px 14px;
    min-height: 48px;
  }
  .field input[type="range"] {
    height: 28px;
  }
  .field input[type="range"]::-webkit-slider-thumb {
    width: 28px !important;
    height: 28px !important;
  }
  .segmented { flex-wrap: wrap; gap: 6px !important; }
  .segmented__btn { flex: 1 1 calc(33.333% - 4px); min-height: 44px; font-size: 14px; }

  /* PROSE on mobile — tighter */
  .prose { max-width: 100%; }
  .prose__lead { font-size: clamp(20px, 5.8vw, 26px); margin-bottom: var(--s-4) !important; }
  .prose__h { font-size: clamp(19px, 5.2vw, 24px); margin-top: var(--s-6) !important; margin-bottom: var(--s-3) !important; }
  .prose p { font-size: 16px; line-height: 1.55; margin: 0 0 var(--s-3) 0 !important; }
  .prose ul { margin-bottom: var(--s-4) !important; }
  .prose ul li { font-size: 15px; line-height: 1.5; padding: 4px 0 4px var(--s-3); }
  .prose__question { font-size: clamp(18px, 5vw, 22px); }
  .prose__pull { margin-top: var(--s-5) !important; padding-top: var(--s-5) !important; }

  /* COLLAPSIBLE PROSE on mobile */
  .prose-wrap.is-closed .prose {
    max-height: var(--prose-preview-h, 240px);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
            mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
  }
  .prose-wrap.is-open .prose { max-height: none; }
  .prose-wrap .prose-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--ink-900);
    color: var(--bone);
    padding: 12px 22px;
    border-radius: var(--r-pill);
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    min-height: 44px;
    margin-top: var(--s-4);
    transition: background var(--dur-base) var(--ease-out);
  }
  .prose-wrap .prose-toggle:hover,
  .prose-wrap .prose-toggle:active { background: var(--ink-700); }
  .prose-wrap.is-closed .prose-toggle { box-shadow: 0 -28px 32px -16px var(--bone); }

  /* Buttons — touch-friendly */
  .btn { min-height: 44px; }
  .btn--lg, .btn--xl { padding: 14px 20px; font-size: 15px; }

  /* Hide ornate hero arts on very small screens (optional — keep visible for now) */
  /* Page indicator */
  .page-indicator { font-size: 12px; }
}

/* Extra-small phones */
@media (max-width: 380px) {
  .container { padding-left: 14px; padding-right: 14px; }
  .hero__title { font-size: 32px; }
  .segmented__btn { flex: 1 1 calc(50% - 3px); }
}

