/* NEMZION demo: "Houston sleeps, Lagos visits". One pinned stage, two phones, two clocks six hours apart.
   Tokens are the homepage's (v2/DIRECTION.md 3.1); blue only on the primary button and the mark. */
html.vfilm {
  --stage: #02060f; --stage-2: #040b18; --navy: #0b1b36; --navy-deep: #071428; --haze: #1a2c52;
  --ink: #f3f5fa; --ink-2: rgba(232, 237, 247, .82); --ink-3: rgba(212, 221, 239, .62); --dim: .4;
  --hair: rgba(255, 255, 255, .10); --hair-2: rgba(255, 255, 255, .16);
  --brand: #1f5bff; --brand-hi: #3a70ff; --signal: #ffc62e;
  --amber-tint: #fdf0d9; --amber-ink: #8a4b00; --amber: #c26a00;
  --expo: cubic-bezier(.16, 1, .3, 1); --io: cubic-bezier(.65, 0, .35, 1);
  --serif: var(--font-instrument), 'Instrument Serif', 'Times New Roman', serif;
  --sans: var(--font-geist), 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: var(--font-plex-mono), 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) { html.vfilm:not([data-theme="light"]) { --stage: #02060f; } }
html.vfilm[data-theme="dark"] { --stage: #02060f; }

html.vfilm *, html.vfilm *::before, html.vfilm *::after { box-sizing: border-box; }
html.vfilm { background: var(--stage); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.vfilm body {
  margin: 0; background: var(--stage); color: var(--ink); font: 400 17px/1.55 var(--sans);
  font-feature-settings: "ss01", "cv11"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
html.vfilm img, html.vfilm svg, html.vfilm canvas { display: block; max-width: 100%; }
html.vfilm a { color: inherit; text-decoration: none; }
html.vfilm h1, html.vfilm p, html.vfilm ul, html.vfilm ol, html.vfilm figure { margin: 0; padding: 0; }
html.vfilm ul, html.vfilm ol { list-style: none; }
html.vfilm button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
html.vfilm :focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; border-radius: 8px; }
html.vfilm .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html.vfilm .skip { position: fixed; left: 16px; top: 12px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--stage); font-weight: 600; transform: translateY(-160%); transition: transform .3s var(--expo); }
html.vfilm .skip:focus { transform: none; }

/* ── the film ───────────────────────────────────────────────── */
html.vfilm .film { position: relative; height: 602svh; }   /* 1100svh for 89 s before 19 Nov, 1015svh for 82 s; the same scroll per second for 45 s */
/* until the first frame is lit, the stage's words wait (no empty clocks or controls flash) */
html.vfilm.live:not(.ready) .clocks, html.vfilm.live:not(.ready) .controls, html.vfilm.live:not(.ready) .vf-caption { opacity: 0; }
html.vfilm.live.ready .controls { transition: opacity .6s var(--expo); }
html.vfilm.static .film { display: none; }
html.vfilm .stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; isolation: isolate; }
html.vfilm #gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
html.vfilm .vf-grain { position: absolute; inset: -50%; z-index: 30; pointer-events: none; opacity: .04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: vf-grain 1s steps(5) infinite; }
@keyframes vf-grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); } 60% { transform: translate(-4%, -2%); } 80% { transform: translate(3%, 4%); } 100% { transform: translate(0, 0); } }
html.vfilm.shot .vf-grain { animation: none; }

/* the viewfinder: the mark's four corners, survey yellow, 2 px */
html.vfilm .vf { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; }
html.vfilm .vf i { position: absolute; left: 0; top: -1px; height: 2px; width: 18px; border-radius: 1px; background: var(--signal); transform-origin: 0 1px; will-change: transform; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .25); }

