/* PUCKVPUCK site. Tokens first; every color, font, radius and motion value below traces to one of them.
   Palette from the game: --bg is the in-game HUD panel navy, --ac is the red half of the puck mark (#ff2d55).
   The blue half lives only inside the real art and the logo, so the page keeps one accent. */

@font-face { font-family: "Rajdhani"; src: url("/fonts/rajdhani-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Rajdhani"; src: url("/fonts/rajdhani-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/fonts/space-grotesk-var.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  /* color */
  --bg: #0d0c20;
  --bg-2: #121029;
  --surface: #17152f;
  --surface-2: #211e40;
  --line: rgba(226, 224, 255, .12);
  --line-strong: rgba(226, 224, 255, .22);
  --tx: #f2f1fa;
  --mu: #b3b1cf;
  --ac: #ff2d55;            /* accent on dark: text, icons, focus (5.3:1 on --bg) */
  --ac-fill: #d8113a;       /* button fill under white text (5.2:1) */
  --ac-fill-hover: #bf0d32; /* 6.3:1 */
  --on-ac: #fff;
  --scrim: 13, 12, 32;      /* --bg as an rgb triplet for gradients */
  --brand-mid: #6b6890;
  /* type */
  --f-display: "Rajdhani", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* shape: controls 4px, media and dialogs 8px, nothing else */
  --r-sm: 4px;
  --r-md: 8px;
  /* space */
  --gutter: clamp(16px, 4vw, 48px);
  --wrap: 1240px;
  --nav-h: 64px;
  --sec: clamp(72px, 10vw, 128px);
  /* motion (Module C) */
  --t-micro: 150ms;
  --t-ui: 220ms;
  --t-reveal: 700ms;
  --t-hero: 800ms;
  --e-out: cubic-bezier(.22, 1, .36, 1);
  --e-in-out: cubic-bezier(.65, 0, .35, 1);
  --e-expo: cubic-bezier(.16, 1, .3, 1);
  --e-ui: cubic-bezier(.23, 1, .32, 1);
  --shadow: 0 18px 40px -12px rgba(4, 3, 14, .7);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--tx);
  font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.6; font-weight: 400;
  overflow-x: hidden; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.4rem, 4.4vw, 3.75rem); line-height: .95; letter-spacing: .005em; }
h3 { font-size: 1.6rem; line-height: 1; letter-spacing: .03em; }
p { margin: 0; }
a { color: var(--tx); }
:where(ul[role="list"], ol[role="list"]) { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* browser surfaces (H8) */
::selection { background: color-mix(in srgb, var(--ac) 32%, transparent); color: inherit; }
::marker { color: var(--ac); }
:root { caret-color: var(--ac); accent-color: var(--ac); scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--brand-mid) 70%, transparent) transparent; }
a { text-underline-offset: .18em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--ac); outline-offset: 3px; }
.num, time, td.num { font-variant-numeric: tabular-nums; }
img { user-select: none; -webkit-user-drag: none; }

.skip { position: absolute; left: var(--gutter); top: -100px; z-index: 300; background: var(--tx); color: var(--bg); padding: 10px 16px; border-radius: var(--r-sm); font-family: var(--f-display); font-weight: 700; text-decoration: none; }
.skip:focus-visible { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--r-sm); border: 2px solid transparent;
  font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--t-micro) ease, border-color var(--t-micro) ease, color var(--t-micro) ease, transform 160ms var(--e-ui);
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:active { transform: scale(.97); }
.btn-steam { background: var(--ac-fill); color: var(--on-ac); }
.btn-steam:hover { background: var(--ac-fill-hover); }
.btn-line { background: transparent; color: var(--tx); border-color: var(--line-strong); }
.btn-line:hover { border-color: var(--tx); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 1.05rem; }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* ---------- nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: rgba(var(--scrim), .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-nav .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tx); min-height: 44px; }
.brand img { width: 32px; height: 32px; }
.brand span { font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; letter-spacing: .04em; }
.nav-links { display: flex; gap: 4px; margin-inline-start: auto; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--r-sm);
  font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; letter-spacing: .03em; text-transform: uppercase;
  color: var(--mu); text-decoration: none; transition: color var(--t-micro) ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--tx); }
