/* Oto's landing page plays one track, Track 01, from top to bottom: scroll is the playhead. Night is the ground the
   recordings are made on (#0D0D0B), so they sit on it without frames; the Sheet chapter switches once to the app's paper
   (#EBE8DF, the ground of its prints), and the sixty looks and the price stand on the signal orange of the recording
   light. Square corners everywhere; the only circle is the lamp. Pinned chapters are sticky stages inside tall sections;
   land.js gives each one its progress as --p (0 to 1). Without JavaScript, or with reduced motion, nothing is pinned. */

@font-face { font-family: "Roboto Flex"; src: url(/fonts/robotoflex-latin.woff2) format("woff2"); font-weight: 400 1000; font-stretch: 25% 151%; font-display: swap; 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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto Flex"; src: url(/fonts/robotoflex-cyrillic.woff2) format("woff2"); font-weight: 400 1000; font-stretch: 25% 151%; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; src: url(/fonts/golos-latin.woff2) format("woff2"); font-weight: 400 700; font-display: swap; 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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Golos Text"; src: url(/fonts/golos-cyrillic.woff2) format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oto Mono"; src: url(/fonts/jbmono-latin.woff2) format("woff2"); font-weight: 100 800; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }
@font-face { font-family: "Oto Mono"; src: url(/fonts/jbmono-cyrillic.woff2) format("woff2"); font-weight: 100 800; font-display: swap; unicode-range: U+0400-045F, U+2116; }

@property --page { syntax: "<number>"; inherits: true; initial-value: 0; }

:root {
  --display: "Roboto Flex", "Segoe UI", -apple-system, sans-serif;
  --text: "Golos Text", "Segoe UI", -apple-system, sans-serif;
  --mono: "Oto Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --night: #0D0D0B; --night-2: #171714; --ink-n: #ECE8DC; --mute-n: #9E9B90; --line-n: rgba(236, 232, 220, .14); --rule-n: rgba(236, 232, 220, .55);
  --paper: #EBE8DF; --ink: #15140F; --mute-p: #5E5A51; --line-p: rgba(21, 20, 15, .16);
  --red: #FF4A1C; --red-hover: #FF6638;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --beat: .438s; /* one beat of Track 01, 137 BPM: the entrance lands on it */
  --gut: clamp(16px, 3.2vw, 48px);
  --bar: 64px; --tp: 44px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 8px); background: var(--night); scrollbar-color: #3B3A35 var(--night); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; padding-bottom: var(--tp); background: var(--night); color: var(--ink-n); font: 400 17px/1.5 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; caret-color: var(--red); }
::selection { background: var(--red); color: var(--ink); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--night); }
::-webkit-scrollbar-thumb { background: #3B3A35; }
img, video, canvas { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2 { font-family: var(--display); font-weight: 900; font-stretch: 68%; letter-spacing: -.012em; line-height: 1; text-wrap: balance; }
h2 { font-size: clamp(34px, 4.4vw, 72px); }
h3 { font: 600 17px/1.3 var(--text); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.paper :focus-visible, .signal :focus-visible, .looks-intro :focus-visible, .index :focus-visible { outline-color: var(--ink); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 60; background: var(--ink-n); color: var(--night); padding: 12px 16px; font: 600 15px/1.4 var(--text); }
.skip:focus { left: 8px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* The lamp: the app's recording light. While the sound is on it blinks on the kicks of what plays. */
.lamp { display: inline-block; width: .26em; height: .26em; border-radius: 50%; background: var(--red); margin-left: .05em; vertical-align: 0; transition: transform .26s var(--ease); }
.lamp.hit { transform: scale(1.6); transition-duration: .05s; }

/* Buttons: square, one line. Signal on night for the one thing to do; ink on orange and paper. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 0; background: var(--red); color: var(--ink); font: 600 17px/1 var(--text); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s, transform .12s; }
.btn .price { font: 800 17px/1 var(--display); font-stretch: 80%; font-variant-numeric: tabular-nums; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--ink-n); box-shadow: inset 0 0 0 1.5px var(--rule-n); }
.btn.ink { background: var(--ink); color: var(--paper); }
.btn.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--red-hover); }
  .btn.ghost:hover { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink-n); }
  .btn.ink:hover { background: #2C2A22; }
  .btn.line:hover { background: rgba(21, 20, 15, .1); }
}
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.seg button { min-height: 40px; padding: 0 14px; border: 0; border-radius: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--line-n); color: var(--mute-n); font: 500 15px/1 var(--text); cursor: pointer; transition: color .15s, background-color .15s, box-shadow .15s; }
.seg button .num { font: 400 12px/1 var(--mono); margin-left: 8px; }
.seg [aria-pressed="true"], .seg [aria-pressed="true"]:hover { background: var(--ink-n); color: var(--night); box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .seg button:hover { color: var(--ink-n); box-shadow: inset 0 0 0 1px var(--rule-n); } }

/* The bar: the mark, the language, the one thing to do (it steps back while the first screen offers the same). */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 30; display: flex; align-items: center; gap: 20px; height: var(--bar); padding: 0 var(--gut); background: var(--night); border-bottom: 1px solid var(--line-n); transition: transform .7s var(--ease); }
.mark { font: 1000 28px/1 var(--display); letter-spacing: -.04em; text-decoration: none; color: var(--ink-n); }
.lang { margin-left: auto; display: flex; gap: 4px; font: 600 14px/1 var(--text); }
.lang a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 8px; text-decoration: none; color: var(--mute-n); }
.lang a:hover, .lang a[aria-current] { color: var(--ink-n); }
.bar .btn { min-height: 40px; padding: 0 18px; font-size: 15px; transition: opacity .3s, visibility .3s, transform .3s var(--ease), background-color .2s; }
html.hero-cta .bar .btn { opacity: 0; visibility: hidden; transform: translateY(-6px); }
/* The offer of the other language: a small note under the bar, at the right where the first screen has no words; on
   a phone it waits over the waveform, away from the headline and the buttons. */
.other-lang { position: fixed; z-index: 40; right: var(--gut); top: calc(var(--bar) + 10px); max-width: min(380px, calc(100% - 2 * var(--gut))); display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; padding: 10px 8px 10px 16px; background: var(--ink-n); color: var(--night); font: 500 15px/1.4 var(--text); box-shadow: 0 12px 30px rgba(5, 5, 4, .4); }
.other-lang[hidden] { display: none; }
.other-lang a { font-weight: 600; }
.other-lang button { position: relative; margin-left: auto; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; }
.other-lang button::before, .other-lang button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; background: var(--night); transform: rotate(45deg); }
.other-lang button::after { transform: rotate(-45deg); }

/* The transport: one quiet strip. The chapter you are in (it opens the list of chapters), Track 01's own waveform as the
   page's progress (a click puts the playhead there), the time of the track, sound and a pause for every motion. */
.transport { position: fixed; inset: auto 0 0 0; z-index: 30; display: flex; align-items: center; gap: clamp(10px, 1.6vw, 22px); height: calc(var(--tp) + env(safe-area-inset-bottom)); padding: 0 var(--gut) env(safe-area-inset-bottom); background: var(--night); border-top: 1px solid var(--line-n); font: 500 14px/1 var(--text); transition: transform .7s var(--ease); }
.tp-chap { position: relative; flex: none; }
.tp-now { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; min-width: 9.5em; padding: 0 22px 0 0; border: 0; background: transparent; color: var(--ink-n); font: 600 14px/1 var(--text); cursor: pointer; position: relative; }
.tp-now .rec { font-size: 30px; margin: 0; }
/* Two strokes for "opens upward": drawn, not a glyph. */
.tp-now::after { content: ""; position: absolute; right: 4px; top: 50%; width: 7px; height: 7px; margin-top: -2px; border-left: 1.5px solid var(--mute-n); border-top: 1.5px solid var(--mute-n); transform: rotate(45deg); transition: transform .2s var(--ease); }
.tp-now[aria-expanded="true"]::after { transform: rotate(225deg); margin-top: -6px; }
.chap { position: absolute; left: -12px; bottom: calc(100% + 10px); min-width: 230px; padding: 8px 0; background: var(--night-2); box-shadow: 0 0 0 1px var(--line-n), 0 -18px 40px rgba(5, 5, 4, .55); }
.chap[hidden] { display: none; }
.chap a { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 0 18px; color: var(--mute-n); text-decoration: none; font: 500 15px/1.2 var(--text); }
.chap a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: transparent; flex: none; }
.chap a:hover, .chap a:focus-visible { color: var(--ink-n); background: rgba(236, 232, 220, .05); }
.chap a:focus-visible { outline-offset: -3px; }
.chap a[aria-current="true"] { color: var(--ink-n); }
.chap a[aria-current="true"]::before { background: var(--red); }
.mini { position: relative; flex: 1; min-width: 60px; height: 20px; cursor: pointer; }
.mini svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: #3F3E39; }
.mini-fill { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--page) * 100%) 0 0); }
.mini-fill svg { fill: var(--ink-n); }
.mini::after { content: ""; position: absolute; top: -4px; bottom: -4px; left: calc(var(--page) * 100%); width: 2px; margin-left: -1px; background: var(--red); }
.tp-time { flex: none; font: 500 13px/1 var(--mono); color: var(--mute-n); font-variant-numeric: tabular-nums; }
.t-now { color: var(--ink-n); }
.tp { flex: none; min-height: 40px; padding: 0 6px; border: 0; background: transparent; color: var(--mute-n); font: 600 14px/1 var(--text); cursor: pointer; text-decoration: none; text-underline-offset: 7px; text-decoration-thickness: 2px; }
.tp:hover { color: var(--ink-n); }
.tp[aria-pressed="true"] { color: var(--ink-n); text-decoration-line: underline; text-decoration-color: var(--red); }
@supports (animation-timeline: scroll()) {
  .transport { animation: page-run linear both; animation-timeline: scroll(root); }
}
@keyframes page-run { from { --page: 0; } to { --page: 1; } }

