:root {
  --bg: #050106;
  --purple-1: #18001f;
  --purple-2: #2f0b45;
  --purple-3: #b760ff;
  --purple-4: #f1b8ff;
  --text: #f5ebff;
  --muted: rgba(245, 235, 255, 0.72);
  --panel: rgba(15, 4, 22, 0.58);
  --line: rgba(226, 151, 255, 0.18);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  background: #000;
  color: var(--text);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.boot-sequence {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 50;
  pointer-events: none;
  opacity: 1;
  transition: opacity 1.2s ease;
}
body.scene-start .boot-sequence {
  opacity: 0;
}

.site-shell { position: relative; min-height: 100vh; isolation: isolate; }
.bg-stack, .bg-stack > div {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.bg-black {
  background: #000;
  opacity: 1;
  transition: opacity 1.6s ease;
  z-index: -8;
}
.bg-texture {
  z-index: -7;
  background:
    radial-gradient(circle at 50% 20%, rgba(190, 90, 255, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(0,0,0,0.96), rgba(10,0,14,0.5) 35%, rgba(0,0,0,0.82)),
    url('assets/distressed-bg.webp') center center / cover no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.8s ease, transform 2.4s ease;
}
.bg-vignette {
  z-index: -6;
  background: radial-gradient(circle at center, transparent 40%, rgba(0,0,0,.46) 78%, rgba(0,0,0,.72) 100%);
  mix-blend-mode: multiply;
}

.cloud-layer {
  z-index: -5;
  opacity: 0.24;
  filter: blur(34px);
  will-change: transform;
}
.cloud-a {
  background:
    radial-gradient(circle at 20% 25%, rgba(151, 74, 201, 0.24), transparent 18%),
    radial-gradient(circle at 65% 20%, rgba(133, 71, 188, 0.22), transparent 18%),
    radial-gradient(circle at 30% 68%, rgba(168, 90, 226, 0.18), transparent 22%),
    radial-gradient(circle at 70% 72%, rgba(108, 48, 152, 0.22), transparent 24%);
  animation: driftA 22s ease-in-out infinite alternate;
}
.cloud-b {
  background:
    radial-gradient(circle at 55% 32%, rgba(223, 134, 255, 0.13), transparent 16%),
    radial-gradient(circle at 82% 45%, rgba(143, 70, 190, 0.18), transparent 16%),
    radial-gradient(circle at 15% 58%, rgba(165, 79, 230, 0.15), transparent 20%);
  animation: driftB 26s ease-in-out infinite alternate;
}

.lightning-flash {
  z-index: -4;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.62), rgba(182,129,255,0.2) 40%, transparent 80%);
  opacity: 0;
  mix-blend-mode: screen;
}

.grain {
  z-index: -3;
  opacity: .11;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 100% 3px, 3px 100%;
  animation: grainShift 0.2s steps(2) infinite;
}

body.scene-start .bg-black { opacity: 0; }
body.scene-start .bg-texture { opacity: 1; transform: scale(1); }

.site-header {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.74rem;
}
.wordmark {
  color: var(--muted);
  text-shadow: 0 0 12px rgba(192, 110, 255, 0.22);
}
nav { display: flex; gap: 1rem; }
nav a {
  color: var(--muted);
  transition: color .2s ease, text-shadow .2s ease;
}
nav a:hover { color: var(--text); text-shadow: 0 0 14px rgba(209, 130, 255, .45); }

main {
  position: relative;
  z-index: 2;
  padding: 0 1.5rem 5rem;
}
.hero {
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: 1.5rem;
  padding: 2rem 0 4rem;
}
.hero-art-wrap {
  width: min(72vw, 560px);
  opacity: 0;
  transform: translateY(-90px) scale(.92);
  transition: transform 1.1s cubic-bezier(.16,1,.3,1), opacity 1.1s ease;
}
body.scene-reveal .hero-art-wrap {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.hero-art {
  width: 100%;
  border-radius: 0.35rem;
  box-shadow: 0 0 0 1px rgba(231, 161, 255, 0.16), 0 18px 48px rgba(0,0,0,.5), 0 0 70px rgba(145, 52, 200, 0.18);
}
.hero-copy {
  max-width: 760px;
  text-align: center;
}
.eyebrow, .section-kicker {
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 0.74rem;
  margin: 0 0 .8rem;
}
.hero h1 {
  font-size: clamp(2rem, 6vw, 4.8rem);
  line-height: .96;
  letter-spacing: -.03em;
  margin: 0 0 1rem;
  text-shadow: 0 0 28px rgba(190, 100, 255, 0.16);
}
.hero .dek {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.7;
}
.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .9rem;
}
.button {
  padding: .95rem 1.35rem;
  border-radius: 999px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .78rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  background: rgba(196, 103, 255, .12);
  border: 1px solid rgba(223, 145, 255, .36);
  box-shadow: 0 0 18px rgba(195, 101, 255, 0.14);
}
.button.secondary {
  background: rgba(8, 3, 12, .34);
  border: 1px solid rgba(255,255,255,0.08);
}

.site-footer {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(245,235,255,.6);
}

.fade-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .85s ease, transform .85s ease;
}
body.scene-reveal .fade-item {
  opacity: 1;
  transform: translateY(0);
}
body.scene-reveal .delayed-4 { transition-delay: .4s; }
body.scene-reveal .delayed-5 { transition-delay: .85s; }
body.scene-reveal .delayed-6 { transition-delay: 1.15s; }
body.scene-reveal .delayed-7 { transition-delay: 1.35s; }

