:root {
  --bg: #f2efe8; --band: #e7e3d9; --surface: #ffffff; --surface-2: #ebe7de;
  --ink: #0c0c0e; --ink-2: #393835; --ink-3: #6c6962;
  --line: rgba(12, 12, 14, .2); --line-2: rgba(12, 12, 14, .09); --grid-strong: rgba(12, 12, 14, .1);
  --gold: #d10f24; --gold-soft: rgba(209, 15, 36, .16); --on-gold: #ffffff;
  --rabbit: #0089a0; --rabbit-soft: rgba(0, 137, 160, .22); --tank: #6a4fe0; --tank-soft: rgba(106, 79, 224, .13);
  --smoke: #aaa69d; --n8: #0c0c0e;
  --slab: #0c0c0e; --on-slab: #f2efe8; --paper: #f4f1ea; --tone: rgba(12, 12, 14, .16);
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --wide: "Archivo Black", "Arial Black", sans-serif;
  --serif: "Abril Fatface", "Didot", Georgia, serif;
  --sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", Consolas, monospace;
  --cut: 16px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0c0c0e; --band: #141417; --surface: #17171b; --surface-2: #202026;
  --ink: #f4f1ea; --ink-2: #c8c4bb; --ink-3: #8f8b84;
  --line: rgba(244, 241, 234, .18); --line-2: rgba(244, 241, 234, .08); --grid-strong: rgba(244, 241, 234, .08);
  --gold: #ff3344; --gold-soft: rgba(255, 51, 68, .2); --on-gold: #0c0c0e;
  --rabbit: #00a6bd; --rabbit-soft: rgba(0, 166, 189, .26); --tank: #8c6cff; --tank-soft: rgba(140, 108, 255, .16);
  --smoke: #56565e; --n8: #f4f1ea;
  --slab: #f4f1ea; --on-slab: #0c0c0e; --tone: rgba(0, 0, 0, .3);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c0c0e; --band: #141417; --surface: #17171b; --surface-2: #202026;
    --ink: #f4f1ea; --ink-2: #c8c4bb; --ink-3: #8f8b84;
    --line: rgba(244, 241, 234, .18); --line-2: rgba(244, 241, 234, .08); --grid-strong: rgba(244, 241, 234, .08);
    --gold: #ff3344; --gold-soft: rgba(255, 51, 68, .2); --on-gold: #0c0c0e;
    --rabbit: #00a6bd; --rabbit-soft: rgba(0, 166, 189, .26); --tank: #8c6cff; --tank-soft: rgba(140, 108, 255, .16);
    --smoke: #56565e; --n8: #f4f1ea;
    --slab: #f4f1ea; --on-slab: #0c0c0e; --tone: rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16.5px/1.65 var(--sans); overflow-x: hidden; }
::selection { background: var(--gold); color: var(--on-gold); }
a { color: inherit; }
b, strong { font-weight: 650; }
img { max-width: 100%; }
.container { width: min(1200px, 100%); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--slab); color: var(--on-slab); padding: 8px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.tone { background-image: radial-gradient(var(--tone) 1.3px, transparent 1.7px); background-size: 9px 9px; }

.btn, .tabs button, .seg button, .lever button, .twin-qs button, .twin-ctl button, .twin-size, .more, #copyBib, .theme-toggle {
  position: relative; z-index: 0; isolation: isolate;
}

.progress { position: fixed; left: 0; right: 0; top: 0; height: 4px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; width: 0; background: var(--gold); }
.nav { position: fixed; left: 0; right: 0; top: 0; z-index: 60; height: 64px; display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; }
.brand-mark.turn { animation: markTurn .5s cubic-bezier(.3, 1.5, .5, 1); }
@keyframes markTurn { 0% { transform: rotate(0) scale(1); } 40% { transform: rotate(-14deg) scale(1.18); } 100% { transform: none; } }
.brand-word { font: 400 22px/1 var(--display); letter-spacing: .04em; color: var(--ink); }
.brand-word b { font-weight: 400; color: var(--gold); }
.nav-right { display: flex; align-items: center; gap: 10px; min-width: 0; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav li a { position: relative; z-index: 0; display: inline-block; padding: 6px 13px; text-decoration: none; white-space: nowrap;
  font: 400 16px/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); transition: color .15s, transform .18s; }
.nav li a::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(-16deg) scaleX(0); transform-origin: left;
  background: var(--slab); transition: transform .2s cubic-bezier(.3, 1.4, .5, 1); }
.nav li a:hover { color: var(--on-slab); transform: rotate(-3deg); }
.nav li a:hover::before { transform: skewX(-16deg) scaleX(1); }
.nav li a.on { color: var(--on-gold); }
.nav li a.on::before { transform: skewX(-16deg) scaleX(1); background: var(--gold); }

.menu-btn { position: relative; z-index: 0; isolation: isolate; display: inline-flex; align-items: stretch; height: 36px; padding: 0; border: 0;
  background: none; cursor: pointer; font: 400 16px/1 var(--display); letter-spacing: .08em; text-transform: uppercase;
  transition: transform .16s cubic-bezier(.3, 1.6, .5, 1); }
