/* VPS LED: shared styles
   Direction: a studio-style page in the manner of a major film studio's site.
   Full-bleed black hero with one giant condensed headline, then bands that alternate
   white, black, electric blue and navy. Section titles sit in a left column with the
   content beside them. The LED wall in the hero is the only animation. */

@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/nunito-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  --black: #000000;
  --white: #ffffff;
  --signal: #c4161c;
  --signal-deep: #9e1016;
  --signal-lit: #e23a41;
  --floor: #2b2d2f;
  --floor-deep: #232527;
  --ink: #1b1c1d;
  --gray: #474b4d;
  --muted-light: #bcc0c2;
  --tape: #f3f3f0;
  --rule: #d4d4cf;
  --amber: #ffb35c;

  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: clamp(1.25rem, 3vw, 2.5rem);
  --max: 90rem;
  --band: clamp(3.5rem, 7vw, 6.5rem);
  --header-h: 5rem;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--tape);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
.band--black :focus-visible, .band--floor :focus-visible, .band--signal :focus-visible, .hero :focus-visible, .site-header :focus-visible { outline-color: var(--white); }

.wrap {
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin-inline: auto;
}

.skip { position: absolute; left: -999px; top: 0.5rem; z-index: 100; background: var(--white); color: var(--black); padding: 0.6rem 1rem; border-radius: 8px; }
.skip:focus { left: 0.75rem; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Type */

h1, h2, h3 { margin: 0; text-wrap: balance; }

h1, h2 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0;
}

h1 { font-size: clamp(3.4rem, 10vw, 9.5rem); }
h2 { font-size: clamp(2.6rem, 4.6vw, 4.4rem); }

h3 {
  font-family: var(--body);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
}

p { margin: 0 0 1.1em; max-width: 62ch; }
p:last-child { margin-bottom: 0; }

.lede { font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.45; font-weight: 600; max-width: 38ch; }
.big { font-size: clamp(1.4rem, 2.4vw, 2.1rem); line-height: 1.3; font-weight: 400; max-width: 34ch; }

/* Buttons and links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.6rem;
  border: 2px solid var(--signal);
  border-radius: 8px;
  background: var(--signal);
  color: var(--white);
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { background: var(--signal-deep); border-color: var(--signal-deep); }
.btn:disabled { opacity: 0.6; cursor: wait; }

.btn--light { background: var(--white); border-color: var(--white); color: var(--black); }
.btn--light:hover { background: var(--signal); border-color: var(--signal); color: var(--white); }

.btn--ghost { background: transparent; border-color: var(--white); color: var(--white); }
.btn--ghost:hover { background: var(--white); border-color: var(--white); color: var(--black); }
.btn--ghost-dark { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost-dark:hover { background: var(--ink); color: var(--white); }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; }

.more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
}
.more:hover { text-decoration: underline; text-underline-offset: 0.25em; }

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background-color 0.25s;
}
.site-header.is-solid, .site-header[data-solid] { background: var(--black); }
.menu-open .site-header { background: var(--black); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}
.site-header.is-solid .site-header__inner,
.site-header[data-solid] .site-header__inner,
.menu-open .site-header__inner { border-bottom-color: transparent; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--white);
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
}
.logo__mark { width: 1.9rem; height: 1.9rem; }
.logo__name { font-weight: 800; letter-spacing: 0.02em; }
.logo__sub { font-weight: 600; letter-spacing: 0.02em; margin-left: -0.3rem; }

.header-tools { display: flex; align-items: center; gap: 1.25rem; }
.header-tools .btn { min-height: 2.5rem; padding: 0.5rem 1.1rem; font-size: 0.9rem; }

.nav-toggle {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  background: none;
  border: 0;
  color: var(--white);
  cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: transform 0.2s, background-color 0.2s;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Full-screen menu */

