/* y2kplayer.app 4.0, r263 SITE-HOME-TRAILER (2026-11-19): the home in the trailer's style; its opening is the trailer's world itself.
   His words: "I really only care for the main page to like have this in the style of the video ... you can port the video technically
   into like the site". The film's language, and nothing else: ONE ring world (purple, pink, blue; pixel hearts and stars: the film's own
   world plate, img/film/world-*.webp, light on black, laid over the ground with screen), white heavy words, the payoff word on the green
   plate tilted -2deg, pictures cut from the film's own shots in the film's frame. Sections follow the film's order.
   This sheet replaces hero.css and home.css on the home (they are no longer loaded there); tokens, base and components are shared.
   Layout never changes with the colour scheme: the site is one dark scheme (tokens.css). */

body.fp { background: var(--film-deep); }
.fp main { position: relative; }

/* the film's frame: every picture under the opening wears it (the opening itself has no frame) */
.frame {
  position: relative; overflow: hidden; background: var(--film-night);
  border-radius: clamp(14px, 1.9vw, 28px);
  box-shadow: 0 0 0 2px rgb(255 255 255 / .3), 0 0 0 8px rgb(255 255 255 / .07),
    0 34px 70px -26px rgb(8 0 24 / .85), 0 0 90px -14px color-mix(in srgb, var(--glow, var(--w-promise-glow)) 62%, transparent);
}

/* ================================================================ THE OPENING (r263 SITE-HERO port, 2026-11-19 19:10)
   His words of 18:14 (marketing/design/r263/site-home/OWNER.md): not the film in a frame; the opening itself built in the trailer's
   style, "the elements part of the site, not like inside of a frame". So the first viewport IS the trailer's world: one of two
   text-free loops made for it lies full-bleed under everything (wider than tall: hero-land, the phone at the right; taller than wide:
   hero-port, the phone low in the middle), and the logotype, the H1, the promises and the store button are page elements standing in
   the films' TYPE ZONE, set in the trailer's type and arriving with its motion. No card, border, radius, shadow or play button on the
   film; its foot dissolves into the page's ground.
   THE GEOMETRY is the films' (measured on all 240 frames of each: marketing/design/r263/site-home/README.md, "SITE-HERO films"):
     wide film 16:9    phone x 58.1 to 81.9 %, y 11.8 to 92.5 %;  type zone = the left 56 % x the middle 70 % of the height
     tall film 9:16    phone x 28 to 72 %,     y 44.6 to 93.8 %;  type zone = the top 44 %
   The custom properties on .fhero__stage follow object-fit: cover exactly (--wf, --hf: the film as drawn; --fx, --fy: its corner), so
   the words stay inside the zone and never touch the phone at any window shape. Change object-position and --fx/--fy together. */
