/* ==========================================================================
   MiniME — standalone visual world. Deliberately NOT Refinery's design system.
   Never imports tokens.css. All custom properties are --mm-* namespaced so
   nothing can leak into or out of the main site.
   ========================================================================== */

:root {
  /* Stage. Black is the stage, not the mood. */
  --mm-void: #09090c;
  --mm-void-2: #101016;
  --mm-ink: #ffffff;
  --mm-ink-soft: rgba(255, 255, 255, 0.66);
  --mm-ink-mute: rgba(255, 255, 255, 0.38);
  --mm-hair: rgba(255, 255, 255, 0.14);

  /* Foil — sampled directly from the MiniME logo glyphs. */
  --mm-f0: #fbd5c0; /* peach   */
  --mm-f1: #fdedf0; /* blush   */
  --mm-f2: #f9d2e6; /* pink    */
  --mm-f3: #e2c1ed; /* orchid  */
  --mm-f4: #d3b0eb; /* lilac   */

  --mm-foil: linear-gradient(100deg, var(--mm-f0) 0%, var(--mm-f1) 18%, var(--mm-f2) 38%, var(--mm-f3) 62%, var(--mm-f4) 82%, var(--mm-f0) 100%);
  --mm-foil-wide: linear-gradient(100deg, var(--mm-f0), var(--mm-f1), var(--mm-f2), var(--mm-f3), var(--mm-f4), var(--mm-f2), var(--mm-f0));

  --mm-sans: "Poppins", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mm-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  /* Motion. Overshoot, not fade. Speed reads as confident. */
  --mm-spring: cubic-bezier(0.22, 1.35, 0.36, 1);
  --mm-ease: cubic-bezier(0.4, 0, 0.2, 1);

  --mm-max: 1440px;
  --mm-pad: clamp(1.25rem, 4vw, 4rem);
}

/* ---------- reset ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--mm-void);
  color: var(--mm-ink);
  font-family: var(--mm-sans);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--mm-f2); color: #000; }

.mm-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--mm-f2);
  color: #000;
  font-weight: 600;
}
.mm-skip:focus { left: 1rem; top: 1rem; }

:focus-visible {
  outline: 2px solid var(--mm-f2);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- shared type ---------- */

.mm-wrap {
  width: 100%;
  max-width: var(--mm-max);
  margin-inline: auto;
  padding-inline: var(--mm-pad);
}

/* Architectural scale. Geometric sans stops reading as generic once it's huge. */
.mm-display {
  font-weight: 700;
  font-size: clamp(2.75rem, 9vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  margin: 0;
  text-wrap: balance;
}

.mm-display--sm {
  font-size: clamp(2rem, 5.5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.mm-kicker {
  font-family: var(--mm-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mm-ink-mute);
  margin: 0;
}

.mm-body {
  font-size: clamp(1rem, 1.15vw, 1.1875rem);
  line-height: 1.6;
  color: var(--mm-ink-soft);
  max-width: 46ch;
  text-wrap: pretty;
}

/* ---------- foil: the brand material ---------- */

.mm-foil {
  background-image: var(--mm-foil-wide);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: mm-foil-drift 9s linear infinite;
}

@keyframes mm-foil-drift {
  to { background-position: 300% 0; }
}

/* Specular sweep — the gloss that replaces film grain. */
.mm-gloss { position: relative; overflow: hidden; isolation: isolate; }
.mm-gloss::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.28) 48%, rgba(255, 255, 255, 0.05) 56%, transparent 64%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--mm-ease);
}
.mm-gloss:hover::after,
.mm-gloss:focus-visible::after { transform: translateX(120%); }

/* ---------- sticker badges ---------- */

.mm-sticker {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.4em 0.85em;
  border-radius: 999px;
  font-family: var(--mm-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #000;
  background-image: var(--mm-foil);
  box-shadow: 0 6px 18px -6px rgba(249, 210, 230, 0.55);
}

.mm-sticker--ghost {
  color: var(--mm-ink-soft);
  background: none;
  border: 1px solid var(--mm-hair);
  box-shadow: none;
}

.mm-sticker__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0b0b0e;
  animation: mm-pulse 1.6s var(--mm-ease) infinite;
}

