/* ==========================================================================
   MONEY ON THE TABLE — landing page
   Single stylesheet. Brand tokens at the top; nothing else hard-codes a colour.
   ========================================================================== */

/* ---------- fonts (self-hosted, latin subset) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Courier Prime";
  src: url("../fonts/courier-prime-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Courier Prime";
  src: url("../fonts/courier-prime-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  /* palette */
  --cream: #F4ECE0;
  --cream-deep: #EADFCE;
  --receipt: #FFF8EA;
  --green: #153F33;
  --green-deep: #0F3128;
  --gold: #E2A817;
  --gold-deep: #C08F12;
  --gold-ink: #7E5D0F;          /* gold that has to be read, not just seen */

  /* inks (contrast-checked against their grounds) */
  --ink: #17352C;              /* 9.7:1 on cream */
  --ink-soft: #3C5347;         /* 6.0:1 on cream */
  --ink-faint: #55695C;        /* 5.0:1 on cream — labels only */
  --ink-on-green: #F4ECE0;     /* 9.9:1 on green */
  --ink-on-green-soft: #DACDBB;/* 7.1:1 on green */
  --ink-on-green-faint: #A9BDB0;/* 4.9:1 on green */

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "Courier Prime", "Courier New", Courier, monospace;

  --wrap: 1180px;
  --measure: 36em;

  --rule: rgba(23, 53, 44, 0.16);
  --rule-strong: rgba(23, 53, 44, 0.3);
  --rule-on-green: rgba(244, 236, 224, 0.22);

  --shadow-paper: 0 18px 40px -18px rgba(21, 63, 51, 0.45),
                  0 3px 10px -4px rgba(21, 63, 51, 0.22);
  --shadow-lift: 0 26px 56px -22px rgba(15, 49, 40, 0.55),
                 0 4px 14px -6px rgba(15, 49, 40, 0.28);

  --space-section: clamp(64px, 8vw, 116px);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(17px, 1.15vw, 18.5px);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1.05em; text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; text-wrap: balance; }
a { color: inherit; }
button { font: inherit; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(20px, 4.5vw, 44px);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 16px; top: -70px; z-index: 40;
  background: var(--green); color: var(--cream);
  padding: 12px 18px; border-radius: 3px;
  font: 600 15px/1 var(--sans); text-decoration: none;
}
.skip:focus { top: 16px; }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-green :focus-visible,
.on-green:focus-visible,
.btn--gold:focus-visible { outline-color: var(--gold); }

/* ---------- paper ground ---------- */
.paper-ground { position: relative; }
.paper-ground::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../img/grain.png");
  background-size: 300px 300px;
  opacity: 0.14;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}
.paper-ground > * { position: relative; z-index: 1; }

/* ---------- shared type ---------- */
.h2 {
  font-size: clamp(31px, 3.9vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.022em;
  font-weight: 700;
  font-variation-settings: "opsz" 40, "SOFT" 60, "WONK" 1;
}
.lede {
  font-family: var(--serif);
  font-size: clamp(20px, 1.9vw, 24px);
  line-height: 1.42;
  letter-spacing: -0.005em;
  font-variation-settings: "opsz" 30;
}
.mono-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.prose > p { max-width: 34em; }
.prose > p:last-child { margin-bottom: 0; }

/* ---------- emblem (single-ink mark, tinted with currentColor) ---------- */
.emblem {
  display: inline-block;
  aspect-ratio: 170 / 128;
  height: auto;
  flex: 0 0 auto;
  background-color: currentColor;
  -webkit-mask-image: url("../img/emblem.png");
  mask-image: url("../img/emblem.png");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--gold);
  --btn-ink: #14352C;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding: 17px 30px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-family: var(--sans);
  font-size: clamp(14.5px, 1.1vw, 16px);
  font-weight: 700;
  letter-spacing: 0.075em;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 26px -14px rgba(21, 63, 51, 0.55),
              inset 0 -3px 0 rgba(0, 0, 0, 0.07);
  transition: transform 140ms ease, box-shadow 180ms ease, background-color 160ms ease;
  min-height: 52px;
}
.btn:hover {
  background: #EAB433;
  transform: translateY(-1px);
  box-shadow: 0 20px 32px -14px rgba(21, 63, 51, 0.5),
              inset 0 -3px 0 rgba(0, 0, 0, 0.07);
}
.btn:active { transform: translateY(0); }
.btn__arrow { font-size: 1.1em; line-height: 1; transform: translateY(-0.03em); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-weight: 600; font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--green);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}

