body.page-releases {
  background: var(--black);
  color: var(--white);
}

/* ── Releases Hero ── */
@keyframes hero-enter {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.releases-hero {
  background: var(--release-accent, var(--color-releases));
  transition: background 0.6s var(--ease-out);
  padding: 48px var(--gutter) 0;
  min-height: 38vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  animation: hero-enter 0.5s var(--ease-out) both;
  animation-delay: 0.1s;
}

.releases-hero-eyebrow {
  font-size: 11px;
  font-weight: var(--fw-semi);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.72);
  margin-bottom: 8px;
}

.releases-hero-title {
  font-family: var(--font-main);
  font-size: var(--text-section-title);
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 0.82;
}

.releases-hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 18px 0;
  border-top: 1.5px solid rgba(0, 0, 0, 0.12);
  margin-top: 16px;
}

.releases-hero-tagline {
  font-size: 11px;
  font-weight: var(--fw-semi);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.72);
}

.releases-count-wrap { text-align: right; }

.releases-count-num {
  font-family: var(--font-main);
  font-size: 32px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.72);
  line-height: 1;
  letter-spacing: -0.03em;
}

.releases-count-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.58);
}

/* ── Featured Release ── */
.featured-release {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #141414;
  min-height: 340px;
}

/* ── Hero Player (glitch wordmark ticker) ── */
.featured-player {
  background: var(--release-accent, var(--color-releases));
  border-right: 1px solid #141414;
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  transition: background 0.6s var(--ease-out);
}

.player-ticker { display: flex; flex-direction: column; }

.player-ticker-row {
  white-space: nowrap;
  font-family: var(--font-main);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 84px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 0.95;
  will-change: transform;
}

.player-ticker-row--solid { color: var(--black); }

.player-ticker-row--outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--white);
  margin-top: -0.42em;
  transform: translateX(var(--glitch-x, 0px));
}

.player-ticker-scroll {
  display: inline-block;
  animation: ticker-scroll 16s linear infinite;
  animation-play-state: paused;
}

.player-ticker-scroll--reverse {
  animation-direction: reverse;
  animation-duration: 12s;
}

.featured-player.is-playing .player-ticker-scroll { animation-play-state: running; }

@keyframes ticker-scroll { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .featured-player.is-playing .player-ticker-scroll { animation-play-state: paused; }
}

.player-transport {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.player-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--black);
  color: var(--white);
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s var(--ease-out);
}

.player-toggle:hover { transform: scale(1.08); }

.player-nowplaying {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
}

/* Track list (right panel) */
.player-tracks {
  list-style: none;
  margin: 24px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid #111;
}

.player-track { border-bottom: 1px solid #111; }

.player-track-btn {
  width: 100%;
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  background: none;
  border: none;
  color: var(--white);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.player-track-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
}

.player-track-name {
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.player-track-state {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--release-accent, var(--color-releases));
  opacity: 0;
  transition: opacity 0.2s;
}

.player-track-btn:hover .player-track-name { color: var(--release-accent, var(--color-releases)); }

.player-track--active .player-track-name { color: var(--release-accent, var(--color-releases)); }
.player-track--active .player-track-state { opacity: 1; }

.featured-info {
  background: var(--black);
  padding: 40px var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.featured-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--release-accent, var(--color-releases));
  transition: color 0.6s var(--ease-out);
  margin-bottom: 12px;
}

.featured-title {
  font-family: var(--font-main);
  font-size: var(--text-section-title);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 0.9;
}

.featured-artist {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 10px;
}

.featured-meta {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #111;
  flex-wrap: wrap;
}

.featured-meta-item { display: flex; flex-direction: column; gap: 3px; }

.featured-meta-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.featured-meta-val {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
}

/* Platform tabs */
.platform-tabs { margin-top: 28px; }

.tab-bar {
  display: flex;
  border-bottom: 1px solid #111;
  margin-bottom: 20px;
}

.tab-btn {
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.62);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
}

.tab-btn--active { color: var(--color-releases); border-bottom-color: var(--color-releases); }
.tab-btn:hover:not(.tab-btn--active) { color: rgba(255, 255, 255, 0.6); }

.tab-panel { display: none; }
.tab-panel--active { display: block; }

.platform-links { display: flex; flex-direction: column; gap: 8px; }