@keyframes mm-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

/* ---------- buttons ---------- */

.mm-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 1em 1.75em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  color: #000;
  background-image: var(--mm-foil);
  background-size: 220% 100%;
  transition: transform 0.45s var(--mm-spring), background-position 0.6s var(--mm-ease), box-shadow 0.45s var(--mm-ease);
  box-shadow: 0 10px 30px -10px rgba(226, 193, 237, 0.6);
}
.mm-btn:hover {
  transform: translateY(-3px) scale(1.03);
  background-position: 100% 0;
  box-shadow: 0 18px 40px -12px rgba(226, 193, 237, 0.75);
}
.mm-btn:active { transform: translateY(-1px) scale(0.99); }

.mm-btn--ghost {
  color: var(--mm-ink);
  background: none;
  border: 1px solid var(--mm-hair);
  box-shadow: none;
}
.mm-btn--ghost:hover {
  border-color: var(--mm-f2);
  color: var(--mm-f1);
  box-shadow: none;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */

.mm-top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 88px;
  padding: 1rem var(--mm-pad) 1.35rem;
  background: linear-gradient(180deg, rgba(46, 32, 55, 0.82) 0%, rgba(46, 32, 55, 0.42) 58%, rgba(46, 32, 55, 0) 100%);
  backdrop-filter: blur(12px) saturate(1.18);
  transition: background-color 0.4s var(--mm-ease), backdrop-filter 0.4s var(--mm-ease);
}
.mm-top.is-stuck {
  background: linear-gradient(180deg, rgba(46, 32, 55, 0.82) 0%, rgba(46, 32, 55, 0.42) 58%, rgba(46, 32, 55, 0) 100%);
  backdrop-filter: blur(12px) saturate(1.18);
}

.mm-top__brand {
  display: inline-flex;
  align-items: flex-end;
  gap: clamp(0.55rem, 1vw, 0.9rem);
  flex: none;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.28));
}
.mm-top__wordmark {
  display: block;
  font-weight: 700;
  font-size: clamp(1.85rem, 2.7vw, 2.55rem);
  line-height: 0.78;
  letter-spacing: -0.075em;
  background-image: var(--mm-foil-wide);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mm-top__endorsement {
  display: block;
  margin: 0;
  color: var(--mm-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.92rem, 1.4vw, 1.25rem);
  font-style: italic;
  font-weight: 600;
  line-height: 0.78;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.mm-top__right { display: flex; align-items: center; gap: 0.75rem; }

/* ---------- nav ---------- */

.mm-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.75rem);
}
.mm-nav a {
  position: relative;
  font-family: var(--mm-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mm-ink-mute);
  padding: 0.35em 0;
  transition: color 0.3s var(--mm-ease);
}
.mm-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background-image: var(--mm-foil);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--mm-spring);
}
.mm-nav a:hover { color: var(--mm-ink); }
.mm-nav a:hover::after { transform: scaleX(1); }
.mm-nav a[aria-current="page"] { color: var(--mm-ink); }
.mm-nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Menu button — only below the nav breakpoint */
.mm-burger {
  display: none;
  align-items: center;
  gap: 0.5em;
  padding: 0.55em 0.9em;
  border: 1px solid var(--mm-hair);
  border-radius: 999px;
  font-family: var(--mm-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mm-ink-soft);
}
.mm-burger i {
  display: block;
  width: 14px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 4px 0 currentColor, 0 -4px 0 currentColor;
}

