/* ═══════════════════════════════════════════════════════════════
   site.css — the studio pages of games.krk.today (not game pages).
   Tokens come from shell.css. Dark premium: charcoal and navy, steel-
   blue accents, editorial serif headings; game art brings the colour.
   Design notes: docs/design-system.md.
═══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); -webkit-text-size-adjust: 100%; background: var(--color-bg); }
body {
  margin: 0; background: var(--color-bg); color: var(--color-text);
  font: 400 1.0625rem/1.65 var(--font-ui); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--color-text); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: 4px; }
p, h1, h2, h3, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, .display {
  font-family: var(--font-display); font-weight: 440; letter-spacing: -.02em; line-height: 1.04;
  font-variation-settings: 'SOFT' 0, 'WONK' 0; font-optical-sizing: auto; text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); }

.wrap { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--color-text-muted); }
.lead { font-size: clamp(1.08rem, 1.3vw, 1.22rem); line-height: 1.6; color: var(--color-text-muted); max-width: 60ch; }
.kicker { font: 600 .75rem/1.2 var(--font-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--color-accent); }
.note, .empty { color: var(--color-text-muted); max-width: 64ch; }

/* ─── buttons, links ─── */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: 0 20px; border-radius: var(--radius-xs);
  font: 600 .95rem/1 var(--font-ui); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; transition: background-color .2s, border-color .2s, color .2s;
}
.btn-primary { background: var(--color-text); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-strong); color: var(--color-bg); }
.btn-secondary { border-color: var(--color-border); color: var(--color-text); background: rgb(11 15 22 / 0.4); }
.btn-secondary:hover { border-color: var(--color-accent); color: var(--color-text); }
.store-badge { display: inline-flex; border-radius: 8px; transition: transform .2s var(--ease), opacity .2s; }
.store-badge img { display: block; height: 46px; width: auto; }
.store-badge, .store-badge img { cursor: pointer; -webkit-user-select: none; user-select: none; }
.store-badge:hover { transform: translateY(-1px); opacity: .9; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: var(--color-text); text-decoration: none; }
.link-arrow::after { content: '→'; color: var(--color-accent); transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }
.link-back::after { content: none; }
.link-back::before { content: '←'; color: var(--color-accent); }

.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px 5px 9px;
  border: 1px solid var(--color-border); border-radius: var(--radius-xs);
  font: 600 .8rem/1.2 var(--font-ui); color: var(--color-text); background: rgb(11 15 22 / 0.55); white-space: nowrap;
}
.badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--color-status-dev); flex: none; }
.badge--available::before { background: var(--color-status-available); }
.badge--coming_soon::before { background: var(--color-status-soon); }

/* ─── sections ─── */
.section { padding: var(--space-section) 0; }
.section--tight { padding: clamp(48px, 6vw, 88px) 0; }
.section + .section--tight, .page-head + .section, .page-head + .section--tight { padding-top: 0; }
.sec-head { max-width: 820px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head .lead { margin-top: 20px; }
.sec-head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sec-title { font-family: var(--font-ui); font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--color-text-faint); margin-bottom: 28px; line-height: 1.3; }
.split-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
.split-in h2 { margin-top: 12px; }
.split-in .lead { margin-bottom: 24px; }

/* ─── breadcrumbs, page heads ─── */
.crumbs { padding-top: 28px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--color-text-faint); }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--color-border); }
.crumbs a { color: var(--color-text-muted); text-decoration: none; }
.crumbs a:hover { color: var(--color-text); text-decoration: underline; }
.crumbs [aria-current] { color: var(--color-text); }
.page-head { padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--color-border-soft); margin-bottom: clamp(40px, 5vw, 72px); }
.page-head h1 { margin-bottom: 20px; }
.statement { font-family: var(--font-display); font-weight: 380; font-size: clamp(1.5rem, 2.8vw, 2.4rem); line-height: 1.25; letter-spacing: -.01em; max-width: 30ch; color: var(--color-text); font-variation-settings: 'SOFT' 0, 'WONK' 0; }

