/*
 * XyberLimbs — landing page stylesheet (Task 12).
 *
 * Design language: "engineered luminescence" — deep-void surfaces, thin
 * luminous hairlines, blueprint-grade annotations, generous negative space,
 * and a single slow under-skin glow. Brand tokens live in tokens.css
 * (assets/brand/BRAND.md is the law); this file only derives from them.
 *
 * Layering contract (Tasks 13/14 depend on it):
 *   z -2  .arm-fallback   fixed gradient placeholder (→ static renders, T14)
 *   z -1  #arm-canvas     fixed WebGL canvas (→ Three.js arm, T13)
 *   z  0+ content         everything else
 */

/* ════════ 1. Self-hosted fonts (OFL — see /fonts/OFL.txt) ════════
   Latin subsets only; 4 files ≈ 74 KB total. font-display: swap keeps
   first paint on the system fallback. */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/space-grotesk-latin-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/space-grotesk-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ════════ 2. Page-level tokens (brand tokens: tokens.css) ════════ */
:root {
  /* fluid type scale (clamp): floors hold down to 360px; the vw terms hit
     their caps around ~1280px viewport (e.g. --text-hero reaches 5.5rem
     near 1277px) and sizes stay constant beyond that, by design */
  --text-hero: clamp(2.4rem, 1.35rem + 5.2vw, 5.5rem);
  --text-h2: clamp(1.75rem, 1.3rem + 2.2vw, 3.1rem);
  --text-quote: clamp(1.2rem, 1.05rem + 0.8vw, 1.7rem);
  --text-lead: clamp(1.08rem, 1rem + 0.4vw, 1.3rem);
  --text-body: clamp(1rem, 0.97rem + 0.15vw, 1.1rem);
  --text-micro: clamp(0.72rem, 0.7rem + 0.1vw, 0.8rem);

  /* hairlines + washes derived from brand tokens */
  --hairline: color-mix(in srgb, var(--xyber-blue-glow) 22%, transparent);
  --hairline-dim: color-mix(in srgb, var(--ink-dim) 14%, transparent);
  --wash-blue: color-mix(in srgb, var(--xyber-blue) 8%, transparent);

  --shell-max: 72rem;
  --header-h: 4.25rem;
}

/* ════════ 3. Reset + base ════════ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  /* CSS smooth scroll for plain anchor jumps; site.js refines CTA scrolling.
     Wrapped in the motion query below. */
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

html,
body {
  overflow-x: clip; /* no horizontal scroll at any width — hard rule */
}

body {
  background: var(--bg-void);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--xyber-blue);
  color: var(--bg-void);
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

/* keyboard focus is always visible, everywhere */
:focus-visible {
  outline: 2px solid var(--xyber-blue-glow);
  outline-offset: 3px;
  border-radius: 2px;
}

/* visually hidden but readable by assistive tech */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--bg-panel);
  color: var(--ink);
  border: 1px solid var(--hairline);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  transform: translateY(-300%);
}
.skip-link:focus-visible {
  transform: none;
}

.shell {
  width: min(100% - clamp(2.5rem, 8vw, 5rem), var(--shell-max));
  margin-inline: auto;
}

/* ════════ 4. Background layers (3D contract — see header comment) ════════ */
#arm-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  /* empty until Task 13 mounts the Three.js arm here */
}

.arm-fallback {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(90rem 60rem at 82% 8%, color-mix(in srgb, var(--bg-panel) 85%, var(--xyber-blue)) 0%, transparent 55%),
    linear-gradient(190deg, var(--bg-deep) 0%, var(--bg-void) 46%, var(--bg-void) 100%);
}

/* the "under-skin" glow — one slow breathing light source, never blinking */
.arm-fallback::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(46rem 34rem at 78% 22%, color-mix(in srgb, var(--xyber-blue) 16%, transparent) 0%, transparent 65%),
    radial-gradient(30rem 26rem at 12% 88%, color-mix(in srgb, var(--xyber-blue-dim) 12%, transparent) 0%, transparent 70%);
  animation: breathe 14s ease-in-out infinite alternate;
}

/* blueprint grid, barely-there, faded out toward the edges */
.arm-fallback::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--xyber-blue-glow) 5%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--xyber-blue-glow) 5%, transparent) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(120rem 80rem at 60% 0%, black 0%, transparent 75%);
}

@keyframes breathe {
  from {
    opacity: 0.55;
    transform: scale(1);
  }
  to {
    opacity: 1;
    transform: scale(1.04);
  }
}

/* ════════ 5. Header ════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--bg-void) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline-dim);
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  /* soft glow halo — the one permitted logo treatment (BRAND.md) */
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--xyber-blue-glow) 45%, transparent));
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.wordmark .x {
  color: var(--xyber-blue);
}

.header-cta {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap; /* never let the CTA wrap into a ragged two-liner */
  color: var(--xyber-blue);
  text-decoration: none;
  border-bottom: 1px solid var(--xyber-blue-dim);
  padding-bottom: 2px;
  transition: color 160ms ease, border-color 160ms ease;
}
.header-cta:hover {
  color: var(--xyber-blue-glow);
  border-bottom-color: var(--xyber-blue-glow);
}
/* narrow phones: tighten both header texts so wordmark + CTA share one row
   without wrapping down to 360px */