.nav {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.15rem;
  padding: calc(var(--header-h) + 1.5rem) max(var(--gutter), calc((100% - var(--max)) / 2)) 2rem;
  background: var(--black);
  overflow-y: auto;
}
.nav.is-open { display: flex; }
.nav a:not(.btn) {
  font-family: var(--display);
  font-size: clamp(2.3rem, 5.4vw, 4.4rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  text-decoration: none;
  color: var(--white);
  width: fit-content;
  padding-block: 0.1em;
}
.nav a:not(.btn):hover { color: var(--signal-lit); }
.nav .btn { margin-top: 1.5rem; width: fit-content; }

/* Hero */

.hero {
  position: relative;
  min-height: clamp(38rem, 100svh, 62rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #14183a 0%, #5b2f6e 55%, #e0716f 85%, #ffb066 100%);
  color: var(--white);
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 38%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0) 42%);
  pointer-events: none;
}

.hero__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  padding-top: calc(var(--header-h) + 0.75rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.hero h1 { max-width: 16ch; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25); }

.hero__foot { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
.hero__copy { display: grid; gap: 1.5rem; }
.hero__copy .lede { color: var(--white); max-width: 36ch; }

.scenebar { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); flex-wrap: wrap; }
.pause {
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  color: var(--black);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.pause:hover { background: var(--white); }
.pause svg { width: 0.9rem; height: 0.9rem; }
.pause .i-play { display: none; }
.pause[aria-pressed="true"] .i-pause { display: none; }
.pause[aria-pressed="true"] .i-play { display: block; }

.scenes { display: flex; gap: 0.9rem; margin: 0; padding: 0; list-style: none; flex-wrap: wrap; }
.scene {
  all: unset;
  box-sizing: border-box;
  display: grid;
  gap: 0.5rem;
  width: 10.5rem;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.3;
}
.scene:focus-visible { outline: 3px solid var(--white); outline-offset: 4px; }
.scene__bar { display: block; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.3); overflow: hidden; }
.scene__bar::after { content: ""; display: block; height: 100%; width: 0; background: var(--white); }
.scene[aria-pressed="true"] { color: var(--white); }
.scene[aria-pressed="true"] .scene__bar::after { width: 100%; }
.scene[aria-pressed="true"].is-timing .scene__bar::after { width: 0; animation: fill var(--scene-ms, 7000ms) linear forwards; }
.hero.is-paused .scene.is-timing .scene__bar::after { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }

/* Bands */

.band { padding-block: var(--band); }
.band--light { background: var(--tape); color: var(--ink); }
.band--black { background: var(--black); color: var(--white); }
.band--floor { background: var(--floor); color: var(--white); }
.band--signal { background: var(--signal); color: var(--white); }
.band--tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }

.band--light h2 { color: var(--ink); }

/* Title column on the left, content beside it */
.row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 3fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}
.row__title h2 { max-width: 9ch; font-size: clamp(2.5rem, 3.9vw, 3.8rem); }
.row__body { display: grid; gap: clamp(1.75rem, 3vw, 2.5rem); min-width: 0; }

.pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

/* Fact lists */