/* ==========================================================================
   TOP RAIL
   ========================================================================== */
.rail {
  padding-block: clamp(18px, 2.4vw, 26px);
}
.rail__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.rail__mark {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11.5px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-soft); text-decoration: none;
}
.rail__mark img { width: 30px; height: auto; }
.rail__meta {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-faint);
}
@media (max-width: 560px) { .rail__meta { display: none; } }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { padding-bottom: clamp(48px, 6vw, 84px); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(30px, 4.5vw, 64px);
  align-items: center;
}

.hero__art {
  position: relative;
  margin: 0;
  transform: rotate(-1.4deg);
  filter: drop-shadow(0 26px 34px rgba(21, 63, 51, 0.16));
}
.hero__art img { width: 100%; max-width: 560px; }
/* the collage carries its own torn backing */
.hero__art--mobile { display: none; }

.hero__copy { max-width: 620px; }

.hero__title {
  margin: 0 0 clamp(16px, 2vw, 24px);
  line-height: 0;
}
.hero__title img {
  width: clamp(268px, 33vw, 430px);
  height: auto;
}

.hero__benefit {
  margin: 0 0 clamp(20px, 2.4vw, 28px);
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.028em;
  font-weight: 700;
  font-variation-settings: "opsz" 56, "SOFT" 46, "WONK" 1;
  color: var(--ink);
}
.hero__benefit em {
  font-style: italic;
  font-variation-settings: "opsz" 56, "SOFT" 70, "WONK" 1;
  position: relative;
  z-index: 0;
  white-space: nowrap;
}
.hero__benefit em::before {
  content: "";
  position: absolute;
  left: -0.04em; right: -0.04em;
  bottom: 0.06em; height: 0.3em;
  background: var(--gold);
  opacity: 0.9;
  transform: rotate(-0.8deg);
  border-radius: 2px 4px 3px 5px;
  z-index: -1;
}

.hero__body { max-width: 33em; }
.hero__body p { color: var(--ink-soft); }
.hero__body p:last-of-type { color: var(--ink); }

.hero__cta { margin-top: clamp(22px, 2.6vw, 30px); }
.hero__deliverable {
  display: flex; align-items: baseline; gap: 10px;
  margin: 16px 0 0;
  font-family: var(--mono); font-size: 12.5px; line-height: 1.4;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink-soft);
}
.hero__deliverable::before {
  content: ""; flex: 0 0 18px; height: 1px;
  background: var(--gold-deep);
  transform: translateY(-4px);
}

/* ==========================================================================
   THE MATH
   ========================================================================== */
.math { padding-block: var(--space-section) 0; }
.math__head { max-width: 620px; margin-bottom: clamp(34px, 4.4vw, 56px); }

