/* Karen OS: the morning intro (intro.js). The K draws in, says hello, then flies to the menu's
   K while the real dashboard comes up behind it. Positions and progress are set from intro.js on
   elements (allowed by the CSP); nothing here is inline. */

.kintro { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.kintro[hidden] { display: none; }
.kintro-bg { position: absolute; inset: 0; background: var(--ground); pointer-events: auto; }
.kintro-stage { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; }
.kintro-lockup { display: grid; justify-items: center; gap: 20px; min-width: 0; }
.kintro-mark { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 22px); }
.kintro-flyer { width: clamp(64px, 9vw, 104px); height: clamp(64px, 9vw, 104px); flex: none; transform-origin: 0 0; will-change: transform; }
.kintro-wordbox { width: 2.9em; font-size: clamp(34px, 5.2vw, 60px); white-space: nowrap; overflow: visible; }
.kintro-word { display: inline-block; font-weight: 800; letter-spacing: -0.02em; color: var(--green-900); line-height: 1; will-change: letter-spacing, opacity; }
.kintro-hello { text-align: center; min-height: 3.4em; max-width: 32ch; }
.kintro-hello p { margin: 0; }
.kintro-g { font-size: clamp(18px, 2vw, 22px); font-weight: 700; color: var(--ink); }
.kintro-s { font-size: clamp(15px, 1.5vw, 17px); color: var(--muted); }
.kintro.fade { transition: opacity 300ms linear; opacity: 0; }

/* The K (same geometry and transform origins as the approved mockup) */
.kintro .kk { width: 100%; height: 100%; overflow: visible; display: block; }
.kintro .kk .kpanels, .kintro .kk .karm, .kintro .kk .kleg, .kintro .kk .ktop, .kintro .kk .kbot { transform-box: fill-box; }
.kintro .kk .karm { transform-origin: 0% 100%; }
.kintro .kk .kleg { transform-origin: 0% 0%; }
.kintro .kk .ktop, .kintro .kk .kbot { transform-origin: 0% 50%; }
