/* Eldritch SHAIYA - website stylesheet. Redesign 2026-10-21 («Living world» base + Cinematic before/after + Clean phone armoury,
   gm-build\website\redesign\JUDGE.md); inner-page components kept from the 2026-10-17 design pass.
   One stylesheet, mobile first, no external fonts / CDNs (CSP: style-src 'self', font-src 'self'; runtime styles only via CSSOM).
   Rules: tokens on :root; animate transform / opacity / clip-path / filter only; loops are CSS (compositor) and pause off-screen;
   hover effects only for (hover: hover) and (pointer: fine); reduced motion keeps 150 ms fades and drops movement.
   One accent (gold) for every action; cyan is atmosphere (the creature's eyes, live data), never a control colour. */

@font-face {
  font-family: "Cinzel";
  src: url("fonts/Cinzel-latin.woff2") format("woff2"), url("fonts/Cinzel.ttf") format("truetype");
  font-weight: 400 900;
  font-display: swap;
}
@property --p { syntax: "<number>"; inherits: false; initial-value: 0; }

:root {
  color-scheme: dark;
  /* surfaces: one teal-black family, darkest at the back */
  --bg: #061014; --bg2: #0a171c; --surface: #0d1c21; --surface-2: #112429; --inset: #081317;
  --line: #1c3138; --line-2: #2a454d; --line-3: #3a5a62; --line-gold: rgba(214, 176, 92, .28);
  /* text (--faint raised to 5.3:1 on --surface, audit 4.5) */
  --text: #e4ebe8; --muted: #9bb0b0; --faint: #7d9596;
  /* the one accent: launcher gold */
  --gold: #d6b05c; --gold-2: #f2d48e; --gold-3: #a98232; --gold-ink: #1d1506;
  /* atmosphere + meaning */
  --rune: #58d4df; --rune-soft: rgba(88, 212, 223, .16);
  --up: #5fd4a1; --down: #ff6a5a; --warn: #f0bb55; --blood: #c23b2e;
  --glass: rgba(8, 19, 23, .62);
  /* type */
  --display: "Cinzel", "Trajan Pro", "Times New Roman", serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  --mono: ui-monospace, Consolas, "Liberation Mono", monospace;
  --fs-xs: .78rem; --fs-sm: .875rem; --fs-md: 1rem; --fs-lg: 1.125rem;
  --fs-h3: clamp(1.05rem, .98rem + .3vw, 1.25rem);
  --fs-h2: clamp(1.6rem, 1.25rem + 1.5vw, 2.5rem);
  --fs-wm: clamp(3rem, 1.6rem + 6vw, 7.25rem);
  /* shape + depth */
  --r-xs: 4px; --r-sm: 6px; --r: 10px; --r-lg: 16px; --r-pill: 99px;
  --shadow: 0 18px 40px -18px rgba(0, 8, 10, .9), 0 2px 6px -2px rgba(0, 8, 10, .6);
  --gutter: clamp(16px, 4vw, 40px);
  /* motion vocabulary (springs sampled for CSS: ui .30 / .15 ; pop .35 / .30) */
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
  --spring-pop: .72s linear(0, .086, .268, .473, .659, .809, .916, .985, 1.024, 1.04, 1.043, 1.038, 1.03, 1.021, 1.013, 1.007, 1.003, 1, .999, .998, 1);
  --d-press: 120ms; --d-ui: 200ms; --d-reveal: 520ms;
  --z-header: 30;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--line-2) var(--bg); scroll-padding-top: 76px; }
body {
  margin: 0; color: var(--text); background: var(--bg); font: var(--fs-md)/1.6 var(--body); overflow-x: clip;
  min-height: 100svh; display: flex; flex-direction: column; caret-color: var(--gold-2);
}
main { flex: 1 0 auto; }
img { max-width: 100%; }
::selection { background: rgba(214, 176, 92, .35); color: #fff; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-2); border: 3px solid var(--bg); border-radius: var(--r-pill); }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: var(--r-xs); }
/* review 2026-10-21 (worst case): long unbreakable words / URLs in news, names, boss texts wrap instead of widening the page (tables keep auto layout) */
main p, main li, main h1, main h2, main h3, main dd, main dt, main figcaption, main blockquote, main summary { overflow-wrap: anywhere; }
a { color: var(--gold-2); text-decoration: underline; text-decoration-color: rgba(242, 212, 142, .35); text-underline-offset: .22em;
  text-decoration-thickness: 1px; transition: color .16s var(--ease-out), text-decoration-color .16s var(--ease-out); }
a:hover { text-decoration-color: currentColor; }
h1, h2, h3 { line-height: 1.2; margin: 1.6em 0 .55em; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: .02em; color: var(--text); }
h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.9rem); color: var(--gold-2); }
h2 { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.5rem); }
h3 { font-size: 1.08rem; font-weight: 650; }
p { margin: .5em 0 1em; text-wrap: pretty; }
code, pre { font-family: var(--mono); font-size: .9em; }
b, strong { font-weight: 650; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }
.center { text-align: center; }
.num { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 99; background: var(--gold); color: var(--gold-ink); padding: 8px 14px;
  border-radius: var(--r-sm); font-weight: 650; text-decoration: none; transition: top .16s var(--ease-out); }
.skip:focus { top: 10px; }
.lead { color: var(--muted); font-size: 1.06rem; max-width: 62ch; }
.more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; font-size: var(--fs-sm); text-decoration: none; }
.more span { transition: transform var(--d-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .more:hover span { transform: translateX(3px); } }
.eyebrow { margin: 0 0 10px; font: 600 var(--fs-xs)/1.2 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--rune); }
.chip-soon { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em;
  color: var(--gold-2); background: rgba(214, 176, 92, .08); border: 1px dashed var(--line-gold); white-space: nowrap; }
.chip-soon.lg { min-height: 48px; padding: 0 20px; font-size: .9rem; }

