@font-face {
  font-family: Rubik;
  src: url('/fonts/Rubik.woff2') format('woff2');
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/fonts/JetBrainsMono.woff2') format('woff2');
  font-weight: 100 800;
  font-display: swap;
}
@font-face {
  font-family: Cinzel;
  src: url('/fonts/Cinzel.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #080e17;
  --text: #f3f2eb;
  --muted: #c3cbd2;
  --gold: #f3ca87;
  --aqua: #8ee8e2;
  --line: #35424d;
  --mono: 'JetBrains Mono', monospace;
  --display: Cinzel, Georgia, serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 85px; }
body { isolation: isolate; margin: 0; font: 400 1rem/1.6 Rubik, Arial, sans-serif; color: var(--text); }
body::before { content: ''; pointer-events: none; position: fixed; inset: 0; z-index: -1;
  background: linear-gradient(90deg, #060b1499, #080f1dd6 43%, #080f1dcc 60%, #08111b70), url('/media/deep-space.webp') center 42% / cover no-repeat; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--gold); }
a:focus-visible, .motion-control input:focus-visible { outline: 3px solid var(--aqua); outline-offset: 4px; }
p, h1, h2, h3, h4, figure { margin: 0; }
img { display: block; }
.wrap { width: min(1140px, 90%); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; z-index: 20; background: var(--gold); color: #111820; padding: .6rem 1rem; top: -100px; left: 12px; }
.skip:focus { top: 8px; }
.top { position: sticky; top: 0; z-index: 8; background: #080e17eb; border-bottom: 1px solid #c9b89138; }
.top-inner, .brand, .primary-nav, .language, .actions, .footer-inner, footer nav { display: flex; align-items: center; }
.top-inner { min-height: 64px; gap: 30px; }
.brand { gap: 9px; font: 650 1.07rem/1.15 var(--display); letter-spacing: .06em; white-space: nowrap; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 50%; }
.primary-nav { margin-left: auto; gap: clamp(20px, 3vw, 42px); }
.primary-nav a, .language a, footer a { text-decoration: none; }
.primary-nav a { font-size: .91rem; padding: 9px 0; }
.primary-nav .nav-beta { color: var(--gold); }
.primary-nav a:hover, footer a:hover { text-decoration: underline; }
.language { padding-left: 20px; border-left: 1px solid var(--line); }
.language a { font: 550 .73rem/1 var(--mono); padding: 11px 9px; color: var(--muted); }
.language [aria-current] { color: var(--gold); background: #29251f; border-radius: 2px; }
.hero { position: relative; isolation: isolate; display: grid; align-items: center; overflow: hidden; min-height: clamp(510px, 79svh, 820px); text-align: center; }
.hero-art, .hero-art img, .hero::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art { z-index: -2; mask-image: linear-gradient(#000 92%,transparent); }
.hero-art img { object-fit: cover; }
.hero::before { content: ''; z-index: -1; background: radial-gradient(ellipse at 50% 45%,#070e1a50, transparent 54%),linear-gradient(180deg, #08111a24 0%,transparent 32%, #09131b12 65%, #080f1b00 100%); }
.hero-inner { padding: 80px 0 98px; }
.genre, .date, .role { font-family: var(--mono); }
.genre, .role { text-transform: uppercase; letter-spacing: .19em; font-size: .72rem; font-weight: 600; line-height: 1.5; }
.genre { display: flex; justify-content: center; align-items: center; gap: 16px; color: #ffe2ae; text-shadow: 0 2px 10px #060810; }
.genre::before, .genre::after { content: ''; width: 42px; height: 1px; background: #d4a967; }
.hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(3.6rem, 7.6vw, 7.5rem); letter-spacing: -.055em; line-height: 1.12; word-spacing: .065em; text-shadow: 0 3px 24px #030811; margin: 13px auto 9px; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 auto 19px; color: var(--gold); }
.ornament::before, .ornament::after { content: ''; width: 53px; height: 1px; background: linear-gradient(90deg, transparent, #ccb386); }
.ornament::after { transform: rotate(180deg); }
.ornament i { width: 5px; height: 5px; background: currentColor; transform: rotate(45deg); }
.pitch { max-width: 53ch; margin: 0 auto; color: #e2e8eb; font-size: clamp(1rem, 1.5vw, 1.17rem); line-height: 1.55; text-wrap: balance; text-shadow: 0 1px 8px #000; }
.actions { justify-content: center; gap: 12px; margin-top: 27px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; border-radius: 4px; padding: 10px 24px; font-weight: 590; text-decoration: none; transition: background-color .16s, border-color .16s; }
.button.beta { background: #efc47b; color: #281e10; border: 1px solid #ffdda5; box-shadow: 0 4px 16px #0005; }
.button.beta:hover { background: #ffda97; }
.button.discord { background: #101725e8; border: 1px solid #b4b5bf9c; color: #eeeef8; }
.button.discord:hover { background: #263149; border-color: #d8dbe7; }
.watch-link { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 9px 15px; border-radius: 4px; background: #07101bbd; display: flex; gap: 10px; align-items: center; text-decoration: none; font-size: .88rem; color: #f4dcc1; }
.play { border-block: 5px solid transparent; border-left: 8px solid currentColor; }
.section-heading { text-align: center; margin: 0 auto 30px; }
.section-heading h2, .legal h1 { font-family: var(--display); }
.section-heading h2 { font-weight: 620; letter-spacing: -.032em; line-height: 1.15; font-size: clamp(2rem, 3.8vw, 3.3rem); }
:lang(ru) .section-heading h2, :lang(ru) .legal h1 { font-family: Georgia, serif; }
.section-heading::before { content: ''; display: block; width: 68px; height: 1px; margin: 0 auto 20px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.intro { color: var(--muted); max-width: 60ch; margin: 10px auto 0; }
.gallery { padding-block: clamp(48px, 5.8vw, 82px); }
.gallery .section-heading { margin-bottom: 8px; }
.gallery h2, .gallery .intro { text-wrap: balance; }
.motion-control { display: flex; align-items: center; gap: 8px; width: fit-content; min-height: 44px; margin: 0 0 4px auto; cursor: pointer; color: var(--muted); font-size: .9rem; }
.motion-control:hover { color: var(--gold); }
.motion-control input { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--gold); cursor: pointer; }
.motion-reduced { display: none; }
.clip-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(14px, 2vw, 26px); }
.clip { overflow: hidden; border: 1px solid #bfa4784d; background: linear-gradient(140deg,#182633f7,#0b1620f7); border-radius: 5px; box-shadow: 0 10px 29px #0004; }
.clip-frame { display: grid; background: #030608; aspect-ratio: 1; border-bottom: 1px solid #a9916d47; }
.clip-frame img { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: cover; }
.clip-loop { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .motion-standard:has(:checked) ~ .clip-grid .clip-loop { display: block; }
}
.clip figcaption { padding: 18px 20px 23px; }
.clip h3, .join-card h3 { font-size: clamp(1.24rem, 1.9vw, 1.55rem); letter-spacing: -.025em; line-height: 1.25; }
.clip p, .join-card p { color: var(--muted); line-height: 1.55; margin-top: 8px; }
.armory { padding: 12px 0 clamp(54px, 7vw, 99px); }
.tower-picker { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); max-width: 920px; min-width: 0; margin: 0 auto; padding: 0; border: 1px solid #84765d; border-radius: 5px; background: #0a141ff5; }
.tower-option { display: contents; }
.tower-option label { grid-row: 1; text-align: center; padding: 13px 4px; font-weight: 550; color: #bac8d3; background: #15202bd9; cursor: pointer; border-bottom: 2px solid #35404b; }
.tower-option input:checked + label { color: #ffe0a3; background: #28251f; border-color: var(--gold); }
.tower-option input:focus-visible + label { outline: 2px solid var(--aqua); outline-offset: -4px; }
.tower-option label:hover { color: white; background: #23313b; }
.dossier { display: none; grid-row: 2; grid-column: 1/-1; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; min-width: 0; --weapon: #9fdcff; }
.tower-option input:checked ~ .dossier { display: grid; }
.dossier.revel { --weapon: #d2afff; }
.dossier.rocket { --weapon: #ffc992; }
.blueprint { display: grid; place-items: center; padding: 24px 10px; min-height: 292px; background: repeating-radial-gradient(circle,transparent 0 42px,#89b2c41b 43px,transparent 44px 64px),radial-gradient(ellipse,#233c4c,#0b152000 72%); }
.blueprint img { width: min(78%,270px); height: 250px; object-fit: contain; filter: drop-shadow(0 8px 15px #000a); }
.dossier-copy { min-width: 0; padding: 24px clamp(16px,3vw,42px) 26px 10px; }
.role { color: var(--weapon); font-size: .69rem; }
.dossier h3 { font-size: clamp(2rem, 3.4vw, 3.25rem); line-height: 1.1; margin: 5px 0 10px; letter-spacing: -.045em; }
.dossier-copy > p:not(.role) { color: var(--muted); }
.dossier h4 { font-size: .88rem; font-weight: 520; margin: 18px 0 6px; }
.branches { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.branches li { flex: 1 1 72px; border: 1px solid var(--line); background: #15212b; border-radius: 3px; min-width: 0; padding: 5px; font: 480 .77rem/1.25 Rubik, sans-serif; text-align: center; }
.branches img { object-fit: contain; margin: 0 auto 4px; height: 48px; width: 48px; }
.community { position: relative; isolation: isolate; padding: clamp(46px,6vw,80px) 0; border-block: 1px solid #bda27044; }
.community::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#0a142098,#0b1421b8 55%,#0b141f55),url('/media/station-1440.webp') center 54% / cover no-repeat; }
.join-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; max-width: 920px; margin-inline: auto; }
.join-card { display: flex; flex-direction: column; align-items: start; padding: clamp(20px,3vw,32px); background: #0c1621ed; border: 1px solid #94857188; border-radius: 5px; }
.join-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 12px; border: 1px solid #9e86694f; border-radius: 50%; background: #131c27; }
.join-card .availability { border-top: 1px solid #35424c; width: 100%; margin: auto 0 0; padding-top: 12px; color: #ecd1a7; font-size: .9rem; }
.join-card p:not(.availability) { margin-bottom: 19px; }
.join-card .button { margin-top: auto; }
footer { background: #080d15ed; border-top: 1px solid var(--line); }
.footer-inner { min-height: 90px; justify-content: space-between; gap: 22px; padding-block: 20px; }
footer nav { flex-wrap: wrap; gap: 8px 20px; font-size: .87rem; color: var(--muted); }
footer nav a { padding-block: 7px; }
footer .brand { font-size: .93rem; }
.legal { max-width: 1080px; padding-block: 42px 76px; }
.back { color: var(--aqua); font-size: .9rem; }
.legal-title { padding-block: 28px 30px; border-bottom: 1px solid var(--line); }
.legal h1, .missing h1 { font-size: clamp(2.15rem, 5.5vw, 4.7rem); letter-spacing: -.05em; line-height: 1.08; }
.legal h1 { overflow-wrap: anywhere; }
.lead { margin-top: 14px; max-width: 59ch; color: #cddae4; font-size: 1.12rem; }
.date { margin-top: 15px; color: var(--aqua); font-size: .78rem; }
.legal-layout { display: grid; grid-template-columns: minmax(170px, 1fr) minmax(0, 3fr); gap: min(6vw, 80px); margin-top: 36px; }
.toc { height: max-content; padding-left: 15px; border-left: 2px solid #345d62; }
.toc h2 { font-size: 1rem; font-weight: 550; }
.toc ul { list-style: none; padding: 0; margin: 8px 0 0; }
.toc a { display: inline-block; padding-block: 4px; font-size: .9rem; color: var(--muted); }
.prose { max-width: 65ch; }
.prose h2 { font-weight: 620; letter-spacing: -.035em; line-height: 1.18; font-size: clamp(1.55rem, 2.5vw, 2rem); }
.prose section { scroll-margin-top: 20px; }
.prose section + section { margin-top: 36px; padding-top: 27px; border-top: 1px solid var(--line); }
.prose p { color: #c6d1dc; line-height: 1.72; margin-top: 12px; }
.prose a, .missing a { color: var(--aqua); overflow-wrap: anywhere; }
.missing { padding-block: 16vh; }
.missing nav { margin-top: 1em; }
.legal { background: linear-gradient(90deg,transparent,#09131de6 10%,#09131de6 92%,transparent); }
@media (max-width: 760px) {
  .top-inner { gap: 15px; min-height: 58px; }
  .primary-nav { gap: 12px; }
  .language { padding-left: 9px; }
  .hero { min-height: clamp(480px,75svh,650px); }
  .hero-inner { padding: 65px 0 80px; }
  .legal-layout { grid-template-columns: 1fr; gap: 28px; }
  .footer-inner { flex-direction: column; align-items: start; gap: 10px; }
  .dossier-copy { padding: 16px; }
  .blueprint img { height: 198px; }
}
@media (max-width: 600px) {
  .wrap { width: 91%; }
  .brand { font-size: .83rem; gap: 5px; }
  .brand img { width: 30px; height: 30px; }
  .primary-nav a:not(.nav-beta) { display: none; }
  .primary-nav .nav-beta { font-size: .81rem; }
  .top-inner { min-height: 54px; gap: 10px; }
  .language { padding-left: 7px; }
  .language a { padding: 12px 6px; }
  .hero { min-height: clamp(510px,78svh,690px); }
  .hero-art img { object-position: 70% 35%; }
  .hero::before { background: linear-gradient(180deg, #05132200 10%, #06131e54 40%, #060d18d9 70%, #080f1b00 100%); }
  .hero-inner { padding: 145px 0 86px; }
  .hero h1 { font-size: clamp(2.55rem, 10.7vw, 4.2rem); margin-block: 10px; }
  .pitch { max-width: 36ch; line-height: 1.5; }
  .genre { font-size: .66rem; gap: 9px; }
  .genre::before, .genre::after { width: 25px; }
  .clip-grid, .join-grid { grid-template-columns: 1fr; }
  .clip-grid { gap: 18px; }
  .actions { gap: 8px; margin-top: 21px; }
  .button { padding: 10px 15px; font-size: .9rem; }
  .dossier { grid-template-columns: 1fr; }
  .blueprint { min-height: auto; padding: 12px 0; }
  .blueprint img { height: 161px; }
  .dossier-copy { padding: 0 17px 20px; }
  .legal { padding-top: 25px; }
  .section-heading { margin-bottom: 21px; }
  footer nav { gap: 3px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .motion-standard { display: none; }
  .motion-reduced { display: flex; }
  .motion-reduced:has(:checked) ~ .clip-grid .clip-loop { display: block; }
  *, *::before, *::after { transition: none !important; }
}