/* the header: the mark, the wordmark and the "Demo" pill */
html.vfilm .top { position: absolute; z-index: 10; left: 32px; top: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
html.vfilm .brand { display: inline-flex; align-items: center; gap: 10px; font: 700 15px/1 var(--sans); letter-spacing: .04em; min-height: 44px; }
html.vfilm .brand svg { width: 28px; height: 28px; }
html.vfilm .vf-pill { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  font: 600 12px/1 var(--sans); letter-spacing: .02em; color: var(--ink-2); white-space: nowrap; }

/* the clocks: place, time (Plex Mono, rolling digits), date and zone */
html.vfilm .clocks { position: absolute; z-index: 10; left: 0; right: 0; top: 22px; height: 0; }
html.vfilm .clock { position: absolute; top: 0; width: 280px; margin-left: -140px; display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: default;
  opacity: var(--dim); transition: opacity .6s var(--expo); text-align: center; }
html.vfilm .clock[data-side="H"] { left: 29%; }
html.vfilm .clock[data-side="L"] { left: 71%; }
html.vfilm .clock.on { opacity: 1; }
html.vfilm .c-place { font: 600 11px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
html.vfilm .c-time { display: inline-flex; align-items: baseline; gap: 8px; font: 400 56px/1 var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; color: var(--ink); }
html.vfilm .c-time .ap { font-size: 20px; letter-spacing: 0; color: var(--ink-2); }
html.vfilm .c-date { font: 400 13px/1.3 var(--mono); color: var(--ink-3); font-variant-numeric: tabular-nums; }
html.vfilm .c-date em { font-style: normal; color: var(--ink-2); }
html.vfilm .c-tag { font: 500 12px/1 var(--mono); color: var(--signal); opacity: 0; transform: translateY(-4px); transition: opacity .35s var(--expo), transform .45s var(--expo); height: 14px; }
html.vfilm .c-tag.show { opacity: 1; transform: none; }
/* rolling characters */
html.vfilm .rs { display: inline-block; position: relative; overflow: hidden; vertical-align: top; height: 1.12em; line-height: 1.12em; }
html.vfilm .rc { display: block; }
html.vfilm .rc.in { position: absolute; left: 0; top: 0; }

/* the title (chapter 0) and the end card: between the phones, never over one */
html.vfilm .title-card, html.vfilm .end-card { position: absolute; z-index: 9; left: 50%; top: 50%; width: var(--gapw, 330px); transform: translate(-50%, -50%); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px; opacity: 0; visibility: hidden; transition: opacity .6s var(--expo), visibility 0s .6s; }
html.vfilm .title-card.show, html.vfilm .end-card.show { opacity: 1; visibility: visible; transition: opacity .8s var(--expo); }
/* the end card rises 8 px as it fades in (never slides sideways), once the phones stand in their end pose */
html.vfilm .end-card { transform: translate(-50%, calc(-50% + 8px)); transition: opacity .6s var(--expo), visibility 0s .6s, transform .6s var(--expo); }
html.vfilm .end-card.show { transform: translate(-50%, -50%); transition: opacity .8s var(--expo), transform .9s var(--expo); }
html.vfilm .t-display { font: 400 min(60px, calc(var(--gapw, 330px) * .182))/.95 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
html.vfilm .t-sub { font: 300 17px/1.5 var(--sans); color: var(--ink-2); text-wrap: balance; }
html.vfilm .t-sub b, html.vfilm .e-display b { font-weight: 400; color: var(--ink); }
html.vfilm .e-display { font: 400 min(46px, calc(var(--gapw, 330px) * .14))/.98 var(--serif); letter-spacing: -.018em; text-wrap: balance; }
html.vfilm .vf-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 500 16px/1 var(--sans); white-space: nowrap; }
html.vfilm .vf-btn-primary { background: var(--brand); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 10px 30px -12px rgba(31, 91, 255, .7); transition: background .3s; }
html.vfilm .vf-btn-primary:hover { background: var(--brand-hi); }
html.vfilm .vf-btn .arr { display: inline-block; transition: transform .45s var(--expo); }
html.vfilm .vf-btn:hover .arr { transform: translateX(4px); }
html.vfilm .stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
html.vfilm .store { display: inline-flex; align-items: center; min-height: 48px; padding: 6px 14px; border-radius: 10px; background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); transition: box-shadow .3s; }
html.vfilm .store:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); }
html.vfilm .store-w { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.12; }
html.vfilm .store-w .s { font-size: 10.5px; letter-spacing: .02em; color: var(--ink-2); }
html.vfilm .store-w .b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
html.vfilm .replay { min-height: 44px; padding: 0 18px; border-radius: 999px; font: 500 14px/1 var(--sans); color: var(--ink-2); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
html.vfilm .replay:hover { color: var(--ink); background: rgba(255, 255, 255, .1); }

/* the caption: one line, factual; it changes with a short fade-rise and never scrubs. It holds no links, so it never
   takes a tap or a click: the end card's Replay sits under its box on phones and tablets (polish round 2) */
html.vfilm .vf-caption { position: absolute; z-index: 10; left: 50%; bottom: 100px; width: min(940px, calc(100% - 48px)); transform: translateX(-50%); text-align: center; text-wrap: balance;
  font: 300 20px/1.5 var(--sans); color: var(--ink-2); min-height: 30px; pointer-events: none; }
/* a jump (a chip, a key, a scrub of more than a second) changes the words at once: nothing fades over a phone */
html.vfilm .snap, html.vfilm .snap * { transition: none !important; animation: none !important; }
html.vfilm .vf-caption .cl { display: block; }
html.vfilm .vf-caption .cl.in { animation: vf-capIn .35s var(--expo) both; }
html.vfilm .vf-caption .cl.out { position: absolute; left: 0; right: 0; top: 0; animation: vf-capOut .25s ease both; }
@keyframes vf-capIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes vf-capOut { from { opacity: 1; } to { opacity: 0; transform: translateY(-4px); } }

/* the controls: a frosted capsule, Play/Pause, the chapters, the scrubber, the time */
html.vfilm .controls { position: absolute; z-index: 12; left: 50%; bottom: 14px; transform: translateX(-50%); width: min(1220px, calc(100% - 40px));
  display: grid; grid-template-columns: 44px 1fr auto; grid-template-rows: 34px 24px; column-gap: 16px; align-items: center;
  padding: 6px 18px 4px 12px; border-radius: 20px; background: rgba(7, 20, 40, .55); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 0 0 1px var(--hair); }
html.vfilm .play { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); transition: background .3s; }
html.vfilm .play:hover { background: rgba(255, 255, 255, .16); }
html.vfilm .play svg { width: 20px; height: 20px; fill: var(--ink); }
html.vfilm .play .i-pause, html.vfilm .play[aria-pressed="true"] .i-play { display: none; }
html.vfilm .play[aria-pressed="true"] .i-pause { display: block; }
html.vfilm .chips { grid-column: 2; display: flex; gap: 2px; justify-content: space-between; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
html.vfilm .chips::-webkit-scrollbar { display: none; }
html.vfilm .chip { position: relative; flex: none; min-height: 34px; min-width: 44px; padding: 0 7px; font: 500 13px/34px var(--sans); color: var(--ink); opacity: var(--dim); white-space: nowrap; scroll-snap-align: center; transition: opacity .35s; }
html.vfilm .chip::after { content: ""; position: absolute; left: 7px; right: 7px; bottom: 1px; height: 2px; border-radius: 1px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--expo); }
html.vfilm .chip:hover { opacity: .7; }
html.vfilm .chip.on { opacity: 1; }
html.vfilm .chip.on::after { transform: none; }
html.vfilm .scrub { grid-column: 2; position: relative; height: 24px; cursor: pointer; touch-action: none; }
html.vfilm .scrub:focus-visible { outline-offset: 2px; }
html.vfilm .track { position: absolute; left: 0; right: 0; top: 11px; height: 2px; border-radius: 1px; background: rgba(255, 255, 255, .16); }
html.vfilm .fill { position: absolute; left: 0; top: -3px; height: 8px; border-radius: 4px; background: var(--signal); width: 0; }
html.vfilm .marks i { position: absolute; top: -3px; width: 1px; height: 8px; background: rgba(255, 255, 255, .35); }
html.vfilm .knob { position: absolute; top: -6px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #fff; box-shadow: 0 1px 6px rgba(0, 0, 0, .4); left: 0; }
html.vfilm .time { grid-column: 3; grid-row: 1 / span 2; font: 400 13px/1 var(--mono); color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; min-width: 92px; text-align: right; }

/* "Skip the film": in the tab order right after the scrubber, shown when focused */
html.vfilm .skip-film { position: absolute; z-index: 13; right: 28px; bottom: 98px; padding: 10px 16px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 10px;
  background: var(--ink); color: var(--stage); font: 600 14px/1 var(--sans); opacity: 0; pointer-events: none; transform: translateY(6px); transition: opacity .25s var(--expo), transform .35s var(--expo); }
html.vfilm .skip-film:focus, html.vfilm .skip-film:focus-visible { opacity: 1; pointer-events: auto; transform: none; }

/* stills for the storyboard: only the canvas */
html.vfilm.stillmode .top, html.vfilm.stillmode .clocks, html.vfilm.stillmode .vf-caption, html.vfilm.stillmode .controls, html.vfilm.stillmode .vf, html.vfilm.stillmode .title-card, html.vfilm.stillmode .end-card, html.vfilm.stillmode .vf-grain, html.vfilm.stillmode .skip-film { visibility: hidden !important; }

/* ── 390: one phone at a time, both clocks always on ─────────── */
html.vfilm.narrow .top { left: 16px; right: 16px; top: 4px; flex-direction: row; align-items: center; justify-content: space-between; }
html.vfilm.narrow .vf-pill { height: 26px; font-size: 11px; }
html.vfilm.narrow .clocks { top: 52px; left: 12px; right: 12px; height: 94px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
html.vfilm.narrow .clock { position: relative; left: auto; width: auto; margin: 0; align-items: flex-start; text-align: left; gap: 2px; padding: 9px 10px 6px; border-radius: 12px; cursor: pointer;
  min-height: 94px; background: rgba(255, 255, 255, .025); }
html.vfilm.narrow .clock::before { content: ""; position: absolute; left: 10px; right: 10px; top: 0; height: 2px; border-radius: 1px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--expo); }
html.vfilm.narrow .clock.on::before { transform: none; }
html.vfilm.narrow .c-place { font-size: 10px; }
html.vfilm.narrow .c-time { font-size: 30px; gap: 5px; }
html.vfilm.narrow .c-time .ap { font-size: 13px; }
html.vfilm.narrow .c-date { font-size: 11px; white-space: nowrap; }
/* v3, the visitor's two cities (film-html.ts): on a phone the clocks keep the city and the hours apart, not the
   neighborhood or the zone's name, which the place line and the captions already say */
html.vfilm.narrow .zw { display: none; }
@media (max-width: 374px) { html.vfilm.narrow .c-date { font-size: 10px; letter-spacing: -.02em; } html.vfilm.narrow .c-time { font-size: 27px; } }
html.vfilm.narrow .c-tag { font-size: 10px; height: 12px; line-height: 12px; }
html.vfilm.narrow .title-card, html.vfilm.narrow .end-card { top: auto; bottom: 118px; width: calc(100% - 32px); transform: translateX(-50%); gap: 14px; --gapw: 330px; }
html.vfilm.narrow .end-card { gap: 12px; transform: translate(-50%, 8px); }
html.vfilm.narrow .end-card.show { transform: translateX(-50%); }
html.vfilm.narrow .t-display { font-size: 40px; }
html.vfilm.narrow .t-sub { font-size: 16px; }
html.vfilm.narrow .e-display { font-size: 34px; }
html.vfilm.narrow .stores .store { min-height: 46px; }
html.vfilm.narrow .vf-caption { bottom: 114px; width: calc(100% - 32px); font-size: 17px; line-height: 1.45; min-height: 50px; display: flex; flex-direction: column; justify-content: flex-start; }
@media (max-width: 374px) { html.vfilm.narrow .vf-caption { min-height: 74px; } }
html.vfilm.narrow .skip-film { right: 16px; bottom: 196px; }
html.vfilm.narrow .controls { bottom: 8px; width: calc(100% - 16px); grid-template-columns: 44px 1fr auto; grid-template-rows: 44px 44px; row-gap: 2px; column-gap: 12px; padding: 6px 12px 6px 8px; border-radius: 18px; }
html.vfilm.narrow .chips { grid-column: 1 / span 3; grid-row: 1; justify-content: flex-start; gap: 0; margin: 0 -4px; mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent); }
html.vfilm.narrow .chip { min-height: 44px; line-height: 44px; padding: 0 10px; }
html.vfilm.narrow .chip::after { bottom: 7px; left: 10px; right: 10px; }
html.vfilm.narrow .play { grid-row: 2; }
html.vfilm.narrow .scrub { grid-row: 2; height: 44px; }
html.vfilm.narrow .track { top: 21px; }
html.vfilm.narrow .time { grid-row: 2; min-width: 0; font-size: 12px; }

