
.in-body { overflow:hidden; }
.intro { position:relative; height:100vh; height:100svh; display:grid; grid-template-rows:auto 1fr auto; max-width:760px; margin:0 auto;
  padding:0 16px env(safe-area-inset-bottom); }
.in-top { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 0 6px; }
.in-top .mark span { font-size:17px; }
.in-dots { display:flex; gap:7px; margin:0; padding:0; list-style:none; }
.in-dots li { width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,.18); transition:background .3s, transform .3s; }
.in-dots li.seen { background:rgba(245,197,66,.45); }
.in-dots li.now { background:var(--gold); transform:scale(1.35); }
.in-skip { color:var(--muted); font-size:15px; text-decoration:none; border:1px solid var(--line-strong); padding:6px 13px; border-radius:999px; }
.in-skip:hover { color:var(--text); }
.in-stage { position:relative; min-height:0; }
.in-screen { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:clamp(10px, 3svh, 28px);
  text-align:center; overflow-y:auto; padding:8px 0; opacity:0; visibility:hidden; transform:translateX(48px);
  transition:opacity .45s ease, transform .55s cubic-bezier(.2,.8,.2,1), visibility 0s linear .55s; }
.in-screen.past { transform:translateX(-48px); }
.in-screen.on { opacity:1; visibility:visible; transform:none; transition:opacity .5s ease .1s, transform .6s cubic-bezier(.2,.8,.2,1) .05s, visibility 0s; }
.in-words { max-width:520px; }
.in-words h1, .in-words h2 { margin:0 0 10px; font-size:clamp(28px, 7vw, 44px); line-height:1.1; letter-spacing:-.02em; outline:none; }
.in-words > p { margin:0 auto; color:#c8cede; max-width:460px; }
.in-words .small { margin-top:14px; }
.in-go { margin:22px 0 0 !important; display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
.in-go .btn { min-width:180px; border:0; font-size:17px; cursor:pointer; }
.in-art { position:relative; width:min(420px, 100%); height:clamp(190px, 38svh, 330px); flex:none; }
.in-hello .in-art { height:auto; }
.in-hello .logo { margin:0; }
.in-nav { display:flex; align-items:center; justify-content:space-between; padding:8px 0 16px; min-height:56px; }
.in-back { font:inherit; font-size:15px; color:var(--muted); background:none; border:1px solid var(--line-strong); border-radius:999px; padding:7px 16px; cursor:pointer; }
.in-back:hover { color:var(--text); }
.in-back[hidden] { display:none; }
.in-count { color:var(--muted); font-size:13px; }
.intro button:focus-visible, .intro a:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }

/* Each choice's version: only the chosen one shows. */
.in-v { position:absolute; inset:0; }
.intro:not([data-for="family"]) .in-v[data-for="family"], .intro:not([data-for="work"]) .in-v[data-for="work"],
.intro:not([data-for="hobbies"]) .in-v[data-for="hobbies"], .intro:not([data-for="all"]) .in-v[data-for="all"] { display:none; }

/* What fills your head: four choices. */
.in-picks { display:grid; grid-template-columns:1fr 1fr; gap:12px; width:min(520px, 100%); }
.in-pick { display:flex; flex-direction:column; align-items:flex-start; gap:4px; padding:16px; text-align:left; font:inherit; color:var(--text); cursor:pointer;
  background:var(--panel); border:1px solid var(--line-strong); border-radius:16px; transition:border-color .2s, background .2s, transform .2s; }
.in-pick:hover { border-color:rgba(245,197,66,.6); transform:translateY(-2px); }
.in-pick[aria-pressed="true"] { border-color:var(--gold); background:rgba(245,197,66,.1); }
.in-pick .ic { width:30px; height:30px; margin-bottom:6px; fill:none; stroke:var(--gold); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.in-pick b { font-family:var(--display); font-size:17px; }
.in-pick small { color:var(--muted); font-size:14px; }
.in-screen.on .in-pick { animation:in-rise .5s cubic-bezier(.2,.8,.2,1) both; }
.in-screen.on .p1 { animation-delay:.15s; } .in-screen.on .p2 { animation-delay:.25s; } .in-screen.on .p3 { animation-delay:.35s; } .in-screen.on .p4 { animation-delay:.45s; }
@keyframes in-rise { from { opacity:0; transform:translateY(16px); } }

/* It comes from everywhere: four things, each from somewhere else. */
.in-card, .in-fly { position:absolute; width:min(46%, 196px); translate:-50% -50%; }
.in-card-in { display:flex; align-items:center; gap:10px; padding:10px 12px; text-align:left; font-size:14px; line-height:1.3;
  background:var(--panel-2); border:1px solid var(--line-strong); border-radius:12px; box-shadow:0 8px 24px rgba(0,0,0,.35); }
.in-card-in .ic { flex:none; width:26px; height:26px; fill:none; stroke:var(--accent); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.in-card-in small { display:block; color:var(--muted); font-size:12px; }
.c1 { left:27%; top:15%; } .c2 { left:73%; top:38%; } .c3 { left:71%; top:85%; } .c4 { left:29%; top:62%; }
.in-screen.on .in-card { animation:in-drift .8s cubic-bezier(.2,.8,.2,1) both; }
.in-screen.on .in-card .in-card-in { animation:in-bob 5s ease-in-out 1s infinite; }
.in-screen.on .in-card.c1 { --dx:-60px; --dy:-40px; animation-delay:.1s; } .in-screen.on .in-card.c2 { --dx:60px; --dy:-30px; animation-delay:.45s; }
.in-screen.on .in-card.c3 { --dx:50px; --dy:50px; animation-delay:.8s; } .in-screen.on .in-card.c4 { --dx:-50px; --dy:40px; animation-delay:1.15s; }
.in-screen.on .in-card.c2 .in-card-in { animation-delay:1.6s; } .in-screen.on .in-card.c3 .in-card-in { animation-delay:2.1s; } .in-screen.on .in-card.c4 .in-card-in { animation-delay:2.6s; }
@keyframes in-drift { from { opacity:0; transform:translate(var(--dx), var(--dy)) rotate(-4deg) scale(.92); } }
@keyframes in-bob { 50% { transform:translateY(-6px); } }

/* Put it in one place: the four fly into one hub and come out as notes round it. */
.in-file .in-filed { position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
.in-fly { opacity:0; }
.in-screen.on .in-fly { animation:in-fly 1.1s cubic-bezier(.5,0,.3,1) both; }
.in-screen.on .in-fly.c2 { animation-delay:.15s; } .in-screen.on .in-fly.c3 { animation-delay:.3s; } .in-screen.on .in-fly.c4 { animation-delay:.45s; }
@keyframes in-fly { 0% { opacity:1; } 70% { opacity:1; } 100% { left:50%; top:50%; opacity:0; transform:scale(.15); } }
.in-filed .hb circle { fill:#f5c542; } .in-filed .hb .glow { fill:rgba(245,197,66,.18); }
.in-filed .nt circle { fill:#8fb4ff; } .in-filed .nt .glow { fill:rgba(143,180,255,.2); }
.in-filed text { fill:#c8cede; font-size:15px; text-anchor:middle; font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.in-filed .hb text { fill:var(--text); font-weight:600; font-size:17px; }
.in-filed .lns line { stroke:rgba(245,197,66,.55); stroke-width:1.6; stroke-dasharray:1; }
.in-filed .hb, .in-filed .nt { transform-box:fill-box; transform-origin:center; }
.in-screen.on .in-filed .hb { animation:in-pop .6s cubic-bezier(.2,1.5,.4,1) both, in-breathe 4s ease-in-out 2.6s infinite; }
.in-screen.on .in-filed .ln { animation:in-draw .5s ease-out both; }
.in-screen.on .in-filed .nt { animation:in-pop .5s cubic-bezier(.2,1.6,.4,1) both; }
.in-screen.on .in-filed .ln.n1 { animation-delay:1.25s; } .in-screen.on .in-filed .ln.n2 { animation-delay:1.4s; } .in-screen.on .in-filed .ln.n3 { animation-delay:1.55s; } .in-screen.on .in-filed .ln.n4 { animation-delay:1.7s; }
.in-screen.on .in-filed .nt.n1 { animation-delay:1.55s; } .in-screen.on .in-filed .nt.n2 { animation-delay:1.7s; } .in-screen.on .in-filed .nt.n3 { animation-delay:1.85s; } .in-screen.on .in-filed .nt.n4 { animation-delay:2s; }
@keyframes in-pop { from { opacity:0; transform:scale(0); } }
@keyframes in-draw { from { stroke-dashoffset:1; } }
@keyframes in-breathe { 50% { transform:scale(1.07); } }

/* Ask for it back: a question, a moment's thought, the answer and where it came from. */
.in-chat .in-v { display:flex; flex-direction:column; justify-content:center; gap:10px; padding:0 4px; }
.in-chat p { margin:0; max-width:82%; padding:11px 15px; border-radius:18px; text-align:left; font-size:15px; line-height:1.4; }
.in-chat .q { align-self:flex-end; color:#14161d; background:var(--accent); border-bottom-right-radius:6px; }
.in-chat .a { align-self:flex-start; background:var(--panel-2); border:1px solid var(--line-strong); border-bottom-left-radius:6px; }
.in-chat .typing { position:absolute; left:4px; top:50%; display:flex; gap:5px; background:var(--panel-2); border:1px solid var(--line-strong); opacity:0; }
.in-chat .typing i { width:7px; height:7px; border-radius:50%; background:var(--muted); animation:in-dot 1s ease-in-out infinite; }
.in-chat .typing i:nth-child(2) { animation-delay:.15s; } .in-chat .typing i:nth-child(3) { animation-delay:.3s; }
.in-chat .from { align-self:flex-start; display:flex; align-items:center; gap:8px; padding:6px 12px; font-size:13px; color:#c8cede;
  background:rgba(245,197,66,.08); border:1px solid rgba(245,197,66,.35); }
.in-chat .from i { width:9px; height:9px; border-radius:50%; background:var(--gold); box-shadow:0 0 8px var(--gold); }
.in-screen.on .in-chat .q { animation:in-say .45s cubic-bezier(.2,1.3,.4,1) .3s both; }
.in-screen.on .in-chat .typing { animation:in-think 1.3s ease 1s both; }
.in-screen.on .in-chat .a { animation:in-say .5s cubic-bezier(.2,1.2,.4,1) 2.3s both; }
.in-screen.on .in-chat .from { animation:in-say .5s ease 3s both; }
@keyframes in-say { from { opacity:0; transform:translateY(12px) scale(.96); } }
@keyframes in-think { 0%, 100% { opacity:0; } 15%, 85% { opacity:1; } }
@keyframes in-dot { 50% { transform:translateY(-4px); opacity:.5; } }

/* Reminded in time: the phone lights up. */
.in-phone { position:relative; width:min(230px, 70%); height:100%; margin:0 auto; border:2px solid var(--line-strong); border-radius:30px;
  background:linear-gradient(160deg, #1a2033, #0d1018 70%); overflow:hidden; }
.in-phone .clock { margin:22% 0 0; font-family:var(--display); font-size:44px; font-weight:300; color:#eef2fb; }
.in-phone .in-v { inset:auto 10px 18%; }
.in-phone .ping { display:flex; gap:10px; align-items:flex-start; padding:11px 12px; text-align:left; font-size:13px; line-height:1.35; color:#e7e9f0;
  background:rgba(40,46,64,.92); border:1px solid rgba(255,255,255,.12); border-radius:16px; box-shadow:0 10px 30px rgba(0,0,0,.45); }
.in-phone .ping svg { flex:none; width:22px; height:22px; }
.in-phone .ping b { display:block; font-size:12px; color:var(--muted); font-weight:600; }
.in-screen.on .in-phone .ping { animation:in-drop .7s cubic-bezier(.2,1.3,.4,1) .7s both, in-glow 2.6s ease-in-out 1.6s 2; }
@keyframes in-drop { from { opacity:0; transform:translateY(-140px) scale(.9); } }
@keyframes in-glow { 50% { box-shadow:0 0 0 3px rgba(245,197,66,.45), 0 10px 30px rgba(0,0,0,.45); } }

/* See it all as a map: the website's sample map, changing shape (site.js). */
.in-map { position:absolute; inset:0; border-radius:18px; overflow:hidden; background:rgba(11,13,19,.5); border:1px solid var(--line); }
.in-map canvas { display:block; width:100%; height:100%; }
.in-screen.on .in-map { animation:in-pop-soft .7s ease both; }
@keyframes in-pop-soft { from { opacity:0; transform:scale(.94); } }

/* Your notes stay yours: Loremyr's folder lit, everything else locked away from it. */
.in-drive { position:absolute; inset:0; border-radius:16px; background:var(--panel); border:1px solid var(--line-strong); overflow:hidden; }
.in-drive .bar { display:flex; align-items:center; gap:6px; margin:0; padding:10px 14px; font-size:13px; color:var(--muted); border-bottom:1px solid var(--line); }
.in-drive .bar i { width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,.15); }
.in-drive .bar span { margin-left:8px; }
.in-drive .tiles { display:grid; grid-template-columns:repeat(3, 1fr); gap:10px; padding:14px; height:calc(100% - 41px); }
.in-drive .tile { position:relative; display:flex; align-items:flex-end; padding:10px; font-size:13px; color:var(--muted); border-radius:12px;
  background:rgba(255,255,255,.035); border:1px solid var(--line); }
.in-lock { position:absolute; right:9px; top:9px; width:16px; height:16px; fill:none; stroke:var(--muted); stroke-width:1.4; stroke-linecap:round; }
.in-drive .tile.mine { color:var(--text); font-weight:600; background:rgba(245,197,66,.1); border-color:rgba(245,197,66,.65); box-shadow:0 0 24px rgba(245,197,66,.18); overflow:hidden; }
.in-drive .in-doc { position:absolute; top:12px; width:16px; height:20px; border-radius:3px; background:#cfe8ff; opacity:0; }
.in-drive .d1 { left:18%; } .in-drive .d2 { left:44%; } .in-drive .d3 { left:70%; }
.in-screen.on .in-drive .tile { animation:in-rise .5s ease both; }
.in-screen.on .in-drive .t1 { animation-delay:.1s; } .in-screen.on .in-drive .t2 { animation-delay:.18s; } .in-screen.on .in-drive .t3 { animation-delay:.26s; }
.in-screen.on .in-drive .t4 { animation-delay:.34s; } .in-screen.on .in-drive .t5 { animation-delay:.42s; } .in-screen.on .in-drive .mine { animation-delay:.5s; }
.in-screen.on .in-lock { animation:in-pop .4s cubic-bezier(.2,1.6,.4,1) 1.1s both; }
.in-screen.on .in-drive .in-doc { animation:in-file 2.4s ease-in 1.4s infinite; }
.in-screen.on .in-drive .d2 { animation-delay:2.2s; } .in-screen.on .in-drive .d3 { animation-delay:3s; }
@keyframes in-file { 0% { opacity:0; transform:translateY(-40px); } 20% { opacity:1; } 70% { opacity:1; transform:translateY(22px); } 100% { opacity:0; transform:translateY(30px); } }

/* The deal: five lines, one after another. */
.in-the-deal { gap:14px; }
.in-deal { list-style:none; margin:4px 0 0; padding:0; display:grid; gap:10px; width:min(520px, 100%); text-align:left; }
.in-deal li { display:flex; gap:12px; align-items:flex-start; padding:12px 14px; border-radius:14px; background:var(--panel); border:1px solid var(--line); color:#c8cede; line-height:1.4; }
.in-deal b { color:var(--text); }
.in-tick { flex:none; width:18px; height:18px; margin-top:2px; fill:none; stroke:var(--gold); stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
.in-screen.on .in-deal li { animation:in-rise .5s cubic-bezier(.2,.8,.2,1) both; }
.in-screen.on .in-deal .d1 { animation-delay:.1s; } .in-screen.on .in-deal .d2 { animation-delay:.3s; } .in-screen.on .in-deal .d3 { animation-delay:.5s; }
.in-screen.on .in-deal .d4 { animation-delay:.7s; } .in-screen.on .in-deal .d5 { animation-delay:.9s; }
.in-end { margin-top:4px !important; }
.in-the-deal .in-words > p.small { margin-top:12px; }

@media (max-width:420px) {
  .in-card-in { font-size:13px; padding:8px 10px; gap:8px; } .in-card-in .ic { width:22px; height:22px; }
  .in-picks { gap:10px; } .in-pick { padding:13px; } .in-pick small { font-size:13px; }
  .in-deal li { padding:10px 12px; font-size:15px; }
}
@media (max-height:640px) { .in-art { height:clamp(150px, 30svh, 220px); } .in-go { margin-top:14px !important; } }

/* Less motion: everything shows where it ends up, and screens swap without sliding. */
@media (prefers-reduced-motion: reduce) {
  .intro *, .intro *::before, .intro *::after { animation:none !important; }
  .in-screen, .in-screen.on, .in-screen.past { transform:none; transition:opacity .2s, visibility 0s; }
  .in-chat .typing, .in-drive .in-doc { display:none; }
}

/* Without the script, the screens stack as one page. */
html:not(.js) .in-body { overflow:auto; }
html:not(.js) .intro { height:auto; }
html:not(.js) .in-screen { position:relative; opacity:1; visibility:visible; transform:none; padding:40px 0; }
html:not(.js) .in-nav, html:not(.js) .in-dots, html:not(.js) [data-next], html:not(.js) .in-fly, html:not(.js) .in-picks { display:none; }
