/* ============================================================
   MEV LAYER — site shell
   Palette law (V3): TRON ARES RED MONOCHROME
   #050000 bg · #160404 oxblood panels · #ffe9e2 warm paper-white text
   red ramp (brightness = hierarchy): blood #6e0b06 · crimson #b3140a ·
   TRON red #ff3b30 · ember #ff7a30 · amber-white #ffd9a0 · white-hot #fff
   (cores/peaks only). Variety = temperature + brightness, never a 2nd hue.
   Cool family (blue/cyan/indigo/violet/periwinkle) RETIRED.
   ============================================================ */

:root {
  --bg: #050000;
  --panel: #160404;
  --ink: #ffe9e2;
  --ink-soft: rgba(255, 233, 226, 0.74);
  --ink-60: rgba(255, 120, 96, 0.68);
  --ink-50: rgba(255, 120, 96, 0.58);
  --ink-35: rgba(255, 120, 96, 0.46);
  --hairline: rgba(255, 120, 96, 0.13);
  --hairline-strong: rgba(255, 120, 96, 0.34);
  --blood: #6e0b06;
  --crimson: #b3140a;
  --ember: #ff7a30;
  --amber: #ffd9a0;
  --red: #ff3b30;
  --red-orange: #ff5a2a;
  --sans: "Space Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: clamp(20px, 5vw, 72px);
  --ch: 12px; /* chamfer size */
  --chamfer: polygon(
    var(--ch) 0, calc(100% - var(--ch)) 0, 100% var(--ch),
    100% calc(100% - var(--ch)), calc(100% - var(--ch)) 100%,
    var(--ch) 100%, 0 calc(100% - var(--ch)), 0 var(--ch));
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  background: var(--bg);
  overflow-x: hidden; /* fallback: engines without `clip` support (Safari <16) */
  overflow-x: clip;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-loading { overflow: hidden; }

::selection { background: rgba(255, 59, 48, 0.45); color: #fff; }

a { color: inherit; text-decoration: none; }

:focus-visible { outline: 1px solid var(--ember); outline-offset: 3px; }

/* ============ CANVAS LAYER ============ */

#grid {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  background: var(--bg); /* pure black fallback when tron.js absent */
  pointer-events: none;
}

main, .footer { position: relative; z-index: 1; }

#arena, #thesis, #doctrine, #contact { scroll-margin-top: 66px; }

/* ============ SHARED TYPE ============ */

.kicker {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-50);
}

/* ============ HAIRLINE RULES (overshoot) ============ */

.rule {
  height: 1px;
  background: var(--hairline);
  border: 0;
}

/* full-bleed across the viewport (parents are viewport-centered);
   exact 100vw — wider bleeds create scrollable overflow off-screen */
