/* ==========================================================================
   JJ Prairie — site styles
   Ember / dusk palette · Outfit + Instrument Serif + Bitter
   ========================================================================== */

/* ── fonts ──────────────────────────────────────────────────────────────── */
@font-face {
  font-family: "Outfit";
  src: url("../fonts/Outfit-var.woff2") format("woff2-variations");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bitter";
  src: url("../fonts/Bitter-var.woff2") format("woff2-variations");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/InstrumentSerif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/InstrumentSerif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ── tokens ─────────────────────────────────────────────────────────────── */
:root {
  --ink: #0e0a08;
  --ink-2: #130e0b;
  --panel: #191310;
  --panel-2: #221913;
  --panel-3: #2c211a;

  --cream: #f5eee3;
  --cream-2: #fffaf2;
  --soft: #d6c9b8;
  --muted: #9d9080;
  --faint: #6f655a;

  --ember: #ff6a2b;
  --ember-2: #ff8a3d;
  --gold: #ffb347;
  --rose: #f0554f;

  --line: rgba(245, 238, 227, 0.13);
  --line-2: rgba(245, 238, 227, 0.26);
  --line-3: rgba(245, 238, 227, 0.44);
  --glow: 0 0 0 1px rgba(255, 106, 43, 0.35), 0 10px 34px rgba(255, 106, 43, 0.16);

  --sans: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Instrument Serif", "Iowan Old Style", Palatino, Georgia, serif;
  --slab: "Bitter", Rockwell, "Roboto Slab", Georgia, serif;

  --r-xs: 8px;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --pill: 999px;

  --sh-1: 0 1px 2px rgba(0, 0, 0, 0.35), 0 4px 14px rgba(0, 0, 0, 0.28);
  --sh-2: 0 18px 46px rgba(0, 0, 0, 0.5);
  --sh-3: 0 32px 80px rgba(0, 0, 0, 0.62);

  --ease: cubic-bezier(0.22, 0.68, 0.16, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --header: 72px;
  --wrap: 1240px;
  --gutter: 1.15rem;
  --dock-h: 0px;
}

/* ── reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 12px);
  scrollbar-color: rgba(245, 238, 227, 0.3) var(--ink);
}
body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--ember); color: #fff; }

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 200;
  background: var(--cream); color: var(--ink);
  padding: 0.6rem 1rem; border-radius: var(--pill);
  font-weight: 600; font-size: 0.85rem; text-decoration: none;
  transition: top 0.25s var(--ease);
}
.skip:focus { top: 0.75rem; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }

/* film grain overlay */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: 0.045; mix-blend-mode: overlay;
  background: url("../images/grain.png") repeat;
  background-size: 128px 128px;
}

/* ── shared type ────────────────────────────────────────────────────────── */
.kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted);
}
.kicker::before {
  content: ""; width: 20px; height: 1px; background: currentColor; opacity: 0.7;
}
.kicker.plain::before { display: none; }
.kicker.ember { color: var(--ember-2); }

.h2 {
  font-family: var(--slab);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.98;
  font-size: clamp(2.05rem, 5.6vw, 3.15rem);
  color: var(--cream-2);
}
.serif {
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1.32;
}
.lede { color: var(--soft); font-size: clamp(0.98rem, 1.4vw, 1.08rem); line-height: 1.6; }
.muted { color: var(--muted); }