/* Chapters. A pinned chapter is a tall section with a sticky stage of one screen. */
.ch { position: relative; }
.stage { position: relative; }
html.moving .scene .stage { position: sticky; top: 0; height: 100svh; overflow: clip; }
html.moving .ch-hero { height: 220svh; }
html.moving .ch-sheet { height: 300svh; }
html.moving .ch-out { height: 280svh; }
html.moving .ch-app { height: 300svh; }
html.moving .ch-listen { height: 190svh; }
html.moving .ch-end { height: 190svh; }

/* 1. The first screen: Track 01's waveform across the night, 24 looks playing in its bars. */
.ch-hero .stage { min-height: 100svh; background: var(--night); }
.band { position: absolute; inset: 0; --rest-c: .53; --rest-h: .3; }
.band-c { position: absolute; inset: 0; width: 100%; height: 100%; }
.band picture, .band-still { position: absolute; left: 0; width: 100%; }
.band-still { display: none; top: calc((var(--rest-c) - var(--rest-h) / 2) * 100%); height: calc(var(--rest-h) * 100%); object-fit: cover; }
@media (scripting: none) { .band-still { display: block; } }
.wall-v { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; }
/* The readout rides on top of the playhead: the time it has reached, what Oto measured, and the way to hear it. */
/* Under the band on a computer (the playhead runs on into it), above it on a phone, where the words sit lower. */
.readout { position: absolute; z-index: 3; left: var(--rx, 22%); top: var(--ry-b, 72%); transform: translateX(-1px); display: flex; align-items: center; gap: 8px 22px; min-height: 40px; padding-left: 14px; border-left: 2px solid var(--red); font: 500 13px/1.2 var(--mono); color: var(--mute-n); }
.rd-t { font: 600 18px/1 var(--mono); color: var(--ink-n); font-variant-numeric: tabular-nums; }
.rd-f { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.hero-sound { justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 14px 0 12px; border: 0; background: transparent; box-shadow: inset 0 0 0 1.5px var(--rule-n); color: var(--ink-n); font: 600 14px/1 var(--text); cursor: pointer; transition: box-shadow .2s, background-color .2s, color .2s; }
.hero-sound::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.hero-sound .off, .hero-sound[aria-pressed="true"] .on { display: none; }
.hero-sound[aria-pressed="true"] .off { display: inline; }
.hero-sound[aria-pressed="true"] { background: var(--ink-n); color: var(--night); box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .hero-sound:hover { box-shadow: inset 0 0 0 1.5px var(--ink-n); } }
.hero-copy { position: relative; z-index: 2; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding: calc(var(--bar) + clamp(20px, 4.5svh, 52px)) var(--gut) calc(var(--tp) + clamp(20px, 4svh, 40px)); pointer-events: none; }
html.moving .hero-copy, html.moving .readout { opacity: calc(1 - clamp(0, (var(--p, 0) - .03) * 8, 1)); }
html.moving .hero-copy { transform: translateY(calc(clamp(0, (var(--p, 0) - .03) * 8, 1) * -40px)); }
html.moving .hero-copy:has(:focus-visible), html.moving .readout:has(:focus-visible) { opacity: 1; transform: none; }
html.moving .readout:has(:focus-visible) { transform: translateX(-1px); }
.hero-copy > * { pointer-events: auto; }
.ch-hero h1 { font-size: clamp(44px, 5.3vw, 98px); font-stretch: 46%; line-height: .92; max-width: 9em; }
.ln { display: block; overflow: hidden; padding-bottom: .06em; }
.ln > span { display: block; }
.hero-foot { grid-row: 3; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; }
.lead { max-width: 31em; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.45; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pc-note { display: none; }
.wall-note { position: absolute; z-index: 2; left: var(--gut); bottom: calc(var(--tp) + 24px); max-width: 30em; padding: 14px 18px; background: var(--night); font-size: 15px; line-height: 1.45; opacity: 0; }
html.moving .wall-note { opacity: calc(clamp(0, (var(--p, 0) - .62) * 8, 1) - clamp(0, (var(--p, 0) - .84) * 10, 1)); }
html:not(.moving) .wall-note { display: none; }

/* The entrance (land.js sets .intro and, on the beat, .i1 .i2 .i3): the light, the playhead recording, the colour.
   Until the script runs, the first screen waits in the dark; if it never runs, it appears after four seconds anyway. */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  /* the same hidden places the entrance starts from, so nothing moves or fades when the script takes over */
  html:not(.js) .readout { opacity: 0; animation: failsafe 0s 4s forwards; }
  html:not(.js) .bar { transform: translateY(-100%); animation: failsafe 0s 4s forwards; }
  html:not(.js) .transport { transform: translateY(100%); animation: failsafe 0s 4s forwards; }
  html:not(.js) .ch-hero .ln > span { transform: translateY(105%); animation: failsafe 0s 4s forwards; }
  html:not(.js) .hero-foot, html:not(.js) .rd-f, html:not(.js) .hero-sound { opacity: 0; transform: translateY(12px); animation: failsafe 0s 4s forwards; }
}
@keyframes failsafe { to { opacity: 1; transform: none; } }
.ch-hero .ln > span, .hero-foot, .rd-f, .hero-sound, .rd-t { transition: transform .8s var(--ease), opacity .6s var(--ease); }
html.intro .ch-hero .ln > span { transform: translateY(105%); }
html.intro.i1 .ch-hero .ln:first-child > span, html.intro.i2 .ch-hero .ln + .ln > span { transform: none; }
html.intro .hero-foot, html.intro .rd-f, html.intro .hero-sound { opacity: 0; transform: translateY(12px); }
html.intro.i3 .hero-foot, html.intro.i3 .rd-f, html.intro.i3 .hero-sound { opacity: 1; transform: none; }
html.intro.i3 .hero-sound { transition-delay: calc(var(--beat) / 2); }
html.intro .bar { transform: translateY(-100%); }
html.intro .transport { transform: translateY(100%); }
html.intro.i3 .bar, html.intro.i3 .transport { transform: none; }
html.intro .readout { border-left-color: transparent; }
html.intro.i1 .readout { border-left-color: var(--red); transition: border-color .3s; }

/* 2. What Oto hears: one sentence of real readings, the app's own instruments set into it at type height. */
.ch-hear { padding: clamp(96px, 16svh, 180px) var(--gut) clamp(80px, 14svh, 160px); }
.said { max-width: 16.5em; font: 800 clamp(32px, 5.2vw, 88px)/1.12 var(--display); font-stretch: 78%; letter-spacing: -.01em; color: var(--ink-n); text-wrap: wrap; }
.said .val .w { color: var(--red); }
.said .val { white-space: nowrap; }
.tile { display: inline-block; width: 1.5em; height: 1.02em; vertical-align: -.14em; margin: 0 .06em; }
.tile.away { visibility: hidden; }
.flyer { position: absolute; left: 0; top: 0; z-index: 5; display: none; pointer-events: none; transform-origin: 0 0; will-change: transform; }
/* The wall's stage lets the flying instruments out below it, over the sentence they land in. */
html.moving .ch-hero { z-index: 2; }
html.moving .ch-hero .stage { overflow-x: clip; overflow-y: visible; }
.hear-p { max-width: 36em; margin: clamp(32px, 6svh, 64px) 0 0 auto; color: var(--mute-n); font-size: clamp(17px, 1.3vw, 20px); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .said .w { animation: lit linear both; animation-timeline: view(); animation-range: cover 22% cover 42%; }
    .said .val .w { animation-name: lit-val; }
  }
}
@keyframes lit { from { color: var(--mute-n); } }
@keyframes lit-val { from { color: var(--mute-n); } }

