/* =========================================================
   ALLEYCVT — Official Site
   Palette pulled from "The Palladium" artwork:
   night-sky navy, neon pink, teal, marquee gold.
   ========================================================= */

/* ---------- Fonts (brand: Exo 2) ---------- */
@font-face { font-family: "Exo 2"; src: url("../assets/fonts/Exo2-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Exo 2"; src: url("../assets/fonts/Exo2-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Exo 2"; src: url("../assets/fonts/Exo2-Black.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Exo 2"; src: url("../assets/fonts/Exo2-LightItalic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  /* Core palette */
  --ink:        #07060F;   /* page background */
  --night:      #0E0B26;   /* deep navy section */
  --surface:    #17133A;   /* cards on dark */
  --surface-2:  #221C4F;
  --line:       rgba(244, 241, 255, 0.12);

  --pink:       #FF4F9A;   /* neon pink — primary accent */
  --pink-deep:  #C7246E;   /* pink for text on light bg */
  --teal:       #4FD1D9;   /* neon teal */
  --gold:       #F2B84B;   /* marquee gold */
  --violet:     #7B3FE4;   /* press-shoot violet */
  --lime:       #A6F25A;   /* palm-tree neon, sparing */

  --text:       #F4F1FF;
  --text-muted: #B4AED6;   /* ≥7:1 on --ink */

  --light-bg:   #F4F2FB;
  --light-text: #0E0B26;
  --light-muted:#4A4568;

  /* Type */
  --font: "Exo 2", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-title: clamp(2.5rem, 6vw + 0.5rem, 5.25rem);

  /* Space (8pt rhythm) */
  --s-1: 0.5rem; --s-2: 1rem; --s-3: 1.5rem; --s-4: 2rem;
  --s-6: 3rem; --s-8: 4rem; --s-12: 6rem;
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --gutter: clamp(1rem, 4vw, 3rem);

  --radius: 14px;
  --radius-sm: 8px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms;
  --dur: 280ms;

  /* Z-index scale */
  --z-header: 100;
  --z-menu: 90;

  --header-h: 72px;

  color-scheme: dark;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
ul[role="list"] { list-style: none; margin: 0; padding: 0; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--s-2); top: -100px; z-index: 1000;
  background: var(--pink); color: var(--ink); font-weight: 600;
  padding: 0.75rem 1rem; border-radius: var(--radius-sm); text-decoration: none;
}
.skip-link:focus { top: var(--s-2); }

.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Brand marks (recolorable via CSS masks) ---------- */
.wordmark, .mascot {
  display: block;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
.wordmark {
  -webkit-mask-image: url("../assets/logos/wordmark.png");
  mask-image: url("../assets/logos/wordmark.png");
  aspect-ratio: 3853 / 913;
}
.mascot {
  -webkit-mask-image: url("../assets/logos/mascot.png");
  mask-image: url("../assets/logos/mascot.png");
  aspect-ratio: 1;
}
.wordmark--glow {
  color: var(--text);
  filter: drop-shadow(0 0 6px rgba(255, 79, 154, 0.85)) drop-shadow(0 0 22px rgba(255, 79, 154, 0.45));
}

/* ---------- Icons ---------- */
.icon {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  font-size: var(--fs-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease,
              border-color var(--dur-fast) ease, box-shadow var(--dur) ease, transform var(--dur-fast) ease;
}
.btn:active { transform: scale(0.97); }
.btn--sm { min-height: 44px; padding: 0.55rem 1.1rem; font-size: var(--fs-xs); }
.btn--pink { background: var(--pink); color: var(--ink); }
.btn--pink:hover { background: #ff73b0; box-shadow: 0 0 0 4px rgba(255, 79, 154, 0.22), 0 0 28px rgba(255, 79, 154, 0.55); }
.btn--ghost { background: transparent; border-color: rgba(244, 241, 255, 0.4); color: var(--text); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); box-shadow: 0 0 22px rgba(79, 209, 217, 0.3); }
.btn--dark { background: var(--ink); color: var(--text); }
.btn--dark:hover { background: var(--surface); }
.btn[disabled] { opacity: 0.5; cursor: progress; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.4em;
  min-height: 44px;
  font-weight: 600; font-size: var(--fs-sm);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px;
  text-decoration-color: currentColor;
  transition: color var(--dur-fast) ease;
}

/* ---------- Section scaffolding ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--dark { background: var(--ink); }
.section--night { background: var(--night); }
.section--light {
  background-color: var(--light-bg);
  color: var(--light-text);
  /* white-tile grid, a nod to the press shoot */
  background-image:
    linear-gradient(rgba(14, 11, 38, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 11, 38, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  color-scheme: light;
}
.section--light .text-link { color: var(--pink-deep); }
.section--light .text-link:hover { color: var(--light-text); }
.section--dark .text-link, .section--night .text-link { color: var(--teal); }

.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: var(--s-2) var(--s-4);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.section-title {
  font-weight: 900;
  font-size: var(--fs-title);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.section-title em {
  font-weight: 300;
  font-style: italic;
  text-transform: lowercase;
  letter-spacing: -0.02em;
  color: var(--pink);
}
.section--light .section-title em { color: var(--pink-deep); }
/* Title sticker: slapped onto the top-right corner of the heading (never wraps) */
/* reserve room on the right so the sticker sits beside the word with breathing room, not on it */
.section-title:has(.sticker--title) { position: relative; padding-right: 0.9em; }
.sticker--title {
  position: absolute;
  right: 0; top: -0.5em;
  --size: 0.6em;
  box-shadow: 0 0 0 2px #fff, 0 8px 18px rgba(7, 6, 15, 0.35);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: var(--z-header);
  height: var(--header-h);
  /* frosted glass even over the hero photo, so nav text stays readable on the white tile wall */
  background: rgba(7, 6, 15, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color var(--dur) ease, box-shadow var(--dur) ease;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(7, 6, 15, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
}
.site-header__logo { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); }
.site-header__logo .wordmark { width: 136px; transition: color var(--dur-fast) ease; }
.site-header__logo:hover .wordmark { color: var(--pink); }

.site-nav__list { display: flex; gap: clamp(1rem, 2.4vw, 2.25rem); list-style: none; margin: 0; padding: 0; }
.site-nav__list a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; color: var(--text-muted);
  position: relative;
  transition: color var(--dur-fast) ease;
}
.site-nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px;
  background: var(--pink); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.site-nav__list a:hover, .site-nav__list a[aria-current="true"] { color: var(--text); }
.site-nav__list a:hover::after, .site-nav__list a[aria-current="true"]::after { transform: scaleX(1); }

.site-header__actions { display: flex; align-items: center; gap: var(--s-1); }

.menu-toggle {
  display: none;
  width: 48px; height: 48px;
  background: none; border: 0; cursor: pointer; border-radius: 50%;
  align-items: center; justify-content: center;
}
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
  display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast) ease;
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -7px; }
.menu-toggle__bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 899px) {
  .menu-toggle { display: inline-flex; }
  .site-nav__list {
    position: fixed; inset: var(--header-h) 0 auto 0;
    z-index: var(--z-menu);
    flex-direction: column; gap: 0;
    padding: var(--s-2) var(--gutter) var(--s-4);
    background: rgba(7, 6, 15, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
  }
  .site-header.is-open .site-nav__list {
    transform: none; opacity: 1; visibility: visible;
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
  }
  .site-nav__list a {
    min-height: 56px; width: 100%;
    font-size: 1.375rem; font-weight: 900; letter-spacing: 0.06em; color: var(--text);
    border-bottom: 1px solid var(--line);
  }
  .site-nav__list a::after { display: none; }
}

/* ---------- Glitter stickers (brand emblems, decorative) ---------- */
.sticker {
  display: block;
  width: var(--size, 96px);
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  /* white die-cut edge, like a vinyl sticker */
  box-shadow: 0 0 0 3px #fff, 0 10px 24px rgba(7, 6, 15, 0.45);
  transform: rotate(var(--tilt, -8deg));
  pointer-events: none;
  user-select: none;
}
.sticker--float { animation: sticker-float 7s ease-in-out infinite; animation-delay: var(--delay, 0s); }
@keyframes sticker-float {
  0%, 100% { transform: translateY(0) rotate(var(--tilt, -8deg)); }
  50%      { transform: translateY(-10px) rotate(calc(var(--tilt, -8deg) + 6deg)); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 88vh;   /* a bit shorter than full screen */
  min-height: 88dvh;
  overflow: hidden;
  background: var(--ink);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 23%;   /* places her as high in the (shorter) hero as she sat in the full-height version, wall above her head still clear for the logo */
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    /* bottom fade reaches further up the photo */
    linear-gradient(0deg, var(--ink) 0%, rgba(7, 6, 15, 0.82) 16%, rgba(7, 6, 15, 0.45) 36%, rgba(7, 6, 15, 0.15) 50%, rgba(7, 6, 15, 0) 62%);
}
.hero__content {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  gap: var(--s-4);
  padding: calc(var(--header-h) + clamp(0.75rem, 3vh, 2rem)) var(--gutter) clamp(2.5rem, 8vh, 5rem);
  text-align: center;
}
/* Logo + stickers: stickers live in their own grid columns so they never overlap the logo */
.hero__title {
  --s1: clamp(64px, 8vw, 140px);   /* gold smiley, top-left */
  --s3: clamp(48px, 5.6vw, 100px); /* blue AC, bottom-left */
  --s2: clamp(72px, 9.5vw, 164px); /* pink AC, top-right */
  /* Keep the logo inside the white tile wall of the landscape photo. The photo is drawn with
     object-fit: cover, so its width is max(100vw, 133.3vh); the white wall spans ~26.5%–72.5%
     of it. 41% of the photo width leaves a small margin on both sides of a centered logo. */
  --logo: min(820px, max(41vw, 54.7vh));
  display: grid;
  /* equal side columns keep the logo exactly centered */
  grid-template-columns: var(--s2) minmax(0, var(--logo)) var(--s2);
  grid-template-areas:
    "s1 logo s2"
    "s3 logo s2";
  align-items: center;
  justify-content: center;
  column-gap: clamp(26px, 3.6vw, 64px); /* breathing room between stickers and logo */
  width: 100%;
}
.hero__title .wordmark {
  grid-area: logo;
  width: 100%;
  color: var(--ink);
  /* pink offset + a soft, slight drop shadow */
  filter: drop-shadow(4px 4px 0 var(--pink)) drop-shadow(0 10px 18px rgba(7, 6, 15, 0.45));
}
.hero__sticker--1 { grid-area: s1; --size: var(--s1); --tilt: -14deg; --delay: 0s;    align-self: end; justify-self: end; }
.hero__sticker--3 { grid-area: s3; --size: var(--s3); --tilt: 6deg;   --delay: -4.5s; align-self: start; justify-self: end; margin-top: -0.75rem; }
.hero__sticker--2 { grid-area: s2; --size: var(--s2); --tilt: 10deg;  --delay: -2.5s; align-self: start; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2); }
.btn--glass { background: rgba(7, 6, 15, 0.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* Portrait screens get the portrait crop (see <picture>); keep the wall above her head in view */
@media (max-aspect-ratio: 1/1) {
  /* portrait screens stay full height: the photo is sized by the hero's height here, and a
     shorter hero would move her head up into the logo */
  .hero { min-height: 100vh; min-height: 100dvh; }
  .hero__bg img { object-position: 50% 35%; }
  .hero__title { --logo: min(820px, 70vw); } /* portrait crop is almost all white wall */
}
@media (max-width: 767px) {
  /* Phones: logo full width, stickers in a row above it (still never on top of it) */
  .hero__title {
    --s1: 58px; --s2: 66px;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "s1 s2"
      "logo logo";
    row-gap: 32px;
  }
  .hero__sticker--1 { justify-self: start; align-self: center; margin-left: 4px; }
  .hero__sticker--2 { justify-self: end; margin-right: 4px; }
  .hero__sticker--3 { display: none; }
}

/* ---------- Marquee ---------- */
.marquee-zone {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 5rem);
  background: var(--ink);
  overflow: hidden;
}
.marquee {
  display: flex;
  overflow: hidden;
  padding-block: 0.9rem;
  font-weight: 900;
  font-size: clamp(2.25rem, 6vw, 5rem);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  width: 110%;
  margin-left: -5%;
}
.marquee--pink { background: var(--pink); color: var(--ink); transform: rotate(-2.5deg); position: relative; z-index: 2; box-shadow: 0 0 40px rgba(255, 79, 154, 0.35); }
.marquee--teal { background: var(--teal); color: var(--ink); transform: rotate(2deg); margin-top: -0.6rem; font-size: clamp(1.25rem, 2.6vw, 2rem); padding-block: 0.7rem; }
.marquee__track { display: flex; flex: none; animation: marquee 32s linear infinite; }
/* Pink band scrolls right (reversed), teal band scrolls left; each keeps its own speed */
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee--teal .marquee__track { animation-duration: 40s; }
.marquee__group { display: flex; align-items: center; flex: none; gap: 0.45em; padding-right: 0.45em; }
.marquee__sticker { --size: 0.95em; --tilt: 0deg; box-shadow: 0 0 0 2px #fff; animation: spin 10s linear infinite normal; } /* clockwise: rolls with the rightward band */
.marquee__star { font-size: 0.8em; }
.marquee-zone.is-paused .marquee__track,
.marquee-zone.is-paused .marquee__sticker { animation-play-state: paused; }

.marquee-toggle { position: absolute; right: var(--gutter); bottom: 0.5rem; z-index: 3; }
.marquee-toggle, .media-toggle {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
  cursor: pointer;
  transition: background-color var(--dur-fast) ease;
}
.marquee-toggle:hover, .media-toggle:hover { background: var(--surface-2); }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- About (video background) ---------- */
.about {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  min-height: min(100vh, 960px);
  min-height: min(100dvh, 960px);
  padding-block: var(--section-y);
  background: var(--ink) url("../assets/video/promo-poster.jpg") center / cover no-repeat;
  text-align: center;
}
/* Oversized so the parallax shift never reveals an edge */
.about__media {
  position: absolute; inset: -12% 0;
  z-index: -2;
  will-change: transform;
}
.about__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.about__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, var(--ink) 0%, rgba(7, 6, 15, 0) 22%, rgba(7, 6, 15, 0) 78%, var(--ink) 100%),
    radial-gradient(70% 60% at 50% 50%, rgba(7, 6, 15, 0.72), rgba(7, 6, 15, 0.5) 100%),
    linear-gradient(0deg, rgba(123, 63, 228, 0.18), rgba(255, 79, 154, 0.12));
}
.about__inner {
  display: grid; justify-items: center;
  max-width: 1200px;
}
/* Title is shown exactly as typed ("WELCOME TO" / "Planet Supersonic"): no automatic case changes */
.about__title {
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 0.9;
  text-align: center;
  text-transform: none;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
}
/* Bigger smiley that hangs off the title's top-right corner. No padding is reserved, so the
   centered text keeps its full width ("Planet Supersonic" stays on one line where it fits). */
.about__title:has(.sticker--title) { padding-inline: 0; }
.about__title .sticker--title {
  --size: 0.9em;
  right: -1.15em;
  top: -0.6em;
}
@media (max-width: 767px) {
  /* phones: the title fills the width, so the smiley sits just above its top-right corner */
  .about__title .sticker--title { --size: 0.95em; right: 0; top: -1.6em; }
}
.about__title em {
  display: block;
  font-size: 0.85em; /* all-caps line is wider; scaled so it spans about the same width as before */
  text-transform: none;
  filter: drop-shadow(0 0 18px rgba(255, 79, 154, 0.55));
}
.about__toggle { position: absolute; right: var(--gutter); bottom: var(--s-3); z-index: 2; }

/* ---------- Releases ---------- */
.releases {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}
.release {
  display: grid; gap: 0.35rem;
  text-decoration: none; color: inherit;
}
.release__name { font-weight: 900; font-size: var(--fs-base); letter-spacing: 0.04em; margin-top: var(--s-1); }
.release__meta { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--light-muted); }

.cover {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--text);
  isolation: isolate;
  box-shadow: 0 14px 30px rgba(14, 11, 38, 0.22);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.release:hover .cover { transform: translateY(-6px); box-shadow: 0 24px 44px rgba(14, 11, 38, 0.3), 0 0 0 3px var(--pink); }
img.cover { display: block; width: 100%; height: auto; object-fit: cover; background: var(--surface); }
.release:hover .release__name { color: var(--pink-deep); }

.player { margin-top: clamp(2.5rem, 5vw, 4rem); border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 40px rgba(14, 11, 38, 0.22); }
.player iframe { display: block; border: 0; }

/* Music on a dark background */
.section--dark .release__meta { color: var(--text-muted); }
.section--dark .release:hover .release__name { color: var(--pink); }
.section--dark .cover { box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45); }
.section--dark .player { box-shadow: 0 0 0 1px var(--line), 0 18px 40px rgba(0, 0, 0, 0.4); }

@media (max-width: 1023px) { .releases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Videos ---------- */
.videos {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
}
.video { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); aspect-ratio: 16 / 9; }
.video--featured { grid-row: span 2; aspect-ratio: auto; min-height: 100%; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.video__facade {
  position: absolute; inset: 0;
  display: block; width: 100%; padding: 0; border: 0; background: none;
  cursor: pointer; text-align: left;
}
.video__facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.video__facade::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(7, 6, 15, 0.88), rgba(7, 6, 15, 0.1) 60%);
}
.video__facade:hover img { transform: scale(1.04); }

.video__play {
  position: absolute; z-index: 2; left: 50%; top: 50%;
  width: 72px; height: 72px; margin: -36px 0 0 -36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--pink); color: var(--ink);
  box-shadow: 0 0 0 8px rgba(255, 79, 154, 0.25), 0 0 40px rgba(255, 79, 154, 0.6);
  transition: transform var(--dur) var(--ease-out);
}
.video__play .icon { width: 28px; height: 28px; margin-left: 3px; }
.video:not(.video--featured) .video__play { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.video__facade:hover .video__play { transform: scale(1.08); }
.video__label {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  display: grid; gap: 0.2rem;
  padding: 0.85rem var(--s-3) 1rem;
  background: rgba(7, 6, 15, 0.82);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-top: 2px solid var(--pink);
}
.video:not(.video--featured) .video__label { padding: 0.6rem var(--s-2) 0.7rem; }
.video:not(.video--featured) .video__title { font-size: clamp(1rem, 1.4vw, 1.25rem); }
.video__kicker { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); }
.video__title { font-weight: 900; font-size: clamp(1.125rem, 2vw, 1.75rem); text-transform: uppercase; line-height: 1.05; color: var(--text); }

/* "coming soon" state for slots without a YouTube ID */
.video.is-empty .video__facade { cursor: default; }
.video.is-empty .video__play { background: var(--surface-2); color: var(--text-muted); box-shadow: none; }
.video.is-empty .video__facade:hover .video__play { transform: none; }
.video.is-empty .video__kicker::after { content: " · Coming soon"; color: var(--gold); }

@media (max-width: 899px) {
  .videos { grid-template-columns: 1fr; grid-template-rows: none; }
  .video--featured { grid-row: auto; aspect-ratio: 16 / 9; }
}

/* ---------- Tour ---------- */
.tour { overflow: hidden; }
.tour::before {
  content: ""; position: absolute; inset: auto -10% -40% auto; width: 60vw; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(123, 63, 228, 0.3), transparent 65%);
  pointer-events: none;
}
.tour__embed {
  position: relative;
  max-width: 1000px;
  margin-inline: auto;
  padding: clamp(0.5rem, 2vw, 1.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(23, 19, 58, 0.55);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.tour__embed iframe { display: block; min-height: 200px; border: 0; background: transparent; border-radius: 16px; color-scheme: light; }

/* Cap the list at ~5 shows; "Show all dates" lifts the cap */
.tour__clip {
  --tour-cap: 500px;               /* desktop: header (~64px) + 5 rows (~80px each) */
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}
.tour__clip.is-capped {
  max-height: var(--tour-cap);
  -webkit-mask-image: linear-gradient(#000 calc(100% - 72px), transparent);
  mask-image: linear-gradient(#000 calc(100% - 72px), transparent);
}
@media (max-width: 599px) {
  .tour__clip { --tour-cap: 720px; } /* phones: Tickets stacks under each show (~125px rows) */
}
.tour__more { display: flex; margin: var(--s-2) auto 0; }
.tour__more .icon { transition: transform var(--dur) var(--ease-out); }
.tour__more[aria-expanded="true"] .icon { transform: rotate(180deg); }
.tour__links {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 var(--s-2);
  padding: var(--s-1) var(--s-1) 0;
  border-top: 1px solid var(--line);
  margin-top: var(--s-1);
}
.tour__links a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.06em;
  color: var(--text-muted);
  text-decoration: underline dotted; text-underline-offset: 4px;
  transition: color var(--dur-fast) ease;
}
.tour__links a:hover { color: var(--teal); }

/* ---------- Merch ---------- */
.merch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.product {
  display: grid; gap: 0.35rem; align-content: start;
  height: 100%;
  padding: 0.75rem 0.75rem 1.25rem;
  border-radius: var(--radius);
  background: var(--night);
  color: var(--text);
  text-decoration: none; text-align: center;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), background-color var(--dur) ease;
}
.product:hover { transform: translateY(-6px); box-shadow: 0 22px 40px rgba(14, 11, 38, 0.28), 0 0 0 3px var(--teal); }
.product__img {
  aspect-ratio: 1;
  border-radius: calc(var(--radius) - 4px);
  background: radial-gradient(circle at 50% 40%, #2C2565, var(--surface) 70%);
  overflow: hidden;
  margin-bottom: var(--s-1);
}
.product__img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform 600ms var(--ease-out); }
.product:hover .product__img img { transform: scale(1.06) rotate(-2deg); }
.product__name { font-weight: 900; font-size: var(--fs-sm); letter-spacing: 0.06em; text-transform: uppercase; padding-inline: var(--s-1); }
.product__cta { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); }

.product--hot { background: var(--pink); color: var(--ink); }
.product--hot .product__img { background: radial-gradient(circle at 50% 40%, #FFE3F0, #FFB3D4 75%); }
.product--hot .product__cta { color: var(--ink); }
.product--hot:hover { box-shadow: 0 22px 40px rgba(199, 36, 110, 0.35), 0 0 0 3px var(--ink); }

.product--all {
  place-content: center; justify-items: center; gap: var(--s-2);
  min-height: 100%;
  padding: var(--s-4) var(--s-3);
  background:
    radial-gradient(80% 70% at 50% 0%, rgba(123, 63, 228, 0.55), transparent 70%),
    var(--night);
  border: 2px dashed rgba(79, 209, 217, 0.5);
}
.product__all-mark { width: 45%; max-width: 160px; color: var(--teal); transition: transform 900ms var(--ease-out); }
.product--all:hover .product__all-mark { transform: rotate(90deg); }
.product__all-title { font-weight: 900; font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1.05; text-transform: uppercase; }

@media (max-width: 899px) { .merch { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .product__name { font-size: var(--fs-xs); } }

/* ---------- Instagram (Mirror App feed) ---------- */
.ig-feed {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 240px;
}
.ig-feed__frame { display: block; min-height: 240px; }
.ig-feed__fallback { padding: var(--s-4) 0; text-align: center; }
.ig-feed__fallback a { color: var(--teal); font-weight: 600; }

/* ---------- Join / newsletter ---------- */
.join {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 8vw, 6.5rem);
  background:
    radial-gradient(60% 120% at 0% 0%, #ff8cc0, transparent 60%),
    linear-gradient(120deg, var(--pink), #B42ACF 70%, var(--violet));
  color: var(--ink);
}
.join__inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-4) clamp(2rem, 5vw, 5rem); align-items: center;
}
.join__sticker {
  position: absolute; z-index: 0;
  --size: 220px; --tilt: 0deg;
  right: -70px; top: -130px;
  opacity: 0.9;
  animation: spin 40s linear infinite;
}
.join .section-title { font-size: clamp(2.5rem, 5.5vw, 4.75rem); }
.join .section-title em { color: var(--text); }
.join__planet { color: var(--text); } /* same bold caps as JOIN, in white */
.join__copy { position: relative; z-index: 1; display: grid; gap: var(--s-2); }
.join__embed { position: relative; z-index: 1; }
.join__copy p { font-size: var(--fs-lg); max-width: 40ch; font-weight: 600; }

/* Laylo signup card. color-scheme: light lets Chrome keep the frame transparent
   around Laylo's dark card (a scheme mismatch with the dark page paints it white). */
.join__embed iframe {
  display: block; width: 100%; height: 250px; border: 0;
  color-scheme: light;
}
@media (min-width: 900px) { .join__embed iframe { height: 210px; } }

@media (max-width: 899px) {
  .join__inner { grid-template-columns: 1fr; }
  .join__sticker {
  position: absolute; z-index: 0;
  --size: 220px; --tilt: 0deg;
  right: -70px; top: -130px;
  opacity: 0.9;
  animation: spin 40s linear infinite;
}
}

/* ---------- Footer ---------- */
.site-footer {
  padding-block: clamp(3.5rem, 7vw, 5.5rem) var(--s-4);
  background: var(--ink);
  border-top: 1px solid var(--line);
}
.site-footer__brand { position: relative; max-width: 980px; margin-inline: auto; }
.site-footer__brand .wordmark { width: 100%; }
.footer__sticker { position: absolute; }
.footer__sticker--1 { --size: clamp(48px, 7vw, 96px); left: -2%; top: -18%; }
.footer__sticker--2 { --size: clamp(56px, 8vw, 112px); right: -3%; bottom: -14%; }
.footer__sticker--3 { --size: clamp(36px, 4.5vw, 64px); left: 44%; bottom: -30%; }
.site-footer__grid {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--s-3);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
}
.site-footer__links { display: flex; flex-wrap: wrap; gap: 0 var(--s-4); }
.site-footer__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); }

/* Contact disclosure: opens upward from the footer button */
.contact { position: relative; }
.contact__chevron { transition: transform var(--dur) var(--ease-out); }
.contact__toggle[aria-expanded="true"] { border-color: var(--pink); color: var(--pink); }
.contact__toggle[aria-expanded="true"] .contact__chevron { transform: rotate(180deg); }
.contact__menu {
  position: absolute; z-index: 20;
  right: 0; bottom: calc(100% + 10px);
  width: min(320px, calc(100vw - 2 * var(--gutter)));
  display: grid; gap: 6px;
  margin: 0; padding: 8px; list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 79, 154, 0.15);
  transform-origin: bottom right;
  animation: contact-in 200ms var(--ease-out);
}
@keyframes contact-in { from { opacity: 0; transform: translateY(6px) scale(0.97); } }
.contact__option {
  display: grid; gap: 2px;
  min-height: 44px;
  padding: 0.75rem 1rem;
  border-radius: calc(var(--radius) - 6px);
  text-decoration: none; color: var(--text);
  transition: background-color var(--dur-fast) ease;
}
.contact__option:hover, .contact__option:focus-visible { background: var(--surface-2); }
.contact__label { display: flex; align-items: center; justify-content: space-between; gap: var(--s-1); font-weight: 900; font-size: var(--fs-sm); letter-spacing: 0.08em; text-transform: uppercase; }
.contact__label .icon { color: var(--teal); transition: transform var(--dur-fast) ease; }
.contact__option:hover .contact__label .icon, .contact__option:focus-visible .contact__label .icon { transform: translate(2px, -2px); }
.contact__sub { font-size: var(--fs-xs); color: var(--text-muted); }