.fhero {
  position: relative; overflow: clip; container-type: size; background: var(--film-deep);
  margin-inline: calc(-1 * env(safe-area-inset-left)) calc(-1 * env(safe-area-inset-right));   /* full-bleed under a phone's side insets */
  height: clamp(clamp(320px, 38vw, 560px), 100vh, 1440px);
  height: clamp(clamp(320px, 38vw, 560px), 100svh, 1440px);   /* the first viewport; never so low that the words cannot stand */
}
.fhero__stage {
  --ws: min(100cqw, 202cqh);                        /* the film's box: never wider than 2.02 x its height, so the phone stays whole */
  --hf: max(100cqh, var(--ws) * .5625);             /* the film as cover draws it */
  --wf: calc(var(--hf) * 1.777778);
  --fx: calc((var(--ws) - var(--wf)) * .64);        /* its left edge (object-position 64 %) */
  --fy: calc((100cqh - var(--hf)) * .8);            /* its top edge (object-position 80 %) */
  --gx: max(env(safe-area-inset-left), clamp(16px, 4.2cqw, 72px));
  --zw: calc(var(--fx) + var(--wf) * .545 - var(--gx));   /* the type zone: from the gutter to 54.5 % of the film (the zone ends at 56) */
  --zt: calc(var(--fy) + var(--hf) * .15);                /* ... across the middle 70 % of its height */
  --zh: calc(var(--hf) * .7);
  --foot: min(var(--fy) + var(--hf) * .88, 100cqh - 120px);   /* the dissolve starts here: under the phone's last control, never shorter than 120 px */
  position: absolute; top: 0; bottom: 0; left: calc(50% - var(--ws) / 2); width: var(--ws);
}
.fhero__stage > picture img, .fhero__stage > video {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 64% 80%;
}
.fhero__stage video { opacity: 0; transition: opacity 260ms linear; }
.fhero__stage.is-live video { opacity: 1; }
.fhero__stage::after {   /* the film's foot dissolves into the page's ground: no seam where the next section begins */
  content: ""; position: absolute; z-index: 1; left: 0; right: 0; top: var(--foot); bottom: -1px; pointer-events: none;
  background: linear-gradient(to bottom,
    color-mix(in srgb, var(--film-deep) 0%, transparent) 0%, color-mix(in srgb, var(--film-deep) 5%, transparent) 14%,
    color-mix(in srgb, var(--film-deep) 15%, transparent) 30%, color-mix(in srgb, var(--film-deep) 31%, transparent) 46%,
    color-mix(in srgb, var(--film-deep) 52%, transparent) 62%, color-mix(in srgb, var(--film-deep) 76%, transparent) 78%,
    color-mix(in srgb, var(--film-deep) 93%, transparent) 91%, var(--film-deep) 100%);
}
/* r263 SITE-HERO fixes (review MUST 1): a window wider than 2.02 : 1 never shows page colour at its sides (flat bands read as a box).
   The film keeps its shape in the middle (so the phone stays whole) and its edges melt into the same picture drawn across the whole
   width behind it, blurred and darkened: the world simply carries on. The fill is the landscape poster, already loaded for the first paint. */
.fhero__fill { display: none; }
.fhero__stage::before {   /* r263 fixes (review SHOULD 2): over the last stretch the film takes the page's hue (plum) before it darkens */
  content: ""; position: absolute; z-index: 1; left: 0; right: 0; top: var(--foot); bottom: 0; pointer-events: none;
  mix-blend-mode: color;   /* starts with the dissolve, so the phone's green play button keeps its colour */
  background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--film-deep) 30%, transparent) 35%, var(--film-deep) 80%);
}
@container (min-aspect-ratio: 202/100) {
  .fhero__fill { display: block; position: absolute; inset: 0; pointer-events: none; }
  .fhero__fill::before {
    content: ""; position: absolute; inset: -60px; filter: blur(28px) brightness(.8) saturate(1.1);
    background: url(img/film/hero-land-1920.jpg) 50% 80% / cover no-repeat;
    background-image: image-set(url(img/film/hero-land-1920.webp) type("image/webp"), url(img/film/hero-land-1920.jpg) type("image/jpeg"));
  }
  .fhero__fill::after {   /* its foot dissolves with the film's (the film's --foot is 89 % of the opening at this shape) */
    content: ""; position: absolute; left: 0; right: 0; top: 80%; bottom: -1px;
    background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--film-deep) 55%, transparent) 50%, var(--film-deep));
  }
  .fhero__stage > picture img, .fhero__stage > video {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent);
  }
}