/* 3. The Sheet on paper: the scroll prints the page, 61 frames of the app's own export; then the A3 poster of the same
   page comes down over it, registered to the painting, behind the red line, and settles as a sheet of its own. */
.paper { background: var(--paper); color: var(--ink); }
.ch-sheet .stage { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr; column-gap: clamp(24px, 4vw, 72px); padding: calc(var(--bar) + clamp(28px, 5svh, 56px)) var(--gut) calc(var(--tp) + clamp(16px, 3svh, 32px)); background: var(--paper); }
.sheet-copy { grid-column: 1; }
.sheet-copy p { max-width: 30em; margin-top: 18px; color: var(--mute-p); font-size: clamp(16px, 1.25vw, 19px); }
.pct { grid-column: 1; grid-row: 2; align-self: end; display: flex; align-items: baseline; flex-wrap: wrap; font: 1000 clamp(96px, 21svh, 230px)/.8 var(--display); font-stretch: 72%; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pct-u { font-size: .45em; margin-left: .16em; }
.pct-l { flex-basis: 100%; margin-top: 14px; font: 600 15px/1 var(--text); letter-spacing: 0; color: var(--mute-p); }
.print { grid-column: 2; grid-row: 1 / 3; position: relative; align-self: end; height: calc(100svh - var(--bar) - var(--tp) - clamp(52px, 9svh, 96px)); aspect-ratio: 4 / 5; --r: 0; --s: 0; }
.print-c, .print-first { position: absolute; inset: 0; width: 100%; height: 100%; }
.print-first { visibility: hidden; }
html:not(.js) .print-first { visibility: visible; }
/* The poster's place over the print, measured on the two exports: its painting lands on the painting. */
/* Before the poster comes down, the print's painting is trimmed to the poster's crop (paper of the export, #E9E7DE),
   so the painting's edges run on unbroken across the red line. */
.trim { position: absolute; top: calc(16.15% - 2px); height: calc(72.15% + 4px); background: #E9E7DE; pointer-events: none; transform: scaleX(clamp(0, calc(var(--r) * 8.4), 1)); }
.trim.l { left: calc(5.56% - 2px); width: calc(3.31% + 2px); transform-origin: 0 50%; }
.trim.r { right: calc(5.65% - 2px); width: calc(4.34% + 2px); transform-origin: 100% 50%; }
.poster { position: absolute; left: 2.93%; top: -4.48%; width: 93.02%; height: 105.22%; clip-path: inset(0 0 calc((1 - var(--r)) * 100%) 0); transform: scale(calc(1 - var(--s) * .045)); box-shadow: 0 0 0 1px rgba(21, 20, 15, calc(var(--s) * .14)), 0 calc(var(--s) * 18px) calc(var(--s) * 44px) rgba(21, 20, 15, calc(var(--s) * .3)); }
.poster img { width: 100%; height: 100%; }
.wipe { position: absolute; left: 0; right: 0; top: calc(-4.48% + var(--r) * 105.22%); height: 2px; margin-top: -1px; background: var(--red); opacity: calc(min(var(--r) * 20, 1) - max(0, var(--r) - .97) * 34); pointer-events: none; }
html.moving .print-c { opacity: calc(1 - var(--s)); }
.poster-cap { grid-column: 1; grid-row: 2; align-self: end; max-width: 24em; padding-top: 12px; border-top: 1px solid var(--ink); font-size: 16px; line-height: 1.45; opacity: 0; }
.poster-cap b { display: block; font-weight: 600; }
html.moving .poster-cap { opacity: clamp(0, (var(--p, 0) - .93) * 16, 1); }
html.moving .pct { opacity: calc(1 - clamp(0, (var(--p, 0) - .86) * 16, 1)); }

/* The pens: the finished pages of eleven pens, all of Track 01, drift past as the paper goes by. */
.ch-pens { padding: clamp(64px, 12svh, 140px) 0 clamp(72px, 14svh, 160px); overflow: clip; }
.pens-copy { display: grid; gap: 16px; padding: 0 var(--gut) clamp(32px, 6svh, 64px); }
.pens-copy h3 { font: 900 clamp(34px, 4.4vw, 72px)/1 var(--display); font-stretch: 68%; letter-spacing: -.012em; }
.pens-copy p { max-width: 36em; color: var(--mute-p); }
.pens-track { padding: 0 var(--gut); }
.pens { display: flex; gap: clamp(16px, 2vw, 32px); width: max-content; }
html.moving .pens { transform: translateX(calc(var(--d, 0) * -1px)); }
.pens li { width: clamp(220px, 23vw, 380px); }
.pens img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; box-shadow: 0 0 0 1px var(--line-p); }
.pens b { display: block; margin-top: 14px; font: 800 22px/1.1 var(--display); font-stretch: 80%; }
.pens span { display: block; margin-top: 6px; max-width: 22em; color: var(--mute-p); font-size: 15px; line-height: 1.4; }
html:not(.moving) .pens-track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
html:not(.moving) .pens li { scroll-snap-align: start; }

/* 4. Sixty looks: the orange field of the recording light; the picked look plays on night beside it. */
.signal { background: var(--red); color: var(--ink); }
.ch-looks { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "intro stage" "index stage"; }
.looks-intro, .index { background: var(--red); color: var(--ink); padding: 0 var(--gut); }
.looks-intro { grid-area: intro; padding-top: clamp(72px, 12svh, 140px); overflow: clip; }
.sixty { font: 1000 min(42vw, 62svh)/.78 var(--display); font-stretch: 84%; letter-spacing: -.04em; margin-left: -.05em; transform-origin: 0 100%; }
.looks-intro h2 { margin-top: clamp(20px, 4svh, 40px); }
.looks-p { max-width: 34em; margin-top: 18px; font-size: clamp(16px, 1.25vw, 19px); }
.index { grid-area: index; padding-top: clamp(40px, 7svh, 72px); padding-bottom: clamp(72px, 12svh, 140px); }
.grp { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 0 20px; padding: 16px 0 18px; border-top: 2px solid var(--ink); }
.grp h3 { padding-top: .5em; font: 700 15px/1.2 var(--text); }
.grp ul { display: flex; flex-wrap: wrap; gap: 2px 2px; }
.grp button { position: relative; min-height: 44px; padding: 0 9px; border: 0; background: transparent; color: var(--ink); font: 800 clamp(20px, 1.8vw, 30px)/1 var(--display); font-stretch: 74%; letter-spacing: -.005em; cursor: pointer; transition: background-color .22s var(--ease), color .22s var(--ease); }
.grp button::after { content: ""; position: absolute; right: 4px; top: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); opacity: 0; transform: scale(.4); transition: opacity .22s var(--ease), transform .22s var(--ease); }
.grp button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.grp button[aria-pressed="true"]::after { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) { .grp button:hover { background: rgba(21, 20, 15, .14); } .grp button[aria-pressed="true"]:hover { background: var(--ink); } }
.more { margin-top: 20px; max-width: 40em; font-size: 15px; }
.looks-stage { grid-area: stage; background: var(--night); color: var(--ink-n); padding: 0 var(--gut); }
.preview { position: sticky; top: calc(var(--bar) + clamp(16px, 4svh, 48px)); padding: clamp(24px, 5svh, 56px) 0; }
.pv { position: relative; aspect-ratio: 1; width: min(100%, calc(100svh - var(--bar) - var(--tp) - 250px)); margin: 0 auto; background: var(--night); box-shadow: 0 0 0 1px var(--line-n); overflow: hidden; }
.pv video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.preview figcaption { width: min(100%, calc(100svh - var(--bar) - var(--tp) - 250px)); height: 9.6em; margin: 18px auto 0; overflow: hidden; }
.pv-now { display: flex; align-items: center; gap: 8px; color: var(--mute-n); font: 600 13px/1 var(--text); }
.pv-now .lamp { width: 8px; height: 8px; margin: 0; }
html.still .pv-now { visibility: hidden; }
.preview b { display: block; margin-top: 10px; font: 900 clamp(26px, 2.6vw, 40px)/1.05 var(--display); font-stretch: 74%; }
.pv-sub { display: -webkit-box; margin-top: 8px; color: var(--mute-n); font-size: 16px; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.preview b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .sixty { animation: sixty linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  }
}
@keyframes sixty { from { transform: scale(1.9); } }