/* Full-screen menu */
.mm-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  padding: var(--mm-pad);
  background: var(--mm-void);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--mm-ease), visibility 0.35s;
}
.mm-menu.is-open { opacity: 1; visibility: visible; }
.mm-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 50% at 30% 30%, rgba(211, 176, 235, 0.22), transparent 70%);
  pointer-events: none;
}
.mm-menu a {
  position: relative;
  font-weight: 700;
  font-size: clamp(2.25rem, 11vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  transform: translateY(18px);
  opacity: 0;
  transition: transform 0.5s var(--mm-spring), opacity 0.4s var(--mm-ease);
}
.mm-menu.is-open a { transform: none; opacity: 1; }
.mm-menu.is-open a:nth-child(2) { transition-delay: 0.05s; }
.mm-menu.is-open a:nth-child(3) { transition-delay: 0.1s; }
.mm-menu.is-open a:nth-child(4) { transition-delay: 0.15s; }
.mm-menu.is-open a:nth-child(5) { transition-delay: 0.2s; }
.mm-menu__close {
  position: absolute;
  top: 1.1rem;
  right: var(--mm-pad);
  font-family: var(--mm-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mm-ink-soft);
}
body.mm-locked { overflow: hidden; }

/* ---------- inner page shell ---------- */

.mm-page {
  position: relative;
  padding: clamp(7.5rem, 18vh, 11rem) 0 clamp(4rem, 10vh, 7rem);
  overflow: clip;
}
.mm-page::before {
  content: "";
  position: absolute;
  inset: -10% 0 auto 0;
  height: 70vh;
  z-index: -1;
  background:
    radial-gradient(45% 55% at 18% 25%, rgba(211, 176, 235, 0.2), transparent 70%),
    radial-gradient(40% 50% at 78% 15%, rgba(249, 210, 230, 0.16), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.mm-page__title {
  margin: 1rem 0 0;
  font-weight: 700;
  font-size: clamp(2.5rem, 7vw, 6rem);
  line-height: 0.88;
  letter-spacing: -0.045em;
  max-width: 16ch;
  text-wrap: balance;
}
.mm-page__lede {
  margin: 1.75rem 0 0;
  font-size: clamp(1.0625rem, 1.5vw, 1.375rem);
  line-height: 1.5;
  color: var(--mm-ink-soft);
  max-width: 52ch;
  text-wrap: pretty;
}

.mm-section { padding: clamp(3.5rem, 9vh, 6rem) 0; }
.mm-section--edge { border-top: 1px solid var(--mm-hair); }

.mm-prose { max-width: 62ch; }
.mm-prose p {
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.65;
  color: var(--mm-ink-soft);
  text-wrap: pretty;
}
.mm-prose p + p { margin-top: 1.1rem; }
.mm-prose strong { color: var(--mm-ink); font-weight: 600; }

/* Numbered cards used across the inner pages */
.mm-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--mm-hair);
  border: 1px solid var(--mm-hair);
}
.mm-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mm-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  background: var(--mm-void);
  transition: background 0.4s var(--mm-ease);
}
.mm-card:hover { background: var(--mm-void-2); }
.mm-card__num {
  font-family: var(--mm-mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  color: var(--mm-ink-mute);
}
.mm-card__name {
  margin: 0;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.mm-card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--mm-ink-soft);
}
.mm-card__link {
  margin-top: auto;
  padding-top: 0.5rem;
  font-family: var(--mm-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mm-f2);
  transition: color 0.3s var(--mm-ease);
}
.mm-card__link:hover { color: var(--mm-f4); }

/* Definition rows */
.mm-rows { border-top: 1px solid var(--mm-hair); }
.mm-row {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: clamp(1rem, 3vw, 3rem);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--mm-hair);
}
.mm-row dt {
  font-family: var(--mm-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mm-ink-mute);
}
.mm-row dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--mm-ink-soft);
  max-width: 60ch;
}

@media (max-width: 1080px) {
  .mm-nav { display: none; }
  .mm-burger { display: inline-flex; }
}

