/* ════════════════════════════════════════════════════
   DEVITECC — Design System
   papel cálido · tinta · naranja devitecc
   ════════════════════════════════════════════════════ */

:root {
  --paper: #F7F4EE;
  --paper-soft: #FFFFFF;
  --ink: #16140F;
  --ink-soft: #4A463D;
  --ink-faint: #8B867A;
  --accent: #E84B0F;
  --accent-soft: rgba(232, 75, 15, 0.08);
  --line: rgba(22, 20, 15, 0.12);
  --line-dark: rgba(247, 244, 238, 0.14);

  --font-sans: 'Space Grotesk', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.45, 0, 0.15, 1);

  --max-w: 1180px;
  --pad: clamp(1.25rem, 4vw, 3rem);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.mono { font-family: var(--font-mono); }

::selection { background: var(--accent); color: var(--paper); }

/* ── Scroll progress ─────────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  background: var(--accent);
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 200;
}

/* ── Logo ────────────────────────────────────────── */
.logo-mark { width: 34px; height: 34px; color: var(--ink); flex-shrink: 0; }
.logo-node { fill: var(--accent); }
.nav__brand:hover .logo-node { animation: nodePulse 1.2s var(--ease-soft) infinite; }
@keyframes nodePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.35); }
}
.logo-node { transform-origin: 40px 13px; transition: transform 0.3s var(--ease-out); }

/* ── Nav ─────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }

.nav__inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0.9rem var(--pad);
  display: flex; align-items: center; gap: 2rem;
}

.nav__brand {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none; color: var(--ink);
}
.nav__wordmark {
  font-weight: 600; font-size: 1.25rem; letter-spacing: -0.02em;
}

.nav__links {
  display: flex; gap: 1.8rem; margin-left: auto;
}
.nav__links a {
  text-decoration: none; color: var(--ink-soft);
  font-size: 0.95rem; font-weight: 500;
  position: relative;
  transition: color 0.25s ease;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 1.5px; background: var(--accent);
  transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform 0.35s var(--ease-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }

.nav__actions { display: flex; align-items: center; gap: 1rem; }

.lang-toggle {
  display: flex; align-items: center; gap: 0.3rem;
  background: none; border: 1px solid var(--line);
  border-radius: 99px; padding: 0.35rem 0.75rem;
  font-family: var(--font-mono); font-size: 0.78rem;
  cursor: pointer; color: var(--ink-faint);
  transition: border-color 0.25s ease;
}
.lang-toggle:hover { border-color: var(--accent); }
.lang-toggle__opt { transition: color 0.25s ease; }
.lang-toggle__opt.is-active { color: var(--accent); font-weight: 600; }
.lang-toggle__divider { opacity: 0.4; }

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.8rem 1.7rem; border-radius: 99px;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.95rem;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out),
              background 0.3s ease, color 0.3s ease;
}
.btn--solid {
  background: var(--ink); color: var(--paper);
}
.btn--solid:hover {
  background: var(--accent); transform: translateY(-2px);
  box-shadow: 0 12px 28px -10px rgba(232, 75, 15, 0.5);
}
.btn--ghost {
  border-color: var(--line); color: var(--ink);
}
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--full { width: 100%; border: none; }
.nav__cta { padding: 0.55rem 1.3rem; font-size: 0.88rem; }

/* ── Burger (mobile) ─────────────────────────────── */
.nav__burger {
  display: none; flex-direction: column; gap: 6px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav__burger span {
  width: 24px; height: 2px; background: var(--ink);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.nav__mobile {
  display: none; flex-direction: column; gap: 0.4rem;
  padding: 0.5rem var(--pad) 1.4rem;
  border-bottom: 1px solid var(--line);
}
.nav__mobile a {
  text-decoration: none; color: var(--ink); font-weight: 500;
  padding: 0.5rem 0; font-size: 1.05rem;
}

/* ── Hero ────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(8rem, 14vh, 11rem) 0 0;
  overflow: hidden;
}

.hero__blueprint {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 65% 20%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 65% 20%, black 0%, transparent 70%);
  opacity: 0.7;
  animation: gridDrift 24s linear infinite;
}
@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 56px 56px, 56px 56px; }
}

.hero__inner {
  position: relative;
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 var(--pad);
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero__kicker {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.8rem; letter-spacing: 0.08em;
  color: var(--ink-faint); margin-bottom: 1.6rem;
}
.node-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(232, 75, 15, 0.45);
  animation: ping 2.2s var(--ease-soft) infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(232, 75, 15, 0.45); }
  70%, 100% { box-shadow: 0 0 0 12px rgba(232, 75, 15, 0); }
}

.hero__title {
  font-size: clamp(2.5rem, 5.6vw, 4.4rem);
  font-weight: 700; line-height: 1.06; letter-spacing: -0.03em;
  margin-bottom: 1.6rem;
}
.line-mask { display: block; overflow: hidden; padding-bottom: 0.08em; }
.line {
  display: block;
  transform: translateY(110%);
  animation: lineUp 1s var(--ease-out) forwards;
}
.line-mask:nth-child(2) .line { animation-delay: 0.12s; }
.line--accent { color: var(--accent); }
@keyframes lineUp { to { transform: translateY(0); } }

.hero__lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-soft); max-width: 46ch;
  margin-bottom: 2.2rem;
}

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.4rem; }

.hero__meta {
  display: flex; gap: 1.6rem; flex-wrap: wrap;
  font-size: 0.78rem; color: var(--ink-faint);
}

/* ── Terminal ────────────────────────────────────── */
.hero__terminal { position: relative; }

.terminal {
  background: var(--ink);
  border-radius: 14px;
  box-shadow: 0 32px 64px -24px rgba(22, 20, 15, 0.45);
  overflow: hidden;
  transform: rotate(1.2deg);
  transition: transform 0.5s var(--ease-out);
}
.terminal:hover { transform: rotate(0deg) scale(1.01); }

.terminal__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid var(--line-dark);
}
.terminal__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(247, 244, 238, 0.18);
}
.terminal__dot--accent { background: var(--accent); }
.terminal__title {
  margin-left: auto; font-size: 0.7rem;
  color: rgba(247, 244, 238, 0.4); letter-spacing: 0.06em;
}

