:root {
  --ink: #f4ecdf;
  --muted: #a99f92;
  --orange: #ed6a3b;
  --cream: #e9dec9;
  --line: #3a332e;
  --bg: #14110f;
  color-scheme: dark;
  font-family: system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(circle at 70% 8%, #3b2118 0, transparent 28%), var(--bg);
  color: var(--ink);
  min-height: 100vh;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
header {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 0 clamp(22px, 5vw, 72px);
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.brand small,
.signal,
.eyebrow {
  color: var(--orange);
}
main {
  width: min(1180px, calc(100% - 36px));
  margin: auto;
}
.hero {
  padding: clamp(70px, 11vw, 150px) 0 80px;
  max-width: 900px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font:
    11px ui-monospace,
    monospace;
  margin: 0 0 14px;
}
.hero h1 {
  font-size: clamp(58px, 10vw, 126px);
  line-height: 0.82;
  letter-spacing: -0.07em;
  margin: 0;
}
.hero h1 em {
  font-family: Georgia, serif;
  font-weight: 500;
  color: var(--cream);
}
.lede {
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 650px;
  margin: 40px 0;
}
.hero-actions,
.transport,
.card-head,
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.primary {
  border: 0;
  background: var(--orange);
  color: #1b0e09;
  padding: 15px 22px;
  font-weight: 800;
  border-radius: 3px;
  box-shadow: 4px 4px 0 #7c2e16;
}
.quiet {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 3px;
}
.hero-actions {
  justify-content: flex-start;
}
.hero-actions #status {
  color: var(--muted);
  font-size: 13px;
}
.now {
  border-block: 1px solid var(--line);
  padding: 34px 0;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 34px;
  align-items: center;
}
.art {
  aspect-ratio: 1;
  background: var(--orange);
  color: #24120c;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  font-size: 34px;
  font-weight: 800;
}
.rings {
  position: absolute;
  width: 80%;
  aspect-ratio: 1;
  border: 1px solid;
  border-radius: 50%;
  box-shadow:
    0 0 0 18px #ed6a3b,
    0 0 0 19px #24120c,
    0 0 0 38px #ed6a3b,
    0 0 0 39px #24120c;
}
.art span {
  z-index: 1;
  background: var(--orange);
  padding: 5px;
}
.now h2,
.card h2,
.story-strip h2,
dialog h2 {
  font-size: clamp(25px, 4vw, 44px);
  letter-spacing: -0.04em;
  margin: 0 0 5px;
}
.now-copy > p:not(.eyebrow) {
  color: var(--muted);
  margin: 0 0 26px;
}
.progress {
  height: 3px;
  background: #473d36;
}
.progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--orange);
}
.transport {
  justify-content: flex-start;
  margin-top: 20px;
}
.transport #playButton {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
}
.transport #timeLabel {
  font: 11px ui-monospace;
  color: var(--muted);
  margin-left: auto;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  margin: 70px 0;
  border: 1px solid var(--line);
}
.card {
  background: var(--bg);
  padding: 32px;
  min-height: 430px;
}
.card h2 {
  font-size: 32px;
}
.pill {
  border: 1px solid var(--line);
  padding: 7px 10px;
  border-radius: 99px;
  color: var(--muted);
  font-size: 10px;
}
.queue,
.library {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}
.queue li,
.track {
  display: grid;
  grid-template-columns: 35px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.queue small,
.track small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}
.track button {
  border: 0;
  background: none;
  color: var(--muted);
}
.empty,
.hint {
  color: var(--muted);
  font-size: 13px;
}
.story-strip {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  border-top: 1px solid var(--line);
  padding: 55px 0 100px;
}
.story-strip > p {
  color: var(--muted);
  line-height: 1.7;
}
dialog {
  width: min(620px, calc(100% - 28px));
  border: 1px solid #594940;
  background: #211b18;
  color: var(--ink);
  padding: 30px;
}
dialog::backdrop {
  background: #090706cc;
}
dialog form {
  display: grid;
  gap: 20px;
}
.close {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 30px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}
input {
  border: 1px solid var(--line);
  background: #15110f;
  color: var(--ink);
  padding: 13px;
}
@media (max-width: 700px) {
  .grid,
  .story-strip {
    grid-template-columns: 1fr;
  }
  .now {
    grid-template-columns: 92px 1fr;
  }
  .hero h1 {
    font-size: 58px;
  }
  .card {
    padding: 24px;
  }
  .split {
    grid-template-columns: 1fr;
  }
}
