/* Hallmark · shape: a scroll through the hardware, one device a screen · genre: modern-minimal · theme: custom · job: buy · idea: "Each WCOS device takes the whole screen on its own role colour and turns in 3D under the visitor's hand, and every fact is set as large as the LED board sets a weight" · vibe: "bright role fields, turning hardware, board-sized figures"
 * paper: oklch(94.9% 0.005 264), the deck's paper · accent: oklch(70.13% 0.1996 43.67), the promo's orange, for the one action · display: Geist 600 · body: Geist 400 · hero: the presentation's end card, every device floating around the WCOS logo while its eight stripes draw in, the tagline as the h1, a foot row with the line and two actions · nav: a floating glass pill (wordmark, three section links, RU and EN, one contact action) that slides away on the way down; in Chromium on a computer it, the pause button and the close's switch and field are Glisse's liquid glass, which bends the page under them · footer: the close, where the hero's family of devices gathers again in 3D, its ring opened around the request set large and a one-field contact form (an email address or a WhatsApp number), then a slim paper footer with the WCOS mark, the OSMIY maker line, the company's email and the languages · imagery: the product itself, the real 3D models from a sealed pack, the real promo film, the real software screenshot · signature: a device turning on its own colour that the visitor can turn by hand, the next colour pouring out from where it stands
 * axes: light/grotesk-sans/chromatic-orange · posture: full palette (one field per device in the deck's role colours: orange referee, blue jury, green timekeeper, violet marshal, gold replay, ink board, paper gateway, paper again for the close; orange again for the action) · contrast: pass · fold: pass · finish-review: subagent, 8 findings, 7 resolved, 1 partial (the board and the gateway pair now break the stop pattern; the five consoles keep the shared stop, each on its own field) · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V5 · weakest: P, a hardware page argues little by nature; it argues by showing each device at work (the referee key pressed, the jury hood sliding off as you scroll, the board counting down) instead of claiming it */
/* Hallmark · waive 29 · the white lift behind each device on its field · the 3D studio lights every device from that same key, so the backdrop and the reflections on the plastic agree, as in the deck */
/* Hallmark · waive 77 · the referee console turns at full height on the fixed 3D stage across the right seven columns, beside the words · the render cannot see the stage canvas as part of the section, so the stop reads as thin; on the page each device is its stop's mass */
/* Hallmark · waive 85 · the close is a one-field contact form (an email address or a WhatsApp number) under "Leave your email or WhatsApp", inside the hero's family of devices gathered again · the user asked for exactly this ending ("leave the email or whatsapp number and we will contact you") when the prices came off the site; WCOS is sold through a talk with the company, so the form is a purchase's first step, a request to be contacted, not a newsletter sign-up */
/* Hallmark · answered F4 · one filled action per band and never two side by side: the hero's second action is .btn--line, an inset ring with no fill, and the phone's menu toggle is a ring too; orange .btn--primary on the paper hero (ink while the orange field pours) and on the close's paper, .btn--light on the film */
/* Hallmark · dismissed 41 · .hero__load i is the 2px loading bar under the logo; it holds no text */
/* Hallmark · answered F7 · the pill sits on controls and on the chips that name a gesture: the skip link, the nav and language links inside the glass pill, the cursor's label, the touch hint, the seek bar's ends; panels and media keep the card radius */
/* Hallmark · dismissed 58 · 471 English words (the linter does not count Cyrillic words; the Russian page runs the same): a public showcase of every device, so a visitor understands WCOS without a call; they sit in seven device stops, the film, the software band and the close, each screen near 80 words */
/* Tokens: the WCOS presentation's own system, carried to the web.
   The role fields are the deck's and the film's (deck/index.template.html), converted to OKLCH: each
   device has its colour, and the 3D stage bakes a matching studio environment for every one, so a
   rendered device and the field behind it come from the same light. The paper and the ink are the
   deck's, tinted 0.005 toward the paper's own hue (264) so no neutral is a pure grey. The brand purple
   is the WCOS logo's (deck/assets-src/wcos-logo.svg). Type is the project's family, Geist, as in the
   film and the deck: one face, weights 400 to 600, figures set large the way the LED board sets them. */

@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/geist-cyrillic-ext.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/geist-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/geist-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/geist-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light;

  /* space: the shared scale, and two steps above it for the scroll's long holds */
  --space-descender: 0.16em; /* room under a masked heading line for its descenders */
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px; --space-5xl: 216px;

  /* type: few sizes, far apart */
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.125rem;
  --text-lead: clamp(1.125rem, 0.4vw + 1rem, 1.375rem);
  --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem);
  --text-tag: clamp(1rem, min(1.354vw, 2.407svh), 1.625rem); /* the hero's tagline: scales with the 3D family (site.css, hero) */
  --text-link: clamp(1.25rem, 1.2vw + 0.75rem, 2rem);
  --text-section: clamp(2.5rem, 3.6vw + 1rem, 4.5rem);
  --text-figure: clamp(2.75rem, 4.4vw + 1rem, 5.5rem);
  --text-price: clamp(3.5rem, 8vw + 1rem, 9rem);
  --text-statement: clamp(2.25rem, 4.2vw + 1rem, 5.25rem);
  --weight-body: 400; --weight-label: 500; --weight-head: 600; --weight-figure: 500;
  --tracking-head: -0.035em; --tracking-figure: -0.045em; --tracking-tag: 0;

  /* motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms; --dur-xl: 700ms;

  /* layout */
  --container: 1440px; --gutter: 64px; --gap-columns: 32px;
  --section-gap-s: 120px; --section-gap: 160px; --section-gap-l: 200px;
  --stop-hold: 70svh; --nav-top: 16px; --nav-h: 52px; --pin-top: calc(var(--nav-top) + var(--nav-h));
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  --radius-pill: 999px; --radius-frame: 28px; --radius-shot: 16px; --radius-small: 10px; --rule-hair: 1px; --rule-bar: 2px;

  /* the role fields: one colour per device, the presentation's own */
  --field-orange: oklch(70.13% 0.1996 43.67);
  --field-blue: oklch(56% 0.2294 263.58); /* the deck's 58%, darkened so light text reaches 4.6:1 */
  --field-green: oklch(71.05% 0.1646 156.23);
  --field-violet: oklch(57% 0.2189 292.35); /* the deck's 60.5%, darkened so light text reaches 4.6:1 */
  --field-gold: oklch(81.14% 0.1656 84.96);
  --field-ink: oklch(15% 0.005 270);
  --field-navy: oklch(18.31% 0.0309 263.38);
  --field-paper: oklch(94.9% 0.005 264);
  --field-white: oklch(97.9% 0.005 264);
  --field-black: oklch(10.5% 0.005 270);

  /* paper, ink and what sits between */
  --color-paper: var(--field-paper); --color-paper-2: oklch(91% 0.007 264); --color-paper-3: var(--field-white);
  --color-ink: oklch(15.5% 0.006 270); --color-ink-2: oklch(32% 0.008 268); --color-muted: oklch(46% 0.01 266);
  --color-rule: oklch(80% 0.008 264); --color-ink-rule: oklch(34% 0.008 268);
  --color-light: oklch(97.9% 0.005 264); --color-light-2: oklch(84% 0.008 264); --color-light-3: oklch(66% 0.008 264);
  /* a wrong entry in the contact form, on the ink field: a light red, 8:1 on the ink */
  --color-error-light: oklch(76% 0.15 28);
  --color-brand: oklch(22.5% 0.118 303);
  /* the one action colour: the promo's own orange, ink on it */
  --color-accent: var(--field-orange); --color-accent-hover: oklch(66% 0.2 43.67); --color-accent-ink: var(--color-ink);
  --color-focus: var(--color-ink);
  /* the studio light on a field: white lift behind the product, shade toward the corners */
  --color-lift: oklch(99.5% 0.003 264); --color-shade: oklch(8% 0.005 270);

  --font-display: "Geist", ui-sans-serif, system-ui, sans-serif; --font-body: "Geist", ui-sans-serif, system-ui, sans-serif;
  --shadow-ring: 0 0 0 1px oklch(30% 0.01 264 / 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); font-weight: var(--weight-body); line-height: 1.55; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; caret-color: var(--color-accent); font-kerning: normal; }