/* ================= inner-page components (2026-10-17 design pass, kept) ================= */
/* ---------- buttons: gold metal like the launcher's PLAY ---------- */
.btn, button.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  border: 0; cursor: pointer; font: inherit; font-weight: 650; letter-spacing: .01em; color: var(--gold-ink); text-decoration: none;
  background: linear-gradient(180deg, #fbe3a6 0%, var(--gold-2) 18%, var(--gold) 55%, var(--gold-3) 100%);
  padding: 11px 22px; border-radius: var(--r);
  box-shadow: inset 0 1px 0 rgba(255, 246, 214, .7), inset 0 -2px 0 rgba(90, 62, 14, .45), 0 8px 22px -10px rgba(214, 176, 92, .55);
  transition: transform .14s var(--ease-out), filter .16s var(--ease-out), box-shadow .2s var(--ease-out);
}
.btn:hover { filter: brightness(1.06) saturate(1.05); box-shadow: inset 0 1px 0 rgba(255, 246, 214, .75), inset 0 -2px 0 rgba(90, 62, 14, .45),
  0 10px 30px -10px rgba(214, 176, 92, .75); text-decoration: none; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn:disabled { cursor: progress; filter: grayscale(.6) brightness(.75); transform: none; }
.btn.alt { background: rgba(13, 28, 33, .55); color: var(--gold-2); box-shadow: inset 0 0 0 1px var(--gold-3); }
.btn.alt:hover { background: rgba(214, 176, 92, .08); box-shadow: inset 0 0 0 1px var(--gold-2); filter: none; }
.btn.sm { min-height: 36px; padding: 7px 14px; font-size: .9rem; border-radius: var(--r-sm); }
.nav .btn.sm { color: var(--gold-ink); }
.btn.danger { background: transparent; color: var(--down); box-shadow: inset 0 0 0 1px rgba(255, 106, 90, .65); }
.btn.danger:hover { background: rgba(255, 106, 90, .08); filter: none; }
button.link { background: none; border: 0; font: inherit; cursor: pointer; color: var(--gold-2); padding: 0; }
form.inline { display: inline; margin: 0; }

/* ---------- forms ---------- */
.form { max-width: 460px; }
.form.wide { max-width: 760px; }
.form label { display: block; font-weight: 600; margin: 16px 0 6px; }
.form .hint { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; margin-top: 4px; }
input[type=text], input[type=email], input[type=password], input[type=number], textarea, select {
  width: 100%; font: inherit; color: var(--text); background: var(--inset); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: 11px 13px; transition: border-color .16s var(--ease-out), box-shadow .16s var(--ease-out);
}
input::placeholder, textarea::placeholder { color: var(--faint); }
input:hover, textarea:hover, select:hover { border-color: var(--line-3); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214, 176, 92, .22); }
input[aria-invalid=true], .input-validation-error { border-color: var(--down); }
textarea { min-height: 260px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; font-weight: 400 !important; }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--gold); }
.actions { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.pow-msg { color: var(--muted); font-size: var(--fs-sm); }
form.pow-ok .pow-msg { color: var(--up); }

/* ---------- notes (tinted panels, no side stripes) ---------- */
.note { position: relative; background: rgba(88, 212, 223, .06); border: 1px solid rgba(88, 212, 223, .22); padding: 12px 14px 12px 40px;
  border-radius: var(--r); margin: 14px 0; }
.note::before { content: ""; position: absolute; left: 15px; top: 17px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--rune); box-shadow: 0 0 10px rgba(88, 212, 223, .7); }
.note.ok { background: rgba(95, 212, 161, .07); border-color: rgba(95, 212, 161, .3); }
.note.ok::before { background: var(--up); box-shadow: 0 0 10px rgba(95, 212, 161, .6); }
.note.err { background: rgba(255, 106, 90, .07); border-color: rgba(255, 106, 90, .35); }
.note.err::before { background: var(--down); box-shadow: 0 0 10px rgba(255, 106, 90, .6); }
.note.warn { background: rgba(240, 187, 85, .07); border-color: rgba(240, 187, 85, .32); }
.note.warn::before { background: var(--warn); box-shadow: 0 0 10px rgba(240, 187, 85, .55); }
.note > :first-child { margin-top: 0; } .note > :last-child { margin-bottom: 0; }

/* ---------- generic cards / lists (other pages) ---------- */
.grid3, .grid2, .features { display: grid; gap: 16px; grid-template-columns: 1fr; margin: 18px 0; }
@media (min-width: 720px) { .grid2 { grid-template-columns: 1fr 1fr; } .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .grid3 { grid-template-columns: 1fr 1fr 1fr; } }
.card { background: linear-gradient(180deg, var(--surface), var(--bg2)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px;
  box-shadow: var(--shadow); }
.card h2, .card h3 { margin-top: 0; }
.features .card.feature { background: transparent; box-shadow: none; border: 0; border-top: 1px solid var(--line-2); border-radius: 0; padding: 16px 2px 4px; }
.card.feature h3 { color: var(--gold-2); font-family: var(--display); font-weight: 600; letter-spacing: .03em; }
.kv { list-style: none; margin: 0; padding: 0; }
.kv li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.kv li:last-child { border-bottom: 0; }
.kv span { color: var(--muted); }
.kv b { font-variant-numeric: tabular-nums; text-align: right; }
.up { color: var(--up); } .down { color: var(--down); }
.badge { display: inline-block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: 2px 6px; border-radius: 3px;
  background: rgba(214, 176, 92, .12); color: var(--gold-2); box-shadow: inset 0 0 0 1px rgba(214, 176, 92, .38); vertical-align: middle; }
.badge.test { background: rgba(240, 187, 85, .1); color: var(--warn); box-shadow: inset 0 0 0 1px rgba(240, 187, 85, .45); }
.big { font-family: var(--display); font-size: 1.9rem; font-weight: 700; color: var(--gold-2); font-variant-numeric: tabular-nums; }

/* ---------- tables ---------- */
.tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg2); margin: 12px 0 20px; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--muted); font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; background: var(--surface); }
tbody tr { transition: background .14s var(--ease-out); }
tbody tr:hover td { background: rgba(88, 212, 223, .035); }
tr:last-child td { border-bottom: 0; }
tr.main td { background: rgba(214, 176, 92, .07); }
tr.main td:first-child { box-shadow: inset 2px 0 0 var(--gold-3); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
td.cd { font-variant-numeric: tabular-nums; font-weight: 650; }
/* a table wider than the screen scrolls sideways: soft shadows at the edge that still has hidden columns (cover gradients scroll with
   the content and hide the shadow once that edge is reached) */
.tbl {
  background:
    linear-gradient(to right, var(--bg2) 40%, rgba(6, 16, 20, 0)) left center / 40px 100% no-repeat local,
    linear-gradient(to left, var(--bg2) 40%, rgba(6, 16, 20, 0)) right center / 40px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(0, 0, 0, .6), transparent) left center / 16px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, .6), transparent) right center / 16px 100% no-repeat scroll,
    var(--bg2);
}
@media (max-width: 560px) {
  table { font-size: .9rem; }
  th, td { padding: 9px 10px; }
}
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0; }
.tabs a { padding: 8px 15px; border-radius: var(--r-pill); color: var(--text); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line-2);
  transition: box-shadow .16s var(--ease-out), color .16s var(--ease-out); }
.tabs a:hover { box-shadow: inset 0 0 0 1px var(--gold-3); color: var(--gold-2); }
.tabs a.cur { box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold-ink); background: var(--gold); font-weight: 650; }

/* ---------- news (editorial: date column on wide screens) ---------- */
.news-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.news-item h3 { margin: 0 0 4px; font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: .02em; }
.news-item h3 a { color: var(--text); text-decoration: none; }
.news-item h3 a:hover { color: var(--gold-2); }
.news-item p:last-child { margin-bottom: 0; color: var(--muted); max-width: 72ch; }
.meta { color: var(--faint); font-size: .85rem; font-variant-numeric: tabular-nums; }
.article { max-width: 72ch; }
.article ul { padding-left: 1.3em; }
.pager { display: flex; gap: 12px; margin: 18px 0; }

/* ---------- guides + faq ---------- */
details { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: 0 16px; margin: 8px 0;
  transition: border-color .16s var(--ease-out); }
details:hover { border-color: var(--line-2); }
summary { cursor: pointer; padding: 13px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; width: 9px; height: 9px; flex: none; margin-top: 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  rotate: 45deg; transition: rotate .2s var(--ease-out); }
details[open] summary { color: var(--gold-2); }
details[open] summary::after { rotate: 225deg; border-color: var(--gold-2); }
ol.steps { padding-left: 1.3em; } ol.steps li { margin: 8px 0; }

/* ---------- donation packages ---------- */
.packages { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin: 12px 0; }
@media (min-width: 720px) { .packages { grid-template-columns: repeat(4, 1fr); } }
.pkg { display: block; width: 100%; text-align: center; cursor: pointer; font: inherit; color: var(--text); background: var(--bg2);
  border: 1px solid var(--line); border-radius: var(--r); padding: 16px 8px;
  transition: border-color .16s var(--ease-out), transform .14s var(--ease-out), background .16s var(--ease-out); }