.terminal__body {
  padding: 1.3rem 1.3rem 1.6rem;
  font-size: 0.82rem; line-height: 1.9;
  color: #D8D4C9;
  min-height: 248px;
  white-space: pre-wrap;
}
.terminal__body .t-prompt { color: var(--accent); }
.terminal__body .t-ok { color: #7FB069; }
.terminal__body .t-dim { color: rgba(216, 212, 201, 0.45); }
.terminal__caret {
  display: inline-block; width: 8px; height: 1.1em;
  background: var(--accent); vertical-align: text-bottom;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ── Orbit nodes ─────────────────────────────────── */
.hero__orbit { position: absolute; inset: 0; pointer-events: none; }
.orbit-node {
  position: absolute;
  padding: 0.35rem 0.8rem;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 0.72rem; color: var(--ink-soft);
  box-shadow: 0 8px 20px -8px rgba(22, 20, 15, 0.2);
  animation: floatY 5s var(--ease-soft) infinite;
}
.orbit-node::before {
  content: ''; display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); margin-right: 6px;
}
.orbit-node--1 { top: -8%; right: 8%; animation-delay: 0s; }
.orbit-node--2 { bottom: 4%; left: -4%; animation-delay: 1.4s; }
.orbit-node--3 { top: 38%; right: -5%; animation-delay: 2.6s; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ── Ticker ──────────────────────────────────────── */
.hero__ticker {
  margin-top: clamp(4rem, 8vh, 6rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 0.9rem 0;
}
.ticker__track {
  display: flex; align-items: center; gap: 2.5rem;
  width: max-content;
  font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-faint);
  animation: ticker 28s linear infinite;
}
.ticker__track i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ── Sections ────────────────────────────────────── */
.section {
  max-width: var(--max-w); margin: 0 auto;
  padding: clamp(5rem, 10vh, 8rem) var(--pad);
}
.section--dark {
  max-width: none;
  background: var(--ink); color: var(--paper);
  --line: var(--line-dark);
}
.section--dark > * { max-width: var(--max-w); margin-left: auto; margin-right: auto; }

.section__head { margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.section__index {
  font-size: 0.78rem; color: var(--accent);
  letter-spacing: 0.2em; margin-bottom: 0.8rem;
}
.section__index::after {
  content: ''; display: inline-block;
  width: 48px; height: 1px; background: var(--accent);
  vertical-align: middle; margin-left: 0.8rem; opacity: 0.5;
}
.section__title {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 700; letter-spacing: -0.025em;
  margin-bottom: 0.7rem;
}
.section__sub { color: var(--ink-faint); max-width: 52ch; font-size: 1.05rem; }
.section--dark .section__sub { color: rgba(247, 244, 238, 0.55); }

/* ── Services ────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.service-card {
  position: relative;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.8rem 1.6rem 1.7rem;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out),
              border-color 0.4s ease;
}
.service-card::before {
  content: ''; position: absolute; inset: 0 auto 0 0; width: 3px;
  background: var(--accent);
  transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform 0.45s var(--ease-out);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 75, 15, 0.35);
  box-shadow: 0 24px 48px -20px rgba(22, 20, 15, 0.18);
}
.service-card:hover::before { transform: scaleY(1); transform-origin: 50% 0; }

.service-card__num {
  position: absolute; top: 1.4rem; right: 1.5rem;
  font-size: 0.72rem; color: var(--ink-faint);
}
.service-card__icon {
  width: 34px; height: 34px; color: var(--accent);
  margin-bottom: 1.1rem;
  transition: transform 0.4s var(--ease-out);
}
.service-card:hover .service-card__icon { transform: translateY(-3px) scale(1.06); }
.service-card h3 {
  font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.service-card p { font-size: 0.92rem; color: var(--ink-soft); }

/* ── Process ─────────────────────────────────────── */
.process {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.process__step { position: relative; padding-top: 1.4rem; }
.process__num {
  font-size: 0.8rem; color: var(--accent); letter-spacing: 0.15em;
}
.process__line {
  position: absolute; top: 1.95rem; left: 3.2rem; right: -1.2rem;
  height: 1px; background: var(--line-dark);
}
.process__line::after {
  content: ''; position: absolute; inset: 0;
  background: var(--accent);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 1.1s var(--ease-soft) 0.3s;
}
.reveal.is-visible .process__line::after { transform: scaleX(1); }

.process__step h3 {
  font-size: 1.3rem; font-weight: 600; margin: 1rem 0 0.5rem;
}
.process__step p {
  font-size: 0.9rem; color: rgba(247, 244, 238, 0.6);
  margin-bottom: 0.9rem;
}
.process__tag { font-size: 0.74rem; color: var(--accent); }

.process__diagram { margin-top: clamp(3rem, 6vh, 4.5rem); }
.process__diagram svg { width: 100%; height: auto; display: block; }
.diag-line {
  stroke: var(--line-dark); stroke-width: 1.5;
  stroke-dasharray: 620; stroke-dashoffset: 620;
  transition: stroke-dashoffset 1.8s var(--ease-soft) 0.2s;
}
.reveal.is-visible .diag-line { stroke-dashoffset: 0; }
.diag-node circle {
  fill: var(--ink); stroke: var(--paper); stroke-width: 2;
  opacity: 0; transform: scale(0); transform-origin: center; transform-box: fill-box;
  transition: opacity 0.4s ease, transform 0.5s var(--ease-out);
  transition-delay: calc(0.4s + var(--d) * 0.35s);
}
.diag-node--accent circle { fill: var(--accent); stroke: var(--accent); }
.reveal.is-visible .diag-node circle { opacity: 1; transform: scale(1); }
.diag-node text {
  fill: rgba(247, 244, 238, 0.5);
  font-family: var(--font-mono); font-size: 13px;
  text-anchor: middle;
  opacity: 0; transition: opacity 0.5s ease;
  transition-delay: calc(0.6s + var(--d) * 0.35s);
}
.reveal.is-visible .diag-node text { opacity: 1; }

/* ── Work ────────────────────────────────────────── */
.work-list { display: flex; flex-direction: column; }
.work-item {
  padding: 2rem 0.5rem;
  border-top: 1px solid var(--line);
  transition: background 0.35s ease, padding-left 0.35s var(--ease-out);
}
.work-item:last-child { border-bottom: 1px solid var(--line); }
.work-item:hover { background: var(--accent-soft); padding-left: 1.2rem; }

.work-item__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 0.5rem;
}
.work-item h3 { font-size: 1.4rem; font-weight: 600; letter-spacing: -0.015em; }
.work-item__type { font-size: 0.75rem; color: var(--accent); letter-spacing: 0.08em; }
.work-item p { color: var(--ink-soft); max-width: 64ch; margin-bottom: 1rem; }

.work-item__stack { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.work-item__stack span {
  font-size: 0.72rem; color: var(--ink-faint);
  border: 1px solid var(--line); border-radius: 99px;
  padding: 0.25rem 0.75rem;
}

.work-note { margin-top: 2rem; font-size: 0.82rem; color: var(--ink-faint); }

/* ── About ───────────────────────────────────────── */
.about {
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2.5rem, 6vw, 5rem); align-items: start;
}
.about__copy p:not(.section__index) {
  color: var(--ink-soft); margin-bottom: 1.1rem; font-size: 1.05rem;
  max-width: 56ch;
}
.about__stats {
  display: flex; flex-direction: column; gap: 1.2rem;
  padding-top: 2.6rem;
}
.stat {
  border: 1px solid var(--line); border-radius: 16px;
  padding: 1.4rem 1.6rem;
  background: var(--paper-soft);
  display: flex; flex-direction: column; gap: 0.2rem;
  transition: transform 0.35s var(--ease-out), border-color 0.35s ease;
}
.stat:hover { transform: translateX(6px); border-color: rgba(232, 75, 15, 0.4); }
.stat__value {
  font-size: 2rem; font-weight: 600; color: var(--accent);
  letter-spacing: -0.02em;
}
.stat__label { font-size: 0.9rem; color: var(--ink-faint); }

/* ── Contact ─────────────────────────────────────── */
.section--contact { position: relative; overflow: hidden; }
.section--contact::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 90% at 20% 50%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 20% 50%, black, transparent 70%);
  opacity: 0.5;
}
.contact {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
}
.contact__copy p:not(.section__index) {
  color: rgba(247, 244, 238, 0.6); margin-bottom: 2rem; max-width: 44ch;
}
.contact__mail {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--paper); text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.2rem;
  transition: color 0.3s ease;
}
.contact__mail:hover { color: var(--accent); }
.cursor-block {
  display: inline-block; width: 0.55em; height: 1em;
  background: var(--accent); margin-left: 6px;
  vertical-align: text-bottom;
  animation: blink 1s steps(1) infinite;
}

