:root {
  --bg: #05070e;
  --panel: rgba(8, 12, 22, 0.72);
  --ink: #e8eef6;
  --muted: #9aa8bc;
  --line: rgba(186, 214, 240, 0.18);
  --cyan: #7ad7ff;
  --silver: #d5deea;
  --header: 4.4rem;
  --steam: #1b2838;
  --steam-edge: #66c0f4;
  --discord: #5865f2;
  --facebook: #1877f2;
  --youtube: #ff0033;
  --font: Barlow, "Segoe UI", sans-serif;
  --display: Rajdhani, Barlow, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.6;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--cyan); }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 0.96;
  margin: 0;
}

.space {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 6;
  background: #fff;
  color: #111;
  padding: 0.45rem 0.75rem;
}

.skip:focus { top: 0.75rem; }

.site-header,
main,
.site-footer { position: relative; z-index: 1; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header);
  padding: 0.7rem 5vw;
  background: rgba(5, 7, 14, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand img { width: 1.6rem; height: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible { color: var(--ink); }

.nav-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
}

.nav-icon svg { width: 1rem; height: 1rem; }

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font: inherit;
}

.hero {
  min-height: calc(100vh - var(--header));
  display: grid;
  place-items: center;
  padding: 2.5rem 6vw 4.5rem;
}

.hero-copy {
  width: min(52rem, 100%);
  text-align: center;
}

.hero h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.hero-mark {
  width: min(22rem, 78vw);
  margin: 0.25rem auto 0.4rem;
  filter: drop-shadow(0 0 28px rgba(80, 170, 255, 0.28));
}

.kicker {
  margin: 0 0 0.75rem;
  color: var(--cyan);
  font-family: var(--display);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.lede {
  margin: 0 auto 1.4rem;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.22rem;
}

.hero-actions,
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.steam-btn,
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.35rem;
  padding: 0.45rem 1rem 0.45rem 0.75rem;
  border-radius: 0.35rem;
  text-decoration: none;
  text-align: left;
  color: #fff;
  font-family: var(--font);
}

