/* ============================================================
   PROJECTS HUB — UPGRADE EDITORIAL v3
   ============================================================ */

/* ── Fondo líquido más intenso ── */
.page-projects-hub {
  --liquid-circle-size: 68%;
}

.page-projects-hub .gradients-container {
  filter: url(#liquid-goo) blur(18px) !important;
  -webkit-filter: url(#liquid-goo) blur(18px) !important;
  opacity: 0.95 !important;
}

.page-projects-hub .liquid-blob--g1 {
  background: radial-gradient(circle at center, rgba(var(--liquid-color1), 0.85) 0, rgba(var(--liquid-color1), 0) 54%) !important;
}
.page-projects-hub .liquid-blob--g2 {
  background: radial-gradient(circle at center, rgba(var(--liquid-color2), 0.80) 0, rgba(var(--liquid-color2), 0) 54%) !important;
}
.page-projects-hub .liquid-blob--g3 {
  background: radial-gradient(circle at center, rgba(var(--liquid-color3), 0.78) 0, rgba(var(--liquid-color3), 0) 54%) !important;
}
.page-projects-hub .liquid-blob--g4 {
  background: radial-gradient(circle at center, rgba(var(--liquid-color4), 0.76) 0, rgba(var(--liquid-color4), 0) 54%) !important;
  opacity: 1 !important;
}
.page-projects-hub .liquid-blob--g5 {
  background: radial-gradient(circle at center, rgba(var(--liquid-color5), 0.74) 0, rgba(var(--liquid-color5), 0) 54%) !important;
}
.page-projects-hub .liquid-blob--interactive {
  opacity: 0.85 !important;
  width: min(110vmin, 640px) !important;
  height: min(110vmin, 640px) !important;
}

/* ── Layout principal ── */
.page-projects-hub main {
  padding-top: calc(var(--site-header-h) + var(--space-md));
}

.projects-hub {
  padding: var(--space-lg) var(--space-md) var(--space-2xl);
}

.projects-hub__inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

/* ── Hero ── */
.projects-hub__hero {
  max-width: none;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
  position: relative;
  padding-bottom: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto;
  align-items: end;
  gap: 0 var(--space-xl);
}

.projects-hub__hero::after { display: none; }

.projects-hub__hero-divider {
  grid-column: 1 / -1;
  display: block;
  height: 1px;
  background: linear-gradient(90deg, var(--text) 0%, transparent 100%);
  opacity: 0.12;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  transform-origin: left center;
  animation: hub-line-in 1.2s var(--ease) 0.7s both;
}

@keyframes hub-line-in {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 0.12; }
}

.projects-hub__kicker {
  grid-column: 1;
  grid-row: 1;
  margin: 0 0 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0;
  animation: hub-fade-up 0.7s var(--ease) 0.1s forwards;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.projects-hub__kicker::before {
  content: "";
  display: inline-block;
  width: 1.75rem;
  height: 1px;
  background: var(--accent-vivid);
  opacity: 0.7;
  flex-shrink: 0;
}

#projects-hub-count {
  color: var(--accent-vivid);
  font-variant-numeric: tabular-nums;
}

.projects-hub__title {
  grid-column: 1;
  grid-row: 2;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0;
  color: var(--text);
  overflow: hidden;
}

.projects-hub__title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  animation: hub-word-in 0.75s var(--ease) both;
}

.projects-hub__title .word:nth-child(1) { animation-delay: 0.15s; }
.projects-hub__title .word:nth-child(2) { animation-delay: 0.28s; }

.projects-hub__title .word--serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--accent-vivid);
}

@keyframes hub-word-in {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hub-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.projects-hub__lead {
  grid-column: 1;
  grid-row: 3;
  margin: clamp(1rem, 2vw, 1.5rem) 0 0;
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 52ch;
  opacity: 0;
  animation: hub-fade-up 0.7s var(--ease) 0.55s forwards;
}

.projects-hub__hero-numeral {
  grid-column: 2;
  grid-row: 2 / 4;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(20, 20, 20, 0.1);
  user-select: none;
  pointer-events: none;
  align-self: end;
  opacity: 0;
  animation: hub-fade-up 0.8s var(--ease) 0.4s forwards;
}

/* ── Filtros ── */
.projects-hub__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  padding: 0;
  list-style: none;
  border-bottom: 1px solid rgba(20, 20, 20, 0.1);
}

