:root {
  color-scheme: dark;
  --bg: #050708;
  --surface: #0a0d0f;
  --ink: #edf4f5;
  --muted: #7d898d;
  --line: rgba(207, 236, 241, 0.18);
  --line-strong: rgba(207, 236, 241, 0.42);
  --signal: #54e7ff;
  --signal-soft: rgba(84, 231, 255, 0.13);
  --grid-x: 44px;
  --grid-y: 44px;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(207, 236, 241, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(207, 236, 241, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: var(--grid-x) var(--grid-y);
  font-family: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  content: "";
  background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.11) 50%);
  background-size: 100% 4px;
  opacity: 0.5;
}

::selection { color: var(--bg); background: var(--signal); }
a { color: inherit; }

.noise {
  position: fixed;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.94' numOctaves='4' stitchTiles='stitchTiles'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-frame {
  position: relative;
  width: min(100% - 32px, 1500px);
  margin: 16px auto;
  border: 1px solid var(--line-strong);
  background: rgba(5, 7, 8, 0.78);
}

.topbar {
  min-height: 70px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  border-bottom: 1px solid var(--line-strong);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 22px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.wordmark span { color: var(--signal); }

.system-state {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 22px;
  border-inline: 1px solid var(--line);
  color: var(--muted);
}

.system-state span { display: flex; align-items: center; gap: 8px; }
.system-state i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 16px var(--signal);
  animation: pulse 1.8s steps(2, end) infinite;
}

.topnav { display: flex; justify-content: flex-end; }
.topnav a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  text-decoration: none;
}
.topnav b { color: var(--signal); font-weight: 400; }
.topnav a:hover,
.topnav a:focus-visible { color: var(--bg); background: var(--signal); outline: none; }
.topnav a:hover b,
.topnav a:focus-visible b { color: var(--bg); }

.hero {
  position: relative;
  min-height: min(820px, calc(100vh - 104px));
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
  border-bottom: 1px solid var(--line-strong);
}

.hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 5vw, 74px);
  overflow: hidden;
}

.locator {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.locator span::before { content: "/ "; color: var(--signal); }

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

h1 {
  position: relative;
  z-index: 1;
  width: max-content;
  margin: auto 0;
  font-size: clamp(74px, 12.2vw, 188px);
  font-weight: 900;
  letter-spacing: -0.085em;
  line-height: 0.67;
  text-transform: uppercase;
}
h1 span { display: block; }
h1 .outline {
  margin-left: 0.32em;
  color: transparent;
  -webkit-text-stroke: 1px var(--ink);
  text-stroke: 1px var(--ink);
}
h1::after {
  position: absolute;
  top: 47%;
  left: -12vw;
  width: 125vw;
  height: 1px;
  content: "";
  background: var(--signal);
  box-shadow: 0 0 18px var(--signal);
  animation: glitch-line 5s ease-in-out infinite;
}

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(240px, 470px) auto;
  align-items: end;
  gap: 32px;
}
.hero-bottom p {
  margin-bottom: 0;
  color: #b7c2c5;
  font-size: clamp(15px, 1.5vw, 21px);
  line-height: 1.45;
}

.enter-link {
  min-width: 230px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 17px 18px;
  border: 1px solid var(--signal);
  color: var(--signal);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}
.enter-link span { font-size: 20px; }
.enter-link:hover,
.enter-link:focus-visible { color: var(--bg); background: var(--signal); outline: none; }

