/* metallic.club. Graphite glass, titanium type, one restrained violet. Same faces and tokens as the launcher (hub.css).
   Radii: card 16, control 10, chip 999. One container, one section rhythm. */
@font-face { font-family: "Hanken Grotesk"; src: url(fonts/hanken-grotesk-var.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Archivo"; src: url(fonts/archivo-var.woff2) format("woff2"); font-weight: 500 800; font-stretch: 75% 100%; font-display: swap; }

:root {
  color-scheme: dark;
  --ui: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --disp: "Archivo", "Segoe UI", system-ui, sans-serif;
  --bg: #0b0b0e; --solid: #15151b; --solid2: #1b1b23;
  --ink: #efeef4; --ink2: rgba(239, 238, 244, .74); --ink3: rgba(239, 238, 244, .52);
  --glass: rgba(18, 18, 24, .72); --glass-hi: rgba(255, 255, 255, .04);
  --rim: rgba(255, 255, 255, .09); --line: rgba(255, 255, 255, .07); --hover: rgba(255, 255, 255, .06);
  --acc: #9d8fff; --acc-rgb: 157, 143, 255; --acc-ink: #110f1c;
  --live: #ff5d5d;
  --shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 24px 48px -28px rgba(0, 0, 0, .9);
  --out: cubic-bezier(.23, 1, .32, 1);
  --g: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --sec: clamp(72px, 9vw, 120px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--ui); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--disp); font-weight: 700; margin: 0; letter-spacing: -.015em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:where(a, button):focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 99; padding: 10px 14px; border-radius: 10px; background: var(--acc); color: var(--acc-ink); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--g); }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 10px;
  background: var(--acc); color: var(--acc-ink); font: 600 15px/1 var(--ui); text-decoration: none; border: 1px solid transparent;
  transition: background .2s, transform .2s var(--out), border-color .2s; }
.btn:hover { background: #b0a5ff; }
.btn:active { transform: translateY(1px); }
.btn.big { height: 52px; padding: 0 26px; font-size: 16px; }
.btn.small { height: 36px; padding: 0 14px; font-size: 14px; }
.btn.ghost { background: var(--glass-hi); color: var(--ink); border-color: var(--rim); }
.btn.ghost:hover { background: var(--hover); border-color: rgba(255, 255, 255, .16); }
.btn[aria-disabled="true"] { background: var(--solid2); color: var(--ink3); pointer-events: none; }

/* ---- header ---- */
.top { position: sticky; top: 0; z-index: 40; background: rgba(11, 11, 14, .72); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); }
.top-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--g); height: 64px; display: flex; align-items: center; gap: 28px; }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.word { font: 700 15px/1 var(--disp); letter-spacing: .14em; text-transform: uppercase; }
.ea { font: 600 10.5px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--acc); padding: 5px 8px; border-radius: 999px;
  border: 1px solid rgba(var(--acc-rgb), .35); background: rgba(var(--acc-rgb), .08); }
.links { display: flex; gap: 4px; margin-left: auto; }
.links a { padding: 8px 12px; border-radius: 8px; color: var(--ink2); text-decoration: none; font-weight: 500; font-size: 15px; transition: color .15s, background .15s; }
.links a:hover { color: var(--ink); background: var(--hover); }
.links a[aria-current="page"] { color: var(--ink); }

/* ---- shared type ---- */
.eyebrow, .kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); }
.kicker { color: var(--acc); margin-bottom: 14px; }
.live-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--live); flex: none; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--live); opacity: 0; animation: beat 2.4s infinite; }
@keyframes beat { 0% { transform: scale(1); opacity: .45; } 70%, 100% { transform: scale(3); opacity: 0; } }
.lede { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink2); max-width: 36em; }
.lede a { color: var(--ink); text-decoration-color: rgba(var(--acc-rgb), .6); text-underline-offset: 3px; }
.cta-note { margin-top: 12px; font-size: 13px; color: var(--ink3); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---- hero ---- */
.hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; filter: saturate(.7); }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 0, rgba(11, 11, 14, .82) 45%, rgba(11, 11, 14, .55) 100%), linear-gradient(180deg, rgba(11, 11, 14, 0) 55%, var(--bg) 100%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 88px); align-items: center;
  padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(56px, 8vw, 104px); }