.pkg:hover { border-color: var(--gold); background: var(--surface); }
.pkg:active { transform: scale(.98); }
.pkg .pts { display: block; font-family: var(--display); font-size: 1.35rem; font-weight: 700; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.pkg .price { display: block; color: var(--muted); font-variant-numeric: tabular-nums; }
pre.mail { white-space: pre-wrap; word-break: break-all; background: var(--inset); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px;
  max-height: 70vh; overflow: auto; }

/* ---------- showcase: big pictures, alternating sides, no card grid ---------- */
.show-head { max-width: 72ch; }
.show-sec { margin: 34px 0 10px; }
.show { display: grid; gap: 14px 34px; grid-template-columns: 1fr; align-items: center; margin: 0 0 40px; }
.show picture { display: block; min-width: 0; }
.show img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-lg);
  border: 1px solid var(--line); box-shadow: 0 24px 60px -28px rgba(88, 212, 223, .25), var(--shadow); background: var(--bg2); }
.show figcaption h3 { font-family: var(--display); font-weight: 600; font-size: 1.35rem; letter-spacing: .03em; color: var(--gold-2); margin: 0 0 4px; }
.show-sub { margin: 0 0 10px; color: var(--muted); font-size: .9rem; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.show figcaption p:last-child { max-width: 52ch; }
@media (min-width: 900px) {
  .show { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
  .show:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); }
  .show:nth-of-type(even) img, .show:nth-of-type(even) picture { order: 2; }
}
.show-end { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0 0; }
/* home: three showcase frames */
.reel { display: grid; gap: 12px; grid-template-columns: 1fr; margin: 14px 0 6px; }
@media (min-width: 720px) { .reel { grid-template-columns: 1.4fr 1fr 1fr; } }
.reel a { position: relative; display: block; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); text-decoration: none; }
.reel img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: scale .5s var(--ease-out), filter .3s var(--ease-out); }
.reel a:hover img { scale: 1.04; filter: brightness(1.08); }
.reel span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; font-family: var(--display); font-weight: 600; letter-spacing: .03em;
  color: var(--text); background: linear-gradient(180deg, transparent, rgba(4, 11, 14, .92)); }

/* ---------- error / 404 ---------- */
.lost { max-width: 60ch; padding: 9vh 0 4vh; }
.lost h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); margin-top: 0; }

.btn.ghost { color: var(--text); background: rgba(10, 23, 28, .55); box-shadow: inset 0 0 0 1px var(--line-gold); backdrop-filter: blur(6px); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--gold); color: #fff; filter: none; }
.btn .play { width: 0; height: 0; border-left: 9px solid var(--gold-2); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* ================= header (fixed; clear over the home hero, solid elsewhere; checkbox menu works without JS) ================= */
.top { position: fixed; inset: 0 0 auto; z-index: var(--z-header); view-transition-name: top; border-bottom: 1px solid transparent;
  transition: background-color var(--d-ui) ease, border-color var(--d-ui) ease; }
.top.solid, .page-inner .top, .top:has(.nav-t:checked) { background: rgba(6, 16, 20, .9); border-bottom-color: var(--line); backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2); }
.bar { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); flex-shrink: 0; text-decoration: none; }
/* logo B «Голова» in the bronze-rim circle (owner 2026-10-22): a round PNG mark, tuned per size (68 / 56 / 44 px files for 34 / 28 / 22 css px) */
.brand-mark { width: 34px; height: 34px; border-radius: 50%; filter: drop-shadow(0 0 7px rgba(88, 212, 223, .28)); }
.foot-brand .brand-mark { width: 28px; height: 28px; }
.brand-text { display: grid; line-height: 1; }
.brand .wm { font: 700 1.05rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.brand .wm-sub { font: 600 .56rem/1 var(--body); letter-spacing: .62em; color: var(--muted); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: 12px; }
.nav a, .nav .link { color: var(--muted); font-size: var(--fs-sm); font-weight: 550; padding: 10px 9px; border-radius: var(--r-sm); text-decoration: none; transition: color var(--d-ui) ease; }
.nav a:hover, .nav .link:hover, .nav a[aria-current] { color: var(--text); }
.nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.nav form.inline { display: inline; }
.bar-end { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav a, .nav .link, .link-quiet, .bar-end .btn, .live-pill { white-space: nowrap; }
@media (min-width: 1150px) and (max-width: 1379px) { .nav { margin-left: 4px; } .nav a, .nav .link { padding: 10px 6px; font-size: .84rem; } .bar { gap: 12px; } .bar-end { gap: 8px; } }
.link-quiet { color: var(--muted); font-size: var(--fs-sm); font-weight: 550; padding: 10px 4px; text-decoration: none; }
.link-quiet:hover { color: var(--text); }
.live-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px; border-radius: var(--r-pill); color: var(--text); font-size: var(--fs-sm);
  background: rgba(95, 212, 161, .07); border: 1px solid rgba(95, 212, 161, .25); text-decoration: none; white-space: nowrap; }
.nav-t { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; display: none; }   /* review 2026-10-21: the checkbox is the menu control for keyboard / AT; only where the burger shows */
.nav-b { display: none; }
.only-narrow { display: none; }
/* heartbeat dot (one definition) */
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--up); flex-shrink: 0; display: inline-block; }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--up); animation: beat 2.4s var(--ease-out) infinite; }
@keyframes beat { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(3.2); opacity: 0; } }
body[data-server="offline"] .dot { background: var(--down); }
body[data-server="offline"] .dot::after { animation: none; opacity: 0; }
body[data-server="offline"] .live-pill { background: rgba(255, 106, 90, .07); border-color: rgba(255, 106, 90, .3); }
/* review 2026-10-21: at 320-359 px the pill + burger ran 12 px past the screen edge -> pill keeps only its dot (text stays for screen readers) */
@media (max-width: 359px) {
  .live-pill { padding: 0 12px; gap: 0; }
  .live-pill .live-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 1149px) {
  .nav { position: fixed; inset: 64px 0 auto; margin: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px;
    background: rgba(6, 16, 20, .97); border-bottom: 1px solid var(--line); max-height: calc(100svh - 64px); overflow-y: auto;
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path 240ms var(--ease-drawer), visibility 0s linear 240ms; }
  .nav a, .nav .link { font-size: 1.05rem; padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--text); text-align: left; }
  .nav a[aria-current] { box-shadow: inset 3px 0 0 var(--gold); padding-left: 12px; }
  .nav-t:checked ~ .bar .nav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 240ms var(--ease-drawer), visibility 0s; }
  .nav-b { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; cursor: pointer; border-radius: var(--r-sm); }
  .nav-b span, .nav-b span::before, .nav-b span::after { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform var(--d-ui) var(--ease-out), background-color var(--d-ui) ease; }
  .nav-b span { position: relative; }
  .nav-b span::before, .nav-b span::after { content: ""; position: absolute; left: 0; }
  .nav-b span::before { transform: translateY(-6px); } .nav-b span::after { transform: translateY(6px); }
  .nav-t:checked ~ .bar .nav-b span { background: transparent; }
  .nav-t:checked ~ .bar .nav-b span::before { transform: rotate(45deg); } .nav-t:checked ~ .bar .nav-b span::after { transform: rotate(-45deg); }
  .nav-t { display: block; }
  .nav-t:focus-visible ~ .bar .nav-b { outline: 2px solid var(--gold-2); outline-offset: 2px; }
  .only-wide { display: none; }
  .only-narrow { display: block; }
}
@media (max-width: 520px) { .bar-end .btn.sm { display: none; } .live-pill { padding: 0 10px; } .bar { gap: 10px; } }

