/* ═══════════════════════════════════════════════
   $COOK — La Cocina de Robin Hood · pixel art vibes
   ═══════════════════════════════════════════════ */

:root {
  --bg: #120b18;
  --bg-2: #1b1120;
  --panel: #241530;
  --panel-2: #2e1b3d;
  --ink: #14141c;
  --cream: #fff6e5;
  --cream-dim: #cfc3ab;
  --green: #3ecf4a;
  --green-dark: #1f8a2e;
  --orange: #ff6b1a;
  --yellow: #ffd23f;
  --red: #e8433f;
  --grid: 4px;
  --font-px: 'Press Start 2P', monospace;
  --font-body: 'VT323', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background:
    repeating-conic-gradient(from 0deg, #150d1c 0% 25%, #120b18 25% 50%) 0 0 / 48px 48px,
    var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 1.45;
  overflow-x: hidden;
}

/* Scanlines CRT por encima de todo */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(0, 0, 0, .14) 3px 6px);
  pointer-events: none;
  z-index: 9999;
}

img, svg { display: block; image-rendering: pixelated; }

a { color: var(--yellow); }

code {
  font-family: var(--font-body);
  background: var(--ink);
  padding: 0 6px;
  color: var(--green);
}

/* ── Utilidades pixel ─────────────────────────── */

.px-panel {
  background: var(--panel);
  border: var(--grid) solid var(--ink);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, .45);
}

.btn {
  display: inline-block;
  font-family: var(--font-px);
  font-size: 13px;
  text-decoration: none;
  color: var(--ink);
  background: var(--yellow);
  border: var(--grid) solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  padding: 14px 20px;
  cursor: pointer;
  user-select: none;
  transition: none;
}
.btn:hover { background: var(--cream); }
.btn:active { transform: translate(6px, 6px); box-shadow: 0 0 0 var(--ink); }
.btn-buy { background: var(--green); }
.btn-buy:hover { background: var(--yellow); }
.btn-big { font-size: 15px; padding: 18px 26px; }
.btn-small { font-size: 10px; padding: 8px 10px; box-shadow: 4px 4px 0 var(--ink); }
.btn-small:active { transform: translate(4px, 4px); }
.btn-ghost { background: var(--panel-2); color: var(--cream); }
.btn-ghost:hover { background: var(--panel); color: var(--yellow); }
.btn-fire { background: var(--orange); font-size: 12px; }
.btn-fire:hover { background: var(--red); color: var(--cream); }

.icon-btn {
  font-size: 20px;
  background: var(--panel-2);
  border: var(--grid) solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  padding: 6px 10px;
  line-height: 1;
}
.icon-btn:active { transform: translate(4px, 4px); box-shadow: none; }

/* ── Ticker superior ──────────────────────────── */

.ticker {
  background: var(--green);
  color: var(--ink);
  font-family: var(--font-px);
  font-size: 11px;
  border-bottom: var(--grid) solid var(--ink);
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 0;
}
.ticker-track { display: inline-block; animation: ticker-scroll 22s linear infinite; }
.ticker-track span { display: inline-block; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Nav ──────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 20px;
  background: var(--bg-2);
  border-bottom: var(--grid) solid var(--ink);
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-px);
  font-size: 18px;
  color: var(--yellow);
  text-decoration: none;
  text-shadow: 3px 3px 0 var(--ink);
}
.nav-links { display: flex; gap: 16px; flex-wrap: wrap; }
.nav-links a {
  font-family: var(--font-px);
  font-size: 10px;
  color: var(--cream);
  text-decoration: none;
  padding: 6px 4px;
}
.nav-links a:hover { color: var(--green); text-decoration: underline 3px; }
.nav-actions { margin-left: auto; display: flex; gap: 12px; align-items: center; }

/* ── Hero ─────────────────────────────────────── */

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 20px 64px;
  text-align: center;
}

.badge-live {
  display: inline-block;
  font-family: var(--font-px);
  font-size: 10px;
  line-height: 1.9;
  background: var(--ink);
  color: var(--green);
  border: 3px solid var(--green);
  padding: 8px 14px;
  margin-bottom: 22px;
}
.blink { animation: blink 1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }

.title-glow {
  font-family: var(--font-px);
  font-size: clamp(44px, 9vw, 96px);
  color: var(--green);
  text-shadow:
    5px 5px 0 var(--green-dark),
    10px 10px 0 var(--ink);
  letter-spacing: 4px;
  animation: title-bob 2.4s steps(2) infinite;
}
@keyframes title-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.subtitle {
  font-family: var(--font-px);
  font-size: clamp(12px, 2.4vw, 20px);
  color: var(--orange);
  margin-top: 16px;
  text-shadow: 3px 3px 0 var(--ink);
}
.tagline { font-size: 26px; color: var(--cream-dim); margin-top: 10px; }

.ca-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 24px auto 0;
  padding: 10px 14px;
  font-size: 20px;
}
.ca-label { font-family: var(--font-px); font-size: 11px; color: var(--orange); }
.ca-box code { max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.hero-ctas {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 28px 0 40px;
}

/* ── Escena de cocina ─────────────────────────── */

.scene {
  position: relative;
  height: 480px;
  background:
    linear-gradient(to bottom, #221430 0 58%, #1a0f24 58% 62%, #241831 62% 100%);
  background-color: var(--panel);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  cursor: default;
}
.scene.has-bg .scene-wall { display: none; }

/* Pared de azulejos + decoración CSS (fallback hasta tener hero-kitchen-bg.png) */
.scene-wall { position: absolute; inset: 0; }
.scene-wall::before {
  content: '';
  position: absolute;
  inset: 0 0 42% 0;
  background:
    repeating-linear-gradient(to right, transparent 0 44px, rgba(0,0,0,.35) 44px 48px),
    repeating-linear-gradient(to bottom, transparent 0 44px, rgba(0,0,0,.35) 44px 48px),
    #2b1a3e;
}
.scene-wall::after {
  content: '';
  position: absolute;
  inset: 58% 0 0 0;
  background:
    repeating-linear-gradient(to right, transparent 0 90px, rgba(0,0,0,.3) 90px 94px),
    #1c1128;
}
.scene-window {
  position: absolute;
  top: 34px;
  right: 60px;
  width: 150px;
  height: 120px;
  background: linear-gradient(to bottom, #0c1c33 0 70%, #0f2b1d 70% 100%);
  border: 5px solid var(--ink);
  box-shadow: 0 0 0 5px #3a2a4e;
  overflow: hidden;
}
.scene-window::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, transparent 0 calc(50% - 3px), var(--ink) calc(50% - 3px) calc(50% + 3px), transparent calc(50% + 3px)),
    linear-gradient(to bottom, transparent 0 calc(50% - 3px), var(--ink) calc(50% - 3px) calc(50% + 3px), transparent calc(50% + 3px));
}
.moon {
  position: absolute;
  top: 14px;
  left: 18px;
  width: 26px;
  height: 26px;
  background: var(--cream);
  box-shadow: 4px 0 0 rgba(255, 246, 229, .35);
}
.tree { position: absolute; bottom: 22px; width: 22px; height: 30px; background: #1f8a2e; }
.tree::after { content: ''; position: absolute; left: 8px; bottom: -10px; width: 6px; height: 10px; background: #6b4423; }
.t1 { left: 24px; } .t2 { right: 26px; bottom: 18px; }

.shelf {
  position: absolute;
  top: 78px;
  left: 46px;
  width: 190px;
  height: 12px;
  background: #6b4423;
  border: 4px solid var(--ink);
}
.shelf i {
  position: absolute;
  bottom: 100%;
  width: 24px;
  height: 30px;
  background: var(--green-dark);
  border: 4px solid var(--ink);
}
.shelf i:nth-child(1) { left: 16px; }
.shelf i:nth-child(2) { left: 76px; background: var(--red); height: 38px; }
.shelf i:nth-child(3) { left: 136px; background: var(--yellow); height: 26px; }

/* Chef presentador */
.chef {
  position: absolute;
  left: 6%;
  bottom: 26px;
  z-index: 5;
  cursor: pointer;
}
.chef-art { position: relative; animation: chef-idle 1.2s steps(2) infinite; }
@keyframes chef-idle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.chef.talking .chef-art { animation: chef-talk .35s steps(2) infinite; }
@keyframes chef-talk {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-3deg); }
}

.bubble {
  position: absolute;
  bottom: calc(100% + 26px);
  left: 40%;
  width: 300px;
  padding: 12px 14px;
  background: var(--cream);
  color: var(--ink);
  font-size: 21px;
  line-height: 1.25;
  text-align: left;
  z-index: 6;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, .45);
}
.bubble::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 26px;
  border: 12px solid transparent;
  border-top-color: var(--ink);
}
.bubble .cursor {
  display: inline-block;
  width: 10px;
  height: 16px;
  background: var(--ink);
  margin-left: 4px;
  vertical-align: -2px;
  animation: blink 1s steps(2, start) infinite;
}

