/* Shared by every public page, Quotid's included: fonts, tokens, reset, the header, the footer and
   the shared controls (.wrap .btn .square .skip). Dark only, by the owner's decision (2026-11-16).
   Headings and page rules live in studio.css; Quotid's body look lives in quotid.css, so nothing
   here may style bare headings or the class names Quotid's pages use (.hero .section .split .lead
   .muted .text-link .button). */
@font-face { font-family: Montserrat; src: url('/public-site/montserrat.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: Figtree; src: url('/public-site/figtree.woff2') format('woff2'); font-weight: 300 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #0a0a0c;
  --bg-2: #0e0e12;
  --panel: #111116;
  --panel-2: #17171d;
  --line: #24242b;
  --line-2: #33333b;
  --text: #ece6d9;
  --text-2: #c9c4b8;
  --muted: #9a968d;
  --gold: #c9973b;
  --gold-fill: #b8882f;
  --gold-fill-hover: #cc9a3d;
  --gold-ink: #14110a;
  --crimson: #7a1414;
  --focus: #f2cf85;
  --display: Montserrat, 'Segoe UI', system-ui, sans-serif;
  --sans: Figtree, 'Segoe UI', system-ui, sans-serif;
  --gutter: clamp(20px, 3.4vw, 48px);
  --width: 1344px;
  --head-height: 68px;
}

/* ---------- Reset and base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-height) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.6; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
main { display: block; }
img { max-width: 100%; height: auto; }
::selection { background: var(--gold-fill); color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.wrap { width: min(var(--width), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -100px; z-index: 30; padding: 10px 16px; background: var(--gold-fill); color: var(--gold-ink); font: 600 12px/1.3 var(--display); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Buttons: square corners, a long thin drawn arrow ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 46px; padding: 12px 24px 12px 26px; border: 1px solid transparent; border-radius: 0; font: 600 12px/1.2 var(--display); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.btn .arrow { flex: none; transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-bone { border-color: var(--text); background: var(--text); color: var(--gold-ink); }
.btn-bone:hover { border-color: #fff8ea; background: #fff8ea; }
.btn-outline { border-color: color-mix(in srgb, var(--text) 42%, transparent); background: transparent; color: var(--text); }
.btn-outline:hover { border-color: var(--text); background: color-mix(in srgb, var(--text) 6%, transparent); }
.btn-gold { border-color: var(--gold-fill); background: var(--gold-fill); color: var(--gold-ink); }
.btn-gold:hover { border-color: var(--gold-fill-hover); background: var(--gold-fill-hover); }
.btn-small { min-height: 38px; padding: 9px 18px; font-size: 11px; }
.btn:focus-visible, .square:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.square { display: inline-grid; place-items: center; flex: none; width: 48px; height: 48px; background: var(--gold-fill); color: var(--gold-ink); transition: background-color .2s; }
.square:hover { background: var(--gold-fill-hover); }
.square svg { transition: transform .2s; }
.square:hover svg { transform: translateY(2px); }
.square[aria-label^="Back"]:hover svg { transform: translateY(-2px); }

/* ---------- Wordmark: the full mark, then HOM over STUDIO ---------- */
.brand { display: inline-flex; align-items: center; gap: 16px; color: var(--text); text-decoration: none; }
.brand-mark { flex: none; width: 32px; height: 32px; color: var(--text); }
.brand-word { display: flex; flex-direction: column; font: 700 13px/1.2 var(--display); letter-spacing: .3em; text-transform: uppercase; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.site-head .wrap { display: flex; align-items: center; gap: 12px 24px; min-height: var(--head-height); padding-block: 10px; }
.site-nav { display: flex; gap: 4px; margin-inline-start: auto; }
.site-nav a { position: relative; padding: 12px 15px; color: var(--text-2); font: 600 11.5px/1.2 var(--display); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; transition: color .2s; }
.site-nav a::after { content: ''; position: absolute; left: 15px; right: calc(15px + .2em); bottom: 4px; height: 2px; background: var(--gold-fill); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.site-nav a:hover { color: var(--text); }
.site-nav a[aria-current] { color: var(--text); }
.site-nav a[aria-current]::after { transform: none; }
.head-login { margin-inline-start: 18px; }

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--line); background: var(--bg); font-size: 14px; }
.site-foot .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; padding-block: 36px; }
.foot-mark { display: inline-flex; color: var(--muted); }
.foot-mark svg { width: 28px; height: 28px; }
.foot-mark:hover { color: var(--text); }
.foot-copy { margin: 0; color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 0; list-style: none; }
.foot-links a { color: var(--text-2); text-decoration: none; }
.foot-links a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.site-foot .square { margin-inline-start: auto; }

