:root {
  color-scheme: dark;
  --ink: #f4f7fb;
  --muted: #a8b3c7;
  --line: rgba(244, 247, 251, 0.16);
  --panel: rgba(10, 14, 24, 0.68);
  --accent: #43e6a8;
  --hot: #ff5c7a;
  --gold: #ffd166;
  --cyan: #5ed7ff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #080b12;
  color: var(--ink);
  min-width: 320px;
}

#signal-field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background:
    radial-gradient(circle at 20% 15%, rgba(67, 230, 168, 0.18), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(255, 92, 122, 0.16), transparent 26%),
    linear-gradient(135deg, #070a10 0%, #111827 48%, #090d15 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 11, 18, 0.25), #080b12 82%);
  pointer-events: none;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 11, 18, 0.78);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  box-shadow: inset 8px -6px 0 rgba(94, 215, 255, 0.45), 0 0 18px rgba(67, 230, 168, 0.55);
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.hero {
  min-height: 94vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-content: center;
  align-items: center;
  gap: 48px;
  padding: 120px clamp(20px, 6vw, 90px) 34px;
}

.hero-copy {
  max-width: 920px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 1000px;
  font-size: clamp(56px, 12vw, 148px);
  line-height: 0.88;
  letter-spacing: 0;
}

.lede {
  max-width: 760px;
  margin: 28px 0 0;
  color: #d5dceb;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 900;
  border: 1px solid var(--line);
}

.primary-action {
  background: var(--ink);
  color: #080b12;
}

.secondary-action {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
}

.doctor-figure {
  width: min(420px, 100%);
  aspect-ratio: 0.62;
  justify-self: end;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(67, 230, 168, 0.42);
  background: rgba(5, 7, 12, 0.86);
  box-shadow: inset 0 0 0 1px rgba(244, 247, 251, 0.08);
  filter: drop-shadow(0 26px 60px rgba(0, 0, 0, 0.55));
}

.doctor-figure::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 42%, rgba(5, 7, 12, 0.9));
  pointer-events: none;
}

.doctor-figure img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.doctor-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  gap: 3px;
}

.doctor-caption span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.doctor-caption strong {
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 860px;
  border: 1px solid var(--line);
  background: var(--line);
}

.status-strip span {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px;
  background: rgba(8, 11, 18, 0.72);
  color: var(--muted);
  font-weight: 800;
}

.status-strip strong {
  color: var(--gold);
  font-size: 26px;
}

.section {
  padding: 88px clamp(20px, 6vw, 90px);
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1;
}

.track-list {
  display: grid;
  gap: 12px;
}

.track {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 18px;
  min-height: 108px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(10, 14, 24, 0.74);
}

.track.is-featured {
  border-color: rgba(67, 230, 168, 0.55);
  background: linear-gradient(90deg, rgba(67, 230, 168, 0.16), rgba(10, 14, 24, 0.74));
}

.track-number {
  color: var(--hot);
  font-size: 26px;
  font-weight: 950;
}

.track h3,
.universe-panel h3 {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.4vw, 32px);
}

.track p,
.universe-panel p,
.character-row p,
.studio-flow p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.icon-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.icon-button span {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid currentColor;
}

.player-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.player-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(10, 14, 24, 0.78);
}

.player-card img {
  width: 132px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(244, 247, 251, 0.16);
  background: #05070c;
}

.audio-mark {
  width: 132px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(67, 230, 168, 0.42);
  background:
    linear-gradient(135deg, rgba(67, 230, 168, 0.24), transparent 44%),
    linear-gradient(315deg, rgba(255, 92, 122, 0.18), rgba(5, 7, 12, 0.92));
  color: var(--gold);
  font-size: 42px;
  font-weight: 950;
}

.player-copy {
  display: grid;
  gap: 8px;
}

.player-copy span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.player-copy h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 38px);
}

.player-copy audio {
  width: 100%;
  min-height: 42px;
  margin-top: 6px;
}

.universe-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: start;
}

.universe-panel {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.character-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.character-row article,
.studio-flow li {
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
}

.character-row span,
.studio-flow span {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-weight: 950;
  font-size: 20px;
}

.studio-flow ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(20px, 6vw, 90px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 820px) {
  .topbar {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .status-strip,
  .universe-grid,
  .character-row,
  .player-grid,
  .studio-flow ol {
    grid-template-columns: 1fr;
  }

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

  .doctor-figure {
    justify-self: start;
    max-width: 300px;
  }

  .track {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .player-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .player-card img {
    width: 92px;
  }

  .audio-mark {
    width: 92px;
    font-size: 30px;
  }

  .icon-button {
    grid-column: 2;
  }

  footer {
    flex-direction: column;
  }
}