.signal-portrait {
  position: relative;
  min-width: 0;
  margin: 0;
  border-left: 1px solid var(--line-strong);
  overflow: hidden;
  background: var(--surface);
}
.signal-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(1) contrast(1.28) brightness(0.74) saturate(0);
  transform: scale(1.02);
  transition: filter 500ms ease, transform 800ms cubic-bezier(.2,.8,.2,1);
}
.signal-portrait:hover img {
  filter: grayscale(0.78) contrast(1.2) brightness(0.86) hue-rotate(145deg);
  transform: scale(1.055);
}
.signal-portrait::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(135deg, rgba(84, 231, 255, 0.18), transparent 45%, rgba(84, 231, 255, 0.08));
  mix-blend-mode: screen;
}
.portrait-index,
.signal-portrait figcaption {
  position: absolute;
  z-index: 2;
  right: 14px;
  left: 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(237, 244, 245, 0.38);
  color: var(--ink);
  background: rgba(5, 7, 8, 0.68);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.portrait-index { top: 14px; width: max-content; left: auto; }
.signal-portrait figcaption { bottom: 14px; }
.scanline {
  position: absolute;
  z-index: 3;
  inset-inline: 0;
  top: -10%;
  height: 12%;
  background: linear-gradient(transparent, rgba(84, 231, 255, 0.22), transparent);
  animation: scan 5.5s linear infinite;
}

.ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--line-strong);
  color: var(--bg);
  background: var(--signal);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ticker div {
  width: max-content;
  display: flex;
  animation: ticker 24s linear infinite;
}
.ticker span { padding: 11px 34px; }