@media (max-width: 26rem) {
  .wordmark {
    font-size: 0.9rem;
    letter-spacing: 0.14em;
  }
  .header-cta {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }
}

/* ════════ 6. Hero ════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: 4.5rem;
}

/* brand watermark — gives the hero mass on the right until the arm arrives */
.hero::after {
  content: '';
  position: absolute;
  top: 12%;
  right: -6%;
  width: min(58vmin, 34rem);
  aspect-ratio: 1;
  background: url('/brand/xyberlimbs-logo-white.png') center / contain no-repeat;
  opacity: 0.05;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 46rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-panel) 55%, transparent);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-micro);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--xyber-blue-glow);
}

.led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--led-green);
  box-shadow: 0 0 8px var(--led-green);
  animation: led-breathe 3.2s ease-in-out infinite alternate;
}

@keyframes led-breathe {
  from {
    opacity: 0.45;
  }
  to {
    opacity: 1;
  }
}

.hero h1 {
  margin-top: 1.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-hero);
  line-height: 1.04;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.hero h1 em {
  font-style: normal;
  color: var(--xyber-blue);
  text-shadow: 0 0 32px color-mix(in srgb, var(--xyber-blue-glow) 55%, transparent);
}

.hero-sub {
  margin-top: 1.4rem;
  font-size: var(--text-lead);
  color: var(--ink-dim);
  max-width: 34em;
}

.hero-cta-row {
  margin-top: 2.6rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* staggered load reveal — one orchestrated moment, then stillness */
.hero .badge,
.hero h1,
.hero-sub,
.hero-cta-row {
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero h1 {
  animation-delay: 90ms;
}
.hero-sub {
  animation-delay: 180ms;
}
.hero-cta-row {
  animation-delay: 280ms;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* scroll cue — a quiet vertical pulse at the hero's foot */
.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink-dim);
  font-family: var(--font-display);
  font-size: var(--text-micro);
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
.scroll-cue::after {
  content: '';
  width: 1px;
  height: 3.2rem;
  background: linear-gradient(to bottom, var(--xyber-blue-glow), transparent);
  animation: cue-drop 2.6s ease-in-out infinite;
}
@keyframes cue-drop {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  55% {
    transform: scaleY(1);
    transform-origin: top;
  }
  100% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 0;
  }
}

/* ════════ 7. Buttons + links ════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border: 0;
  border-radius: 3px;
  background: var(--xyber-blue);
  color: var(--bg-void); /* dark-on-blue: 8.2:1 — white-on-blue fails AA */
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 160ms ease, box-shadow 220ms ease, transform 160ms ease;
}
.btn:hover {
  background: var(--xyber-blue-glow);
  box-shadow: 0 0 28px color-mix(in srgb, var(--xyber-blue-glow) 45%, transparent);
  transform: translateY(-1px);
}
.btn:active {
  background: var(--xyber-blue-dim);
  transform: none;
}
.btn:disabled {
  background: var(--xyber-blue-dim);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
/* light sweep across the button face on hover */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-110%);
}
.btn:hover::after {
  transition: transform 600ms ease;
  transform: translateX(110%);
}

.link-quiet {
  color: var(--xyber-blue);
  text-decoration: underline;
  text-decoration-color: var(--xyber-blue-dim);
  text-underline-offset: 4px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}
.link-quiet:hover {
  color: var(--xyber-blue-glow);
  text-decoration-color: var(--xyber-blue-glow);
}

/* ════════ 8. Scenes (sections) ════════ */
.scene {
  position: relative;
  padding-block: clamp(5.5rem, 15vh, 10.5rem);
}

.scene-inner {
  max-width: 38rem;
}
/* alternate sides on wide screens — leaves the opposite half for the arm */
@media (min-width: 60rem) {
  .scene--right .scene-inner {
    margin-left: auto;
  }
  .scene--center .scene-inner {
    margin-inline: auto;
    max-width: 44rem;
  }
}

.scene-label {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-micro);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--xyber-blue);
}
.scene-label::before {
  content: '';
  width: 2.6rem;
  height: 1px;
  background: linear-gradient(to right, var(--xyber-blue), transparent);
}
.scene-label .idx {
  color: var(--ink-dim);
}

.scene h2 {
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-h2);
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.scene .prose {
  margin-top: 1.4rem;
  display: grid;
  gap: 1.05rem;
  color: var(--ink-dim);
  max-width: 62ch;
}
.scene .prose strong {
  color: var(--ink);
  font-weight: 600;
}

/* blueprint pose stamp — annotates each scene for the T14 scroll rig */
.pose-stamp {
  position: absolute;
  bottom: 1.4rem;
  right: 0;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ink-dim) 55%, transparent);
  writing-mode: vertical-rl;
  user-select: none;
}