.figures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 44px);
  border-top: 1px solid var(--rule);
  padding-top: clamp(26px, 3.2vw, 40px);
}
.figure { position: relative; }
.figure + .figure::before {
  content: "";
  position: absolute; left: calc(-1 * clamp(11px, 1.5vw, 22px)); top: 4px; bottom: 4px;
  width: 1px; background: var(--rule);
}
.figure__num {
  display: inline-block;
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: clamp(58px, 6.4vw, 88px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-weight: 700;
  font-variation-settings: "opsz" 60, "SOFT" 50, "WONK" 1;
  color: var(--ink);
  position: relative;
  z-index: 0;
}
.figure__num small {
  font-size: 0.3em;
  letter-spacing: 0.02em;
  font-family: var(--sans);
  font-weight: 600;
  margin-left: 0.18em;
  color: var(--ink-soft);
  vertical-align: baseline;
}
.figure__num b {
  position: relative;
  z-index: 0;
  display: inline-block;
  font-weight: inherit;
}
.figure__num b::after {
  content: "";
  position: absolute;
  left: -0.04em; right: -0.05em;
  bottom: 0.02em; height: 0.36em;
  background: var(--gold);
  mix-blend-mode: multiply;
  z-index: 2;
  border-radius: 2px;
  transform: rotate(-0.7deg);
  pointer-events: none;
}
.figure__line {
  font-family: var(--serif);
  font-size: clamp(17.5px, 1.45vw, 20px);
  line-height: 1.42;
  color: var(--ink);
  margin: 0;
}
.figure__line b { font-weight: 600; }
.figure__source {
  display: block;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}
.figure__source a { text-decoration-color: var(--rule-strong); text-underline-offset: 3px; }
.figure__source a:hover { color: var(--green); }

.math__body {
  margin-top: clamp(44px, 5.5vw, 76px);
  max-width: 40em;
}
.math__body p {
  font-family: var(--serif);
  font-size: clamp(19px, 1.75vw, 22.5px);
  line-height: 1.5;
  letter-spacing: -0.005em;
  font-variation-settings: "opsz" 40;
  color: var(--ink);
}
.math__body p + p { margin-top: 1.05em; }
.math__body .strike-soft { color: var(--ink-soft); }

/* ==========================================================================
   TURN (green band)
   ========================================================================== */
.turn {
  margin-top: var(--space-section);
  background: var(--green);
  color: var(--ink-on-green);
  padding-block: clamp(56px, 7vw, 96px);
  position: relative;
  overflow: hidden;
}
.turn::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../img/grain.png");
  background-size: 320px 320px;
  opacity: 0.32;
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.turn__inner { position: relative; max-width: 30em; }
.turn__lead {
  font-family: var(--serif);
  font-size: clamp(21px, 2.3vw, 30px);
  line-height: 1.36;
  letter-spacing: -0.012em;
  font-weight: 600;
  color: var(--ink-on-green);
  margin: 0 0 clamp(18px, 2.2vw, 26px);
  max-width: 26ch;
}
.turn__punch {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(52px, 7.2vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-style: italic;
  font-weight: 700;
  font-variation-settings: "opsz" 60, "SOFT" 70, "WONK" 1;
  color: var(--gold);
}

/* ==========================================================================
   OPPORTUNITY
   ========================================================================== */
.chances { padding-block: var(--space-section); }
.chances__head {
  max-width: 700px;
  margin-bottom: clamp(30px, 4vw, 52px);
}
.chances__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: start;
}

.slip {
  position: relative;
  background: var(--receipt);
  padding: clamp(26px, 3vw, 40px) clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow-paper);
  border-radius: 2px;
}
.slip::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -13px; height: 14px;
  background-image: url("../img/receipt-edge.png");
  background-repeat: repeat-x;
  background-size: 26px 14px;
  transform: rotate(180deg);
  opacity: 0.99;
}
.slip__item { display: flex; gap: clamp(14px, 1.6vw, 22px); align-items: flex-start; }
.slip__item + .slip__item {
  margin-top: clamp(18px, 2.2vw, 26px);
  padding-top: clamp(18px, 2.2vw, 26px);
  border-top: 1px dashed var(--rule-strong);
}
.slip__tick {
  flex: 0 0 14px;
  height: 2px;
  margin-top: 0.85em;
  background: var(--gold);
  transform: rotate(-1deg);
}
.slip__item p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.45;
  letter-spacing: -0.005em;
  font-variation-settings: "opsz" 36;
}
.slip__note {
  margin: clamp(22px, 2.6vw, 30px) 0 0;
  padding-top: clamp(18px, 2vw, 22px);
  border-top: 1px dashed var(--rule-strong);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.chances__body { padding-top: clamp(4px, 1vw, 14px); }
.chances__body p { max-width: 30em; }
.chances__body .lede {
  color: var(--ink);
  margin-bottom: 1.1em;
}
.chances__body p:last-child {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 26em;
}

/* ==========================================================================
   PREVIEW (green)
   ========================================================================== */
.preview {
  background: var(--green);
  color: var(--ink-on-green);
  padding-block: clamp(60px, 7.5vw, 104px);
  position: relative;
  overflow: hidden;
}
.preview::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../img/grain.png");
  background-size: 320px 320px;
  opacity: 0.3;
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.preview__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 4.5vw, 68px);
  align-items: start;
}
.preview__copy { max-width: 30em; }
.preview__copy .h2 { color: var(--ink-on-green); margin-bottom: clamp(20px, 2.4vw, 28px); }
.preview__copy p { color: var(--ink-on-green-soft); }
.preview__copy p.preview__punch {
  color: var(--ink-on-green);
  font-family: var(--serif);
  font-size: clamp(19px, 1.7vw, 22px);
  margin-top: 1.4em;
}
.preview__cta { margin-top: clamp(26px, 3vw, 36px); }