.projects-hub__tags > li { list-style: none; }

.projects-hub__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
  position: relative;
  margin-bottom: -1px;
}

button.projects-hub__tag {
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}

.projects-hub__tag:hover {
  color: var(--text);
  border-bottom-color: rgba(20, 20, 20, 0.25);
  background: transparent;
}

.projects-hub__tag.is-active {
  color: var(--text);
  border-bottom-color: var(--accent-vivid);
  background: transparent;
  box-shadow: none;
}

.projects-hub__tag-count {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0;
  background: rgba(20, 20, 20, 0.06);
  padding: 0.1em 0.42em;
  border-radius: 999px;
  color: var(--text-muted);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.projects-hub__tag.is-active .projects-hub__tag-count {
  background: rgba(192, 38, 211, 0.12);
  color: var(--accent-vivid);
}

.projects-hub__tag:focus-visible {
  outline: 2px solid var(--accent-vivid);
  outline-offset: 3px;
}

/* ── Empty state ── */
.projects-hub-empty {
  margin: 0 0 var(--space-md);
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* ============================================================
   GRID EDITORIAL — OCUPA EL 100% DEL CONTENEDOR
   Cada fila suma exactamente 12 columnas.
   Orden de importancia:
   1. La Deriva    2. Maldita Nerea   3. Del Poble Fest   4. Gastro League
   5+. el resto
   ============================================================ */

.projects-hub-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(0.75rem, 1.4vw, 1.125rem);
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
}

/* Orden por importancia: La Deriva, Maldita Nerea, Del Poble Fest, Gastro League,
   ILLUSTRAITOR, l'Imperfect, Le Apartment, ELLE Education, Mil coeditores, Narragram,
   Holaluz, Titubear, ItdoeSEXIST, Me&Bees, Filtros, EraseUnCollage */

/* — Fila 1: La Deriva (7) + Maldita Nerea (5) = 12 ✓ — */
.projects-hub-grid > li:nth-child(1)  { grid-column: span 7; }  /* La Deriva */
.projects-hub-grid > li:nth-child(2)  { grid-column: span 5; }  /* Maldita Nerea */

/* — Fila 2: Del Poble Fest (7) + Gastro League (5) = 12 ✓ — */
.projects-hub-grid > li:nth-child(3)  { grid-column: span 7; }  /* Del Poble Fest */
.projects-hub-grid > li:nth-child(4)  { grid-column: span 5; }  /* Gastro League */

/* — Fila 3: ILLUSTRAITOR (4) + l'Imperfect (3) + Le Apartment (5) = 12 ✓ — */
.projects-hub-grid > li:nth-child(5)  { grid-column: span 4; }  /* ILLUSTRAITOR */
.projects-hub-grid > li:nth-child(6)  { grid-column: span 3; }  /* l'Imperfect */
.projects-hub-grid > li:nth-child(7)  { grid-column: span 5; }  /* Le Apartment */

/* — Fila 4: ELLE Education (5) + Mil coeditores (3) + Narragram (4) = 12 ✓ — */
.projects-hub-grid > li:nth-child(8)  { grid-column: span 5; }  /* ELLE Education */
.projects-hub-grid > li:nth-child(9)  { grid-column: span 3; }  /* Mil coeditores */
.projects-hub-grid > li:nth-child(10) { grid-column: span 4; }  /* Narragram */

/* — Fila 5: Holaluz (5) + Titubear (4) + ItdoeSEXIST (3) = 12 ✓ — */
.projects-hub-grid > li:nth-child(11) { grid-column: span 5; }  /* Holaluz */
.projects-hub-grid > li:nth-child(12) { grid-column: span 4; }  /* Titubear */
.projects-hub-grid > li:nth-child(13) { grid-column: span 3; }  /* ItdoeSEXIST */

/* — Fila 6: Me&Bees (4) + Filtros (4) + EraseUnCollage (4) = 12 ✓ — */
.projects-hub-grid > li:nth-child(14) { grid-column: span 4; }  /* Me & Bees */
.projects-hub-grid > li:nth-child(15) { grid-column: span 4; }  /* Filtros */
.projects-hub-grid > li:nth-child(16) { grid-column: span 4; }  /* EraseUnCollage */

/* ── Cards ── */
.projects-hub-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border: 0;
  background: transparent;
  box-shadow: none;
  position: relative;
  /* overflow:hidden aquí causaría que la imagen se expanda fuera del card */
  overflow: visible;
  border-radius: 0;
  transition: transform 0.45s var(--ease);
}

