/* The three families, served from this site (site/tools/get_fonts.py: fontsource variable packages, OFL). */
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%; src: url("/assets/fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"), url("/assets/fonts/archivo-latin-wdth-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%; src: url("/assets/fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations"), url("/assets/fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-display: swap; font-weight: 200 900; src: url("/assets/fonts/source-serif-4-latin-opsz-normal.woff2") format("woff2-variations"), url("/assets/fonts/source-serif-4-latin-opsz-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-display: swap; font-weight: 200 900; src: url("/assets/fonts/source-serif-4-latin-ext-opsz-normal.woff2") format("woff2-variations"), url("/assets/fonts/source-serif-4-latin-ext-opsz-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-display: swap; font-weight: 200 900; src: url("/assets/fonts/source-serif-4-latin-opsz-italic.woff2") format("woff2-variations"), url("/assets/fonts/source-serif-4-latin-opsz-italic.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-display: swap; font-weight: 200 900; src: url("/assets/fonts/source-serif-4-latin-ext-opsz-italic.woff2") format("woff2-variations"), url("/assets/fonts/source-serif-4-latin-ext-opsz-italic.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Public Sans"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/assets/fonts/public-sans-latin-wght-normal.woff2") format("woff2-variations"), url("/assets/fonts/public-sans-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Public Sans"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/assets/fonts/public-sans-latin-ext-wght-normal.woff2") format("woff2-variations"), url("/assets/fonts/public-sans-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
/* Live Species, localhost demo. One light source, near-black ground, the animals as the colour. */
:root {
  --ground: #0B0C0E;
  --ground-2: #111214;
  --chalk: #F2EEE6;
  --muted: #A4A9B0;
  --hair: rgba(242, 238, 230, 0.10);
  --hair-2: rgba(242, 238, 230, 0.20);
  --signal: #FF5A2B;
  --light: #FFF6DC;
  --sans: "Archivo", "Public Sans", system-ui, sans-serif;
  --serif: "Source Serif 4", "Public Sans", Georgia, "Times New Roman", serif;
  --gut: 64px;
  --k: 1;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ground); color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--ground); color: var(--chalk); font-family: var(--serif); font-variant-numeric: proportional-nums; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
p, h1, h2, h3, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; }
a { color: var(--chalk); text-underline-offset: 3px; }
a:hover { color: var(--muted); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--chalk); outline-offset: 2px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

html[data-mode="phone"] .desk-only { display: none !important; }
html[data-mode="desk"] .phone-only { display: none !important; }
@media (max-width: 819px) { html:not([data-mode]) .desk-only { display: none !important; } }
@media (min-width: 820px) { html:not([data-mode]) .phone-only { display: none !important; } }

.btn { flex: none; min-height: 44px; min-width: 64px; padding: 0 14px; border: 1px solid rgba(242, 238, 230, 0.62); border-radius: 2px; background: transparent; color: var(--chalk); font: 600 14px/1 var(--sans); letter-spacing: 0.01em; cursor: pointer; }
.btn:hover { border-color: var(--chalk); background: rgba(242, 238, 230, 0.06); }
.fig { font-family: var(--sans); font-stretch: 75%; font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1, "lnum" 1; color: var(--signal); white-space: nowrap; }

/* ------------------------------------------------------------------ the bar */
.bar { position: fixed; z-index: 50; left: 0; right: 0; top: 0; background: linear-gradient(180deg, rgba(11, 12, 14, 0.95), rgba(11, 12, 14, 0.84)); border-bottom: 1px solid var(--hair); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.bar__row { display: flex; align-items: center; gap: 44px; height: 76px; padding: 26px var(--gut) 6px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--chalk); text-decoration: none; }
.brand:hover { color: var(--chalk); }
.brand__lockup { display: block; width: 196px; }
.brand__lockup svg, .brand__small svg { display: block; width: 100%; height: auto; }
.brand__small { display: none; width: 28px; }
.foot__brand .brand__lockup { width: 232px; }
.nav { flex: 1 1 auto; }
.nav ul { display: flex; gap: 26px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; font: 500 14px/1 var(--sans); color: var(--chalk); text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--muted); }
.bar__humans { display: flex; align-items: center; gap: 12px; opacity: 0; visibility: hidden; transition: opacity 240ms ease, visibility 0s linear 240ms; }
.bar[data-compact="true"] .bar__humans { opacity: 1; visibility: visible; transition: opacity 240ms ease; }
.bar__label { font: 600 14px/1 var(--sans); letter-spacing: 0.01em; color: var(--muted); }
.bar__fig { font-weight: 600; font-size: 22px; line-height: 1; }
.bar__credit { position: absolute; right: var(--gut); top: 7px; font: 14px/16px var(--sans); color: var(--muted); white-space: nowrap; opacity: 0; transition: opacity 240ms ease; }
.bar[data-compact="true"] .bar__credit { opacity: 1; }
.menu-btn, .menu { display: none; }
.menu:not([hidden]) a { display: flex; align-items: center; min-height: 48px; padding: 0 var(--gut); border-top: 1px solid var(--hair); font: 600 16px/1 var(--sans); text-decoration: none; }
@media (max-width: 1380px) {
  html[data-mode="desk"] .bar__row { gap: 28px; }
  html[data-mode="desk"] .nav ul { gap: 18px; }
  html[data-mode="desk"] .nav a { font-size: 14px; }
}
@media (max-width: 1180px) {
  html[data-mode="desk"] .nav { display: none; }
  html[data-mode="desk"] .bar__humans { margin-left: auto; }
  html[data-mode="desk"] .menu-btn { display: inline-block; }
  html[data-mode="desk"] .menu:not([hidden]) { display: block; position: absolute; left: 0; right: 0; top: 100%; background: rgba(11, 12, 14, 0.98); border-bottom: 1px solid var(--hair-2); }
}

/* ------------------------------------------------------------------ the stage */
.journey { position: relative; }
.stage { position: sticky; top: 0; height: 100vh; overflow: hidden; background: radial-gradient(calc(900px * var(--k)) calc(700px * var(--k)) at 72% 70%, #111214 0%, #0D0E10 60%, #0B0C0E 100%); }
.earth { position: absolute; left: 0; top: 0; display: block; }
.grain { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay; opacity: 0.035; background-size: 128px 128px; }
.shade { position: absolute; inset: 0; pointer-events: none; }
.stage[data-mode="desk"] .shade { background: linear-gradient(90deg, rgba(11, 12, 14, 0.82) 0, rgba(11, 12, 14, 0.62) calc(520px * var(--k)), rgba(11, 12, 14, 0) calc(760px * var(--k))); }
.lift { position: absolute; z-index: 2; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; will-change: transform; }
/* One button per light, under the stage's words and lens, over the canvas. */
.lights { position: absolute; z-index: 1; left: 0; top: 0; width: 100%; height: 0; pointer-events: none; will-change: transform; }
.light-btn { position: absolute; left: -12px; top: -12px; width: 24px; height: 24px; padding: 0; margin: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; pointer-events: auto; }
.light-btn:focus-visible { outline: 2px solid var(--chalk); outline-offset: 0; }
html[data-mode="phone"] .light-btn { pointer-events: none; }
.nline { position: absolute; margin: 0; text-align: right; font-style: italic; font-size: max(15px, calc(17px * var(--k))); line-height: 1.38; color: var(--chalk); opacity: 0; transition: opacity 320ms ease; }
.nline.on { opacity: 1; }
.nline::before { content: ""; position: absolute; z-index: -1; left: -36px; right: -20px; top: -24px; bottom: -22px; background: radial-gradient(closest-side, rgba(11, 12, 14, 0.85), rgba(11, 12, 14, 0.5) 62%, rgba(11, 12, 14, 0)); pointer-events: none; }
.lift a, .lift button, .lift summary, .lift .hb, .lift .panel.on { pointer-events: auto; }

.num { position: absolute; margin: 0; font-family: var(--sans); font-weight: 800; font-stretch: 75%; line-height: 1; letter-spacing: 0; white-space: nowrap; color: var(--chalk); font-variant-numeric: lining-nums proportional-nums; opacity: 0; transition: opacity 320ms ease; }
.num.on { opacity: 1; }
.num__w { font-family: var(--serif); font-style: italic; font-weight: 400; font-stretch: 100%; font-size: 0.215em; line-height: 0; vertical-align: 1.43em; margin: 0 0.18em; }
.num__w--pre { margin-left: 0; margin-right: 0.3em; }

.lens { position: absolute; border-radius: 50%; overflow: hidden; background: var(--ground); box-shadow: 0 calc(28px * var(--k)) calc(70px * var(--k)) rgba(0, 0, 0, 0.55), 0 0 calc(48px * var(--k)) rgba(214, 218, 224, 0.12); }
.lens__photos { position: absolute; inset: 0; transition: transform 120ms ease-out; }
.lens__img { position: absolute; max-width: none; opacity: 0; transition: opacity 320ms ease; }
.lens__img.on { opacity: 1; }
.lens__inner { position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 calc(80px * var(--k)) rgba(0, 0, 0, 0.45); pointer-events: none; }
.lens__sheen { position: absolute; left: 0; top: -30%; width: 23%; height: 160%; pointer-events: none; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.14) 50%, rgba(255, 255, 255, 0)); transform: translateX(-160%) rotate(22deg); }
.lens__sheen.run { animation: sheen 700ms cubic-bezier(0.22, 0.61, 0.36, 1) 160ms both; }
@keyframes sheen { from { transform: translateX(-160%) rotate(22deg); } to { transform: translateX(560%) rotate(22deg); } }
.lensgrp { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; will-change: transform; }
.ring { position: absolute; overflow: visible; pointer-events: none; }
.ring__hl { transform-box: view-box; transform-origin: center; transition: transform 120ms ease-out; }
.cuts { position: absolute; inset: 0; pointer-events: none; transition: transform 120ms ease-out; }
.cut { position: absolute; opacity: 0; transition: opacity 320ms ease; filter: drop-shadow(0 calc(14px * var(--k)) calc(22px * var(--k)) rgba(0, 0, 0, 0.55)) drop-shadow(0 0 1px rgba(255, 255, 255, 0.35)); }
.cut.on { opacity: 1; }
.cut__zone, .cut__mask { position: absolute; inset: 0; }
.cut__img { position: absolute; left: 0; top: 0; max-width: none; }