.menu-btn > span { position: relative; z-index: 0; display: inline-flex; align-items: center; }
.menu-btn > span::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(-14deg); }
.menu-btn .hud { display: none; gap: 9px; padding: 0 18px 0 14px; margin-right: 4px; color: var(--on-slab); white-space: nowrap; }
.menu-btn .hud.has { display: inline-flex; }
.menu-btn .hud::before { background: var(--slab); }
.menu-btn .hud b { font: 700 12px var(--mono); color: var(--gold); letter-spacing: 0; }
.menu-btn .hud.flip { animation: hudFlip .4s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes hudFlip { 0% { opacity: 0; transform: translateY(-8px) rotate(-6deg); } 100% { opacity: 1; transform: none; } }
.menu-btn .mb { padding: 0 18px; color: var(--on-gold); }
.menu-btn .mb::before { background: var(--gold); }
.menu-btn:hover { transform: rotate(-2deg) scale(1.04); }
.menu-btn[aria-expanded="true"] .mb { color: var(--on-slab); } .menu-btn[aria-expanded="true"] .mb::before { background: var(--slab); }
@media (max-width: 520px) { .menu-btn .hud { display: none !important; } }
.menu-btn .lc { display: none; }
.menu-btn[aria-expanded="true"] .lo { display: none; }
.menu-btn[aria-expanded="true"] ~ * { visibility: hidden; }
.menu-btn[aria-expanded="true"] .lc { display: inline; }
.menu-btn[aria-expanded="true"] .hud { display: none; }

body.menu-open .nav { z-index: 113; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.menu-open .nav .brand { visibility: hidden; }
.theme-toggle { width: 40px; height: 36px; border: 0; background: none; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.theme-toggle::before { content: ""; position: absolute; inset: 0; z-index: -1; border: 2px solid var(--line); transform: skewX(-12deg); }
.theme-toggle:hover::before { border-color: var(--ink); }
.theme-toggle svg { width: 20px; height: 20px; }
:root[data-theme="dark"] .theme-toggle .moon, :root:not([data-theme="dark"]) .theme-toggle .sun { display: none; }
@media (max-width: 1180px) {
  .nav ul { overflow-x: auto; scrollbar-width: none; max-width: 62vw;
    mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent); }
  .nav ul::-webkit-scrollbar { display: none; }
  .nav li a { font-size: 14.5px; padding: 6px 10px; }
}
@media (max-width: 720px) { .nav ul { display: none; } }

.wipe { position: fixed; inset: 0; z-index: 110; pointer-events: none; overflow: hidden; }
.wipe i { position: absolute; top: -10%; bottom: -10%; left: -35%; width: 170%; transform: translateX(-130%) skewX(-18deg); }
.wipe .w1 { background: var(--gold); }
.wipe .w2 { background: var(--slab); }
.wipe.in .w1 { transform: translateX(0) skewX(-18deg); transition: transform .24s cubic-bezier(.6, 0, .4, 1); }
.wipe.in .w2 { transform: translateX(0) skewX(-18deg); transition: transform .24s cubic-bezier(.6, 0, .4, 1) .06s; }
.wipe.out .w1 { transform: translateX(130%) skewX(-18deg); transition: transform .28s cubic-bezier(.6, 0, .4, 1) .06s; }
.wipe.out .w2 { transform: translateX(130%) skewX(-18deg); transition: transform .28s cubic-bezier(.6, 0, .4, 1); }
.wipe.reset i { transition: none !important; transform: translateX(-130%) skewX(-18deg); }
.wipe:not(.in):not(.out) i { visibility: hidden; }

.menu { position: fixed; inset: 0; z-index: 112; overflow: hidden; contain: strict; }
.menu[hidden] { display: none; }
.menu .m-k { position: absolute; top: -10%; bottom: -10%; left: -20%; width: 108%; background: #0c0c0e; transform: translateX(-110%) skewX(-16deg); }
.menu .m-r { position: absolute; top: -10%; bottom: -10%; right: -25%; width: 62%; background: #ff3344; transform: translateX(110%) skewX(-16deg); overflow: hidden; }
.menu .m-r .tone { position: absolute; inset: 0; --tone: rgba(0, 0, 0, .3); }
.menu.in .m-k, .menu.in .m-r { transform: translateX(0) skewX(-16deg); transition: transform .32s cubic-bezier(.2, 1.1, .3, 1); }
.menu.in .m-r { transition-delay: .05s; }
.menu.out .m-k { transform: translateX(-110%) skewX(-16deg); transition: transform .26s cubic-bezier(.6, 0, .8, .3); }
.menu.out .m-r { transform: translateX(110%) skewX(-16deg); transition: transform .26s cubic-bezier(.6, 0, .8, .3); }
.m-list { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 11vh 0 0 max(24px, 8vw); transform: rotate(-4deg); transform-origin: left top; }
.m-list a { position: relative; z-index: 0; align-self: flex-start; display: inline-flex; align-items: baseline; gap: 16px; padding: 0 22px 0 10px;
  margin-left: calc(var(--i) * 2.2vw); text-decoration: none; color: #f4f1ea; font: 400 clamp(34px, 7.4vh, 80px)/1.12 var(--display); letter-spacing: .02em;
  opacity: 0; transform: translateX(-60px); transition: transform .18s cubic-bezier(.3, 1.6, .5, 1), color .12s; }
.m-list a b { font: 700 .34em var(--mono); color: #ff3344; letter-spacing: 0; }
.m-list a::before { content: ""; position: absolute; inset: 4% -4px; z-index: -1; background: #f4f1ea; transform: skewX(-16deg) scaleX(0); transform-origin: left;
  transition: transform .16s cubic-bezier(.3, 1.4, .5, 1); }
.m-list a:hover, .m-list a:focus-visible { color: #0c0c0e; transform: translateX(14px) rotate(-1deg); outline: none; }
.m-list a:hover::before, .m-list a:focus-visible::before { transform: skewX(-16deg) scaleX(1); }
.m-list a.cur::after { content: ""; position: absolute; left: 6px; right: 14px; bottom: 2px; height: 6px; background: #ff3344; transform: skewX(-30deg); }
.menu.in .m-list a { opacity: 1; transform: none; transition: opacity .2s calc(.12s + var(--i) * 35ms), transform .32s cubic-bezier(.2, 1.5, .4, 1) calc(.12s + var(--i) * 35ms), color .12s; }
.menu.in .m-list a:hover, .menu.in .m-list a:focus-visible { transform: translateX(14px) rotate(-1deg); transition: transform .18s cubic-bezier(.3, 1.6, .5, 1), color .12s; }
.m-hint { position: absolute; left: max(24px, 8vw); bottom: 4vh; margin: 0; color: rgba(244, 241, 234, .55); font: 400 14px var(--display); letter-spacing: .1em; text-transform: uppercase;
  opacity: 0; transition: opacity .3s .3s; }
.menu.in .m-hint { opacity: 1; }
@media (hover: none) { .m-hint { display: none; } }
@media (max-width: 620px) {
  .m-list { padding-top: 12vh; }
  .m-list a { margin-left: calc(var(--i) * 2.6vw); font-size: clamp(28px, 9vw, 40px); white-space: nowrap; }
  .menu .m-k { left: -60%; width: 150%; } .menu .m-r { width: 80%; right: -60%; }
}

.hero { position: relative; isolation: isolate; padding: 112px 0 64px; overflow: hidden; }

.hero-slab { position: absolute; z-index: -1; left: -70px; right: -60vw; top: -60vh; bottom: -56px; background: var(--gold);
  transform: skewX(-20deg); transform-origin: left bottom; }
.hero-slab .tone { position: absolute; inset: 0; --tone: rgba(0, 0, 0, .28);
  mask-image: linear-gradient(200deg, #000 10%, transparent 75%); -webkit-mask-image: linear-gradient(200deg, #000 10%, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, .86fr); gap: 40px; align-items: center; }
.hero-id { position: relative; z-index: 1; }
.eyebrow { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.eyebrow span { position: relative; z-index: 0; padding: 3px 12px; font: 400 14px/1.3 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--on-slab); }
.eyebrow span::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--slab); transform: skewX(-14deg); }
.eyebrow span:nth-child(2)::before { background: var(--gold); } .eyebrow span:nth-child(2) { color: var(--on-gold); }

.title { margin: 0; font-size: clamp(34px, 5.4vw, 80px); line-height: 1; cursor: pointer; display: flex; flex-wrap: wrap; gap: .06em .14em; user-select: none; }
.title > span { display: inline-flex; align-items: center; gap: .02em; }
.title i { --s: 1; --r: 0deg; display: inline-block; font-style: normal; padding: .02em .07em .04em; line-height: .95;
  font-size: calc(1em * var(--s)); transform: rotate(var(--r)); transition: transform .18s cubic-bezier(.3, 1.6, .5, 1); }
.title i.w { background: var(--slab); color: var(--on-slab); }
.title i.k { background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 .045em var(--ink); }
.title i.r { background: var(--gold); color: var(--on-gold); }
.title i.f1 { font-family: var(--display); font-weight: 400; }
.title i.f2 { font-family: var(--wide); font-weight: 400; }
.title i.f3 { font-family: var(--serif); font-weight: 400; }
.title i.f4 { font-family: var(--mono); font-weight: 800; }
.title:hover i { transform: rotate(calc(var(--r) * -1)) translateY(-.03em); }
.title.armed i { animation: tileIn .55s cubic-bezier(.2, 1.6, .4, 1) calc(var(--i) * 45ms) both; }
@keyframes tileIn { 0% { opacity: 0; transform: rotate(calc(var(--r) * 4)) scale(1.9); } 60% { opacity: 1; } 100% { opacity: 1; transform: rotate(var(--r)); } }
.subtitle { margin: 22px 0 0; max-width: 34em; font: 600 clamp(17px, 1.7vw, 21px)/1.75 var(--sans); }
.subtitle span { background: var(--slab); color: var(--on-slab); padding: .18em .45em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

.authors { display: flex; flex-wrap: wrap; gap: 10px 12px; margin: 28px 0 0; padding-left: 6px; }
.authors span { position: relative; z-index: 0; display: inline-flex; align-items: center; height: 36px; padding: 0 0 0 14px; white-space: nowrap;
  color: var(--on-slab); font: 400 clamp(17px, 1.45vw, 21px)/1 var(--display); letter-spacing: .04em; text-transform: uppercase;
  transition: transform .16s cubic-bezier(.3, 1.6, .5, 1); }
.authors span::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--slab); transform: skewX(-14deg); box-shadow: 4px 4px 0 var(--gold); }
.authors sup { display: inline-grid; place-items: center; align-self: stretch; width: 24px; margin-left: 12px; background: var(--gold); color: var(--on-gold);
  font: 700 12px var(--mono); letter-spacing: 0; vertical-align: baseline; transform: skewX(-14deg); }
.authors span:hover { transform: translate(-2px, -3px) rotate(-2deg); }
.authors a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.authors a::after { content: "\2197"; font: 800 .78em var(--sans); color: inherit; }
.authors a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.affil { display: flex; flex-wrap: wrap; gap: 2px 18px; margin: 14px 0 0; color: var(--ink-3); font: 400 13.5px var(--sans); }
.affil span { white-space: nowrap; }
.affil sup { margin-right: 4px; color: var(--gold); font: 700 11px var(--mono); vertical-align: super; }
.hero-side { position: relative; padding-bottom: 6px; }

.notice-wrap { margin: 0 0 30px; filter: drop-shadow(2px 0 0 #0c0c0e) drop-shadow(-2px 0 0 #0c0c0e) drop-shadow(0 2px 0 #0c0c0e)
  drop-shadow(0 -2px 0 #0c0c0e) drop-shadow(8px 8px 0 #0c0c0e); }
.notice { position: relative; margin: 0; padding: 24px 26px 46px; background: #f4f1ea; color: #2b2a27;
  transform: rotate(-1.6deg); transition: transform .25s cubic-bezier(.3, 1.5, .5, 1);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), 94% 100%, 86% calc(100% - 8px), 77% 100%, 66% calc(100% - 9px), 55% 100%,
    44% calc(100% - 7px), 33% 100%, 22% calc(100% - 9px), 11% 100%, 0 calc(100% - 8px)); }
.notice:hover { transform: rotate(0deg) translateY(-3px); }
.notice .tape { position: absolute; left: 50%; top: -6px; width: 120px; height: 26px; transform: translateX(-50%) rotate(3deg);
  background: rgba(255, 51, 68, .55); }
.tldr { margin: 0; font-size: 16.5px; line-height: 2.05; }
.notice .cut i { display: inline-block; font-style: normal; padding: 0 .3em; line-height: 1.35; transform: rotate(var(--r)); margin: 0 .04em; }
.notice .cut i.a { font: 400 1.18em var(--display); background: #0c0c0e; color: #f4f1ea; }
.notice .cut i.b { font: 400 1.08em var(--serif); background: #fff; color: #0c0c0e; box-shadow: inset 0 0 0 1.5px #0c0c0e; }
.notice .cut i.c { font: 400 1em var(--wide); background: #ff3344; color: #0c0c0e; }
.notice .cut i.d { font: 800 .98em var(--mono); background: #0c0c0e; color: #ff3344; }
.notice .cut i.e { font: 400 1.12em var(--display); background: #d9d4c7; color: #0c0c0e; }
.notice .cut i.h { font: 400 1.9em/1.1 var(--display); background: #ff3344; color: #0c0c0e; padding: .02em .25em; box-shadow: 4px 4px 0 #0c0c0e; }
.notice .nw { white-space: nowrap; }
.notice .sign { position: absolute; right: 24px; bottom: 16px; display: inline-flex; align-items: center; gap: 6px;
  font: 400 15px var(--display); letter-spacing: .08em; text-transform: uppercase; color: #0c0c0e; transform: rotate(-3deg); }
.notice .sign svg { width: 22px; height: 22px; }
.btns { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; text-decoration: none; color: var(--ink);
  font: 400 16px/1.2 var(--display); letter-spacing: .07em; text-transform: uppercase; cursor: pointer; transition: transform .16s, color .16s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border: 2px solid var(--ink); background: var(--bg); transform: skewX(-14deg); transition: background .16s; }
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.btn .tag { font: 600 10px var(--sans); letter-spacing: .08em; padding: 1px 6px; background: var(--surface-2); color: var(--ink-3); }
.btn.soon { cursor: default; color: var(--ink-2); }
.btn.soon::before { border-color: var(--line); }
.btn-primary { color: var(--on-slab); }
.btn-primary::before { background: var(--slab); border-color: var(--slab); }
.btn:not(.soon):hover { transform: translate(-2px, -2px) rotate(-2deg); }
.btn:not(.soon):hover::before { box-shadow: 5px 5px 0 var(--bg); }

.twin-stage { position: relative; z-index: 1; margin: 48px 0 0; }
.twin-back { position: absolute; z-index: -1; left: 22px; right: -16px; top: 18px; height: clamp(340px, 44vw, 520px); background: var(--gold); transform: skewX(-4deg); }
.twin-frame { position: relative; background: #0a0a0c; border: 4px solid var(--slab); box-shadow: 0 0 0 2px var(--bg); }
.twin-frame canvas { display: block; width: 100%; height: clamp(332px, calc(44vw - 8px), 512px); cursor: crosshair; touch-action: pan-y; }
.twin-frame canvas:focus-visible { outline: 3px solid var(--rabbit); outline-offset: -3px; }
.twin-ctl { position: absolute; top: 12px; right: 14px; display: flex; gap: 8px; align-items: center; }
.twin-ctl [hidden] { display: none; }
.twin-ctl button, .twin-size { height: 36px; min-width: 38px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
  border: 0; background: none; color: #f4f1ea; font: 400 15px var(--display); letter-spacing: .06em; text-transform: uppercase; }
.twin-ctl button::before, .twin-size::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(12, 12, 14, .82); border: 1.5px solid rgba(244, 241, 234, .5); transform: skewX(-14deg); }
.twin-ctl button { cursor: pointer; font-size: 18px; }
.twin-ctl button:hover::before { background: #f4f1ea; } .twin-ctl button:hover { color: #0c0c0e; }
.twin-ctl .twin-ask { font-size: 15px; color: #fff; }
.twin-ctl .twin-ask::before { background: #ff3344; border-color: #ff3344; }
.twin-hud { position: relative; margin-top: 30px; padding: 16px 20px 16px 24px; background: var(--surface); border-left: 6px solid var(--gold);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.twin-hud b.h { color: var(--ink); background: var(--rabbit-soft); padding: 0 4px; }
.twin-qs { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 10px; }
.twin-qs button { border: 0; background: none; padding: 5px 14px; cursor: pointer; color: var(--ink-2);
  font: 400 15px var(--display); letter-spacing: .06em; text-transform: uppercase; transition: transform .16s; }
.twin-qs button::before { content: ""; position: absolute; inset: 0; z-index: -1; border: 1.5px solid var(--line); transform: skewX(-14deg); }
.twin-qs button:hover { color: var(--ink); transform: rotate(-2deg); }
.twin-qs button:hover::before { border-color: var(--ink); }
.twin-qs button[aria-pressed="true"] { color: var(--on-gold); }
.twin-qs button[aria-pressed="true"]::before { background: var(--gold); border-color: var(--gold); }
.twin-q { margin: 0 0 8px; min-height: 3em; color: var(--ink); }
.twin-prog { display: block; min-height: 1.7em; padding: 5px 10px; font: 500 13px/1.5 var(--mono); color: var(--ink); background: var(--surface-2); overflow-wrap: anywhere; }
.twin-prog:empty::before { content: "GeoDSL program"; color: var(--ink-3); }
.twin-a { margin: 8px 0 0; min-height: 3em; color: var(--ink-3); }
.twin-a b { color: var(--on-gold); background: var(--gold); padding: 0 6px; font-family: var(--mono); }
.twin-stage figcaption { margin: 14px auto 0; max-width: 880px; text-align: center; font-size: 14.5px; line-height: 1.55; color: var(--ink-3); }
.twin-stage figcaption .src { display: block; font-size: 13px; margin-top: 2px; }

.stats { padding: 28px 0 22px; }
.stats .container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat { position: relative; padding: 18px 22px 20px; background: var(--surface); opacity: 0; transform: translateX(-24px) skewX(-6deg);
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); transition: opacity .5s, transform .55s cubic-bezier(.2, 1.4, .4, 1); }
.stat.in { opacity: 1; transform: none; }
.stat:nth-child(2) { transition-delay: .07s; } .stat:nth-child(3) { transition-delay: .14s; } .stat:nth-child(4) { transition-delay: .21s; }
.stat:first-child { background: var(--gold); color: var(--on-gold); }
.stat:first-child .k { color: var(--on-gold); opacity: .88; }
.stat .v { font: 400 clamp(46px, 5vw, 68px)/1 var(--display); letter-spacing: .01em; }
.stat .v small { font-size: .5em; margin-left: 2px; }
.stat .k { margin-top: 8px; font-size: 13.5px; line-height: 1.45; color: var(--ink-3); }
.stat.flash .v { animation: statHit .45s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes statHit { 0% { transform: scale(1); } 40% { transform: scale(1.12) rotate(-2deg); } 100% { transform: none; } }
@media (max-width: 900px) { .stats .container { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .stats .container { grid-template-columns: 1fr; } }

section { position: relative; padding: 96px 0; }
section.alt { background: var(--band); }
section.alt::before { content: ""; position: absolute; left: 0; right: 0; top: -38px; height: 76px; background: var(--band); transform: skewY(-1.6deg); z-index: 0; }
section > .container { position: relative; z-index: 1; }
.chap { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 44px; }
.chap-main { min-width: 0; }
.chap-side { position: sticky; top: 96px; align-self: start; }
.chap-no { display: block; font: 400 118px/.86 var(--display); color: transparent; -webkit-text-stroke: 2px var(--ink); text-shadow: 7px 7px 0 var(--gold); letter-spacing: -.01em; }
.kicker { display: inline-block; margin-top: 18px; padding: 4px 14px 3px; background: var(--slab); color: var(--on-slab); transform: rotate(-4deg);
  font: 400 19px/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.claim { margin: 0 0 20px; font: 400 clamp(34px, 4.3vw, 56px)/1.06 var(--display); letter-spacing: .005em; }
.claim::after { content: ""; display: block; width: 116px; height: 10px; margin-top: 16px; background: var(--gold); transform: skewX(-32deg); transform-origin: left; }
.lead { margin: 0 0 22px; max-width: 68ch; font-size: 17.5px; color: var(--ink-2); }
.sub-claim { margin: 64px 0 10px; font: 400 clamp(26px, 2.8vw, 34px)/1.1 var(--display); letter-spacing: .01em; }
.sublead { margin: 0 0 16px; max-width: 72ch; color: var(--ink-2); }
.note { margin: 10px 0 0; font-size: 13.5px; color: var(--ink-3); }
.lbl { display: block; margin-bottom: 8px; font: 400 15px/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.hand { font: 600 .95em var(--mono); color: var(--ink); background: var(--surface-2); padding: 0 5px; white-space: nowrap; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (max-width: 900px) {
  section { padding: 72px 0; }
  .chap { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .chap-side { position: static; display: flex; align-items: center; gap: 16px; }
  .chap-no { font-size: 70px; text-shadow: 4px 4px 0 var(--gold); }
  .kicker { margin-top: 0; }
}

.card { position: relative; background: var(--surface); padding: 20px 22px; border: 1px solid var(--line-2);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.card-text { margin: 0; color: var(--ink-2); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }

.tabs { display: flex; flex-wrap: wrap; gap: 8px 12px; margin: 22px 0 16px; }
.tabs button, .seg button, .more, #copyBib { border: 0; background: none; padding: 7px 16px; cursor: pointer; color: var(--ink-2);
  font: 400 15.5px/1.2 var(--display); letter-spacing: .07em; text-transform: uppercase; transition: transform .16s, color .16s; }
.tabs button::before, .seg button::before, .more::before, #copyBib::before { content: ""; position: absolute; inset: 0; z-index: -1;
  border: 2px solid var(--line); transform: skewX(-14deg); transition: background .16s, border-color .16s; }
.tabs button:hover, .seg button:hover, .more:hover, #copyBib:hover { color: var(--ink); transform: rotate(-2deg); }
.tabs button:hover::before, .seg button:hover::before, .more:hover::before, #copyBib:hover::before { border-color: var(--ink); }
.tabs button[aria-selected="true"], .seg button[aria-pressed="true"] { color: var(--on-gold); transform: rotate(-2deg) scale(1.04); }
.tabs button[aria-selected="true"]::before, .seg button[aria-pressed="true"]::before { background: var(--gold); border-color: var(--gold); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 10px; font-size: 13.5px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 16px; height: 10px; transform: skewX(-20deg); display: inline-block; }

.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart text { font: 400 12px var(--sans); fill: var(--ink-3); }
.chart .lab { font-size: 13.5px; fill: var(--ink-2); }
.chart .grp { font: 400 14px var(--display); letter-spacing: .08em; text-transform: uppercase; fill: var(--ink); }
.chart .val { font: 600 12.5px var(--mono); fill: var(--ink); }
.chart .ci { stroke: var(--ink-2); stroke-width: 1.3; }
.chart .rowsel { fill: var(--gold-soft); opacity: 0; transform: translateX(-14px); transition: opacity .12s, transform .18s cubic-bezier(.3, 1.5, .5, 1); }
.chart .rowsel.on { opacity: 1; transform: none; }
.chart .rowsel.on + .lab { fill: var(--ink); font-weight: 600; }
.bar-ours { fill: var(--gold); }
.bar-base { fill: var(--smoke); }
.chart .zero { stroke: var(--ink); stroke-width: 2; }
.diff-bar { fill: var(--smoke); }
table.types { width: 100%; border-collapse: collapse; font-size: 14px; }
table.types th { text-align: left; padding: 6px 8px; font: 400 14px var(--display); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); border-bottom: 2px solid var(--ink); }
table.types td { padding: 6px 8px; border-bottom: 1px solid var(--line-2); color: var(--ink-2); }
table.types td.n { text-align: right; font-family: var(--mono); color: var(--ink); }
table.types .mono { font-family: var(--mono); }
table.types tr.ground td:first-child { box-shadow: inset 4px 0 0 var(--tank); }
.barcell { width: 32%; min-width: 140px; }
.tb { position: relative; height: 16px; background: var(--surface-2); }
.tb i { position: absolute; left: 0; display: block; }
.tb i.o { top: 0; height: 8px; background: var(--gold); }
.tb i.v { bottom: 0; height: 6px; background: var(--smoke); }
table.street td:not(:first-child) { text-align: right; font-family: var(--mono); }
table.street th:not(:first-child) { text-align: right; }
table.street tr.ours td { color: var(--ink); font-weight: 650; }
table.street td.best { color: var(--ink); font-weight: 700; box-shadow: inset 0 -3px 0 var(--gold); }

.fold { margin-top: 14px; }
.fold > summary { position: relative; z-index: 0; display: inline-flex; align-items: center; gap: 10px; padding: 7px 18px; cursor: pointer;
  list-style: none; color: var(--ink); font: 400 15.5px/1.2 var(--display); letter-spacing: .07em; text-transform: uppercase; transition: transform .16s; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::before { content: ""; position: absolute; inset: 0; z-index: -1; border: 2px solid var(--ink); transform: skewX(-14deg); transition: background .16s; }
.fold > summary::after { content: ""; width: 0; height: 0; border-left: 7px solid var(--gold); border-top: 5px solid transparent; border-bottom: 5px solid transparent; transition: transform .2s; }
.fold > summary:hover { transform: rotate(-2deg); }
.fold[open] > summary { color: var(--on-slab); }
.fold[open] > summary::before { background: var(--slab); border-color: var(--slab); }
.fold[open] > summary::after { transform: rotate(90deg); }
.fold-body { margin-top: 12px; }
.fold[open] .fold-body { animation: foldIn .32s cubic-bezier(.2, 1.3, .4, 1) both; }
@keyframes foldIn { from { opacity: 0; transform: translateX(-24px) skewX(-4deg); } to { opacity: 1; transform: none; } }
table.lb th.r, table.lb td.n { text-align: right; }
table.lb th.c, table.lb td.c { text-align: center; }
table.lb td.n { font-family: var(--mono); color: var(--ink-2); }
table.lb td.best { color: var(--ink); font-weight: 700; box-shadow: inset 0 -3px 0 var(--gold); }
table.lb tr.ours td { color: var(--ink); font-weight: 650; background: var(--gold-soft); }
table.lb tr.grp th { border-bottom: 0; padding-bottom: 0; font-size: 12.5px; color: var(--ink-3); }
table.lb tr.total td { font-weight: 650; color: var(--ink); }
table.lb tr.total.first td { border-top: 2px solid var(--ink); }

.tip { position: fixed; z-index: 100; max-width: 320px; padding: 9px 13px 10px; pointer-events: none; opacity: 0; transition: opacity .12s;
  background: var(--slab); color: var(--on-slab); font-size: 13px; line-height: 1.45; border-left: 5px solid var(--gold); }
.tip.on { opacity: 1; }
.tip b { font-family: var(--mono); }
.tip div[style] { color: inherit !important; opacity: .72; }

.console { position: relative; margin-top: 8px; }
.missions { display: flex; flex-wrap: nowrap; gap: 10px 12px; margin: 0 -6px 12px; padding: 8px 6px 12px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.missions .mission { flex: none; scroll-snap-align: start; }
.mission { position: relative; display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border: 0; cursor: pointer;
  background: var(--surface); color: var(--ink-2); text-align: left; box-shadow: inset 0 0 0 1px var(--line);
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); transition: transform .16s cubic-bezier(.3, 1.6, .5, 1), background .16s; }
.mission img { width: 44px; height: 44px; object-fit: cover; display: block; }
.mission .mt { font: 700 11px var(--mono); color: var(--ink-3); }
.mission .mn { font: 400 16px/1.1 var(--display); letter-spacing: .05em; text-transform: uppercase; }
.mission:hover { transform: translateY(-3px) rotate(-1deg); color: var(--ink); }
.mission[aria-selected="true"] { background: var(--gold); color: var(--on-gold); transform: rotate(-2deg) scale(1.04); box-shadow: none; }
.mission[aria-selected="true"] .mt { color: var(--on-gold); opacity: .75; }
.stages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
.stage { position: relative; display: flex; flex-direction: column; min-height: 230px; padding: 12px 12px 10px; background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-2); opacity: .38; filter: saturate(.3); transition: opacity .3s, filter .3s, box-shadow .3s, transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.stage::after { content: ""; position: absolute; top: 34px; right: -22px; width: 22px; height: 8px; background: var(--line); transform: skewX(-30deg); }
.stage:last-child::after { display: none; }
.stage.done::after { background: var(--gold); }
.stage.on { opacity: 1; filter: none; box-shadow: inset 0 0 0 2px var(--gold), 6px 6px 0 var(--slab); transform: translateY(-3px); }
.stage.done { box-shadow: inset 0 0 0 1px var(--line); transform: none; }
.stage .sn { font: 400 30px/1 var(--display); color: transparent; -webkit-text-stroke: 1.2px var(--ink); text-shadow: 3px 3px 0 var(--gold); }
.stage .st { margin: 4px 0 8px; font: 400 19px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.stage .sb { flex: 1; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.stage .sd { margin: 8px 0 0; font-size: 12.5px; color: var(--ink-3); line-height: 1.35; }
.stage .sb img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; display: block; }
.sen { padding: 5px 8px; background: var(--surface-2); border-left: 4px solid var(--line); opacity: .45; }
.sen b { display: block; font: 400 13.5px var(--display); letter-spacing: .05em; text-transform: uppercase; }
.sen i { display: block; font-style: normal; font-size: 11px; color: var(--ink-3); }
.sen.hit { opacity: 1; }
.sen.hit.h { border-left-color: var(--rabbit); } .sen.hit.g { border-left-color: var(--tank); } .sen.hit.x { border-left-color: var(--ink-3); }
.sen .chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.sen em { font: 700 10.5px var(--mono); font-style: normal; padding: 1px 5px; background: var(--slab); color: var(--on-slab); }
.blind { display: flex; align-items: center; gap: 8px; padding: 6px 8px; background: var(--slab); color: var(--on-slab); font: 400 13px var(--display); letter-spacing: .05em; text-transform: uppercase; }
.blind svg { width: 22px; height: 22px; flex: none; }
.typing { display: flex; gap: 5px; padding: 6px 2px; }
.typing i { width: 8px; height: 8px; background: var(--ink-3); transform: skewX(-20deg); opacity: .3; }
.stage.on:not(.done) .typing i { animation: dotHop .9s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s !important; } .typing i:nth-child(3) { animation-delay: .3s !important; }
@keyframes dotHop { 0%, 100% { opacity: .3; transform: skewX(-20deg); } 50% { opacity: 1; transform: skewX(-20deg) translateY(-4px); background: var(--gold); } }
.stamp { align-self: flex-start; padding: 3px 10px; font: 400 15px var(--display); letter-spacing: .06em; text-transform: uppercase;
  border: 2.5px solid currentColor; transform: rotate(-6deg); opacity: 0; }
.stamp.ok { color: var(--ink); } .stamp.inv { color: var(--gold); } .stamp.dep { color: var(--ink-3); }
.stage.on .stamp { animation: stampIn .3s cubic-bezier(.2, 1.6, .4, 1) forwards; }
.stage.on .stamp + .stamp { animation-delay: .25s; }
@keyframes stampIn { 0% { opacity: 0; transform: rotate(-6deg) scale(2.2); } 100% { opacity: 1; transform: rotate(-6deg) scale(1); } }
.why { margin: 4px 0 0; font-size: 12px; color: var(--ink-2); line-height: 1.35; }
.ans { align-self: flex-start; padding: 2px 12px; font: 400 clamp(22px, 2.2vw, 30px)/1.15 var(--display); transform: rotate(-4deg) scale(0); }
.ans.ok { background: var(--gold); color: var(--on-gold); } .ans.no { background: var(--slab); color: var(--on-slab); }
.stage.on .ans { animation: ansIn .4s cubic-bezier(.2, 1.7, .4, 1) forwards; }
@keyframes ansIn { 0% { transform: rotate(-4deg) scale(2.4); opacity: 0; } 100% { transform: rotate(-4deg) scale(1); opacity: 1; } }
.ref { margin: 2px 0 0; font-size: 12.5px; color: var(--ink-2); }
.ref b { color: var(--ink); }
.clog { position: relative; margin-top: 18px; padding: 12px 16px 12px 18px; background: var(--surface); border-left: 6px solid var(--gold); display: grid; gap: 6px; }
.cl { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; align-items: baseline; font-size: 14.5px; }
.ct { font: 400 13px var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
#cP { font: 500 13px/1.5 var(--mono); overflow-wrap: anywhere; min-height: 1.5em; }
#cP .caret { display: inline-block; width: 7px; height: 1em; margin-left: 1px; vertical-align: -2px; background: var(--gold); }
.run { justify-self: end; position: relative; z-index: 0; isolation: isolate; border: 0; background: none; cursor: pointer; padding: 6px 18px; color: var(--ink);
  font: 400 15px var(--display); letter-spacing: .07em; text-transform: uppercase; transition: transform .16s; }
.run::before { content: ""; position: absolute; inset: 0; z-index: -1; border: 2px solid var(--ink); transform: skewX(-14deg); }
.run:hover { transform: rotate(-2deg); }
@media (max-width: 900px) {
  .stages { grid-template-columns: 1fr 1fr; }
  .stage { min-height: 0; }
  .stage::after { display: none; }
}
@media (max-width: 520px) { .stages { grid-template-columns: 1fr; } .cl { grid-template-columns: 1fr; gap: 2px; } }
.fn { color: var(--gold); font-weight: 700; } .ly-h { color: var(--rabbit); font-weight: 700; } .ly-g { color: var(--tank); font-weight: 700; } .ly-x { color: var(--ink-3); font-weight: 700; }
@media (max-width: 900px) { .pipeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pipeline { grid-template-columns: 1fr; } }

.rack-group { margin: 26px 0 10px; font: 400 15px var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.rack { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px 12px; }
.bottle { position: relative; display: block; text-align: left; padding: 9px 12px 9px 20px; cursor: pointer; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); transition: transform .16s cubic-bezier(.3, 1.6, .5, 1), box-shadow .16s; }
.bottle .sw { position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--c); }
.bottle .nm { font: 600 12.5px var(--mono); overflow-wrap: anywhere; }
.bottle:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--c); }
.bottle[aria-pressed="true"] { background: var(--slab); color: var(--on-slab); border-color: var(--slab); transform: rotate(-2deg) scale(1.05); box-shadow: 6px 6px 0 var(--gold); }
.bottle-info { margin-top: 18px; min-height: 96px; }
.bottle-info h4 { margin: 0 0 4px; font: 700 16px var(--mono); }
.bottle-info p { margin: 0; color: var(--ink-2); }
.pending { margin-left: 8px; padding: 1px 8px; font: 400 12.5px var(--display); letter-spacing: .08em; text-transform: uppercase; background: var(--surface-2); color: var(--ink-3); }

.sky-stage { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 16px; margin: 0; }
.sky-stage .frame { background: var(--surface); border: 1px solid var(--line-2); min-height: 330px; }
.sky-stage canvas { display: block; width: 100%; height: 100%; min-height: 330px; }
.slider-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.slider-row input { flex: 1; accent-color: var(--gold); }
.slider-row output { min-width: 52px; text-align: right; font: 600 14px var(--mono); }
.seg { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 16px; }
.readout { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.readout .big { font: 400 58px/1 var(--display); }
.readout .unit { font-size: 13px; color: var(--ink-3); line-height: 1.35; }
.prog-chip { display: inline-block; padding: 4px 10px; background: var(--surface-2); font: 500 13px var(--mono); }
.prog-chip b { color: var(--gold); }
.hint { margin: 10px 0 0; font-size: 13.5px; color: var(--ink-3); }
@media (max-width: 820px) { .sky-stage { grid-template-columns: 1fr; } }

.law-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.law-plot svg { width: 100%; height: auto; display: block; }
.law-plot text { font-family: var(--sans); }
.law-plot .tol { fill: var(--grid-strong); stroke: var(--line); stroke-dasharray: 3 3; }
.law-plot .axis { stroke: var(--ink-3); stroke-width: 1.2; }
.law-plot .curve { fill: none; stroke: var(--rabbit); stroke-width: 3; }
.law-plot .ref { fill: var(--surface); stroke: var(--ink); stroke-width: 2; }
.law-plot .est { fill: var(--rabbit); stroke: var(--surface); stroke-width: 2; }
.verdict { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 6px; }
.verdict span { padding: 5px 10px; font: 600 13.5px var(--mono); background: var(--surface-2); border-left: 5px solid var(--smoke); }
.verdict .ok { border-left-color: var(--gold); color: var(--ink); }
.verdict .no { color: var(--ink-3); }
.callout { margin-top: 14px; padding: 12px 14px; background: var(--surface-2); border-left: 6px solid var(--gold); font-size: 14.5px; color: var(--ink-2); }
.callout b { color: var(--ink); }
@media (max-width: 860px) { .law-grid { grid-template-columns: 1fr; } }
.hazard-stripe { height: 16px; margin: 64px 0 -30px; background: repeating-linear-gradient(-55deg, var(--gold) 0 16px, transparent 16px 32px); }

.swiss svg { width: 100%; height: auto; display: block; }
.swiss .ax { font: 400 2.6px var(--sans); fill: var(--ink-3); }
.swiss .ridge { fill: var(--surface-2); stroke: var(--ink-3); stroke-width: .3; }
.swiss .span { stroke: var(--tank); stroke-width: 1.1; }
.swiss .pinz { fill: var(--tank); stroke: var(--surface); stroke-width: .4; }
.swiss .nm { font: 400 3.2px var(--display); letter-spacing: .05em; fill: var(--ink); text-transform: uppercase; }
.swiss .q { font: 400 2.5px var(--sans); fill: var(--ink-3); }
.swiss .z { font: 600 2.5px var(--mono); fill: var(--ink-2); }
.qcard .qt { font: 400 16px var(--display); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.qcard pre { margin: 0 0 10px; padding: 10px 12px; white-space: pre-wrap; background: var(--surface-2); font: 500 12.5px/1.55 var(--mono); color: var(--ink); }
.qcard .mono { font-family: var(--mono); }
.qcard .ans { font: 700 14px var(--mono); background: var(--gold); color: var(--on-gold); padding: 0 7px; }
.gallery-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; margin: 56px 0 16px; flex-wrap: wrap; }
.gallery-head .tabs { margin: 0; }
.gallery-title { margin: 2px 0 0; font: 400 30px var(--display); letter-spacing: .01em; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.spec { display: flex; flex-direction: column; padding: 0; text-align: left; cursor: pointer; overflow: hidden; color: var(--ink); will-change: transform;
  background: var(--surface); border: 1px solid var(--line-2); font: inherit;
  transition: transform .2s cubic-bezier(.3, 1.5, .5, 1), box-shadow .2s; }
.spec:hover, .spec:focus-visible { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translate(-3px, -3px) rotate(-1.2deg);
  box-shadow: 8px 8px 0 var(--gold); }
.spec .pic::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .32), transparent 45%); }
.spec:hover .pic::after { opacity: 1; }
.spec .pic { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--surface-2); }
.spec .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .5s; }
.spec .pic img.layer { opacity: 0; transform: scale(1.05); }
.spec:hover .pic img.layer, .spec:focus-visible .pic img.layer { opacity: 1; transform: none; }
.spec .badge { position: absolute; left: 0; top: 12px; padding: 2px 14px 2px 10px; font: 400 17px var(--display); letter-spacing: .06em;
  background: var(--gold); color: var(--on-gold); clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.spec .swap { position: absolute; right: 8px; bottom: 8px; padding: 2px 8px; font: 600 11px var(--sans); background: rgba(12, 12, 14, .8); color: #f4f1ea; }
.spec .body { padding: 12px 14px 14px; }
.spec .grp { font: 400 13px var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.spec .grp::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; transform: skewX(-20deg); background: var(--smoke); }
.spec .grp.h::before { background: var(--rabbit); } .spec .grp.g::before { background: var(--tank); }
.spec .q { margin-top: 4px; font-size: 14.5px; line-height: 1.5; min-height: 64px; }
.spec .ans { margin-top: 8px; display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; font-size: 13px; color: var(--ink-3); }
.spec .ans b { font: 600 13px var(--mono); color: var(--ink); }
.spec .ok, .lb-text .ok { color: var(--gold); font-weight: 800; } .spec .no, .lb-text .no { color: var(--ink-3); }
.more-row { text-align: center; margin-top: 22px; }
.more-row [hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(8, 8, 10, .82); }
.lightbox[hidden] { display: none; }
.lb-inner { width: min(1060px, 100%); max-height: 92vh; overflow: auto; animation: lbIn .3s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes lbIn { from { opacity: 0; transform: translateX(-40px) skewX(-6deg); } to { opacity: 1; transform: none; } }
.lb-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lb-imgs figure { margin: 0; } .lb-imgs img { width: 100%; display: block; }
.lb-imgs figcaption { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; }
.lb-text { margin-top: 12px; font-size: 15.5px; color: var(--ink-2); }
.lb-text .lbl { color: var(--gold); }
.lb-text code { font: 500 13px var(--mono); color: var(--ink); background: var(--surface-2); padding: 1px 5px; }
.lb-close { position: fixed; right: max(16px, 3vw); top: 18px; z-index: 3; isolation: isolate; height: 38px; padding: 0 18px; border: 0; background: none;
  cursor: pointer; color: #fff; font: 400 17px/1 var(--display); letter-spacing: .08em; text-transform: uppercase;
  transition: transform .16s cubic-bezier(.3, 1.6, .5, 1); }
.lb-close::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #ff3344; transform: skewX(-14deg); box-shadow: 4px 4px 0 #0c0c0e; }
.lb-close:hover { transform: rotate(-3deg) scale(1.06); }
.lb-close:active { transform: scale(.94); }
@media (max-width: 700px) { .lb-imgs { grid-template-columns: 1fr; } }

.cap-r { color: var(--ink); box-shadow: inset 0 -4px 0 var(--rabbit); }
.cap-b { color: var(--ink); box-shadow: inset 0 -4px 0 var(--tank); }
.overview { overflow: hidden; }
.overview-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; margin-bottom: 22px; }
.lever { display: flex; flex-direction: column; gap: 10px; justify-self: start; }
.lever button { display: flex; flex-direction: column; align-items: flex-start; min-width: 210px; padding: 7px 18px; border: 0; background: none; cursor: pointer; text-align: left; color: var(--ink); transition: transform .16s cubic-bezier(.3, 1.6, .5, 1); }
.lever button::before { content: ""; position: absolute; inset: 0; z-index: -1; border: 2px solid var(--line); transform: skewX(-12deg); }
.lever button b { font: 400 17px var(--display); letter-spacing: .07em; text-transform: uppercase; font-weight: 400; }
.lever button small { color: var(--ink-3); font-size: 12px; }
.lever button:hover { transform: translateX(6px); }
.lever button[aria-pressed="true"] { color: var(--on-gold); transform: translateX(10px) rotate(-2deg); }
.lever button[aria-pressed="true"] small { color: var(--on-gold); opacity: .8; }
.lever button[aria-pressed="true"]::before { background: var(--gold); border-color: var(--gold); }
.overview-core { position: relative; width: 184px; height: 184px; display: grid; place-items: center; }
.overview-core .gear { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .7s cubic-bezier(.3, 1.5, .4, 1); }
.overview-core .gear circle { fill: none; stroke: var(--ink-3); stroke-width: 1.2; }
.overview-core .gear circle.cone { stroke: var(--gold); stroke-width: 5; stroke-dasharray: 22 8; }
.overview-core .gear circle.dash { stroke-dasharray: 2 4; }
.overview-core .gear circle.dot { stroke: none; }
.core-read { position: relative; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.core-read .voice { font: 400 12.5px var(--display); letter-spacing: .08em; background: var(--slab); color: var(--on-slab); padding: 2px 8px; transform: rotate(-4deg); }
.core-read .cnt { margin-top: 4px; font: 400 40px var(--display); }
.core-read .cap { font-size: 11.5px; color: var(--ink-3); }
.overview-core.thump { animation: thump .45s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes thump { 40% { transform: scale(1.1) rotate(-3deg); } }
.voice.pop { animation: pop .4s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes pop { 0% { transform: rotate(-4deg) scale(1.6); } 100% { transform: rotate(-4deg); } }
.overview-readout { justify-self: end; display: flex; flex-direction: column; gap: 8px; min-width: 230px; }
.overview-readout .ro { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 6px 12px; background: var(--surface-2); border-left: 5px solid var(--gold); }
.overview-readout .ro span { font: 400 14px var(--display); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.overview-readout .ro b { grid-row: span 2; align-self: center; font: 400 28px var(--display); color: var(--ink); }
.overview-readout .ro i { font: 400 11.5px var(--sans); color: var(--ink-3); font-style: normal; }
.overview-readout .ro.none { border-left-color: var(--smoke); } .overview-readout .ro.none b { color: var(--ink-3); }
.overview-board { display: flex; gap: 18px 30px; position: relative; }
.bgroup { flex: var(--n, 10) 1 0; min-width: 0; }
.bgroup .lbl { color: var(--ink); }
.bgroup .lbl i { font: 400 12px var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink-3); font-style: normal; }
.brow { display: flex; gap: 5px; align-items: flex-end; }
.fb { position: relative; flex: 1 1 0; min-width: 14px; max-width: 44px; display: flex; flex-direction: column; align-items: center; outline: none; transition: opacity .4s, filter .4s; }
.fb .cap { width: 100%; height: 7px; background: var(--rabbit); transform: skewX(-24deg); }
.fb.ground .cap { background: var(--tank); }
.fb .neck { display: none; }
.fb .body { position: relative; width: 100%; height: 96px; margin-top: 2px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.fb .fill { position: absolute; left: 0; right: 0; bottom: 0; background: var(--gold); }
.fb .tag { margin-top: 5px; font: 500 10px var(--mono); color: var(--ink-3); white-space: nowrap; transform: rotate(-50deg); transform-origin: 70% 0; height: 22px; }
.fb:hover .body, .fb:focus-visible .body { box-shadow: inset 0 0 0 2px var(--ink); }
.fb.off { opacity: .18; filter: grayscale(1); }
.fb.hit .body { animation: colHit .5s cubic-bezier(.3, 1.6, .5, 1) var(--d, 0s) both; }
@keyframes colHit { 0% { transform: none; } 40% { transform: translateY(-6px) scaleY(1.06); } 100% { transform: none; } }
.overview-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.overview.shake { animation: boardShake .55s linear; }
@keyframes boardShake { 0%, 100% { transform: none; } 10% { transform: translate(-6px, 3px); } 20% { transform: translate(5px, -4px); }
  30% { transform: translate(-4px, -2px); } 45% { transform: translate(4px, 3px); } 60% { transform: translate(-3px, 1px); } 80% { transform: translate(2px, -1px); } }
.aoa { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; display: none; }
.aoa.go { display: block; }
.aoa .slab { position: absolute; top: -25%; bottom: -25%; width: 64%; }
.aoa .slab.k { left: -12%; background: #0c0c0e; animation: aoaL 1.9s cubic-bezier(.2, .9, .3, 1) both; }
.aoa .slab.r { right: -12%; background: var(--gold); animation: aoaR 1.9s cubic-bezier(.2, .9, .3, 1) both; overflow: hidden; }
.aoa .slab.r .tone { position: absolute; inset: 0; --tone: rgba(0, 0, 0, .3); }
@keyframes aoaL { 0% { transform: translateX(-120%) skewX(-18deg); } 14% { transform: translateX(0) skewX(-18deg); }
  84% { transform: translateX(0) skewX(-18deg); } 100% { transform: translateX(-130%) skewX(-18deg); } }
@keyframes aoaR { 0% { transform: translateX(120%) skewX(-18deg); } 14% { transform: translateX(0) skewX(-18deg); }
  84% { transform: translateX(0) skewX(-18deg); } 100% { transform: translateX(130%) skewX(-18deg); } }
.aoa .word { position: absolute; left: 50%; top: 36%; display: flex; gap: .05em; font-size: clamp(38px, 6.4vw, 92px); line-height: 1;
  transform: translate(-50%, -50%) rotate(-6deg); animation: aoaOut 1.9s linear both; }
.aoa .word b { width: .32em; }
.aoa .word i { display: inline-block; font-style: normal; padding: .03em .08em; font-family: var(--display); color: #0c0c0e; background: #f4f1ea;
  transform: rotate(var(--r)); animation: aoaTile .45s cubic-bezier(.2, 1.7, .4, 1) calc(.18s + var(--i) * 40ms) both; }
.aoa .word i.k { background: #0c0c0e; color: #f4f1ea; box-shadow: inset 0 0 0 .05em #f4f1ea; }
.aoa .word i.r { background: #ff3344; color: #0c0c0e; }
.aoa .word i.f2 { font-family: var(--wide); font-size: .86em; } .aoa .word i.f3 { font-family: var(--serif); } .aoa .word i.f4 { font-family: var(--mono); font-weight: 800; font-size: .84em; }
@keyframes aoaTile { 0% { opacity: 0; transform: rotate(calc(var(--r) * 5)) scale(2.4); } 100% { opacity: 1; transform: rotate(var(--r)); } }
.aoa .scores { position: absolute; left: 50%; top: 70%; display: flex; gap: 18px; transform: translate(-50%, -50%) rotate(-4deg); animation: aoaOut 1.9s linear both; }
.aoa .sc { padding: 6px 18px 4px; background: #f4f1ea; color: #0c0c0e; box-shadow: 7px 7px 0 #ff3344; transform: skewX(-12deg);
  display: flex; flex-direction: column; align-items: flex-start; white-space: nowrap;
  animation: aoaScore .4s cubic-bezier(.2, 1.7, .4, 1) calc(.5s + var(--k) * .12s) both; }
.aoa .sc span { font: 400 13px var(--display); letter-spacing: .08em; text-transform: uppercase; }
.aoa .sc b { font: 400 clamp(28px, 3.6vw, 46px)/1 var(--display); }
.aoa .sc.none { opacity: .5; }
@keyframes aoaScore { 0% { opacity: 0; transform: skewX(-12deg) translateY(30px) scale(1.8); } 100% { opacity: 1; transform: skewX(-12deg); } }
@keyframes aoaOut { 0%, 82% { opacity: 1; } 100% { opacity: 0; } }
@media (max-width: 700px) { .aoa .scores { flex-direction: column; gap: 10px; top: 72%; } .aoa .sc b { font-size: 26px; } }
@media (max-width: 900px) {
  .overview-top { grid-template-columns: 1fr; justify-items: center; }
  .lever, .overview-readout { justify-self: stretch; } .lever button { min-width: 0; }
  .overview-board { flex-wrap: wrap; } .bgroup { flex-basis: 100%; }
}

.limits { list-style: none; margin: 0; padding: 0; }
.limits li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px solid var(--line-2); color: var(--ink-2); }
.limits li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 14px; height: 10px; background: var(--gold); transform: skewX(-24deg); }
table.costs { width: 100%; border-collapse: collapse; font-size: 14px; }
table.costs td { padding: 5px 0; border-bottom: 1px solid var(--line-2); color: var(--ink-2); }
table.costs td:last-child { text-align: right; font-family: var(--mono); color: var(--ink); }
.bib { position: relative; }
.bib pre { margin: 0; padding: 18px 20px; overflow-x: auto; background: var(--surface); font: 500 13.5px/1.6 var(--mono); border-left: 6px solid var(--gold); }
#copyBib { position: absolute; right: 14px; top: 12px; }

footer { padding: 40px 0 56px; text-align: center; color: var(--ink-3); font-size: 14px; }
.foot-orn { display: block; width: 220px; height: 56px; margin: 0 auto 12px; overflow: visible; }
.foot-orn .g { stroke: var(--ink); stroke-width: 2; }
.foot-orn .b { fill: var(--bg); stroke: var(--ink); stroke-width: 2; transform-box: fill-box; transform-origin: 50% 100%; }
.foot-orn .b.r { fill: var(--gold); }
.foot-orn .pick { fill: var(--gold); }
.foot-orn.wait .b { transform: scaleY(0); }
.foot-orn.wait .pick { opacity: 0; }
.foot-orn.hit .b { animation: footRise .45s cubic-bezier(.3, 1.5, .5, 1) calc(var(--i) * 70ms) both; }
.foot-orn.hit .pick { animation: footPick .35s cubic-bezier(.2, 1.7, .4, 1) .75s both; }
@keyframes footRise { 0% { transform: scaleY(0); } 100% { transform: scaleY(1); } }
@keyframes footPick { 0% { opacity: 0; transform: translateY(-10px); } 100% { opacity: 1; transform: none; } }

.btn:not(.soon):active, .tabs button:active, .seg button:active, .lever button:active, .twin-qs button:active, .more:active,
#copyBib:active, .fold > summary:active, .menu-btn:active, .bottle:active, .twin-ctl button:active { transform: scale(.94) rotate(-2deg); transition-duration: .05s; }

.fx-intro { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 120; cursor: pointer; }
.fx-intro.done { display: none; }

@media (max-width: 900px) {
  .hero { padding-top: 96px; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-slab { left: -30px; top: -40px; bottom: -40px; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .twin-ctl { top: 8px; right: 8px; gap: 6px; }
  .twin-frame canvas { height: 340px; }
  .twin-back { height: 340px; }
  .claim::after { width: 80px; height: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .stat { opacity: 1; transform: none; }
}

.prog { display: block; padding: 8px 10px; background: var(--surface-2); font: 500 12.5px/1.55 var(--mono); word-break: normal; overflow-wrap: anywhere; }
.prog .fn { color: var(--gold); font-weight: 700; } .prog .ly-h { color: var(--rabbit); font-weight: 700; }
.prog .ly-g { color: var(--tank); font-weight: 700; } .prog .ly-x { color: var(--ink); font-weight: 700; }
.dcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 6px; }
.dc { display: flex; flex-direction: column; gap: 10px; }
.dc h4 { margin: 0; font: 400 19px/1.15 var(--display); letter-spacing: .05em; text-transform: uppercase; }
.dc .degs { display: flex; flex-wrap: wrap; gap: 6px; }
.dc .degs span { font: 700 11px var(--mono); padding: 2px 7px; background: var(--slab); color: var(--on-slab); transform: skewX(-8deg); }
.dc p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.dc .stamp { opacity: 1; }
.dc.hit .stamp { animation: stampIn .3s cubic-bezier(.2, 1.6, .4, 1) var(--d, 0s) both; }
.stamp.err { color: var(--on-slab); background: var(--slab); border-color: var(--slab); box-shadow: 4px 4px 0 var(--gold); }
@media (max-width: 860px) { .dcards { grid-template-columns: minmax(0, 1fr); } }

.composites { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 6px; }
.nt { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 16px; }
.nt .tag { align-self: flex-start; padding: 2px 10px; font: 400 13px var(--display); letter-spacing: .08em; text-transform: uppercase;
  background: var(--gold); color: var(--on-gold); transform: rotate(-3deg) skewX(-10deg); }
.nt h4 { margin: 2px 0 0; font: 400 19px/1.15 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.nt .q { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; font-style: italic; }
.nt .pl { font: 700 10.5px var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); margin-bottom: -4px; }
.nt .prog { font-size: 12px; }
.nt .prog.off { box-shadow: inset 4px 0 0 var(--ink-3); opacity: .85; }
.nts { margin-top: auto; padding-top: 6px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; text-align: center; }
.nts div { padding: 6px 2px 5px; background: var(--surface-2); transform: skewX(-8deg); }
.nts b { display: block; font: 400 22px/1.1 var(--display); transform: skewX(8deg); white-space: nowrap; }
.nts span { display: block; font-size: 11px; color: var(--ink-3); transform: skewX(8deg); }
.nts .o { background: var(--gold); } .nts .o b, .nts .o span { color: var(--on-gold); }
@media (max-width: 620px) { .composites { grid-template-columns: minmax(0, 1fr); } }

.mstrip { position: relative; }
.mnav { position: absolute; z-index: 2; top: 8px; bottom: 20px; width: 34px; border: 0; padding: 0; cursor: pointer;
  background: var(--slab); color: var(--on-slab); font: 400 30px/1 var(--display); box-shadow: 3px 3px 0 var(--gold); transition: transform .12s; }
.mnav.prev { left: -10px; clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%); }
.mnav.next { right: -10px; clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.mnav:hover { background: var(--gold); color: var(--on-gold); }
.mnav:active { transform: scale(.94); }
.mnav[hidden] { display: none; }
.ans.long { font-size: 17px; line-height: 1.25; }
