/* =====================================================================
   COACH CAL — coachcal.live
   v2: hip typography pass + mobile audit
   Display: Unbounded · Body: Space Grotesk · Mono: Space Mono
   Palette: navy base, Niners red, gold highlights
   ===================================================================== */

:root {
  --bg:        #0a0f1f;
  --bg-2:      #11182e;
  --bg-3:      #161f3a;
  --ink:       #f5efe6;
  --ink-dim:   #a7b0c3;
  --ink-mute:  #6c7691;
  --accent:      #C8102E;  /* Niners red */
  --accent-2:    #E11D38;  /* lighter red — hover */
  --accent-deep: #8B0820;  /* deeper red — shadows */
  --gold:        #F5C518;  /* trophy gold — highlights */
  --gold-soft:   #B3995D;  /* Niners gold — badges */
  --line:      rgba(245,239,230,.12);
  --line-2:    rgba(245,239,230,.06);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;

  --nav-h: 64px;
  --section-pad: clamp(1.5rem, 3vw, 2.25rem);

  --font-display:   "Anton", "Bebas Neue", Impact, sans-serif;     /* rapper poster */
  --font-display-2: "Unbounded", system-ui, sans-serif;            /* modern h2/h3 */
  --font-body:      "Space Grotesk", system-ui, -apple-system, sans-serif;
  --font-mono:      "Space Mono", ui-monospace, monospace;
  --font-script:    "Permanent Marker", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* keyboard focus */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

section { scroll-margin-top: calc(var(--nav-h) + 12px); }

/* ---------- container ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}
.container--narrow { max-width: 760px; }
.container--split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.container--reverse > *:first-child { order: 2; }
@media (max-width: 820px) {
  .container--split { grid-template-columns: 1fr; gap: 2.5rem; }
  .container--reverse > *:first-child { order: 0; }
}

/* ---------- typography ---------- */
.h2 {
  font-family: var(--font-display-2);
  font-weight: 700;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin: 0 0 1.2rem;
  text-transform: none;
}
.h2--xl {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 900;
}
.h3 {
  font-family: var(--font-display-2);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: 0 0 .8rem;
}
.kicker {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .2em;
  color: var(--accent);
  margin: 0 0 1.2rem;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
}
.kicker--gold { color: var(--gold); }
.kicker__num {
  display: inline-grid;
  place-items: center;
  min-width: 1.8rem;
  height: 1.4rem;
  padding: 0 .35rem;
  background: currentColor;
  color: var(--bg);
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: .05em;
  font-size: .7rem;
}
.kicker__emoji {
  font-size: 1rem;
  margin-inline-start: .15rem;
  filter: saturate(1.1);
  display: inline-block;
  transform: translateY(1px);
}
.muted        { color: var(--ink-dim); }
.muted--center{ text-align: center; }
.muted--lg    { font-size: 1.05rem; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; inset-inline: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 3rem);
  background: linear-gradient(180deg, rgba(10,15,31,.85), rgba(10,15,31,0));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background .2s, border-color .2s;
}
.nav.is-scrolled {
  background: rgba(10,15,31,.94);
  border-bottom: 1px solid var(--line);
}
.nav__brand { display: inline-flex; align-items: center; gap: .75rem; }
.nav__mark {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px;
  background: var(--accent); color: var(--bg);
  font-family: var(--font-display); font-weight: 900; font-size: .95rem;
  border-radius: 9px;
  transform: rotate(-4deg);
  letter-spacing: -.02em;
}
.nav__name {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .04em;
  font-size: .95rem;
}
.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a {
  font-size: .9rem; font-weight: 500;
  color: var(--ink-dim);
  transition: color .15s;
  position: relative;
}
.nav__links a:not(.nav__cta)::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 100%;
  height: 1px; background: var(--accent);
  transition: right .25s;
}
.nav__links a:not(.nav__cta):hover { color: var(--ink); }
.nav__links a:not(.nav__cta):hover::after { right: 0; }
.nav__cta {
  padding: .55rem 1.1rem;
  background: var(--accent); color: var(--bg) !important;
  border-radius: 999px;
  font-weight: 600;
  transition: background .15s, transform .15s;
}
.nav__cta:hover { background: var(--accent-2); transform: translateY(-1px); }