::selection { background: var(--color-accent); color: var(--color-accent-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--weight-head); font-synthesis: none; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
abbr[title] { text-decoration: none; }
kbd { font: inherit; white-space: nowrap; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 88px; --section-gap: 112px; --section-gap-l: 136px; } }
@media (max-width: 40rem) { :root { --gutter: 20px; --section-gap-s: 72px; --section-gap: 96px; --section-gap-l: 112px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }

html.lenis,
html.lenis body {
  height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch],
.lenis [data-lenis-prevent-vertical],
.lenis [data-lenis-prevent-horizontal] {
  overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.lenis.lenis-autoToggle {
  transition-property: overflow;
  transition-duration: 1ms;
  transition-behavior: allow-discrete;
}


/* ---------------------------------------------------------------- frame */
body { font-variant-numeric: tabular-nums; }
[data-ink="dark"] { --color-focus: var(--color-ink); color: var(--color-ink); }
[data-ink="light"] { --color-focus: var(--color-light); color: var(--color-light); }
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-light); font-weight: var(--weight-label); text-decoration: none; }
.skip:focus-visible { top: var(--space-md); outline-color: var(--color-ink); }
main { position: relative; }

/* SplitText masks each heading line; the mask keeps room for descenders */
.line-mask { padding-bottom: var(--space-descender); margin-bottom: calc(-1 * var(--space-descender)); }

/* ---------------------------------------------------------------- controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 52px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-pill); background: transparent; color: inherit; font-size: var(--text-md); font-weight: var(--weight-label); line-height: 1; white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out), scale var(--dur-micro) var(--ease-out); }
.btn .icon { width: 18px; height: 18px; flex-shrink: 0; }
.btn:active { scale: 0.97; }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; scale: 1; }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-accent-hover); }
.btn--line { box-shadow: inset 0 0 0 var(--rule-bar) currentColor; }
[data-ink="dark"] .btn--line:hover { background: var(--color-ink); color: var(--color-light); box-shadow: inset 0 0 0 var(--rule-bar) var(--color-ink); }
[data-ink="light"] .btn--line:hover { background: var(--color-light); color: var(--color-ink); box-shadow: inset 0 0 0 var(--rule-bar) var(--color-light); }
.btn--ink { background: var(--color-ink); color: var(--color-light); }
.btn--ink:hover { background: var(--color-ink-2); }
.btn--light { background: var(--color-light); color: var(--color-ink); }
.btn--light:hover { background: var(--color-light-2); }
.btn--small { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.icon { display: block; }

/* ---------------------------------------------------------------- the nav: a glass pill */
.nav { position: fixed; top: var(--nav-top); left: 0; right: 0; z-index: var(--z-sticky-nav); display: flex; justify-content: center; padding-inline: var(--space-md); pointer-events: none; transition: transform var(--dur-xl) var(--ease-out); }
.nav.is-hidden { transform: translateY(calc(-100% - var(--nav-top) - var(--space-xs))); }
.nav__pill { position: relative; isolation: isolate; pointer-events: auto; display: flex; align-items: center; gap: var(--space-2xs); padding: var(--space-2xs); padding-inline-start: var(--space-md); border-radius: var(--radius-pill); color: var(--color-ink); --color-focus: var(--color-ink); }
.nav__pill::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: color-mix(in oklab, var(--color-paper-3) 76%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); box-shadow: var(--shadow-ring); }
.nav__logo { display: flex; align-items: center; min-height: 44px; padding-inline-end: var(--space-sm); border-radius: var(--radius-small); }
.nav__logo img { width: 76px; height: auto; }
.nav__menu { display: flex; align-items: center; }
.nav__links, .nav__langs { display: flex; align-items: center; }
.nav__links a, .nav__langs a { display: flex; align-items: center; min-height: 44px; padding: 0 var(--space-sm); border-radius: var(--radius-pill); font-size: var(--text-sm); font-weight: var(--weight-label); text-decoration: none; white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.nav__links a:hover, .nav__langs a:hover { background: var(--color-paper-2); }
.nav__links a[aria-current] { background: var(--color-ink); color: var(--color-light); }
.nav__langs a[aria-current] { text-decoration: underline; text-decoration-thickness: var(--rule-bar); text-underline-offset: 0.3em; }
.nav__langs--menu { display: none; }
.nav__action { margin-inline-start: var(--space-2xs); }
/* the phone's menu toggle is a ring beside the filled contact action, filled only while the menu is open */
.nav__toggle { display: none; align-items: center; min-height: 44px; padding: 0 var(--space-md); border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--color-ink); box-shadow: inset 0 0 0 var(--rule-bar) currentColor; font-size: var(--text-sm); font-weight: var(--weight-label); white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), scale var(--dur-micro) var(--ease-out); }
.nav__toggle:hover, .menu-open .nav__toggle { background: var(--color-ink); color: var(--color-light); box-shadow: inset 0 0 0 var(--rule-bar) var(--color-ink); }
.nav__toggle:active { scale: 0.97; }
@media (max-width: 63.99rem) {
  .nav__menu { position: fixed; inset: 0; z-index: -2; display: none; flex-direction: column; align-items: stretch; padding: calc(var(--nav-top) + var(--space-4xl)) var(--gutter) var(--space-xl); background: color-mix(in oklab, var(--color-paper) 94%, transparent); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); overflow-y: auto; }
  .menu-open .nav__menu { display: flex; }
  .nav__links { flex-direction: column; align-items: stretch; }
  .nav__links a { min-height: 64px; padding: 0; border-radius: 0; font-size: var(--text-section); font-weight: var(--weight-head); letter-spacing: var(--tracking-head); }
  .nav__links a:hover, .nav__links a[aria-current] { background: transparent; color: inherit; text-decoration: underline; text-decoration-thickness: var(--rule-bar); text-underline-offset: 0.12em; }
  .nav__langs--bar { display: none; }
  .nav__langs--menu { display: flex; gap: var(--space-xs); margin-top: var(--space-xl); }
  .nav__langs--menu a { padding: 0 var(--space-md); font-size: var(--text-md); background: var(--color-paper-2); }
  .nav__toggle { display: flex; }
}