.section { padding: clamp(3.6rem, 8vw, 6.5rem) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.section-head p { max-width: 46ch; }

/* ── buttons ────────────────────────────────────────────────────────────── */
.btn {
  --btn-bg: var(--cream);
  --btn-fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.82rem 1.25rem;
  border-radius: var(--pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.24s var(--ease), background 0.24s var(--ease),
              box-shadow 0.24s var(--ease), border-color 0.24s var(--ease), color 0.24s var(--ease);
  box-shadow: var(--sh-1);
}
.btn svg { width: 1em; height: 1em; flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.btn:active { transform: translateY(0); }
.btn--ember { --btn-bg: linear-gradient(180deg, var(--ember-2), var(--ember)); --btn-fg: #180d06; box-shadow: 0 10px 30px rgba(255, 106, 43, 0.28); }
.btn--ember:hover { box-shadow: 0 16px 40px rgba(255, 106, 43, 0.38); }
.btn--ghost {
  --btn-bg: rgba(245, 238, 227, 0.05); --btn-fg: var(--cream);
  border-color: var(--line-2); backdrop-filter: blur(10px); box-shadow: none;
}
.btn--ghost:hover { background: rgba(245, 238, 227, 0.11); border-color: var(--line-3); }
.btn--sm { padding: 0.6rem 0.95rem; font-size: 0.82rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; pointer-events: none; }

.link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.86rem; font-weight: 600; color: var(--muted);
  text-decoration: none; transition: color 0.2s var(--ease);
}
.link svg { width: 0.75em; height: 0.75em; }
.link:hover { color: var(--cream); }
.link:hover svg { transform: translate(1px, -1px); }
.link svg { transition: transform 0.2s var(--ease); }

.icon-play, .icon-pause { display: none; }
[data-state="idle"] .icon-play,
[data-state="paused"] .icon-play { display: block; }
[data-state="playing"] .icon-pause { display: block; }

/* ── header ─────────────────────────────────────────────────────────────── */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: calc(var(--header) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  display: flex; align-items: center;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease),
              border-color 0.4s var(--ease), height 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  background: rgba(12, 9, 7, 0.82);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--line);
}
.header__inner {
  width: min(var(--wrap), 100% - var(--gutter) * 2);
  margin-inline: auto;
  display: flex; align-items: center; gap: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  text-decoration: none; margin-right: auto;
}
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__name {
  font-family: var(--slab); font-weight: 800; font-size: 0.98rem;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--cream-2);
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav__link {
  position: relative; text-decoration: none;
  font-size: 0.83rem; font-weight: 500; color: var(--soft);
  padding: 0.5rem 0.8rem; border-radius: var(--pill);
  transition: color 0.24s var(--ease), background 0.24s var(--ease);
}
.nav__link:hover { color: var(--cream-2); background: rgba(245, 238, 227, 0.07); }
.nav__link.is-active { color: var(--cream-2); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 0.12rem;
  width: 16px; height: 2px; border-radius: 2px; background: var(--ember);
  transform: translateX(-50%);
}

.burger {
  display: none; width: 42px; height: 42px; border-radius: var(--pill);
  border: 1px solid var(--line-2); place-items: center; flex: none;
}
.burger span {
  display: block; width: 17px; height: 1.6px; background: var(--cream);
  border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s;
}
.burger span + span { margin-top: 4.5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.scroll-rail { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: transparent; }
.scroll-rail i {
  display: block; height: 100%; width: 100%; transform-origin: left center;
  transform: scaleX(var(--sp, 0));
  background: linear-gradient(90deg, var(--ember), var(--gold));
}

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(10, 7, 5, 0.96);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  padding: calc(var(--header) + 2.5rem) var(--gutter) 2rem;
  display: grid; align-content: start; gap: 0.35rem;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease), visibility 0.32s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.drawer a {
  text-decoration: none; font-family: var(--slab); font-weight: 800;
  font-size: clamp(1.7rem, 8vw, 2.4rem); color: var(--cream-2);
  padding: 0.55rem 0; border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; justify-content: space-between;
}
.drawer a span { font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.18em; color: var(--faint); text-transform: uppercase; }
.drawer__foot { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* ── hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: grid; align-items: center;
  overflow: hidden; background: #0a0705;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__img {
  position: absolute; inset: -3%;
  width: 106%; height: 106%;
  object-fit: cover; object-position: 26% 52%;
  animation: ken 54s ease-in-out infinite alternate;
}
@keyframes ken {
  from { scale: 1; }
  to { scale: 1.075; }
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 7, 5, 0.72) 0%, rgba(10, 7, 5, 0.18) 24%, rgba(10, 7, 5, 0) 42%,
                    rgba(10, 7, 5, 0.42) 66%, rgba(14, 10, 8, 0.86) 88%, var(--ink) 100%),
    radial-gradient(ellipse 66% 36% at 50% 52%, rgba(10, 7, 5, 0.58) 0%, rgba(10, 7, 5, 0.3) 56%, rgba(10, 7, 5, 0) 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  width: min(var(--wrap), 100% - var(--gutter) * 2);
  margin-inline: auto;
  padding: calc(var(--header) + 2rem) 0 clamp(3.4rem, 6.5vw, 5rem);
  display: grid; gap: clamp(1.6rem, 3.5vw, 2.6rem);
}
.hero__copy {
  --mark-w: min(540px, 80vw);
  display: grid; justify-items: center; text-align: center;
  width: 100%; max-width: 62rem; margin-inline: auto;
}
.hero__mark {
  width: var(--mark-w); height: auto;
  filter: drop-shadow(0 12px 34px rgba(0, 0, 0, 0.55));
}
.hero__tagline {
  font-family: var(--sans); font-weight: 600; font-style: normal;
  font-size: clamp(1.15rem, 2.5vw, 1.7rem);
  line-height: 1.2; letter-spacing: -0.018em;
  color: var(--cream-2); margin-top: clamp(0.7rem, 1.6vw, 1.05rem);
  width: var(--mark-w); max-width: 100%; text-align: center;
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.6);
  text-wrap: balance;
}
.hero__tagline em { font-style: normal; color: var(--ember); }
.hero__sub {
  color: var(--soft); font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  max-width: min(58ch, 100%); margin-top: clamp(0.85rem, 1.8vw, 1.15rem); text-align: center;
  text-wrap: balance; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.6);
}

