/* khns.dev v2 foundation: tokens, type, and the shared components every section uses.
   Section-specific rules live in site.css. Nothing here may be restyled per section except through the custom properties. */

@font-face{font-family:"Chakra Petch";src:url("/fonts/chakra-500-latin-ext.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap;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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Chakra Petch";src:url("/fonts/chakra-500-latin.woff2") format("woff2");font-weight:500;font-style:normal;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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Chakra Petch";src:url("/fonts/chakra-600-latin-ext.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap;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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Chakra Petch";src:url("/fonts/chakra-600-latin.woff2") format("woff2");font-weight:600;font-style:normal;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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Chakra Petch";src:url("/fonts/chakra-700-latin-ext.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap;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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Chakra Petch";src:url("/fonts/chakra-700-latin.woff2") format("woff2");font-weight:700;font-style:normal;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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter";src:url("/fonts/inter-latin-ext.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap;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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
/* The Slovak, Czech and Hungarian letters of Inter, cut from the latin-ext file into 7 KB of their own. This rule comes
   after that one, so it wins for them and the 85 KB file is fetched only if some other latin-ext letter appears. */
@font-face{font-family:"Inter";src:url("/fonts/inter-latin-ce.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+010C-010F,U+011A-011B,U+0139-013A,U+013D-013E,U+0147-0148,U+0150-0151,U+0154-0155,U+0158-0159,U+0160-0161,U+0164-0165,U+016E-0171,U+017D-017E}
@font-face{font-family:"Inter";src:url("/fonts/inter-latin.woff2") format("woff2");font-weight:100 900;font-style:normal;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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* Inter for what a visitor types into the mail form (site.css): the latin-ext and latin files above, without the cut
   one, so a typed Slovak letter next to any other Central European letter comes from one file and is spaced as it
   always was. The 85 KB file is fetched only once such a letter is typed. */
@font-face{font-family:"Inter Typed";src:url("/fonts/inter-latin-ext.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap;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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Inter Typed";src:url("/fonts/inter-latin.woff2") format("woff2");font-weight:100 900;font-style:normal;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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"JetBrains Mono";src:url("/fonts/jbmono-latin-ext.woff2") format("woff2");font-weight:100 800;font-style:normal;font-display:swap;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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"JetBrains Mono";src:url("/fonts/jbmono-latin.woff2") format("woff2");font-weight:100 800;font-style:normal;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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root {
  /* surface */
  --bg: #07080b;
  --bg-2: #0b0d12;
  --bg-3: #10131a;
  --panel: rgba(255, 255, 255, .035);
  --panel-2: rgba(255, 255, 255, .06);
  --panel-solid: #0e1117;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .17);
  /* text */
  --text: #eef2f8;
  --text-2: #b9c2d0;
  --dim: #8792a3;
  /* accent: moonlight blue. One loud colour, used for the accent word, labels, primary buttons, focus. */
  --accent: #4db8ff;
  --accent-hi: #9bdcff;
  --accent-ink: #03111c;
  --accent-soft: rgba(77, 184, 255, .14);
  --accent-line: rgba(77, 184, 255, .55);
  --glow: 0 0 0 1px rgba(77, 184, 255, .6), 0 0 28px rgba(77, 184, 255, .38), 0 0 80px rgba(77, 184, 255, .16);
  --glow-soft: 0 0 0 1px rgba(77, 184, 255, .32), 0 0 36px rgba(77, 184, 255, .14);
  /* Feled Stories only: the trailer's sunset gold and the three characters' colours from its title card */
  --gold: #ffc24a;
  --laci: #5fcf74;
  --mirko: #f0605a;
  --reka: #5aa6ff;
  /* state colours for the evaluation chart */
  --ok: #4db8ff;
  --bad: #ff6b6b;
  --wait: #ffc24a;
  /* type */
  --display: "Chakra Petch", "Bahnschrift", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  /* layout */
  --wrap: 1312px;
  --gut: clamp(20px, 4.4vw, 64px);
  --nav-h: 72px;
  --label-gap: 22px;   /* eyebrow to heading, everywhere */
  --r: 10px;
  --r-s: 7px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, canvas, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; letter-spacing: -.012em; text-wrap: balance; }
p { text-wrap: pretty; }
/* Where "pretty" is not known (Firefox), the short texts that would end on a single word are balanced instead. */
@supports not (text-wrap: pretty) { .ab-steps p, .local p, .updates-list span { text-wrap: balance; } }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hi); }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 200; padding: 12px 16px; border-radius: var(--r-s); background: var(--accent); color: var(--accent-ink); font: 600 14px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.skip:focus { top: 16px; color: var(--accent-ink); }
.wrap { width: min(100%, var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }

/* Type roles ------------------------------------------------------------ */
.h-xl { font-size: clamp(40px, 5.3vw, 78px); line-height: 1.03; }
.h-l { font-size: clamp(31px, 3.7vw, 54px); line-height: 1.08; }
.h-m { font-size: clamp(23px, 2.2vw, 32px); line-height: 1.15; }
.h-s { font-size: 19px; line-height: 1.25; letter-spacing: 0; }
.accent { color: var(--accent); }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--text); font-weight: 500; }
.copy { color: var(--text-2); }
/* Notes under the main copy. --dim is for large tracked labels only; running text never goes below --text-2. */
.small { font-size: 14px; line-height: 1.55; color: var(--text-2); }

/* Large desktop windows: a wider measure and one size up for the headings, so the page does not shrink into the
   middle of a 1920 screen. */
@media (min-width: 1700px) {
  :root { --wrap: 1500px; }
  .h-xl { font-size: 88px; }
  .h-l { font-size: 60px; }
  .lead { font-size: 21px; }
}

/* The eyebrow above every heading: a short rule and a tracked label. */
.label {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 12.5px/1 var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--accent);
}
.label::before { content: ""; width: 22px; height: 1px; background: currentColor; flex: none; }
.label-plain::before { content: none; }
.label-dim { color: var(--dim); }
.label-gold { color: var(--gold); }

/* Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px;
  border: 1px solid var(--line-2); border-radius: var(--r-s);
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  font: 600 14.5px/1 var(--display); letter-spacing: .13em; text-transform: uppercase; white-space: nowrap;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), box-shadow .3s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { border-color: var(--accent-line); background: var(--accent-soft); color: var(--text); }
.btn:active { transform: translateY(1px); }
.btn-primary { border-color: transparent; background: var(--accent); color: var(--accent-ink); box-shadow: var(--glow); }
.btn-primary:hover { background: var(--accent-hi); color: var(--accent-ink); box-shadow: 0 0 0 1px rgba(155, 220, 255, .8), 0 0 40px rgba(77, 184, 255, .55), 0 0 110px rgba(77, 184, 255, .25); }
.btn-ghost { border-color: var(--accent-line); color: var(--accent); background: transparent; }
.btn-s { min-height: 42px; padding: 0 16px; font-size: 12.5px; }
.btn svg { width: 16px; height: 16px; flex: none; }
/* The durations inside buttons and tabs ("Trailer 1:12"). */
.btn .t, .cut .t { font: 500 .86em/1 var(--mono); letter-spacing: 0; opacity: .72; }

/* Icons: from the inline sprite (.ico, stroked paths carry their stroke as attributes) ... */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 16px; height: 16px; flex: none; fill: currentColor; }
/* ... or one-colour glyphs drawn with a mask so they take the text colour (elements made in JS, links in running text). */
.l-ic { display: inline-block; width: 16px; height: 16px; flex: none; background: currentColor; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.l-ic-play { --ic: url("/img/l-play.svg"); }
.l-ic-out { --ic: url("/img/l-out.svg"); }
.l-ic-dl { --ic: url("/img/l-dl.svg"); }
.l-ic-chev { --ic: url("/img/l-chev.svg"); }
.l-ic-up { --ic: url("/img/l-up.svg"); }
.l-ic-right { --ic: url("/img/l-right.svg"); }

/* Play plate: the one way a still picture says "this plays" (the trailer screen, the films in the work scenes). */
.plate {
  display: inline-flex; align-items: center; gap: 14px; min-height: 58px; padding: 0 24px 0 8px;
  border: 1px solid var(--accent-line); border-radius: 30px;
  background: rgba(7, 8, 11, .74); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--glow-soft);
  color: var(--text); font: 600 13.5px/1.2 var(--display); letter-spacing: .13em; text-transform: uppercase; white-space: nowrap;
  transition: background-color .25s var(--ease), box-shadow .3s var(--ease), border-color .25s var(--ease);
}
.plate:hover { background: rgba(7, 8, 11, .88); border-color: var(--accent); box-shadow: var(--glow); }
.plate-ico { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
.plate-ico > * { width: 18px; height: 18px; margin-left: 2px; }
.plate .t { font: 500 .92em/1 var(--mono); letter-spacing: 0; color: var(--text-2); margin-left: 2px; }

/* The title bar of a framed panel (the films, the results board, the console). */
.frame-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; padding: 0 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .03); font: 600 10.5px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.frame-name { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame-name::before { content: ""; width: 6px; height: 6px; border-radius: 1px; background: var(--accent); box-shadow: 0 0 10px var(--accent); flex: none; }
.frame-note { font: 500 11px/1 var(--mono); letter-spacing: .04em; text-transform: none; white-space: nowrap; }

/* Glass ----------------------------------------------------------------- */
.glass {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
}
.glass-solid { background: rgba(11, 13, 18, .82); }
.glass-accent { border-color: var(--accent-line); box-shadow: var(--glow-soft); }
a.glass, button.glass { transition: border-color .25s var(--ease), background-color .25s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease); }
a.glass:hover, button.glass:hover { border-color: var(--accent-line); box-shadow: var(--glow-soft); }

/* Small data chip: caption above, value below. Floats next to media. */
.chip-stat { display: inline-grid; gap: 6px; padding: 12px 16px 13px; border: 1px solid var(--line-2); border-radius: var(--r); background: rgba(9, 11, 15, .78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.chip-stat dt, .chip-stat .k { font: 600 10.5px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.chip-stat dd, .chip-stat .v { font: 600 19px/1 var(--display); color: var(--text); font-variant-numeric: tabular-nums; }

.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border: 1px solid var(--accent-line); border-radius: 4px; font: 600 10.5px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.tag-gold { border-color: rgba(255, 194, 74, .6); color: var(--gold); }
.tag-dim { border-color: var(--line-2); color: var(--dim); }

kbd { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border: 1px solid var(--line-2); border-radius: 5px; font: 500 12px/1 var(--mono); color: var(--text-2); }

/* Fixed layers, back to front: page background, the dot field, (inside main) scene backdrops, the trailer screen,
   scene content; then the nav. main and the footer are stacking contexts above the canvas. */
.field { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; max-width: none; pointer-events: none; }
main { position: relative; z-index: 1; }
body > footer { position: relative; z-index: 1; }
/* Scroll lock while the theater or the menu is open. The theater covers the whole window, scrollbar included. */
html.is-theater { overflow: hidden; }
html.is-theater main { z-index: 100; }
html.is-menu { overflow: hidden; scrollbar-gutter: stable; }
/* Stagger steps without style attributes (the CSP forbids them): .i0 .. .i9 set --i for .rv and load-in animations. */
.i0 { --i: 0; } .i1 { --i: 1; } .i2 { --i: 2; } .i3 { --i: 3; } .i4 { --i: 4; }
.i5 { --i: 5; } .i6 { --i: 6; } .i7 { --i: 7; } .i8 { --i: 8; } .i9 { --i: 9; }
/* Only what is on stage takes clicks. */
.is-off, .is-off * { pointer-events: none !important; }

/* Layout helpers shared by every scene and section --------------------- */
/* Inside a .stage: a 12-column grid, content vertically centred below the fixed nav. */
.stage-in { height: 100%; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); align-items: center; padding-top: var(--nav-h); padding-bottom: clamp(20px, 4svh, 48px); }
.col-text { grid-column: 1 / span 5; }
.col-media { grid-column: 7 / -1; }
/* Normal-flow sections (not pinned): same rhythm. */
.section { position: relative; padding-block: 112px; padding-block: clamp(88px, 13svh, 168px); }
/* Heading block: label, heading, lead with fixed distances. */
.head > .label { margin-bottom: var(--label-gap); }
.head > .lead, .head > .copy { margin-top: 22px; max-width: 56ch; }
.stack > * + * { margin-top: var(--gap, 18px); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
@media (max-width: 900px) {
  .stage-in { grid-template-columns: minmax(0, 1fr); align-content: center; row-gap: 28px; }
  .col-text, .col-media { grid-column: 1 / -1; }
}

/* Scroll scenes (driven by js/scenes.js) ---------------------------------
   <section class="scene" data-len="220"><div class="stage">…</div></section>
   The section is data-len svh tall; the stage sticks for the whole length.
   scenes.js writes --p (0..1 through the pinned range), --enter and --exit on the section,
   and --in / --out (0..1) on every descendant with data-in="a b" / data-out="a b" (ranges of --p). */
.scene { position: relative; height: calc(var(--len, 100) * 1svh); --p: 0; --enter: 0; --exit: 0; }
.stage { position: sticky; top: 0; height: 100svh; overflow: clip; }
/* data-hold on a scene that follows another pinned scene: its stage is at the top of the window while the scene
   scrolls in, so its content arrives in place and the two scenes cross-fade. The stage starts one screen above its
   scene (the negative margin; flow-root keeps that margin inside the scene) and sticks from there, so the browser
   holds it, in step with the scroll. Until the scene has arrived (scenes.js: is-held) it takes no clicks. */
html.js[data-motion="on"] .scene[data-hold] { display: flow-root; }
html.js[data-motion="on"] .scene[data-hold] > .stage { margin-top: -100svh; }
.scene.is-held > .stage { pointer-events: none; }
/* A step inside a pinned scene without a data-in attribute: arrives over p = --a .. --a + --d (set per element in CSS,
   so one element can keep different beats on a desktop and on a phone). */
.fx.l-fx { --in: clamp(0, calc((var(--p) - var(--a, 0)) / var(--d, .12)), 1); }

/* .fx: rises, sharpens and fades in over its data-in range, leaves over its data-out range. */
.fx {
  --in: 1; --out: 0; --dy: 34px; --blur: 14px;
  opacity: calc(var(--in) * (1 - var(--out)));
  transform: translate3d(0, calc((1 - var(--in)) * var(--dy) - var(--out) * var(--dy)), 0);
  filter: blur(calc((1 - var(--in) + var(--out)) * var(--blur)));
  will-change: opacity, transform, filter;
}
/* .rv: one-shot reveal for normal-flow content (IntersectionObserver adds .is-in). Stagger with --i. */
.rv { opacity: 0; transform: translate3d(0, 26px, 0); filter: blur(10px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.rv.is-in { opacity: 1; transform: none; filter: none; }
/* Keyboard focus never waits for a reveal. */
.rv:focus-within { opacity: 1; transform: none; filter: none; transition-duration: .2s; transition-delay: 0s; }

/* Motion off (the visitor's switch): everything is simply there. */
html[data-motion="off"] .scene { height: auto; }
html[data-motion="off"] .stage { position: relative; height: auto; min-height: 0; overflow: visible; }
html[data-motion="off"] .fx { opacity: 1; transform: none; filter: none; }
html[data-motion="off"] .rv { opacity: 1; transform: none; filter: none; transition: none; }
/* Animations end at once (their end events still fire). Transitions are off altogether: even a 1ms transition on every
   property would leave the layout one frame behind when the switch is pressed, and the page measures right then. */
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation-duration: .001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition: none !important; scroll-behavior: auto !important; }
html:not([data-motion="off"]) { scroll-behavior: smooth; }
/* Phones never blur per frame: .fx only rises and fades there. */
@media (max-width: 720px) { .fx { filter: none; } }

/* Without JavaScript (js/boot.js puts .js on <html> before first paint, and only in browsers that can run the
   scripted page): plain flow, everything visible. Lines written for that page (.nojs) are hidden when the script runs. */
html.js .nojs { display: none; }
/* A section that received focus because an in-page link led to it shows no ring: it is a place, not a control. */
:is(section, footer, li, div)[tabindex="-1"]:focus { outline: none; }
html:not(.js) .scene { height: auto; }
html:not(.js) .stage { position: relative; height: auto; overflow: visible; }
html:not(.js) .fx, html:not(.js) .rv { opacity: 1; transform: none; filter: none; }