/* Fogón + sartén */
.stove {
  position: absolute;
  right: 8%;
  bottom: 26px;
  z-index: 4;
  width: 320px;
}
.pan-anchor { position: relative; height: 180px; }

.pan-wrap {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 3;
  outline-offset: 6px;
}
.pan-wrap:focus-visible { outline: 4px dashed var(--yellow); }
.pan-art { position: relative; animation: pan-idle 1.6s steps(2) infinite; }
@keyframes pan-idle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.pan-wrap.cooking .pan-art { animation: pan-hop .35s steps(3) 1; }
@keyframes pan-hop {
  0% { transform: translateY(0) rotate(0); }
  40% { transform: translateY(-14px) rotate(-4deg); }
  100% { transform: translateY(0) rotate(0); }
}
.scene.burning .pan-art { animation: pan-shake .18s steps(2) infinite; }
@keyframes pan-shake {
  0%, 100% { transform: translate(-2px, 0); }
  50% { transform: translate(2px, -3px); }
}

.pan-token {
  position: absolute;
  bottom: 55%;
  left: 20%;
  z-index: 4;
  pointer-events: none;
}
.pan-token.flip { animation: token-flip .55s steps(8) 1; }
@keyframes token-flip {
  0%   { transform: translateY(0) rotate(0turn) scaleX(1); }
  30%  { transform: translateY(-56px) rotate(.5turn) scaleX(.4); }
  60%  { transform: translateY(-70px) rotate(1turn) scaleX(1); }
  100% { transform: translateY(0) rotate(1.5turn) scaleX(1); }
}

/* Cuando el PNG de la sartén ya existe, el token sprite se oculta */
.pan-wrap.has-img .pan-token { display: none; }

.flames {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  gap: 4px;
  z-index: 2;
  --heat: .35;
}
.flames span {
  transform-origin: bottom center;
  transform: scaleY(calc(.45 + var(--heat)));
  opacity: calc(.55 + var(--heat) * .45);
  animation: flame-flicker .3s steps(2) infinite;
}
.flames span:nth-child(2) { animation-delay: .12s; }
.flames span:nth-child(3) { animation-delay: .2s; }
@keyframes flame-flicker {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.35) ; transform: scaleY(calc(.55 + var(--heat))) scaleX(-1); }
}

.stove-body { position: relative; z-index: 1; }
.stove-grate {
  height: 18px;
  background: repeating-linear-gradient(to right, #3a3a46 0 26px, var(--ink) 26px 34px);
  border: 4px solid var(--ink);
}
.stove-panel {
  background: #47475a;
  border: 4px solid var(--ink);
  border-top: none;
  padding: 14px 12px 12px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, .45);
}
.dial {
  width: 22px;
  height: 22px;
  background: var(--cream);
  border: 4px solid var(--ink);
  position: relative;
}
.dial::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--ink);
}
.dial.hot { background: var(--orange); }
.dial.hot::after { transform: rotate(120deg); transform-origin: bottom; }
.stove-brand {
  font-family: var(--font-px);
  font-size: 8px;
  color: var(--cream-dim);
  letter-spacing: 1px;
}

