:root {
  --bg: #05070a;
  --bg-2: #0b1016;
  --bg-3: #121820;
  --ink: #e8efe8;
  --ink-dim: #a8b4ae;
  --mute: #6d7a74;
  --teal: #2ee6c5;
  --teal-2: #7ff3dd;
  --teal-dim: rgba(46, 230, 197, 0.16);
  --gold: #d4b06a;
  --gold-2: #f0d59a;
  --amber: #e8a03a;
  --line: rgba(232, 239, 232, 0.1);
  --danger: #c45a3a;
  --display: "Syne", "Segoe UI", system-ui, sans-serif;
  --serif: "Cormorant Garamond", Palatino, Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(1.1rem, 4vw, 2.4rem);
  --wide: 72rem;
  --measure: 40rem;
  --header-h: 4.15rem;
  --radius: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 17px;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.95rem;
  line-height: 1.55;
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(46, 230, 197, 0.08), transparent 55%),
    radial-gradient(700px 380px at 0% 20%, rgba(232, 160, 58, 0.05), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal-2);
}

:focus-visible {
  outline: 1px solid var(--teal);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: var(--gutter);
  top: 0.5rem;
  z-index: 100;
  background: var(--bg);
  padding: 0.4rem 0.7rem;
}

.wrap {
  width: min(var(--wide), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(5, 7, 10, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.logo-mark {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(46, 230, 197, 0.35), 0 0 24px rgba(46, 230, 197, 0.18);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-kicker {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.brand-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  gap: 1.15rem;
  align-items: center;
}

.site-nav a {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--teal);
}

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 0.35rem 0.7rem;
  font: inherit;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.hero {
  position: relative;
  min-height: min(88dvh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.05);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 10, 0.15) 0%, rgba(5, 7, 10, 0.2) 40%, rgba(5, 7, 10, 0.92) 100%),
    radial-gradient(60% 50% at 30% 70%, rgba(46, 230, 197, 0.12), transparent 70%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 3rem;
}

.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.7rem;
}

.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 8vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.wordmark span {
  display: block;
  color: var(--teal);
}

.lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.35;
  color: var(--ink-dim);
  max-width: 36rem;
  margin: 0 0 1.2rem;
}

.lede.tight {
  font-size: 1.15rem;
  max-width: 34rem;
}

.hero-track {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.1rem;
  align-items: baseline;
  font-size: 0.82rem;
  color: var(--mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-track a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.hero-track a:hover {
  color: var(--teal);
}

.section {
  padding: 3.4rem 0 4rem;
}

.section h2,
.page-head h1,
.release h1 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin: 0 0 0.8rem;
  line-height: 1.05;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center;
}

.creature-fig img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--line), 0 24px 80px rgba(0, 0, 0, 0.45);
}

.prose {
  max-width: var(--measure);
}

.prose p,
.prose li {
  color: var(--ink-dim);
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.55;
}

.prose h2 {
  margin-top: 2rem;
}

.release-grid {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.1rem;
}

.release-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s, transform 0.15s;
}

.release-card:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
  color: var(--ink);
}

.release-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.release-card-copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.85rem 0.95rem 1rem;
}

.release-card-copy strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
}

.release-card-copy em {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}

.page-head {
  padding: 3rem 0 1.2rem;
}

.player {
  margin: 0 auto 0;
  width: min(var(--wide), 100%);
  padding: 0 var(--gutter) 2.5rem;
}

.player-stage {
  position: relative;
  background: #000;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.player-video,
.player-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-burst {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 84px;
  height: 84px;
  border: 0;
  border-radius: 50%;
  background: rgba(5, 7, 10, 0.55);
  box-shadow: 0 0 0 1px var(--teal), 0 0 40px rgba(46, 230, 197, 0.35);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.player.is-playing .play-burst {
  opacity: 0;
  pointer-events: none;
}

.play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--teal);
  margin-left: 4px;
}

.player-panel {
  display: grid;
  grid-template-columns: 72px 1fr;
  grid-template-rows: auto auto;
  gap: 0.75rem 1rem;
  padding: 1rem 1.1rem 1.15rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
}

.player-cover {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  grid-row: 1 / span 2;
}

.player-kicker {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.player-title {
  font-family: var(--display);
  font-size: 1.25rem;
  margin: 0.15rem 0 0.2rem;
  font-weight: 800;
}

.player-meta {
  margin: 0;
  color: var(--mute);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.player-controls {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 0.9rem;
}

.ctrl {
  appearance: none;
  border: 1px solid var(--teal);
  background: var(--teal-dim);
  color: var(--teal-2);
  font: inherit;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
}

.ctrl:hover {
  background: rgba(46, 230, 197, 0.28);
  color: var(--ink);
}

.ctrl.download {
  border-color: var(--gold);
  color: var(--gold-2);
  background: rgba(212, 176, 106, 0.08);
}

.scrub {
  flex: 1 1 160px;
  height: 8px;
  background: #1b2320;
  border-radius: 99px;
  cursor: pointer;
  position: relative;
  min-width: 120px;
}

.scrub-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  border-radius: inherit;
}

.time {
  font-size: 0.75rem;
  color: var(--mute);
  min-width: 4.5rem;
  text-align: right;
}

.notes {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink);
}

.dl-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-top: 1.4rem;
}

.dl-row span {
  color: var(--mute);
  font-size: 0.85rem;
}

.credit-inline {
  margin-top: 1.1rem;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.credit-inline strong {
  color: var(--ink);
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 2.2rem;
  color: var(--mute);
  font-size: 0.78rem;
}

.site-footer .credit {
  color: var(--gold-2);
  margin: 0;
}

.footer-inner {
  display: grid;
  gap: 0.6rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
}

.footer-nav a {
  color: var(--ink-dim);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--teal);
}

.legal .prose h2 {
  font-size: 1.2rem;
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-block;
  }
  .site-nav {
    display: none;
    position: absolute;
    right: var(--gutter);
    top: var(--header-h);
    flex-direction: column;
    align-items: flex-end;
    background: var(--bg-2);
    border: 1px solid var(--line);
    padding: 0.8rem 1rem;
    gap: 0.7rem;
  }
  .site-nav.is-open {
    display: flex;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .player-cover {
    display: none;
  }
  .player-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .wordmark {
    font-size: 2.35rem;
  }
  .play-burst {
    width: 68px;
    height: 68px;
  }
}
