/* ============================================================
   HERO v2 — editorial / agencia
   Layout completamente distinto al viejo hero de dos columnas:
     · barra de metadatos arriba (disponibilidad · ubicación · mail)
     · nombre monumental en dos líneas (relleno degradado + outline)
     · foto como tarjeta 3D a la derecha, con chips flotantes
     · fila inferior tipo HUD: stats con contadores + redes
     · marquee de tecnologías cerrando la sección
   Capas de fondo: auroras + grid + haz de luz + ruido + viñeta,
   más un spotlight que sigue al cursor (js/app.js → initHeroMotion).
   La entrada se coreografía sola: mientras body.is-loading existe
   todo espera oculto; al terminar el loader cada pieza entra en
   cascada según su índice --hs.
   ============================================================ */

#about {
  isolation: isolate;
}

/* ── Fondo ──────────────────────────────────────────────────── */

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Auroras: manchas de luz enormes que derivan lentísimo. El blur
   viene del propio gradiente radial (más barato que filter). */
.hero-aurora {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.hero-aurora--1 {
  width: 64vmax;
  height: 64vmax;
  top: -28%;
  left: -14%;
  background: radial-gradient(
    circle at center,
    rgba(20, 184, 166, 0.12),
    transparent 62%
  );
  animation: hero-aurora-a 26s ease-in-out infinite alternate;
}

.hero-aurora--2 {
  width: 52vmax;
  height: 52vmax;
  bottom: -30%;
  right: -12%;
  background: radial-gradient(
    circle at center,
    rgba(6, 182, 212, 0.1),
    transparent 60%
  );
  animation: hero-aurora-b 32s ease-in-out infinite alternate;
}

.hero-aurora--3 {
  width: 38vmax;
  height: 38vmax;
  top: 30%;
  left: 52%;
  background: radial-gradient(
    circle at center,
    rgba(139, 92, 246, 0.06),
    transparent 60%
  );
  animation: hero-aurora-c 40s ease-in-out infinite alternate;
}

@keyframes hero-aurora-a {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(9vw, 6vh, 0) scale(1.18);
  }
}

@keyframes hero-aurora-b {
  from {
    transform: translate3d(0, 0, 0) scale(1.12);
  }
  to {
    transform: translate3d(-8vw, -7vh, 0) scale(0.94);
  }
}

@keyframes hero-aurora-c {
  from {
    transform: translate3d(0, 0, 0) scale(0.9);
  }
  to {
    transform: translate3d(-10vw, 8vh, 0) scale(1.15);
  }
}

/* Grid técnico, desvanecido hacia los bordes con máscara radial. */
.hero-grid {
  position: absolute;
  inset: -64px;
  background-image:
    linear-gradient(rgba(94, 234, 212, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 234, 212, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(
    ellipse 90% 75% at 50% 40%,
    #000 20%,
    transparent 74%
  );
  mask-image: radial-gradient(
    ellipse 90% 75% at 50% 40%,
    #000 20%,
    transparent 74%
  );
  animation: hero-grid-pan 34s linear infinite;
}

@keyframes hero-grid-pan {
  to {
    transform: translate3d(64px, 64px, 0);
  }
}

/* Haz de luz diagonal detrás de la foto. */
.hero-beam {
  position: absolute;
  top: -30%;
  right: 4%;
  width: 34vw;
  height: 160%;
  transform: rotate(22deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(45, 212, 191, 0.05) 45%,
    rgba(45, 212, 191, 0.08) 50%,
    rgba(45, 212, 191, 0.05) 55%,
    transparent
  );
  animation: hero-beam-breathe 9s ease-in-out infinite;
}

@keyframes hero-beam-breathe {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

/* Ruido fílmico: quita el look "plástico" de los gradientes. */
.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 120% 90% at 50% 40%,
    transparent 55%,
    rgba(0, 0, 0, 0.45) 100%
  );
}

/* ── Spotlight que sigue al cursor ──────────────────────────── */

.hero-spotlight {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.7s ease;
  background: radial-gradient(
    620px circle at var(--mx, 50%) var(--my, 40%),
    rgba(45, 212, 191, 0.06),
    transparent 65%
  );
}

#about:hover .hero-spotlight {
  opacity: 1;
}

/* ── Meta bar (arriba) ──────────────────────────────────────── */

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.1rem;
  padding-bottom: 1rem;
  margin-bottom: clamp(1.2rem, 3vh, 2.2rem);
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.85);
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
}

