/* Rotairo, build C. Every value comes from tokens.css. Markup is final: with JS off or reduced
   motion on, every section reads complete; motion only ever starts from a state the scripts set. */
@property --depth { syntax: "<number>"; inherits: false; initial-value: 0; }
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation-duration: var(--dur-page); animation-timing-function: var(--ease-ui); }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--ground); }
html.is-shifting body { transition: background-color .8s var(--ease-ui); }
body { background: var(--ground); color: var(--ink); font-family: var(--text); font-size: var(--t-15); line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
html.is-sheet body { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
code, pre { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--margin); top: -60px; z-index: 50; background: var(--accent); color: var(--accent-ink); padding: 12px 16px; border-radius: var(--r-control); font: 500 var(--t-12)/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sheet-ground :focus-visible { outline-color: var(--accent-deep); }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--margin)); margin: 0 auto; padding: 0 var(--margin); }
.label { font: 500 var(--t-12)/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.sheet-ground .label { color: var(--ink-s3); }
.h2 { font-family: var(--display); font-weight: var(--display-w); font-size: var(--t-h2); line-height: 1.02; letter-spacing: var(--track-display); }
.h2 .second { color: var(--ink-3); }
.sheet-ground .h2 .second { color: var(--ink-s3); }
.h3 { font-family: var(--display); font-weight: 400; font-size: var(--t-21); line-height: 1.2; letter-spacing: -0.015em; }
.lede { font-size: var(--t-17); line-height: 1.5; color: var(--ink-2); max-width: 58ch; }
.sheet-ground .lede { color: var(--ink-s2); }
.lede + .lede { margin-top: 16px; }

/* buttons: 7px boxes, mono caps, one accent door per screen */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px; border-radius: var(--r-control); font: 500 var(--t-12)/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; white-space: nowrap; border: 1px solid transparent; cursor: pointer; transition: background-color var(--dur-ui) var(--ease-ui), color var(--dur-ui) var(--ease-ui), border-color var(--dur-ui) var(--ease-ui), transform var(--dur-ui) var(--ease-ui); }
.btn .arr { font-family: var(--text); font-size: 14px; transition: transform var(--dur-ui) var(--ease-ui); }
.btn:hover .arr { transform: translateX(3px); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--accent-2); }
.btn--ghost { background: var(--ghost); color: var(--ghost-ink); }
.btn--ghost:hover { background: #fff; }
.btn--line { background: var(--pill); border-color: var(--line); color: var(--ink); -webkit-backdrop-filter: blur(17.5px); backdrop-filter: blur(17.5px); }
.btn--line:hover { border-color: var(--line-strong); }
.sheet-ground .btn--line { background: transparent; border-color: var(--line-s); color: var(--ink-s); -webkit-backdrop-filter: none; backdrop-filter: none; }
.sheet-ground .btn--line:hover { border-color: var(--ink-s3); }
.sheet-ground .btn--dark { background: var(--ink-s); color: var(--sheet); }
.sheet-ground .btn--dark:hover { background: #1c2650; }
.btn:disabled { opacity: .35; cursor: default; }

/* ── header: logo left, the pill, two doors ─────────────────────────────────────────────── */
.top { position: fixed; z-index: 30; top: 14px; left: var(--margin); right: var(--margin); display: flex; align-items: center; justify-content: space-between; gap: 16px; transition: transform .45s var(--ease-ui), opacity .45s var(--ease-ui); pointer-events: none; }
.top > * { pointer-events: auto; }
.top.is-docked .doors-top { transform: translateY(-90px); opacity: 0; pointer-events: none; }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 500 var(--t-21)/1 var(--display); letter-spacing: -0.01em; color: var(--ink); text-decoration: none; padding: 0 12px 0 4px; border-radius: var(--r-control); transition: background-color var(--dur-ui) var(--ease-ui); }
.top.is-docked .logo, .top.on-sheet .logo { background: var(--pill); -webkit-backdrop-filter: blur(17.5px); backdrop-filter: blur(17.5px); padding: 0 14px; }
.logo svg { width: 22px; height: 22px; }
.right-top { display: flex; align-items: center; gap: 14px; }
.pill { display: flex; align-items: center; height: 54px; padding: 0 8px; border-radius: var(--r-control); background: var(--pill); border: 1px solid var(--line); -webkit-backdrop-filter: blur(17.5px); backdrop-filter: blur(17.5px); }
.pill > ul { display: flex; list-style: none; }
.pill a, .pill button.m { display: flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border-radius: 5px; font: 500 var(--t-12)/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; transition: background-color var(--dur-ui) var(--ease-ui); }
.pill a:hover, .pill button.m:hover, .menu.is-open > button.m { background: var(--hover); }
.pill .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); transition: transform var(--dur-ui) var(--ease-ui); }
.menu.is-open .dot { transform: scale(1.6); }
.pill a[aria-current="page"]::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.menu { position: relative; }
.panel-m { position: absolute; top: calc(100% + 12px); left: -8px; min-width: 300px; padding: 10px; border-radius: var(--r-card); background: var(--glass-catch); border: 1px solid var(--line); -webkit-backdrop-filter: blur(45px); backdrop-filter: blur(45px); box-shadow: 0 20px 60px var(--shadow-panel); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity var(--dur-ui) var(--ease-ui), transform var(--dur-ui) var(--ease-ui), visibility 0s linear var(--dur-ui); }
.panel-m::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.menu.is-open .panel-m { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.panel-m a { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 16px; padding: 12px; min-height: 44px; border-radius: 9px; text-transform: none; letter-spacing: 0; font: 400 var(--t-15)/1.25 var(--text); }
.panel-m a small { grid-column: 1; font-size: var(--t-13); color: var(--ink-3); }
.panel-m a .n { grid-row: 1; grid-column: 2; font: 500 var(--t-11)/1 var(--mono); color: var(--ink-3); letter-spacing: .06em; }
.panel-m a:hover { background: var(--hover); }
.pill button.open-sheet { display: none; }
.doors-top { display: flex; gap: 8px; transition: transform .45s var(--ease-ui), opacity .45s var(--ease-ui); }
.doors-top .btn { height: 54px; }
.sheet-menu { position: fixed; inset: 0; z-index: 40; background: var(--ground-bot); color: var(--ink); padding: 88px var(--margin) 40px; overflow: auto; }
.sheet-menu[hidden] { display: none; }
.sheet-menu h2 { font: 500 var(--t-11)/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 28px 0 6px; }
.sheet-menu a { display: flex; align-items: center; min-height: 48px; font-size: var(--t-21); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.sheet-menu .close { position: absolute; top: 14px; right: var(--margin); min-height: 46px; padding: 0 16px; border-radius: var(--r-control); border: 1px solid var(--line); background: var(--pill); font: 500 var(--t-12)/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.sheet-menu .btn { margin-top: 24px; width: 100%; justify-content: space-between; border-bottom: 0; font-size: var(--t-12); }

/* the chapter pill: names the chapter in view, bottom centre */
.chapter-pill { position: fixed; z-index: 25; left: 50%; bottom: 20px; display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 16px 0 12px; border-radius: 999px; background: var(--pill); border: 1px solid var(--line); color: var(--ink); -webkit-backdrop-filter: blur(17.5px); backdrop-filter: blur(17.5px); font: 500 var(--t-11)/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; transform: translate(-50%, 70px); opacity: 0; transition: transform .45s var(--ease-ui), opacity .45s var(--ease-ui), background-color .45s var(--ease-ui), color .45s var(--ease-ui); pointer-events: none; }
.chapter-pill.is-shown { transform: translate(-50%, 0); opacity: 1; }
.chapter-pill[data-tone="light"] { background: var(--glass-catch); color: var(--ink); }
.chapter-pill [data-chapter-num] { color: var(--accent); }
.chapter-pill.is-swap [data-chapter-label] { animation: pill-swap .32s var(--ease-out); }
@keyframes pill-swap { from { opacity: 0; transform: translateY(6px); } }
.chapter-pill [data-chapter-label] { display: inline-block; }

/* ── 1 · hero ─────────────────────────────────────────────────────────────────────────── */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 760px; overflow: hidden; background: linear-gradient(180deg, var(--ground-top) 0%, var(--ground-mid) 52%, var(--ground-bot) 100%); }
.hero__poster { position: absolute; inset: 0; background-image: image-set(url("/img/hero-2560.webp") type("image/webp"), url("/img/hero-2560.jpg") type("image/jpeg")); background-size: auto 104%; background-position: calc(100% + 330px) 30%; background-repeat: no-repeat; transition: opacity .8s var(--ease-ui); }
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .8s var(--ease-ui); }
.hero.is-gl .hero__gl { opacity: 1; }
/* the poster stays lit under the opaque canvas, so a frame the canvas drops shows the same picture */
.hero h1 { position: absolute; z-index: 4; left: var(--margin); bottom: 64px; width: 680px; font-family: var(--display); font-weight: var(--display-w); font-size: var(--t-86); line-height: .98; letter-spacing: var(--track-display); }
.grad { background: var(--gradient-word); -webkit-background-clip: text; background-clip: text; color: transparent; }
.glass { border-radius: var(--r-card); background: var(--glass); border: 1px solid var(--line); -webkit-backdrop-filter: blur(45px); backdrop-filter: blur(45px); box-shadow: inset 0 1px 0 var(--glass-catch), 0 30px 60px -30px rgba(0, 0, 0, .35); }
.hero__card { position: absolute; z-index: 4; left: calc(50% + 240px); width: 440px; top: 128px; padding: 20px 22px 18px; }
.hero__right { position: absolute; z-index: 4; left: calc(50% + 240px); width: 440px; bottom: 64px; display: flex; flex-direction: column; gap: 20px; padding: 22px; }
.hero__right .sub { font-size: var(--t-17); line-height: 1.45; color: var(--ink-2); }
.hero__right .doors { display: flex; gap: 10px; }
.hero__right .doors .btn { flex: none; }
.card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font: 500 var(--t-11)/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.card-task { font-size: var(--t-17); line-height: 1.3; font-weight: 500; margin: 10px 0 14px; }
.steps { list-style: none; border-top: 1px solid var(--line); }
.steps > li { position: relative; }
.steps [data-lc-wire] { position: absolute; left: 4px; top: -9px; width: 1px; height: 18px; background: var(--accent); opacity: .7; }
.steps > li:first-child [data-lc-wire] { display: none; }
.steps [data-lc-block] { display: grid; grid-template-columns: 22px 54px 1fr auto; gap: 8px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: var(--t-13); color: var(--ink-2); }
.steps .n, .steps .h { font: 400 var(--t-11)/1.3 var(--mono); color: var(--ink-3); }
.steps .k { font: 500 var(--t-11)/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.steps .h { display: inline-flex; align-items: center; gap: 6px; }
.steps .h::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.steps code { font-family: var(--text); font-size: inherit; }
.steps .verdict [data-lc-block] { display: flex; justify-content: space-between; align-items: center; border-bottom: 0; padding: 14px 0 0; }
.verdict-mark { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: var(--t-15); color: var(--accent); }
.verdict-mark::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(18, 227, 165, .22); }
.verdict-key { font: 400 var(--t-11)/1 var(--mono); color: var(--ink-3); }
.card-link { display: inline-block; margin-top: 12px; font: 500 var(--t-11)/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); text-decoration: none; }
.card-link:hover { color: var(--ink); }
.cue { position: absolute; z-index: 4; left: 50%; bottom: 22px; transform: translateX(-50%); font: 500 var(--t-11)/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

/* ── 2 · the rules that ask, a marquee of names ─────────────────────────────────────────── */
.rules { padding: 44px 0 40px; border-top: 1px solid var(--line); background: var(--ground-bot); }
.rules .wrap > * { min-width: 0; }
.rules .wrap { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: center; }
.rail { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
.track { display: flex; }
.rail.is-live .track { width: max-content; }
.row { display: flex; flex-wrap: wrap; gap: 14px 48px; list-style: none; }
.row li { font: 300 var(--t-26)/1 var(--display); letter-spacing: -0.02em; white-space: nowrap; color: var(--ink); }
.row li span { font: 500 var(--t-11)/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-left: 10px; }
.rail.is-live .row { flex-wrap: nowrap; padding-right: 48px; }
@media (prefers-reduced-motion: no-preference) {
  .rail.is-live .track { animation: marquee-scroll var(--marquee-dur, 30s) linear infinite; }
  .rail.is-live[data-direction="right"] .track { animation-direction: reverse; }
  .rail.is-live:hover .track, .rail.is-live:focus-within .track, .rail.is-held .track { animation-play-state: paused; }
}
@keyframes marquee-scroll { to { transform: translateX(calc(var(--marquee-w, 50%) * -1)); } }
.rules .bar { display: flex; justify-content: flex-end; margin-top: 14px; }
.marquee-toggle { font: 500 var(--t-11)/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); background: none; border: 1px solid var(--line); border-radius: 999px; min-height: 32px; padding: 0 14px; cursor: pointer; }
.marquee-toggle:hover { color: var(--ink); border-color: var(--line-strong); }

/* ── 3 · the chain field ───────────────────────────────────────────────────────────────── */
.field { padding: var(--pad-section) 0 calc(var(--pad-section) + 40px); background: var(--ground-bot); }
.field .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 60px; }
.field .h2 { max-width: 12ch; }
.field-copy .lede { margin-top: 24px; }
.board-legend { display: flex; align-items: center; gap: 16px; margin-top: 36px; }
.dm { display: grid; grid-template-columns: repeat(var(--dm-size, 5), 6px); gap: 5px; }
.dm-dot { width: 6px; height: 6px; border-radius: 1.5px; background: var(--accent); }
.board-legend p { font: 500 var(--t-11)/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); max-width: 30ch; }
.cf { align-self: end; }
.cf-grid { display: grid; grid-template-columns: repeat(24, 1fr); gap: 7px; min-height: 230px; }
.cf-grid i { aspect-ratio: 1; border-radius: 2px; background: var(--accent); opacity: .5; transition: opacity .3s var(--ease-ui), background-color .3s var(--ease-ui), transform .3s var(--ease-ui), box-shadow .3s var(--ease-ui); cursor: crosshair; }
.cf:not(.is-live) .cf-grid { background-image: radial-gradient(circle, rgba(18, 227, 165, .5) 2.5px, transparent 3px); background-size: calc(100% / 24) 24px; }
.cf-grid i.is-lit { opacity: .85; }
.cf-grid i.is-head { opacity: 1; transform: scale(1.35); box-shadow: 0 0 0 3px rgba(18, 227, 165, .25); }
.cf-grid i.is-broken { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); opacity: 1; transition-delay: calc((var(--i) - var(--cut-i, 0)) * 2ms); }
.cf-grid i.is-cut { background: var(--cut); box-shadow: 0 0 0 4px rgba(255, 138, 122, .25); transform: scale(1.35); }
.cf-read { margin-top: 22px; min-height: 3em; font: 400 var(--t-15)/1.5 var(--text); color: var(--ink-2); }
.cf-controls { display: none; margin-top: 18px; gap: 10px; align-items: center; flex-wrap: wrap; }
.cf.is-live .cf-controls { display: flex; }
.cf-controls form { display: flex; gap: 10px; align-items: center; }
.cf-controls label { font: 500 var(--t-11)/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.cf-controls input { width: 84px; height: 48px; padding: 0 12px; border-radius: var(--r-control); border: 1px solid var(--line); background: var(--pill); color: var(--ink); font: 500 var(--t-15)/1 var(--mono); }
.cf-note { margin-top: 14px; font-size: var(--t-13); color: var(--ink-3); }

/* ── the light sheet: rounded top, rises over the dark ground ──────────────────────────── */
.sheet-ground { --g: var(--sheet); background: var(--sheet); color: var(--ink-s); }
.dark-ground { --g: var(--ground-bot); background: var(--ground-bot); color: var(--ink); }
.rise-sheet { position: relative; border-radius: var(--r-sheet) var(--r-sheet) 0 0; margin-top: -40px; z-index: 2; }
.thesis { padding: 140px 0 120px; }
.thesis .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.thesis .h2 { font-size: var(--t-72); max-width: 11ch; }
.thesis .body { padding-top: 8px; }

/* ── 5 · the four checks, a sticky list ───────────────────────────────────────────────── */
.checks { padding: 40px 0 var(--pad-section); }
.checks .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.checks-left { position: sticky; top: 120px; }
.checks-left .h2 { margin-top: 20px; max-width: 12ch; }
.checks-titles { list-style: none; margin-top: 40px; counter-reset: c; }
.checks-titles li { border-top: 1px solid var(--line-s); }
.checks-titles a { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: baseline; padding: 14px 0; text-decoration: none; font: 300 var(--t-30)/1.1 var(--display); letter-spacing: -0.02em; color: var(--ink-s); transition: color var(--dur-ui) var(--ease-ui); }
.checks-titles a span { font: 500 var(--t-11)/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-s3); }
.checks.is-live .checks-titles a { color: var(--ink-s3); }
.checks.is-live .checks-titles a.is-on, .checks.is-live .checks-titles a:hover { color: var(--ink-s); }
.exhibit { padding: 24px; border-radius: var(--r-card); background: #fff; box-shadow: 0 1px 0 var(--line-s), 0 24px 48px -32px rgba(10, 20, 48, .3); }
.exhibit + .exhibit { margin-top: 24px; }
.exhibit figure { position: relative; overflow: hidden; border-radius: 10px; aspect-ratio: 16 / 11; background: var(--sheet-2); }
.exhibit figure img { width: 100%; height: 116%; object-fit: cover; position: absolute; top: -8%; }
.exhibit .label { margin-top: 20px; }
.exhibit .h3 { margin-top: 8px; }
.exhibit p { margin-top: 10px; font-size: var(--t-15); color: var(--ink-s2); }
.exhibit .not { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-s); font-size: var(--t-13); color: var(--ink-s3); }
.exhibit .go { display: inline-flex; gap: 8px; margin-top: 16px; font: 500 var(--t-12)/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-s); text-decoration: none; }
.exhibit .go:hover .arr { transform: translateX(3px); }
.exhibit .go .arr { transition: transform var(--dur-ui) var(--ease-ui); }
.foundation { margin-top: 24px; padding: 24px; border-radius: var(--r-card); border: 1px dashed rgba(10, 20, 48, .25); }
.foundation p { margin-top: 10px; color: var(--ink-s2); }

