/* The front page's look (components/Front.tsx), over /site.css and /people/cards.css.
   The front page since 14 Oct (Phillip: "put the people on the main page"); the five chapters before it are at
     /lab/five-chapters/. B of /lab/at-a-glance/ taken further (Phillip, 13 Oct: "i like B most … go deeper and refine it more"), on the colour
     page (docs/website/plan/look.md → How other apps show their app): the opening line, then the people klip is for, one
     page each, in her colour, with core.md §2's line for her. Cash App's way, measured on cash.app on 14 Oct
     (docs/website/research/scroll-tricks.md): one flick moves one whole page in a second (a thumb scrolls as usual), the colour behind it turns,
     the opening's colour closes in on the first phone as a soft circle, and each page's pieces come in once it lands.
     Two transitions, one for each kind of chapter break (Phillip, 14 Oct: "1 and 3 is best so we have different
     transitions for different chapters"): the circle into the people, the colour dissolving from one person to the next. */
  body { background:var(--ink); color:#fff; min-width:0; overflow-x:hidden; }
  .bar .btn { background:#fff; color:var(--ink); }
  /* Cash App's slide: one page in 1 s on cubic-bezier(.4, 0, .5, 1), fitted to cash.app's own move. */
  :root { --slide:cubic-bezier(.4, 0, .5, 1); }
  /* On a wide window the people are one picture, drawn at 1440 × 900 and scaled to fit: --u is one of its pixels
     over 14.4, the window's width or its height, whichever runs out first. So no piece moves onto another, onto the
     words or behind the phone at any size (Phillip, 14 Oct: "its like on top of each other"); a taller window only
     lets the phone run further off the bottom. */
  :root { --u:min(1vw, 1.6vh); }

  /* The run is as tall as its pages, so the scroll bar and the keys still know where she is; the stage stays put and
     the pages move inside it. people.js turns one flick of the wheel into one page. */
  .run { position:relative; height:700vh; }
  /* Safari 26 colours its bars from a sticky element as big as the screen only the first time, and keeps that colour,
     the way it keeps a dimmed backdrop's; the bars stayed on the last chapter's colour (Phillip, 16 Oct: "the previous
     chapter color shown around like its a card on top"). WebKit counts a box over 105 % of the screen's height as no
     such element, so a clear 10vh border below the stage, given back by the margin, makes Safari take the page's own
     background instead, at once, and people.js keeps that the colour at the top edge (WebKit LocalFrameView.cpp,
     fixedContainerEdges). The page is the stage's inside, 100vh. */
  .stage { position:sticky; top:0; box-sizing:content-box; height:100vh; border-bottom:10vh solid transparent; margin-bottom:-10vh;
           overflow:hidden; overflow:clip; }
  .stage.instant, .stage.instant * { transition:none !important; animation:none !important; }
  /* The colour behind the people, on a layer of its own (people.js turns it): a change of colour then redraws nothing
     else, where on the stage itself it redrew the giant name, the light and the words with it every frame of the turn. */
  .tone { position:absolute; inset:0; background:#14a35a; will-change:transform; }
  /* The opening's colour: the whole page at first, then a soft circle that closes in on the first person's phone.
     Drawn at a quarter size and scaled up: a quarter of the pixels to redraw each frame, and softer for it. */
  .field { position:absolute; left:0; top:0; z-index:1; width:25%; height:25%; transform:scale(4); transform-origin:0 0; pointer-events:none; }
  .field::before { content:""; position:absolute; inset:-25px; background:var(--c, #2f6bff); -webkit-mask-image:var(--mask, none); mask-image:var(--mask, none); }
  .strip { position:absolute; left:0; right:0; top:0; z-index:2; translate:0 calc(var(--i, 0) * -100vh); transition:translate 1s var(--slide); }
  .pg { position:relative; height:100vh; }
  /* Only the page she is on and the one leaving it show: a phone runs off the bottom of its page into the next one.
     Until people.js runs (data-dir), the opening shows as it is. */
  .stage[data-dir] .pg:not(.on, .out) { visibility:hidden; }
  /* The opening stays where it is and fades in 330 ms, as cash.app's does, while the first person rises over it; the
     strip's move and its own cancel out. A person's page goes up whole with the strip, as cash.app's sections do. */
  .pg:first-child { translate:0 calc(min(var(--i, 0), 1) * 100vh); transition:translate 1s var(--slide); }
  .stage[data-dir] .pg:first-child > * { opacity:0; transition:opacity .33s ease; }
  .stage[data-dir] .pg:first-child.on > * { opacity:1; transition:opacity .4s ease .55s; }
  /* One phone from the opening on (Phillip, 14 Oct: one phone carries on into the first person; a new phone only for a
     new person's own, a klipper's). It stays where it is and only its screen changes. people.js marks the pieces that
     leave .out for the second the page moves, so they keep how they looked. */
  .side:is(.back, .who) { transition:translate 1s var(--slide); }

  /* The words start under the menu on every window, a laptop's short one too. */
  .words { position:absolute; left:calc(50vw - 41.67 * var(--u)); width:calc(52.8 * var(--u)); top:max(112px, 12vh); transform:none; z-index:3; }
  .words.open { top:max(112px, 14vh); }
  .open :is(h1, h2) { font:400 calc(6.6 * var(--u))/.96 Fraunces; letter-spacing:-.04em; font-variation-settings:"opsz" 144; }
  .open p { width:min(100%, calc(36.1 * var(--u))); margin-top:28px; font:400 max(15px, 1.5 * var(--u))/1.45 Inter; opacity:.9; }
  .open .btn { display:inline-block; margin-top:32px; background:#fff; color:var(--ink); }
  /* The beta, a chapter of its own after the people (Phillip, 16 Oct: "this is like the main CTA to join the beta, so it
     should have like a chapter for itself"): the opening's colour and words again, the phone on the splash the app
     opens on. Its words stay where they stand and come in once the last person's are gone, as the opening's go; under
     the button the address, "for people who don't want to press the button" (Phillip, 16 Oct). */
  .beta .words { opacity:0; transition:opacity .25s ease; }
  .stage:not(.follow) .beta.on .words { opacity:1; transition:opacity .4s ease .55s; }
  .stage:not(.follow) .pg.on:has(~ .beta.out) .say > span:first-child { transition:opacity .45s ease .3s; }
  .stage.follow .beta .words { opacity:clamp(0, 1 - max(var(--d), -1 * var(--d)) * 3, 1); }
  .open .mail { margin-top:20px; }
  .mail a { text-decoration:underline; text-underline-offset:.2em; text-decoration-thickness:1px; }
  .say { font:400 calc(4 * var(--u))/1.05 Fraunces; letter-spacing:-.035em; font-variation-settings:"opsz" 144; }
  .say > span { display:block; }
  /* "En klipper til" stays and only its ending rolls, as on a wheel (Phillip, 14 Oct: "the "en klipper til" should stay
     and the text under should be replaced like roll like its on a wheel"; Family's rolling label, scroll-tricks.md §4,
     24). Each person's words are held where they stand while her page moves: they go back as far as the strip takes
     them (--d, how many pages past her the strip is, people.js's --k her page). Only her own "En klipper til" shows,
     so the two in a move read as one; her ending rolls in from below as the last one rolls away over the
     top, or the other way going back. Coming from the opening it fades in once the opening's words are gone. */
  .pg { --d:calc(var(--i, 0) - var(--k, 0)); }
  .pg:not(:first-child) .words { translate:0 calc(var(--d) * 100vh); transition:translate 1s var(--slide); }
  .say > span:first-child { opacity:0; }
  .pg.on .say > span:first-child { opacity:.5; }
  .stage:not(.follow) .pg:first-child.out ~ .pg.on .say > span:first-child { transition:opacity .45s ease .3s; }
  .stage:not(.follow) .pg:first-child.on ~ .pg.out .say > span:first-child { transition:opacity .25s ease; }
  /* Her ending rolls as the lab's wheel of people did (/lab/who-you-are/, C, and its curve): the two endings move as
     one, a line apart, the last rising past its own height and tipping back a little as the next comes up from below
     and settles (Phillip, 15 Oct, on a quarter turn: "that text is moving on a box it used to be more round or smooth
     feeling"). Her ending stops just under "En klipper til", so the one leaving fades from its top down as it rises
     (--mt, how far down the fade reaches) and the two never cross; going back, the one coming down does the same. */
  @property --mt { syntax:"<percentage>"; inherits:false; initial-value:0%; }
  .say .end { padding:.06em 0 .3em; margin:-.06em 0 -.3em; perspective:15em;
              -webkit-mask-image:linear-gradient(transparent, #000 calc(.06em + var(--mt)), #000 calc(100% - .3em), transparent);
              mask-image:linear-gradient(transparent, #000 calc(.06em + var(--mt)), #000 calc(100% - .3em), transparent); }
  .say .end > span { display:block; transform-origin:0 50%; translate:0 calc(clamp(-1, var(--d), 1) * -110%); rotate:x calc(clamp(-1, var(--d), 1) * 28deg);
              opacity:calc(1 - max(var(--d), -1 * var(--d))); transition:translate .9s var(--ease), rotate .9s var(--ease), opacity .9s var(--ease); }
  .stage:not(.follow) .pg.out .say .end { --mt:60%; transition:--mt .3s ease; }
  .stage:not(.follow) .pg.out .say .end > span { transition:translate .9s var(--ease), rotate .9s var(--ease), opacity .45s ease; }
  .stage:not(.follow)[data-dir="-1"] .pg.on .say .end { animation:unveil .9s var(--ease); }
  @keyframes unveil { from { --mt:60%; } }
  /* Her life goes up with her page and slides away under the line, the way a list scrolls under an app's header: it is
     cut at a line just under the longest line of words (--gap above its own top), which stays put while the page
     moves, and it fades as it goes. */
  .art { --gap:calc(43vh - max(112px, 12vh) - 13.6 * var(--u)); --top:calc(var(--u) - var(--gap)); clip-path:inset(calc(var(--d) * 100vh - var(--gap)) -100vw -100vh); transition:clip-path 1s var(--slide); }
  .pg.out .art { opacity:0; transition:clip-path 1s var(--slide), opacity .3s ease; }

  /* The phone of /lab/colour-per-chapter/, Cash App's: big, running off the bottom of the page, turned towards the
     words (Phillip, 13 Oct). It comes in a little behind its page and settles its turn as it lands. */
  .side { position:absolute; right:calc(50vw - 44.44 * var(--u)); top:max(14vh, 100vh - 54 * var(--u)); height:calc(60 * var(--u)); aspect-ratio:7.4154/15.6; perspective:2400px; z-index:2; }
  /* The name, the middle of the page, and the light behind the phone sit under the words; the phone and its pieces
     over them (Phillip, 14 Oct: "klip in the middle of the background"). */
  .side.back { z-index:1; } .side.who { z-index:3; }
  .name { position:absolute; left:50%; top:50%; translate:-50% -50%; z-index:1; font:italic 300 calc(28.75 * var(--u))/1 "Times New Roman", Times, serif;
           letter-spacing:-.05em; color:rgba(0,0,0,.11); white-space:nowrap; pointer-events:none; }
  .side.back::before { content:""; position:absolute; inset:-25% -70%; z-index:-1; background:radial-gradient(closest-side, rgba(255,255,255,.32), transparent); }
  .ph { position:absolute; inset:0; border-radius:13.22% / 6.28%; padding:2.697%; background:#141414; box-shadow:0 50px 120px rgba(0,0,0,.3), inset 0 0 0 2px #333;
         transform:translateY(7vh) rotateY(calc(var(--ry) + 12deg)) rotateX(7deg) rotateZ(2deg); transition:transform .6s var(--ease); }
  .stage[data-k] .who .ph { transform:rotateY(var(--ry)) rotateX(7deg) rotateZ(2deg); transition:transform 1.4s var(--ease) .1s; }
  .ph .mk { position:absolute; width:0; height:0; }
  /* The lab's lit phone once WebGL is up (people/phone3d.js), drawn over the .ph in the .ph's own pose: its metal and
     glass, a hole where the .ph's screen shows, the glass's reflections over that. The .ph keeps the screen and casts
     the shadow, which only moves with it; its flat dark box stays where there is no WebGL. Both are the model's size. */
  .side > .model { position:absolute; left:-12.5%; top:-12.5%; width:125%; height:125%; pointer-events:none; }
  .ph.solid { background:none; box-shadow:0 40px 60px rgba(0,0,0,.3); }
  .ph .scr { position:relative; width:100%; height:100%; border-radius:11.12% / 5.13%; overflow:hidden; background:#f5f3ee; }
  .scr img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:top; }
  /* The splash the app opens on (mobile/src/features/onboarding: SplashEntrance, Wordmark; drawn as
     web/chapters/screens.js draws it): the midnight wash, its glows, klip in cream. */
  .scr { container-type:inline-size; }
  .sc.splash { background-color:#020308; background-blend-mode:screen;
    background-image:radial-gradient(50% 23.1% at 50% 49.2%, rgba(184,196,232,.26), transparent), radial-gradient(93.3% 43.1% at 83.3% 83.1%, rgba(10,20,56,.9), transparent),
      radial-gradient(80% 36.9% at 21.7% 19.2%, rgba(74,96,152,.42), transparent), radial-gradient(110% 50.8% at 50% 49.2%, rgba(26,40,88,.95), transparent); }
  .splash span { position:absolute; left:50.7%; top:53.1%; translate:-50% -72%; font:italic 300 30.8cqw/1 "Times New Roman", Times, serif; letter-spacing:-.038em; color:#e4e2da; }
  /* Each screen comes in whole and slides up over the last with the page, the last drifting up a third and dimming, the
     way an app pushes a screen (Phillip, 15 Oct, his pick of three: "C is best"). Nothing inside a screen moves on its
     own, so no part of it is ever cut (Phillip, 14 Oct: "just animate the whole screen in … do not cut the content");
     going back, it slides down the same way. */
  .sc { position:absolute; inset:0; translate:0 100%; transition:translate 1s var(--slide), filter 1s var(--slide); }
  .sc.on { translate:0 0; }
  .sc.past { translate:0 -30%; filter:brightness(.7); }
  .stage:not(.follow) .sc.skip { visibility:hidden; transition:none; }
  /* Under a thumb the page scrolls as usual and every move sits on the scroll (people.js sets --f, where she is, a
     page per person): the pages, the opening fading as the first person comes over it (gone a third of the way), and
     each screen coming in over the last in the same stretch of the move as the colour. Every page shows, since the
     next is on its way in. */
  .stage.follow .strip { translate:0 calc(var(--f) * -100vh); transition:none; }
  .stage.follow .pg:first-child { translate:0 calc(min(var(--f), 1) * 100vh); transition:none; }
  .stage.follow[data-dir] .pg { visibility:visible; }
  .stage.follow[data-dir] .pg:first-child > * { opacity:clamp(0, 1 - var(--f) * 3, 1); transition:none; }
  .stage.follow .sc { translate:0 calc(clamp(0, var(--k) - var(--f), 1) * 100% - clamp(0, var(--f) - var(--k), 1) * 30%);
                      filter:brightness(calc(1 - clamp(0, var(--f) - var(--k), 1) * .3)); transition:none; }
  .stage.follow .pg { --d:calc(var(--f) - var(--k)); }
  .stage.follow .pg .words, .stage.follow .say span { transition:none; }
  .stage.follow .pg .say .end { --mt:calc(clamp(0, var(--d), 1) * 80%); }
  .stage.follow .pg:nth-child(2).on .say > span:first-child { opacity:calc(.5 * clamp(0, (var(--f) - .5) * 4, 1)); }
  .stage.follow .pg .art { opacity:clamp(0, 1 - var(--d) * 4, 1); transition:none; }

  /* The app's pieces: each flies in from the phone and comes into focus once the page lands, big enough to read. */
  .art { position:absolute; left:calc(50vw - 41.67 * var(--u)); top:43vh; width:calc(44.44 * var(--u)); height:50vh; z-index:4; font-size:calc(1.15 * var(--u)); }
  .pc { --in:calc(var(--t, 0s) + .45s);
         position:absolute; left:var(--x, 0); top:var(--y, 0); display:flex; gap:.9em; align-items:center; padding:1em 1.6em 1em 1em; border-radius:1.4em; white-space:nowrap;
         background:rgba(255,255,255,.92); -webkit-backdrop-filter:blur(18px); backdrop-filter:blur(18px); color:var(--ink);
         box-shadow:0 1.4em 3em rgba(0,0,0,.18); font:400 1em/1.35 Inter; rotate:var(--r, 0deg);
         opacity:0; translate:24vw 2vh; scale:.6; filter:blur(12px); transition:opacity .3s, translate .3s, scale .3s, filter .3s; }
  .pg:is(.on, .out) .pc, .who .pc:is(.on, .out) { opacity:1; translate:0 0; scale:1; filter:blur(0);
               transition:opacity .4s ease var(--in), translate .8s var(--ease) var(--in), scale .8s var(--ease) var(--in), filter .7s ease var(--in); }
  .who .pc.out { opacity:0; transition:opacity .25s ease; }
  .pc b { display:block; font:600 1.5em/1.2 Inter; } .pc span { color:var(--muted); font-size:1.15em; }
  .pc i[data-count] { font-style:normal; font-variant-numeric:tabular-nums; }
  .who .pc { font-size:calc(1.4 * var(--u)); translate:-6vw 0; }
  /* The family and what it comes to, one card: three cuts, one booking. */
  .pc.fam { display:block; padding:1.2em 1.4em 1.1em; } .fam .ppl { display:flex; gap:1.4em; align-items:flex-end; }
  .pc.fam .p { display:flex; flex-direction:column; align-items:center; gap:.45em; }
  .fam .tot { display:flex; justify-content:space-between; margin-top:1em; padding-top:.8em; border-top:1px solid rgba(0,0,0,.1); } .pc.fam .tot b { font-size:1.45em; }
  .pc.fam .f { display:grid; place-items:center; border-radius:50%; line-height:1; font-style:normal; }
  .pc.fam .f.m { width:5.2em; height:5.2em; background:#ffd9c7; } .pc.fam .f.m span { font-size:3.2em; }
  .pc.fam .f.k { width:3.8em; height:3.8em; background:#fff0bf; } .pc.fam .f.k span { font-size:2.3em; } .pc.fam .f.k.o { background:#d6e4ff; }
  .pc.fam .p b { font:600 1.15em/1 Inter; } .pc.fam .p small { font:400 .95em/1 Inter; color:var(--muted); }
  .pc.inv { display:block; padding:1.6em 2.4em; text-align:center; background:#fbf8f1; border-radius:.5em; box-shadow:0 1.4em 3em rgba(0,0,0,.2), inset 0 0 0 .5em #fbf8f1, inset 0 0 0 calc(.5em + 1px) #d9cfb8; }
  .inv small { display:block; font:500 .95em Inter; letter-spacing:.12em; text-transform:uppercase; color:#8a7a55; }
  .inv b { margin:.25em 0 .1em; font:400 2.6em/1.1 Fraunces; letter-spacing:-.02em; } .inv span { font:italic 400 1.3em Fraunces; color:#6b5f48; }
  /* Under a thumb nothing waits for the page to land (Phillip, 14 Oct: the text "coming in later … a bit weird"): her
     life is on her page and comes with it; the app's answer comes off the phone as her screen slides in, and goes
     back as it slides out; a message shows its words at once; the app's own moves on her screen start as it arrives. */
  .stage.follow .pg .pc, .stage.follow .pg:is(.on, .out) .pc { opacity:1; translate:0 0; scale:1; filter:none; transition:none; }
  .stage.follow .who .pc, .stage.follow .who .pc:is(.on, .out) { --o:clamp(0, 1 - max(var(--f) - var(--k), var(--k) - var(--f)) * 2, 1);
    opacity:var(--o); translate:calc((1 - var(--o)) * 24vw) calc((1 - var(--o)) * 2vh); scale:calc(.6 + var(--o) * .4); filter:none; transition:none; }
  .stage.follow .msg .t, .stage.follow .pg .msg .t { opacity:1; animation:none; } .stage.follow .msg .dots { display:none; }
  .stage.follow .pg .cal .blk.cut, .stage.follow .pg .cal .blk.gone::after { animation:none; }
  .appic.own { display:grid; place-items:center; background:#e8e5de; }
  .appic.own svg { width:60%; height:60%; fill:none; stroke:var(--ink); stroke-width:2; stroke-linejoin:round; stroke-linecap:round; }

  /* The chat: dots first, as if she is typing, then the words. */
  .msg { display:block; padding:.9em 1.4em; font:500 1.35em/1.3 Inter; border-radius:1.2em 1.2em 1.2em .35em; }
  .msg small { display:block; margin-bottom:.15em; font:600 .62em Inter; letter-spacing:.04em; text-transform:uppercase; color:var(--muted); }
  .msg .t { color:inherit; font-size:1em; opacity:0; }
  .msg .dots { position:absolute; left:1.4em; bottom:1.05em; display:flex; gap:.3em; opacity:0; }
  .msg .dots i { width:.42em; height:.42em; border-radius:50%; background:currentColor; opacity:.45; animation:blink 1s infinite; }
  .msg .dots i:nth-child(2) { animation-delay:.15s; } .msg .dots i:nth-child(3) { animation-delay:.3s; }
  .msg:is(.on, .out) .dots, .pg:is(.on, .out) .msg .dots { animation:typing .85s var(--in) both; }
  .msg:is(.on, .out) .t, .pg:is(.on, .out) .msg .t { animation:appear .3s calc(var(--in) + .85s) both; }
  /* A chat on her page: her own message dark, as hers are in the app, then Maria's answer; both as big as the answers
     beside the phone. */
  .art .msg { font-size:calc(1.4 * var(--u)); }
  .msg.me { background:var(--ink); color:#fff; border-radius:1.2em 1.2em .35em 1.2em; }
  @keyframes typing { from, 92% { opacity:1; } to { opacity:0; } }
  @keyframes appear { from { opacity:0; } to { opacity:1; } }
  @keyframes blink { 50% { opacity:1; } }

  /* A notification with klip's icon. */
  .nt { align-items:flex-start; border-radius:1.5em; }
  .appic { width:2.6em; height:2.6em; border-radius:.6em; }
  .nt small { display:flex; justify-content:space-between; gap:2em; font:500 .85em Inter; color:var(--muted); text-transform:uppercase; letter-spacing:.04em; }
  .nt small em { font-style:normal; text-transform:none; letter-spacing:0; }

  /* The day: full of grey, the cut in green right before the meeting. */
  .pc.cal { display:block; width:min(100%, 22em); padding:1.2em; }
  .cal .day { margin-bottom:.6em; font-size:1.3em; }
  .blk { display:flex; gap:.9em; align-items:center; height:2.6em; margin-top:.45em; padding:0 .9em; border-radius:.75em; background:#e6e3dc; color:var(--muted); font:500 1em Inter; }
  .blk i { font-style:normal; font-weight:400; width:3em; opacity:.6; } .blk.tall { height:4.2em; }
  .blk.cut { background:var(--green); color:#fff; font-weight:600; } .blk.cut i { opacity:.85; }
  .blk.meet { color:var(--ink); font-weight:600; background:none; box-shadow:inset 0 0 0 2px #d8d4cb; }
  /* The trip into town she had planned, crossed out once the page lands; then the cut at home lands in its place. */
  .blk.gone { position:relative; background:#fde3df; color:#a0392c; }
  .blk.gone::after { content:""; position:absolute; left:.6em; right:.6em; top:50%; height:2px; margin-top:-1px; background:#d23b2a; transform-origin:left; }
  .pg:is(.on, .out) .cal .blk.gone::after { animation:strike .45s ease calc(var(--in) + .5s) both; }
  .pg:is(.on, .out) .cal .blk.cut { animation:land .6s calc(var(--in) + 1s) both; }
  @keyframes strike { from { scale:0 1; } }
  @keyframes land { from { opacity:0; scale:.85; } to { opacity:1; scale:1; } }

  /* A phone held upright, a tablet, and a window about as tall as it is wide, where the picture above would come out
     too small to read: Cash App's and Flighty's own phone pages, measured at 390 wide on 14 Oct.
     The line on top, big enough to read; the phone under it, running off the bottom and the right edge, turned
     towards the line; her life and the app's answer over its left edge. Placed in svh, the height Safari shows with
     its bars out, so nothing she must read sits under them; the colour still fills the whole screen. */
  @media (max-aspect-ratio: 11/10) {
    /* Her life follows her line, however many lines it takes. */
    .pg { display:flex; flex-direction:column; padding:96px 6vw 0; }
    .words, .words.open { position:relative; left:auto; right:auto; top:auto; width:auto; transform:none; }
    /* Sized by the width or, on a window about as wide as it is tall, the height, so the words, her life and the app's
       answer always fit one above the other. */
    .open :is(h1, h2) { font-size:clamp(40px, min(11.6vw, 8svh), 88px); line-height:.98; }
    .open p { width:min(100%, 520px); margin-top:18px; font-size:clamp(16px, min(4.2vw, 2.9svh), 22px); }
    .open .btn { margin-top:22px; }
    .say { font-size:clamp(30px, min(8.4vw, 5.8svh), 64px); line-height:1.06; }
    .side { right:auto; left:28vw; top:46svh; width:78vw; height:auto; }
    /* The opening's words run longer, so the phone stands lower under them and rises with the first person. */
    .stage:is(:not([data-k]), [data-k="0"]) .side:is(.back, .who) { translate:0 20svh; }
    .stage.follow .side:is(.back, .who) { translate:0 calc((1 - min(var(--f), 1)) * 20svh); transition:none; }
    /* Her life lies over the phone's corner here, so the pages go over the people's phone. */
    .strip { z-index:4; }
    .name { font-size:40vw; }
    .art { --gap:min(24px, 3svh); position:relative; left:auto; top:auto; width:auto; height:auto; margin-top:var(--gap); font-size:clamp(11px, min(2.9vw, 2svh), 17px);
           display:flex; flex-direction:column; align-items:flex-start; gap:.8em; }
    /* Her life and her chat stack under her line in their order, so none lies on another however short the screen. */
    .art .pc { position:relative; left:var(--mx, 0); top:0; }
    /* The app's answer stands on the phone at the foot of what she sees (svh: Safari's bars shown), its right edge on
       the page's margin; a narrow screen wraps it instead. A short screen draws the gaps above and below her life a
       little tighter, so the answer stands clear of it. */
    .who .pc { left:auto; right:12vw; top:calc(54svh - min(24px, 3svh)); transform:translateY(-100%); max-width:calc(94vw - 106px); white-space:normal; }
    .who .pc, .art .msg { font-size:clamp(12px, min(3.2vw, 2.2svh), 19px); }
  }

  /* Less motion asked for: the pages change as she scrolls, with no slide and nothing flying (people.js lets the scroll
     run free then). */
  @media (prefers-reduced-motion: reduce) {
    .stage *, .stage { transition-duration:.01s !important; transition-delay:0s !important; animation-duration:.01s !important; animation-delay:0s !important; }
    .pc { filter:none; }
  }

  /* After the people and the beta: a row that says more, moved only by a tap or a swipe. */
  .more { background:var(--ink); }
  .more .cards { padding-bottom:88px; }

  /* Then the page reads like the guides (D174's order): how it works in three steps, the questions, the beta once more,
     the footer. One column on the ink, the steps numbered by CSS: a digit in the page's words needs its source beside
     it (website.md, test 6 item 7). */
  .read { max-width:680px; margin:0 auto; padding:72px 20px 24px; font:400 17px/1.6 Inter; }
  .read h2 { font:400 clamp(34px, 6vw, 52px)/1.04 Fraunces; letter-spacing:-.02em; margin-bottom:28px; }
  .read ol { list-style:none; counter-reset:step; }
  .read ol li { counter-increment:step; display:grid; grid-template-columns:40px 1fr; gap:4px 12px; margin-bottom:22px; }
  .read ol li::before { content:counter(step); grid-row:span 2; display:grid; place-items:center; width:32px; height:32px;
                        border-radius:50%; background:#fff; color:var(--ink); font:600 15px Inter; }
  .read h3 { font:600 19px/1.35 Inter; }
  .read p { color:rgba(255,255,255,.75); }
  .read details { border-top:1px solid rgba(255,255,255,.16); padding:16px 0; }
  .read details:last-child { border-bottom:1px solid rgba(255,255,255,.16); }
  .read summary { font:600 18px/1.4 Inter; cursor:pointer; list-style:none; display:flex; justify-content:space-between; gap:16px; }
  .read summary::-webkit-details-marker { display:none; }
  .read summary::after { content:"+"; font-weight:400; } .read details[open] summary::after { content:"−"; }
  .read details p { margin-top:8px; }
  .read.end { padding-bottom:72px; } .read.end .btn { background:#fff; color:var(--ink); }
  footer { display:flex; flex-wrap:wrap; gap:10px 18px; max-width:680px; margin:0 auto; padding:32px 20px 48px; font:500 14px Inter; color:rgba(255,255,255,.65); }
  footer b { font:italic 400 22px/1 Fraunces; color:#fff; width:100%; }