.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  flex-direction: column; justify-content: space-between;
}
.nav__toggle span {
  display: block; height: 2px; background: var(--ink);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
  transform-origin: center;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 680px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; top: var(--nav-h); inset-inline: 0; bottom: 0;
    flex-direction: column; justify-content: flex-start;
    gap: 0;
    background: rgba(10,15,31,.98);
    backdrop-filter: blur(20px);
    padding: 2rem 2rem 3rem;
    transform: translateX(100%);
    transition: transform .3s ease;
    border-top: 1px solid var(--line);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a {
    width: 100%;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--ink);
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--line-2);
  }
  .nav__links a:not(.nav__cta)::after { display: none; }
  .nav__cta {
    background: var(--accent) !important;
    color: var(--bg) !important;
    margin-top: 1.5rem;
    padding: 1rem 1.4rem !important;
    width: 100%;
    text-align: center;
    border-radius: 999px !important;
    font-family: var(--font-body) !important;
    font-size: 1rem !important;
    border-bottom: none !important;
  }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  padding: calc(var(--nav-h) + 2rem) clamp(1.25rem, 5vw, 5rem) 2.5rem;
  gap: clamp(2rem, 5vw, 5rem);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__glow {
  position: absolute;
  width: 60vmax; height: 60vmax;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .45;
}
.hero__glow--orange {
  top: -20vmax; right: -20vmax;
  background: radial-gradient(circle, var(--accent), transparent 60%);
}
.hero__glow--gold {
  bottom: -25vmax; left: -25vmax;
  background: radial-gradient(circle, var(--gold), transparent 60%);
  opacity: .22;
}
.hero__grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .35 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .22;
  mix-blend-mode: overlay;
}

.hero__copy { position: relative; z-index: 2; min-width: 0; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-mono);
  font-size: .75rem; letter-spacing: .22em;
  color: var(--ink-dim);
  margin: 0 0 1.5rem;
  text-transform: uppercase;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}
.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.5rem, 12vw, 9rem);
  line-height: .85;
  letter-spacing: -.01em;
  text-transform: uppercase;
  padding-inline-end: .15em;
  overflow: visible;
}
.hero__title-line { display: block; }
.hero__title-line--accent {
  color: var(--accent);
  font-style: italic;
  display: inline-block;
  transform-origin: left center;
  animation: beatPulse 1.2s ease-in-out infinite;
}
@keyframes beatPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.025); }
}
.ticker {
  margin: 1.6rem 0 1.8rem;
  border-block: 1px solid var(--line);
  padding-block: .85rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track {
  display: flex; gap: 1.6rem; align-items: center;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem; letter-spacing: .12em;
  color: var(--ink);
  animation: ticker 28s linear infinite;
  width: max-content;
}
.ticker__dot { color: var(--accent); font-size: .55rem; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.hero__lede {
  max-width: 38ch;
  color: var(--ink-dim);
  font-size: 1.05rem;
  margin: 0 0 1.8rem;
}
.hero__cta { display: flex; gap: .7rem; flex-wrap: wrap; }

.hero__photo {
  position: relative; z-index: 1;
  aspect-ratio: 3/4;
  width: 100%;
  max-width: 480px;
  justify-self: end;
  border-radius: var(--r-lg);
  overflow: hidden;
  transform: rotate(2deg);
  box-shadow:
    0 30px 80px rgba(0,0,0,.5),
    0 0 0 1px rgba(225,29,56,.15) inset;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__photo .placeholder { min-height: 0; height: 100%; }

/* About / Kitchen real-photo treatment (replaces placeholder boxes) */
.about__photo img,
.kitchen__photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-md);
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.04) inset;
}
.about__photo img   { transform: rotate(-1.5deg); }
.kitchen__photo img { transform: rotate(1.5deg); }

/* EP slot — wide aspect for real photo */
.ep__art--wide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-md);
  box-shadow: 0 20px 50px rgba(0,0,0,.55);
  position: relative;
  z-index: 1;
}

