/* ==========================================================================
   Midwest Mobstaz — MidwestMobstaz.com
   Design system from the MidwestMobstaz.com landing page: near-black, Big
   Shoulders Display + Archivo, chrome lettering, square corners, and a
   per-volume accent (--accent / --accent-ink / --tint) that js/app.js swaps
   to match whatever volume is on screen or playing.
   ========================================================================== */
:root {
  --bg: #0B0B0C;
  --bg-alt: #0F0F11;
  --bg-deep: #070708;
  --surface: #131315;
  --surface-a: rgba(19, 19, 21, .86);
  --line: #1E1E22;
  --line-2: #222226;
  --line-3: #3A3A40;
  --text: #F2F2F0;
  --text-muted: #A9A9B0;
  --text-nav: #B4B4BA;
  --text-faint: #8E8E96;
  --roster-dim: #63636B;
  --green: #3DDC57;

  --accent: #D7263D;
  --accent-ink: #FFFFFF;
  --tint: #FF6B7D;

  --font-display: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --font-body: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(16px, 5.5vw, 80px);
  --max: 1440px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr: 80px;
  --player: 84px;
  --tabs: 60px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); scroll-padding-bottom: calc(var(--player) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100vh; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
p, h1, h2, h3, h4, dl, dd, ol, ul { margin: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--tint); outline-offset: 3px; }
svg.i { width: 20px; height: 20px; fill: currentColor; flex: none; }
.bs { font-family: var(--font-display); }
.tint { color: var(--tint); }
.chrome {
  background: linear-gradient(180deg, #FFFFFF 0%, #D9DDE3 38%, #6E737B 50%, #EDEFF2 58%, #A3A9B1 80%, #E4E7EB 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 600; padding: 12px 18px; background: var(--text); color: var(--bg); font-weight: 600; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Animated backdrop ---------- */
.bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--bg); }
.bg-cover { position: absolute; inset: -12%; background-size: cover; background-position: center; filter: blur(80px) saturate(1.5); opacity: 0; transition: opacity 1.6s ease; animation: drift-bg 40s ease-in-out infinite alternate; }
.bg-cover.on { opacity: .26; }
@keyframes drift-bg { from { transform: scale(1.1); } to { transform: scale(1.28) rotate(6deg) translate(2%, -3%); } }
#smoke, #city { position: absolute; inset: 0; width: 100%; height: 100%; }
#smoke { mix-blend-mode: screen; }
.bg-grain { position: absolute; inset: -50%; opacity: .06; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1s steps(6) infinite; }
@keyframes grain { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); } 60% { transform: translate(-2%, 4%); } 80% { transform: translate(5%, 1%); } }
.bg-vignette { position: absolute; inset: 0; background: radial-gradient(ellipse 120% 90% at 50% 30%, transparent 40%, rgba(0, 0, 0, .78) 100%); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid transparent; border-radius: 2px;
  font-family: inherit; font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: filter .2s, transform .2s var(--ease), background-color .4s, color .4s, border-color .2s;
}
.btn:hover { filter: brightness(1.1); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg.i { width: 18px; height: 18px; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; font-weight: 600; }
.btn-md { min-height: 48px; padding: 0 22px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 16px; }
.btn-light { background: var(--text); color: var(--bg); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-green { background: var(--green); color: var(--bg); }
.btn-outline { border-color: var(--line-3); color: var(--text); font-weight: 600; background: rgba(11, 11, 12, .4); }
.btn-outline:hover { border-color: var(--text-faint); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 2px; color: var(--text-nav); transition: color .2s, background-color .2s; }
.icon-btn:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.icon-btn.boxed { border: 1px solid #2A2A2F; }
.icon-btn.boxed.in { color: var(--green); border-color: rgba(61, 220, 87, .5); }
.icon-btn.lg { width: 56px; height: 56px; }
.icon-btn.lg svg.i { width: 30px; height: 30px; }
.play-sq { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 2px; background: var(--accent); color: var(--accent-ink); transition: background-color .4s, color .4s, transform .2s var(--ease); flex: none; }
.play-sq:hover { transform: translateY(-2px); filter: brightness(1.1); }
.play-sq svg.i { width: 30px; height: 30px; }
.green .play-sq { background: var(--green); color: var(--bg); }
.tag { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; border: 1px solid var(--line-3); border-radius: 2px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; background: rgba(11, 11, 12, .5); }
.tag svg.i { width: 14px; height: 14px; }
.tag-ok { color: var(--green); border-color: rgba(61, 220, 87, .45); }

/* ownership: any [data-own] element gets .owned when that project is ad-free */
[data-own]:not(.owned) .if-owned, [data-own].owned .if-free { display: none !important; }

/* ---------- Type ---------- */
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--tint); transition: color .4s; }
.eyebrow-rule { width: 40px; height: 2px; background: var(--accent); transition: background-color .4s; flex: none; }
.green .eyebrow, .eyebrow-green { color: var(--green); }
.green .eyebrow-rule { background: var(--green); }
.h1 { font-size: clamp(64px, 11vw, 168px); font-weight: 900; line-height: .84; letter-spacing: -.01em; text-transform: uppercase; }
.h2 { font-size: clamp(44px, 5.85vw, 84px); font-weight: 900; line-height: .92; text-transform: uppercase; }
.h2-xl { font-size: clamp(52px, 7.2vw, 104px); line-height: .88; }
.sub { font-size: clamp(18px, 2.1vw, 30px); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.lede { max-width: 560px; font-size: clamp(15px, 1.32vw, 19px); line-height: 1.6; color: var(--text-muted); }
.note { font-size: 14px; line-height: 1.6; color: var(--text-faint); }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 100; background: rgba(11, 11, 12, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.hdr-in { height: var(--hdr); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 30px; font-weight: 900; letter-spacing: .02em; white-space: nowrap; }
.brand-mark { width: 12px; height: 12px; background: var(--accent); transition: background-color .4s; flex: none; }
.nav { display: flex; align-items: center; gap: 36px; font-size: 15px; font-weight: 500; color: var(--text-nav); }
.nav a { padding: 8px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .4s; }
.nav a:hover { color: #fff; }
.nav a.on { color: #fff; border-bottom-color: var(--accent); }
.hdr-right { display: flex; align-items: center; gap: 10px; }
.show-sm { display: none; }
.btn-sm svg.i { width: 16px; height: 16px; }

/* ---------- Views ---------- */
.view { position: relative; z-index: 2; outline: none; }
.section { padding-block: clamp(56px, 7vw, 104px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 44px; }
.section-head > div { display: flex; flex-direction: column; gap: 18px; }
.section-note { max-width: 380px; font-size: 16px; line-height: 1.6; color: var(--text-muted); }
.rule-top { border-top: 1px solid #232327; }
.rise { animation: rise .8s var(--ease) both; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .18s; } .d3 { animation-delay: .3s; } .d4 { animation-delay: .42s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* Hero */
.hero { position: relative; padding: 64px 0 96px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: clamp(40px, 5.5vw, 80px); align-items: start; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; padding-top: 20px; }
.presents { display: flex; align-items: center; gap: 18px; align-self: flex-start; }
.presents img { height: 80px; width: auto; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .6)); }
.presents .eyebrow { line-height: 1.5; }

/* Wicked logo thumps like a speaker cone on hover, with sound waves off its top and bottom */
.spk { position: relative; display: inline-flex; flex: none; }
.spk img { transform-origin: center; }
.spk::before, .spk::after { content: ''; position: absolute; left: 12%; right: 12%; height: 12px; border: 3px solid var(--tint); opacity: 0; pointer-events: none; }
.spk::before { bottom: 100%; margin-bottom: 2px; border-bottom: 0; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.spk::after { top: 100%; margin-top: 2px; border-top: 0; border-radius: 0 0 50% 50% / 0 0 100% 100%; }
a:hover > .spk img, a:focus-visible > .spk img { animation: thump .48s var(--ease) infinite; }
a:hover > .spk::before, a:focus-visible > .spk::before { animation: wave-up .48s ease-out infinite; }
a:hover > .spk::after, a:focus-visible > .spk::after { animation: wave-down .48s ease-out infinite; }
@keyframes thump { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.1); } 32% { transform: scale(.96); } 52% { transform: scale(1.03); } }
@keyframes wave-up { 0% { opacity: .95; transform: translateY(8px) scaleX(.55); } 100% { opacity: 0; transform: translateY(-12px) scaleX(1.2); } }
@keyframes wave-down { 0% { opacity: .95; transform: translateY(-8px) scaleX(.55); } 100% { opacity: 0; transform: translateY(12px) scaleX(1.2); } }
.hero-logo { margin: 0; line-height: 0; }
.hero-logo img { width: min(100%, 640px); height: auto; filter: drop-shadow(0 18px 36px rgba(0, 0, 0, .7)) drop-shadow(0 0 40px rgba(255, 255, 255, .06)); }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 6px; }
.featured { display: flex; flex-direction: column; gap: 20px; padding-left: 24px; }
.art { position: relative; width: 100%; aspect-ratio: 1 / 1; }
.sleeve { position: absolute; inset: 0; background: var(--accent); transition: background-color .4s; animation: drift 7s ease-in-out infinite; }
body.playing .sleeve { animation-duration: 2.4s; }
.art > img { position: relative; width: 100%; height: 100%; object-fit: cover; box-shadow: 0 40px 80px rgba(0, 0, 0, .6); transition: opacity .25s, transform .4s var(--ease); }
.art > img.swap { opacity: 0; transform: scale(.97); }
.art .play-sq { position: absolute; right: 18px; bottom: 18px; z-index: 2; box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }
.featured-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 6px; }
.featured-title { font-size: 26px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.featured-date { font-size: 14px; color: var(--text-muted); white-space: nowrap; }
.thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 76px)); gap: 12px; }
.thumb { aspect-ratio: 1 / 1; opacity: .5; outline: 2px solid transparent; outline-offset: 3px; transition: opacity .25s, transform .25s var(--ease), outline-color .25s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; transform: translateY(-3px); }
.thumb[aria-pressed="true"] { opacity: 1; outline-color: var(--accent); }

/* Marquee */
.marquee { position: relative; height: 72px; overflow: hidden; display: flex; align-items: center; background: var(--accent); color: var(--accent-ink); transition: background-color .4s, color .4s; }
.marquee-track { display: flex; flex-shrink: 0; white-space: nowrap; font-size: 30px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; animation: marquee 60s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; }
.marquee-track span::after { content: "/"; margin: 0 36px; font-size: 20px; opacity: .55; }
.marquee:hover .marquee-track { animation-play-state: paused; }
body.playing .marquee-track { animation-duration: 36s; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Volume cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-2); border-radius: 3px; overflow: hidden; transition: transform .4s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-8px); border-color: var(--line-3); }
.card-hit { position: absolute; inset: 0; z-index: 1; }
.card-art { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.card-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-art img { transform: scale(1.04); }
.card-art .play-sq { position: absolute; z-index: 2; right: 14px; bottom: 14px; width: 56px; height: 56px; background: var(--card-accent); color: var(--card-ink); opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s var(--ease); box-shadow: 0 10px 26px rgba(0, 0, 0, .5); }
.card:hover .play-sq, .card .play-sq:focus-visible, .card .play-sq.on { opacity: 1; transform: none; }
@media (hover: none) { .card-art .play-sq { opacity: 1; transform: none; } }
.card-flag { position: absolute; z-index: 2; top: 12px; left: 12px; min-height: 26px; padding: 0 10px; display: inline-flex; align-items: center; background: var(--green); color: var(--bg); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; border-radius: 2px; }
.card-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; flex-grow: 1; }
.card-meta { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--text-faint); }
.card-vol { color: var(--card-tint); }
.card-title { font-size: 32px; font-weight: 800; line-height: 1; text-transform: uppercase; }
.card-artists { font-size: 14px; line-height: 1.55; color: var(--text-muted); flex-grow: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 6px; font-size: 14px; font-weight: 600; }
.card-foot .listen { display: inline-flex; align-items: center; gap: 8px; }
.card-foot .listen svg.i { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.card:hover .card-foot .listen svg.i { transform: translateX(4px); }

/* Panel blocks (documentary, pass) */
.panel { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line-2); border-radius: 3px; overflow: hidden; }
.panel > img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.panel-body { padding: clamp(26px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.panel-sub { font-size: clamp(18px, 1.95vw, 28px); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.pass { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: clamp(26px, 5vw, 56px); background: var(--surface); border: 1px solid var(--line-2); border-left: 6px solid var(--accent); border-radius: 3px; transition: border-color .4s; }
.pass > div:first-child { display: flex; flex-direction: column; gap: 18px; }
.price { font-family: var(--font-display); font-size: clamp(72px, 9vw, 128px); font-weight: 900; line-height: .85; }
.price s { display: block; font-size: .3em; color: var(--text-faint); text-decoration-thickness: 2px; font-weight: 800; margin-top: 8px; }
.covers { display: flex; }
.covers img { width: 56px; height: 56px; object-fit: cover; margin-left: -10px; border: 2px solid var(--surface); }
.covers img:first-child { margin-left: 0; }

/* Roster */
.roster { font-size: clamp(28px, 4vw, 58px); font-weight: 800; line-height: 1.12; text-transform: uppercase; color: var(--roster-dim); }
.roster b { font-weight: inherit; color: var(--text); }
.alt { background: rgba(15, 15, 17, .82); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Album page */
.album { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: end; padding-block: 56px 40px; }
.album .art { margin-left: 24px; width: auto; }
.album-copy { display: flex; flex-direction: column; gap: 20px; }
.album-copy .h1 { font-size: clamp(56px, 8vw, 128px); }
.album-artists { font-size: 15px; line-height: 1.6; color: var(--text-muted); max-width: 640px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.tracks { list-style: none; background: var(--surface-a); border: 1px solid var(--line-2); border-radius: 3px; }
.trk { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px; min-height: 64px; padding: 10px 18px; border-top: 1px solid var(--line); cursor: pointer; transition: background-color .15s; }
.trk:first-child { border-top: 0; }
.trk:hover { background: rgba(255, 255, 255, .04); }
.trk-n { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--text-faint); text-align: center; font-variant-numeric: tabular-nums; }
.trk-t { font-weight: 600; font-size: 15px; }
.trk-s { font-size: 13px; color: var(--text-faint); margin-top: 3px; }
.trk-d { font-size: 13px; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.trk.on .trk-t { color: var(--tint); }
.trk .bars { display: none; }
.trk.on .trk-n > span:first-child { display: none; }
.trk.on .bars { display: inline-flex; }
.bars { gap: 3px; align-items: flex-end; height: 16px; }
.bars i { width: 3px; height: 4px; background: var(--accent); }
body.playing .bars i { animation: eq .9s ease-in-out infinite; }
.bars i:nth-child(2) { animation-delay: -.3s !important; } .bars i:nth-child(3) { animation-delay: -.6s !important; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 16px; } }
.adnote { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; margin-top: 24px; background: var(--surface-a); border: 1px solid var(--line-2); border-left: 4px solid var(--accent); border-radius: 3px; font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.adnote b { color: var(--text); }
.row { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
.row::-webkit-scrollbar { display: none; }
.row .card { flex: 0 0 240px; scroll-snap-align: start; }
.row .card-artists { display: none; }
.row .card-title { font-size: 24px; }

/* Documentary page */
.screen { position: relative; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line-2); border-radius: 3px; overflow: hidden; box-shadow: 0 40px 80px rgba(0, 0, 0, .6); }
.screen iframe, .screen video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.doc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 56px); padding-top: 40px; }
.doc-grid .h1 { font-size: clamp(48px, 6.4vw, 104px); }
.doc-main { display: flex; flex-direction: column; gap: 22px; }
.extras { background: var(--surface-a); border: 1px solid var(--line-2); border-radius: 3px; padding: 24px; }
.extras h4 { font-family: var(--font-display); font-size: 24px; font-weight: 800; text-transform: uppercase; margin-bottom: 8px; }
.extras li { list-style: none; padding: 14px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.extras li b { display: block; color: var(--text); font-size: 15px; margin-bottom: 2px; }

/* Store */
.store-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.offer { display: grid; grid-template-columns: 72px 1fr auto; gap: 18px; align-items: center; padding: 14px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 3px; margin-bottom: 12px; }
.offer img { width: 72px; height: 72px; object-fit: cover; }
.offer b { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 800; text-transform: uppercase; line-height: 1; }
.offer span { font-size: 13px; color: var(--text-faint); }
.faq { background: var(--surface); border: 1px solid var(--line-2); border-radius: 3px; padding: 8px 26px 26px; }
.faq dt { font-family: var(--font-display); font-size: 22px; font-weight: 800; text-transform: uppercase; padding-top: 20px; }
.faq dd { font-size: 15px; line-height: 1.6; color: var(--text-muted); padding-top: 6px; }

/* Footer */
.foot { position: relative; z-index: 2; padding: 56px 0 calc(var(--player) + 40px); background: var(--bg-deep); border-top: 1px solid var(--line); }
.foot-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.foot-brand { display: flex; gap: 28px; align-items: center; max-width: 560px; }
.foot-brand > a { flex: none; }
.foot-brand img { width: 150px; flex-shrink: 0; }
.foot-brand p { font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.foot-nav { display: grid; grid-template-columns: repeat(3, auto); gap: 4px 48px; font-size: 15px; font-weight: 500; color: var(--text-nav); }
.foot-nav a { min-height: 44px; display: flex; align-items: center; }
.powered { color: var(--text-muted); font-weight: 600; }
.powered a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; transition: text-decoration-color .4s; }
.powered a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-faint); }
.foot-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-legal a { color: var(--text-muted); font-weight: 600; transition: color .2s; }
.foot-legal a:hover { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }

/* Terms / privacy / copyright */
.legal { max-width: 780px; }
.legal .h2 { margin: 12px 0 28px; }
.legal h2 { font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: .02em; text-transform: uppercase; margin: 36px 0 12px; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: var(--text-muted); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; display: grid; gap: 8px; }
.legal b { color: var(--text); }
.legal a, .note a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- Player ---------- */
.player { position: fixed; z-index: 130; left: 0; right: 0; bottom: 0; height: var(--player); display: grid; grid-template-columns: minmax(220px, 1fr) minmax(320px, 2fr) minmax(220px, 1fr); align-items: center; gap: 24px; padding: 0 var(--gutter); background: rgba(7, 7, 8, .96); border-top: 1px solid var(--line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.pl-open { display: flex; align-items: center; gap: 14px; min-width: 0; text-align: left; }
.pl-open img { width: 56px; height: 56px; object-fit: cover; flex: none; }
.pl-meta { display: flex; flex-direction: column; min-width: 0; }
.pl-t { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-s { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--tint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .4s; }
.pl-mid { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pl-ctrls { display: flex; align-items: center; gap: 6px; }
.pl-play { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 2px; background: var(--text); color: var(--bg); transition: transform .15s; flex: none; }
.pl-play:hover { transform: scale(1.05); }
.pl-play.xl { width: 80px; height: 80px; background: var(--accent); color: var(--accent-ink); }
.pl-play.xl svg.i { width: 36px; height: 36px; }
.pl-prog { display: flex; align-items: center; gap: 12px; width: 100%; font-size: 12px; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.pl-prog span { width: 44px; text-align: center; }
.seek { position: relative; flex: 1; height: 4px; background: #2A2A2F; cursor: pointer; }
.seek::before { content: ''; position: absolute; inset: -10px 0; }
.seek i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--accent); transition: background-color .4s; }
.seek i::after { content: ''; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: var(--text); opacity: 0; transition: opacity .15s; }
.seek:hover i::after { opacity: 1; }
.pl-right { display: flex; justify-content: flex-end; }
.pl-line { display: none; }

/* ---------- Tabs (mobile) ---------- */
.tabs { display: none; }

/* ---------- Now playing ---------- */
.np { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: max(12px, env(safe-area-inset-top)) var(--gutter) max(24px, var(--safe-b)); background: rgba(11, 11, 12, .97); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); overflow-y: auto; animation: sheet-up .35s var(--ease); }
@keyframes sheet-up { from { transform: translateY(100%); } }
.np-top { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 520px; }
.np-pad { width: 44px; }
.np-from { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--text-faint); text-align: center; }
.np-from b { display: block; color: var(--text); margin-top: 3px; letter-spacing: .12em; }
.np-art { position: relative; width: min(78vw, 420px, 46vh); aspect-ratio: 1 / 1; margin: 12px 0 8px 16px; }
.np-art img { position: relative; width: 100%; height: 100%; object-fit: cover; box-shadow: 0 40px 80px rgba(0, 0, 0, .6); }
.np-meta { width: 100%; max-width: 520px; }
.np-t { font-size: 34px; font-weight: 900; line-height: .95; text-transform: uppercase; }
.np-s { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--tint); margin-top: 8px; }
.eq { display: flex; align-items: flex-end; gap: 3px; height: 34px; width: 100%; max-width: 520px; }
.eq i { flex: 1; height: 3px; background: var(--accent); transition: background-color .4s; }
body.playing .eq i { animation: eq2 1.1s ease-in-out infinite; }
@keyframes eq2 { 0%, 100% { height: 3px; } 50% { height: var(--h, 24px); } }
.np-prog { max-width: 520px; }
.np-ctrls { display: flex; align-items: center; gap: 28px; }
.np-cta { width: 100%; max-width: 520px; display: flex; justify-content: center; }

/* ---------- Commercial break ---------- */
.ad { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(7, 7, 8, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.ad-card:focus { outline: none; }
.ad-card { width: 100%; max-width: 480px; padding: 20px; background: var(--surface); border: 1px solid var(--line-3); border-top: 4px solid var(--accent); border-radius: 3px; box-shadow: 0 40px 100px rgba(0, 0, 0, .7); }
.ad.green .ad-card { border-top-color: var(--green); }
.ad.green .eyebrow { color: var(--green); } .ad.green .eyebrow-rule { background: var(--green); }
.ad-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ad-ring { position: relative; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.ad-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ad-ring circle { fill: none; stroke: #2A2A2F; stroke-width: 3; }
.ad-ring circle + circle { stroke: var(--accent); stroke-dasharray: 119.4; stroke-dashoffset: 0; transition: stroke-dashoffset .25s linear; }
.ad.green .ad-ring circle + circle { stroke: var(--green); }
.ad-ring b { font-size: 14px; font-variant-numeric: tabular-nums; }
.ad-stage, .ad-net { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #000; margin-bottom: 12px; }
.ad-stage video { width: 100%; height: 100%; object-fit: cover; }
.ad-stage.tall { aspect-ratio: auto; height: min(50vh, 520px); width: calc(min(50vh, 520px) * 9 / 16); max-width: 100%; margin-inline: auto; }
.ad-stage.tall iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ad-net > div, .ad-net video { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; }
.promo { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 20px; }
.promo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kb 15s linear forwards; }
@keyframes kb { to { transform: scale(1.18) translate(-3%, -2%); } }
.promo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .92), rgba(0, 0, 0, .05) 62%); }
.promo-txt { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 4px; }
.promo-txt small { text-shadow: 0 1px 6px #000; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--tint); }
.promo-txt b { font-family: var(--font-display); font-size: 34px; font-weight: 900; line-height: .95; text-transform: uppercase; }
.promo-txt span { font-size: 14px; color: var(--text-muted); }
.ad-bar { height: 3px; background: #2A2A2F; margin-bottom: 16px; }
.ad-bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .25s linear; }
.ad.green .ad-bar i { background: var(--green); }
.ad-pitch { font-size: 16px; line-height: 1.5; margin-bottom: 16px; text-align: center; color: var(--text-muted); }
.ad-pitch b { color: var(--text); }
.ad-btns { display: grid; gap: 10px; }
.ad-btns .btn { width: 100%; }
.ad-foot { text-align: center; font-size: 13px; color: var(--text-faint); margin-top: 14px; min-height: 18px; }

/* ---------- Modal & toast ---------- */
.modal { position: fixed; inset: 0; z-index: 450; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet { width: 100%; max-width: 460px; max-height: 90vh; overflow: auto; padding: 26px; background: var(--surface); border: 1px solid var(--line-3); border-top: 4px solid var(--accent); border-radius: 3px; animation: rise .3s var(--ease); }
.sheet .eyebrow { margin-bottom: 14px; }
.sheet h3 { font-family: var(--font-display); font-size: 40px; font-weight: 900; line-height: .95; text-transform: uppercase; margin-bottom: 14px; }
.sheet p { font-size: 15px; line-height: 1.6; color: var(--text-muted); margin-bottom: 16px; }
.sheet input { width: 100%; height: 52px; padding: 0 18px; margin-bottom: 10px; background: var(--bg); border: 1px solid var(--line-3); border-radius: 2px; color: var(--text); font: inherit; font-size: 16px; }
.sheet input:focus { outline: none; border-color: var(--tint); }
.sheet .btn { width: 100%; }
.sheet.wide { max-width: 880px; }
.trailer { position: relative; aspect-ratio: 16 / 9; max-width: 100%; background: #000; margin-bottom: 16px; border: 1px solid var(--line-2); }
.trailer iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sheet-x { float: right; width: 40px; height: 40px; border: 1px solid #2A2A2F; border-radius: 2px; color: var(--text); }
.sheet ul { list-style: none; margin-bottom: 18px; }
.sheet li { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.sheet li span { color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .14em; }
/* Add-to-home-screen card */
.install { position: fixed; z-index: 300; left: 12px; right: 12px; bottom: calc(var(--player) + 12px); max-width: 520px; margin: 0 auto; display: grid; grid-template-columns: 56px 1fr; gap: 12px 14px; align-items: center; padding: 16px 44px 16px 16px; background: var(--surface); border: 1px solid var(--line-3); border-top: 3px solid var(--accent); border-radius: 4px; box-shadow: 0 20px 50px rgba(0, 0, 0, .7); animation: sheet-up .35s var(--ease); }
.install[hidden] { display: none; }
.install img { width: 56px; height: 56px; border-radius: 12px; }
.install-copy { display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.45; color: var(--text-muted); }
.install-copy b { color: var(--text); font-size: 16px; }
.install-copy .i { width: 18px; height: 18px; vertical-align: -3px; color: var(--text); }
.install-btns { grid-column: 1 / -1; display: flex; gap: 10px; margin-right: -28px; }
.install-btns .btn { flex: 1; }
.install-x { position: absolute; top: 6px; right: 6px; }
.screen-msg { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; color: var(--text-muted); font-size: 15px; }
.screen-msg b { color: var(--text); font-size: 18px; }
.toast { position: fixed; z-index: 500; left: 50%; top: calc(env(safe-area-inset-top, 0px) + 14px); transform: translate(-50%, -160%); max-width: calc(100% - 32px); padding: 14px 20px; background: var(--surface); border: 1px solid var(--line-3); border-left: 4px solid var(--accent); border-radius: 2px; font-size: 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, .6); transition: transform .35s var(--ease); }
.toast.show { transform: translate(-50%, 0); }
.toast.err { border-left-color: #F2B705; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-grid, .album, .panel, .doc-grid, .store-cols { grid-template-columns: 1fr; }
  .featured { max-width: 560px; }
  .album .art { max-width: 420px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel > img { max-height: 520px; }
  .foot-top { flex-direction: column; }
}
@media (max-width: 860px) {
  :root { --hdr: 60px; --player: 64px; }
  .brand { font-size: 23px; gap: 10px; }
  .brand-mark { width: 10px; height: 10px; }
  .nav, .hide-sm { display: none; }
  .show-sm { display: inline-flex; }
  .hdr-right .btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .icon-btn.boxed { width: 44px; height: 44px; }
  .foot { padding-bottom: calc(var(--player) + var(--tabs) + var(--safe-b) + 28px); }

  .hero { padding: 28px 0 64px; }
  .hero-copy { gap: 16px; padding-top: 0; }
  .eyebrow { font-size: 12px; letter-spacing: .2em; gap: 10px; }
  .presents img { height: 56px; }
  .presents { gap: 12px; }
  .eyebrow-rule { width: 28px; }
  .ctas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ctas .btn { min-height: 52px; padding: 0 12px; font-size: 15px; }
  .featured { padding-left: 12px; gap: 14px; }
  .sleeve { animation-name: drift-sm; }
  .featured-title { font-size: 20px; }
  .featured-date { font-size: 12px; }
  .thumbs { gap: 8px; }
  .art .play-sq { width: 56px; height: 56px; right: 12px; bottom: 12px; }

  .marquee { height: 52px; }
  .marquee-track { font-size: 22px; animation-duration: 50s; }
  .marquee-track span::after { margin: 0 22px; font-size: 15px; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
  .section-head > div { gap: 12px; }
  .section-note { font-size: 15px; }
  .cards { gap: 12px; }
  .card-body { padding: 12px 12px 14px; gap: 4px; }
  .card-meta { font-size: 12px; letter-spacing: .12em; }
  .card-title { font-size: 21px; }
  .card-artists, .card-foot { display: none; }
  .card-art .play-sq { width: 44px; height: 44px; right: 8px; bottom: 8px; }
  .card-art .play-sq svg.i { width: 22px; height: 22px; }
  .row .card { flex-basis: 164px; }
  .row .card-title { font-size: 20px; }

  .pass { grid-template-columns: 1fr; }
  .album { padding-block: 24px 28px; gap: 28px; }
  .album .art { margin-left: 12px; max-width: 320px; }
  .trk { min-height: 58px; padding: 8px 12px; gap: 10px; grid-template-columns: 34px 1fr auto; }
  .adnote { padding: 18px; }
  .doc-grid { padding-top: 24px; }
  .offer { grid-template-columns: 56px 1fr auto; gap: 12px; padding: 10px; }
  .offer img { width: 56px; height: 56px; }
  .offer b { font-size: 20px; }
  .foot-brand { flex-direction: column; align-items: flex-start; gap: 18px; }
  .foot-brand img { width: 120px; }
  .foot-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; width: 100%; }

  .player { left: 0; right: 0; bottom: calc(var(--tabs) + var(--safe-b)); grid-template-columns: 1fr auto; gap: 8px; padding: 0 8px 0 0; border-top: 1px solid var(--line-2); }
  .pl-open img { width: 64px; height: 63px; }
  .pl-open { gap: 12px; }
  .pl-t { font-size: 14px; }
  .pl-s { font-size: 12px; }
  .pl-prog, .pl-right, #plPrev { display: none; }
  .pl-line { display: block; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: #2A2A2F; }
  .pl-line::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: var(--p, 0%); background: var(--accent); }

  .install { bottom: calc(var(--tabs) + var(--safe-b) + 10px); }
  .tabs { position: fixed; z-index: 120; left: 0; right: 0; bottom: 0; height: calc(var(--tabs) + var(--safe-b)); padding-bottom: var(--safe-b); display: grid; grid-template-columns: repeat(4, 1fr); background: var(--bg-deep); border-top: 1px solid var(--line); }
  .tabs a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-faint); }
  .tabs a.on { color: var(--text); }
  .tabs a.on::before { content: ''; position: absolute; top: 0; left: 28%; right: 28%; height: 2px; background: var(--accent); }
}
@keyframes drift { 0%, 100% { transform: translate(-24px, 24px); } 50% { transform: translate(-30px, 30px); } }
@keyframes drift-sm { 0%, 100% { transform: translate(-12px, 12px); } 50% { transform: translate(-15px, 15px); } }

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