/* raybreaker.com - "Prismenglas" on the void, website v2 "Observatorium". Colours, fonts and the 60 degree chamfers
   from docs/StyleGuide.md §2-§4 and §10. Magenta belongs to enemy fire only and never appears here. Built by
   Tools/site/build.py, which puts the @font-face rules of Tools/site/media.json in place of the first marker below and
   the band colours of Tools/site/world.json (.band-<n>, .band-wp: --col, --acc, --bg, --grid) in place of the second.
   No inline styles anywhere (CSP style-src 'self'): every variant is a class. */

@font-face {
  font-family: "Oxanium";
  src: url("/fonts/Oxanium-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("/fonts/Barlow-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("/fonts/Barlow-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("/fonts/BarlowSemiCondensed-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

.band-1 { --col: #FF4A2E; --acc: #FF9466; --bg: #0D0507; --grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97'%3E%3Cpath d='M0 0.5H56M0 49H56M0 0L56 97M56 0L0 97' stroke='%234A1410' stroke-opacity='.75' fill='none'/%3E%3C/svg%3E"); }
.band-2 { --col: #FFC229; --acc: #FFE58A; --bg: #0D0A04; --grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97'%3E%3Cpath d='M0 0.5H56M0 49H56M0 0L56 97M56 0L0 97' stroke='%234D3A0C' stroke-opacity='.75' fill='none'/%3E%3C/svg%3E"); }
.band-3 { --col: #3DFF8A; --acc: #B6FF5C; --bg: #04100A; --grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97'%3E%3Cpath d='M0 0.5H56M0 49H56M0 0L56 97M56 0L0 97' stroke='%230F4A2A' stroke-opacity='.75' fill='none'/%3E%3C/svg%3E"); }
.band-4 { --col: #3346FF; --acc: #8A90FF; --bg: #03061A; --grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97'%3E%3Cpath d='M0 0.5H56M0 49H56M0 0L56 97M56 0L0 97' stroke='%2310236A' stroke-opacity='.75' fill='none'/%3E%3C/svg%3E"); }
.band-5 { --col: #7B4DFF; --acc: #B79CFF; --bg: #08041A; --grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97'%3E%3Cpath d='M0 0.5H56M0 49H56M0 0L56 97M56 0L0 97' stroke='%232A1660' stroke-opacity='.75' fill='none'/%3E%3C/svg%3E"); }
.band-6 { --col: #C8FF00; --acc: #D9FF66; --bg: #08020F; --grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97'%3E%3Cpath d='M0 0.5H56M0 49H56M0 0L56 97M56 0L0 97' stroke='%232B0A47' stroke-opacity='.75' fill='none'/%3E%3C/svg%3E"); }
.band-wp { --col: #DDE6FF; --acc: #EEF2FF; --bg: #0A0A0C; --grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97'%3E%3Cpath d='M0 0.5H56M0 49H56M0 0L56 97M56 0L0 97' stroke='%232A2E3A' stroke-opacity='.75' fill='none'/%3E%3C/svg%3E"); }

:root {
  color-scheme: dark;
  --ground: #05060B;
  --deep: #0B0E1A;
  --glass: rgba(13, 17, 32, 0.88);
  --glass-hi: #141B30;
  --depth: #090C17;
  --edge: #222A42;
  --edge-hi: #38446A;
  --text: #E8EEFA;
  --soft: #C9D3EA;
  --dim: #8E9AB8;
  --off: #5C6785;
  --cyan: #47F0FF;
  --cyan-soft: #9AF6FF;
  --gold: #FFD23F;
  --photon: #FFF2C7;
  --spectrum: linear-gradient(90deg, #FF4A2E, #FFC229, #3DFF8A, #3346FF, #7B4DFF, #C8FF00);
  --wrap: min(1200px, calc(100% - 40px));
  --bar: 60px;
  --cut: 12px;
  --cut-x: 7px;
  --col: var(--cyan);
  --acc: var(--cyan-soft);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--bar) + 12px); }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: "Barlow", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, video { max-width: 100%; height: auto; display: block; }
strong { font-weight: 600; }
a { color: var(--cyan); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cyan-soft); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 1px; }
::selection { background: rgba(71, 240, 255, 0.35); color: #FFFFFF; }
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  padding: 10px 16px; background: var(--deep); color: var(--text); border: 1px solid var(--cyan);
}
.skip:focus { top: 12px; }

h1, h2, h3 { font-family: "Oxanium", "Barlow", sans-serif; font-weight: 700; line-height: 1.15; letter-spacing: 0.02em; margin: 0; text-wrap: balance; }
p { margin: 0 0 14px; }
.kicker, .label, .mini-h, .band-id {
  font-family: "Barlow Semi Condensed", "Barlow", sans-serif; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.kicker { margin: 0 0 10px; font-size: 0.95rem; color: var(--cyan); }
.label { font-size: 0.82rem; }
.dim { color: var(--dim); }
.wrap { width: var(--wrap); margin: 0 auto; }

/* the triangle membrane, faint */
.membrane {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97'%3E%3Cpath d='M0 0.5H56M0 49H56M0 0L56 97M56 0L0 97' stroke='%2347F0FF' stroke-opacity='.07' fill='none'/%3E%3C/svg%3E");
  background-size: 56px 97px;
}
/* a band's own ground: its colour, its membrane */
/* The band's own grid, quiet under text and fading out at the section's edges (Michael 15.10.2026: the hard edge to the
   next section and the strong grid under the text were hard to read). */
.bandground { position: relative; isolation: isolate; background: linear-gradient(180deg, var(--bg) calc(100% - 260px), var(--ground) 100%); }
.bandground::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grid); background-size: 56px 97px; opacity: 0.32;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 140px, #000 calc(100% - 220px), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 140px, #000 calc(100% - 220px), transparent 100%);
}

/* ---------- buttons: 60 degree chamfers top left and bottom right ---------- */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.75em 1.5em;
  font-family: "Barlow Semi Condensed", "Barlow", sans-serif; font-weight: 600;
  font-size: 1.02rem; line-height: 1.1; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; color: var(--ground); white-space: nowrap;
}
.btn::before, .btn::after {
  content: ""; position: absolute; z-index: -1;
  clip-path: polygon(var(--cut-x) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut-x)) 100%, 0 100%, 0 var(--cut));
}
.btn::before { inset: 0; background: var(--cyan); }
.btn:hover { color: var(--ground); filter: drop-shadow(0 0 12px rgba(71, 240, 255, 0.45)); }
.btn:hover::before { background: #8CF7FF; }
.btn small { font: inherit; letter-spacing: inherit; opacity: 0.72; }
.btn-ghost { color: var(--cyan); }
.btn-ghost::after { inset: 1.5px; background: var(--deep); }
.btn-ghost:hover { color: #FFFFFF; }
.btn-ghost:hover::after { background: #101830; }
.btn:focus-visible { outline-offset: 4px; }
.btn-soon, .btn-soon:hover { color: var(--cyan); cursor: default; filter: none; }
.btn-soon::before, .btn-soon:hover::before { background: var(--cyan); }
.btn-soon::after { inset: 1.5px; background: var(--deep); }
.actions { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }

/* ---------- header bar: the main navigation, a menu below 1200 px ---------- */
.bar {
  position: sticky; top: 0; z-index: 50;
  height: var(--bar);
  background: rgba(5, 6, 11, 0.9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--edge);
}
.bar-in { height: 100%; width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; flex: none; text-decoration: none; }
.brand img { height: 22px; width: auto; }
.brand .brand-mark { display: none; height: 30px; }
.nav { display: flex; gap: 18px; margin-left: 8px; }
.nav a, .lang, .menu summary {
  font-family: "Barlow Semi Condensed", "Barlow", sans-serif; font-weight: 600;
  font-size: 0.9rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--dim); text-decoration: none; padding: 8px 2px;
}
.nav a { position: relative; }
.nav a:hover, .lang:hover, .nav a[aria-current] { color: var(--text); }
.nav a[aria-current]::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: 1px; height: 2px; background: var(--cyan); }
.bar-end { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.btn-bar { min-height: 40px; padding: 0.55em 1.1em; font-size: 0.95rem; }
.btn-bar .s { display: none; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 9px; color: var(--text); }
.menu summary::-webkit-details-marker { display: none; }
.menu-icon { width: 16px; height: 11px; border-top: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); position: relative; flex: none; }
.menu-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 2.5px; height: 2px; background: var(--cyan); }
.menu[open] .menu-icon { border-color: transparent; }
.menu[open] .menu-icon::after { top: 2.5px; transform: rotate(45deg); }
.menu[open] .menu-icon::before { content: ""; position: absolute; left: 0; right: 0; top: 2.5px; height: 2px; background: var(--cyan); transform: rotate(-45deg); }
.menu-panel {
  position: fixed; left: 0; right: 0; top: var(--bar); z-index: 49;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 20px;
  padding: 14px max(20px, calc((100% - 1200px) / 2)) 20px;
  background: rgba(5, 6, 11, 0.97); border-bottom: 1px solid var(--edge-hi);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6);
}
.menu-panel a {
  font-family: "Barlow Semi Condensed", "Barlow", sans-serif; font-weight: 600; font-size: 1.05rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); text-decoration: none;
  padding: 12px 4px; border-bottom: 1px solid var(--edge);
}
.menu-panel a[aria-current] { color: var(--cyan); }

/* ---------- breadcrumbs ---------- */
.crumbs { border-bottom: 1px solid rgba(34, 42, 66, 0.6); background: var(--depth); }
.crumbs ol { list-style: none; margin: 0; padding: 9px 0; display: flex; flex-wrap: wrap; gap: 2px 0; font-size: 0.88rem; }
.crumbs li { display: inline-flex; align-items: center; color: var(--dim); }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid var(--off); border-right: 1.5px solid var(--off); transform: rotate(45deg); margin: 0 12px 0 8px; }
.crumbs a { color: var(--dim); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.crumbs [aria-current] { color: var(--text); }

/* ---------- media slots: a still, and a loop that site.js lays over it in view ---------- */
.media { position: relative; overflow: hidden; background: var(--deep); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.media .loop-video { position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s ease; }
.media.playing .loop-video { opacity: 1; }
.media.edge { border: 1px solid var(--edge); aspect-ratio: 16 / 9; }
.media.free { aspect-ratio: auto; }
.media.free img { height: auto; }
.loop-toggle {
  position: absolute; right: 10px; bottom: 10px; z-index: 2; width: 36px; height: 36px; display: grid; place-items: center;
  background: rgba(5, 6, 11, 0.78); border: 1px solid var(--edge-hi); color: var(--text); cursor: pointer; padding: 0;
}
.loop-toggle:hover { border-color: var(--cyan); }
.loop-toggle::before { content: ""; width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.loop-toggle[aria-pressed="true"]::before { width: 0; height: 0; border-left: 11px solid currentColor; border-right: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }

/* ---------- hero of the hub ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: clamp(560px, calc(100svh - var(--bar)), 940px);
  display: flex; align-items: center;
  background: var(--ground);
}
/* the key art is a full-bleed 16:9 (21:9 from 2:1 screens) with the ship at 0.54 of the width, right of the copy */
.hero-art { position: absolute; inset: 0; margin: 0; background: var(--ground); }
.hero-art img, .hero-art video { object-position: 62% 35%; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, var(--ground) 0%, var(--ground) 18%, rgba(5, 6, 11, 0.78) 32%, rgba(5, 6, 11, 0) 50%),
    linear-gradient(0deg, var(--ground) 0%, rgba(5, 6, 11, 0) 24%);
}
.hero-in { position: relative; z-index: 1; width: var(--wrap); margin: 0 auto; padding: 40px 0 110px; }
.hero-copy { max-width: 560px; }
.hero-logo { margin: 0 0 18px; line-height: 0; }
.hero-logo img { width: min(560px, 100%); filter: drop-shadow(0 4px 28px rgba(5, 6, 11, 0.95)); }
.claim {
  font-family: "Oxanium", "Barlow", sans-serif; font-weight: 600;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem); letter-spacing: 0.06em; color: #D6F9FF; margin: 0 0 14px;
}
.lead { font-size: 1.12rem; color: var(--soft); margin: 0 0 12px; }
.facts {
  font-family: "Barlow Semi Condensed", "Barlow", sans-serif; font-weight: 600;
  font-size: 0.95rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin: 0 0 24px;
}
.status {
  display: inline-flex; align-items: center; gap: 10px; margin: 20px 0 0;
  font-family: "Barlow Semi Condensed", "Barlow", sans-serif; font-weight: 600;
  font-size: 0.92rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text);
}
.status::before { content: ""; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); flex: none; }
.newbie { margin: 14px 0 0; color: var(--dim); font-size: 0.98rem; }

