/* blurmeet.com — the motion, for the phone carousel and for large screens.
   · phones (owner, 2026-11-24: "add some best effects, animations and transistions to make it more intereacitve mobile
     experience … especially screen2, and screen3"), on the carousel of story.css "Deck";
   · large screens (owner, 2026-11-24: "make animations, effects, transitions to the main website for large screens similar
     like phone screen", "make it vertical carousal effect for large screen resolutions also"), on the carousel there.
   A phone on its side and a small window get none of it: the <link> carries the two queries, and fx.js builds its extra
   pieces only there. Everything starts under html.fx, the class fx.js sets once it has built them and only when motion is
   welcome — without script, with "reduce motion", or if either file fails, the screens are simply complete.
   A screen is "met" (.is-met, story.js) when it has come to rest, and "here" (.is-here) while it is on show: entrances play
   as a screen arrives (.is-in) or is met, on every visit (story.js leave() puts it back once it is out of sight); the few
   gentle loops run only while here.
   transform and opacity only (a blur is a picture or a letter already blurred, faded), one easing family and one spring;
   nothing changes a screen's size.
   Three parts: shared, phones, large screens. BLUR_ROLLBACK_DECK_FX: remove part 2 and the phone query from the <link> and
   fx.js. BLUR_ROLLBACK_WIDE_FX: remove part 3 and the large-screen query from both. Both: remove the two fx tags from
   Blur.html. */

.fx { --ease: cubic-bezier(.2, .7, .2, 1); --spring: cubic-bezier(.34, 1.56, .64, 1); }

/* ═══ 1 · Shared ═══════════════════════════════════════════════════════════════════════════════════════════════════════ */

/* ── Never blank ──────────────────────────────────────────────────────────────────────────────────────────────────────
   (owner, 2026-11-24, the founder's screen: "its being blank initially") What a screen is about to bring in is already there,
   faint, while it slides in; arriving brings it to full strength. */
.fx [data-screen] .reveal:not(.is-in):not(.bigline):not(.quiet), .fx [data-screen] .rise:not(.is-in), .fx .foot .rise:not(.is-in) { opacity: .28; }
.fx .closing[data-screen] .reveal:not(.is-in):not(.bigline):not(.quiet) { opacity: .5; }
.fx .leadin.reveal, .fx .makers__quote.reveal, .fx .makers__who.reveal { opacity: 1; transform: none; transition: none; }