/* ================= home ================= */
.page-home main h1, .page-home main h2, .page-home main h3 { margin: 0; line-height: 1.15; }
.page-home main h2 { font: 600 var(--fs-h2)/1.12 var(--display); letter-spacing: .02em; color: #f3ead4; }
.page-home main h3 { font: 650 var(--fs-h3)/1.3 var(--body); letter-spacing: .005em; color: var(--text); }
.page-home main .lead { font-size: var(--fs-lg); margin: 12px 0 0; }
.page-home main a { text-decoration: none; }

/* hero: the art slot (content/site.json heroArt) on the right, copy on the left, the world pulse dock at the bottom */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; isolation: isolate; overflow: clip; padding-top: 64px; }
.hero-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.face { --fade-l: 34%; --fade-b: 26%; position: absolute; top: 0; right: -6vw; height: 100%; aspect-ratio: 1; transform-origin: 50% 58%; }
@media (min-width: 900px) and (max-width: 1199px) { .face { right: -16vw; } }
.face picture, .face img { display: block; width: 100%; height: 100%; }
/* camera push-in on arrival (motion.dev hero choreography idea): transform only, the art is visible from the first frame (LCP) */
.face picture { animation: face-in 1.8s var(--ease-out) both; }
@keyframes face-in { from { transform: scale(1.045); } }
.pulse-tile .num { display: inline-block; }
.face img { object-fit: cover; animation: breathe 7s var(--ease-in-out) infinite alternate; transform-origin: 50% 58%; }
.face img, .face .face-gl {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade-l)), linear-gradient(0deg, transparent 0, #000 var(--fade-b));
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade-l)), linear-gradient(0deg, transparent 0, #000 var(--fade-b)); mask-composite: intersect; }
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.018); } }
/* the eyes wake once on load (no hover needed), then idle; points and size come from heroArt.eyes */
.eye { position: absolute; left: 50%; top: 40%; width: 8%; aspect-ratio: 2; translate: -50% -50%; border-radius: 50%; opacity: 0; mix-blend-mode: screen;
  background: radial-gradient(closest-side, rgba(225, 255, 255, .95), rgba(88, 212, 223, .55) 40%, rgba(88, 212, 223, 0));
  animation: eye-wake 1.4s var(--ease-out) .9s both, eye-idle 3.6s ease-in-out 2.3s infinite alternate; }
@keyframes eye-wake { 0% { opacity: 0; transform: scale(.6); } 35% { opacity: 1; transform: scale(1.25); } 100% { opacity: .75; transform: scale(1); } }
@keyframes eye-idle { from { opacity: .75; } to { opacity: .4; } }
.mist { position: absolute; left: 0; width: 200%; height: 46%; bottom: -6%; background: url("img/home/mist.webp") repeat-x 0 0 / 50% 100%; opacity: .55; animation: drift 70s linear infinite;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 35%, #000 65%, transparent); mask-image: linear-gradient(180deg, transparent, #000 35%, #000 65%, transparent); }
.mist.m2 { bottom: 12%; height: 34%; opacity: .28; animation-duration: 110s; animation-direction: reverse; }
@keyframes drift { to { transform: translateX(-50%); } }
.vignette { position: absolute; inset: 0; background:
  linear-gradient(90deg, var(--bg) 0%, rgba(6, 16, 20, .92) 26%, rgba(6, 16, 20, .25) 52%, rgba(6, 16, 20, 0) 70%),
  linear-gradient(0deg, var(--bg) 0%, rgba(6, 16, 20, 0) 34%),
  linear-gradient(180deg, rgba(6, 16, 20, .7) 0%, rgba(6, 16, 20, 0) 18%); }
.hero-paused .face img, .hero-paused .mist, .hero-paused .eye, .hero-paused .rays { animation-play-state: paused; }
/* site:underwater 2026-10-22 (abyss.js, loaded after load + idle; never under reduced motion / Save-Data / slow networks).
   CSS rays = the static / fallback light; with WebGL2 the sea canvas (.abyss) draws rays + caustics + snow + plankton behind the face and
   the living face canvas (.face-gl) fades in over the picture, then the picture fades out (no double-dimming cross-fade). */
.rays { position: absolute; left: 0; right: 0; top: -8%; height: 88%; pointer-events: none; opacity: .55; mix-blend-mode: screen;
  background: linear-gradient(104deg, transparent 28%, rgba(88, 212, 223, .08) 34%, transparent 41%), linear-gradient(97deg, transparent 47%, rgba(88, 212, 223, .07) 53%, transparent 60%),
    linear-gradient(110deg, transparent 63%, rgba(130, 228, 232, .06) 67%, transparent 72%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 86%); mask-image: linear-gradient(180deg, #000, transparent 86%);
  animation: rays 17s var(--ease-in-out) infinite alternate; }
@keyframes rays { from { transform: translateX(-2%) skewX(-2deg); opacity: .4; } to { transform: translateX(2%) skewX(2deg); opacity: .7; } }
.hero.fx-sea .rays { opacity: 0; animation: none; transition: opacity 1.2s var(--ease-out); }
.hero-art .abyss { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s var(--ease-out); }
.hero-art .abyss.on { opacity: 1; }
.face .face-gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .7s var(--ease-out); }
.face.live .face-gl { opacity: 1; }
.face.live img { opacity: 0; animation-play-state: paused; transition: opacity 1.2s ease .7s; }
.face.live .eye { opacity: 0 !important; transition: opacity .6s ease; }
.sea-lite { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; opacity: 0; transition: opacity .9s var(--ease-out); }
.sea-lite.on { opacity: 1; }
.sea-lite:not(.on) .mote { animation-play-state: paused; }
.mote { position: absolute; left: var(--x); top: 0; width: var(--s); height: var(--s); border-radius: 50%; opacity: var(--o); will-change: transform;
  background: radial-gradient(closest-side, rgba(215, 242, 242, .95), rgba(170, 220, 225, .3) 45%, rgba(170, 220, 225, 0));
  animation: mote var(--d) linear var(--dl) infinite; }
.mote.glow { background: radial-gradient(closest-side, rgba(160, 255, 240, .7), rgba(90, 230, 220, .22) 32%, rgba(90, 230, 220, 0));
  animation: mote var(--d) linear var(--dl) infinite, mote-blink 5.5s ease-in-out var(--dl) infinite alternate; }
@keyframes mote { from { transform: translate3d(0, -6vh, 0); } to { transform: translate3d(var(--dx), 106vh, 0); } }
@keyframes mote-blink { from { opacity: .08; } to { opacity: .65; } }
.sea-rays { position: absolute; left: 0; right: 0; top: 0; height: 640px; z-index: -1; pointer-events: none; opacity: 0; mix-blend-mode: screen;
  background: linear-gradient(104deg, transparent 18%, rgba(88, 212, 223, .09) 25%, transparent 33%), linear-gradient(98deg, transparent 44%, rgba(88, 212, 223, .08) 51%, transparent 58%),
    linear-gradient(110deg, transparent 64%, rgba(130, 228, 232, .07) 69%, transparent 75%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 92%); mask-image: linear-gradient(180deg, #000, transparent 92%);
  transition: opacity 1.4s var(--ease-out); animation: rays 17s var(--ease-in-out) infinite alternate; }
.sea-rays.on { opacity: .9; }
.bubbles { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 60; pointer-events: none; }
.bub { position: absolute; border-radius: 50%; border: 1px solid rgba(190, 245, 240, .6); pointer-events: none;
  background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, .75) 0 14%, rgba(150, 235, 230, .12) 42%, rgba(120, 220, 220, 0) 70%); }
