/* ============================================================
   YMG v17 — CATALOG · VOLUME 01
   Hybrid of v16 architecture + bold editorial direction
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg:      #E8E1D4;       /* bone */
  --bg2:     #DDD4C2;
  --paper:   #F4EFE3;       /* lighter paper */
  --ink:     #14110C;
  --ink2:    #3A332A;
  --muted:   #8A8276;
  --muted2:  #B8AE9C;
  --ox:      #C41E2A;       /* red — primary accent */
  --ox2:     #A31621;
  --border:  rgba(20,17,12,0.13);
  --border-d:rgba(244,239,227,0.1);

  --font-d: 'Big Shoulders Display', sans-serif;
  --font-m: 'JetBrains Mono', monospace;
  --font-s: 'Cormorant Garamond', serif;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font-m); font-size: 14px; line-height: 1.6; font-weight: 400;
  overflow-x: hidden; -webkit-user-select: none; user-select: none;
  -webkit-font-smoothing: antialiased;
}
a, button, [onclick] { cursor: pointer; }
button { background: none; border: none; color: inherit; font: inherit; }
input, select, textarea {
  -webkit-user-select: text; user-select: text; cursor: text;
  font-family: var(--font-m);
}
img { max-width: 100%; display: block; }

/* ============================================================
   GRAIN
   ============================================================ */
.grain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='280' height='280' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.04;
  mix-blend-mode: multiply;
}

/* ============================================================
   PHOTO PLACEHOLDER  (drop assets/<file>.jpg later)
   ============================================================ */