/* ── 6 · what this does not prove ─────────────────────────────────────────────────────── */
.limits { padding: var(--pad-section) 0; border-radius: var(--r-sheet) var(--r-sheet) 0 0; margin-top: -32px; position: relative; z-index: 3; }
.limits .head { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.limits .h2 { font-size: var(--t-72); max-width: 10ch; }
.limits-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 80px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.limits-grid li { background: var(--ground-bot); padding: 28px 24px 32px; }
.limits-grid .yes { font: 300 var(--t-26)/1.1 var(--display); letter-spacing: -0.02em; }
.limits-grid .no { margin-top: 8px; font: 500 var(--t-11)/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.limits-grid .no s { text-decoration-thickness: 1px; }
.limits-grid p { margin-top: 18px; font-size: var(--t-15); color: var(--ink-2); }
.banned { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.banned li { font: 500 var(--t-12)/1 var(--mono); letter-spacing: .04em; padding: 9px 12px; border-radius: var(--r-control); border: 1px solid var(--line); color: var(--ink-2); }
.banned li s { text-decoration-color: var(--cut); text-decoration-thickness: 1.5px; }

/* ── 7 · the verifier ─────────────────────────────────────────────────────────────────── */
.verify { padding: 40px 0 var(--pad-section); }
.verify .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 60px; }
.verify .h2 { max-width: 11ch; margin-top: 20px; }
.verify .lede { margin-top: 24px; }
.instrument { padding: 18px; }
.instrument-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.instrument-top .label { font-size: var(--t-11); }
.instrument-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.instrument-btns .btn { height: 44px; padding: 0 14px; }
.instrument textarea { display: block; width: 100%; height: 220px; margin-top: 14px; padding: 14px; resize: vertical; border-radius: 10px; border: 1px solid var(--line); background: rgba(4, 6, 24, .55); color: var(--ink-2); font: 400 var(--t-12)/1.55 var(--mono); }
#verdict { margin-top: 14px; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line); transition: border-color .3s var(--ease-ui), background-color .3s var(--ease-ui); }
.verdict-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.verdict-line b { font-weight: 500; font-size: var(--t-17); }
.verdict-code { font: 500 var(--t-11)/1 var(--mono); letter-spacing: .06em; color: var(--ink-3); }
.verdict-detail { margin-top: 6px; font-size: var(--t-13); color: var(--ink-2); }
#verdict.is-pass { border-color: rgba(18, 227, 165, .55); background: rgba(18, 227, 165, .07); }
#verdict.is-pass b { color: var(--accent); }
#verdict.is-fail { border-color: rgba(255, 138, 122, .6); background: rgba(255, 138, 122, .08); }
#verdict.is-fail b { color: var(--cut); }
#ledger { margin-top: 10px; }
.ledger-row { display: grid; grid-template-columns: 26px 60px 1fr auto; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: var(--t-12); color: var(--ink-2); animation: row-in .35s var(--ease-out) both; }
.ledger-row:nth-child(2) { animation-delay: .05s; } .ledger-row:nth-child(3) { animation-delay: .1s; } .ledger-row:nth-child(4) { animation-delay: .15s; } .ledger-row:nth-child(5) { animation-delay: .2s; } .ledger-row:nth-child(n+6) { animation-delay: .25s; }
@keyframes row-in { from { opacity: 0; transform: translateY(6px); } }
.ledger-row span:first-child, .ledger-hash { font-family: var(--mono); color: var(--ink-3); }
.ledger-kind { font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink); }
.instrument .small { margin-top: 12px; font-size: var(--t-13); color: var(--ink-3); }
.has-verifier .nojs-only { display: none; }

/* ── 8 · who asks, three tabs ─────────────────────────────────────────────────────────── */
.who { padding: var(--pad-section) 0; border-radius: var(--r-sheet) var(--r-sheet) 0 0; margin-top: -32px; position: relative; z-index: 3; }
.who .head { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.who .h2 { max-width: 12ch; margin-top: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 56px; padding: 5px; border-radius: 11px; background: var(--sheet-2); width: max-content; max-width: 100%; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--r-control); border: 0; background: none; font: 500 var(--t-12)/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-s2); cursor: pointer; transition: background-color var(--chip-dur, .25s) var(--ease-ui), color var(--chip-dur, .25s) var(--ease-ui); }
.chip.is-on { background: var(--ink-s); color: var(--sheet); }
.chip:hover:not(.is-on) { background: rgba(10, 20, 48, .06); }
.chips:not(.is-js) { display: none; }
.is-live .chips { display: flex; }
.panels { display: grid; gap: 16px; margin-top: 24px; }
.panel-w { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 36px; border-radius: var(--r-card); background: #fff; box-shadow: 0 1px 0 var(--line-s), 0 24px 48px -32px rgba(10, 20, 48, .3); }
.panel-w .when { font: 500 var(--t-11)/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-deep); }
.panel-w .h3 { font-size: var(--t-36); font-weight: 300; letter-spacing: -0.03em; margin-top: 12px; }
.panel-w p { color: var(--ink-s2); font-size: var(--t-17); line-height: 1.5; }
.panel-w ul { margin-top: 14px; padding-left: 18px; color: var(--ink-s2); }
.is-live .panels { gap: 0; padding-bottom: calc(var(--deck) * 10px); }
.is-live .panel-w { grid-area: 1 / 1; transform: translateY(calc(var(--depth) * 10px)) scale(calc(1 - var(--depth) * .02)); z-index: calc(8 - var(--depth)); }
@media (prefers-reduced-motion: no-preference) { .is-live .panel-w { transition: --depth var(--chip-dur, .25s) var(--ease-ui); } }

