/* Opus Elixir — one stylesheet for the whole site. Gold on black; ivory only for reading text. */

:root {
  --bg: #000;
  --bg-2: #0d0d0c;
  --bg-card: #0b0b0a;
  --gold: #c6a16b;
  --gold-bright: #e6c48c;
  --gold-deep: #8a6a3c;
  --accent: var(--gold);
  --accent-bright: var(--gold-bright);
  --ivory: #f2ede3;
  --soft: #cfc8ba;
  --muted: #9a9284;
  --line: rgba(198, 161, 107, .18);
  --glass: rgba(10, 10, 9, .78);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
  --max: 1280px;
  --header: 68px;
  --mini: 72px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--ivory);
  font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.has-player { padding-bottom: calc(var(--mini) + var(--safe-b)); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--gold); color: #17130c; padding: 12px 18px; font-weight: 600; }
.skip:focus { top: 12px; }

/* Ambient mist behind everything, with a vignette so the edges fall to black. */
/* Film grain, so flat blacks read as a projected image. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: 0; display: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .foot, .top { position: relative; z-index: 1; }

/* ---------- Type ---------- */
.kicker { display: block; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; margin: 0; line-height: 1.06; text-wrap: balance; }
h1 { font-size: clamp(44px, 6.6vw, 96px); }
h2 { font-size: clamp(34px, 4.6vw, 64px); }
h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 400; line-height: 1.15; }
h1 em, h2 em, .foot-line em { color: var(--accent); font-style: italic; }
.lede { font-size: clamp(16px, 1.3vw, 19px); color: var(--soft); max-width: 56ch; margin: 18px 0 0; }
.small { font-size: 13px; color: var(--muted); }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons ---------- */
.btn, .btn-ghost, .pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 28px;
  border-radius: 999px; font-weight: 600; font-size: 15px; letter-spacing: .02em;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn { background: linear-gradient(180deg, var(--accent-bright), var(--accent)); color: #17120a; box-shadow: 0 10px 40px -12px var(--accent); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 50px -10px var(--accent); }
.btn:active { transform: scale(.98); }
.btn-ghost, .pill { border: 1px solid var(--line); color: var(--ivory); background: rgba(255,255,255,.02); }
.btn-ghost:hover, .pill:hover { border-color: var(--accent); color: var(--accent-bright); }
.pill { min-height: 40px; padding: 0 18px; font-weight: 500; font-size: 14px; }
.btn .tri { width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.link { color: var(--accent-bright); border-bottom: 1px solid var(--line); padding-bottom: 2px; font-weight: 500; }
.link:hover { border-color: var(--accent-bright); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 30; height: var(--header);
  display: flex; align-items: center; gap: 24px; padding: 0 var(--gutter);
  transition: background .3s, border-color .3s; border-bottom: 1px solid transparent;
}
.top.solid { background: rgba(0,0,0,.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { mix-blend-mode: screen; }
.brand span { font-family: var(--serif); font-size: 21px; letter-spacing: .22em; text-transform: uppercase; }
.nav { display: flex; gap: 30px; }
.nav a { font-size: 14px; letter-spacing: .06em; color: var(--soft); padding: 8px 0; position: relative; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ivory); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); }
.motion { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }
.motion i { width: 14px; height: 10px; border-left: 3px solid var(--gold); border-right: 3px solid var(--gold); }
.motion[aria-pressed="true"] i { width: 0; height: 0; border: 0; border-left: 10px solid var(--gold); border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.menu { display: none; width: 44px; height: 44px; position: relative; }
.menu span, .menu span::before, .menu span::after { position: absolute; left: 11px; width: 22px; height: 1.5px; background: var(--ivory); transition: transform .3s var(--ease), opacity .2s; }
.menu span { top: 21px; } .menu span::before { content: ""; left: 0; top: -7px; } .menu span::after { content: ""; left: 0; top: 7px; }
.menu[aria-expanded="true"] span { background: transparent; }
.menu[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .menu { display: block; }
  .brand span { font-size: 17px; letter-spacing: .18em; }
  .nav {
    position: fixed; inset: var(--header) 0 auto 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 24px;
    background: rgba(7,8,8,.96); border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { font-family: var(--serif); font-size: 30px; letter-spacing: 0; padding: 12px 0; color: var(--ivory); border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { color: var(--gold-bright); }
}

/* ---------- Views: crossfade between pages ---------- */
#view { outline: none; display: block; min-height: 60vh; }
#view.enter { animation: fade .5s var(--ease) both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
section { padding: clamp(56px, 8vw, 112px) 0; }
.section-head { margin-bottom: clamp(26px, 3vw, 40px); }
.section-head .lede { margin-top: 12px; }
.section-head h2 { margin-top: 12px; }

/* ---------- Home hero ---------- */
.hero { position: relative; padding: clamp(8px, 3vw, 40px) 0 clamp(28px, 4vw, 56px); overflow: hidden; }
.hero .mist { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: .28;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 24px; min-height: min(70vh, 640px); }
.hero h1 { margin-top: 18px; }
.emblem { position: relative; justify-self: center; width: min(100%, 440px); }
.emblem img { position: relative; width: 100%; height: auto; animation: float 9s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.continue { margin-top: 26px; display: inline-flex; align-items: center; gap: 12px; color: var(--soft); font-size: 14px; }
.continue .mini-art { width: 40px; height: 40px; }
.continue b { color: var(--ivory); font-weight: 500; }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 0; text-align: center; }
  .hero-copy { order: 2; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero .actions { justify-content: center; margin-top: 22px; }
  .emblem { width: min(46vw, 210px); margin-bottom: 4px; }
  .hero h1 { font-size: clamp(40px, 11vw, 56px); margin-top: 12px; }
}

/* ---------- World cards (the feeling entry) ---------- */
.rail-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.rail-nav { display: flex; gap: 8px; }
.rail-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 20px; color: var(--soft); }
.rail-btn:hover:not(:disabled) { border-color: var(--gold); color: var(--gold-bright); }
.rail-btn:disabled { opacity: 0; visibility: hidden; }
.rail-btn { transition: opacity .3s, border-color .3s, color .3s; }
/* A soft fade at the right edge says there is more to swipe. */
.rail-wrap { position: relative; }
.rail-wrap.more::after { content: ""; position: absolute; top: 0; bottom: 6px; right: calc(-1 * var(--gutter)); width: 48px; pointer-events: none; background: linear-gradient(90deg, transparent, #000); }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 20px) / 3); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px;
  margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); scroll-padding: 0 var(--gutter);
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (max-width: 1000px) { .rail { grid-auto-columns: calc((100% - 20px) / 2.15); } }
@media (max-width: 620px) { .rail { grid-auto-columns: 80%; gap: 14px; } .rail-nav { gap: 6px; } .rail-btn { width: 40px; height: 40px; } }

.card {
  --r: 14px; --pad: 22px; --hair: rgba(198,161,107,.2);
  position: relative; display: flex; flex-direction: column; width: 100%; text-align: left; border-radius: var(--r);
  overflow: hidden; isolation: isolate; background: #000; transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3; box-shadow: inset 0 0 0 1px var(--hair); transition: box-shadow .35s var(--ease); }
/* Emblem and name, spaced like the covers. */
.card .brandline { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 0 16px; font: 500 9.5px/1 var(--sans); letter-spacing: .5em; text-indent: .5em; text-transform: uppercase; color: var(--gold); }
.card .brandline img { width: 18px; height: 18px; opacity: .95; }
/* The window: full width, a soft amber light along its top and bottom edges. */
.card .art { position: relative; aspect-ratio: 400 / 260; overflow: hidden; background: #000; margin: 12px 12px 0; border-radius: 8px; }
.card .art::before, .card .art::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; z-index: 1; background: linear-gradient(90deg, transparent, rgba(230,170,90,.65), transparent); box-shadow: 0 0 14px 2px rgba(230,150,60,.35); }
.card .art::before { top: 0; } .card .art::after { bottom: 0; }
.card .motif { display: block; width: 100%; height: 100%; transition: transform 1.4s var(--ease), filter .6s; filter: saturate(.95) brightness(.95); }
.card .cap { margin-top: auto; padding: 26px var(--pad) var(--pad); display: flex; align-items: flex-end; gap: 14px; }
.card .txt { flex: 1; min-width: 0; }
.card .mood { display: block; font: 500 9.5px/1.4 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: rgba(230,196,140,.75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card h3 { font: 300 clamp(28px, 2.4vw, 36px)/1.05 var(--serif); margin: 10px 0 0; color: var(--ivory); }
.card p { margin: 6px 0 0; font-size: 13px; line-height: 1.45; color: rgba(242,237,227,.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .go {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(230,196,140,.45); color: var(--gold-bright); background: transparent;
  transition: background .3s var(--ease), border-color .3s, color .3s;
}
.card .go svg { width: 16px; height: 16px; fill: currentColor; }
.card .go > svg:first-child { margin-left: 2px; }
.eq { display: none; gap: 3px; align-items: end; height: 14px; }
.eq i { width: 2.5px; background: currentColor; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.3s; } .eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 14px; } }
/* A slow breath of haze across the window. */
.card .art .breath { display: none; }

/* States: hover lifts, focus rings, press settles, playing stays lit. */
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -30px rgba(198,161,107,.35); }
  .card:hover::after { box-shadow: inset 0 0 0 1px rgba(230,196,140,.55); }
  .card:hover .motif { transform: scale(1.04); filter: saturate(1.05) brightness(1.08); }
  .card:hover .go { background: var(--gold); border-color: var(--gold); color: #000; }
}
.card:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
.card:active { transform: translateY(-1px) scale(.985); transition-duration: .12s; }
.card.is-playing::after { box-shadow: inset 0 0 0 1px var(--gold-bright); }
.card.is-playing .go { background: var(--gold); border-color: var(--gold); color: #000; }
.card.is-playing .go > svg { display: none; }
.card.is-playing .go .eq { display: flex; }

.card.ask .art { display: grid; place-items: center; background: radial-gradient(60% 70% at 50% 60%, rgba(230,170,90,.16), transparent 70%), #000; }
.card.ask .art span { font: 300 clamp(24px, 2.2vw, 30px)/1.1 var(--serif); text-align: center; color: var(--ivory); }
.card.ask .art span em { color: var(--gold); }
.not-sure { margin-top: 18px; font-size: 14px; color: var(--soft); }
.not-sure button { color: var(--gold-bright); border-bottom: 1px solid var(--line); padding: 6px 0; }

/* ---------- Featured listening room ---------- */
.feature-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.still { position: relative; display: block; width: 100%; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9; box-shadow: 0 0 0 1px var(--line), 0 40px 90px -40px rgba(198,161,107,.5); }
.still { background: radial-gradient(80% 70% at 30% 50%, #0d0b08, #000 70%); }
.still .motif { transition: transform 1.4s var(--ease); }
.still:hover .motif { transform: scale(1.03); }
.still .go { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: rgba(8,8,7,.5); border: 1px solid rgba(230,196,140,.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.still .go svg { width: 28px; fill: var(--gold-bright); margin-left: 4px; }
@media (max-width: 820px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Strips, cards, prose ---------- */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.tiers { list-style: none; margin: 0; padding: 0; }
.tiers li { display: flex; gap: 18px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 24px; }
.tiers b { font-family: var(--sans); font-size: 12px; letter-spacing: .2em; color: var(--gold); font-weight: 500; }
@media (max-width: 820px) { .band-grid { grid-template-columns: 1fr; } }
blockquote { font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); line-height: 1.2; font-weight: 300; margin: 24px 0 0; max-width: 24ch; }
blockquote em { color: var(--gold); }
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.about-grid .emblem { width: min(100%, 340px); }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } .about-grid .emblem { width: 180px; } }
.platforms { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.platform { padding: 24px; border: 1px solid var(--line); border-radius: 18px; display: flex; flex-direction: column; gap: 26px; transition: border-color .3s, background .3s; background: rgba(255,255,255,.015); }
.platform:hover { border-color: var(--gold); background: rgba(198,161,107,.05); }
.platform b { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.platform span { color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .platforms { grid-template-columns: 1fr 1fr; } }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards-3 > div { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.015); }
.cards-3 b { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.cards-3 h3 { margin: 16px 0 10px; }
.cards-3 p { color: var(--soft); margin: 0; font-size: 15px; }
@media (max-width: 820px) { .cards-3 { grid-template-columns: 1fr; } }
.callout { display: flex; gap: 30px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: clamp(28px, 4vw, 48px); border-radius: 24px; border: 1px solid var(--line); background: radial-gradient(80% 120% at 0% 0%, rgba(198,161,107,.1), transparent 60%); }
.callout p { color: var(--soft); max-width: 52ch; }
.terms details { border-bottom: 1px solid var(--line); }
.terms summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); position: relative; }
.terms summary::-webkit-details-marker { display: none; }
.terms summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-family: var(--sans); font-size: 24px; color: var(--gold); transition: transform .3s; }
.terms details[open] summary::after { transform: rotate(45deg); }
.terms details > div { padding: 0 0 18px; color: var(--soft); max-width: 75ch; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(28px, 3vw, 40px); margin: 44px 0 12px; }
.prose p { color: var(--soft); }
.prose a, .inline { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 3px; }
.page-hero { padding: clamp(40px, 7vw, 96px) 0 clamp(16px, 3vw, 40px); }

/* ---------- Discover ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1000px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } .grid .card .art { aspect-ratio: 16 / 11; } }
.group { padding: 0; }
.group + .group { margin-top: clamp(56px, 6vw, 88px); }
.world-hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 100px) 0; }
.world-hero .bg { display: none; }
.world-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.world-grid .card { max-width: 420px; }
@media (max-width: 820px) { .world-grid { grid-template-columns: 1fr; } .world-grid .card { max-width: none; } .world-grid .card .art { aspect-ratio: 16 / 11; } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 56px var(--gutter) 28px; background: #000; }
.foot-top { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-top img { mix-blend-mode: screen; }
.foot-line { font-family: var(--serif); font-size: 30px; line-height: 1.15; margin: 14px 0 0; font-weight: 300; }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--soft); }
.foot-col b { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 4px; }
.foot-col a:hover { color: var(--gold-bright); }
.foot-base { max-width: var(--max); margin: 40px auto 0; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--muted); letter-spacing: .04em; }
@media (max-width: 820px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-top > div:first-child { grid-column: 1 / -1; } }

/* ---------- Player ---------- */
.player { position: fixed; inset: auto 0 0 0; z-index: 50; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--soft); transition: color .2s, background .2s; flex: none; }
.icon-btn:hover { color: var(--gold-bright); background: rgba(255,255,255,.04); }
.icon-btn[aria-pressed="true"] { color: var(--gold-bright); }
.icon-btn svg, .play-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn svg .fill, .play-btn svg .fill { fill: currentColor; stroke: none; }
.play-btn { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, var(--accent-bright), var(--accent)); color: #17120a; flex: none; transition: transform .2s var(--ease); }
.play-btn:active { transform: scale(.94); }
.play-btn.sm { width: 46px; height: 46px; }
.play-btn svg { width: 26px; height: 26px; }
.play-btn.sm svg { width: 20px; height: 20px; }
.play-btn .i-pause, .player.playing .play-btn .i-play { display: none; }
.player.playing .play-btn .i-pause { display: block; }

.mini {
  position: relative; height: calc(var(--mini) + var(--safe-b)); padding: 0 max(var(--gutter), 12px) var(--safe-b);
  display: flex; align-items: center; gap: 12px;
  background: var(--glass); backdrop-filter: blur(22px) saturate(1.2); -webkit-backdrop-filter: blur(22px) saturate(1.2);
  border-top: 1px solid var(--line);
}
.mini-progress { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: rgba(198,161,107,.15); }
.mini-progress i { display: block; height: 100%; width: 0; background: var(--accent-bright); box-shadow: 0 0 12px var(--accent); }
.mini-open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; text-align: left; min-height: 56px; }
.mini-art { width: 48px; height: 48px; border-radius: 10px; overflow: hidden; flex: none; background: var(--bg-card); }
.mini-art { background: #000; box-shadow: inset 0 0 0 1px var(--line); }
.mini-text { min-width: 0; display: flex; flex-direction: column; }
.mini-title { font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-world { font-size: 12px; color: var(--accent); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini .controls { display: flex; align-items: center; gap: 6px; }
.vol input { width: 100px; }
.buffer { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(198,161,107,.25); border-top-color: var(--gold-bright); animation: spin .8s linear infinite; display: none; flex: none; }
.player.buffering .buffer { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 620px) { .hide-s { display: none !important; } }

input[type="range"] { -webkit-appearance: none; appearance: none; background: transparent; height: 28px; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent-bright) var(--p, 0%), rgba(198,161,107,.2) var(--p, 0%)); }
input[type="range"]::-moz-range-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent-bright) var(--p, 0%), rgba(198,161,107,.2) var(--p, 0%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--gold-bright); margin-top: -5.5px; box-shadow: 0 0 0 4px rgba(230,196,140,.15); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: var(--gold-bright); }

/* Now playing: a full-screen sheet over the page. */
.sheet { position: fixed; inset: 0; z-index: 60; overflow-y: auto; overscroll-behavior: contain; background: #060606; }
.sheet:not([hidden]) { animation: rise .45s var(--ease) both; }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet-bg { position: fixed; inset: -60px; background-size: cover; background-position: center; filter: blur(60px) brightness(.32) saturate(1.2); transform: scale(1.1); }
.sheet-in { position: relative; max-width: 900px; margin: 0 auto; padding: max(12px, env(safe-area-inset-top)) var(--gutter) calc(40px + var(--safe-b)); }
.sheet-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.sheet-bar .kicker { text-align: center; flex: 1; }
.stage-slot { aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 40px 100px -40px var(--accent), 0 0 0 1px var(--line); margin-top: 8px; }
.stage { width: 100%; height: 100%; }
.stage iframe { width: 100%; height: 100%; border: 0; display: block; }
/* While the sheet is closed the player keeps running, out of sight. */
.stage.parked { position: fixed; left: -10000px; bottom: 0; width: 320px; height: 180px; opacity: 0; pointer-events: none; }
.np-meta { margin-top: 26px; }
.np-title { font-size: clamp(30px, 4.5vw, 52px); }
.np-sub { color: var(--soft); margin: 8px 0 0; }
.scrub { margin-top: 18px; }
.scrub input { width: 100%; }
.times { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.controls.big { display: flex; align-items: center; justify-content: center; gap: clamp(8px, 3vw, 28px); margin-top: 10px; }
.np-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.queue-wrap { margin-top: 40px; }
.queue { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.queue button { width: 100%; text-align: left; border-radius: 12px; overflow: hidden; background: var(--bg-card); box-shadow: 0 0 0 1px var(--line); }
.queue b { display: block; padding: 14px 12px 0; font-family: var(--serif); font-size: 28px; font-weight: 300; color: var(--gold); }
.queue span { display: block; padding: 8px 10px; font-size: 12px; color: var(--soft); }
.queue [aria-current="true"] { box-shadow: 0 0 0 1.5px var(--accent-bright); }
.queue [aria-current="true"] b { color: var(--gold-bright); }
.toast { position: fixed; left: 50%; bottom: calc(var(--mini) + 20px + var(--safe-b)); transform: translateX(-50%); z-index: 80; background: var(--bg-card); border: 1px solid var(--line); padding: 12px 18px; border-radius: 999px; font-size: 14px; animation: fade .3s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Background-music note under the hero actions. */
.sound-note { display: inline-flex; align-items: center; gap: 10px; margin: 22px 0 0; font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.sound-note .bars { display: inline-flex; gap: 2px; align-items: end; height: 12px; }
.sound-note .bars i { width: 2px; height: 4px; background: var(--gold); opacity: .6; }
.sound-note.on .bars i { animation: eq 1.1s ease-in-out infinite; opacity: 1; }
.sound-note.on .bars i:nth-child(2) { animation-delay: -.35s; } .sound-note.on .bars i:nth-child(3) { animation-delay: -.7s; }
.sound-switch { color: var(--gold-bright); border-bottom: 1px solid var(--line); padding: 4px 0; font-size: 13px; }
@media (max-width: 820px) { .sound-note { justify-content: center; } }

/* Home: three ways into the listening room. */
.invite .ways a { padding: 12px 12px 26px; border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; gap: 10px; transition: border-color .3s, transform .3s var(--ease); }
.invite .ways a:hover { border-color: rgba(230,196,140,.6); transform: translateY(-3px); }
.invite .ways b { font: 500 11px/1 var(--sans); letter-spacing: .2em; color: var(--gold); }
.invite .ways h3 { font-size: clamp(26px, 2.4vw, 34px); }
.invite .ways span { color: var(--muted); font-size: 14px; }
.group { scroll-margin-top: calc(var(--header) + 16px); }

.invite .ways .art { aspect-ratio: 400 / 230; border-radius: 8px; overflow: hidden; margin-bottom: 14px; }
.invite .ways .art .motif { width: 100%; height: 100%; display: block; transition: transform 1.4s var(--ease); }
.invite .ways a:hover .motif { transform: scale(1.04); }
.invite .ways b, .invite .ways h3, .invite .ways span { padding: 0 14px; }
.quote { text-align: center; }
.quote blockquote { margin: 24px auto 0; max-width: 30ch; }
.quote .actions { justify-content: center; }

/* Taste and invitation in the mini player. */
.mini .love { order: 2; min-height: 36px; padding: 0 14px; font-size: 13px; white-space: nowrap; }
.player.invite .mini .love { background: var(--gold); color: #000; border-color: var(--gold); animation: fade .5s var(--ease); }
.np-links .love { border-color: var(--gold); color: var(--gold-bright); }
@media (max-width: 620px) { .mini .love { position: absolute; right: 12px; top: -46px; background: #000; } .player.invite .mini .love { background: var(--gold); } }

/* A world's own page. */
.world { padding: clamp(32px, 6vw, 80px) 0; }
.world-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.world-art { aspect-ratio: 400 / 260; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 40px 90px -50px rgba(230,150,60,.5); }
.world-art .motif { width: 100%; height: 100%; display: block; }
@media (max-width: 820px) { .world-grid { grid-template-columns: 1fr; } }