/* ---------------------------------------------------------------- the fixed layers: colour fields, the 3D stage, the cursor */
.fields { position: fixed; top: 0; left: 0; width: 100%; height: 100lvh; z-index: 0; display: none; overflow: hidden; pointer-events: none; }
.motion-ready .fields { display: block; }
.field { position: absolute; inset: 0; background: var(--fc, var(--field-paper)); }
.field::after {
  /* the studio light on the field: brighter behind the product, falling off to the corners */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at var(--lx, 69%) var(--ly, 50%), color-mix(in oklab, var(--color-lift) calc(var(--lift, 0.1) * 100%), transparent), transparent 62%),
    radial-gradient(120% 100% at 50% 50%, transparent 45%, color-mix(in oklab, var(--color-shade) calc(var(--vig, 0.28) * 100%), transparent) 100%);
}
.stage { position: fixed; top: 0; left: 0; width: 100%; height: 100lvh; z-index: 1; display: block; touch-action: pan-y; }
.stage.is-off { visibility: hidden; }
/* above the film the hero's family scrolls away with the hero; the film covers the swap back */
.is-hero-ride .fields, .is-hero-ride .stage { position: absolute; }
/* and they travel with the close from the moment it comes up, so the footer comes up beneath them */
.is-close-ride .fields, .is-close-ride .stage { position: absolute; top: var(--finale-top, 0); }
.stage.is-grab { cursor: grab; }
.is-dragging .stage { cursor: grabbing; }
.no-3d .stage, html:not(.js) .stage { display: none; }

/* the portal: a far link opens a disc of the destination's colour, the page jumps behind it, and it
   fades (main.js sizes and places the disc; it only ever scales and fades) */
.portal { position: fixed; inset: 0; z-index: var(--z-sticky); overflow: hidden; pointer-events: none; visibility: hidden; opacity: 0; }
.portal__disc { position: absolute; left: 0; top: 0; width: 0; height: 0; border-radius: 50%; background: var(--portal, var(--field-ink)); transform: scale(0); will-change: transform; }

.cursor { display: none; }
.has-cursor .cursor { display: block; position: fixed; left: 0; top: 0; width: 0; height: 0; z-index: var(--z-toast); pointer-events: none; mix-blend-mode: difference; }
.has-cursor .cursor.is-active { mix-blend-mode: normal; }
.cursor__ring { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform; transition: opacity var(--dur-short) var(--ease-out); }
.has-cursor .cursor.is-off { display: none; }
.cursor__ring::before { content: ""; position: absolute; left: -20px; top: -20px; width: 40px; height: 40px; border: 1.5px solid var(--color-light); border-radius: 50%; transition: transform var(--dur-long) var(--ease-out), opacity var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.cursor.is-dot .cursor__ring::before { transform: scale(0.3); background-color: var(--color-light); }
.cursor.is-active .cursor__ring::before { transform: scale(0.4); opacity: 0; }
.cursor__drift { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--color-light); transition: opacity var(--dur-short) var(--ease-out); }
.cursor.is-active .cursor__drift, .cursor.is-dot .cursor__drift { opacity: 0; }
.js .cursor__label { position: absolute; left: 0; top: 0; padding: var(--space-sm) var(--space-md); border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-light); box-shadow: 0 0 0 1px color-mix(in oklab, var(--color-light) 28%, transparent); font-size: var(--text-sm); font-weight: var(--weight-label); line-height: 1; white-space: nowrap; opacity: 0; transform: translate(-50%, -50%) scale(0.6); transition: transform var(--dur-long) var(--ease-out), opacity var(--dur-short) var(--ease-out); }
.js .cursor.is-active .cursor__label { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* the one control for everything that moves by itself */
:root { --motion-inset: var(--space-lg); --color-error: oklch(50% 0.19 28); --shadow-float: 0 14px 36px -14px oklch(22% 0.02 264 / 0.22); }
.motion { position: fixed; right: var(--motion-inset); bottom: var(--motion-inset); z-index: var(--z-raised); display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; color: var(--color-ink); background: color-mix(in oklab, var(--color-paper-3) 80%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--shadow-ring); transition: background-color var(--dur-short) var(--ease-out), scale var(--dur-micro) var(--ease-out), opacity var(--dur-long) var(--ease-out), visibility 0s linear 0s; --color-focus: var(--color-ink); }
.is-calm .motion { opacity: 0; visibility: hidden; transition: opacity var(--dur-long) var(--ease-out), visibility 0s linear var(--dur-long); }
.motion .icon { width: 16px; height: 16px; }
.motion:hover { background: var(--color-paper-3); }
.motion:active { scale: 0.94; }
.motion:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 3px; box-shadow: 0 0 0 5px var(--color-light); }
.motion__play { display: none; }
.motion[aria-pressed="true"] .motion__play { display: block; }
.motion[aria-pressed="true"] .motion__pause { display: none; }
.has-3d .motion, .js.no-3d .motion { display: inline-flex; }
/* wide windows: level with the bar, clear of the hero's actions */
@media (min-width: 64rem) { .motion { top: calc(var(--nav-top) + var(--space-2xs)); bottom: auto; } }
/* below that the control floats at the bottom right, where a stop's last words are: its facts keep
   their lines clear of it */