.scene-hint {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-px);
  font-size: 10px;
  color: var(--yellow);
  background: rgba(20, 20, 28, .85);
  border: 3px solid var(--yellow);
  padding: 8px 12px;
  z-index: 7;
  animation: hint-pulse 1.4s steps(2) infinite;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .scene-hint { white-space: normal; max-width: 88%; text-align: center; line-height: 1.8; }
  .btn-big { font-size: 12px; padding: 14px 16px; }
}
@keyframes hint-pulse {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-4px); }
}
.scene-hint.off { display: none; }

/* Partículas (tokens que saltan y humo) */
.p-fly {
  position: absolute;
  z-index: 8;
  pointer-events: none;
  animation: p-fly .8s steps(8) forwards;
}
@keyframes p-fly {
  0%   { transform: translate(0, 0) rotate(0turn); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); opacity: 0; }
}
.p-steam {
  position: absolute;
  z-index: 8;
  pointer-events: none;
  opacity: .75;
  animation: p-steam 1.4s steps(6) forwards;
}
@keyframes p-steam {
  0%   { transform: translate(0, 0) scale(1); opacity: .75; }
  100% { transform: translate(var(--dx), -90px) scale(1.6); opacity: 0; }
}

/* Texto flotante de combo */
.p-text {
  position: absolute;
  z-index: 9;
  pointer-events: none;
  font-family: var(--font-px);
  font-size: 14px;
  color: var(--yellow);
  text-shadow: 3px 3px 0 var(--ink);
  animation: p-text .9s steps(6) forwards;
  white-space: nowrap;
}
@keyframes p-text {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(-70px); opacity: 0; }
}

/* ── Stats del juego ──────────────────────────── */

.stats {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  margin-top: 30px;
}
.stat { padding: 14px 22px; min-width: 190px; }
.stat label {
  display: block;
  font-family: var(--font-px);
  font-size: 9px;
  color: var(--cream-dim);
  margin-bottom: 10px;
}
.stat-num {
  font-family: var(--font-px);
  font-size: 24px;
  color: var(--green);
  text-shadow: 3px 3px 0 var(--ink);
}
.stat-num.combo { color: var(--orange); }
.stat-num.pop { animation: num-pop .25s steps(2) 1; }
@keyframes num-pop { 50% { transform: scale(1.25); } }

.heatbar { display: flex; gap: 4px; }
.heatbar i {
  width: 14px;
  height: 26px;
  background: var(--ink);
  border: 3px solid #3a3a46;
}
.heatbar i.on { background: var(--orange); border-color: var(--yellow); }
.heatbar i.on:nth-child(-n+3) { background: var(--yellow); }
.heatbar i.on:nth-child(n+8) { background: var(--red); }

.btn-fire { align-self: center; }

/* ── Secciones ────────────────────────────────── */

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 70px 20px;
}
.section-title {
  font-family: var(--font-px);
  font-size: clamp(20px, 4vw, 34px);
  color: var(--yellow);
  text-shadow: 4px 4px 0 var(--ink);
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--cream-dim);
  font-size: 24px;
  margin: 14px auto 40px;
  max-width: 640px;
}

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.story-card { padding: 16px; text-align: center; }
.story-card h3 {
  font-family: var(--font-px);
  font-size: 14px;
  color: var(--green);
  margin: 16px 0 10px;
}
.story-card p { color: var(--cream-dim); font-size: 21px; }

.tok-card { padding: 20px 14px; text-align: center; }
.tok-icon { font-size: 34px; display: block; margin-bottom: 12px; }
.tok-card h3 { font-family: var(--font-px); font-size: 11px; color: var(--cream-dim); margin-bottom: 12px; }
.tok-value {
  font-family: var(--font-px);
  font-size: 16px;
  color: var(--yellow);
  text-shadow: 3px 3px 0 var(--ink);
  margin-bottom: 10px;
  word-break: break-word;
}
.tok-note { font-size: 19px; color: var(--cream-dim); }

.fine-print { text-align: center; margin-top: 26px; font-size: 19px; color: var(--cream-dim); }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: paso;
}
.step { position: relative; padding: 26px 16px 20px; text-align: center; }
.step-num {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-px);
  font-size: 14px;
  background: var(--orange);
  color: var(--ink);
  border: 4px solid var(--ink);
  padding: 8px 12px;
}
.step h3 { font-family: var(--font-px); font-size: 12px; color: var(--green); margin-bottom: 12px; }
.step p { font-size: 20px; color: var(--cream-dim); }
.receta-cta { text-align: center; margin-top: 44px; }