/* 5. What comes out: one viewfinder in the middle changes shape; each recording keeps its own proportion. */
.ch-out .stage { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; row-gap: clamp(16px, 3svh, 28px); padding: calc(var(--bar) + clamp(20px, 4svh, 40px)) var(--gut) calc(var(--tp) + clamp(14px, 2.5svh, 28px)); }
.out-copy p { max-width: 40em; margin-top: 12px; color: var(--mute-n); font-size: clamp(16px, 1.15vw, 18px); }
.frame { position: relative; min-height: 0; }
.frame-in { position: absolute; inset: 0; }
.fm { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: 0; }
.fm:first-child { opacity: 1; }
.fm video { width: 100%; height: 100%; object-fit: cover; }
.crop { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; border: 0 solid var(--ink-n); pointer-events: none; }
.crop.tl { border-width: 2px 0 0 2px; margin: -2px 0 0 -2px; }
.crop.tr { border-width: 2px 2px 0 0; margin: -2px 0 0 -16px; }
.crop.bl { border-width: 0 0 2px 2px; margin: -16px 0 0 -2px; }
.crop.br { border-width: 0 2px 2px 0; margin: -16px 0 0 -16px; }
.ratio { position: absolute; left: 50%; top: 50%; font: 500 13px/1 var(--mono); letter-spacing: .04em; color: var(--ink-n); white-space: nowrap; }
.reel-sound { position: absolute; z-index: 2; left: 50%; bottom: 0; transform: translateX(-50%); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; min-height: 40px; padding: 0 12px; border: 0; background: var(--night); color: var(--ink-n); box-shadow: inset 0 0 0 1px var(--rule-n); font: 600 14px/1 var(--text); cursor: pointer; }
.reel-sound[aria-pressed="true"] { background: var(--red); color: var(--ink); box-shadow: none; }
.frame.reel-on .reel-sound { opacity: 1; visibility: visible; }
html.moving .ch-out .frame { margin-bottom: 52px; }
html.moving .reel-sound { bottom: -52px; }
.fmts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(16px, 2vw, 32px); }
.fmts li { display: grid; align-content: start; gap: 6px; padding-top: 12px; border-top: 2px solid var(--line-n); color: var(--mute-n); transition: color .25s, border-color .25s; }
.fmts b { font-weight: 600; font-size: 16px; line-height: 1.3; }
.fmts .d { font-size: 14px; line-height: 1.4; }
.fmts li.on { color: var(--ink-n); border-top-color: var(--red); }