.hero__scroll {
  position: absolute;
  bottom: 1.4rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-family: var(--font-mono); font-size: .65rem; letter-spacing: .3em;
  color: var(--ink-mute);
  z-index: 3;
}
.hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, var(--ink-mute), transparent);
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: calc(var(--nav-h) + 1.5rem); padding-bottom: 3rem; }
  .hero__photo { max-width: 340px; justify-self: center; transform: rotate(1deg); }
  .hero__scroll { display: none; }
}
@media (max-width: 480px) {
  .hero { padding-top: calc(var(--nav-h) + 1rem); padding-bottom: 2.5rem; }
  .hero__title { font-size: clamp(3rem, 16vw, 5rem); }
  .hero__photo { max-width: 280px; }
  .ticker__track { font-size: .9rem; gap: 1.2rem; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600; font-size: .95rem;
  border: 1px solid transparent;
  transition: transform .15s, background .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: var(--bg); }
.btn--primary:hover { background: var(--accent-2); }
.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--gold { background: var(--gold); color: var(--bg); }
.btn--gold:hover { background: #ffd166; }
.btn--lg { padding: 1.05rem 1.8rem; font-size: 1rem; }

/* ---------- placeholders ---------- */
.placeholder {
  position: relative;
  width: 100%; height: 100%;
  min-height: 280px;
  border-radius: var(--r-md);
  background:
    repeating-linear-gradient(45deg, rgba(200,16,46,.08) 0 12px, transparent 12px 28px),
    linear-gradient(135deg, var(--bg-3), var(--bg-2));
  border: 1px dashed rgba(200,16,46,.35);
  display: grid; place-items: center;
}
.placeholder--hero  { min-height: 320px; }
.placeholder--tall  { min-height: 340px; }
.placeholder--square { aspect-ratio: 1/1; min-height: 0; }
.placeholder--video { aspect-ratio: 9/16; min-height: 0; }
.placeholder__label {
  font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .2em;
  color: rgba(225,29,56,.85);
  text-align: center; line-height: 1.6;
  text-transform: uppercase;
  padding: 0 1rem;
}
@media (max-width: 600px) {
  .placeholder--tall { min-height: 360px; }
  .placeholder--video { aspect-ratio: 4/5; }
}

/* ---------- sections common ---------- */
.about, .music, .kitchen, .smoothie, .collab {
  padding-block: var(--section-pad);
  border-top: 1px solid var(--line-2);
}

/* ---------- ABOUT ---------- */
.about__photo .placeholder { transform: rotate(-2deg); }
.badges {
  list-style: none; padding: 0;
  margin: 1.6rem 0 0;
  display: flex; flex-wrap: wrap; gap: .55rem;
}
.badge {
  display: inline-block;
  padding: .4rem .85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--ink-dim);
  letter-spacing: .08em;
}

/* ---------- MUSIC ---------- */
.music {
  background: linear-gradient(180deg, transparent, rgba(200,16,46,.04), transparent);
}
.music__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.music__head .kicker { margin-inline: auto; }
.ep {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--bg-2), rgba(200,16,46,.05));
  border: 1px solid var(--line);
}
@media (max-width: 820px) { .ep { grid-template-columns: 1fr; } }
.ep__art { position: relative; }
.ep__stamp {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--accent); color: var(--bg);
  font-family: var(--font-mono); font-weight: 700;
  font-size: .68rem; letter-spacing: .2em;
  padding: .42rem .72rem; border-radius: 4px;
  text-transform: uppercase;
}
.ep__platforms {
  display: flex; gap: .5rem; flex-wrap: wrap;
  margin: 1.4rem 0 1.8rem;
}
.pill {
  font-family: var(--font-mono);
  font-size: .72rem;
  padding: .35rem .8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-dim);
}
.notify { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.notify input {
  flex: 1; min-width: min(100%, 220px);
  padding: .8rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}
.notify input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}
.notify button {
  padding: .8rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: var(--ink); color: var(--bg);
  font-weight: 600;
}
.notify button:disabled { opacity: .5; cursor: default; }
.notify__ok {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: .85rem; align-self: center;
}