@media (max-width: 900px) {
  .site-nav a { padding-inline: 10px; }
  .site-nav a::after { left: 10px; right: calc(10px + .2em); }
  .head-login { margin-inline-start: 8px; }
}
@media (max-width: 760px) {
  :root { --head-height: 108px; }
  body { font-size: 16px; }
  .site-head .wrap { flex-wrap: wrap; gap: 6px 12px; padding-block: 12px 4px; }
  .brand { gap: 12px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-word { font-size: 12px; }
  .head-login { margin-inline-start: auto; }
  .site-nav { order: 3; width: calc(100% + 16px); justify-content: space-between; margin: 0 -8px; }
  .site-nav a { padding: 12px 8px; font-size: 11px; letter-spacing: .14em; }
  .site-nav a::after { left: 8px; right: calc(8px + .14em); bottom: 5px; }
  .site-foot .wrap { padding-block: 28px; }
  .foot-links { order: 4; width: 100%; gap: 10px 22px; }
  .site-foot .square { order: 3; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn .arrow, .square, .square svg, .site-nav a, .site-nav a::after { transition: none; }
}
/* The studio's pages (not Quotid's). Tokens, header, footer and buttons are in shell.css. */

/* ---------- Type ---------- */
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; line-height: 1; letter-spacing: -.01em; text-transform: uppercase; color: var(--text); text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 4.4vw + .5rem, 4.75rem); line-height: .94; }
h2 { font-size: clamp(1.9rem, 2.2vw + .9rem, 2.75rem); }
h3 { font-size: clamp(1.25rem, .8vw + .9rem, 1.6rem); line-height: 1.1; }
p { margin: 0; }
.label { display: block; margin: 0 0 18px; color: var(--gold); font: 600 12px/1.4 var(--display); letter-spacing: .2em; text-transform: uppercase; }
.lead { max-width: 38em; color: var(--text-2); font-size: clamp(1.06rem, .3vw + 1rem, 1.18rem); line-height: 1.6; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; }
.text-link { display: inline-flex; align-items: center; gap: 14px; padding-block: 6px; color: var(--text); font: 600 12px/1.3 var(--display); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; }
.text-link .arrow { transition: transform .2s; }
.text-link:hover { color: var(--gold); }
.text-link:hover .arrow { transform: translateX(4px); }
.text-link.back:hover .arrow { transform: translateX(-4px); }
.tag { display: inline-block; padding: 4px 9px 3px; border: 1px solid var(--line-2); color: var(--text-2); font: 600 10.5px/1.3 var(--display); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.prose { max-width: 40em; color: var(--text-2); font-size: 18px; line-height: 1.7; }
.prose p + p { margin-top: 1.1em; }
.prose a:not(.text-link) { color: var(--text); text-underline-offset: 4px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 32px 8%; align-items: start; }
.section { padding-block: clamp(72px, 8vw, 120px); }
.section + .section { padding-top: 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px 32px; margin-bottom: 40px; }

/* ---------- Hero: the taiko drum behind the headline ---------- */
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(600px, calc(100svh - 140px), 880px); overflow: hidden;
  background: radial-gradient(42% 68% at 100% 46%, color-mix(in srgb, var(--crimson) 42%, transparent), transparent 72%), var(--bg); }
