/* Cinematic kit styles (see kit.js). Colours come from the page: --kit-ink (the curtain) defaults to the text colour. */
.kit-wipe{position:fixed;inset:0;z-index:2147481000;pointer-events:none;background:var(--kit-ink);transform:scaleY(0);transform-origin:bottom}
.kit-wipe.closing{transform:scaleY(1);transition:transform .55s cubic-bezier(.76,0,.24,1)}
.kit-wipe.shut{transform:scaleY(1);transition:none}
.kit-wipe.open{transform:scaleY(0);transform-origin:top;transition:transform .7s cubic-bezier(.76,0,.24,1) .05s}

/* v3 (Nov 9): the mask reaches past the line box (descenders, italic overhang, tight line-heights), net zero on layout,
   and the word starts far enough down to stay hidden inside the bigger mask */
.kit-split .kit-w{display:inline-block;overflow:hidden;vertical-align:top;padding:.1em .1em .28em;margin:-.1em -.1em -.28em}
.kit-split .kit-wi{display:inline-block;transform:translateY(calc(100% + .4em));transition:transform 1s cubic-bezier(.22,.61,.36,1)}
.kit-split.kit-in .kit-wi{transform:none}
/* v3 (Nov 9): with cine.css (the older Cinematic demos) a split headline rises word by word instead of cine.css's whole-h1 rise */
main h1[data-split],main h1[data-split]>em{animation:none}

.kit-film{position:fixed;inset:0;z-index:2147481500;display:grid;place-items:center;background:#000;opacity:0;transition:opacity .45s}
.kit-film.on{opacity:1}
.kit-film video{width:100%;height:100%;object-fit:contain;background:#000}
.kit-film-x{position:absolute;top:max(14px,env(safe-area-inset-top));right:max(14px,env(safe-area-inset-right));min-height:44px;padding:0 18px;border:1px solid rgba(255,255,255,.4);border-radius:999px;background:rgba(0,0,0,.4);color:#fff;font:inherit;font-size:14px;letter-spacing:.08em;cursor:pointer}
.kit-film-x:focus-visible{outline:2px solid #fff;outline-offset:2px}
html.kit-lock,html.kit-lock body{overflow:hidden}

.kit-cursor{position:fixed;left:0;top:0;z-index:2147482500;width:40px;height:40px;margin:-20px 0 0 -20px;border:2.5px solid #111;border-radius:50%;pointer-events:none;opacity:0;
  box-shadow:0 0 0 2px #fff,inset 0 0 0 2px #fff;transition:opacity .3s,width .35s cubic-bezier(.22,.61,.36,1),height .35s cubic-bezier(.22,.61,.36,1),margin .35s cubic-bezier(.22,.61,.36,1)}
.kit-cursor.on{opacity:1}
.kit-cursor.big{width:68px;height:68px;margin:-34px 0 0 -34px}
/* the ring only follows the system pointer, which always stays visible (Nov 5: never hide the real pointer) */
[data-magnetic]{transition:transform .45s cubic-bezier(.22,.61,.36,1)}

@media (prefers-reduced-motion:reduce){.kit-wipe{display:none}.kit-split .kit-wi{transform:none!important}}

/* v3 (Nov 9): a small glass pill for the full-film button, for heroes that sit on a film (light text on glass) */
.kit-film-btn{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 18px 0 14px;border-radius:999px;font:inherit;font-size:14px;letter-spacing:.04em;white-space:nowrap;color:#fff;cursor:pointer;
  background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.34);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.kit-film-btn::before{content:"";width:0;height:0;border-style:solid;border-width:5px 0 5px 8px;border-color:transparent transparent transparent currentColor}
.kit-film-btn:focus-visible{outline:2px solid #fff;outline-offset:3px}
