/* LOST RAIDERS — lostraiders.net
   Design system "After": scorched steel, bone paint, rust, and the violet of the growth.
   © 2026 Raithe Industries Inc. */

/* ---------- faces (SIL Open Font License 1.1; licences in /assets/fonts/licenses/) ---------- */
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/barlowcond-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/barlowcond-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/barlowcond-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/barlowcond-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Big Shoulders"; src: url("/assets/fonts/bigshoulders-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Big Shoulders Stencil"; src: url("/assets/fonts/bigshoulders-stencil-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Share Tech Mono"; src: url("/assets/fonts/ShareTechMono-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }

/* ---------- tokens ---------- */
:root {
  --void: #0a0b0a;
  --ink: #101210;
  --steel: #161917;
  --plate: #1d211e;
  --plate-2: #252a26;
  --edge: #343a34;
  --line: rgba(232, 223, 204, 0.12);
  --line-strong: rgba(232, 223, 204, 0.24);
  --bone: #e9e0cc;
  --bone-2: #c9bfa9;
  --dust: #9b927f;
  --dust-2: #776f60;
  --rust: #c4572a;
  --rust-hi: #e2733a;
  --ember: #ff9a4d;
  --spore: #b46cff;
  --signal: #6fd3c4;
  --hazard: #e0a526;

  --r-common: #bdb6a6;
  --r-uncommon: #86b86a;
  --r-rare: #58a6e8;
  --r-epic: #b46cff;
  --r-legendary: #f0a73a;

  --f-display: "Big Shoulders", "Barlow Condensed", Impact, sans-serif;
  --f-stencil: "Big Shoulders Stencil", "Big Shoulders", Impact, sans-serif;
  --f-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Barlow", system-ui, sans-serif;
  --f-mono: "Share Tech Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --cut: 14px;          /* chamfer size on plates and buttons */
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--void);
  color: var(--bone-2);
  font: 400 17px/1.65 var(--f-body);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
/* film grain over everything */
body::after {
  content: "";
  position: fixed; inset: -50%;
  pointer-events: none; z-index: 100;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .07;
  mix-blend-mode: overlay;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--bone); text-decoration-color: rgba(226, 115, 58, .6); text-underline-offset: .2em; transition: color .2s; }