/* ─── studio hero: one angled slice of real art per public game ─── */
.studio-hero { position: relative; isolation: isolate; min-height: clamp(520px, 70vh, 760px); display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid var(--color-border-soft); margin-bottom: clamp(48px, 6vw, 88px); }
.studio-hero-art {
  position: absolute; top: 0; bottom: 0; right: 0; left: 36%; z-index: -1; display: flex;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}
.studio-slice { position: relative; flex: 1 1 0; min-width: 0; display: block; overflow: hidden; margin-left: -7%; clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%); color: var(--color-text); text-decoration: none; }
.studio-slice:first-child { margin-left: 0; clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%); }
.studio-slice:last-child { clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.studio-slice picture, .studio-slice img { position: absolute; inset: 0; width: 100%; height: 100%; }
.studio-slice img { object-fit: cover; transition: transform .8s var(--ease), filter .4s; filter: saturate(.9) brightness(.85); }
.studio-slice:hover img, .studio-slice:focus-visible img { transform: scale(1.03); filter: none; }
.studio-slice::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(11 15 22 / 0.85) 0%, rgb(11 15 22 / 0) 45%); }
.studio-slice-label { position: absolute; z-index: 1; left: 22%; right: 18%; bottom: 28px; display: grid; gap: 2px; }
.studio-slice:last-child .studio-slice-label { right: 10%; }
.studio-slice-title { font: 440 clamp(1.3rem, 2vw, 1.8rem)/1.1 var(--font-display); font-variation-settings: 'SOFT' 0, 'WONK' 0; }
.studio-slice-genre { font-size: .88rem; color: var(--color-text-muted); }
.studio-slice .dev-mark { left: auto; right: 22%; top: 22px; }
.studio-slice:first-child .studio-slice-label { left: 30%; }   /* clear of the left fade */
.studio-slice:focus-visible { outline: none; }
.studio-slice:focus-visible .studio-slice-title { text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 5px; }
.studio-hero-text { width: 100%; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.studio-hero-text > * { max-width: min(560px, 42vw); }
.studio-hero-text h1 { margin-bottom: 22px; }
.studio-hero .statement { text-shadow: 0 2px 18px var(--color-bg); }
@media (max-width: 860px) {
  .studio-hero { display: block; min-height: 0; }
  .studio-hero-art { position: relative; left: 0; height: clamp(220px, 58vw, 420px); -webkit-mask-image: none; mask-image: none; }
  .studio-hero-text { padding-top: 32px; }
  .studio-hero-text > * { max-width: none; }
  .studio-slice-label { bottom: 16px; }
  .studio-slice:first-child .studio-slice-label { left: 6%; }
  .studio-slice .dev-mark { right: 12%; top: 14px; font-size: .6rem; padding: 5px 7px 4px; letter-spacing: .14em; }
}

/* ─── home: featured hero ─── */
.hero { position: relative; isolation: isolate; min-height: clamp(560px, 88vh, 940px); display: flex; align-items: flex-end; overflow: hidden; background: var(--color-bg-deep); }
.hero-media, .hero-media picture, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -1; }
.hero-media img { object-fit: cover; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgb(11 15 22 / 0.94) 0%, rgb(11 15 22 / 0.78) 30%, rgb(11 15 22 / 0.2) 58%, rgb(11 15 22 / 0) 72%),
    linear-gradient(0deg, var(--color-bg) 0%, rgb(11 15 22 / 0) 28%);
}
.hero-content { position: relative; width: 100%; padding-top: 96px; padding-bottom: clamp(56px, 8vw, 120px); }
.hero-content > * { max-width: 600px; }
.hero-title { display: flex; align-items: center; gap: 18px; margin: 18px 0 22px; }
.hero-title img { width: 72px; height: 72px; border-radius: 17px; box-shadow: 0 10px 30px rgb(0 0 0 / 0.45); flex: none; }
.hero-genre { font: 500 1rem/1.2 var(--font-ui); color: var(--color-text-muted); margin-bottom: 4px; }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); font-weight: 420; }
.hero-tagline { font-family: var(--font-display); font-style: italic; font-weight: 380; font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.25; margin-bottom: 14px; }
.hero-summary { color: var(--color-text-muted); max-width: 52ch; margin-bottom: 26px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-bottom: 30px; color: var(--color-text-muted); font-size: .95rem; }