/* ════════ 9. Founder quote ════════ */
.founder {
  margin-top: 2.8rem;
  position: relative;
  padding: clamp(1.6rem, 4vw, 2.6rem) clamp(1.4rem, 4vw, 2.4rem);
  background: color-mix(in srgb, var(--bg-panel) 55%, transparent);
  border: 1px solid var(--hairline-dim);
}
/* luminous spine down the quote's left edge */
.founder::before {
  content: '';
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: -1px;
  width: 2px;
  background: linear-gradient(to bottom, var(--xyber-blue), transparent 85%);
}

.founder blockquote {
  display: grid;
  gap: 1.1rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-quote);
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.founder figcaption {
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--hairline-dim);
  font-size: 0.95rem;
  color: var(--ink-dim);
}
.founder figcaption .who {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
}

/* ════════ 10. Waitlist ════════ */
#waitlist {
  scroll-margin-top: var(--header-h);
}

.waitlist-panel {
  margin-top: 2.4rem;
  position: relative;
  max-width: 34rem;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--bg-panel) 80%, transparent),
    color-mix(in srgb, var(--bg-deep) 65%, transparent)
  );
  border: 1px solid var(--hairline);
}
/* blueprint corner brackets */
.waitlist-panel::before,
.waitlist-panel::after {
  content: '';
  position: absolute;
  width: 1.1rem;
  height: 1.1rem;
  pointer-events: none;
}
.waitlist-panel::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--xyber-blue);
  border-left: 2px solid var(--xyber-blue);
}
.waitlist-panel::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid var(--xyber-blue);
  border-right: 2px solid var(--xyber-blue);
}

.waitlist-form {
  display: grid;
  gap: 1.15rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.field input,
.field select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: color-mix(in srgb, var(--bg-void) 72%, transparent);
  border: 1px solid color-mix(in srgb, var(--ink-dim) 32%, transparent);
  border-radius: 3px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field input::placeholder {
  color: color-mix(in srgb, var(--ink-dim) 75%, transparent);
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--xyber-blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--xyber-blue) 22%, transparent);
}
.field input:disabled,
.field select:disabled {
  opacity: 0.55;
}

.field select {
  appearance: none;
  /* chevron, self-contained data URI (CSP img-src allows data:).
     NOTE: stroke='%238FA8B8' hard-codes --ink-dim (#8FA8B8) — var() cannot
     reach inside a data URI. If the token ever changes, update this too. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238FA8B8' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}

/* honeypot — invisible to humans, irresistible to bots (site.js checks it) */
.hp-field {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Turnstile runs in INVISIBLE mode: it binds to this div but never renders.
   Pull the container out of the form's grid flow so it contributes no gap
   slot — no reserved height, no empty hole where a widget would sit. */
.waitlist-form .cf-turnstile {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.form-status {
  min-height: 1.4em;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.form-status:empty {
  display: none;
}
.form-status[data-state='submitting'] {
  color: var(--ink-dim);
}
.form-status[data-state='error'] {
  color: var(--led-magenta);
}
.form-status[data-state='success'] {
  color: var(--led-green);
}
.form-status[data-state='error']::before,
.form-status[data-state='success']::before {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.noscript-note {
  margin-top: 1.4rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--hairline-dim);
  color: var(--ink-dim);
  font-size: 0.95rem;
}

/* ════════ 11. Footer ════════ */
.site-footer {
  border-top: 1px solid var(--hairline-dim);
  padding-block: 2.8rem;
  position: relative;
}
/* thin luminous rule accent on the footer seam */
.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: min(22rem, 60%);
  height: 1px;
  background: linear-gradient(to right, transparent, var(--xyber-blue), transparent);
}

.site-footer .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--ink-dim);
  font-size: 0.9rem;
}
.footer-brand img {
  width: 1.8rem;
  height: 1.8rem;
}

.social {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
}
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 3px;
  color: var(--ink-dim);
  transition: color 160ms ease, transform 160ms ease;
}
.social a:hover {
  color: var(--xyber-blue-glow);
  transform: translateY(-2px);
}
.social svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.footer-contact {
  font-size: 0.9rem;
  color: var(--ink-dim);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* ════════ 12. Motion discipline ════════ */
@media (prefers-reduced-motion: reduce) {
  .arm-fallback::before,
  .led,
  .scroll-cue::after,
  .hero .badge,
  .hero h1,
  .hero-sub,
  .hero-cta-row {
    animation: none;
  }
  .btn,
  .btn::after,
  .social a,
  .header-cta,
  .link-quiet,
  .field input,
  .field select {
    transition: none;
  }
  .btn:hover {
    transform: none;
  }
  .social a:hover {
    transform: none;
  }
}

/* ════════ 13. Small screens ════════ */
@media (max-width: 40rem) {
  .hero::after {
    width: 70vmin;
    right: -18%;
    top: 6%;
    opacity: 0.04;
  }
  .pose-stamp {
    display: none;
  }
  .site-footer .shell {
    flex-direction: column;
    align-items: flex-start;
  }
}