/* ---------- sections ---------- */
.section { padding: 80px 0; position: relative; }
.section-head { margin: 0 0 36px; max-width: 760px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.lead-s { font-size: 1.08rem; color: var(--soft); margin: 14px 0 0; }
.hero + .section { padding-top: 40px; }
.section + .section:not(.cta-band):not(.bandground) { border-top: 1px solid rgba(34, 42, 66, 0.55); }
.more { margin: 26px 0 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.stack { display: grid; gap: 16px; align-content: start; }
.stack > p, .stack > h2, .stack > h3 { margin: 0; }

.page-head { padding: 56px 0 12px; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3.2rem); max-width: 20ch; }
.page-head .intro { margin: 18px 0 0; }
.page-head + .section { padding-top: 40px; }

.video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--edge-hi); }
.video-frame video { width: 100%; height: 100%; object-fit: contain; }
.poster-link { display: block; position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--edge-hi); text-decoration: none; }
.poster-link img { width: 100%; height: 100%; object-fit: cover; }
.poster-link span {
  position: absolute; left: 20px; bottom: 20px; padding: 10px 16px; background: var(--glass);
  font-family: "Barlow Semi Condensed", "Barlow", sans-serif; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text);
  border: 1px solid var(--edge-hi);
}

.points { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.points li { position: relative; padding-left: 22px; color: var(--text); }
.points li::before {
  content: ""; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px;
  background: var(--cyan); transform: rotate(45deg);
}
.band-points { margin: 0; }
.band-points li::before { background: var(--col); }

.spectrum { display: flex; gap: 6px; margin: 0; }
.spectrum span { flex: 1; height: 5px; }
.spectrum .b1 { background: #FF4A2E; }
.spectrum .b2 { background: #FFC229; }
.spectrum .b3 { background: #3DFF8A; }
.spectrum .b4 { background: #3346FF; }
.spectrum .b5 { background: #7B4DFF; }
.spectrum .b6 { background: #C8FF00; }
.spectrum .wp { background: #DDE6FF; flex: 0.5; }

/* ---------- hub: loop words, doors, numbers ---------- */
.loopwords { font-family: "Oxanium", "Barlow", sans-serif; font-weight: 800; font-size: clamp(1.3rem, 3vw, 2.2rem); letter-spacing: 0.04em; margin: 0; line-height: 1.25; white-space: nowrap; }
@media (max-width: 700px) { .loopwords { white-space: normal; } }
.loopwords span { white-space: nowrap; }
.run-sec .loopwords { margin: 0 0 36px; }
.loopwords span + span::before { content: ""; display: inline-block; width: 0.3em; height: 0.3em; transform: rotate(45deg); background: var(--cyan); margin: 0 0.45em 0.14em; }
.doors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.door {
  position: relative; display: grid; align-content: end; aspect-ratio: 3 / 4; text-decoration: none; color: var(--text);
  border: 1px solid var(--edge-hi); overflow: hidden;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 12px) 100%, 0 100%, 0 20px);
}
.door-art { position: absolute; inset: 0; }
.door::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 6, 11, 0) 30%, rgba(5, 6, 11, 0.94) 88%); }
.door-text { position: relative; z-index: 1; display: grid; gap: 4px; padding: 18px; }
.door-text .label { color: var(--cyan); font-size: 0.74rem; }
.door-title { font-family: "Oxanium", "Barlow", sans-serif; font-weight: 700; font-size: 1.3rem; line-height: 1.15; }
.door-sub { font-size: 0.95rem; color: var(--soft); }
.door:hover { color: var(--text); border-color: var(--cyan); }
.door:hover .door-title { color: var(--cyan-soft); }
.door:focus-visible { outline: none; }
.doors li:has(.door:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 3px; }
.numbers { list-style: none; margin: 40px 0 0; padding: 22px 0 0; border-top: 1px solid var(--edge); display: flex; flex-wrap: wrap; gap: 14px 34px; }
.numbers li { font-family: "Barlow Semi Condensed", "Barlow", sans-serif; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.88rem; color: var(--dim); }
.numbers b { font-family: "Oxanium", "Barlow", sans-serif; font-weight: 700; color: var(--text); font-size: 1.35rem; letter-spacing: 0.02em; margin-right: 6px; }

/* ---------- the fuse ---------- */
.fuse { position: relative; margin: 6px 46px 30px; padding: 0; }
.fuse-line { position: absolute; left: 0; right: 0; top: 10px; height: 3px; background: var(--edge); }
.fuse-burn { position: absolute; left: 0; top: -1px; height: 5px; width: 62%; background: linear-gradient(90deg, rgba(255, 242, 199, 0.15), var(--photon)); box-shadow: 0 0 14px rgba(255, 242, 199, 0.7); }
.fuse-burn::after { content: ""; position: absolute; right: -6px; top: -4px; width: 13px; height: 13px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 14px #FFF2C7, 0 0 30px #FFD23F; }
.fuse-nodes { list-style: none; margin: 0; padding: 0; position: relative; height: 84px; }
.fuse .node { position: absolute; top: 2px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; width: 104px; text-align: center; }
.fuse .node i { width: 17px; height: 17px; transform: rotate(45deg); background: var(--ground); border: 2px solid var(--off); display: block; }
.fuse .node.lit i { border-color: var(--photon); background: #3A3630; }
.fuse .node.boss i { width: 21px; height: 21px; border-color: var(--gold); margin-top: -2px; }
.fuse .node span { font-family: "Barlow Semi Condensed", "Barlow", sans-serif; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.8rem; color: var(--dim); line-height: 1.25; }
.fuse .node b { color: var(--text); display: block; }
.fuse .k0 { left: 0%; } .fuse .k1 { left: 11.3%; } .fuse .k2 { left: 26.7%; } .fuse .k3 { left: 48.7%; } .fuse .k4 { left: 82.6%; } .fuse .k5 { left: 100%; }

/* ---------- glass cards ---------- */
.mech { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.mech li { background: var(--depth); border: 1px solid var(--edge); padding: 14px 16px; color: var(--soft); font-size: 0.96rem; }
.mech b { display: block; margin: 0 0 4px; font-family: "Barlow Semi Condensed", "Barlow", sans-serif; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.86rem; color: var(--cyan); }
.mech-list { grid-template-columns: minmax(0, 1fr); }
.kiln { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kiln b { color: var(--gold); }
.access { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.95rem; }
.access li { border-top: 1px solid var(--edge-hi); padding-top: 8px; color: var(--soft); }
.access b { display: block; color: var(--text); font-family: "Barlow Semi Condensed", "Barlow", sans-serif; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.8rem; }

/* ---------- gallery ---------- */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gallery a { display: block; position: relative; overflow: hidden; border: 1px solid var(--edge); background: var(--depth); }
.gallery a:hover { border-color: var(--edge-hi); }
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- glass panels ---------- */
.panel {
  position: relative; background: var(--glass); border: 1px solid var(--edge);
  box-shadow: inset 0 1px 0 rgba(71, 240, 255, 0.22);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 17px), calc(100% - 10px) 100%, 0 100%, 0 17px);
  padding: 30px 28px;
}
.notes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.panel h3 { font-size: 1.35rem; margin: 0 0 12px; }
.panel p { color: var(--soft); }
.panel-art { margin: 18px 0 0; aspect-ratio: 16 / 9; border: 1px solid var(--edge); }
.cap { font-size: 0.86rem; color: var(--off); margin: 8px 0 0; }

.cta-band .panel { text-align: center; padding: 56px 28px; }
.cta-band h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin: 0 0 14px; }
.cta-band p { max-width: 640px; margin: 0 auto 26px; color: var(--soft); }
.cta-band .actions { justify-content: center; }

/* ---------- world: story and star map ---------- */
.beats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 34px); }
.beat { padding-top: 18px; border-top: 2px solid transparent; border-image: var(--spectrum) 1; }
.beat h2 { font-size: 1.3rem; margin: 0 0 10px; }
.beat p { margin: 0; color: var(--soft); }
.map-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.starmap { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 480px; justify-self: center; }
.sm-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.sm-lines circle, .sm-lines line { fill: none; stroke: var(--edge); stroke-width: 0.35; vector-effect: non-scaling-stroke; }
.sm-lines circle { stroke-dasharray: 3 5; }
.sm-node {
  position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 6px; width: 110px;
  text-decoration: none; color: var(--dim); text-align: center;
}
.sm-gem {
  width: 46px; height: 46px; display: grid; place-items: center; position: relative;
  font-family: "Oxanium", "Barlow", sans-serif; font-weight: 700; font-size: 0.95rem; color: var(--acc);
}
.sm-gem::before, .sm-gem::after { content: ""; position: absolute; clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); }
.sm-gem::before { inset: 0; background: var(--col); opacity: 0.75; }
.sm-gem::after { inset: 2px; background: var(--bg); }
.sm-gem span { position: relative; z-index: 1; }
.sm-star::before { clip-path: polygon(50% 0, 61% 31%, 93% 25%, 72% 50%, 93% 75%, 61% 69%, 50% 100%, 39% 69%, 7% 75%, 28% 50%, 7% 25%, 39% 31%); background: var(--col); opacity: 0.9; }
.sm-star::after { clip-path: polygon(50% 12%, 59% 36%, 84% 32%, 67% 50%, 84% 68%, 59% 64%, 50% 88%, 41% 64%, 16% 68%, 33% 50%, 16% 32%, 41% 36%); inset: 3px; }
.sm-star { width: 64px; height: 64px; }
.sm-name { font-family: "Barlow Semi Condensed", "Barlow", sans-serif; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; line-height: 1.2; }
.sm-node:hover, .sm-node[aria-selected="true"] { color: var(--text); }
.sm-node:hover .sm-gem::before, .sm-node[aria-selected="true"] .sm-gem::before { opacity: 1; }
.sm-node[aria-selected="true"] .sm-gem { filter: drop-shadow(0 0 10px var(--col)); }
.sm-node[aria-selected="true"] .sm-name { color: var(--acc); }
.sm-node:focus-visible { outline-offset: 2px; }
.sm-1 { left: 50%; top: 15%; } .sm-2 { left: 80.31%; top: 32.5%; } .sm-3 { left: 80.31%; top: 67.5%; }
.sm-4 { left: 50%; top: 85%; } .sm-5 { left: 19.69%; top: 67.5%; } .sm-6 { left: 19.69%; top: 32.5%; } .sm-wp { left: 50%; top: 50%; }
.sm-panels { display: grid; gap: 28px; }
.bandcard { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 22px; align-items: start; padding: 20px; background: var(--bg); border: 1px solid var(--edge); border-top: 3px solid var(--col); }
.bandcard .media { aspect-ratio: 16 / 9; border: 1px solid rgba(255, 255, 255, 0.08); }
.bandcard h3 { font-size: 1.5rem; color: var(--acc); }
.bandcard .stack { gap: 12px; }
.bandcard p { margin: 0; }
.band-id { font-size: 0.82rem; color: var(--acc); margin: 0; }
.verb-line .verb, .verb-head .verb { color: var(--acc); }
.verb-line { font-family: "Oxanium", "Barlow", sans-serif; font-weight: 600; font-size: 1.12rem; }

/* ---------- band pages ---------- */
.band-hero { position: relative; min-height: clamp(380px, 56vh, 620px); display: flex; align-items: flex-end; overflow: hidden; background: var(--bg); }
.band-hero-art { position: absolute; inset: 0; }
.band-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 6, 11, 0) 25%, rgba(5, 6, 11, 0.55) 60%, var(--bg) 100%), linear-gradient(90deg, rgba(5, 6, 11, 0.6), rgba(5, 6, 11, 0) 60%); pointer-events: none; }
.band-hero-in { position: relative; z-index: 1; padding: 0 0 44px; }
.band-hero h1 { font-size: clamp(2.3rem, 6vw, 4rem); color: #FFFFFF; text-shadow: 0 2px 24px rgba(5, 6, 11, 0.9); }
.band-hero .band-id { font-size: 0.95rem; margin: 0 0 10px; text-shadow: 0 1px 10px rgba(5, 6, 11, 0.9); }
.band-hero .theme { max-width: 56ch; margin: 14px 0 0; font-size: 1.12rem; color: var(--text); text-shadow: 0 1px 14px rgba(5, 6, 11, 0.95); }
.band-body .stack .kicker { color: var(--acc); }
.verb-head { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.mini-h { font-size: 0.82rem; color: var(--acc); margin: 10px 0 0; }
.factbox { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(5, 6, 11, 0.55); }
.factbox div { padding: 10px 14px; border-right: 1px solid rgba(255, 255, 255, 0.08); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.factbox dt { font-family: "Barlow Semi Condensed", "Barlow", sans-serif; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.74rem; color: var(--dim); }
.factbox dd { margin: 2px 0 0; font-family: "Oxanium", "Barlow", sans-serif; font-weight: 600; font-size: 1.02rem; }
.swatch { display: inline-block; width: 11px; height: 11px; margin-right: 8px; transform: rotate(45deg); background: var(--col); vertical-align: 1px; }
.swatch-spectrum { background: var(--spectrum); }
.end-line { font-family: "Oxanium", "Barlow", sans-serif; font-weight: 600; font-size: 1.2rem; }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; margin: 48px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.pager a { font-family: "Barlow Semi Condensed", "Barlow", sans-serif; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.9rem; text-decoration: none; color: var(--soft); padding: 8px 0; }
.pager a:hover { color: var(--text); }
.pager-prev::before { content: "\2039"; margin-right: 8px; color: var(--acc); }
.pager-next { text-align: right; }
.pager-next::after { content: "\203A"; margin-left: 8px; color: var(--acc); }
.pager-all { text-align: center; color: var(--acc) !important; }

/* ---------- ships ---------- */
.pagetabs { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--edge); }
.pagetabs a {
  display: block; padding: 12px 18px; text-decoration: none; color: var(--dim); border-bottom: 2px solid transparent; margin-bottom: -1px;
  font-family: "Barlow Semi Condensed", "Barlow", sans-serif; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.95rem;
}
.pagetabs a:hover { color: var(--text); }
.pagetabs a[aria-selected="true"] { color: var(--text); border-bottom-color: var(--cyan); }
.pagetabs .tab-locked { color: var(--off); }
.tab-panels { display: grid; gap: 40px; }
.ship-art { aspect-ratio: 820 / 680; background: radial-gradient(circle at 50% 55%, #0E1322 0%, var(--ground) 72%); border: 1px solid var(--edge); }
.ship-art img { object-fit: contain; }
.lock-art { display: grid; place-items: center; }
.lock-art .lock { width: 38%; height: auto; }
.ship-panel h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: 0.04em; }
.role { justify-self: start; font-family: "Barlow Semi Condensed", "Barlow", sans-serif; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.8rem; color: var(--cyan); border: 1px solid rgba(71, 240, 255, 0.45); padding: 2px 9px; }
.locked .role { color: var(--dim); border-color: var(--edge-hi); }
.stats { display: grid; gap: 8px; max-width: 460px; }
.stat { display: grid; grid-template-columns: 6.5em minmax(0, 1fr) 3.6em; gap: 12px; align-items: center; color: var(--dim); font-size: 0.92rem; }
.statbar { width: 100%; height: 6px; display: block; }
.sb-track { fill: var(--edge); }
.sb-fill { fill: var(--cyan); }
.stat .v { font-family: "Oxanium", "Barlow", sans-serif; color: var(--text); text-align: right; }
.passive { border-left: 2px solid var(--cyan); padding-left: 14px; color: var(--soft); }
.passive b { display: block; color: var(--text); font-family: "Barlow Semi Condensed", "Barlow", sans-serif; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.86rem; }
.unlock { color: var(--gold); }
.counts { font-family: "Barlow Semi Condensed", "Barlow", sans-serif; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.9rem; color: var(--dim); margin: 32px 0 0; }
.counts b { font-family: "Oxanium", "Barlow", sans-serif; color: var(--text); font-size: 1.2rem; letter-spacing: 0.02em; margin-right: 4px; }
.builds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.build ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; color: var(--soft); }
.const-note { max-width: 760px; display: grid; gap: 14px; }
.const-note h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.const-note p { margin: 0; color: var(--soft); }
.const-note .spectrum { max-width: 320px; }

/* ---------- loot ---------- */
.beams { list-style: none; margin: 0; padding: 0 4px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; align-items: end; height: 300px; background: linear-gradient(0deg, rgba(71, 240, 255, 0.05), transparent 30%); border-bottom: 1px solid var(--edge); }
.beam { display: grid; grid-template-rows: 1fr auto auto; justify-items: center; height: 100%; --r: #C9D1DC; }
.beam .ray { width: 12px; align-self: end; background: linear-gradient(0deg, var(--r) 0%, var(--r) 40%, transparent 100%); box-shadow: 0 0 18px var(--r); position: relative; }
.beam .gem { width: 12px; height: 12px; margin: 8px 0 6px; background: var(--r); transform: rotate(45deg); }
.beam-name { font-family: "Barlow Semi Condensed", "Barlow", sans-serif; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.72rem; color: var(--dim); text-align: center; padding-bottom: 8px; overflow-wrap: anywhere; }
.r1 { --r: #C9D1DC; } .r1 .ray { height: 14%; }
.r2 { --r: #4BE37A; } .r2 .ray { height: 24%; }
.r3 { --r: #3D8BFF; } .r3 .ray { height: 38%; }
.r4 { --r: #A15CFF; } .r4 .ray { height: 58%; }
.r5 { --r: #FF9A1F; } .r5 .ray { height: 100%; }
.r6 { --r: #FFFFFF; } .r6 .ray { height: 100%; background: linear-gradient(0deg, #FF4A2E, #FFC229 20%, #F5FF4D 40%, #3DFF8A 60%, #3DC8FF 80%, #7A5CFF); box-shadow: 0 0 22px rgba(122, 92, 255, 0.6); }
.r6 .gem { background: var(--spectrum); }
.r4 .ray::after, .r5 .ray::after, .r6 .ray::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 3px; height: 70%; transform: translateX(-50%); background: linear-gradient(0deg, #FFFFFF, transparent); }
.prism-note { display: grid; gap: 14px; max-width: 860px; }
.prism-note h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.prism-note p { margin: 0; }
.prism-note .spectrum { max-width: 320px; }

/* ---------- endgame ---------- */
.modes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mode { background: var(--depth); border: 1px solid var(--edge); display: grid; grid-template-rows: auto auto 1fr; }
.mode-art { aspect-ratio: 16 / 9; }
.mode h3 { font-size: 1.2rem; padding: 14px 16px 4px; }
.mode h3 a { color: var(--text); text-decoration: none; }
.mode h3 a:hover { color: var(--cyan-soft); text-decoration: underline; }
.mode dl { margin: 0; padding: 4px 16px 16px; display: grid; gap: 6px; align-content: start; }
.mode dt { font-family: "Barlow Semi Condensed", "Barlow", sans-serif; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.72rem; color: var(--off); margin-top: 6px; }
.mode dd { margin: 0; font-size: 0.94rem; color: var(--soft); }
.chase { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 12px; }
.chip { font-family: "Barlow Semi Condensed", "Barlow", sans-serif; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.86rem; padding: 7px 12px; border: 1px solid var(--edge-hi); color: var(--text); background: var(--depth); }
.chip.spec { border-image: var(--spectrum) 1; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--edge); padding: 44px 0 40px; color: var(--dim); font-size: 0.92rem; background: var(--depth); }
.foot-in { display: grid; gap: 22px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.foot-top img { height: 24px; width: auto; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-nav a { color: var(--dim); text-decoration: none; padding: 6px 0; }
.foot-nav a:hover { color: var(--text); text-decoration: underline; }
.foot p { margin: 0; }

/* ---------- text pages ---------- */
.page { width: min(880px, calc(100% - 40px)); margin: 0 auto; padding: 56px 0 88px; }
.page h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 22px; }
.page h2 { font-size: 1.35rem; margin: 40px 0 12px; color: #FFFFFF; }
.page h3 { font-size: 1.08rem; margin: 26px 0 8px; color: #D6F9FF; }
.page h2 + h3 { margin-top: 12px; }
.page .points { margin-top: 8px; }
.page > .actions { margin: 6px 0 8px; }
.cta-inline { margin: 34px 0 0; }
.page p, .page li { color: #D3DBEE; }
.page ul { padding-left: 1.2em; }
.page .stand { color: var(--dim); font-size: 0.95rem; }
.intro { font-size: 1.12rem; color: var(--soft); max-width: 720px; }

.qa { border-top: 1px solid var(--edge); padding: 24px 0 8px; }
.qa:first-of-type { border-top: 0; }
.qa h2 { font-size: 1.22rem; margin: 0 0 10px; display: flex; gap: 12px; align-items: baseline; }
.qa h2::before { content: ""; width: 8px; height: 8px; background: var(--cyan); transform: rotate(45deg); flex: none; position: relative; top: -2px; }

.factsheet { display: grid; grid-template-columns: minmax(140px, 220px) minmax(0, 1fr); margin: 0; border-top: 1px solid var(--edge); }
.factsheet dt, .factsheet dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--edge); }
.factsheet dt {
  font-family: "Barlow Semi Condensed", "Barlow", sans-serif; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; font-size: 0.9rem; color: var(--dim); padding-right: 16px;
}
.factsheet dd { color: var(--text); }
.downloads { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.downloads li { padding: 14px 18px; background: var(--glass); border: 1px solid var(--edge); display: flex; flex-wrap: wrap; gap: 4px 14px; justify-content: space-between; align-items: baseline; }
.downloads .size { color: var(--dim); font-size: 0.92rem; white-space: nowrap; }
.logo-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 14px; }
.logo-card { margin: 0; padding: 34px 26px 16px; border: 1px solid var(--edge); }
.logo-card img { width: 100%; height: auto; max-width: 420px; margin: 0 auto 20px; }
.logo-card figcaption { font-size: 0.92rem; color: var(--dim); }
.logo-card.on-light { background: #E8EEFA; }
.logo-card.on-light figcaption { color: #2A3150; }
.logo-card.on-dark { background: var(--ground); }
.press-shots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.press-shots li { display: grid; gap: 6px; }
.press-shots .png { font-size: 0.9rem; }
.mail { font-family: "Oxanium", "Barlow", sans-serif; font-weight: 600; color: var(--text); letter-spacing: 0.02em; }

.fonts { display: grid; gap: 14px; padding: 0; list-style: none; }
.licence { margin: 26px 0 0; }
.licence summary { cursor: pointer; color: var(--cyan); }
.licence pre {
  white-space: pre-wrap; font-family: Consolas, "Courier New", monospace; font-size: 0.82rem; line-height: 1.5;
  color: var(--soft); background: var(--depth); border: 1px solid var(--edge); padding: 18px; margin: 12px 0 0;
}

.notfound { min-height: calc(100svh - var(--bar) - 200px); }

/* ---------- lightbox (site.js) ---------- */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(5, 6, 11, 0.94); }
.lightbox-in { width: 100%; height: 100%; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 56px 72px 20px; }
.lightbox figure { margin: 0; display: grid; gap: 12px; justify-items: center; }
.lightbox img { max-width: min(1920px, calc(100vw - 150px)); max-height: calc(100vh - 150px); width: auto; height: auto; border: 1px solid var(--edge-hi); }
.lightbox figcaption { color: #D3DBEE; max-width: 900px; text-align: center; }
.lb-btn {
  position: absolute; width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--glass); color: var(--text); border: 1px solid var(--edge-hi); cursor: pointer;
  font: 600 1.4rem/1 "Oxanium", sans-serif;
}
.lb-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- smaller screens ---------- */
@media (max-width: 1199px) {
  .nav { display: none; }
  .menu { display: block; }
}
@media (max-width: 1080px) {
  .gallery, .press-shots, .doors, .modes, .kiln { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .notes-grid { grid-template-columns: minmax(0, 1fr); }
  .map-grid { grid-template-columns: minmax(0, 1fr); }
  .door { aspect-ratio: 4 / 3; }
}
@media (max-width: 860px) {
  .section { padding: 60px 0; }
  .split, .bandcard, .builds, .beats { grid-template-columns: minmax(0, 1fr); }
  .logo-cards { grid-template-columns: minmax(0, 1fr); }
  .hero-art { inset: 0; }
  .hero::after { background: linear-gradient(90deg, rgba(5, 6, 11, 0.9) 0%, rgba(5, 6, 11, 0.6) 40%, rgba(5, 6, 11, 0.1) 75%), linear-gradient(0deg, var(--ground) 0%, rgba(5, 6, 11, 0) 24%); }
}
@media (max-width: 640px) {
  :root { --bar: 56px; }
  body { font-size: 16px; }
  .brand .brand-word { display: none; }
  .brand .brand-mark { display: block; }
  .bar-in { gap: 12px; }
  .bar-end { gap: 12px; }
  .btn-bar .l { display: none; }
  .btn-bar .s { display: inline; }
  .menu-panel { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: min(calc(100svh - var(--bar)), 860px); align-items: flex-end; }
  .hero-art { inset: 0 0 auto 0; height: 60%; }
  .hero-art img, .hero-art video { object-position: 72% 50%; }
  .hero::after {
    background: linear-gradient(0deg, var(--ground) 0%, var(--ground) 42%, rgba(5, 6, 11, 0.55) 56%, rgba(5, 6, 11, 0) 72%);
  }
  .hero-in { padding: 250px 0 36px; }
  .hero-logo img { width: min(340px, 100%); }
  .lead { font-size: 1.02rem; }
  .facts { margin-bottom: 18px; }
  .actions .btn { flex: 1 1 auto; }
  .btn { white-space: normal; text-align: center; }
  .btn-bar { white-space: nowrap; }
  .gallery { gap: 8px; }
  .doors, .modes, .kiln { grid-template-columns: minmax(0, 1fr); }
  .door { aspect-ratio: 16 / 10; }
  .factsheet { grid-template-columns: minmax(0, 1fr); }
  .factsheet dt { border-bottom: 0; padding-bottom: 0; }
  .lightbox-in { padding: 64px 8px 12px; }
  .lightbox img { max-width: calc(100vw - 16px); }
  .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; }
  .fuse { margin: 6px 0 22px; }
  .fuse-line { display: none; }
  .fuse-nodes { height: auto; display: grid; gap: 12px; padding: 4px 0 4px 18px; border-left: 3px solid var(--edge); border-image: linear-gradient(180deg, var(--photon) 0%, var(--photon) 62%, var(--edge) 62%) 1; }
  .fuse .node { position: static; transform: none; width: auto; display: flex; gap: 14px; align-items: center; text-align: left; }
  .fuse .node.boss i { margin-top: 0; }
  .fuse .node b { display: inline; margin-right: 6px; }
  .beams { height: 220px; gap: 6px; }
  .beam-name { font-size: 0.6rem; letter-spacing: 0.02em; }
  .sm-node { width: 84px; }
  .sm-name { font-size: 0.68rem; letter-spacing: 0.04em; }
  .sm-gem { width: 38px; height: 38px; }
  .sm-star { width: 52px; height: 52px; }
  .pager { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .pager-next, .pager-all { text-align: left; }
  .pagetabs a { padding: 10px 12px; font-size: 0.86rem; }
  .stat { grid-template-columns: 5.5em minmax(0, 1fr) 3.4em; }
  .band-hero { min-height: 340px; }
  .page-head { padding-top: 36px; }
  .numbers { gap: 10px 22px; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .btn, .btn::before, .btn::after { transition: filter 0.18s ease, background-color 0.18s ease, color 0.18s ease; }
  .gallery img, .door-art img { transition: transform 0.35s ease, filter 0.35s ease; }
  .gallery a:hover img, .door:hover .door-art img { transform: scale(1.035); }
  .sm-gem { transition: filter 0.2s ease; }
}
@media (prefers-reduced-motion: reduce) {
  .media .loop-video { display: none; }
}