@media (max-width: 700px) {
  .hero { display: block; min-height: 0; background: var(--color-bg); }
  .hero-media { position: relative; z-index: 0; aspect-ratio: 4 / 5; max-height: 72vh; width: 100%; }
  .hero-media picture, .hero-media img { position: absolute; }
  .hero-media img { object-position: 50% 70% !important; }
  .hero-media::after { background: linear-gradient(0deg, var(--color-bg) 0%, rgb(11 15 22 / 0) 40%); }
  .hero-content { padding-top: 0; margin-top: -56px; padding-bottom: 64px; }
  .hero-title img { width: 60px; height: 60px; border-radius: 14px; }
}

/* ─── home: one-game spread (several games use .tiles) ─── */
.spread { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.spread-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 22px); align-items: start; }
.spread-shots li:nth-child(2) { margin-top: clamp(-40px, -3vw, -16px); transform: translateY(-8%); }
.spread-shots li:nth-child(odd) { margin-top: 8%; }
.spread-shots a, .shot { display: block; border-radius: clamp(14px, 2vw, 26px); overflow: hidden; border: 1px solid var(--color-border); background: var(--color-surface); box-shadow: var(--shadow-panel); }
.spread-shots img { width: 100%; transition: transform .5s var(--ease); }
.spread-shots a:hover img { transform: scale(1.03); }
.spread-info h3 { font-size: clamp(2rem, 3.4vw, 2.9rem); margin: 12px 0 16px; }
.spread-info h3 a, .tile-title a, .game-row h3 a, .post-title a { color: inherit; text-decoration: none; }
.spread-info h3 a:hover, .tile-title a:hover, .game-row h3 a:hover, .post-title a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 6px; }
.spread-text { color: var(--color-text-muted); margin-bottom: 28px; max-width: 52ch; }

/* ─── fact lists ─── */
.facts { display: grid; margin-bottom: 32px; border-top: 1px solid var(--color-border-soft); }
.facts > div { display: grid; grid-template-columns: minmax(110px, 2fr) minmax(0, 5fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--color-border-soft); font-size: .95rem; }
.facts dt { color: var(--color-text-faint); }
.facts dd { color: var(--color-text); overflow-wrap: anywhere; }
.facts--company { margin-bottom: 0; }

/* ─── tiles (studio projects, related, several games on home) ─── */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 32px; }
.tiles--compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); }
.tile { display: grid; gap: 18px; }
.tile-media { display: block; aspect-ratio: 16 / 9; border-radius: var(--radius-md); overflow: hidden; background: var(--color-surface); border: 1px solid var(--color-border-soft); }
.tile-media picture, .tile-media img { width: 100%; height: 100%; }
.tile-media img { object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover .tile-media img { transform: scale(1.03); }
.tile-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; color: var(--color-text-muted); font-size: .9rem; }
.tile-title { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin: 4px 0 6px; }

/* ─── "Under development" stamp on the art of an unfinished game ─── */
.tile-media, .game-row-media { position: relative; }
.dev-mark {
  position: absolute; left: 14px; top: 14px; z-index: 1;
  padding: 6px 10px 5px; border: 2px solid var(--color-status-soon); border-radius: 4px;
  font: 800 .72rem/1 var(--font-ui); letter-spacing: .18em; text-transform: uppercase;
  color: var(--color-status-soon); background: rgb(11 15 22 / 0.78);
  transform: rotate(-3deg); box-shadow: 0 6px 18px rgb(0 0 0 / 0.35);
}
.badge--in_development::before { background: var(--color-status-soon); }