@media not all and (min-width: 64rem) {
  .js .stop__facts { padding-inline-end: max(0px, calc(var(--motion-inset) + 44px + var(--space-xs) - var(--gutter))); }
}

/* the scrollbar: the LED board's parts (page.mjs scrollbar(), main.js). On wide windows with a mouse the browser's
   own scrollbar gives way to it, under the pause control: a column of LEDs, lit down to where the page is and
   blended against whatever field is under it; an LED in each device's colour where its stop begins; the board's
   black module riding the column, its digits lit in the colour of the device in view. On phones, with forced
   colours and without scripting the browser's own scrollbar stays */
:root { --sb-x: calc(var(--motion-inset) + 22px); --sb-top: calc(var(--nav-top) + var(--space-2xs) + 44px + var(--space-md)); --sb-hit: 32px; --sb-pitch: 6px; --sb-dot: 2px; --sb-mark: 6px; --sb-led: 2.4px; --sb-module-w: calc(20.2 * var(--sb-led)); --radius-chip: 6px; }
.sb, .sb-col { display: none; }
@media (min-width: 64rem) and (pointer: fine) and (hover: hover) and (forced-colors: none) {
  /* the pause control and the column under it keep 16px from the edge, so the module stays inside the page's
     64px gutter and never sits on the words or the software's screen */
  html.js:has(> body > .sb) { --motion-inset: var(--space-md); scrollbar-width: none; }
  html.js:has(> body > .sb)::-webkit-scrollbar { display: none; }
  .js .sb, .js .sb-col { display: block; position: fixed; top: var(--sb-top); bottom: var(--motion-inset); right: calc(var(--sb-x) - var(--sb-hit) / 2); width: var(--sb-hit); transition: opacity var(--dur-long) var(--ease-out), visibility 0s linear 0s; }
  .js .sb { z-index: var(--z-sticky-nav); touch-action: none; cursor: pointer; user-select: none; }
  /* the column is a layer of its own, under the module's: a fixed layer blends only with what is inside it, and the
     column takes the difference with the page under it, dark on the light fields and light on the dark ones */
  .js .sb-col { z-index: calc(var(--z-sticky-nav) - 1); mix-blend-mode: difference; pointer-events: none; opacity: var(--sb-rest, 1); }
}
.is-boot :is(.sb, .sb-col), .is-player :is(.sb, .sb-col), .menu-open :is(.sb, .sb-col) { opacity: 0; visibility: hidden; transition: opacity var(--dur-long) var(--ease-out), visibility 0s linear var(--dur-long); }
/* a page at rest dims the column until it moves again or the pointer comes */
.sb.is-still:not(.is-near) ~ .sb-col { --sb-rest: 0.6; }
.sb__dots { position: absolute; inset: 0; background: radial-gradient(circle closest-side, var(--color-light) 60%, transparent) 50% 0 / var(--sb-dot) var(--sb-pitch) repeat-y; }
.sb-col > .sb__dots { opacity: 0.4; }
.sb__lit { position: absolute; inset: 0; overflow: hidden; will-change: transform; }
/* the LEDs the page has passed are on: brighter, and larger, as a lit LED looks */
.sb__lit > .sb__dots { --sb-dot: 3px; will-change: transform; }
.sb__probe, .sb__mark { position: absolute; left: 50%; top: 0; width: var(--sb-mark); height: var(--sb-mark); margin: calc(var(--sb-mark) / -2) 0 0 calc(var(--sb-mark) / -2); border-radius: 50%; }
.sb__probe { background: var(--color-light); opacity: 0; transition: opacity var(--dur-short) var(--ease-out); }
.sb.is-near:not(.is-drag) ~ .sb-col .sb__probe { opacity: 1; }
.sb__marks { position: absolute; inset: 0; pointer-events: none; }
.sb__mark { background: var(--stop-field); box-shadow: 0 0 0 1.5px var(--field-black); opacity: 0; transition: opacity var(--dur-long) var(--ease-out), scale var(--dur-short) var(--ease-out); }
.sb.is-live .sb__mark { opacity: 1; }
.sb.is-near .sb__mark { scale: 1.34; }
.sb__thumb { position: absolute; left: 50%; top: 0; translate: -50% 0; will-change: transform; cursor: grab; }
.sb__module { display: block; padding: calc(1.6 * var(--sb-led)); border-radius: var(--radius-chip); background: var(--field-black); color: var(--sb-on, var(--color-light)); box-shadow: 0 0 0 1px color-mix(in oklab, var(--color-light) 16%, transparent), var(--shadow-float); transition: scale var(--dur-short) var(--ease-out); }
.sb__module svg { width: calc(17 * var(--sb-led)); height: calc(7 * var(--sb-led)); overflow: visible; }
.sb__off, .sb__on { fill: none; stroke-width: 0.72; stroke-linecap: round; }
.sb__off { stroke: color-mix(in oklab, var(--color-light) 12%, var(--field-black)); }
.sb__on { stroke: currentColor; }
.sb.is-near .sb__module { scale: 1.08; }
.sb.is-drag, .sb.is-drag .sb__thumb { cursor: grabbing; }
.sb.is-drag .sb__module { scale: 1.04; }
.sb__label { position: absolute; top: 0; right: calc(50% + var(--sb-module-w) / 2 + var(--space-sm)); translate: 0 -50%; padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-light); box-shadow: 0 0 0 1px color-mix(in oklab, var(--color-light) 28%, transparent); font-size: var(--text-sm); font-weight: var(--weight-label); line-height: 1.2; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity var(--dur-short) var(--ease-out); will-change: transform; }
.sb.is-near .sb__label, .sb.is-drag .sb__label { opacity: 1; }
@media (prefers-contrast: more) { .sb-col > .sb__dots { opacity: 0.6; } .sb.is-still:not(.is-near) ~ .sb-col { --sb-rest: 1; } }
@media (prefers-reduced-motion: reduce) { .sb.is-near .sb__module, .sb.is-drag .sb__module, .sb.is-near .sb__mark { scale: none; } }
@media print { .js .sb, .js .sb-col { display: none; } }