.site-nav .btn { margin-inline-start: 8px; }
@media (max-width: 760px) {
  .nav-links { display: none; }
  .site-nav .btn { margin-inline-start: auto; }
  .brand span { font-size: 1.2rem; }
}

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; min-height: min(calc(100svh - var(--nav-h)), 860px); display: grid; align-items: center; padding: clamp(40px, 6vh, 80px) 0 clamp(48px, 7vh, 80px); }
.hero-art { position: absolute; inset: 0; z-index: -2; --px: 26%; --py: 22%;
  animation: portal var(--t-hero) var(--e-expo) 120ms both; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero::before { /* scrim: readable copy on the left, art showing on the right */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(var(--scrim), .9) 0%, rgba(var(--scrim), .62) 34%, rgba(var(--scrim), .12) 64%, rgba(var(--scrim), .3) 100%),
    linear-gradient(180deg, rgba(var(--scrim), .25) 0%, transparent 24%, transparent 70%, var(--bg) 100%);
}
@keyframes portal { /* the key art opens out of the puck in the logo: the page's one signature move */
  from { clip-path: circle(0% at var(--px) var(--py)); }
  to { clip-path: circle(150% at var(--px) var(--py)); }
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-logo { margin: 0 0 20px -6px; max-width: 540px; animation: rise 500ms var(--e-out) 80ms both; }
.hero-logo img { width: 100%; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.45; max-width: 30ch; color: var(--tx); }
.hero-cta { margin-top: 28px; }

/* trailer facade (click to load, never autoplays) */
.facade {
  position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow); outline-offset: 4px; color: var(--on-ac);
}
.facade img { width: 100%; height: 100%; object-fit: cover; transition: opacity var(--t-ui) ease; }
.facade::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(var(--scrim), .28), rgba(var(--scrim), .04) 60%); }
.facade .play {
  position: absolute; z-index: 1; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px;
  display: grid; place-items: center; border-radius: 50%; background: var(--ac-fill); color: var(--on-ac);
  border: 3px solid var(--on-ac); box-shadow: var(--shadow); transition: transform 160ms var(--e-ui), background-color var(--t-micro) ease;
}
.facade .play svg { width: 34px; height: 34px; margin-left: 4px; }
.facade:hover .play { background: var(--ac-fill-hover); }
.facade:active .play { transform: scale(.95); }
.facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.facade.is-loaded::after { display: none; }
.trailer-meta { margin-top: 12px; font-size: .95rem; color: var(--mu); }
.trailer-meta a { color: var(--tx); }

@media (max-width: 900px) {
  .hero { min-height: 0; padding-top: 0; align-items: start; }
  .hero-art { inset: 0 0 auto 0; height: min(78vw, 420px); --px: 46%; --py: 30%; }
  .hero::before {
    inset: 0 0 auto 0; height: min(78vw, 420px);
    background: linear-gradient(180deg, rgba(var(--scrim), .35) 0%, rgba(var(--scrim), .55) 55%, var(--bg) 100%);
  }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy { padding-top: clamp(28px, 9vw, 64px); }
  .hero-logo { max-width: min(420px, 92%); }
}

/* ---------- sections shared ---------- */
.sec { padding-block: var(--sec); }
.games { padding-top: clamp(48px, 6vw, 88px); }
.sec-head { max-width: 62ch; margin-bottom: clamp(32px, 4vw, 48px); }
.sec-head p { margin-top: 16px; color: var(--mu); font-size: 1.15rem; }

/* ---------- four games: asymmetric bento of live loops ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.mode { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-md); overflow: hidden; }
.mode:nth-child(1) { grid-column: span 7; }
.mode:nth-child(2) { grid-column: span 5; }
.mode:nth-child(3) { grid-column: span 5; }
.mode:nth-child(4) { grid-column: span 7; }
.mode-media { position: relative; flex: 1 1 auto; min-height: 260px; background: var(--surface-2); }
.mode-media video, .mode-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mode-body { padding: 22px 24px 26px; }
.mode-body h3 { font-size: clamp(1.8rem, 2.4vw, 2.2rem); }
.mode-body p { margin-top: 8px; color: var(--mu); max-width: 48ch; }
.loop-toggle {
  position: absolute; right: 10px; bottom: 10px; z-index: 1; width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: var(--r-sm); background: rgba(var(--scrim), .72); color: var(--tx); cursor: pointer;
  transition: background-color var(--t-micro) ease;
}
.loop-toggle:hover { background: rgba(var(--scrim), .92); }
.loop-toggle svg { width: 18px; height: 18px; }
.loop-toggle .i-play { display: none; }
.loop-toggle[aria-pressed="true"] .i-play { display: block; }
.loop-toggle[aria-pressed="true"] .i-pause { display: none; }
.loop-toggle[hidden] { display: none; }
@media (max-width: 860px) {
  .mode:nth-child(n) { grid-column: 1 / -1; }
  .mode-media { flex: none; min-height: 0; aspect-ratio: 16 / 9; }
}

/* ---------- how you play: split with the 8 labelled pucks ---------- */
.how { background: var(--bg-2); }
.how-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.how-shot { margin: 0; }
.how-shot img { width: 100%; border-radius: var(--r-md); box-shadow: var(--shadow); }
.how-shot figcaption { margin-top: 12px; font-size: .95rem; color: var(--mu); }
.big-n { font-family: var(--f-body); font-weight: 700; font-size: clamp(6rem, 13vw, 11rem); line-height: .8; color: var(--ac); font-variant-numeric: tabular-nums; letter-spacing: -.04em; margin-bottom: 8px; }
.how-copy > p:not(.big-n) { margin-top: 18px; color: var(--mu); font-size: 1.15rem; max-width: 46ch; }
.how-list { margin: 32px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 28px; }
.how-list dt { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; letter-spacing: .04em; text-transform: uppercase; }
.how-list dd { margin: 4px 0 0; color: var(--mu); font-size: 1rem; }
@media (max-width: 860px) {
  .how-grid { grid-template-columns: 1fr; }
  .how-list { grid-template-columns: 1fr; }
}