/* the words: one centred stack, as the trailer's first shot stacks them (logotype above, the line, the payoff on the plate) */
.fhero__type {
  --f: max(1.5rem, min(var(--zw) / 7.1, (var(--zh) - 6px) / 4.95, (var(--zh) - 180px) / 2.45, 10rem));   /* the plate's size: the zone decides */
  position: absolute; z-index: 2; left: var(--gx); width: var(--zw); top: var(--zt); height: var(--zh);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  font-size: var(--f);
}
.fhero__words { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; max-width: 100%; }
.fhero__words::before {   /* the page's own pool, inside the type zone only: the trailer lays one behind its type (its shade, 8 0 26) */
  content: ""; position: absolute; z-index: -1; inset: -26% -12%; pointer-events: none;
  background: radial-gradient(closest-side, rgb(8 0 26 / .62), rgb(8 0 26 / .6) 70%, rgb(8 0 26 / .28) 88%, rgb(8 0 26 / 0));
}
.fhero__logo {   /* the trailer's first shot: the logotype in its pink, its glow behind it, a dark shadow under it */
  --track-logo: .42em; position: relative; min-height: 0; padding: 0; margin-bottom: calc(var(--f) * .15);
  font-size: clamp(0.9375rem, .38em, 3.25rem); color: #FFA4EA;
  text-shadow: 0 .1em 0 rgb(20 0 50 / .85), 0 0 .55em rgb(255 60 200 / .55), 0 0 1.2em rgb(8 0 26 / .8);
}
.fhero__logo::after { content: ""; position: absolute; inset: 50% -4px auto; height: var(--tap); transform: translateY(-50%); }   /* a 44 px target, no taller line */
.fhero__mark {
  flex: none; width: 1.8em; height: 1.8em; background: currentColor;
  -webkit-mask: url(img/emblem-white.png) center / contain no-repeat; mask: url(img/emblem-white.png) center / contain no-repeat;
  filter: drop-shadow(0 .1em 0 rgb(20 0 50 / .85)) drop-shadow(0 0 .4em rgb(255 60 200 / .5));
}
.fhero__h1 {
  --hard: #1E003C;   /* the trailer's hard type shadow (30 0 60) */
  font-size: 1em; max-width: 100%; display: flex; flex-direction: column; align-items: center;
  text-shadow: var(--shadow-hard), 0 .08em .34em rgb(8 0 26 / .6);
}
.fhero__kick {
  font-size: clamp(0.8125rem, .22em, 1.625rem); line-height: 1.3; letter-spacing: 0; font-weight: 800; margin-bottom: .45em;
  color: var(--text); text-wrap: balance; text-shadow: 0 1px 2px rgb(8 0 26 / .95), 0 0 .8em rgb(8 0 26 / .85);
}
.fhero__h1 .line { font-size: .72em; white-space: nowrap; }
.fhero__h1 .plate {
  white-space: nowrap; margin: .1em 0 .06em;
  box-shadow: 0 .06em 0 var(--plate-press), 0 .2em .42em -.1em rgb(8 0 26 / .75);   /* the plate's pressed edge and the trailer's drop shadow */
}
.fhero .promises { justify-content: center; gap: .2em 1em; margin-top: calc(var(--f) * .25); font-size: clamp(0.75rem, .2em, 1.375rem); }
.fhero .tick { font-size: 1em; text-shadow: 0 1px 2px rgb(8 0 26 / .95), 0 0 .8em rgb(8 0 26 / .85); }
/* r263 SITE-V2 HOME (his words, 20:25: "the App Store logo ... next to the Get the App Free ... on the first frame you enter the page on";
   "you want the Apple branding, so people know that this is an iPhone app"): Apple's black badge, unaltered, beside the green button
   (under it on a narrow phone), in the end card's size relation (badge 0.75 x the button's height, never under 40 px; clear space a
   tenth of its height and more), and one plain line saying where the app runs. */
.fhero__get {
  --bh: clamp(48px, calc(var(--f) * .56), 76px); --badge: max(40px, calc(var(--bh) * .75));
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: max(14px, calc(var(--badge) * .3)); row-gap: max(8px, calc(var(--f) * .1));
  margin-top: max(12px, calc(var(--f) * .2));
}
.fhero .btn { --btn-h: var(--bh); font-size: clamp(1.0625rem, .22em, 1.75rem); }
.fhero__badge { flex: none; padding: max(10px, calc(var(--badge) * .1)); margin: calc(-1 * max(10px, calc(var(--badge) * .1))); border-radius: 12px; }
.fhero__badge img { display: block; height: var(--badge); width: auto; }
.fhero__iphone {
  flex-basis: 100%; margin: 0; font-size: clamp(0.8125rem, .19em, 1.25rem); font-weight: 800; letter-spacing: .01em; color: var(--text);
  text-shadow: 0 1px 2px rgb(8 0 26 / .95), 0 0 .8em rgb(8 0 26 / .85);
}
@media (orientation: portrait) and (max-width: 349px) {   /* the narrowest phones: the button on its own row, the badge and the line under it (the opening grows: below) */
  .fhero__get { display: grid; grid-template-columns: auto auto; justify-content: center; column-gap: 12px; row-gap: 10px; }
  .fhero__get .btn { grid-column: 1 / -1; justify-self: center; }
  .fhero__iphone { text-align: start; }
  .fhero__type { --f: max(1.5rem, min(var(--zw) / 7.9, (var(--zh) - 6px) / 4.95, (var(--zh) - 180px) / 2.45, 10rem)); }
}