.hero-meta-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.8);
  animation: hero-dot-pulse 2.2s ease-in-out infinite;
}

@keyframes hero-dot-pulse {
  0%,
  100% {
    box-shadow: 0 0 4px rgba(52, 211, 153, 0.5);
  }
  50% {
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.95);
  }
}

.hero-meta-sep {
  color: rgba(71, 85, 105, 0.9);
}

.hero-meta-fill {
  flex: 1;
  min-width: 1rem;
}

.hero-meta-link {
  color: rgba(94, 234, 212, 0.85);
  transition: color 0.3s ease;
  white-space: nowrap;
}

.hero-meta-link:hover {
  color: #99f6e4;
  text-shadow: 0 0 12px rgba(45, 212, 191, 0.5);
}

/* ── Cabecera: copy + foto ──────────────────────────────────── */

.hero-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-head {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

.hero-eyebrow {
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: clamp(0.8rem, 1.2vw, 0.95rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.9);
  margin-bottom: 0.6rem;
}

.hero-eyebrow span {
  color: #2dd4bf;
}

/* Nombre monumental: dos líneas con reveal enmascarado. */
.hero-title {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700;
  font-size: clamp(3.2rem, 8.4vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin: 0;
}

.hero-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em; /* que el descender de la Ñ/acentos no se corte */
}

.hero-line-inner {
  display: inline-block;
  will-change: transform;
  transition: transform 1.05s cubic-bezier(0.22, 1, 0.36, 1)
    calc(var(--hs, 0) * 130ms);
}

body.is-loading .hero-line-inner {
  transform: translateY(115%) rotate(3deg);
  transition: none;
}

/* Línea 1: relleno degradado con brillo que recorre el texto. */
.hero-line-fill {
  background: linear-gradient(
    110deg,
    #f8fafc 0%,
    #99f6e4 28%,
    #2dd4bf 50%,
    #67e8f9 72%,
    #f8fafc 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: hero-title-sheen 8s ease-in-out infinite;
}

@keyframes hero-title-sheen {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Línea 2: solo el trazo del tubo, sin relleno. */
.hero-line-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(94, 234, 212, 0.65);
  text-shadow: 0 0 32px rgba(45, 212, 191, 0.12);
  transition: -webkit-text-stroke-color 0.4s ease;
}

.hero-line-outline:hover {
  -webkit-text-stroke-color: rgba(153, 246, 228, 0.95);
}

/* Línea del rol (typed.js) con prompt de terminal. */
.hero-role {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.1rem;
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: rgba(203, 213, 225, 0.95);
}

.hero-role-prompt {
  color: #2dd4bf;
  font-weight: 600;
}

.hero-role #typed-text {
  color: #5eead4;
  text-shadow: 0 0 14px rgba(45, 212, 191, 0.45);
}

.hero-role .typed-cursor {
  color: #5eead4;
}

/* Intro */
.hero-intro {
  max-width: 36rem;
  margin-top: 1.1rem;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.75;
  color: rgba(148, 163, 184, 0.92);
}

.hero-intro strong {
  color: rgba(94, 234, 212, 0.95);
  font-weight: 600;
}

/* CTAs */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
  margin-top: 1.6rem;
}

.hero-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: rgba(148, 163, 184, 0.9);
  transition: color 0.3s ease;
}

.hero-cta-ghost i {
  transition: transform 0.3s ease;
}

.hero-cta-ghost:hover {
  color: #5eead4;
}

.hero-cta-ghost:hover i {
  transform: translateY(3px);
}

/* ── Foto: tarjeta con tilt 3D y chips flotantes ────────────── */

.hero-photo-col {
  position: relative;
  justify-self: center;
  perspective: 1100px;
}

.hero-photo {
  position: relative;
  width: clamp(230px, 24vw, 310px);
  aspect-ratio: 4 / 5;
  border-radius: 1.4rem;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(71, 85, 105, 0.55);
  background: linear-gradient(160deg, #1e293b 0%, #0f172a 70%);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(45, 212, 191, 0.08);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition:
    transform 0.25s ease-out,
    box-shadow 0.4s ease;
  will-change: transform;
}

.hero-photo:hover {
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.6),
    0 0 90px rgba(45, 212, 191, 0.16);
}