.shows { margin-top: clamp(3rem, 6vw, 5rem); }
.shows h3 { text-align: center; margin-bottom: 2rem; }
.shows__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
}
@media (max-width: 720px) {
  .shows__grid {
    grid-template-columns: 1fr 1fr;
    max-width: 540px;
    margin-inline: auto;
  }
}
@media (max-width: 460px) {
  .shows__grid { grid-template-columns: 1fr; max-width: 300px; }
}
.show-card {
  display: block;
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform .2s;
}
.show-card:hover { transform: translateY(-4px); }
.muted--center a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}

/* ---------- KITCHEN ---------- */
.kitchen__photo .placeholder { transform: rotate(1.5deg); }

/* ---------- SMOOTHIE ---------- */
.smoothie { position: relative; overflow: hidden; }
.smoothie::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 80% 50%, rgba(240,193,75,.15), transparent 60%);
  pointer-events: none;
}
.smoothie__inner {
  display: grid; grid-template-columns: 1.2fr .8fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
}
@media (max-width: 820px) {
  .smoothie__inner { grid-template-columns: 1fr; text-align: center; }
  .smoothie__copy { margin-inline: auto; }
}
.smoothie__copy { max-width: 540px; }
.smoothie__art { display: grid; place-items: center; }
.smoothie__bottle {
  width: 180px;
  filter: drop-shadow(0 30px 50px rgba(200,16,46,.35));
}
.smoothie__bottle-cap {
  width: 70px; height: 28px;
  margin: 0 auto -4px;
  background: var(--gold);
  border-radius: 6px 6px 0 0;
}
.smoothie__bottle-body {
  height: 280px;
  background: linear-gradient(180deg, var(--accent), #8B0820);
  border-radius: 28px 28px 18px 18px / 14px 14px 22px 22px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem; line-height: 1;
  text-align: center; color: var(--bg);
  letter-spacing: -.01em;
  position: relative;
}
.smoothie__bottle-body::before {
  content: '';
  position: absolute; top: 18%; left: 12%;
  width: 18%; height: 60%;
  background: linear-gradient(180deg, rgba(255,255,255,.4), transparent);
  border-radius: 50%;
  filter: blur(4px);
}

/* ---------- COLLAB FORM ---------- */
.collab {
  text-align: center;
  padding-bottom: calc(var(--section-pad) + 2rem);
}
.collab .kicker { display: inline-flex; }
.collab .h2 { margin-bottom: 1rem; }
.collab .muted--lg {
  max-width: 56ch;
  margin: 0 auto 2.5rem;
}

.form {
  text-align: left;
  display: grid; gap: 1.1rem;
  background: var(--bg-2);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  max-width: 760px;
  margin-inline: auto;
}
.form__row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.form label {
  display: grid; gap: .4rem;
  font-size: .82rem;
  color: var(--ink-dim);
  letter-spacing: .02em;
}
.form label em { font-style: normal; font-size: .78rem; }
.form input, .form textarea {
  width: 100%;
  padding: .85rem 1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 16px; /* prevent iOS auto-zoom */
  resize: vertical;
}
.form input:focus, .form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}
.form button { justify-self: stretch; width: 100%; justify-content: center; }
@media (min-width: 601px) {
  .form button { justify-self: start; width: auto; }
}
.form__fineprint {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--ink-mute);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.alert {
  padding: 1rem 1.2rem;
  border-radius: var(--r-md);
  margin: 0 auto 1.6rem;
  max-width: 760px;
  font-size: .95rem;
  text-align: left;
}
.alert--ok  { background: rgba(240,193,75,.12); border: 1px solid var(--gold-soft); color: var(--gold); }
.alert--err { background: rgba(200,16,46,.1);  border: 1px solid var(--accent);    color: var(--accent-2); }