/* ── 9 · the layer row ────────────────────────────────────────────────────────────────── */
.layers { padding: 40px 0 var(--pad-section); }
.layers-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.layers-head .h2 { max-width: 14ch; margin-top: 20px; }
.arrows { display: none; gap: 8px; }
.is-live .arrows { display: flex; }
.arrows button { width: 48px; height: 48px; border-radius: var(--r-control); border: 1px solid var(--line-s); background: #fff; color: var(--ink-s); font-size: 18px; cursor: pointer; transition: border-color var(--dur-ui) var(--ease-ui); }
.arrows button:hover:not(:disabled) { border-color: var(--ink-s3); }
.layer-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, calc((100% - 48px) / 4)); gap: 16px; list-style: none; margin-top: 48px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.layer-row::-webkit-scrollbar { display: none; }
.layer-row li { scroll-snap-align: start; }
.layer-card { display: block; height: 100%; text-decoration: none; color: var(--ink-s); border-radius: var(--r-card); background: #fff; padding: 14px 14px 22px; box-shadow: 0 1px 0 var(--line-s), 0 24px 48px -32px rgba(10, 20, 48, .3); transition: transform var(--dur-ui) var(--ease-ui), box-shadow var(--dur-ui) var(--ease-ui); }
.layer-card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--line-s), 0 32px 56px -30px rgba(10, 20, 48, .38); }
.layer-card figure { aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--sheet-2); }
.layer-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.layer-card:hover img { transform: scale(1.03); }
.layer-card .label { margin-top: 18px; padding: 0 6px; }
.layer-card .h3 { margin-top: 8px; padding: 0 6px; }