.rule-overshoot {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

/* ============ CHAMFERED SKIN (layered clip-path) ============
   host: clip + backdrop blur · .btn-skin/.panel-skin: border color
   skin::after inset 1px: panel fill → 1px border follows chamfer */

.btn, .panel {
  position: relative;
  clip-path: var(--chamfer);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.btn-skin, .panel-skin {
  position: absolute;
  inset: 0;
  background: rgba(255, 233, 226, 0.32);
  clip-path: var(--chamfer);
  pointer-events: none;
}

.btn-skin::after, .panel-skin::after {
  content: "";
  position: absolute;
  inset: 1px;
  background: rgba(22, 4, 4, 0.55);
  clip-path: var(--chamfer);
}

/* ============ BUTTONS ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn .btn-label {
  position: relative;
  z-index: 1;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.3s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn:hover .btn-skin { background: rgba(255, 122, 48, 0.55); }
.btn:hover .btn-skin::after { background: rgba(22, 4, 4, 0.35); }

.btn-primary .btn-skin { background: linear-gradient(120deg, var(--crimson), var(--ember)); }
.btn-primary .btn-skin::after { background: linear-gradient(120deg, rgba(179, 20, 10, 0.3), rgba(255, 122, 48, 0.2)), rgba(22, 4, 4, 0.78); }
/* hover burn: brightens toward ember (OPEN A CHANNEL) */
.btn-primary:hover .btn-skin { background: linear-gradient(120deg, var(--red), var(--ember)); }
.btn-primary:hover .btn-skin::after { background: linear-gradient(120deg, rgba(255, 59, 48, 0.3), rgba(255, 122, 48, 0.22)), rgba(22, 4, 4, 0.55); }
.btn-primary:hover .btn-label { color: #fff; }

/* ============ PRELOADER ============ */

#preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: clip-path 0.65s cubic-bezier(0.76, 0, 0.24, 1);
  clip-path: inset(0 0 0 0);
}

#preloader.done { clip-path: inset(0 0 100% 0); }
#preloader.gone { display: none; }

.pl-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.pl-count {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--ink-60);
  font-variant-numeric: tabular-nums;
}

.pl-pct-sign { opacity: 0.5; }

.pl-wordmark {
  width: min(72vw, 460px);
  height: auto;
  display: block;
  overflow: visible;
}

.pl-cell {
  fill: #ffe9e2;
  fill-opacity: 0;
  stroke: #ffe9e2;
  stroke-width: 1;
  stroke-dasharray: 34;
  stroke-dashoffset: 34;
  animation:
    plDraw 0.45s cubic-bezier(0.4, 0, 0.2, 1) forwards,
    plFill 0.4s ease forwards;
  animation-delay: var(--d), calc(var(--d) + 0.28s);
}

@keyframes plDraw { to { stroke-dashoffset: 0; } }
@keyframes plFill { to { fill-opacity: 0.92; } }

.pl-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.42em;
  color: var(--ink-35);
}