.platform-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid #111;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.platform-link:hover { border-color: #2a2a2a; background: #080808; }

.platform-link-name {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.04em;
}

.platform-link-arrow { font-size: 11px; color: rgba(255, 255, 255, 0.7); }

.featured-cta { margin-top: 20px; display: flex; gap: 12px; align-items: center; }

/* ── Catalog Grid ── */
/* .catalog-header lives in poster.css — merch.html renders the same header
   but does not load this stylesheet. */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 32px) 2px;
  padding-bottom: clamp(32px, 5vw, 72px);
  background: var(--black);
  border-top: 1px solid #141414;
}

.catalog-card {
  min-width: 0;
  color: var(--white);
  font-family: var(--font-main);
}

.catalog-card__artwork {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0a0a0a;
}

.catalog-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.catalog-card__info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  min-height: 76px;
  padding: 12px clamp(12px, 1.4vw, 20px) 0;
}

.catalog-card__title {
  overflow-wrap: anywhere;
  font-size: clamp(14px, 1.3vw, 20px);
  font-weight: var(--fw-semi);
  line-height: 1;
  text-transform: uppercase;
}

.catalog-card__artist {
  margin-top: 6px;
  color: rgba(255,255,255,.58);
  font-size: 10px;
  font-weight: var(--fw-semi);
  line-height: 1.25;
  text-transform: uppercase;
}

.catalog-card__action {
  min-width: 44px;
  min-height: 44px;
  padding: 0 2px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.52);
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: 10px;
  font-weight: var(--fw-semi);
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.catalog-card__action:disabled { color: rgba(255,255,255,.38); cursor: default; }
.catalog-card__action:focus-visible { outline: 2px solid var(--release-accent); outline-offset: 4px; }

@media (hover: hover) and (pointer: fine) {
  .catalog-card:hover .catalog-card__image,
  .catalog-card:focus-within .catalog-card__image { filter: brightness(.82); transform: scale(1.018); }
}

@media (max-width: 900px) { .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Two columns on a phone gives each sleeve ~185px: the release title and the
   artist overlap the artwork and the Bandcamp link clips off the tile. */
@media (max-width: 600px) { .catalog-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .catalog-card__image { transition: none; }
}

/* Catalog grid now shares the poster-wall grid (assets/css/poster.css). */
.poster-wall--releases { border-top: 1px solid #141414; }

/* ── Inline release player ── */
.release-poster { cursor: default; }

.poster--release.poster--with-artwork {
  background-color: var(--poster-color);
  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.06) 58%), var(--poster-artwork);
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.poster--release.poster--with-artwork .poster-starburst { fill: var(--white); }
.poster--release.poster--with-artwork .poster-footer { border-color: rgba(255,255,255,0.45); }
.poster--release.poster--with-artwork .poster-logo span { border-color: var(--white); }

.release-poster-select {
  position: absolute;
  top: 16px;
  right: 18px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.15s;
}

.release-poster:hover .release-poster-select,
.release-poster-select:focus-visible,
.release-poster-select[aria-pressed="true"] { opacity: 0.9; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .featured-release { grid-template-columns: 1fr; }
  .featured-player { min-height: 240px; border-right: none; border-bottom: 1px solid #141414; }
}

/* ── Catalog grid stagger ── */
.poster-wall--releases .poster.reveal:nth-child(2) { transition-delay: 0.1s; }
.poster-wall--releases .poster.reveal:nth-child(3) { transition-delay: 0.2s; }

/* ── Scroll reveal ── */
@media (prefers-reduced-motion: no-preference) {
  .featured-info.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  }
}

.featured-info.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Touch: no latched hover ──
   On a touch screen :hover sticks after a tap and only clears on the next
   tap elsewhere, so the transport button stays enlarged and a tapped buy
   link stays inverted. Reset the ones that persist visibly. */
@media (hover: none) {
  .player-toggle:hover { transform: none; }
  .player-track-btn:hover .player-track-name { color: inherit; }
  .tab-btn:hover:not(.tab-btn--active) { color: rgba(255, 255, 255, 0.62); }
}

/* Give them a press state instead — it releases on its own. */
.player-toggle:active { transform: scale(0.92); }
.tab-btn:active { opacity: 0.7; }