/* the pause control: small, in the first screen's low right corner, the last stop of the keyboard in the opening */
.fhero__pause {
  position: absolute; z-index: 3; right: max(env(safe-area-inset-right), 10px); bottom: 10px;
  width: var(--tap); height: var(--tap); border-radius: 50%; display: grid; place-items: center; color: var(--text);
}
@supports (top: min(1cqh, 1svh)) { .fhero__pause { bottom: auto; top: calc(min(100cqh, 100svh) - var(--tap) - 10px); } }   /* the opening may be taller than the window */
.fhero__pause::before {
  content: ""; position: absolute; inset: 6px; z-index: -1; border-radius: 50%; background: rgb(13 16 58 / .62);
  box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform var(--dur-2) var(--ease-pop), background-color var(--dur-2);
}
.fhero__pause:hover::before { transform: scale(1.1); background: rgb(13 16 58 / .86); }
.fhero__pause svg { width: 12px; height: 12px; }
.fhero__pause .i-pause, .fhero__stage.is-playing .fhero__pause .i-play { display: none; }
.fhero__stage.is-playing .fhero__pause .i-pause { display: block; }
html:not(.js) .fhero__pause { display: none; }

/* taller than wide: the tall film, bottom anchored; the words in its top 44 % */
@media (orientation: portrait) {
  .fhero { height: clamp(177.78vw, 100vh, 250vw); height: clamp(177.78vw, 100svh, 250vw); }   /* never lower than the film itself: the phone stays whole */
  .fhero__stage {
    --ws: 100cqw;
    --wf: max(100cqw, 56.25cqh); --hf: calc(var(--wf) * 1.777778);
    --fx: calc((100cqw - var(--wf)) / 2); --fy: calc(100cqh - var(--hf));
    --gx: clamp(14px, 4.2cqw, 40px);
    --zw: calc(100cqw - 2 * var(--gx));
    --zt: max(env(safe-area-inset-top), 6px);
    --zh: calc(var(--fy) + var(--hf) * .44 - var(--zt));
  }
  .fhero__stage > picture img, .fhero__stage > video { object-position: 50% 100%; }
  .fhero__kick { max-width: 17em; font-size: clamp(0.875rem, .22em, 1.625rem); }
  .fhero__words::before {   /* the pool ends above the phone: it never lays a shade on its top edge */
    inset: -14% -9% -5%; background: radial-gradient(closest-side, rgb(8 0 26 / .58), rgb(8 0 26 / .46) 58%, rgb(8 0 26 / .2) 82%, rgb(8 0 26 / 0));
  }
  .fhero .promises { font-size: clamp(0.75rem, 3.3cqw, 1.125rem); gap: .2em .85em; }
}
@media (orientation: portrait) and (max-width: 350px) {   /* a very narrow phone: the promises take two rows, so the zone grows with the film */
  .fhero { height: clamp(200vw, 100vh, 250vw); height: clamp(200vw, 100svh, 250vw); }
}
@media (orientation: portrait) and (max-width: 349px) {   /* r263 SITE-V2 HOME: the badge under the button needs 60 px more */
  .fhero { height: clamp(calc(200vw + 60px), 100vh, 250vw); height: clamp(calc(200vw + 60px), 100svh, 250vw); }
}
@media (orientation: portrait) and (min-width: 600px) {   /* a tablet held upright: the film's top may be cut, the words still get their room */
  .fhero { height: clamp(calc(88.5vw + 330px), 100vh, 250vw); height: clamp(calc(88.5vw + 330px), 100svh, 250vw); }
  .fhero__stage {   /* r263 fixes (review SHOULD 3): the phone's foot (93.8 % of the tall film) sits 28 px above the opening's foot */
    --zt: max(env(safe-area-inset-top), 18px);
    --fy: max(100cqh - var(--hf), min(0px, 100cqh - var(--hf) * .938 - 28px));
  }
  .fhero__stage > picture img, .fhero__stage > video { object-position: 50% var(--fy); }
  .fhero__kick { max-width: none; }
}