/* ─── games page ─── */
.game-group + .game-group { margin-top: var(--space-section); }
.group-h { font-family: var(--font-ui); font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--color-text-faint); margin-bottom: 28px; display: flex; align-items: center; gap: 12px; }
.count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border: 1px solid var(--color-border); border-radius: var(--radius-xs); font-size: .75rem; letter-spacing: 0; color: var(--color-text-muted); }
.game-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: start; padding-bottom: clamp(40px, 5vw, 72px); }
.game-row + .game-row { border-top: 1px solid var(--color-border-soft); padding-top: clamp(40px, 5vw, 72px); }
.game-row-media { display: block; aspect-ratio: 16 / 10; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--color-border-soft); background: var(--color-surface); }
.game-row-media picture, .game-row-media img { width: 100%; height: 100%; }
.game-row-media img { object-fit: cover; transition: transform .6s var(--ease); }
.game-row:hover .game-row-media img { transform: scale(1.03); }
.game-row-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.game-row-head img { width: 64px; height: 64px; border-radius: 15px; flex: none; }
.game-row-head h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-top: 6px; }
.game-row-tag { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; line-height: 1.3; margin-bottom: 12px; }
.game-row-body > .muted { margin-bottom: 28px; }
.games-list .note { padding: 32px 0 0; border-top: 1px solid var(--color-border-soft); }

/* ─── studio ─── */
.approach { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 0 32px; counter-reset: a; }
.approach li { padding: 28px 0 32px; border-top: 1px solid var(--color-border); }
.approach .num { display: block; font: 500 .85rem/1 var(--font-ui); color: var(--color-accent); margin-bottom: 20px; letter-spacing: .08em; }
.approach h3 { font-size: 1.5rem; margin-bottom: 12px; }
.approach p { color: var(--color-text-muted); }

/* ─── split statement (home) ─── */
.split { border-top: 1px solid var(--color-border-soft); border-bottom: 1px solid var(--color-border-soft); background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%); }

/* ─── news ─── */
.post-list { border-top: 1px solid var(--color-border); }
.post { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 12px 32px; padding: 28px 0; border-bottom: 1px solid var(--color-border-soft); }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--color-text-faint); font-size: .9rem; }
.post .post-meta { flex-direction: column; }
.post-title { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin-bottom: 8px; }
.article { max-width: calc(var(--reading-max) + 2 * var(--gutter)); padding-top: clamp(32px, 5vw, 64px); padding-bottom: var(--space-section); }
.article-head { margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--color-border-soft); }
.article-head h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); margin: 14px 0 20px; }
.prose { font-size: 1.1rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 1.8em; }
.prose ul { list-style: none; display: grid; gap: .5em; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before { content: ''; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: var(--color-accent); }
.prose p { color: #d5dce6; }
.related { margin: 56px 0 40px; padding-top: 32px; border-top: 1px solid var(--color-border-soft); }
.related .kicker { margin-bottom: 20px; }

/* ─── contact ─── */
.big-mail { display: grid; gap: 10px; margin-top: 40px; }
.big-mail a { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 5vw, 3.6rem); letter-spacing: -.02em; line-height: 1.1; color: var(--color-text); text-decoration: none; overflow-wrap: anywhere; }
.big-mail a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 8px; text-decoration-thickness: 2px; }
.columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 0 32px; }
.columns li { padding: 28px 0; border-top: 1px solid var(--color-border); display: grid; gap: 12px; align-content: start; }
.columns h2 { font-size: 1.6rem; }
.columns p { color: var(--color-text-muted); }