/* ---------------------------------------------------------------- stops: one device a screen */
.stop { position: relative; height: calc(100svh + var(--stop-hold)); pointer-events: none; background: var(--stop-field, var(--field-paper)); }
.motion-ready .stop { background: transparent; }
[data-field="orange"] { --stop-field: var(--field-orange); }
[data-field="blue"] { --stop-field: var(--field-blue); }
[data-field="green"] { --stop-field: var(--field-green); }
[data-field="violet"] { --stop-field: var(--field-violet); }
[data-field="gold"] { --stop-field: var(--field-gold); }
[data-field="ink"] { --stop-field: var(--field-ink); }
[data-field="paper"] { --stop-field: var(--field-paper); }
/* each stop's screen holds below the nav's band, so the nav never sits on a held screen; the words and the stills still centre on the window */
.stop__pin { position: sticky; top: var(--pin-top); z-index: 2; height: calc(100svh - var(--pin-top)); overflow: clip; }
.stop__text, .stop a, .stop button { pointer-events: auto; }
.stop__grid { height: 100%; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; padding-bottom: var(--pin-top); }
.stop__text { grid-column: 1 / span 5; display: flex; flex-direction: column; align-items: flex-start; padding-block: var(--space-3xl); }
.stop__text h2 { font-size: var(--text-section); letter-spacing: var(--tracking-head); line-height: 1.02; }
.stop__count { margin-top: var(--space-sm); font-size: var(--text-md); font-weight: var(--weight-label); }
.stop__lead { margin-top: var(--space-lg); max-width: 34ch; font-size: var(--text-lead); line-height: 1.45; }
.stop__facts { display: flex; flex-wrap: wrap; gap: var(--space-lg) var(--space-xl); margin-top: var(--space-xl); }
.stop__facts li { display: flex; flex-direction: column; gap: var(--space-xs); min-width: min-content; max-width: 15rem; }
.stop__facts li:only-child { max-width: 24rem; }
.stop__fig { font-size: var(--text-figure); font-weight: var(--weight-figure); letter-spacing: var(--tracking-figure); line-height: 0.92; white-space: nowrap; font-variant-numeric: proportional-nums; }
.stop__label { font-size: var(--text-md); line-height: 1.35; }

/* a still of each device, where the 3D cannot run (and while it loads) */
.stop__still { position: absolute; left: 69%; top: calc(50svh - var(--pin-top)); z-index: 1; width: min(44vw, 72svh); transform: translate(-50%, -50%); pointer-events: none; transition: opacity var(--dur-xl) var(--ease-out), visibility 0s linear var(--dur-xl); }
.stop__still img { width: 100%; height: auto; -webkit-mask-image: radial-gradient(closest-side, var(--color-ink) 74%, transparent); mask-image: radial-gradient(closest-side, var(--color-ink) 74%, transparent); }
/* the boards' still is a cut-out on a clear background, cut from the window where the 3D boards stand
   (tools/site-stills.mjs board), so it needs no fade at its edge */
.stop__still--board { width: min(100%, 120svh); }
.stop__still--board img { -webkit-mask-image: none; mask-image: none; }
.has-3d .stop__still { opacity: 0; visibility: hidden; }
.stop__hint { display: none; position: absolute; left: 69%; bottom: var(--space-2xl); z-index: 2; padding: var(--space-xs) var(--space-md); border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-light); font-size: var(--text-sm); font-weight: var(--weight-label); white-space: nowrap; transform: translateX(-50%); }
@media (pointer: coarse) {
  .has-3d .stop__hint { display: block; }
  .did-drag .stop__hint { display: none; }
}
/* wide windows: the board stands big at the top centre, and its words run in a row beneath it, the
   name and the line on the left, the two figures on the right (the 3D stage stages it there too) */
@media not all and (max-aspect-ratio: 23/25) {
  .stop--board .stop__grid { align-items: end; padding-bottom: 0; }
  .stop--board .stop__text { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; padding-block: 0 var(--space-xl); }
  .stop--board .stop__text > * { grid-column: 1 / span 6; }
  .stop--board .stop__facts { grid-column: 7 / -1; grid-row: 1 / span 3; align-self: end; justify-content: flex-end; margin-top: 0; }
  .stop--board .stop__still { left: 50%; top: calc(36svh - var(--pin-top)); width: min(100%, 120svh); }
}

/* ---------------------------------------------------------------- hero: the presentation's end card */
.hero { height: 100svh; }
.hero__pin { position: relative; z-index: auto; overflow: visible; }
/* the hero's screen sits below the nav's band like every stop's, but its words centre on the window,
   where the 3D family's ring is centred */
.hero__center { position: absolute; left: 50%; top: calc(44svh - var(--pin-top)); z-index: 2; width: min(46rem, 86%); display: flex; flex-direction: column; align-items: center; text-align: center; transform: translate(-50%, -50%); }
/* the logo and the tagline scale with the 3D family around them: by the width below 16:9, by the
   height above it (the family's camera keeps the deck's 16:9 frame), so the ring of devices always
   clears the words */