/* the arrival, once: the trailer's own moves (motion.py: a slide lands past its mark and settles, 9 frames; a stamp falls from 1.75, 6 frames) */
@media (prefers-reduced-motion: no-preference) {
  .fhero__h1 .line { animation: h-fly 340ms var(--ease-pop) backwards; }   /* first, and never transparent: it is the largest paint, so it is painted with the first frame */
  .fhero__logo { animation: h-fly 320ms var(--ease-pop) 70ms backwards; }   /* no fade: at the trailer's size it is a largest-paint candidate too */
  .fhero__kick { animation: h-slide 320ms var(--ease-pop) 130ms backwards; }
  .fhero .fhero__h1 .plate, .fhero .fhero__h1 .plate:hover { animation: h-stamp 280ms cubic-bezier(.16, 1, .3, 1) 300ms backwards; }
  .fhero .promises { animation: h-slide 320ms var(--ease-pop) 440ms backwards; }
  .fhero .btn { animation: h-pop 360ms var(--ease-pop) 540ms backwards; }
  .fhero__badge { animation: h-pop 360ms var(--ease-pop) 610ms backwards; }
  .fhero__iphone { animation: h-slide 320ms var(--ease-pop) 660ms backwards; }
}
@keyframes h-fly { from { transform: translateX(-16cqw) scale(.72); } to { transform: none; } }
@keyframes h-slide { from { opacity: 0; transform: translateX(-16cqw) scale(.72); } 34% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes h-stamp { from { opacity: 0; transform: rotate(var(--tilt)) scale(1.75); } 30% { opacity: 1; } to { opacity: 1; transform: rotate(var(--tilt)); } }
@keyframes h-pop { from { opacity: 0; transform: scale(.4); } 40% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes f-drift { from { transform: scale(1) rotate(0deg); } to { transform: scale(1.12) rotate(5deg); } }
/* ================================================================ END OF THE OPENING. Nothing under this line reads a .fhero rule. */

/* the pool: the film lays a soft dark pool under its captions so the world's lights never sit behind a word. The same here, under
   every block of words that lies on the world (the contrast figures: marketing/design/r263/site-home/README.md). */
.shot__words, .try__words, .try__links, .endcard__words { position: relative; isolation: isolate; }
.shot__words::before, .try__words::before, .try__links::before, .endcard__words::before {
  content: ""; position: absolute; inset: -16px calc(-1 * min(28px, var(--gutter))); z-index: -1; border-radius: 48px; pointer-events: none;
  background: color-mix(in srgb, var(--deep, var(--film-deep)) 80%, transparent); filter: blur(22px);
}

/* ================================================================ THE SHOTS, one idea each, in HIS order (OWNER.md, 18:14): make a video (his
   money term), sped up or slowed, vocal separation, themes, visualizers last. The picture's side alternates down the page. */
.shot { position: relative; overflow-x: clip; padding-block: clamp(56px, 8.4vw, 124px); --glow: var(--w-promise-glow); --deep: var(--film-deep); --at: 74%; }
.shot::before {    /* the shot's own light, behind its picture */
  content: ""; position: absolute; inset: -10% 0; z-index: 0; pointer-events: none;
  background: radial-gradient(54% 44% at var(--at) 50%, color-mix(in srgb, var(--glow) 36%, transparent), transparent 72%);
}
.shot::after {     /* the world goes on down the page */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url(img/film/world-800.webp) 50% 50% / cover; mix-blend-mode: screen; opacity: .6;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
}
@media (min-width: 700px) { .shot::after { background-image: url(img/film/world-1600.webp); } }
.shot--flip { --at: 26%; }
.shot--flip::after { transform: scaleX(-1); }
.shot > .container, .shot > .reel { position: relative; z-index: 1; }
.shot__in { display: grid; gap: clamp(28px, 5vw, 76px); align-items: center; justify-items: center; text-align: center; }
.shot__words { display: grid; gap: var(--sp-4); justify-items: center; width: 100%; max-width: 38rem; container-type: inline-size; }
.shot__words .plate-head { --plate-size: var(--fs-8); }
.plate-head .line--sm { font-size: .6em; line-height: 1.25; }
.shot__words p { color: var(--text); font-size: var(--fs-4); line-height: 1.45; max-width: 34ch; text-shadow: 0 1px 2px var(--film-deep), 0 0 16px var(--film-deep); }
.shot__words .fine { font-size: var(--fs-2); color: var(--text-2); max-width: 42ch; }
.shot__more { display: flex; flex-wrap: wrap; gap: 0 var(--sp-5); justify-content: center; }
.shot__art { margin: 0; width: 100%; display: grid; justify-items: center; }
.frame { width: 100%; max-width: 760px; transform: rotate(var(--turn, 1.6deg)); }
.frame img { width: 100%; height: auto; }
.shot--flip .frame { --turn: -1.6deg; }
.shot--tall .frame { max-width: clamp(220px, 60vw, 350px); --turn: 2.4deg; }
.shot--tall.shot--flip .frame { --turn: -2.4deg; }
@media (min-width: 900px) {
  .shot__in { grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); text-align: left; }
  .shot__words { justify-items: start; justify-self: start; }
  .shot__more { justify-content: flex-start; }
  .shot--flip .shot__in { grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); }
  .shot--flip .shot__words { order: 2; }
  .shot--tall .shot__in, .shot--tall.shot--flip .shot__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
/* the shots' lights: each takes the colour its shot has in the film */
.shot--speed  { --glow: var(--w-promise-glow); }
.shot--viz    { --glow: var(--w-viz-glow); --at: 50%; }
.shot--video  { --glow: var(--lane-vocals); }
.shot--vocal  { --glow: var(--w-vocal-glow); --deep: var(--w-vocal-deep); }
.shot--themes { --glow: var(--w-speed-glow); }
.shot--promise { --glow: var(--w-promise-glow); --at: 50%; }
.shot--vocal::before {   /* the film's vocal shot is its one blue world: the ground itself turns */
  background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--w-vocal-deep) 88%, transparent) 26%, color-mix(in srgb, var(--w-vocal-deep) 88%, transparent) 74%, transparent),
    radial-gradient(54% 44% at var(--at) 50%, color-mix(in srgb, var(--glow) 40%, transparent), transparent 72%);
}
.shot--vocal .shot__words p { text-shadow: 0 1px 2px var(--w-vocal-deep), 0 0 16px var(--w-vocal-deep); }

