:root {
  color-scheme: dark;
  --bg: #101111;
  --panel: #171919;
  --line: #373a36;
  --text: #f2f2e9;
  --muted: #b8bab0;
  --acid: #d7ff54;
  font: 16px/1.55 Inter, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, figure, h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; }
.wrap { width: min(100% - 72px, 1320px); margin-inline: auto; }
.skip { position: fixed; left: 12px; top: 12px; padding: 12px; background: var(--bg); z-index: 5; transform: translateY(-180%); }
.skip:focus { transform: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.top { min-height: 72px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 850; letter-spacing: -.035em; font-size: 1.2rem; white-space: nowrap; text-decoration: none; }
.wordmark img { display: block; }
nav { display: flex; gap: clamp(12px, 4vw, 36px); color: var(--muted); }
nav a { font-size: .9rem; text-decoration: none; }
nav a:hover, .listen:hover, details a:hover { color: var(--acid); }
.hero { display: grid; grid-template-columns: 1fr 1.16fr; align-items: center; gap: clamp(24px, 5vw, 80px); min-height: 580px; padding-block: 66px; }
.intro { animation: arrive .62s ease-out both; }
.year, .tempo output { font-family: "IBM Plex Mono", Consolas, monospace; }
h1 { font-size: clamp(3.2rem, 5.8vw, 6.3rem); line-height: .99; letter-spacing: -.073em; font-weight: 850; margin-bottom: 22px; }
h1 em { font-style: normal; color: var(--acid); }
.lede { color: var(--muted); max-width: 32ch; font-size: clamp(1rem, 1.5vw, 1.22rem); }
.hero-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.button { display: inline-flex; gap: 10px; justify-content: center; align-items: center; padding: 10px 15px; min-height: 44px; text-decoration: none; border: 1px solid transparent; font-weight: 700; font-size: .87rem; transition: background .2s, color .2s, border-color .2s; }
.accent { background: var(--acid); color: #14180a; }
.accent:hover { background: #e6ff9a; }
.outline { background: transparent; border-color: var(--line); color: var(--text); }
.outline:hover { border-color: var(--acid); color: var(--acid); }
.portraits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; animation: arrive .7s .1s ease-out both; }
.portraits figure { aspect-ratio: .54; position: relative; overflow: hidden; background: #343631; border-top: 2px solid #7b814c; }
.portraits img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) brightness(.83) contrast(1.13); transition: transform .45s ease, filter .45s; }
.portraits figure:first-child img { object-position: 50% 22%; }
@media (hover: hover) {
  .portraits figure:hover img { transform: scale(1.055); filter: grayscale(0) brightness(.91) contrast(1.08); }
}
.portraits figure::after { content: ""; position: absolute; inset: 38% 0 0; background: linear-gradient(transparent, #0a0b09 98%); pointer-events: none; }
figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: 12px; z-index: 1; display: grid; line-height: 1.25; }
figcaption strong { font-size: clamp(.74rem, 1.6vw, 1.3rem); }
.story, .lab { border-top: 1px solid var(--line); padding-block: clamp(40px, 6vw, 80px); scroll-margin-top: 14px; }
.section-head { margin-bottom: 26px; }
h2 { font-size: clamp(2.2rem, 4.7vw, 4.5rem); letter-spacing: -.06em; line-height: 1.05; }
.section-head p, .release > p { color: var(--muted); }
.section-head p { margin-top: 12px; }
.release { display: grid; grid-template-columns: 68px minmax(210px, .95fr) minmax(0, 1.4fr) auto; gap: 24px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); }
.release:last-child { border-bottom: 1px solid var(--line); }
.year { color: var(--acid); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2vw, 1.8rem); line-height: 1.12; letter-spacing: -.025em; }
.credit { margin-top: 5px; color: var(--muted); font-size: .8rem; }
.listen { font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; padding-block: 10px; white-space: nowrap; }
.machine { background: var(--panel); border: 1px solid var(--line); padding: clamp(12px, 2.5vw, 28px); }
.controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 22px; }
.tempo { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .88rem; }
.tempo input { accent-color: var(--acid); width: clamp(70px, 15vw, 150px); }
.tempo output { min-width: 7ch; color: var(--text); }
.sequencer { display: grid; gap: 8px; }
.track { display: grid; grid-template-columns: 6ch repeat(16, minmax(0, 1fr)); gap: clamp(2px, .5vw, 8px); align-items: center; }
.track-name { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.step { height: clamp(34px, 4vw, 48px); padding: 0; position: relative; background: #2b2e2b; border: 1px solid #4c5048; }
.step:nth-of-type(4n + 1) { border-left-color: #939889; }
.step[aria-pressed="true"] { color: #161a0e; background: var(--acid); border-color: var(--acid); }
.step[aria-pressed="true"]::after { content: ""; position: absolute; inset: auto 25% 6px; height: 2px; background: currentColor; }
.step.current { outline: 2px solid #f4f6ea; outline-offset: -2px; }
.status { color: var(--muted); font-size: .86rem; }
.status:not(:empty) { margin-top: 12px; }
.footer { border-top: 1px solid var(--line); padding-block: 25px 42px; color: var(--muted); font-size: .83rem; display: grid; gap: 8px; }
.footer strong { color: var(--text); }
summary { cursor: pointer; width: fit-content; padding-block: 6px; }
.footer ul { margin-block: 8px; padding-inline-start: 22px; }
@keyframes arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 44px); }
  .hero { min-height: 0; padding-block: 46px; gap: 26px; }
  h1 { font-size: clamp(2.75rem, 6vw, 5.3rem); }
  .release { grid-template-columns: 50px minmax(150px, .95fr) minmax(0, 1.5fr); gap: 10px 16px; }
  .release .listen { grid-column: 2; padding-block: 0; justify-self: start; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 28px); }
  .top { min-height: 58px; }
  nav a { font-size: .75rem; }
  .wordmark { font-size: 1.08rem; gap: 8px; }
  .wordmark img { width: 29px; height: 29px; }
  .hero { grid-template-columns: 1fr; padding-block: 35px; }
  h1 { font-size: clamp(2.65rem, 11.4vw, 5rem); margin-bottom: 16px; }
  .hero-links { margin-top: 19px; }
  .portraits figure { aspect-ratio: .7; }
  figcaption { padding: 7px; }
  .release { grid-template-columns: 45px minmax(0, 1fr); }
  .release > p, .release .listen { grid-column: 2; }
  .controls { gap: 9px; }
  .track { grid-template-columns: 6ch repeat(8, minmax(0, 1fr)); gap: 4px; }
  .track-name { grid-row: span 2; }
  .sequencer { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