.signal-section { border-bottom: 1px solid var(--line-strong); }
.section-header {
  display: grid;
  grid-template-columns: 1fr minmax(250px, 0.42fr);
  align-items: end;
  gap: 40px;
  padding: clamp(38px, 6vw, 88px) clamp(24px, 5vw, 72px) clamp(30px, 4vw, 56px);
}
.section-header.compact { align-items: center; }
.section-number {
  display: block;
  margin-bottom: 22px;
  color: var(--signal);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
}
h2 {
  margin-bottom: 0;
  font-size: clamp(44px, 7vw, 106px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.82;
  text-transform: uppercase;
}
.section-header > p,
.frequency-copy > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.release-table { border-top: 1px solid var(--line-strong); }
.release-row {
  display: grid;
  grid-template-columns: 0.55fr 1.35fr 1fr 0.45fr 0.45fr;
  align-items: center;
  min-height: 112px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}
.release-row:last-child { border-bottom: 0; }
.release-row > span,
.release-row > time {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 18px 24px;
  border-right: 1px solid var(--line);
}
.release-row > :last-child { border-right: 0; }
.release-id,
.release-meta,
.release-row time,
.release-state,
.row-action {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.release-name {
  font-size: clamp(28px, 4vw, 58px);
  font-weight: 800;
  letter-spacing: -0.045em;
  text-transform: lowercase;
}
.row-action { justify-content: flex-end; }
.release-row:hover,
.release-row:focus-visible { color: var(--bg); background: var(--signal); outline: none; }
.release-row:hover > *,
.release-row:focus-visible > * { color: var(--bg); border-color: rgba(5, 7, 8, 0.2); }
.album-row .release-state { color: var(--signal); }

.frequency {
  display: grid;
  grid-template-columns: minmax(270px, 0.7fr) minmax(0, 1.3fr);
}
.frequency-copy { padding: clamp(40px, 6vw, 84px) clamp(24px, 5vw, 72px); }
.frequency-copy h2 { margin-bottom: 34px; }
.readout { margin: 54px 0 0; border-top: 1px solid var(--line); }
.readout div {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
}
.readout dt { color: var(--muted); }
.readout dd { margin: 0; }
.readout .active { color: var(--signal); }

.spectrum-wrap {
  min-height: 540px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 24px;
  border-left: 1px solid var(--line-strong);
  background: linear-gradient(180deg, var(--signal-soft), transparent 60%);
}
.spectrum-label,
.spectrum-axis {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.13em;
}
.spectrum {
  min-height: 380px;
  display: flex;
  align-items: end;
  gap: clamp(2px, 0.35vw, 7px);
  padding: 36px 0 18px;
  border-bottom: 1px solid var(--line-strong);
}
.spectrum i {
  min-width: 2px;
  flex: 1;
  height: var(--bar-height);
  display: block;
  background: linear-gradient(to top, var(--signal), rgba(84, 231, 255, 0.08));
  transform-origin: bottom;
  animation: frequency-drift var(--bar-speed) ease-in-out var(--bar-delay) infinite alternate;
}
.spectrum-axis { padding-top: 10px; }

.network-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
}
.network-grid a {
  min-height: 132px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.network-grid a:nth-child(4n) { border-right: 0; }
.network-grid b,
.network-grid i {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
}
.network-grid span { font-size: clamp(16px, 1.7vw, 24px); font-weight: 700; }
.network-grid a:hover,
.network-grid a:focus-visible { color: var(--bg); background: var(--signal); outline: none; }
.network-grid a:hover b,
.network-grid a:hover i,
.network-grid a:focus-visible b,
.network-grid a:focus-visible i { color: var(--bg); }

.footer {
  min-height: 96px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.footer p { margin: 0; }
.footer a { justify-self: end; color: var(--signal); text-decoration: none; }
.footer .imprint-link { justify-self: center; }

@keyframes pulse { 50% { opacity: 0.24; } }
@keyframes scan { to { transform: translateY(920%); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes glitch-line {
  0%, 90%, 100% { transform: translateY(0); opacity: 0.45; }
  92% { transform: translateY(-18px); opacity: 1; }
  94% { transform: translateY(11px); opacity: 0.35; }
  96% { transform: translateY(-4px); opacity: 0.8; }
}
@keyframes frequency-drift {
  from { transform: scaleY(0.55); opacity: 0.48; }
  to { transform: scaleY(1); opacity: 1; }
}

@media (max-width: 980px) {
  .topbar { grid-template-columns: 1fr auto; }
  .system-state { border-right: 0; }
  .topnav { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .topnav a { min-height: 48px; flex: 1; justify-content: center; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 650px; }
  .signal-portrait { min-height: 560px; border-top: 1px solid var(--line-strong); border-left: 0; }
  .release-row { grid-template-columns: 0.5fr 1.35fr 1fr 0.4fr; }
  .release-row .row-action { display: none; }
  .release-row > :nth-last-child(2) { border-right: 0; }
  .frequency { grid-template-columns: 1fr; }
  .spectrum-wrap { border-top: 1px solid var(--line-strong); border-left: 0; }
  .network-grid { grid-template-columns: repeat(2, 1fr); }
  .network-grid a:nth-child(2n) { border-right: 0; }
}

@media (max-width: 620px) {
  :root { --grid-x: 28px; --grid-y: 28px; }
  .site-frame { width: calc(100% - 16px); margin: 8px auto; }
  .topbar { grid-template-columns: 1fr; }
  .wordmark { min-height: 54px; }
  .system-state { min-height: 42px; justify-content: space-between; border: 0; border-top: 1px solid var(--line); }
  .topnav a { padding: 0 8px; font-size: 11px; }
  .hero-copy { min-height: 570px; padding: 28px 18px; }
  .locator { gap: 7px 14px; }
  h1 { font-size: clamp(61px, 23vw, 104px); line-height: 0.7; }
  .hero-bottom { grid-template-columns: 1fr; align-items: stretch; }
  .enter-link { min-width: 0; }
  .signal-portrait { min-height: 430px; }
  .signal-portrait figcaption span:nth-child(2) { display: none; }
  .section-header { grid-template-columns: 1fr; }
  .section-header > p { max-width: 330px; }
  .release-row {
    min-height: 98px;
    grid-template-columns: 70px 1fr auto;
  }
  .release-row > span,
  .release-row > time { padding: 14px 12px; }
  .release-name { font-size: 27px; }
  .release-meta { display: none !important; }
  .release-row > time,
  .release-state { border-right: 0; }
  .spectrum-wrap { min-height: 410px; padding: 18px; }
  .spectrum { min-height: 290px; gap: 2px; }
  .network-grid { grid-template-columns: 1fr; }
  .network-grid a { min-height: 86px; border-right: 0; }
  .footer { grid-template-columns: 1fr; }
  .footer a { justify-self: start; }
  .footer .imprint-link { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