.hero h1 { font-size: clamp(40px, 5.4vw, 72px); line-height: 1.02; margin: 22px 0 22px; font-stretch: 92%; }
.hero h1 .dim { color: var(--ink3); }
.nw { white-space: nowrap; }
.stats { display: flex; flex-wrap: wrap; gap: 0; margin: 44px 0 0; border-top: 1px solid var(--line); padding-top: 22px; }
.stats div { padding-right: 32px; margin-right: 32px; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.stats dt { font-size: 13px; color: var(--ink3); order: 2; }
.stats dd { margin: 0 0 4px; font: 700 clamp(24px, 2.4vw, 30px)/1.1 var(--disp); font-variant-numeric: tabular-nums; }
.stats div { display: flex; flex-direction: column-reverse; }

/* the launcher window in the hero */
.win { border-radius: 16px; background: var(--glass); border: 1px solid var(--rim); box-shadow: var(--shadow), 0 40px 80px -40px rgba(0, 0, 0, .9);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-bottom: 1px solid var(--line); font-size: 12px; }
.win-bar b { font: 700 11px/1 var(--disp); letter-spacing: .14em; text-transform: uppercase; }
.win-live { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--ink2); font-weight: 600; }
.win-feature { position: relative; margin: 12px; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 7; background: var(--solid); }
.win-feature img { width: 100%; height: 100%; object-fit: cover; }
.win-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(8, 8, 11, .88)); }
.win-feature-text { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; display: flex; flex-direction: column; gap: 3px; }
.win-feature-text b { font: 700 20px/1.15 var(--disp); }
.win-feature-text span:last-child { font-size: 13px; color: var(--ink2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.win-tag { align-self: flex-start; font: 600 10px/1 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--acc);
  padding: 4px 7px; border-radius: 999px; background: rgba(var(--acc-rgb), .14); margin-bottom: 4px; }
.win-list { padding: 0 6px 8px; }
.win-list li { display: flex; align-items: center; gap: 12px; padding: 8px 8px; border-radius: 10px; }
.win-list li + li { border-top: 1px solid var(--line); }
.win-list b { font-weight: 600; font-size: 14px; }
.win-list em { margin-left: auto; font-style: normal; font-size: 12.5px; color: var(--ink3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.win-list .ic { width: 32px; height: 32px; border-radius: 9px; font-size: 12px; }

/* ---- icon: the image sits over a monogram, so a missing or broken image still leaves a clean tile ---- */
.ic { position: relative; flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; overflow: hidden;
  background: linear-gradient(145deg, #2a2a34, #16161c); border: 1px solid var(--rim); color: var(--ink2);
  font: 700 16px/1 var(--disp); letter-spacing: .02em; }
.ic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ic.has-img { background: var(--solid); }

/* ---- sections ---- */
.sec { padding: var(--sec) 0 0; }
.sec.tight { padding-top: 32px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.08; max-width: 18em; }
.sec-meta { font-size: 14px; color: var(--ink3); max-width: 24em; text-align: right; }
.more-link { color: var(--ink2); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; padding: 8px 0; }
.more-link::after { content: " \2192"; color: var(--acc); }
.more-link:hover { color: var(--ink); }
.fine { margin-top: 24px; font-size: 13px; color: var(--ink3); max-width: 62em; }
.empty { padding: 32px; border-radius: 16px; border: 1px dashed var(--rim); color: var(--ink2); }
.empty-title { font: 700 18px/1.3 var(--disp); color: var(--ink); margin-bottom: 6px; }
.empty-line { color: var(--ink3); padding: 24px; border-radius: 16px; border: 1px dashed var(--rim); grid-column: 1 / -1; }

/* ---- revival cards ---- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 16px; background: var(--solid); border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset; transition: border-color .2s, background .2s, transform .3s var(--out); position: relative; }
.card:hover { border-color: var(--rim); background: var(--solid2); transform: translateY(-2px); }
.c-head { display: flex; align-items: center; gap: 14px; min-width: 0; }
.c-title { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.c-name { font: 700 18px/1.2 var(--disp); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.c-name::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.c-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; line-height: 1; padding: 5px 8px; border-radius: 999px; background: var(--glass-hi); border: 1px solid var(--line); color: var(--ink2); white-space: nowrap; }
.tag.era { color: var(--ink); border-color: rgba(var(--acc-rgb), .32); background: rgba(var(--acc-rgb), .08); }
.c-blurb { font-size: 14px; color: var(--ink2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.c-foot { display: flex; gap: 24px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.c-num { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; font-size: 13px; color: var(--ink3); }
.c-num b { font: 700 18px/1 var(--disp); color: var(--ink); font-variant-numeric: tabular-nums; }
.c-num.game b { color: var(--acc); }
.c-none { font-size: 13px; color: var(--ink3); }

/* ---- how it works ---- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { padding: 28px 24px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--solid), rgba(21, 21, 27, .4)); }
.step-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; margin-bottom: 22px; font: 700 15px/1 var(--disp);
  color: var(--acc); background: rgba(var(--acc-rgb), .1); border: 1px solid rgba(var(--acc-rgb), .28); }
.steps h3, .req-item h3 { font-size: 19px; margin-bottom: 8px; }
.steps p, .req-item p { font-size: 15px; color: var(--ink2); }

/* ---- news cards (home) ---- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.news-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 16px; background: var(--solid);
  border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.news-card:hover { border-color: var(--rim); background: var(--solid2); }
.n-who { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--ink2); }
.n-who .ic, .np-who .ic, .chip .ic { width: 24px; height: 24px; border-radius: 7px; font-size: 11px; }
.n-title { font: 600 17px/1.35 var(--disp); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.n-title::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.n-meta { margin-top: auto; font-size: 13px; color: var(--ink3); }

/* ---- projects ---- */
.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.project { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px; border-radius: 16px; background: var(--solid); border: 1px solid var(--line); }
.project div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.p-name { font: 700 17px/1.25 var(--disp); text-decoration: none; }
a.p-name:hover { text-decoration: underline; text-decoration-color: rgba(var(--acc-rgb), .6); text-underline-offset: 3px; }
.p-kind { font-size: 13px; color: var(--ink3); }

/* ---- closing call to action ---- */
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(28px, 4vw, 48px); border-radius: 20px;
  border: 1px solid var(--rim); background: radial-gradient(120% 140% at 100% 0, rgba(var(--acc-rgb), .14), rgba(var(--acc-rgb), 0) 55%), var(--solid); }
.cta-band h2 { font-size: clamp(28px, 3.2vw, 40px); }
.cta-band p { margin-top: 8px; color: var(--ink2); }

/* ---- people in Metallic now (hero, downloads) and the Metallic Discord ---- */
.presence { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin-top: 18px; padding: 8px 16px 8px 13px;
  border-radius: 999px; border: 1px solid rgba(var(--acc-rgb), .26); background: rgba(var(--acc-rgb), .08); font-size: 14px; color: var(--ink2); }
.presence b { color: var(--ink); font: 700 15px/1 var(--disp); font-variant-numeric: tabular-nums; }
.presence-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); flex: none;
  box-shadow: 0 0 0 3px rgba(var(--acc-rgb), .18); }
.presence-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--acc); opacity: 0; animation: beat 2.4s infinite; }
.presence-peak { color: var(--ink3); font-size: 13px; }
.presence-peak:empty { display: none; }
.presence-peak::before { content: "·"; margin-right: 10px; }
.discord-band { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(20px, 3vw, 36px);
  padding: clamp(28px, 4vw, 44px); border-radius: 20px; border: 1px solid var(--rim); box-shadow: var(--shadow);
  background: radial-gradient(90% 160% at 0 100%, rgba(var(--acc-rgb), .12), rgba(var(--acc-rgb), 0) 60%), var(--glass); }