/* one line where the film has one line */
.shot--one .shot__in { grid-template-columns: minmax(0, 1fr); text-align: center; }
.shot--one .shot__words { justify-items: center; justify-self: center; max-width: 46rem; }
.shot--one .shot__more { justify-content: center; }
@media (min-width: 700px) { .plate-head--row .line { display: inline; } .shot--viz .plate-head { font-size: min(var(--fs-8), 8cqi); } }
.shot--promise .plate-head { font-size: min(var(--fs-9), 10.4cqi); }
.shot--promise .shot__words { gap: var(--sp-6); }

/* the visualizers: the film's burst as a reel that never stops */
.reel { overflow: hidden; margin-top: clamp(28px, 4.5vw, 56px); padding-block: clamp(22px, 4vw, 54px); margin-bottom: calc(-1 * clamp(22px, 4vw, 54px)); }
.reel__track { --g: clamp(10px, 1.6vw, 22px); display: flex; gap: var(--g); width: max-content; list-style: none; padding: 0; transform-origin: 50vw 50%; rotate: -2deg; }
.reel__track li { position: relative; flex: none; border-radius: clamp(12px, 1.6vw, 24px); overflow: hidden; box-shadow: 0 0 0 2px rgb(255 255 255 / .3), 0 18px 40px -18px rgb(8 0 24 / .8); background: var(--film-night); }
.reel__track img { display: block; height: clamp(150px, 23vw, 310px); width: auto; aspect-ratio: 640 / 336; max-width: none; object-fit: cover; }
/* r263 SITE-V2 HOME: the card's loop lies over its poster (film.js part 5); it shows once it really plays, so a card never blinks */
.reel__loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 240ms linear; pointer-events: none; }
.reel__loop.is-on { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .reel__track { animation: f-reel 62s linear infinite; }   /* seven cards (it was five at 44 s): the same speed across the screen */
  .js .reel:not(.is-vis) .reel__track { animation-play-state: paused; }
  .js .is-in > .frame, .js .frame.is-in { animation: f-float 6.5s var(--ease-in-out) 900ms infinite alternate; }
}
@keyframes f-reel { to { transform: translateX(calc(-50% - var(--g) / 2)); } }
@keyframes f-float { from { transform: rotate(var(--turn, 1.6deg)); } to { transform: translateY(-9px) rotate(calc(var(--turn, 1.6deg) * .45)); } }

