:root {
  color-scheme: dark;
  --bg: #020407;
  --panel: #071018;
  --ink: #f6fbff;
  --muted: #a9b8c9;
  --line: rgba(196, 226, 255, 0.2);
  --blue: #6ec9ff;
  --gold: #f7d66b;
  --deep: #071b37;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 10%, rgba(78, 149, 226, 0.18), transparent 34rem),
    radial-gradient(circle at 15% 75%, rgba(247, 214, 107, 0.1), transparent 28rem),
    var(--bg);
  color: var(--ink);
  font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

main,
section,
div,
p,
h1,
h2,
h3 {
  min-width: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: linear-gradient(to bottom, rgba(2, 4, 7, 0.88), rgba(2, 4, 7, 0.28), transparent);
  backdrop-filter: blur(10px);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4rem;
  height: 4rem;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(2, 4, 7, 0.34), transparent);
}

.brand,
h1,
h2,
h3,
.button,
.signal-label,
.eyebrow,
.process-line,
.archive-item span {
  font-family: Orbitron, "Arial Narrow", Arial, sans-serif;
  letter-spacing: 0.04em;
}

.brand {
  font-weight: 700;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  color: var(--muted);
  font-size: 0.92rem;
}

nav a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 7rem clamp(1rem, 5vw, 5rem) clamp(3rem, 8vw, 6rem);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: min(28vh, 18rem);
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(2, 4, 7, 0.9) 62%, #000 100%);
}

.hero-video-bg,
.memory-field,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video-bg {
  overflow: hidden;
  background: #000;
}

.hero-video-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.memory-field {
  display: none;
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(2, 4, 7, 0.92), rgba(2, 4, 7, 0.56) 44%, rgba(2, 4, 7, 0.16)),
    linear-gradient(0deg, rgba(2, 4, 7, 0.88), rgba(2, 4, 7, 0.12) 58%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(860px, 100%);
  min-width: 0;
}

.signal-label,
.eyebrow {
  margin: 0 0 1rem;
  color: var(--blue);
  font-size: 0.75rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0.5rem;
  font-size: clamp(4rem, 13vw, 11rem);
  line-height: 0.88;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1rem;
  text-transform: uppercase;
}

.hero-subtitle {
  color: var(--gold);
  font-size: clamp(1.25rem, 3vw, 2rem);
}

.hero-copy,
.wide-copy,
.text-stack,
.quote,
.featured-copy p {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  max-width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1rem;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  text-align: center;
  text-transform: uppercase;
}

.button.primary {
  background: var(--ink);
  color: var(--bg);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.04);
}

.band,
.archive,
.featured {
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 5vw, 5rem);
}

.manifesto {
  background: #000;
}

.section-grid,
.featured {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.text-stack p:last-child,
.featured-copy p:last-child {
  margin-bottom: 0;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  margin: 2rem 0;
  border: 1px solid var(--line);
  background: var(--line);
  color: var(--ink);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.process-line span {
  min-height: 74px;
  display: grid;
  place-items: center;
  padding: 0.8rem;
  background: rgba(7, 16, 24, 0.86);
  text-align: center;
}

.wide-copy {
  width: min(900px, 100%);
}

.featured {
  background:
    linear-gradient(180deg, rgba(7, 16, 24, 0.86), rgba(2, 4, 7, 0.92)),
    radial-gradient(circle at 35% 10%, rgba(110, 201, 255, 0.18), transparent 32rem);
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(110, 201, 255, 0.12), rgba(247, 214, 107, 0.05)),
    #000;
  border: 1px solid var(--line);
  box-shadow: 0 1.2rem 4rem rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-link {
  margin-top: 1.5rem;
}

.source {
  color: var(--gold);
}

.metadata {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
}

.metadata div {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.metadata dt {
  color: var(--blue);
  font-family: Orbitron, "Arial Narrow", Arial, sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.metadata dd {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.quote {
  color: var(--ink);
  font-size: clamp(1.4rem, 3vw, 2.6rem);
  line-height: 1.18;
}

.sound-grid,
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2rem;
  background: var(--line);
  border: 1px solid var(--line);
}

.sound-grid article,
.archive-item {
  min-height: 180px;
  padding: 1.25rem;
  background: rgba(7, 16, 24, 0.78);
}

.sound-grid p,
.archive-item p,
.site-footer {
  color: var(--muted);
}

.archive-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.archive-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.archive-item.active {
  background: linear-gradient(160deg, rgba(110, 201, 255, 0.2), rgba(247, 214, 107, 0.08));
}

.archive-item span {
  color: var(--blue);
  font-size: 0.75rem;
}

.archive-item h3 {
  margin-top: 2rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .section-grid,
  .featured {
    grid-template-columns: 1fr;
  }

  .process-line,
  .sound-grid {
    grid-template-columns: 1fr;
  }

  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    background: linear-gradient(to bottom, rgba(2, 4, 7, 0.94), rgba(2, 4, 7, 0.72));
  }

  nav {
    width: 100%;
    gap: 0.75rem;
    justify-content: space-between;
    font-size: 0.78rem;
  }

  .hero {
    min-height: 100svh;
    padding: 8.3rem 1rem 2.25rem;
  }

  .archive-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 0.95rem;
  }

  .hero-video-bg video {
    object-position: 52% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(2, 4, 7, 0.82), rgba(2, 4, 7, 0.48) 54%, rgba(2, 4, 7, 0.2)),
      linear-gradient(0deg, rgba(2, 4, 7, 0.92), rgba(2, 4, 7, 0.16) 62%);
  }

  .signal-label,
  .eyebrow {
    margin-bottom: 0.7rem;
    font-size: 0.62rem;
    line-height: 1.35;
  }

  h1 {
    margin-bottom: 0.8rem;
    font-size: clamp(2.55rem, 12vw, 3rem);
    line-height: 0.92;
    letter-spacing: 0;
  }

  h2 {
    font-size: clamp(1.85rem, 10vw, 2.5rem);
    line-height: 1.04;
  }

  .hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.25;
  }

  .hero-copy,
  .wide-copy,
  .text-stack,
  .featured-copy p {
    font-size: 0.98rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 1.45rem;
  }

  .button {
    width: 100%;
    min-height: 48px;
    padding: 0.78rem 0.9rem;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
  }

  .band,
  .archive,
  .featured {
    padding: 3.4rem 1rem;
  }

  .process-line span,
  .sound-grid article,
  .archive-item {
    min-height: auto;
  }

  .process-line span {
    padding: 0.95rem;
  }

  .video-frame {
    aspect-ratio: 9 / 16;
  }

  .quote {
    font-size: 1.35rem;
  }
}

@media (max-width: 400px) {
  nav {
    font-size: 0.72rem;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 2.72rem);
  }

  .hero {
    padding-inline: 0.9rem;
  }
}