@media (max-width: 860px) {
  .mm-cards,
  .mm-cards--2 { grid-template-columns: 1fr; }
  .mm-row { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* Sound toggle */
.mm-sound {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.55em 1em;
  border: 1px solid var(--mm-hair);
  border-radius: 999px;
  font-family: var(--mm-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mm-ink-soft);
  transition: border-color 0.35s var(--mm-ease), color 0.35s var(--mm-ease);
}
.mm-sound:hover { border-color: var(--mm-f3); color: var(--mm-ink); }
.mm-sound__bars { display: flex; align-items: flex-end; gap: 2px; height: 11px; }
.mm-sound__bars i {
  display: block;
  width: 2px;
  height: 3px;
  background: currentColor;
  border-radius: 1px;
}
.mm-sound.is-on { color: var(--mm-f2); border-color: var(--mm-f3); }
.mm-sound.is-on .mm-sound__bars i { animation: mm-eq 0.9s var(--mm-ease) infinite; }
.mm-sound.is-on .mm-sound__bars i:nth-child(2) { animation-delay: 0.15s; }
.mm-sound.is-on .mm-sound__bars i:nth-child(3) { animation-delay: 0.3s; }

@keyframes mm-eq {
  0%, 100% { height: 3px; }
  50% { height: 11px; }
}

/* ==========================================================================
   COLD OPEN
   ========================================================================== */

.mm-open {
  position: relative;
  overflow: clip;
  min-height: 100svh;
  display: grid;
  /* Both tracks size to content and the pair centers as one unit: kills the
     dead gap the old `1fr auto` left between copy and phone at desktop. */
  grid-template-columns: auto auto;
  justify-content: center;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(6rem, 12vh, 9rem) var(--mm-pad) clamp(3rem, 8vh, 6rem);
  max-width: var(--mm-max);
  margin-inline: auto;
}

/* Ambient foil bloom behind the cold open — keeps the black from going morose. */
.mm-open::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -20%;
  height: 90vh;
  z-index: -1;
  background:
    radial-gradient(45% 55% at 20% 30%, rgba(211, 176, 235, 0.22), transparent 70%),
    radial-gradient(40% 50% at 75% 20%, rgba(249, 210, 230, 0.18), transparent 70%),
    radial-gradient(35% 45% at 55% 70%, rgba(251, 213, 192, 0.14), transparent 70%);
  filter: blur(20px);
  animation: mm-bloom 14s var(--mm-ease) infinite alternate;
  pointer-events: none;
}

@keyframes mm-bloom {
  from { transform: translate3d(-2%, 0, 0) scale(1); }
  to { transform: translate3d(3%, 2%, 0) scale(1.12); }
}

.mm-open__copy { max-width: 46ch; min-width: 0; }

/* Larger than the rail's phone: this is the first thing that has to sell the
   channel. Height-capped so the taller device ratio never overflows the
   100svh cold open. */
.mm-open__phone { width: min(30vw, 400px, 36svh); }

.mm-open__title {
  margin: 1.25rem 0 0;
  font-weight: 700;
  font-size: clamp(2.75rem, 6.2vw, 5.75rem);
  line-height: 0.86;
  letter-spacing: -0.05em;
}
.mm-open__title span { display: block; }

.mm-open__sub {
  margin: 1.75rem 0 0;
  font-size: clamp(1.0625rem, 1.4vw, 1.375rem);
  line-height: 1.5;
  color: var(--mm-ink-soft);
  max-width: 34ch;
  text-wrap: pretty;
}

.mm-open__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.mm-open__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: clamp(2.5rem, 5vh, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--mm-hair);
}
.mm-open__stat b {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}
.mm-open__stat span {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--mm-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mm-ink-mute);
}

.mm-open__scroll {
  position: absolute;
  left: var(--mm-pad);
  bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mm-mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mm-ink-mute);
}
.mm-open__scroll i {
  display: block;
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--mm-f2), transparent);
  animation: mm-slide 2s var(--mm-ease) infinite;
}
@keyframes mm-slide {
  0% { transform: scaleX(0); transform-origin: left; }
  50% { transform: scaleX(1); transform-origin: left; }
  100% { transform: scaleX(0); transform-origin: right; }
}

/* ==========================================================================
   PHONE — the recurring 9:16 object
   ========================================================================== */