/* everything it does: the search words, as chips (white glass: the green stays the payoff's) */
.every { position: relative; z-index: 1; padding-block: clamp(24px, 4vw, 56px) clamp(56px, 8vw, 112px); }
.every .container { display: grid; gap: var(--sp-6); justify-items: center; text-align: center; container-type: inline-size; }
.every .plate-head { --plate-size: var(--fs-7); --deep: var(--film-deep); }
.every .chips { justify-content: center; max-width: 60rem; }
.fp .chip { background: rgb(255 255 255 / .12); color: var(--text); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .3); }

/* ================================================================ the page's own blocks, in the film's clothes */
.home-sec { position: relative; z-index: 1; padding-block: clamp(56px, 9vw, 112px); }
.home-sec__head { display: grid; gap: var(--sp-3); justify-items: center; text-align: center; margin-bottom: var(--sp-10); container-type: inline-size; }
.home-sec__head .plate-head { --plate-size: var(--fs-7); --deep: var(--film-deep); }
.home-sec__head p { color: var(--text-2); max-width: 46ch; font-size: var(--fs-4); line-height: 1.45; }

/* try it in your browser: one door to the free tool, on the film's night-blue corner of the world */
.try { position: relative; isolation: isolate; overflow: clip; border-radius: var(--r-xl); padding: clamp(28px, 5vw, 64px); display: grid; gap: var(--sp-6); align-items: center;
  --glow: var(--w-speed-glow); --deep: var(--film-night);
  background: radial-gradient(90% 120% at 88% 40%, color-mix(in srgb, var(--w-speed-glow) 34%, var(--film-night)), var(--film-night) 62%);
  box-shadow: 0 0 0 2px rgb(255 255 255 / .3), 0 0 0 8px rgb(255 255 255 / .07), var(--shadow-3), 0 0 90px -20px color-mix(in srgb, var(--glow) 60%, transparent); container-type: inline-size; }
.try::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(img/film/world-800.webp) 70% 50% / cover; mix-blend-mode: screen; opacity: .8; }
@media (min-width: 700px) { .try::before { background-image: url(img/film/world-1600.webp); } }
.try__words { display: grid; gap: var(--sp-5); container-type: inline-size; }
.try .plate-head { --plate-size: var(--fs-7); }
.try p { color: var(--text); font-size: var(--fs-4); line-height: 1.45; max-width: 40ch; text-shadow: 0 1px 2px var(--film-night), 0 0 14px var(--film-night); }
.try__links { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); list-style: none; padding: 0; }
.try__links a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--text); font-weight: 700; text-underline-offset: .25em; text-decoration-color: var(--plate); text-shadow: 0 1px 2px var(--film-night); }
.try__go { justify-self: start; }
@media (min-width: 900px) { .try { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }

/* free, and what Pro adds: two honest lists, no counts */
.plans { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); max-width: 1000px; margin-inline: auto; }
.plan { border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); display: grid; gap: var(--sp-4); align-content: start;
  background: color-mix(in srgb, var(--film-night) 62%, var(--film-deep)); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .22), var(--shadow-2); }