/* the hero, desktop */
.hero { position: absolute; }
.stage[data-mode="desk"] .hero { left: var(--gut); top: max(88px, calc(102px * var(--kp))); width: calc(460px * var(--kp)); will-change: opacity, transform; }
.tagline { font-style: italic; font-size: max(14px, calc(17px * var(--k))); line-height: 1.4; color: var(--muted); }
.headline { margin-top: max(calc(16px * var(--k)), 0.26em); font-weight: 600; font-size: max(44px, calc(92px * var(--k))); line-height: 0.94; letter-spacing: -0.018em; }
.deck { margin-top: calc(22px * var(--k)); font-size: max(16px, calc(20px * var(--k))); line-height: 1.5; max-width: calc(440px * var(--kp)); }
.count { margin-top: calc(6px * var(--k)); display: flex; align-items: center; flex-wrap: wrap; column-gap: 18px; font-family: var(--sans); }
.count__n { font-weight: 700; font-size: max(16px, calc(22px * var(--k))); line-height: 1.2; }
.count__link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; font-size: max(14px, calc(15px * var(--k))); color: var(--muted); }

.hb { position: relative; }
.stage[data-mode="desk"] .hb { margin-top: calc(22px * var(--k)); padding-top: calc(18px * var(--k)); border-top: 1px solid var(--hair-2); }
.hb__top { display: flex; align-items: baseline; gap: 12px; font-family: var(--sans); font-size: max(14px, calc(14px * var(--k))); line-height: 1.3; }
.hb__label { font-weight: 600; letter-spacing: 0.01em; color: var(--chalk); }
.hb__tag { font-family: var(--serif); font-style: italic; color: var(--muted); }
.hb__row { display: flex; align-items: center; gap: calc(20px * var(--k)); margin-top: calc(6px * var(--k)); }
.hb__fig { font-weight: 700; font-size: max(40px, calc(74px * var(--k))); line-height: 1; letter-spacing: -0.004em; min-height: 1em; }
.hb__body { margin-top: calc(10px * var(--k)); }
.hb__rate { font-family: var(--sans); font-weight: 600; font-size: max(15px, calc(17px * var(--k))); line-height: 1.35; }
.hb__more { display: none; }
.stage[data-mode="desk"] .hb.fold .hb__body { display: grid; grid-template-columns: minmax(0, 1fr) 44px; column-gap: 8px; align-items: center; }
.stage[data-mode="desk"] .hb.fold .hb__rate, .stage[data-mode="desk"] .hb.fold .hb__c1 { grid-column: 1; }
.stage[data-mode="desk"] .hb.fold .hb__credit { grid-column: 1 / -1; }
.stage[data-mode="desk"] .hb.fold .hb__more { grid-column: 2; grid-row: 1 / span 2; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: radial-gradient(circle at center, transparent 13.5px, rgba(242, 238, 230, 0.5) 14px, rgba(242, 238, 230, 0.5) 15px, transparent 15.5px); color: var(--chalk); cursor: pointer; transition: transform 160ms ease; }
.stage[data-mode="desk"] .hb.fold.open .hb__more { transform: rotate(180deg); }
.stage[data-mode="desk"] .hb.fold .hb__x { display: none; }
.stage[data-mode="desk"] .hb.fold.open .hb__x { display: block; position: absolute; z-index: 9; left: -20px; right: -20px; bottom: 100%; padding: 16px 20px 14px; background: rgba(11, 12, 14, 0.98); border: 1px solid var(--hair-2); }
.hb__c1, .hb__c2 { margin-top: calc(8px * var(--k)); font-size: max(16px, calc(18px * var(--k))); line-height: 1.42; }
.hb__c2 { margin-top: 0; }
.hb__m { margin-top: calc(8px * var(--k)); font-size: max(14px, calc(13px * var(--k))); line-height: 1.45; color: var(--muted); }
.hb__credit { margin-top: calc(10px * var(--k)); font: max(14px, calc(12px * var(--k)))/1.35 var(--sans); color: var(--muted); }
.hb__credit { font-size: max(14px, calc(12px * var(--k))); }

/* the first screen's caption beside the lens (desktop) */
.cap0 { position: absolute; left: var(--cap-left); bottom: calc(26px * var(--k)); width: var(--cap-w); transition: opacity 300ms ease, visibility 0s linear 300ms; }
.stage[data-mode="phone"] .cap0, .stage[data-intro="1"] .cap0 { opacity: 0; visibility: hidden; }
.stage[data-stop]:not([data-stop="0"]) .cap0 { opacity: 0; visibility: hidden; }
.cap0::before { content: ""; position: absolute; left: -48px; right: -48px; top: -40px; bottom: -30px; z-index: -1; background: radial-gradient(closest-side, rgba(11, 12, 14, 0.88), rgba(11, 12, 14, 0.6) 60%, rgba(11, 12, 14, 0)); }
.cap0 .p-name { font-size: calc(40px * var(--k)); margin-top: 0; }
.cap0 .p-place { font-size: max(14px, calc(15px * var(--k))); }
.cap0 .p-kind { margin-top: calc(10px * var(--k)); font-size: max(14px, calc(15px * var(--k))); }
.cap0 .p-line { font-size: max(15px, calc(16px * var(--k))); }
.cap0 .p-counted { margin-top: 6px; font-size: max(14px, calc(15px * var(--k))); }
.cap0 .p-since { margin-top: 8px; font-size: max(14px, calc(14px * var(--k))); }