/* 100% moment: TRON red flash — white-hot core, red halo */
.pl-flash {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background: radial-gradient(closest-side, #ffffff 0%, #ffd4ce 30%, #ff3b30 78%);
  box-shadow: 0 0 18px 6px rgba(255, 59, 48, 0.95), 0 0 64px 20px rgba(255, 90, 42, 0.5);
  opacity: 0;
}

.pl-flash.go { animation: plFlash 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

@keyframes plFlash {
  0%   { opacity: 0; transform: scale(0.4); }
  18%  { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(34, 1.6); }
}

/* brief red wash over the wordmark at 100% — letters settle back warm paper-white */
#preloader.red .pl-wordmark { animation: plWashGlow 0.5s ease-out forwards; }

@keyframes plWashGlow {
  0%   { filter: drop-shadow(0 0 16px rgba(255, 59, 48, 0.9)); }
  100% { filter: drop-shadow(0 0 0 rgba(255, 59, 48, 0)); }
}

#preloader.red .pl-cell {
  stroke-dashoffset: 0;
  animation: plRedWash 0.5s ease-out forwards;
}

@keyframes plRedWash {
  0%   { fill: #ff3b30; stroke: #ff3b30; fill-opacity: 1; }
  45%  { fill: #ff6f5e; stroke: #ff5a2a; fill-opacity: 0.97; }
  100% { fill: #ffe9e2; stroke: #ffe9e2; fill-opacity: 0.92; }
}

/* ============ NAV ============ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: 64px;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--hairline);
  background: rgba(5, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.brand-mark { width: 26px; height: 26px; display: block; }

.brand-word {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.32em;
  color: var(--ink);
}

.nav-links {
  display: flex;
  gap: clamp(18px, 2.6vw, 40px);
}

.nav-links a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-60);
  transition: color 0.25s ease;
}

.nav-links a:hover { color: var(--ember); }

.btn-nav { --ch: 9px; padding: 11px 22px; }

/* ============ HERO ============ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px var(--gutter) 140px;
}

.hero-inner { position: relative; max-width: 1100px; }

/* readability scrim over the arena horizon */
.hero-inner::before {
  content: "";
  position: absolute;
  inset: -60px -80px;
  z-index: -1;
  background: radial-gradient(80% 75% at 38% 50%, rgba(5, 0, 0, 0.8), transparent 78%);
  pointer-events: none;
}

.hero-h {
  font-weight: 300;
  font-size: clamp(1.75rem, 6vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 28px 0 30px;
}

.hero-h .line { display: block; overflow: hidden; }
.hero-h .line > span { display: inline-block; }

.hero-sub {
  max-width: 560px;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink-soft);
  /* keep 300-weight copy legible when a capture flood / white-core trail
     passes behind it (canvas is live; scrim alone is not enough) */
  text-shadow: 0 1px 14px rgba(5, 0, 0, 0.85), 0 0 2px rgba(5, 0, 0, 0.6);
}

.hero-inner .kicker {
  text-shadow: 0 1px 12px rgba(5, 0, 0, 0.85), 0 0 2px rgba(5, 0, 0, 0.6);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 44px;
}

.hero-scrollcue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.34em;
  color: var(--ink-35);
  animation: cueFloat 2.6s ease-in-out infinite;
}

@keyframes cueFloat {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* ============ PILLAR BAND — CONTEXT / REASONING / EXECUTION ============ */

.pillars { padding: 0 var(--gutter); }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.8vw, 24px);
  max-width: 1400px;
  margin: clamp(56px, 9vh, 110px) auto;
}

.pillar { --ch: 14px; }

.pillar-body {
  position: relative;
  z-index: 1;
  padding: clamp(26px, 3vw, 42px) clamp(22px, 2.4vw, 36px) clamp(30px, 3.2vw, 46px);
}

.pillar-k { display: flex; gap: 18px; align-items: baseline; }

.pillar-ix { color: var(--ink-35); }

.pillar-tag { color: var(--ember); opacity: 0.9; }
.pillar:nth-child(2) .pillar-tag { color: var(--amber); opacity: 0.85; }
.pillar:nth-child(3) .pillar-tag { color: var(--red); opacity: 0.9; }

.pillar-h {
  font-weight: 300;
  font-size: clamp(1.35rem, 1.9vw, 1.8rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 18px 0 12px;
}

.pillar-sub {
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 36ch;
}

/* reveal stagger across the band */
.pillar:nth-child(2) { transition-delay: 0.1s; }
.pillar:nth-child(3) { transition-delay: 0.2s; }

/* ============ DOCTRINE ============ */

.doctrine-wrap { padding-bottom: clamp(60px, 10vh, 140px); }

.doctrine-head {
  text-align: center;
  padding: clamp(24px, 5vh, 64px) var(--gutter) clamp(56px, 9vh, 104px);
}

.doctrine-kicker { letter-spacing: 0.3em; color: var(--ink-60); }

.doc { position: relative; }

.doc-inner {
  position: relative;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(80px, 12vh, 150px) var(--gutter);
  max-width: 1400px;
  margin: 0 auto;
}

.doc[data-align="right"] .doc-inner {
  align-items: flex-end;
  text-align: right;
}

.doc .kicker {
  display: inline-flex;
  gap: 26px;
  align-items: baseline;
}

.doc-ix { color: var(--ink-35); }

/* temperature: ember on ORDER, TRON red on the closer (SCALE) */
.doc-tag { color: var(--ember); opacity: 0.9; }
.doc:last-of-type .doc-tag { color: var(--red); opacity: 0.9; }

.doc-h {
  font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 26px 0 22px;
  max-width: 17ch;
}

/* the long ORDER headline: slightly smaller, wider measure */
.doc-h-long {
  font-size: clamp(2.1rem, 4.8vw, 4.2rem);
  max-width: 24ch;
}

.doc-sub {
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-soft); /* body copy stays warm white, never saturated red */
  max-width: 46ch;
}

/* readability scrim over the canvas */
.doc-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(60% 70% at 30% 50%, rgba(5, 0, 0, 0.55), transparent 70%);
  pointer-events: none;
}

.doc[data-align="right"] .doc-inner::before {
  background: radial-gradient(60% 70% at 70% 50%, rgba(5, 0, 0, 0.55), transparent 70%);
}

/* ============ THE THESIS (emotional core — high on the page) ============ */

.thesis { padding: clamp(36px, 7vh, 100px) var(--gutter) clamp(40px, 7vh, 110px); }

.thesis-panel {
  --ch: 18px;
  max-width: 1080px;
  margin: 0 auto;
}

.thesis-body {
  position: relative;
  z-index: 1;
  padding: clamp(48px, 7vw, 104px) clamp(24px, 7vw, 110px);
}

.thesis-h {
  font-weight: 300;
  font-size: clamp(2.3rem, 5.4vw, 4.7rem);
  line-height: 1.05;
  letter-spacing: -0.022em;
  margin: 22px 0 clamp(34px, 4vw, 52px);
  max-width: 18ch;
}

.thesis-p {
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  font-weight: 300;
  line-height: 1.74;
  color: rgba(255, 233, 226, 0.62); /* slightly dimmed warm white body */
  max-width: 65ch;
  margin: 0 0 clamp(22px, 2.6vw, 30px);
}

/* first sentence of each paragraph lands brighter */
.th-lead {
  font-weight: 400;
  color: var(--ink);
}

/* P4 — short, alone, punchy; its own reveal */
.thesis-punch {
  font-weight: 300;
  font-size: clamp(1.5rem, 2.7vw, 2.35rem);
  line-height: 1.32;
  letter-spacing: -0.012em;
  margin: clamp(38px, 4.6vw, 56px) 0 0;
}

.punch-a { color: rgba(255, 233, 226, 0.74); }

.punch-b {
  color: #fff;
  text-shadow: 0 0 26px rgba(255, 90, 42, 0.28);
}

.thesis-mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  color: var(--ink-50);
  margin-top: clamp(40px, 5vw, 60px);
}