/* ─── press ─── */
.boiler { color: #d5dce6; font-size: 1.08rem; line-height: 1.7; max-width: 62ch; }
.press-game { padding: clamp(48px, 6vw, 88px) 0; border-top: 1px solid var(--color-border); }
.press-game-head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-bottom: 40px; }
.press-game-head img { width: 56px; height: 56px; border-radius: 13px; }
.press-game > .split-in { margin-bottom: 40px; }
.asset-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 24px; align-items: end; }
.asset-grid--logo { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 260px)); }
.asset-grid figure { display: grid; gap: 12px; }
.asset-grid figure > a { display: grid; place-items: center; aspect-ratio: 1; padding: 16px; background: var(--color-surface); border: 1px solid var(--color-border-soft); border-radius: var(--radius-sm); overflow: hidden; }
.asset-grid figure > a img { max-height: 100%; width: auto; object-fit: contain; border-radius: 6px; }
.asset-grid figcaption { display: grid; gap: 2px; font-size: .88rem; }

/* ─── privacy (layout of drivemanager/privacy.html) ─── */
.pv-head .pv-headline { margin: 14px 0 18px; font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 22ch; }
.pv-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin-bottom: 40px; }
.pv-title h1 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.pv-cards-wrap { margin-bottom: clamp(48px, 6vw, 88px); }
.pv-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.pv-cards li { padding: 24px; background: var(--color-surface); border: 1px solid var(--color-border-soft); border-radius: var(--radius-md); }
.pv-cards h3 { font-size: 1.3rem; margin-bottom: 10px; }
.pv-cards p { color: var(--color-text-muted); font-size: .97rem; }
.pv-body { display: grid; grid-template-columns: minmax(200px, 3fr) minmax(0, 9fr); gap: 32px clamp(32px, 5vw, 80px); align-items: start; }
.pv-toc { position: sticky; top: calc(var(--header-height) + 24px); }
.pv-toc ol { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--color-border); }
.pv-toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent; color: var(--color-text-muted); text-decoration: none; font-size: .93rem; line-height: 1.35; }
.pv-toc a:hover { color: var(--color-text); border-left-color: var(--color-accent); }
.pv-sections { max-width: var(--reading-max); }
.pv-sections section + section { margin-top: 2.6em; }
.pv-sections section > * + * { margin-top: 1em; }
.pv-sections section > h2 + * { margin-top: .6em; }
.pv-sections h2 { margin-top: 0; }
.pv-anchor { margin-left: .2em; font-family: var(--font-ui); font-size: .6em; color: var(--color-text-faint); text-decoration: none; opacity: 0; transition: opacity .2s; }
.pv-sections h2:hover .pv-anchor, .pv-anchor:focus-visible { opacity: 1; }
.pv-sections section:target h2 { color: var(--color-accent-strong); }
.pv-ask { margin: clamp(56px, 7vw, 104px) 0 var(--space-section); padding: clamp(28px, 4vw, 48px); background: var(--color-surface); border: 1px solid var(--color-border-soft); border-radius: var(--radius-lg); display: grid; gap: 16px; justify-items: start; }
.pv-ask h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
@media (max-width: 860px) {
  .pv-body { grid-template-columns: 1fr; }
  .pv-toc { position: static; }
}
@media (hover: none) { .pv-anchor { opacity: 1; } }

/* ─── closing, 404 ─── */
.closing { border-top: 1px solid var(--color-border-soft); }
.closing-in { display: grid; gap: 20px; justify-items: start; }
.closing-in h2 { max-width: 18ch; font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.closing-in .actions { margin-top: 12px; }
.notfound { padding-top: clamp(64px, 10vw, 140px); padding-bottom: var(--space-section); display: grid; gap: 20px; justify-items: start; }
.nf-code { font-family: var(--font-display); font-size: clamp(5rem, 16vw, 12rem); line-height: .9; color: var(--color-surface-raised); font-weight: 300; }
.nf-links { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 12px; }

/* ─── reveal: armed only with JS, never hides content without it ─── */
html.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js [data-reveal].in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .spread, .game-row, .split-in { grid-template-columns: 1fr; }
  .spread-shots { max-width: 640px; }
}
@media (max-width: 640px) {
  .post { grid-template-columns: 1fr; }
  .post .post-meta { flex-direction: row; }
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
  .btn { white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
}