/* record panels */
.panels { position: absolute; }
.stage[data-mode="desk"] .panels { left: var(--gut); top: max(92px, calc(116px * var(--k))); width: calc(452px * var(--k)); }
.panel { position: absolute; left: 0; top: 0; width: 100%; opacity: 0; visibility: hidden; transition: opacity 320ms ease, visibility 0s linear 320ms; }
.stage[data-mode="desk"][data-intro="1"] .panel.on, .stage[data-mode="phone"] .panel.on { opacity: 1; visibility: visible; transition: opacity 320ms ease; }
.p-tag { font: 700 max(14px, calc(14px * var(--k)))/1.3 var(--sans); letter-spacing: 0.02em; color: var(--light); margin-bottom: calc(8px * var(--k)); }
.p-tag::before { content: ""; display: inline-block; width: 18px; height: 1px; margin-right: 10px; vertical-align: 0.3em; background: var(--light); }
.p-name { font-family: var(--sans); font-weight: 800; font-size: calc(52px * var(--k)); line-height: 1; letter-spacing: -0.004em; }
.p-place { margin-top: calc(6px * var(--k)); font-style: italic; font-size: max(14px, calc(16px * var(--k))); line-height: 1.35; color: var(--muted); }
.p-kind { margin-top: calc(18px * var(--k)); font: 700 max(14px, calc(16px * var(--k)))/1.3 var(--sans); }
.p-line { margin-top: calc(4px * var(--k)); font-size: max(15px, calc(18px * var(--k))); line-height: 1.42; }
.p-counted { margin-top: calc(10px * var(--k)); font-size: max(14px, calc(16px * var(--k))); line-height: 1.45; }
.p-trend { margin-top: calc(10px * var(--k)); font-size: max(14px, calc(15px * var(--k))); line-height: 1.45; color: var(--muted); }
.p-trend__w { margin-right: 8px; font: 700 max(14px, calc(15px * var(--k)))/1.3 var(--sans); color: var(--chalk); }
.p-scope { margin-top: 6px; font-size: max(14px, calc(15px * var(--k))); line-height: 1.45; color: var(--muted); }
.p-reading { margin-top: calc(14px * var(--k)); font-size: max(15px, calc(17px * var(--k))); line-height: 1.45; }
.p-pair { margin-top: calc(20px * var(--k)); padding: calc(14px * var(--k)) 0 calc(14px * var(--k)); border-top: 1px solid var(--hair-2); border-bottom: 1px solid var(--hair-2); }
.p-pair__t { font: 600 max(14px, calc(13px * var(--k)))/1.3 var(--sans); letter-spacing: 0.02em; color: var(--muted); }
.p-then { margin-top: calc(8px * var(--k)); font-size: max(15px, calc(16px * var(--k))); line-height: 1.42; color: var(--muted); }
.p-now { margin-top: calc(6px * var(--k)); font-size: max(15px, calc(17px * var(--k))); line-height: 1.42; }
.p-note { margin-top: calc(6px * var(--k)); font-size: max(14px, calc(15px * var(--k))); line-height: 1.45; color: var(--muted); }
.p-rule { margin-top: calc(8px * var(--k)); font-size: max(14px, calc(13px * var(--k))); line-height: 1.45; color: var(--muted); }
.p-moves { margin-top: calc(16px * var(--k)); }
.p-moves__l { font: 700 max(14px, calc(14px * var(--k)))/1.3 var(--sans); }
.p-moves__t { margin-top: 3px; font-size: max(14px, calc(15px * var(--k))); line-height: 1.45; }
.p-captive, .p-unknown, .p-wall { margin-top: calc(8px * var(--k)); font-size: max(14px, calc(15px * var(--k))); line-height: 1.45; }
.p-unknown { color: var(--muted); font-style: italic; }
.p-since { margin-top: calc(14px * var(--k)); font-size: max(14px, calc(15px * var(--k))); line-height: 1.45; color: var(--muted); }
.sig { color: var(--signal); }
.p-linenote > summary { list-style: none; cursor: pointer; }
.p-linenote > summary::-webkit-details-marker { display: none; }
.p-linenote > summary::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 10px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-3px) rotate(45deg); transition: transform 160ms ease; }
.p-linenote[open] > summary::after { transform: translateY(1px) rotate(225deg); }
.p-linenote > .p-note { margin-top: 4px; }

/* the dock: credits and the cue */
.dock { position: absolute; z-index: 4; }
.stage[data-mode="desk"] .dock { right: var(--gut); bottom: calc(14px * var(--k)); width: var(--dock-w, calc(270px * var(--k))); }
.stage[data-mode="desk"].dock-short .credit-set__place { display: none; }
.dock__credits { display: grid; grid-template-columns: minmax(0, 1fr); }
.stage[data-mode="desk"] .dock::before { content: ""; position: absolute; z-index: -1; left: -44px; right: -44px; top: -34px; bottom: -24px; background: radial-gradient(closest-side, rgba(11, 12, 14, 0.86), rgba(11, 12, 14, 0.55) 62%, rgba(11, 12, 14, 0)); pointer-events: none; }
.credit-set { grid-area: 1 / 1; align-self: end; opacity: 0; visibility: hidden; transition: opacity 320ms ease, visibility 0s linear 320ms; }
.credit-set.on { opacity: 1; visibility: visible; transition: opacity 320ms ease; }
.credit-set__cap { font-size: 14px; line-height: 1.4; color: var(--chalk); margin-bottom: 6px; }
.credit-set__place { font-style: italic; font-size: 14px; line-height: 1.35; color: var(--muted); margin-bottom: 3px; }
.credit-set__credit { font: 14px/1.35 var(--sans); color: var(--muted); overflow-wrap: anywhere; }
.dock__row { margin-top: 10px; display: flex; align-items: center; gap: 10px; }
.cue { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--chalk); font: 600 15px/1.3 var(--sans); text-align: left; cursor: pointer; pointer-events: auto; }
.cue__ring { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(242, 238, 230, 0.6); display: flex; align-items: center; justify-content: center; transition: border-color 160ms ease, background-color 160ms ease; }
.cue__ring svg { display: block; transition: transform 160ms ease; }
.cue:hover .cue__ring { border-color: var(--chalk); background: rgba(255, 255, 255, 0.06); }
.cue:hover .cue__ring svg { transform: translateY(3px); }
.cue:focus-visible { outline: 2px solid var(--chalk); outline-offset: 4px; border-radius: 22px; }
.credits-btn { display: none; }
.credits-sheet { position: absolute; left: 0; right: 0; bottom: 100%; padding: 12px var(--gut); background: var(--ground); border-top: 1px solid var(--hair); font: 14px/1.4 var(--sans); color: var(--muted); }

.key { position: absolute; z-index: 3; display: grid; gap: 6px; opacity: 0; visibility: hidden; transition: opacity 320ms ease, visibility 0s linear 320ms; }
.stage[data-mode="desk"] .key { left: var(--key-left, calc(540px * var(--k))); bottom: calc(24px * var(--k)); width: calc(330px * var(--k)); }
.stage[data-mode="desk"] .key::before { content: ""; position: absolute; left: -40px; right: -40px; top: -30px; bottom: -24px; z-index: -1; background: radial-gradient(closest-side, rgba(11, 12, 14, 0.86), rgba(11, 12, 14, 0.55) 62%, rgba(11, 12, 14, 0)); pointer-events: none; }
.stage[data-mode="desk"][data-intro="1"] .key { opacity: 1; visibility: visible; transition: opacity 320ms ease; }
.key li, .p-fold__key li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.key svg, .p-fold__key svg { position: absolute; left: 0; top: 4px; }