.photo-ph {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, #1a1916 0 22px, #14130f 22px 44px);
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 1.4rem;
  color: rgba(255,255,255,0.32);
  font-family: var(--font-m); font-size: 9px;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.photo-ph.warm {
  background: repeating-linear-gradient(45deg, #2a2218 0 22px, #1f180f 22px 44px);
}
.photo-ph.cool {
  background: repeating-linear-gradient(45deg, #16191e 0 22px, #0f1217 22px 44px);
}
.photo-ph::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 50%);
  pointer-events: none;
}
.photo-ph .label { position: relative; z-index: 1; }

/* Cover art placeholder — square */
.cover-ph {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, var(--ph-a, #cfc7b6) 0 14px, var(--ph-b, #c4bbab) 14px 28px);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-m); font-size: 9px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(20,17,12,0.5); text-align: center; padding: 0.5rem;
}

/* ============================================================
   NAV — catalog header
   ============================================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 2.2rem; height: 64px;
  background: transparent; transition: background 0.35s, color 0.35s, border-color 0.35s;
  font-family: var(--font-m); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(244,239,227,0.78);
  border-bottom: 1px solid transparent;
}
nav.on-photo {
  background: linear-gradient(to bottom, rgba(11,9,6,0.55) 0%, transparent 100%);
  color: rgba(244,239,227,0.78);
}
nav.on-light {
  background: rgba(232,225,212,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  color: var(--ink2);
}
nav.menu-open {
  background: transparent;
  color: var(--ink2);
  border-bottom-color: transparent;
}

.nav-left, .nav-right { display: flex; align-items: center; gap: 1.4rem; }
.nav-right { justify-content: flex-end; }
.nav-mark {
  font-family: var(--font-d); font-weight: 800;
  font-size: 26px; letter-spacing: 0.04em; line-height: 1;
  color: inherit; cursor: pointer;
}
.nav-logo-img {
  height: 40px; width: auto; object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 0.3s;
}
nav.on-light .nav-logo-img { filter: brightness(0); }
nav.menu-open .nav-logo-img { filter: brightness(0); }
.nav-meta { opacity: 0.6; }
.nav-center { text-align: center; opacity: 0.6; }

.nav-hamburger {
  cursor: pointer; padding: 5px 12px;
  border: 1px solid currentColor;
  font-family: var(--font-m); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: inherit; display: inline-flex; align-items: center; gap: 0.5em;
  transition: background 0.2s, color 0.2s;
}
.nav-hamburger:hover { background: currentColor; color: var(--bg); }
nav.menu-open .nav-hamburger:hover { color: var(--paper); background: var(--ink); }

/* Hide nav-mark text + meta when menu open, just show INDEX state */
nav.menu-open .nav-meta { opacity: 0.6; }

/* ============================================================
   SCORPION RUNNER
   ============================================================ */
.scorpion-runner {
  position: absolute;
  top: 50%;
  left: calc(2.2rem + 22px);   /* sits over the M of YMG */
  width: 26px;
  margin-top: -7px;
  color: currentColor;
  pointer-events: none;
  z-index: 4;
  display: block;
}
.scorpion-runner svg { display: block; width: 100%; height: auto; overflow: visible; }
.scorpion-runner .legs-a { opacity: 1; }
.scorpion-runner .legs-b { opacity: 0; }

@keyframes scorpion-run {
  0%   { transform: translate(calc(100vw - 240px), -1px); opacity: 0; }
  5%   { opacity: 1; }
  18%  { transform: translate(calc(80vw - 240px), -3px); }
  35%  { transform: translate(calc(60vw - 240px),  1px); }
  52%  { transform: translate(calc(42vw - 240px), -2px); }
  70%  { transform: translate(calc(25vw - 220px),  1px); }
  85%  { transform: translate(calc(10vw - 100px), -1px); }
  100% { transform: translate(0, 0); opacity: 1; }
}
@keyframes scorpion-legs {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
.scorpion-runner.run {
  animation: scorpion-run 2.6s cubic-bezier(0.5, 0, 0.4, 0.98) 0.6s 1 both;
}
.scorpion-runner.run .legs-a {
  animation: scorpion-legs 0.14s steps(1) 0.6s infinite;
}
.scorpion-runner.run .legs-b {
  animation: scorpion-legs 0.14s steps(1) 0.6s infinite reverse;
}

/* Hide on small screens (no horizontal runway) */
@media (max-width: 700px) {
  .scorpion-runner { display: none; }
}

/* ============================================================
   NAV OVERLAY — paper index
   ============================================================ */
.nav-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: var(--paper);
  display: grid; grid-template-columns: 1fr 320px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.nav-overlay.open { opacity: 1; pointer-events: all; }

.no-list {
  list-style: none; padding: 88px 3rem 2rem 4rem;
  display: flex; flex-direction: column; justify-content: center;
}
.no-list li {
  display: grid; grid-template-columns: 64px 1fr auto;
  align-items: baseline;
  padding: 0.5rem 0;
  border-top: 1px solid var(--border);
  cursor: pointer;
  transition: padding 0.25s ease, background 0.25s ease;
  transform: translateY(20px); opacity: 0;
}
.no-list li:last-child { border-bottom: 1px solid var(--border); }
.nav-overlay.open .no-list li { transform: translateY(0); opacity: 1; transition: padding 0.25s ease, background 0.25s ease, transform 0.5s ease, opacity 0.5s ease; }
.nav-overlay.open .no-list li:nth-child(1){transition-delay:0.04s}
.nav-overlay.open .no-list li:nth-child(2){transition-delay:0.08s}
.nav-overlay.open .no-list li:nth-child(3){transition-delay:0.12s}
.nav-overlay.open .no-list li:nth-child(4){transition-delay:0.16s}
.nav-overlay.open .no-list li:nth-child(5){transition-delay:0.20s}
.nav-overlay.open .no-list li:nth-child(6){transition-delay:0.24s}
.nav-overlay.open .no-list li:nth-child(7){transition-delay:0.28s}
.no-list .ix {
  font-family: var(--font-m); font-size: 10px;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted);
  padding-top: 0.7rem;
}
.no-list .lbl {
  font-family: var(--font-d); font-weight: 800;
  font-size: clamp(3.2rem, 7.5vw, 5.6rem); line-height: 0.94;
  color: var(--ink); letter-spacing: -0.005em;
}
.no-list .meta {
  font-family: var(--font-s); font-style: italic;
  font-size: 14px; color: var(--muted); white-space: nowrap;
  padding-top: 0.9rem;
}
.no-list li:hover { padding-left: 1rem; background: var(--bg); }
.no-list li:hover .lbl { color: var(--ox); }
.no-list li:hover .ix { color: var(--ox); }
.no-list li.active .lbl { color: var(--ox); }
.no-list li.active .ix { color: var(--ox); }

.nav-rail {
  border-left: 1px solid var(--border);
  padding: 88px 2rem 2rem;
  display: flex; flex-direction: column; justify-content: space-between;
  font-family: var(--font-m); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.nav-rail-quote {
  font-family: var(--font-s); font-style: italic;
  font-size: 18px; line-height: 1.45; color: var(--ink2);
  letter-spacing: 0; text-transform: none;
  margin-top: 0.6rem;
}
.nav-rail-quote em {
  color: var(--ox); font-style: italic;
}
.nav-rail-socials { display: flex; flex-direction: column; gap: 0.5rem; color: var(--ink); margin-top: 0.6rem; }
.nav-rail-socials a {
  color: inherit; text-decoration: none; cursor: pointer;
  transition: color 0.2s;
}
.nav-rail-socials a:hover { color: var(--ox); }

/* ============================================================
   PAGES
   ============================================================ */
.page { display: none; min-height: 100vh; }
.page.active { display: block; }
.page-inner { max-width: 1280px; margin: 0 auto; padding: 7rem 2.5rem 5rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-m); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
  cursor: pointer; transition: all 0.25s; text-decoration: none;
}
.btn-ox     { background: var(--ox);   border: 1px solid var(--ox);   color: var(--paper); }
.btn-ox:hover    { background: var(--ink); border-color: var(--ink); }
.btn-ink    { background: var(--ink);  border: 1px solid var(--ink);  color: var(--paper); }
.btn-ink:hover   { background: var(--ox);  border-color: var(--ox); }
.btn-ghost  { background: transparent; border: 1px solid var(--ink);  color: var(--ink); }
.btn-ghost:hover { background: var(--ox);  border-color: var(--ox); color: var(--paper); }
.btn-light-ghost { background: transparent; border: 1px solid rgba(244,239,227,0.65); color: var(--paper); }
.btn-light-ghost:hover { background: rgba(244,239,227,0.1); border-color: var(--paper); }

/* ============================================================
   HOME — HERO  (Catalog B: split photo + spec panel)
   ============================================================ */
#page-home { padding-top: 0; }

.hero {
  position: relative; height: 100vh; height: 100dvh;
  display: grid; grid-template-columns: 1.35fr 1fr;
  overflow: hidden;
}

.hero-photo {
  position: relative; overflow: hidden;
  background-color: #1a1916;
}
.hero-photo .slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease;
}
.hero-photo .slide.active { opacity: 1; z-index: 2; }
.hero-photo .slide-bg {
  position: absolute; inset: 0;
  background-size: auto 100%;
  background-position: center 10%;
  background-repeat: no-repeat;
  transform: scale(1.06);
  transition: transform 12s ease;
}
.hero-photo .slide.active .slide-bg { transform: scale(1); }
@media (max-width: 700px) {
  .hero-photo .slide-bg { background-size: cover; background-position: center 15%; }
}

.hero-photo .stamp {
  position: absolute; bottom: 4%; left: 4%; right: 4%; z-index: 3;
  font-family: var(--font-d); font-weight: 900;
  font-size: clamp(5rem, 14vw, 13rem); line-height: 0.84;
  letter-spacing: -0.01em;
  color: var(--paper);
  pointer-events: none;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s ease 0.2s, transform 0.7s ease 0.2s;
}
.hero-photo .slide.active .stamp { opacity: 1; transform: translateY(0); }
.hero-photo .stamp em {
  font-family: var(--font-s); font-style: italic; font-weight: 400;
  display: block; font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  line-height: 1; letter-spacing: 0; margin-bottom: 0.4rem;
  color: rgba(244,239,227,0.65);
}

.hero-photo .corner {
  position: absolute; top: 88px; left: 4%; z-index: 3;
  font-family: var(--font-m); font-size: 10px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(244,239,227,0.6);
}

/* Slide dots */
.slide-dots {
  position: absolute; bottom: 24px; right: 24px; z-index: 10;
  display: flex; gap: 8px;
}
.slide-dot {
  width: 22px; height: 1px; background: rgba(244,239,227,0.3); cursor: pointer;
  transition: all 0.4s;
}
.slide-dot.active { background: var(--paper); width: 38px; }

/* Spec panel */
.hero-panel {
  background: var(--bg); padding: 88px 2.6rem 2rem;
  display: flex; flex-direction: column; justify-content: space-between;
  border-left: 1px solid var(--border);
}
.spec-head {
  display: flex; align-items: baseline; justify-content: space-between;
  font-family: var(--font-m); font-size: 9px;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.7rem; margin-bottom: 1.6rem;
}
.spec-head .ix { color: var(--ox); font-weight: 600; }

.spec-list { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.2rem; align-items: baseline; }
.spec-k {
  font-family: var(--font-m); font-size: 9px;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted);
  padding-top: 0.4rem;
}
.spec-v {
  font-family: var(--font-d); font-weight: 700;
  font-size: clamp(1.5rem, 1.8vw, 1.8rem); line-height: 1;
  color: var(--ink); letter-spacing: 0.005em;
  border-bottom: 1px dotted var(--border);
  padding-bottom: 0.7rem;
}
.spec-v.huge {
  font-family: var(--font-d); font-weight: 800;
  font-size: clamp(3rem, 4.5vw, 4.4rem); line-height: 0.9;
  color: var(--ox); letter-spacing: -0.005em;
}
.spec-v.italic {
  font-family: var(--font-s); font-style: italic;
  font-weight: 400; font-size: 1.4rem;
}
.spec-v.mono {
  font-family: var(--font-m); font-weight: 400;
  font-size: 12px; letter-spacing: 0.18em;
  color: var(--muted); text-transform: uppercase;
}

.cta-row { display: flex; gap: 0.6rem; margin-top: 1.6rem; flex-wrap: wrap; }