/* ── 10 · the format, a link list ─────────────────────────────────────────────────────── */
.format { padding: 0 0 var(--pad-section); }
.format .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.format .h2 { max-width: 12ch; margin-top: 20px; }
.links { list-style: none; border-top: 1px solid var(--line-s); }
.links a { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; padding: 22px 0; border-bottom: 1px solid var(--line-s); text-decoration: none; color: var(--ink-s); }
.links a b { font: 300 var(--t-26)/1.15 var(--display); letter-spacing: -0.02em; }
.links a small { grid-column: 1; font-size: var(--t-15); color: var(--ink-s2); }
.links a .arr { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 20px; transition: transform var(--dur-ui) var(--ease-ui); }
.links a:hover .arr { transform: translateX(4px); }

/* ── 11 · pricing ─────────────────────────────────────────────────────────────────────── */
.pricing { padding: var(--pad-section) 0; border-radius: var(--r-sheet) var(--r-sheet) 0 0; margin-top: -32px; position: relative; z-index: 3; }
.pricing .head { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.pricing .h2 { font-size: var(--t-72); max-width: 10ch; }
.plans { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 72px; }
.plan { display: flex; flex-direction: column; border-radius: var(--r-card); border: 1px solid var(--line); background: rgba(255, 255, 255, .025); overflow: hidden; }
.plan figure { aspect-ratio: 16 / 9; overflow: hidden; background: var(--sheet-2); }
.plan figure img { width: 100%; height: 100%; object-fit: cover; }
.plan .in { display: flex; flex-direction: column; flex: 1; padding: 26px 24px 24px; }
.plan .price { margin-top: 10px; font: 300 var(--t-44)/1 var(--display); letter-spacing: -0.03em; }
.plan .price small { font: 400 var(--t-15)/1 var(--text); color: var(--ink-3); letter-spacing: 0; }
.plan .terms { margin-top: 12px; font-size: var(--t-13); color: var(--ink-3); min-height: 4.6em; }
.plan ul { list-style: none; margin-top: 18px; border-top: 1px solid var(--line); }
.plan li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: var(--t-15); color: var(--ink-2); }
.plan .btn { margin-top: auto; justify-content: space-between; }
.plan ul + .btn { margin-top: 24px; }
.rule { margin-top: 24px; display: grid; grid-template-columns: 220px 1fr; gap: 30px; padding: 28px 24px; border-radius: var(--r-card); border: 1px solid rgba(18, 227, 165, .35); }
.rule p { font: 300 var(--t-21)/1.4 var(--display); letter-spacing: -0.01em; max-width: 60ch; }

