/* Mobile lettering occupies the former logo and tagline slots. Keep both slot
   dimensions so the film never moves; desktop retains its illustrated scene. */
.intro-mobile-literacy-slot { display:none; }
@media(max-width:800px) {
  body .welcome.welcome-video.story-scene { padding-inline:24px; }
  body .welcome.welcome-video .scene-inner { --intro-stack-gap:clamp(28px,4svh,34px); gap:var(--intro-stack-gap); }
  .welcome-video .intro-mobile-tagline {
    position:relative; flex:none; width:76%; max-width:320px;
    aspect-ratio:2048/719; margin:0;
  }
  .intro-paper-lettering {
    position:absolute; display:block; left:50%; top:50%; transform:translate(-50%,-50%);
    width:auto; max-width:100%; height:calc(100% + 2 * (var(--intro-stack-gap) - 8px));
    aspect-ratio:3/2; object-fit:contain;
    /* Soften only the empty outer paper margin; lettering and sprout stay opaque. */
    mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent),
      linear-gradient(transparent,#000 7%,#000 93%,transparent);
    mask-composite:intersect;
  }
  .welcome-video .intro-mobile-literacy-slot {
    display:grid; place-items:start center; flex:none; width:100%; max-width:420px;
    /* Preserve the film's layout slot; remove only the lower image's centering gap. */
    aspect-ratio:3/2;
  }
  .welcome-video #why { width:100%; margin:0; padding:0; background:transparent; transform:translateY(-12px); }
  .welcome-video #why .literacy-copy { width:100%; }
}
