/* ── tokens ─────────────────────────────────────────── */
:root {
  --paper: #ffffff;
  --ink: #16181e;
  --ink-2: #3b3f4b;
  --muted: #767b89;
  --line: #e9eaef;
  --belly: #f5f6f8;
  --beak: #ffc629;
  --beak-soft: #fff4cc;
  --beak-deep: #e7a300;
  --blush: #ffb3bd;
  --blush-soft: #ffe9ec;
  --eye: #8db1d6;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Gaegu", "Comic Sans MS", "Chalkboard SE", cursive;
  --zh: "ZCOOL KuaiLe", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --radius: 22px;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--beak); color: var(--ink); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.hand { font-family: var(--hand); }
.yellow { color: var(--beak); }

/* ── buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 14px 24px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--ink); color: #fff;
  font-weight: 600; font-size: 16px; text-decoration: none;
  cursor: pointer;
  box-shadow: 0 5px 0 var(--beak);
  transition: transform .18s var(--spring), box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--beak); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--beak); }
.btn:focus-visible, .ca:focus-visible, .poke:focus-visible, .strip:focus-visible, .chip-link:focus-visible {
  outline: 3px solid var(--eye); outline-offset: 3px;
}
.btn-ghost { background: #fff; color: var(--ink); box-shadow: 0 5px 0 var(--line); }
.btn-ghost:hover { box-shadow: 0 7px 0 var(--line); }
.btn-ghost:active { box-shadow: 0 2px 0 var(--line); }
.btn-small { padding: 7px 16px; font-size: 14px; box-shadow: 0 3px 0 var(--beak); }
.btn-small:hover { box-shadow: 0 5px 0 var(--beak); }
.btn-yellow { background: var(--beak); border-color: var(--beak); color: var(--ink); box-shadow: 0 5px 0 #fff; }
.btn-yellow:hover { box-shadow: 0 7px 0 #fff; }

/* ── nav ─────────────────────────────────────────── */
.nav {
  position: fixed; z-index: 50; top: 14px; left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 10px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.nav-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.nav-foot { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--beak); transform: rotate(-12deg); transition: transform .3s var(--spring); }
.nav-foot svg { width: 20px; height: 20px; fill: var(--ink); }
.nav-logo:hover .nav-foot { transform: rotate(12deg) scale(1.08); }
.nav-logo span { font-family: var(--zh); font-size: 22px; letter-spacing: .02em; line-height: 1; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  font-family: var(--hand); font-size: 21px; font-weight: 700; line-height: 1;
  text-decoration: none; padding: 8px 12px; border-radius: 999px; color: var(--ink-2);
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--beak-soft); color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums;
  padding: 6px 12px; border-radius: 999px; background: var(--belly); white-space: nowrap;
}
.sound-toggle {
  width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; font-size: 16px;
}
.sound-toggle:hover { background: var(--belly); }
.sound-toggle .off, .sound-toggle[aria-pressed="false"] .on { display: none; }
.sound-toggle[aria-pressed="false"] .off { display: inline; }

.live-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #33c46b; box-shadow: 0 0 0 0 rgba(51,196,107,.5);
  animation: pulse 2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(51,196,107,0); } 100% { box-shadow: 0 0 0 0 rgba(51,196,107,0); } }

/* ── hero ─────────────────────────────────────────── */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 110px 20px 40px; text-align: center;
}
.hero-stage {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  width: min(1400px, 100%);
}
.hero-word {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  font-weight: 800;
  font-size: clamp(84px, 15.5vw, 250px);
  line-height: .8; letter-spacing: -.045em;
  position: relative;
  user-select: none;
}
.hero-word--l { text-align: right; transform: rotate(-5deg) translateY(-10%); margin-right: -2vw; }
.hero-word--r { text-align: left; transform: rotate(4deg) translateY(12%); margin-left: -2vw; font-style: italic; }
.swash { position: absolute; left: 4%; bottom: -.18em; width: 88%; height: .2em; overflow: visible; }
.swash path { fill: none; stroke: var(--beak); stroke-width: 9; stroke-linecap: round; }