.site-footer__links a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; color: var(--text-muted);
  transition: color var(--dur-fast) ease;
}
.site-footer__links a:hover { color: var(--pink); }
.socials { display: flex; flex-wrap: wrap; gap: var(--s-1); }
.socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--text);
  transition: color var(--dur-fast) ease, border-color var(--dur-fast) ease, box-shadow var(--dur) ease;
}
.socials a:hover { color: var(--pink); border-color: var(--pink); box-shadow: 0 0 20px rgba(255, 79, 154, 0.4); }
.socials .icon { width: 22px; height: 22px; }
@media (max-width: 599px) {
  /* keep all seven icons on one row on phones (44px is still a comfortable tap target) */
  .site-footer__actions { width: 100%; }
  .contact__menu { left: 0; right: auto; transform-origin: bottom left; }
  .socials { width: 100%; justify-content: space-between; gap: 4px; flex-wrap: nowrap; }
  .socials a { width: 44px; height: 44px; }
  .socials .icon { width: 20px; height: 20px; }
}
.site-footer__legal { margin-top: var(--s-3); font-size: var(--fs-xs); color: var(--text-muted); }

/* ---------- Cookie consent ---------- */
/* Embeds stay unloaded (and hidden) until consent; a placeholder shows instead */
[data-consent-embed]:not(.is-consented) iframe { display: none; }
[data-consent-embed].is-consented .consent-ph { display: none; }
.consent-ph {
  display: grid; justify-items: center; gap: var(--s-1);
  padding: clamp(1.5rem, 4vw, 2.5rem) var(--s-3);
  border: 1px dashed rgba(244, 241, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(14, 11, 38, 0.92);
  color: var(--text);
  text-align: center;
}
.consent-ph__title { font-weight: 900; font-size: var(--fs-lg); text-transform: uppercase; letter-spacing: 0.04em; }
.consent-ph__text { font-size: var(--fs-sm); color: var(--text-muted); }
.consent-ph__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s-1) var(--s-3); margin-top: var(--s-1); }
.consent-ph__link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: var(--fs-sm); font-weight: 600; color: var(--teal);
  text-decoration: underline; text-underline-offset: 4px;
}