a:hover { color: var(--rust-hi); }
::selection { background: var(--rust); color: var(--void); }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.btn:focus-visible, .item-card:focus-visible, .plate :focus-visible { outline: 2px solid var(--ember); outline-offset: -5px; }
h1, h2, h3, h4 { color: var(--bone); margin: 0 0 .5em; line-height: 1.02; font-family: var(--f-head); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; }
h1 { font-size: clamp(44px, 7.4vw, 112px); font-family: var(--f-display); font-weight: 800; letter-spacing: .01em; line-height: .92; }
h2 { font-size: clamp(34px, 4.8vw, 68px); font-family: var(--f-display); font-weight: 800; line-height: .95; }
h3 { font-size: clamp(22px, 2.2vw, 30px); }
h4 { font-size: 19px; letter-spacing: .06em; }
p { margin: 0 0 1.1em; max-width: 68ch; }
strong { color: var(--bone); font-weight: 600; }
small { font-size: 13px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--rust); color: var(--void); font: 600 14px var(--f-head); text-transform: uppercase; letter-spacing: .1em; }
.skip:focus { top: 12px; }
.tm { font-size: .42em; vertical-align: super; letter-spacing: 0; font-family: var(--f-body); font-weight: 500; margin-left: .08em; line-height: 0; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { position: relative; padding-block: clamp(80px, 11vw, 160px); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }

/* ---------- small type ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 400 13px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--rust-hi);
  margin: 0 0 22px;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.kicker--plain::before { display: none; }
.meta { font: 400 12px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dust); }
.beat { margin: 0 0 1.1em; }
.lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.6; color: var(--bone-2); max-width: 60ch; }
.rule { height: 1px; background: linear-gradient(90deg, var(--rust) 0 64px, var(--line) 64px); margin: 28px 0; border: 0; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--rust); --fg: var(--void);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px 15px; min-height: 52px;
  font: 700 16px/1 var(--f-head); letter-spacing: .16em; text-transform: uppercase;
  color: var(--fg); background: var(--bg); text-decoration: none; border: 0; cursor: pointer;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: background .25s var(--ease), color .25s, transform .25s var(--ease);
}
.btn:hover { --bg: var(--ember); color: var(--void); transform: translateY(-1px); }
.btn .arrow { width: 18px; height: 10px; transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--bone); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--ghost::before { /* the chamfer edge stays outlined */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, var(--line-strong) 0 calc(var(--cut) * .72), transparent 0) top left / 100% 100% no-repeat,
              linear-gradient(-45deg, var(--line-strong) 0 calc(var(--cut) * .72), transparent 0) bottom right / 100% 100% no-repeat;
}
.btn--ghost:hover { --bg: rgba(232, 223, 204, .08); color: var(--bone); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- plates (chamfered panels) ---------- */
.plate {
  position: relative;
  background: linear-gradient(180deg, var(--plate), var(--steel));
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  padding: 28px;
}
.plate::before { /* hairline frame inside the clip */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border: 1px solid var(--line);
  clip-path: inherit;
}
.brackets { position: relative; }
.brackets::before, .brackets::after {
  content: ""; position: absolute; width: 18px; height: 18px; pointer-events: none;
  border-color: var(--rust-hi); border-style: solid; opacity: .85;
}
.brackets::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.brackets::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.hazard {
  height: 10px;
  background: repeating-linear-gradient(-45deg, var(--hazard) 0 12px, #121310 12px 24px);
  opacity: .9;
}

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s, backdrop-filter .35s, box-shadow .35s;
}
.site-header.is-solid, .site-header.is-open {
  background: rgba(10, 11, 10, .86);
  -webkit-backdrop-filter: blur(14px) saturate(120%); backdrop-filter: blur(14px) saturate(120%);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-open { background: rgba(10, 11, 10, .98); -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 4px; color: var(--bone); text-decoration: none; flex: none; }
.brand__mark { position: relative; display: block; padding-right: 14px; color: #fff; line-height: 0; }
.brand__mark .spine { display: block; height: 30px; width: auto; }
.brand__mark .tm { position: absolute; top: -3px; right: 0; margin: 0; font: 500 10px/1 var(--f-body); color: var(--bone-2); }
@media (max-width: 960px) { .brand__mark .spine { height: 26px; } }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav a {
  position: relative; padding: 8px 0;
  font: 600 15px/1 var(--f-head); letter-spacing: .16em; text-transform: uppercase;
  color: var(--bone-2); text-decoration: none;
}
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--rust); transition: right .3s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--bone); }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.status {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 12px; border: 1px solid var(--line-strong);
  font: 400 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--bone-2);
}
.status i { width: 7px; height: 7px; background: var(--signal); box-shadow: 0 0 10px var(--signal); }
.menu-btn { display: none; }

@media (max-width: 960px) {
  .status { display: none; }
  .menu-btn {
    display: inline-grid; place-items: center; width: 46px; height: 46px; margin-right: -8px;
    background: none; border: 0; color: var(--bone); cursor: pointer;
  }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
  .menu-btn span { position: relative; }
  .menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
  .menu-btn span::before { top: -7px; } .menu-btn span::after { top: 7px; }
  .is-open .menu-btn span { background: transparent; }
  .is-open .menu-btn span::before { transform: translateY(7px) rotate(45deg); }
  .is-open .menu-btn span::after { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; z-index: 49;
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0;
    padding: 24px var(--gutter) 40px;
    background: var(--void);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s;
  }
  .is-open .nav { opacity: 1; transform: none; visibility: visible; transition: opacity .3s, transform .3s var(--ease); }
  .nav a { width: 100%; padding: 20px 0; font-size: 26px; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end;
  overflow: hidden; isolation: isolate; background: #11110f;
}
.hero__bg { position: absolute; inset: 0; z-index: -3; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform: scale(1.06); animation: drift 38s var(--ease) infinite alternate; }
@keyframes drift { to { transform: scale(1.14) translate3d(-1.2%, -1%, 0); } }
.hero::before { /* the haze and the floor the type stands on */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(50% 36% at 50% 44%, rgba(9, 9, 8, .97) 0, rgba(9, 9, 8, .9) 50%, rgba(9, 9, 8, .45) 80%, transparent 100%),
    radial-gradient(120% 70% at 50% 38%, transparent 0, rgba(10, 11, 10, .35) 55%, rgba(10, 11, 10, .9) 100%),
    linear-gradient(180deg, rgba(10, 11, 10, .55) 0, transparent 22%, transparent 48%, rgba(10, 11, 10, .85) 82%, var(--void) 100%);
}
.hero__dust { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero__inner { padding: calc(var(--header-h) + 6vh) 0 clamp(56px, 9vh, 110px); text-align: center; }
.hero__logo { width: min(1100px, 100%); margin: 0 auto 1.2vw; }
.hero__tag { font: 800 clamp(26px, 3.4vw, 46px)/1 var(--f-display); color: var(--bone); text-transform: uppercase; letter-spacing: .02em; margin: 0 0 18px; }
.hero__sub { margin: 0 auto 34px; max-width: 58ch; font-size: clamp(16px, 1.35vw, 19px); color: var(--bone-2); }
.hero .btn-row { justify-content: center; }
.hero__signal { margin: 0 0 18px; justify-content: center; }
.hero__foot {
  position: absolute; left: 0; right: 0; bottom: 18px; z-index: 1;
  display: flex; justify-content: space-between; align-items: center;
  font: 400 11px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--dust);
}
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; }
.scroll-cue i { width: 1px; height: 34px; background: linear-gradient(var(--rust), transparent); }
@media (max-width: 640px) { .hero__foot { display: none; } }