.round {
  display: grid; place-items: center; flex: none;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--cream); color: var(--ink);
  transition: transform 0.22s var(--ease), background 0.22s var(--ease);
  box-shadow: var(--sh-1);
}
.round svg { width: 17px; height: 17px; }
.round:hover { transform: scale(1.06); background: var(--cream-2); }
.round--ember { background: linear-gradient(180deg, var(--ember-2), var(--ember)); color: #180d06; }
.round--ember:hover { background: linear-gradient(180deg, #FFA15C, var(--ember-2)); }
.round--ghost { background: rgba(245, 238, 227, 0.08); color: var(--cream); border: 1px solid var(--line-2); }
.round--ghost:hover { background: rgba(245, 238, 227, 0.16); }
.round--sm { width: 38px; height: 38px; }
.round--sm svg { width: 14px; height: 14px; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 1rem; z-index: 3;
  transform: translateX(-50%);
  display: grid; justify-items: center; gap: 0.4rem;
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(245, 238, 227, 0.55); text-decoration: none;
}
.hero__scroll i {
  width: 1px; height: 34px; background: linear-gradient(180deg, rgba(245, 238, 227, 0.6), transparent);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue { 0%, 100% { opacity: 0.25; transform: scaleY(0.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* entrance */
.js .rise { opacity: 0; transform: translateY(22px); }
.js .hero__inner.is-ready .rise { animation: rise 0.95s var(--ease-out) both; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ── reveal on scroll ───────────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(20px); }
.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  transition-delay: var(--d, 0ms);
}

/* ── featured single ────────────────────────────────────────────────────── */
.feature {
  position: relative; overflow: hidden;
  display: grid; gap: 0;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, var(--panel-2) 0%, var(--panel) 55%, var(--ink-2) 100%);
  box-shadow: var(--sh-2);
  margin-bottom: clamp(1.6rem, 3.5vw, 2.5rem);
}
.feature::after {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 60%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(255, 106, 43, 0.22), transparent 72%);
  pointer-events: none;
}
.feature__art { position: relative; overflow: hidden; }
.feature__play {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  transform: translate(-50%, -50%);
  width: 68px; height: 68px;
}
.feature__play svg { width: 22px; height: 22px; }
@media (hover: hover) and (pointer: fine) {
  .feature__play { opacity: 0; transform: translate(-50%, -50%) scale(0.9); transition: all 0.32s var(--ease); }
  .feature:hover .feature__play, .feature:focus-within .feature__play,
  .feature.is-current .feature__play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  .card__play { transition: opacity 0.26s var(--ease), transform 0.26s var(--ease); }
}
/* touch devices: no hover, so always show the affordance */
@media (hover: none) {
  .card__play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  .card.is-current .card__play { opacity: 1; }
  .card.is-current .card__eq { display: flex; }
  .card__art::after { opacity: 0.18; }
}
@media (max-width: 700px) {
  .card__play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  .card.is-current .card__play { opacity: 1; }
  .card__art::after { opacity: 0.18; }
}
.feature__art img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.feature__body { padding: clamp(1.1rem, 2.2vw, 1.7rem); display: grid; gap: 0.75rem; align-content: center; position: relative; z-index: 1; }
.feature__title {
  font-family: var(--slab); font-weight: 800; letter-spacing: -0.022em; line-height: 1;
  font-size: clamp(1.55rem, 3.1vw, 2.15rem); color: var(--cream-2);
}
.feature__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; font-size: 0.85rem; color: var(--muted); }
.feature__meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.feature__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; }

/* waveform / progress */
.wave { display: flex; align-items: flex-end; gap: 3px; height: 26px; margin-top: 0.15rem; }
.wave i {
  flex: 1; min-width: 2px; border-radius: 2px;
  background: rgba(245, 238, 227, 0.2); height: var(--h, 40%);
  transition: background 0.3s var(--ease), height 0.3s var(--ease);
}
.wave i.is-played { background: linear-gradient(180deg, var(--gold), var(--ember)); }
.wave.is-live i.is-played { animation: bar 1.1s ease-in-out infinite alternate; }
@keyframes bar { to { opacity: 0.55; } }

.badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.32rem 0.66rem; border-radius: var(--pill);
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  background: linear-gradient(180deg, var(--ember-2), var(--ember)); color: #180d06;
}
.badge--quiet { background: rgba(245, 238, 227, 0.09); color: var(--soft); border: 1px solid var(--line); }
.card__badge .badge {
  background: rgba(10, 7, 5, 0.55); color: var(--cream);
  border: 1px solid rgba(245, 238, 227, 0.16);
  padding: 0.24rem 0.5rem; font-size: 0.56rem; letter-spacing: 0.14em;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

/* ── catalog ────────────────────────────────────────────────────────────── */
.catalog-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem;
  margin-bottom: 1.4rem;
}
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip {
  padding: 0.52rem 1.05rem; border-radius: var(--pill);
  border: 1px solid var(--line); background: rgba(245, 238, 227, 0.04);
  font-size: 0.86rem; font-weight: 600; color: var(--soft);
  transition: all 0.24s var(--ease);
}
.chip:hover { border-color: var(--line-3); color: var(--cream-2); }
.chip[aria-pressed="true"] {
  background: var(--cream); border-color: var(--cream); color: var(--ink);
}
/* the count is screen-reader only now — it still announces filter results */

.grid {
  display: grid; gap: clamp(0.75rem, 1.5vw, 1.05rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 194px), 1fr));
}
.card {
  position: relative;
  border-radius: var(--r-sm);
  background: rgba(245, 238, 227, 0.022);
  border: 1px solid var(--line);
  padding: 0; overflow: hidden;
  transition: transform 0.34s var(--ease), border-color 0.34s var(--ease),
              background 0.34s var(--ease), box-shadow 0.34s var(--ease);
}
.card:hover, .card:focus-within {
  transform: translateY(-3px);
  border-color: var(--line-2);
  background: rgba(245, 238, 227, 0.05);
  box-shadow: var(--sh-1);
}
.card.is-current {
  border-color: rgba(255, 106, 43, 0.42);
  box-shadow: 0 6px 26px rgba(255, 106, 43, 0.13);
}
.card__art {
  position: relative; overflow: hidden; cursor: pointer;
  background: var(--panel-2); aspect-ratio: 1;
}
.card__art img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.card:hover .card__art img { transform: scale(1.035); }
.card__art::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(10, 7, 5, 0.34);
  opacity: 0; transition: opacity 0.3s var(--ease); pointer-events: none;
}
.card:hover .card__art::after, .card:focus-within .card__art::after { opacity: 1; }

