/* Layer website prototype. Tokens are the kiosk's own (layer-brand v0.1.0). One committed dark look.
   Layout: a run of one-window scenes (.win) that snap into frame; the hero is a pinned stage with its own snap marks. The page is translucent over one living flow of liquid metal (the chrome the kiosk's S5 ring is made of).
   Stitched threads run on every band. */
:root {
  color-scheme: dark;
  --void: #08070A; --surface: #121116; --raised: #1B1A20; --sunken: #050406;
  --bone: #F7F5F1; --ink: #14120F; --text-2: #B9B6B0; --steel: #8A8F99; --line: #2A2830;
  --mist: #ECE6FF; --lilac: #B39DF1; --violet: #5B41C4;
  --event: #9DFF00; /* lime: the GO key and Max's UN-MUTE zone only */
  --max-panel: #1B1926;
  --chrome: linear-gradient(90deg, #5F616B, #F4F4F6 14%, #8D8F99 32%, #FFFFFF 50%, #6F717B 68%, #D9DADE 84%, #7A7C86 100%);
  --display: 'Archivo', system-ui, sans-serif; --mono: 'IBM Plex Mono', ui-monospace, monospace; --serif: 'Bodoni Moda', serif; --tamil: 'Anek Tamil', var(--display);
  --gut: clamp(16px, 4vw, 56px); --maxw: 1800px; --band: 68px;
  --chamfer: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  --out: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
/* the scrollbar's room is kept even while the opening holds the page still, so its return at the landing changes no
   width (no relayout of the whole page, no 3D frame built for a wider page). The root's clientWidth still counts the
   gutter as page then: app.js reads the body's */
/* no CSS scroll snap anywhere (v117): on a desktop app.js lands each mouse notch on the next scene; trackpads, touch
   screens and phones scroll freely. Proximity snap pulled wheel notches back on short laptops (v108), and pulled
   swipes back 250-410 px on iPads and other wide touch screens (the same bug v109 fixed for How alone) */
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body { margin: 0; background: var(--void); color: var(--bone); font: 400 17px/1.55 var(--display); font-variation-settings: 'wdth' 100; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
/* the hidden attribute always wins: author display rules (img above) would otherwise un-hide fallbacks like #kioskFlat */
[hidden] { display: none !important; }
a { color: inherit; }
::selection { background: var(--lilac); color: var(--ink); }
:focus-visible { outline: 2px solid var(--lilac); outline-offset: 3px; }

/* ── type ── */
.h1, .h4 { font-family: var(--display); text-transform: uppercase; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
.h1 { font-weight: 900; font-variation-settings: 'wdth' 125; font-size: clamp(36px, 5vw, 80px); line-height: .92; }
.h1 i, .pose__h i { font: italic 400 1.1em/1 var(--serif); text-transform: none; letter-spacing: -.03em; color: var(--lilac); }
.lede { font-size: clamp(17px, 1.35vw, 20px); color: var(--text-2); max-width: 36ch; margin: 22px 0 0; }
em { font-style: normal; font: 500 11px var(--mono); letter-spacing: .08em; color: var(--steel); text-transform: uppercase; margin-left: 6px; }

/* ── keys: square, bone forward, outline secondary (the kiosk's key family) ── */
.key { display: inline-flex; align-items: center; gap: 14px; height: 56px; padding: 0 22px; font: 800 15px var(--display); font-variation-settings: 'wdth' 118; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; border: 0; cursor: pointer; clip-path: var(--chamfer); transition: transform .2s, background .2s, color .2s; }
.key--bone { background: var(--bone); color: var(--ink); }
.key--bone:hover { background: #fff; transform: translateY(-1px); }
.key--line { background: transparent; color: var(--mist); box-shadow: inset 0 0 0 1.5px var(--mist); clip-path: none; }
.key--line:hover { color: var(--ink); background: var(--mist); }
.key--go { background: var(--bone); color: var(--ink); flex: 1; justify-content: space-between; }
.key--sm { height: 42px; padding: 0 16px; font-size: 13px; }
.key__go { display: inline-grid; place-items: center; width: 26px; height: 26px; background: var(--event); color: var(--ink); font-size: 14px; }
.key--sm .key__go { width: 20px; height: 20px; }

/* ── threads: the band's stitches, fed sideways like thread through a machine, at one pace while the reader moves the
      page (v117: nothing melts or speeds up with scroll speed; the chrome sheen it used is gone) ── */
.thread { position: absolute; left: 0; right: 0; height: 1.5px; overflow: hidden; pointer-events: none; }
.thread--top { top: 7px; } .thread--bot { bottom: 7px; }
.thread::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; right: -44px;
  background: repeating-linear-gradient(90deg, rgba(247, 245, 241, .3) 0 12px, transparent 0 22px);
  animation: feed 1.6s linear infinite; }
/* the stitches hold still at rest: the liquid metal is the page's one standing motion; they feed only while it moves */
.thread::before { animation-play-state: paused; }
html.moving .thread::before { animation-play-state: running; }
@keyframes feed { to { transform: translateX(-22px); } }
@keyframes sheen { to { transform: translateX(360px); } }

/* ── band: the kiosk's stitched top band. Hides as you read down; the slightest scroll up brings it back ── */
.band { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--band); display: flex; align-items: center; gap: 28px; padding: 0 max(var(--gut), calc((100% - var(--maxw)) / 2));
  background: rgba(8, 7, 10, .95); transition: transform .5s var(--out); }
.band.is-hidden { transform: translateY(-100%); }
.band:focus-within { transform: none; }
main:focus { outline: none; }
/* the logo is the kiosk's own band lockup (layer-UX BrandBand): the layer wordmark, and BY over the band's Mirai, their
   feet level. Every size is the kiosk's, in --u (one kiosk pixel), so the band, the legal pages and the opening agree */
.lockup { --u: .7px; display: flex; align-items: flex-end; gap: calc(16 * var(--u)); }
.lockup__layer { display: block; height: calc(64 * var(--u)); width: auto; aspect-ratio: 1022.44 / 467.35; }
.lockup__by { display: flex; flex-direction: column; gap: calc(1 * var(--u)); padding-bottom: calc(7 * var(--u)); }
.lockup__by small { font: 600 calc(14 * var(--u)) / 1 var(--mono); letter-spacing: .06em; color: var(--bone); opacity: .9; }
.lockup__by img { display: block; height: calc(24 * var(--u)); width: auto; }
.band__brand { flex: none; text-decoration: none; }
.band__nav { display: flex; gap: 26px; margin-left: auto; }
/* nav labels: wide caps (the kiosk's key face); on hover the word rolls over, like the bands */
.band__nav a { position: relative; display: block; overflow: hidden; padding: 4px 0; font: 700 13px/1.25 var(--display); font-variation-settings: 'wdth' 115; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--text-2); transition: color .25s; }
.band__nav a span { display: block; transition: transform .45s var(--out); }
.band__nav a span::after { content: attr(data-t); position: absolute; left: 0; top: 100%; color: var(--bone); }
.band__nav a:hover span, .band__nav a:focus-visible span { transform: translateY(-100%); }
.band__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--bone) 0 6px, transparent 0 10px) 0 0 / 200% 100%; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--out); animation: sheen 1.2s linear infinite; }
.band__nav a.on { color: var(--bone); }
.band__nav a.on::after { transform: none; }
.band__menu { display: none; }
/* while the band is away, the pilot key stays in reach */
.pin-go { position: fixed; top: 14px; right: var(--gut); z-index: 49; transform: translateY(-180%); transition: transform .5s var(--out); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.past-hero:not(.at-contact) .band.is-hidden + .pin-go { transform: none; }

/* ── one-window scenes; each snaps to its start ── */
.win { grid-template-columns: minmax(0, 1fr); min-height: 100vh; min-height: 100svh; padding: calc(var(--band) + clamp(20px, 4.5vh, 56px)) var(--gut) clamp(24px, 4.5vh, 56px); max-width: calc(var(--maxw) + 2 * var(--gut)); margin: 0 auto; display: grid; align-content: center; scroll-snap-align: start; position: relative; }
/* snap marks inside the hero's pinned stage: --at is how far through the stage's scroll the mark sits */
.snap { position: absolute; left: 0; width: 1px; height: 1px; top: calc(var(--at) * (100% - 100vh)); top: calc(var(--at) * (100% - 100svh)); scroll-snap-align: start; pointer-events: none; }

/* ── living metal: the S5 chrome as one huge flow behind the whole (translucent) page ── */
.stream { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; display: block; transition: opacity .8s ease; }
.stream.away { opacity: 0; }
main, .foot, .hero { position: relative; z-index: 1; }
/* scenes out of view skip their layout and paint until they come near (the page's first layout was most of its
   load-time main-thread work). On a desktop every scene is exactly one window tall, so the stand-in size is exact; a
   phone's scenes run a little taller, and a jump to a section renders the whole page first (app.js), so it lands true */
main > .win:not(.pose), main > * > .win, .foot { content-visibility: auto; contain-intrinsic-size: auto 120svh; }
.foot { contain-intrinsic-size: auto 40svh; }
@media (min-width: 861px) { main > .win:not(.pose), main > * > .win { contain-intrinsic-size: auto 100vh; } .foot { contain-intrinsic-size: auto 20vh; } }
main > .win.warm, main > * > .win.warm, .foot.warm { content-visibility: visible; }
/* tinted panels: the metal shows through, dimmed. No backdrop blur: the flow behind moves every frame, and re-blurring
   every panel each time it moves is what made these scenes drop frames */
.frost, .gains li, .pilot__steps li, .readout, .vs__card, .backers { background: linear-gradient(rgba(247, 245, 241, .035), rgba(247, 245, 241, 0) 40%), rgba(14, 13, 19, .74); }

/* ── hero: the station alone in the hall, at an angle; scroll turns it to face you and pushes into its screen ── */
.hero { position: relative; height: 270vh; }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--void); }
.hero__scene { position: absolute; left: 0; top: 0; width: max(100%, 177.78vh); aspect-ratio: 1536 / 864; transform-origin: 0 0; }
.hero__plate { position: absolute; inset: 0; width: 100%; height: 100%; }
/* the scene is re-scaled every frame of the push: each picture on its own GPU layer is sampled at full resolution by the
   compositor instead of being re-rasterised at every new scale */
