/* ============================================================
   KISS & MAKE UP — site stylesheet
   Design language: oversized expanded-grotesk display type,
   characterful serif voice, pill navigation, video hero,
   scooped media panels, ink footer, neon script brand mark.
   Built from scratch for the Kiss & Make Up anime series.
   ============================================================ */

/* ---------- self-hosted fonts ---------- */
@font-face {
  font-family: 'Archivo';
  src: url('fonts/archivo-var.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('fonts/fraunces-var.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('fonts/fraunces-var-italic.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Symphony Pro';
  src: url('fonts/symphony-pro.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Symphony Pro';
  src: url('fonts/symphony-pro-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Seriously Nostalgic';
  src: url('fonts/seriously-nostalgic-semicond.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Great Vibes';
  src: url('fonts/great-vibes.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --paper: #0b0710;
  --ink: #1c1420;
  --ink-soft: #2a1e30;
  --text: #f3ecf7;
  --pink: #ff3fa4;
  --pink-deep: #e01f8a;
  --pink-neon: #ff8fce;
  --blush: #1b1124;
  --blush-2: #140c1c;
  --muted: rgba(243, 236, 247, 0.6);
  --line: rgba(255, 143, 206, 0.16);
  --white-muted: rgba(255, 255, 255, 0.66);
  --white-line: rgba(255, 255, 255, 0.18);
  --ease: cubic-bezier(0.22, 0.75, 0.16, 1);
  --r-card: 28px;
  --r-scoop: 150px;
  --pad: clamp(20px, 4vw, 64px);
  /* jelly bend (CSS fallback when WebGL is unavailable) */
  --bend: 0;
  --bend-h: calc(var(--bend) * 42%);
  --bend-v: calc(var(--bend) * 140px);
}

/* ---------- reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background-color: var(--paper);
  color: var(--text);
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* the two soft pink washes used to live on body as
   background-attachment: fixed, which forces the browser to re-raster
   the background on every scroll frame. A real fixed element renders
   once and never repaints — identical look, zero scroll cost. */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    radial-gradient(42% 36% at 88% 8%, rgba(255, 63, 164, 0.09), transparent 70%),
    radial-gradient(38% 32% at 4% 70%, rgba(224, 31, 138, 0.07), transparent 70%);
  background-repeat: no-repeat;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--pink); color: #fff; }

/* ---------- type helpers ---------- */
.display {
  font-family: 'Archivo', sans-serif;
  font-variation-settings: 'wdth' 125;
  font-stretch: 125%;
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1.04;
}
.serif {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 420;
  letter-spacing: -0.005em;
}
.eyebrow {
  font-family: 'Archivo', sans-serif;
  font-variation-settings: 'wdth' 115;
  font-stretch: 115%;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink);
  text-shadow: 0 0 12px rgba(255, 63, 164, 0.45);
}
.on-ink .eyebrow { color: var(--pink-neon); }

/* neon brand mark — Symphony Pro, #ff1cab, breathing aura */
.neon {
  font-family: 'Symphony Pro', 'Great Vibes', cursive;
  font-weight: 700;
  color: #ff9ade;
  /* static base = the dim end of the breath; the breathing itself is a
     filter animation, which runs on the GPU compositor instead of
     repainting the glow every frame like animated text-shadow does */
  text-shadow:
    0 0 3px rgba(255, 255, 255, 0.55),
    0 0 7px rgba(255, 28, 171, 0.85),
    0 0 18px rgba(255, 28, 171, 0.6),
    0 0 42px rgba(255, 28, 171, 0.42),
    0 0 80px rgba(212, 0, 141, 0.28);
  white-space: nowrap;
  will-change: filter;
  animation: neonBreathe 3.4s ease-in-out infinite alternate;
}
.neon small { font-size: 0.44em; vertical-align: 0.22em; margin: 0 0.12em; font-weight: 400; }
@keyframes neonBreathe {
  0% {
    filter:
      brightness(1)
      drop-shadow(0 0 0px rgba(255, 28, 171, 0))
      drop-shadow(0 0 0px rgba(212, 0, 141, 0));
  }
  100% {
    filter:
      brightness(1.18)
      drop-shadow(0 0 20px rgba(255, 28, 171, 0.55))
      drop-shadow(0 0 56px rgba(212, 0, 141, 0.4));
  }
}

/* ---------- pills ---------- */
.pill {
  display: inline-block;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 440;
  font-size: 16.5px;
  line-height: 1;
  padding: 0.68em 1.12em 0.62em;
  border-radius: 999px;
  background: rgba(27, 17, 36, 0.72);
  color: var(--text);
  border: 1px solid rgba(255, 63, 164, 0.35);
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}
.pill:hover { background: var(--pink); border-color: var(--pink); color: #170b13; transform: translateY(-2px); box-shadow: 0 0 22px rgba(255, 63, 164, 0.45); }
.pill.is-current { background: var(--pink); border-color: var(--pink); color: #170b13; box-shadow: 0 0 18px rgba(255, 63, 164, 0.4); }
.on-ink .pill { background: rgba(255, 255, 255, 0.1); color: #fff; }
.on-ink .pill:hover { background: var(--pink); color: var(--ink); }

.pill-xl {
  display: inline-block;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 430;
  font-size: clamp(22px, 3vw, 40px);
  line-height: 1;
  padding: 0.72em 1.15em 0.62em;
  border-radius: 999px;
  background: var(--pink);
  color: #170b13;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  box-shadow: 0 0 26px rgba(255, 63, 164, 0.35);
}
.pill-xl:hover { background: var(--pink-neon); color: #170b13; transform: translateY(-3px); box-shadow: 0 0 44px rgba(255, 63, 164, 0.6); }
.on-ink .pill-xl { background: var(--pink); color: var(--ink); }
.on-ink .pill-xl:hover { background: #fff; }

/* ---------- header ---------- */
.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 18px var(--pad);
  transition: transform 0.55s var(--ease);
  pointer-events: none;
}
.site-head > * { pointer-events: auto; }
.site-head.is-hidden { transform: translateY(-130%); }
.nav-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; align-content: flex-start; }

/* ---------- curtain loader / page transition ---------- */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink);
  display: grid;
  place-items: center;
  transform: translateY(0);
  transition: transform 0.75s var(--ease), visibility 0s linear 0.75s;
}
.curtain .neon { font-size: clamp(40px, 7vw, 92px); }
html.is-ready .curtain { transform: translateY(-101%); visibility: hidden; }
html.is-leaving .curtain {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.55s var(--ease);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: clip;
  background: transparent;
}
.hero-media, .hero-media video, .hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-media {
  -webkit-mask-image: linear-gradient(180deg, #000 50%, rgba(0, 0, 0, 0) 84%);
  mask-image: linear-gradient(180deg, #000 50%, rgba(0, 0, 0, 0) 84%);
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  z-index: 11;
  background:
    linear-gradient(180deg, rgba(11, 7, 16, 0.14) 0%, rgba(11, 7, 16, 0.02) 30%, rgba(11, 7, 16, 0.05) 60%, rgba(11, 7, 16, 0) 94%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 14;
  width: 100%;
  padding: 0 var(--pad) clamp(28px, 5vh, 64px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.hero-logo-center {
  position: absolute;
  z-index: 14;
  left: 50%;
  top: 27%;
  transform: translateX(-50%);
  font-size: clamp(54px, 8.6vw, 148px);
  line-height: 1.1;
  white-space: nowrap;
  pointer-events: none;
  opacity: var(--hfade, 1);
}
.h-serif {
  font-family: 'Seriously Nostalgic', 'Fraunces', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.02;
  color: #fff;
}
.hero h1 {
  font-size: clamp(52px, 8.2vw, 120px);
  max-width: 20ch;
}
.hero h1 .h-line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero h1 .w {
  display: inline-block;
  transform: translateY(112%);
  transition: transform 1s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms + 350ms);
}
html.is-ready .hero h1 .w { transform: translateY(0); }
.hero-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  padding-bottom: 10px;
  text-align: right;
  color: var(--white-muted);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-variation-settings: 'wdth' 115;
  font-stretch: 115%;
  font-weight: 500;
  flex-shrink: 0;
}
.scroll-cue {
  width: 44px; height: 44px;
  border: 1px solid var(--white-line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* ---------- hero scroll dissolve ---------- */
.hero-media, .hero-grid, .hero-miso, .hero-hud {
  opacity: var(--hfade, 1);
}
/* shared push-in: everything drifts down and scales together so the
   monitor grid stays locked to the video while the camera moves */
.hero-media, .hero-grid, .hero-miso {
  transform: translateY(calc((1 - var(--hfade, 1)) * 6vh))
             scale(calc(1 + (1 - var(--hfade, 1)) * 0.08));
  transform-origin: 50% 50%;
}

/* ---------- interactive broadcast wall ---------- */
.hero-inner { pointer-events: none; }
.hero-inner a { pointer-events: auto; }
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 12;
  overflow: hidden;
  /* vertical dissolve MINUS Miso's silhouette — the grid (cells, borders,
     veil) is simply never drawn where she stands, so nothing can ever
     show through her, even at her soft edges */
  /* the subtracted shape is the SAME image as Miso's plate mask, so the
     veil fades out at exactly the rate her plate fades in — the two
     gradients cancel into one seamless blend with no findable edge */
  -webkit-mask-image: linear-gradient(180deg, #000 48%, rgba(0, 0, 0, 0) 82%), url('miso-fade-6.png');
  mask-image: linear-gradient(180deg, #000 48%, rgba(0, 0, 0, 0) 82%), url('miso-fade-6.png');
  -webkit-mask-size: 100% 100%, cover;
  mask-size: 100% 100%, cover;
  -webkit-mask-position: 0 0, center;
  mask-position: 0 0, center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-composite: source-out, source-over;
  mask-composite: subtract, add;
}
.hg-cell {
  position: absolute;
  border: 1px solid rgba(8, 5, 12, 0.4);
  /* power-down layer: screens die to black as the hero scrolls out */
  background: rgba(3, 1, 6, var(--off, 0));
}
/* the "off" veil — clears as the cell wakes */
.hg-cell::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 3px),
    linear-gradient(rgba(9, 5, 13, 0.08), rgba(9, 5, 13, 0.04));
  opacity: calc(1 - var(--wake, 0));
  transition: opacity 0.2s ease;
}
/* random blackout flicker while the screen is off */
.hg-cell::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(4, 2, 7, 0.22);
  opacity: 0;
  animation: hgFlick var(--fd, 4s) steps(1, end) infinite;
  animation-delay: var(--fdl, 0s);
}
.hg-cell.is-awake::after { animation-play-state: paused; opacity: 0 !important; }
.hg-cell.is-awake {
  box-shadow:
    inset 0 0 0 1px rgba(255, 63, 164, 0.5),
    inset 0 0 30px rgba(255, 63, 164, 0.16);
  transition: box-shadow 0.5s ease;
}
.hg-cell.hg-flash {
  box-shadow:
    inset 0 0 0 1px rgba(255, 143, 206, 0.95),
    inset 0 0 48px rgba(255, 143, 206, 0.5);
  transition: box-shadow 0.1s ease;
}
@keyframes hgFlick {
  0% { opacity: 0; }
  6% { opacity: 0.34; }
  7.5% { opacity: 0; }
  30% { opacity: 0; }
  31.5% { opacity: 0.2; }
  33% { opacity: 0; }
  60% { opacity: 0; }
  61.5% { opacity: 0.28; }
  63.5% { opacity: 0; }
  100% { opacity: 0; }
}

/* live CAM readout */
.hero-hud {
  position: absolute;
  top: 88px;
  right: var(--pad);
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Archivo', sans-serif;
  font-variation-settings: 'wdth' 115;
  font-stretch: 115%;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white-muted);
  background: rgba(28, 20, 32, 0.5);
  border: 1px solid var(--white-line);
  border-radius: 999px;
  padding: 0.62em 1.15em;
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.hero-hud .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.3s, box-shadow 0.3s;
}
.hero-hud.is-live .dot {
  background: var(--pink);
  box-shadow: 0 0 12px var(--pink);
  animation: hudBlink 1.4s ease infinite;
}
.hero-hud.is-live #hud-cam { color: #fff; }
@keyframes hudBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@media (max-width: 640px) {
  .hero-hud { top: 64px; right: 14px; font-size: 10.5px; }
}

/* ---------- custom neon cursor ---------- */
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor input, html.has-cursor textarea, html.has-cursor select { cursor: text !important; }
.cur-dot, .cur-ring {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 400;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  will-change: transform;
}
html.cur-seen .cur-dot, html.cur-seen .cur-ring { opacity: 1; }
.cur-dot {
  width: 8px; height: 8px;
  margin: -4px 0 0 -4px;
  background: var(--pink);
  box-shadow: 0 0 12px rgba(255, 63, 164, 0.8);
}
.cur-ring {
  width: 34px; height: 34px;
  margin: -17px 0 0 -17px;
  border: 1.5px solid rgba(255, 63, 164, 0.7);
  transition: width 0.25s, height 0.25s, margin 0.25s, border-radius 0.25s, border-color 0.25s, opacity 0.3s;
}
html.cur-link .cur-ring {
  width: 54px; height: 54px;
  margin: -27px 0 0 -27px;
  border-color: rgba(255, 143, 206, 0.95);
}
html.cur-grid .cur-ring {
  width: 46px; height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 12px;
  border-color: rgba(255, 143, 206, 0.9);
}

/* ---------- reveal line (after the fold) ---------- */
.reveal-line {
  padding: clamp(120px, 26vh, 260px) var(--pad) clamp(40px, 8vh, 90px);
  display: flex;
  justify-content: center;
  text-align: center;
}
.reveal-words { font-size: clamp(44px, 7vw, 108px); }
.reveal-words .h-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.reveal-words .w {
  display: inline-block;
  transform: translateY(112%);
  transition: transform 1s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal-words.is-in .w { transform: translateY(0); }
/* container itself shouldn't double-fade */
.reveal-words[data-reveal] { opacity: 1; transform: none; }

/* ---------- big serif statement ---------- */
.statement {
  padding: clamp(90px, 14vh, 170px) var(--pad);
}
.statement p {
  position: relative;
  z-index: 1; /* words ride above the shooting-star layer */
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  max-width: 22ch;
}
.statement .accent { color: var(--pink-neon); font-style: italic; text-shadow: 0 0 20px rgba(255, 63, 164, 0.55); }
.statement p + p { margin-top: clamp(26px, 4vh, 48px); }

/* ---------- shooting star: a wish crossing behind the fairy tale ----------
   A thin tapered streak with a bright head, flown with the Web Animations
   API (transform + opacity only, so it runs on the compositor). Paths,
   speed, length and brightness vary per flight so it never reads as a
   looping gif. */
.star-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.shooting-star {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  border-radius: 2px;
  opacity: 0;
  will-change: transform, opacity;
  /* tail: fades from nothing to a hot pink-white head at the right end */
  background: linear-gradient(90deg,
    rgba(255, 143, 206, 0) 0%,
    rgba(255, 63, 164, 0.14) 42%,
    rgba(255, 143, 206, 0.5) 78%,
    rgba(255, 224, 242, 0.92) 96%,
    #fff 100%);
}
.shooting-star::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 6px 1px rgba(255, 255, 255, 0.9),
    0 0 16px 4px rgba(255, 63, 164, 0.55),
    0 0 34px 10px rgba(255, 28, 171, 0.22);
}
@media (prefers-reduced-motion: reduce) { .star-layer { display: none; } }

/* ---------- ambient bleed: hovered card video takes over the page
   background as a heavy gaussian wash behind the words ---------- */
.ambient-veil {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.ambient-veil video {
  position: absolute;
  top: -8%;
  left: -8%;
  width: 116%;
  height: 116%;
  object-fit: cover;
  opacity: 0;
  /* visibility flips only after the fade finishes, so the hidden state
     costs the GPU nothing while keeping the exact same fade */
  visibility: hidden;
  filter: blur(64px) saturate(1.2) brightness(0.42);
  transform: scale(1.06);
  transition: opacity 1.1s var(--ease), visibility 0s 1.1s;
}
.ambient-veil video.is-on {
  opacity: 0.55;
  visibility: visible;
  transition: opacity 1.1s var(--ease), visibility 0s 0s;
}
/* keep the very top and bottom of the wash darker so the header,
   hero edge and fold glow stay crisp */
.ambient-veil::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 7, 16, 0.9), transparent 30% 72%, rgba(11, 7, 16, 0.9));
}
@media (prefers-reduced-motion: reduce) { .ambient-veil { display: none; } }
.statement + .statement { padding-top: 0; }

/* ---------- character / feature rows ---------- */
.rows { padding: 0 var(--pad); }
.row-item {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 2.4vw, 32px);
  padding: clamp(28px, 4vh, 48px) 0 clamp(56px, 8vh, 96px);
  border-top: 1px solid var(--line);
}
.row-info {
  grid-column: 1 / 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}
.row-info h3 { font-size: clamp(34px, 3.6vw, 56px); }
.row-info h3 a:hover { color: var(--pink-neon); text-shadow: 0 0 18px rgba(255, 63, 164, 0.5); }
.row-meta { max-width: 34ch; display: grid; gap: 22px; }
.row-meta p { color: var(--muted); }
.stat { display: grid; gap: 4px; }
.stat b {
  font-family: 'Archivo', sans-serif;
  font-variation-settings: 'wdth' 125;
  font-stretch: 125%;
  font-weight: 700;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1;
  color: var(--pink);
  text-shadow: 0 0 16px rgba(255, 63, 164, 0.4);
}
.stat span { color: var(--muted); font-size: 15.5px; max-width: 30ch; }
.row-media {
  grid-column: 5 / 13;
  position: relative;
  border-radius: var(--r-card);
  /* elliptical bottom corners: widen + deepen with scroll velocity for the fisheye/jelly bend */
  border-bottom-left-radius: max(var(--r-scoop), var(--bend-h)) calc(var(--r-scoop) + var(--bend-v));
  border-bottom-right-radius: max(var(--r-card), var(--bend-h)) calc(var(--r-card) + var(--bend-v));
  overflow: hidden;
  aspect-ratio: 16 / 9.4;
  background: var(--ink-soft);
  isolation: isolate;
}
.row-media > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.row-media > img {
  width: 100%; height: 112%;
  object-fit: cover;
  transform: translateY(var(--plx, -3%)) scale(1.06);
  will-change: transform;
  transition: scale 0.8s var(--ease);
}
a.row-media:hover > img { scale: 1.045; }

/* gradient character panels */
.panel { display: grid; place-items: center; padding: 24px; }
.panel .big-mark {
  position: absolute;
  inset: auto -2% -10% auto;
  font-family: 'Archivo', sans-serif;
  font-variation-settings: 'wdth' 125;
  font-stretch: 125%;
  font-weight: 700;
  font-size: clamp(120px, 17vw, 270px);
  line-height: 0.8;
  opacity: 0.14;
  z-index: 0;
  user-select: none;
}
.panel q {
  quotes: '\201C' '\201D';
  position: relative;
  z-index: 1;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 420;
  font-size: clamp(24px, 2.5vw, 38px);
  line-height: 1.3;
  max-width: 17ch;
  text-align: center;
  transform: translateY(var(--plx, 0));
}
.panel::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.16;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.panel--gia  { background: linear-gradient(150deg, #f7e9cf 0%, #ecd3a2 46%, #c9a05c 100%); color: #3d2c14; }
.panel--noa  { background: linear-gradient(150deg, #ff9a62 0%, #ff7a4f 52%, #f0512f 100%); color: #3a1408; }
.panel--soul { background: linear-gradient(150deg, #2e565a 0%, #1c3a3e 55%, #0f2224 100%); color: #dff3f0; }
.panel--yuna { background: linear-gradient(150deg, #c98a92 0%, #a75f6d 50%, #5c2f3a 100%); color: #ffe9ec; }
.media-tag {
  position: absolute;
  z-index: 12;
  top: 18px; left: 22px;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-variation-settings: 'wdth' 115;
  font-stretch: 115%;
  font-weight: 600;
  padding: 0.55em 1em;
  border-radius: 999px;
  background: rgba(28, 20, 32, 0.55);
  color: #fff;
  backdrop-filter: blur(6px);
}

/* ---------- section shells ---------- */
.section-cta { display: flex; justify-content: center; padding: clamp(40px, 8vh, 90px) var(--pad) clamp(90px, 13vh, 160px); }
.list-section { padding: clamp(70px, 10vh, 130px) var(--pad); }
.list-section > .eyebrow { display: block; margin-bottom: 34px; }
.list-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  align-items: center;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.list-row:last-of-type { border-bottom: 1px solid var(--line); }
.list-row h4 { font-size: clamp(24px, 2.4vw, 38px); grid-column: 1 / 6; }
.list-row p { grid-column: 6 / 10; color: var(--muted); max-width: 40ch; }
.list-row .pill { grid-column: 10 / 13; justify-self: end; }

/* ---------- marquee ---------- */
.marquee {
  background: var(--pink);
  color: #170b13;
  overflow: hidden;
  padding: 13px 0;
  box-shadow: 0 0 38px rgba(255, 63, 164, 0.45);
  position: relative;
  z-index: 2;
}
.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  white-space: nowrap;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 19px;
  animation: mq 26s linear infinite;
}
.marquee-track span { display: inline-flex; gap: 3rem; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- footer ---------- */
.site-foot {
  background: var(--blush-2);
  border-top: 1px solid rgba(255, 63, 164, 0.25);
  color: #fff;
  padding: clamp(80px, 12vh, 150px) var(--pad) 40px;
}
.foot-cta { display: grid; gap: 28px; max-width: 900px; }
.foot-cta h2 { font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: clamp(40px, 6vw, 84px); line-height: 1.06; }
.foot-cta .pill-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.foot-logo {
  display: block;
  text-align: center;
  font-size: clamp(64px, 12vw, 190px);
  line-height: 1.25;
  padding: clamp(70px, 11vh, 140px) 0 clamp(50px, 8vh, 110px);
  transform: rotate(-2.5deg);
}
.foot-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  padding-top: 46px;
  border-top: 1px solid var(--white-line);
}
.foot-col { grid-column: span 3; display: grid; gap: 12px; align-content: start; }
.foot-col h5 {
  font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--white-muted); font-variation-settings: 'wdth' 115; font-weight: 600;
}
.foot-col a { color: rgba(255,255,255,0.85); width: fit-content; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.foot-col a:hover { color: var(--pink-neon); border-color: var(--pink-neon); }
.newsletter { grid-column: span 3; display: grid; gap: 14px; align-content: start; }
.newsletter p { color: var(--white-muted); font-size: 15px; }
.newsletter form { display: flex; gap: 8px; }
.newsletter input {
  flex: 1; min-width: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--white-line);
  border-radius: 999px;
  color: #fff;
  padding: 0.7em 1.1em;
  font: inherit;
}
.newsletter input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter input:focus { outline: 2px solid var(--pink); outline-offset: 2px; }
.foot-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
  margin-top: 70px; padding-top: 26px;
  border-top: 1px solid var(--white-line);
  color: var(--white-muted); font-size: 14px;
}

/* ---------- inner page hero band ---------- */
.band {
  background: var(--blush-2);
  border-bottom: 1px solid rgba(255, 63, 164, 0.2);
  color: #fff;
  padding: clamp(150px, 24vh, 240px) var(--pad) clamp(60px, 9vh, 110px);
  position: relative;
  overflow: clip;
}
.band h1 { font-size: clamp(48px, 7.4vw, 110px); max-width: 14ch; }
.band .serif-sub {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(20px, 2vw, 28px);
  color: var(--white-muted);
  max-width: 34ch;
  margin-top: 26px;
}
.band .eyebrow { display: block; margin-bottom: 22px; }
.band .neon-bg {
  position: absolute;
  right: -1%; bottom: -6%;
  font-size: clamp(90px, 15vw, 240px);
  opacity: 0.3;
  transform: rotate(-4deg);
  pointer-events: none;
}

/* ---------- character profile sections ---------- */
.profile { padding: clamp(70px, 10vh, 120px) var(--pad); }
.profile:nth-of-type(even) { background: var(--blush-2); }
.profile-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px 28px; margin-bottom: 14px; }
.profile-head h2 { font-size: clamp(44px, 5.4vw, 84px); }
.role {
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--pink); font-variation-settings: 'wdth' 115; font-weight: 600;
}
.profile > q {
  quotes: '\201C' '\201D';
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 34px);
  max-width: 26ch;
  margin: 10px 0 40px;
}
.engine { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 40px; }
.engine-card {
  background: var(--blush);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 20px 26px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.profile:nth-of-type(even) .engine-card { background: var(--blush); }
.engine-card h6 {
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--pink); font-variation-settings: 'wdth' 118; font-weight: 700;
}
.engine-card p { font-family: 'Fraunces', Georgia, serif; font-size: 18.5px; line-height: 1.4; }
.profile-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.profile-cols h5 { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.tells li { padding: 10px 0 10px 26px; border-top: 1px dashed var(--line); position: relative; color: var(--muted); }
.tells li::before { content: '✦'; position: absolute; left: 2px; color: var(--pink); }
.profile-cols p { color: var(--muted); max-width: 52ch; }

/* ---------- episodes ---------- */
.ep-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  align-items: start;
  padding: clamp(36px, 6vh, 60px) 0;
  border-top: 1px solid var(--line);
}
.ep-num {
  grid-column: 1 / 3;
  font-family: 'Archivo', sans-serif;
  font-variation-settings: 'wdth' 125;
  font-stretch: 125%;
  font-weight: 700;
  font-size: clamp(54px, 7vw, 110px);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 2px var(--pink);
  filter: drop-shadow(0 0 14px rgba(255, 63, 164, 0.35));
}
.ep-body { grid-column: 3 / 9; display: grid; gap: 12px; }
.ep-body h3 { font-size: clamp(30px, 3.4vw, 52px); }
.ep-body p { color: var(--muted); max-width: 48ch; font-family: 'Fraunces', Georgia, serif; font-size: 19px; }
.ep-status { grid-column: 10 / 13; justify-self: end; }
.arc { padding: clamp(60px, 9vh, 110px) var(--pad); }
.arc-item { display: grid; grid-template-columns: 220px 1fr; gap: 26px; padding: 26px 0; border-top: 1px solid var(--line); align-items: baseline; }
.arc-item b { font-family: 'Archivo', sans-serif; font-variation-settings: 'wdth' 125; font-weight: 700; font-size: 22px; color: var(--pink); }
.arc-item p { font-family: 'Fraunces', Georgia, serif; font-size: clamp(19px, 1.8vw, 26px); max-width: 44ch; }

/* ---------- story / manifesto ---------- */
.manifesto { padding: clamp(80px, 12vh, 150px) var(--pad); display: grid; gap: clamp(70px, 11vh, 130px); }
.manifesto p {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.24;
  max-width: 24ch;
}
.manifesto p:nth-child(even) { justify-self: end; text-align: right; }
.manifesto .accent { color: var(--pink-neon); font-style: italic; text-shadow: 0 0 20px rgba(255, 63, 164, 0.55); }
.principles { padding: 0 var(--pad) clamp(90px, 13vh, 160px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.principle {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 24px 34px;
  display: grid;
  gap: 16px;
  align-content: start;
  transition: background .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.principle:hover { background: var(--blush); border-color: rgba(255, 63, 164, 0.45); transform: translateY(-4px); box-shadow: 0 0 30px rgba(255, 63, 164, 0.14); }
.principle b { font-family: 'Archivo', sans-serif; font-variation-settings: 'wdth' 125; font-weight: 700; font-size: 20px; }
.principle p { color: var(--muted); font-size: 15.5px; }
.principle .num { color: var(--pink); font-size: 13px; letter-spacing: .18em; font-weight: 700; }

/* ---------- contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: clamp(70px, 10vh, 130px) var(--pad) clamp(100px, 14vh, 170px); }
.contact-form { display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 8px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-form input, .contact-form textarea {
  font: inherit;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 19px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 10px 2px 14px;
  color: var(--text);
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 0; border-bottom-color: var(--pink); }
.contact-side { display: grid; gap: 34px; align-content: start; }
.contact-side h5 { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; font-weight: 600; }
.contact-side a { border-bottom: 1px solid var(--line); width: fit-content; font-family: 'Fraunces', Georgia, serif; font-size: 22px; transition: color .3s, border-color .3s; }
.contact-side a:hover { color: var(--pink-neon); border-color: var(--pink-neon); }

/* ---------- WebGL media warp layer ---------- */
#warp-canvas {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}
#warp-canvas canvas { width: 100%; height: 100%; display: block; }
/* pre-rendered panel texture source (visible as static fallback art when WebGL is off it stays hidden and the DOM panel shows instead) */
.panel-src {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
html:not(.webgl-on) .panel-src { display: none; }
/* once a plane is live, hide its DOM source so only the WebGL version shows */
html.webgl-on .gl-live img[data-sampler],
html.webgl-on .gl-live video[data-sampler] { opacity: 0; }
/* lift live cards above the canvas (transparent shell) so their chips float
   on top of the plane while the plane shows through from behind */
html.webgl-on .row-media.gl-live { z-index: 12; background: none; }
html.webgl-on .row-media.gl-live::after { display: none; }
html.webgl-on .row-media.gl-live .big-mark,
html.webgl-on .row-media.gl-live q { opacity: 0; }
/* WebGL takes over all bending — kill the CSS fallback curve */
html.webgl-on { --bend: 0 !important; }

/* ---------- Tokyo vertical neon signs ---------- */
.v-sign {
  position: absolute;
  z-index: 2;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: 'Archivo', 'Malgun Gothic', 'Apple SD Gothic Neo', 'Noto Sans KR', system-ui, sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.34em;
  color: var(--pink-neon);
  border: 1px solid rgba(255, 63, 164, 0.4);
  border-radius: 999px;
  padding: 20px 9px;
  box-shadow: 0 0 20px rgba(255, 63, 164, 0.22), inset 0 0 14px rgba(255, 63, 164, 0.12);
  text-shadow: 0 0 10px rgba(255, 63, 164, 0.6);
  opacity: 0.85;
  pointer-events: none;
  user-select: none;
  animation: signFlicker 7s steps(1, end) infinite;
}
@keyframes signFlicker {
  0% { opacity: 0.85; } 3% { opacity: 0.5; } 4% { opacity: 0.85; }
  47% { opacity: 0.85; } 48% { opacity: 0.62; } 49.5% { opacity: 0.85; }
  100% { opacity: 0.85; }
}
.statement { position: relative; }
.statement .v-sign { right: calc(var(--pad) * 0.5); top: 50%; transform: translateY(-50%); }
.band { position: relative; }
.band .v-sign { right: calc(var(--pad) * 0.6); top: 22%; }
.manifesto { position: relative; }
.manifesto .v-sign { right: calc(var(--pad) * 0.5); top: 6%; }
@media (max-width: 960px) { .v-sign { display: none; } }

/* ---------- neon scrollbar ---------- */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: #0b0710; }
::-webkit-scrollbar-thumb { background: #2c1b33; border-radius: 99px; border: 2px solid #0b0710; }
::-webkit-scrollbar-thumb:hover { background: var(--pink-deep); }

/* ---------- fold glow (pink light leak at the bottom of the viewport) ---------- */
.fold-glow {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(24px, 4.5vh, 44px);
  z-index: 55;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(255, 143, 206, 0.85) 0%, rgba(255, 63, 164, 0.32) 32%, rgba(255, 63, 164, 0) 100%);
}

/* ---------- reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="scale"] { transform: translateY(30px) scale(0.97); }
[data-reveal="scale"].is-in { transform: none; }

/* ---------- 404 ---------- */
.lost {
  min-height: 100svh;
  background: var(--paper);
  color: #fff;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 26px;
  padding: var(--pad);
}
.lost .neon { font-size: clamp(54px, 10vw, 130px); }
.lost h1 { font-size: clamp(30px, 4vw, 54px); }
.lost p { color: var(--white-muted); font-family: 'Fraunces', Georgia, serif; font-size: 20px; }
.lost .pill-xl { justify-self: center; }

/* ---------- skip link ---------- */
.skip {
  position: fixed; top: -60px; left: 20px; z-index: 300;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px;
  transition: top .3s;
}
.skip:focus { top: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .row-info { grid-column: 1 / 13; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 20px; }
  .row-media { grid-column: 1 / 13; order: -1; aspect-ratio: 4 / 3.4; --r-scoop: 90px; }
  .engine { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .list-row { grid-template-columns: 1fr auto; }
  .list-row h4 { grid-column: 1; }
  .list-row p { grid-column: 1; }
  .list-row .pill { grid-column: 2; grid-row: 1; }
  .foot-col, .newsletter { grid-column: span 6; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-head { padding: 12px 14px; }
  .pill { font-size: 14.5px; }
  .nav-group { gap: 6px; }
  .hero-inner { flex-direction: column; align-items: flex-start; }
  .hero-side { align-items: flex-start; text-align: left; flex-direction: row; width: 100%; justify-content: space-between; }
  .row-info { flex-direction: column; align-items: flex-start; }
  .profile-cols, .contact-wrap { grid-template-columns: 1fr; }
  .ep-num { grid-column: 1 / 13; }
  .ep-body { grid-column: 1 / 13; }
  .ep-status { grid-column: 1 / 13; justify-self: start; }
  .arc-item { grid-template-columns: 1fr; gap: 8px; }
  .engine { grid-template-columns: 1fr 1fr; }
  .foot-col, .newsletter { grid-column: span 12; }
  .manifesto p:nth-child(even) { justify-self: start; text-align: left; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  :root { --bend: 0; }
  .hero-media, .hero-grid, .hero-miso { transform: none; }
  .v-sign { animation: none; }
  .neon { animation: none; }
  [data-reveal], .hero h1 .w, .curtain, .pill, .pill-xl { transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero h1 .w { transform: none; }
  .marquee-track { animation: none; }
  .scroll-cue { animation: none; }
  .row-media > img { transform: none; }
}


/* ---------- night sky behind the fairy tale ----------
   transparent star tiles over the page background (the bg color stays);
   two tile sizes read as depth, a slow compositor-only twinkle breathes */
.night-sky {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: clip;
  background-image: url('star-a.png');
  background-repeat: repeat;
  background-size: 800px 800px;
  animation: skyTwinkleA 5.8s ease-in-out infinite alternate;
}
/* three star populations twinkling out of phase = individual shimmer */
.night-sky::before,
.night-sky::after {
  content: '';
  position: absolute;
  inset: 0;
  background-repeat: repeat;
}
.night-sky::before {
  background-image: url('star-b.png');
  background-size: 800px 800px;
  animation: skyTwinkleB 8.4s ease-in-out infinite alternate;
  animation-delay: -3.1s;
}
.night-sky::after {
  inset: -90px;
  background-image: url('star-field-big.png');
  background-size: 1200px 1200px;
  animation: skyTwinkleC 11s ease-in-out infinite alternate, skyDrift 70s ease-in-out infinite alternate;
}
@keyframes skyTwinkleA { 0% { opacity: 0.35; } 100% { opacity: 0.95; } }
@keyframes skyTwinkleB { 0% { opacity: 0.9; } 100% { opacity: 0.3; } }
@keyframes skyTwinkleC { 0% { opacity: 0.55; } 100% { opacity: 1; } }
@keyframes skyDrift { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(60px, 34px, 0); } }
/* larger hand-placed sparks with their own clocks */
.sky-spark {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #f3ecf7;
  box-shadow: 0 0 8px 1px rgba(243, 236, 247, 0.8);
  opacity: 0.3;
  animation: sparkTw var(--d, 3.4s) ease-in-out var(--dl, 0s) infinite alternate;
  pointer-events: none;
}
.sky-spark.pink {
  background: var(--pink-neon);
  box-shadow: 0 0 10px 2px rgba(255, 63, 164, 0.7);
}
@keyframes sparkTw {
  0% { opacity: 0.2; transform: scale(0.6); }
  100% { opacity: 1; transform: scale(1.2); }
}
/* wish burst: sparks scatter from the click before the star flies */
.wish-spark {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px 2px rgba(255, 143, 206, 0.9);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .night-sky, .night-sky::before, .night-sky::after { animation: none; opacity: 0.7; }
  .sky-spark { animation: none; opacity: 0.7; }
  .wish-spark { display: none; }
}


/* rare electrical stutter on the neon signs */
.neon-flick { animation: neonFlick 0.16s steps(2, end) 1; }
@keyframes neonFlick {
  0% { opacity: 1; }
  35% { opacity: 0.5; }
  60% { opacity: 0.85; }
  80% { opacity: 0.55; }
  100% { opacity: 1; }
}
/* a sleeping monitor briefly finds a signal */
.hg-blip { animation: hgBlip 0.34s steps(3, end) 1; }
@keyframes hgBlip {
  0% { filter: brightness(2.1); transform: translateX(0.5px); }
  45% { filter: brightness(0.75); transform: translateX(-0.5px); }
  100% { filter: none; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .neon-flick, .hg-blip { animation: none; }
}

/* ═══════ award-site pass: depth, texture, context ═══════ */

/* neon scroll progress along the top edge */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 80;
  background: linear-gradient(90deg, var(--pink), var(--pink-neon));
  transform-origin: 0 50%;
  transform: scaleX(0);
  box-shadow: 0 0 14px rgba(255, 63, 164, 0.75);
  pointer-events: none;
}

/* faint film grain over everything — one static layer, zero per-frame cost */
.film-grain {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* the cursor ring speaks: WISH over the sky, MEET over the cast */
.cur-ring::after {
  content: attr(data-lb);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: 'Archivo', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--pink-neon);
  opacity: 0;
  transition: opacity 0.2s ease;
}
html.cur-lab .cur-ring {
  width: 62px;
  height: 62px;
  margin: -31px 0 0 -31px;
  border-color: rgba(255, 63, 164, 0.85);
}
html.cur-lab .cur-ring::after { opacity: 1; }

/* cast names: outlined type that fills with neon as the row centers */
@supports (-webkit-background-clip: text) {
  .rows .row-info h3 a {
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(243, 236, 247, 0.9);
    background: linear-gradient(180deg, var(--pink-neon), var(--pink));
    -webkit-background-clip: text;
    background-clip: text;
    background-repeat: no-repeat;
    background-size: 100% calc(var(--fill, 0) * 118%);
    background-position: 0 100%;
  }
  .rows .row-info h3 a:hover { background-size: 100% 118%; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
  .rows .row-info h3 a {
    color: var(--text);
    -webkit-text-stroke: 0;
    background: none;
  }
}

/* ═══════════════ CRAZY MODE — concert atmosphere ═══════════════ */

/* sweeping stage-light beams live behind every section */
.stage-lights {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: clip;
}
.stage-lights .beam {
  position: absolute;
  top: -35vh;
  height: 170vh;
  width: 34vw;
  filter: blur(52px);
  transform-origin: 50% 0;
  will-change: transform, opacity;
}
.stage-lights .b1 {
  left: 6vw;
  background: linear-gradient(180deg, rgba(255, 63, 164, 0.16), rgba(255, 63, 164, 0.02) 70%, transparent);
  transform: rotate(16deg);
  animation: beamSweep1 26s ease-in-out infinite alternate;
}
.stage-lights .b2 {
  left: 44vw;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.13), rgba(139, 92, 246, 0.02) 70%, transparent);
  transform: rotate(-12deg);
  animation: beamSweep2 33s ease-in-out infinite alternate;
}
.stage-lights .b3 {
  left: 74vw;
  background: linear-gradient(180deg, rgba(224, 31, 138, 0.15), rgba(224, 31, 138, 0.02) 70%, transparent);
  transform: rotate(9deg);
  animation: beamSweep3 21s ease-in-out infinite alternate;
}
.stage-lights .orb {
  position: absolute;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  will-change: transform;
}
.stage-lights .o1 {
  left: -12vw;
  top: 8vh;
  background: radial-gradient(circle, rgba(255, 63, 164, 0.12), transparent 62%);
  animation: orbDrift1 47s ease-in-out infinite alternate;
}
.stage-lights .o2 {
  right: -14vw;
  bottom: -10vh;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.11), transparent 62%);
  animation: orbDrift2 59s ease-in-out infinite alternate;
}
@keyframes beamSweep1 { 0% { transform: rotate(16deg) translateX(-6vw); opacity: 0.55; } 100% { transform: rotate(24deg) translateX(9vw); opacity: 1; } }
@keyframes beamSweep2 { 0% { transform: rotate(-12deg) translateX(7vw); opacity: 1; } 100% { transform: rotate(-20deg) translateX(-8vw); opacity: 0.5; } }
@keyframes beamSweep3 { 0% { transform: rotate(9deg) translateX(-4vw); opacity: 0.6; } 100% { transform: rotate(17deg) translateX(7vw); opacity: 1; } }
@keyframes orbDrift1 { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(9vw, 12vh) scale(1.18); } }
@keyframes orbDrift2 { 0% { transform: translate(0, 0) scale(1.12); } 100% { transform: translate(-8vw, -10vh) scale(0.95); } }

/* giant outlined names floating behind the cast rows */
.row-item { position: relative; }
.row-item .row-info, .row-item .row-media { position: relative; z-index: 1; }
.row-wm {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: -2vw;
  font-family: 'Archivo', sans-serif;
  font-variation-settings: 'wdth' 125;
  font-stretch: 125%;
  font-weight: 700;
  font-size: clamp(120px, 24vw, 460px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 143, 206, 0.14);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  will-change: transform;
}
.row-item:nth-child(2) .row-wm { left: auto; right: -3vw; }

/* the marquee becomes a giant tilted poster ticker */
.marquee {
  transform: rotate(-2deg) scale(1.03);
  margin: clamp(30px, 6vh, 70px) 0;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 143, 206, 0.2);
  border-bottom: 1px solid rgba(255, 143, 206, 0.2);
  background: rgba(11, 7, 16, 0.55);
}
.marquee-track {
  font-family: 'Archivo', sans-serif;
  font-variation-settings: 'wdth' 125;
  font-stretch: 125%;
  font-weight: 700;
  font-size: clamp(46px, 6.4vw, 104px) !important;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.marquee-track .mw { color: var(--text); }
.marquee-track .mw.o {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--pink-neon);
}

/* holographic sheen + neon frame on the video cards */
.row-media {
  box-shadow: 0 0 34px rgba(255, 63, 164, 0.22), inset 0 0 0 1px rgba(255, 143, 206, 0.28);
}
.row-media::after {
  content: '';
  position: absolute;
  inset: -20%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.13) 50%, rgba(255, 143, 206, 0.1) 54%, transparent 62%);
  transform: translateX(-120%);
  animation: cardSheen 7s ease-in-out infinite;
}
.row-item:nth-child(2) .row-media::after { animation-delay: 3.5s; }
@keyframes cardSheen {
  0% { transform: translateX(-120%); }
  22% { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

/* rare RGB-split broadcast glitch on the big lines */
.rgb-split { animation: rgbSplit 0.18s steps(3, end) 1; }
@keyframes rgbSplit {
  0% { text-shadow: -3px 0 rgba(255, 0, 90, 0.85), 3px 0 rgba(0, 200, 255, 0.75); transform: translateX(1px); }
  50% { text-shadow: 2px 0 rgba(255, 0, 90, 0.7), -2px 0 rgba(0, 200, 255, 0.6); transform: translateX(-1px); }
  100% { text-shadow: none; transform: none; }
}

@media (max-width: 768px) {
  .row-wm { font-size: clamp(90px, 30vw, 200px); top: 30%; }
  .marquee { transform: rotate(-1.4deg); }
}
@media (prefers-reduced-motion: reduce) {
  .stage-lights .beam, .stage-lights .orb { animation: none; }
  .row-media::after { animation: none; opacity: 0; }
  .rgb-split { animation: none; }
  .row-wm { will-change: auto; }
}

/* physics layer: petals + neon ribbon float above everything */
.fx-canvas {
  position: fixed;
  inset: 0;
  z-index: 66;
  pointer-events: none;
}
/* the cast rows are a 3D stage: they tilt away as they pass */
.rows .row-item { will-change: transform; }

/* ═══════ hooked pass: lyric sweep, scatter, journey tint ═══════ */

/* the fairy tale plays like a lyric video: words ignite under scroll */
.statement .lw {
  color: rgba(243, 236, 247, 0.2);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
.statement .lw.lit { color: var(--text); }
.statement .lw-acc { color: rgba(255, 143, 206, 0.24); font-style: italic; }
.statement .lw-acc.lit {
  color: var(--pink-neon);
  text-shadow: 0 0 20px rgba(255, 63, 164, 0.55);
}

/* the hero headline scatters as the world scrolls him away */
.hero h1.scatter-live .w { transition: none; }

/* journey tints: the page descends through color temperatures */
.tint-violet, .tint-rose {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
}
.tint-violet { background: radial-gradient(80% 70% at 50% 45%, rgba(124, 77, 255, 0.1), transparent 75%); }
.tint-rose { background: radial-gradient(85% 75% at 50% 60%, rgba(255, 94, 148, 0.1), transparent 75%); }

@media (prefers-reduced-motion: reduce) {
  .statement .lw { color: var(--text); transition: none; }
  .statement .lw-acc { color: var(--pink-neon); }
  .tint-violet, .tint-rose { display: none; }
}

/* ═══════════════ NEON EDITORIAL BROADCAST — the new face ═══════════════ */
:root { --lilac: #b39cff; }

/* 1 · the viewfinder: every page is a live transmission */
.frame-chrome {
  position: fixed;
  inset: 12px;
  z-index: 78;
  pointer-events: none;
  border: 1px solid rgba(255, 143, 206, 0.13);
}
.frame-chrome i {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 0 solid var(--pink);
  opacity: 0.75;
}
.frame-chrome i:nth-child(1) { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
.frame-chrome i:nth-child(2) { top: -1px; right: -1px; border-top-width: 2px; border-right-width: 2px; }
.frame-chrome i:nth-child(3) { bottom: -1px; left: -1px; border-bottom-width: 2px; border-left-width: 2px; }
.frame-chrome i:nth-child(4) { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; }
.frame-meta {
  position: fixed;
  z-index: 78;
  pointer-events: none;
  font-family: 'Archivo', sans-serif;
  font-variation-settings: 'wdth' 115;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 143, 206, 0.65);
}
.fm-rec { left: 26px; bottom: 22px; display: flex; align-items: center; gap: 8px; }
.fm-rec::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 10px rgba(255, 63, 164, 0.9);
  animation: recPulse 1.6s ease-in-out infinite;
}
@keyframes recPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.fm-tc { right: 26px; bottom: 22px; color: var(--lilac); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .frame-chrome, .frame-meta { display: none; } }

/* 2 · broadcast header: brand tag · editorial links · one CTA */
.brand-tag {
  font-family: 'Archivo', sans-serif;
  font-variation-settings: 'wdth' 125;
  font-stretch: 125%;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--text);
}
.brand-tag b { color: var(--pink); font-weight: 800; }
.brand-tag span { color: var(--lilac); margin: 0 6px; font-weight: 400; }
.site-head { align-items: center; }
.nav-group { display: flex; gap: clamp(14px, 2.4vw, 34px); align-items: center; }
.nl {
  position: relative;
  font-family: 'Archivo', sans-serif;
  font-variation-settings: 'wdth' 115;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 2px;
  transition: color 0.3s ease;
}
.nl::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--pink);
  box-shadow: 0 0 8px rgba(255, 63, 164, 0.8);
  transition: right 0.35s var(--ease);
}
.nl:hover, .nl.is-current { color: var(--text); }
.nl:hover::after, .nl.is-current::after { right: 0; }
.nl.is-current { color: var(--pink-neon); }

/* 3 · chamfered broadcast buttons replace the soft pills */
.pill, .pill-xl {
  border-radius: 0;
  font-family: 'Archivo', sans-serif;
  font-variation-settings: 'wdth' 118;
  font-stretch: 118%;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: rgba(20, 10, 26, 0.55);
  border: 1px solid rgba(255, 63, 164, 0.5);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  backdrop-filter: none;
}
.pill { font-size: 11.5px; padding: 0.95em 1.5em 0.85em; }
.pill-xl {
  font-size: clamp(15px, 1.7vw, 22px);
  padding: 1.1em 1.8em 1em;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  background: var(--pink);
  border-color: var(--pink);
  color: #170b13;
}
.on-ink .pill { background: rgba(255, 255, 255, 0.06); }

/* 4 · call-sheet section indexes */
.sec-index {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 clamp(26px, 4vh, 44px);
}
.sec-index b {
  font-family: 'Archivo', sans-serif;
  font-variation-settings: 'wdth' 125;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--lilac);
}
.sec-index span {
  font-family: 'Archivo', sans-serif;
  font-variation-settings: 'wdth' 115;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--pink-neon);
}
.sec-index i { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255, 143, 206, 0.4), transparent); }
.rows .sec-index, .list-section .sec-index { margin-top: clamp(40px, 7vh, 80px); }
.statement .sec-index { position: relative; z-index: 1; max-width: 520px; }

/* 5 · hero recomposition: pink italic close + metadata block */
.hero h1 .h-line:last-child .w:nth-child(2),
.hero h1 .h-line:last-child .w:nth-child(3) {
  font-style: italic;
  color: var(--pink-neon);
  text-shadow: 0 0 26px rgba(255, 63, 164, 0.5);
}
.hero-side {
  display: grid;
  gap: 8px;
  text-align: right;
  font-family: 'Archivo', sans-serif;
  font-variation-settings: 'wdth' 115;
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(243, 236, 247, 0.66);
}
.hero-side .hs-row { border-bottom: 1px solid rgba(255, 143, 206, 0.22); padding-bottom: 7px; }
.hero-side .hs-row em { font-style: normal; color: var(--pink-neon); }

/* 6 · cards as monitor units */
.row-media .media-tag {
  border-radius: 0;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  font-family: 'Archivo', sans-serif;
  font-variation-settings: 'wdth' 118;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: rgba(10, 5, 14, 0.78);
  border: 1px solid rgba(255, 63, 164, 0.45);
}
.row-media .media-tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  margin-right: 8px;
  vertical-align: 1px;
  box-shadow: 0 0 8px rgba(255, 63, 164, 0.9);
  animation: recPulse 1.6s ease-in-out infinite;
}

/* 7 · footer: mixed-type finale + underline form */
.foot-cta h2 { line-height: 1.02; }
.foot-cta h2 em {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 430;
  font-size: 0.42em;
  color: var(--pink-neon);
  margin-bottom: 0.2em;
}
.foot-cta h2 b {
  font-family: 'Archivo', sans-serif;
  font-variation-settings: 'wdth' 125;
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: -0.015em;
}
.newsletter input[type="email"] {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 143, 206, 0.4);
  border-radius: 0;
  color: var(--text);
  padding: 10px 2px;
  transition: border-color 0.3s ease;
}
.newsletter input[type="email"]:focus { outline: none; border-bottom-color: var(--pink); box-shadow: 0 1px 0 0 rgba(255, 63, 164, 0.5); }

@media (prefers-reduced-motion: reduce) {
  .fm-rec::before, .row-media .media-tag::before { animation: none; }
  .nl::after { transition: none; }
}
