:root {
  --bg: #ff7a1f;
  --surface: #ff8633;
  --ink: #050f16;
  --muted: #5a2306;
  --paper: #ffffff;
  --paper-2: #eceeef;
  --dark-2: #13202a;
  --red: #c8102e;

  --display: "Bebas Neue", "Arial Narrow", sans-serif;
  --text: "EB Garamond", Georgia, serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.05rem + 0.9vw, 2rem);
  --step-head: clamp(2.25rem, 1.2rem + 5vw, 6rem);
  --step-display: clamp(4.5rem, 10.5vw, 13rem);

  --m: clamp(16px, 2.2vw, 32px);
  --gap: clamp(120px, 14vw, 200px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 82px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--step-body);
  line-height: 1.5;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
[data-ground="dark"] :focus-visible { outline-color: var(--bg); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- bar: takes the ink of the chapter under it ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; gap: 28px;
  padding: 18px var(--m);
  color: var(--ink); background: var(--paper);
  transition: color 300ms ease, background-color 300ms ease;
}
.bar[data-on="orange"] { background: var(--bg); }
.bar[data-on="dark"] { background: var(--ink); }
.bar.on-dark { color: var(--paper); }
.wordmark { font-family: var(--display); font-size: var(--step-lead); line-height: 1; text-decoration: none; letter-spacing: 0.01em; }
.bar nav { display: flex; gap: 24px; margin-left: auto; }
.bar nav a { text-decoration: none; font-size: var(--step-body); }
.bar nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px;
  background: var(--ink); color: var(--bg);
  border: 0; border-radius: 0;
  font-family: var(--text); font-size: var(--step-body); font-weight: 500;
  text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease), background-color 160ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.bar.on-dark .btn { background: var(--bg); color: var(--ink); }
.btn.ghost { background: var(--paper-2); color: var(--ink); }
.btn.ghost:hover { background: #dfe2e4; }

/* ---------- cards (SVG drawings) ---------- */
.card { display: inline-block; position: relative; aspect-ratio: 5 / 7; line-height: 0; --face: var(--paper); --pip: var(--ink); }
.card svg { width: 100%; height: 100%; display: block; overflow: visible; }
.card .face { fill: var(--face); }
.card use { fill: var(--pip); }
.card text { fill: var(--pip); font-family: var(--display); font-size: 30px; }
.card.red { --pip: var(--red); }

/* ---------- hero ---------- */
.hero { position: relative; height: calc(100svh + 30svh); min-height: 620px; overflow: hidden; }
.hero-field { position: absolute; left: 0; right: 0; }
.hero-top { top: 0; height: 50svh; background: var(--paper); }
.hero-bottom { top: 50svh; bottom: 0; background: var(--bg); }
.hl {
  position: absolute; left: 50%; top: 50svh;
  transform: translate(-50%, var(--lift, -38%));
  margin: 0; display: grid; width: max-content; max-width: calc(100vw - 2 * var(--m));
  font-family: var(--display); font-weight: 400; font-size: var(--step-display);
  line-height: 0.86; letter-spacing: -0.01em; text-transform: uppercase; text-align: center;
}
.hl-copy { grid-area: 1 / 1; display: block; }
.hl-line { display: block; white-space: nowrap; }
.hl-spacer { height: 0.86em; }
.hl-a { color: var(--ink); clip-path: inset(0 0 calc(100% - var(--cut, 50%)) 0); }
.hl-b { color: var(--muted); clip-path: inset(var(--cut, 50%) 0 0 0); }
.fan { display: inline-block; position: relative; width: 2.5em; height: 0.72em; vertical-align: 0; margin: 0 0.08em; }
.fan .card { position: absolute; bottom: 0; height: 0.74em; transform-origin: 50% 120%; --face: var(--bg); }
.fan .card.red { --pip: var(--red); }
.hero-sub {
  position: absolute; left: 50%; bottom: calc(30svh + 40px); transform: translateX(-50%);
  width: min(40ch, calc(100vw - 2 * var(--m)));
  display: grid; justify-items: center; gap: 22px;
  font-size: var(--step-lead); line-height: 1.3; text-align: center; color: var(--ink);
}

/* ---------- intro ---------- */
.intro { padding: 22vh var(--m) var(--gap); }
.statement {
  max-width: 30ch; margin: 0 auto; text-align: center;
  font-size: var(--step-lead); line-height: 1.25; font-weight: 500;
}
.thumb {
  display: inline-block; height: 0.85em; width: 1.25em; object-fit: cover;
  vertical-align: -0.1em; border-radius: 0.14em; margin: 0 0.12em;
}
.eq {
  margin: 14vh 0 0; font-family: var(--display); font-weight: 400;
  font-size: var(--step-head); line-height: 1.1; letter-spacing: 0;
}
.eq-line { display: block; white-space: nowrap; }
.eq-line + .eq-line { padding-left: 1.4em; }
.eq .card { height: 0.92em; vertical-align: -0.14em; margin: 0 0.04em; }
.eq .t { color: var(--ink); }
.intro-note { margin-top: 48px; max-width: 46ch; font-size: var(--step-lead); line-height: 1.3; }

/* ---------- picture band ---------- */
.band { margin: 0; background: var(--ink); color: var(--paper); overflow: hidden; }
.band img { width: 100%; height: 92svh; object-fit: cover; object-position: 50% 40%; animation: drift 24s ease-in-out infinite alternate; }
.band figcaption, .sponge figcaption { padding: 18px var(--m) 28px; font-size: var(--step-small); }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.07) translateX(-1%); } }