/* page heroes */
.page-hero { position: relative; min-height: 64svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 11, 10, .7) 0, rgba(10, 11, 10, .25) 35%, rgba(10, 11, 10, .9) 85%, var(--void) 100%); }
.page-hero__inner { padding: calc(var(--header-h) + 80px) 0 clamp(48px, 7vw, 88px); }
.page-hero--plain { min-height: 46svh; background:
  radial-gradient(80% 120% at 85% 0, rgba(196, 87, 42, .16), transparent 60%),
  radial-gradient(60% 90% at 0 100%, rgba(180, 108, 255, .08), transparent 60%), var(--ink); }
.page-hero--plain::before { background: linear-gradient(180deg, transparent 60%, var(--void)); }

/* ---------- marquee band ---------- */
.band { position: relative; background: var(--rust); color: var(--void); overflow: hidden; border-block: 1px solid rgba(0, 0, 0, .25); }
.band__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.band__track span { display: inline-flex; align-items: center; gap: 22px; padding: 15px 22px; font: 700 15px/1 var(--f-head); letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; }
.band__track span::after { content: ""; width: 8px; height: 8px; background: var(--void); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- layout helpers ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }
.stack > * + * { margin-top: 18px; }
.grid { display: grid; gap: clamp(14px, 2vw, 24px); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1100px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; } }

/* figure with HUD caption */
.shot { position: relative; margin: 0; overflow: hidden; background: var(--steel); }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1.2s var(--ease); }
.shot:hover img { transform: scale(1.035); }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px;
  display: flex; justify-content: space-between; gap: 12px; align-items: end;
  background: linear-gradient(transparent, rgba(10, 11, 10, .9));
  font: 400 12px/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--bone-2);
}
.shot figcaption b { font-weight: 400; color: var(--bone); }
.shot--tall img { aspect-ratio: 4 / 5; }
.wip { color: var(--dust); }

/* ---------- premise ---------- */
.premise__art { position: relative; }
.premise__art img { width: 100%; clip-path: polygon(0 0, 100% 0, 100% 88%, 90% 100%, 0 100%); }
.premise__art .stamp { position: absolute; right: 6%; bottom: 12%; }
.stamp {
  display: inline-block; padding: 8px 14px 7px; border: 2px solid var(--rust-hi); color: var(--rust-hi);
  font: 700 15px/1 var(--f-head); letter-spacing: .24em; text-transform: uppercase; transform: rotate(-6deg);
  background: rgba(10, 11, 10, .55); mix-blend-mode: screen;
}

/* ---------- pillars ---------- */
.pillar { padding: 34px 30px 30px; min-height: 100%; }
.pillar__n { font: 800 64px/0.8 var(--f-stencil); color: transparent; -webkit-text-stroke: 1px var(--rust); margin-bottom: 26px; display: block; }
.pillar h3 { font-size: 26px; margin-bottom: 12px; }
.pillar p { font-size: 16px; margin: 0; color: var(--dust); }
.pillar:hover .pillar__n { color: var(--rust); }
.pillar__n { transition: opacity .4s; }