/* reveal cascade for rhythm (each item also reveals on its own intersection) */
.thesis-h { transition-delay: 0.06s; }
.thesis-copy .thesis-p:nth-of-type(2) { transition-delay: 0.1s; }
.thesis-copy .thesis-p:nth-of-type(3) { transition-delay: 0.18s; }
.thesis-punch { transition-delay: 0.28s; }
.thesis-mono { transition-delay: 0.12s; }

/* ============ FOOTER ============ */

.footer { border-top: 1px solid var(--hairline); }

.marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--hairline);
  padding: 18px 0;
  background: rgba(5, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee-seg {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--ink-35);
  white-space: nowrap;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.contact {
  position: relative;
  text-align: center;
  padding: clamp(72px, 10vh, 120px) var(--gutter) clamp(56px, 8vh, 96px);
}

/* scrim hugs the kicker + email only — the monogram zone below must stay
   un-scrimmed so the canvas M reads at full brightness through it */
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 42% at 50% 18%, rgba(5, 0, 0, 0.62), transparent 74%);
  pointer-events: none;
}

.contact > * { position: relative; }

.contact-mail {
  display: inline-block;
  margin-top: 26px;
  font-weight: 300;
  font-size: clamp(2rem, 5.4vw, 4.4rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  border-bottom: 1px solid var(--hairline-strong);
  padding-bottom: 10px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.contact-mail:hover { color: var(--ember); border-color: var(--ember); }

/* ---- monogram transmit zone (FEATURES V3.1) ----
   Transparent window: the fixed canvas behind the page draws the value-green
   grid-cell "M" inside this rect (engine API controller.monogram(rect|null)).
   Affordance only: chamfered hairline outline + tiny [ TRANSMIT ] caption. */

.monogram-zone {
  position: relative;
  display: block;
  width: min(46vw, 460px);
  height: min(34vh, 300px);
  margin: clamp(28px, 4vh, 44px) auto 0;
  cursor: pointer;
}

/* outline drawn as SVG so the 1px hairline follows the chamfer exactly
   (points kept in sync with the responsive size by main.js) */
.mz-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.mz-outline {
  fill: none;
  stroke: rgba(255, 120, 96, 0.15);
  stroke-width: 1;
  transition: stroke 0.35s ease;
}

.mz-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-align: center;
  color: var(--ink-35);
  transition: color 0.35s ease, text-shadow 0.35s ease;
}

/* hover/focus: hairline + caption brighten toward warm white (the M's hue) */
.monogram-zone:hover .mz-outline,
.monogram-zone:focus-visible .mz-outline { stroke: rgba(255, 241, 226, 0.34); }

.monogram-zone:hover .mz-caption,
.monogram-zone:focus-visible .mz-caption {
  color: rgba(255, 241, 226, 0.85);
  text-shadow: 0 0 14px rgba(255, 241, 226, 0.35);
}

.footer-base {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 26px var(--gutter) 34px;
  border-top: 1px solid var(--hairline);
}

.footer-brand { display: inline-flex; align-items: center; gap: 12px; }
.footer-brand .brand-mark { width: 22px; height: 22px; }
.footer-brand .brand-word { font-size: 11px; }

.footer-copy, .footer-coords {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-35);
}

