@font-face { font-family: "Newsreader"; src: url(assets/fonts/newsreader.woff2) format("woff2"); font-weight: 400 620; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Cond"; src: url(assets/fonts/plexcond-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Cond"; src: url(assets/fonts/plexcond-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --paper: #F3EDE1;
  --paper-2: #EAE2D2;
  --card: #FBF8F2;
  --ink: #1C1A16;
  --ink-2: #4A463E;
  --muted: #5F594E;
  --rule: #D6CCB8;
  --then: #1E5A43;      /* May 2016: note green */
  --then-soft: #CFDDD3;
  --now: #A8361F;       /* May 2026: tomato */
  --now-soft: #F0D3C8;
  --gold: #B88A2E;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --cond: "Plex Cond", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --gutter: 16px;
  --measure: 36rem;
  --top: 56px;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 56px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--serif); font-optical-sizing: auto; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
b, strong { font-weight: 600; }
.nowrap { white-space: nowrap; }
.t-then { color: var(--then); }
.t-now { color: var(--now); }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 0 16px; min-height: 44px; display: inline-flex; align-items: center; font: 600 .9rem/1 var(--cond); }
.skip:focus { top: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 30; height: var(--top); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 var(--gutter); background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-bottom: 1px solid var(--rule); }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.mark-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--then); color: var(--paper); font: 600 1rem/1 var(--cond); }
.mark-word { font: 600 1.05rem/1 var(--serif); letter-spacing: -.005em; }
.topnav { display: flex; gap: 4px; }
.topnav a { font: 400 .95rem/1 var(--cond); text-decoration: none; padding: 0 10px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 22px; }
.topnav a:hover { background: var(--paper-2); }
@media (max-width: 359px) { .topnav a:first-child { display: none; } }

.eyebrow, .ch-no, .result-kicker { font: 600 .78rem/1.2 var(--cond); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .9rem; }

/* hero */
.hero { padding: 24px var(--gutter) 48px; max-width: 1480px; margin: 0 auto; display: grid; gap: 18px; }
.hero h1 { font: 500 clamp(2.4rem, 10.5vw, 6.8rem)/.95 var(--serif); letter-spacing: -.025em; margin: 0; font-variation-settings: "opsz" 72; }
.hero .eyebrow { margin-bottom: 0; }
.note-fig { margin: 0; }
.note-wrap { width: 100%; aspect-ratio: 2.1 / 1; }
.note-wrap svg { width: 100%; height: 100%; overflow: visible; }
.note-cap { margin-top: 12px; display: grid; gap: 6px; font: 400 .9rem/1.4 var(--cond); color: var(--ink-2); max-width: 40rem; }
.cap-row { display: flex; gap: 10px; align-items: baseline; }
.cap-small { color: var(--muted); font-size: .82rem; }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 2px; flex: none; transform: translateY(1px); }
.sw-then { background: var(--then); }
.sw-now { background: var(--now); }
.stat { margin: 0 0 1rem; display: grid; gap: 4px; }
.stat-num { font: 500 clamp(3.4rem, 15vw, 9.5rem)/.9 var(--serif); letter-spacing: -.035em; color: var(--now); font-variation-settings: "opsz" 72; }
.stat-of { font: 600 clamp(.95rem, 2.6vw, 1.15rem)/1.35 var(--cond); color: var(--ink-2); max-width: 24rem; }
.hero-text { max-width: var(--measure); }
.deck { font: 400 clamp(1.2rem, 4.4vw, 1.7rem)/1.35 var(--serif); margin: 0 0 1rem; letter-spacing: -.01em; }
.lede { color: var(--ink-2); margin: 0 0 1.5rem; }
.begin { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 24px; background: var(--ink); color: var(--paper); text-decoration: none; font: 600 1rem/1 var(--cond); }
.begin:hover { background: var(--then); }
@media (max-width: 699px) {
  .hero .lede, .note-cap .cap-row:first-child { display: none; }
  .stat { grid-template-columns: auto 1fr; align-items: end; column-gap: 14px; margin-top: 4px; }
  .stat-num { font-size: clamp(3rem, 16vw, 4.4rem); }
  .hero-text .deck { margin-bottom: .9rem; }
  .begin { min-height: 44px; }
}
@media (min-width: 1024px) {
  .hero { grid-template-columns: 1.7fr 1fr; grid-template-areas: "eye eye" "h1 h1" "note text"; column-gap: 56px; row-gap: 28px; padding-top: 48px; padding-bottom: 72px; align-items: start; }
  .hero .eyebrow { grid-area: eye; }
  .hero h1 { grid-area: h1; }
  .note-fig { grid-area: note; }
  .hero-text { grid-area: text; padding-top: 0; }
}