/* 6. Try it: the demo is an instrument across the full width, its controls along the bottom like a deck. */
.ch-try { padding: clamp(80px, 14svh, 160px) 0 clamp(64px, 10svh, 120px); border-top: 1px solid var(--line-n); }
.try-copy { display: grid; gap: 16px; padding: 0 var(--gut) clamp(28px, 5svh, 48px); }
.try-copy p { max-width: 36em; color: var(--mute-n); }
.demo { --paper: #0D0D0B; --ink: #ECE8DC; --mute: #9E9B90; --line: rgba(236, 232, 220, .1); --rule: rgba(236, 232, 220, .3); --accent: #FF4A1C; border-block: 1px solid var(--line-n); }
.stage-wrap { position: relative; padding: 0 var(--gut); }
.idle { position: absolute; z-index: 1; inset: 22% var(--gut) 22% calc(var(--gut) + 64px); display: block; pointer-events: none; transition: opacity .3s; }
.idle svg { width: 100%; height: 100%; fill: #3B3A35; }
#demo.on .idle { opacity: 0; }
.stage-wrap.over { outline: 3px solid var(--red); outline-offset: -3px; }
.demo .stage { position: relative; width: 100%; height: min(44svh, 40vw); }
.stage-hint { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 12px; padding: 20px 24px; background: var(--night); color: var(--mute-n); font-size: 15px; text-align: center; transition: opacity .3s; }
.stage-hint .tap { display: none; }
@media (hover: none) { .stage-hint .drop { display: none; } .stage-hint .tap { display: inline; } }
#demo.on .stage-hint { opacity: 0; pointer-events: none; }
.deck { display: grid; gap: 12px; padding: 16px var(--gut); border-top: 1px solid var(--line-n); }
.deck-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.lbl { width: 4.5em; color: var(--mute-n); font: 600 15px/1 var(--text); }
.file { position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; box-shadow: inset 0 0 0 1px var(--rule-n); font: 600 15px/1 var(--text); cursor: pointer; }
.file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file:focus-within { outline: 3px solid var(--red); outline-offset: 3px; }
.play { min-height: 40px; padding: 0 18px; border: 0; background: var(--ink-n); color: var(--night); font: 600 15px/1 var(--text); cursor: pointer; }
.play:disabled { opacity: .4; cursor: default; }
.status { margin-left: auto; color: var(--mute-n); font-size: 15px; }
.demo .btn { color: #15140F; }

/* 7. The app: three real states of one window. The camera goes close to the looks, Studio and Export. */
.ch-app { border-top: 1px solid var(--line-n); }
.ch-app .stage { display: grid; grid-template-rows: auto minmax(0, 1fr); row-gap: clamp(16px, 3svh, 28px); padding: calc(var(--bar) + clamp(20px, 4svh, 40px)) var(--gut) calc(var(--tp) + clamp(16px, 3svh, 32px)); }
.app-head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 16px clamp(24px, 4vw, 72px); }
.steps-app { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 16px; padding-bottom: 3.1em; }
.steps-app li { padding-top: 10px; border-top: 2px solid var(--line-n); color: var(--mute-n); transition: color .25s, border-color .25s; }
.steps-app b { display: block; font: 600 15px/1.2 var(--text); }
.steps-app span { position: absolute; left: 0; right: 0; bottom: 0; color: var(--ink-n); font-size: 15px; line-height: 1.4; opacity: 0; transition: opacity .25s; }
.steps-app li.on { color: var(--ink-n); border-top-color: var(--red); }
.steps-app li.on span { opacity: 1; }
.win { position: relative; justify-self: center; align-self: center; width: min(100%, calc((100svh - var(--bar) - var(--tp) - 210px) * 1.55)); aspect-ratio: 1240 / 800; overflow: hidden; background: #111110; box-shadow: 0 0 0 1px var(--line-n); }
.cam { position: absolute; left: 0; top: 0; width: 1240px; height: 800px; max-width: none; transform-origin: 0 0; will-change: transform; }
.st { position: absolute; inset: 0; opacity: 0; }
.st.on { opacity: 1; }
.st img { position: absolute; max-width: none; }
.st .base { left: 0; top: 0; width: 100%; height: 100%; }

/* 8. Listen: the window floats up close, then shrinks to its working size and parks in the corner, over the page. */
.ch-listen { border-top: 1px solid var(--line-n); }
.ch-listen .stage { padding: calc(var(--bar) + clamp(24px, 5svh, 56px)) var(--gut) calc(var(--tp) + 24px); }
.listen-copy { position: relative; z-index: 1; max-width: 36em; }
.listen-copy p { max-width: 32em; margin-top: 18px; color: var(--mute-n); }
.listen-copy .fine { font-size: 15px; }
html.moving .listen-copy { max-width: 30em; }
.listen-win { margin-top: 40px; }
html.moving .listen-win { position: absolute; left: 0; top: 0; margin: 0; transform-origin: 0 0; will-change: transform; z-index: 2; }
.listen-win img { width: 100%; height: auto; box-shadow: 0 0 0 1px rgba(236, 232, 220, .18), 0 28px 70px rgba(0, 0, 0, .55); }
html:not(.moving) .listen-win { max-width: 640px; }

/* The one promise about privacy, said in full size. */
.ch-privacy { padding: clamp(80px, 13svh, 150px) var(--gut); border-top: 1px solid var(--line-n); }
.privacy-h { font: 900 clamp(40px, 7vw, 124px)/.95 var(--display); font-stretch: 64%; letter-spacing: -.015em; max-width: 11em; }
.ch-privacy p { max-width: 34em; margin-top: 24px; color: var(--mute-n); font-size: clamp(17px, 1.3vw, 20px); }

/* 9. The price, said in numbers on the orange; the plan for good leads. */
.ch-price { padding: clamp(80px, 13svh, 150px) var(--gut) clamp(64px, 10svh, 120px); }
.price-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 40px; align-items: end; }
.price-head p { grid-column: 1; max-width: 34em; font-size: clamp(16px, 1.25vw, 19px); }
.cur-row { grid-column: 2; grid-row: 1 / 3; display: flex; align-items: center; gap: 12px; }
.cur-row > span { font: 600 15px/1 var(--text); }
.signal .seg button { min-width: 48px; min-height: 44px; box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); font-weight: 700; }
.signal .seg [aria-pressed="true"] { background: var(--ink); color: var(--red); }
@media (hover: hover) and (pointer: fine) { .signal .seg button:hover { color: var(--ink); background: rgba(21, 20, 15, .12); box-shadow: inset 0 0 0 2px var(--ink); } .signal .seg [aria-pressed="true"]:hover { background: var(--ink); color: var(--red); } }
.plans { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); margin-top: clamp(40px, 7svh, 72px); border-top: 2px solid var(--ink); }
.plan { display: flex; flex-direction: column; gap: 18px; padding: 24px clamp(20px, 3vw, 48px) 8px 0; }
.plan + .plan { padding-left: clamp(20px, 3vw, 48px); border-left: 2px solid var(--ink); }
.plan h3 { font: 800 clamp(24px, 2.4vw, 36px)/1 var(--display); font-stretch: 80%; }
.plan h3 span { font: 400 15px/1 var(--text); margin-left: 8px; }
.amount { font: 1000 clamp(72px, 11vw, 196px)/.85 var(--display); font-stretch: 70%; letter-spacing: -.03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.plan.month .amount { font-size: clamp(48px, 5.4vw, 96px); }
.plan ul { display: grid; gap: 6px; font-size: 16px; }
.plan li { position: relative; padding-left: 22px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 7px; height: 7px; background: var(--ink); }
.plan .btn { align-self: start; margin-top: 6px; }
.pc-line { margin-top: clamp(28px, 5svh, 44px); max-width: 44em; font: 600 16px/1.45 var(--text); }
.was { display: block; margin-bottom: 14px; font: 700 clamp(18px, 1.8vw, 28px)/1 var(--text); letter-spacing: 0; font-stretch: 100%; }
.was[hidden], .sale-tag[hidden] { display: none; }
.was s { text-decoration: line-through; text-decoration-thickness: 2px; }
.price-head .sale-tag { grid-column: 1; justify-self: start; margin: 0; padding: 7px 10px; background: var(--ink); color: var(--red); font: 800 14px/1 var(--text); letter-spacing: .02em; }
.pay-wrap { margin-top: clamp(28px, 5svh, 44px); max-width: 44em; }
.pay-wrap h3 { font: 800 clamp(22px, 2vw, 30px)/1 var(--display); font-stretch: 80%; }
.pay-list { display: grid; gap: 6px; margin-top: 14px; font: 600 16px/1.45 var(--text); }
.pay-list li { position: relative; padding-left: 22px; }
.pay-list li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 7px; height: 7px; background: var(--ink); }
.no-tg { margin-top: 14px; font-size: 16px; line-height: 1.45; }
.no-tg a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.steps-wrap { margin-top: clamp(48px, 8svh, 88px); }
.steps-wrap h3 { font: 800 clamp(22px, 2vw, 30px)/1 var(--display); font-stretch: 80%; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 14px; border-top: 2px solid var(--ink); font-size: 16px; line-height: 1.45; }
.steps li::before { content: counter(step); display: block; margin-bottom: 8px; font: 1000 40px/1 var(--display); font-stretch: 70%; }
.steps b { display: block; font-weight: 600; }
.after { margin-top: 28px; font-size: 16px; }
.after a { font-weight: 600; }