/* ── reduced motion and no WebGL: the storyboard ─────────────── */
html.vfilm .board { display: none; }
html.vfilm.static .board { display: block; }
html.vfilm .b-head { max-width: 1120px; margin: 0 auto; padding: 32px 32px 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
html.vfilm .b-head .t-display { font-size: clamp(44px, 5.6vw, 84px); margin-top: 26px; }
html.vfilm .b-head .t-sub { font-size: 20px; max-width: 34em; }
html.vfilm .b-chips { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 6px; }
html.vfilm .b-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; font: 500 13px/1 var(--sans); color: var(--ink-2); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
html.vfilm .b-chips a:hover { color: var(--ink); }
html.vfilm .frames { max-width: 1120px; margin: 0 auto; padding: 24px 32px 40px; display: flex; flex-direction: column; gap: 56px; }
html.vfilm .vf-frame { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 24px; }
html.vfilm .f-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
html.vfilm .f-name { font: 600 12px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
html.vfilm .f-clocks { display: flex; gap: 28px; }
html.vfilm .f-clock { display: flex; flex-direction: column; gap: 2px; }
html.vfilm .f-clock .p { font: 600 10.5px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
html.vfilm .f-clock .v { font: 400 26px/1 var(--mono); font-variant-numeric: tabular-nums; }
html.vfilm .f-clock .v small { font-size: 13px; color: var(--ink-2); margin-left: 5px; }
html.vfilm .f-clock .d { font: 400 12px/1.3 var(--mono); color: var(--ink-3); }
html.vfilm .f-clock.dim { opacity: var(--dim); }
html.vfilm .f-pic { position: relative; border-radius: 18px; overflow: hidden; background: radial-gradient(120% 90% at 30% 55%, #0b1b36 0%, #02060f 62%); box-shadow: inset 0 0 0 1px var(--hair); aspect-ratio: 16 / 9; }
html.vfilm .f-pic img.still { width: 100%; height: 100%; object-fit: cover; }
html.vfilm .f-cap { font: 300 20px/1.5 var(--sans); color: var(--ink-2); max-width: 46em; }
html.vfilm .cssphones { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; gap: 9%; padding: 4% 0; }
html.vfilm .vf-frame.nostill .cssphones { display: flex; }
html.vfilm .vf-frame.nostill img.still { display: none; }
html.vfilm .cssphone { position: relative; height: 100%; aspect-ratio: 1320 / 2868; border-radius: 13% / 6%; padding: 2.2%; background: linear-gradient(145deg, #d9d7d2, #8c8a86 40%, #c9c7c2 60%, #6f6d69); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
html.vfilm .cssphone .scr { position: relative; width: 100%; height: 100%; border-radius: 11.5% / 5.3%; overflow: hidden; background: #050608; box-shadow: 0 0 0 3px #000; }
html.vfilm .cssphone img { width: 100%; height: 100%; object-fit: cover; }
html.vfilm .cssphone.ios .scr::after { content: ""; position: absolute; left: 50%; top: 1.6%; width: 28%; height: 3.2%; transform: translateX(-50%); border-radius: 99px; background: #000; }
html.vfilm .cssphone.android { aspect-ratio: 1080 / 2340; height: 92%; border-radius: 9% / 4.2%; padding: 1.6%; background: linear-gradient(145deg, #e6e8eb, #a9acb1 40%, #d4d6d9 60%, #8d9095); }
html.vfilm .cssphone.android .scr { border-radius: 8% / 3.7%; }
html.vfilm .cssphone.android .scr::after { content: ""; position: absolute; left: 50%; top: 1.5%; width: 4.2%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: #000; }
html.vfilm .cssphone .dark { position: absolute; inset: 0; background: #030406; }
html.vfilm.narrow .b-head { padding: 16px 16px 4px; }
html.vfilm.narrow .frames { padding: 16px 16px 32px; gap: 44px; }
html.vfilm.narrow .f-pic { aspect-ratio: 780 / 1068; }
html.vfilm.narrow .f-cap { font-size: 17px; }
html.vfilm.narrow .f-clocks { gap: 18px; }
html.vfilm.narrow .f-clock .v { font-size: 22px; }
/* v3: a frame drawn as its two phones (the visitor's cities, main.js) fits them side by side in a phone's width */
html.vfilm.narrow .cssphones { gap: 5%; padding: 0 4%; }
html.vfilm.narrow .cssphone { height: auto; width: 46%; }
html.vfilm.narrow .cssphone.android { height: auto; width: 42%; }

/* ── the footer ─────────────────────────────────────────────── */
html.vfilm .foot { position: relative; z-index: 5; max-width: 1120px; margin: 0 auto; padding: 56px 32px 64px; display: flex; flex-direction: column; gap: 18px; border-top: 1px solid var(--hair); }
html.vfilm .foot-note { font: 400 14px/1.55 var(--sans); color: var(--ink-3); max-width: 60em; }
html.vfilm .foot-credit { margin-top: -10px; }
html.vfilm .foot-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
html.vfilm .foot-links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
html.vfilm .foot-links a { display: inline-flex; align-items: center; min-height: 44px; font: 500 15px/1 var(--sans); color: var(--ink-2); }
html.vfilm .foot-links a:hover { color: var(--ink); }
html.vfilm .foot-c { font: 400 13px/1.6 var(--sans); color: var(--ink-3); overflow-wrap: anywhere; }
/* The footer's legal line (the site footer's): its links and buttons read as links. */
html.vfilm .foot-c a, html.vfilm .foot-c button { color: inherit; font-size: inherit; text-decoration: underline; text-underline-offset: 2px; }
html.vfilm .foot-c button { display: inline; line-height: inherit; vertical-align: baseline; }
html.vfilm .foot-c .pc-icon { display: inline-block; width: 30px; height: 14px; margin-right: 6px; vertical-align: -2px; }
/* A short wide window (a laptop's browser, 1512 x 716): smaller clocks and a lower caption, so the phones get the
   height (the film sizes them to the band between the clocks and the caption). */
@media (max-height: 820px) {
  html.vfilm.wide .clocks { top: 14px; }
  html.vfilm.wide .clock { gap: 2px; }
  html.vfilm.wide .c-time { font-size: 42px; }
  html.vfilm.wide .c-time .ap { font-size: 16px; }
  html.vfilm.wide .c-date { font-size: 12px; }
  html.vfilm.wide .vf-caption { bottom: 88px; font-size: 18px; }
  html.vfilm.wide .top { top: 16px; }
}
/* The site's cookie banner (components/site/ad-consent.tsx) sets --consent-bar to its height while it shows: the stage
   ends above it, so the controls and the end card stay in reach (film-client.tsx re-measures the film when it changes). */
html.vfilm .stage { height: calc(100vh - var(--consent-bar, 0px)); height: calc(100svh - var(--consent-bar, 0px)); }
/* The end card's way in is one block on the server (none in the phone app's view); its parts keep the card's own gaps. */
html.vfilm .e-cta { display: contents; }
html.vfilm .e-app { font: 400 16px/1.5 var(--sans); color: var(--ink-2); }
html.vfilm .store.is-soon { opacity: .55; }
html.vfilm .f-end .e-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
html.vfilm .f-end .stores { justify-content: flex-start; }
html.vfilm.narrow .foot { padding: 40px 16px 48px; }

html.vfilm.reduced *, html.vfilm.reduced *::before, html.vfilm.reduced *::after { animation: none !important; transition: none !important; }