.footer-coords { letter-spacing: 0.08em; opacity: 0.6; }

.footer-privacy {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink-50);
  transition: color 0.25s ease;
}

.footer-privacy:hover { color: var(--ink); }

/* ============ SCROLL REVEALS ============ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in { opacity: 1; transform: translateY(0); }

.reveal-lines .line > span {
  transform: translateY(110%);
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-lines .line:nth-child(2) > span { transition-delay: 0.12s; }
.reveal-lines .line:nth-child(3) > span { transition-delay: 0.24s; }

.reveal-lines.in .line > span { transform: translateY(0); }

/* ============ RESPONSIVE ============ */

@media (max-width: 980px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar-sub { max-width: 52ch; }
}

@media (max-width: 720px) {
  .nav { height: 58px; gap: 12px; }
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 9px; letter-spacing: 0.1em; }
  .btn-nav { padding: 9px 12px; }
  .btn-nav .btn-label { font-size: 9px; letter-spacing: 0.14em; }
  .btn-label-ext { display: none; } /* "ENTER CONSOLE" -> "ENTER" */
  .kicker { font-size: 10px; letter-spacing: 0.18em; }
  .hero-inner::before {
    inset: -50px -20px; /* meets the 20px gutter exactly — no body overflow at 390px */
    background: radial-gradient(95% 78% at 45% 50%, rgba(5, 0, 0, 0.82), transparent 82%);
  }
  .brand-word { font-size: 11px; letter-spacing: 0.18em; }
  .hero { padding-bottom: 130px; }
  .hero-ctas .btn { padding: 13px 22px; }
  .hero-scrollcue { display: none; }
  .doc-inner { min-height: 64vh; }
  /* stronger doc scrim: mobile centers headlines on the bright horizon band */
  .doc-inner::before,
  .doc[data-align="right"] .doc-inner::before {
    background: radial-gradient(110% 80% at 50% 50%, rgba(5, 0, 0, 0.75), transparent 85%);
  }
  .footer-base { flex-direction: column; align-items: flex-start; gap: 14px; }
  .monogram-zone { width: 80vw; height: 240px; margin-top: 30px; }
  .mz-caption { bottom: 12px; font-size: 10px; letter-spacing: 0.26em; }
  /* backdrop-filter over a 30fps animating canvas can never be cached by the
     compositor and is a major mobile scroll-jank source — solid fallbacks */
  .btn, .panel, .nav, .marquee {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .nav { background: rgba(5, 0, 0, 0.82); }
  .marquee { background: rgba(5, 0, 0, 0.82); }
}

/* ============ REDUCED MOTION ============ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .hero-scrollcue { animation: none; }
  .reveal, .reveal-lines .line > span {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .pl-cell,
  #preloader.red .pl-cell {
    animation: none;
    stroke-dashoffset: 0;
    fill-opacity: 0.92;
  }
  #preloader.red .pl-wordmark { animation: none; }
  .pl-flash { display: none; }
  #preloader { transition: none; }
  .btn { transition: none; }
  .mz-outline, .mz-caption { transition: none; }
}