/* ---------- FOOTER ---------- */
.foot {
  padding: 2rem 0 1.25rem;
  border-top: 1px solid var(--line);
  background: #06091a;
}
.foot__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 2rem;
  align-items: center;
}
.foot__brand { display: flex; align-items: center; gap: .75rem; }
.foot__mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--accent); color: var(--bg);
  font-family: var(--font-display); font-weight: 900;
  font-size: .95rem;
  border-radius: 9px;
  transform: rotate(-4deg);
}
.foot__name {
  margin: 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: 1rem;
  letter-spacing: .03em;
}
.foot__brand .muted { font-size: .8rem; }
.foot__links { display: flex; gap: 1.2rem; }
.foot__links a {
  font-size: .85rem; color: var(--ink-dim);
  padding: .25rem 0;
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}
.foot__links a:hover { color: var(--ink); border-bottom-color: var(--accent); }
.foot__copy {
  grid-column: 1 / -1;
  margin: .25rem 0 0; padding-top: .9rem;
  border-top: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: .65rem;
  color: var(--ink-mute); letter-spacing: .15em;
  text-transform: uppercase;
}
@media (max-width: 600px) {
  .foot__inner { grid-template-columns: 1fr; text-align: center; }
  .foot__brand { justify-content: center; }
  .foot__links { justify-content: center; flex-wrap: wrap; }
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* =====================================================================
   MUSIC-RELATED COMPONENTS (v3)
   ===================================================================== */

/* ---------- EQUALIZER ---------- */
.eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
  margin-inline-start: .35rem;
}
.eq span {
  display: block;
  width: 3px;
  background: var(--accent);
  border-radius: 2px;
  height: 100%;
  transform-origin: bottom;
  animation: eqBar 1s ease-in-out infinite;
}
.eq span:nth-child(1) { animation-duration: .9s;  animation-delay: 0s;    }
.eq span:nth-child(2) { animation-duration: 1.1s; animation-delay: -.15s; }
.eq span:nth-child(3) { animation-duration: .85s; animation-delay: -.30s; }
.eq span:nth-child(4) { animation-duration: 1.05s;animation-delay: -.08s; }
.eq span:nth-child(5) { animation-duration: .95s; animation-delay: -.22s; }
@keyframes eqBar {
  0%, 100% { transform: scaleY(.25); }
  50%      { transform: scaleY(1); }
}
.eq--sm { height: 12px; gap: 2px; margin-inline-start: .5rem; }
.eq--sm span { width: 2px; background: var(--gold); }
@media (max-width: 600px) {
  .eq--sm { display: none; }
}

/* ---------- SPINNING VINYL ---------- */
.ep__art { position: relative; isolation: isolate; }
.vinyl {
  position: absolute;
  top: 50%;
  right: -8%;
  transform: translateY(-50%);
  height: 130%;
  aspect-ratio: 1 / 1;
  width: auto;
  z-index: 0;
  pointer-events: none;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,.6));
}
.vinyl__disc {
  width: 100%; height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.07), transparent 35%),
    repeating-radial-gradient(circle at center,
      #0a0a0a 0 1px,
      #1a1a1a 1px 4px),
    #000;
  position: relative;
  animation: vinylSpin 7s linear infinite;
}
.vinyl__disc::before {
  content: '';
  position: absolute; inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle,
    var(--accent) 0 70%,
    var(--accent-deep) 70% 100%);
  box-shadow: 0 0 0 3px var(--gold) inset;
}
.vinyl__disc::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 7%; aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  background: var(--bg);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(0,0,0,.6);
}
@keyframes vinylSpin { to { transform: rotate(360deg); } }
.ep__art .placeholder,
.ep__art > img { position: relative; z-index: 1; }
.ep__stamp { z-index: 2; }
@media (max-width: 820px) {
  .vinyl { right: -6%; height: 115%; }
}
@media (max-width: 480px) {
  .vinyl { display: none; }
}

