/* =========================================================
   Beat a Maxx — public website
   Front end of the BeatAMaxx management system
   ========================================================= */

:root {
  /* Brand — sampled from the BAM logo gradient */
  --bam-indigo: #3c3795;
  --bam-violet: #7a5bb0;
  --bam-magenta: #a53594;
  --bam-red: #da2128;
  --bam-gradient: linear-gradient(100deg, #3c3795 0%, #a53594 55%, #da2128 100%);

  /* Surfaces */
  --bg: #09080b;
  --bg-2: #111015;
  --bg-3: #18161d;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f3f1f5;
  --text-muted: #a7a3ad;
  --text-faint: #6f6b76;
  --ink: #141218;          /* text on white pill */
  --ink-muted: #5d5965;

  /* Type */
  --font-display: 'Montserrat', 'Inter', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;
  --pink: #e05fb0;

  --text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.85rem + 0.12vw, 0.9375rem);
  --text-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.375rem);
  --text-xl: clamp(1.625rem, 1.3rem + 1.4vw, 2.5rem);
  --text-2xl: clamp(2.25rem, 1.6rem + 2.8vw, 4rem);
  --text-hero: clamp(3rem, 1.6rem + 6.4vw, 7.5rem);

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  --section: clamp(var(--space-16), 9vw, var(--space-32));
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 1280px;
  --radius: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: var(--text-base); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.05; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--bam-magenta); color: #fff; }