/* Questions. */
.ch-faq { padding: clamp(80px, 13svh, 150px) var(--gut); }
.faq-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); margin-top: clamp(28px, 5svh, 48px); }
.faq-cols details { border-top: 1px solid var(--line-n); }
.faq-cols summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font: 600 18px/1.35 var(--text); cursor: pointer; list-style: none; }
.faq-cols summary::-webkit-details-marker { display: none; }
.faq-cols summary::after { content: ""; flex: none; width: 14px; height: 14px; margin-top: 4px; background: linear-gradient(var(--red), var(--red)) center / 14px 2px no-repeat, linear-gradient(var(--red), var(--red)) center / 2px 14px no-repeat; }
.faq-cols details[open] summary::after { background: linear-gradient(var(--red), var(--red)) center / 14px 2px no-repeat; }
.faq-cols details p { padding: 0 0 22px; max-width: 36em; color: var(--mute-n); }

/* The end of the track: the last bars play out, the playhead folds into the light of the mark, one thing to do. */
.ch-end .stage { min-height: 100svh; display: grid; grid-template-rows: minmax(0, 1fr) auto auto; padding: calc(var(--bar) + 24px) var(--gut) calc(var(--tp) + 12px); }
.end-c { position: relative; grid-row: 1; width: calc(100% + 2 * var(--gut)); height: 100%; min-height: 0; margin: 0 calc(-1 * var(--gut)); }
.end-copy { position: relative; z-index: 1; grid-row: 2; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; padding: 20px 0 8px; }
.end-copy h2 { font-size: clamp(36px, 5vw, 84px); max-width: 9em; }
.giant { position: relative; z-index: 1; grid-row: 3; font: 1000 min(30vw, 34svh)/.8 var(--display); font-stretch: 112%; letter-spacing: -.04em; white-space: nowrap; margin-left: -.04em; }
.giant .lamp { width: .22em; height: .22em; opacity: .2; transition: opacity .25s, transform .26s var(--ease); }
.giant .lamp.lit { opacity: 1; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 28px var(--gut) 32px; border-top: 1px solid var(--line-n); color: var(--mute-n); font-size: 15px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink-n); text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* Reduced motion, or no script: nothing pinned, every chapter at its most telling state. */
html:not(.moving) .ch-sheet .stage { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); }
html:not(.moving) .print { height: auto; width: 100%; }
html:not(.moving) .print-c { position: relative; height: auto; aspect-ratio: 4 / 5; }
html:not(.moving) .poster, html:not(.moving) .wipe, html:not(.moving) .trim { display: none; }
html:not(.moving) .poster-cap { opacity: 1; grid-row: 3; margin-top: 20px; }
html:not(.moving) .ch-out .frame { min-height: 0; }
html:not(.moving) .frame-in { position: static; display: flex; flex-wrap: wrap; gap: 16px; align-items: end; }
html:not(.moving) .fm { position: relative; left: auto; top: auto; transform: none; opacity: 1; width: auto; height: 220px; aspect-ratio: var(--ar); }
html:not(.moving) .crop, html:not(.moving) .ratio { display: none; }
html:not(.moving) .reel-sound { position: static; transform: none; opacity: 1; visibility: visible; margin-top: 12px; }
html:not(.moving) .fmts li { color: var(--ink-n); }
html:not(.moving) .ch-app .stage, html:not(.moving) .ch-out .stage, html:not(.moving) .ch-sheet .stage, html:not(.moving) .ch-listen .stage { padding-top: clamp(80px, 12svh, 140px); }
html:not(.moving) .ch-end .stage { min-height: 70svh; }
html:not(.moving) .end-c { height: 34svh; }
html:not(.moving) .steps-app { padding-bottom: 0; }
html:not(.moving) .steps-app span { position: static; opacity: 1; display: block; margin-top: 6px; color: var(--mute-n); }
html:not(.moving) .win { width: 100%; }
html:not(.moving) .cam { position: relative; width: 100%; height: 100%; transform: none; }
html:not(.moving) .st:not(:first-child) { display: none; }