.db-mark { width: 64px; height: 64px; padding: 14px; border-radius: 18px; background: var(--solid2); border: 1px solid var(--rim); }
.discord-band h2 { font-size: clamp(26px, 2.8vw, 36px); }
.db-text > p:not(.kicker) { margin-top: 8px; color: var(--ink2); max-width: 34em; }
.db-text .kicker { margin-bottom: 10px; }
.db-live { display: flex; align-items: center; gap: 10px; font-size: 14px; font-variant-numeric: tabular-nums; }
.db-text .db-live { margin-top: 14px; color: var(--ink); }

/* ---- page heads (downloads, news, 404) ---- */
.page-head { padding: clamp(56px, 8vw, 104px) 0 clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line);
  background: radial-gradient(80% 120% at 85% -20%, rgba(var(--acc-rgb), .1), rgba(var(--acc-rgb), 0) 60%); }
.page-head h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.04; margin: 0 0 18px; }
.page-head .eyebrow { margin-bottom: 20px; }
.lost { min-height: 52vh; }

/* ---- downloads ---- */
.dl-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.dl .lede b { color: var(--ink); }
.dl-wait { margin-top: 20px; font-size: 14px; color: var(--ink3); max-width: 34em; }
.facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-radius: 16px; border: 1px solid var(--rim); background: var(--glass); overflow: hidden; box-shadow: var(--shadow); }
.facts div { padding: 18px 20px; border-bottom: 1px solid var(--line); min-width: 0; }
.facts div:nth-child(odd):not(.wide) { border-right: 1px solid var(--line); }
.facts .wide { grid-column: 1 / -1; border-bottom: 0; }
.facts dt { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); margin-bottom: 6px; }
.facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.facts .wide dd { font-weight: 400; color: var(--ink2); font-size: 15px; }
.facts .wide.stat { border-bottom: 1px solid var(--line); }
.facts .wide.stat dd { font-weight: 600; color: inherit; font-size: inherit; font-variant-numeric: tabular-nums; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; align-items: start; }
.notes-body { padding: 24px; border-radius: 16px; background: var(--solid); border: 1px solid var(--line); color: var(--ink2); }
.notes-body > * + * { margin-top: 12px; }
.notes-body ul { padding-left: 20px; list-style: disc; }
.notes-body li + li { margin-top: 6px; }
.req-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.req-item { padding: 24px; border-radius: 16px; border: 1px solid var(--line); background: var(--solid); }
.scene-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.scene { margin: 0; position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--solid); }
.scene.big { grid-column: span 2; grid-row: span 2; }
.scene img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.scene figcaption { position: absolute; left: 10px; bottom: 10px; padding: 6px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: rgba(11, 11, 14, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* ---- news page ---- */
.np-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 8px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--solid); color: var(--ink2); font: 500 14px/1 var(--ui); cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.chip:first-child { padding-left: 14px; }
.chip:hover { color: var(--ink); border-color: var(--rim); }
.chip[aria-pressed="true"] { color: var(--ink); border-color: rgba(var(--acc-rgb), .5); background: rgba(var(--acc-rgb), .1); }
.np-lead { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); border-radius: 16px; overflow: hidden;
  border: 1px solid var(--rim); background: var(--solid); margin-bottom: 8px; }