.hero__plate, .hero__near, .hero__screen { will-change: transform; }
/* the close-up's wall: the same patch of the plate rebuilt clean and slightly out of focus (tools/make_hero_near.py, box 448,0 1024x640) */
.hero__near { position: absolute; left: 29.1667%; top: 0; width: 66.6667%; height: 74.0741%; opacity: 0; pointer-events: none; }
/* the station is a real 3D model (assets/station.js) drawn over the hall plate; its live screen is pinned onto the
   glass with a perspective transform, and is sized to its close-up so it is sharp when the camera arrives */
.hero__3d { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity .8s; }
.hero__3d.on { opacity: 1; }
/* the 3D station itself, drawn from the model at its opening pose (turned away, at rest; crop 1584,376 744x1352 of a
   2x frame): the whole kiosk is in the hall from the first frame, and the live station takes its place on the same frame */
.hero__still { position: absolute; left: 51.5625%; top: 21.7593%; width: 24.2188%; height: 78.2407%; pointer-events: none; }
.hero__flat { position: absolute; left: 57.77%; top: 22.8%; width: 11.94%; height: 71.91%; }
.hero__screen { position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow: hidden; background: #000; container-type: inline-size; visibility: hidden; }
.hero__screen.on { visibility: visible; }
#wipe { position: absolute; left: 0; right: 0; top: 10.56cqw; height: calc(100% - 10.56cqw); width: 100%; transition: opacity .25s; }
.hero__screen::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .07) 0 18%, transparent 30%); pointer-events: none; }
/* off, the try-on UI is still drawn, at an invisible .2% (it is inert until on): its first real appearance then needs
   no rasterising, which on a laptop's graphics is a visible hitch at the end of the push */