.hero-pager {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 1.6rem;
  font-family: var(--font-m); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.hero-pager .arr {
  width: 32px; height: 32px; border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s;
  font-family: var(--font-m); font-size: 14px;
}
.hero-pager .arr:hover { border-color: var(--ox); color: var(--ox); }

/* ============================================================
   PAGE HEADERS
   ============================================================ */
.page-head {
  padding: 6rem 2.5rem 2rem; max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-end;
  border-bottom: 1px solid var(--border);
}
.page-head .left { display: flex; align-items: baseline; gap: 1.2rem; }
.page-head h2 {
  font-family: var(--font-d); font-weight: 900;
  font-size: clamp(3.5rem, 7.5vw, 6.8rem); line-height: 0.86; letter-spacing: -0.005em;
  color: var(--ink);
}
.page-head h2 em {
  font-family: var(--font-s); font-style: italic; font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem); color: var(--ox);
}
.page-head-meta {
  font-family: var(--font-m); font-size: 10px;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted);
  text-align: right; line-height: 1.7;
}
.page-head-meta .accent { color: var(--ox); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-quote-band {
  background: var(--ink); padding: calc(64px + 5rem) 2.5rem 5rem; text-align: center;
}
.about-big-quote {
  font-family: var(--font-s); font-style: italic; font-weight: 300;
  font-size: clamp(1.8rem, 4.2vw, 3.2rem); color: rgba(244,239,227,0.88);
  line-height: 1.3; max-width: 880px; margin: 0 auto;
}
.about-big-quote em { color: var(--ox); font-style: normal; }

.about-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem;
  max-width: 1160px; margin: 0 auto; padding: 5rem 2.5rem;
}
.about-body p {
  font-family: var(--font-s); font-size: 17px; line-height: 1.65;
  color: var(--ink2); font-weight: 400; margin-bottom: 1.2rem;
}
.about-body p em { color: var(--ox); font-style: italic; }
.about-cta { margin-top: 2rem; }

.about-pillars { display: flex; flex-direction: column; }
.about-pillar { padding: 1.6rem 0; border-bottom: 1px solid var(--border); }
.about-pillar:first-child { border-top: 1px solid var(--border); }
.about-pillar-num {
  font-family: var(--font-m); font-size: 10px; letter-spacing: 0.32em;
  color: var(--ox); margin-bottom: 0.4rem; display: block; font-weight: 600;
}
.about-pillar-title {
  font-family: var(--font-d); font-weight: 800; font-size: 1.7rem;
  letter-spacing: 0.005em; color: var(--ox); margin-bottom: 0.4rem; display: block;
}
.about-pillar-text {
  font-family: var(--font-s); font-size: 16px; color: var(--ink2);
  line-height: 1.6; font-weight: 400;
}

/* ============================================================
   ARTISTS — 50/50 split with photo LEFT, big name overlay
   ============================================================ */
.artist-feature {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 92vh; min-height: 92dvh;
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.artist-feature:last-child { border-bottom: 1px solid var(--border); }

.af-photo {
  position: relative; overflow: hidden; min-height: 420px;
  background: linear-gradient(145deg,#1a1a18 0%,#0e0d0c 100%);
}
.af-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform 0.9s ease;
}
.artist-feature:hover .af-photo img { transform: scale(1.03); }

.af-name-stamp {
  position: absolute; bottom: 4%; left: 4%; right: 4%; z-index: 3;
  font-family: var(--font-d); font-weight: 900;
  font-size: clamp(5rem, 11vw, 11rem); line-height: 0.84;
  letter-spacing: -0.015em;
  color: var(--paper); pointer-events: none;
}
.af-name-stamp em {
  font-family: var(--font-s); font-style: italic; font-weight: 400;
  display: block; font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  letter-spacing: 0; line-height: 1; margin-bottom: 0.4rem;
  color: rgba(244,239,227,0.6);
}
.af-corner {
  position: absolute; top: 1.6rem; left: 1.6rem; z-index: 3;
  font-family: var(--font-m); font-size: 10px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(244,239,227,0.55);
}

.af-info {
  padding: 4rem 3.5rem; display: flex; flex-direction: column;
  justify-content: center; background: var(--paper);
  border-left: 1px solid var(--border);
  position: relative;
}
.af-meta-row {
  display: flex; justify-content: space-between;
  font-family: var(--font-m); font-size: 9px;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--border); padding-bottom: 0.7rem; margin-bottom: 1.6rem;
}
.af-meta-row .ix { color: var(--ox); font-weight: 600; }
.af-pull {
  font-family: var(--font-s); font-style: italic; font-weight: 400;
  font-size: clamp(1.3rem, 1.6vw, 1.55rem); line-height: 1.35; color: var(--ink);
  margin-bottom: 1.4rem; max-width: 460px;
  border-left: 2px solid var(--ox); padding-left: 1rem;
}
.af-pull em { font-style: normal; color: var(--ox); }
.af-bio {
  font-family: var(--font-s); font-size: 16px; line-height: 1.65;
  color: var(--ink2); font-weight: 400;
  margin-bottom: 2rem; max-width: 460px;
}
.af-bio em { color: var(--ox); font-style: italic; }

.af-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  margin-bottom: 2rem; max-width: 460px;
}
.af-stat { padding: 0.85rem 0.4rem; border-right: 1px solid var(--border); }
.af-stat:last-child { border-right: none; }
.af-stat .k {
  font-family: var(--font-m); font-size: 9px; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.3rem;
}
.af-stat .v {
  font-family: var(--font-d); font-weight: 700; font-size: 1.7rem;
  color: var(--ink); line-height: 1;
}

.af-links { display: flex; flex-direction: column; max-width: 460px; }
.af-link {
  display: grid; grid-template-columns: 36px 1fr auto;
  align-items: center; gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--border);
  font-family: var(--font-m); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink); cursor: pointer; text-decoration: none;
  transition: padding 0.2s, color 0.2s;
}
.af-link:last-child { border-bottom: 1px solid var(--border); }
.af-link:hover { padding-left: 0.5rem; color: var(--ox); }
.af-link .ix-mini { color: var(--muted2); font-size: 9px; letter-spacing: 0.24em; }
.af-link .arr { color: var(--ox); font-size: 12px; }

/* Default: photo left, info right (matches user request) */
.af-photo { order: 1; }
.af-info  { order: 2; }
/* Alt artist: flipped */
.artist-feature.alt .af-photo { order: 2; }
.artist-feature.alt .af-info  { order: 1; border-left: none; border-right: 1px solid var(--border); }

/* ============================================================
   MUSIC — 3-column grid (A's layout) in catalog styling
   ============================================================ */
.music-grid-wrap {
  max-width: 1280px; margin: 0 auto;
  padding: 3rem 2.5rem 5rem;
}
.music-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
}
.music-card {
  background: var(--paper); position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  cursor: pointer; transition: background 0.25s;
}
.music-card:hover { background: var(--bg); }
.music-cover {
  width: 100%; aspect-ratio: 1;
  background: var(--bg2); position: relative; overflow: hidden;
}
.music-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.music-card:hover .music-cover img { transform: scale(1.04); }