/* ── 12 · close and footer ────────────────────────────────────────────────────────────── */
.close { position: relative; padding: var(--pad-section) 0 80px; background: var(--foot); overflow: hidden; }
.close .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.close .h2 { font-size: var(--t-86); max-width: 11ch; }
.close .doors { display: flex; gap: 10px; margin-top: 40px; flex-wrap: wrap; }
.close .lede { margin-top: 24px; }
.seal { position: relative; aspect-ratio: 1; max-height: 520px; justify-self: end; width: 100%; max-width: 520px; }
.seal__gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s var(--ease-ui); }
.seal.is-gl .seal__gl { opacity: 1; }
.seal:not(.is-gl) { visibility: hidden; }
footer { background: var(--foot); color: var(--ink); padding: 40px 0 28px; border-top: 1px solid var(--line); }
footer .cols { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 30px; }
footer .about { color: var(--ink-3); font-size: var(--t-13); max-width: 36ch; margin-top: 14px; }
footer h2 { font: 500 var(--t-11)/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
footer ul { list-style: none; margin-top: 14px; }
footer li a { display: inline-flex; min-height: 32px; align-items: center; color: var(--ink-2); text-decoration: none; font-size: var(--t-15); }
footer li a:hover { color: var(--ink); }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font: 500 var(--t-11)/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.legal a { color: var(--ink-3); }
.consent { position: fixed; z-index: 45; right: 20px; bottom: 20px; max-width: 380px; padding: 20px; }
.consent[hidden] { display: none; }
.consent p { font-size: var(--t-13); color: var(--ink-2); }
.consent .row-b { display: flex; gap: 8px; margin-top: 14px; }

/* ── reveals: the start state exists only once reveal-rise has armed the page ──────────── */
html.reveals-armed [data-reveal] { opacity: 0; transform: translateY(14px); }
html.reveals-armed [data-reveal].is-in { opacity: 1; transform: none; transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); transition-delay: calc(var(--i, 0) * var(--reveal-stagger, .08s)); }