.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: saturate(0.85) contrast(1.04);
  transition:
    filter 0.6s ease,
    transform 0.6s ease;
}

.hero-photo:hover img {
  filter: saturate(1.05) contrast(1.05);
  transform: scale(1.03);
}

/* Velo degradado abajo para asentar la etiqueta. */
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(2, 6, 23, 0.85) 0%,
    rgba(2, 6, 23, 0.25) 26%,
    transparent 48%
  );
  pointer-events: none;
}

/* Barrido de luz diagonal que cruza la tarjeta cada tanto. */
.hero-photo-glare {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.14) 48%,
    rgba(255, 255, 255, 0.02) 52%,
    transparent 65%
  );
  background-size: 260% 100%;
  animation: hero-glare 7.5s ease-in-out infinite;
}

@keyframes hero-glare {
  0%,
  55% {
    background-position: 130% 0;
  }
  85%,
  100% {
    background-position: -60% 0;
  }
}

.hero-photo-tag {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.95rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.92);
}

.hero-photo-tag .hero-meta-item {
  gap: 0.45rem;
}

.hero-photo-tag em {
  font-style: normal;
  color: rgba(148, 163, 184, 0.75);
}

/* Esquinas tipo visor de cámara. */
.hero-photo-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  z-index: 3;
  border: 1.5px solid rgba(94, 234, 212, 0.55);
  pointer-events: none;
}

.hero-photo-corner--tl {
  top: 10px;
  left: 10px;
  border-right: 0;
  border-bottom: 0;
  border-top-left-radius: 8px;
}

.hero-photo-corner--tr {
  top: 10px;
  right: 10px;
  border-left: 0;
  border-bottom: 0;
  border-top-right-radius: 8px;
}

.hero-photo-corner--bl {
  bottom: 10px;
  left: 10px;
  border-right: 0;
  border-top: 0;
  border-bottom-left-radius: 8px;
}

.hero-photo-corner--br {
  bottom: 10px;
  right: 10px;
  border-left: 0;
  border-top: 0;
  border-bottom-right-radius: 8px;
}

/* Chips de stack flotando alrededor de la tarjeta. */
.hero-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, 0.28);
  background: rgba(8, 15, 30, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(226, 232, 240, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  animation: hero-chip-float 6s ease-in-out infinite;
}

.hero-chip img {
  width: 14px;
  height: 14px;
}

.hero-chip--1 {
  top: 8%;
  left: -18%;
  animation-delay: 0s;
}

.hero-chip--2 {
  top: 42%;
  right: -16%;
  animation-delay: -2s;
}

.hero-chip--3 {
  bottom: 14%;
  left: -22%;
  animation-delay: -4s;
}

@keyframes hero-chip-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

/* Halo detrás de la tarjeta. */
.hero-photo-halo {
  position: absolute;
  inset: -12%;
  z-index: -1;
  background: radial-gradient(
    ellipse at center,
    rgba(45, 212, 191, 0.14),
    transparent 65%
  );
  filter: none;
}

/* ── Fila inferior HUD: stats + redes ───────────────────────── */

.hero-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  /* Sin space-between: la esquina inferior derecha queda libre
     para el botón fijo "cd /backend-portfolio". */
  justify-content: flex-start;
  gap: 1.2rem 2.4rem;
  margin-top: clamp(1.2rem, 3vh, 2rem);
  padding-top: 1.1rem;
  border-top: 1px solid rgba(51, 65, 85, 0.5);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.6rem;
}