.music-cover-tag {
  position: absolute; top: 0.7rem; left: 0.7rem; z-index: 3;
  font-family: var(--font-m); font-size: 9px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(244,239,227,0.75);
  background: rgba(20,17,12,0.45); padding: 0.25rem 0.5rem;
  backdrop-filter: blur(4px);
}
.music-cover-num {
  position: absolute; top: 0.7rem; right: 0.7rem; z-index: 3;
  font-family: var(--font-m); font-size: 9px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(244,239,227,0.75);
}
.music-overlay {
  position: absolute; inset: 0; background: rgba(20,17,12,0);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.music-card:hover .music-overlay { background: rgba(20,17,12,0.5); }
.music-play-btn {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--ox); border: 1px solid var(--ox);
  color: var(--paper); display: flex; align-items: center; justify-content: center;
  font-size: 16px; opacity: 0; transform: scale(0.9);
  transition: opacity 0.3s, transform 0.3s, background 0.2s; cursor: pointer;
}
.music-card:hover .music-play-btn { opacity: 1; transform: scale(1); }
.music-play-btn:hover { background: var(--ink); border-color: var(--ink); }
.music-play-btn.playing { opacity: 1; transform: scale(1); }

.music-info {
  padding: 1.1rem 1.2rem; border-top: 1px solid var(--border);
}
.music-title {
  font-family: var(--font-d); font-weight: 800;
  font-size: 1.5rem; line-height: 1; letter-spacing: 0;
  color: var(--ink); margin-bottom: 0.35rem;
}
.music-title em {
  font-family: var(--font-s); font-style: italic; font-weight: 400;
  color: var(--ox);
}
.music-meta {
  font-family: var(--font-m); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); display: flex; gap: 0.7rem; align-items: center;
}
.music-meta .sep { color: var(--muted2); }
.music-meta .ox { color: var(--ox); font-weight: 500; }
.music-meta .up { color: #c19a3a; }

/* ---- Album tracklist (releases with a `tracks` array) ---- */
.album-toggle {
  margin-top: 0.75rem;
  font-family: var(--font-m); font-size: 9px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ox); background: none; border: 0; padding: 0;
  cursor: pointer; display: flex; align-items: center; gap: 0.4rem;
  transition: color 0.2s;
}
.album-toggle:hover { color: var(--ink); }
.album-toggle .chev { transition: transform 0.3s ease; font-size: 8px; }
.music-card.open .album-toggle .chev { transform: rotate(180deg); }

.album-tracks {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.music-card.open .album-tracks { grid-template-rows: 1fr; }
.album-tracks-inner { overflow: hidden; }
.album-tracks ol {
  list-style: none; margin: 0;
  padding: 0.4rem 1.2rem 1.1rem;
  border-top: 1px solid var(--border);
}
.album-track {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.5rem 0; cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.album-track:last-child { border-bottom: 0; }
.album-track:hover { color: var(--ox); }
.album-track-num {
  font-family: var(--font-m); font-size: 9px;
  letter-spacing: 0.14em; color: var(--muted2);
  min-width: 1.4rem; flex-shrink: 0;
}
.album-track-title {
  font-family: var(--font-m); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: inherit; flex: 1; line-height: 1.3;
}
.album-track.playing .album-track-title { color: var(--ox); font-weight: 500; }
.album-track-dur {
  font-family: var(--font-m); font-size: 9px;
  letter-spacing: 0.14em; color: var(--muted2); flex-shrink: 0;
}
.album-track-cue {
  font-size: 9px; color: var(--ox);
  opacity: 0; transition: opacity 0.2s; flex-shrink: 0;
}
.album-track:hover .album-track-cue,
.album-track.playing .album-track-cue { opacity: 1; }

/* ============================================================
   STUDIO  (kept architecture from v16, restyled)
   ============================================================ */
.studio-hero {
  height: 42vh; min-height: 280px; background: var(--ink);
  display: flex; align-items: flex-end; padding: 3.5rem 2.5rem;
  position: relative; overflow: hidden;
}
.studio-hero-bg-text {
  position: absolute; right: -0.5rem; bottom: -2rem;
  font-family: var(--font-d); font-weight: 900;
  font-size: clamp(8rem, 22vw, 18rem); letter-spacing: -0.01em;
  color: rgba(244,239,227,0.04); line-height: 0.86;
  pointer-events: none; white-space: nowrap;
}
.studio-hero-inner { position: relative; z-index: 1; }
.studio-hero-eyebrow {
  font-family: var(--font-m); font-size: 10px; letter-spacing: 0.32em;
  text-transform: uppercase; color: rgba(244,239,227,0.55);
  margin-bottom: 0.8rem; display: block;
}
.studio-hero-title {
  font-family: var(--font-d); font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 0.92; letter-spacing: -0.005em;
  color: var(--paper);
}
.studio-hero-title .big-ymg {
  font-family: var(--font-d); font-weight: 900; font-style: normal;
  color: var(--ox); display: block;
  font-size: clamp(6rem, 16vw, 13rem); line-height: 0.84; letter-spacing: -0.015em;
  margin-bottom: 0.2rem;
}
.studio-hero-title em {
  font-family: var(--font-s); font-style: italic; font-weight: 400;
  color: rgba(244,239,227,0.7); display: inline-block;
  font-size: 0.5em; margin-left: 0.4rem; letter-spacing: 0;
}

.studio-body {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem;
  padding: 5rem 2.5rem; max-width: 1280px; margin: 0 auto;
}
.studio-info-label {
  font-family: var(--font-m); font-size: 10px; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 1.4rem; display: block;
}
.amenity-list { display: flex; flex-direction: column; margin-bottom: 3rem; }
.amenity {
  padding: 0.8rem 0; border-bottom: 1px solid var(--border);
  font-family: var(--font-s); font-size: 16px; color: var(--ink2);
  display: flex; align-items: center; gap: 1rem;
}
.amenity::before { content: ''; width: 4px; height: 4px; background: var(--ox); flex-shrink: 0; }
.rate-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border); margin-bottom: 2.5rem;
}
.rate-card {
  background: var(--paper); padding: 1.5rem 1.2rem; text-align: center;
  transition: background 0.2s;
}
.rate-card:hover { background: var(--bg); }
.rate-price {
  display: block; font-family: var(--font-d); font-weight: 800;
  font-size: 2.4rem; line-height: 1; color: var(--ink);
  margin-bottom: 0.25rem;
}
.rate-unit {
  font-family: var(--font-m); font-size: 9px;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted);
}
.studio-email-label {
  font-family: var(--font-m); font-size: 9px; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; display: block;
}
.studio-email a {
  color: var(--ink); font-size: 16px; text-decoration: none;
  border-bottom: 1px solid var(--muted2); padding-bottom: 2px;
  transition: border-color 0.2s; font-family: var(--font-s);
}
.studio-email a:hover { border-bottom-color: var(--ox); }

/* ============================================================
   FORMS
   ============================================================ */