.kui { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; opacity: .002; transition: opacity .25s; }
.kui.on { opacity: 1; }
.kui { justify-content: flex-end; }
.kui__tag { position: absolute; top: 13.5cqw; left: 5cqw; font: 600 3.2cqw var(--mono); letter-spacing: .1em; color: var(--ink); background: var(--lilac); padding: 1.2cqw 2.2cqw; }
.kui__foot { padding: 0 5cqw 6cqw; background: linear-gradient(0deg, rgba(8, 7, 10, .92), transparent); }
.kui__picks { display: flex; gap: 2.4cqw; margin-bottom: 3.5cqw; pointer-events: auto; }
.kui__picks button { position: relative; width: 14cqw; aspect-ratio: 9 / 16; padding: 0; border: 0; background: #000; cursor: pointer; clip-path: polygon(0 0, calc(100% - 2cqw) 0, 100% 2cqw, 100% 100%, 0 100%); }
.kui__picks button img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
/* the looks not picked are dimmed, not see-through (the shopper behind must never show through a look), and the picked
   one carries its lilac edge on top of the picture */
.kui__picks button::after { content: ''; position: absolute; inset: 0; background: rgba(8, 7, 10, .42); box-shadow: inset 0 0 0 .4cqw rgba(255, 255, 255, .25); transition: background .2s; pointer-events: none; }
.kui__picks button[aria-pressed="true"]::after { background: transparent; box-shadow: inset 0 0 0 .6cqw var(--lilac); }
.kui__title { font: 900 9cqw/1 var(--display); font-variation-settings: 'wdth' 125; text-transform: uppercase; margin-bottom: 4cqw; }
.kui__key { pointer-events: auto; width: 100%; height: 12cqw; display: flex; align-items: center; justify-content: space-between; padding: 0 4cqw; border: 0; background: var(--bone); color: var(--ink); font: 800 4.6cqw var(--display); font-variation-settings: 'wdth' 118; cursor: pointer; }
.kui__key span { background: var(--event); width: 8cqw; height: 8cqw; display: grid; place-items: center; }
.kui__key b { font: inherit; }
.kui__key.is-hidden { visibility: hidden; }
.hero__grain { position: absolute; inset: -4%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); opacity: .07; pointer-events: none; animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%, 100% { transform: translate(0, 0); } 30% { transform: translate(-3%, 2%); } 60% { transform: translate(2%, -3%); } }
.hero__cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; justify-items: center; }
/* the first frame says it in one line, and what it is in small type under it */
.hero__say { position: absolute; left: max(var(--gut), calc((100% - var(--maxw)) / 2)); bottom: clamp(26px, 6vh, 60px); z-index: 4; pointer-events: none; }
.hero__say::before { content: ''; display: block; width: 34px; height: 2px; margin-bottom: 16px; background: var(--lilac); }
.hero__line { margin: 0; font: 900 clamp(28px, 3.3vw, 52px)/.9 var(--display); font-variation-settings: 'wdth' 125; letter-spacing: -.01em; text-transform: uppercase; color: var(--bone); }
.hero__sub { margin: 14px 0 0; font: 500 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
/* the hero's brand line and its Let's pilot key (v120): the buyer learns what Layer does for them on the first frame.
   On a phone the quick-action bar already carries Let's pilot, so the key steps aside there */
.hero__pitch { margin: 16px 0 0; max-width: 31em; font: 600 clamp(15px, 1.25vw, 19px)/1.4 var(--display); color: var(--bone); }
.hero__key { margin-top: 22px; pointer-events: auto; }
/* one Let's pilot at a time: the band's key waits while the hero's is in view, and comes in once the hero's words fade
   or the page is past the hero (a jump straight to a section counts too) */
.band__go { transition: opacity .3s, visibility .3s; }
html:not(.say-gone) body:not(.past-hero) .band__go { opacity: 0; visibility: hidden; }
html.say-gone .hero__key { pointer-events: none; }
.hero__cue { gap: 6px; }
/* the cue: the band's stitches feeding down, into a chevron that bobs (transform only, so it costs the page nothing) */
.hero__cue i { position: relative; width: 2px; height: 64px; overflow: hidden; -webkit-mask: linear-gradient(transparent, #000 30%, #000 75%, transparent); mask: linear-gradient(transparent, #000 30%, #000 75%, transparent); }
.hero__cue i::before { content: ''; position: absolute; left: 0; right: 0; top: -22px; bottom: 0; background: repeating-linear-gradient(180deg, rgba(247, 245, 241, .9) 0 12px, transparent 0 22px); animation: cue-feed .9s linear infinite; }
.hero__cue b { width: 12px; height: 12px; border-right: 2px solid var(--bone); border-bottom: 2px solid var(--bone); transform: rotate(45deg); animation: cue-bob 1.8s ease-in-out infinite; }
@keyframes cue-feed { to { transform: translateY(22px); } }
@keyframes cue-bob { 0%, 100% { transform: translateY(-3px) rotate(45deg); opacity: .7; } 50% { transform: translateY(3px) rotate(45deg); opacity: 1; } }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* the S5 screen: the kiosk's own S5, recorded from the kiosk build (assets/screens/layer/s5-*.mp4) */
.scr-s5 { position: absolute; inset: 0; background: #EFECE5; }
.scr-s5 video, .hs-s5 video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* with the 3D station up, its glass shows S5 itself (the clip as a texture on the model, in true perspective at any
   distance); this pinned screen then carries only the try-on, and the band arrives with it */
.hero.is-3d .hero__screen { background: none; }
.hero.is-3d .scr-s5 { display: none; }
.hero.is-3d .hero__screen .scr-band { opacity: 0; transition: opacity .25s; }
.hero.is-3d .hero__screen.is-try .scr-band { opacity: 1; }
/* one band across every state: the kiosk's real band never changes from screen to screen */
.scr-band { position: absolute; left: 0; top: 0; z-index: 7; width: 100%; height: auto; pointer-events: none; }

/* ── one pose: one shopper, one capture; each look goes on over her in turn (every look is the same photo of her with
   other clothes, so the next one fades in right on top, quickly, and only the clothes change) ── */
.pose { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(28px, 6vw, 110px); }
.pose__h { margin: 0; font: 900 clamp(52px, 8.4vw, 132px)/.86 var(--display); font-variation-settings: 'wdth' 125; text-transform: uppercase; letter-spacing: -.02em; }
.pose__h i { color: var(--bone); font-size: 1.12em; }
/* what a shopper needs, readable at a glance: nothing */
.pose__chips { list-style: none; margin: clamp(22px, 4vh, 36px) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pose__chips li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; background: var(--void); box-shadow: inset 0 0 0 1px var(--line); font: 800 clamp(14px, 1.1vw, 17px)/1 var(--display); font-variation-settings: 'wdth' 115; letter-spacing: .05em; text-transform: uppercase; color: var(--bone); }
.pose__chips svg { width: 22px; height: 22px; flex: none; }
/* her in the studio, as the kiosk captures her; the tag says which look she has on */
.pose__card { position: relative; margin: 0; height: min(calc(100svh - var(--band) - 9vh), 720px); aspect-ratio: 1024 / 1820; overflow: hidden; clip-path: var(--chamfer); background: #f3f3f1; }
.pose__look { position: absolute; inset: 0; opacity: 0; transition: opacity .12s linear; }
.pose__look.on { opacity: 1; transition-duration: .26s; }
.pose__look img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }
.pose__tag { position: absolute; z-index: 5; top: 5%; left: 6%; font: 600 13px var(--mono); letter-spacing: .1em; color: var(--ink); background: var(--lilac); padding: 6px 10px; white-space: nowrap; }

/* ── how it works: one window. The story plays itself on the screen (app.js), and nothing in it follows the scroll ── */
.win.how { display: block; padding: 0; max-width: none; min-height: 100vh; min-height: 100svh; }
.how__copy .h1 { font-size: clamp(34px, 3.9vw, 62px); }
.how__stage { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(40px, 6vw, 104px); align-items: center; padding: calc(var(--band) + 3vh) var(--gut) 3vh; max-width: calc(var(--maxw) + 2 * var(--gut)); margin: 0 auto; }
/* the steps hold still: the one in play is full size and bone, the rest sit smaller and quiet (a scale, so no row ever
   moves); what the step means shows in one fixed slot below them */
.how__steps { list-style: none; margin: clamp(22px, 4vh, 40px) 0 0; padding: 0; display: grid; gap: clamp(2px, .8vh, 8px); max-width: 560px; }
.how__steps button { all: unset; cursor: pointer; display: flex; align-items: baseline; gap: 18px; }
.how__steps button:focus-visible { outline: 2px solid var(--lilac); outline-offset: 4px; }
/* (the numerals are quiet: the bar under them is the progress, the list only names the steps) */
.how__steps b { font: 600 12px var(--mono); letter-spacing: .16em; color: rgba(138, 143, 153, .86); width: 22px; }   /* 4.7:1 on void */
.how__steps span { font: 800 clamp(20px, 2vw, 28px)/1.1 var(--display); font-variation-settings: 'wdth' 118; text-transform: uppercase; color: var(--steel); transform: scale(.74); transform-origin: 0 70%; transition: color .3s, transform .35s var(--out); }
.how__steps li.on b { color: var(--text-2); }
.how__steps li.on span { color: var(--bone); transform: none; }
.how__say { display: grid; margin: 14px 0 0 40px; max-width: 46ch; }
.how__say p { grid-area: 1 / 1; margin: 0; color: var(--text-2); font-size: 15px; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .35s var(--out); }
.how__say p.on { opacity: 1; transform: none; }
.how__track { display: flex; align-items: center; margin-top: clamp(22px, 3.4vh, 34px); max-width: 560px; }
.how__track:empty { display: none; }
/* the player under the steps (app.js: THE BAR). The bar is the film's clock, one segment per step: the steps before are
   full, the one in play fills as it plays (its move, then its rest), the next one's track is lighter (where a click
   goes). The forward key at its end is bone and the heaviest thing here: it jumps to the next step now, and on the last
   it starts again. The pause key is an outline, lighter. The screen itself is a forward click too (hovering it lights
   the forward key). No lime: lime is GO only */
.play { flex: 1; display: flex; align-items: center; gap: 14px; }
.play__bar { flex: 1; display: flex; gap: 6px; }
.play__seg { all: unset; flex: 1; height: 32px; display: grid; align-items: center; cursor: pointer; }
.play__seg i { position: relative; display: block; height: 4px; overflow: hidden; background: rgba(247, 245, 241, .17); box-shadow: 0 0 0 1px rgba(8, 7, 10, .5); transition: background-color .25s; }
.play__seg i::after { content: ''; position: absolute; inset: 0; background: var(--bone); transform-origin: 0 50%; transform: scaleX(var(--k, 0)); }
.play__seg.is-next i { background: rgba(236, 230, 255, .42); }
.play__seg:hover i { background: rgba(236, 230, 255, .6); }
.play__next { all: unset; flex: none; width: 48px; height: 48px; display: grid; place-items: center; background: var(--bone); color: var(--ink); clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px)); cursor: pointer; transition: background-color .2s; }
.play__next svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: square; overflow: visible; }
.play__arrow { transition: transform .25s var(--out); }
.play__again, .play__next.is-end .play__arrow { display: none; }
.play__next.is-end .play__again { display: inline; }
.play__next:hover, .how:has(.device:hover) .play__next { background: #fff; }
.play__next:hover .play__arrow, .how:has(.device:hover) .play__arrow { transform: translateX(3px); }
.play__pause { all: unset; flex: none; width: 40px; height: 40px; display: grid; place-items: center; color: var(--mist); box-shadow: inset 0 0 0 1.5px rgba(236, 230, 255, .5); cursor: pointer; transition: box-shadow .2s, color .2s; }
.play__pause:hover { color: var(--bone); box-shadow: inset 0 0 0 1.5px var(--mist); }
/* pause: two bars; paused (or reduced motion): a play triangle */
.play__pause i { width: 10px; height: 12px; box-shadow: inset 3px 0 0 currentColor, inset -3px 0 0 currentColor; }
.play.is-paused .play__pause i { width: 0; height: 0; margin-left: 3px; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; box-shadow: none; }
.play__next:focus-visible, .play__pause:focus-visible { outline: 2px solid var(--lilac); outline-offset: 3px; }
@media (pointer: coarse) { .play__seg { height: 44px; } .play__next { width: 52px; height: 52px; } .play__pause { width: 44px; height: 44px; } }

/* the station: the 3D model's own head, rendered turned; the screen is pinned onto its glass */
/* only the head, down to the screen's lower bezel: the camera box and the base fall away, so the real screens show large */
.device { position: relative; cursor: pointer; height: min(calc(100svh - var(--band) - 6vh), 860px); aspect-ratio: 900 / 1190; overflow: hidden; -webkit-mask: linear-gradient(#000 95%, transparent); mask: linear-gradient(#000 95%, transparent); }
.device__frame { position: absolute; left: 0; top: 0; width: 100%; height: auto; aspect-ratio: 900 / 1576; }
.device__screen { position: absolute; left: 0; top: 0; width: 540px; height: 960px; transform-origin: 0 0; overflow: hidden; background: #000; container-type: inline-size; }
.hs { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hs--a { z-index: 1; } .hs--b { z-index: 2; opacity: 0; } .hs--scrim { z-index: 3; opacity: 0; } .hs--sheet { z-index: 4; opacity: 0; }
/* S5 and every beat between screens (the kiosk's s4-up, s4-fade, s4-sheet-in, its tap and the capture flash, kiosk px
   halved for the 540 screen) are drawn by app.js at any point of the move, so the scroll can play them both ways */
.hs-s5 { position: absolute; inset: 0; z-index: 5; opacity: 0; visibility: hidden; overflow: hidden; will-change: transform; }
/* S5 rises from PUT IT ON ME: the frame moves up while its content counter-moves (app.js), so it reads as an edge. In
   step 5 the ring swells about its own hole (266, 472 in the 540 x 960 frame) */
.hs-s5__in { position: absolute; inset: 0; will-change: transform; transform-origin: 266px 472px; }
/* step 5: her photo, over S5, opening out of the ring's hole (a circle clip, app.js), then settling into S6's card */
.hs--her { z-index: 6; opacity: 0; visibility: hidden; transform-origin: 0 0; will-change: transform; }
/* a press: where the shopper's finger lands */
.hs-tap { position: absolute; z-index: 8; left: calc(var(--x, .5) * 100%); top: calc(var(--y, .5) * 100%); width: 16%; aspect-ratio: 1; border-radius: 50%; translate: -50% -50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .55), rgba(255, 255, 255, .15) 70%, transparent); box-shadow: 0 0 0 2px rgba(255, 255, 255, .9); opacity: 0; pointer-events: none; }
/* the capture */
.hs-flash { position: absolute; inset: 0; z-index: 9; background: #fff; opacity: 0; pointer-events: none; }
.how__kiosk { position: relative; }

/* ── crew: inside a brand experience room ── */
.crew { max-width: none; align-content: end; padding-bottom: clamp(40px, 9vh, 96px); overflow: hidden; }
.crew__shot { position: absolute; inset: 0; margin: 0; }
.crew__shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.crew__shot::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 7, 10, .82), rgba(8, 7, 10, .35) 34%, transparent 52%), linear-gradient(0deg, rgba(8, 7, 10, .7), transparent 38%), linear-gradient(180deg, rgba(8, 7, 10, .6), transparent 18%); }
.crew__copy { position: relative; z-index: 1; max-width: var(--maxw); width: 100%; margin: 0 auto; }

/* ── THE FIRST PILOT: Max's tone (condensed caps, lime, booth charcoal) ── */
.drop { position: relative; overflow: hidden; background: linear-gradient(180deg, rgba(8, 7, 10, 0), rgba(27, 25, 38, .84) 14%, rgba(20, 18, 28, .84) 86%, rgba(8, 7, 10, 0)); }
.tick { overflow: hidden; background: var(--event); color: var(--ink); padding: 12px 0; z-index: 3; }
/* full bleed, wider than the window on both sides, so the tilt never shows an end */
.drop__live .tick { position: absolute; top: calc(var(--band) + 14px); left: 50%; width: calc(100vw + 160px); margin-left: calc(-50vw - 80px); transform: rotate(-1.2deg); }
.tick__track { display: inline-flex; white-space: nowrap; font: 900 clamp(15px, 1.4vw, 20px)/1 var(--display); font-variation-settings: 'wdth' 70; letter-spacing: .04em; text-transform: uppercase; animation: tick 38s linear infinite; }
.tick__track span { padding-right: .4em; }
.tick__track .ta { font-family: var(--tamil); font-weight: 700; }
@keyframes tick { to { transform: translateX(-50%); } }
.mx-h { margin: 0; font: 900 clamp(56px, 7.4vw, 120px)/.84 var(--display); font-variation-settings: 'wdth' 62; text-transform: uppercase; letter-spacing: 0; }
.mx-h i { font: italic 400 .92em/1 var(--serif); text-transform: none; letter-spacing: -.02em; color: var(--event); }
.mx-h--sm { font-size: clamp(44px, 5.2vw, 86px); }
.drop p { color: var(--text-2); }

.drop__live { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding-top: calc(var(--band) + 84px); }
.drop__shot { margin: 0; position: relative; justify-self: start; }
.drop__shot img { width: auto; max-width: 100%; height: min(calc(100svh - var(--band) - 150px), 700px); aspect-ratio: 960 / 924; object-fit: cover; object-position: 30% 50%; clip-path: var(--chamfer); }
.drop__shot figcaption { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; background: rgba(8, 7, 10, .82); color: var(--event); font: 600 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 9px 12px; }
.drop__lock { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-bottom: 28px; }
.drop__max { height: clamp(64px, 7vw, 96px); width: auto; }
.drop__layer { height: clamp(64px, 7vw, 96px); width: auto; }
.drop__by { font: 500 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--steel); }
.drop__x { font: 300 clamp(30px, 3.2vw, 46px)/1 var(--display); color: var(--bone); }
.drop__panel p { max-width: 42ch; margin: 18px 0 0; }
.drop__panel .mx-h { margin-top: 4px; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 40px; margin: 24px 0 0; }
.facts dt { font: 500 11px var(--mono); letter-spacing: .14em; color: var(--steel); text-transform: uppercase; }
.facts dd { margin: 6px 0 0; font-weight: 700; }
.drop__next { display: flex; align-items: center; gap: 18px; margin-top: 30px; padding: 16px 18px; text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(255, 255, 255, .025) 10px 20px); max-width: 520px; }
.drop__next span:first-child { font: 600 12px var(--mono); letter-spacing: .14em; color: var(--steel); }
.drop__next b { font: 800 18px var(--display); font-variation-settings: 'wdth' 118; text-transform: uppercase; flex: 1; }