/* ── 1 · The opening: the last word catches the light once; the television sets answer (see "The pictures") ── */
.fx .scene--intro .accent {
  background: linear-gradient(105deg, var(--lime) 42%, #fff 50%, var(--lime) 58%) 100% 0 / 300% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em;
  animation: fx-glint 1.5s var(--ease) 1.5s both;
}
/* (each visit: the line resolves and the word catches the light again) */
.fx .scene--intro.is-left .scene__title, .fx .scene--intro.is-left .accent { animation: none; }
.fx .scene--intro.is-left .scene__title { filter: blur(8px); transform: scaleX(1.012); }
@keyframes fx-glint { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* ── 2 · Blur who you are, until you both unblur ────────────────────────────────────────────────────────────────────
   Two portraits, blurred. Each is a button: press one and its ring closes ("I choose"), press the other and both come into
   focus together, with the word "unblur". If nobody has, they choose by themselves a moment after the screen is met. Press
   again: blurred again, and it is your turn. */
.fx .fx-two { --fs: clamp(84px, 15.5dvh, 132px); position: relative; display: flex; justify-content: center; gap: 14px; margin: 0 auto clamp(20px, 4.4dvh, 40px); }
.fx-face { position: relative; width: var(--fs); height: var(--fs); padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: transform .9s var(--ease), opacity .7s linear; }
.fx-face:focus-visible { outline-offset: 6px; border-radius: 50%; }
.fx-face__pic { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: #f0a067; box-shadow: 0 12px 28px rgba(96, 52, 0, .28); transition: transform .3s var(--spring); }
.fx-face__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fx-face__pic picture img { opacity: 0; transform: scale(1.12); transition: opacity 1s var(--ease), transform 1.3s var(--ease); }
.fx-soft { transform: scale(1.06); }
.fx-face:active .fx-face__pic { transform: scale(.94); }
.fx-face svg { position: absolute; inset: -8px; width: calc(100% + 16px); height: calc(100% + 16px); transform: rotate(-90deg); overflow: visible; pointer-events: none; }
.fx-face circle { fill: none; stroke-width: 2.5; stroke-linecap: round; }
.fx-face::before, .fx-face::after { content: ""; position: absolute; inset: -8px; border: 2.5px solid rgba(32, 23, 19, .2); border-radius: 50%; pointer-events: none; }
.fx-face .r1 { stroke: var(--ink); stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .65s var(--ease); }
.fx-face.is-on .r1 { stroke-dashoffset: 0; }
/* they drift in from either side */
.fx .unblur:not(.is-in) .fx-face { opacity: .55; transform: translate3d(-56px, 0, 0); }
.fx .unblur:not(.is-in) .fx-face--them { transform: translate3d(56px, 0, 0); }
/* an unanswered portrait asks for a press */
.fx .unblur.is-here.is-met:not(.is-open) .fx-face:not(.is-on)::after { animation: fx-ask 2s ease-out .6s infinite; }
.fx .unblur .fx-face--them::after { animation-delay: 1s !important; }
@keyframes fx-ask { 0% { transform: scale(1); opacity: 1; } 70%, 100% { transform: scale(1.16); opacity: 0; } }
/* both have chosen */
.is-open .fx-face__pic picture img { opacity: 1; transform: scale(1.02); }
.is-open .fx-face { transform: translate3d(13px, 0, 0); }
.is-open .fx-face--them { transform: translate3d(-13px, 0, 0); }
.fx-two__heart { position: absolute; left: 50%; bottom: -10px; width: 40px; height: 40px; margin-left: -20px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; transform: scale(0); transition: transform .3s var(--ease); pointer-events: none; }
.fx-two__heart svg { width: 20px; height: 20px; }
.is-open .fx-two__heart { transform: scale(1); transition: transform .6s var(--spring) .45s; animation: fx-beat 1.9s ease-in-out 1.3s 4; }
.unblur:not(.is-here) .fx-two__heart { animation: none !important; }
@keyframes fx-beat { 0%, 30%, 100% { transform: scale(1); } 8% { transform: scale(1.13); } 16% { transform: scale(1.02); } 22% { transform: scale(1.08); } }
.fx-two::after { content: ""; position: absolute; left: 50%; top: 50%; width: var(--fs); height: var(--fs); margin: calc(var(--fs) / -2) 0 0 calc(var(--fs) / -2); border: 2px solid rgba(255, 246, 232, .9); border-radius: 50%; opacity: 0; pointer-events: none; }
.is-open .fx-two::after { animation: fx-wave 1.3s var(--ease) .15s; }
@keyframes fx-wave { from { opacity: .9; transform: scale(.7); } to { opacity: 0; transform: scale(3.4); } }
/* the line: word by word out of a blur; "Blur" goes soft and comes back; "unblur" waits for the two of you */
.fx .unblur .bigline, .fx .unblur .quiet { opacity: 1; transform: none; filter: none; transition: none; }
.fx .bigline .fx-w { display: inline-block; opacity: .24; transform: translate3d(0, .3em, 0); }
.fx .unblur.is-in .bigline .fx-w { opacity: 1; transform: none; transition: opacity .5s linear, transform .8s var(--ease); transition-delay: calc(.15s + var(--i) * 70ms); }
.fx .bigline .fx-w--blur, .fx .bigline .fx-w--un { position: relative; color: transparent; }
.fx .bigline .fx-w--blur::before, .fx .bigline .fx-w--un::before, .fx .bigline .fx-w--blur::after, .fx .bigline .fx-w--un::after { content: attr(data-w); position: absolute; left: 0; top: 0; white-space: nowrap; }
.fx .bigline .fx-w--blur::before, .fx .bigline .fx-w--un::before { color: var(--text); }
.fx .bigline .fx-w--blur::after, .fx .bigline .fx-w--un::after { color: transparent; text-shadow: 0 0 .17em rgba(32, 23, 19, .72), 0 0 .3em rgba(32, 23, 19, .4); opacity: 0; }
.fx .unblur.is-in .fx-w--blur::before { animation: fx-go-soft 2.1s ease-in-out 1.15s 1; }
.fx .unblur.is-in .fx-w--blur::after { animation: fx-come-soft 2.1s ease-in-out 1.15s 1; }
@keyframes fx-go-soft { 0%, 100% { opacity: 1; } 30%, 62% { opacity: 0; } }
@keyframes fx-come-soft { 0%, 100% { opacity: 0; } 30%, 62% { opacity: 1; } }
.fx .fx-w--un::before { opacity: 0; transition: opacity .8s var(--ease); }
.fx .fx-w--un::after { opacity: 1 !important; transition: opacity .8s var(--ease); }
.fx .unblur.is-open .fx-w--un::before { opacity: 1; }
.fx .unblur.is-open .fx-w--un::after { opacity: 0 !important; }
.fx .unblur.is-open .bigline .fx-w--un { animation: fx-pop .8s var(--spring) .1s 1; }
@keyframes fx-pop { 0% { transform: scale(1); } 40% { transform: scale(1.09); } 100% { transform: scale(1); } }
.fx .unblur .quiet { opacity: .28; transform: translate3d(0, 10px, 0); }
.fx .unblur.is-in .quiet { opacity: 1; transform: none; transition: opacity .7s linear .95s, transform .8s var(--ease) .95s; }
.fx .unblur .quiet::before { transform: scaleX(0); }
.fx .unblur.is-in .quiet::before { transform: none; transition: transform .9s var(--ease) .8s; }

/* ── 3 · In a good restaurant ───────────────────────────────────────────────────────────────────────────────────────
   The words come up as if spoken; the last of them are marked in the accent; a dome is carried in and lifts. Press it: it
   closes, and lifts again. */
.fx .leadin .fx-w { color: rgba(32, 23, 19, .3); }
.fx .leadin.is-in .fx-w { color: var(--on-marigold-2); transition: color .45s linear calc(.1s + var(--i) * 58ms); }
.fx .leadin.is-in p:last-of-type .fx-w { color: var(--text); }
.fx .leadin .fx-mark { background: linear-gradient(var(--lime), var(--lime)) 0 62% / 0 72% no-repeat; padding: .04em .09em; margin: 0 -.09em; border-radius: .2em; }
.fx .leadin.is-in .fx-mark { background-size: 100% 72%; transition: background-size .7s var(--ease) 2.6s; }
.fx .fx-dome { display: block; align-self: center; width: clamp(124px, 21dvh, 184px); margin-top: clamp(8px, 2.4dvh, 24px); padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.fx-dome svg { display: block; width: 100%; height: auto; overflow: visible; }
.fx-dome__all { opacity: 0; transform: translate3d(90px, 0, 0); }
.leadin.is-in .fx-dome__all { opacity: 1; transform: none; transition: opacity .5s linear 1.5s, transform 1s var(--ease) 1.5s; }
.fx-dome__lid { transform-box: view-box; transform-origin: 30px 118px; transition: transform .75s var(--spring); }
.fx-dome.is-up .fx-dome__lid { transform: translate(-8px, -34px) rotate(-24deg); }
.fx-dome:active .fx-dome__all { transform: scale(.97); transition: transform .12s; transform-origin: 100px 120px; transform-box: view-box; }
.fx-dome__heart { transform-box: view-box; transform-origin: 100px 112px; transform: scale(0); transition: transform .25s var(--ease); }
.fx-dome.is-up .fx-dome__heart { transform: scale(1); transition: transform .7s var(--spring) .18s; }
.fx-dome.is-up .fx-dome__beat { transform-box: view-box; transform-origin: 100px 100px; animation: fx-beat 1.9s ease-in-out 1s 3; }
.leadin:not(.is-here) .fx-dome__beat { animation: none !important; }
.fx-dome__glow { opacity: 0; transition: opacity .6s linear; }
.fx-dome.is-up .fx-dome__glow { opacity: 1; transition-delay: .2s; }
.fx-dome__ray { stroke-dasharray: 14; stroke-dashoffset: 14; opacity: 0; }
.fx-dome.is-up .fx-dome__ray { animation: fx-ray .9s var(--ease) .28s; }
@keyframes fx-ray { 0% { stroke-dashoffset: 14; opacity: 1; } 55% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: -14; opacity: 0; } }

/* ── The pictures (1, 4, 7) ─────────────────────────────────────────────────────────────────────────────────────────
   The television sets are alive: on being met each flickers on and shows a heart for a moment; press one and it does it
   again. Press anywhere else on a picture: a heart floats up from the finger. The layer is set on the picture itself
   (--x/--y/--w/--h, story.css), so it sits on the sets at every size; it takes no touch except on the sets. */
.fx .fx-layer { display: block; position: absolute; z-index: 1; left: var(--x); top: var(--y); width: var(--w); height: var(--h); pointer-events: none; }
.fx-tv { --u: var(--pu); --v: var(--pv); --s: var(--ps); --ta: var(--pta); --ro: var(--pro); --sk: var(--psk);
  position: absolute; left: calc(var(--u) * 100%); top: calc(var(--v) * 100%); width: calc(var(--s) * 100%); aspect-ratio: var(--ta); transform: translate(-50%, -50%) rotate(var(--ro)) skewY(var(--sk, 0deg)); padding: 0; border: 0; background: none; pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.fx-tv::before { content: ""; position: absolute; inset: -18px; }                  /* a finger's worth of target */
.fx-tv i { position: absolute; inset: 0; border-radius: 22% / 26%; opacity: 0; background: radial-gradient(70% 75% at 50% 48%, rgba(112, 132, 0, .96), rgba(38, 48, 0, .96) 55%, rgba(11, 14, 4, .97) 100%); box-shadow: 0 0 20px 3px rgba(200, 230, 0, .38), inset 0 0 12px rgba(200, 230, 0, .3); }
.fx-tv svg { position: absolute; inset: 0; margin: auto; width: 62%; height: 62%; transform: scale(0); overflow: visible; }
.fx-tv.is-on i { animation: fx-tv 2.3s linear both; }
.fx-tv.is-on svg { animation: fx-tv-heart 2.3s var(--ease) both; }
@keyframes fx-tv { 0% { opacity: 0; } 4% { opacity: .85; } 8% { opacity: .15; } 13% { opacity: 1; } 17% { opacity: .55; } 22%, 78% { opacity: .94; } 100% { opacity: 0; } }
@keyframes fx-tv-heart { 0%, 14% { transform: scale(0); } 26% { transform: scale(1.18); } 34% { transform: scale(1); } 46% { transform: scale(1.16); } 54% { transform: scale(1); } 66% { transform: scale(1.14); } 76% { transform: scale(1); opacity: 1; } 96%, 100% { transform: scale(.7); opacity: 0; } }
.fx-float { position: absolute; z-index: 3; width: 30px; height: 30px; margin: -15px 0 0 -15px; pointer-events: none; }
/* 4 · worlds: a line of light goes from one set to the other, and is gone */
.fx-arc--l { display: none; }
.fx-arc { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fx-arc path { fill: none; stroke-linecap: round; opacity: 0; }
.fx-arc .a { stroke: rgba(255, 246, 232, .95); stroke-width: 5; stroke-dasharray: 1; stroke-dashoffset: 1; }
.fx-arc .b { stroke: var(--lime); stroke-width: 11; stroke-dasharray: .07 1; stroke-dashoffset: .07; }
.is-met .fx-arc .a { animation: fx-arc 3.6s var(--ease) .9s 1 both; }
.is-met .fx-arc .b { animation: fx-spark 2.4s cubic-bezier(.45, 0, .55, 1) 1.3s 1 both; }
@keyframes fx-arc { 0% { opacity: 0; stroke-dashoffset: 1; } 6% { opacity: .95; } 38%, 70% { opacity: .95; stroke-dashoffset: 0; } 100% { opacity: 0; stroke-dashoffset: 0; } }
@keyframes fx-spark { 0% { opacity: 0; stroke-dashoffset: .07; } 8% { opacity: 1; } 50% { stroke-dashoffset: -.96; } 92% { opacity: 1; } 100% { opacity: 0; stroke-dashoffset: .03; } }

/* ── 5 · Blur Score: press the drawing for the next pair ── */
.fx .viz--score { cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .25s var(--ease); touch-action: manipulation; }
.fx .viz--score:active { transform: scale(.975); }
.fx .how .stage__name, .fx .how .viz__ctl { transition: opacity .7s linear .35s, transform .8s var(--ease) .35s; }
.fx .how:not(.is-in) .stage__name { opacity: .28; transform: translate3d(-14px, 0, 0); }

/* ── 6 · Auto Match: the phone stands up out of the screen, the steps follow; press the phone and it leans to the finger ── */
.fx .stage--pool .stage__viz { perspective: 900px; }
.fx .stage--pool .app-shot { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--spring); transform-style: preserve-3d; touch-action: pan-y; }
.fx .stage--pool .app-shot.enter--rise.is-in { animation: none; }
.fx .stage--pool:not(.is-in) .app-shot { opacity: .3; transform: translate3d(0, 40px, 0) rotateX(24deg) scale(.93); transition: none; }
.fx .stage--pool.is-in .app-shot.enter--rise { animation: fx-stand 1.2s var(--ease) backwards; }
@keyframes fx-stand { from { opacity: .3; transform: translate3d(0, 40px, 0) rotateX(24deg) scale(.93); } 45% { opacity: 1; } }
.fx .stage--pool .step.rise { opacity: .26; transform: translate3d(16px, 0, 0); transition: none; }
.fx .stage--pool.is-in .step.rise { opacity: 1; transform: none; transition: opacity .5s linear var(--sd), transform .7s var(--ease) var(--sd); }
.fx .step--1 { --sd: .75s; } .fx .step--2 { --sd: 1.1s; } .fx .step--3 { --sd: 1.45s; }
.fx .stage--pool.is-in .step::before { animation: fx-ring 1s var(--ease) calc(var(--sd) + .15s) 1; }
@keyframes fx-ring { 0% { box-shadow: 0 0 0 0 rgba(200, 230, 0, .6); } 100% { box-shadow: 0 0 0 14px rgba(200, 230, 0, 0); } }

/* ── 8 · Get the app: a slow glow behind the logo while it is on show; the badges arrive; press the line and "see" unblurs again ── */
.fx .closing { isolation: isolate; }
.fx .closing::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 34%; width: 130vw; height: 130vw; margin: -65vw 0 0 -65vw; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(200, 230, 0, .2), rgba(200, 230, 0, .06) 55%, transparent); opacity: 0; transform: scale(.8); transition: opacity 1.2s linear, transform 1.6s var(--ease); }
/* (arrival and two breaths are ONE animation, then it rests: a transition or a second animation on the same properties kept
   it on the main thread, 144 style passes a second — measured 2026-11-24) */
.fx .closing.is-here::before { opacity: 1; transform: none; transition: none; animation: fx-glow 22s ease-in-out 1; will-change: transform, opacity; }
@keyframes fx-glow { 0% { opacity: 0; transform: scale(.8); } 7%, 53%, 100% { opacity: 1; transform: scale(1); } 30%, 76% { opacity: .55; transform: scale(1.08); } }
.fx .closing { overflow: clip; }
.fx .stores > a { opacity: .6; }
.fx .closing.is-in .stores > a { opacity: 1; animation: fx-badge .8s var(--spring) .55s backwards; }
.fx .closing.is-in .stores > a + a { animation-delay: .72s; }
@keyframes fx-badge { from { opacity: .4; transform: translate3d(0, 20px, 0) scale(.94); } }
.fx .tagline { cursor: pointer; -webkit-tap-highlight-color: transparent; }

/* ── 9 · The founder's words come up as if spoken, the rule beside them keeping pace ── */
.fx .makers__quote .fx-w { color: rgba(32, 23, 19, .34); }
.fx .makers__quote.is-in .fx-w { color: var(--text); transition: color .4s linear calc(.05s + var(--i) * 30ms); }
.fx .makers__quote blockquote { border-left-color: rgba(200, 230, 0, .22); position: relative; }
.fx .makers__quote blockquote::before { content: ""; position: absolute; left: -2px; top: 0; bottom: 0; width: 2px; background: var(--lime); transform: scaleY(0); transform-origin: 50% 0; }
.fx .makers__quote.is-in blockquote::before { transform: none; transition: transform 2.4s linear .05s; }
.fx .makers__quote figcaption { opacity: .34; transform: translate3d(0, 6px, 0); }
.fx .makers__quote.is-in figcaption { opacity: 1; transform: none; transition: opacity .6s linear 2.2s, transform .7s var(--ease) 2.2s; }

/* ── 10 · Who's building it: each name slides in as its line is drawn ── */
.fx .makers__list { border-top-color: transparent; }
.fx .makers__list li { position: relative; border-bottom-color: transparent; }
.fx .makers__list li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: rgba(74, 52, 36, .16); transform: scaleX(0); transform-origin: 0 50%; }
.fx .makers__who.is-in .makers__list li::after { transform: none; transition: transform 1s var(--ease) calc(.15s + var(--n) * .16s); }
.fx .makers__list li:nth-child(1) { --n: 0; } .fx .makers__list li:nth-child(2) { --n: 1; } .fx .makers__list li:nth-child(3) { --n: 2; }
.fx .makers__list li.rise { opacity: .28; transform: translate3d(-14px, 0, 0); transition: none; }
.fx .makers__who.is-in .makers__list li.rise { opacity: 1; transform: none; transition: opacity .6s linear calc(.15s + var(--n) * .16s), transform .8s var(--ease) calc(.15s + var(--n) * .16s); }
.fx .makers__we, .fx .makers__more { opacity: .3; }
.fx .makers__who.is-in .makers__we { opacity: 1; transition: opacity .9s linear .85s; }
.fx .makers__who.is-in .makers__more { opacity: 1; transition: opacity .9s linear 1.1s, gap .25s var(--ease), color .2s; }
.fx .makers__who.is-here .makers__more span { animation: fx-nudge 1.1s var(--ease) 1.9s 2; }
@keyframes fx-nudge { 0%, 100% { transform: none; } 45% { transform: translateX(7px); } }

/* ═══ 2 · Phones ═══════════════════════════════════════════════════════════════════════════════════════════════════════ */
@supports (height: 100dvh) {
@media (orientation: portrait) and (max-width: 600px) and (min-height: 480px) {

/* Between screens ─────────────────────────────────────────────────────────────────────────────────────────────────
   Driven by the swipe itself, where the browser can (scroll-driven animations: Chrome, Safari 26; not Firefox, which works
   them out on every frame, at half its rate — measured 2026-11-24): a picture lags a little
   behind the finger, so the next screen slides over it and the last one lifts off it; words leave by fading. Nothing here
   moves a screen's own box (it would move where it snaps). Elsewhere the screens simply follow the finger. */
@supports (animation-timeline: view()) and (not (-moz-appearance: none)) {
  .fx [data-screen] { view-timeline: --screen block; }
  .fx .scene__art, .fx .scene__focus, .fx .fx-layer {
    animation: fx-under linear backwards, fx-lag linear forwards;
    animation-timeline: --screen, --screen; animation-range: entry 0% entry 100%, exit 0% exit 100%;
  }
  .fx .scene__copy { animation: fx-under linear backwards, fx-leave linear forwards; animation-timeline: --screen, --screen; animation-range: entry 0% entry 100%, exit 0% exit 70%; }
  .fx .unblur, .fx .how, .fx .makers__who, .fx .stage--pool, .fx .closing__inner, .fx .leadin.is-in, .fx .makers__quote.is-in {
    animation: fx-fade linear forwards; animation-timeline: --screen; animation-range: exit 5% exit 75%;
  }
}
@keyframes fx-under { from { transform: translate3d(0, -24%, 0); } }
@keyframes fx-lag { to { transform: translate3d(0, 24%, 0); } }
@keyframes fx-leave { to { opacity: 0; transform: translate3d(0, 40px, 0); } }
@keyframes fx-fade { to { opacity: 0; } }

/* 6 · Auto Match: a line runs down through the steps' numbers */
.fx .stage--pool .steps { position: relative; }
.fx .stage--pool .steps::before { content: ""; position: absolute; left: 12.5px; top: calc(var(--step) / 2); bottom: calc(var(--step) / 2); width: 1px; background: rgba(200, 230, 0, .4); transform: scaleY(0); transform-origin: 50% 0; }
.fx .stage--pool.is-in .steps::before { transform: none; transition: transform 1.1s var(--ease) 1s; }
.fx .stage--pool .step::before { background: var(--night); }

/* The dots answer a press */
.fx .dots button { transition: transform .2s var(--spring); }
.fx .dots button:active { transform: scale(1.5); }
}
}

/* ═══ 3 · Large screens ════════════════════════════════════════════════════════════════════════════════════════════════
   Sizes for a large screen, the motion between sections, and what answers a mouse (fx.js follow(): --mx and --my are where
   the pointer is in a section, -1 to 1, smoothed; each piece keeps its own, so nothing else is restyled). */
@property --mx { syntax: "<number>"; inherits: false; initial-value: 0; }
@property --my { syntax: "<number>"; inherits: false; initial-value: 0; }
@media (scripting: enabled) and (min-width: 861px) and (min-height: 520px), (scripting: enabled) and (min-width: 700px) and (min-height: 860px) {

/* ── Between screens ── a picture lags behind, so the next sheet slides over it and the last one lifts off it, and the words
   on it fade: fx.js depth(), started once per movement and run by the compositor. Nothing here moves a screen's own box (it
   would move where it snaps). The words of the plain sheets go with their sheet: sinking each by itself cost Firefox a third
   of its frames (measured 2026-11-24). */
@keyframes fxl-stand { from { opacity: .3; transform: translate3d(0, 70px, 0) rotateX(24deg) scale(.93); } 45% { opacity: 1; } }

/* ── The pictures answer a mouse ── they are drawn a hair (1.2 %) larger than their place, about the fold, so they can give
   to it without showing an edge; the words give the other way. fx.js's layer is set on the picture, so it moves with it. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .scene__art, .scene__focus { scale: 1.012; transform-origin: 50vw var(--cB); }
  .fx .fx-layer { scale: 1.012; transform-origin: calc(50vw - var(--x)) calc(var(--cB) - var(--y)); }
  .scene__art, .scene__focus, .fx .fx-layer { translate: calc(var(--mx) * -.5vw) calc(var(--my) * -.3vh); }
  .scene__copy { translate: calc(var(--mx) * .45vw) calc(var(--my) * .4vh); }
}
/* the sets are on the landscape picture, and on the middle of its wide version */
.fx-tv i { box-shadow: 0 0 34px 5px rgba(200, 230, 0, .36), inset 0 0 18px rgba(200, 230, 0, .3); }
@media (orientation: landscape) {
  .fx-tv { --u: var(--lu); --v: var(--lv); --s: var(--ls); --ta: var(--lta); --ro: var(--lro); --sk: var(--lsk); }
  .fx-arc--p { display: none; }
  .fx-arc--l { display: block; }
}
@media (min-aspect-ratio: 15/8) {
  .fx .scene--intro .fx-layer, .fx .scene--worlds .fx-layer { left: calc(var(--x) + var(--w) * 460 / 2592); width: calc(var(--w) * 1672 / 2592); --lx: calc(var(--x) + var(--w) * 460 / 2592); }
  .fx .scene--quote .fx-layer { left: calc(var(--x) + var(--w) * 720 / 2256); width: calc(var(--w) * 1536 / 2256); --lx: calc(var(--x) + var(--w) * 720 / 2256); }
  .fx .fx-layer { transform-origin: calc(50vw - var(--lx)) calc(var(--cB) - var(--y)); }
}
.fx-float { width: 38px; height: 38px; margin: -19px 0 0 -19px; }
.fx-arc .a { stroke-width: 3.5; }
.fx-arc .b { stroke-width: 8; }

/* 2 · Blur who you are */
.fx .beat--marigold, .fx .beat--dark { overflow: clip; }            /* what drifts in or sinks stays on its own sheet */
.fx .fx-two { --fs: clamp(118px, 26vh, 270px); gap: clamp(18px, 2.8vh, 32px); margin-bottom: clamp(26px, 5.4vh, 60px); }
.fx-face { transition: transform 1.3s var(--ease), opacity .8s linear; }
.fx .unblur:not(.is-in) .fx-face { opacity: .45; transform: translate3d(-18vw, 0, 0) rotate(-16deg); }
.fx .unblur:not(.is-in) .fx-face--them { transform: translate3d(18vw, 0, 0) rotate(16deg); }
.fx-face svg { inset: -11px; width: calc(100% + 22px); height: calc(100% + 22px); }
.fx-face circle { stroke-width: 1.4; }
.fx-face .r1 { stroke-dasharray: 100 110; stroke-dashoffset: 105; }
.fx-face::before, .fx-face::after { inset: -11px; border-width: 3px; }
.is-open .fx-face { transform: translate3d(calc(var(--fs) * .1), 0, 0); }
.is-open .fx-face--them { transform: translate3d(calc(var(--fs) * -.1), 0, 0); }
.fx-two__heart { width: 56px; height: 56px; margin-left: -28px; bottom: -16px; }
.fx-two__heart svg { width: 28px; height: 28px; }

@media (hover: hover) and (pointer: fine) {
  .fx-face { translate: calc(var(--mx) * 11px) calc(var(--my) * 8px); }
  .fx-face--them { translate: calc(var(--mx) * 17px) calc(var(--my) * 12px); }
  .fx-face:hover .fx-face__pic { transform: scale(1.045); }
  .fx-face:active .fx-face__pic { transform: scale(.96); }
  .fx-face:not(.is-on):hover .r1 { stroke-dashoffset: 72; }
  .fx .unblur .bigline { translate: calc(var(--mx) * -7px) calc(var(--my) * -4px); }
}

/* 3 · In a good restaurant */
.fx .fx-dome { width: clamp(168px, 31vh, 320px); margin-top: clamp(18px, 4.4vh, 52px); }
@media (min-width: 1100px) and (min-aspect-ratio: 3/2) {                /* a wide window: the words beside the dome */
  .fx .leadin { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: 1fr auto auto 1fr; column-gap: clamp(40px, 6vw, 150px); text-align: left; font-size: clamp(1.4rem, min(2.5vw, 4.5vh), 3rem); width: min(100%, 1500px); margin-inline: auto; }
  .fx .leadin p { grid-column: 1; max-width: 21em; margin-inline: 0; }
  .fx .leadin p:first-child { grid-row: 2; }
  .fx .leadin p + p { grid-row: 3; }
  .fx .fx-dome { grid-column: 2; grid-row: 1 / -1; width: min(100%, clamp(240px, 46vh, 520px)); margin: 0; align-self: center; justify-self: center; }
}
.fx-dome__all { transform: translate3d(34vw, 0, 0); }
@media (hover: hover) and (pointer: fine) {
  .fx-dome:not(.is-up):hover .fx-dome__lid { transform: translate(-2px, -9px) rotate(-7deg); }
  .fx-dome { translate: calc(var(--mx) * 12px) calc(var(--my) * 7px); }
}

/* 5 and 6 · the dark sheet: a soft light follows the mouse; the drawing and the phone lean to it */
.fx .beat--dark { isolation: isolate; }
.fx .fx-light { display: block; position: absolute; z-index: -1; inset: 0; border-radius: inherit; overflow: clip; pointer-events: none; }
.fx-light i { position: absolute; left: 0; top: 0; width: 900px; height: 900px; margin: -450px 0 0 -450px; border-radius: 50%; background: radial-gradient(closest-side, rgba(200, 230, 0, .1), rgba(200, 230, 0, .035) 50%, transparent); opacity: 0; transition: opacity .8s linear; will-change: transform; }
.fx-light.is-on i { opacity: 1; }
.fx .stage--score .stage__viz, .fx .stage--pool .stage__viz { perspective: 1200px; }
@media (hover: hover) and (pointer: fine) {
  .fx .viz--score { transition: scale .25s var(--ease); transform: rotateX(calc(var(--my) * -7deg)) rotateY(calc(var(--mx) * 9deg)); }
  .fx .viz--score:active { transform: rotateX(calc(var(--my) * -7deg)) rotateY(calc(var(--mx) * 9deg)); scale: .985; }
  .fx .stage--pool .app-shot { transition: none; transform: rotateX(calc(var(--my) * -9deg)) rotateY(calc(var(--mx) * 13deg)); }
  .fx .stage--pool:not(.is-in) .app-shot { transform: translate3d(0, 70px, 0) rotateX(24deg) scale(.93); }
  .fx .stage--pool .step::before { transition: background-color .25s, color .25s; }
  .fx .stage--pool .step:hover::before { background: var(--lime); color: var(--on-lime); }
}
.fx .how:not(.is-in) .stage__name { transform: translate3d(-34px, 0, 0); }
.fx .stage--pool:not(.is-in) .app-shot { transform: translate3d(0, 70px, 0) rotateX(24deg) scale(.93); }
.fx .stage--pool.is-in .app-shot.enter--rise { animation-name: fxl-stand; }
.fx .stage--pool .step.rise { transform: translate3d(44px, 0, 0); }
.fx .stage--pool.is-in .step.rise { transform: none; }

/* 8 · Get the app */
.fx .closing::before { --g: min(96vw, 130vh); width: var(--g); height: var(--g); margin: calc(var(--g) / -2) 0 0 calc(var(--g) / -2); top: 40%; translate: calc(var(--gx, 0) * 9vw) calc(var(--gy, 0) * 9vh); }
.fx .closing.is-in .stores > a:hover { opacity: 1; }

/* 10 · Who's building it: a name steps forward under the mouse */
.makers__name { transition: translate .35s var(--ease), color .25s; }
@media (hover: hover) { .fx .makers__list li:hover .makers__name { translate: 8px 0; color: var(--lime-ink); } }
}