.lab { position: absolute; z-index: 6; margin: 0; font: 600 14px/18px var(--sans); color: var(--chalk); white-space: nowrap; pointer-events: none; text-shadow: 0 0 3px #0B0C0E, 0 0 8px #0B0C0E, 0 1px 2px #0B0C0E; }
.taplist { position: absolute; z-index: 8; width: 240px; border: 1px solid rgba(242, 238, 230, 0.28); background: rgba(11, 12, 14, 0.97); }
.taplist__row { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 0 14px; border: 0; border-top: 1px solid var(--hair); background: transparent; color: var(--chalk); font: 600 14px/18px var(--sans); text-align: left; cursor: pointer; }
.taplist__row:first-child { border-top: 0; }
.sheet { position: absolute; z-index: 20; left: 0; right: 0; top: calc(var(--bar-c, 88px) + 6px); bottom: var(--dock-h, 60px); overflow: auto; padding: 18px var(--gut) 24px; background: rgba(11, 12, 14, 0.98); border-top: 1px solid var(--hair-2); }
.sheet[hidden] { display: none; }
.stage[data-mode="desk"] .sheet { left: 0; right: auto; width: calc(560px * var(--k)); top: 76px; bottom: 0; padding: 24px calc(48px * var(--k)) 32px var(--gut); border-top: 0; border-right: 1px solid var(--hair-2); }
html[data-mode="desk"] .panel.fold .xd, html[data-mode="desk"] .panel.fold .x { display: none; }
html[data-mode="desk"] .panel .tap { min-height: 52px; }
.panel--sheet { position: static; opacity: 1; visibility: visible; }

/* ------------------------------------------------------------------ the tap pattern (phone) */
.tap { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; margin: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-align: left; cursor: pointer; }
.tap__chev { flex: none; display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border: 1px solid rgba(242, 238, 230, 0.45); border-radius: 50%; color: var(--chalk); transition: transform 160ms ease; }
.tap[aria-expanded="true"] .tap__chev { transform: rotate(180deg); }
html[data-mode="phone"] .x { display: none; }
.stage[data-mode="phone"]:not([data-intro="1"]) .panel .c0, .stage[data-mode="phone"][data-intro="1"] .panel .c1 { visibility: hidden; }
html[data-mode="phone"] .open > .x, html[data-mode="phone"] .open .x, html[data-mode="phone"] .panel--sheet .x, html[data-mode="phone"] .panel.fit .x { display: block; }

/* ------------------------------------------------------------------ sections */
.sec { position: relative; padding: 128px 0 120px; border-top: 1px solid var(--hair); background: var(--ground); }
.sec__in { padding: 0 var(--gut); }
.eyebrow { font: 600 15px/1.3 var(--sans); letter-spacing: 0.02em; color: var(--muted); margin-bottom: 14px; }
.sec__h { font-weight: 600; font-size: 56px; line-height: 1.04; letter-spacing: -0.014em; }
.sec__deck { margin-top: 18px; max-width: 780px; font-size: 20px; line-height: 1.5; }

/* the wall */
.wkey { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 40px; max-width: 1180px; }
.wkey li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--muted); }
.wkey__g { flex: none; margin-top: 2px; }
.chart { position: relative; margin-top: 56px; --past-w: 250px; --brk-w: 44px; }
.chart__top, .chart__bottom { position: relative; }
.chart__axis { position: relative; height: 30px; width: calc(100% - var(--past-w) - var(--brk-w)); }
.tick { position: absolute; top: 6px; transform: translateX(-50%); font: 500 14px/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.tick:first-child { transform: none; }
.chart__axis--top .tick { top: 0; }
.chart__axis--top .tick--line { transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 3px; top: -8px; }
.tick__line { font: 700 14px/1 var(--sans); color: var(--chalk); }
.tick__note { font: 400 14px/1 var(--serif); font-style: italic; color: var(--muted); }
.chart__body { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) var(--brk-w) var(--past-w); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.chart__rows { position: relative; grid-column: 1; padding: 10px 0; }
.chart__grid { position: absolute; left: 0; top: 0; bottom: 0; width: calc(100% - var(--past-w) - var(--brk-w)); pointer-events: none; }
.gl { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(242, 238, 230, 0.06); }
.gl--line { background: rgba(242, 238, 230, 0.42); }
.chart__break { grid-column: 2; position: relative; }
.chart__break svg { position: absolute; left: 50%; top: 0; height: 100%; transform: translateX(-50%); }
.chart__break-lab { display: none; }
.chart__past { grid-column: 3; padding: 18px 0 18px 14px; }
.past__title { font: 700 15px/1.3 var(--sans); }
.past__note { margin-top: 2px; font-style: italic; font-size: 14px; color: var(--muted); }
.past__rows { margin-top: 14px; display: grid; gap: 4px; }
.prow__btn { display: flex; gap: 12px; align-items: flex-start; width: 100%; min-height: 44px; padding: 6px 0; border: 0; background: none; color: inherit; text-align: left; cursor: default; }
.prow__g.g { position: relative; inset: auto; flex: none; width: 26px; height: 20px; }
.prow__g .g__mark, .prow__g .g__tick { left: 8px; }
.prow__g .g__chev { left: 8px; }
.prow__txt { display: grid; }
.prow__name { font: 600 14px/1.3 var(--sans); }
.prow__fig { font-size: 14px; line-height: 1.35; color: var(--muted); }
.prow__meta { display: none; }
.wrow { position: relative; }
.wrow__btn { display: block; position: relative; width: 100%; height: 26px; padding: 0; margin: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.wrow__track { position: absolute; inset: 0; }
.wrow__lab { position: absolute; top: 50%; transform: translateY(-50%); white-space: nowrap; font: 400 14px/1 var(--sans); color: var(--muted); transition: color 120ms ease; }
.wrow__name { font-weight: 600; color: rgba(242, 238, 230, 0.86); }
.wrow__btn:hover .wrow__lab, .wrow__btn:focus-visible .wrow__lab, .wrow.open .wrow__lab { color: var(--chalk); }
.wrow__btn:hover .wrow__name, .wrow.open .wrow__name { color: #fff; }
.wrow__btn:focus-visible { outline-offset: -2px; }
.wrow__det { display: none; }
.g { position: absolute; inset: 0; pointer-events: none; }
.g__mark { position: absolute; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--light); box-shadow: 0 0 8px rgba(255, 208, 128, 0.55); }
.g__tick { position: absolute; top: 50%; width: 5px; height: 16px; margin: -8px 0 0 -2.5px; border: 1.5px solid var(--light); border-radius: 2px; }
.g__band { position: absolute; top: 50%; height: 9px; margin-top: -4.5px; min-width: 7px; border-radius: 5px; background: rgba(255, 246, 220, 0.5); box-shadow: inset 0 0 0 1px rgba(255, 246, 220, 0.85); }
.g__band--second { background: repeating-linear-gradient(135deg, rgba(255, 246, 220, 0.22) 0 2px, transparent 2px 5px); box-shadow: inset 0 0 0 1px rgba(255, 246, 220, 0.6); }
.g__chev { position: absolute; top: 50%; height: 10px; margin: -5px 0 0 9px; color: var(--light); display: block; }
.g__chev svg { display: block; }
.g__chev--down { margin-left: -16px; transform: scaleX(-1); }
.wrow__btn:hover .g__mark, .wrow.open .g__mark { box-shadow: 0 0 14px rgba(255, 208, 128, 0.9); }
.chart__bottom { margin-top: 2px; }
.chart__bottom .tick { top: 8px; }
.chart__title { margin-top: 10px; font: 600 14px/1.3 var(--sans); color: var(--muted); }
.chart__card.held { border-color: rgba(242, 238, 230, 0.6); }
.chart__card { position: absolute; z-index: 10; width: max-content; max-width: 360px; padding: 12px 14px; background: rgba(17, 18, 20, 0.98); border: 1px solid rgba(242, 238, 230, 0.2); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); pointer-events: none; }
.card__name { font: 600 14px/1.35 var(--sans); }
.card__meta { margin-top: 4px; font: 14px/1.4 var(--sans); color: var(--muted); }
.card__note { margin-top: 6px; font-size: 14px; line-height: 1.45; }
.wall-zero { margin-top: 22px; }
.wall-zero a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 16px; }
.wall-notes { margin-top: 28px; display: grid; gap: 10px; max-width: 820px; font-size: 16px; line-height: 1.5; }
.units summary { list-style: none; }

/* then and now */
.ledger { width: 100%; margin-top: 44px; border-collapse: collapse; }
.ledger thead th { padding: 0 24px 12px 0; text-align: left; font: 600 14px/1.3 var(--sans); letter-spacing: 0.02em; color: var(--muted); border-bottom: 1px solid var(--hair-2); }
.lrow th, .lrow td { padding: 20px 24px 8px 0; vertical-align: top; text-align: left; border-top: 1px solid var(--hair); }
.lrow:first-child th, .lrow:first-child td { border-top: 0; }
.lrow__a { width: 21%; font: 700 17px/1.3 var(--sans); }
.lrow__then { width: 27%; font-size: 17px; line-height: 1.45; color: var(--muted); }
.lrow__now { width: 29%; font-size: 17px; line-height: 1.45; }
.lrow__by { font-size: 15px; line-height: 1.45; color: var(--muted); }
.lnote td { padding: 0 24px 20px 0; }
.lnote__t { font-size: 15px; line-height: 1.45; color: var(--muted); }
.tagw { font: 700 14px/1.3 var(--sans); letter-spacing: 0.01em; color: var(--chalk); }
.ledger-foot { margin-top: 24px; font-size: 15px; }