.mm-phone {
  position: relative;
  aspect-ratio: 9 / 19.5;
  width: min(31vw, 340px);
  border-radius: 46px;
  padding: 9px;
  /* Near-black device frame with a machined sheen. Brand foil survives as the
     ambient glow, not the bezel. */
  background: linear-gradient(155deg, #2e2e36 0%, #131318 40%, #060608 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 60px 110px -35px rgba(0, 0, 0, 0.92),
    0 24px 48px -24px rgba(0, 0, 0, 0.7),
    0 0 80px -18px rgba(226, 193, 237, 0.38);
  flex: none;
}

/* Hardware: volume rocker (left, doubled via shadow) and power (right). */
.mm-phone::before,
.mm-phone::after {
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #34343d, #17171c);
}
.mm-phone::before {
  left: -2px;
  top: 19%;
  height: 44px;
  box-shadow: 0 58px 0 0 #23232b;
}
.mm-phone::after {
  right: -2px;
  top: 27%;
  height: 68px;
  background: linear-gradient(270deg, #34343d, #17171c);
}

.mm-phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 37px;
  overflow: hidden;
  background: #000;
}

/* Dynamic-Island pill. Sits above whatever the screen is playing. */
.mm-phone__screen::before {
  content: "";
  position: absolute;
  top: 2%;
  left: 50%;
  transform: translateX(-50%);
  width: 27%;
  height: 3.1%;
  min-height: 16px;
  background: #000;
  border-radius: 999px;
  z-index: 5;
  pointer-events: none;
}

/* Glass edge: 1px inner hairline so the screen reads as a lit surface. */
.mm-phone__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  z-index: 5;
  pointer-events: none;
}

.mm-phone__screen > video,
.mm-phone__screen > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   THE RAIL — page scroll is the channel scrubber
   ========================================================================== */

.mm-rail { position: relative; padding-bottom: 12svh; }

/* Explicit grid placement. The stage spans every row and the segments each
   claim one, so both share column 2 and sticky is contained by the real
   height of the rail.

   Do NOT go back to a negative margin-bottom on the sticky element: it zeroes
   its own margin box, so the browser lets it stay stuck one whole viewport
   past the rail and it lands on top of the next section. */
.mm-rail__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: repeat(4, 100svh);
  max-width: var(--mm-max);
  margin-inline: auto;
  padding-inline: var(--mm-pad);
}

.mm-rail__stage {
  grid-column: 2;
  grid-row: 1 / -1;
  position: sticky;
  top: 0;
  z-index: 2;
  align-self: start;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.mm-rail__phone { width: min(34vw, 370px, 36svh); }

/* Stacked panels inside the phone — one visible at a time. */
.mm-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.55s var(--mm-ease), transform 0.75s var(--mm-spring);
  pointer-events: none;
}
.mm-panel.is-live {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* Blurred cover behind a contained poster: no destructive crop of burnt-in titles. */
.mm-panel__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(26px) saturate(1.5) brightness(0.6);
  transform: scale(1.25);
}
.mm-panel__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Teaser reel, cut per show. Fills the phone edge to edge. */
.mm-panel__vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Below the Dynamic-Island notch (notch bottom ≈ 2% + max(3.1%, 16px) ≤ 40px)
   so a wide sticker ("AIRING SOON") never collides with the centered pill. */
.mm-panel__tag {
  position: absolute;
  left: 12px;
  top: 44px;
  z-index: 4;
  transform: rotate(-2.5deg);
}


/* Segments: one viewport each, they drive which panel is live. Rows are
   assigned explicitly so they share column 2 with the stage instead of being
   auto-placed after it. */
.mm-seg {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  pointer-events: none;
}
.mm-seg:nth-child(2) { grid-row: 1; }
.mm-seg:nth-child(3) { grid-row: 2; }
.mm-seg:nth-child(4) { grid-row: 3; }
.mm-seg:nth-child(5) { grid-row: 4; }
.mm-seg > * { pointer-events: auto; }

.mm-seg__left { grid-column: 1; text-align: right; justify-self: end; max-width: 40ch; }
.mm-seg__right { grid-column: 3; max-width: 30ch; }
.mm-seg__spacer { grid-column: 2; width: min(34vw, 370px, 36svh); }