/* intro: pure CSS (no flash, CSP-safe); the art is never hidden (LCP) */
@keyframes rise { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } }
@keyframes rise-soft { from { opacity: 0; transform: translateY(10px); } }
.hero .eyebrow[data-intro] { animation: rise-soft 600ms var(--ease-out) 60ms both; }
.wm-main { animation: rise 760ms var(--ease-out) 120ms both; }
.wordmark .wm-sub { animation: rise-soft 700ms var(--ease-out) 260ms both; }
.promise[data-intro] { animation: rise-soft 700ms var(--ease-out) 340ms both; }
.cta[data-intro] { animation: rise-soft 700ms var(--ease-out) 420ms both; }
.rates[data-intro] { animation: rise-soft 700ms var(--ease-out) 460ms both; }
.launch-note[data-intro] { animation: rise-soft 700ms var(--ease-out) 500ms both; }
.pulse[data-intro] { animation: rise-soft 800ms var(--ease-out) 560ms both; }
.hero-inner { display: flex; align-items: center; }
.hero-copy { max-width: 640px; padding: 40px 0 24px; }
.wordmark { display: grid; margin: 0; line-height: .92; }
/* site:final: the review's overflow-wrap:anywhere (worst-case texts) split the wordmark into ELDRITC / H - the brand never breaks */
.page-home main .wordmark, .page-home main .wordmark span { overflow-wrap: normal; white-space: nowrap; }
.nw { white-space: nowrap; }
.wm-main { font: 700 var(--fs-wm)/.92 var(--display); letter-spacing: .06em; text-transform: uppercase;
  background: linear-gradient(180deg, #fff3cf 0%, var(--gold-2) 40%, var(--gold) 70%, var(--gold-3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .55)); }
.wordmark .wm-sub { font: 600 clamp(.85rem, .62rem + .95vw, 1.45rem)/1 var(--display); letter-spacing: .92em; color: #efe3c4; margin: 16px 0 0 .32em; opacity: .88; }
.promise { margin: 26px 0 0; font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); line-height: 1.45; color: #d8e4e1; max-width: 32ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; }
.rates { list-style: none; display: flex; flex-wrap: wrap; gap: 0; margin: 22px 0 0; padding: 0; }
.rates li { display: grid; gap: 2px; padding: 0 20px; border-left: 1px solid var(--line-2); }
.rates li:first-child { padding-left: 0; border-left: 0; }
.rates b { font: 700 1.15rem/1.1 var(--display); color: var(--gold-2); font-variant-numeric: tabular-nums; }
.rates span { font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.launch-note { margin: 14px 0 0; font-size: var(--fs-sm); color: var(--muted); }
.launch-note a { white-space: nowrap; font-weight: 600; }
.hero .eyebrow { text-wrap: balance; }

/* world pulse dock: tiles render only with real data, the grid fills whatever is there */
.pulse-wrap { padding-bottom: 28px; }
.pulse { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-radius: var(--r-lg);
  background: var(--glass); border: 1px solid var(--line-gold); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: var(--shadow); overflow: hidden; }
.pulse-tile { position: relative; display: grid; align-content: center; gap: 2px; padding: 16px 20px; min-height: 92px; border-left: 1px solid var(--line); margin-left: -1px; }
.pulse-tile .k { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.pulse-tile .v { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 700; color: #fff; }
.pulse-tile .v small { font-size: var(--fs-xs); color: var(--muted); font-weight: 600; letter-spacing: .1em; }
.pulse-tile .s { font-size: var(--fs-sm); color: var(--muted); }
.pulse-tile .s b { color: var(--gold-2); }
.pulse-tile .s .up, .pulse-tile .s .down { color: inherit; }
.t-server .v b { color: var(--up); }
body[data-server="offline"] .t-server .v b { color: var(--down); }
.pulse-tile.t-boss { padding-left: 84px; }
.pulse-tile.t-boss .ring { position: absolute; left: 20px; top: 50%; translate: 0 -50%; }

/* countdown ring: conic fill from --p (0..1), registered with @property so the 1 s tick glides */
.ring { --p: 0; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; flex-shrink: 0;
  background: radial-gradient(closest-side, var(--surface) 78%, transparent 80% 100%), conic-gradient(var(--gold) calc(var(--p) * 1turn), var(--line-2) 0);
  transition: --p 1s linear; }
.ring img { width: 22px; height: 22px; opacity: .85; }
.ring.big { width: 64px; height: 64px; }
.ring.alive { background: radial-gradient(closest-side, var(--surface) 78%, transparent 80% 100%), conic-gradient(var(--blood) 1turn, var(--blood) 0); box-shadow: 0 0 22px -4px rgba(194, 59, 46, .7); }
.ring.near { animation: near 1.6s ease-in-out infinite; }
@keyframes near { 50% { box-shadow: 0 0 26px -2px rgba(242, 212, 142, .75); } }

@media (max-width: 899px) {
  .hero { min-height: auto; grid-template-rows: auto auto; }
  .face { top: 0; right: 50%; translate: 50% 0; width: 118vw; height: auto; max-width: 640px; }
  .face img, .face .face-gl { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(0deg, transparent 0, #000 var(--fade-b));
    mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(0deg, transparent 0, #000 var(--fade-b)); }
  .vignette { background: linear-gradient(0deg, var(--bg) 0%, var(--bg) 30%, rgba(6, 16, 20, .55) 58%, rgba(6, 16, 20, .1) 80%), linear-gradient(180deg, rgba(6, 16, 20, .75), transparent 22%); }
  .hero-inner { align-items: flex-end; min-height: min(118vw, 640px); }
  .hero-copy { padding: 70vw 0 18px; }
  .hero .eyebrow { letter-spacing: .15em; }
  .mist { bottom: auto; top: 52vw; height: 46vw; }
  .mist.m2 { top: 30vw; height: 30vw; }
  .pulse { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pulse-tile { padding: 14px; min-height: 84px; border-top: 1px solid var(--line); margin-top: -1px; }
  .pulse-tile .v { font-size: 1.12rem; }
  .pulse-tile.t-server { grid-column: 1 / -1; }
  .pulse-tile.t-boss { padding-left: 14px; padding-right: 64px; }
  .pulse-tile.t-boss .ring { left: auto; right: 12px; width: 42px; height: 42px; }
  .cta .btn { flex: 1 1 100%; }
  .rates li { padding: 0 14px; }
}

/* sections */
.band { position: relative; padding: clamp(64px, 9vw, 120px) 0; }
.band + .band::before { content: ""; position: absolute; top: 0; left: 50%; width: min(560px, 70vw); height: 1px; translate: -50% 0;
  background: linear-gradient(90deg, transparent, var(--line-gold), transparent); }
.band + .band::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; translate: -50% 0; rotate: 45deg; border: 1px solid var(--gold-3); background: var(--bg); }
.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 24px; margin-bottom: 36px; }
.sec-head .eyebrow, .sec-head h2, .sec-head .lead { grid-column: 1; }
.sec-head .more { grid-column: 2; grid-row: 2; }
.sec-head.center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.sec-head.center .lead { margin-inline: auto; }
.hint-touch { display: none; }
@media (pointer: coarse) { .hint-fine { display: none; } .hint-touch { display: inline; } }

/* chronicle */
.chron-grid { display: grid; gap: 20px; grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: auto auto; }
.story { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow);
  transition: border-color var(--d-ui) ease, transform 260ms var(--ease-out); }
.story-link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.story-art { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--inset); }
.story-art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.story-body { padding: 18px 20px 22px; display: grid; gap: 8px; align-content: start; }
.story-body p { margin: 0; color: var(--muted); }
.page-home .story h3 { color: #f3ead4; }
.story .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: var(--fs-xs); letter-spacing: .04em; }
.story .tag { color: var(--rune); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.featured { grid-row: 1 / span 2; }
.featured .story-art { aspect-ratio: 16 / 10; }
.page-home .featured h3 { font: 600 clamp(1.3rem, 1.1rem + .8vw, 1.75rem)/1.2 var(--display); }
@media (hover: hover) and (pointer: fine) {
  .story:hover { border-color: var(--line-gold); transform: translateY(-3px); }
  .story:hover .story-art img { transform: scale(1.035); }
}
.community { grid-column: 2 / span 2; border-radius: var(--r-lg); padding: 20px 22px; background: linear-gradient(135deg, rgba(88, 212, 223, .07), rgba(214, 176, 92, .05)), var(--bg2); border: 1px solid var(--line); }
.page-home .community h3 { font: 600 1.2rem/1.2 var(--display); color: var(--gold-2); margin-bottom: 10px; }
.comm-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.comm-list li, .comm-list li > a { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-items: center; gap: 6px 12px; color: inherit; }
.comm-list li { padding: 12px; border-radius: var(--r); background: rgba(6, 16, 20, .5); border: 1px solid var(--line); min-height: 56px; }
.comm-list li > a { grid-column: 1 / -1; grid-row: 1 / -1; }
.comm-list b { display: block; font-size: .95rem; }
.comm-list small { display: block; color: var(--muted); font-size: var(--fs-xs); line-height: 1.35; }
.comm-list .chip-soon, .comm-list .arrow { grid-column: 2; justify-self: start; }
.comm-list .arrow { color: var(--gold-2); }
.ic { width: 34px; height: 34px; border-radius: var(--r); background: var(--surface-2) center / 20px no-repeat; border: 1px solid var(--line-2); grid-row: 1 / span 2; }
.ic-discord { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2d48e' stroke-width='1.6'%3E%3Cpath d='M7 17c3 1.5 7 1.5 10 0M5 7c4-2 10-2 14 0l1 9-3 2-1.5-2M5 7 4 16l3 2 1.5-2'/%3E%3Ccircle cx='9.5' cy='12' r='1.2'/%3E%3Ccircle cx='14.5' cy='12' r='1.2'/%3E%3C/svg%3E"); }
.ic-tg { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2d48e' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='m3 11 18-7-3 16-6-5-3 4v-6l9-7-11 6z'/%3E%3C/svg%3E"); }
.ic-mail { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2d48e' stroke-width='1.6'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
.ic-key { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2d48e' stroke-width='1.6'%3E%3Ccircle cx='8' cy='14' r='4'/%3E%3Cpath d='m11 11 9-9m-4 4 3 3m-5-1 2 2'/%3E%3C/svg%3E"); }
@media (max-width: 899px) {
  .chron-grid { grid-template-columns: 1fr; }
  .featured { grid-row: auto; }
  .community { grid-column: auto; }
  .comm-list { grid-template-columns: 1fr; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-head .more { grid-column: 1; grid-row: auto; justify-self: start; }
}
@media (min-width: 900px) { .chron-grid.empty .community { grid-column: 2 / span 2; } }

/* ================= armoury (real viewer DOM: .armoury .stage #arm-canvas .opt .swatch .hero-grid) ================= */
.armoury-band { background: radial-gradient(900px 520px at 50% 40%, rgba(88, 212, 223, .06), transparent 70%); }
.armoury { display: grid; gap: 18px; grid-template-columns: 300px minmax(0, 1fr) 280px; align-items: start; margin: 10px 0 30px; }
.stage { position: relative; grid-column: 2; grid-row: 1 / span 4; height: min(78vh, 720px); border-radius: var(--r-lg); overflow: hidden;
  background: radial-gradient(70% 60% at 50% 38%, #12323a 0%, #0a1a1f 55%, var(--bg) 100%); border: 1px solid var(--line-gold); box-shadow: var(--shadow), inset 0 0 80px rgba(0, 0, 0, .55); }
.page-inner .stage { position: sticky; top: 80px; }
.stage canvas { position: relative; z-index: 1; display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.stage canvas:active { cursor: grabbing; }
.stage-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity 400ms ease; }
.stage.ready .stage-poster { opacity: 0; }
.stage-glow { position: absolute; left: 50%; bottom: 6%; width: 70%; aspect-ratio: 2.4; translate: -50% 0; border-radius: 50%; opacity: .45; z-index: 0;
  background: radial-gradient(closest-side, rgba(242, 212, 142, .42), rgba(88, 212, 223, .12) 60%, transparent); }
.stage-msg { position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%; margin: 0; padding: 10px 16px; border-radius: var(--r); background: var(--glass);
  color: var(--muted); font-size: var(--fs-sm); text-align: center; max-width: 80%; font-variant-numeric: tabular-nums; }
.stage-msg[hidden] { display: none; }
.frame-corner { position: absolute; z-index: 2; width: 26px; height: 26px; border: 2px solid var(--gold); opacity: .8; pointer-events: none; }
.frame-corner.tl { left: 10px; top: 10px; border-right: 0; border-bottom: 0; } .frame-corner.tr { right: 10px; top: 10px; border-left: 0; border-bottom: 0; }
.frame-corner.bl { left: 10px; bottom: 10px; border-right: 0; border-top: 0; } .frame-corner.br { right: 10px; bottom: 10px; border-left: 0; border-top: 0; }
.stage-plaque { position: absolute; z-index: 2; left: 50%; top: 16px; translate: -50% 0; padding: 6px 16px; border-radius: var(--r-pill); background: var(--glass); border: 1px solid var(--line-gold);
  font: 600 var(--fs-xs)/1.4 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); white-space: nowrap; backdrop-filter: blur(8px); max-width: calc(100% - 80px); overflow: hidden; text-overflow: ellipsis; }
.stage-tools { position: absolute; z-index: 2; right: 14px; bottom: 14px; left: 14px; display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.tool { min-height: 38px; padding: 0 14px; font: 600 var(--fs-sm)/1 var(--body); color: var(--text); background: var(--glass); border: 1px solid var(--line-2); border-radius: var(--r-pill); cursor: pointer;
  backdrop-filter: blur(8px); transition: border-color var(--d-ui) ease, transform var(--d-press) var(--ease-out); }
.tool:hover { border-color: var(--gold-3); }
.tool:active { transform: scale(.96); }
.tool[aria-pressed="true"] { border-color: var(--gold); color: var(--gold-2); }
.tool.share { display: inline-grid; place-items: center; } .tool.share > span { grid-area: 1 / 1; transition: opacity 160ms ease, transform 220ms var(--ease-out); }
.tool.share .t-done { opacity: 0; transform: translateY(6px); color: var(--up); }
.tool.share.done .t-idle { opacity: 0; transform: translateY(-6px); } .tool.share.done .t-done { opacity: 1; transform: none; }
.arm-panel { display: contents; }
.arm-panel fieldset { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px 14px 14px; margin: 0; background: var(--bg2); min-width: 0; }
.arm-panel legend { padding: 0 6px; font: 600 .95rem/1 var(--display); letter-spacing: .06em; color: var(--gold-2); }
.f-heroes { grid-column: 1; grid-row: 1 / span 4; }
.f-sets { grid-column: 3; grid-row: 1; } .f-colours { grid-column: 3; grid-row: 2; } .f-show { grid-column: 3; grid-row: 3; align-self: start; }
.opts { display: flex; flex-wrap: wrap; gap: 6px; }
.opt-group { width: 100%; } .opt-group + .opt-group { margin-top: 8px; }
.opt-label { margin: 4px 0 6px; font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.hero-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.opt { position: relative; font: inherit; font-size: var(--fs-sm); line-height: 1.3; text-align: left; color: var(--text); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: 7px 10px; min-height: 44px; cursor: pointer; transition: border-color var(--d-ui) ease, background-color var(--d-ui) ease, color var(--d-ui) ease, transform var(--d-press) var(--ease-out); }
.opt small { display: block; color: var(--muted); font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.opt:hover { border-color: var(--gold-3); }
.opt:active { transform: scale(.97); }
.opt[aria-pressed="true"] { border-color: var(--gold); background: rgba(214, 176, 92, .12); color: var(--gold-2); }
.sets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.sets .opt { width: 100%; }
.swatches { gap: 10px; }
.opt.swatch { width: 44px; height: 44px; min-height: 0; padding: 0; border-radius: 50%; border: 2px solid var(--line-2);
  background: conic-gradient(from 225deg, var(--sw-a, #111) 0 50%, var(--sw-b, var(--gold)) 50% 100%); }
.opt.swatch::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--gold-2); opacity: 0; transform: scale(.8); transition: opacity 160ms ease, transform var(--spring-pop); }
.opt.swatch[aria-pressed="true"] { border-color: transparent; background: conic-gradient(from 225deg, var(--sw-a, #111) 0 50%, var(--sw-b, var(--gold)) 50% 100%); }
.opt.swatch[aria-pressed="true"]::after { opacity: 1; transform: scale(1); }
.arm-colname { margin: 10px 0 0; font-size: var(--fs-sm); color: var(--gold-2); min-height: 1.4em; }
.toggles { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.tog { display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
.tog input { width: 20px; height: 20px; accent-color: var(--gold); }
@media (max-width: 1099px) and (min-width: 900px) {
  .armoury { grid-template-columns: minmax(0, 1fr) 300px; }
  .stage { grid-column: 1; }
  .f-heroes { grid-column: 2; grid-row: 1; } .f-sets { grid-column: 2; grid-row: 2; } .f-colours { grid-column: 2; grid-row: 3; } .f-show { grid-column: 2; grid-row: 4; }
}
/* phones: the stage sticks under the header, the choices scroll as rails below it - you always see what you change */
@media (max-width: 899px) {
  .armoury { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .stage, .page-inner .stage { grid-column: 1; grid-row: auto; height: min(56svh, 480px); position: sticky; top: 64px; z-index: 3;
    box-shadow: 0 0 0 var(--gutter) var(--bg), 0 18px 24px -8px var(--bg); }
  .f-heroes, .f-sets, .f-colours, .f-show { grid-column: 1; grid-row: auto; }
  .arm-panel fieldset { padding: 10px 0 12px; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; }
  .arm-panel legend { padding: 0; }
  #arm-heroes { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 6px; scrollbar-width: none; }
  #arm-heroes .opt-group { width: auto; flex: none; margin: 0; }
  #arm-heroes .hero-grid { grid-auto-flow: column; grid-template-columns: none; grid-template-rows: auto; }
  #arm-heroes .opt { width: 9.2rem; scroll-snap-align: start; }
  .sets { display: flex; flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 6px; scrollbar-width: none; }
  .sets .opt { width: auto; flex: none; }
  .stage-plaque { top: 12px; font-size: .68rem; }
  .stage-tools .tool { min-height: 36px; padding: 0 12px; font-size: .8rem; }
}
.armoury.photo { grid-template-columns: 1fr; }
.armoury.photo .arm-panel, .armoury.photo .stage-tools, .armoury.photo .stage-plaque, .armoury.photo .frame-corner { display: none; }
.armoury.photo .stage { grid-column: 1; }

/* ================= the void, live ================= */
.void-band { overflow: clip; }
.void-bg { position: absolute; inset: 0; z-index: -1; opacity: .22; }
.void-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.45) hue-rotate(-40deg); }
.void-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg), rgba(6, 16, 20, .5) 40%, var(--bg)); }
.void-band { isolation: isolate; }
.void-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.void-grid.no-events { grid-template-columns: 1fr; }
.bosses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.boss { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 10px 16px; align-items: center; padding: 18px; border-radius: var(--r-lg);
  background: rgba(13, 28, 33, .86); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.boss:not(.main) { grid-template-columns: 1fr auto; } .boss:not(.main) .ring { grid-column: 2; grid-row: 1; width: 42px; height: 42px; }
.boss:not(.main) > div { grid-column: 1; grid-row: 1; } .boss:not(.main) .when { grid-column: 1 / -1; }
.boss.main { grid-column: 1 / -1; border-color: var(--line-gold); background: linear-gradient(120deg, rgba(214, 176, 92, .08), transparent 60%), rgba(13, 28, 33, .9); }
.boss.main .ring { grid-row: 1 / span 2; }
.page-home .boss h3 { display: flex; align-items: center; gap: 8px; font: 600 1.1rem/1.2 var(--display); color: #f3ead4; }
.page-home .boss.main h3 { font-size: 1.45rem; }
.boss .where { margin: 2px 0 0; color: var(--faint); font-size: var(--fs-sm); }
.boss .when { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.boss .when b { color: var(--gold-2); font-size: 1.05rem; margin-left: 4px; }
.boss.main .when b { font-size: 1.6rem; }
.boss .when small { display: block; color: var(--faint); }
.boss .when.alive b { color: #ff8a7c; margin: 0; }
.boss.main .when { grid-column: 2; }
@media (min-width: 900px) { .boss.main { grid-template-columns: auto 1fr auto; } .boss.main .when { grid-column: 3; grid-row: 1 / span 2; text-align: right; } }
.page-home .badge { font: 700 .62rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); background: var(--gold); padding: 4px 7px; border-radius: var(--r-xs); box-shadow: none; }
.events { border-radius: var(--r-lg); padding: 18px 20px; background: rgba(10, 23, 28, .88); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.page-home .events h3 { display: flex; align-items: center; gap: 10px; font-size: var(--fs-xs); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.feed { list-style: none; margin: 0; padding: 0; overflow: hidden; }
.feed li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.feed li:first-child { border-top: 0; }
.feed p { margin: 0; font-size: .93rem; }
.feed .killer { color: var(--muted); }
.feed .ago { font-size: var(--fs-xs); color: var(--faint); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ev-ic { width: 10px; height: 10px; rotate: 45deg; border: 2px solid var(--gold-3); }
.ev-kill { border-color: var(--blood); background: rgba(194, 59, 46, .4); }
.ev-rise { border-color: var(--rune); }
.feed li.fresh { background: linear-gradient(90deg, rgba(214, 176, 92, .1), transparent 70%); }
.demo-note { margin: 14px 0 0; font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--warn); }
@media (max-width: 899px) { .void-grid, .bosses { grid-template-columns: 1fr; } }

/* ================= coming to UE5: before / after (native range + clip-path) + shot + roadmap ================= */
.ue5-grid { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.compare { position: relative; margin: 0; grid-row: 1 / span 2; aspect-ratio: 960 / 514; align-self: start; overflow: hidden; border-radius: var(--r-lg);
  border: 1px solid var(--line-gold); background: var(--inset); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.cmp-img { position: absolute; inset: 0; }
.cmp-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cmp-new { clip-path: inset(0 50% 0 0); }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--gold-2); box-shadow: 0 0 14px rgba(242, 212, 142, .7); z-index: 2; pointer-events: none; }
.cmp-handle i { position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; translate: -50% -50%; rotate: 45deg; border: 1px solid var(--gold-2); background: rgba(6, 16, 20, .8); }
.cmp-tag { position: absolute; top: 14px; z-index: 2; padding: 6px 10px; border-radius: var(--r-pill); background: var(--glass); border: 1px solid var(--line-2);
  font: 600 var(--fs-xs)/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); backdrop-filter: blur(6px); }
.cmp-tag-l { left: 14px; } .cmp-tag-r { right: 14px; color: var(--muted); }
.cmp-range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.compare:focus-within .cmp-handle i { outline: 2px solid var(--gold-2); outline-offset: 3px; }
.ue5-shot { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--inset); }
.ue5-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.ue5-shot figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--glass); font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--text); backdrop-filter: blur(8px); }
.roadmap { list-style: none; margin: 0; padding: 18px 20px; display: grid; border-radius: var(--r-lg); background: var(--bg2); border: 1px solid var(--line); }
.roadmap li { position: relative; display: grid; grid-template-columns: 26px 1fr; column-gap: 12px; padding: 8px 0; }
.roadmap li::before { content: ""; position: absolute; left: 12px; top: 30px; bottom: -8px; width: 2px; background: var(--line-2); }
.roadmap li:last-child::before { display: none; }
.roadmap li.done::before { background: var(--gold-3); }
.roadmap .step { grid-row: 1 / span 2; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--surface); position: relative; }
.roadmap .done .step { border-color: var(--gold); background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1506' stroke-width='3'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 16px no-repeat; }
.roadmap .now .step { border-color: var(--rune); }
.roadmap .now .step::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--rune); animation: beat-soft 2.4s ease-in-out infinite; }
@keyframes beat-soft { 50% { opacity: .35; } }
.roadmap b { font-size: .98rem; } .roadmap .now b { color: var(--rune); }
.roadmap small { color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 899px) { .ue5-grid { grid-template-columns: 1fr; } .compare { grid-row: auto; } }

/* ================= play path: three steps (account -> launcher -> PLAY), each with an honest state ================= */
.download-band { overflow: clip; isolation: isolate; }
.dl-art { position: absolute; inset: 0; z-index: -1; }
.dl-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; opacity: .45; }
.dl-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 6%, rgba(6, 16, 20, .7) 50%, var(--bg) 94%), linear-gradient(0deg, var(--bg), transparent 30%, transparent 70%, var(--bg)); }
.play-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: none; position: relative; }
.play-steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 38px; height: 1px; background: linear-gradient(90deg, transparent, var(--line-gold) 12%, var(--line-gold) 88%, transparent); z-index: -1; }
.step-card { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; padding: 22px 22px 20px; border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(17, 36, 41, .82), rgba(8, 19, 23, .9)); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform var(--d-ui) var(--ease-out), border-color var(--d-ui) var(--ease-out); }
.page-home main .step-card h3 { font: 600 1.18rem/1.2 var(--display); letter-spacing: .03em; color: #f3ead4; }
.step-card p { margin: 0; color: var(--muted); font-size: .96rem; }
.step-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font: 700 1rem/1 var(--display); color: var(--gold-ink);
  background: linear-gradient(180deg, #fbe3a6, var(--gold) 60%, var(--gold-3)); box-shadow: 0 0 0 5px var(--bg), 0 0 0 6px var(--line-gold); }
.step-act { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; min-height: 44px; margin-top: 6px; }
@media (hover: hover) and (pointer: fine) { .step-card:hover { transform: translateY(-3px); border-color: var(--line-gold); } }
@media (max-width: 899px) {
  .play-steps { grid-template-columns: 1fr; gap: 12px; }
  .play-steps::before { left: 39px; right: auto; top: 24px; bottom: 24px; width: 1px; height: auto; background: linear-gradient(180deg, transparent, var(--line-gold) 10%, var(--line-gold) 90%, transparent); }
  .step-card { grid-template-columns: 34px 1fr; grid-template-rows: auto; column-gap: 14px; padding: 18px 16px; }
  .step-card > :not(.step-n) { grid-column: 2; }
  .step-card .step-n { grid-row: 1 / span 3; }
}

/* ================= inner pages: header offset + one quiet art band behind the page title ================= */
.inner-main { position: relative; padding-top: 96px; padding-bottom: 64px; isolation: isolate; }
.page-inner::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 420px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 16, 20, .55), var(--bg) 92%), url("img/home/band-vault-960.webp") center 45% / cover no-repeat; opacity: .3; }
.page-inner { position: relative; }
.inner-main > h1:first-child, .inner-main > header:first-child h1, .inner-main > .show-head h1 { margin-top: .4em; view-transition-name: page-title; }

/* ================= footer (sticky: body is a flex column): brand + three link columns ================= */
.foot { border-top: 1px solid var(--line); background: var(--inset); padding: 44px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
.foot-brand p { margin: 12px 0 0; max-width: 34ch; color: var(--faint); font-size: var(--fs-sm); }
.foot nav { display: flex; flex-direction: column; align-items: flex-start; }
.foot-h { margin: 0 0 6px; font: 600 var(--fs-xs)/1.2 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); }
.foot nav a { color: var(--muted); font-size: var(--fs-sm); padding: 7px 0; min-height: 32px; text-decoration: none; transition: color .16s var(--ease-out); }
.foot nav a:hover { color: var(--gold-2); }
.foot .fine { margin: 32px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--faint); font-size: var(--fs-xs); }
@media (max-width: 899px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } .foot nav a { min-height: 40px; padding: 10px 0; } }

/* ================= motion: entrance state (JS sets it only for elements still below the fold) + view transitions ================= */
.pre-reveal { opacity: 0; }
.stage-msg .arm-gate { pointer-events: auto; }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 180ms; animation-timing-function: var(--ease-out); }
::view-transition-new(page-title) { animation: vt-title 320ms var(--ease-out) both; }
@keyframes vt-title { from { opacity: 0; transform: translateY(8px); } }
@keyframes fade-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .face img, .face picture, .mist, .rays, .dot::after, .ring.near, .roadmap .now .step::after { animation: none !important; }
  .eye { animation: none !important; opacity: .7; }
  .hero [data-intro], .wm-main, .wordmark .wm-sub { animation-name: fade-in !important; animation-duration: 150ms !important; animation-delay: 0s !important; }
  .story, .step-card, .story-art img, .btn, .tool, .opt, .more span, .nav, .pkg, .reel img { transition-property: opacity, color, background-color, border-color !important; }
  .opt.swatch::after { transition: opacity 150ms ease !important; transform: none !important; }
  ::view-transition-old(root), ::view-transition-new(root), ::view-transition-new(page-title) { animation: none; }
}