/* tiles */
.tiles--3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; margin-top: 52px; align-items: start; }
.tile { padding-top: 24px; border-top: 1px solid var(--hair-2); }
.tile p { margin-top: 10px; font-size: 16px; line-height: 1.5; }
.tile__num { display: flex; align-items: baseline; gap: 12px; margin-top: 0 !important; font-family: var(--sans); }
.tile__n { font-weight: 800; font-stretch: 75%; font-size: 104px; line-height: 0.86; color: var(--chalk); }
.tile__w { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--chalk); }
.tile__name { margin-top: 16px; font: 800 28px/1.1 var(--sans); }
.tile p.tile__place { margin-top: 6px; font-style: italic; font-size: 15px; color: var(--muted); }
.tile p.tile__date, .tile p.tile__kind { font: 600 14px/1.4 var(--sans); }
.tile p.tile__unknown { color: var(--muted); font-style: italic; }
.tile__moves { margin-top: 12px; }
.tile__moves p { margin-top: 2px; }
.tile__moves .tile__ml { margin-top: 0; font: 700 14px/1.3 var(--sans); }
.tile__fig { margin-top: 22px; }
.tile__fig img { width: 100%; height: auto; }
.tile__fig figcaption { margin-top: 10px; }
.tile__fig .cap { display: block; font-size: 14px; line-height: 1.45; }
.tile__fig .credit { display: block; margin-top: 4px; font: 14px/1.4 var(--sans); color: var(--muted); }
.pair { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; }
.pair .tile { margin-top: 36px; }
.pair .sec__deck { font-size: 18px; }
.blank { position: relative; margin-top: 20px; height: 164px; display: flex; align-items: center; justify-content: center;
  background:
    linear-gradient(var(--hair-2), var(--hair-2)) left top / 22px 1px no-repeat, linear-gradient(var(--hair-2), var(--hair-2)) left top / 1px 22px no-repeat,
    linear-gradient(var(--hair-2), var(--hair-2)) right top / 22px 1px no-repeat, linear-gradient(var(--hair-2), var(--hair-2)) right top / 1px 22px no-repeat,
    linear-gradient(var(--hair-2), var(--hair-2)) left bottom / 22px 1px no-repeat, linear-gradient(var(--hair-2), var(--hair-2)) left bottom / 1px 22px no-repeat,
    linear-gradient(var(--hair-2), var(--hair-2)) right bottom / 22px 1px no-repeat, linear-gradient(var(--hair-2), var(--hair-2)) right bottom / 1px 22px no-repeat; }
.blank__w { font: 600 15px/1 var(--sans); letter-spacing: 0.02em; color: var(--muted); }
.tile--monarch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr); column-gap: 32px; align-items: start; }
.tile--monarch > * { grid-column: 1; }
.tile--monarch > .tile__fig { grid-column: 2; grid-row: 1 / span 12; margin-top: 0; }

/* the rule */
.rule__statement { margin-top: 28px; max-width: 1000px; font-size: 32px; line-height: 1.36; letter-spacing: -0.006em; }
.rule__count { margin-top: 30px; font: 700 26px/1.2 var(--sans); }
.rule__split { margin-top: 8px; font-size: 18px; line-height: 1.5; color: var(--muted); }
.kinds__h { margin-top: 80px; font-weight: 600; font-size: 34px; line-height: 1.1; }
.kinds__lead { margin-top: 12px; font-size: 18px; line-height: 1.5; }
.kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; margin-top: 30px; }
.kind { padding: 16px 0 18px; border-top: 1px solid var(--hair); }
.kind > summary { display: flex; align-items: center; min-height: 44px; list-style: none; font: 700 16px/1.35 var(--sans); }
.kind { padding-top: 6px; }
.kind > summary::-webkit-details-marker { display: none; }
html[data-mode="desk"] .kind > summary { cursor: default; }
.kind p { margin-top: 6px; font-size: 16px; line-height: 1.5; color: var(--muted); }
.kinds__end { margin-top: 14px; font-size: 17px; line-height: 1.5; }
.kinds__end:first-of-type { margin-top: 32px; }

/* the letter */
.letter__what { margin-top: 26px; max-width: 900px; font-size: 28px; line-height: 1.4; }
.letter__status { margin-top: 18px; max-width: 760px; font-size: 18px; line-height: 1.5; color: var(--muted); }
.letter__sample { margin-top: 36px; max-width: 640px; padding: 22px 26px; border: 1px solid var(--hair-2); background: var(--ground-2); }
.letter__label { font: 14px/1.4 var(--sans); color: var(--muted); }
.letter__subject { margin-top: 8px; font: 700 21px/1.35 var(--sans); }
/* step 12: the letter's sign-up, on the home page and at the end of each animal's page (a plain form, no provider
   script; drawn disabled until the sign-up opens) */
.signup { margin-top: 28px; max-width: 640px; }
.letter .signup { margin-top: 30px; }
.signup__label { display: block; margin-bottom: 8px; font: 600 15px/1.3 var(--sans); letter-spacing: 0.01em; color: var(--chalk); }
.signup__row { display: flex; flex-wrap: wrap; gap: 10px; }
.signup__input { flex: 1 1 240px; min-width: 0; min-height: 48px; padding: 0 14px; border: 1px solid rgba(242, 238, 230, 0.62); border-radius: 2px; background: var(--ground-2); color: var(--chalk); font: 400 17px/1.2 var(--sans); }
.signup__input:focus-visible { outline: 2px solid var(--chalk); outline-offset: 2px; }
.signup__btn { min-height: 48px; padding: 0 22px; font-size: 16px; }
.signup__input:disabled, .signup__btn:disabled { opacity: 0.45; cursor: not-allowed; }
.signup__note { margin-top: 10px; font: 15px/1.45 var(--sans); color: var(--muted); }

/* footer */
.foot { padding: 80px 0 104px; border-top: 1px solid var(--hair); }
.foot__sentence { margin-top: 26px; max-width: 900px; font-size: 22px; line-height: 1.45; }
.foot__cols { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 72px; margin-top: 52px; }
.foot__h { font: 700 15px/1.3 var(--sans); letter-spacing: 0.01em; }
.foot__credits li { margin-top: 9px; font: 14px/1.5 var(--sans); color: var(--muted); }
.foot__cols p { margin-top: 9px; font: 14px/1.55 var(--sans); }
.foot__cols p.muted { color: var(--muted); }
.foot__map { margin-top: 22px !important; }

/* ------------------------------------------------------------------ phone */
html[data-mode="phone"] { scroll-padding-top: 104px; }
html[data-mode="phone"] .bar__row { height: 56px; padding: 6px var(--gut); gap: 8px; }
html[data-mode="phone"] .nav { display: none; }
html[data-mode="phone"] .brand__lockup { width: 168px; }
html[data-mode="phone"] .bar__humans { display: none; flex: 1 1 auto; min-width: 0; gap: 6px; }
html[data-mode="phone"] .bar[data-compact="true"] .bar__row { gap: 6px; }