.drum { --drum-x: -50%; --drum-y: -50%; position: absolute; z-index: -2; left: 50%; top: 52%; height: min(121%, 66vw); aspect-ratio: 1; transform: translate(var(--drum-x), var(--drum-y)); }
.drum-art { display: block; width: 100%; height: 100%; }
/* The painted drum: its skin (940 of 1672 x 941 px, centred at 840, 465) is as tall as the drawn one,
   dimmed, and its picture edges fade out so no rectangle shows on wide screens. */
.drum-photo { --drum-x: -50.24%; --drum-y: -49.4%; height: min(109%, 58vw); aspect-ratio: 1672 / 941;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 5%, #000 95%, transparent); mask-composite: intersect; }
.drum-picture { filter: brightness(.64) saturate(.85); }
.drum-ink { mix-blend-mode: multiply; opacity: .93; }
.drum-tacks { fill: none; stroke: #4a4134; stroke-width: 9; stroke-linecap: round; }
.drum-tacks-light { fill: none; stroke: #8c7d5f; stroke-width: 3.6; stroke-linecap: round; opacity: .55; }
.drum-clouds { opacity: .7; }
.drum-grain { mix-blend-mode: overlay; opacity: .42; }
.drum-mark { color: #1a1715; }
.drum-drawn .drum-mark { color: #0e0d0e; }
.drum-mark .mark-dot { fill: url(#drum-dot); }
/* Everything fades to black toward the bottom and the left. */
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to top, var(--bg) 0, color-mix(in srgb, var(--bg) 88%, transparent) 12%, color-mix(in srgb, var(--bg) 30%, transparent) 36%, transparent 54%),
              linear-gradient(to right, color-mix(in srgb, var(--bg) 82%, transparent) 0, color-mix(in srgb, var(--bg) 52%, transparent) 24%, transparent 48%),
              linear-gradient(to bottom, color-mix(in srgb, var(--bg) 40%, transparent), transparent 14%); }
.hero-inner { padding-block: 120px 0; }
.hero .label { width: fit-content; margin-bottom: 30px; text-shadow: 0 1px 10px rgb(10 10 12 / .9); }
.hero h1 { max-width: 11em; font-size: clamp(2.75rem, 4.6vw + .3rem, 4.75rem); line-height: .92; text-shadow: 0 2px 30px rgb(10 10 12 / .35); }
.hero h1 span { display: block; }
.hero-lead { max-width: 30em; margin-top: 28px; color: var(--text-2); font-size: 18px; text-shadow: 0 1px 12px rgb(10 10 12 / .8); }
.hero .actions { margin-top: 36px; }
.hero .square { margin-top: 56px; }

/* ---------- Our games: one wide panel ---------- */
.game { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line); background: var(--panel); }
.game-art { position: relative; margin: 0; overflow: hidden; background: #000; aspect-ratio: 1619 / 971; }
.game-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.game-art figcaption { position: absolute; inset: auto 0 0; padding: 32px 20px 12px; background: linear-gradient(to top, rgb(0 0 0 / .88), rgb(0 0 0 / .6) 60%, transparent); color: var(--text-2); font-size: 13px; line-height: 1.45; }
.game-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 56px) clamp(24px, 3.4vw, 48px); }
.game-title { font-size: clamp(2rem, 2.4vw + 1rem, 3rem); line-height: 1; }
.game-summary { max-width: 36em; margin-top: 22px; color: var(--text-2); font-size: 17px; }
.game .actions { margin-top: 32px; }
.game-large { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.game-large .game-art { aspect-ratio: auto; min-height: 100%; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0 24px; margin: 28px 0 0; border-top: 1px solid var(--line); font-size: 15px; }
.facts div { display: contents; }
.facts dt, .facts dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--gold); font: 600 11px/1.9 var(--display); letter-spacing: .2em; text-transform: uppercase; }
.facts dd { color: var(--text-2); }
.facts cite { font-style: italic; }

/* ---------- Who we are ---------- */
.who { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; gap: 48px 6%; }
.who-copy p { max-width: 40em; margin-top: 28px; color: var(--text-2); font-size: 17px; line-height: 1.65; }
.who-copy .btn { margin-top: 36px; }
.who-mark { justify-self: center; width: min(100%, 380px); color: var(--text); }
.who-mark svg { display: block; width: 100%; height: auto; }

/* ---------- What we believe ---------- */
.beliefs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 52px 0 0; padding: 0; list-style: none; }
.belief { padding-top: 34px; border-top: 1px solid var(--line); }
.belief-top { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.belief-glyph { width: 40px; height: 40px; color: var(--text); }
.belief-num { color: var(--gold); font: 600 11px/1 var(--display); letter-spacing: .2em; }
.belief h3 { font-size: clamp(1.3rem, .6vw + 1rem, 1.6rem); }
.belief p { margin-top: 18px; color: var(--text-2); font-size: 16px; line-height: 1.6; }

/* ---------- Get the devlog ---------- */
.devlog-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px 48px; padding: clamp(32px, 4.4vw, 60px) clamp(24px, 4.4vw, 64px); border: 1px solid var(--line);
  background: radial-gradient(60% 150% at 92% 50%, color-mix(in srgb, var(--crimson) 40%, transparent), transparent 75%), var(--panel); }
.cta-copy h2 { font-size: clamp(1.75rem, 1.4vw + 1rem, 2.25rem); }
.cta-copy p { margin-top: 14px; color: var(--text-2); }

/* ---------- Inner-page opener ---------- */
.opener { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(72px, 9vw, 128px) clamp(56px, 6vw, 88px); border-bottom: 1px solid var(--line);
  background: radial-gradient(40% 90% at 100% 40%, color-mix(in srgb, var(--crimson) 34%, transparent), transparent 75%), var(--bg); }
.opener-mark { position: absolute; z-index: -1; right: 2%; top: 50%; width: min(36vw, 460px); transform: translateY(-50%); color: var(--text); opacity: .05; }
.opener-mark svg { display: block; width: 100%; height: auto; }
.opener-mark .mark-dot { opacity: .9; }
.opener h1 { max-width: 13em; }
.opener .lead { margin-top: 26px; }
.opener + .section { padding-top: clamp(48px, 6vw, 80px); }
.opener-entry h1 { max-width: 16em; font-size: clamp(2.25rem, 3.4vw + .6rem, 4rem); }
.founder-role { margin-top: 18px; color: var(--text); font: 600 13px/1.5 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 36px; color: var(--muted); font: 600 11px/1.4 var(--display); letter-spacing: .16em; text-transform: uppercase; }
.breadcrumbs a { color: var(--text-2); text-decoration: none; }
.breadcrumbs a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.breadcrumbs [aria-current] { color: var(--text); }

/* ---------- Founders ---------- */
.founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.founder { position: relative; overflow: hidden; padding: clamp(28px, 3.4vw, 44px); border: 1px solid var(--line); background: var(--panel); }
.founder-sigil { position: absolute; top: 20px; right: 28px; color: var(--text); font: 900 6rem/1 var(--display); opacity: .06; pointer-events: none; }
.founder .label { margin-bottom: 14px; }
.founder h3 { font-size: clamp(1.5rem, 1vw + 1rem, 2rem); }
.founder h3 a { color: inherit; text-decoration: none; }
.founder h3 a:hover { color: var(--gold); }
.founder-bio { margin-top: 16px; color: var(--text-2); }
.past-work { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.past-work-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 10px; }
.past-work-head a { color: var(--gold); font: 600 12px/1.4 var(--display); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.past-work-head a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Founder profile ---------- */
.previous-work .label { margin-bottom: 22px; }
.work-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px 8%; padding: clamp(28px, 4vw, 52px); border: 1px solid var(--line); background: var(--panel); }
.work-card img { display: block; width: 72px; height: 72px; margin-bottom: 22px; border-radius: 22%; }
.attribution { margin-top: 12px; color: var(--muted); font-size: 15px; }
.work-lead { color: var(--text); font-size: 18px; }
.work-card .muted { margin-top: 14px; }
.work-card .btn { margin-top: 28px; }

/* ---------- News ---------- */
.news { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.news-card { padding: clamp(26px, 3.4vw, 44px); border: 1px solid var(--line); background: var(--panel); transition: border-color .2s; }
.news-card:hover { border-color: var(--line-2); }
.news-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 16px; color: var(--gold); font: 600 11.5px/1.4 var(--display); letter-spacing: .2em; text-transform: uppercase; }
.news-meta time { color: var(--muted); }
.news-title { font-size: clamp(1.5rem, 1.4vw + 1rem, 2.25rem); }
.news-title a { color: inherit; text-decoration: none; }
.news-title a:hover { color: var(--gold); }
.news-excerpt { max-width: 46em; margin-top: 16px; color: var(--text-2); }
.news-card .text-link { margin-top: 20px; }
.entry { max-width: 46em; }
.entry-note { margin-bottom: 32px; padding: 14px 18px; border-left: 2px solid var(--gold-fill); background: var(--panel); color: var(--text-2); font-size: 15px; }
.entry-foot { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Contact tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.tile { position: relative; display: flex; flex-direction: column; height: 100%; min-height: 220px; padding: 28px; border: 1px solid var(--line); background: var(--panel); color: var(--text); text-decoration: none; transition: border-color .2s, background-color .2s; }
.tile:hover { border-color: var(--line-2); background: var(--panel-2); }
.tile-icon { color: var(--gold); }
.tile-label { margin-top: auto; padding-top: 32px; font: 800 20px/1.1 var(--display); text-transform: uppercase; }
.tile-detail { margin-top: 8px; color: var(--text-2); font-size: 15px; overflow-wrap: anywhere; }
.tile .arrow { position: absolute; top: 34px; right: 28px; color: var(--muted); transition: transform .2s, color .2s; }
.tile:hover .arrow { color: var(--text); transform: translateX(4px); }

/* ---------- 404 ---------- */
.choices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.choices a { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 24px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font: 700 15px/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.choices a:hover { border-color: var(--line-2); background: var(--panel-2); }
.choices .arrow { margin-left: auto; color: var(--muted); }
.choice-num { width: 100%; color: var(--gold); font-size: 11px; letter-spacing: .2em; }

/* ---------- The ident: commas one by one, the ensō sweeps in, the dot travels out, then the name ---------- */
.ident-screen { position: relative; display: grid; place-items: center; min-height: 100svh; padding: 88px 24px; background: radial-gradient(50% 50% at 50% 46%, color-mix(in srgb, var(--crimson) 16%, transparent), transparent 80%), var(--bg); }
.ident-back { position: absolute; top: 24px; left: var(--gutter); }
.ident-stage { display: grid; justify-items: center; gap: clamp(24px, 4vh, 40px); }
.ident-mark { display: block; width: clamp(160px, 30vmin, 300px); height: auto; color: var(--text); overflow: visible; }
.ident-word { display: flex; gap: .5em; font-size: clamp(1.1rem, 2.4vmin + .5rem, 1.9rem); font-weight: 700; letter-spacing: .34em; line-height: 1; margin-right: -.34em; }
@media (prefers-reduced-motion: no-preference) {
  .ident-mark .mark-comma { transform-box: fill-box; transform-origin: 50% 50%; animation: ident-comma .6s cubic-bezier(.2, .7, .3, 1) both; }
  .ident-mark .mark-comma:nth-child(1) { animation-delay: .4s; }
  .ident-mark .mark-comma:nth-child(2) { animation-delay: .75s; }
  .ident-mark .mark-comma:nth-child(3) { animation-delay: 1.1s; }
  .ident-mark .mark-core { animation: ident-turn 4.2s cubic-bezier(.3, 0, .2, 1) .4s both; }
  .ident-mark .enso-sweep { animation: ident-sweep 1.15s cubic-bezier(.55, .1, .35, 1) 2.1s both; }
  .ident-mark .mark-dot { transform-box: fill-box; transform-origin: center; animation: ident-dot 1.1s cubic-bezier(.3, .6, .25, 1.15) 3.25s both; }
  .ident-word { animation: ident-word 1.2s ease-out 4.4s both; }
  .ident-back { animation: ident-word .8s ease-out 5.2s both; }
}
@keyframes ident-comma { from { opacity: 0; transform: scale(.4) rotate(-40deg); } to { opacity: 1; transform: none; } }
@keyframes ident-turn { from { transform: rotate(-120deg); } to { transform: none; } }
@keyframes ident-sweep { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
/* The dot starts at the centre of the commas and travels out to its place. */
@keyframes ident-dot { 0% { opacity: 0; transform: translate(-118px, 92px) scale(.3); } 20% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes ident-word { from { opacity: 0; letter-spacing: .6em; } to { opacity: 1; } }

/* ---------- Motion: CSS only; everything is visible when it does not run ---------- */
@media (prefers-reduced-motion: no-preference) {
  .drum { animation: drum-in 1.8s cubic-bezier(.2, .6, .2, 1) both; }
  .who-mark .mark-core { animation: turn 90s linear infinite; }
}
@keyframes drum-in { from { opacity: 0; transform: translate(var(--drum-x), var(--drum-y)) scale(1.04); } to { opacity: 1; transform: translate(var(--drum-x), var(--drum-y)); } }
@keyframes turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .text-link .arrow, .tile, .tile .arrow, .news-card { transition: none; }
}

/* ---------- Tablet and phone ---------- */
@media (max-width: 1100px) {
  .tiles, .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-large { grid-template-columns: minmax(0, 1fr); }
  .game-large .game-art { aspect-ratio: 1619 / 971; min-height: 0; }
}
@media (max-width: 900px) {
  .game { grid-template-columns: minmax(0, 1fr); }
  .who { grid-template-columns: minmax(0, 1fr); }
  .who-mark { justify-self: start; width: min(56%, 220px); grid-row: 1; }
  .beliefs { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 36px; }
  .belief { padding-block: 28px 32px; }
  .devlog-cta { grid-template-columns: minmax(0, 1fr); background: radial-gradient(90% 70% at 90% 100%, color-mix(in srgb, var(--crimson) 40%, transparent), transparent 75%), var(--panel); }
  .founders, .split, .work-card { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .hero { min-height: calc(100svh - var(--head-height)); }
  .drum { top: 25%; left: 54%; height: auto; width: 125vw; opacity: .7; }
  .drum-photo { width: 222vw; }
  .hero::after { background: linear-gradient(to top, var(--bg) 0, color-mix(in srgb, var(--bg) 92%, transparent) 40%, color-mix(in srgb, var(--bg) 55%, transparent) 64%, color-mix(in srgb, var(--bg) 25%, transparent) 100%); }
  .hero-inner { padding-block: 200px 28px; }
  .hero .label { margin-bottom: 20px; }
  .hero h1 { font-size: clamp(2.5rem, 11.5vw, 3.4rem); }
  .hero-lead { font-size: 17px; margin-top: 22px; }
  .hero .actions { margin-top: 28px; }
  .hero .square { margin-top: 36px; }
  .actions .btn { flex: 1 1 100%; justify-content: space-between; }
  .section-head .btn { flex: none; }
  .game-copy { padding: 28px 22px 30px; }
  .game-art { aspect-ratio: auto; }
  .game-art img { aspect-ratio: 1619 / 971; height: auto; }
  .game-art figcaption { position: static; padding: 10px 14px 12px; background: #000; font-size: 12.5px; }
  .game-summary { font-size: 16px; }
  .opener-mark { right: -30%; width: 90vw; }
  .tiles, .choices { grid-template-columns: minmax(0, 1fr); }
  .tile { min-height: 0; }
  .tile-label { padding-top: 20px; }
  .prose { font-size: 17px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts dt { padding-bottom: 0; border-bottom: 0; }
  .facts dd { padding-top: 2px; }
}