.projects-hub-card:hover {
  transform: translateY(-5px);
}

.projects-hub-card:focus-visible {
  outline: 2px solid var(--accent-vivid);
  outline-offset: 4px;
}

/* — Contenedor de imagen: overflow:hidden aquí, NO en el card — */
.projects-hub-card__media {
  display: block;            /* evita espacio inline bajo la imagen */
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(20, 20, 20, 0.04);
  border-radius: var(--radius);
  flex-shrink: 0;
}

/* La Deriva: panorámica */
.projects-hub-grid > li:nth-child(1) .projects-hub-card__media  { aspect-ratio: 16 / 9; }
/* Maldita Nerea: vertical (retrato) */
.projects-hub-grid > li:nth-child(2) .projects-hub-card__media  { aspect-ratio: 3 / 4; }
/* Del Poble Fest: hero web panorámico */
.projects-hub-grid > li:nth-child(3) .projects-hub-card__media  { aspect-ratio: 16 / 9; }
/* ILLUSTRAITOR: retrato — más alto que el default */
.projects-hub-grid > li:nth-child(5) .projects-hub-card__media { aspect-ratio: 3 / 4; }
/* l'Imperfect: cuadrado */
.projects-hub-grid > li:nth-child(6) .projects-hub-card__media  { aspect-ratio: 1 / 1; }
/* ELLE Education: panorámica */
.projects-hub-grid > li:nth-child(8) .projects-hub-card__media  { aspect-ratio: 16 / 9; }
/* Holaluz: cuadrado */
.projects-hub-grid > li:nth-child(11) .projects-hub-card__media { aspect-ratio: 1 / 1; }
/* EraseUnCollage — cierre editorial */
.projects-hub-grid > li:nth-child(16) .projects-hub-card__media {
  aspect-ratio: 21 / 9;
}

/* Del Poble Fest: título ligeramente mayor en desktop */
.projects-hub-grid > li:nth-child(3) .projects-hub-card__title {
  font-size: clamp(1.05rem, 1.85vw, 1.42rem);
}

/* La imagen ocupa exactamente el contenedor — sin desbordamiento */
.projects-hub-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
  will-change: transform;
  /* Evita que el navegador expanda la imagen al hacer click */
  pointer-events: none;
}

.projects-hub-card:hover .projects-hub-card__media img {
  transform: scale(1.06);
}

/* Overlay oscuro al hover */
.projects-hub-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 6, 18, 0.68) 0%,
    rgba(8, 6, 18, 0.10) 55%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  border-radius: var(--radius);
  pointer-events: none;
}

.projects-hub-card:hover .projects-hub-card__media::after {
  opacity: 1;
}

/* Tags overlay (aparecen en hover desde arriba) */
.projects-hub-card__tag-overlay {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.35s var(--ease) 0.05s, transform 0.35s var(--ease) 0.05s;
  pointer-events: none;
}

.projects-hub-card:hover .projects-hub-card__tag-overlay {
  opacity: 1;
  transform: translateY(0);
}

.projects-hub-card__tag-pill {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.22em 0.7em;
}