.mm-seg__index {
  font-family: var(--mm-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  color: var(--mm-ink-mute);
}

.mm-seg__title {
  margin: 0.75rem 0 0;
  font-weight: 700;
  font-size: clamp(1.75rem, 3.1vw, 3.25rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  /* Show names never break mid-name: each <br>-delimited line holds. The
     vw-driven clamp keeps the longest line inside its column at every width. */
  white-space: nowrap;
}

.mm-seg__tagline {
  margin: 1.1rem 0 0;
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  line-height: 1.45;
  color: var(--mm-ink-soft);
}

.mm-seg__meta {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}
.mm-seg__meta li {
  display: flex;
  gap: 0.75rem;
  font-family: var(--mm-mono);
  font-size: clamp(0.875rem, 1vw, 1rem);
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.82);
}
.mm-seg__meta b {
  min-width: 5.5rem;
  font-weight: 600;
  color: var(--mm-ink);
}
.mm-seg__left .mm-seg__meta li { justify-content: flex-end; }

/* Entrance: content springs in as its segment takes over. */
.mm-seg [data-lift] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--mm-ease), transform 0.8s var(--mm-spring);
}
.mm-seg.is-active [data-lift] { opacity: 1; transform: none; }
.mm-seg.is-active [data-lift]:nth-child(2) { transition-delay: 0.06s; }
.mm-seg.is-active [data-lift]:nth-child(3) { transition-delay: 0.12s; }
.mm-seg.is-active [data-lift]:nth-child(4) { transition-delay: 0.18s; }

/* Progress ticks */
.mm-rail__ticks {
  position: fixed;
  right: clamp(0.75rem, 2vw, 1.75rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: grid;
  gap: 0.6rem;
  opacity: 0;
  transition: opacity 0.4s var(--mm-ease);
}
.mm-rail__ticks.is-shown { opacity: 1; }
.mm-rail__tick {
  display: block;
  width: 2px;
  height: 24px;
  border-radius: 2px;
  background: var(--mm-hair);
  transition: background 0.4s var(--mm-ease), height 0.5s var(--mm-spring);
}
.mm-rail__tick.is-on { background-image: var(--mm-foil); height: 40px; }

/* ==========================================================================
   CANDY — full-bleed foil wash. The page's biggest contrast move.
   ========================================================================== */

.mm-candy {
  position: relative;
  z-index: 3; /* always paints above the rail's sticky phone */
  color: #0a0a0c;
  background-image: linear-gradient(125deg, var(--mm-f0), var(--mm-f1) 22%, var(--mm-f2) 45%, var(--mm-f3) 68%, var(--mm-f4));
  background-size: 220% 220%;
  animation: mm-candy-drift 18s var(--mm-ease) infinite alternate;
  padding: clamp(5rem, 14vh, 9rem) 0;
  overflow: hidden;
}

@keyframes mm-candy-drift {
  from { background-position: 0% 0%; }
  to { background-position: 100% 100%; }
}

.mm-candy__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}

.mm-candy .mm-kicker { color: rgba(0, 0, 0, 0.5); }
.mm-candy__title {
  margin: 1rem 0 0;
  font-weight: 700;
  font-size: clamp(2.5rem, 6.5vw, 6rem);
  line-height: 0.88;
  letter-spacing: -0.045em;
}
.mm-candy__title em { font-style: normal; color: rgba(0, 0, 0, 0.42); }

.mm-candy__body {
  font-size: clamp(1rem, 1.2vw, 1.1875rem);
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.72);
  max-width: 44ch;
  text-wrap: pretty;
}
.mm-candy__body + .mm-candy__body { margin-top: 1rem; }

/* ==========================================================================
   NEXT UP
   ========================================================================== */

.mm-next { padding: clamp(5rem, 12vh, 8rem) 0; }

.mm-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(2rem, 5vh, 3.5rem);
}

.mm-next__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.2vw, 1rem);
}

.mm-next__cell {
  position: relative;
  min-width: 0;
  background: var(--mm-void-2);
  overflow: hidden;
  transition: transform 0.5s var(--mm-spring);
}
.mm-next__cell:hover { transform: translateY(-5px); }