/* ---------- method panels ---------- */
.panel {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px;
  padding: 20vh var(--m);
}
.panel[data-ground="paper"] { background: var(--paper); }
.panel[data-ground="dark"] { background: var(--ink); color: var(--paper); }
.panel[data-ground="orange"] { background: var(--bg); }
.verb-wrap { grid-column: 1 / 7; }
.verb {
  position: sticky; top: 50%; transform: translateY(-50%);
  margin: 0; font-family: var(--display); font-weight: 400;
  font-size: var(--step-display); line-height: 0.86; letter-spacing: -0.01em; text-transform: uppercase;
}
.panel[data-ground="orange"] .verb, .panel[data-ground="paper"] .verb { color: var(--ink); }
.panel[data-ground="dark"] .verb { color: var(--bg); }
.panel-body { grid-column: 7 / 13; display: grid; gap: 22px; align-content: center; max-width: 56ch; }
.work { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 18px; }
.work li { display: grid; gap: 2px; }
.w-math { font-size: var(--step-lead); line-height: 1.2; font-weight: 600; font-variant-numeric: tabular-nums lining-nums; }
.w-note { font-style: italic; }
.hand-row { display: flex; gap: 10px; flex-wrap: wrap; font-size: clamp(56px, 6vw, 84px); }
.hand-row .card { height: 1.2em; }