.consent {
  position: fixed; z-index: 200;
  left: 50%; bottom: var(--s-2);
  transform: translateX(-50%);
  width: min(760px, calc(100% - 2 * var(--gutter)));
  display: flex; align-items: center; gap: var(--s-2) var(--s-3);
  padding: var(--s-2) var(--s-3);
  background: rgba(23, 19, 58, 0.96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 79, 154, 0.18);
  animation: consent-in 320ms var(--ease-out);
}
@keyframes consent-in { from { opacity: 0; transform: translate(-50%, 16px); } }
.consent__sticker { --size: 52px; --tilt: -10deg; flex: none; box-shadow: 0 0 0 2px #fff; }
.consent__text { flex: 1; font-size: var(--fs-sm); line-height: 1.5; color: var(--text-muted); }
.consent__text strong { color: var(--text); }
.consent__actions { display: flex; flex-wrap: wrap; gap: var(--s-1); flex: none; }
@media (max-width: 699px) {
  .consent { flex-wrap: wrap; }
  .consent__sticker { display: none; }
  .consent__actions { width: 100%; }
  .consent__actions .btn { flex: 1; }
}

.site-footer__cookies {
  margin-left: var(--s-2);
  padding: 0.5rem 0; min-height: 44px;
  background: none; border: 0; cursor: pointer;
  font: inherit; color: var(--text-muted);
  text-decoration: underline; text-underline-offset: 3px;
}
.site-footer__cookies:hover { color: var(--pink); }

/* ---------- Scroll reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-toggle { display: none; }
  .sticker--float { animation: none; }
  .about__media { transform: none !important; }
}