/* ---------- feature (full-bleed image with a card) ---------- */
.feature { position: relative; min-height: 88svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.feature__bg { position: absolute; inset: -8% 0; z-index: -2; }
.feature__bg img { width: 100%; height: 100%; object-fit: cover; }
.feature::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10, 11, 10, .92) 0, rgba(10, 11, 10, .55) 45%, transparent 75%), linear-gradient(180deg, var(--void) 0, rgba(10, 11, 10, .6) 16%, transparent 38%, transparent 70%, var(--void) 100%); }
.feature__card { max-width: 560px; padding-block: 120px 110px; }
.stats { display: grid; grid-template-columns: repeat(3, auto); gap: 28px 44px; margin: 30px 0 36px; justify-content: start; }
.stat b { display: block; font: 800 clamp(34px, 3.4vw, 48px)/1 var(--f-display); color: var(--bone); }
.stat span { font: 400 11px/1.3 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dust); }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- loot ---------- */
.rarity { --r: var(--r-common); }
.rarity--uncommon { --r: var(--r-uncommon); }
.rarity--rare { --r: var(--r-rare); }
.rarity--epic { --r: var(--r-epic); }
.rarity--legendary { --r: var(--r-legendary); }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 5px; border-radius: 999px;
  font: 400 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--r, var(--bone-2)); background: color-mix(in srgb, var(--r, var(--bone-2)) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--r, var(--bone-2)) 40%, transparent);
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip--plain::before { display: none; }
.chip--concept { --r: var(--dust); border-style: dashed; }
.chip--concept::before { display: none; }

.item-card {
  position: relative; display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: radial-gradient(120% 80% at 50% 0, color-mix(in srgb, var(--r) 14%, var(--plate)) 0, var(--steel) 70%);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: transform .35s var(--ease);
  border: 0; padding: 0; font: inherit; text-align: left; cursor: pointer; width: 100%;
}
.item-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--r); opacity: .85; }
.item-card:hover, .item-card:focus-visible { transform: translateY(-4px); }
.item-card img { width: 78%; margin: 16px auto 0; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .55)); transition: transform .5s var(--ease); }
.item-card:hover img { transform: scale(1.06) rotate(-2deg); }
.item-card__body { padding: 8px 18px 20px; }
.item-card h3, .item-card__name { display: block; font: 700 19px/1.05 var(--f-head); text-transform: uppercase; color: var(--bone); margin: 10px 0 0; letter-spacing: .04em; }
.item-card .meta { display: block; }
.item-card .meta { margin-top: 4px; }
.item-card[aria-pressed="true"]:not(:focus-visible) { outline: 1px solid var(--r); outline-offset: -1px; }

.loot-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--edge) transparent; }
.loot-strip > * { scroll-snap-align: start; }