/* ---------- best way: two sides of a question ---------- */
.best { background: var(--ink); color: var(--paper); padding: var(--gap) var(--m); }
.best .head { margin: 0; font-family: var(--display); font-weight: 400; font-size: var(--step-head); line-height: 0.98; text-transform: uppercase; color: var(--bg); }
.best-top { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; }
.best-top .head { grid-column: 1 / 7; }
.best-lead { grid-column: 7 / 13; max-width: 52ch; }
.vs { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 28px; margin-top: 140px; }
.vs-h { margin: 0; font-family: var(--display); font-weight: 400; font-size: var(--step-lead); line-height: 1.1; text-transform: uppercase; letter-spacing: 0.01em; }
.vs .vs-h { grid-column: 1 / 13; }
.vs-side { grid-column: 1 / 7; }
.vs-side.win { grid-column: 7 / 13; }
.vs-n { font-family: var(--display); font-size: var(--step-display); line-height: 0.86; color: #9aa4ab; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vs-n span { color: #5d6870; }
.vs-side.win .vs-n { color: var(--bg); }
.vs-side.win .vs-n span { color: var(--muted); }
.vs-cap { margin-top: 20px; max-width: 40ch; }
.best-why { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; margin-top: 160px; align-items: start; }
.best-why-text { grid-column: 1 / 6; display: grid; gap: 18px; }
.best-why-text .vs-h + p { margin-bottom: 30px; }
.bars-fig { grid-column: 7 / 13; margin: 0; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-variant-numeric: tabular-nums lining-nums; }
.bars li { display: grid; grid-template-columns: 6.5em 1fr 3em; gap: 14px; align-items: center; }
.b-bar { height: 26px; background: var(--dark-2); }
.b-bar::before { content: ""; display: block; height: 100%; width: var(--w); background: var(--bg); transform-origin: left; transition: transform 900ms var(--ease); }
.js .bars-fig:not(.in) .b-bar::before { transform: scaleX(0); }
.b-v { text-align: right; }
.bars-fig figcaption { margin-top: 18px; font-size: var(--step-small); max-width: 52ch; }

/* ---------- rules: the method in three lines ---------- */
.rules { background: var(--bg); padding: var(--gap) var(--m); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.rules .head { grid-column: 1 / 13; margin: 0; font-family: var(--display); font-weight: 400; font-size: var(--step-head); line-height: 0.98; text-transform: uppercase; }
.rule-list { grid-column: 1 / 7; grid-row: 2; align-self: start; list-style: none; margin: 72px 0 0; padding: 0; display: grid; gap: 24px; }
.rule-list li { display: grid; grid-template-columns: clamp(56px, 7vw, 112px) 1fr; align-items: baseline; }
.rule-n { font-family: var(--display); font-size: var(--step-head); line-height: 0.9; color: var(--paper); }
.rule-list p { margin: 0; font-size: var(--step-lead); line-height: 1.2; font-weight: 500; max-width: 24ch; }
.rules-body { grid-column: 8 / 13; grid-row: 2; align-self: start; margin-top: 80px; display: grid; gap: 22px; max-width: 56ch; }

/* ---------- toolkit ---------- */
.tools { background: var(--paper); padding: var(--gap) var(--m); }
.tools-h { margin: 0; max-width: 16ch; font-family: var(--display); font-weight: 400; font-size: var(--step-head); line-height: 0.98; text-transform: uppercase; letter-spacing: -0.01em; }
.tools-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; margin-top: 96px; align-items: start; }
.tools-pic { grid-column: 1 / 5; position: sticky; top: 110px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 45% 50%; }
.tools-list { grid-column: 6 / 13; display: grid; gap: 80px; }
.tool { display: grid; gap: 14px; max-width: 62ch; }
.tool-h { margin: 0; font-family: var(--display); font-weight: 400; font-size: var(--step-lead); line-height: 1.1; text-transform: uppercase; letter-spacing: 0.01em; }
.tool .tricks-table { margin-top: 10px; }
.tricks-table { border-collapse: collapse; width: 100%; align-self: start; font-variant-numeric: tabular-nums lining-nums; }
.tricks-table th { text-align: left; font-weight: 400; color: var(--muted); padding: 0 0 14px; font-size: var(--step-small); }
.tricks-table td { padding: 13px 12px 13px 0; vertical-align: top; }
.tricks-table td:first-child { font-weight: 600; white-space: nowrap; width: 5.5em; }
.tricks-table td:last-child { text-align: right; padding-right: 0; white-space: nowrap; }
.tricks-table tr.grp td { padding-bottom: 35px; }

/* ---------- the wall of answers ---------- */
.wall { background: var(--ink); color: var(--paper); padding: var(--gap) var(--m); }
.wall .head { margin: 0; font-family: var(--display); font-weight: 400; font-size: var(--step-head); line-height: 0.98; text-transform: uppercase; color: var(--bg); }
.wall-top { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; }
.wall-top > div { grid-column: 1 / 8; }
.wall-pic { grid-column: 9 / 13; margin: 0; }
.wall-pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 12% 50%; }
.wall-pic figcaption { margin-top: 10px; font-size: var(--step-small); }
.play-band img { height: 80svh; object-position: 50% 45%; animation: none; }
.wall-lead { margin-top: 28px; max-width: 52ch; font-size: var(--step-lead); line-height: 1.3; }
.wall-list {
  list-style: none; margin: 72px 0 0; padding: 0;
  columns: 4 19em; column-gap: 40px;
  font-size: var(--step-body); line-height: 1.6; font-variant-numeric: tabular-nums lining-nums;
}
.wall-list li { break-inside: avoid; color: #c9cfd3; transition: color 200ms ease; }
.wall-list li:hover { color: var(--paper); }
.wall-list li.fav { color: var(--bg); }

/* ---------- ledger ---------- */
.ledger { background: var(--bg); padding: var(--gap) var(--m); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.ledger-h {
  grid-column: 1 / 6; align-self: center; margin: 0;
  font-family: var(--display); font-weight: 400; font-size: var(--step-head); line-height: 0.98;
  text-transform: uppercase; letter-spacing: -0.01em;
}
.ledger-h .soft { color: var(--muted); display: block; }
.ledger-figs { grid-column: 7 / 13; display: grid; gap: 20px; }
.fig { display: grid; grid-template-columns: 2.2ch 1.5ch 1fr; column-gap: 0; align-items: baseline; font-family: var(--display); font-size: var(--step-head); }
.fig .whole, .fig .dec { line-height: 1; font-variant-numeric: tabular-nums; }
.fig .whole { text-align: right; }
.fig .cap { padding-left: 24px; font-family: var(--text); font-size: var(--step-body); line-height: 1.35; max-width: 34ch; }
.fig.last .whole, .fig.last .dec { color: var(--paper); }
.ledger-note { grid-column: 7 / 13; margin-top: 56px; max-width: 56ch; }

/* ---------- sponge + fields ---------- */
.sponge { margin: 0; background: var(--ink); color: var(--paper); }
.sponge img { width: 100%; height: 100svh; object-fit: cover; object-position: 50% 45%; }
.field { position: relative; min-height: 76svh; padding: 28px var(--m); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.f-paper { background: var(--paper); }
.f-dark { background: var(--ink); color: var(--paper); }
.f-orange { background: var(--bg); }
.field-text { grid-column: 8 / 12; grid-row: 1; align-self: start; margin-top: 72px; max-width: 32ch; font-size: var(--step-body); }
.field-phrase {
  grid-column: 1 / 13; grid-row: 2; align-self: end; margin: 0;
  font-family: var(--display); font-weight: 400; font-size: var(--step-display);
  line-height: 0.9; text-transform: uppercase; letter-spacing: -0.01em;
}
.field { grid-template-rows: 1fr auto; }
.f-dark .field-phrase { color: var(--bg); }
.field.mirror .field-text { grid-column: 2 / 6; }
.field.mirror .field-phrase { text-align: right; }

/* ---------- train ---------- */
.train { background: var(--paper); padding: 72px var(--m) var(--gap); min-height: 100svh; }
.train .head { margin: 0; font-family: var(--display); font-weight: 400; font-size: var(--step-head); line-height: 0.98; text-transform: uppercase; }
.train-top { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; }
.train-top .head { grid-column: 1 / 8; }
.train-lead { grid-column: 8 / 13; max-width: 46ch; }
.ladder { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 56px; }
.rung {
  display: grid; gap: 2px; align-content: start; text-align: left;
  padding: 16px 18px 18px; border: 0; border-radius: 0; background: var(--paper-2); cursor: pointer;
  transition: transform 160ms var(--ease), background-color 160ms ease;
}
.rung:hover { transform: translateY(-2px); }
.rung-n { font-family: var(--display); font-size: var(--step-lead); line-height: 1; }
.rung-name { font-weight: 600; }
.rung-p { font-size: var(--step-small); }
.rung.is-done { background: var(--bg); }
.rung.is-on { background: var(--ink); color: var(--paper); }
.rung.is-on .rung-n { color: var(--bg); }
.pane { margin-top: 48px; }
.pane-lead { max-width: 62ch; }
.pane > .hand:first-of-type, .pane-lead + .hand { margin-top: 32px; }
.ask { display: flex; align-items: end; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.ask-q { font-family: var(--display); font-size: var(--step-head); line-height: 1; text-transform: uppercase; font-variant-numeric: tabular-nums; margin-top: 32px; }
.ask .ask-q { margin: 0 8px 0 0; }
.ask-in {
  width: 2.4em; padding: 4px 12px 0; font-family: var(--display); font-size: var(--step-head); line-height: 1;
  background: var(--paper-2); border: 0; border-bottom: 3px solid var(--ink); border-radius: 0; color: var(--ink); font-variant-numeric: tabular-nums;
}
.scaffold { margin-top: 36px; font-family: var(--display); font-size: var(--step-head); line-height: 1; font-variant-numeric: tabular-nums; }
.scaffold + .ask-q { margin-top: 18px; font-family: var(--text); font-size: var(--step-lead); text-transform: none; line-height: 1.2; }
.peel-work { margin-top: 32px; }
.card.pick { --face: var(--ink); --pip: var(--bg); transform: translateY(-10px); }
.card.mark { --face: var(--paper-2); --pip: var(--ink); }
.pane-lead + .target-row { margin-top: 40px; }
.target-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.target { font-family: var(--display); font-size: var(--step-display); line-height: 0.82; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.target.hit { color: var(--bg); }
.score { font-size: var(--step-body); font-variant-numeric: tabular-nums lining-nums; }
.score b { font-weight: 600; }
.hand { display: flex; gap: clamp(8px, 1.2vw, 16px); flex-wrap: wrap; margin-top: 40px; font-size: clamp(60px, 9vw, 132px); }
.hand .card {
  height: 1.15em; border: 0; cursor: pointer; padding: 0; background: none; border-radius: 0.06em;
  --face: var(--bg);
  transition: transform 180ms var(--ease), opacity 180ms ease;
}
.hand .card.red { --pip: var(--red); }
.hand .card:hover { transform: translateY(-6px); }
.hand .card.pick, .hand .card.pick:hover { transform: translateY(-10px); }
.hand .card:active { transform: translateY(0) scale(0.97); }
.hand .card.used { opacity: 0.22; transform: translateY(6px); cursor: default; }
.hand .card.pick { --face: var(--ink); --pip: var(--bg); }
.hand .card.mark { --face: var(--paper-2); --pip: var(--ink); }
.expr {
  display: block; width: 100%; margin-top: 40px; padding: 16px 18px;
  font-size: var(--step-lead); line-height: 1.2;
  background: var(--paper-2); border: 0; border-bottom: 3px solid var(--ink); border-radius: 0;
  font-variant-numeric: tabular-nums lining-nums;
}
.expr:focus-visible { outline-offset: 0; }
.keys { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.key { min-width: 54px; min-height: 50px; padding: 0 14px; background: var(--paper-2); border: 0; border-radius: 0; font-size: var(--step-lead); cursor: pointer; transition: transform 140ms var(--ease), background-color 140ms ease; }
.key:hover { background: #dfe2e4; }
.key:active { transform: scale(0.94); }
.readout { margin-top: 22px; font-size: var(--step-lead); line-height: 1.3; min-height: 1.3em; }
.readout b { font-weight: 600; }
.readout.win { color: var(--ink); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.hints { margin: 36px 0 0; padding-left: 1.4em; display: grid; gap: 14px; max-width: 64ch; }
.hints li { padding-left: 6px; }
.hints li::marker { font-family: var(--display); font-size: 1.2em; }
.hints .m { font-weight: 600; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.answers { margin-top: 48px; padding: 32px; background: var(--paper-2); }
.answers-lead { font-size: var(--step-lead); line-height: 1.3; }
.answers-list { list-style: none; margin: 20px 0; padding: 0; columns: 2 20em; column-gap: 32px; font-variant-numeric: tabular-nums lining-nums; }
.answers-list li { break-inside: avoid; padding: 3px 0; }

/* ---------- footer ---------- */
.foot { background: var(--bg); min-height: 90svh; padding: 40px var(--m) 32px; display: grid; grid-template-rows: auto 1fr auto auto; }
.foot-top { display: flex; justify-content: space-between; gap: 24px; font-size: var(--step-small); }
.foot-top p { max-width: 52ch; }
.foot-line {
  align-self: end; margin-top: 30vh;
  font-family: var(--display); font-size: var(--step-display); line-height: 0.9; text-transform: uppercase;
  text-decoration: none; letter-spacing: -0.01em; transition: color 200ms ease;
}
.foot-line:hover { color: var(--paper); }
.foot-meta { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 24px; margin-top: 32px; font-size: var(--step-small); }
.foot-meta p:last-child { text-align: right; }
.credits a { text-underline-offset: 2px; }

/* ---------- motion ---------- */
.js [data-rise] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: var(--d, 0ms); }
.js [data-rise].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-rise] { transform: none; transition: opacity 300ms ease; }
  .band img { animation: none; }
  .btn:hover, .rung:hover, .hand .card:hover { transform: none; }
  .js .bars-fig:not(.in) .b-bar::before { transform: none; }
}

@media (max-width: 1100px) {
  .ledger { display: block; }
  .ledger-h { margin-bottom: 40px; }
  .ledger-figs { max-width: 640px; gap: 36px; }
  .fig { grid-template-columns: 52% 1fr; row-gap: 6px; }
  .fig .whole { grid-column: 1; }
  .fig .dec { grid-column: 2; }
  .fig .cap { grid-column: 1 / 3; padding-left: 0; }
  .wall-top { display: block; }
  .wall-pic { width: 60%; margin: 48px 0 0 auto; }
  .tricks-table td:last-child { white-space: normal; }
  .tools-grid { display: block; }
  .tools-pic { position: static; width: 50%; margin: 0 0 64px auto; }
  .best-top, .vs, .best-why, .rules, .train-top { display: block; }
  .best-lead, .train-lead { margin-top: 28px; }
  .vs-side + .vs-side { margin-top: 40px; }
  .vs-h + .vs-side { margin-top: 28px; }
  .bars-fig { margin-top: 56px; }
  .rule-list, .rules-body { margin-top: 56px; }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  :root { --step-display: 15vw; }
  .bar nav { display: none; }
  .bar { justify-content: space-between; }
  .hero-top { height: 46svh; }
  .hero-bottom { top: 46svh; }
  .hl { top: 46svh; font-size: 14vw; }
  .fan { width: 2.1em; }
  .hero-sub { font-size: var(--step-body); width: min(28ch, calc(100vw - 2 * var(--m))); bottom: calc(30svh + 40px); }
  .intro { padding: 96px var(--m); }
  .statement { text-align: left; margin: 0; }
  .eq { font-size: 9.2vw; }
  .eq { font-size: min(var(--step-head), 9.6vw); }
  .eq-line + .eq-line { padding-left: 0.6em; }
  .panel { display: block; padding: 96px var(--m); min-height: auto; }
  .verb { position: static; transform: none; margin-bottom: 32px; }
  .panel-body { max-width: none; }
  .tools-grid { margin-top: 48px; }
  .tools-pic { width: 60%; margin-bottom: 48px; }
  .tools-list { gap: 56px; }
  .vs { margin-top: 96px; }
  .vs-n { font-size: 17vw; }
  .best-why { margin-top: 96px; }
  .bars li { grid-template-columns: 5.6em 1fr 2.6em; gap: 10px; }
  .ladder { grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .rung:last-child { grid-column: 1 / -1; }
  .ask-q, .scaffold { font-size: 11vw; }
  .ask-in { font-size: 11vw; }
  .ledger { display: block; }
  .fig { grid-template-columns: 52% 1fr; row-gap: 4px; }
  .fig .whole, .fig .dec { font-size: var(--step-display); }
  .fig .whole { grid-column: 1; }
  .fig .dec { grid-column: 2; }
  .fig .cap { grid-column: 1 / 3; padding-left: 0; }
  .fig { margin-bottom: 8px; }
  .field { min-height: 64svh; display: flex; flex-direction: column; justify-content: space-between; }
  .field-text { margin-top: 24px; max-width: 80%; }
  .field.mirror .field-text { align-self: flex-end; text-align: right; }
  .field-phrase, .field.mirror .field-phrase { font-size: 15vw; text-align: left; }
  .hand { font-size: 17vw; gap: 8px; }
  .foot-line { font-size: 15vw; }
  .foot-meta { grid-template-columns: 1fr; gap: 6px; }
  .foot-meta p:last-child { text-align: left; }
}