/* ---------- screenshots rail ---------- */
.shots-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 3vw, 40px); }
.rail-nav { display: flex; gap: 8px; }
.icon-btn {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--r-sm);
  border: 2px solid var(--line-strong); background: transparent; color: var(--tx); cursor: pointer;
  transition: border-color var(--t-micro) ease, opacity var(--t-micro) ease;
}
.icon-btn:hover { border-color: var(--tx); }
.icon-btn:disabled { opacity: .35; cursor: default; border-color: var(--line); }
.icon-btn svg { width: 20px; height: 20px; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(272px, 40vw, 600px); gap: clamp(12px, 1.4vw, 20px);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 4px max(var(--gutter), (100% - var(--wrap)) / 2) 20px; scroll-padding-inline: max(var(--gutter), (100% - var(--wrap)) / 2);
}
.rail:focus-visible { outline-offset: -2px; }
.rail li { scroll-snap-align: start; }
.shot { display: block; border-radius: var(--r-md); overflow: hidden; background: var(--surface); }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: opacity var(--t-micro) ease; }
.shot:hover img { opacity: .85; }
@media (max-width: 600px) { .rail-nav { display: none; } }

/* ---------- languages ---------- */
.langs-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.langs-grid .sec-head { margin-bottom: 0; }
.lang-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 24px; }
.lang-list li { display: flex; flex-direction: column; }
.lang-list .native { font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 500; line-height: 1.2; }
.lang-list .en { font-size: .92rem; color: var(--mu); margin-top: 2px; }
@media (max-width: 860px) {
  .langs-grid { grid-template-columns: 1fr; }
  .lang-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- final CTA band + community ---------- */
.final { position: relative; isolation: isolate; overflow: hidden; }
.final-art { position: absolute; inset: 0; z-index: -2; }
.final-art img { width: 100%; height: 100%; object-fit: cover; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) 0%, rgba(var(--scrim), .55) 30%, rgba(var(--scrim), .7) 100%); }
.final-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.final h2 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
.final-copy > p { margin-top: 16px; font-size: 1.2rem; color: var(--tx); max-width: 40ch; }
.final-copy .btn { margin-top: 28px; }
.sale-note { margin-top: 14px; font-size: .98rem; color: var(--mu); }
.community { background: rgba(var(--scrim), .88); border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(22px, 3vw, 32px); }
.community p { margin-top: 10px; color: var(--mu); }
.community .btn { margin-top: 20px; }
.socials { display: flex; gap: 8px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); align-items: center; flex-wrap: wrap; }
.socials span { color: var(--mu); font-size: .95rem; margin-right: 6px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-sm); color: var(--mu); transition: color var(--t-micro) ease, background-color var(--t-micro) ease; }
.socials a:hover { color: var(--tx); background: var(--surface-2); }
.socials svg { width: 22px; height: 22px; }
@media (max-width: 860px) { .final-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--mu); font-size: .95rem; }
.foot-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-inline-start: auto; }
.foot-links a { color: var(--tx); display: inline-flex; align-items: center; min-height: 44px; }
.legal { flex-basis: 100%; font-size: .85rem; }