@keyframes driftA {
  from { transform: translate3d(-2%, 0, 0) scale(1); }
  to   { transform: translate3d(3%, -2%, 0) scale(1.07); }
}
@keyframes driftB {
  from { transform: translate3d(3%, 2%, 0) scale(1.02); }
  to   { transform: translate3d(-4%, -3%, 0) scale(1.1); }
}
@keyframes grainShift {
  0% { transform: translate(0,0); }
  50% { transform: translate(-2px, 1px); }
  100% { transform: translate(1px, -1px); }
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  nav { flex-wrap: wrap; }
  .hero-art-wrap { width: min(88vw, 500px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .boot-sequence { display: none; }
  .fade-item, .hero-art-wrap { opacity: 1; transform: none; }
  .bg-black { opacity: 0; }
  .bg-texture { opacity: 1; transform: none; }
}

/* The approved VHS transfer replaces the square cover, preserving its 16:9 frame. */
.video-wrap { width: min(88vw, 920px); position: relative; text-align: center; }
.video-wrap video { display: block; aspect-ratio:16/9; height:auto; background:#000; object-fit:contain; border-radius:0; }
.sound-button { margin-top: 1rem; color:#e9c8ff; background:rgba(8,3,12,.8); border:1px solid rgba(233,173,255,.38); padding:.8rem 1.2rem; font:inherit; font-size:.75rem; letter-spacing:.13em; text-transform:uppercase; cursor:pointer; }
.sound-button:hover,.sound-button:focus-visible { border-color:#f0c0ff; color:white; }
.sound-button[hidden] { display:none; }
.tape-caption { font: .65rem/1.4 Arial,sans-serif; letter-spacing:.22em; color:#d6bce4; margin:.75rem 0 0; }
@media (max-width:860px){.video-wrap {width:100%;}.hero{min-height: auto; padding-top:2rem;}}

/* VHS character generator: restrained type, warm phosphor and misregistered chroma. */
.hero-copy { max-width: 940px; }
.hero-copy .vhs-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.4rem, 4.2vw, 3.25rem);
  font-weight: 500;
  letter-spacing: .105em;
  line-height: 1.24;
  text-transform: uppercase;
  color: #d9c8b0;
  text-shadow: -2px 0 1.3px #214cda, -4px 0 3px rgba(35,70,234,.64), 2px 0 1.5px #b95739, 3px 1px 3px rgba(206,103,42,.65), 0 0 7px rgba(180,107,216,.34);
  filter: blur(.55px);
  margin: 0 0 1rem;
}
.hero-copy .eyebrow, .hero-copy .dek, .hero-copy .button, .tape-caption, .sound-button {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  color: #d2c1b6;
  text-shadow: -1px 0 1px #3759cb, 1px 0 1px #ae5c43, 0 0 4px rgba(178,106,206,.28);
}
.hero-copy .dek { font-size: clamp(.87rem, 1.8vw, 1.05rem); letter-spacing: .07em; }
.hero-copy .eyebrow { letter-spacing: .25em; }
@media (max-width: 560px) { .hero-copy .vhs-title { letter-spacing:.075em; } }

/* ARCHIVAL EDITION: analog lettering, no card or dashboard surfaces. */
:root { --text:#d9c8b0; --muted:#c7b3ad; }
body { color:var(--text); }
.site-header, .site-footer, .archive, .bulletin, .hero-copy, .tape-caption, .sound-button {
  font-family: Arial, Helvetica, sans-serif;
  text-shadow: -1.2px 0 1.25px rgba(39,72,213,.85), 1.2px 0 1.3px rgba(189,84,46,.85), 0 0 4px rgba(191,124,207,.27);
}
.site-header .wordmark, .site-header nav a, .site-footer { color:var(--muted); }
.site-header nav a:hover, a:hover { color:#fff0d9; }
.hero-art { border-radius:0; box-shadow:none; }
.hero-actions { gap: 1.5rem; margin-top:1.7rem; }
.hero-copy .button, .hero-copy .button.primary, .hero-copy .button.secondary, .sound-button {
  background:none; border:0; border-radius:0; box-shadow:none; padding:.5rem .2rem;
  font-size:.78rem; letter-spacing:.13em; line-height:1.5; text-decoration:none;
}
.hero-copy .button:hover, .sound-button:hover { color:#fff0d9; text-decoration:underline; transform:none; }
.archive, .bulletin { max-width:780px; margin:0 auto; padding:4.5rem 0; text-align:center; scroll-margin-top:2rem; }
.archive .section-kicker, .bulletin .section-kicker { color:#b9a2b4; font-size:.68rem; letter-spacing:.23em; margin:0 0 1.5rem; }
.archive h2, .bulletin h2 { margin:0 0 2rem; font-size:clamp(1.1rem,3.2vw,1.75rem); font-weight:500; line-height:1.4; letter-spacing:.15em; color:#d9c8b0; text-shadow:-2px 0 1.6px #254ac9,2px 0 1.6px #a95639,0 0 5px rgba(180,107,216,.35); filter:blur(.35px); }
.tape-index { display:grid; gap:1.7rem; list-style:none; margin:0 auto; padding:0; width:fit-content; max-width:100%; text-align:left; }
.tape-index li { display:grid; grid-template-columns:2.5rem minmax(0,1fr); align-items:baseline; gap:.8rem; line-height:1.6; font-size:clamp(.78rem,2.4vw,1rem); letter-spacing:.12em; }
.tape-number { color:#a990b0; font-size:.77rem; font-variant-numeric:tabular-nums; }
.tape-index p { color:#bca9ae; font-size:.72rem; letter-spacing:.12em; margin:.35rem 0 0; line-height:1.8; }
.tape-index a, .bulletin a { text-decoration:underline; text-underline-offset:.25em; text-decoration-color:#8b6c9a; }
.bulletin { padding-top:3.6rem; padding-bottom:4.2rem; }
.bulletin p:not(.section-kicker) { font-size:clamp(.85rem,2.3vw,1rem); line-height:1.8; letter-spacing:.065em; color:var(--text); }
.bulletin .signoff { margin-top:2rem; }
.bulletin .signature { margin-top:2rem; letter-spacing:.14em!important; font-size:.77rem!important; }
.site-footer { justify-content:center; flex-wrap:wrap; align-items:center; text-align:center; font-size:.65rem; }
.site-footer p { margin:0; }
body .bg-texture { transform:none; }
:focus-visible { outline:1px dashed #e5c5d8; outline-offset:5px; }
@media(max-width:560px){.site-header{align-items:center;text-align:center;gap:.9rem}.site-header nav{justify-content:center}.hero-actions{gap:.5rem 1rem}.archive,.bulletin{padding:3rem 0}.tape-index li{grid-template-columns:1.7rem minmax(0,1fr);gap:.55rem}.site-footer{align-items:center}.hero-copy .button{font-size:.69rem}}

/* Single release — artwork and a bare archival link, no panel or button. */
.release-feature { margin: 0 auto; padding: 1rem 0 3rem; text-align: center; max-width: 780px; }
.release-cover-link { display: block; width: min(76vw, 330px); margin: 0 auto 1.4rem; }
.release-cover-link img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.release-cover-link:hover img { filter: brightness(1.08); }
.release-listen { display: inline-block; font: 400 .85rem/1.6 Arial, Helvetica, sans-serif; text-transform: uppercase; letter-spacing: .14em; color: #d9c8b0; text-decoration: underline; text-underline-offset: .35em; text-decoration-color: #8b6c9a; text-shadow: -1.7px 0 1.2px #254ac9, 1.7px 0 1.2px #a95639, 0 0 4px rgba(180,107,216,.3); }
.release-listen:hover { color: #fff0d9; }
@media(max-width:560px) { .release-feature { padding: .5rem 0 2rem; } .release-cover-link { width: min(76vw, 280px); } }

/* Further transmissions: unboxed VHS-style archive links. */
.release-pathways { display:flex; flex-direction:column; align-items:center; gap:.9rem; margin:1.65rem auto 0; }
.release-pathways a { max-width:100%; line-height:1.65; overflow-wrap:anywhere; }

/* Project artwork: same square size and text-link treatment as the release above. */
.release-pathways { gap: 2.4rem; margin-top: 2.4rem; }
.release-pathway { width: 100%; text-align: center; }