/* ── inner pages ──────────────────────────────────────────────────────────────────────── */
.page-hero { position: relative; padding: 150px 0 100px; background: linear-gradient(180deg, var(--ground-top) 0%, var(--ground-bot) 100%); overflow: hidden; }
.page-hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 60px; align-items: end; }
.page-hero h1 { font-family: var(--display); font-weight: var(--display-w); font-size: var(--t-h1); line-height: .98; letter-spacing: var(--track-display); margin-top: 22px; }
.page-hero .lede { margin-top: 26px; }
.object { position: relative; margin: 0; }
.object .frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-card); background: var(--ground-bot); }
.object img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; }
.object figcaption { margin-top: 14px; font-size: var(--t-13); color: var(--ink-3); max-width: 44ch; }
.detail { padding: var(--pad-section) 0; }
.detail .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 60px; }
.kv { border-top: 1px solid var(--line-s); }
.kv div { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line-s); }
.kv dt { font: 500 var(--t-11)/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-s3); padding-top: 3px; }
.kv dd { font-size: var(--t-15); color: var(--ink-s2); }
.kv code, .lede code, .feature code { font-size: .92em; padding: 1px 5px; border-radius: 4px; background: rgba(10, 20, 48, .06); }
.dark-ground .kv code, .dark-ground .lede code { background: var(--hover); }
.feature { margin-top: 48px; padding: 28px; border-radius: var(--r-card); background: #fff; box-shadow: 0 1px 0 var(--line-s); }
.feature p { margin-top: 12px; color: var(--ink-s2); }
.inner-limits { padding: var(--pad-section) 0; border-radius: var(--r-sheet) var(--r-sheet) 0 0; margin-top: -32px; position: relative; z-index: 3; }
.inner-limits .limits-grid { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
.cmds { margin-top: 48px; }
.cmds pre { margin-top: 14px; padding: 18px; border-radius: 10px; border: 1px solid var(--line); background: rgba(4, 6, 24, .55); font-size: var(--t-13); line-height: 1.7; color: var(--ink-2); overflow-x: auto; white-space: pre; }
.cmds pre .c { color: var(--ink-3); }
.stepper { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 80px; }
.stepper a { display: block; padding: 22px 24px; border-radius: var(--r-card); border: 1px solid var(--line); text-decoration: none; transition: border-color var(--dur-ui) var(--ease-ui); }
.stepper a:hover { border-color: var(--line-strong); }
.stepper a.nx { text-align: right; }
.stepper a span { display: block; font: 500 var(--t-11)/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.stepper a b { display: block; margin-top: 10px; font: 300 var(--t-26)/1.15 var(--display); letter-spacing: -0.02em; }
.doc { padding: 80px 0 var(--pad-section); }
.doc .wrap { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 30px 80px; }
.doc nav { position: sticky; top: 110px; align-self: start; }
.doc nav ul { list-style: none; margin-top: 14px; }
.doc nav a { display: inline-flex; min-height: 34px; align-items: center; color: var(--ink-s2); text-decoration: none; font-size: var(--t-15); }
.doc nav a:hover { color: var(--ink-s); }
.doc article section + section { margin-top: 72px; }
.doc article h2 { font: 300 var(--t-36)/1.1 var(--display); letter-spacing: -0.03em; }
.doc article h3 { font: 400 var(--t-21)/1.2 var(--display); margin-top: 32px; }
.doc article p { margin-top: 14px; font-size: var(--t-17); line-height: 1.6; color: var(--ink-s2); max-width: 64ch; }
.doc article pre { margin-top: 18px; padding: 18px; border-radius: 10px; background: var(--ink-s); color: #d8e0f0; font-size: var(--t-13); line-height: 1.65; overflow-x: auto; }
.doc article table { width: 100%; margin-top: 18px; border-collapse: collapse; font-size: var(--t-15); }
.doc article th, .doc article td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line-s); color: var(--ink-s2); }
.doc article th { font: 500 var(--t-11)/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-s3); }
.doc article td code, .doc article p code { font-size: .9em; padding: 1px 5px; border-radius: 4px; background: rgba(10, 20, 48, .06); color: var(--ink-s); }
.doc article ul { margin-top: 14px; padding-left: 20px; color: var(--ink-s2); font-size: var(--t-17); line-height: 1.6; }
.notfound { min-height: 100svh; display: grid; align-items: center; padding: 140px 0 80px; background: linear-gradient(180deg, var(--ground-top) 0%, var(--ground-bot) 100%); }
.notfound h1 { font-family: var(--display); font-weight: var(--display-w); font-size: var(--t-h1); line-height: .98; letter-spacing: var(--track-display); max-width: 12ch; margin-top: 22px; }
.notfound .doors { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 36px; }
.notfound .steps { max-width: 520px; margin-top: 48px; }

/* ── phone and tablet: recomposed, not stacked ─────────────────────────────────────────── */
@media (max-width: 1180px) {
  .pill > ul, .doors-top .btn--ghost { display: none; }
  .pill button.open-sheet { display: flex; }
  .hero__card, .hero__right { left: auto; right: var(--margin); }
  .hero h1 { width: 46vw; font-size: clamp(48px, 6vw, 86px); }
  .limits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero { height: auto; min-height: 0; padding: 0 0 48px; }
  .hero__poster { position: relative; inset: auto; height: 56vh; min-height: 360px; background-image: image-set(url("/img/hero-phone-1200.webp") type("image/webp"), url("/img/hero-phone-1200.jpg") type("image/jpeg")); background-size: cover; background-position: 60% center; -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); mask-image: linear-gradient(to bottom, #000 70%, transparent); }
  .hero h1 { position: relative; left: 0; bottom: auto; width: auto; margin: -110px var(--margin) 0; font-size: clamp(38px, 10vw, 56px); }
  .hero__card, .hero__right { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: auto; margin: 24px var(--margin) 0; }
  .hero__right { order: 2; }
  .hero { display: flex; flex-direction: column; }
  .hero__card { order: 3; }
  .hero__right .doors { flex-direction: column; }
  .hero__right .doors .btn { width: 100%; justify-content: space-between; }
  .cue { display: none; }
  .doors-top .btn--accent { display: none; }
  .pill { height: 46px; }
  .rules .wrap, .field .wrap, .thesis .wrap, .checks .wrap, .limits .head, .verify .wrap, .who .head, .format .wrap, .pricing .head, .close .wrap, .page-hero .wrap, .detail .wrap, .doc .wrap { grid-template-columns: 1fr; }
  .checks-left { position: static; }
  .checks-titles { display: none; }
  .cf-grid { grid-template-columns: repeat(16, 1fr); gap: 6px; }
  .thesis { padding: 96px 0 80px; }
  .thesis .h2, .limits .h2, .pricing .h2 { font-size: clamp(40px, 11vw, 57px); }
  .close .h2 { font-size: clamp(44px, 12vw, 72px); }
  .limits-grid, .plans { grid-template-columns: 1fr; }
  .panel-w { grid-template-columns: 1fr; padding: 24px; }
  .chips { width: 100%; }
  .chip { flex: 1; justify-content: center; padding: 0 10px; }
  .layer-row { grid-auto-columns: 78%; }
  .rule { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: 1fr 1fr; }
  footer .cols > div:first-child { grid-column: 1 / -1; }
  .seal { display: none; }
  .doc nav { position: static; }
  .kv div { grid-template-columns: 1fr; gap: 6px; }
  .stepper { grid-template-columns: 1fr; }
  .page-hero { padding-top: 110px; }
  .chapter-pill { bottom: 12px; }
  .steps [data-lc-block] { grid-template-columns: 22px 46px 1fr auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

/* grid children never grow past their track: the marquee row is max-content wide */
.wrap > *, .wrap > * > * { min-width: 0; }
[hidden] { display: none !important; }
.exhibit figure, .object .frame { overflow: hidden; }
.exhibit figure img, .object .frame img { scale: 1.1; }
.steps li { transition: opacity var(--dur-ui) var(--ease-ui); }
.steps li.is-cut { opacity: .38; }
.steps li.is-cut .h { color: var(--cut); text-decoration: line-through; }
.steps.is-broken .verdict-mark { color: var(--cut); }
@media (max-width: 1024px), (pointer: coarse) { #cf-step, #record-input { font-size: 16px; } }
.card-link { display: inline-block; padding-block: 12px; }
/* studio round 9: the subline sits on the scene the way the reference copy does; the card lets the ring through; no scroll cue */
.hero__right.glass { background: none; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding-inline: 0; }
.hero__right .sub { text-shadow: 0 1px 18px rgba(8, 10, 36, .9); }
.hero__card { width: 400px; background: rgba(10, 14, 44, .46); }
.cue { display: none; }
@media (max-width: 860px) { .hero h1 { text-shadow: 0 2px 28px rgba(8, 10, 36, .85); } .hero__right.glass { padding-inline: 0; } }
/* studio round 10: the bare subline crossed the bright clasp, so it goes back on glass, as thin as the card; the card returns to 440 so no line wraps */
.hero__right.glass { background: rgba(10, 14, 44, .46); border-color: var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); padding-inline: 22px; }
.hero__card { width: 440px; }
@media (max-width: 1180px) { .hero__card { width: 400px; } }
/* chain round 2: a field of points like the reference, not a block of tiles; a sealed step is a lit point, the changed step a plate, and the break travels down the chain at 6 ms a step */
.cf-grid i { background: transparent; opacity: 1; display: grid; place-items: center; box-shadow: none; transform: none; }
.cf-grid i::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: .55; transition: inherit; }
.cf-grid i.is-lit::before { opacity: .95; box-shadow: 0 0 8px rgba(18, 227, 165, .55); }
.cf-grid i.is-head { transform: none; box-shadow: none; }
.cf-grid i.is-head::before { width: 100%; height: 100%; border-radius: 3px; opacity: 1; }
.cf-grid i.is-broken { background: transparent; box-shadow: none; transition-delay: calc((var(--i) - var(--cut-i, 0)) * 6ms); }
.cf-grid i.is-broken::before { background: var(--ink-3); opacity: .35; box-shadow: none; transition-delay: inherit; }
.cf-grid i.is-cut { background: transparent; box-shadow: none; transform: none; }
.cf-grid i.is-cut::before { width: 100%; height: 100%; border-radius: 3px; background: var(--cut); opacity: 1; box-shadow: 0 0 0 5px rgba(255, 138, 122, .22); }
.cf-grid i.is-broken::before { opacity: .2; }
.cf-grid i.is-cut::before { opacity: 1; }
/* reduced motion and no-JS keep the marquee on one line, so both modes have the same height; the names scroll by hand */
.row { flex-wrap: nowrap; padding-right: 48px; }
.rail:not(.is-live) { overflow-x: auto; scrollbar-width: thin; }
/* the pause control only exists while the band moves; hold its room in every mode so the page keeps one height */
.rules .bar { min-height: 32px; }
/* the chapter pill is a scripted aid; with no script it is not in the page at all */
html:not(.has-js) .chapter-pill { display: none; }
/* the lit objects: the canvas takes the picture's box and its depth travel; the picture stays painted under it */
.exhibit figure .lit__gl { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; scale: 1.1; opacity: 0; transition: opacity .8s var(--ease-ui); }
.exhibit figure.is-lit .lit__gl { opacity: 1; }