.viewer { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 0; background: var(--steel); }
@media (max-width: 960px) { .viewer { grid-template-columns: 1fr; } }
.viewer__stage { position: relative; min-height: 520px; background:
  radial-gradient(60% 60% at 50% 55%, color-mix(in srgb, var(--r, var(--rust)) 22%, transparent) 0, transparent 70%),
  repeating-linear-gradient(0deg, transparent 0 47px, rgba(232, 223, 204, .04) 47px 48px),
  repeating-linear-gradient(90deg, transparent 0 47px, rgba(232, 223, 204, .04) 47px 48px), #0d0f0d; }
.viewer__stage model-viewer { width: 100%; height: 100%; min-height: 520px; --poster-color: transparent; --progress-bar-color: var(--rust); background: transparent; }
.viewer__hud { position: absolute; inset: 16px; pointer-events: none; display: flex; flex-direction: column; justify-content: space-between; }
.viewer__hud .meta { display: flex; justify-content: space-between; }
.viewer__panel { padding: clamp(28px, 3vw, 44px); border-left: 1px solid var(--line); display: flex; flex-direction: column; }
@media (max-width: 960px) { .viewer__panel { border-left: 0; border-top: 1px solid var(--line); } }
.viewer__panel > .chip { align-self: flex-start; }
.viewer__panel h2 { font-family: var(--f-head); font-weight: 700; font-size: clamp(30px, 3vw, 42px); line-height: 1.02; margin: 14px 0 12px; }
.viewer__panel .desc { color: var(--bone-2); font-size: 17px; }
.viewer__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; margin-top: auto; padding-top: 24px; }
.viewer__list button {
  aspect-ratio: 1; padding: 6px; border: 1px solid var(--line); background: var(--plate); cursor: pointer;
  transition: border-color .2s, background .2s;
}
.viewer__list button img { width: 100%; height: 100%; object-fit: contain; }
.viewer__list button:hover { border-color: var(--line-strong); }
.viewer__list button[aria-pressed="true"] { border-color: var(--r); background: color-mix(in srgb, var(--r) 14%, var(--plate)); }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 8px 22px; margin: 18px 0 0; font-size: 15px; }
.specs dt { font: 400 11px/1.9 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dust); }
.specs dd { margin: 0; color: var(--bone); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; }
.filters button {
  padding: 10px 16px 9px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--bone-2);
  font: 600 13px/1 var(--f-head); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: all .2s;
}
.filters button:hover { color: var(--bone); border-color: var(--bone-2); }
.filters button[aria-pressed="true"] { background: var(--bone); color: var(--void); border-color: var(--bone); }
.catalogue { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.catalogue .item-card[hidden] { display: none; }

/* ---------- lore ---------- */
.codex { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 6vw, 96px); }
@media (max-width: 900px) { .codex { grid-template-columns: 1fr; } .codex__toc { display: none; } }
.codex__toc { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.codex__toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.codex__toc a { display: block; padding: 10px 0 10px 18px; margin-left: -1px; border-left: 2px solid transparent; text-decoration: none; color: var(--dust); font: 600 14px/1.2 var(--f-head); letter-spacing: .14em; text-transform: uppercase; }
.codex__toc a:hover, .codex__toc a.is-active { color: var(--bone); border-left-color: var(--rust); }
.entry { padding-bottom: clamp(56px, 8vw, 110px); }
.entry__head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 26px; flex-wrap: wrap; }
.entry__no { font: 400 13px/1 var(--f-mono); color: var(--rust-hi); letter-spacing: .18em; }
.entry p { font-size: 18px; color: var(--bone-2); max-width: 64ch; }
.entry p:first-of-type::first-letter { float: left; font: 800 76px/.8 var(--f-stencil); color: var(--rust-hi); margin: 6px 12px 0 0; }
.redact { background: var(--bone-2); color: transparent; padding: 0 .2em; border-radius: 1px; user-select: none; }
.transmission {
  margin: 30px 0; padding: 24px 26px; border-left: 3px solid var(--signal);
  background: linear-gradient(90deg, rgba(111, 211, 196, .08), transparent 70%);
  font: 400 15px/1.7 var(--f-mono); color: var(--bone-2); max-width: 64ch;
}
.transmission .meta { display: block; margin-bottom: 10px; color: var(--signal); }
.quote { font: 800 clamp(30px, 3.6vw, 52px)/1.02 var(--f-display); color: var(--bone); text-transform: uppercase; max-width: 22ch; margin: 0; }
.quote cite { display: block; margin-top: 18px; font: 400 12px/1 var(--f-mono); letter-spacing: .16em; color: var(--dust); font-style: normal; }

/* ---------- map ---------- */
.map { position: relative; overflow: hidden; background: var(--steel); }
.map img { width: 100%; }
.map__grid { position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 calc(10% - 1px), rgba(232, 223, 204, .07) calc(10% - 1px) 10%),
              repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), rgba(232, 223, 204, .07) calc(10% - 1px) 10%); }