.mm-next__poster {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.mm-next__meta {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.75rem;
  padding: 1rem;
}

.mm-next__name {
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.mm-next__genre {
  margin: 0.4rem 0 0;
  font-family: var(--mm-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mm-ink-mute);
}
.mm-next__num {
  margin: 0.15rem 0 0;
  font-family: var(--mm-mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  color: var(--mm-ink-mute);
}

/* ==========================================================================
   REGIONS — eight accounts, the proof this is a channel
   ========================================================================== */

.mm-regions { padding: clamp(5rem, 12vh, 8rem) 0; }

.mm-regions__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--mm-hair);
  border: 1px solid var(--mm-hair);
}

.mm-region {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.25rem;
  background: var(--mm-void);
  overflow: hidden;
  transition: color 0.35s var(--mm-ease);
}
.mm-region::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--mm-foil);
  transform: translateY(101%);
  transition: transform 0.5s var(--mm-spring);
}
.mm-region > * { position: relative; z-index: 1; }
.mm-region:hover { color: #000; }
.mm-region:hover::before { transform: none; }

.mm-region__name { font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.02em; }
.mm-region__new {
  display: inline-block;
  margin-left: 0.5em;
  padding: 0.3em 0.55em;
  border-radius: 999px;
  color: #000;
  background-image: var(--mm-foil);
  font-family: var(--mm-mono);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  vertical-align: 0.18em;
}
.mm-region__at {
  font-family: var(--mm-mono);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--mm-ink-soft);
  transition: color 0.35s var(--mm-ease);
}
.mm-region:hover .mm-region__at { color: rgba(0, 0, 0, 0.6); }

.mm-region--soon { pointer-events: none; }
.mm-region--soon .mm-region__name { color: var(--mm-ink-mute); }

/* ==========================================================================
   FOLLOW
   ========================================================================== */

.mm-follow {
  position: relative;
  padding: clamp(6rem, 16vh, 11rem) 0;
  text-align: center;
  overflow: hidden;
}
.mm-follow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(60% 70% at 50% 60%, rgba(226, 193, 237, 0.3), transparent 70%);
  filter: blur(18px);
  animation: mm-bloom 12s var(--mm-ease) infinite alternate;
}
.mm-follow__title {
  margin: 1.25rem auto 0;
  font-weight: 700;
  font-size: clamp(2.75rem, 10vw, 9rem);
  line-height: 0.86;
  letter-spacing: -0.05em;
}
.mm-follow__sub {
  margin: 1.5rem auto 0;
  max-width: 42ch;
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  color: var(--mm-ink-soft);
  text-wrap: pretty;
}
.mm-follow__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2.5rem;
}

/* ==========================================================================
   CASTING
   ========================================================================== */

.mm-casting-hero__actions { margin-top: 2rem; }

.mm-casting-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--mm-hair);
  background: var(--mm-hair);
  gap: 1px;
}
.mm-casting-grid .mm-card { min-width: 0; }

.mm-casting-note {
  max-width: 68ch;
  margin: 1.5rem 0 0;
  color: var(--mm-ink-soft);
  font-size: 0.9375rem;
  line-height: 1.65;
}
.mm-casting-cta { margin: 2rem 0 0; }

.mm-casting-form {
  padding: clamp(4rem, 10vh, 7rem) 0;
  border-top: 1px solid var(--mm-hair);
}
.mm-casting-form[hidden] { display: none; }

.mm-casting-form__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.mm-casting-form__title {
  margin: 0.75rem 0 0;
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
}
.mm-casting-form__close {
  flex: 0 0 auto;
  border: 1px solid var(--mm-hair);
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
  font-family: var(--mm-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mm-casting-form__close:hover { border-color: var(--mm-f2); color: var(--mm-f2); }

.mm-casting-form__surface {
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
}
.mm-casting-form iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 1400px;
  border: 0;
  background: #fff;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.mm-foot {
  border-top: 1px solid var(--mm-hair);
  padding: 2.5rem 0 3rem;
}
.mm-foot__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--mm-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mm-ink-mute);
}
.mm-foot__row a { transition: color 0.3s var(--mm-ease); }
.mm-foot__row a:hover { color: var(--mm-f2); }

