/* ==========================================================================
   Punky Hall's Convenience Store — Courtside Lush
   Black + pink storefront from the hand-built 2018 site, modernised.
   ========================================================================== */

:root {
  --ink: #0a0a0a;
  --ink-2: #141313;
  --paper: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --line: rgba(255, 255, 255, 0.92);
  --line-soft: rgba(255, 255, 255, 0.16);
  --pink: #df8181;          /* original header / hover colour */
  --pink-deep: #c96565;     /* favicon tile */
  --red: #b8322f;
  --cream: #f5efe6;

  --bar-h: 60px;
  --gutter: clamp(16px, 3vw, 40px);
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--bar-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: clamp(15px, 0.9rem + 0.15vw, 17px);
  line-height: 1.6;
  letter-spacing: 0.02em;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
sup { font-size: 0.62em; line-height: 0; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 4px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--pink); color: #000; padding: 0.6em 1.1em; border-radius: 999px;
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 10px; }

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.72rem; font-weight: 700; font-stretch: 118%;
  text-transform: uppercase; letter-spacing: 0.28em; color: var(--pink);
}

/* ---------- Top bar (sticky) ---------- */
.bar {
  position: sticky; top: 0; z-index: 60;
  height: var(--bar-h);
  display: flex; align-items: center; gap: 12px;
  padding: 0 var(--gutter);
  background: var(--ink); /* solid on purpose: backdrop blur caused black flashes in Chrome */
  border-bottom: 1px solid var(--line-soft);
}
.bar__mark {
  display: flex; align-items: center; gap: 10px; flex: 1 1 0;
  text-decoration: none; white-space: nowrap;
  font-size: 0.74rem; font-weight: 700; font-stretch: 115%;
  text-transform: uppercase; letter-spacing: 0.16em;
}
.bar__mark img { width: 32px; height: 32px; border-radius: 9px; }
.nav { display: flex; gap: 2px; }
.nav a {
  text-decoration: none; white-space: nowrap;
  font-size: 0.72rem; font-weight: 650; font-stretch: 112%;
  text-transform: uppercase; letter-spacing: 0.16em;
  padding: 0.62em 1em; border-radius: 999px;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.nav a:hover { background: var(--pink); color: #000; }
.nav a[aria-current="page"] { box-shadow: inset 0 0 0 1px var(--line); }
.bar .socials { flex: 1 1 0; justify-content: flex-end; }

.socials { display: flex; flex-wrap: wrap; gap: 2px; list-style: none; margin: 0; padding: 0; }
.socials a {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.socials svg { width: 17px; height: 17px; fill: currentColor; }
.socials a:hover { background: var(--pink); color: #000; transform: translateY(-2px); }
.socials--under { display: none; }

@media (max-width: 860px) {
  .bar .socials { display: none; }
  .bar__mark span { display: none; }
  .bar__mark { flex: 0 0 auto; }
  .nav { margin-left: auto; }
  .socials--under { display: flex; justify-content: center; margin-top: 1.1rem; color: #000; }
  .socials--under a:hover { background: #000; color: var(--pink); }
}
@media (max-width: 400px) { .nav a { padding: 0.62em 0.7em; letter-spacing: 0.1em; } }

/* ---------- Awning (pink header with scalloped edge) ---------- */
.awning {
  position: relative; z-index: 5;
  background: var(--pink); color: #000;
  padding: clamp(30px, 5vw, 60px) var(--gutter) clamp(18px, 2.6vw, 30px);
  text-align: center;
}
.awning::after {
  content: ""; position: absolute; left: 0; right: 0; top: calc(100% - 1px); height: 26px;
  background: url("../img/scallop.svg") repeat-x 0 0 / 104px 26px;
  pointer-events: none;
}
.awning__logo { width: min(860px, 100%); margin-inline: auto; }
.awning__tag span { white-space: nowrap; }
.awning__tag {
  margin: 1rem 0 0;
  font-size: 0.7rem; font-weight: 700; font-stretch: 120%;
  text-transform: uppercase; letter-spacing: 0.3em;
}
.awning--compact { padding-top: clamp(22px, 3.4vw, 40px); }
.awning--compact .awning__logo { width: min(620px, 100%); }

/* ---------- Storefront: scroll to walk through the door ---------- */
.storefront { position: relative; }
.motion .storefront { height: 250vh; height: 250svh; }
.storefront__stage {
  display: grid; place-items: center; align-content: center; gap: 18px;
  padding: 56px var(--gutter) 40px;
}
.motion .storefront__stage {
  position: sticky; top: var(--bar-h);
  height: calc(100vh - var(--bar-h)); height: calc(100svh - var(--bar-h));
  overflow: hidden; contain: paint; padding-block: 34px 18px;
}
.storefront.is-through .storefront__art { visibility: hidden; } /* drop the huge zoomed layer once we're inside */
@media (max-aspect-ratio: 4/5) {
  /* tall phone screens: sit the storefront near the top instead of floating mid-screen */
  .motion .storefront__stage { align-content: start; padding-top: 48px; }
}
.storefront__art {
  width: min(calc(100svh - var(--bar-h) - 90px), 88vw, 880px);
  min-width: min(300px, 88vw);
  aspect-ratio: 1;
  transform-origin: 48.6% 60.5%;          /* the pink glass in the shop door */
  transform: scale(calc(1 + var(--zoom, 0) * 11));
  border-radius: calc(16px * (1 - var(--zoom, 0)));
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(223, 129, 129, 0.35);
}
.storefront__art img { width: 100%; height: 100%; object-fit: cover; }
.storefront__veil {
  position: absolute; inset: 0; pointer-events: none;
  background: var(--ink); opacity: var(--veil, 0);
}
.storefront__hello {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
  padding: var(--gutter); pointer-events: none;
  opacity: var(--hello, 0);
  transform: translateY(calc((1 - var(--hello, 0)) * 24px));
}
.storefront__hello h2 {
  margin: 0; font-size: clamp(3rem, 11vw, 9rem); line-height: 0.9;
  font-weight: 800; font-stretch: 62%; text-transform: uppercase; letter-spacing: 0.01em;
}
.storefront__hello p {
  margin: 1rem 0 0; font-size: 0.75rem; font-weight: 700; font-stretch: 120%;
  text-transform: uppercase; letter-spacing: 0.3em; color: var(--pink);
}
.no-motion .storefront__veil, .no-motion .storefront__hello { display: none; }

/* ---------- Inside: the three columns from the hand-built site ---------- */
.inside { padding: clamp(28px, 4vw, 56px) var(--gutter) clamp(60px, 8vw, 120px); }
.inside__grid {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(0, 2.25fr) minmax(250px, 1.1fr);
  max-width: 1680px; margin-inline: auto;
}
.col { border-left: 1px solid var(--line); min-width: 0; }
.col__sticky { position: sticky; top: calc(var(--bar-h) + 20px); }
.col__head {
  margin: 0; padding: 0 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  font-size: clamp(1rem, 0.8rem + 0.5vw, 1.3rem); font-weight: 700; font-stretch: 108%;
  text-transform: uppercase; letter-spacing: 0.12em;
}
.col__body { padding: 22px clamp(14px, 1.4vw, 22px) 0; }

/* Shelf tags (Our Selection) */
.shelf { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tag {
  position: relative; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2px 10px;
  padding: 14px 16px 14px;
  border: 1px solid var(--line-soft); border-radius: 14px;
  background: var(--ink-2);
  text-decoration: none;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.tag::before { /* hang-tag punch hole */
  content: ""; position: absolute; top: 12px; right: 14px; width: 9px; height: 9px;
  border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; opacity: 0.55;
}
.tag__aisle {
  grid-column: 1 / -1;
  font-size: 0.64rem; font-weight: 700; font-stretch: 120%;
  text-transform: uppercase; letter-spacing: 0.26em; color: var(--pink);
  transition: color 0.3s var(--ease);
}
.tag__name {
  font-size: clamp(1.25rem, 0.9rem + 0.9vw, 1.65rem); line-height: 1.05;
  font-weight: 800; font-stretch: 72%; text-transform: uppercase; letter-spacing: 0.03em;
}
.tag__meta {
  grid-column: 1; display: flex; align-items: center; gap: 7px;
  font-size: 0.74rem; color: var(--muted); transition: color 0.3s var(--ease);
}
.tag__meta svg { width: 14px; height: 14px; fill: currentColor; }
.tag__go { grid-column: 2; grid-row: 2 / span 2; width: 20px; height: 20px; fill: currentColor; transition: transform 0.3s var(--ease); }
.tag:hover { background: var(--pink); border-color: var(--pink); color: #000; transform: translateX(4px); }
.tag:hover .tag__aisle, .tag:hover .tag__meta { color: #000; }
.tag:hover .tag__go { transform: translateX(3px); }
.shelf__note {
  margin: 18px 2px 0; font-size: 0.78rem; color: var(--muted); line-height: 1.5;
}

/* Swoonlight photo pages — a sticky stack instead of a slideshow */
.col--center .col__head { color: var(--muted); font-weight: 600; }
.credits {
  margin: 12px 0 0; text-align: center;
  font-family: var(--serif); font-style: italic; font-size: 0.98rem; color: var(--muted); letter-spacing: 0;
}
.stack { list-style: none; margin: 0; padding: 22px clamp(14px, 2vw, 34px) 0; }
.stack__card {
  --in: 1; --cover: 0;
  position: sticky; top: calc(var(--bar-h) + 26px + var(--i) * 12px);
  margin: 0 auto 34vh;
  width: min(100%, calc((100svh - var(--bar-h) - 90px) * 1.3));
}
.stack__card:last-child { margin-bottom: 6vh; }
.stack__card:nth-child(odd)  { --tilt: -5deg; --rest: -0.6deg; }
.stack__card:nth-child(even) { --tilt: 5deg;  --rest: 0.7deg; }
.stack__card figure {
  /* the transform lives on the figure so the sticky <li> can be measured untransformed */
  transform-origin: 50% 0%;
  transform:
    translateY(calc((1 - var(--in)) * 70px))
    rotate(calc(var(--tilt, 0deg) * (1 - var(--in)) + var(--rest, 0deg)))
    scale(calc(1 - var(--cover) * 0.08));
  will-change: transform;
  position: relative; margin: 0; background: #fff; border-radius: 6px; overflow: hidden;
  box-shadow: 0 2px 0 rgba(255,255,255,0.06), 0 40px 70px -28px rgba(0, 0, 0, 0.95);
}
.stack__card figure::after { /* dims a page as the next one covers it */
  content: ""; position: absolute; inset: 0; background: #000;
  opacity: calc(var(--cover) * 0.62); pointer-events: none;
}
.stack__card img { width: 100%; aspect-ratio: 1024 / 790; object-fit: cover; }

/* News & Updates */
.news { list-style: none; margin: 0; padding: 0; }
.post { padding: 0 0 18px; margin: 0 0 18px; border-bottom: 1px solid var(--line-soft); }
.post:last-child { border-bottom: 0; }
.post time {
  display: block; margin-bottom: 4px;
  font-weight: 800; font-stretch: 105%; letter-spacing: 0.08em; font-size: 0.95rem;
}
.post .byline { display: block; margin: -2px 0 4px; font-size: 0.7rem; font-weight: 700; font-stretch: 118%; text-transform: uppercase; letter-spacing: 0.22em; color: var(--pink); }
.post p { margin: 0; font-size: 0.88rem; line-height: 1.65; color: rgba(255,255,255,0.86); }

@media (max-height: 760px) and (min-width: 1081px) { .col--right .col__sticky { position: static; } }

/* Tablet: selection + news side by side, pages full width */
@media (max-width: 1080px) {
  .inside__grid { grid-template-columns: 1fr 1fr; }
  .col--center { grid-column: 1 / -1; grid-row: 2; border-left: 0; margin-top: 48px; }
  .col--left { grid-column: 1; grid-row: 1; }
  .col--right { grid-column: 2; grid-row: 1; }
  .col__sticky { position: static; }
  .shelf { grid-template-columns: 1fr 1fr; }
  .stack__card { width: min(100%, calc((100svh - var(--bar-h) - 60px) * 1.3)); margin-bottom: 22vh; top: calc(var(--bar-h) + 16px + var(--i) * 10px); }
}
@media (max-width: 680px) {
  .inside__grid { grid-template-columns: 1fr; }
  .col { border-left: 0; grid-column: 1; }
  .col--right { grid-column: 1; grid-row: 3; margin-top: 56px; }
  .col--center { grid-row: 2; }
  .col__head { text-align: left; padding-inline: 0; }
  .col__body { padding-inline: 0; }
  .stack { padding-inline: 0; }
  .credits { text-align: left; }
  .shelf { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tag { padding: 12px 12px; }
  .tag__meta span { display: none; }
}

/* ---------- Store directory (track list) ---------- */
.directory { border-top: 1px solid var(--line-soft); padding: 0 0 clamp(70px, 9vw, 130px); overflow: hidden; }
.ticker { padding: clamp(26px, 4vw, 48px) 0; white-space: nowrap; }
.ticker__track {
  display: inline-flex; gap: 0.5em;
  font-size: clamp(3rem, 9vw, 8.5rem); line-height: 1; font-weight: 800; font-stretch: 62%;
  text-transform: uppercase; color: var(--pink);
  transform: translate3d(calc(var(--t, 0) * -38%), 0, 0);
  will-change: transform;
}
.ticker__track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--pink); }
.directory__inner {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 90px);
  max-width: 1280px; margin-inline: auto; padding: 0 var(--gutter);
}
.directory__intro h2 {
  margin: 0; font-size: clamp(2.2rem, 1.4rem + 3vw, 4rem); line-height: 0.95;
  font-weight: 800; font-stretch: 66%; text-transform: uppercase;
}
.directory__intro p { color: var(--muted); max-width: 34ch; }
.buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0.85em 1.4em; border-radius: 999px;
  background: var(--pink); color: #000; text-decoration: none;
  font-size: 0.78rem; font-weight: 750; font-stretch: 115%; text-transform: uppercase; letter-spacing: 0.16em;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.button svg { width: 18px; height: 18px; fill: currentColor; }
.button:hover { background: #fff; transform: translateY(-2px); }
.button--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.button--ghost:hover { background: #fff; color: #000; }

/* Shared play / pause icon swap for every play control */
.ic-pause { display: none; }
.is-playing > .ic-play { display: none; }
.is-playing > .ic-pause { display: block; }

/* Little "now playing" equaliser bars */
.eq { display: none; align-items: flex-end; gap: 2px; height: 0.62em; margin-left: 0.45em; vertical-align: 0.05em; }
.is-playing .eq { display: inline-flex; }
.eq i { width: 3px; height: 100%; background: currentColor; border-radius: 1px; transform-origin: bottom; animation: eq 0.9s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-delay: -0.35s; }
.eq i:nth-child(3) { animation-delay: -0.7s; }
@keyframes eq { from { transform: scaleY(0.25); } to { transform: scaleY(1); } }

.button--play { border: 0; cursor: pointer; font-family: inherit; }
.button--play svg { width: 16px; height: 16px; }

/* Store directory rows: play button + link to the lyrics */
.aisles { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.aisles li {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px;
  padding-left: 6px; border-bottom: 1px solid var(--line-soft);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), padding 0.3s var(--ease);
}
.aisles li:hover { background: var(--pink); color: #000; padding-left: 16px; }
.aisles__link {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 16px 6px 16px 0; text-decoration: none; color: inherit;
}
.aisles li:hover .aisles__link { padding-right: 16px; }
.aisles__play {
  position: relative; display: grid; place-items: center; flex: none;
  width: 2.6rem; height: 2.6rem; border-radius: 50%; padding: 0;
  border: 1.5px solid currentColor; background: transparent; color: inherit; cursor: pointer;
  font: 800 0.95rem/1 var(--sans);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.aisles__play svg { width: 15px; height: 15px; fill: currentColor; display: none; }
.aisles__play:hover { transform: scale(1.08); }
/* show the aisle number until you point at it (or it's the current track) */
.aisles__play:hover .aisles__num, .aisles__play:focus-visible .aisles__num, .aisles__play.is-current .aisles__num { display: none; }
.aisles__play:hover:not(.is-playing) .ic-play, .aisles__play:focus-visible:not(.is-playing) .ic-play,
.aisles__play.is-current:not(.is-playing) .ic-play { display: block; }
.aisles__play.is-playing .ic-pause { display: block; }
@media (hover: none) {
  .aisles__num { display: none; }
  .aisles__play:not(.is-playing) .ic-play { display: block; }
}
.aisles__play.is-current { background: var(--pink); border-color: var(--pink); color: #000; }
.aisles li:hover .aisles__play.is-current { background: #000; border-color: #000; color: var(--pink); }
.aisles li.is-current .aisles__name { color: var(--pink); }
.aisles li.is-current:hover .aisles__name { color: #000; }
.aisles__name {
  font-size: clamp(1.3rem, 0.9rem + 1.4vw, 2.1rem); line-height: 1.05;
  font-weight: 800; font-stretch: 72%; text-transform: uppercase; letter-spacing: 0.02em;
  transition: color 0.25s var(--ease);
}
.aisles__go {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.68rem; font-weight: 700; font-stretch: 118%; text-transform: uppercase; letter-spacing: 0.22em; color: var(--muted);
}
.aisles__go svg { width: 16px; height: 16px; fill: currentColor; }
.aisles li:hover .aisles__go { color: #000; }
@media (max-width: 860px) { .directory__inner { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.foot {
  position: relative; border-top: 1px solid var(--line-soft);
  padding: clamp(48px, 7vw, 90px) var(--gutter) 34px; text-align: center;
}
.foot__logo { width: min(520px, 92%); margin: 0 auto 26px; }
.foot .socials { justify-content: center; margin-bottom: 22px; }
.foot__lines { margin: 0; color: var(--muted); font-size: 0.86rem; line-height: 1.9; }
.foot__lines a { color: var(--paper); text-decoration-color: var(--pink); text-underline-offset: 3px; }
.foot__lines a:hover { color: var(--pink); }
.foot__small { margin: 26px 0 0; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.42); }

/* ---------- Lyrics page ---------- */
.page-head { text-align: center; padding: clamp(56px, 7vw, 96px) var(--gutter) clamp(26px, 4vw, 48px); }
.page-head h1 {
  margin: 0; font-size: clamp(3.4rem, 2rem + 7vw, 8rem); line-height: 0.88;
  font-weight: 800; font-stretch: 62%; text-transform: uppercase;
}
.page-head p { margin: 1rem auto 0; color: var(--muted); max-width: 46ch; }

.lyrics {
  display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px);
  max-width: 1200px; margin-inline: auto; padding: 0 var(--gutter) clamp(70px, 9vw, 130px);
}
.lyrics__index { position: sticky; top: calc(var(--bar-h) + 28px); align-self: start; }
.lyrics__index ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.lyrics__index li { border-bottom: 1px solid var(--line-soft); }
.lyrics__index a, .lyrics__index .is-off {
  display: grid; grid-template-columns: 2.2rem 1fr; align-items: center; gap: 8px;
  padding: 11px 8px; text-decoration: none; font-size: 0.86rem; font-weight: 650; font-stretch: 105%;
  text-transform: uppercase; letter-spacing: 0.08em;
  border-radius: 8px; transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.lyrics__index .no { font-variant-numeric: tabular-nums; color: var(--pink); transition: color 0.25s var(--ease); }
.lyrics__index a:hover, .lyrics__index a.is-active { background: var(--pink); color: #000; }
.lyrics__index a:hover .no, .lyrics__index a.is-active .no { color: #000; }
.lyrics__index .is-off {
  width: 100%; border: 0; background: none; text-align: left; cursor: pointer; font-family: inherit;
  color: rgba(255,255,255,0.55);
}
.lyrics__index .is-off:hover, .lyrics__index .is-off.is-current { background: var(--pink); color: #000; }
.lyrics__index .is-off:hover .no, .lyrics__index .is-off.is-current .no { color: #000; }
.lyrics__index .is-off small { display: block; font-size: 0.62rem; letter-spacing: 0.2em; }

.song__play {
  display: inline-flex; align-items: center; gap: 8px; margin-left: auto; align-self: center; flex: none;
  padding: 0.6em 1.05em; border-radius: 999px; border: 0; cursor: pointer;
  background: transparent; color: #fff; box-shadow: inset 0 0 0 1px var(--line);
  font: 750 0.7rem/1 var(--sans); font-stretch: 115%; text-transform: uppercase; letter-spacing: 0.18em;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.song__play svg { width: 13px; height: 13px; fill: currentColor; }
.song__play:hover, .song__play.is-current { background: var(--pink); color: #000; box-shadow: none; }
.song__play.is-playing span:not(.eq) { display: none; }
.song__play .eq { margin-left: 0; }

.song { padding: 8px 0 clamp(56px, 7vw, 96px); scroll-margin-top: calc(var(--bar-h) + 24px); }
.song__head { display: flex; align-items: baseline; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 26px; }
.song__no {
  font-size: clamp(2.2rem, 1.4rem + 2.5vw, 3.6rem); line-height: 1; font-weight: 800; font-stretch: 62%;
  color: transparent; -webkit-text-stroke: 1.4px var(--pink);
}
.song__title {
  margin: 0; font-size: clamp(2rem, 1.2rem + 2.8vw, 3.6rem); line-height: 0.95;
  font-weight: 800; font-stretch: 64%; text-transform: uppercase; letter-spacing: 0.01em;
}
.song__lines p {
  margin: 0; font-family: var(--serif); font-style: italic; letter-spacing: 0;
  font-size: clamp(1.18rem, 1rem + 0.5vw, 1.45rem); line-height: 1.75; color: rgba(255,255,255,0.9);
}
.song__head > * { min-width: 0; }
.song__title { overflow-wrap: break-word; }
@media (max-width: 860px) {
  .lyrics { grid-template-columns: minmax(0, 1fr); }
  .lyrics__index { min-width: 0; top: var(--bar-h); z-index: 10; margin-inline: calc(var(--gutter) * -1); padding: 10px var(--gutter);
    background: var(--ink); border-bottom: 1px solid var(--line-soft); }
  .lyrics__index ol { display: flex; gap: 6px; overflow-x: auto; border: 0; scrollbar-width: none; }
  .lyrics__index li { border: 0; flex: 0 0 auto; }
  .lyrics__index a, .lyrics__index .is-off { display: flex; gap: 6px; padding: 8px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-soft); font-size: 0.74rem; white-space: nowrap; }
  .lyrics__index .is-off small { display: none; }
  .song { scroll-margin-top: calc(var(--bar-h) + 74px); }
}

/* ---------- Album player bar ---------- */
.player {
  position: fixed; z-index: 70; left: 50%; bottom: max(14px, env(safe-area-inset-bottom));
  width: min(1000px, calc(100% - 24px));
  display: grid; align-items: center; gap: 6px 16px;
  grid-template-columns: 48px minmax(120px, 1fr) auto minmax(180px, 1.35fr) auto auto;
  grid-template-areas: "art info controls seek buy close";
  padding: 10px 12px 10px 10px;
  background: #161414; border: 1px solid rgba(255,255,255,0.14); border-radius: 18px;
  box-shadow: 0 24px 60px -18px rgba(0,0,0,0.9), 0 0 0 1px rgba(0,0,0,0.6);
  transform: translate(-50%, calc(100% + 40px)); visibility: hidden;
  transition: transform 0.55s var(--ease), visibility 0s linear 0.55s;
}
.player.is-open { transform: translate(-50%, 0); visibility: visible; transition: transform 0.55s var(--ease), visibility 0s; }
.player__art { grid-area: art; width: 48px; height: 48px; border-radius: 10px; object-fit: cover; }
.player__info { grid-area: info; min-width: 0; display: grid; gap: 1px; }
.player__eyebrow { font-size: 0.6rem; font-weight: 700; font-stretch: 118%; text-transform: uppercase; letter-spacing: 0.24em; color: var(--pink); }
.player__title {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 1.08rem; line-height: 1.2; font-weight: 800; font-stretch: 72%; text-transform: uppercase; letter-spacing: 0.03em;
}
.player.is-playing .player__title .eq { display: inline-flex; color: var(--pink); }
.player__controls { grid-area: controls; display: flex; align-items: center; gap: 4px; }
.player__btn {
  display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: #fff; cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.player__btn svg { width: 18px; height: 18px; fill: currentColor; }
.player__btn:hover { background: rgba(255,255,255,0.1); }
.player__toggle { width: 46px; height: 46px; background: var(--pink); color: #000; }
.player__toggle:hover { background: #fff; transform: scale(1.05); }
.player__toggle svg { width: 20px; height: 20px; }
.player.is-playing .player__toggle .ic-play { display: none; }
.player.is-playing .player__toggle .ic-pause { display: block; }
.player__seek { grid-area: seek; display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 0.72rem; font-variant-numeric: tabular-nums; color: var(--muted); }
.player__seek input {
  --fill: 0%;
  flex: 1; min-width: 0; height: 18px; margin: 0; background: transparent; cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
.player__seek input::-webkit-slider-runnable-track {
  height: 4px; border-radius: 4px;
  background: linear-gradient(to right, var(--pink) var(--fill), rgba(255,255,255,0.2) var(--fill));
}
.player__seek input::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255,255,255,0.2); }
.player__seek input::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--pink); }
.player__seek input::-webkit-slider-thumb {
  -webkit-appearance: none; width: 13px; height: 13px; margin-top: -4.5px; border-radius: 50%; background: #fff; border: 0;
}
.player__seek input::-moz-range-thumb { width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 0; }
.player__buy {
  grid-area: buy; display: inline-flex; align-items: center; gap: 7px;
  padding: 0.6em 1em; border-radius: 999px; text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4);
  font-size: 0.66rem; font-weight: 750; font-stretch: 115%; text-transform: uppercase; letter-spacing: 0.18em;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.player__buy svg { width: 14px; height: 14px; fill: currentColor; }
.player__buy:hover { background: #fff; color: #000; }
.player__close { grid-area: close; width: 32px; height: 32px; color: var(--muted); }
.player__close svg { width: 16px; height: 16px; }
body.has-player { padding-bottom: 96px; }

@media (max-width: 860px) {
  .player {
    grid-template-columns: 44px minmax(0, 1fr) auto auto;
    grid-template-areas: "art info controls close" "seek seek seek seek";
    gap: 4px 10px; padding: 8px 8px 6px; border-radius: 16px;
  }
  .player__art { width: 44px; height: 44px; }
  .player__buy { display: none; }
  .player__btn { width: 34px; height: 34px; }
  .player__toggle { width: 42px; height: 42px; }
  .player__seek { padding: 0 4px; }
  body.has-player { padding-bottom: 130px; }
}

/* ---------- Reveal on scroll ---------- */
.motion [data-reveal] {
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.motion [data-reveal].is-in { opacity: 1; transform: none; }

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

/* player / directory polish */
.aisles__go .eq { margin: 0 6px 0 0; height: 0.9em; color: var(--pink); }
.aisles li:hover .aisles__go .eq { color: #000; }
.player__eyebrow { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 860px) { .player__eyebrow { letter-spacing: 0.16em; } }
@media (max-width: 374px) { .nav a { padding: 0.6em 0.5em; font-size: 0.66rem; letter-spacing: 0.06em; } }