.steam-btn {
  background: linear-gradient(#2a475e, var(--steam));
  border: 1px solid rgba(102, 192, 244, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 28px rgba(0, 0, 0, 0.28);
}

.steam-btn:disabled {
  opacity: 1;
  color: #fff;
  cursor: not-allowed;
}

.steam-btn svg,
.social-btn svg { width: 1.7rem; height: 1.7rem; flex: none; }

.btn-copy { display: grid; line-height: 1.15; }

.btn-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.btn-label { font-weight: 600; font-size: 1rem; }

.steam-btn .btn-kicker { color: var(--steam-edge); }

.steam-btn-large {
  display: flex;
  width: fit-content;
  min-width: min(24rem, 100%);
  min-height: 4rem;
  margin: 1.2rem auto 0;
  padding-inline: 1.1rem 1.3rem;
}

.steam-btn-large svg { width: 2.1rem; height: 2.1rem; }
.steam-btn-large .btn-label { font-size: 1.12rem; }

.discord { background: var(--discord); color: #fff; }
.facebook { background: var(--facebook); color: #fff; }
.youtube { background: var(--youtube); color: #fff; }
.x-account {
  background: #111;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.social-btn:hover,
.social-btn:focus-visible { filter: brightness(1.08); }

.release-note {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.studio-lockup {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  margin: 2.2rem auto 0;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.studio-lockup img { width: min(16rem, 70vw); }

.studio-lockup:hover,
.studio-lockup:focus-visible { color: var(--ink); }

.band,
.release {
  width: min(1120px, calc(100% - 8vw));
  margin: 0 auto;
  padding: 4.2rem 0;
}

.section-head { margin-bottom: 1.6rem; max-width: 40rem; }

.section-head h2,
.release h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.guides {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.9rem;
}

.guides a {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.15rem 1rem 1.25rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  color: inherit;
  text-decoration: none;
}

.guides a:hover,
.guides a:focus-visible { border-color: rgba(122, 215, 255, 0.55); }

.guides h3 {
  margin: 0;
  font-size: 1.45rem;
  color: var(--silver);
}

.guides p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.pillars article,
.release {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.pillars article { padding: 1.2rem 1.15rem 1.35rem; }

.release {
  width: min(1120px, calc(100% - 8vw));
  margin: 0.5rem auto 4rem;
  padding: 2rem 1.5rem 2.2rem;
  text-align: center;
}

.pillars h3 {
  margin-bottom: 0.45rem;
  font-size: 1.65rem;
  color: var(--silver);
}

.pillars p,
.release-copy { margin: 0; color: var(--muted); }

.release-copy { max-width: 40rem; margin-inline: auto; }

.hulls {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
}

.hulls li {
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  overflow: hidden;
  background: rgba(8, 12, 22, 0.55);
  padding: 0 0 1rem;
  text-align: center;
  color: var(--muted);
}

.hulls img {
  width: 100%;
  margin-bottom: 0.85rem;
  image-rendering: auto;
}

.hulls span {
  display: block;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

.gallery,
.papers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.shot {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  overflow: hidden;
  background: rgba(6, 10, 18, 0.8);
  color: inherit;
  text-align: left;
  cursor: zoom-in;
}

.shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #070b14;
}

.shot span {
  padding: 0.6rem 0.85rem 0.7rem;
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-note {
  margin: -0.6rem 0 0.4rem;
  color: var(--muted);
}

.group-label {
  margin: 1.8rem 0 0.75rem;
  font-size: 1.45rem;
  color: var(--silver);
}

.paper {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.55rem 0.55rem 0.7rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
}

.paper .shot { border: 0; background: transparent; }

.paper .shot img { object-fit: cover; background: #05070e; }

.sizes {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  margin: 0;
  padding: 0 0.35rem;
}

.sizes a {
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.tracks { display: grid; gap: 0.75rem; }

.track {
  display: grid;
  grid-template-columns: minmax(11rem, 16rem) minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
}

.track h3 { margin: 0; font-size: 1.35rem; }

.track p { margin: 0; color: var(--muted); }

.track audio {
  width: 100%;
  height: 2.4rem;
  accent-color: var(--cyan);
}

.track > a {
  font-family: var(--display);
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}

.trailer-frame {
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.trailer-frame video { width: 100%; background: #000; }

.intro-head { margin-top: 2.5rem; }


.site-footer {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: 2.5rem 6vw 3rem;
  border-top: 1px solid var(--line);
  background: rgba(5, 7, 14, 0.55);
  text-align: center;
}

.footer-studio img { width: min(14rem, 60vw); }

.site-footer p { margin: 0; color: var(--muted); }

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 1.1rem;
}

.legal-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.legal-nav a:hover,
.legal-nav a:focus-visible,
.legal-nav a[aria-current="page"] { color: var(--ink); }

.doc {
  width: min(760px, calc(100% - 8vw));
  margin: 0 auto;
  padding: 3.2rem 0 4.5rem;
}

.doc h1 {
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  margin-bottom: 0.7rem;
}

.doc h2 {
  font-size: 1.55rem;
  margin: 2rem 0 0.55rem;
}

.doc p,
.doc li { color: var(--muted); }

.doc strong { color: var(--ink); font-weight: 600; }

.doc p { margin: 0 0 0.9rem; }

.doc ul,
.doc ol { margin: 0 0 1rem; padding-left: 1.2rem; }

.doc li + li { margin-top: 0.35rem; }

.controls {
  width: 100%;
  border-collapse: collapse;
  margin: 0.4rem 0 1.2rem;
}

.controls th,
.controls td {
  text-align: left;
  padding: 0.6rem 0.35rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.controls th {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.controls td:first-child {
  color: var(--ink);
  width: 38%;
}

.lightbox {
  width: min(1100px, calc(100% - 2rem));
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
}

.lightbox::backdrop { background: rgba(3, 5, 10, 0.9); }

.lightbox figure { margin: 0; display: grid; justify-items: center; }

.lightbox img {
  width: auto;
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 0.7rem;
  border: 1px solid var(--line);
}

.lightbox figcaption { margin-top: 0.7rem; color: var(--muted); }

.lightbox-close {
  position: absolute;
  right: 0;
  top: -2.5rem;
  background: rgba(5, 7, 14, 0.72);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font: inherit;
  cursor: pointer;
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 5rem;
  transform: translateY(-50%);
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: rgba(5, 7, 14, 0.78);
  color: var(--ink);
  cursor: pointer;
}

.lightbox-nav svg { width: 1.8rem; height: 1.8rem; }

.lightbox-prev { left: max(0.8rem, 2vw); }

.lightbox-next { right: max(0.8rem, 2vw); }

.lightbox-nav:hover,
.lightbox-nav:focus-visible { border-color: rgba(122, 215, 255, 0.7); color: var(--cyan); }

@media (max-width: 1200px) {
  .guides,
  .gallery,
  .papers { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-block; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 6vw 1rem;
    background: rgba(5, 7, 14, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open { display: flex; }
}

@media (max-width: 860px) {
  .pillars,
  .hulls,
  .gallery,
  .papers,
  .guides { grid-template-columns: 1fr; }

  .track { grid-template-columns: 1fr; }

  .hero-actions,
  .footer-links { align-items: stretch; }

  .steam-btn,
  .social-btn { width: min(22rem, 100%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