/* note drawing */
.note-body { fill: var(--then); }
.note-line { stroke: #2C6E55; stroke-width: 1; fill: none; }
.note-frame { fill: none; stroke: #CFE0D4; stroke-width: 1.4; opacity: .55; }
.note-text { fill: #EAF1EC; font-family: var(--serif); }
.note-cond { fill: #CFE0D4; font-family: var(--cond); font-weight: 600; letter-spacing: .16em; }
.note-dim { fill: var(--paper); opacity: .93; }
.note-ghost { fill: none; stroke: #7E9C8C; stroke-width: 2.5; stroke-dasharray: 10 8; }
.note-edge { stroke: var(--now); stroke-width: 4; }
.note-tag { fill: var(--now); font-family: var(--cond); font-weight: 600; }
.note-tag-bg { fill: var(--paper); }
@media (prefers-reduced-motion: no-preference) {
  .note-cut { animation: noteCut 1.6s cubic-bezier(.6,0,.2,1) 1s both; }
  .note-cut-tag { animation: fadeIn .5s ease 2.5s both; }
}
@keyframes noteCut { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* chapters */
.chapter, .calc-section, .method { border-top: 1px solid var(--rule); }
.ch-head { max-width: 1280px; margin: 0 auto; padding: 64px var(--gutter) 24px; }
.ch-head h2 { font: 500 clamp(2rem, 7vw, 3.6rem)/1.02 var(--serif); letter-spacing: -.02em; margin: 0 0 1rem; max-width: 18ch; font-variation-settings: "opsz" 60; }
.ch-no { color: var(--then); }
.ch-intro { max-width: var(--measure); color: var(--ink-2); margin: 0; }

/* scrolly */
.scrolly { position: relative; max-width: 1280px; margin: 0 auto; }
.graphic { position: sticky; top: var(--top); height: calc(100vh - var(--top)); height: calc(100svh - var(--top)); z-index: 1; padding: 12px var(--gutter) 0; pointer-events: none; }
.graphic-inner { position: relative; width: 100%; height: 58%; }
.steps { position: relative; z-index: 2; margin-top: calc(-100vh + var(--top)); margin-top: calc(-100svh + var(--top)); pointer-events: none; }
.step { min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: 0 var(--gutter) 9vh; }
.step:first-child { padding-top: 62vh; }
.steps::after { content: ""; display: block; height: 40vh; }
.step-card { pointer-events: auto; width: 100%; max-width: 30rem; background: var(--card); border: 1px solid var(--rule); border-radius: 6px; padding: 18px 20px; box-shadow: 0 10px 30px -14px rgba(40,30,10,.28); transition: opacity .35s ease; }
.step-card p { margin: 0 0 .7rem; }
.step-card p:last-child { margin-bottom: 0; }
.step-title { font: 600 .85rem/1.2 var(--cond); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 .6rem; color: var(--ink-2); }
@media (min-width: 900px) { .step:not(.is-active) .step-card { opacity: .55; } }
@media (min-width: 900px) {
  .scrolly { display: grid; grid-template-columns: minmax(300px, 34%) 1fr; column-gap: clamp(32px, 3.5vw, 64px); padding: 0 var(--gutter); max-width: 1680px; }
  .graphic { grid-column: 2; grid-row: 1; padding: 0; display: flex; align-items: center; align-self: start; }
  .graphic-inner { height: min(88%, 860px); }
  .steps { grid-column: 1; grid-row: 1; margin-top: 0; }
  .step { padding: 0; align-items: center; min-height: 90vh; }
  .step:first-child { padding-top: 0; }
  .steps::after { height: 15vh; }
  .step-card { box-shadow: none; }
}

/* reduced motion / static mode: each step carries its own chart */
.is-static .graphic { display: none; }
.is-static .steps { margin-top: 0; }
.is-static .step { min-height: 0 !important; padding: 0 0 28px !important; display: block; }
.is-static .step-card { opacity: 1 !important; max-width: none; box-shadow: none; }
.is-static .steps { grid-column: 1 / -1; }
.static-fig { margin: 18px 0 0; height: 340px; position: relative; }
.static-fig.tall { height: 420px; }
@media (min-width: 900px) { .is-static .step-card { display: grid; grid-template-columns: minmax(260px, 360px) 1fr; column-gap: 40px; } .is-static .step-card > .static-fig { grid-column: 2; grid-row: 1 / span 6; margin: 0; height: 380px; } }

/* unit chart */
.uc { position: absolute; inset: 0; display: flex; flex-direction: column; }
.uc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.uc-name { font: 500 clamp(1.4rem, 5vw, 2.1rem)/1 var(--serif); letter-spacing: -.01em; }
.uc-count { font: 600 1rem/1.2 var(--cond); white-space: nowrap; }
.uc-count .arr { color: var(--muted); padding: 0 4px; }
.uc-grid { display: grid; gap: var(--gap, 4px); grid-template-columns: repeat(var(--cols, 10), var(--cell, 24px)); align-content: start; }
.uc-cell { width: var(--cell, 24px); height: var(--cell, 24px); border-radius: 3px; position: relative; overflow: hidden; border: 1.5px solid var(--then); background: transparent; }
.uc-cell i { position: absolute; inset: 0; background: var(--then); transform-origin: left; transform: scaleX(var(--f, 1)); }
.uc-cell.keep { border-color: var(--now); }
.uc-cell.keep i { background: var(--now); }
.uc-cell.gone { border-style: dashed; border-color: #8FA99A; }
.uc-cell.gone i { opacity: 0; }
.uc-cell.ticket { border-radius: 3px 3px 3px 3px; }
.uc-cell.ticket::after { content: ""; position: absolute; left: 50%; top: -4px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--paper); z-index: 2; }
.uc-legend { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 16px; font: 400 .85rem/1.3 var(--cond); color: var(--ink-2); }
.uc-legend span { display: inline-flex; align-items: center; gap: 7px; }
.lg { width: 12px; height: 12px; border-radius: 2px; display: inline-block; }
.lg-now { background: var(--now); }
.lg-gone { border: 1.5px dashed #8FA99A; }
.uc-unit { color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .animate .uc-cell i { animation: ucFill .45s ease both; animation-delay: calc(var(--i) * 8ms); }
  .animate .uc-cell.gone i { animation: ucFill .45s ease both, ucGone .6s ease forwards; animation-delay: calc(var(--i) * 8ms), calc(700ms + var(--i) * 10ms); opacity: 1; }
  .animate .uc-cell.gone { animation: ucGoneBorder .6s ease both; animation-delay: calc(700ms + var(--i) * 10ms); }
  .animate .uc-cell.keep { animation: ucKeepBorder .5s ease both; animation-delay: 700ms; }
  .animate .uc-cell.keep i { animation: ucFill .45s ease both, ucKeep .5s ease both; animation-delay: calc(var(--i) * 8ms), 700ms; }
}
@keyframes ucFill { from { transform: scaleX(0); } to { transform: scaleX(var(--f, 1)); } }
@keyframes ucGone { to { opacity: 0; } }
@keyframes ucGoneBorder { from { border-color: var(--then); border-style: solid; } to { border-color: #8FA99A; } }
@keyframes ucKeep { from { background: var(--then); } to { background: var(--now); } }
@keyframes ucKeepBorder { from { border-color: var(--then); } to { border-color: var(--now); } }

/* svg charts */
.chart { position: absolute; inset: 0; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.ax text, .lab { font-family: var(--cond); font-size: 12px; fill: var(--muted); }
.ax line, .ax path { stroke: var(--rule); }
.ax .base { stroke: var(--ink-2); }
.lab-b { font-family: var(--cond); font-weight: 600; font-size: 13px; fill: var(--ink); }
.lab-then { fill: var(--then); }
.lab-now { fill: var(--now); }
.c-title { font-family: var(--serif); font-size: 20px; font-weight: 500; fill: var(--ink); }
.bar { fill: var(--ink-2); }
.bar.hi { fill: var(--now); }
.bar.lo { fill: var(--then); }
.bar.ref { fill: none; stroke: var(--ink); stroke-dasharray: 4 3; stroke-width: 1.4; }
.refline { stroke: var(--ink); stroke-dasharray: 5 4; stroke-width: 1.5; }
.l-usd { fill: none; stroke: #8F2B16; stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }
.l-gbp { fill: none; stroke: #A39A8A; stroke-width: 1.25; stroke-linejoin: round; opacity: .85; }
.l-cpi { fill: none; stroke: var(--now); stroke-width: 2.5; stroke-linejoin: round; }
.a-cpi { fill: var(--now-soft); opacity: .55; }
.l-base { stroke: var(--then); stroke-width: 2; }
.l-wage { fill: none; stroke: var(--then); stroke-width: 2.5; }
.l-need { fill: none; stroke: var(--now); stroke-width: 2.5; stroke-dasharray: 6 4; }
.dot-then { fill: var(--then); }
.dot-now { fill: var(--now); }
.ann { opacity: 0; transition: opacity .4s ease; }
.ann.on { opacity: 1; }
.ann line { stroke: var(--ink-2); stroke-width: 1; }
.ann .pill { fill: var(--card); stroke: var(--rule); }
.reveal { transition: transform 1.1s cubic-bezier(.5,0,.2,1); transform-box: fill-box; transform-origin: left center; }
.no-anim .reveal, .no-anim .ann { transition: none; }
@media (prefers-reduced-motion: reduce) { .reveal, .ann, .step-card { transition: none !important; } }
.growbar { transform-box: fill-box; transform-origin: left center; }
@media (prefers-reduced-motion: no-preference) { .animate .growbar { animation: grow .8s cubic-bezier(.4,0,.2,1) both; animation-delay: calc(var(--i) * 70ms); } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.money-row { font-family: var(--cond); }

/* tables */
.table-box { max-width: 1280px; margin: 0 auto; padding: 8px var(--gutter) 64px; }
.table-box summary, .breakdown summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; font: 600 .95rem/1.2 var(--cond); border-bottom: 1px solid var(--ink); }
.table-box summary::-webkit-details-marker, .breakdown summary::-webkit-details-marker { display: none; }
.table-box summary::before, .breakdown summary::before { content: "+"; font: 600 1.1rem/1 var(--cond); width: 1em; }
.table-box[open] summary::before, .breakdown[open] summary::before { content: "−"; }
.table-scroll { overflow-x: auto; margin-top: 14px; -webkit-overflow-scrolling: touch; background: linear-gradient(to right, var(--paper) 30%, transparent), linear-gradient(to left, var(--paper) 30%, transparent) 100% 0, radial-gradient(farthest-side at 0 50%, rgba(0,0,0,.14), transparent), radial-gradient(farthest-side at 100% 50%, rgba(0,0,0,.14), transparent) 100% 0; background-repeat: no-repeat; background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%; background-attachment: local, local, scroll, scroll; }
table { border-collapse: collapse; font: 400 .92rem/1.35 var(--cond); min-width: 100%; }
caption { text-align: left; font: 400 .85rem/1.4 var(--cond); color: var(--muted); padding-bottom: 8px; }
th, td { text-align: left; padding: 9px 12px 9px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-weight: 600; color: var(--ink); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; padding-left: 12px; }
tbody tr:last-child td { border-bottom-color: var(--ink-2); }

/* calculator */
.calc-section { padding-bottom: 72px; position: relative; }
.calc { max-width: 1280px; margin: 0 auto; padding: 8px var(--gutter) 0; display: grid; gap: 28px; }
@media (min-width: 960px) { .calc { grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; } .calc-right { position: sticky; top: calc(var(--top) + 20px); } }
.presets { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; }
.presets-label { font: 600 .78rem/1 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 600 .95rem/1 var(--cond); cursor: pointer; }
.chip:hover { background: var(--ink); color: var(--paper); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.chip-quiet { border-color: var(--rule); color: var(--ink-2); }
.items { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink-2); }
.item { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 14px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.item-name { font: 500 1.08rem/1.2 var(--serif); }
.item-meta { display: block; font: 400 .85rem/1.35 var(--cond); color: var(--muted); margin-top: 3px; }
.item-meta b { font-weight: 600; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--rule); border-radius: 24px; background: var(--card); }
.stepper button { width: 44px; height: 44px; border: 0; background: transparent; border-radius: 22px; font: 600 1.25rem/1 var(--cond); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.stepper button:hover:not(:disabled) { background: var(--paper-2); }
.stepper button:disabled { color: #A9A091; cursor: default; }
.stepper input { width: 3.2ch; min-width: 40px; border: 0; background: transparent; text-align: center; font: 600 1.05rem/1 var(--cond); color: var(--ink); -moz-appearance: textfield; appearance: textfield; padding: 0; height: 44px; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.item.has .stepper { border-color: var(--ink-2); }
.item-unit { font: 400 .8rem/1 var(--cond); color: var(--muted); padding-right: 12px; }
.calc-src { font: 400 .85rem/1.45 var(--cond); color: var(--muted); margin: 16px 0 0; }
.result { background: var(--card); border: 1px solid var(--rule); border-radius: 8px; padding: 22px 20px; }
.result-big { font: 500 1.5rem/1.2 var(--serif); margin: 0 0 .4rem; }
.result-empty p { margin: 0 0 .5rem; color: var(--ink-2); }
.totals { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 18px; }
.totals dt { font: 600 .78rem/1 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.totals dd { margin: 0; font: 500 clamp(1.6rem, 6vw, 2.3rem)/1 var(--serif); font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.01em; }
.budget { position: relative; margin: 6px 0 16px; }
.bud-row { display: grid; grid-template-columns: 4.2em 1fr; align-items: center; gap: 10px; margin-bottom: 12px; font: 600 .8rem/1 var(--cond); color: var(--muted); }
.bud-track { position: relative; height: 26px; }
.bud-fill { position: absolute; left: 0; top: 0; bottom: 0; display: flex; border-radius: 2px; overflow: hidden; transition: width .5s cubic-bezier(.4,0,.2,1); }
.bud-fill span { height: 100%; border-right: 1.5px solid var(--card); flex: none; }
.bud-then span { background: var(--then); }
.bud-then span:nth-child(even) { background: #2F7358; }
.bud-now span { background: var(--now); }
.bud-now span:nth-child(even) { background: #C2533A; }
.bud-line { position: absolute; top: 28px; bottom: -6px; width: 0; border-left: 2px solid var(--ink); pointer-events: none; transition: left .5s cubic-bezier(.4,0,.2,1); }
.bud-line-lab { position: absolute; top: -22px; transform: translateX(-50%); font: 600 .78rem/1 var(--cond); color: var(--ink); white-space: nowrap; }
.bud-axis { height: 22px; }
@media (prefers-reduced-motion: reduce) { .bud-fill, .bud-line { transition: none; } }
.verdict { font: 400 1.08rem/1.5 var(--serif); margin: 0 0 16px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 8px; }
.btn { min-height: 44px; padding: 0 18px; border-radius: 22px; border: 0; background: var(--ink); color: var(--paper); font: 600 .95rem/1 var(--cond); cursor: pointer; }
.btn:hover { background: var(--then); }
.copy-msg { font: 400 .9rem/1.3 var(--cond); color: var(--ink-2); }
.breakdown { margin-top: 6px; }
.calc-dock { position: sticky; bottom: 0; z-index: 20; display: none; justify-content: center; align-items: center; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--ink); color: var(--paper); font: 600 1rem/1 var(--cond); margin-top: 24px; }
.calc-dock .sw-then { background: #6FAE91; }
.calc-dock .sw-now { background: #F08A6E; }
.calc-dock span { display: inline-flex; align-items: center; gap: 8px; }
.dock-arrow { opacity: .7; }
@media (max-width: 959px) { .calc-dock.show { display: flex; } }

/* method */
.method { padding-bottom: 72px; }
.method-grid { max-width: 1280px; margin: 0 auto; padding: 8px var(--gutter) 0; display: grid; gap: 32px; }
@media (min-width: 900px) { .method-grid { grid-template-columns: 1fr 1fr; column-gap: 56px; } .m-wide { grid-column: 1 / -1; } }
.m-block h3 { font: 600 .85rem/1.2 var(--cond); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 .6rem; color: var(--then); }
.m-block p { margin: 0 0 .8rem; max-width: var(--measure); }
.plain { margin: 0; padding-left: 1.1em; }
.plain li { margin-bottom: .5rem; }
.sources { margin: 0 0 1rem; padding-left: 1.4em; font: 400 .95rem/1.45 var(--cond); columns: 1; }
@media (min-width: 1000px) { .sources { columns: 2; column-gap: 48px; } }
.sources li { margin-bottom: .7rem; break-inside: avoid; }
.sources a { word-break: break-word; }
.sources .pub { font-weight: 600; }

/* footer */
.footer { border-top: 1px solid var(--ink); padding: 40px var(--gutter) 56px; max-width: 1280px; margin: 0 auto; }
.footer-line { font: 400 1.1rem/1.4 var(--serif); margin: 0 0 14px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 18px; }
.footer-nav a { font: 600 1rem/1 var(--cond); min-height: 44px; display: inline-flex; align-items: center; }
.footer-small { font: 400 .85rem/1.5 var(--cond); color: var(--muted); max-width: 46rem; margin: 0; }

@media print { .topbar, .graphic, .calc, .calc-dock { display: none !important; } .step { min-height: 0 !important; } }

.method-grid > *, .calc > *, .hero > *, .scrolly > * { min-width: 0; }

@media (min-width: 900px) {
  .graphic .ax text, .graphic .lab { font-size: 14.5px; }
  .graphic .lab-b { font-size: 16px; }
  .graphic .c-title { font-size: 28px; }
  .graphic .uc-name { font-size: clamp(2rem, 2.8vw, 2.8rem); }
  .graphic .uc-count { font-size: 1.35rem; }
  .graphic .uc-legend { font-size: 1rem; margin-top: 16px; }
  .graphic .lg { width: 16px; height: 16px; }
  .graphic .uc-head { margin-bottom: 16px; }
}