.poke-wrap { position: relative; z-index: 2; }
.poke {
  display: block; padding: 0; border: 0; background: none; cursor: pointer;
  width: clamp(250px, 34vw, 500px);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.poke img {
  width: 100%; height: auto;
  animation: bob 2.6s ease-in-out infinite;
  transform-origin: 50% 90%;
  pointer-events: none;
}
.poke.squish img { animation: squish .45s var(--spring); }
.poke.pouty img { animation: flap .16s ease-in-out 5; }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-10px) rotate(1.5deg); }
}
@keyframes squish {
  0% { transform: scale(1, 1); }
  30% { transform: scale(1.08, .88); }
  60% { transform: scale(.96, 1.05); }
  100% { transform: scale(1, 1); }
}
@keyframes flap {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-5deg) scale(1.02); }
  75% { transform: rotate(5deg) scale(1.02); }
}

.bubbles { position: absolute; inset: 0; pointer-events: none; }
.bubble {
  position: absolute;
  font-family: var(--hand); font-weight: 700; font-size: 26px; line-height: 1; white-space: nowrap;
  padding: 8px 14px 6px; border-radius: 18px;
  background: #fff; border: 2.5px solid var(--ink);
  transform: translate(-50%, -100%);
  animation: rise 1.1s ease-out forwards;
}
.bubble.zh { font-family: var(--zh); font-weight: 400; font-size: 24px; }
.bubble.hot { background: var(--beak); }
.bubble.pink { background: var(--blush-soft); }
@keyframes rise {
  0% { opacity: 0; transform: translate(-50%, -60%) scale(.6) rotate(var(--rot, 0deg)); }
  18% { opacity: 1; transform: translate(-50%, -110%) scale(1.08) rotate(var(--rot, 0deg)); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -230%) scale(1) rotate(var(--rot, 0deg)); }
}

.poke-status { margin: 4px 0 0; min-height: 34px; font-size: 22px; color: var(--muted); }
.poke-status .hand { font-size: 24px; font-weight: 700; }
.poke-status b { color: var(--ink); font-variant-numeric: tabular-nums; }