.plan--pro { background: linear-gradient(160deg, var(--film-mid), color-mix(in srgb, var(--film-night) 62%, var(--film-deep)) 62%);
  box-shadow: inset 0 0 0 2.5px var(--plate), var(--shadow-2), 0 0 70px -22px rgb(30 215 96 / .6); }
.plan h3 { font-size: var(--fs-6); line-height: 1.1; }
.plan h3 .plate { font-size: 1em; }
.plan ul { list-style: none; padding: 0; display: grid; gap: var(--sp-3); }
.plan li { display: grid; grid-template-columns: 1.4em 1fr; gap: .55em; color: var(--text); line-height: 1.4; }
.plan li::before { content: ""; width: 1.3em; height: 1.3em; margin-top: .05em; border-radius: 50%;
  background: rgb(255 255 255 / .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23FFFFFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 72% no-repeat; }
.plan--pro li::before { background: var(--plate) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23062C16' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 76% no-repeat; }
.plan li small { display: block; color: var(--text-2); font-size: var(--fs-2); margin-top: 2px; }
.plans__foot { text-align: center; margin-top: var(--sp-6); }
.js .plans [data-reveal]:nth-child(2) { --i: 2; }

/* the questions */
.home-faq { max-width: 760px; margin-inline: auto; }
.fp .faq details { background: color-mix(in srgb, var(--film-night) 62%, var(--film-deep)); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .22); }
.fp .faq details[open] { box-shadow: inset 0 0 0 2px var(--plate); }

/* ================================================================ the end card: the film's last shot, with the button */
.fp .ftr { background: var(--film-floor); }
.endcard {
  --glow: var(--w-promise-glow); --deep: var(--film-deep);
  position: relative; overflow: clip; padding-block: clamp(64px, 10vw, 136px);
  background: radial-gradient(110% 100% at 50% 50%, var(--film-mid) 0%, var(--film-deep) 62%, var(--film-floor) 100%);
}
.endcard::before { content: ""; position: absolute; inset: -4%; z-index: 0; pointer-events: none; background: url(img/film/world-800.webp) 50% 50% / cover; mix-blend-mode: screen; opacity: .85; }
@media (min-width: 700px) { .endcard::before { background-image: url(img/film/world-1600.webp); } }
.endcard::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(to bottom, var(--film-deep), transparent 14%, transparent 84%, var(--film-floor)); }
.endcard__in { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; }
.endcard__words { display: grid; gap: var(--sp-6); justify-items: center; width: 100%; max-width: 46rem; container-type: inline-size; }
.endcard .logo { font-size: clamp(1.125rem, 0.8rem + 1.6vw, 2rem); min-height: 0; text-shadow: 0 2px 0 color-mix(in srgb, var(--film-deep) 70%, black); }
.endcard .plate-head { --plate-size: var(--fs-8); }
.endcard .promises { justify-content: center; }
.endcard .tick { text-shadow: 0 1px 2px var(--film-deep), 0 0 12px var(--film-deep); }
.endcard .cluster { justify-content: center; --cluster: var(--sp-6); }
@media (prefers-reduced-motion: no-preference) {
  .js .endcard.is-vis::before { animation: f-drift 40s var(--ease-in-out) infinite alternate; }
  .js .endcard.is-vis .btn--primary { animation: f-nudge 3.6s var(--ease-in-out) 1.2s infinite; }
}
@keyframes f-nudge { 0%, 86%, 100% { transform: none; } 90% { transform: translateY(-4px) rotate(-1.5deg); } 95% { transform: translateY(0) rotate(1deg); } }

.skip { background: var(--text); color: var(--ground); }

/* The pictures are hard to save (his 1743 points, kept): no drag, no long-press callout, no selection, and the pointer passes through
   every picture to its card. Alt text stays for search and screen readers; links and the film's button still work. */
img, video, picture, svg { -webkit-user-drag: none; user-drag: none; -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }
main img, main video, main picture, .endcard img { pointer-events: none; }
