:root {
  color-scheme: dark;
  --background: #171817;
  --foreground: #eeece6;
  --muted: #b7b7b1;
  --accent: #e8884c;
  --rule: #454641;
  --sans: Arial, Helvetica, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family: var(--sans);
  background: var(--background);
  color: var(--foreground);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 24px; }
body { margin: 0; min-width: 320px; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
button, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible, h2:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
::selection { color: #171817; background: var(--accent); }

.site-shell { width: min(1280px, calc(100% - 112px)); margin: 0 auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 31px 0 24px; border-bottom: 1px solid #777971; }
.wordmark { font-weight: 800; font-size: 37px; line-height: 1; letter-spacing: -1.9px; }
.site-nav, .platform-links { display: flex; align-items: center; gap: 30px; }
.site-nav { font-size: 14px; }
.site-nav > a, .platform-links a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.site-nav a:hover, .platform-links a:hover { color: var(--accent); }
.nav-current { color: var(--accent); position: relative; }
.nav-current::after { content: ""; height: 2px; position: absolute; bottom: 5px; left: 0; right: 0; background: var(--accent); }

.page-intro { padding-top: 29px; }
.page-intro h1 { margin: 0; font-size: clamp(55px, 6vw, 77px); line-height: .98; letter-spacing: -.06em; font-weight: 800; }
.page-intro p { margin: 10px 0 0; font-size: 20px; line-height: 1.45; color: var(--muted); letter-spacing: -.3px; }

.featured { display: grid; grid-template-columns: minmax(260px, .58fr) minmax(0, 1fr); gap: 37px; align-items: center; margin: 29px 0 0; }
.artwork { background-color: #252621; background-image: url("/assets/cover-atlas.png"); background-size: 300% 200%; background-position: var(--art-x, 0%) var(--art-y, 0%); background-repeat: no-repeat; }
.featured-art { width: 100%; aspect-ratio: 1; position: relative; }
.featured-info { min-width: 0; }
.eyebrow { margin: 0 0 13px; font-family: var(--mono); font-size: 11px; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.featured-info h2 { margin: 0; font-weight: 800; font-size: clamp(30px, 3.5vw, 48px); letter-spacing: -.045em; line-height: 1.08; overflow-wrap: anywhere; }
.featured-info h2:focus:not(:focus-visible) { outline: none; }
.mix-meta { color: var(--muted); font-size: 14px; line-height: 1.5; }
.featured-meta { margin: 10px 0 18px; font-size: 18px; }
.player-tabs { display: flex; gap: 31px; border-bottom: 1px solid var(--rule); margin-top: 15px; }
.player-tab { position: relative; border: 0; background: none; min-height: 47px; padding: 10px 2px 13px; cursor: pointer; font-size: 16px; color: var(--muted); }
.player-tab:hover { color: var(--foreground); }
.player-tab[aria-selected="true"] { color: var(--accent); }
.player-tab[aria-selected="true"]::after { content: ""; position: absolute; height: 2px; bottom: -1px; left: 0; right: 0; background: var(--accent); }
.player-panel.has-tabs { padding-top: 16px; }
.embed-shell { width: 100%; overflow: hidden; background: #252621; }
.embed-shell.soundcloud { height: 166px; }
.embed-shell.youtube { aspect-ratio: 16 / 9; }
.embed-shell iframe { display: block; width: 100%; height: 100%; border: 0; }

.archive { margin-top: 32px; border-top: 1px solid #777971; }
.archive-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 21px 0 17px; }
.archive-heading h2 { margin: 0; font-size: 34px; line-height: 1; letter-spacing: -.045em; font-weight: 800; }
.filters { display: flex; gap: 27px; align-items: center; }
.filter { position: relative; min-height: 44px; padding: 9px 0; background: none; border: 0; font-size: 14px; cursor: pointer; color: var(--muted); }
.filter:hover { color: var(--foreground); }
.filter[aria-pressed="true"] { color: var(--accent); }
.filter[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 2px; background: var(--accent); }
.mix-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 29px 27px; list-style: none; padding: 0; margin: 0; }
.mix-card { min-width: 0; }
.mix-card-link { display: grid; grid-template-columns: minmax(0, 1fr); position: relative; }
.mix-card-art { width: 100%; aspect-ratio: 1; position: relative; overflow: hidden; }
.mix-card-art::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(238, 236, 230, .1); transition: box-shadow 160ms ease; }
.mix-card-link:hover .mix-card-art::after, .mix-card-link[aria-current="true"] .mix-card-art::after { box-shadow: inset 0 0 0 2px var(--accent); }
.card-info { padding-top: 11px; min-width: 0; }
.card-title { font-weight: 700; font-size: 16px; line-height: 1.4; letter-spacing: -.15px; margin: 0; overflow-wrap: anywhere; }
.mix-card-link:hover .card-title { color: var(--accent); }
.card-meta { margin: 3px 0 0; }
.card-play { display: grid; place-items: center; position: absolute; top: 16px; right: 16px; width: 35px; height: 35px; border: 1px solid rgba(238, 236, 230, .75); border-radius: 50%; background: rgba(23, 24, 23, .75); opacity: 0; transition: opacity 160ms ease; }
.card-play::after { content: ""; width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid currentColor; margin-left: 2px; }
.mix-card-link:hover .card-play, .mix-card-link:focus-visible .card-play { opacity: 1; }
.selected-label { position: absolute; left: 12px; top: 12px; padding: 5px 8px; background: var(--background); color: var(--accent); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; font-family: var(--mono); }
.filter-empty { color: var(--muted); padding: 28px 0; }

.collection-message { padding: 76px 0 100px; max-width: 650px; }
.collection-message h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.1; letter-spacing: -.045em; margin: 0 0 18px; }
.collection-message > p:last-child { color: var(--muted); font-size: 18px; line-height: 1.65; margin: 0; max-width: 520px; }
.no-script-message { padding: 18px; border: 1px solid var(--rule); color: var(--muted); }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 34px; border-top: 1px solid #777971; padding: 14px 0 24px; color: var(--muted); font-size: 12px; }
.site-footer .platform-links { gap: 25px; }
.copyright { margin-left: 10px; color: #91938c; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; background: var(--accent); color: var(--background); padding: 12px 16px; transform: translateY(-160%); font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (min-width: 1600px) {
  .site-shell { width: min(1380px, calc(100% - 160px)); }
  .featured { grid-template-columns: minmax(320px, .56fr) minmax(0, 1fr); }
}

@media (max-width: 1000px) {
  .site-shell { width: calc(100% - 64px); }
  .featured { gap: 27px; grid-template-columns: minmax(220px, .65fr) minmax(0, 1fr); }
  .featured-info h2 { font-size: 34px; }
  .featured-meta { font-size: 16px; }
  .mix-grid { gap: 26px 20px; }
  .site-nav, .site-nav .platform-links { gap: 22px; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 18px; }
  .site-shell { width: calc(100% - 40px); }
  .site-header { padding: 22px 0 16px; gap: 16px; }
  .wordmark { font-size: 29px; letter-spacing: -1.6px; }
  .site-nav, .site-nav .platform-links { gap: 17px; font-size: 12px; }
  .site-nav .nav-current { display: none; }
  .page-intro { padding-top: 24px; }
  .page-intro h1 { font-size: 58px; }
  .page-intro p { font-size: 16px; line-height: 1.5; margin-top: 8px; max-width: 330px; }
  .featured { display: block; margin-top: 34px; }
  .featured-art { display: none; }
  .eyebrow { font-size: 11px; margin-bottom: 11px; }
  .featured-info h2 { font-size: clamp(30px, 8.5vw, 39px); line-height: 1.1; letter-spacing: -.045em; }
  .featured-meta { margin: 8px 0 16px; font-size: 16px; }
  .player-tabs { gap: 30px; margin-top: 16px; }
  .archive { margin-top: 23px; }
  .archive-heading { padding: 17px 0 10px; gap: 12px; }
  .archive-heading h2 { font-size: 28px; }
  .filters { gap: 20px; }
  .filter { font-size: 12px; }
  .mix-grid { display: block; }
  .mix-card { border-top: 1px solid var(--rule); }
  .mix-card-link { grid-template-columns: 72px minmax(0, 1fr) 30px; align-items: center; gap: 17px; padding: 13px 0; min-height: 100px; }
  .mix-card-art { width: 72px; height: 72px; }
  .mix-card-art::after { display: none; }
  .mix-card-link[aria-current="true"] .mix-card-art::after { display: block; }
  .card-info { padding: 0; }
  .card-title { font-size: 14px; line-height: 1.4; letter-spacing: 0; }
  .card-meta { font-size: 12px; margin-top: 4px; }
  .card-play { position: static; width: 29px; height: 29px; opacity: 1; background: transparent; }
  .mix-card-link[aria-current="true"] .card-play { color: var(--accent); border-color: var(--accent); }
  .selected-label { display: none; }
  .site-footer { margin-top: 4px; padding: 13px 0 21px; font-size: 10px; gap: 13px; align-items: center; }
  .site-footer .platform-links { gap: 17px; }
  .copyright { display: none; }
  .collection-message { padding: 61px 0 85px; }
  .collection-message > p:last-child { font-size: 16px; }
}

@media (max-width: 370px) {
  .site-shell { width: calc(100% - 32px); }
  .wordmark { font-size: 27px; }
  .site-nav .platform-links { gap: 11px; }
  .mix-card-link { grid-template-columns: 60px minmax(0, 1fr) 27px; gap: 12px; }
  .mix-card-art { width: 60px; height: 60px; }
  .filters { gap: 14px; }
  .archive-heading h2 { font-size: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