html[data-mode="phone"] .bar[data-compact="true"] .bar__humans { display: flex; }
html[data-mode="phone"] .bar[data-compact="true"] .brand__lockup { display: none; }
html[data-mode="phone"] .bar[data-compact="true"] .brand__small { display: block; }
html[data-mode="phone"] .bar[data-compact="true"] .brand { gap: 0; min-width: 44px; justify-content: flex-start; }
html[data-mode="phone"] .bar__label { flex: none; font-size: 14px; white-space: nowrap; color: var(--chalk); }
html[data-mode="phone"] .bar__fig { flex: 1 1 auto; min-width: 0; font-size: 19px; }
html[data-mode="phone"] .btn { min-width: 52px; padding: 0 9px; }
html[data-mode="phone"] .menu-btn { display: inline-block; margin-left: auto; }
html[data-mode="phone"] .bar[data-compact="true"] .menu-btn { margin-left: 0; }
html[data-mode="phone"] .bar__credit { position: static; max-height: 0; overflow: hidden; padding: 0 var(--gut); white-space: normal; transition: opacity 240ms ease; }
html[data-mode="phone"] .bar[data-compact="true"] .bar__credit { max-height: 60px; padding: 0 var(--gut) 7px; }
html[data-mode="phone"] .menu:not([hidden]) { display: block; position: absolute; left: 0; right: 0; top: 100%; background: rgba(11, 12, 14, 0.98); border-bottom: 1px solid var(--hair-2); }
html[data-mode="phone"] .menu a { display: flex; align-items: center; min-height: 48px; padding: 0 var(--gut); border-top: 1px solid var(--hair); font: 600 16px/1 var(--sans); text-decoration: none; }

.stage[data-mode="phone"] { background: radial-gradient(560px 640px at 50% 82%, #111214 0%, #0D0E10 60%, #0B0C0E 100%); }
.stage[data-mode="phone"] .hero { left: var(--gut); right: var(--gut); top: calc(var(--bar-h, 56px) + 10px); display: flex; flex-direction: column; will-change: opacity; }
.stage[data-mode="phone"] .tagline, .stage[data-mode="phone"] .deck, .stage[data-mode="phone"] .count { display: none; }
.stage[data-mode="phone"] .hero::before { content: ""; position: absolute; z-index: -1; left: calc(-1 * var(--gut)); right: calc(-1 * var(--gut)); top: -12px; bottom: -14px; background: linear-gradient(180deg, rgba(11, 12, 14, 0.94) 0, rgba(11, 12, 14, 0.9) 72%, rgba(11, 12, 14, 0)); pointer-events: none; }
.stage[data-mode="phone"] .hb { order: 1; }
.stage[data-mode="phone"] .headline { order: 2; margin-top: 16px; font-size: calc(35px * var(--k)); line-height: 1.02; letter-spacing: -0.02em; white-space: nowrap; }
.stage[data-mode="phone"] .headline br { display: none; }
.stage[data-mode="phone"] .hb__top { font-size: 14px; }
.stage[data-mode="phone"] .hb__row { margin-top: 4px; justify-content: space-between; gap: 10px; }
.stage[data-mode="phone"] .hb__fig { font-size: calc(46px * var(--k)); }
.stage[data-mode="phone"] .hb__body { margin-top: 4px; display: grid; grid-template-columns: minmax(0, 1fr) 44px; column-gap: 8px; align-items: center; }
.stage[data-mode="phone"] .hb__rate { grid-column: 1; font-size: 15px; }
.stage[data-mode="phone"] .hb__more { grid-column: 2; grid-row: 1; margin: -12px -8px -12px 0; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: radial-gradient(circle at center, transparent 13.5px, rgba(242, 238, 230, 0.5) 14px, rgba(242, 238, 230, 0.5) 15px, transparent 15.5px); color: var(--chalk); cursor: pointer; transition: transform 160ms ease; }
.stage[data-mode="phone"] .hb.open .hb__more { transform: rotate(180deg); }
.stage[data-mode="phone"] .hb__c1 { grid-column: 1 / -1; margin-top: 2px; font-size: 15px; line-height: 1.35; }
.stage[data-mode="phone"] .hb__credit { grid-column: 1 / -1; margin-top: 6px; font-size: 14px; }
.stage[data-mode="phone"] .hb__x { display: none; }
.stage[data-mode="phone"] .hb.open .hb__x { display: block; position: absolute; z-index: 9; left: calc(-1 * var(--gut)); right: calc(-1 * var(--gut)); top: 100%; padding: 6px var(--gut) 16px; background: rgba(11, 12, 14, 0.98); border-bottom: 1px solid var(--hair-2); }
.stage[data-mode="phone"] .hb__c2 { margin-top: 8px; font-size: 15px; line-height: 1.4; }
.stage[data-mode="phone"] .hb__m { font-size: 14px; }
.stage[data-mode="phone"] .lens { box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 28px rgba(214, 218, 224, 0.12); }
.stage[data-mode="phone"] .lens__inner { box-shadow: inset 0 0 44px rgba(0, 0, 0, 0.45); }
.stage[data-mode="phone"] .cut { filter: drop-shadow(0 8px 13px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 1px rgba(255, 255, 255, 0.35)); }
.stage[data-mode="phone"] .panels { left: var(--gut); right: var(--gut); top: var(--panel-top); }
.stage[data-mode="phone"] .panels::before { content: ""; position: absolute; left: calc(-1 * var(--gut)); right: calc(-1 * var(--gut)); top: -14px; height: 200vh; background: linear-gradient(180deg, rgba(11, 12, 14, 0), rgba(11, 12, 14, 0.9) 22px, rgba(11, 12, 14, 0.94)); pointer-events: none; }
.stage[data-mode="phone"] .panel { right: 0; }
.stage[data-mode="phone"] .p-tag { font-size: 14px; margin-bottom: 2px; }
.stage[data-mode="phone"] .p-name { font-size: 26px; line-height: 28px; }
.stage[data-mode="phone"] .p-name .tap { min-height: 44px; margin: -8px 0; gap: 8px; }
.stage[data-mode="phone"] .p-name .tap__chev { width: 24px; height: 24px; }
.stage[data-mode="phone"] .p-place { margin-top: 2px; font-size: 14px; }
.stage[data-mode="phone"] .panel.inline-place .p-name { display: inline; }
.stage[data-mode="phone"] .panel.inline-place .p-place { display: inline; margin: 0 0 0 10px; }
.stage[data-mode="phone"].short .hb__fig { font-size: calc(40px * var(--k)); }
.stage[data-mode="phone"].short .headline { margin-top: 12px; font-size: calc(31px * var(--k)); }
.stage[data-mode="phone"].short .hb__credit { margin-top: 4px; }
.stage[data-mode="phone"] .p-caption { margin-bottom: 8px; font-style: italic; font-size: 14px; line-height: 1.35; color: var(--chalk); }
.stage[data-mode="phone"] .p-counted ~ .p-caption { margin-top: 10px; }
.stage[data-mode="phone"] .p-moves { margin-top: 8px; }
.stage[data-mode="phone"] .p-moves__l { font-size: 14px; }
.stage[data-mode="phone"] .p-moves__t, .stage[data-mode="phone"] .p-captive, .stage[data-mode="phone"] .p-unknown, .stage[data-mode="phone"] .p-rule { margin-top: 3px; font-size: 14px; line-height: 1.32; }
.stage[data-mode="phone"] .p-kind { margin-top: 8px; font-size: 14px; }
.stage[data-mode="phone"] .p-line, .stage[data-mode="phone"] .p-counted, .stage[data-mode="phone"] .p-then, .stage[data-mode="phone"] .p-now, .stage[data-mode="phone"] .p-trend { margin-top: 3px; font-size: 14px; line-height: 1.32; }
.stage[data-mode="phone"] .p-pair { margin-top: 8px; padding: 6px 0 7px; }
.stage[data-mode="phone"] .p-pair__t { font-size: 14px; }
.stage[data-mode="phone"] .p-since { margin-top: 8px; font-size: 14px; line-height: 1.35; }
.stage[data-mode="phone"] .p-fold { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--hair); }
.p-fold__deck { font-size: 15px; line-height: 1.42; }
.p-fold__count { margin-top: 6px; font: 700 19px/1.25 var(--sans); }
.p-fold__key { margin-top: 8px; display: grid; gap: 4px; }
.p-fold__key li { font-size: 14px; line-height: 1.35; }
.stage[data-mode="phone"] .panel--sheet .p-name { display: block; }
.stage[data-mode="phone"] .panel--sheet .p-place { display: block; margin: 4px 0 0; }
.stage[data-mode="phone"] .panel--sheet .p-moves { margin-top: 12px; }
.stage[data-mode="phone"] .panel--sheet p { font-size: 15px; }
.stage[data-mode="phone"] .dock { left: 0; right: 0; bottom: 0; padding: 4px var(--gut) 4px; background: var(--ground); border-top: 1px solid var(--hair); }
.stage[data-mode="phone"] .dock__credits { display: none; }
.stage[data-mode="phone"] .dock__row { margin-top: 0; }
.stage[data-mode="phone"] .cue { flex: 1 1 auto; min-width: 0; font-size: 14px; gap: 10px; }
.stage[data-mode="phone"] .cue__ring { width: 34px; height: 34px; }
.stage[data-mode="phone"] .credits-btn { display: inline-block; }
.stage[data-mode="phone"] > .key { display: none; }

html[data-mode="phone"] .sec { padding: 72px 0 64px; }
html[data-mode="phone"] .sec__h { font-size: 34px; line-height: 1.08; }
html[data-mode="phone"] .sec__deck { margin-top: 12px; font-size: 16px; }
html[data-mode="phone"] .wkey-phone { margin-top: 16px; font-size: 14px; line-height: 1.45; color: var(--muted); }
html[data-mode="phone"] .units { margin-top: 14px; }
html[data-mode="phone"] .units summary { display: flex; align-items: center; min-height: 44px; font: 600 14px/1.3 var(--sans); cursor: pointer; }
html[data-mode="phone"] .units summary::after { content: ""; width: 7px; height: 7px; margin-left: 10px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-2px) rotate(45deg); }
html[data-mode="phone"] .units p { font-size: 14px; line-height: 1.45; color: var(--muted); }
html[data-mode="phone"] .chart { margin-top: 18px; --past-w: 0px; --brk-w: 0px; }
html[data-mode="phone"] .chart__top { position: sticky; top: calc(var(--bar-c, 92px) - 1px); z-index: 3; padding: 10px 0 4px; background: var(--ground); }
html[data-mode="phone"] .chart__axis { width: 100%; height: 16px; }
html[data-mode="phone"] .chart__axis--top .tick, html[data-mode="phone"] .chart__axis--top .tick--line { top: 0; }
html[data-mode="phone"] .tick:last-child { transform: translateX(-100%); }
html[data-mode="phone"] .chart__axis--top .tick--line { align-items: flex-end; transform: translateX(-100%); }
html[data-mode="phone"] .tick__line { font: 500 14px/1 var(--sans); color: var(--chalk); }
html[data-mode="phone"] .chart__body { display: block; border: 0; }
html[data-mode="phone"] .chart__grid, html[data-mode="phone"] .chart__break, html[data-mode="phone"] .chart__bottom { display: none; }
html[data-mode="phone"] .chart__rows { padding: 0; }
html[data-mode="phone"] .wrow { border-top: 1px solid var(--hair); }
html[data-mode="phone"] .wrow__btn { height: auto; min-height: 52px; padding: 9px 0 10px; }
html[data-mode="phone"] .wrow__lab { position: static; display: block; transform: none; white-space: normal; font-size: 14px; line-height: 1.3; }
html[data-mode="phone"] .wrow__track { position: relative; display: block; height: 16px; margin-top: 6px;
  background:
    linear-gradient(rgba(242, 238, 230, 0.16), rgba(242, 238, 230, 0.16)) 0 50% / 100% 1px no-repeat,
    linear-gradient(rgba(242, 238, 230, 0.16), rgba(242, 238, 230, 0.16)) 25% 0 / 1px 100% no-repeat,
    linear-gradient(rgba(242, 238, 230, 0.16), rgba(242, 238, 230, 0.16)) 50% 0 / 1px 100% no-repeat,
    linear-gradient(rgba(242, 238, 230, 0.16), rgba(242, 238, 230, 0.16)) 75% 0 / 1px 100% no-repeat,
    linear-gradient(rgba(242, 238, 230, 0.55), rgba(242, 238, 230, 0.55)) 100% 0 / 1px 100% no-repeat; }
