.milky-intro {
  --reel-paper: var(--paper, #f8f5e9);
  --reel-blue: var(--blue, #1736cc);
  --rw: min(80vw, 1000px);
  --rh: min(45vw, 562px);
  --band: 86px;
  --dy: 48px;
  position: relative;
  height: 300vh;
  background: var(--reel-paper);
}
.milky-intro .stage {
  position: sticky;
  display: block;
  isolation: isolate;
  top: 0;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  background: var(--reel-paper);
}
.milky-intro .stage::after { content: none; }
.milky-intro .veil { position: absolute; inset: 0; background: var(--reel-paper); pointer-events: none; }
.milky-intro .reel, .milky-intro .reveal {
  position: absolute;
  left: 50%;
  top: calc(50% - var(--dy));
  width: var(--rw);
  transform: translate(-50%, -50%);
}
.milky-intro .reel {
  height: var(--rh);
  overflow: hidden;
  border-radius: 16px;
  will-change: clip-path;
  background: #171c4b;
}
.milky-intro .reel-inner { position: absolute; inset: 0; will-change: transform; }
.milky-intro .reel-shot { position: absolute; inset: 0; overflow: hidden; opacity: 0; background: #171c4b; color: #fff9e8; }
.milky-intro .reel-pack { opacity: 1; animation: milky-shot-pack 12s linear infinite; }
.milky-intro .reel-field { animation: milky-shot-field 12s linear infinite; }
.milky-intro .reel-mark { animation: milky-shot-mark 12s linear infinite; }
.milky-intro .reel-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: milky-shot-drift 12s linear infinite; }
.milky-intro .reel-pack img { object-position: 57% 48%; }
.milky-intro .reel-field img { object-position: 50% 46%; animation-name: milky-herd-drift; }
.milky-intro .reel-shot:not(.reel-mark)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #080d3e89, transparent 45%); }
.milky-intro .reel-shot > span {
  position: absolute;
  left: 5%;
  bottom: 9%;
  z-index: 1;
  font-size: clamp(24px, 4.2vw, 64px);
  line-height: .95;
  font-weight: 900;
  letter-spacing: -.07em;
  text-shadow: 0 2px 14px #1215336b;
}
.milky-intro .reel-mark { background: var(--reel-blue); }
.milky-intro .reel-mark > span {
  inset: 0;
  display: grid;
  place-content: center;
  grid-auto-flow: column;
  font-size: clamp(76px, 16vw, 240px);
  letter-spacing: -.1em;
  text-shadow: none;
  animation: milky-mark-drift 12s ease-out infinite;
}
.milky-intro .reel-mark > span span { color: #a9bbff; }
.milky-intro:not(.reel-playing) .reel :is(.reel-shot, .reel-shot img, .reel-mark > span),
.reel-dialog:not(.reel-dialog-playing) :is(.reel-shot, .reel-shot img, .reel-mark > span) { animation-play-state: paused; }
@keyframes milky-shot-pack { 0%, 28%, 100% { opacity: 1; } 33%, 95% { opacity: 0; } }
@keyframes milky-shot-field { 0%, 28%, 66%, 100% { opacity: 0; } 33%, 61% { opacity: 1; } }
@keyframes milky-shot-mark { 0%, 61%, 100% { opacity: 0; } 66%, 95% { opacity: 1; } }
@keyframes milky-shot-drift { 0% { transform: scale(1.02) translateX(-1%); } 34%, 100% { transform: scale(1.16) translateX(2%); } }
@keyframes milky-herd-drift { 0%, 28% { transform: scale(1.13) translateX(3%); } 67%, 100% { transform: scale(1.02); } }
@keyframes milky-mark-drift { 0%, 61% { transform: scale(1.18); } 75%, 100% { transform: scale(1); } }
.milky-intro .reel-control, .milky-intro .reel-open, .milky-intro .reel-dialog-play, .milky-intro .reel-close {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 0 14px;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: #fff9e8;
  color: #12204d;
  font-size: 13px;
  font-weight: 700;
}
.milky-intro .reel-open { top: 16px; bottom: auto; }
.milky-intro .reel-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: auto;
  border: 0;
  background: transparent;
}
.milky-intro .reel-dialog[open] { display: grid; place-items: center; }
.milky-intro .reel-dialog::backdrop { background: #050814eb; }
body:has(.reel-dialog[open]) { overflow: hidden; }
.milky-intro .reel-dialog-inner { position: relative; width: min(92vw, calc((100dvh - 108px) * 1.77)); }
.milky-intro .reel-dialog-screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px; background: #171c4b; }
.milky-intro .reel-close { top: -48px; bottom: auto; right: 0; padding: 0; width: 44px; font-size: 24px; }
.milky-intro .reel-dialog-play { bottom: -52px; right: 0; }
.milky-intro .reveal {
  height: calc(var(--rh) + 2 * var(--band));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  z-index: 4;
}
.milky-intro .rv-top, .milky-intro .rv-bot { display: flex; min-height: var(--band); align-items: center; justify-content: space-between; gap: 16px; }
.milky-intro .rv-bot { justify-content: center; text-align: center; }
.milky-intro .rv-brand { color: var(--ink, #12204d); font-size: clamp(36px, 5vw, 78px); line-height: .9; font-weight: 900; letter-spacing: -.1em; }
.milky-intro .rv-brand span { color: var(--reel-blue); }
.milky-intro .rv-bot h2 { color: var(--ink, #12204d); font-size: clamp(22px, 2.9vw, 44px); line-height: 1.05; font-weight: 600; letter-spacing: -.045em; margin: 0; }
.milky-intro .rv-cta { background: var(--reel-blue); color: white; border: 0; }
.milky-intro .reveal:not([inert]) .rv-cta { pointer-events: auto; }
.milk-manifesto {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 26px;
  padding-block: clamp(76px, 10vw, 144px);
}
.milk-manifesto .manifesto-label { font-size: 14px; font-weight: 700; padding-top: .6em; }
.milk-manifesto h2 { font-size: clamp(44px, 7vw, 112px); line-height: .9; letter-spacing: -.075em; }
.milk-manifesto h2 .mw { display: inline; color: inherit; transition: opacity .25s linear, color .6s ease-out; }
.milk-manifesto h2 .mw-k.on { color: var(--blue, #1736cc); }
.milk-manifesto p:not(.manifesto-label) { max-width: 36ch; font-size: clamp(16px, 1.45vw, 24px); line-height: 1.45; margin-top: 26px; }
.milk-mask { position: relative; height: 190vh; background: #0e1a33; color: #fff9e8; }
.milk-mask .fmx-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vh, 36px);
}
.milk-mask .fmx-pin::after { content: ""; position: absolute; inset: 0; z-index: 6; background: var(--paper, #f8f5e9); opacity: var(--fmx-end, 0); pointer-events: none; }
.milk-mask .fmx-word {
  font-weight: 900;
  font-size: clamp(94px, 23vw, 460px);
  line-height: .86;
  letter-spacing: -.1em;
  padding-right: .12em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px #fff9e846;
  background: #91a9ff url('/assets/carton-photo.webp') center / cover no-repeat;
  background-clip: text;
  -webkit-background-clip: text;
}
.milk-mask .fmx-k { position: relative; z-index: 7; text-align: center; font-weight: 700; font-size: clamp(22px, 3.2vw, 52px); letter-spacing: -.05em; line-height: 1; margin: 0; color: color-mix(in srgb, #fff9e8 calc((1 - var(--fmx-end, 0)) * 100%), #12204d); }
.milk-mask .fmx-k span { color: color-mix(in srgb, #a9bbff calc((1 - var(--fmx-end, 0)) * 100%), #1736cc); }
@media (max-width: 700px) {
  .milky-intro { height: 240vh; --rw: 92vw; --rh: min(119vw, 64svh); --band: 72px; --dy: 32px; }
  .milky-intro .rv-top, .milky-intro .rv-bot { gap: 6px; }
  .milky-intro .rv-cta { gap: 10px; padding-inline: 12px; }
  .milky-intro .reel-control { right: 8px; bottom: 8px; }
  .milky-intro .reel-open { right: 8px; top: 8px; }
  .milky-intro .reel-dialog-inner { width: min(92vw, calc((100dvh - 108px) / 1.30)); }
  .milky-intro .reel-dialog-screen { aspect-ratio: 10 / 13; }
  .milk-manifesto { grid-template-columns: 1fr; }
  .milk-mask { height: 160vh; }
}
@media (prefers-reduced-motion: reduce) {
  .milky-intro, .milk-mask { height: 100svh; }
  .milky-intro .reel-shot,
  .milky-intro .reel-shot img,
  .milky-intro .reel-mark > span { animation-duration: 12s !important; }
}
