/* VOICE: plain, calm, second person; the channel's own tone.
   IDEA: a quiet record shelf at first light: each mix is a sleeve you pick up and play.
   PICTURE: the newest mix's own frame, large, with the sun-disc play mark.
   COLOUR and TYPE: Blanca Hours tokens (night navy, dawn peach), Jost light for display, lowercase titles.
   LAYOUT: hero (text + newest mix), coming up, filter chips and grid, support, footer; one column on phones. */
@font-face { font-family: "Jost"; src: url("fonts/Jost-VF.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
:root {
  color-scheme: dark;
  --page: #1F2D50; --surface: #26305F; --overlay: #304972; --ink: #FCF4EA; --muted: #B9BCD6; --accent: #F0B793;
  --primary: #F0B793; --on-primary: #1F2D50; --primary-hover: #F6C9A9; --line: #3E4C7C; --line-strong: #7E89B4; --focus: #FBD9AC;
  --tag-focus: #F0B793; --tag-ambient: #B8B2E6; --tag-sleep: #C9CFE6; --tag-drive: #F2C27A; --tag-wellness: #A8D8C8; --tag-morning: #FBD9AC;
  --positive: #9ED9B8; --badge: #141A34; --badge-ink: #FCF4EA;
  --shadow: 0 12px 32px rgba(8,12,30,.45); --glow: 0 0 48px rgba(240,183,147,.22);
  --sans: "Jost", "Futura", system-ui, sans-serif; --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
:root[data-theme=light] {
  color-scheme: light;
  --page: #FBF5EA; --surface: #FFFCF6; --overlay: #F3E7D4; --ink: #26305F; --muted: #5B6086; --accent: #A9573F;
  --primary: #26305F; --on-primary: #FCF4EA; --primary-hover: #33407A; --line: #D9C8AE; --line-strong: #8E7C64; --focus: #26305F;
  --tag-focus: #A9573F; --tag-ambient: #5A5299; --tag-sleep: #3F4A78; --tag-drive: #8A5A12; --tag-wellness: #2F6B5C; --tag-morning: #96602A;
  --positive: #2F7352; --shadow: 0 10px 28px rgba(38,48,95,.12); --glow: none;
}
* { box-sizing: border-box; min-width: 0; }
html { scroll-padding-top: 80px; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: var(--accent); }
:where(a, button):focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.band { padding: clamp(28px, 4vw, 56px) max(5vw, 16px); max-width: 1280px; margin: 0 auto; }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.muted { color: var(--muted); margin: 0; }
.fine { font-size: 13px; color: var(--muted); margin: 0; }
.display-xl { font: 300 clamp(44px, 6.4vw, 76px)/.98 var(--sans); letter-spacing: -.01em; margin: 0 0 20px; text-wrap: balance; }
.title-1 { font: 300 clamp(28px, 3.2vw, 36px)/1.15 var(--sans); margin: 0 0 12px; }
.title-2 { font: 400 24px/1.25 var(--sans); margin: 0; }
.lead { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 620px; margin: 0 0 24px; }

.hdr { position: sticky; top: 0; z-index: 5; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 max(5vw, 16px); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 50%; }
.wordmark { font: 400 22px/1.2 var(--sans); letter-spacing: .02em; }
.nav { display: flex; gap: clamp(12px, 3vw, 28px); }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 0; }
.nav a:hover { color: var(--ink); }

.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 24px; border-radius: 999px; font: 500 15px/1 var(--sans);
  text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background-color .4s ease-out; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { color: var(--ink); border-color: var(--line-strong); background: transparent; }
.btn-secondary:hover { background: var(--overlay); }

.hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-top: clamp(32px, 6vw, 72px); }
.feature { display: block; border-radius: 20px; overflow: hidden; box-shadow: var(--glow); background: var(--surface); color: var(--ink); text-decoration: none; }
.fmedia { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.fmedia img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease-out; }
.feature:hover .fmedia img { transform: scale(1.02); }
.fmedia .sun { position: absolute; right: 18px; bottom: 18px; }
.fcap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 14px 20px; color: var(--muted); font-size: 15px; }
.fcap .label { color: var(--accent); }
.sun { width: 64px; height: 64px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: radial-gradient(circle, #FEF3D5 0 34%, #F0B793 35% 52%, #E6A48A 53% 68%, #8E6B74 69% 100%); box-shadow: 0 6px 24px rgba(8,12,30,.4); }
.sun svg { width: 20px; height: 20px; fill: #26305F; margin-left: 3px; }

.coming { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 20px; }
.soon { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
.soon b { font: 500 18px/1.3 var(--sans); }
.soon time { color: var(--accent); font-size: 14px; font-variant-numeric: tabular-nums; }

.mixes-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.chips { margin-top: 16px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--muted);
  font: 500 14px/1 var(--sans); cursor: pointer; transition: background-color .4s ease-out; }
.chip:hover { background: var(--overlay); color: var(--ink); }
.chip[aria-pressed=true] { background: var(--overlay); color: var(--accent); }
:root[data-theme=light] .chip[aria-pressed=true] { color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; margin-top: 28px; }
.card { display: block; color: inherit; text-decoration: none; border-radius: 12px; transition: transform .5s ease-out, box-shadow .5s ease-out; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.media { position: relative; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: var(--surface); }
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.badge { position: absolute; right: 8px; bottom: 8px; padding: 3px 8px; border-radius: 4px; background: var(--badge); color: var(--badge-ink); font: 500 12px/1.2 var(--sans); font-variant-numeric: tabular-nums; }
.card-body { padding: 12px 4px 0; display: flex; flex-direction: column; gap: 6px; }
.card-title { margin: 0; font: 500 18px/1.35 var(--sans); }
.meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 10px; border-radius: 999px; border: 1px solid currentColor; font: 500 12px/1 var(--sans); letter-spacing: .04em; white-space: nowrap; }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag-focus { color: var(--tag-focus); } .tag-ambient { color: var(--tag-ambient); } .tag-sleep { color: var(--tag-sleep); }
.tag-drive { color: var(--tag-drive); } .tag-wellness { color: var(--tag-wellness); } .tag-morning { color: var(--tag-morning); }
.empty { margin-top: 24px; }

.support { background: var(--surface); border-radius: 20px; padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; }
.crypto { display: flex; flex-direction: column; gap: 14px; }
.well { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 12px; border-radius: 8px; background: var(--overlay); }
.well code { flex: 1; font: 400 13px/1.45 var(--mono); overflow-wrap: anywhere; }
.copy { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 500 13px/1 var(--sans); cursor: pointer; }
.label { font: 500 14px/1.3 var(--sans); }
.ok { color: var(--positive); font-size: 13px; font-weight: 500; }

.player { background: var(--surface); border-radius: 20px; overflow: hidden; box-shadow: var(--glow); }
.player-media { position: relative; aspect-ratio: 16/9; background: var(--badge); }
.player-media img, .player-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.player-media button { position: absolute; inset: 0; display: grid; place-items: center; background: transparent; border: 0; cursor: pointer; }
.player-info { padding: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; }
.chapters { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; font-size: 14px; max-height: 420px; overflow: auto; }
.chapters button { display: flex; gap: 12px; width: 100%; padding: 6px 8px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font: inherit; text-align: left; cursor: pointer; }
.chapters button:hover { background: var(--overlay); color: var(--ink); }
.chapters time { color: var(--accent); min-width: 58px; font-variant-numeric: tabular-nums; }
.back { display: inline-flex; margin-bottom: 20px; text-decoration: none; font-weight: 500; }
.ftr { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 24px; }

@media (max-width: 860px) { .hero, .support, .player-info { grid-template-columns: 1fr; } .hero .feature { order: -1; } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; gap: 20px; } .nav a:first-child { display: none; } .sun { width: 52px; height: 52px; } }
@media (prefers-reduced-motion: reduce) { .card, .card:hover, .feature img { transition: none; transform: none !important; } }
