/* Landing intro (approved by America, 27 Nov 2026). Page colour matches Marnie's site (#d0e7e7). */
html.mn-intro-on{overflow:hidden}
.mn-intro{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;
  background:#d0e7e7;opacity:1;transition:opacity .85s ease;perspective:1400px}
.mn-intro--out{opacity:0;pointer-events:none}
/* The pieces are cut from the logo on a white card; the card shows only after they land. */
.mn-intro__stage{position:relative;width:min(70vmin,460px);aspect-ratio:1;transform-origin:50% 50%;
  animation:mn-twirl 1.3s cubic-bezier(.4,.05,.3,1) .9s both}
.mn-intro__piece{position:absolute;inset:0;width:100%;height:100%;transform-origin:50% 50%;
  animation:mn-in 1.6s cubic-bezier(.22,.8,.25,1) both;animation-delay:calc(var(--i) * .12s)}
/* 1. Each colour spirals in from its own corner (staggered) and they wrap together. */
@keyframes mn-in{
  0%{transform:translate(var(--x),var(--y)) rotate(var(--r)) scale(.4);opacity:0}
  15%{opacity:1}
  100%{transform:translate(0,0) rotate(0) scale(1);opacity:1}}
/* 2. While the pieces are still settling, the whole figure turns once on the spot, like a dancer
   (no somersault). The turn ends as the last piece lands (2.2s). */
@keyframes mn-twirl{
  0%{transform:rotateY(0)}
  100%{transform:rotateY(-360deg)}}
/* 3. A quiet Skip, 44px, for anyone in a hurry. */
.mn-intro__skip{position:absolute;right:16px;bottom:16px;min-width:44px;min-height:44px;padding:0 16px;
  border:1px solid rgba(0,0,0,.25);border-radius:22px;background:rgba(255,255,255,.6);color:#1d2b2b;
  font:400 14px/1 "source-sans-pro","Source Sans Pro",sans-serif;letter-spacing:.12em;text-transform:uppercase;cursor:pointer}
.mn-intro__skip:focus-visible{outline:3px solid #2f6fdf;outline-offset:2px}