:focus-visible { outline: 2px solid #c25aa8; outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: #fff; color: var(--ink); padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(var(--space-12), 6vw, var(--space-20)); }
.section--alt { background: var(--bg-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: var(--text-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--pink);
}

.display { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; }
.h-section { font-family: var(--font-display); font-weight: 800; font-size: var(--text-2xl); letter-spacing: -0.02em; margin-top: var(--space-4); }
.h-sub { font-size: var(--text-lg); font-weight: 600; line-height: 1.25; }
.lead { font-size: var(--text-lg); line-height: 1.55; color: var(--text); max-width: 60ch; }
.muted { color: var(--text-muted); }
.grad-text { background: var(--bam-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.prose { max-width: 66ch; }
.prose p + p { margin-top: 1.1em; }
.prose p { color: #d9d6de; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 46px; padding: .7rem 1.35rem; border-radius: 999px; border: 1px solid transparent;
  font-size: var(--text-sm); font-weight: 600; letter-spacing: .01em; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { width: 16px; height: 16px; }
.btn--primary { background: var(--bam-gradient); color: #fff; box-shadow: 0 8px 28px -10px rgba(165, 53, 148, .7); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 32px -10px rgba(218, 33, 40, .7); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255,255,255,.02); }
.btn--ghost:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.06); }
.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: var(--text-sm); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: border-color .2s; }
.text-link:hover { border-color: #c25aa8; }

/* =========================================================
   Header — transparent over hero, white rounded pill on scroll
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 14px var(--gutter) 0;
  pointer-events: none;
}
.nav-shell {
  pointer-events: auto;
  position: relative; max-width: 1360px; margin-inline: auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 16px 22px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0);
  box-shadow: 0 0 0 1px rgba(255,255,255,0);
  color: #fff;
  transition: background-color .45s var(--ease), box-shadow .45s var(--ease), padding .45s var(--ease), color .35s var(--ease), backdrop-filter .45s var(--ease);
}
.nav-left { display: flex; align-items: center; gap: 4px; justify-self: start; }
.nav-centre { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.nav-right { display: flex; align-items: center; justify-content: flex-end; gap: 10px; justify-self: end; }

.brand { display: block; line-height: 0; }
.brand img { height: 62px; width: auto; transition: height .45s var(--ease); filter: drop-shadow(0 2px 18px rgba(0,0,0,.35)); }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative; display: block; padding: 6px 14px; border-radius: 999px;
  font-size: var(--text-sm); font-weight: 600; letter-spacing: .02em; color: rgba(255,255,255,.86);
  transition: color .2s, background-color .2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 18px; height: 2px; margin-left: -9px;
  border-radius: 2px; background: var(--bam-gradient);
}

.social { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: rgba(255,255,255,.85); transition: color .2s, background-color .2s; }
.social:hover { color: #fff; background: rgba(255,255,255,.12); }
.social svg { width: 18px; height: 18px; }

.login-btn {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 40px; padding: .5rem 1.05rem;
  border-radius: 999px; font-size: var(--text-sm); font-weight: 600;
  border: 1px solid rgba(255,255,255,.4); color: #fff; background: rgba(255,255,255,.04);
  transition: background-color .25s, color .25s, border-color .25s;
}
.login-btn svg { width: 15px; height: 15px; }
.login-btn:hover { background: #fff; color: var(--ink); border-color: #fff; }

.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: transparent; color: inherit; cursor: pointer; place-items: center; }
.menu-toggle svg { width: 20px; height: 20px; }

/* Scrolled state */
.site-header.is-scrolled .nav-shell {
  background: #fff; color: var(--ink);
  padding: 10px 18px 8px;
  box-shadow: 0 12px 40px -12px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.04);
}
.site-header.is-scrolled .brand img { height: 42px; filter: none; }
.site-header.is-scrolled .nav-centre { gap: 4px; }
.site-header.is-scrolled .nav-links a { color: var(--ink-muted); }
.site-header.is-scrolled .nav-links a:hover { color: var(--ink); background: rgba(20,18,24,.06); }
.site-header.is-scrolled .nav-links a[aria-current="page"] { color: var(--ink); }
.site-header.is-scrolled .social { color: var(--ink-muted); }
.site-header.is-scrolled .social:hover { color: var(--ink); background: rgba(20,18,24,.06); }
.site-header.is-scrolled .login-btn { border-color: var(--ink); background: var(--ink); color: #fff; }
.site-header.is-scrolled .login-btn:hover { background: var(--bam-magenta); border-color: var(--bam-magenta); }
.site-header.is-scrolled .menu-toggle { border-color: rgba(20,18,24,.2); }

/* Mobile drawer */
.mobile-panel { display: none; }

@media (max-width: 900px) {
  .site-header { padding: 10px 12px 0; }
  .nav-shell { grid-template-columns: 1fr auto 1fr; padding: 10px 12px; }
  .nav-left .social, .nav-links { display: none; }
  .nav-centre { gap: 0; }
  .brand img { height: 46px; }
  .site-header.is-scrolled .brand img { height: 36px; }
  .menu-toggle { display: inline-grid; }
  .login-btn { padding: .45rem .8rem; min-height: 38px; }
  .login-btn .label-long { display: none; }

  .mobile-panel {
    display: block; position: absolute; left: 0; right: 0; top: calc(100% + 8px);
    background: #fff; color: var(--ink); border-radius: 18px; padding: 10px;
    box-shadow: 0 20px 50px -15px rgba(0,0,0,.6);
    opacity: 0; transform: translateY(-6px); visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .site-header.menu-open .mobile-panel { opacity: 1; transform: none; visibility: visible; }
  .mobile-panel ul { list-style: none; margin: 0; padding: 0; }
  .mobile-panel li a { display: block; padding: 14px 14px; border-radius: 12px; font-weight: 600; font-size: 1.05rem; }
  .mobile-panel li a[aria-current="page"] { background: #f3f0f6; }
  .mobile-panel .mobile-social { display: flex; gap: 6px; padding: 10px 8px 6px; border-top: 1px solid #ece9ef; margin-top: 6px; }
  .mobile-panel .social { color: var(--ink-muted); }
}
@media (max-width: 420px) {
  .login-btn .label-short { display: none; }
  .login-btn { width: 40px; padding: 0; justify-content: center; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  overflow: hidden; isolation: isolate; background: #000;
}
.hero__media, .hero__media img, .hero__media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.hero__media img, .hero__media video { object-position: 70% 30%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 28%),
    linear-gradient(0deg, rgba(9,8,11,1) 0%, rgba(9,8,11,.35) 32%, rgba(9,8,11,0) 60%),
    linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 55%);
}
.hero__content { padding-bottom: clamp(var(--space-12), 8vw, var(--space-24)); padding-top: 220px; }
.hero__title { font-family: var(--font-display); font-size: clamp(2.75rem, 1.4rem + 5.2vw, 6.25rem); font-weight: 800; letter-spacing: -0.035em; line-height: .98; max-width: 13ch; }
.hero__sub { margin-top: var(--space-6); font-size: var(--text-lg); color: #d8d4dd; max-width: 46ch; line-height: 1.5; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-8); }
.tag { font-size: var(--text-xs); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: #d8d4dd; background: rgba(0,0,0,.25); backdrop-filter: blur(6px); }

/* Interior page hero */
.page-hero { position: relative; min-height: clamp(460px, 68vh, 720px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: #000; }
.page-hero .hero__content { padding-top: 210px; padding-bottom: clamp(var(--space-10), 6vw, var(--space-16)); }
.page-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: var(--text-2xl); letter-spacing: -0.03em; max-width: 18ch; margin-top: var(--space-4); }
.page-hero .hero__sub { max-width: 54ch; }
.page-hero--plain { background: radial-gradient(120% 80% at 80% 0%, rgba(165,53,148,.28), transparent 60%), radial-gradient(90% 70% at 0% 100%, rgba(60,55,149,.35), transparent 60%), var(--bg); }
.page-hero--plain::after { display: none; }

/* =========================================================
   Content blocks
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(var(--space-8), 5vw, var(--space-20)); align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 7fr; }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split--reverse { grid-template-columns: 7fr 5fr; }
}
.sticky { position: sticky; top: 140px; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg); padding: clamp(var(--space-6), 3vw, var(--space-10)); }
.stat__num { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.stat__label { margin-top: var(--space-3); font-size: var(--text-sm); color: var(--text-muted); line-height: 1.45; }

.cards { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative; display: flex; flex-direction: column; gap: var(--space-4);
  padding: clamp(var(--space-6), 2.6vw, var(--space-8)); border-radius: var(--radius-lg);
  background: var(--bg-2); border: 1px solid var(--line);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
a.card:hover { border-color: rgba(194, 90, 168, .55); transform: translateY(-2px); }
.card__index { font-size: var(--text-xs); color: var(--pink); letter-spacing: .14em; font-weight: 700; text-transform: uppercase; }
.card h3 { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); line-height: 1.25; }
.card p { color: var(--text-muted); font-size: var(--text-sm); line-height: 1.6; }
.card .text-link { margin-top: auto; align-self: flex-start; }

.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 1fr; gap: var(--space-2); padding: var(--space-6) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .timeline li { grid-template-columns: 220px 1fr; gap: var(--space-8); } }
.timeline .k { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .14em; color: var(--text-muted); font-weight: 600; padding-top: 4px; }
.timeline .v { font-size: var(--text-base); color: #e3e0e7; }
.timeline .v strong { color: #fff; font-weight: 600; }

.logo-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.client { padding: 12px 20px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: var(--text-sm); color: #dcd9e0; letter-spacing: .02em; }

.quote { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.2; letter-spacing: -0.02em; font-weight: 500; max-width: 26ch; }
.quote-block { border-left: 2px solid; border-image: var(--bam-gradient) 1; padding-left: var(--space-6); }

/* Placeholders — for content the client will replace */
.ph {
  margin: 0;
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(165,53,148,.22), transparent 55%),
    radial-gradient(100% 80% at 10% 100%, rgba(60,55,149,.3), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 12px, transparent 12px 24px),
    var(--bg-3);
  border: 1px dashed rgba(255,255,255,.18);
  display: grid; place-items: center; text-align: center; color: var(--text-muted);
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph__label { display: grid; gap: 6px; padding: var(--space-6); font-size: var(--text-xs); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.ph__label svg { width: 28px; height: 28px; margin: 0 auto 4px; opacity: .7; }
.ph__label small { font-size: 11px; letter-spacing: .04em; text-transform: none; font-weight: 500; color: var(--text-faint); }
.ph--portrait { aspect-ratio: 4 / 5; }
.ph--landscape { aspect-ratio: 3 / 2; }
.ph--wide { aspect-ratio: 21 / 9; }
.ph--square { aspect-ratio: 1; }

.gallery { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 760px) {
  .gallery { grid-template-columns: repeat(12, 1fr); }
  .gallery > :nth-child(1) { grid-column: span 7; }
  .gallery > :nth-child(2) { grid-column: span 5; }
  .gallery > :nth-child(3) { grid-column: span 4; }
  .gallery > :nth-child(4) { grid-column: span 8; }
}
@media (min-width: 760px) { .gallery .ph { height: 100%; min-height: 320px; aspect-ratio: auto; } }

.full-bleed { position: relative; height: clamp(320px, 52vw, 640px); overflow: hidden; }
.full-bleed img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 35%; filter: grayscale(1) contrast(1.05); }
.full-bleed::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, transparent 22%, transparent 70%, var(--bg) 100%); }
.full-bleed__caption { position: absolute; left: 0; right: 0; bottom: clamp(var(--space-8), 5vw, var(--space-16)); z-index: 1; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(var(--space-10), 6vw, var(--space-20)); background: radial-gradient(120% 140% at 100% 0%, rgba(218,33,40,.35), transparent 55%), radial-gradient(120% 140% at 0% 100%, rgba(60,55,149,.55), transparent 55%), #141118; border: 1px solid var(--line); display: grid; gap: var(--space-8); }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr 1fr; align-items: end; } }
.cta-band h2 { font-family: var(--font-display); font-weight: 800; font-size: var(--text-2xl); letter-spacing: -0.03em; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: flex-start; }
@media (min-width: 900px) { .cta-band .actions { justify-content: flex-end; } }

/* =========================================================
   Music
   ========================================================= */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--space-10); }
.chip { min-height: 40px; padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--text-muted); font-size: var(--text-sm); font-weight: 600; cursor: pointer; transition: all .2s; }
.chip:hover { color: #fff; border-color: rgba(255,255,255,.45); }
.chip[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.chip .count { opacity: .55; margin-left: 4px; font-weight: 500; }

.music-group + .music-group { margin-top: var(--space-20); }
.music-group__head { display: flex; align-items: end; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-6); border-bottom: 1px solid var(--line); padding-bottom: var(--space-4); }
.music-group__head h2 { font-family: var(--font-display); font-weight: 800; font-size: var(--text-xl); letter-spacing: -0.02em; }
.music-group__head p { color: var(--text-muted); font-size: var(--text-sm); max-width: 48ch; }

/* Featured (type-specific layouts) */
.feature { display: grid; gap: var(--space-8); grid-template-columns: 1fr; align-items: center; padding: clamp(var(--space-6), 3vw, var(--space-10)); border-radius: 28px; background: var(--bg-2); border: 1px solid var(--line); margin-bottom: var(--space-20); }
@media (min-width: 900px) { .feature { grid-template-columns: 1.15fr 1fr; } }
.feature h2 { font-family: var(--font-display); font-weight: 800; font-size: var(--text-2xl); letter-spacing: -0.03em; margin: var(--space-3) 0 var(--space-4); }
.feature p { color: var(--text-muted); }

.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.media-frame iframe, .media-frame img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.media-frame--audio { aspect-ratio: auto; height: 166px; background: transparent; }
.media-frame--square { aspect-ratio: 1; }

.play-btn { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(0deg, rgba(0,0,0,.45), rgba(0,0,0,.05)); border: 0; cursor: pointer; color: #fff; }
.play-btn span { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,.5); transition: transform .25s var(--ease); }
.play-btn:hover span { transform: scale(1.06); }
.play-btn svg { width: 22px; height: 22px; margin-left: 3px; }

.meta-row { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: var(--text-xs); color: var(--text-muted); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.meta-row .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-faint); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: rgba(165,53,148,.16); color: #e7a9d8; border: 1px solid rgba(165,53,148,.35); }

/* Video grid */
.video-grid { display: grid; gap: var(--space-6); grid-template-columns: 1fr; }
@media (min-width: 760px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
.video-card h3 { font-size: var(--text-lg); margin-top: var(--space-4); line-height: 1.25; }
.video-card p { color: var(--text-muted); font-size: var(--text-sm); margin-top: var(--space-2); }

/* Mix list (audio rows) */
.mix-list { display: grid; gap: var(--space-3); }
.mix-row { display: grid; grid-template-columns: 76px 1fr auto; gap: var(--space-5); align-items: center; padding: var(--space-3); padding-right: var(--space-5); border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); transition: border-color .2s; }
.mix-row:hover { border-color: var(--line-strong); }
.mix-row__art { width: 76px; height: 76px; border-radius: 10px; overflow: hidden; background: var(--bg-3); }
.mix-row__art img { width: 100%; height: 100%; object-fit: cover; }
.mix-row h3 { font-size: var(--text-base); font-weight: 600; line-height: 1.3; }
.mix-row p { color: var(--text-muted); font-size: var(--text-sm); margin-top: 2px; line-height: 1.45; }
.mix-row .meta-row { margin-top: 6px; }
.mix-row__player { grid-column: 1 / -1; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: #fff; cursor: pointer; transition: all .2s; }
.icon-btn:hover { background: #fff; color: var(--ink); }
.icon-btn svg { width: 16px; height: 16px; }
@media (max-width: 560px) { .mix-row { grid-template-columns: 60px 1fr; } .mix-row__art { width: 60px; height: 60px; } .mix-row .icon-btn { grid-column: 2; justify-self: start; } }

/* Release grid (cover-led) */
.release-grid { display: grid; gap: var(--space-6); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .release-grid { grid-template-columns: repeat(4, 1fr); } }
.release-card .cover { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); position: relative; }
.release-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.release-card:hover .cover img { transform: scale(1.03); }
.release-card h3 { font-size: var(--text-base); font-weight: 600; margin-top: var(--space-3); line-height: 1.3; }
.release-card p { font-size: var(--text-xs); color: var(--text-muted); margin-top: 4px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }

.skeleton { background: linear-gradient(90deg, var(--bg-2) 0%, var(--bg-3) 50%, var(--bg-2) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; border-radius: var(--radius); }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty { padding: var(--space-16) var(--space-6); text-align: center; color: var(--text-muted); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); }
.data-note { margin-top: var(--space-16); font-size: var(--text-xs); color: var(--text-faint); }

/* =========================================================
   Bookings / form
   ========================================================= */
.form-card { padding: clamp(var(--space-6), 4vw, var(--space-12)); border-radius: 28px; background: var(--bg-2); border: 1px solid var(--line); }
.form-grid { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; }
.field label { font-size: var(--text-sm); font-weight: 600; color: #e6e3ea; }
.field label .opt { font-weight: 500; color: var(--text-faint); }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: .8rem 1rem; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--line-strong); color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.input::placeholder, .textarea::placeholder { color: var(--text-faint); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: #c25aa8; box-shadow: 0 0 0 3px rgba(165,53,148,.25); }
.select { appearance: none; padding-right: 2.75rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23a7a3ad' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.select option { background: #111015; color: #f3f1f5; }
.textarea { min-height: 160px; resize: vertical; line-height: 1.55; }
.field-hint { font-size: var(--text-xs); color: var(--text-faint); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: #ff6b75; }
.field .error { font-size: var(--text-xs); color: #ff9aa1; display: none; }
.field.has-error .error { display: block; }
.conditional { display: contents; }
.conditional[hidden] { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--text-sm); color: var(--text-muted); }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: #a53594; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); margin-top: var(--space-2); }
.form-status { font-size: var(--text-sm); }
.form-status.ok { color: #9fe6c8; }
.form-status.err { color: #ff9aa1; }
.success-panel { display: grid; gap: var(--space-4); text-align: left; }
.success-panel h3 { font-family: var(--font-display); font-weight: 800; font-size: var(--text-xl); }

.inbox-list { display: grid; gap: var(--space-3); }
.inbox { display: grid; grid-template-columns: 44px 1fr; gap: var(--space-4); align-items: center; padding: var(--space-5); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); transition: border-color .2s; }
.inbox:hover { border-color: rgba(194, 90, 168, .5); }
.inbox__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(165,53,148,.14); color: #e7a9d8; }
.inbox__icon svg { width: 20px; height: 20px; }
.inbox h3 { font-size: var(--text-base); font-weight: 600; }
.inbox p { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.4; }
.inbox a.mail { font-size: var(--text-sm); font-weight: 600; color: #fff; word-break: break-all; }
.inbox a.mail:hover { text-decoration: underline; text-decoration-color: #c25aa8; text-underline-offset: 3px; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { border-top: 1px solid var(--line); padding-block: var(--space-16) var(--space-8); margin-top: var(--space-16); }
.footer-grid { display: grid; gap: var(--space-10); grid-template-columns: 1fr; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-grid img { height: 70px; width: auto; }
.footer-grid h2 { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .16em; color: var(--text-muted); margin-bottom: var(--space-4); font-weight: 600; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: var(--text-sm); }
.footer-grid ul a { color: #dcd9e0; }
.footer-grid ul a:hover { color: #fff; }
.footer-socials { display: flex; gap: 6px; margin-top: var(--space-6); }
.footer-socials .social { border: 1px solid var(--line); }
.footer-base { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: space-between; margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid var(--line); font-size: var(--text-xs); color: var(--text-faint); }

/* Motion */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media (min-width: 1000px) { .video-grid--3, #music-groups .video-grid { grid-template-columns: repeat(3, 1fr); } }
.video-card .media-frame img { transition: transform .5s var(--ease); }
.video-card:hover .media-frame img { transform: scale(1.03); }
.text-link svg { width: 14px; height: 14px; flex: none; }

/* Artwork mode — large artwork stage with a small, unobstructed YouTube player */
.stage { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: clamp(12px, 3vw, 40px); background: rgba(5,4,7,.88); backdrop-filter: blur(10px); animation: stageIn .3s var(--ease); }
@keyframes stageIn { from { opacity: 0; } to { opacity: 1; } }
.stage__inner { width: min(1180px, 100%); max-height: 100%; overflow: auto; }
.stage__art { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); }
.stage__art picture, .stage__art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.stage__player { position: absolute; left: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 24px); width: 356px; height: 200px; border-radius: 10px; overflow: hidden; background: #000; box-shadow: 0 14px 40px rgba(0,0,0,.6); }
.stage__player iframe { width: 100%; height: 100%; border: 0; display: block; }
.stage__meta { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-6); }
.stage__meta h2 { font-family: var(--font-display); font-weight: 800; font-size: var(--text-xl); letter-spacing: -0.02em; margin-top: .5rem; }
.stage__meta p { color: var(--text-muted); margin-top: .25rem; }
.stage__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
/* Too narrow for a 356x200 player inside the artwork: stack it below at full width (still ≥200px tall) */
@media (max-width: 760px) {
  .stage { align-items: start; }
  .stage__player { position: relative; left: auto; bottom: auto; width: 100%; height: auto; aspect-ratio: 16 / 9; min-height: 200px; margin-top: var(--space-3); border-radius: var(--radius); }
  .stage__art { aspect-ratio: auto; overflow: visible; background: none; box-shadow: none; }
  .stage__art img { aspect-ratio: 16 / 9; height: auto; border-radius: var(--radius); }
  /* Portrait artwork on phones: artwork fills the frame, 200x200 player in the bottom-left corner */
  .stage--portrait .stage__art { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-lg); background: #000; width: min(100%, calc((100svh - 190px) * 0.8)); margin-inline: auto; }
  .stage--portrait .stage__art img { aspect-ratio: auto; height: 100%; border-radius: 0; }
  .stage--portrait .stage__player { position: absolute; left: 12px; bottom: 12px; width: 200px; height: 200px; min-height: 0; aspect-ratio: auto; margin: 0; border-radius: 10px; }
  .stage--portrait .stage__meta { margin-top: var(--space-4); }
}