.hero-stat {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.hero-stat-num {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(120deg, #5eead4, #22d3ee 60%, #99f6e4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

.hero-stat-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(100, 116, 139, 1);
  line-height: 1.45;
}

.hero-socials {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

@media (min-width: 768px) {
  .hero-socials {
    border-left: 1px solid rgba(51, 65, 85, 0.6);
    padding-left: 2.4rem;
  }
}

.hero-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(51, 65, 85, 0.7);
  background: rgba(15, 23, 42, 0.5);
  color: rgba(148, 163, 184, 0.9);
  font-size: 1.15rem;
  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.hero-social:hover {
  color: #5eead4;
  border-color: rgba(45, 212, 191, 0.55);
  transform: translateY(-4px);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.4),
    0 0 18px rgba(45, 212, 191, 0.15);
}

/* ── Marquee de tecnologías ─────────────────────────────────── */

.hero-marquee {
  position: relative;
  z-index: 5;
  overflow: hidden;
  border-top: 1px solid rgba(51, 65, 85, 0.55);
  background: rgba(2, 6, 23, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0.7rem 0;
  /* fade en los extremos */
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}

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

.hero-marquee:hover .hero-marquee-track {
  animation-play-state: paused;
}

.hero-marquee-seq {
  display: flex;
  align-items: center;
  gap: 2.6rem;
  padding-right: 2.6rem;
}

.hero-marquee-seq span {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.62);
  white-space: nowrap;
}

.hero-marquee-seq .hero-marquee-star {
  color: rgba(45, 212, 191, 0.75);
  letter-spacing: 0;
  font-size: 0.7rem;
}

@keyframes hero-marquee-scroll {
  to {
    transform: translateX(-50%);
  }
}

/* ── Coreografía de entrada ─────────────────────────────────────
   Estado base = visible (con transición). Mientras body.is-loading
   está presente todo espera oculto y SIN transición; al soltarse
   la clase, cada pieza entra con su delay (--hs * 110ms). */

.hero-stagger {
  transition:
    opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.95s ease;
  transition-delay: calc(var(--hs, 0) * 110ms);
}

body.is-loading .hero-stagger {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(10px);
  transition: none;
}

/* Variante de la foto: entra creciendo desde atrás. */
body.is-loading .hero-stagger--photo {
  transform: translateY(18px) scale(0.94) rotateY(-6deg);
}

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

@media (max-width: 1023px) {
  .hero-photo-col {
    order: -1; /* foto arriba del texto en mobile */
  }

  .hero-chip--1 {
    left: -8%;
  }

  .hero-chip--2 {
    right: -8%;
  }

  .hero-chip--3 {
    left: -10%;
  }

  .hero-foot {
    justify-content: center;
    text-align: center;
  }

  .hero-stats {
    justify-content: center;
  }
}

/* ── Reduced motion: todo quieto y visible ──────────────────── */

@media (prefers-reduced-motion: reduce) {
  .hero-aurora,
  .hero-grid,
  .hero-beam,
  .hero-meta-dot,
  .hero-line-fill,
  .hero-photo-glare,
  .hero-chip,
  .hero-marquee-track,
  .btn-shimmer::after {
    animation: none;
  }

  .hero-stagger,
  body.is-loading .hero-stagger,
  .hero-line-inner,
  body.is-loading .hero-line-inner {
    transition: none;
    opacity: 1;
    transform: none;
    filter: none;
  }

  .hero-spotlight {
    display: none;
  }
}

/* ── CTA: barrido de brillo periódico (se reusa en el botón CV) ─ */

.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -160%;
  width: 55%;
  background: linear-gradient(
    105deg,
    transparent,
    rgba(255, 255, 255, 0.38),
    transparent
  );
  transform: skewX(-20deg);
  animation: btn-shimmer-sweep 4.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes btn-shimmer-sweep {
  0%,
  55% {
    left: -160%;
  }
  85%,
  100% {
    left: 180%;
  }
}

/* ============================================================
   TRANSICIÓN DE SALIDA → /backend: apagado de monitor CRT
   Al clickear el CTA "cd /backend-portfolio" el JS agrega
   .page-exit al <html>: la pantalla flarea, colapsa a una línea
   horizontal y se funde a un punto, como un tubo que se apaga.
   Del otro lado, backend.html arranca con su boot sequence.
   (js/app.js → initBackendTransition)
   ============================================================ */

html.page-exit {
  background: #000;
}

html.page-exit body {
  transform-origin: 50% 50%;
  animation: crt-off 0.72s cubic-bezier(0.65, 0, 0.85, 0.2) forwards;
  pointer-events: none;
}

@keyframes crt-off {
  0% {
    transform: scale(1, 1);
    filter: brightness(1);
  }
  30% {
    transform: scale(1, 1);
    filter: brightness(1.7) saturate(1.6);
  }
  62% {
    transform: scale(1.04, 0.012);
    filter: brightness(5);
  }
  86% {
    transform: scale(1.04, 0.007);
    filter: brightness(8);
  }
  100% {
    transform: scale(0.002, 0.005);
    filter: brightness(12);
  }
}

@media (prefers-reduced-motion: reduce) {
  html.page-exit body {
    animation: none;
  }
}