/* one overlay action, centred */
.card__play {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  transform: translate(-50%, -50%) scale(0.78);
  opacity: 0; transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
}
.card:hover .card__play, .card:focus-within .card__play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.card.is-current .card__play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.card.is-current .card__play .round { background: linear-gradient(180deg, var(--ember-2), var(--ember)); color: #180d06; }
.card__play .round { width: 42px; height: 42px; }
.card__play .round svg { width: 15px; height: 15px; }

/* quiet secondary action, top-right */
.card__open {
  position: absolute; right: 0.5rem; top: 0.5rem; z-index: 3;
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  color: var(--cream); background: rgba(10, 7, 5, 0.5);
  border: 1px solid rgba(245, 238, 227, 0.16);
  opacity: 0.55; transition: opacity 0.24s var(--ease), background 0.24s var(--ease), transform 0.24s var(--ease);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.card__open svg { width: 12px; height: 12px; }
.card__open:hover { opacity: 1; background: rgba(10, 7, 5, 0.82); transform: scale(1.06); }
.card__badge { position: absolute; left: 0.5rem; top: 0.5rem; z-index: 2; }
.card__eq {
  position: absolute; left: 0.6rem; bottom: 0.6rem; z-index: 3;
  display: none; align-items: flex-end; gap: 2px; height: 11px;
}
.card.is-playing .card__eq { display: flex; }
.card__eq i { width: 2px; border-radius: 2px; background: var(--gold); animation: eq 0.9s ease-in-out infinite; }
.card__eq i:nth-child(1) { height: 5px; }
.card__eq i:nth-child(2) { height: 10px; animation-delay: 0.14s; }
.card__eq i:nth-child(3) { height: 7px; animation-delay: 0.28s; }
.card__eq i:nth-child(4) { height: 11px; animation-delay: 0.42s; }
@keyframes eq { 0%, 100% { transform: scaleY(0.42); } 50% { transform: scaleY(1); } }

.card__body { padding: 0.68rem 0.72rem 0.8rem; display: grid; gap: 0.28rem; }
.card__title {
  font-size: 0.92rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.24;
  color: var(--cream-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.card__meta { display: flex; align-items: center; gap: 0.45rem; font-size: 0.72rem; color: var(--faint); font-variant-numeric: tabular-nums; }
.card__meta i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: 0.55; }
.card__prog {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: rgba(245, 238, 227, 0.16); overflow: hidden;
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.card.is-current .card__prog { opacity: 1; }
.card__prog i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--gold), var(--ember)); }
.year-head {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 0.85rem;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.2em; color: var(--faint);
  text-transform: uppercase; margin-top: 0.55rem;
}
.year-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ── about ──────────────────────────────────────────────────────────────── */
.about { display: grid; gap: clamp(1.6rem, 4vw, 3.4rem); }
.about__figure {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--line); background: var(--panel-2); box-shadow: var(--sh-2);
}
.about__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 46% 62%; }
.about__figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 7, 5, 0) 45%, rgba(10, 7, 5, 0.72));
  pointer-events: none;
}
.about__cap {
  position: absolute; left: 1.1rem; bottom: 1rem; z-index: 2;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream);
  display: flex; align-items: center; gap: 0.45rem;
}
.about__cap::before { content: ""; width: 18px; height: 1px; background: var(--ember); }
.about__copy { display: grid; gap: 1rem; align-content: center; }
.about__head {
  font-family: var(--display); font-weight: 400; font-size: clamp(1.35rem, 3vw, 1.95rem);
  line-height: 1.4; color: var(--cream-2); letter-spacing: -0.008em;
}
.about__text { color: var(--soft); line-height: 1.72; }
.about__sign {
  margin-top: 0.3rem; padding-top: 1rem; border-top: 1px solid var(--line);
  font-family: var(--display); font-style: italic; font-size: 1.2rem; color: var(--gold);
}
.facts {
  display: grid; gap: 1px; margin-top: clamp(1.8rem, 4vw, 3rem);
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.facts > li { background: var(--ink-2); padding: 1.1rem 1.2rem; display: grid; gap: 0.3rem; }
.facts dt, .facts .k { font-size: 0.63rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.facts strong, .facts b { font-weight: 500; font-size: 0.98rem; color: var(--cream-2); }
.facts a { text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 1px; transition: border-color 0.2s; }
.facts a:hover { border-color: var(--ember); }

/* ── listen ─────────────────────────────────────────────────────────────── */
.listen { text-align: center; overflow: hidden; position: relative; }
.listen::before {
  content: ""; position: absolute; left: 50%; top: 50%; z-index: 0;
  width: min(900px, 120vw); aspect-ratio: 2/1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 106, 43, 0.14), transparent 70%);
  pointer-events: none;
}
.listen > .wrap { position: relative; z-index: 1; display: grid; justify-items: center; gap: 1.1rem; }
.listen__badge { width: 108px; height: auto; filter: drop-shadow(0 10px 28px rgba(0,0,0,.5)); }
.listen__head {
  font-family: var(--sans); font-weight: 700; letter-spacing: -0.028em;
  font-size: clamp(1.7rem, 4.4vw, 2.6rem); color: var(--cream-2); line-height: 1.12;
  text-wrap: balance; max-width: 22ch;
}
.listen__head em { font-style: normal; color: var(--ember); }
.listen__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-top: 0.4rem; }
.plat {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.78rem 1.15rem; border-radius: var(--r);
  border: 1px solid var(--line-2); background: rgba(245, 238, 227, 0.04);
  text-decoration: none; transition: all 0.26s var(--ease);
}
.plat:hover { transform: translateY(-2px); background: rgba(245, 238, 227, 0.09); border-color: var(--line-3); }
.plat svg { width: 20px; height: 20px; flex: none; }
.plat span { display: grid; text-align: left; line-height: 1.15; }
.plat b { font-size: 0.92rem; font-weight: 600; color: var(--cream-2); }
.plat small { font-size: 0.68rem; color: var(--faint); letter-spacing: 0.06em; }