/* --- the example receipt card --- */
.result {
  position: relative;
  background: var(--receipt);
  color: var(--ink);
  border-radius: 2px;
  box-shadow: var(--shadow-lift);
  padding: clamp(24px, 2.8vw, 34px);
  font-size: 15px;
}
.result::before,
.result::after {
  content: "";
  position: absolute; left: 0; right: 0; height: 10px;
  background-image: url("../img/receipt-edge.png");
  background-repeat: repeat-x;
  background-size: 19px 10px;
  opacity: 0.99;
}
.result::before { top: -12px; transform: rotate(180deg); }
.result::after { bottom: -12px; }

.result__top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.result__top h3 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ink-soft);
}
.stamp {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-ink);
  border: 1.5px solid var(--gold-ink);
  border-radius: 2px;
  padding: 4px 8px 3px;
  transform: rotate(-2.5deg);
  opacity: 0.95;
}

.result__start { padding: 16px 0 14px; border-bottom: 1px dashed var(--rule-strong); }
.result__start .mono-label { color: var(--gold-ink); display: block; margin-bottom: 6px; }
.result__start h4 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 600;
}
.result__start p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); }

.result__rows { padding: 14px 0 6px; border-bottom: 1px dashed var(--rule-strong); }
.result__rows-title {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-faint);
  margin: 0 0 10px; display: block;
}
.row {
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(60px, 1fr) 2.2em;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  font-size: 13.5px;
}
.row__name {
  color: var(--ink); line-height: 1.25;
  display: flex; flex-direction: column; gap: 3px;
}
.row__bar {
  height: 7px;
  background: rgba(23, 53, 44, 0.1);
  border-radius: 999px;
  overflow: hidden;
}
.row__bar span {
  display: block; height: 100%;
  background: var(--green);
  border-radius: 999px;
}
.row--low .row__bar span { background: var(--gold-deep); }
.row__score {
  font-family: var(--mono);
  font-size: 12.5px;
  text-align: right;
  color: var(--ink-soft);
}
.row__band {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.row--low .row__band { color: var(--gold-ink); }

/* --- calculator --- */
.calc { padding-top: 16px; }
.calc__title {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 12px;
}
.calc__title span.mono-label { color: var(--ink-faint); }

.calc__field { margin-bottom: 12px; }
.calc__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  margin-bottom: 4px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.calc__head output {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.calc input[type="range"]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
  border-radius: 999px;
}
.calc input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 26px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
.calc input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: rgba(23, 53, 44, 0.18);
  border-radius: 999px;
}
.calc input[type="range"]::-moz-range-track {
  height: 4px;
  background: rgba(23, 53, 44, 0.18);
  border-radius: 999px;
}
.calc input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  margin-top: -8px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid var(--receipt);
  box-shadow: 0 1px 4px rgba(21, 63, 51, 0.4);
}
.calc input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid var(--receipt);
  box-shadow: 0 1px 4px rgba(21, 63, 51, 0.4);
}

.calc__out {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}
.calc__out div { display: contents; }
.calc__out dt {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--ink-faint);
  align-self: end;
}
.calc__out dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: var(--ink);
}
.calc__out .is-diff { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--rule-strong); }
.calc__out .is-diff dt { font-size: 11px; color: var(--ink-soft); }
.calc__out .is-diff dd { font-size: 26px; color: var(--green); }
.calc__out .is-diff dd.is-zero { color: var(--ink-faint); font-family: var(--mono); font-size: 15px; }