/* ---------- lightbox ---------- */
.lightbox { padding: 0; border: 0; background: transparent; color: var(--tx); max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(6, 5, 16, .92); }
.lightbox[open] { display: grid; place-items: center; animation: lb-in 250ms var(--e-ui); }
@keyframes lb-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.lb-figure { margin: 0; width: min(92vw, 1600px); }
.lb-figure img { width: 100%; height: auto; max-height: 78vh; object-fit: contain; border-radius: var(--r-md); background: var(--surface); }
.lb-figure figcaption { margin-top: 14px; color: var(--mu); display: flex; gap: 16px; justify-content: space-between; align-items: baseline; }
.lb-count { font-variant-numeric: tabular-nums; white-space: nowrap; }
.lb-close { position: fixed; top: 16px; right: 16px; }
.lb-prev, .lb-next { position: fixed; top: 50%; margin-top: -24px; background: rgba(var(--scrim), .8); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
@media (max-width: 700px) { .lb-prev, .lb-next { top: auto; bottom: 20px; margin: 0; } }

/* ---------- press kit (Read surface) ---------- */
.press-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-block: clamp(48px, 7vw, 88px) var(--sec); }
.toc { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; }
.toc-title { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 1.1rem; letter-spacing: .06em; color: var(--mu); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 8px 0 8px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--mu); text-decoration: none; transition: color var(--t-micro) ease, border-color var(--t-micro) ease; }
.toc a:hover { color: var(--tx); }
.toc a[aria-current="true"] { color: var(--tx); border-left-color: var(--ac); }
.press h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); line-height: .95; }
.press-lede { margin-top: 18px; font-size: 1.2rem; color: var(--mu); max-width: 60ch; }
.press-dl { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.press section { padding-top: clamp(56px, 7vw, 80px); }
.press section > h2 { font-size: clamp(2rem, 3.4vw, 2.75rem); margin-bottom: 20px; }
.press section > h3 { font-size: 1.25rem; color: var(--mu); letter-spacing: .06em; margin: 28px 0 10px; }
.prose { max-width: 68ch; }
.prose p + p { margin-top: 1em; }
.prose p { line-height: 1.7; }
.facts { display: grid; grid-template-columns: 200px minmax(0, 1fr); margin: 0; max-width: 820px; border-top: 1px solid var(--line); }
.facts dt, .facts dd { padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.facts dt { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 1.05rem; color: var(--mu); padding-right: 16px; }
.facts dd a { color: var(--tx); }
.feature-list { max-width: 68ch; padding-left: 1.2em; margin: 0; }
.feature-list li { padding-left: .3em; margin-bottom: .55em; }
.press-trailer { max-width: 820px; }
.shot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, calc(50% - 8px)), 1fr)); gap: 24px 16px; }
.shot-grid figure, .art-grid figure { margin: 0; }
.shot-grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-md); background: var(--surface); }
.shot-grid figcaption, .art-grid figcaption { margin-top: 10px; font-size: .92rem; color: var(--mu); }
.dl-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--tx); font-weight: 500; }
.dl-link svg { width: 18px; height: 18px; color: var(--ac); flex: none; }
.dl-meta { color: var(--mu); font-variant-numeric: tabular-nums; }
.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px 20px; align-items: start; }
.art-grid .thumb { position: relative; background: var(--surface); border-radius: var(--r-md); aspect-ratio: 4 / 3; }
.art-grid .thumb img { position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); object-fit: contain; }
.art-grid strong { display: block; color: var(--tx); font-weight: 500; }
.contact-mail { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.6rem, 3.4vw, 2.4rem); color: var(--ac); text-decoration: none; letter-spacing: .02em; display: inline-flex; min-height: 44px; align-items: center; }
.contact-mail:hover { text-decoration: underline; }
@media (max-width: 960px) {
  .press-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc ol { display: flex; flex-wrap: wrap; gap: 0 4px; border-left: 0; }
  .toc a { padding: 8px 10px; border-left: 0; margin-left: 0; }
  .toc a[aria-current="true"] { border-left: 0; }
}
@media (max-width: 600px) {
  .facts { grid-template-columns: 1fr; }
  .facts dt { border-bottom: 0; padding-bottom: 0; }
  .facts dd { padding-top: 4px; }
}

/* ---------- 404 ---------- */
.lost { position: relative; isolation: isolate; min-height: calc(100svh - var(--nav-h)); display: grid; align-items: center; padding-block: 64px; }
.lost-art { position: absolute; inset: 0; z-index: -2; }
.lost-art img { width: 100%; height: 100%; object-fit: cover; object-position: 20% 50%; }
.lost::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, rgba(var(--scrim), .95) 0%, rgba(var(--scrim), .8) 42%, rgba(var(--scrim), .2) 75%); }
.lost-copy { margin-inline-start: auto; max-width: 560px; }
@media (max-width: 860px) { .lost::before { background: rgba(var(--scrim), .8); } .lost-copy { margin-inline-start: 0; } }
.lost h1 { font-size: clamp(3rem, 8vw, 6.5rem); line-height: .9; max-width: 12ch; }
.lost p { margin-top: 18px; font-size: 1.2rem; color: var(--mu); max-width: 40ch; }
.lost .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- motion preference (C1 shape: no movement, feedback kept) ---------- */
@media (prefers-reduced-motion: reduce) {
  :root { --t-reveal: 200ms; --t-hero: 200ms; --t-ui: 150ms; }
  html { scroll-behavior: auto !important; }
  .hero-art { animation-name: fade; }
  .hero-logo { animation-name: fade; }
  .lightbox[open] { animation-name: fade; }
  .btn:active, .facade:active .play { transform: none; }
  .rail { scroll-snap-type: x proximity; }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