/* Tablet. */
@media (max-width: 1023px) {
  .ch-hero h1 { font-size: clamp(40px, 7vw, 72px); }
  .ch-sheet .stage { grid-template-columns: minmax(0, 1fr) auto; }
  .pct { font-size: clamp(80px, 14svh, 150px); }
  .ch-looks { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .grp { grid-template-columns: 1fr; }
  .grp h3 { padding: 0 0 8px; }
  .fmts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
  .fmts li:not(.on) .d { display: none; }
  .app-head { grid-template-columns: 1fr; }
  .tp-time .t-all { display: none; }
}

/* Phone: one column, built for the thumb; the first screen keeps the event, the looks inside the bars stay large. */
@media (max-width: 767px) {
  :root { --bar: 56px; --tp: 52px; }
  .other-lang { left: var(--gut); top: 44svh; max-width: none; }
  body { font-size: 16px; }
  .bar { gap: 8px; }
  .bar .btn, .lang a, .tp, .tp-now, .seg button, .play, .file, .chap a, .hero-sound { min-height: 44px; }
  .transport { gap: 10px; }
  .tp-now { min-width: 0; font-size: 13px; }
  .tp-time { display: none; }
  .band { --rest-c: .52; --rest-h: .3; }
  .readout { top: var(--ry-a, 30%); transform: translate(-1px, -100%); display: grid; gap: 6px; padding-left: 10px; font-size: 12px; }
  html.moving .readout:has(:focus-visible) { transform: translate(-1px, -100%); }
  .rd-t { font-size: 18px; }
  .rd-f { gap: 2px 12px; }
  .hero-copy { padding-top: calc(var(--bar) + 18px); }
  .ch-hero h1 { font-size: clamp(34px, 10.4vw, 48px); }
  .hero-foot { display: grid; gap: 14px; }
  .lead { font-size: 16px; }
  .actions { display: grid; gap: 8px; }
  .actions .btn { width: 100%; }
  .pc-note { display: block; color: var(--mute-n); font-size: 14px; line-height: 1.4; }
  .wall-note { right: var(--gut); font-size: 14px; }
  .said { font-size: clamp(28px, 8.4vw, 40px); }
  .pens li { width: 64vw; }
  .ch-looks { grid-template-columns: 1fr; grid-template-areas: "intro" "stage" "index"; }
  .looks-stage { position: sticky; top: var(--bar); z-index: 2; padding: 12px var(--gut); border-bottom: 1px solid var(--line-n); }
  .preview { position: static; display: grid; grid-template-columns: 40vw minmax(0, 1fr); gap: 14px; align-items: start; padding: 0; }
  .pv { width: 100%; }
  .preview figcaption { width: auto; height: 40vw; margin: 0; }
  .pv-sub { -webkit-line-clamp: 4; }
  .preview b { font-size: 22px; margin-top: 6px; }
  .pv-sub { font-size: 14px; }
  .sixty { font-size: 58vw; }
  .grp button { font-size: 22px; min-height: 44px; }
  .out-copy p { display: none; }
  .frame { margin: 30px 0 52px; }
  .fmts { grid-template-columns: 1fr; }
  .fmts li:not(.on) { display: none; }
  .demo .stage { height: min(62svh, 110vw); }
  .status { margin-left: 0; width: 100%; }
  .lbl { width: auto; }
  .steps-app { grid-template-columns: repeat(4, auto); justify-content: start; gap: 0 14px; padding-bottom: 4.4em; }
  .steps-app span { font-size: 14px; }
  .win { width: 100%; aspect-ratio: 4 / 5; max-height: calc(100svh - var(--bar) - var(--tp) - 230px); }
  html:not(.moving) .win { aspect-ratio: 1240 / 800; max-height: none; }
  .price-head { grid-template-columns: 1fr; }
  .cur-row { grid-column: 1; grid-row: auto; }
  .plans { grid-template-columns: 1fr; }
  .plan { padding-right: 0; }
  .plan + .plan { padding-left: 0; border-left: 0; border-top: 2px solid var(--ink); margin-top: 24px; }
  .amount { font-size: clamp(64px, 22vw, 110px); }
  .plan.month .amount { font-size: clamp(48px, 15vw, 76px); }
  .steps { grid-template-columns: 1fr; }
  .faq-cols { grid-template-columns: 1fr; }
  .end-copy { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: stretch; }
  .end-copy h2 { max-width: none; }
  .end-copy .btn { width: 100%; }
  .giant { font-size: 34vw; }
  html:not(.moving) .fm { height: auto; width: 100%; }
}
@media (max-width: 360px) {
  .lang a { padding: 0 6px; }
  .bar .btn { padding: 0 12px; }
  .mini { display: none; }
  .transport { box-shadow: inset 0 1px 0 0 transparent; background: linear-gradient(var(--red), var(--red)) 0 0 / calc(var(--page) * 100%) 2px no-repeat, var(--night); }
  .tp-now { margin-right: auto; }
  .rd-f { display: none; }
  .readout { display: flex; align-items: center; gap: 12px; }
}
@media (min-width: 768px) and (max-height: 820px) {
  .band { --rest-c: .5; --rest-h: .27; }
}
@media (max-width: 1023px) and (orientation: portrait) {
  .ch-sheet .stage { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; row-gap: 14px; }
  .sheet-copy p { margin-top: 10px; font-size: 15px; }
  .pct { grid-row: 2; align-self: start; font-size: clamp(56px, 9vw, 96px); flex-wrap: nowrap; align-items: baseline; gap: 0 12px; }
  .pct-l { flex-basis: auto; margin: 0; }
  .print { grid-column: 1; grid-row: 3; align-self: start; justify-self: center; height: auto; width: min(100%, calc((100svh - var(--bar) - var(--tp) - 300px) * .8)); margin-top: 18px; }
  .poster-cap { grid-row: 2; align-self: start; font-size: 14px; }
}
@media (max-width: 767px) and (max-height: 620px) {
  .lead { display: none; }
}
@media (max-width: 767px) and (max-height: 700px) {
  .pc-note { display: none; }
}
@media (max-width: 767px) and (max-height: 720px) {
  .sheet-copy p { display: none; }
  .print { width: min(100%, calc((100svh - var(--bar) - var(--tp) - 180px) * .8)); }
}