.contact__form {
  display: flex; flex-direction: column; gap: 1.2rem;
  background: rgba(247, 244, 238, 0.04);
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  backdrop-filter: blur(4px);
}
.contact__form label { display: flex; flex-direction: column; gap: 0.45rem; }
.contact__form label span {
  font-size: 0.74rem; color: rgba(247, 244, 238, 0.45); letter-spacing: 0.05em;
}
.contact__form input,
.contact__form textarea {
  background: transparent;
  border: none; border-bottom: 1px solid var(--line-dark);
  padding: 0.55rem 0.1rem;
  font-family: var(--font-sans); font-size: 1rem;
  color: var(--paper);
  resize: vertical;
  transition: border-color 0.3s ease;
}
.contact__form input:focus,
.contact__form textarea:focus {
  outline: none; border-bottom-color: var(--accent);
}
.contact__form .hp {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden; opacity: 0;
}
.contact__status {
  font-size: 0.78rem; min-height: 1.2em; margin-top: -0.4rem;
  color: rgba(247, 244, 238, 0.55);
  transition: color 0.3s ease;
}
.contact__status.is-ok { color: #7FB069; }
.contact__status.is-error { color: var(--accent); }
.btn[disabled] { opacity: 0.55; pointer-events: none; }

/* ── Footer ──────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); }
.footer__inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 2.2rem var(--pad);
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.footer__tag { font-size: 0.75rem; color: var(--ink-faint); letter-spacing: 0.1em; }
.footer__copy { margin-left: auto; font-size: 0.75rem; color: var(--ink-faint); }

/* ── Reveal on scroll ────────────────────────────── */
.reveal, .reveal-right {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 0.1s);
}
.reveal-right { transform: translateX(36px); }
.reveal.is-visible, .reveal-right.is-visible {
  opacity: 1; transform: translate(0, 0);
}

/* ── Language switch fade ────────────────────────── */
[data-i18n] { transition: opacity 0.25s ease; }
body.lang-switching [data-i18n] { opacity: 0; }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__terminal { max-width: 560px; }
  .orbit-node--2 { left: auto; right: 60%; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process__step:nth-child(2) .process__line { display: none; }
  .about, .contact { grid-template-columns: 1fr; }
  .about__stats { padding-top: 0; }
}

@media (max-width: 680px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav.is-open .nav__mobile { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; gap: 2.4rem; }
  .process__line { display: none; }
  .hero__meta { gap: 1rem; }
  .footer__copy { margin-left: 0; }
}

/* ── Reduced motion ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal, .reveal-right { opacity: 1; transform: none; }
}