/* ==========================================================================
   REVEAL
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--mm-ease), transform 0.9s var(--mm-spring);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE — mobile turns the page into the thing it advertises
   ========================================================================== */

@media (max-width: 1024px) {
  .mm-open {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 2.5rem;
  }
  .mm-open__phone { width: min(58vw, 260px); justify-self: center; }
  .mm-candy__grid { grid-template-columns: 1fr; align-items: start; }
  .mm-next__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  /* On a phone the rail stops being a diorama of a phone and just becomes the
     feed: one full-bleed snap panel per show. Same content, same state
     machine, native gesture. */
  .mm-regions__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mm-next__grid {
    grid-template-columns: repeat(5, minmax(68vw, 1fr));
    gap: 0.75rem;
    margin-inline: calc(var(--mm-pad) * -1);
    padding-inline: var(--mm-pad);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .mm-next__grid::-webkit-scrollbar { display: none; }
  .mm-next__cell { scroll-snap-align: start; }

  .mm-rail { padding-bottom: 0; }
  .mm-rail__inner {
    display: block;
    padding-inline: 0;
    scroll-snap-type: y proximity;
  }
  .mm-rail__stage { display: none; }
  .mm-rail__ticks { display: none; }

  .mm-seg {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 100svh;
    padding: 0 var(--mm-pad) clamp(2.5rem, 8svh, 4.5rem);
    scroll-snap-align: start;
    overflow: clip;
  }
  /* Art is pre-cropped above each poster's burnt-in title lockup, so the
     page's own typography is the only type on screen. */
  .mm-seg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--art);
    background-size: cover;
    background-position: center 30%;
    transform: scale(1.03);
  }
  .mm-seg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 9, 12, 0.55) 0%, rgba(9, 9, 12, 0.08) 26%, rgba(9, 9, 12, 0.72) 58%, rgba(9, 9, 12, 0.96) 82%, var(--mm-void) 100%);
  }
  .mm-seg > * { position: relative; z-index: 1; }

  .mm-seg__left,
  .mm-seg__right {
    text-align: left;
    justify-self: start;
    max-width: none;
  }
  .mm-seg__left .mm-seg__meta li { justify-content: flex-start; }
  .mm-seg__spacer,
  .mm-seg__right { display: none; }
  .mm-seg__title { font-size: clamp(2rem, 9vw, 3rem); }
  .mm-seg__tagline { color: var(--mm-ink); }
  .mm-casting-grid { grid-template-columns: 1fr; }
  .mm-casting-form__head { align-items: start; }
}

@media (max-width: 560px) {
  /* Logo + sound + Follow + Menu is one item too many at this width; the
     sound control keeps its meaning as an icon. */
  #soundLabel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .mm-sound { padding: 0.6em 0.75em; }
  .mm-burger span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .mm-burger { padding: 0.6em 0.75em; }
  .mm-open { min-height: auto; padding-top: 6.5rem; }
  .mm-open__scroll { display: none; }
  .mm-open__phone { width: min(66vw, 240px); }
  .mm-regions__grid { grid-template-columns: 1fr; }
  .mm-top { min-height: 78px; }
  .mm-top__wordmark { font-size: 1.65rem; }
  .mm-top__endorsement { font-size: 0.82rem; }
  .mm-top__right > .mm-btn { display: none; }
  .mm-next__grid { grid-template-columns: repeat(5, minmax(78vw, 1fr)); }
  .mm-open__stats { gap: 1.25rem 2rem; }
  .mm-casting-form__head { display: grid; gap: 1.25rem; }
  .mm-casting-form__close { justify-self: start; }
  .mm-casting-form { padding-block: 3.5rem; }
}

/* ==========================================================================
   MOTION PREFERENCES
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal],
  .mm-seg [data-lift] { opacity: 1; transform: none; }
  .mm-panel { transition: none; }
}