/* Número de orden — decorativo, esquina superior derecha */
.projects-hub-card__index {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 3;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 0.25em 0.5em;
  transition: color 0.3s var(--ease);
  pointer-events: none;
  line-height: 1;
}

.projects-hub-card:hover .projects-hub-card__index {
  color: rgba(255, 255, 255, 0.92);
}

/* ── Caja de texto — padding generoso a todos los lados ── */
.projects-hub-card__body {
  padding: 0.9rem 1rem 0.75rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.projects-hub-card__meta {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.7;
}

.projects-hub-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.9rem, 1.3vw, 1.15rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
  transition: color 0.2s var(--ease);
}

.projects-hub-card:hover .projects-hub-card__title {
  color: var(--accent-vivid);
}

.projects-hub-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: 0.3rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity 0.3s var(--ease) 0.05s,
    transform 0.3s var(--ease) 0.05s,
    color 0.2s var(--ease);
}

.projects-hub-card__cta::after {
  content: "→";
  display: inline-block;
  transition: transform 0.3s var(--ease);
}

.projects-hub-card:hover .projects-hub-card__cta {
  opacity: 1;
  transform: translateX(0);
  color: var(--accent-vivid);
}

.projects-hub-card:hover .projects-hub-card__cta::after {
  transform: translateX(3px);
}

/* ── Reveal de entrada escalonado ── */
.projects-hub-grid > li {
  opacity: 0;
  transform: translateY(20px);
  animation: hub-card-in 0.65s var(--ease) both;
}

.projects-hub-grid > li:nth-child(1)   { animation-delay: 0.04s; }
.projects-hub-grid > li:nth-child(2)   { animation-delay: 0.1s; }
.projects-hub-grid > li:nth-child(3)   { animation-delay: 0.16s; }
.projects-hub-grid > li:nth-child(4)   { animation-delay: 0.22s; }
.projects-hub-grid > li:nth-child(5)   { animation-delay: 0.28s; }
.projects-hub-grid > li:nth-child(6)   { animation-delay: 0.34s; }
.projects-hub-grid > li:nth-child(7)   { animation-delay: 0.4s; }
.projects-hub-grid > li:nth-child(8)   { animation-delay: 0.46s; }
.projects-hub-grid > li:nth-child(n+9) { animation-delay: 0.52s; }

.projects-hub-grid > li[hidden]      { display: none !important; }
.projects-hub-grid > li.is-entering  { animation: hub-card-in 0.5s var(--ease) both; }
.projects-hub-grid > li.is-leaving   { animation: hub-card-out 0.3s var(--ease) both; }

@keyframes hub-card-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes hub-card-out {
  from { opacity: 1; transform: scale(1); }
  to   { opacity: 0; transform: scale(0.96); }
}

.projects-hub-card--muted {
  pointer-events: none;
  opacity: 0.5;
  filter: grayscale(0.4);
}

/* ── RESPONSIVE ── */

/* Tablet landscape (≤1024px): filas de 2 columnas con pesos relativos */
@media (max-width: 1024px) {
  .projects-hub-grid > li:nth-child(1)  { grid-column: span 7; }
  .projects-hub-grid > li:nth-child(2)  { grid-column: span 5; }
  .projects-hub-grid > li:nth-child(3)  { grid-column: span 7; }
  .projects-hub-grid > li:nth-child(4)  { grid-column: span 5; }
  .projects-hub-grid > li:nth-child(5)  { grid-column: span 6; }
  .projects-hub-grid > li:nth-child(6)  { grid-column: span 6; }
  .projects-hub-grid > li:nth-child(7)  { grid-column: span 7; }
  .projects-hub-grid > li:nth-child(8)  { grid-column: span 5; }
  .projects-hub-grid > li:nth-child(9)  { grid-column: span 5; }
  .projects-hub-grid > li:nth-child(10) { grid-column: span 7; }
  .projects-hub-grid > li:nth-child(11) { grid-column: span 6; }
  .projects-hub-grid > li:nth-child(12) { grid-column: span 6; }
  .projects-hub-grid > li:nth-child(13) { grid-column: span 4; }
  .projects-hub-grid > li:nth-child(14) { grid-column: span 4; }
  .projects-hub-grid > li:nth-child(15) { grid-column: span 4; }
  .projects-hub-grid > li:nth-child(16) { grid-column: span 12; }

  /* Ajuste de aspect ratios para tablet */
  .projects-hub-grid > li:nth-child(2) .projects-hub-card__media  { aspect-ratio: 4 / 3; }
  .projects-hub-grid > li:nth-child(16) .projects-hub-card__media { aspect-ratio: 16 / 5; }
}