/* ── contact ────────────────────────────────────────────────────────────── */
.contact { display: grid; gap: clamp(1.6rem, 4vw, 3.2rem); }
.contact__aside { display: grid; gap: 1rem; align-content: start; }
.contact__mail {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: clamp(1rem, 2.2vw, 1.18rem); font-weight: 500; color: var(--cream-2);
  text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 0.25rem;
  transition: border-color 0.24s var(--ease), color 0.24s var(--ease);
}
.contact__mail:hover { border-color: var(--ember); color: #fff; }
.contact__mail svg { width: 18px; height: 18px; }
.contact__list { display: grid; gap: 0.7rem; margin-top: 0.4rem; }
.contact__list li { display: flex; gap: 0.6rem; font-size: 0.9rem; color: var(--soft); }
.contact__list svg { width: 16px; height: 16px; flex: none; margin-top: 0.22rem; color: var(--ember-2); }

.form {
  display: grid; gap: 1rem;
  padding: clamp(1.1rem, 3vw, 1.9rem);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--panel-2), var(--ink-2));
  box-shadow: var(--sh-2);
}
.form__row { display: grid; gap: 1rem; }
.field { position: relative; display: grid; gap: 0.35rem; min-width: 0; }
.field > label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); transition: color 0.24s var(--ease);
}
.field:focus-within > label { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.82rem 1rem;
  background: rgba(10, 7, 5, 0.55);
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  color: var(--cream-2); font-size: 0.98rem; line-height: 1.5;
  -webkit-appearance: none; appearance: none;
  transition: border-color 0.24s var(--ease), background 0.24s var(--ease), box-shadow 0.24s var(--ease);
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%239d9080' d='M6 8.4 1.9 4.3l.9-.9L6 6.6l3.2-3.2.9.9z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 12px;
  padding-right: 2.4rem; cursor: pointer;
}
.field select option { background: var(--panel-2); color: var(--cream-2); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ember);
  background: rgba(10, 7, 5, 0.75);
  box-shadow: 0 0 0 3px rgba(255, 106, 43, 0.16);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: rgba(240, 85, 79, 0.7); }
