:root {
  color-scheme: dark;
  --bg: #030805;
  --panel: rgba(5, 17, 11, 0.88);
  --line: rgba(31, 201, 120, 0.42);
  --line-strong: rgba(31, 201, 120, 0.74);
  --text: #c1ffd5;
  --muted: rgba(193, 255, 213, 0.66);
  --accent: #1fc978;
  --shadow: 0 0 0 1px var(--line) inset;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #000;
  color: var(--text);
  font-family: "Handjet", system-ui, sans-serif;
}

body {
  letter-spacing: 0;
  position: relative;
}

a {
  color: inherit;
}

.page-background {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  background: #000;
}

.background-gif {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: grayscale(1) brightness(0.5) contrast(1.15);
}

.background-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(31, 201, 120, 0.06), transparent 28%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.88));
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.back-link,
.panel,
.art-frame,
.embed-slot,
.download-button {
  box-shadow: var(--shadow);
}

.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  text-decoration: none;
  background: rgba(4, 14, 9, 0.9);
  font-size: 1.2rem;
}

.mistom-logo {
  display: block;
  height: clamp(46px, 7vw, 72px);
  width: auto;
  object-fit: contain;
}

.eyebrow,
.label,
.hero-meta,
.note,
.meta-list dt,
.meta-list dd small {
  color: var(--muted);
}

.eyebrow,
.label {
  text-transform: lowercase;
  font-size: 1rem;
}

.layout {
  display: grid;
  gap: 18px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: 20px;
  align-items: stretch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(3.6rem, 9vw, 7rem);
  line-height: 0.9;
}

.lead {
  margin: 0;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.08;
  max-width: 20ch;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 1.1rem;
}

.hero-art {
  display: flex;
}

.art-frame {
  width: 100%;
  min-height: 360px;
  border: 1px solid var(--line);
  padding: 16px;
  background: rgba(2, 10, 6, 0.84);
}

.art-placeholder,
.embed-slot {
  width: 100%;
  height: 100%;
  min-height: 240px;
  border: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(31, 201, 120, 0.08), rgba(0, 0, 0, 0.12)),
    rgba(2, 10, 6, 0.84);
}

.cover-image,
.asset-preview,
.video-player {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  background: #010402;
}

.media-card {
  display: grid;
  gap: 14px;
}

.track-panel .media-card {
  margin-top: 16px;
}

.audio-player {
  width: 100%;
  min-height: 54px;
  filter: hue-rotate(65deg) saturate(0.9) brightness(0.92);
}

.asset-preview {
  aspect-ratio: 1 / 1;
}

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

.download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  background: rgba(4, 14, 9, 0.95);
  text-decoration: none;
  font-size: 1.3rem;
  line-height: 1;
  transition:
    transform 120ms ease,
    background-color 120ms ease,
    border-color 120ms ease;
}

.download-button:hover,
.download-button:focus-visible {
  background: rgba(10, 30, 18, 0.98);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.link-button {
  width: 100%;
}

.art-placeholder span,
.embed-slot p {
  font-size: 1.6rem;
  margin: 0;
}

.art-placeholder small,
.embed-slot small {
  font-size: 1rem;
  color: var(--muted);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.94;
}

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

.body-copy,
.body-columns p,
.bullet-list,
.meta-list {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.08;
}

.bullet-list {
  padding-left: 20px;
}

.bullet-list li + li {
  margin-top: 8px;
}

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

.meta-list div {
  display: grid;
  gap: 4px;
}

.meta-list dt {
  font-size: 1rem;
  text-transform: lowercase;
}

.meta-list dd {
  margin: 0;
  font-size: 1.35rem;
}

.note {
  margin-top: 18px;
  font-size: 1.1rem;
  line-height: 1.05;
}

.support-copy {
  margin-top: 12px;
}

.support-copy .body-copy + .body-copy {
  margin-top: 10px;
}

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

@media (max-width: 920px) {
  .two-up,
  .hero,
  .body-columns {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 18vw, 5.8rem);
  }

  .lead,
  .body-copy,
  .body-columns p,
  .bullet-list,
  .meta-list {
    font-size: 1.25rem;
  }

  .art-frame {
    min-height: 280px;
  }

  .download-button {
    width: 100%;
  }

  .specs-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 18px, 100%);
    padding-top: 16px;
    padding-bottom: 28px;
  }

  .panel {
    padding: 16px;
  }

  .topbar {
    margin-bottom: 12px;
  }

  .back-link {
    min-height: 40px;
    padding: 0 14px;
    font-size: 1rem;
  }

  .section-head h2 {
    font-size: 2rem;
  }

  .hero-meta {
    font-size: 1rem;
    gap: 8px 12px;
  }

  .audio-player {
    min-height: 48px;
  }

  .download-button {
    min-height: 44px;
    padding: 0 14px;
    font-size: 1.15rem;
  }

  .media-card {
    gap: 12px;
  }

  .topbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .mistom-logo {
    order: -1;
    height: 40px;
  }
}