.ymg-form { display: flex; flex-direction: column; }
.form-group { margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-label {
  display: block; font-family: var(--font-m); font-size: 9px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.5rem; font-weight: 500;
}
.form-input, .form-textarea, .form-select {
  width: 100%; background: transparent; border: none;
  border-bottom: 1px solid var(--border);
  color: var(--ink); padding: 0.6rem 0;
  font-family: var(--font-m); font-size: 14px;
  outline: none; transition: border-color 0.25s; font-weight: 400;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted2); }
.form-input:focus, .form-textarea:focus, .form-select:focus { border-bottom-color: var(--ox); }
.form-textarea { resize: none; min-height: 90px; }
.form-select { appearance: none; cursor: pointer; }
.form-select option { background: var(--paper); color: var(--ink); }

/* ============================================================
   RADIO
   ============================================================ */
.radio-wrap {
  max-width: 1080px; margin: 0 auto;
  padding: 3rem 2.5rem 4rem;
  display: flex; flex-direction: column; gap: 2.5rem;
}
.radio-logo-card {
  display: grid; grid-template-columns: 320px 1fr;
  gap: 0; border: 1px solid var(--border);
  background: var(--paper);
}
.radio-logo-ph {
  aspect-ratio: 1; background: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.6rem; position: relative; overflow: hidden;
  background-image:
    repeating-linear-gradient(45deg, #1a1916 0 22px, #14130f 22px 44px);
}
.radio-logo-ph::after {
  content: ''; position: absolute; inset: 0;
  border: 1px dashed rgba(244,239,227,0.18); margin: 14px;
  pointer-events: none;
}
.radio-logo-ph .ix {
  font-family: var(--font-m); font-size: 9px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--ox);
}
.radio-logo-ph .lbl {
  font-family: var(--font-d); font-weight: 800; font-size: 2.2rem;
  color: rgba(244,239,227,0.55); letter-spacing: 0.02em;
}
.radio-logo-ph .hint {
  font-family: var(--font-m); font-size: 9px; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(244,239,227,0.32);
}
.radio-meta { padding: 1.6rem 1.8rem; display: flex; flex-direction: column; justify-content: center; }
.radio-meta-row {
  display: grid; grid-template-columns: 110px 1fr; gap: 1rem;
  padding: 0.7rem 0; border-bottom: 1px dotted var(--border); align-items: baseline;
}
.radio-meta-row:last-child { border-bottom: none; }
.radio-meta-row .k {
  font-family: var(--font-m); font-size: 9px; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--muted);
}
.radio-meta-row .v {
  font-family: var(--font-d); font-weight: 700; font-size: 1.15rem;
  color: var(--ink); letter-spacing: 0.005em;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--muted2);
  flex-shrink: 0; display: inline-block;
}
.radio-player.live .status-dot,
.radio-meta-row.live .status-dot { background: var(--ox); animation: pulse 1.4s infinite; }

.radio-intro {
  font-family: var(--font-s); font-size: 18px; line-height: 1.6;
  color: var(--ink2); font-weight: 400; max-width: 720px;
}
.radio-intro em { color: var(--ox); font-style: italic; font-weight: 500; }

.radio-player {
  border: 1px solid var(--border); background: var(--ink); color: var(--paper);
}
.rp-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.85rem 1.4rem; border-bottom: 1px solid rgba(244,239,227,0.08);
  font-family: var(--font-m); font-size: 9px; letter-spacing: 0.28em;
  text-transform: uppercase;
}
.rp-eyebrow { color: var(--ox); font-weight: 600; }
.rp-status { color: rgba(244,239,227,0.55); display: inline-flex; align-items: center; gap: 0.5rem; }
.rp-body {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 1.4rem; padding: 1.6rem 1.4rem;
}
.rp-play {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--ox); border: 1px solid var(--ox);
  color: var(--paper); display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer; transition: background 0.2s, transform 0.15s;
}
.rp-play:hover { background: var(--ox2); }
.rp-play:active { transform: scale(0.96); }
.rp-info { min-width: 0; }
.rp-title {
  font-family: var(--font-d); font-weight: 800; font-size: 1.55rem;
  color: var(--paper); letter-spacing: 0.005em; line-height: 1; margin-bottom: 0.4rem;
}
.rp-sub {
  font-family: var(--font-m); font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(244,239,227,0.5);
}
.rp-vol { display: flex; align-items: center; gap: 0.6rem; }
.rp-vol-icon { font-family: var(--font-d); font-weight: 700; color: var(--ox); font-size: 1.1rem; }
.rp-vol-slider {
  -webkit-appearance: none; appearance: none;
  width: 110px; height: 1px; background: rgba(244,239,227,0.25);
  outline: none; cursor: pointer;
}
.rp-vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 10px; height: 10px;
  background: var(--ox); border-radius: 50%; cursor: pointer;
}
.rp-vol-slider::-moz-range-thumb {
  width: 10px; height: 10px; background: var(--ox); border-radius: 50%;
  border: none; cursor: pointer;
}
.rp-foot {
  display: flex; justify-content: space-between;
  padding: 0.7rem 1.4rem; border-top: 1px solid rgba(244,239,227,0.08);
  font-family: var(--font-m); font-size: 9px; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(244,239,227,0.4);
}
.rp-foot em { color: var(--ox); font-style: normal; }

/* Live Stream Embed (Twitch) */
.radio-stream {
  border: 1px solid var(--border); background: var(--ink); color: var(--paper);
  overflow: hidden;
}
.stream-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 1.1rem; border-bottom: 1px solid rgba(244,239,227,0.1);
}
.stream-eyebrow {
  font-family: var(--font-m); font-size: 9px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--ox);
}
.stream-status {
  font-family: var(--font-m); font-size: 9px; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(244,239,227,0.5);
  display: flex; align-items: center; gap: 0.4rem;
}
.stream-frame-wrap {
  position: relative; width: 100%; padding-bottom: 56.25%; /* 16:9 */
  background: #000;
}
.stream-frame-wrap iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: none;
}
.stream-foot {
  padding: 0.6rem 1.1rem;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(244,239,227,0.08);
  font-family: var(--font-m); font-size: 9px; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(244,239,227,0.4);
}
.stream-foot a {
  color: var(--ox); text-decoration: none; letter-spacing: 0.18em;
}
.stream-foot a:hover { text-decoration: underline; }

/* Shown in place of the player when there is no hostname to give Twitch (file://) */
.tw-fallback {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.9rem; text-align: center;
  padding: 1.5rem; text-decoration: none;
}
.tw-fallback .tw-mark { font-size: 30px; line-height: 1; color: var(--ox); }
.tw-fallback .tw-cta {
  font-family: var(--font-m); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ox);
}
.tw-fallback .tw-note {
  font-family: var(--font-m); font-size: 9px; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(244,239,227,0.4); max-width: 32ch;
  line-height: 1.7;
}
.tw-fallback:hover .tw-cta { text-decoration: underline; }