html[data-mode="phone"] .wrow.open .wrow__det { display: block; padding: 0 0 12px; }
html[data-mode="phone"] .g__band--second { margin-top: 3px; height: 7px; }
html[data-mode="phone"] .wrow__meta { font: 14px/1.4 var(--sans); color: var(--muted); }
html[data-mode="phone"] .wrow__note { margin-top: 4px; font-size: 14px; line-height: 1.45; }
html[data-mode="phone"] .chart__past { padding: 24px 0 0; border-top: 1px solid var(--hair-2); }
html[data-mode="phone"] .chart__break-lab { display: none; }
html[data-mode="phone"] .past__rows { gap: 0; }
html[data-mode="phone"] .prow { border-top: 1px solid var(--hair); }
html[data-mode="phone"] .prow__btn { padding: 10px 0; }
html[data-mode="phone"] .prow__meta { display: block; margin-top: 2px; font: 14px/1.4 var(--sans); color: var(--muted); }
html[data-mode="phone"] .chart__card { display: none; }
html[data-mode="phone"] .wall-zero a { font-size: 15px; }
html[data-mode="phone"] .wall-notes { font-size: 15px; }
html[data-mode="phone"] .ledger-cards { margin-top: 20px; }
html[data-mode="phone"] .lcard { padding: 14px 0 16px; border-top: 1px solid var(--hair); }
html[data-mode="phone"] .lcard.later { display: none; }
html[data-mode="phone"] .ledger-cards.all .lcard.later { display: block; }
html[data-mode="phone"] .lcard__a { font: 700 18px/1.25 var(--sans); }
html[data-mode="phone"] .lcard__then { margin-top: 4px; font-size: 15px; line-height: 1.42; color: var(--muted); }
html[data-mode="phone"] .lcard__now { margin-top: 4px; font-size: 15px; line-height: 1.42; }
html[data-mode="phone"] .lcard__tag { margin-top: 6px; font: 700 14px/1.3 var(--sans); }
html[data-mode="phone"] .lcard__by, html[data-mode="phone"] .lcard__note { margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--muted); }
html[data-mode="phone"] .more-pairs { margin-top: 12px; }
html[data-mode="phone"] .tiles--3 { grid-template-columns: minmax(0, 1fr); gap: 36px; margin-top: 32px; }
html[data-mode="phone"] .tile__n { font-size: 84px; }
html[data-mode="phone"] .tile__name { font-size: 24px; }
html[data-mode="phone"] .tile p { font-size: 15px; }
html[data-mode="phone"] .pair { grid-template-columns: minmax(0, 1fr); gap: 72px; }
html[data-mode="phone"] .tile--monarch { display: block; }
html[data-mode="phone"] .tile--monarch > .tile__fig { margin-top: 20px; }
html[data-mode="phone"] .rule__statement { font-size: 22px; line-height: 1.4; }
html[data-mode="phone"] .rule__count { font-size: 22px; }
html[data-mode="phone"] .rule__split { font-size: 16px; }
html[data-mode="phone"] .kinds__h { margin-top: 52px; font-size: 26px; }
html[data-mode="phone"] .kinds__lead { font-size: 16px; }
html[data-mode="phone"] .kinds { grid-template-columns: minmax(0, 1fr); margin-top: 18px; }
html[data-mode="phone"] .kind { padding: 0; }
html[data-mode="phone"] .kind > summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; cursor: pointer; }
html[data-mode="phone"] .kind > summary::after { content: ""; flex: none; width: 7px; height: 7px; margin: 0 6px 4px 12px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); transition: transform 160ms ease; }
html[data-mode="phone"] .kind[open] > summary::after { transform: translateY(4px) rotate(225deg); }
html[data-mode="phone"] .kind p { margin: 0 0 16px; font-size: 15px; }
html[data-mode="phone"] .kinds__end { font-size: 15px; }
html[data-mode="phone"] .letter__what { font-size: 21px; }
html[data-mode="phone"] .letter__status { font-size: 16px; }
html[data-mode="phone"] .letter__sample { padding: 16px 18px; }
html[data-mode="phone"] .letter__subject { font-size: 18px; }
html[data-mode="phone"] .foot { padding: 56px 0 72px; }
html[data-mode="phone"] .foot__sentence { font-size: 18px; }
html[data-mode="phone"] .foot__cols { grid-template-columns: minmax(0, 1fr); gap: 36px; margin-top: 32px; }