/* ---------- WAVEFORM ---------- */
.waveform {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin: 1.5rem auto 0;
  height: 56px;
  max-width: 560px;
  width: 100%;
}
.waveform span {
  display: block;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  border-radius: 2px;
  transform-origin: center;
  animation: wavePulse 1.6s ease-in-out infinite;
}
.waveform span:nth-child(1)  { height: 30%; animation-delay: -1.2s; }
.waveform span:nth-child(2)  { height: 55%; animation-delay: -.4s;  }
.waveform span:nth-child(3)  { height: 70%; animation-delay: -.9s;  }
.waveform span:nth-child(4)  { height: 40%; animation-delay: -.2s;  }
.waveform span:nth-child(5)  { height: 85%; animation-delay: -1.5s; }
.waveform span:nth-child(6)  { height: 60%; animation-delay: -.7s;  }
.waveform span:nth-child(7)  { height: 95%; animation-delay: -.3s;  }
.waveform span:nth-child(8)  { height: 45%; animation-delay: -1.1s; }
.waveform span:nth-child(9)  { height: 75%; animation-delay: -.6s;  }
.waveform span:nth-child(10) { height: 35%; animation-delay: -1.3s; }
.waveform span:nth-child(11) { height: 80%; animation-delay: -.5s;  }
.waveform span:nth-child(12) { height: 50%; animation-delay: -1.0s; }
.waveform span:nth-child(13) { height: 100%; animation-delay: -.8s; }
.waveform span:nth-child(14) { height: 65%; animation-delay: -.1s;  }
.waveform span:nth-child(15) { height: 40%; animation-delay: -1.4s; }
.waveform span:nth-child(16) { height: 90%; animation-delay: -.6s;  }
.waveform span:nth-child(17) { height: 55%; animation-delay: -.9s;  }
.waveform span:nth-child(18) { height: 70%; animation-delay: -.3s;  }
.waveform span:nth-child(19) { height: 30%; animation-delay: -1.5s; }
.waveform span:nth-child(20) { height: 85%; animation-delay: -.7s;  }
.waveform span:nth-child(21) { height: 60%; animation-delay: -.2s;  }
.waveform span:nth-child(22) { height: 95%; animation-delay: -1.2s; }
.waveform span:nth-child(23) { height: 45%; animation-delay: -.4s;  }
.waveform span:nth-child(24) { height: 75%; animation-delay: -.9s;  }
.waveform span:nth-child(25) { height: 35%; animation-delay: -1.1s; }
.waveform span:nth-child(26) { height: 80%; animation-delay: -.5s;  }
.waveform span:nth-child(27) { height: 50%; animation-delay: -.8s;  }
.waveform span:nth-child(28) { height: 100%; animation-delay: -.1s; }
.waveform span:nth-child(29) { height: 65%; animation-delay: -1.3s; }
.waveform span:nth-child(30) { height: 40%; animation-delay: -.6s;  }
.waveform span:nth-child(31) { height: 90%; animation-delay: -1.0s; }
.waveform span:nth-child(32) { height: 55%; animation-delay: -.3s;  }
.waveform span:nth-child(33) { height: 70%; animation-delay: -1.4s; }
.waveform span:nth-child(34) { height: 30%; animation-delay: -.7s;  }
.waveform span:nth-child(35) { height: 85%; animation-delay: -.2s;  }
.waveform span:nth-child(36) { height: 60%; animation-delay: -1.2s; }
.waveform span:nth-child(37) { height: 95%; animation-delay: -.4s;  }
.waveform span:nth-child(38) { height: 45%; animation-delay: -.9s;  }
.waveform span:nth-child(39) { height: 75%; animation-delay: -.5s;  }
.waveform span:nth-child(40) { height: 50%; animation-delay: -1.1s; }
@keyframes wavePulse {
  0%, 100% { transform: scaleY(.4); opacity: .6; }
  50%      { transform: scaleY(1.05); opacity: 1; }
}
@media (max-width: 500px) {
  .waveform { gap: 3px; height: 44px; }
  .waveform span { width: 2px; }
}

/* ---------- FOOTER SIGNATURE (handwritten) ---------- */
.foot__sig {
  grid-column: 1 / -1;
  margin: 0;
  font-family: var(--font-script);
  font-size: 1.4rem;
  color: var(--gold);
  transform: rotate(-2deg);
  text-align: center;
  letter-spacing: .01em;
}
@media (min-width: 601px) {
  .foot__sig { text-align: left; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