/* from the floor: the real UN-MUTE photos */
.drop__floor { grid-template-columns: minmax(220px, .3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; align-content: center; }
.floor__k { margin: 18px 0 0; max-width: 22ch; font: 500 11px/1.6 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--steel) !important; }
.floor { display: grid; gap: 12px; justify-self: end; width: min(100%, calc((100svh - var(--band) - 9vh - 12px) * 1.65)); }
.floor__row { display: flex; gap: 12px; aspect-ratio: var(--s); }
.fl { margin: 0; overflow: hidden; position: relative; flex: var(--a) 1 0; min-width: 0; }
.fl img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--out); }
.fl:hover img { transform: scale(1.04); }

/* their drop, our station: zoomed views, framed like the kiosk camera */
.drop__skin { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.skin__copy p { max-width: 36ch; margin: 22px 0 0; }
.skin__tiles { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 14px; }
.zoom { margin: 0; position: relative; background: #0c0b10; padding: 14px; }
.zoom::after { content: ''; position: absolute; inset: 8px; pointer-events: none;
  background: linear-gradient(var(--event), var(--event)) 0 0 / 18px 2px, linear-gradient(var(--event), var(--event)) 0 0 / 2px 18px,
    linear-gradient(var(--event), var(--event)) 100% 0 / 18px 2px, linear-gradient(var(--event), var(--event)) 100% 0 / 2px 18px,
    linear-gradient(var(--event), var(--event)) 0 100% / 18px 2px, linear-gradient(var(--event), var(--event)) 0 100% / 2px 18px,
    linear-gradient(var(--event), var(--event)) 100% 100% / 18px 2px, linear-gradient(var(--event), var(--event)) 100% 100% / 2px 18px;
  background-repeat: no-repeat; }
.zoom figcaption { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin-top: 12px; }
.zoom figcaption b { color: var(--event); font-weight: 600; margin-right: 10px; }
.zoom--band { grid-column: 1 / 3; }
.zoom--band img { width: 100%; height: auto; aspect-ratio: 1080 / 300; object-fit: cover; }
.zoom__device { margin: 0 auto; height: min(36svh, 330px); aspect-ratio: 9 / 16; overflow: hidden; box-shadow: 0 0 0 6px #050406, 0 0 0 7px #26232e; }
.zoom__device img { width: 100%; height: 100%; object-fit: cover; }
.loupe-wrap { position: relative; height: min(34svh, 312px); aspect-ratio: 760 / 1210; margin: 8px auto 0; }
/* the prints are plain rectangles, so their shadows are box-shadows: a drop-shadow filter draws the same shadow through
   an offscreen blur, and as the prints came into range that blur held the GPU for a visible moment */
.loupe-wrap > img { width: 100%; height: 100%; transform: rotate(-3deg); box-shadow: 0 16px 24px rgba(0, 0, 0, .5); }
/* two loupes on the print: Max's mark, and ours */
.loupe { position: absolute; width: 56%; aspect-ratio: 1; border-radius: 50%; background: 0 0 / 480% auto no-repeat; box-shadow: 0 0 0 3px var(--ring, var(--event)), 0 0 0 9px rgba(8, 7, 10, .9), 0 20px 40px rgba(0, 0, 0, .6); }
.zoom.near .loupe { background-image: url(assets/img/print-urbn-2.webp); }
.loupe--max { right: -34%; top: -6%; background-position: 90.7% 8.5%; }

/* prints: limited time, UN-MUTE only */
.drop__prints { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.ltd { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 8px 12px; box-shadow: inset 0 0 0 1px rgba(157, 255, 0, .5); color: var(--event) !important; font: 600 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.prints__copy p:last-child { max-width: 36ch; margin: 22px 0 0; }
.prints__table { position: relative; height: min(66svh, 620px); align-self: center; }
.pol { position: absolute; top: var(--y); left: var(--x); height: 62%; aspect-ratio: 760 / 1210; margin: 0; transform: rotate(var(--r)); transition: transform .6s var(--out); box-shadow: 0 22px 30px rgba(0, 0, 0, .55); }
.pol img { width: 100%; height: 100%; object-fit: cover; }
.pol--1 { --x: 2%; --y: 22%; --r: -9deg; z-index: 1; }
.pol--3 { --x: 24%; --y: 5%; --r: 4deg; z-index: 5; }
.pol--4 { --x: 46%; --y: 27%; --r: -5deg; z-index: 4; }
.pol--5 { --x: 68%; --y: 8%; --r: 8deg; z-index: 2; }
.pol:hover { transform: rotate(0) translateY(-10px) scale(1.04); z-index: 6; }
.prints__note { position: absolute; left: 2%; bottom: 0; margin: 0; font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--steel) !important; }

/* ── for brands ── */
.brands { gap: clamp(22px, 4vh, 44px); grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: clamp(28px, 5vw, 80px); align-items: center; }
.brands .h1 { grid-column: 1 / -1; }
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vs__card { padding: 18px; }
.vs__art { aspect-ratio: 4 / 5; max-height: 42svh; width: 100%; display: grid; place-content: center; gap: 6px; margin-bottom: 16px; overflow: hidden; }
.vs__card--banner .vs__art { background: #cfccc6; color: #2b2925; text-align: left; place-content: center start; padding: 0 12%; gap: 10px; filter: saturate(.4) brightness(.62); }
.vs__tag { font: 600 11px var(--mono); letter-spacing: .16em; }
.vs__big { font: 900 clamp(26px, 2.6vw, 40px)/.92 var(--display); font-variation-settings: 'wdth' 125; }
.vs__small { font: 400 10px var(--mono); }
.vs__card--layer { background: linear-gradient(180deg, rgba(34, 26, 56, .72), rgba(20, 18, 32, .62)); box-shadow: inset 0 2px 0 var(--lilac); }
.vs__card--layer .vs__art { place-content: stretch; }
.vs__card--layer .vs__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.vs__k { margin: 0; font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }
.vs__v { margin: 6px 0 0; font: 800 clamp(16px, 1.4vw, 20px)/1.2 var(--display); font-variation-settings: 'wdth' 112; text-transform: uppercase; color: #8a8790; }
.vs__card--layer .vs__v { color: var(--bone); }
.gains { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
/* each gain is its own pane: a lifted tint over the frost and a hairline edge, so the three never read as one block */
.gains li { padding: 22px 24px 22px 28px; position: relative; background: linear-gradient(rgba(247, 245, 241, .055), rgba(247, 245, 241, .02)), rgba(16, 15, 21, .62); box-shadow: inset 0 0 0 1px rgba(247, 245, 241, .1); }
.gains li::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 2px; background: repeating-linear-gradient(180deg, var(--lilac) 0 8px, transparent 0 13px); }
.gains b { display: block; font: 900 clamp(18px, 1.6vw, 22px) var(--display); font-variation-settings: 'wdth' 125; text-transform: uppercase; margin-bottom: 6px; }
.gains span { color: var(--text-2); font-size: 15px; }

/* ── pilots: the readout, in the shape of a real one ── */
.pilot { grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.pilot__steps { list-style: none; margin: clamp(22px, 4vh, 40px) 0 0; padding: 0; display: grid; gap: 2px; }
.pilot__steps li { padding: 16px 20px; display: grid; gap: 4px; }
.pilot__steps b { font: 800 15px var(--display); font-variation-settings: 'wdth' 118; letter-spacing: .02em; color: var(--bone); text-transform: uppercase; }
.pilot__steps span { color: var(--text-2); font-size: 15px; }
.pilot__keys { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(20px, 3.5vh, 34px); }
.readout { background: rgba(5, 4, 6, .62); box-shadow: inset 0 0 0 1px var(--line); padding: clamp(18px, 2.4vw, 30px); }
.readout__head { display: flex; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.readout__head img { height: 26px; width: auto; }
.readout__head span { font: 800 15px var(--display); font-variation-settings: 'wdth' 118; text-transform: uppercase; }
.readout__head em { margin-left: auto; }
.readout__kpis { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.readout__kpis div { padding: clamp(14px, 2.4vh, 24px) 14px clamp(14px, 2.4vh, 24px) 0; }
.readout__kpis div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.readout__kpis b { display: block; font: 400 clamp(46px, 5vw, 84px)/.95 var(--serif); letter-spacing: -.02em; }
.readout__kpis small { font-size: .5em; margin: 0 .08em; }
.readout__kpis span { color: var(--lilac); font-size: 15px; }
.readout__top { padding-top: 18px; }
.readout__k { display: flex; justify-content: space-between; align-items: center; margin: 0 0 12px; font: 600 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--steel); }
.readout__k span { display: inline-flex; align-items: center; gap: 8px; letter-spacing: .08em; }
.readout i.t { background: var(--lilac); }
.readout ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.readout li { display: grid; grid-template-columns: 34px 170px 1fr; column-gap: 12px; align-items: center; font-size: 14px; }
.readout li b { grid-row: 1 / 3; color: var(--bone); font: 700 15px var(--display); }
.readout li small { font: 500 10px var(--mono); letter-spacing: .1em; color: var(--steel); text-transform: uppercase; margin-left: 6px; }
.readout li span { grid-row: 1 / 3; color: var(--text-2); }
.readout li i { height: 4px; width: var(--w); }
.readout footer { margin-top: 16px; font: 500 11px var(--mono); letter-spacing: .08em; color: var(--steel); }

/* ── machine ── */
.machine { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
/* the picture is a portrait (station-tall.webp, 940 x 1550, its edges feathered into its alpha), sized by the window's
   height and shown whole: the box has the picture's own shape, so nothing is ever cropped, and the pins sit in the
   picture's own coordinates (% of the box = % of the picture) */
/* (centred in its column: the kiosk and its labels sit as one group, with no dead stretch between it and the copy) */
.machine__shot { position: relative; margin: 0; justify-self: center; container-type: inline-size;
  --sh: min(84svh, 900px, calc(100svh - var(--band) - 2 * clamp(24px, 4.5vh, 56px)));
  width: min(100%, calc(var(--sh) * 940 / 1550)); aspect-ratio: 940 / 1550; }
.machine__shot img { width: 100%; height: 100%; object-fit: contain; }
/* a pin: a bone dot on the part itself, a leader long enough to clear the kiosk (--l), then the words on the studio */
.pin { --l: 36px; position: absolute; left: var(--x); top: var(--y); font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mist); padding-left: calc(var(--l) + 8px); white-space: nowrap; transform: translateY(-50%); }
.pin::before { content: ''; position: absolute; left: 0; top: 50%; width: var(--l); height: 1px; background: var(--mist); opacity: .6; }
.pin::after { content: ''; position: absolute; left: -2px; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: var(--bone); }
.machine__copy .lede { margin-top: 14px; }
.spec { width: 100%; border-collapse: collapse; margin-top: clamp(20px, 3vh, 30px); }
.spec th, .spec td { text-align: left; padding: 10px 0; border-top: 1px solid var(--line); vertical-align: top; }
.spec th { font: 500 11px var(--mono); letter-spacing: .14em; color: var(--steel); text-transform: uppercase; width: 34%; padding-top: 13px; }
.spec tr:first-child td { color: var(--lilac); font-family: var(--mono); letter-spacing: .08em; }
.spec td { font-weight: 600; font-size: 15px; }

/* ── faq ── */
.faq { gap: clamp(22px, 4vh, 40px); }
.faq__head { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.faq__list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(28px, 4vw, 64px); align-items: start; }
.faq__col details:last-child { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 17px 40px 17px 0; font: 800 18px var(--display); font-variation-settings: 'wdth' 112; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 13px; font: 400 26px var(--mono); color: var(--lilac); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--text-2); max-width: 60ch; }

/* ── mirai ── */
.mirai { gap: clamp(22px, 4vh, 40px); }
.mirai__row { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.mirai__logo { height: 56px; width: auto; }
.mirai__row p { color: var(--text-2); max-width: 56ch; margin: 0; }
/* the programmes, carried on a stitched band like the kiosk's; it never stops */
.backers { position: relative; display: flex; align-items: center; overflow: hidden; padding: 22px 0; margin: 0 calc(-1 * var(--gut)); background: rgba(12, 11, 16, .66); }
.backers__k { flex: none; align-self: stretch; display: grid; place-items: center; padding: 0 22px 0 var(--gut); margin-right: 8px; font: 600 11px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--bone); box-shadow: 1px 0 0 var(--line); background: rgba(12, 11, 16, .92); position: relative; z-index: 1; }
.backers__run { overflow: hidden; flex: 1; display: flex; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.backers__lane { display: flex; flex: none; width: max-content; animation: run 40s linear infinite; }
.backers__track { display: flex; flex: none; align-items: center; gap: 16px; padding-right: 16px; }
@keyframes run { to { transform: translateX(-50%); } }
/* every programme on the same bone chip: marks in their owners' own colours, the rest as text */
.chip { flex: none; display: inline-grid; place-items: center; height: 52px; padding: 0 18px; background: var(--bone); clip-path: var(--chamfer); }
.chip img { height: 30px; width: auto; }
.chip img[src*="vnest"] { height: 42px; }
.chip img[src*="startupindia"] { height: 34px; }
.chip--claude { padding: 0 20px; }
.chip--claude img { height: 21px; }
/* the badge is drawn on white: multiplied onto the bone chip, its ground disappears */
.chip--nvidia img { height: 40px; mix-blend-mode: multiply; }
.chip--dpiit { display: inline-flex; align-items: center; gap: 12px; padding: 0 20px 0 12px; }
.chip--dpiit img { height: 46px; }
.chip--dpiit > span { display: grid; gap: 5px; }
.chip--dpiit b { font: 800 13px/1 var(--display); font-variation-settings: 'wdth' 118; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.chip--dpiit small { font: 500 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #5E5D59; }
.chip--txt { font: 800 13px var(--display); font-variation-settings: 'wdth' 118; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mate { margin: 0; }
/* the tile stays square (a short window narrows it rather than cropping the portrait); the photos share one eye line */
.mate__ph { position: relative; overflow: hidden; aspect-ratio: 1; width: min(100%, 40svh); clip-path: var(--chamfer); }
.mate__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--out); }
/* hover: the kiosk's capture moment, played on the team: frame corners lock on, a chrome sweep passes, the card rises */
.mate__ph::before { content: ''; position: absolute; inset: 10px; z-index: 2; pointer-events: none; opacity: 0; transform: scale(1.06); transition: opacity .35s, transform .45s var(--out);
  background: linear-gradient(var(--bone), var(--bone)) 0 0 / 20px 2px, linear-gradient(var(--bone), var(--bone)) 0 0 / 2px 20px,
    linear-gradient(var(--bone), var(--bone)) 100% 0 / 20px 2px, linear-gradient(var(--bone), var(--bone)) 100% 0 / 2px 20px,
    linear-gradient(var(--bone), var(--bone)) 0 100% / 20px 2px, linear-gradient(var(--bone), var(--bone)) 0 100% / 2px 20px,
    linear-gradient(var(--bone), var(--bone)) 100% 100% / 20px 2px, linear-gradient(var(--bone), var(--bone)) 100% 100% / 2px 20px; background-repeat: no-repeat; }
.mate__ph::after { content: ''; position: absolute; inset: -20% -60%; z-index: 1; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(236, 230, 255, .0) 42%, rgba(236, 230, 255, .42) 50%, rgba(179, 157, 241, .25) 54%, transparent 62%); transform: translateX(-70%); }
.mate__card { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3; padding: 12px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  background: rgba(20, 17, 30, .34); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); box-shadow: inset 0 0 0 1px rgba(247, 245, 241, .16), 0 12px 30px rgba(0, 0, 0, .3);
  transform: translateY(calc(100% + 14px)); transition: transform .45s var(--out); }
.mate__card span { font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--bone); background: rgba(247, 245, 241, .14); box-shadow: inset 0 0 0 1px rgba(247, 245, 241, .28); padding: 4px 7px; }
.mate__in { flex-basis: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 4px; height: 36px; font: 800 12px var(--display); font-variation-settings: 'wdth' 118; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--ink); background: var(--bone); clip-path: var(--chamfer); transition: background .2s; }
.mate__in:hover { background: #fff; }
.mate__in svg { width: 15px; height: 15px; fill: currentColor; }
.mate:hover .mate__ph img, .mate:focus-within .mate__ph img { transform: scale(1.05); }
.mate:hover .mate__ph::before, .mate:focus-within .mate__ph::before { opacity: 1; transform: none; }
.mate:hover .mate__ph::after, .mate:focus-within .mate__ph::after { transform: translateX(70%); transition: transform 1.1s cubic-bezier(.6, 0, .2, 1); }
.mate:hover .mate__card, .mate:focus-within .mate__card { transform: none; }
.mate figcaption { font-weight: 700; margin-top: 12px; font-size: 15px; }
.mate figcaption span { display: block; font: 500 11px var(--mono); letter-spacing: .14em; color: var(--steel); text-transform: uppercase; margin-top: 4px; }

/* ── contact: the kiosk's sheet, now YOUR PILOT ── */
.contact { grid-template-columns: minmax(0, 1fr) minmax(320px, 540px); gap: clamp(28px, 6vw, 100px); align-items: center; }
.contact__copy .key { margin-top: 30px; }
.contact__mail { font: 500 13px var(--mono); color: var(--steel); margin-top: 20px; }
.sheet-wrap { position: relative; }
.sheet { position: relative; padding: 28px; background: radial-gradient(85% 55% at 24% 0%, rgba(140, 104, 235, .3), transparent), radial-gradient(50% 35% at 96% 0%, rgba(210, 86, 183, .07), transparent), linear-gradient(180deg, #25163F 0%, #1C1231 46%, #150E25 100%); }
.thread--lid { top: 0; height: 2px; }
.sheet__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.sheet__head b { font: 900 28px var(--display); font-variation-settings: 'wdth' 125; }
.sheet__head span { font: 500 11px var(--mono); letter-spacing: .14em; color: var(--text-2); text-transform: uppercase; }   /* 6.6:1 on the violet sheet */
.seg { display: inline-flex; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 22px; }
.seg--role { border: 0; padding: 0; margin: 0 0 4px; }
.seg--role label { position: relative; cursor: pointer; }
.seg--role input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg--role span { display: block; color: var(--text-2); font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; padding: 11px 15px; }
.seg--role input:checked + span { background: var(--lilac); color: var(--ink); }
.seg--role input:focus-visible + span { outline: 2px solid var(--lilac); outline-offset: 2px; }
.field { display: grid; gap: 7px; margin: 14px 0 0; }
.field span { font: 500 11px var(--mono); letter-spacing: .16em; color: var(--steel); text-transform: uppercase; }
.field input { height: 50px; padding: 0 16px; background: rgba(5, 4, 6, .55); border: 0; box-shadow: inset 0 0 0 1px var(--line); color: var(--bone); font: 700 17px var(--display); outline: none; width: 100%; min-width: 0; }
.field input:focus { box-shadow: inset 0 0 0 1.5px var(--lilac); }
.sheet__two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.sheet__keys { display: flex; gap: 12px; margin-top: 24px; }
.sheet__done { margin-top: 16px; }
.sheet__done p { margin: 0 0 10px; font: 600 13px var(--mono); color: var(--mist); }
.sheet__send { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.sheet__err { margin: 0 0 14px; font: 500 13px var(--mono); color: #FFB4A6; }
.sheet__hint { margin: 8px 0 0; font: 500 12px var(--mono); color: var(--steel); }
.sheet__hint a { color: var(--text-2); }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #FFB4A6; }
.sheet__send a#fMail { font: 500 13px var(--mono); color: var(--text-2); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--bone); color: var(--ink); padding: 10px 14px; font: 700 14px var(--display); }
.skip:focus { top: 12px; }

/* ── footer ── */
.foot { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 32px 40px; padding: 56px max(var(--gut), calc((100% - var(--maxw)) / 2)) 56px; scroll-snap-align: end; }
.foot__brand { grid-column: 1 / -1; }
.foot__brand img { display: block; height: clamp(72px, 6.4vw, 104px); width: auto; }
.foot__legal p { margin: 0 0 6px; font: 400 12px var(--mono); color: var(--steel); }
.foot__legal a { color: var(--text-2); }
.foot__social { display: grid; gap: 8px; justify-items: end; }
.foot__social a { font: 500 12px var(--mono); letter-spacing: .08em; color: var(--text-2); text-decoration: none; }
.foot__social a:hover { color: var(--bone); }
.mbar { display: none; }

/* ── legal pages ── */
.legal { max-width: 760px; margin: 0 auto; padding: calc(var(--band) + 64px) var(--gut) 96px; }
.legal h1 { font: 900 clamp(40px, 6vw, 72px)/.92 var(--display); font-variation-settings: 'wdth' 125; text-transform: uppercase; margin: 0 0 12px; }
.legal h2 { font: 800 20px var(--display); font-variation-settings: 'wdth' 112; text-transform: uppercase; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--text-2); }
.legal strong { color: var(--bone); }
.legal .legal__date { font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
.legal__back { margin-left: auto; font: 700 13px var(--display); font-variation-settings: 'wdth' 115; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--text-2); }
.legal__back:hover { color: var(--bone); }

/* ── laptops shorter than 820px: tighten so every scene still fits ── */
@media (max-height: 820px) and (min-width: 861px) {
  .prints__table { height: 60svh; }
  .spec th, .spec td { padding: 8px 0; }
  .mate__ph { width: min(100%, 34svh); }
  .faq summary { padding: 13px 40px 13px 0; }
  .zoom__device { height: 31svh; }
  .loupe-wrap { height: 29svh; }
  .drop__shot img { height: calc(100svh - var(--band) - 170px); }
  .drop__max, .drop__layer { height: 60px; }
  .drop__lock { margin-bottom: 16px; }
  .drop__next { margin-top: 20px; }
  .vs__art { max-height: 34svh; }
  .gains li { padding: 15px 20px; }
  .pilot__steps li { padding: 11px 18px; }
  .readout__kpis div { padding-top: 12px; padding-bottom: 12px; }
  .readout ol { gap: 6px; }
  .sheet { padding: 20px 24px; }
  .sheet__head { margin-bottom: 10px; }
  .field { margin-top: 9px; gap: 5px; }
  .field input { height: 42px; }
  .sheet__keys { margin-top: 16px; }
  .sheet__keys .key { height: 50px; }
}

/* ── phones ── */
@media (max-width: 860px) {
  :root { --band: 58px; }
  .band { gap: 12px; }
  .band > .key, .pin-go { display: none; }
  .band { padding-left: var(--gut); }
  .band__brand { --u: .58px; }
  .band__menu { display: inline-flex; align-items: center; margin-left: auto; min-height: 44px; background: none; border: 0; color: var(--bone); font: 700 13px var(--display); font-variation-settings: 'wdth' 115; letter-spacing: .06em; text-transform: uppercase; padding: 12px 8px; cursor: pointer; }
  .band__nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gut) 16px; background: rgba(8, 7, 10, .97); border-bottom: 1px solid var(--line); }
  .band__nav.open { display: flex; }
  .band__nav a { padding: 14px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
  .win { min-height: auto; padding-top: calc(var(--band) + 36px); padding-bottom: 56px; }
  /* a phone's act one is longer (app.js: ACT .6 of the scroll): one ordinary swipe covers a third to a half of the push,
     not all of it (v117 round 2; it was 240vh with the push in the first .42) */
  .hero { height: 360vh; }
  .hero__say { bottom: calc(96px + env(safe-area-inset-bottom)); right: var(--gut); }
  /* the caption sits over the station's stand on a phone: a quiet floor of void behind it keeps the subline whole */
  .hero__say::after { content: ''; position: absolute; z-index: -1; left: calc(-1 * var(--gut)); right: calc(-1 * var(--gut)); top: -44px; bottom: -28px; background: linear-gradient(to bottom, rgba(8, 7, 10, 0), rgba(8, 7, 10, .84) 42%); }
  .hero__line { font-size: clamp(26px, 8.4vw, 34px); }
  .hero__sub { font-size: 11px; }
  .hero__key { display: none; }
  .hero__pitch { font-size: 15px; }
  .pose { grid-template-columns: minmax(0, 1fr); min-height: 100svh; align-content: center; gap: 22px; padding-bottom: 92px; }
  .pose__h { font-size: clamp(44px, 14.5vw, 64px); }
  .pose__chips { margin-top: 16px; }
  .pose__chips li { padding: 8px 12px 8px 9px; font-size: 13px; }
  .pose__chips svg { width: 18px; height: 18px; }
  .pose__card { justify-self: center; margin: 0 0 24px; height: min(44svh, 400px); }
  .drop__live, .drop__skin, .drop__prints, .machine, .brands, .pilot, .faq__list, .contact, .mirai__row { grid-template-columns: minmax(0, 1fr); }
  .drop__live { padding-top: calc(var(--band) + 78px); }
  .drop__shot img { height: auto; width: 100%; }
  .crew { padding-top: calc(var(--band) + 24px); }
  .crew__shot { position: relative; inset: auto; margin: 0 calc(-1 * var(--gut)) 22px; }
  .crew__shot img { height: auto; aspect-ratio: 4 / 3; }
  .crew__shot::after { display: none; }
  .faq__col:first-child details:last-child { border-bottom: 0; }
  .facts { grid-template-columns: 1fr 1fr; }
  .drop__floor { grid-template-columns: minmax(0, 1fr); }
  /* a phone: one swipeable row, every photo whole */
  .floor { width: auto; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); }
  .floor__row { display: contents; }
  .fl { flex: none; height: min(64vw, 300px); aspect-ratio: var(--a); scroll-snap-align: start; }
  .skin__tiles { grid-template-columns: 1fr 1fr; }
  .zoom__device { height: auto; width: 100%; }
  .drop__shot { justify-self: stretch; }
  .loupe-wrap { height: auto; width: 58%; }
  .loupe { width: 62%; }
  .loupe--max { right: -44%; }
  .prints__table { height: 92vw; }
  .how__stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: start; gap: 18px; padding-top: calc(var(--band) + 18px); padding-bottom: 86px; }
  .how__copy .h1 { font-size: 30px; }
  .how__steps { margin-top: 14px; gap: 2px; }
  .how__steps li { grid-area: 1 / 1; }
  .how__steps li:not(.on) { visibility: hidden; }
  .how__steps span { font-size: 22px; transform: none; }
  .how__say { margin: 6px 0 0 40px; }
  .how__track { margin-top: 10px; }
  .play { gap: 10px; }
  .how__kiosk { justify-self: center; }
  .device { height: min(58svh, 720px, calc((100vw - 2 * var(--gut)) * 1190 / 900)); }   /* (720: a portrait tablet's kiosk fills its window) */

  .vs__art { aspect-ratio: 3 / 4; max-height: none; }
  .readout li { grid-template-columns: 30px 1fr; row-gap: 4px; }
  .readout li i { grid-column: 2; }
  .readout__kpis b { font-size: 40px; }
  .team { grid-template-columns: 1fr 1fr; }
  .mate__ph { width: 100%; }
  /* no hover on a phone: the LinkedIn key sits on the photo */
  .mate__card { transform: none; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; left: auto; padding: 8px; justify-content: flex-end; }
  .mate__card span { display: none; }
  .mate__in { flex-basis: auto; width: 40px; height: 40px; font-size: 0; gap: 0; }
  .mate__in svg { width: 17px; height: 17px; }
  .sheet-wrap { margin-top: 48px; }
  .foot { grid-template-columns: 1fr; padding-bottom: calc(120px + env(safe-area-inset-bottom)); }
  .foot__brand img { height: auto; width: 40%; max-width: 170px; }
  .foot__social { justify-items: start; }
  .mbar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(8, 7, 10, .96); border-top: 1px solid var(--line); transition: transform .35s var(--out); }
  .at-contact .mbar, .typing .mbar { transform: translateY(110%); }
  .mbar .key { min-height: 44px; }
  .seg--role span { padding: 16px 15px; }
  .mbar .key { flex: 1; justify-content: center; }
  .mbar .key--bone { flex: 2; }
  /* phones and portrait tablets: centred, sized by the window's height (an iPad's kiosk about as tall as v116's) */
  .machine__shot { --sh: min(66svh, 900px); }
  /* the quick-action bar steps aside while How it works is in view: the kiosk's own keys (TRY ANOTHER, FINISH) are the
     story's last frame, and two rows of keys under it read as clutter */
  .in-how .mbar { transform: translateY(110%); }
  .pin { --l: 14px; font-size: 11px; letter-spacing: .06em; padding-left: calc(var(--l) + 6px); white-space: normal; width: 44%; line-height: 1.25; transform: translateY(-.6em); }
  .pin::before, .pin::after { top: .6em; }
}
@media (max-width: 960px) and (max-height: 500px) and (orientation: landscape) {
  .how__stage { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr; align-items: center; padding-top: calc(var(--band) + 8px); padding-bottom: 8px; }
  .how__copy .h1 { font-size: 24px; }
  .device { height: calc(100svh - var(--band) - 20px); }
  .machine { grid-template-columns: auto minmax(0, 1fr); padding-top: calc(var(--band) + 12px); padding-bottom: 12px; }
  .machine__shot { --sh: calc(100svh - var(--band) - 24px); width: calc(var(--sh) * 940 / 1550); align-self: start; margin-right: clamp(84px, 11vw, 120px); }
  .pin { white-space: nowrap; width: auto; }
  .mbar { display: none; }
  .foot { padding-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .play__pause { display: none; }                               /* (nothing plays by itself: the steps wait for a click) */
  .backers__run { flex-wrap: wrap; justify-content: center; mask-image: none; -webkit-mask-image: none; }
  .backers__track { flex: 1 1 100%; min-width: 0; flex-wrap: wrap; justify-content: center; row-gap: 12px; padding: 0 16px; }
}