.field input:-webkit-autofill, .field input:-webkit-autofill:hover {
  -webkit-text-fill-color: var(--cream-2);
  box-shadow: 0 0 0 40px rgba(14, 10, 8, 1) inset;
}
.field__hint { font-size: 0.72rem; color: var(--faint); }
.field__hint.is-warn { color: #e9a48f; }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.1rem; margin-top: 0.15rem; }
.form__note { font-size: 0.75rem; color: var(--faint); max-width: 30ch; }
.form__submit { min-width: 12.5rem; }
.spinner {
  width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid rgba(20, 13, 6, 0.35); border-top-color: #180d06;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(1turn); } }

.form__status:not(:empty) { margin-top: 0.2rem; }
.note {
  display: flex; gap: 0.7rem; align-items: flex-start;
  padding: 0.85rem 1rem; border-radius: var(--r-sm);
  font-size: 0.9rem; line-height: 1.5; color: var(--cream-2);
  background: rgba(245, 238, 227, 0.05); border: 1px solid var(--line-2);
  animation: rise 0.5s var(--ease-out) both;
}
.note svg { width: 18px; height: 18px; flex: none; margin-top: 0.12rem; }
.note--ok { border-color: rgba(255, 179, 71, 0.42); background: rgba(255, 179, 71, 0.09); }
.note--err { border-color: rgba(240, 85, 79, 0.42); background: rgba(240, 85, 79, 0.09); }
.note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── footer ─────────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding: clamp(2.4rem, 5vw, 3.6rem) 0 1.6rem; }
.footer__top { display: grid; gap: 1.6rem; margin-bottom: 2rem; }
.footer__brand { display: grid; gap: 0.8rem; max-width: 32ch; }
.footer__lockup { width: min(250px, 62vw); }
.footer__cols { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.footer__cols h3 { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); margin-bottom: 0.7rem; }
.footer__cols ul { display: grid; gap: 0.45rem; }
.footer__cols a { text-decoration: none; font-size: 0.9rem; color: var(--soft); transition: color 0.2s; }
.footer__cols a:hover { color: var(--cream-2); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; align-items: center; justify-content: space-between;
  padding-top: 1.3rem; border-top: 1px solid var(--line);
  font-size: 0.78rem; color: var(--faint);
}

/* ── miniplayer ─────────────────────────────────────────────────────────── */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  padding: 0 0 env(safe-area-inset-bottom);
  transform: translateY(120%); visibility: hidden;
  transition: transform 0.42s var(--ease), visibility 0.42s;
}
.dock.is-open { transform: none; visibility: visible; }

