/* Ludator. A printed plate: ultramarine and vermilion fields, bone marble, ink black and steel.
   Display: Cinzel (inscriptional capitals). Text: Hanken Grotesk. Labels: JetBrains Mono. All OFL, self-hosted.
   Layers, bottom to top: section fields and backdrops (z 0) · the arena canvas (z 1) · copy (z 2) · header · grain. */
@font-face { font-family: Cinzel; src: url("/assets/09941fb1c169/fonts/cinzel-latin.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/assets/e9201eddf1d4/fonts/hanken-latin.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/assets/bb432642d7e9/fonts/hanken-italic-latin.woff2") format("woff2"); font-weight: 300 800; font-style: italic; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/83c005d49d8a/fonts/jetbrains-mono-latin.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
  --sky: #0c3584; --sky-deep: #0a1f57; --night: #0b1d4f;
  --red: #d01a14; --red-deep: #8f0c09; --red-hi: #f2553e;
  --bone: #ece3d4; --bone-2: #d3c4b1; --bone-3: #a39380; --paper: #efe7d9;
  --ink: #141112; --ink-2: #2b2526; --steel: #b4b9c0;
  --display: Cinzel, "Trajan Pro", "Times New Roman", serif;
  --sans: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 64px);
  --max: 1360px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --out: cubic-bezier(.16, 1, .3, 1);
  --fg: var(--bone); --bg: var(--sky); --muted: rgba(236, 227, 212, .74); --line: rgba(236, 227, 212, .3); --accent: var(--red);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--sky); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }
body { margin: 0; min-height: 100vh; color: var(--fg); background: var(--sky); font: 400 clamp(16px, .9vw + 10px, 19px)/1.6 var(--sans); overflow-x: clip; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--accent); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; margin: 0 0 .5em; text-wrap: balance; overflow-wrap: break-word; }
p { margin: 0 0 1em; text-wrap: pretty; }
code { font-family: var(--mono); font-size: .86em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); } .small { font-size: .86rem; }