@media (max-width: 700px) {
  .radio-logo-card { grid-template-columns: 1fr; }
  .radio-logo-ph { aspect-ratio: 16/9; }
  .rp-body { grid-template-columns: auto 1fr; }
  .rp-vol { grid-column: 1 / -1; justify-content: flex-end; }
  .rp-foot { flex-direction: column; gap: 0.4rem; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; max-width: 1280px; margin: 0 auto; padding: 3rem 2.5rem 5rem; }
.contact-intro { font-family: var(--font-s); font-size: 17px; color: var(--ink2); line-height: 1.65; margin-bottom: 2.4rem; font-weight: 400; }
.contact-links-list { display: flex; flex-direction: column; }
.contact-row {
  display: grid; grid-template-columns: 36px 1fr auto;
  align-items: center; gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none; color: var(--ink);
  transition: padding 0.2s, color 0.2s;
}
.contact-row:first-child { border-top: 1px solid var(--border); }
.contact-row:hover { padding-left: 0.5rem; color: var(--ox); }
.contact-ix { font-family: var(--font-m); font-size: 9px; letter-spacing: 0.24em; color: var(--muted); }
.contact-label {
  font-family: var(--font-m); font-size: 9px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.2rem;
}
.contact-val { font-family: var(--font-d); font-weight: 700; font-size: 1.2rem; color: var(--ink); letter-spacing: 0.005em; }
.contact-arr { color: var(--ox); font-size: 14px; }

/* ============================================================
   FOOTER
   ============================================================ */
.page-footer {
  margin-top: 4rem; padding: 2.6rem 2.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  font-family: var(--font-m); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.page-footer .left { display: flex; gap: 1rem; align-items: center; }
.page-footer .center { font-family: var(--font-d); font-weight: 800; font-size: 22px; color: var(--ink); letter-spacing: 0.04em; }
.page-footer .right { text-align: right; display: flex; gap: 1rem; justify-content: flex-end; }
.page-footer a { color: inherit; text-decoration: none; transition: color 0.2s; cursor: pointer; }
.page-footer a:hover { color: var(--ox); }

/* ============================================================
   NOW PLAYING BAR
   ============================================================ */
.now-playing-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(20,17,12,0.97); backdrop-filter: blur(24px);
  border-top: 1px solid rgba(91,15,20,0.4);
  padding: 0.7rem 2.5rem; display: none; align-items: center; gap: 1.4rem; z-index: 998;
  font-family: var(--font-m);
}
.now-playing-bar.active { display: flex; }
.npb-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ox); flex-shrink: 0; animation: pulse 1.5s infinite; }
.npb-info { flex: 1; min-width: 0; }
.npb-title {
  font-family: var(--font-d); font-weight: 700;
  font-size: 1rem; color: var(--paper); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  letter-spacing: 0.005em;
}
.npb-artist {
  font-family: var(--font-m); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(244,239,227,0.45);
}
.npb-close {
  width: 28px; height: 28px; background: none; border: 1px solid rgba(244,239,227,0.18);
  color: rgba(244,239,227,0.55); display: flex; align-items: center; justify-content: center;
  font-size: 11px; transition: all 0.2s; cursor: pointer;
}
.npb-close:hover { border-color: var(--ox); color: var(--ox); }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.18} }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .af-info { padding: 3rem 2.5rem; }
  .studio-body, .about-cols, .contact-grid { gap: 3rem; }
}
@media (max-width: 900px) {
  nav { padding: 0 1.5rem; grid-template-columns: auto 1fr auto; }
  .nav-meta, .nav-center { display: none; }
  .nav-right > span { display: none; }
  .page-inner { padding: 5rem 1.5rem 3rem; }
  /* Hero stacks */
  .hero { grid-template-columns: 1fr; height: auto; min-height: 100dvh; }
  .hero-photo { min-height: 60vh; }
  .hero-panel { padding: 2.5rem 1.5rem 2rem; }
  /* Page head */
  .page-head { padding: 5rem 1.5rem 1.5rem; flex-direction: column; align-items: flex-start; gap: 1rem; }
  .page-head-meta { text-align: left; }
  /* Artists */
  .artist-feature { grid-template-columns: 1fr; min-height: auto; }
  .af-photo { order: 1 !important; min-height: 60vw; }
  .af-info { order: 2 !important; padding: 2.5rem 1.5rem; border-left: none !important; border-right: none !important; border-top: 1px solid var(--border); }
  /* Music */
  .music-grid { grid-template-columns: repeat(2, 1fr); }
  .music-grid-wrap { padding: 2rem 1.5rem 4rem; }
  /* Studio */
  .studio-body { grid-template-columns: 1fr; padding: 3rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  /* Contact */
  .contact-grid { grid-template-columns: 1fr; padding: 2rem 1.5rem 4rem; }
  /* About */
  .about-cols { grid-template-columns: 1fr; padding: 3rem 1.5rem; }
  .about-quote-band { padding: calc(64px + 3rem) 1.5rem 3rem; }
  /* Nav overlay */
  .nav-overlay { grid-template-columns: 1fr; }
  .no-list { padding: 88px 1.5rem 2rem; }
  .nav-rail { display: none; }
  /* Footer */
  .page-footer { grid-template-columns: 1fr; text-align: center; gap: 0.6rem; }
  .page-footer .left, .page-footer .right { justify-content: center; }
}
@media (max-width: 480px) {
  .music-grid { grid-template-columns: 1fr; }
  .rate-grid { grid-template-columns: 1fr; }
  .no-list li { grid-template-columns: 36px 1fr; }
  .no-list .meta { display: none; }
}

/* ============================================================
   STREAMING LINKS OVERLAY (link-page)
   ============================================================ */
.link-page {
  display: none; position: fixed; inset: 0; z-index: 9000;
  background: var(--bg); overflow-y: auto; padding-top: 72px;
}
.link-page.active { display: flex; justify-content: center; align-items: flex-start; }
.link-page-inner {
  max-width: 480px; width: 100%; margin: 2rem auto; padding: 2rem;
  text-align: center;
}
.link-page-art {
  width: 200px; height: 200px; margin: 0 auto 1.5rem;
  border-radius: 4px; overflow: hidden;
  box-shadow: 0 16px 48px rgba(14,13,12,0.18);
  border: 1px solid var(--border);
}
.link-page-art img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.link-page-artist {
  font-family: var(--font-d); font-weight: 800; font-size: 2rem;
  letter-spacing: 0.04em; color: var(--ink); margin-bottom: 0.25rem;
}
.link-page-sub {
  font-family: var(--font-m); font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 2rem;
}
.link-list { display: flex; flex-direction: column; gap: 0.6rem; }
.link-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.9rem 1.2rem;
  background: var(--paper);
  border: 1px solid var(--border);
  text-decoration: none; color: var(--ink);
  transition: border-color 0.2s, transform 0.2s;
}
.link-item:hover { border-color: var(--ox); transform: translateX(4px); }
.link-item-icon {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden;
}
.link-item-name {
  flex: 1; text-align: left;
  font-family: var(--font-d); font-weight: 700; font-size: 1rem;
  letter-spacing: 0.02em;
}
.link-item-action {
  font-family: var(--font-m); font-size: 9px;
  color: var(--muted); letter-spacing: 0.18em; text-transform: uppercase;
}
.link-back-btn {
  display: inline-block; margin-top: 2rem; padding: 0.65rem 2rem;
  border: 1px solid var(--border); color: var(--muted);
  font-family: var(--font-m); font-size: 9px;
  letter-spacing: 0.22em; text-transform: uppercase;
  cursor: pointer; transition: border-color 0.2s, color 0.2s;
  background: none;
}
.link-back-btn:hover { border-color: var(--ox); color: var(--ox); }