/* Tablet portrait (≤768px): 2 columnas, 1ª card full-width */
@media (max-width: 768px) {
  .projects-hub-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  /* Todos span 1 por defecto */
  .projects-hub-grid > li,
  .projects-hub-grid > li:nth-child(n) {
    grid-column: span 1 !important;
  }

  /* La Deriva: featured full-width */
  .projects-hub-grid > li:nth-child(1) {
    grid-column: span 2 !important;
  }

  /* Del Poble Fest: ancho completo en tablet/móvil */
  .projects-hub-grid > li:nth-child(3) {
    grid-column: span 2 !important;
  }

  /* Recuperar aspect ratios normales en 2 col */
  .projects-hub-grid > li .projects-hub-card__media,
  .projects-hub-grid > li:nth-child(n) .projects-hub-card__media {
    aspect-ratio: 4 / 3 !important;
  }

  .projects-hub-grid > li:nth-child(1) .projects-hub-card__media {
    aspect-ratio: 16 / 9 !important;
  }

  .projects-hub-grid > li:nth-child(3) .projects-hub-card__media {
    aspect-ratio: 16 / 9 !important;
  }

  .projects-hub-grid > li:nth-child(5) .projects-hub-card__media {
    aspect-ratio: 3 / 4 !important;
  }

  /* Banner final más compacto */
  .projects-hub-grid > li:nth-child(16) {
    grid-column: span 2 !important;
  }
  .projects-hub-grid > li:nth-child(16) .projects-hub-card__media {
    aspect-ratio: 16 / 6 !important;
  }

  /* Hero */
  .projects-hub__hero { grid-template-columns: 1fr; }
  .projects-hub__hero-numeral { display: none; }
  .projects-hub__title { font-size: clamp(2.25rem, 9vw, 3rem); }

  /* Filtros scroll horizontal */
  .projects-hub__tags {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .projects-hub__tags::-webkit-scrollbar { display: none; }
}

/* Móvil (≤480px): 1 columna */
@media (max-width: 480px) {
  .projects-hub-grid {
    grid-template-columns: 1fr;
    gap: 0.625rem;
  }

  .projects-hub-grid > li,
  .projects-hub-grid > li:nth-child(n),
  .projects-hub-grid > li:nth-child(1),
  .projects-hub-grid > li:nth-child(16) {
    grid-column: span 1 !important;
  }

  .projects-hub-grid > li .projects-hub-card__media,
  .projects-hub-grid > li:nth-child(1) .projects-hub-card__media,
  .projects-hub-grid > li:nth-child(16) .projects-hub-card__media {
    aspect-ratio: 4 / 3 !important;
  }

  .projects-hub-grid > li:nth-child(5) .projects-hub-card__media {
    aspect-ratio: 3 / 4 !important;
  }

  .projects-hub__tags {
    gap: 0;
  }

  .projects-hub__tag {
    padding: 0.55rem 0.75rem 0.5rem;
    font-size: 0.65rem;
  }

  .projects-hub-card__body {
    padding: 0.75rem 0.875rem 0.625rem 1.1rem;
  }

  .projects-hub-card__title {
    font-size: 1rem;
  }
}

/* ── Accesibilidad ── */
@media (prefers-reduced-motion: reduce) {
  .projects-hub__title .word,
  .projects-hub__kicker,
  .projects-hub__lead,
  .projects-hub__hero-numeral,
  .projects-hub__hero-divider,
  .projects-hub-grid > li {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .projects-hub-card__media img { transition: none; }
}