.calc__fine {
  margin: 12px 0 0;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: var(--ink-faint);
}

/* ==========================================================================
   BIO
   ========================================================================== */
.bio { padding-block: var(--space-section); }
.bio__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 60px);
  align-items: start;
}
.bio__head h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.06;
  letter-spacing: -0.026em;
  font-weight: 700;
  font-variation-settings: "opsz" 48, "SOFT" 55, "WONK" 1;
}
.bio__stamp {
  margin-top: clamp(22px, 3vw, 38px);
  display: flex; align-items: center; gap: 12px;
  color: var(--gold-deep);
}
.bio__stamp .emblem { transform: rotate(-3deg); opacity: 0.85; }
.bio__stamp span {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-faint);
}
.bio__body p { max-width: 30em; color: var(--ink-soft); }
.bio__body p:first-child { color: var(--ink); }
.bio__handoff {
  margin: clamp(24px, 3vw, 34px) 0 0;
  font-family: var(--serif);
  font-size: clamp(23px, 2.3vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-variation-settings: "opsz" 80, "SOFT" 30, "WONK" 1;
}
.bio__cta { margin-top: clamp(20px, 2.4vw, 26px); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--green-deep);
  color: var(--ink-on-green-faint);
  padding-block: clamp(34px, 4vw, 52px);
  font-size: 14px;
}
.footer__inner {
  display: flex; flex-wrap: wrap; gap: 18px 34px;
  align-items: baseline; justify-content: space-between;
}
.footer__mark {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-on-green-soft);
}
.footer__mark img { width: 26px; height: auto; }
.footer__note {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  max-width: 58ch;
  margin: 0;
}
.footer__note a { color: var(--ink-on-green-soft); text-underline-offset: 3px; }

/* ==========================================================================
   ENTRANCE
   ========================================================================== */
.rise { animation: rise 720ms cubic-bezier(0.22, 0.68, 0.28, 1) both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero__art.rise { animation-name: rise-art; }
@keyframes rise-art {
  from { opacity: 0; transform: rotate(-1.4deg) translateY(18px); }
  to { opacity: 1; transform: rotate(-1.4deg) translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .rise,
  .hero__art.rise {
    animation: none !important;
  }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 780px) {
  .brk { display: none; }
}

@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: 1fr; gap: clamp(22px, 4vw, 34px); }
  .hero__art { display: none; }
  .hero__art--mobile {
    display: block;
    margin: clamp(34px, 6vw, 52px) auto 0;
    max-width: 320px;
    transform: rotate(-1.4deg);
  }
  .hero__copy { max-width: 640px; }
  .hero__title img { width: clamp(250px, 44vw, 360px); }
  .preview__grid { grid-template-columns: 1fr; }
  .preview__copy { max-width: 34em; }
  .chances__grid { grid-template-columns: 1fr; }
  .slip { max-width: 560px; }
  .bio__grid { grid-template-columns: 1fr; }
  .bio__head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px 32px; justify-content: space-between; }
  .bio__stamp { margin-top: 0; }
}

@media (max-width: 760px) {
  .row { grid-template-columns: minmax(0, 1fr) minmax(58px, 30%) 2em; }
  .figures { grid-template-columns: 1fr; gap: 26px; }
  .figure + .figure::before { display: none; }
  .figure + .figure { border-top: 1px solid var(--rule); padding-top: 24px; }
  .figure__num { font-size: clamp(52px, 15vw, 66px); }
  .result { font-size: 15px; }
  .calc__out dd { font-size: 19px; }
}

@media (max-width: 480px) {
  .rail__mark span { font-size: 10.5px; letter-spacing: 0.16em; }
  .btn { width: 100%; justify-content: center; padding-inline: 18px; }
  .hero__deliverable { font-size: 11.5px; }
  .slip { padding: 24px 20px; }
  .result { padding: 22px 18px; }
  .row { grid-template-columns: 1fr 54px 2.4em; font-size: 13px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
