/* The spring gala story in #how: two people, two OKs. Hollis approves going over the plan on his MacBook Pro,
   then Junie releases that exact version on her iPhone. The scroll picks the step (flow.js). A camera moves over
   one scene laid out in fixed pixels: what Serenade knows, the two devices and each lead's notification. Lines
   trace each fact back to the rule it came from. Around the devices: the page's look (Geist, coal; orange only
   for "Needs Hollis/Junie"). Inside them: Tolliver Hall's apps, in Onest and its party washes (bible section 8;
   Linear TOL-132 and TOL-153; research/demo-design-language-2026-10-20/event/DESIGN-LANGUAGE.md sections 6 to 9). */
@font-face{font-family:Onest;src:url("../../fonts/onest/onest-latin.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}

/* The section head */
#how .proto-head{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:24px 56px;align-items:end}
#how .proto-intro{color:var(--pewter);max-width:30em}

/* Without script the story reads as a list; with it, the list is for screen readers and the stage plays it */
.flow{--fl-step:30svh;position:relative;margin-top:48px}
.fl-script{margin:0;padding:0;list-style:none;display:grid;gap:28px}
.fl-script h3{font-size:1.25rem;font-weight:610;letter-spacing:-.02em}
.fl-script ol{margin:10px 0 0;padding-left:1.25em;display:grid;gap:8px}
.fl-more{display:block;color:var(--pewter)}
.flow>.skip:not(:focus){clip-path:inset(50%)}
.flow.is-live .fl-script{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.flow:not(.is-live) .fl-track{display:none}

/* The stage: the story on the left, the camera's view on the right. --fl-wait is how long a step's changes wait for
   the camera to arrive (flow.js sets it). No scroll anchoring inside: the browser must not move the page when the
   story's words change. */
.fl-stage{--fl-wait:0s;--fl-ease:cubic-bezier(.23,1,.32,1);position:relative;overflow-anchor:none;height:100svh;display:grid;grid-template-columns:minmax(0,clamp(260px,24vw,330px)) minmax(0,1fr);column-gap:clamp(24px,3vw,48px);padding-block:28px}
/* The beats stay put; the words, the rules and the control below them never shift the list */
.fl-story{grid-column:1;grid-row:1;position:relative;display:flex;flex-direction:column;padding-top:clamp(0px,8svh,80px)}
.fl-chapters{margin:0;padding:0;list-style:none;display:grid;gap:9px;font-size:1rem;line-height:1.35;color:var(--pewter)}
.fl-chapters li{transition:color .2s}
.fl-chapters li.is-now{color:var(--coal);font-weight:600}
.fl-chapters button{display:grid;grid-template-columns:1.6em minmax(0,1fr);align-items:baseline;width:100%;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}
.fl-chapters button:hover{color:var(--coal)}
.fl-chapters span{font-variant-numeric:tabular-nums}
.fl-now{display:none}
.fl-say{margin-top:36px;font-size:1.25rem;line-height:1.45;letter-spacing:-.012em;text-wrap:pretty}
.fl-needs{display:flex;align-items:center;gap:8px;min-height:1.5em;margin-top:12px;color:var(--orange-ink);font-size:.875rem;font-weight:620;line-height:1.5;visibility:hidden}
.fl-needs.is-on{visibility:visible}
.fl-needs::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--tang)}
.fl-chips{margin:14px 0 0;padding:0;list-style:none;display:grid;gap:8px;align-content:start;min-height:128px}
.fl-chip{display:none;padding:9px 12px;border:1px solid var(--hair);border-radius:var(--r);background:#fff;font-size:.875rem;line-height:1.4;text-wrap:balance}
.fl-chip.on{display:block}
.fl-chip.in{animation:fl-rise .4s var(--fl-ease) both}
/* Where a rule lives in Tolliver Hall's own tools */
.fl-src{display:flex;align-items:center;gap:6px;margin-bottom:5px;font-size:.75rem;line-height:1.3;color:var(--pewter)}
.fl-replay{align-self:start;display:inline-flex;align-items:center;gap:10px;min-height:44px;margin-top:auto;padding:0 4px;border:0;background:none;font-size:.9375rem;font-weight:580;cursor:pointer}
.fl-replay svg{display:none}
.fl-replay:is([data-mode=pause] .i-pause,[data-mode=play] .i-play,[data-mode=replay] .i-replay){display:block}
.fl-replay:hover span{text-decoration:underline;text-underline-offset:.3em}
.fl-replay svg{width:16px;height:16px}
.fl-view{--m:32px;grid-column:2;grid-row:1;position:relative;overflow:hidden;-webkit-mask:linear-gradient(90deg,#0000,#000 var(--m) calc(100% - var(--m)),#0000),linear-gradient(#0000,#000 var(--m) calc(100% - var(--m)),#0000);-webkit-mask-composite:source-in;mask:linear-gradient(90deg,#0000,#000 var(--m) calc(100% - var(--m)),#0000),linear-gradient(#0000,#000 var(--m) calc(100% - var(--m)),#0000);mask-composite:intersect}
.fl-lines{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:3}
.fl-lines path{fill:none;stroke:var(--coal);stroke-width:1.4;stroke-opacity:.55;stroke-linecap:round}
.fl-lines{filter:drop-shadow(0 0 1.5px var(--linen)) drop-shadow(0 0 1px var(--linen))}
.fl-lines circle{fill:var(--coal)}
@keyframes fl-rise{from{opacity:0;translate:0 6px}}

/* Steps. data-on/data-off show a piece for a range of steps: thread items collapse while hidden, .fade pieces
   keep their place and fade. Only a piece that enters on a one-step move gets .in and plays; jumps land still. */
.fl-stage :is([data-on],[data-off]):not(.on):not(.fade){display:none}
.fl-stage .fade{transition:opacity .35s var(--fl-wait),visibility .35s var(--fl-wait)}
.fl-stage .fade:not(.on){visibility:hidden;opacity:0}
.fl-stage.is-instant *,.fl-stage.is-instant *::before,.fl-stage.is-instant *::after{transition:none!important}

/* The scene: every piece placed in scene pixels. The camera scales and moves the whole thing. */
.fl-scene{--th-porcelain:#F5F8F6;--th-paper:#FFFFFF;--th-linen:#EEF1EE;--th-hair:#DFE2DF;--th-rule:#CCD1CD;--th-ink:#1E1C1A;--th-ink2:#565D57;--th-ink3:#686D69;--th-teal:#0E6F81;--th-ok:#28633C;--th-ok-tint:#E2F6E6;--th-hold:#963E35;--th-hold-tint:#FFECE9;--th-font:Onest,"Avenir Next","Segoe UI",system-ui,sans-serif;--ios:-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",Arial,sans-serif;position:absolute;left:0;top:0;width:2520px;height:1000px;transform-origin:0 0;transition:transform .9s cubic-bezier(.65,0,.35,1)}
.fl-scene>*{position:absolute;margin:0}
/* Pieces outside the shot fade away, so the camera never shows half a device. In a close-up of Hollis's card the
   laptop falls away around what the shot frames. flow.js sets .is-away, .is-close and .is-kept. Opacity only:
   a hidden visibility would pass down to the .fade pieces and hold them hidden through their own delays. */
.fl-scene>*{transition:opacity .45s}
.fl-scene>.is-away{opacity:0}
.mb-lid::before,.mb-bezel,.mb-screen,.mb-notch,.mb-base{transition:opacity .45s .25s,background-color .45s .25s,box-shadow .45s .25s}
.wa,.sf-bar,.wa-side,.wa-date,.wa-h,.wa-aside{transition:opacity .2s,background-color .2s}
.is-close .mb-lid::before,.is-close :is(.mb-notch,.mb-base,.sf-bar,.wa-side,.wa-date,.wa-h,.wa-aside:not(.is-kept)){opacity:0}
.is-close :is(.mb-bezel,.mb-screen,.wa){background-color:transparent;box-shadow:none}
/* Going in, the dark hardware leaves first; coming back, the light page returns first and the hardware follows as
   the camera pulls out, so nothing turns gray and no dark band crosses the close-up */
.is-close .mb-lid::before,.is-close :is(.mb-bezel,.mb-screen,.mb-notch,.mb-base){transition-duration:.2s;transition-delay:0s}
.is-close :is(.wa,.sf-bar,.wa-side,.wa-date,.wa-h,.wa-aside){transition-duration:.45s}
.fl-scene svg{display:inline-block}
.sm{left:0;top:190px;width:540px}
.dv-who{left:700px;top:84px}
.mb{left:700px;top:138px;width:1060px}
.dv-who-phone{left:1720px;top:212px;width:330px;flex-direction:row-reverse;text-align:right}
.fl-phone{left:1720px;top:262px;width:330px}
.nt{left:2130px;top:300px;width:370px}

/* People as Tolliver Hall draws them: staff by portrait (TOL-153), the host by initials on her peony wash.
   Teams are rounded squares on their party wash. */
.fl-stage .pt{--s:32px;--a:#EEF1EE;--b:#CCD1CD;display:inline-grid;place-items:center;flex:none;width:var(--s);height:var(--s);border-radius:50%;background:var(--img,none) center/cover,radial-gradient(75% 75% at 26% 20%,rgb(255 255 255 / .72),rgb(255 255 255 / 0) 70%),linear-gradient(155deg,var(--a) 8%,var(--b) 92%);box-shadow:inset 0 0 0 1px rgb(30 28 26 / .07);color:#1E1C1A;font:600 calc(var(--s) * .36)/1 Onest,"Avenir Next",system-ui,sans-serif;font-style:normal;letter-spacing:.02em}
.fl-stage [data-person=hollis]{--img:url("cast/hollis.jpg");color:transparent}
.fl-stage [data-person=junie]{--img:url("cast/junie.jpg");color:transparent}
.fl-stage [data-person=arlo]{--img:url("cast/arlo.jpg");color:transparent}
.fl-stage [data-person=renata]{--img:url("cast/renata.jpg");color:transparent}
.fl-stage [data-person=thad]{--img:url("cast/thad.jpg");color:transparent}
.fl-stage [data-person=esme]{--img:url("cast/esme.jpg");color:transparent}
.fl-stage [data-person=colette]{--img:url("cast/colette.jpg");color:transparent}
.fl-stage .tm{--s:28px;--a:#F7F3EB;--b:#C2D6E5;display:inline-grid;place-items:center;flex:none;width:var(--s);height:var(--s);border-radius:32%;background:radial-gradient(75% 75% at 26% 20%,rgb(255 255 255 / .72),rgb(255 255 255 / 0) 70%),linear-gradient(155deg,var(--a) 8%,var(--b) 92%);box-shadow:inset 0 0 0 1px rgb(30 28 26 / .07);color:#1E1C1A;font:600 calc(var(--s) * .4)/1 var(--th-font);font-style:normal}
.fl-stage [data-team=kitchen]{--a:#FCF7D5;--b:#F4D397}
.fl-stage [data-team=floor]{--a:#EEF7E4;--b:#B7DEC0}
/* The tools Tolliver Hall already works in, by their own app icons */
.fl-stage .ap{--s:16px;display:inline-block;flex:none;width:var(--s);height:var(--s);border-radius:23%;background:var(--app) center/cover;box-shadow:inset 0 0 0 1px rgb(30 28 26 / .1)}
.fl-stage [data-app=outlook]{--app:url("tools/outlook.png")}
.fl-stage [data-app=excel]{--app:url("tools/excel.png")}
.fl-stage [data-app=teams]{--app:url("tools/teams.png")}
.fl-stage [data-app=notion]{--app:url("tools/notion.png")}
.fl-stage [data-app=granola]{--app:url("tools/granola.png")}

/* What Serenade knows: Tolliver Hall's people, its tools and who decides what, in the page's own voice. The owner and
   operations lead stack in the middle; the gala's plan and its chair sit outside, beside the person each reaches. */
.sm{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-areas:"title title title" ". owner ." ". ops plan" "kitchen floor equipment";gap:40px 24px;font-size:14px;line-height:1.4;color:var(--pewter)}
.sm-head{grid-area:title;display:grid;justify-items:center;gap:18px}
.sm-title span{display:block;margin-top:6px;font-size:.8em;font-weight:400;letter-spacing:0;color:var(--pewter)}
.sm-title{text-align:center;font-size:1.2em;font-weight:620;letter-spacing:-.015em;color:var(--coal)}
.sm-tools{display:flex;gap:12px;margin:0;padding:0;list-style:none}
.sm-tools li{display:grid;justify-items:center;gap:6px;width:56px;font-size:.82em;line-height:1.2}
.sm-tools .ap{--s:34px}
.sm-leads{display:contents}
.sm-node{display:grid;justify-items:center;align-content:start;gap:10px;text-align:center}
.sm-node .pt{--s:64px;transition:box-shadow .25s}
.sm-node b{display:block;font-size:1.15em;font-weight:600;letter-spacing:-.01em;color:var(--coal)}
.sm-node span,.sm-node small{display:block}
.sm-node small{margin-top:4px;font-size:.93em}
.sm-owner{grid-area:owner}.sm-ops{grid-area:ops}.sm-plan{grid-area:plan;align-self:center}
.sm [data-id=m-arlo]{grid-area:kitchen}.sm [data-id=m-renata]{grid-area:floor}.sm [data-id=m-thad]{grid-area:equipment}
.sm-plan p{padding:14px;border:1px solid var(--hair);border-radius:var(--r);background:#fff;text-align:left;transition:border-color .25s}
.sm .is-lit .pt{box-shadow:0 0 0 3px var(--linen),0 0 0 4.5px var(--coal)}
.sm .sm-plan.is-lit p{border-color:var(--coal)}

/* Who holds each device */
.dv-who{display:flex;align-items:center;gap:12px;font-size:15px;line-height:1.35;color:var(--pewter)}
.dv-who .pt{--s:40px}
.dv-who b{display:block;font-weight:600;color:var(--coal)}

/* Hollis's MacBook Pro, silver, asleep until his card arrives */
.mb-lid{position:relative;isolation:isolate;width:1000px;margin-inline:auto;padding:3px;border-radius:24px 24px 4px 4px}
.mb-lid::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(180deg,#d4d6d9,#a9acb0)}
.mb-bezel{position:relative;padding:14px 14px 20px;border-radius:21px 21px 2px 2px;background:#0b0b0c;box-shadow:inset 0 0 0 1px rgb(255 255 255 / .07)}
.mb-notch{position:absolute;z-index:9;top:14px;left:50%;width:118px;height:22px;translate:-50% 0;border-radius:0 0 10px 10px;background:#0b0b0c}
.mb-screen{position:relative;aspect-ratio:1.54;overflow:hidden;border-radius:9px 9px 0 0;background:#000}
.mb-base{position:relative;height:22px;border-radius:2px 2px 16px 16px / 2px 2px 12px 12px;background:linear-gradient(180deg,#e6e7e9,#c4c6c9 45%,#9a9da1);box-shadow:inset 0 1px 0 #f8f8f9,0 34px 44px -26px rgb(30 28 26 / .5)}
.mb-base::before{content:"";position:absolute;left:52px;right:52px;top:-5px;height:5px;border-radius:0 0 3px 3px;background:linear-gradient(#2b2c2e,#5a5d61)}
.mb-lip{position:absolute;left:50%;top:0;width:150px;height:9px;translate:-50% 0;border-radius:0 0 10px 10px;background:linear-gradient(180deg,#a3a6aa,#cdd0d3)}
.mb-cursor{position:absolute;z-index:7;left:0;top:0;width:18px;height:25px;translate:var(--cx,700px) var(--cy,500px);transition:translate .8s var(--fl-wait) cubic-bezier(.65,0,.35,1),transform .5s calc(var(--fl-wait) + 1.65s) ease-out;filter:drop-shadow(0 2px 3px rgb(0 0 0 / .25))}
.mb-cursor.is-done{transform:translate(20px,24px)}

/* Tolliver Hall's web app in Safari, full screen, as Apple shows a Mac: the band around the camera stays black, then
   Safari's toolbar tinted to the page, then the page. Safari's own parts use the system font. */
.wa{position:absolute;inset:24px 0 0;display:flex;flex-direction:column;overflow:hidden;background:var(--th-porcelain);font:400 15px/1.45 var(--th-font);color:var(--th-ink)}
.sf-bar{flex:none;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;height:44px;padding:0 18px;background:var(--th-porcelain);font-family:var(--ios)}
.sf-ics{display:flex;align-items:center;gap:18px;color:rgb(60 60 67 / .85)}
.sf-ics:last-child{justify-self:end}
.sf-bar svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.sf-ics .sf-chev{width:10px;height:10px;margin-left:-15px;stroke-width:1.8}
.sf-ics .is-off{opacity:.32}
.sf-url{position:relative;display:grid;place-items:center;width:340px;height:30px;border-radius:99px;background:rgb(118 118 128 / .1);font-size:12.5px;letter-spacing:-.005em;color:#1E1C1A}
.sf-url svg{position:absolute;right:11px;top:50%;width:13px;height:13px;margin-top:-6.5px;color:rgb(60 60 67 / .7)}
.wa-body{flex:1;min-height:0;display:grid;grid-template-columns:190px minmax(0,1fr)}
.wa-side{display:flex;flex-direction:column;gap:4px;padding:18px 12px;border-right:1px solid var(--th-hair);background:#EEF2EF}
.wa-word{display:flex;align-items:center;gap:9px;margin:0 6px 14px;font-size:14.5px;font-weight:650;color:var(--th-teal)}
.wa-word svg{width:24px;height:24px}
.wa-nav{padding:8px 10px;border-radius:8px;font-size:14px;color:var(--th-ink2)}
.wa-nav.is-on{background:var(--th-paper);color:var(--th-ink);font-weight:600;box-shadow:0 1px 2px rgb(30 28 26 / .07)}
.wa-me{display:flex;align-items:center;gap:10px;margin-top:auto;padding:8px 6px;font-size:12.5px;line-height:1.3;color:var(--th-ink2)}
.wa-me b{display:block;font-size:13.5px;font-weight:600;color:var(--th-ink)}
.wa-main{display:flex;flex-direction:column;min-height:0;padding:20px 64px 20px 28px}
.wa-date{font-size:13px;color:var(--th-ink3)}
.wa-h{margin-top:2px;font-size:24px;font-weight:500;line-height:1.25;letter-spacing:-.02em}
.wa-h>.wa-swap{margin-top:2px;font-size:15px;font-weight:400;letter-spacing:0;color:var(--th-ink2)}
.wa-swap{display:grid}
.wa-swap>*{grid-area:1/1}
.wa-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:20px;align-items:start;margin-top:16px}
.wa-card{align-self:start;display:grid;gap:9px;align-content:start;padding:18px;border:1px solid var(--th-hair);border-radius:10px;background:var(--th-paper);box-shadow:0 1px 2px rgb(30 28 26 / .04),0 14px 30px -20px rgb(30 28 26 / .24)}
.wa-from{display:flex;align-items:center;gap:8px;font-size:13.5px}
.wa-from b{font-weight:600}
.wa-from em{font-style:normal;color:var(--th-ink3)}
.wa-from span{margin-left:auto;font-size:12.5px;color:var(--th-ink3)}
.wa-mark{width:20px;height:20px}
.wa-pill{justify-self:start;display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:8px;background:var(--th-hold-tint);color:var(--th-hold);font-size:12.5px;font-weight:600}
.wa-pill svg{width:13px;height:13px}
.wa-title{font-size:19px;font-weight:600;line-height:1.3;letter-spacing:-.015em}
.wa-text{margin-top:-4px;font-size:14px;color:var(--th-ink2)}
.wa-needs{margin:2px 0 0;padding:10px 0;list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-block:1px solid var(--th-linen)}
.wa-needs li{display:grid;font-size:13px;line-height:1.3;color:var(--th-ink2)}
.wa-needs li+li{padding-left:14px;border-left:1px solid var(--th-linen)}
.wa-needs b{font-size:26px;font-weight:300;line-height:1.15;letter-spacing:-.03em;color:var(--th-ink)}
.wa-needs span{font-size:12px;color:var(--th-ink3)}
.wa-flag{display:flex;align-items:flex-start;gap:8px;font-size:13px;line-height:1.4;color:var(--th-ink2)}
.wa-flag svg{flex:none;width:15px;height:15px;margin-top:1px;color:var(--th-hold)}
.wa-src{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--th-ink3)}
.wa-src span{display:flex;gap:3px}
.wa-src .ap{--s:15px}
.wa-due{font-size:13px;font-weight:600}
.wa-btns{display:flex;gap:8px}
.wa-btn{position:relative;flex:1.2;display:grid;place-items:center;min-height:44px;padding:0 8px;border-radius:8px;background:var(--th-teal);color:#fff;font-size:14px;font-weight:600;white-space:nowrap}
.wa-btn.is-alt{flex:1;border:1px solid var(--th-rule);background:var(--th-paper);color:var(--th-ink)}
.wa-done{display:flex;align-items:center;gap:8px;min-height:44px;font-size:14px;font-weight:600;color:var(--th-ok)}
.wa-done svg{flex:none;width:18px;height:18px}
.wa-sum{gap:8px}
.wa-aside{display:grid;gap:12px;padding:16px;border:1px solid var(--th-hair);border-radius:10px;background:var(--th-paper);font-size:13px;line-height:1.4;color:var(--th-ink2)}
.wa-ev b{display:block;font-size:15px;font-weight:600;color:var(--th-ink)}
.wa-ver{justify-self:start;padding:4px 10px;border-radius:8px;background:var(--th-linen);font-size:12.5px;font-weight:600;color:var(--th-ink)}
.wa-who-h{margin-top:2px;font-size:12px;font-weight:550;letter-spacing:.02em;color:var(--th-ink3)}
.wa-who{margin:-4px 0 0;padding:0;list-style:none;display:grid;gap:10px}
.wa-who li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px}
.wa-who .pt{--s:30px}
.wa-who span{font-size:12px;line-height:1.3}
.wa-who b{display:block;font-size:13.5px;font-weight:600;color:var(--th-ink)}
.wa-who em{font-style:normal;font-size:12px;font-weight:550;text-align:right}
.wa-who em>*{display:inline-flex;align-items:center;justify-content:flex-end;gap:4px}
.wa-who svg{width:13px;height:13px}
.fl-scene .is-ok{color:var(--th-ok)}
/* The click: the cursor travels to "Approve 165", the button takes the tap, then the card shows the yes */
.tap{position:absolute;left:50%;top:50%;width:46px;height:46px;margin:-23px;border-radius:50%;background:rgb(30 28 26 / .28);opacity:0;pointer-events:none}
.wa-btn .tap.in{animation:fl-tap .6s calc(var(--fl-wait) + .85s) ease-out both}
.fp-btn .tap.in{animation:fl-tap .6s calc(var(--fl-wait) + .3s) ease-out both}
@keyframes fl-tap{0%{opacity:0;scale:.5}30%{opacity:1;scale:1}100%{opacity:0;scale:1.1}}
.fl-stage :is(.wa-btns,.wa-done,.wa-h .fade){transition-delay:calc(var(--fl-wait) + 1.2s)}
.fl-stage :is(.fp-btns,.fp-done,.wa-ver .fade,.wa-who .fade){transition-delay:calc(var(--fl-wait) + .75s)}
/* What a line lands on lights up (flow.js adds .is-lit then): a teal ring, or a tint across a row of a list */
.fl-scene :is(.fp-scr,.wa) .is-lit:not(li,mark){outline:2px solid rgb(14 111 129 / .42);outline-offset:3px}
/* A lit card lights its own border, so it never shows a second frame around the first */
.fl-scene :is(.fp-scr,.wa) :is(.fp-card,.wa-card).is-lit{border-color:#87B7C0;outline:1px solid #87B7C0;outline-offset:0}
.fl-scene :is(.fp-facts,.fp-rows) li{margin-inline:-2cqw;padding-inline:2cqw;transition:background-color .3s}
.fl-scene :is(.fp-facts,.fp-rows) li.is-lit{background:rgb(14 111 129 / .09)}
.fl-scene mark{margin:0 -.5cqw;padding:0 .5cqw;border-radius:1.2cqw;background:none;color:inherit;white-space:nowrap;transition:background-color .3s}
.fl-scene mark.is-lit{background:rgb(14 111 129 / .2)}
/* A fact or a note that arrives on its own step grows into place */
.fp-facts li,.fp-scr .fp-hold{max-height:40cqw;overflow:hidden}
.fp-facts li.in,.fp-scr .fp-hold.in{animation:fp-row .5s var(--fl-wait) var(--fl-ease) both}
@keyframes fp-row{from{max-height:0;opacity:0;padding-block:0;margin-block:0}}
.fp-ask .fp-to{margin:2cqw 0}

/* Junie's iPhone: an iPhone 18 Pro Max, to Apple's dimensional drawing (09/09/2026). Body 77.98 x 163.43 mm; the
   screen 2.56 mm in from every edge (1.2 mm of metal, then black glass); a 15.68 x 6.07 mm island centered 7.91 mm
   from the top; the Action button and two volume buttons on the left and the side button on the right, each 0.45 mm
   proud (1 mm = 1.28cqw). Inside, sizes are in cqw (1cqw = 3.3px) and type in em, so a phone-width page can raise
   the type alone (--fz). */
.fl-phone{--frame-hi:oklch(44% .012 20);--frame-lo:oklch(17% .01 20);container-type:inline-size}
.fl-phone::before{content:"";position:absolute;left:-.58%;top:18.86%;width:.58%;height:4.22%;border-radius:99px 0 0 99px;background:var(--frame-lo)}
.fl-phone::after{content:"";position:absolute;left:8%;right:8%;bottom:-3%;height:6%;border-radius:50%;background:radial-gradient(closest-side,oklch(12% .04 14 / .45),transparent);z-index:-1}
.fp{position:relative;aspect-ratio:77.98/163.43;border-radius:16.3cqw;padding:3.28cqw;background:linear-gradient(150deg,var(--frame-hi),var(--frame-lo) 34%,var(--frame-lo) 70%,var(--frame-hi));box-shadow:inset 0 0 0 .35cqw oklch(100% 0 0 / .07),0 50px 90px -34px oklch(12% .04 14 / .55),0 24px 40px -24px oklch(5% .02 14 / .7)}
/* The volume buttons (the lower one is the upper one's shadow) and the side button; the Action button is above */
.fp::before{content:"";position:absolute;left:-.58cqw;top:54.92cqw;width:.58cqw;height:14.36cqw;border-radius:99px 0 0 99px;background:var(--frame-lo);box-shadow:0 18.21cqw 0 var(--frame-lo)}
.fp::after{content:"";position:absolute;right:-.58cqw;top:59.86cqw;width:.58cqw;height:22.7cqw;border-radius:0 99px 99px 0;background:var(--frame-lo)}
.fp-scr{position:relative;height:100%;border-radius:13cqw;overflow:hidden;background:var(--th-porcelain);box-shadow:0 0 0 1.74cqw oklch(7% 0 0);color:var(--th-ink);font:400 calc(4.4cqw * var(--fz,1))/1.42 var(--th-font)}
.fp-sb{position:absolute;inset:0 0 auto;z-index:3;display:flex;justify-content:space-between;align-items:center;height:12.5cqw;padding:1.2cqw 7cqw 0 9.5cqw;font:600 4.3cqw/1.3 var(--ios);letter-spacing:-.01em}
.fp-sys{display:flex;align-items:center;gap:1.4cqw;margin-left:auto}
.fp-sys svg{display:block;height:3.3cqw;width:auto;fill:currentColor}
.fp-isl{position:absolute;z-index:4;top:2.97cqw;left:50%;translate:-50% 0;width:20.1cqw;height:7.78cqw;border-radius:9cqw;background:oklch(7% 0 0)}
.fp-hb{position:absolute;z-index:4;bottom:1.9cqw;left:50%;translate:-50% 0;width:34cqw;height:1.3cqw;border-radius:2cqw;background:var(--th-ink)}

/* Lock screen, Thursday night, as an iPhone draws it: padlock, date and clock at the top, and Esmé's text arriving
   at the bottom as a Messages notification. Apple's own screens use the system font; Tolliver Hall's app, Onest. */
.fp-lock{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;padding-top:13.6cqw;background:radial-gradient(80% 55% at 24% 14%,rgb(255 255 255 / .7),rgb(255 255 255 / 0) 70%),linear-gradient(165deg,#E6F8F3 8%,#9FD3D6 92%);font-family:var(--ios);color:rgb(30 28 26 / .86)}
.fp-lock.fade{transition:opacity .45s var(--fl-wait),filter .45s var(--fl-wait),visibility .45s var(--fl-wait)}
.fp-lock:not(.on){filter:blur(10px)}
.fp-padlock{width:3cqw;height:4cqw;fill:currentColor;opacity:.85}
.fp-date{margin-top:3cqw;font-size:1.12em;font-weight:600;line-height:1.2}
.fp-clock{margin-top:-.4cqw;font:700 24cqw/1.02 var(--ios);letter-spacing:-.02em}
.fp-push{position:absolute;left:4cqw;right:4cqw;bottom:24cqw;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:3.2cqw;padding:3.4cqw 4cqw 3.6cqw 3.4cqw;border:1px solid rgb(255 255 255 / .6);border-radius:7cqw;background:rgb(255 255 255 / .46);-webkit-backdrop-filter:blur(18px) saturate(1.7);backdrop-filter:blur(18px) saturate(1.7);box-shadow:inset 0 1px 0 rgb(255 255 255 / .7),0 12px 30px -16px rgb(30 28 26 / .35);color:#1E1C1A}
.fp-push.in{animation:fp-drop .55s var(--fl-wait) var(--fl-ease) both}
@keyframes fp-drop{from{opacity:0;translate:0 6cqw;scale:.96}}
.fp-push-av{grid-row:1/3;position:relative;display:grid;place-items:center;width:10.4cqw;height:10.4cqw;border-radius:50%;background:var(--img,linear-gradient(180deg,#A6ABB8,#858995)) center/cover;color:#fff;font-size:4cqw;font-weight:600;letter-spacing:.02em}
.fp-push-av svg{position:absolute;right:-1.3cqw;bottom:-1.3cqw;width:5.2cqw;height:5.2cqw;padding:.9cqw;border-radius:1.4cqw;background:linear-gradient(180deg,#5BF675,#0CBD2A);fill:#fff;box-shadow:0 0 0 .55cqw rgb(255 255 255 / .85)}
.fp-push-top{display:flex;align-items:baseline;gap:2cqw;font-size:.96em}
.fp-push-top b{font-weight:600}
.fp-push-top time{margin-left:auto;font-size:.86em;color:rgb(30 28 26 / .5)}
.fp-push-msg{font-size:.96em;line-height:1.32}
.fp-lock-b{position:absolute;bottom:8cqw;display:grid;place-items:center;width:12.7cqw;height:12.7cqw;border-radius:50%;background:rgb(20 30 32 / .22);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.fp-lock-b svg{width:5.6cqw;height:5.6cqw;fill:#fff}
.fp-lock-b:first-of-type{left:11cqw}
.fp-lock-b:last-of-type{right:11cqw}

/* Tolliver Hall's app, open on its Chief of Staff thread. The thread is anchored at the bottom, so a new item
   grows in under the last one and pushes the older ones up, as a chat does. */
.fp-app{position:absolute;inset:0;z-index:1;display:flex;flex-direction:column;padding-top:12.5cqw;background:var(--th-porcelain)}
.fp-bar{flex:none;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:1.4cqw 4cqw 2.2cqw;border-bottom:1px solid var(--th-hair)}
.fp-back{width:8.8cqw;height:8.8cqw;padding:2.3cqw;border-radius:50%;background:var(--th-paper);box-shadow:0 0 0 1px var(--th-hair),0 1px 2px rgb(30 28 26 / .06);fill:none;stroke:var(--th-ink);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.fp-who{display:flex;align-items:center;gap:2cqw;font-size:.76em;line-height:1.2;color:var(--th-ink3)}
.fp-who .fp-mark{width:7.4cqw;height:7.4cqw}
.fp-who b{display:block;font-size:1.32em;font-weight:620;line-height:1.15;color:var(--th-ink)}
.fp-mark{flex:none;width:5.6cqw;height:5.6cqw}
.fp-thread{position:relative;flex:1;min-height:0;overflow:hidden}
.fp-thread::before{content:"";position:absolute;inset:0 0 auto;z-index:1;height:6cqw;background:linear-gradient(var(--th-porcelain),rgb(245 248 246 / 0));pointer-events:none}
.fp-thread-in{position:absolute;left:0;right:0;bottom:0;display:flex;flex-direction:column;gap:2.6cqw;padding:3cqw 3.6cqw 2.4cqw}
.fp-item{display:grid;grid-template-rows:1fr}
.fp-item>*{min-height:0}
.fp-item.in{animation:fp-grow .45s var(--fl-wait) var(--fl-ease) both}
@keyframes fp-grow{from{grid-template-rows:0fr;opacity:0}}
.fp-compose{flex:none;display:flex;align-items:center;gap:2.2cqw;min-height:9.6cqw;margin:1.6cqw 3.6cqw 7.4cqw;padding:0 3.6cqw 0 2cqw;border:1px solid var(--th-rule);border-radius:99px;background:var(--th-paper);color:var(--th-ink3);font-size:.88em}
.fp-mic{margin-left:auto;width:4.8cqw;height:4.8cqw;fill:none;stroke:var(--th-ink3);stroke-width:1.5;stroke-linecap:round}
.fp-day{justify-items:center;font-size:.8em;font-weight:500;color:var(--th-ink3)}
.fp-me{justify-items:end}
.fp-me>div{display:grid;justify-items:end;gap:1cqw;max-width:86%}
.fp-fwd{font-size:.8em;color:var(--th-ink3)}
.fp-bubble{padding:2.2cqw 3.6cqw;border-radius:4.6cqw 4.6cqw 1.4cqw 4.6cqw;background:linear-gradient(155deg,#E6F8F3 8%,#C9E9E8 92%)}
.fp-cos>div{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:2cqw;align-items:start}
.fp-cos>div>.fp-mark{margin-top:.6cqw}
.fp-cos>div>*:not(.fp-mark){grid-column:2}
.fp-cos>div>*:not(.fp-mark)+*{margin-top:1.8cqw}
.fp-card{margin:0;padding:2.6cqw 3.2cqw;border:1px solid var(--th-hair);border-radius:3cqw;background:var(--th-paper);list-style:none}
.fp-pill{grid-column:2;grid-row:1/3;align-self:center;padding:.8cqw 2cqw;border-radius:99px;background:var(--th-linen);color:var(--th-ink2);font-size:.78em;font-weight:550;font-style:normal;line-height:1.2;white-space:nowrap}
.fp-pill.is-ok{background:var(--th-ok-tint)}
.fp-pill.is-hold{background:var(--th-hold-tint);color:var(--th-hold)}
/* Three counts, each with where it came from: a number column, so fixed-width figures */
.fp-facts li{border-radius:2cqw;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:2cqw;padding:1.3cqw 0}
.fp-facts li+li{border-top:1px solid var(--th-linen)}
.fp-facts b{font-size:1.12em;font-weight:620;letter-spacing:-.01em;font-variant-numeric:tabular-nums}
.fp-facts span{grid-column:1;font-size:.86em;color:var(--th-ink2)}
.fp-facts time{white-space:nowrap}
/* Version 4, by the house rules, held for Hollis */
.fp-ver{display:grid;gap:1.4cqw}
.fp-ver-top{display:flex;justify-content:space-between;align-items:center;font-weight:600}
.fp-ver-top .fp-pill{grid-row:auto}
.fp-ver-n{font-size:.9em;color:var(--th-ink2)}
.fp-ver-n b{margin-right:1.4cqw;font-size:13cqw;font-weight:300;line-height:1;letter-spacing:-.04em;color:var(--th-ink)}
.fp-rows{margin:.6cqw 0 0;padding:0;list-style:none;display:grid;gap:1cqw}
.fp-rows li{border-radius:2cqw;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;column-gap:2.2cqw;padding:.6cqw 0}
.fp-rows .pt,.fp-rows .tm{--s:7.6cqw}
.fp-rows span{font-size:.88em;line-height:1.3;color:var(--th-ink2)}
.fp-rows :is(span,em) span{font-size:1em}
.fp-rows b{display:block;font-size:1.07em;font-weight:600;color:var(--th-ink)}
.fp-rows em{font-style:normal;font-size:.8em;font-weight:550;white-space:nowrap}
.fp-rows em:not(.fp-swap),.fp-rows em>*{display:inline-flex;align-items:center;justify-content:flex-end;gap:1cqw}
.fp-rows em.fp-swap{justify-items:end}
.fp-rows svg{width:3.8cqw;height:3.8cqw}
.fp-hold{display:flex;align-items:center;gap:1.6cqw;padding:1.6cqw 2.4cqw;border-radius:2.4cqw;background:var(--th-hold-tint);color:var(--th-hold);font-size:.84em;font-weight:550}
.fp-hold svg{flex:none;width:3.8cqw;height:3.8cqw}
/* The forwarded line that claims to be the owner's OK */
.fp-fake{display:flex;align-items:flex-start;gap:2cqw;border-color:#F2D6D1;background:var(--th-hold-tint);font-size:.92em}
.fp-fake svg{flex:none;width:4.2cqw;height:4.2cqw;margin-top:.4cqw;color:var(--th-hold)}
.fp-fake span{font-style:italic}
/* Junie's release: the exact version, to whom, and what stays in effect until she taps */
.fp-ask{display:grid;gap:1.4cqw}
.fp-ask-q{font-weight:650}
.fp-ask-to{font-size:.88em;color:var(--th-ink2)}
.fp-swap{display:grid}
.fp-swap>*{grid-area:1/1}
/* Labels at iOS button size leave room for both on one row; if a font ever runs wider, the second wraps rather than
   sticking out of the card */
.fp-btns{display:flex;flex-wrap:wrap;gap:1.8cqw;margin-top:.6cqw}
.fp-btn{position:relative;flex:1;display:grid;place-items:center;min-height:13.4cqw;padding:0 2.4cqw;border-radius:2.4cqw;background:var(--th-teal);color:#fff;font-size:.88em;font-weight:600;white-space:nowrap}
.fp-btn.is-alt{flex:none;padding:0 2.8cqw;border:1px solid var(--th-ink);background:var(--th-paper);color:var(--th-ink)}
.fp-done{display:flex;align-items:center;gap:1.6cqw;min-height:13.4cqw;font-weight:600;color:var(--th-ok)}
.fp-done svg{flex:none;width:4.4cqw;height:4.4cqw}
.fp-status{display:grid;gap:1cqw}
.fp-status>p{font-weight:600}

/* Each lead's notification: their portrait and only their team's numbers */
.nt{padding:0;list-style:none;display:grid;gap:22px}
.nt-item{display:grid;gap:8px}
.nt-item.in{animation:nt-in .55s calc(var(--fl-wait) + var(--d,0s)) var(--fl-ease) both}
.nt-item:nth-child(2){--d:.12s}
.nt-item:nth-child(3){--d:.24s}
@keyframes nt-in{from{opacity:0;translate:-28px 0}}
.nt-who{display:flex;align-items:center;gap:10px;font-size:14px;line-height:1.3;color:var(--pewter)}
.nt-who .pt{--s:36px}
.nt-who b{margin-right:2px;font-weight:600;color:var(--coal)}
.nt-card{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:12px;padding:12px 15px 13px 12px;border-radius:26px;background:rgb(255 255 255 / .8);box-shadow:inset 0 0 0 1px rgb(255 255 255 / .95),0 0 0 .5px rgb(30 28 26 / .1),0 18px 36px -20px rgb(30 28 26 / .4);font:400 14.5px/1.35 var(--ios);color:#1E1C1A}
.nt-ic{grid-row:1/3;width:38px;height:38px;color:var(--th-teal)}
.nt-top{display:flex;align-items:baseline;gap:8px}
.nt-top b{font-weight:600}
.nt-top time{margin-left:auto;font-size:13px;color:rgb(30 28 26 / .5)}
.nt-st{display:grid;min-height:1.4em;padding-left:14px;font-size:13px;font-weight:550;line-height:1.4;color:var(--th-hold)}
.nt-st>*{grid-area:1/1;display:inline-flex;align-items:center;gap:5px}
.nt-st svg{width:14px;height:14px}

/* Tablet and phone: the story line on top, the camera's view below */
@media (max-width:1099px){
  .fl-stage{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);row-gap:12px;padding-block:18px 12px}
  .fl-story{grid-row:1;padding-top:0}
  .fl-chapters{display:none}
  .fl-now{display:block;font-size:.8125rem;font-weight:600;color:var(--pewter)}
  .fl-say{margin-top:4px;min-height:4.35em;font-size:1.125rem}
  .fl-needs{margin-top:6px}
  .fl-replay{position:absolute;right:0;top:-12px;margin:0}
  .fl-chips{grid-template-columns:repeat(2,minmax(0,1fr));min-height:82px;margin-top:10px}
  .fl-view{grid-column:1;grid-row:2}
}
@media (max-width:760px){
  #how .proto-head{grid-template-columns:minmax(0,1fr);gap:16px}
  .flow{margin-top:28px}
  .fl-say{min-height:5.8em;font-size:1rem;line-height:1.45}
  .fl-needs{font-size:.8125rem}
  .fl-chips{grid-template-columns:minmax(0,1fr);gap:6px;min-height:98px}
  .fl-chip{padding:7px 10px;font-size:.8125rem}
  .fl-view{--m:12px}
  .sm{width:400px;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-areas:"title title title title title title" ". owner owner owner owner ." "ops ops ops plan plan plan" "kitchen kitchen floor floor equipment equipment";gap:36px 10px;font-size:18px}
  .sm-leads>*{margin-top:20px}
  .sm-lead span{font-size:.9em}
  .fp-scr{--fz:1.12}
}