/* one slim capsule: art, identity, clock, controls — the seek bar rides the rim */
.dock__inner {
  position: relative;
  width: min(640px, 100% - var(--gutter) * 2);
  margin: 0 auto 0.9rem;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto auto auto;
  align-items: center; gap: 0.35rem 0.7rem;
  padding: 0.5rem 0.55rem 0.62rem;
  border-radius: var(--pill);
  background: rgba(15, 11, 9, 0.82);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(26px) saturate(160%); -webkit-backdrop-filter: blur(26px) saturate(160%);
  box-shadow: var(--sh-3);
}
.dock__art {
  position: relative; cursor: pointer; width: 42px; height: 42px; border-radius: var(--r-xs);
  overflow: hidden; flex: none; background: var(--panel-2);
}
.dock__art img { width: 100%; height: 100%; object-fit: cover; }
.dock__id { min-width: 0; display: grid; gap: 0.06rem; cursor: pointer; }
.dock__title {
  display: flex; align-items: center; gap: 0.42rem; min-width: 0;
  font-size: 0.87rem; font-weight: 600; color: var(--cream-2); letter-spacing: -0.01em;
}
.dock__title > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dock__sub { font-size: 0.7rem; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock.is-error .dock__sub { color: #e9a48f; }
.dock__eq { display: none; align-items: flex-end; gap: 2px; height: 11px; flex: none; }
.dock.is-playing .dock__eq { display: flex; }
.dock__eq i { width: 2px; border-radius: 2px; background: var(--gold); animation: eq 0.9s ease-in-out infinite; }
.dock__eq i:nth-child(1) { height: 4px; }
.dock__eq i:nth-child(2) { height: 10px; animation-delay: 0.13s; }
.dock__eq i:nth-child(3) { height: 7px; animation-delay: 0.26s; }
.dock__eq i:nth-child(4) { height: 9px; animation-delay: 0.39s; }

.dock__time {
  display: flex; align-items: center; gap: 0.25rem; flex: none;
  font-size: 0.68rem; font-variant-numeric: tabular-nums; color: var(--faint);
  transition: color 0.24s var(--ease);
}
.dock__time b { color: var(--soft); font-weight: 500; }
.dock__sep { opacity: 0.45; }
.dock__inner:hover .dock__time { color: var(--muted); }

.dock__ctrls { display: flex; align-items: center; gap: 0.1rem; flex: none; }
.dock__btn {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  color: var(--muted); border: 1px solid transparent;
  transition: background 0.22s var(--ease), color 0.22s var(--ease);
}
.dock__btn:hover { background: rgba(245, 238, 227, 0.1); color: var(--cream); }
.dock__btn svg { width: 14px; height: 14px; }
.dock__play {
  width: 38px; height: 38px; margin-inline: 0.2rem;
  background: linear-gradient(180deg, var(--ember-2), var(--ember)); color: #180d06;
  box-shadow: 0 5px 16px rgba(255, 106, 43, 0.28);
}
.dock__play:hover { background: linear-gradient(180deg, #ffa15c, var(--ember-2)); color: #180d06; }
.dock__play svg { width: 15px; height: 15px; }

/* the seek bar is a hairline on the capsule's lower rim */
.dock__seek { position: absolute; left: 1.3rem; right: 1.3rem; bottom: 0.2rem; }
.dock__extras { display: none; align-items: center; gap: 0.3rem; }
.dock__close { color: var(--faint); }
.dock__close:hover { color: var(--cream-2); }

.bar { position: relative; width: 100%; height: 14px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
.bar__track { position: relative; height: 2px; width: 100%; border-radius: 2px; background: rgba(245, 238, 227, 0.16); overflow: hidden; transition: height 0.2s var(--ease); }
.bar__fill {
  position: absolute; inset: 0; transform-origin: left center;
  transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--gold), var(--ember));
}
.bar:hover .bar__track, .bar:focus-visible .bar__track { height: 4px; }
.bar__knob {
  position: absolute; top: 50%; left: calc(var(--p, 0) * 100%);
  width: 9px; height: 9px; border-radius: 50%; background: var(--cream-2);
  transform: translate(-50%, -50%) scale(0); transition: transform 0.2s var(--ease);
  box-shadow: 0 0 0 3px rgba(255, 106, 43, 0.22);
}
.bar:hover .bar__knob, .bar:focus-visible .bar__knob { transform: translate(-50%, -50%) scale(1); }

/* collapsed pill */
.dock.is-mini .dock__inner {
  grid-template-columns: 38px minmax(0, 1fr) auto;
  width: auto; max-width: min(420px, 100% - var(--gutter) * 2);
  margin-inline: auto; padding: 0.34rem 0.45rem 0.4rem 0.34rem;
  border-radius: var(--pill); gap: 0.3rem 0.6rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}
.dock.is-mini .dock__extras, .dock.is-mini .dock__time { display: none !important; }
.dock.is-mini .dock__ctrls .dock__skip { display: none; }
.dock.is-mini .dock__art { width: 38px; height: 38px; border-radius: 50%; }
.dock.is-mini .dock__art img { animation: spin 9s linear infinite; animation-play-state: paused; }
.dock.is-mini.is-playing .dock__art img { animation-play-state: running; }
.dock.is-mini .dock__sub { display: none; }
.dock.is-mini .dock__title { font-size: 0.83rem; }
.dock.is-mini .dock__seek { left: 1.1rem; right: 1.1rem; bottom: 0.14rem; }

@media (min-width: 640px) {
  .dock__extras { display: flex; }
}
@media (max-width: 639px) {
  .dock__inner {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    padding: 0.45rem 0.5rem 0.6rem; gap: 0.3rem 0.55rem;
  }
  .dock__art { width: 40px; height: 40px; }
  .dock__time { display: none; }
  .dock__ctrls { gap: 0.02rem; }
  .dock__btn { width: 30px; height: 30px; }
  .dock__btn svg { width: 13px; height: 13px; }
  .dock__play { width: 36px; height: 36px; margin-inline: 0.08rem; }
  .dock__play svg { width: 14px; height: 14px; }
  .dock__title { font-size: 0.85rem; }
  .dock__sub { font-size: 0.66rem; }
  .dock__extras { display: none; }
  /* no room for the collapse toggle on a phone — the title needs the width */
  #dock-mini { display: none; }
}

/* ── responsive layout ──────────────────────────────────────────────────── */
@media (min-width: 640px) {
  :root { --gutter: 1.6rem; }
  .hero__img { object-position: center 58%; }
  .form__row--2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  :root { --gutter: 2rem; }
  .header__inner { gap: 1.6rem; }
  .about { grid-template-columns: 0.82fr 1.18fr; align-items: center; }
  .about__figure img { aspect-ratio: 3 / 4; }
  .contact { grid-template-columns: 0.86fr 1.14fr; align-items: start; }
  .footer__top { grid-template-columns: 1.1fr 1fr; gap: 3rem; }
  .feature { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); align-items: center; }
  .feature__art { padding: 0.85rem 0 0.85rem 0.85rem; }
  .feature__art img { border-radius: var(--r-lg); }
  .hero__inner { padding-bottom: clamp(3.4rem, 6.5vw, 5rem); }
}
@media (min-width: 1024px) {
  .section-head { grid-template-columns: 1fr auto; align-items: end; }
  .section-head > p { justify-self: end; }
}
@media (max-width: 899px) {
  .hero__scroll { display: none; }
  .nav { display: none; }
  .burger { display: grid; }
}
@media (max-width: 700px) {
  .hero__tagline { margin-top: 0.7rem; }
}
@media (max-width: 380px) {
  .brand__name { font-size: 0.86rem; letter-spacing: 0.1em; }
  .hero__copy { --mark-w: min(88vw, 100%); }
}

/* on-screen-player spacing */

/* on-screen-player spacing */
body.has-dock { padding-bottom: 96px; }
@media (min-width: 860px) { body.has-dock { padding-bottom: 94px; } }
@media (max-width: 899px) { body.has-dock { padding-bottom: 124px; } }

/* ── motion preferences ─────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .rise, .js .reveal { opacity: 1 !important; transform: none !important; }
  .hero__img { animation: none !important; transform: none !important; }
  .card:hover, .card:focus-within { transform: none; }
}