.hero__title { display: flex; flex-direction: column; align-items: center; gap: clamp(var(--space-sm), min(1.25vw, 2.22svh), var(--space-lg)); font-weight: var(--weight-label); }
.hero__mark { position: relative; display: block; width: min(34rem, 28.3vw, 50.4svh); aspect-ratio: 696 / 174; color: var(--color-brand); }
.hero__stripe, .hero__stripe > span, .hero__stripe > span > span { position: absolute; inset: 0; display: block; }
.hero__stripe { overflow: hidden; }
.hero__stripe svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: currentColor; fill-rule: evenodd; }
.hero__tag { max-width: 22em; font-size: var(--text-tag); letter-spacing: var(--tracking-tag); line-height: 1.25; }
.hero__foot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--space-lg); padding-block-end: var(--space-xl); pointer-events: auto; }
.hero__lead { max-width: 32ch; font-size: var(--text-lead); line-height: 1.4; }
.hero__actions { justify-self: end; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--space-xs); }
.is-hero-pour .hero .btn--primary { background: var(--color-ink); color: var(--color-light); }
.hero__load { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 2px; opacity: 0; transition: opacity var(--dur-long) var(--ease-out); }
.is-loading-3d .hero__load { opacity: 1; }
.hero__load i { display: block; height: 100%; background: var(--color-ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform var(--dur-long) var(--ease-out); }
.hero__still { position: absolute; inset: calc(-1 * var(--pin-top)) 0 0; z-index: 0; display: none; }
.hero__still picture { display: block; height: 100%; }
.hero__still img { width: 100%; height: 100%; object-fit: cover; }
html:not(.js) .hero__still, .no-3d .hero__still { display: block; }
/* the logo draws in and the rest rises in once the script runs; if it never does, all of it shows */
.js .hero__mark, .js [data-intro] { opacity: 0; }
.js.intro-run .hero__mark, .js.intro-done .hero__mark, .js.intro-done [data-intro] { opacity: 1; }
.js:not(.motion-ready) .hero__mark, .js:not(.motion-ready) [data-intro] { animation: wcos-show 1ms linear 2.5s forwards; }
.js.intro-run .hero__stripe, .js.intro-run .hero__stripe span, .js.intro-run [data-intro] { will-change: transform; }
@keyframes wcos-show { to { opacity: 1; } }

/* ---------------------------------------------------------------- the first open: the mark draws in while the page loads */
/* The head's script sets .is-boot before the first paint, only when the site is opened (not on a reload, or on the
   next page of the same visit). main.js draws each stripe as its eighth of the page arrives, then the number goes,
   the mark moves to its place in the hero and the paper gives way to the page. If the script never runs, the layer
   fades by itself. The hero's own mark waits under it, so the two never show at once. */
.boot { display: none; }
.is-boot .boot { position: fixed; inset: 0; z-index: var(--z-modal); display: block; --boot-w: min(34rem, 28.3vw, 50.4svh); animation: boot-gone var(--dur-long) var(--ease-out) 5s forwards; }
.boot-live .boot { animation: none; }
.boot__ground { position: absolute; inset: 0; background: var(--color-paper); }
.boot__mark { position: absolute; left: 50%; top: 50%; width: var(--boot-w); aspect-ratio: 696 / 174; color: var(--color-brand); transform: translate(-50%, -50%); }
.boot__stripe, .boot__stripe > span, .boot__stripe > span > span { position: absolute; inset: 0; display: block; }
.boot__stripe { overflow: hidden; visibility: hidden; }
.boot__stripe svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: currentColor; fill-rule: evenodd; }
.is-boot:not(.boot-live) .boot__count { visibility: hidden; }
.boot__count { position: absolute; left: 50%; top: calc(50% + var(--boot-w) / 8 + var(--space-lg)); color: var(--color-muted); font-size: var(--text-sm); font-variant-numeric: tabular-nums; line-height: 1; transform: translateX(-50%); }
.js.is-boot:not(.boot-out) .hero__mark { opacity: 0; }
@keyframes boot-gone { to { opacity: 0; visibility: hidden; } }
@media (max-aspect-ratio: 23/25) {
  .is-boot .boot { --boot-w: min(17rem, 58vw); }
}
@media (prefers-reduced-motion: reduce) {
  .is-boot .boot { animation-duration: 1ms; }
}

/* ---------------------------------------------------------------- phones and tall windows: the device above, the words below */
@media (max-aspect-ratio: 23/25) {
  .stop__grid { align-items: end; padding-bottom: 0; }
  .stop__text { grid-column: 1 / -1; padding-block: 0 var(--space-xl); }
  .stop__lead { max-width: 40ch; }
  .stop__facts { margin-top: var(--space-lg); }
  .stop__still { left: 50%; top: calc(31svh - var(--pin-top)); width: min(86vw, 44svh); }
  .stop__still--board { width: min(105%, 80svh); }
  .stop__hint { left: 50%; bottom: auto; top: calc(42svh - var(--pin-top)); }
  /* phones: the family floats at the top, and the logo, the line and the actions stack below it */
  .hero__pin { display: flex; flex-direction: column; justify-content: flex-end; }
  .hero__center { position: relative; left: auto; top: auto; z-index: 2; width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); align-items: flex-start; text-align: left; transform: none; }
  :root { --text-tag: 1.0625rem; }
  .hero__title { align-items: flex-start; gap: var(--space-sm); }
  .hero__mark { width: min(17rem, 58vw); }
  .hero__tag { max-width: 30em; }
  .hero__foot { position: relative; left: auto; right: auto; bottom: auto; margin-top: var(--space-lg); grid-template-columns: minmax(0, 1fr); justify-items: start; gap: var(--space-md); padding-block-end: calc(var(--space-2xl) + var(--space-sm)); }
  .hero__actions { justify-self: stretch; justify-content: flex-start; }
}
@media (max-aspect-ratio: 23/25) and (max-height: 760px) {
  :root { --text-section: 2.25rem; --text-figure: 2.5rem; --text-lead: 1.0625rem; }
  .stop__lead { margin-top: var(--space-md); }
}
/* short phones: the family keeps its band; the line under the title waits for the stops, which say it again */
@media (max-aspect-ratio: 23/25) and (max-height: 700px) {
  .hero__lead { display: none; }
}

/* ---------------------------------------------------------------- sections that cover the stage */
.cover { position: relative; z-index: 2; }
.split-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-lg); align-items: end; }
.split-head h2 { grid-column: 1 / span 7; font-size: var(--text-section); letter-spacing: var(--tracking-head); line-height: 1.02; }
.split-head .lead { grid-column: 9 / span 4; max-width: 36ch; font-size: var(--text-lead); line-height: 1.45; }

/* ---------------------------------------------------------------- the promo film */
.promo { background: var(--field-black); color: var(--color-light); padding-block-start: var(--section-gap); }
.promo__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-md); align-items: end; padding-block-end: var(--space-2xl); }
/* the film needs no title: one line says what it shows */
.promo__lead { grid-column: 1 / span 7; max-width: 30ch; font-size: var(--text-lead); line-height: 1.35; }
.promo__stage { height: 100svh; }
.promo__frame { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--field-black); clip-path: inset(9% 16% 13% 16% round var(--radius-frame)); cursor: pointer; }
.promo__video { width: 100%; height: 100%; object-fit: cover; }
.promo__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; }
@media (max-width: 55.99rem) {
  .promo { display: flex; flex-direction: column; justify-content: center; min-height: 100vh; min-height: 100lvh; padding-block-end: var(--section-gap-s); }
  .promo__lead { grid-column: 1 / -1; }
  .promo__stage { height: auto; padding-inline: var(--gutter); }
  .promo__frame { height: auto; aspect-ratio: 16 / 9; clip-path: none; border-radius: var(--radius-shot); }
}

