/* Intro — Momo steps out of her door and waves; then a scroll-reactive 3D orbit of the work, with Momo peeping in and her story typing out (see intro.js). */
#intro.intro { display: block; padding: 0; position: fixed; inset: 0; z-index: 2000; background: var(--paper); color: var(--ink); overflow: hidden; cursor: pointer; }
.no-intro .intro { display: none; }
.intro.is-out { opacity: 0; transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s; pointer-events: none; }
/* on the way out the orbit flies apart into the hero's scattered field */
.intro.is-out .mm__ring { transition: transform 1s cubic-bezier(0.7, 0, 0.3, 1); }
.intro.is-out .mm__text, .intro.is-out .mm__hint { opacity: 0 !important; transition: opacity 0.3s; }
/* A · Momo out of her door: white line art dropped onto the cream page; the bottom fades so a cropped body never ends in a hard edge */
.mi { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: clamp(0px, 1vw, 20px); }
.mi__video { height: min(92vh, 980px); width: auto; max-width: none; mix-blend-mode: multiply; transform-origin: 50% 12%; -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent); mask-image: linear-gradient(to bottom, #000 78%, transparent); }
#intro .mi__text { margin: 0; min-width: 7.6em; font-size: clamp(36px, 5.2vw, 88px); font-weight: 400; letter-spacing: -0.045em; line-height: 0.95; }
.mi__l1, .mi__l2 { display: block; min-height: 0.95em; }
.mi__l2 { color: var(--ink-soft); }
.mi__caret { display: inline-block; width: 0.06em; height: 0.85em; margin-left: 0.04em; vertical-align: -0.08em; background: currentColor; animation: mi-blink 0.9s steps(1) infinite; }
@keyframes mi-blink { 50% { opacity: 0; } }
/* 3 · the six project images on a slowly turning cylinder */
.mm__orbit { position: absolute; inset: 0; z-index: 1; isolation: isolate; perspective: 1100px; perspective-origin: 50% 50%; opacity: 0; --r: min(30vw, 460px); }
.mm__ring { position: absolute; left: 50%; top: 50%; transform-style: preserve-3d; will-change: transform; }
.mm__card { position: absolute; left: 0; top: 0; max-width: none; width: clamp(110px, 13vw, 220px); aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; box-shadow: 0 30px 60px -34px rgba(17, 17, 17, 0.5); backface-visibility: visible; }
.mm__girl { position: absolute; right: -5vw; bottom: calc(min(70vh, 680px) * -0.56); height: min(70vh, 680px); width: auto; max-width: none; transform-origin: 100% 100%; z-index: 4; opacity: 0; will-change: transform; }
/* her statement is gone: the last scene is just the orbit and Momo, the same as the hero it opens onto */
#intro .mm__text { display: none; margin: 0; position: absolute; z-index: 5; right: calc(min(70vh, 680px) * 0.5); bottom: 4vh; max-width: min(30vw, 420px); text-align: right; }
#intro .mm__hello { margin: 0 0 0.3em; font-size: clamp(26px, 3vw, 48px); font-weight: 400; letter-spacing: -0.045em; line-height: 0.95; min-height: 0.95em; }
#intro .mm__story { margin: 0; font-size: clamp(15px, 1.25vw, 19px); line-height: 1.3; letter-spacing: -0.01em; color: var(--ink-soft); min-height: 1.3em; }
.mm__caret { display: inline-block; width: 1px; height: 1em; margin-left: 2px; vertical-align: -0.12em; background: currentColor; animation: mi-blink 0.9s steps(1) infinite; }
.mm__hint { position: absolute; left: 50%; bottom: calc(var(--pad) + 6px); transform: translateX(-50%); z-index: 3; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); opacity: 0; }
.intro__skip { position: absolute; z-index: 5; right: var(--pad); top: calc(var(--pad) + env(safe-area-inset-top, 0px)); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }
@media (max-width: 760px) {
  .mi { flex-direction: column; justify-content: center; gap: 0; }
  .mi__video { height: 62vh; }
  #intro .mi__text { min-width: 0; text-align: center; font-size: clamp(32px, 9vw, 48px); }
  .mm__girl { right: -12vw; height: 50vh; bottom: -28vh; }
  #intro .mm__text { left: 6vw; right: 6vw; top: 10vh; bottom: auto; max-width: none; text-align: left; }
  #intro .mm__hello { font-size: 28px; }
  #intro .mm__story { font-size: 15px; }
  .mm__orbit { --r: 40vw; }
  .mm__ring { left: 50%; top: 54%; }
  .mm__card { width: 30vw; }
}
@media (prefers-reduced-motion: reduce) { .intro { display: none; } }