/* ============================================================
   RELEASE GATE — YMG SUMMER countdown
   Full-bleed ink overlay shown over the homepage on load.
   Config lives in the RELEASE_GATE block in the main script.
   ============================================================ */
body.gate-open { overflow: hidden; }

.gate {
  position: fixed; inset: 0; z-index: 9500;
  overflow-y: auto;
  background: var(--ink); color: var(--paper);
  padding: 6rem 0 5rem;
}
.gate[hidden] { display: none; }

.gate-ghost {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; white-space: nowrap;
  font-family: var(--font-d); font-weight: 900;
  font-size: 22vw; line-height: 1; letter-spacing: -0.02em;
  color: rgba(244,239,227,0.04);
}

.gate-inner { position: relative; max-width: 1280px; margin: 0 auto; padding: 0 2.5rem; }

/* — top bar — */
.gate-bar {
  display: flex; align-items: baseline; justify-content: space-between; gap: 2rem;
  border-bottom: 1px solid var(--border-d); padding-bottom: 0.8rem;
}
.gate-eyebrow {
  font-family: var(--font-m); font-size: 9px;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted2);
}
.gate-bar-right { display: flex; align-items: center; gap: 1.8rem; }
.gate-status {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-m); font-size: 9px; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--ox);
}
.gate-status .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ox); animation: gate-pulse 1.4s ease-in-out infinite;
}
@keyframes gate-pulse { 0%,100% { opacity: 1 } 50% { opacity: 0.18 } }

.gate-skip {
  border: 0; background: none; cursor: pointer; padding: 0;
  font-family: var(--font-m); font-size: 9px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted2); transition: color 0.2s;
}
.gate-skip:hover { color: var(--ox); }

/* — two-column body — */
.gate-grid { display: grid; grid-template-columns: 1.35fr 1fr; margin-top: 3.2rem; }
.gate-main { padding-right: 3.5rem; }

.gate-kicker {
  font-family: var(--font-s); font-style: italic;
  font-size: clamp(1.3rem, 1.6vw, 1.55rem);
  color: var(--muted2); margin-bottom: 0.4rem;
}
.gate-title {
  margin: 0; font-family: var(--font-d); font-weight: 900;
  font-size: clamp(3.5rem, 7.5vw, 6.8rem); line-height: 0.86;
  letter-spacing: -0.015em; text-transform: uppercase; color: var(--paper);
}
.gate-artist {
  margin-top: 0.9rem; font-family: var(--font-m); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted2);
}

/* — countdown units — */
.gate-units {
  display: grid; gap: 1px; background: var(--border-d);
  margin-top: 3rem;
  border-top: 1px solid var(--border-d); border-bottom: 1px solid var(--border-d);
}
.gate-unit { background: var(--ink); padding: 1.6rem 0 1.4rem; text-align: center; }
.gate-unit-val {
  font-family: var(--font-d); font-weight: 900;
  font-size: clamp(3rem, 4.5vw, 4.4rem); line-height: 0.9;
  letter-spacing: -0.015em; color: var(--paper);
  font-variant-numeric: tabular-nums;
}
.gate-unit-lbl {
  margin-top: 0.7rem; font-family: var(--font-m); font-size: 9px;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted);
}

/* — out-now DSP row (release day) — */
.gate-links {
  display: flex; flex-wrap: wrap; gap: 1px;
  background: var(--border-d); margin-top: 2.5rem;
}
.gate-links[hidden] { display: none; }
.gate-link {
  flex: 1 1 160px; background: var(--ink);
  padding: 1.1rem 1.2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--font-m); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--paper); text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
}
.gate-link:hover { color: var(--ox); padding-left: 1.7rem; }

/* — pre-release CTA row — */
.gate-cta { margin-top: 2.6rem; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.gate-cta[hidden] { display: none; }
.gate-btn {
  display: inline-flex; align-items: center; height: 40px;
  padding: 0 1.8rem; cursor: pointer;
  font-family: var(--font-m); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.gate-btn.ox { background: var(--ox); color: var(--paper); border-color: var(--ox); }
.gate-btn.ox:hover { background: var(--ox2); border-color: var(--ox2); color: var(--paper); }
.gate-btn.ghost { background: none; color: var(--paper); border-color: var(--border-d); }
.gate-btn.ghost:hover { border-color: var(--paper); color: var(--paper); }
.gate-btn.is-disabled { opacity: 0.4; pointer-events: none; }
.gate-note {
  font-family: var(--font-s); font-style: italic; font-size: 16px;
  color: var(--muted2); max-width: 320px;
}

/* — release sheet (right column) — */
.gate-side { border-left: 1px solid var(--border-d); padding-left: 3.5rem; }
.gate-cover {
  position: relative; width: 100%; aspect-ratio: 1;
  background: rgba(244,239,227,0.04); margin-bottom: 2.4rem;
}
.gate-cover img { width: 100%; height: 100%; object-fit: cover; }
.gate-sheet-hd {
  display: flex; align-items: baseline; justify-content: space-between;
  font-family: var(--font-m); font-size: 9px;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--border-d);
  padding-bottom: 0.7rem; margin-bottom: 1.6rem;
}
.gate-sheet-hd .ix { color: var(--ox); font-weight: 600; }
.gate-specs { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.2rem; align-items: baseline; }
.gate-spec-k {
  font-family: var(--font-m); font-size: 9px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted); padding-top: 0.4rem;
}
.gate-spec-v {
  border-bottom: 1px dotted var(--border-d); padding-bottom: 0.7rem;
  font-family: var(--font-d); font-weight: 700;
  font-size: clamp(1.5rem, 1.8vw, 1.8rem); line-height: 1;
  color: var(--paper); text-transform: uppercase;
}
.gate-stamp {
  margin-top: 2.2rem; font-family: var(--font-m); font-size: 9px;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted);
}

/* ============================================================
   RELEASE-DAY MEDIA STAGE — cover art + the track
   Only active once .gate has .media-mode (set in goLive()). The
   countdown columns are hidden and the stage takes the full width.

   Until 2026-09-03 this was a 16/9 stage for the "CAN YOU" music video.
   It now plays audio behind the cover art, so the frame is square: a
   square cover in a 16/9 box either letterboxes or crops the artwork's
   title lockup off the bottom.
   ============================================================ */