/* the player: the film over the whole window, with sound */
/* it opens as a black disc grown from the press; the film fades in once the disc fills the window */
.player { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: transparent; color: var(--color-light); --color-focus: var(--color-light); }
.player.is-full { background: var(--field-black); }
.player::backdrop { background: transparent; }
.player__disc { position: absolute; left: 0; top: 0; width: 0; height: 0; border-radius: 50%; background: var(--field-black); transform: scale(0); will-change: transform; pointer-events: none; }
.player__screen { position: absolute; inset: 0; display: grid; place-items: center; cursor: pointer; opacity: 0; }
.player.is-full .player__screen { opacity: 1; }
.player__video { width: 100%; height: 100%; object-fit: contain; }
.js .player__bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-2xl) var(--gutter) var(--space-lg); background: linear-gradient(to top, color-mix(in oklab, var(--field-black) 78%, transparent), transparent); opacity: 0; transform: translateY(var(--space-xs)); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.js .player.is-ready .player__bar { opacity: 1; transform: none; }
.player__btn { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: color-mix(in oklab, var(--color-light) 14%, transparent); color: var(--color-light); transition: background-color var(--dur-short) var(--ease-out), scale var(--dur-micro) var(--ease-out); }
.player__btn:hover { background: color-mix(in oklab, var(--color-light) 26%, transparent); }
.player__btn:active { scale: 0.94; }
.player__btn .icon { width: 18px; height: 18px; }
.player__icon-play { display: none; }
.player.is-paused .player__icon-play { display: block; }
.player.is-paused .player__icon-pause { display: none; }
.player .icon__cross { display: none; }
.player.is-muted .icon__cross { display: inline; }
.player.is-muted .icon__waves { display: none; }
.player__track { position: relative; flex: 1; min-width: 0; height: 44px; cursor: pointer; border-radius: var(--radius-small); }
.player__track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: var(--radius-pill); background: color-mix(in oklab, var(--color-light) 28%, transparent); }
.player__track i { position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: var(--radius-pill); background: var(--color-light); transform: scaleX(0); transform-origin: 0 50%; }
.player__track:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.player__time { flex-shrink: 0; min-width: 7ch; font-size: var(--text-sm); font-weight: var(--weight-label); }

/* ---------------------------------------------------------------- the software */
.software { background: var(--field-white); color: var(--color-ink); padding-block: var(--section-gap-l) var(--section-gap); }
.shot { margin-top: var(--space-3xl); }
.shot__frame { overflow: hidden; border-radius: var(--radius-shot); background: var(--color-ink); }
.shot__frame img { width: 100%; height: auto; }
.shot figcaption { margin-top: var(--space-md); max-width: 60ch; font-size: var(--text-sm); color: var(--color-muted); }
/* what the software does, one row a phase: the phase on the left, its jobs across the rest */
.features { display: flex; flex-direction: column; margin-top: var(--space-4xl); }
.feature { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-lg); padding-block: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.feature:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.feature__title { grid-column: 1 / span 4; font-size: var(--text-title); letter-spacing: -0.02em; line-height: 1.2; }
.feature__rows { grid-column: 5 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg) var(--gap-columns); }
.feature__rows dt { font-weight: var(--weight-label); }
.feature__rows dd { margin-top: var(--space-2xs); max-width: 40ch; color: var(--color-ink-2); }

/* ---------------------------------------------------------------- the close: every device around the request */
/* One window tall. The 3D family stands around it (or a picture of it, where the 3D cannot run) and
   the request sits in the ring's middle. Its words scale with the ring as the hero's logo does: by the
   width below 16:9, by the height above it (--ring is one hundredth of the family's 16:9 frame) */
.footer { position: relative; z-index: 2; }
.finale { --ring: min(1vw, 1.7778lvh); position: relative; height: 100lvh; min-height: 36rem; background: var(--field-paper); }
.motion-ready .finale { background: transparent; }
.finale__center { position: absolute; left: 50%; top: 48%; z-index: 2; width: min(44rem, calc(var(--ring) * 58)); display: flex; flex-direction: column; align-items: center; text-align: center; transform: translate(-50%, -50%); }
.finale__title { font-size: clamp(2.25rem, calc(var(--ring) * 4.2), 5rem); letter-spacing: var(--tracking-head); line-height: 1.02; text-wrap: balance; }
.finale__line { margin-top: var(--space-md); font-size: var(--text-lead); line-height: 1.4; color: var(--color-ink-2); text-wrap: balance; }
.finale__zone { width: min(34rem, 100%); margin-top: clamp(var(--space-lg), calc(var(--ring) * 2.4), var(--space-xl)); }
.finale__still { position: absolute; inset: 0; z-index: 0; display: none; margin: 0; }
.finale__still picture { display: block; height: 100%; }
.finale__still img { width: 100%; height: 100%; object-fit: cover; }
html:not(.js) .finale__still, .no-3d .finale__still { display: block; }

/* the form: which way, then one field with its button in a single pill */
.reach { display: flex; flex-direction: column; align-items: center; }
.reach__via { display: inline-flex; gap: var(--space-3xs); margin: 0; padding: var(--space-2xs); border: 0; border-radius: var(--radius-pill); background: color-mix(in oklab, var(--color-paper-3) 72%, transparent); box-shadow: var(--shadow-ring); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.reach__via input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.reach__via label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-lg); border-radius: var(--radius-pill); font-weight: var(--weight-label); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.reach__via label:hover { background: color-mix(in oklab, var(--color-ink) 7%, transparent); }
.reach__via input:checked + label { background: var(--color-ink); color: var(--color-light); }
.reach__via input:focus-visible + label { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.reach__row { display: flex; align-items: center; gap: var(--space-xs); width: 100%; margin-top: var(--space-md); padding: var(--space-2xs); border-radius: var(--radius-pill); background: var(--color-paper-3); box-shadow: 0 0 0 var(--rule-hair) var(--color-muted), var(--shadow-float); }
/* the pill takes the field's focus ring and its error ring */
.reach__row:has(.reach__input:focus-visible) { box-shadow: 0 0 0 2px var(--color-focus), var(--shadow-float); }
.reach__row:has(.reach__input[aria-invalid="true"]) { box-shadow: 0 0 0 2px var(--color-error), var(--shadow-float); }
.reach__input { flex: 1; min-width: 0; min-height: 52px; padding: 0 var(--space-sm) 0 var(--space-lg); border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--color-ink); font-size: var(--text-md); outline: 2px solid transparent; }
.reach__input:focus-visible { outline-color: transparent; }
.reach__input::placeholder { color: var(--color-muted); opacity: 1; }
.reach__input:-webkit-autofill { -webkit-text-fill-color: var(--color-ink); caret-color: var(--color-ink); box-shadow: inset 0 0 0 40px var(--color-paper-3); }
.reach__send { flex-shrink: 0; }
.reach__send[aria-busy="true"] { cursor: progress; }
/* one line under the pill: the note, or what is wrong in its place */
.reach__help { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-ink-2); }
.reach__help:empty { display: none; }
.reach__help.is-error { color: var(--color-error); }
.reach__help:not(:empty) + .reach__note { display: none; }
.reach__note { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }
.reach__trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.reach__done { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-sm); border-radius: var(--radius-small); }
.reach__thanks { font-size: var(--text-link); font-weight: var(--weight-label); line-height: 1.15; }
.reach__echo { color: var(--color-ink-2); }
.js .reach__done:not([hidden]) { animation: reach-in var(--dur-xl) var(--ease-out) both; }
@keyframes reach-in { from { opacity: 0; transform: translateY(var(--space-sm)); } }