.np-lead img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.np-lead-text { padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; }
.np-lead-title { font: 700 clamp(22px, 2.4vw, 30px)/1.2 var(--disp); text-decoration: none; }
.np-lead-title::after { content: ""; position: absolute; inset: 0; }
.np-lead-meta { color: var(--ink3); font-size: 14px; }
.np-month { font: 600 12px/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); padding: 36px 0 12px; }
.np-row { position: relative; display: grid; grid-template-columns: 120px 64px minmax(0, 170px) minmax(0, 1fr) auto; align-items: center; gap: 18px;
  padding: 12px; border-radius: 14px; border: 1px solid transparent; transition: background .15s, border-color .15s; }
.np-row + .np-row { margin-top: 4px; }
.np-row:hover { background: var(--solid); border-color: var(--line); }
.np-pic { display: block; width: 120px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--solid2); }
.np-pic img { width: 100%; height: 100%; object-fit: cover; }
.np-date { font-size: 13px; color: var(--ink3); font-variant-numeric: tabular-nums; }
.np-who { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink2); min-width: 0; }
.np-who > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.np-title { font-weight: 600; text-decoration: none; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.np-title::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.np-src { font-size: 13px; color: var(--ink3); white-space: nowrap; }

/* ---- footer ---- */
.foot { border-top: 1px solid var(--line); margin-top: var(--sec); }
main > section:last-child { padding-bottom: 0; }
.foot-in { max-width: var(--max); margin: 0 auto; padding: 32px var(--g) 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.foot nav { display: flex; gap: 20px; }
.foot nav a { color: var(--ink2); text-decoration: none; font-size: 14px; }
.foot nav a:hover { color: var(--ink); }
.foot-end { margin-left: auto; font-size: 13px; color: var(--ink3); }

/* ---- entrances (site.js adds .pre to what starts below the fold, then .in) ---- */
.js .pre { opacity: 0; transform: translateY(14px); }
.js .pre.in { opacity: 1; transform: none; transition: opacity .6s var(--out) var(--d, 0ms), transform .6s var(--out) var(--d, 0ms); }

/* ---- smaller screens ---- */
@media (max-width: 1080px) {
  .cards, .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scene-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-in, .dl-in, .two-col { grid-template-columns: minmax(0, 1fr); }
  .win { max-width: 560px; }
  .steps, .req-grid { grid-template-columns: minmax(0, 1fr); }
  .np-row { grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "pic who" "pic title" "pic meta"; gap: 4px 14px; }
  .np-pic { grid-area: pic; width: 96px; }
  .np-who { grid-area: who; }
  .np-title { grid-area: title; }
  .np-date { grid-area: meta; }
  .np-src { display: none; }
  .np-lead { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .top-in { gap: 12px; height: 58px; }
  .ea { display: none; }
  .links { gap: 0; }
  .links a { padding: 8px; font-size: 14px; }
  .links a[href="/downloads/"] { display: none; }
  .cards, .news-grid, .scene-grid { grid-template-columns: minmax(0, 1fr); }
  .scene.big { grid-column: auto; grid-row: auto; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 24px; }
  .sec-meta { text-align: left; }
  .hero-cta .btn { flex: 1 1 100%; }
  .stats div { padding-right: 18px; margin-right: 18px; }
  .stats dd { font-size: 22px; }
  .cta-band { flex-direction: column; align-items: stretch; }
  .discord-band { grid-template-columns: minmax(0, 1fr); }
  .presence-peak { display: none; }
  .db-mark { width: 52px; height: 52px; padding: 11px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts div:nth-child(odd):not(.wide) { border-right: 0; }
  .foot-end { margin-left: 0; }
}
@media (max-width: 440px) {
  .top .word { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