.hero-lede {
  max-width: 560px; margin: 18px auto 30px;
  font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--ink-2);
}
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* contract address pill */
.ca {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
  padding: 6px 6px 6px 8px; border-radius: 999px;
  background: var(--belly); border: 1px solid var(--line);
  cursor: pointer; transition: background .2s;
}
.ca:hover { background: var(--beak-soft); }
.ca-label {
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  background: var(--ink); color: #fff; border-radius: 999px; padding: 4px 8px;
}
.ca code { font-family: var(--mono); font-size: 14px; color: var(--ink-2); }
.ca-short { display: none; }
.ca-copy {
  font-family: var(--hand); font-weight: 700; font-size: 18px; line-height: 1;
  padding: 6px 12px 5px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
}
.ca--dark { background: #23262e; border-color: #30343e; }
.ca--dark:hover { background: #2c3039; }
.ca--dark .ca-label { background: var(--beak); color: var(--ink); }
.ca--dark code { color: #d9dce4; }
.ca--dark .ca-copy { background: #16181e; border-color: #30343e; color: #fff; }

/* ── footprint trails ─────────────────────────────────── */
.trail { width: min(1000px, 92%); margin: 10px auto; height: 120px; }
.trail svg { width: 100%; height: 100%; overflow: visible; }
.trail use { fill: var(--beak); opacity: 0; transform-box: fill-box; transform-origin: center; }
.trail.in use { animation: step .35s var(--spring) forwards; animation-delay: calc(var(--i) * 110ms); }
@keyframes step { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }

/* ── sections ─────────────────────────────────────── */
.section { width: min(1120px, 100% - 40px); margin: 0 auto; padding: 40px 0 60px; }
.section--wide { width: min(1240px, 100% - 32px); }
.section--narrow { width: min(820px, 100% - 40px); }
.sec-head { text-align: center; max-width: 780px; margin: 0 auto 48px; }
.kicker { margin: 0 0 10px; font-family: var(--hand); font-size: 24px; font-weight: 700; color: var(--ink-2); }
.kicker mark {
  background: linear-gradient(transparent 55%, var(--beak) 55%, var(--beak) 90%, transparent 90%);
  color: inherit; padding: 0 4px;
}
.sec-head h2 {
  margin: 0;
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  font-weight: 750; font-size: clamp(40px, 6.2vw, 78px);
  line-height: .98; letter-spacing: -.035em;
  text-wrap: balance;
}
.sec-head h2 em { font-weight: 500; color: var(--ink-2); }
.sec-lede { margin: 20px auto 0; max-width: 620px; font-size: 19px; color: var(--ink-2); text-wrap: pretty; }

/* ── field guide ─────────────────────────────────── */
.specimen {
  position: relative;
  display: grid; grid-template-columns: minmax(200px, 1fr) minmax(300px, 540px) minmax(200px, 1fr); gap: 28px;
  align-items: center;
}
.parts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 38px; counter-reset: part; }
.parts--r { counter-reset: part 4; }
.parts li { counter-increment: part; position: relative; max-width: 270px; cursor: default; transition: transform .25s var(--spring); }
.parts--l li { margin-left: auto; text-align: right; }
.parts li::before {
  content: counter(part);
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--beak); font-family: var(--hand); font-weight: 700; font-size: 18px; line-height: 1;
  vertical-align: 2px; margin-right: 8px;
}
.parts--l li::before { order: 2; }
.parts b {
  font-family: var(--display); font-style: italic; font-weight: 600; font-size: 23px; letter-spacing: -.01em;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.parts span { display: block; color: var(--muted); font-size: 15.5px; line-height: 1.45; margin-top: 2px; }
.parts li.hot { transform: scale(1.04); }
.parts li.hot b { background: linear-gradient(transparent 60%, var(--beak-soft) 60%); }

.specimen-fig { position: relative; margin: 0; }
.specimen-fig img { width: 100%; height: auto; border-radius: var(--radius); background: #d0d1d5; }
.dots { position: absolute; inset: 0; }
.dot {
  position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
  background: var(--ink); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--ink);
  font-family: var(--hand); font-size: 0; color: var(--ink);
  transition: transform .25s var(--spring), background .2s;
}
.dot.hot { transform: scale(1.5); background: var(--beak); }
.leaders { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.leaders path { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 3 4; opacity: .45; transition: opacity .2s, stroke .2s; }
.leaders path.hot { stroke: var(--beak-deep); stroke-dasharray: none; stroke-width: 2; opacity: 1; }

.label-card {
  margin: 60px auto 0; max-width: 820px;
  border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 22px 30px 26px;
  background: #fff;
  box-shadow: 8px 8px 0 var(--belly);
}
.label-card-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 12px; margin-bottom: 8px; border-bottom: 2px solid var(--ink);
  font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px;
}
.label-card-head .zh { font-family: var(--zh); font-size: 22px; letter-spacing: .05em; text-transform: none; font-weight: 400; }
.label-rows { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; margin: 0; }
.label-rows div { display: flex; align-items: baseline; gap: 8px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.label-rows dt { font-size: 13px; color: var(--muted); white-space: nowrap; }
.label-rows div::after { content: none; }
.label-rows dd { margin: 0 0 0 auto; text-align: right; font-weight: 500; font-size: 15.5px; }

/* ── origin ─────────────────────────────────────── */
.origin { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.origin-fig { margin: 0; position: sticky; top: 100px; }
.origin-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.origin-pair img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); background: var(--belly); }
.origin-pair img:first-child { object-position: 50% 0; }
.origin-fig figcaption { display: flex; align-items: center; justify-content: space-between; padding: 14px 16% 0 16%; }
.tag { font-family: var(--hand); font-weight: 700; font-size: 26px; line-height: 1; }
.tag--after { background: var(--beak); padding: 4px 12px 2px; border-radius: 999px; transform: rotate(-3deg); }
.origin-arrow { width: 110px; height: 36px; }
.origin-arrow path { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

.timeline { list-style: none; margin: 0; padding: 0 0 0 30px; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 2px;
  background-image: linear-gradient(var(--line) 50%, transparent 50%); background-size: 2px 10px;
}
.timeline li { position: relative; padding-bottom: 30px; }
.timeline li::before {
  content: ""; position: absolute; left: -30px; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--ink);
}
.timeline li:last-child::before { background: var(--beak); }
.when { font-family: var(--hand); font-weight: 700; font-size: 23px; line-height: 1.2; color: var(--ink-2); }
.timeline p { margin: 4px 0 0; color: var(--ink-2); text-wrap: pretty; }
.timeline b { color: var(--ink); font-weight: 600; }

.polaroids { display: flex; justify-content: center; align-items: flex-start; gap: 34px; margin-top: 70px; flex-wrap: wrap; }
.polaroid {
  margin: 0; width: 290px; padding: 12px 12px 6px; background: #fff;
  border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 14px 30px -18px rgba(22,24,30,.35);
  transform: rotate(var(--r));
  transition: transform .35s var(--spring);
}
.polaroid:hover { transform: rotate(0) translateY(-6px) scale(1.03); }
.polaroid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; background: var(--belly); }
.polaroid figcaption { font-family: var(--hand); font-size: 22px; font-weight: 700; text-align: center; padding: 8px 0 2px; }

/* ── a day in the life ───────────────────────────── */
.sun-track { display: flex; align-items: center; gap: 14px; width: min(760px, 100%); margin: -18px auto 26px; font-family: var(--hand); font-weight: 700; font-size: 20px; color: var(--muted); }
.sun-end { white-space: nowrap; }
.sun-line { position: relative; flex: 1; height: 2px; background-image: linear-gradient(90deg, var(--line) 50%, transparent 50%); background-size: 10px 2px; }
.sun-walker {
  position: absolute; top: 50%; left: 0; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink);
  transform: translate(-50%, -50%); transition: left .15s linear;
  animation: waddle .5s ease-in-out infinite alternate;
}
.sun-walker svg { width: 20px; height: 20px; fill: var(--beak); rotate: 90deg; }
@keyframes waddle { from { rotate: -8deg; } to { rotate: 8deg; } }

.strip-wrap { position: relative; }
.strip {
  display: flex; gap: 22px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding: 0 max(20px, calc((100% - 1120px) / 2));
  padding: 10px max(20px, calc((100% - 1120px) / 2)) 30px;
  scrollbar-width: none; cursor: grab;
}
.strip::-webkit-scrollbar { display: none; }
.strip.dragging { cursor: grabbing; scroll-snap-type: none; }
.strip.dragging * { pointer-events: none; }
.moment { flex: 0 0 auto; margin: 0; scroll-snap-align: start; width: min(330px, 78vw); }
.moment:nth-child(even) { margin-top: 36px; }
.moment .media {
  border-radius: var(--radius); overflow: hidden; background: var(--belly);
  aspect-ratio: 3 / 4;
}
.moment:last-child { width: min(560px, 86vw); }
.moment:last-child .media { aspect-ratio: 16 / 10; }
.moment img, .moment video { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.moment figcaption { font-family: var(--hand); font-size: 23px; line-height: 1.15; padding: 14px 6px 0; color: var(--ink-2); }
.moment time {
  display: inline-block; margin-right: 8px; padding: 2px 10px 0; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 20px;
}
.strip-btn {
  position: absolute; top: 42%; z-index: 3; width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid var(--ink); background: #fff; font-size: 22px; cursor: pointer;
  box-shadow: 0 4px 0 var(--beak); transition: transform .18s var(--spring), opacity .2s;
}
.strip-btn:hover { transform: translateY(-2px); }
.strip-btn[disabled] { opacity: 0; pointer-events: none; }
.strip-btn--prev { left: 8px; }
.strip-btn--next { right: 8px; }

/* ── dictionary ─────────────────────────────────── */
.entry { padding: 28px 0; border-top: 1px solid var(--line); }
.entry:first-of-type { border-top: 2px solid var(--ink); }
.entry h3 {
  margin: 0 0 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px;
  font-family: var(--display); font-weight: 700; font-size: clamp(40px, 6vw, 64px); line-height: 1; letter-spacing: -.02em;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.entry .pron { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 22px; color: var(--muted); letter-spacing: 0; }
.entry .zh { font-family: var(--zh); font-weight: 400; font-size: 34px; letter-spacing: .04em; }
.entry .pos {
  font-family: var(--hand); font-weight: 700; font-size: 20px; letter-spacing: 0;
  background: var(--blush-soft); padding: 2px 12px 0; border-radius: 999px;
}
.entry ol { margin: 0; padding-left: 28px; font-size: 20px; color: var(--ink-2); }
.entry ol li { padding: 2px 0; }
.entry ol li::marker { font-family: var(--display); font-weight: 700; color: var(--ink); }
.entry-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  border-top: 2px solid var(--ink); padding-top: 24px; margin: 0;
  font-family: var(--hand); font-size: 22px; color: var(--muted);
}
.btn-say .muted { font-weight: 400; font-size: 14px; }

/* ── the coin ─────────────────────────────────────── */
.coin {
  background: var(--ink); color: #fff;
  border-radius: clamp(28px, 4vw, 48px);
  padding: clamp(40px, 6vw, 80px) clamp(20px, 5vw, 70px);
  position: relative; overflow: hidden;
}
.coin::before { /* the belly */
  content: ""; position: absolute; left: 50%; bottom: -62%; width: 70%; aspect-ratio: 1; border-radius: 50%;
  transform: translateX(-50%); background: radial-gradient(circle, rgba(255,255,255,.045), transparent 65%); pointer-events: none;
}
.sec-head--dark .kicker { color: #c9ccd6; }
.sec-head--dark .kicker mark { color: var(--ink); background: var(--beak); border-radius: 999px; padding: 2px 12px 0; }
.sec-head--dark h2 em { color: var(--beak); font-weight: 600; }
.sec-head--dark .sec-lede { color: #c9ccd6; }
.sec-head--dark .sec-lede b { color: #fff; }
.sec-head--dark a { color: #fff; text-decoration-color: var(--beak); text-underline-offset: 3px; text-decoration-thickness: 2px; }

.flow {
  list-style: none; margin: 0 auto; padding: 0; max-width: 1000px;
  display: grid; grid-template-columns: 1fr 70px 1fr 70px 1fr; align-items: stretch; gap: 10px;
}
.flow > li:not(.flow-feet) {
  background: #1f2229; border: 1px solid #30343e; border-radius: var(--radius);
  padding: 22px 22px 20px; min-height: 160px;
  display: flex; flex-direction: column; gap: 6px;
}
.flow-n {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--beak); color: var(--ink); font-family: var(--hand); font-weight: 700; font-size: 22px; margin-bottom: 6px;
}
.flow b { font-family: var(--display); font-weight: 650; font-size: 22px; line-height: 1.15; letter-spacing: -.01em; }
.flow li span:not(.flow-n) { color: #a9adb9; font-size: 15px; line-height: 1.45; }
.flow-feet { display: flex; justify-content: center; align-items: center; gap: 2px; }
.flow-feet svg { width: 18px; height: 18px; fill: var(--beak); transform: rotate(90deg); }
.flow-feet svg:nth-child(odd) { translate: 0 -7px; }
.flow-feet svg:nth-child(even) { translate: 0 7px; opacity: .7; }
.flow-note { text-align: center; color: #8e93a0; font-size: 14px; margin: 18px 0 0; }

.board {
  max-width: 1000px; margin: 50px auto 0;
  background: #fff; color: var(--ink); border-radius: var(--radius);
  padding: 22px clamp(18px, 3vw, 34px) 26px;
}
.board-head { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.board-head span { display: inline-flex; align-items: center; gap: 8px; }
.board-hero { display: flex; gap: 18px; align-items: center; padding: 8px 0 22px; border-bottom: 1px solid var(--line); }
.board-hero img { width: 56px; height: 56px; border-radius: 50%; flex: none; }
.board-label { display: block; font-family: var(--hand); font-weight: 700; font-size: 21px; color: var(--muted); line-height: 1.1; }
.board-big {
  display: block; font-family: var(--display); font-weight: 750; font-size: clamp(42px, 6vw, 68px); line-height: 1.02;
  letter-spacing: -.03em; font-variant-numeric: tabular-nums; font-variation-settings: "SOFT" 100, "opsz" 144;
}
.board-big small { font-size: .42em; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.board-sub { display: block; color: var(--ink-2); font-size: 15px; }
.board-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.board-grid div { padding: 18px 0 0; }
.board-grid div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.board-grid dt { font-size: 13px; color: var(--muted); }
.board-grid dd { margin: 2px 0 0; font-family: var(--display); font-weight: 650; font-size: 26px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }

.howto { max-width: 1000px; margin: 56px auto 0; }
.howto h3 {
  font-family: var(--display); font-weight: 650; font-style: italic; font-size: clamp(28px, 3.4vw, 38px);
  margin: 0 0 20px; letter-spacing: -.02em; font-variation-settings: "SOFT" 100, "WONK" 1;
}
.howto ol { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.howto li { counter-increment: s; color: #b8bcc7; font-size: 15.5px; line-height: 1.5; border-top: 1px solid #30343e; padding-top: 16px; }
.howto li::before { content: counter(s); display: block; font-family: var(--hand); font-weight: 700; font-size: 44px; line-height: 1; color: var(--beak); margin-bottom: 6px; }
.howto li b { display: block; color: #fff; font-weight: 600; margin-bottom: 4px; }

.coin-foot { max-width: 1000px; margin: 50px auto 0; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.chip-link {
  text-decoration: none; font-size: 15px; font-weight: 500; color: #d9dce4;
  padding: 10px 16px; border-radius: 999px; border: 1px solid #30343e; transition: background .2s, color .2s;
}
.chip-link:hover { background: #fff; color: var(--ink); }

/* ── bye ─────────────────────────────────────── */
.bye { text-align: center; padding: 60px 20px 0; overflow: hidden; }
.bye-word {
  margin: 0; font-family: var(--display); font-weight: 800; font-style: italic;
  font-size: clamp(90px, 20vw, 300px); line-height: .85; letter-spacing: -.05em;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.bye-sub { margin: clamp(30px, 5.5vw, 80px) 0 0; font-size: 26px; color: var(--muted); }
.shore { position: relative; height: 130px; margin-top: 10px; border-bottom: 2px solid var(--ink); }
.waddler { position: absolute; bottom: -2px; left: 0; width: 120px; animation: walk 24s linear infinite; }
.waddler img { width: 120px; height: auto; transform-origin: 50% 100%; animation: waddle .6s ease-in-out infinite alternate; }

.night { margin: 50px auto 0; width: min(440px, 100%); transform: rotate(-2deg); transition: transform .35s var(--spring); }
.night:hover { transform: rotate(0) scale(1.02); }
.night img { width: 100%; border-radius: var(--radius); }
.night figcaption { font-family: var(--hand); font-size: 23px; line-height: 1.2; padding-top: 12px; color: var(--ink-2); }
.night time { display: inline-block; margin-right: 8px; padding: 2px 10px 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 20px; }
@keyframes walk {
  0% { left: -120px; transform: scaleX(1); }
  49.99% { left: calc(100% + 20px); transform: scaleX(1); }
  50% { left: calc(100% + 20px); transform: scaleX(-1); }
  100% { left: -120px; transform: scaleX(-1); }
}

.footer {
  width: min(820px, 100% - 40px); margin: 0 auto; padding: 34px 0 60px;
  font-size: 13.5px; line-height: 1.6; color: var(--muted); text-align: center;
}
.footer b { color: var(--ink-2); }
.footer p { margin: 0 0 10px; }

.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 60;
  transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 10px 20px 8px; border-radius: 999px;
  font-family: var(--hand); font-weight: 700; font-size: 22px;
  box-shadow: 0 5px 0 var(--beak);
  transition: transform .3s var(--spring), opacity .2s;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s var(--spring); }
.reveal.in { opacity: 1; transform: none; }

/* ── responsive ─────────────────────────────────── */
@media (max-width: 1100px) {
  .nav-links { display: none; }
}
@media (max-width: 960px) {
  .specimen { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: 10px; }
  .specimen-fig { order: -1; max-width: 400px; margin: 0 auto; width: 100%; }
  .parts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
  .parts--l li, .parts li { margin: 0; text-align: left; max-width: none; }
  .leaders { display: none; }
  .dot { width: 24px; height: 24px; margin: -12px 0 0 -12px; font-size: 15px; font-weight: 700; display: grid; place-items: center; background: var(--beak); border: 2px solid var(--ink); box-shadow: none; line-height: 1; }
  .origin { grid-template-columns: 1fr; gap: 30px; }
  .origin-fig { position: static; }
  .flow { grid-template-columns: 1fr; max-width: 460px; }
  .flow > li:not(.flow-feet) { min-height: 0; }
  .flow-feet { height: 40px; }
  .flow-feet svg { transform: rotate(180deg); }
  .flow-feet svg:nth-child(odd) { translate: -8px 0; }
  .flow-feet svg:nth-child(even) { translate: 8px 0; }
  .flow-feet { flex-direction: column; align-items: center; gap: 0; height: auto; }
  .flow-feet svg { width: 14px; height: 14px; }
  .board-grid { grid-template-columns: 1fr 1fr; }
  .board-grid div:nth-child(3) { padding-left: 0; border-left: 0; }
  .howto ol { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-chip { display: none; }
  .hero { padding-top: 96px; }
  .hero-stage { grid-template-columns: 1fr; }
  .hero-word { font-size: clamp(76px, 25vw, 150px); }
  .hero-word { font-size: clamp(68px, 21vw, 130px); z-index: 3; pointer-events: none; }
  .hero-word--l { text-align: left; margin: 0 0 -2vw; padding-left: 1vw; transform: rotate(-6deg); }
  .hero-word--r { text-align: right; margin: -6vw 0 0; padding-right: 3vw; transform: rotate(4deg); }
  .swash { bottom: -.12em; }
  .poke { width: min(74vw, 340px); margin: 0 auto; }
  .poke-status { margin-top: 26px; }
  .ca-full { display: none; }
  .ca-short { display: inline; }
  .label-card { padding: 18px 18px 20px; }
  .label-rows { grid-template-columns: 1fr; }
  .moment:nth-child(even) { margin-top: 0; }
  .strip-btn { display: none; }
  .howto ol { grid-template-columns: 1fr; }
  .board-hero { align-items: flex-start; }
  .board-hero img { width: 40px; height: 40px; }
  .polaroid { width: min(300px, 86vw); }
  .trail { height: 80px; }
}
@media (max-width: 420px) {
  .parts { grid-template-columns: 1fr; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .hero-buttons { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .trail use { opacity: 1; }
  .reveal { opacity: 1; transform: none; }
  .waddler { left: 45%; }
}