/* ---------------------------------------------------------------- liquid glass (Glisse), Chromium on a computer only */
/* glass.js lays one layer of Glisse's Glass behind each floating control: it fades in over the control's frost
   (.is-glassing), then the control drops its frost (.is-glass), since glass over frost would only blur the frost.
   Phones and tablets never load it (main.js); a narrow window keeps the form as it is: a field cannot hold a
   layer, and half a form in glass would not match. */
.glass { position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity var(--dur-long) var(--ease-out); }
.is-glassing > .glass { opacity: 1; }
.glass__pane.lg-glass { position: absolute; inset: 0; border-radius: inherit; --lg-glass: color-mix(in oklab, var(--color-paper-3) 60%, transparent); }
.has-glass :is(.reach__via, .reach__row) { position: relative; isolation: isolate; }
.nav__pill.is-glass::before { display: none; }
.motion.is-glass { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.motion.is-glass:hover { background: color-mix(in oklab, var(--color-paper-3) 60%, transparent); }
.motion.is-glass:focus-visible { box-shadow: 0 0 0 5px var(--color-light); }
@media (width > 40rem) {
  .reach__via.is-glass { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
  .reach__row.is-glass { background: transparent; }
}
@media (max-width: 40rem) { .reach .glass { display: none; } }

/* the footer under the close: the mark, the maker, the email, the languages */
.footer__base { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: var(--space-lg) var(--space-xl); padding-block: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); background: var(--color-paper); }
.footer__logo { width: 104px; height: auto; }
.footer__legal { display: flex; align-items: center; gap: var(--space-md); }
.footer__maker { flex-shrink: 0; width: 30px; height: auto; color: var(--color-ink-2); }
.footer__base p { font-size: var(--text-sm); color: var(--color-ink-2); }
.footer__mail { display: flex; flex-direction: column; gap: var(--space-3xs); }
.footer__key { font-size: var(--text-sm); color: var(--color-muted); }
.footer__link { font-weight: var(--weight-label); text-decoration: none; white-space: nowrap; border-radius: var(--radius-small); }
.footer__link:hover { text-decoration: underline; text-decoration-thickness: var(--rule-hair); text-underline-offset: 0.2em; }
.footer__langs { display: flex; gap: var(--space-xs); }
.footer__langs a { display: flex; align-items: center; min-height: 44px; padding: 0 var(--space-xs); font-size: var(--text-sm); text-decoration: none; white-space: nowrap; border-radius: var(--radius-small); }
.footer__langs a:hover, .footer__langs a[aria-current] { text-decoration: underline; text-underline-offset: 0.3em; }

/* phones and tall windows: the family floats in a band at the top, the request below it */
@media (max-aspect-ratio: 23/25) {
  .finale { height: auto; min-height: 100lvh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: min(40svh, 22rem); }
  .finale__center { position: relative; left: auto; top: auto; transform: none; width: 100%; max-width: var(--container); margin-inline: auto; padding: 0 var(--gutter) var(--space-2xl); align-items: flex-start; text-align: left; }
  .finale__title { max-width: 14ch; font-size: var(--text-section); }
  .finale__line { max-width: 36ch; }
  .finale__zone { width: min(34rem, 100%); }
  .reach { align-items: stretch; }
  .reach__via { align-self: flex-start; }
  .reach__done { align-items: flex-start; }
}

/* ---------------------------------------------------------------- narrower windows */
@media (max-width: 60rem) {
  .split-head h2, .split-head .lead, .promo__lead { grid-column: 1 / -1; }
  .features { margin-top: var(--space-3xl); }
  .feature__title, .feature__rows { grid-column: 1 / -1; }
  .feature__rows { grid-template-columns: minmax(0, 1fr); }
  .footer__base { grid-template-columns: auto minmax(0, 1fr); }
  .footer__legal { grid-column: 1 / -1; grid-row: 2; }
  .footer__mail { grid-column: 1; grid-row: 3; }
  .footer__langs { grid-column: 2; grid-row: 1; justify-self: end; }
}
@media (max-width: 40rem) {
  .hero__actions .btn { flex: 1 1 auto; }
  /* the field and its button each take the whole width */
  .reach__row { flex-direction: column; align-items: stretch; padding: 0; background: transparent; box-shadow: none; }
  .reach__row:has(.reach__input:focus-visible), .reach__row:has(.reach__input[aria-invalid="true"]) { box-shadow: none; }
  .reach__input { background: var(--color-paper-3); box-shadow: 0 0 0 var(--rule-hair) var(--color-muted), var(--shadow-float); outline-offset: 2px; }
  .reach__input:focus-visible { outline-color: var(--color-focus); }
  .reach__input[aria-invalid="true"] { box-shadow: 0 0 0 2px var(--color-error); }
  .reach__via { display: flex; }
  .reach__via label { flex: 1; justify-content: center; }
  /* the pause control floats at the bottom right: the last lines keep clear of it */
  .footer__base { padding-bottom: calc(var(--space-xl) + 44px); }
  :root { --motion-inset: var(--space-md); }
}

/* ---------------------------------------------------------------- the 404 page */
.is-missing { background: var(--field-paper); }
.nav__pill--plain { padding-inline-end: var(--space-md); }
.missing { min-height: 100svh; display: grid; align-items: center; padding-block: var(--space-5xl) var(--space-3xl); }
.missing__inner { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-lg); }
.missing__code { font-size: var(--text-price); font-weight: var(--weight-figure); letter-spacing: var(--tracking-figure); line-height: 0.85; color: var(--field-orange); }
.missing h1 { font-size: var(--text-section); letter-spacing: var(--tracking-head); line-height: 1.02; }
.missing .lead { max-width: 40ch; font-size: var(--text-lead); }
.missing__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.missing__alt { max-width: 56ch; color: var(--color-muted); }
