/* hero4: homepage intro (pinned stage) that morphs, scroll-scrubbed, into the hero. Layers inside #pin: hero (bottom), intro stage, morph line, flying logo. */
body { overflow-x: clip; }
#svh { position: fixed; left: 0; top: 0; width: 0; height: 100svh; visibility: hidden; pointer-events: none; }
#wrap { position: relative; height: 1000svh; }
#pin { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--cream); }
#pin #hero { position: absolute; inset: 0; z-index: 1; }
#pin #rv { padding-top: clamp(104px, 10.4vw, 150px); }
#pin #stage { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: transparent; z-index: 2; }
#stage .line.xor, #l4.xor { mix-blend-mode: difference; color: #9d9d9e; }
#l4 { z-index: 3; left: 0; right: 0; text-align: center; white-space: nowrap; line-height: 1.2; opacity: 0; will-change: transform, opacity; }
#lg { position: absolute; left: 0; top: 0; z-index: 4; pointer-events: none; }
/* header pieces build during the morph (hero2.js/morph.js drive them); reduced motion shows the final state */
.mo #mh { visibility: hidden; }
.mo.mo-h #mh { visibility: visible; }
.mo #mc { visibility: hidden; }
.mo.mo-l #mc { visibility: visible; }
#mwm { display: inline-block; min-width: 0; }
.wmk { position: relative; display: inline-block; }
.wmk s { text-decoration: none; font: inherit; letter-spacing: inherit; }
.wmk .g { visibility: hidden; }
.wmk .t { position: absolute; left: 0; top: 0; white-space: nowrap; }
#mwk.typing .t::after, #mws.typing .t::after, #mjt.typing::after { content: ""; display: inline-block; width: 1.5px; height: 1em; margin: 0 -1.5px 0 1px; vertical-align: -.14em; background: currentColor; }
#mj { position: relative; padding: 0; box-sizing: border-box; overflow: hidden; }
#mj:not(.fin) { pointer-events: none; }
#mjt { color: var(--cream); -webkit-text-fill-color: var(--cream); position: absolute; left: 22px; top: 0; height: 100%; display: flex; align-items: center; white-space: nowrap; }
#mj.hid { visibility: hidden; }
#mj.fin { overflow: visible; }
#hx { position: relative; z-index: 2; background: var(--cream); }
#hx, #signals { opacity: var(--sec, 1); }