/* Media mode has far less content than the countdown layout, so the default
   top-aligned padding leaves a large dead gap underneath. Center it instead.
   `safe center` falls back to flex-start rather than centering when the
   content is taller than the viewport — plain `center` would push the top of
   the panel above the scroll origin and make it unreachable.

   The :not([hidden]) guard is load-bearing: `.gate[hidden]` display:none
   above has the same specificity as `.gate.media-mode`, and this rule comes
   later in the file, so without the guard `display: flex` wins and the gate
   refuses to close when Enter Site sets the hidden attribute. */
.gate.media-mode:not([hidden]) { display: flex; align-items: flex-start; }
.gate.media-mode:not([hidden]) { align-items: safe center; }
.gate.media-mode .gate-inner { width: 100%; }

.gate-media-stage { grid-column: 1 / -1; margin-top: 2.6rem; }
.gate-media-stage[hidden] { display: none; }
.gate.media-mode .gate-main,
.gate.media-mode .gate-side { display: none; }
.gate.media-mode .gate-grid { grid-template-columns: 1fr; margin-top: 2rem; }

.gm-frame {
  position: relative; width: 100%; max-width: 520px; margin: 0 auto;
  aspect-ratio: 1 / 1;
  background: #000; overflow: hidden;
  border: 1px solid var(--border-d);
}
.gm-cover { width: 100%; height: 100%; object-fit: cover; display: block; }

/* A still cover under a playing track reads as a frozen player, so the
   artwork drifts while the audio runs — only while it runs. */
.gm-frame.playing .gm-cover { animation: gmDrift 26s ease-in-out infinite alternate; }
@keyframes gmDrift { from { transform: scale(1); } to { transform: scale(1.07); } }
@media (prefers-reduced-motion: reduce) {
  .gm-frame.playing .gm-cover { animation: none; }
}

/* ---- start overlay (cover + play) ---- */
.gm-start {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.4rem; cursor: pointer;
  background: linear-gradient(180deg, rgba(20,17,12,0.25), rgba(20,17,12,0.65));
  transition: opacity 0.4s ease;
}
.gm-start[hidden] { display: none; }
.gm-start.fading { opacity: 0; pointer-events: none; }
.gm-play {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--ox); border: 1px solid var(--ox); color: var(--paper);
  font-size: 24px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  padding-left: 5px; /* optical centering of the ▶ glyph */
  transition: transform 0.25s ease, background 0.2s;
}
.gm-start:hover .gm-play { transform: scale(1.07); background: var(--ox2); }
.gm-start-txt { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; text-align: center; }
.gm-eyebrow {
  font-family: var(--font-m); font-size: 9px; letter-spacing: 0.32em;
  text-transform: uppercase; color: rgba(244,239,227,0.7);
}
.gm-name {
  font-family: var(--font-d); font-weight: 800; font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 0.95; color: var(--paper);
}
.gm-hint {
  font-family: var(--font-m); font-size: 9px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--ox);
}

/* ---- progress ----
   With no moving picture behind it, this bar is the only thing on screen
   that says the track is running. */
.gm-bar {
  position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 3px;
  background: rgba(244,239,227,0.16);
}
.gm-bar[hidden] { display: none; }
.gm-bar-fill {
  display: block; height: 100%; width: 0; background: var(--ox);
  transition: width 0.25s linear;
}

/* ---- skip ---- */
.gm-skip {
  position: absolute; z-index: 5; bottom: 1rem; right: 1rem;
  font-family: var(--font-m); font-size: 9px; letter-spacing: 0.24em;
  text-transform: uppercase; color: rgba(244,239,227,0.75);
  background: rgba(20,17,12,0.55); border: 1px solid var(--border-d);
  padding: 0.5rem 0.9rem; cursor: pointer; backdrop-filter: blur(4px);
  transition: color 0.2s, border-color 0.2s;
}
.gm-skip[hidden] { display: none; }
.gm-skip:hover { color: var(--paper); border-color: var(--paper); }

/* ---- end card ---- */
.gm-end {
  position: absolute; inset: 0; z-index: 6;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem; text-align: center; padding: 1.5rem;
  /* Near-opaque + blur: the cover art sits behind this and can be any
     brightness. At 0.9 a bright cover showed through and fought the title. */
  background: rgba(20,17,12,0.96);
  backdrop-filter: blur(10px);
  animation: gmFade 0.6s ease both;
}
.gm-end[hidden] { display: none; }
@keyframes gmFade { from { opacity: 0; } to { opacity: 1; } }
.gm-end-eyebrow {
  font-family: var(--font-m); font-size: 9px; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--ox);
}
.gm-end-title {
  font-family: var(--font-d); font-weight: 800;
  font-size: clamp(2.2rem, 8vw, 4.6rem); line-height: 0.92;
  color: var(--paper); letter-spacing: -0.01em;
}
.gm-end-sub {
  font-family: var(--font-m); font-size: 11px; letter-spacing: 0.42em;
  text-transform: uppercase; color: rgba(244,239,227,0.8);
}
.gm-end-cta {
  margin-top: 1.6rem; display: flex; gap: 1rem;
  flex-wrap: wrap; justify-content: center;
}

@media (max-width: 700px) {
  .gm-play { width: 62px; height: 62px; font-size: 18px; }
  .gm-end-cta { margin-top: 1.1rem; gap: 0.6rem; }
}

/* ---- stacked layout ----
   The two columns collapse into a single flow with a phone-first reading
   order: cover → timer → release sheet → CTA. Because the cover lives in
   the right column and the timer in the left, `display: contents` on both
   wrappers promotes their children to direct flex items of .gate-grid so
   `order` can interleave them across the original column boundary. */
@media (max-width: 900px) {
  .gate { padding: 4.5rem 0 3.5rem; }
  .gate-inner { padding: 0 1.6rem; }

  .gate-grid { display: flex; flex-direction: column; margin-top: 2.4rem; }
  .gate-main, .gate-side { display: contents; }

  .gate-kicker   { order: 1; }
  .gate-title    { order: 2; }
  .gate-artist   { order: 3; }
  .gate-cover    { order: 4; }
  .gate-units    { order: 5; }
  .gate-sheet-hd { order: 6; }
  .gate-specs    { order: 7; }
  .gate-links    { order: 8; }
  .gate-cta      { order: 9; }
  .gate-stamp    { order: 10; }

  /* Spacing has to be restated — the wrappers that carried it are gone. */
  .gate-cover    { margin: 2.2rem 0 0; max-width: 380px; }
  .gate-units    { margin-top: 2.4rem; }
  .gate-sheet-hd { margin-top: 3rem; margin-bottom: 1.4rem; }
  .gate-links    { margin-top: 2.4rem; }
  .gate-cta      { margin-top: 2.6rem; }
  .gate-stamp    { margin-top: 2.6rem; }
}
@media (max-width: 700px) {
  .gate-bar { flex-wrap: wrap; gap: 0.9rem; }
  .gate-bar-right { gap: 1.1rem; }
  .gate-ghost { font-size: 34vw; }
  .gate-cover { max-width: none; }
  .gate-units { grid-template-columns: repeat(2, 1fr) !important; }
  .gate-cta { gap: 1rem; }
  .gate-btn { width: 100%; justify-content: center; }
  .gate-note { max-width: none; }
}