/* ── Placeholders de imágenes ─────────────────── */

.ph-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background:
    repeating-conic-gradient(from 0deg, #2a1f38 0% 25%, #221730 25% 50%) 0 0 / 32px 32px;
  border: var(--grid) dashed #5a4a72;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ph-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ph-label {
  font-family: var(--font-px);
  font-size: 10px;
  line-height: 1.9;
  color: var(--cream-dim);
  text-align: center;
  padding: 10px;
  z-index: 1;
}
.ph-label em { font-family: var(--font-body); font-size: 18px; font-style: normal; color: #8d7ba8; display: block; }
.ph-img.has-img { border-style: solid; border-color: var(--ink); }
.ph-img.has-img .ph-label { display: none; }

/* Etiqueta flotante sobre sprites reemplazables */
.ph-tag {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-px);
  font-size: 7px;
  color: #8d7ba8;
  background: rgba(18, 11, 24, .9);
  border: 2px dashed #5a4a72;
  padding: 4px 6px;
  white-space: nowrap;
  z-index: 5;
}
.has-img .ph-tag, .has-img .sprite-fallback { display: none; }
[data-asset] { position: relative; }
[data-asset] > img { max-width: 100%; height: auto; }

.meme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ── Footer ───────────────────────────────────── */

.footer {
  border-top: var(--grid) solid var(--ink);
  background: var(--bg-2);
  margin-top: 40px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 46px 20px;
  text-align: center;
}
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.footer-motto { font-size: 24px; color: var(--green); }
.footer-links { display: flex; gap: 26px; justify-content: center; margin: 26px 0; flex-wrap: wrap; }
.footer-links a {
  font-family: var(--font-px);
  font-size: 11px;
  color: var(--cream);
  text-decoration: none;
}
.footer-links a:hover { color: var(--yellow); text-decoration: underline 3px; }
.disclaimer { max-width: 640px; margin: 0 auto 16px; font-size: 19px; color: var(--cream-dim); }
.copyright { font-size: 18px; color: #6f5f88; }

/* ── Toast ────────────────────────────────────── */

#toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translate(-50%, 120px);
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-px);
  font-size: 11px;
  border: 4px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, .5);
  padding: 12px 18px;
  z-index: 10000;
  transition: transform .18s steps(3);
}
#toast.show { transform: translate(-50%, 0); }

/* ── Lluvia de tokens (easter egg) ────────────── */

#rainLayer { position: fixed; inset: 0; pointer-events: none; z-index: 9000; overflow: hidden; }
.rain-token { position: absolute; top: -60px; animation: rain-fall linear forwards; }
@keyframes rain-fall {
  to { transform: translateY(115vh) rotate(2turn); }
}

/* ── Responsive ───────────────────────────────── */

@media (max-width: 980px) {
  .cards-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .steps { row-gap: 40px; }
  .scene { height: 620px; }
  .chef { left: 50%; transform: translateX(-115%); bottom: 300px; }
  .bubble { left: 10%; width: 250px; }
  .stove { right: 50%; transform: translateX(50%); width: 300px; }
}

@media (max-width: 640px) {
  body { font-size: 20px; }
  .cards-3, .meme-grid { grid-template-columns: 1fr; }
  .cards-4, .steps { grid-template-columns: 1fr; }
  .nav { justify-content: center; position: static; }
  .nav-links { order: 3; width: 100%; justify-content: center; }
  .nav-actions { margin-left: 0; }
  .scene { height: 560px; }
  .chef { transform: translateX(-105%) scale(.8); transform-origin: bottom; bottom: 280px; }
  .bubble { width: 220px; font-size: 19px; }
  .stove { width: 260px; }
  .ca-box code { max-width: 40vw; }
  .scene-window { right: 16px; width: 110px; height: 90px; }
  .shelf { display: none; }
}

/* ── Movimiento reducido ──────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  html { scroll-behavior: auto; }
}