.facts { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.facts li {
  display: grid;
  grid-template-columns: minmax(0, 11rem) minmax(0, 1fr);
  gap: 0.25rem 1.25rem;
  padding-block: 0.95rem;
  border-bottom: 1px solid var(--rule);
}
.facts strong { font-weight: 800; }
.facts span { color: var(--gray); }
.band--black .facts, .band--black .facts li, .band--floor .facts, .band--floor .facts li { border-color: rgba(255, 255, 255, 0.28); }
.band--black .facts span { color: #b8c0ca; }
.band--floor .facts span { color: var(--muted-light); }

/* Volume plan figure */

.plan {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: radial-gradient(ellipse at 50% 38%, rgba(255, 255, 255, 0.07), transparent 62%), #07090d;
  padding: clamp(0.75rem, 2vw, 1.5rem);
}
.plan svg { width: 100%; height: auto; }
.plan figcaption { padding: 0.9rem 0.5rem 0.25rem; font-size: 0.9rem; color: #b8c0ca; }
.plan text { font-family: var(--body); font-size: 13px; fill: #d5dbe3; }
.plan .plan__small { font-size: 11.5px; fill: #b8c0ca; }

/* Camera close-up */

.macro { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #05070a; }
.macro__px {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(255, 70, 80, 0.95) 0 2.6px, transparent 3.4px),
    radial-gradient(circle at 50% 50%, rgba(80, 255, 130, 0.95) 0 2.6px, transparent 3.4px),
    radial-gradient(circle at 50% 50%, rgba(80, 140, 255, 0.98) 0 2.6px, transparent 3.4px);
  background-size: 36px 36px, 36px 36px, 36px 36px;
  background-position: 6px 18px, 18px 18px, 30px 18px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 62% 45%, #000 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.08) 100%);
  mask-image: radial-gradient(ellipse 70% 80% at 62% 45%, #000 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.08) 100%);
}
.macro__frame { position: absolute; inset: 1.1rem; pointer-events: none; }
.macro__frame i { position: absolute; width: 1.5rem; height: 1.5rem; border: 0 solid rgba(255, 255, 255, 0.9); }
.macro__frame i:nth-child(1) { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.macro__frame i:nth-child(2) { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.macro__frame i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.macro__frame i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.macro__tag {
  position: absolute;
  left: 1.6rem;
  bottom: 1.6rem;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.75);
  color: var(--white);
  font-weight: 800;
  font-size: 0.85rem;
}

/* Generated art block (blue band) */

.art {
  aspect-ratio: 4 / 3;
  position: relative;
  background:
    radial-gradient(60% 50% at 70% 35%, #ffb066, transparent 70%),
    linear-gradient(160deg, #1c1230, #5b2f6e 70%, #e0716f);
}
.art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, transparent 0 34%, rgba(0, 0, 0, 0.7) 46%) 0 0 / 8px 8px; }

.ai__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr) minmax(0, 1.4fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}
.ai__grid h2 { max-width: 8ch; font-size: clamp(2.5rem, 3.9vw, 3.8rem); }
.ai__copy { display: grid; gap: 1.5rem; }
.ai__copy .lede { max-width: 30ch; }

/* Markets rail: art on top, title below in blue */

.rail-wrap { display: grid; gap: 1.25rem; min-width: 0; }
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(12.5rem, 14.5rem);
  gap: 1.25rem;
  margin: 0;
  padding: 0 0 1rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--rule) transparent;
}
.tile { scroll-snap-align: start; display: grid; gap: 0.75rem; align-content: start; }
.tile__art { position: relative; aspect-ratio: 2 / 3; background: var(--art); overflow: hidden; }
.tile__art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, transparent 0 34%, rgba(5, 7, 10, 0.72) 46%) 0 0 / 7px 7px; }
.tile h3 { color: var(--ink); font-size: 1.05rem; font-weight: 800; line-height: 1.25; }
.tile p { font-size: 0.85rem; line-height: 1.45; color: var(--gray); margin: 0; }
.tile--lead h3::after { content: "Our focus"; display: block; margin-top: 0.35rem; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray); }

.rail-ctl { display: flex; gap: 0.6rem; }
.rail-ctl button {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.rail-ctl button:hover { background: var(--ink); color: var(--white); }
.rail-ctl svg { width: 1rem; height: 1rem; }

.reach { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); padding-top: 1.75rem; border-top: 1px solid var(--rule); }
.reach h3 { color: var(--ink); margin-bottom: 0.35rem; }
.reach p { color: var(--gray); }

/* Temporary and permanent installation */

.modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
.modes > div { padding-top: 1rem; border-top: 3px solid var(--signal); }
.modes h3 { color: var(--white); margin-bottom: 0.4rem; font-size: 1.3rem; }
.modes p { color: var(--muted-light); }

/* Process */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 0.5rem; align-content: start; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.3); }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 800; font-size: 3.4rem; line-height: 1; color: var(--signal-lit); }
.steps h3 { color: var(--white); }
.steps p { color: #b8c0ca; margin: 0; }

/* Quote */

.quote { margin: 0; display: grid; gap: 1.25rem; }
.quote blockquote {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 0.98;
  max-width: 20ch;
  text-wrap: balance;
}
.quote figcaption { color: rgba(255, 255, 255, 0.85); font-size: 1rem; }

/* About */

.about__copy { display: grid; gap: 1.25rem; }
.about__copy p { color: var(--ink); }

/* Contact: white fields on the blue band */

.contact__body { display: grid; gap: 2rem; }
.contact__body .lede { max-width: 34ch; }
.direct { display: flex; flex-wrap: wrap; gap: 0.35rem 2rem; font-style: normal; }
.direct a { font-weight: 800; font-size: 1.25rem; text-decoration: none; border-bottom: 2px solid rgba(255, 255, 255, 0.6); }
.direct a:hover { border-bottom-color: var(--white); }

.form { display: grid; gap: 1.1rem; max-width: 46rem; }
.form .row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label { font-size: 0.95rem; font-weight: 800; }
.field .opt { font-weight: 400; opacity: 0.85; }

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select,
.form textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  border: 2px solid var(--white);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.form textarea { resize: vertical; min-height: 8rem; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 1.15rem) 1.35rem, calc(100% - 0.8rem) 1.35rem; background-size: 0.35rem 0.35rem; background-repeat: no-repeat; padding-right: 2.5rem; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--signal-lit); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__submit { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.form__status { min-height: 1.5em; margin: 0; font-weight: 700; }

/* Footer */

.site-footer { background: var(--tape); color: var(--ink); padding-block: 2.25rem; font-size: 0.92rem; border-top: 1px solid var(--rule); }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.site-footer p { margin: 0; max-width: none; }
.site-footer a { color: var(--signal-deep); font-weight: 800; }

/* Legal page */

.legal { background: var(--tape); color: var(--ink); padding-top: calc(var(--header-h) + 3rem); padding-bottom: var(--band); }
.legal__wrap { max-width: 50rem; }
.legal h1 { font-size: clamp(3rem, 8vw, 6rem); color: var(--ink); margin-bottom: 1rem; max-width: none; }
.legal h2 { font-size: 2.2rem; margin: 2.5rem 0 1rem; max-width: none; }
.legal h3 { font-size: 1.3rem; margin: 1.75rem 0 0.75rem; }
.legal h4 { font-size: 1.05rem; font-weight: 800; margin: 1.5rem 0 0.5rem; }
.legal p, .legal li { max-width: 70ch; overflow-wrap: anywhere; }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: 0.6rem; }
.legal a { color: var(--signal-deep); }

/* Responsive */

@media (max-width: 62rem) {
  .row, .ai__grid, .pair { grid-template-columns: minmax(0, 1fr); }
  .row__title h2, .ai__grid h2 { max-width: 14ch; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .header-tools .btn { display: none; }
}

@media (max-width: 40rem) {
  :root { --header-h: 4.25rem; }
  .logo { font-size: 1.7rem; }
  .facts li { grid-template-columns: minmax(0, 1fr); }
  .reach, .form .row2, .modes { grid-template-columns: minmax(0, 1fr); }
  .rail { grid-auto-columns: 62%; }
  .scene { width: 5.5rem; font-size: 0.72rem; }
  .scenes { gap: 0.6rem; flex-wrap: nowrap; }
  .scenebar { flex-wrap: nowrap; gap: 0.75rem; }
  .pause { width: 2rem; height: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scene[aria-pressed="true"].is-timing .scene__bar::after { animation: none; width: 100%; }
  * { transition-duration: 0.01ms !important; }
}