@media (prefers-reduced-motion: reduce) {
  .num, .lens__img, .cut, .panel, .credit-set, .key, .cap0 { transition-duration: 200ms !important; }
  .lens__sheen.run { animation: none; }
  .cue__ring, .cue__ring svg, .tap__chev, .hb__more { transition: none; }
  .cue:hover .cue__ring svg { transform: none; }
  .lens__photos, .cuts, .ring__hl { transition: none; }
}


/* ------------------------------------------------------------------ the flat layout: a plain stacked scroll */
/* Short landscape windows and phones held sideways: the hero beside the first animal (its numeral and lens
   over a still picture of the Earth with its lights), then one block per animal in the page's flow. The page
   below reads as it does on a phone. */
.flat[hidden], .journey[hidden] { display: none; }
.flat { padding: calc(var(--bar-h, 56px) + 22px) 0 8px; background: var(--ground); overflow-x: clip; }
.flat__in { padding: 0 var(--gut); }
.flat .hero { position: static; width: auto; max-width: 700px; }
.flat .tagline { font-size: 16px; }
.flat .headline { margin-top: 0.26em; font-size: clamp(36px, min(6vw, 10vh), 60px); line-height: 1; }
.flat .deck { margin-top: 14px; max-width: 640px; font-size: 18px; }
.flat .count { margin-top: 6px; }
.flat .count__n { font-size: 20px; }
.flat .count__link { font-size: 15px; }
.flat .hb { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--hair-2); max-width: 640px; }
.flat .hb__top { font-size: 14px; }
.flat .hb__row { margin-top: 4px; }
.flat .hb__fig { font-size: clamp(40px, min(7vw, 11vh), 64px); }
.flat .hb__body { margin-top: 8px; }
.flat .hb__rate { font-size: 16px; }
.flat .hb__c1, .flat .hb__c2 { font-size: 17px; margin-top: 6px; }
.flat .hb__c2 { margin-top: 0; }
.flat .hb__m { font-size: 14px; }
.flat .hb__credit { font-size: 14px; }
.flat .hb__x { display: block; }
.flat .hb__more { display: none !important; }
.flat__top { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
.flat--two .flat__top { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); column-gap: 32px; align-items: start; }
.flat__scene { position: relative; overflow: hidden; }
.flat__scene .fglobe { position: absolute; inset: 0; margin: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 56px, #000 calc(100% - 24px), transparent 100%), linear-gradient(180deg, transparent 0, #000 40px, #000 calc(100% - 48px), transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 56px, #000 calc(100% - 24px), transparent 100%), linear-gradient(180deg, transparent 0, #000 40px, #000 calc(100% - 48px), transparent 100%); mask-composite: intersect; }
.flat--tight .hero .tagline { display: none; }
.flat--tight .hero .headline { margin-top: 0; }
.flat--tighter .hero .deck { display: none; }
.flat--tighter .hero .deck-phone { display: block; margin-top: 14px; max-width: 640px; font-size: 18px; line-height: 1.5; }
.flat__num { position: absolute; z-index: 2; pointer-events: none; }
.flat__lens { position: absolute; z-index: 2; }
.fglobe { position: relative; overflow: hidden; }
.fglobe .earth { position: absolute; left: 0; top: 0; }
.fglobe .lights { z-index: 1; }
.fglobe .lab { z-index: 4; }
.fglobe .taplist { z-index: 5; }
.fglobe__key .key { position: static; display: grid; gap: 6px; margin-top: 26px; opacity: 1; visibility: visible; transition: none; }
.fstop { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 22px; padding: 44px 0; border-top: 1px solid var(--hair); }
.fglobe__key + .fstop { margin-top: 30px; }
.fstop--first { display: block; }
.fstop--first .fstop__body { max-width: 680px; }
.flat--two .fstop { grid-template-columns: minmax(0, 0.56fr) minmax(0, 0.44fr); column-gap: 48px; align-items: start; }
.flat--two .fstop__fig { order: 2; }
.fstop__fig { display: flex; flex-direction: column; align-items: center; }
.fnum { margin: 0; font-family: var(--sans); font-weight: 800; font-stretch: 75%; font-size: clamp(64px, 9vw, 96px); line-height: 1; letter-spacing: 0; white-space: nowrap; color: var(--chalk); font-variant-numeric: lining-nums proportional-nums; }
.fstop__photo { margin-top: 22px; }
.fph { position: relative; flex: none; }
.fph__lens { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: var(--ground); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 28px rgba(214, 218, 224, 0.12); }
.fph__img { position: absolute; max-width: none; }
.fph__inner { position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 44px rgba(0, 0, 0, 0.45); pointer-events: none; }
.fph__ring { position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1.25px rgba(255, 255, 255, 0.85); pointer-events: none; }
/* The glass ring's outer hairline, 9.5 px out, as the scene's ring draws it. */
.fph__ring::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(242, 238, 230, 0.16); }
.fph__cut { position: absolute; pointer-events: none; filter: drop-shadow(0 8px 13px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 1px rgba(255, 255, 255, 0.35)); }
.fstop .panel { position: static; width: auto; opacity: 1; visibility: visible; transition: none; }
html[data-flat] .fstop .panel .x { display: block; }
html[data-flat] .fstop .p-fold { display: none; }
.fstop .p-caption { margin-bottom: 10px; font-style: italic; font-size: 16px; line-height: 1.4; }
.fstop .p-name { font-size: clamp(30px, 4.2vw, 44px); }
.fstop .p-moves { margin-top: 14px; }
.fstop__credit { margin-top: 18px; }
.fstop__credit p { margin-top: 4px; font: 14px/1.4 var(--sans); color: var(--muted); }
.fstop__credit .fstop__place { font-family: var(--serif); font-style: italic; }


/* ------------------------------------------------------------------ step 11 additions (site/build.py) */
/* Each record's way to its own page (P-2D87PG 2A): the journey's record and first-screen caption, an open wall
   row, then and now, every tile. */
.p-link { margin-top: calc(8px * var(--k)); font: 600 max(14px, calc(15px * var(--k)))/1.3 var(--sans); }
.p-link a, .tile__link a, .wrow__link a { display: inline-flex; align-items: center; min-height: 44px; color: var(--chalk); text-underline-offset: 3px; }
.cap0 .p-link { margin-top: 2px; }
.stage[data-mode="phone"] .p-link { margin-top: 0; font-size: 14px; }
.tile p.tile__link { margin-top: 6px; font: 600 15px/1.3 var(--sans); }
.wrow__link { font: 600 14px/1.3 var(--sans); }
html[data-mode="desk"] .wrow.open .wrow__det, html[data-mode="desk"] .prow.open .wrow__det { display: block; padding: 0 0 4px; }
html[data-mode="desk"] .wrow.open .wrow__det > :not(.wrow__link), html[data-mode="desk"] .prow.open .wrow__det > :not(.wrow__link) { display: none; }
html[data-mode="desk"] .prow.open .wrow__det { padding-left: 38px; }
html[data-mode="phone"] .prow.open .wrow__det { display: block; padding: 0 0 12px; }
.lrow__a a { color: inherit; text-decoration-color: rgba(242, 238, 230, 0.4); }
.tile__n--long { font-size: 72px; }
html[data-mode="phone"] .tile__n--long { font-size: 56px; }
.foot__site { display: grid; margin-top: 4px; }
.foot__site a { display: inline-flex; align-items: center; min-height: 44px; font: 600 15px/1.3 var(--sans); }
.foot__cols > div > .foot__h--site:not(:first-child) { margin-top: 32px; }
.foot__cols p.foot__ind { margin-top: 10px; }
.kinds__end a { display: inline-flex; align-items: center; min-height: 44px; font: 600 16px/1.3 var(--sans); }
/* Fix lane, 2026-11-13 (designer 3): on a phone the counted-back-up line sits directly under the first numeral, as
   on desktop; the record's own copy of it (its caption) is then not repeated under the lens. */
.stage[data-mode="phone"] .nline { text-align: center; font-size: 15px; line-height: 1.35; }
.stage[data-mode="phone"] .nline::before { left: -12px; right: -12px; top: -8px; bottom: -8px; }
.stage[data-mode="phone"].line-under .p-caption--line { display: none; }
.stage[data-mode="phone"]:not(.line-under) .nline { display: none; }