.pin { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 10px; color: var(--bone); text-decoration: none; }
.pin i { position: relative; width: 14px; height: 14px; border: 2px solid var(--rust-hi); transform: rotate(45deg); background: rgba(10, 11, 10, .6); flex: none; }
.pin i::after { content: ""; position: absolute; inset: 3px; background: var(--rust-hi); }
.pin span { padding: 6px 10px 5px; background: rgba(10, 11, 10, .78); font: 400 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.pin--main i { width: 22px; height: 22px; border-color: var(--ember); box-shadow: 0 0 0 6px rgba(255, 154, 77, .12), 0 0 0 14px rgba(255, 154, 77, .06); }
.pin--main span { font-size: 13px; color: var(--ember); }
.map__legend { position: absolute; left: 16px; bottom: 16px; padding: 12px 14px; background: rgba(10, 11, 10, .78); }
@media (max-width: 700px) { .pin span { display: none; } .pin--main span { display: inline; } }

.condition { padding: 30px; }
.condition__icon { width: 44px; height: 44px; color: var(--signal); margin-bottom: 18px; }
.condition--spore .condition__icon { color: var(--spore); }

/* ---------- people ---------- */
.person { display: grid; grid-template-columns: 112px 1fr; gap: 24px; align-items: start; padding: 32px; }
.person__mark { width: 112px; height: 112px; display: grid; place-items: center; background: var(--void); border: 1px solid var(--line); color: var(--rust-hi);
  font: 800 44px/1 var(--f-display); clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px); }
.person h3 { font-size: 30px; margin: 0 0 4px; }
.person .meta { margin-bottom: 14px; }
@media (max-width: 560px) { .person { grid-template-columns: 1fr; } }

/* ---------- legal ---------- */
.doc { max-width: 820px; }
.doc h2 { font-size: clamp(28px, 3vw, 40px); margin: 64px 0 18px; padding-top: 20px; border-top: 1px solid var(--line); }
.doc h2:first-child { margin-top: 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 18px 0 24px; font-size: 0.95em; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 600; }
.doc h3 { font-size: 20px; margin: 30px 0 10px; letter-spacing: .06em; }
.doc p, .doc li { font-size: 16.5px; }
.doc ul { padding-left: 1.2em; margin: 0 0 1.1em; }
.doc li { margin-bottom: .45em; max-width: 68ch; }
.doc li::marker { color: var(--rust); }
.toc-inline { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 40px; }
.notice { padding: 22px 24px; border: 1px solid var(--line-strong); border-left: 3px solid var(--hazard); background: rgba(224, 165, 38, .05); font-size: 15.5px; }
.notice p:last-child { margin: 0; }

/* ---------- studio strip / CTA ---------- */
.studio { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 4vw, 56px); align-items: center; }
.studio__seal { width: clamp(120px, 14vw, 180px); color: var(--bone); }
.studio__seal svg { width: 100%; height: auto; }
@media (max-width: 800px) { .studio { grid-template-columns: 1fr; text-align: left; } }

/* ---------- footer ---------- */
.site-footer { position: relative; background: var(--ink); padding: 72px 0 36px; border-top: 1px solid var(--line); overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: repeating-linear-gradient(-45deg, var(--rust) 0 10px, transparent 10px 20px); opacity: .7; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr; } }
.footer__brand .footer__name { display: inline-block; position: relative; padding-right: 16px; margin-bottom: 24px; color: #fff; line-height: 0; }
.footer__name .spine { display: block; height: 54px; width: auto; }
.footer__name .tm { position: absolute; top: -2px; right: 0; margin: 0; font: 500 12px/1 var(--f-body); color: var(--bone-2); }
.footer__brand p { font-size: 15px; color: var(--dust); max-width: 42ch; }
.footer__title { font: 400 12px/1 var(--f-mono); letter-spacing: .18em; color: var(--dust); margin: 0 0 18px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin-bottom: 10px; }
.footer__col a { color: var(--bone-2); text-decoration: none; font: 600 15px/1 var(--f-head); letter-spacing: .12em; text-transform: uppercase; }
.footer__col a:hover { color: var(--rust-hi); }
.footer__legal { padding-top: 28px; display: grid; gap: 10px; font-size: 13px; line-height: 1.6; color: var(--dust); }
.footer__legal p { margin: 0; max-width: none; }
.footer__legal strong { color: var(--bone-2); font-weight: 500; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg img, .band__track { animation: none; }
  .item-card, .item-card img, .shot img { transition: none; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.lost { min-height: 100svh; display: grid; place-items: center; text-align: center; background:
  radial-gradient(60% 50% at 50% 40%, rgba(196, 87, 42, .14), transparent 70%), var(--void); }
.lost__code { font: 800 clamp(120px, 22vw, 280px)/.8 var(--f-stencil); color: transparent; -webkit-text-stroke: 1px var(--rust); margin: 0 0 20px; }