/* ---- Fields ------------------------------------------------------------------------------------ */
.sky-blue { --bg: var(--sky); }
.sky-deep { --bg: var(--sky-deep); }
.sky-night { --bg: var(--night); }
/* On vermilion the bone is lifted almost to white so small text keeps AA contrast. */
.sky-red { --bg: var(--red); --fg: #fff4e8; --accent: var(--ink); --muted: rgba(255, 244, 232, .92); --line: rgba(255, 244, 232, .5); }
.sky-paper, .sheet { --bg: var(--paper); --fg: var(--ink); --muted: #5f5650; --line: rgba(20, 17, 18, .18); --accent: var(--red); }
/* A game without a plate yet is a poster of type in its own colours (set by site.js from data-ink and data-glow). */
.plate:not([data-plate]) { --bg: var(--ink-game, var(--sky-deep)); }
.plate:not([data-plate]) .title { color: var(--glow-game, var(--bone)); }

/* ---- The arena canvas and the grain -------------------------------------------------------------- */
#arena { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 1; pointer-events: none; }
.arena-off #arena { display: none; }
.grain { position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: .42; mix-blend-mode: multiply; background-size: 240px 240px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .4 0 0 0 0 .38 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.site-header, .consent, .sheet, .band-head, .crumbs { position: relative; z-index: 2; }

/* ---- Header ------------------------------------------------------------------------------------ */
.skip { position: absolute; left: -999px; top: 8px; background: var(--bone); color: var(--ink); padding: .5em 1em; z-index: 50; }
.skip:focus { left: 8px; }
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 20; color: var(--bone); transition: color .5s var(--ease), background-color .5s var(--ease); }
html[data-tone="dark"] .site-header { color: var(--ink); }
.site-header.scrolled { background: var(--header-bg, transparent); }
.bar { margin: 0 auto; padding: 16px var(--gutter); display: flex; align-items: center; gap: clamp(14px, 3vw, 44px); }
.brand { display: inline-flex; align-items: center; gap: .6em; color: inherit; text-decoration: none; }
.brand .mark { width: 34px; height: 34px; }
.wordmark { font: 700 1.04rem/1 var(--display); letter-spacing: .34em; padding-top: .1em; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: clamp(16px, 2.6vw, 38px); margin: 0; padding: 0; }
.nav a { font: 500 .72rem/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: inherit; text-decoration: none; padding: .8em 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .3em; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--out); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.play { font: 600 .72rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: inherit; text-decoration: none; padding: .9em 1.2em; border: 1.5px solid currentColor; white-space: nowrap; transition: background-color .3s, color .3s; }
.play:hover { background: var(--bone); color: var(--ink); }
html[data-tone="dark"] .play:hover { background: var(--ink); color: var(--bone); }
.menu { display: none; }
@media (max-width: 900px) {
  .nav, .play { display: none; }
  .menu { display: block; margin-left: auto; }
  .menu summary { list-style: none; cursor: pointer; width: 46px; height: 46px; display: grid; place-content: center; gap: 7px; border: 1.5px solid currentColor; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu summary span { display: block; width: 18px; height: 2px; background: currentColor; transition: transform .35s var(--out); }
  .menu[open] summary span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu[open] summary span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .menu-sheet { position: fixed; inset: 78px 0 auto; background: var(--ink); color: var(--bone); padding: 14px var(--gutter) 30px; }
  .menu-sheet ol { list-style: none; margin: 0; padding: 0; }
  .menu-sheet a { display: flex; align-items: baseline; gap: 1em; padding: .5em 0; font: 800 2rem/1.1 var(--display); color: var(--bone); text-decoration: none; border-bottom: 1px solid rgba(236, 227, 212, .16); text-transform: uppercase; }
  .menu-sheet small { font: 500 .7rem var(--mono); color: var(--red-hi); width: 2.6em; letter-spacing: .12em; }
}
.crumbs { position: absolute; z-index: 3; top: 82px; left: 0; right: 0; padding: 0 var(--gutter); pointer-events: none; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .7em; margin: 0; padding: 0; font: 500 .66rem var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--bone); opacity: .8; }
html[data-tone="dark"] .crumbs ol, .reading .crumbs ol { color: var(--ink); }
.crumbs a { color: inherit; text-decoration: none; pointer-events: auto; }
.crumbs li + li::before { content: "/"; margin-right: .7em; opacity: .5; }

/* ---- Type and controls -------------------------------------------------------------------------- */
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: .9em; font: 500 .72rem/1.4 var(--mono); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.5rem; }
.title { font: 800 clamp(2.7rem, 7.2vw, 7.6rem)/.9 var(--display); letter-spacing: -.005em; text-transform: uppercase; margin: 0 0 .32em; }
.line { font: 400 clamp(1.08rem, 1.3vw, 1.34rem)/1.42 var(--sans); max-width: 30ch; margin: 0; }
.status { display: inline-flex; align-items: center; gap: .7em; font: 600 .72rem/1 var(--mono); letter-spacing: .24em; text-transform: uppercase; color: var(--fg); }
.status::before { content: ""; width: .62em; height: .62em; background: currentColor; }
.status.dev::before { animation: blink 1.2s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.chips { list-style: none; margin: 1.7rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { font: 500 .74rem/1 var(--mono); letter-spacing: .06em; border: 1.5px solid var(--line); padding: .72em .95em; }
.chips span { color: var(--muted); text-transform: uppercase; letter-spacing: .2em; font-size: .86em; margin-right: .35em; }
.btn { display: inline-flex; align-items: center; gap: .8em; font: 600 .74rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; padding: 1.15em 1.5em; border: 1.5px solid currentColor; color: var(--fg); background: transparent; cursor: pointer; transition: transform .35s var(--out), box-shadow .35s var(--out), background-color .3s, color .3s; }
.btn span { transition: transform .35s var(--out); }
.btn:hover { transform: translate(-3px, -3px); box-shadow: 3px 3px 0 currentColor; }
.btn:hover span { transform: translateX(4px); }
.btn:active { transform: none; box-shadow: none; }
.btn.primary { background: var(--red); border-color: var(--red); color: var(--bone); }
.btn.primary:hover { box-shadow: 3px 3px 0 var(--fg); }
.sky-red .btn.primary { background: var(--ink); border-color: var(--ink); }
.sky-paper .btn.primary:hover, .sheet .btn.primary:hover { box-shadow: 3px 3px 0 var(--ink); }
.btn.ghost { border-color: transparent; padding-inline: .3em; color: var(--muted); }
.btn.ghost:hover { color: var(--fg); box-shadow: none; transform: none; }
.btn.small { padding: .85em 1.1em; font-size: .68rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 2.2rem 0 0; }

/* ---- Plates ------------------------------------------------------------------------------------- */
/* A plate holds the screen: its backdrop and its copy are two sticky layers in one grid cell, so
   the backdrop can sit under the arena's canvas and the copy over it. */
.plate { position: relative; display: grid; grid-template-columns: 100%; min-height: 100svh; background: var(--bg); color: var(--fg); }
.plate.long { min-height: 136svh; }
.plate-back, .plate-front { grid-area: 1 / 1; position: sticky; top: 0; height: 100svh; }
.plate-back { z-index: 0; overflow: hidden; }
.plate-front { z-index: 2; display: flex; padding: 0 var(--gutter); pointer-events: none; }
.copy { position: relative; pointer-events: auto; }
.plate-art { position: absolute; aspect-ratio: 1; }
/* A slow push-in through a long plate's hold; the arena reads the art box, so the WebGL drawing follows. */
.plate.long .plate-art { scale: calc(1 + var(--p, 0) * .06); transform-origin: 50% 100%; }
.plate-art img { position: absolute; inset: 0; width: 100%; height: 100%; }
.plate-art img.bleed-2 { left: -200%; right: auto; width: 500%; max-width: none; }
.arena-pending .plate-art img, .arena-live .plate-art img { display: none; }
.disc { position: absolute; border-radius: 50%; aspect-ratio: 1; }
.disc.sun { background: radial-gradient(circle, #f46a45 0 16%, #e5381f 54%, #c9180f 100%); }
.disc.sun::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: repeating-conic-gradient(rgba(105, 4, 0, .34) 0 .5deg, transparent .5deg 1.6deg);
  -webkit-mask: radial-gradient(circle, transparent 0 20%, #000 72%); mask: radial-gradient(circle, transparent 0 20%, #000 72%); animation: turn 300s linear infinite; }
.disc.moon { background: radial-gradient(circle at 40% 36%, #f2f5fd 0 26%, #d6ddf3 62%, #b8c3e5 100%); }
.disc.moon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 63% 58%, rgba(120, 136, 186, .32) 0 9%, transparent 10%), radial-gradient(circle at 34% 64%, rgba(120, 136, 186, .26) 0 6%, transparent 7%), radial-gradient(circle at 58% 28%, rgba(120, 136, 186, .2) 0 5%, transparent 6%); }
@keyframes turn { to { transform: rotate(1turn); } }

/* The hero: the wordmark across the field, the helm in front of it, the sun behind. */
.giant { position: absolute; left: var(--gutter); top: 47%; margin: 0; transform: translateY(-50%); }
.giant-word { display: flex; font: 800 clamp(3.4rem, 11.4vw, 14rem)/.78 var(--display); color: var(--bone); letter-spacing: -.01em; }
.at-hero .plate-art { right: -1vw; bottom: 0; height: min(92svh, 60vw); }
.art-helm .disc { left: 41%; top: -1%; width: 58%; }
.at-hero .plate-front { align-items: flex-end; padding-bottom: clamp(28px, 9svh, 96px); }
.at-hero .copy { width: min(25rem, 38vw); }
.at-hero .line { font-size: clamp(1.1rem, 1.5vw, 1.45rem); }

/* Games and pages: art to one side, copy to the other. */
.at-left .plate-art, .at-right .plate-art, .at-log .plate-art, .at-contact .plate-art, .at-studio .plate-art { top: 50%; translate: 0 -50%; height: min(88svh, 54vw); }
.at-left .plate-art { left: 2vw; }
.at-right .plate-art, .at-log .plate-art, .at-studio .plate-art { right: 2vw; }
.at-contact .plate-art { right: 3vw; height: min(94svh, 50vw); }
.at-log .plate-art, .at-contact .plate-art { top: auto; bottom: 0; translate: none; }
.at-left .plate-front { justify-content: flex-end; align-items: center; }
.at-right .plate-front, .at-log .plate-front, .at-contact .plate-front, .at-studio .plate-front { align-items: center; }
.at-left .copy, .at-right .copy, .at-log .copy, .at-contact .copy, .at-studio .copy { width: min(36rem, 40vw); }
.art-temple .disc { left: 76%; top: 8%; width: 20%; }
.dispatches { list-style: none; margin: 1.8rem 0 0; padding: 0; border-top: 1.5px solid var(--line); max-width: 34rem; }
.dispatches a { display: grid; grid-template-columns: 9.5em 1fr; gap: 1em; padding: 1em 0; border-bottom: 1.5px solid var(--line); text-decoration: none; transition: padding .35s var(--out); }
.dispatches a:hover { padding-left: .5em; }
.dispatches time { font: 500 .7rem/1.7 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.dispatches span { font: 600 1.06rem/1.3 var(--sans); }
.mail-line { font: 700 clamp(1.3rem, 2.4vw, 2.1rem)/1.2 var(--display); letter-spacing: .02em; margin: .2em 0 0; overflow-wrap: anywhere; }
.mail-line a { text-decoration-thickness: 2px; text-underline-offset: .22em; }

@media (max-width: 900px) {
  .plate-back, .plate-front { height: 100svh; }
  .plate .plate-art { left: 50%; right: auto; top: max(64px, 8svh); bottom: auto; translate: -50% 0; width: min(100vw, 60svh); height: auto; }
  .at-hero .plate-art { width: min(100vw, 50svh); top: max(56px, 6svh); }
  .plate-front, .at-left .plate-front, .at-right .plate-front, .at-log .plate-front, .at-contact .plate-front, .at-studio .plate-front { align-items: flex-end; justify-content: flex-start; padding-bottom: max(24px, 5svh); }
  .copy, .at-hero .copy, .at-left .copy, .at-right .copy, .at-log .copy, .at-contact .copy, .at-studio .copy { width: 100%; }
  .copy::before { content: ""; position: absolute; inset: -16svh calc(-1 * var(--gutter)) calc(-1 * max(24px, 5svh)); z-index: -1; background: linear-gradient(to bottom, transparent, var(--bg) 34%); pointer-events: none; }
  .at-hero .copy::before { display: none; }
  /* The wordmark sits just under the bust, like the base it stands on. */
  .giant { top: calc(max(56px, 6svh) + min(100vw, 50svh) + 2.5vw); transform: none; }
  .giant-word { font-size: 17vw; }
  .title { font-size: clamp(2.4rem, 12vw, 4.4rem); }
  .actions { margin-top: 1.5rem; }
  .btn { padding: 1.05em 1.25em; }
}

/* ---- Bands and sheets ----------------------------------------------------------------------------- */
.band-head { background: var(--bg); color: var(--fg); padding: clamp(130px, 22vh, 220px) var(--gutter) clamp(40px, 8vh, 90px); }
.sheet { background: var(--paper); color: var(--ink); padding: clamp(64px, 12vh, 140px) var(--gutter) clamp(72px, 14vh, 160px); }
.sheet.narrow { padding-top: clamp(130px, 22vh, 220px); }
.sheet-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 340px); gap: clamp(32px, 6vw, 110px); align-items: start; }
.sheet-more { max-width: var(--max); margin: clamp(56px, 10vh, 110px) auto 0; }
@media (max-width: 900px) { .sheet-grid { grid-template-columns: 1fr; } }
.prose { max-width: 42rem; }
.narrow .prose { margin: 0 auto; }
.prose .lede, .lede { font: 500 clamp(1.2rem, 1.7vw, 1.55rem)/1.45 var(--sans); }
.prose h1 { font-size: clamp(1.9rem, 5.6vw, 4.6rem); text-transform: uppercase; font-weight: 800; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin-top: 1.7em; text-transform: uppercase; font-weight: 800; }
.prose ul { padding-left: 1.2em; } .prose li { margin: .45em 0; } .prose li::marker { color: var(--red); }
.prose blockquote { margin: 1.6em 0; padding: .1em 0 .1em 1.2em; border-left: 3px solid var(--red); font: italic 500 1.24em/1.45 var(--sans); }
.prose blockquote footer { font: 500 .7rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: .6em; }
.prose a { text-decoration-color: var(--red); }
.h-small { font: 600 .72rem/1.4 var(--mono); letter-spacing: .24em; text-transform: uppercase; color: var(--red); margin: 0 0 1em; }
.spec { position: sticky; top: 100px; border-top: 3px solid var(--ink); padding-top: 1.2em; }
.spec dl { margin: 0; }
.spec div { padding: .8em 0; border-bottom: 1.5px solid var(--line); }
.spec dt { font: 500 .64rem var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.spec dd { margin: .3em 0 0; font-weight: 600; }
.spec p { margin: 0 0 1.4em; }
.spec .h-small + p, .spec p + .h-small { margin-top: 0; }
.mail { font-weight: 700; }
.game-lines { list-style: none; padding: 0; margin: 0 0 2em; }
.game-lines li { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4em 1em; padding: 1em 0; border-bottom: 1.5px solid var(--line); }
.game-lines a { font: 800 1.5rem/1.1 var(--display); text-transform: uppercase; text-decoration: none; }
.game-lines .status { color: var(--ink); }

/* Devlog */
.post-list { display: grid; gap: 16px; margin-top: 1.4em; }
.post-list.wide { max-width: var(--max); margin: 0 auto; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); }
.post-card a { display: block; height: 100%; padding: 1.5em 1.5em 1.6em; border: 1.5px solid var(--ink); text-decoration: none; background: var(--paper); transition: transform .35s var(--out), box-shadow .35s var(--out); }
.post-card a:hover { transform: translate(-4px, -4px); box-shadow: 4px 4px 0 var(--red); }
.post-card h3 { margin: .5em 0 .45em; font-size: clamp(1.3rem, 1.8vw, 1.7rem); text-transform: uppercase; font-weight: 800; }
.post-card p { margin: 0; color: var(--muted); }
.post-card .meta, .post .meta { display: flex; flex-wrap: wrap; gap: .4em 1.1em; font: 500 .68rem/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.post-card .about { margin-top: 1em; font: 500 .68rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.post { padding-top: clamp(130px, 20vh, 200px); }
.post > * { max-width: 46rem; margin-left: auto; margin-right: auto; }
.post-head h1 { font-size: clamp(1.9rem, 5.4vw, 4.6rem); text-transform: uppercase; font-weight: 800; margin-bottom: .35em; }
.post .meta { color: var(--muted); margin-top: 1.4em; }
.post .prose { margin-top: 3em; font-size: 1.08em; }
.post-image img { width: 100%; height: auto; border: 1.5px solid var(--ink); }
.post-image figcaption { font: 500 .68rem var(--mono); color: var(--muted); margin-top: .6em; letter-spacing: .1em; }
.related, .corrections { margin-top: 3em; padding-top: 1.4em; border-top: 1.5px solid var(--line); }
.related ul, .corrections ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .7em; }
.related li { display: flex; align-items: center; gap: 1em; flex-wrap: wrap; }
.related .status { color: var(--ink); }

/* Contact */
.contact-form { display: grid; gap: 1.15em; }
.contact-form label { display: grid; gap: .5em; }
.contact-form label > span { font: 500 .68rem var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.contact-form small { text-transform: none; letter-spacing: 0; }
input, select, textarea { font: inherit; color: var(--ink); background: #f7f2e9; border: 1.5px solid var(--ink); border-radius: 0; padding: .85em 1em; min-height: 50px; width: 100%; transition: box-shadow .25s; }
input:focus, select:focus, textarea:focus { outline: none; box-shadow: 4px 4px 0 var(--red); }
textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 1.2em 1.4em; border: 1.5px solid var(--ink); background: #f7f2e9; }
.notice.bad { border-color: var(--red); color: var(--red-deep); }
.notice.good h2 { font-size: 2rem; text-transform: uppercase; }
.preview-flag { position: fixed; z-index: 30; left: 50%; top: 84px; transform: translateX(-50%); padding: .6em 1.2em; background: var(--bone); color: var(--ink); font: 600 .7rem var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.reading { background: var(--paper); }

/* ---- Footer --------------------------------------------------------------------------------------- */
/* The footer's field lies under the arena (it has no z-index) so the wordmark can be drawn in ink and
   particles; its frieze, links and fine print sit above the canvas. */
.site-footer { position: relative; background: var(--ink); color: var(--bone); overflow: hidden; }
.site-footer > .frieze, .site-footer > .fgrid, .site-footer > .fine { position: relative; z-index: 2; }
.frieze { height: clamp(92px, 11vw, 168px); overflow: hidden; background: var(--ink); }
.frieze-track { display: flex; height: 100%; width: max-content; animation: vase 140s linear infinite; }
.frieze-track img { height: 100%; width: auto; max-width: none; }
.frieze:hover .frieze-track { animation-duration: 420s; }
@keyframes vase { to { transform: translateX(-50%); } }
.fgrid { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 10vh, 110px) var(--gutter) 24px; display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 900px) { .fgrid { grid-template-columns: 1fr 1fr; } .fbrand { grid-column: 1 / -1; } }
.fbrand p { margin-top: 1.4em; }
.fcol h2 { font: 600 .68rem var(--mono); letter-spacing: .24em; text-transform: uppercase; color: var(--red-hi); margin: .6em 0 1.2em; }
.fcol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6em; }
.fcol a, .fbrand a { text-decoration: none; }
.fcol a:hover, .fbrand a:hover { text-decoration: underline; text-decoration-color: var(--red-hi); }
.footer-word { position: relative; z-index: 0; margin: clamp(20px, 6vh, 60px) 0 0; padding: 0 1.5vw; }
.word-art { margin: 0; text-align: center; font: 800 17.6vw/.86 var(--display); color: var(--red); letter-spacing: -.01em; white-space: nowrap; user-select: none; }
.arena-pending .word-art, .arena-live .word-art { color: transparent; }
.fine { position: relative; max-width: var(--max); margin: 0 auto; padding: 22px var(--gutter) 30px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font: 500 .68rem var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--bone-3); }
.fine a { color: inherit; }

/* ---- Consent ----------------------------------------------------------------------------------------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 45; max-width: 540px; margin-left: auto; padding: 18px 20px; display: grid; gap: 12px; background: var(--ink); color: var(--bone); border: 1.5px solid var(--bone); --fg: var(--bone); --muted: var(--bone-3); }
.consent[hidden] { display: none; }
.consent p { margin: 0; font-size: .92rem; } .consent div { display: flex; gap: 10px; }

/* ---- Motion ------------------------------------------------------------------------------------------ */
/* The hero assembles once the page is ready: the wordmark rises letter by letter and the sun turns up. */
.js .giant-word span { display: inline-block; animation: rise 1.25s var(--out) both; animation-play-state: paused; }
.js .at-hero .disc { animation: dawn 1.6s var(--out) both; animation-play-state: paused; }
.js .at-hero .copy { animation: lift 1.1s .55s var(--out) both; animation-play-state: paused; }
.arena-live .giant-word span, .arena-off .giant-word span, .arena-live .at-hero .disc, .arena-off .at-hero .disc, .arena-live .at-hero .copy, .arena-off .at-hero .copy { animation-play-state: running; }
.giant-word span:nth-child(2) { animation-delay: .05s; } .giant-word span:nth-child(3) { animation-delay: .1s; } .giant-word span:nth-child(4) { animation-delay: .15s; }
.giant-word span:nth-child(5) { animation-delay: .2s; } .giant-word span:nth-child(6) { animation-delay: .25s; } .giant-word span:nth-child(7) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(.42em); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
@keyframes dawn { from { opacity: 0; transform: translateY(14%) scale(.86); } to { opacity: 1; transform: none; } }
@keyframes lift { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
/* Copy in later plates rises into place when its plate arrives. */
.js .plate:not(.at-hero) .copy > * { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--out), transform .9s var(--out); }
.js .plate.in .copy > * { opacity: 1; transform: none; }
.js .plate.in .copy > :nth-child(2) { transition-delay: .07s; } .js .plate.in .copy > :nth-child(3) { transition-delay: .14s; }
.js .plate.in .copy > :nth-child(4) { transition-delay: .21s; } .js .plate.in .copy > :nth-child(5) { transition-delay: .28s; }
@media (prefers-reduced-motion: reduce) { .js .plate:not(.at-hero) .copy > * { opacity: 1; transform: none; } .js .giant-word span, .js .at-hero .disc, .js .at-hero .copy { animation: none; } }
