@font-face {
  font-family: "Open Sauce One";
  src: url("fonts/open-sauce-one-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Open Sauce One";
  src: url("fonts/open-sauce-one-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Open Sauce One";
  src: url("fonts/open-sauce-one-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Anybody Expanded";
  src: url("fonts/anybody-expanded-black.woff2?v=2") format("woff2");
  font-weight: 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --muro: #1c1d1e;
  --cimiento: #131415;
  --losa: #bcbab4;
  --tinta: #0c0c0d;
  --grafito: #3b3c3d;
  --cal: #e9e7e1;
  --polvo: #a09e98;
  --luz: #f3f6ff;
  --halo: #2b3df5;
  --texto: "Open Sauce One", "Helvetica Neue", Arial, sans-serif;
  --titulo: "Horizon", "Anybody Expanded", "Arial Black", Impact, sans-serif;
  --margen: max(22px, calc((100vw - 1200px) / 2));
  --concreto: url("img/concreto.webp");
  --verde: #35ff7d;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--concreto) 0 0 / 480px, var(--muro);
  color: var(--cal);
  font: 400 17px/1.5 var(--texto);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--luz); outline-offset: 3px; }
.losa :focus-visible, .losa:focus-visible { outline-color: var(--halo); }
.sombra :focus-visible { outline-color: var(--luz); }

main { overflow-x: clip; }
.losa { background: var(--concreto) 0 0 / 480px, var(--losa); color: var(--tinta); }

.titular {
  font-family: var(--titulo);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: 0;
}

.salto {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 30;
  padding: 12px 16px;
  background: var(--luz);
  color: var(--tinta);
  font-weight: 700;
  text-decoration: none;
}
.salto:focus { top: 12px; }

/* Barra */

.barra {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--cimiento);
  border-bottom: 2px solid var(--luz);
  box-shadow: 0 2px 22px rgba(43, 61, 245, 0.55);
}
.barra-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 58px;
  padding-inline: var(--margen);
}
.marca {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font: 900 12px/1 var(--titulo);
  text-transform: uppercase;
  white-space: nowrap;
}
.marca svg { width: 26px; height: auto; flex: none; }
.barra nav ul { display: flex; gap: clamp(14px, 3vw, 34px); }
.barra nav a {
  display: block;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.barra nav a:hover { border-bottom-color: var(--luz); }

/* Botones y enlaces */

.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 24px;
  border: 0;
  border-radius: 0;
  background: var(--luz);
  color: var(--tinta);
  font: 700 16px/1.2 var(--texto);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 6px 6px 0 var(--halo);
  transition: transform 0.07s linear, box-shadow 0.07s linear;
}
.boton:hover { transform: translate(2px, 2px); box-shadow: 4px 4px 0 var(--halo); }
.boton:active { transform: translate(6px, 6px); box-shadow: 0 0 0 var(--halo); }
.boton.tinta { background: var(--tinta); color: var(--luz); }
.boton svg { width: 16px; height: 16px; flex: none; }

.enlace {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.enlace:hover { background: var(--luz); color: var(--tinta); text-decoration-color: var(--tinta); }
.losa .enlace:hover { background: var(--tinta); color: var(--luz); text-decoration-color: var(--luz); }

/* Luz trasera */

.luz {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(72% 138% at var(--foco, 50%) 100%, var(--luz) 0, #dfe5ff 15%, #99a4ff 34%, var(--halo) 58%, #10135c 84%, #07081f 100%);
}

.respaldo { position: relative; }
.resplandor {
  position: absolute;
  inset: -6px -8px -22px -8px;
  background: linear-gradient(180deg, var(--halo) 0, #8d99ff 55%, var(--luz) 100%);
  filter: blur(26px);
  opacity: var(--brillo, 0.85);
  pointer-events: none;
}
.respaldo > .losa { position: relative; }

/* Portada */

.portada { position: relative; }
.portada .dentro { padding: clamp(48px, 8vw, 104px) var(--margen) 0; }
.portada h1 { position: relative; z-index: 2; font-size: clamp(18px, 6.5vw, 90px); }
.portada h1 .linea { display: block; transform-origin: 0 60%; }
.portada-cuerpo {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 24px;
  align-items: center;
}
.portada-pie { position: relative; z-index: 2; max-width: 460px; }
.bajada { font-size: clamp(18px, 1.9vw, 22px); line-height: 1.38; color: var(--cal); max-width: 26ch; }
.acciones {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 30px;
  margin-top: 30px;
}

.escena {
  --px: 0;
  --py: 0;
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 700px;
  aspect-ratio: 1030 / 970;
  margin-top: clamp(-28px, -1.6vw, -8px);
}
.escena::before {
  content: "";
  position: absolute;
  inset: 6% 2% 0;
  background: radial-gradient(closest-side, rgba(43, 61, 245, 0.5), rgba(43, 61, 245, 0.16) 60%, transparent 100%);
  filter: blur(34px);
}
.escena .capa { position: absolute; inset: 0; transition: transform 0.3s cubic-bezier(0.2, 0.6, 0.2, 1); }
.escena .capa-luz { transform: translate3d(calc(var(--px) * -8px), calc(var(--py) * -5px), 0); }
.escena .capa-render { transform: translate3d(calc(var(--px) * 16px), calc(var(--py) * 10px), 0); }
.escena img { width: 100%; height: 100%; }

/* Secciones */

.seccion { position: relative; padding: clamp(64px, 9vw, 128px) 0; }
.dentro { padding-inline: var(--margen); }
.t2 { font-size: clamp(18px, 6.2vw, 58px); transform-origin: 0 60%; }

/* Cómo trabajamos */

.impacto {
  padding: clamp(30px, 6vw, 84px) clamp(22px, 4.6vw, 64px);
  box-shadow: inset 0 -10px 0 rgba(0, 0, 0, 0.16), inset 0 3px 0 rgba(255, 255, 255, 0.28);
}
.impacto p { font-size: clamp(18px, 6.9vw, 66px); line-height: 1.02; }
.impacto .linea { display: block; }
.impacto .pal { display: inline-block; transform-origin: 50% 55%; }

.ocupado {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
  margin-top: clamp(64px, 9vw, 128px);
}
.nicho {
  position: relative;
  aspect-ratio: 5 / 4;
  background: #08090a;
  box-shadow: 0 0 110px 6px rgba(43, 61, 245, 0.4), inset 0 0 0 1px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.nicho::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 1;
  height: 16px;
  background: #0d0e0f;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}
.nicho img { position: absolute; z-index: 2; left: 7%; bottom: 0; width: 86%; height: auto; }
.ocupado .texto p { margin-top: 20px; max-width: 34ch; font-size: 19px; line-height: 1.46; color: var(--cal); }
.ocupado h2 { font-size: clamp(22px, 3.3vw, 40px); }

/* Cosas que evitamos */

.t3 { font-size: clamp(15px, 2.2vw, 22px); }
.neon { position: relative; margin-top: clamp(26px, 4vw, 44px); }
.neon::before {
  content: "";
  position: absolute;
  inset: -18% -8% -8%;
  background: radial-gradient(52% 58% at 32% 46%, rgba(43, 61, 245, 0.5), rgba(43, 61, 245, 0.14) 62%, transparent 100%);
  filter: blur(36px);
  pointer-events: none;
}
.neon-lista {
  position: relative;
  display: grid;
  gap: 0.5em;
  align-items: center;
  font-size: clamp(22px, 6vw, 64px);
  line-height: 1.1;
}
.neon-lista li {
  max-width: 17em;
  color: transparent;
  -webkit-text-stroke: clamp(1.2px, 0.034em, 2.4px) var(--luz);
  filter: drop-shadow(0 0 3px rgba(243, 246, 255, 0.95)) drop-shadow(0 0 12px #7d8bff) drop-shadow(0 0 34px var(--halo));
}
.js .neon-lista { gap: 0; min-height: 3.4em; }
.js .neon-lista li { grid-area: 1 / 1; opacity: 0; visibility: hidden; }
.js .neon-lista li.activa { opacity: 1; visibility: visible; }
.neon-pie { position: relative; display: none; align-items: center; gap: 22px; margin-top: clamp(22px, 3vw, 34px); }
.js .neon-pie { display: flex; }
.neon-cuenta { min-width: 3.4em; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.neon-pie .paletas { padding: 0; justify-content: flex-start; }
.porque {
  position: relative;
  margin-top: clamp(44px, 6vw, 80px);
  max-width: 29em;
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.3;
  font-weight: 600;
}

/* Acerca de */

.acerca {
  margin-top: clamp(64px, 9vw, 128px);
  box-shadow: inset 0 -10px 0 rgba(0, 0, 0, 0.16), inset 0 3px 0 rgba(255, 255, 255, 0.28);
}
.acerca summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(18px, 3vw, 30px) clamp(22px, 4.6vw, 64px) clamp(26px, 3.4vw, 38px);
  cursor: pointer;
  list-style: none;
}
.acerca summary::-webkit-details-marker { display: none; }
.acerca summary .titular { font-size: clamp(17px, 3vw, 30px); }
.mas {
  position: relative;
  flex: none;
  width: 46px;
  height: 46px;
  background: var(--tinta);
  box-shadow: 5px 5px 0 var(--halo);
}
.mas::before, .mas::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 3px;
  background: var(--luz);
  transform: translate(-50%, -50%);
}
.mas::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.1s linear; }
.acerca[open] .mas::after { transform: translate(-50%, -50%) rotate(0deg); }
.acerca-cuerpo { padding: 0 clamp(22px, 4.6vw, 64px) clamp(34px, 5vw, 60px); }
.acerca-cuerpo p { max-width: 66ch; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; font-weight: 600; }

/* Proyectos */

.cabecera {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 32px;
}
.cabecera p { margin-top: 16px; font-size: 19px; line-height: 1.42; max-width: 36ch; color: var(--cal); }

.agenda { display: grid; gap: 16px; justify-items: start; max-width: 380px; }
.como summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 15px;
  color: var(--cal);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.como summary::-webkit-details-marker { display: none; }
.como summary:hover { color: var(--luz); }
.como ol {
  counter-reset: paso;
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 16px 18px;
  list-style: none;
  border-left: 4px solid var(--halo);
  background: rgba(255, 255, 255, 0.05);
  font-size: 15px;
  line-height: 1.45;
  color: var(--cal);
}
.como li { position: relative; padding-left: 26px; }
.como li::before { counter-increment: paso; content: counter(paso); position: absolute; left: 0; top: 0; font-weight: 700; color: var(--polvo); }
.como .enlace { color: var(--luz); }
.como p { margin-top: 12px; max-width: none; font-size: 14px; line-height: 1.5; color: var(--polvo); }
.anim .como[open] ol { animation: colocar 0.17s cubic-bezier(0.75, 0, 1, 0.65) both; }

.carrusel {
  display: flex;
  gap: 28px;
  margin-top: clamp(4px, 2vw, 20px);
  padding: 60px var(--margen) 70px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--margen);
  scrollbar-width: none;
}
.carrusel::-webkit-scrollbar { display: none; }
.carrusel > .respaldo { flex: 0 0 min(84vw, 460px); scroll-snap-align: start; display: flex; }

.proyecto {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  padding: clamp(24px, 3vw, 34px);
  box-shadow: inset 0 -8px 0 rgba(0, 0, 0, 0.16), inset 0 3px 0 rgba(255, 255, 255, 0.28);
}
.proyecto.sombra {
  background: var(--concreto) 0 0 / 480px, #2a2b2c;
  color: var(--cal);
  box-shadow: inset 0 -8px 0 rgba(0, 0, 0, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.08);
}

.estado { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; }
.estado::before {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
}
.estado.encendida::before { background: var(--verde); border-color: var(--tinta); box-shadow: 0 0 0 2px var(--tinta), 0 0 14px 5px rgba(53, 255, 125, 0.85); }
.estado.tenue::before { background: #6f7bd9; border-color: var(--tinta); }

.proyecto h3 { margin-top: 22px; font-size: clamp(17px, 5.2vw, 26px); line-height: 1.04; }
.proyecto .resumen { margin-top: 14px; color: var(--grafito); font-weight: 600; }
.temporada { font-size: clamp(28px, 9vw, 50px); white-space: nowrap; }
.proyecto[data-contexto] { cursor: pointer; }
.proyecto .detalle { margin-top: 14px; font-size: 16px; line-height: 1.45; font-weight: 600; color: var(--cal); }
.proyecto .detalle b { color: var(--luz); font-weight: 700; }
.proyecto .detalle[hidden], .proyecto .pie [hidden] { display: none; }
.proyecto.sombra .resumen { color: var(--cal); }
.proyecto .pie:has(.boton) { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.proyecto .pie .boton { min-height: 44px; padding: 10px 20px; box-shadow: 5px 5px 0 var(--halo); }
.proyecto.sombra .pie .boton { background: var(--luz); color: var(--tinta); }

.contexto {
  width: min(92vw, 640px);
  max-height: 88vh;
  margin: auto;
  padding: 0;
  border: 0;
  overflow: auto;
  box-shadow: 12px 12px 0 var(--halo);
}
.contexto::backdrop { background: rgba(12, 12, 13, 0.78); }
html:has(.contexto[open]) { overflow: hidden; }
.anim .contexto[open] { animation: colocar 0.17s cubic-bezier(0.75, 0, 1, 0.65) both; }
.contexto-cuerpo { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding: clamp(24px, 4.4vw, 44px); }
.contexto .etiqueta { font-size: 14px; font-weight: 700; color: var(--grafito); }
.contexto h2 { font-size: clamp(15px, 4.9vw, 44px); overflow-wrap: anywhere; }
.contexto:focus-visible { outline: none; }
.contexto .sub { margin-top: 8px; font-size: 18px; }
.contexto .lede { font-size: clamp(17px, 2.4vw, 19px); line-height: 1.5; font-weight: 600; }
.contexto ol { margin: 0; padding: 0; list-style: none; }
.pasos { counter-reset: p; display: grid; gap: 12px; }
.pasos li { position: relative; padding-left: 42px; line-height: 1.45; font-weight: 600; }
.pasos li::before { counter-increment: p; content: counter(p); position: absolute; left: 0; top: -1px; font: 900 22px/1.2 var(--titulo); }
.puntos { display: grid; gap: 12px; }
.puntos li { position: relative; padding-left: 26px; line-height: 1.5; font-weight: 600; }
.puntos li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 12px; height: 12px; background: var(--tinta); box-shadow: 3px 3px 0 var(--halo); }
.contexto .ficha { margin: 0; padding: 0; }
.contexto .ficha div:last-child { border-bottom: 2px solid var(--tinta); }
.contexto .pie-dialogo { margin: 0; }
.temporadas { display: grid; gap: 22px; }
.temporadas li { display: grid; gap: 6px; padding-top: 14px; border-top: 2px solid var(--tinta); line-height: 1.5; font-weight: 600; }
.temporadas .cuando { font-size: 14px; color: var(--grafito); }
.temporadas .que { font-weight: 700; font-size: 17px; line-height: 1.35; }
.temporadas li > p:last-child { font-size: 16px; }
.agenda-lista li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px 16px;
  padding: 12px 0;
  border-top: 2px solid var(--tinta);
  font-weight: 600;
  line-height: 1.4;
}
.agenda-lista .cuando { font-size: 14px; color: var(--grafito); }
.agenda-lista .que { font-weight: 700; }
.agenda-lista .enlace { justify-self: start; font-size: 14px; }
.agenda-lista .pasada { opacity: 0.5; }
.agenda-lista .siguiente { padding-inline: 14px; background: var(--tinta); color: var(--luz); }
.agenda-lista .siguiente .cuando { color: var(--cal); }
.agenda-lista .siguiente .enlace:hover { background: var(--luz); color: var(--tinta); text-decoration-color: var(--tinta); }
.agenda-lista .vacia { border-top: 2px solid var(--tinta); }
.cerrar {
  position: absolute;
  top: clamp(14px, 2.4vw, 22px);
  right: clamp(14px, 2.4vw, 22px);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: var(--tinta);
  color: var(--luz);
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--halo);
  transition: transform 0.07s linear, box-shadow 0.07s linear;
}
.cerrar:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--halo); }
.cerrar svg { width: 16px; height: 16px; }
@media (min-width: 600px) {
  .agenda-lista li { grid-template-columns: 1fr auto; }
  .agenda-lista .cuando { grid-column: 1; }
  .agenda-lista .que { grid-column: 1; }
  .agenda-lista .enlace { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}

.pila { position: relative; flex: 1; min-height: 250px; margin: 22px 0 14px; perspective: 800px; }
.pagina {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 150px;
  height: auto;
  border: 1px solid #8b8a85;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
  transform-origin: 0 50%;
  transform: translate(calc(var(--d) * 22px), calc(var(--d) * -13px));
  backface-visibility: hidden;
}

.ficha { margin-top: auto; padding-top: 28px; }
.ficha div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 2px solid var(--tinta);
}
.ficha dt { font-size: 14px; line-height: 1.55; color: var(--grafito); font-weight: 600; }
.ficha dd { font-size: 16px; line-height: 1.38; font-weight: 600; }
.proyecto .pie { margin-top: 22px; padding-top: 22px; border-top: 2px solid currentColor; }

.paletas { display: flex; justify-content: flex-end; gap: 14px; padding-inline: var(--margen); }
.paletas[hidden] { display: none; }
.paletas button {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 0;
  background: var(--losa);
  color: var(--tinta);
  cursor: pointer;
  box-shadow: 5px 5px 0 var(--halo);
  transition: transform 0.07s linear, box-shadow 0.07s linear;
}
.paletas button:active:not(:disabled) { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--halo); }
.paletas button:disabled { background: #3a3b3c; color: #77766f; box-shadow: none; cursor: default; }
.paletas svg { width: 18px; height: 18px; }
.paletas [hidden] { display: none; }

/* Presentaciones internacionales */

.internacional .t2 { font-size: clamp(16px, 5.3vw, 58px); }
.internacional .sede { margin-top: 20px; max-width: 46ch; font-size: clamp(17px, 2vw, 22px); line-height: 1.4; font-weight: 700; color: var(--cal); }

.int-cabeza {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(300px, 29vw, 380px);
  grid-template-areas: "sede ciudad" "filas ciudad";
  grid-template-rows: auto 1fr;
  column-gap: clamp(36px, 4.5vw, 72px);
  align-items: start;
}
.int-cabeza .sede { grid-area: sede; }
.int-cabeza .filas-int { grid-area: filas; }
.ciudad { grid-area: ciudad; position: relative; margin: 24px 0 0; }
.ciudad .marco { position: relative; display: block; }
.ciudad .marco::before {
  content: "";
  position: absolute;
  inset: -8px -10px -24px;
  background: linear-gradient(180deg, var(--halo) 0, #8d99ff 58%, var(--luz) 100%);
  filter: blur(26px);
  opacity: 0.8;
  pointer-events: none;
}
.ciudad img { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 1; box-shadow: 0 0 0 1px rgba(205, 214, 255, 0.28), 0 30px 70px rgba(0, 0, 0, 0.6); }
.ciudad figcaption { position: relative; margin-top: 14px; font-size: 14px; font-weight: 700; color: #a0a0a0; }
.filas-int { display: grid; gap: clamp(26px, 3.4vw, 40px); margin-top: clamp(40px, 5.6vw, 68px); }
.fila-int { display: grid; grid-template-columns: minmax(130px, 190px) minmax(0, 68ch); gap: 10px clamp(24px, 4vw, 56px); align-items: baseline; }
.fila-int h3 { font-size: clamp(14px, 1.3vw, 17px); line-height: 1.2; color: var(--luz); }
.fila-int p { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--cal); }
.participantes { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.5; color: #8d8d8d; }
.participantes .nombre { font-weight: 700; color: var(--luz); }
.participantes > p { margin: 0; }
.equipo { margin-top: 22px; }
.equipo-pista { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.equipo-pista li { display: grid; align-content: start; gap: 4px; }
.equipo-pista img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; margin-bottom: 10px; }
.equipo-pista .nombre { font-size: 16px; line-height: 1.25; }
.equipo-pista .rol { font-size: 14px; line-height: 1.35; }
@media (max-width: 640px) {
  .equipo-pista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.idioma a { font-weight: 800; letter-spacing: 0.08em; }
.participantes .rol { font-weight: 600; color: #b4b4b4; }

.vertientes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.4vw, 48px);
  margin-top: clamp(40px, 5vw, 64px);
}
.vertiente { display: flex; flex-direction: column; }
.vertiente h4 { display: flex; gap: 12px; align-items: baseline; margin: 0; font-size: clamp(16px, 1.55vw, 20px); line-height: 1.08; color: var(--cal); }
.vertiente .num { color: #8d8d8d; }
.vertiente .grafico { margin: 18px 0 14px; }
.vertiente > p { font-size: 16px; line-height: 1.5; color: #bcbcbc; }

.g-svg { display: block; width: 100%; height: auto; overflow: visible; }
.g-flujo { stroke: #ececec; stroke-width: 1.8; stroke-dasharray: 6 5; stroke-linecap: round; }
.g-punta { stroke: #ececec; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.g-guia { stroke: #8f8f8f; stroke-width: 1; }
.g-ext { stroke: #7a7a7a; stroke-width: 0.9; }
.g-cota { stroke: #a8a8a8; stroke-width: 1; }
.g-tic { stroke: #d4d4d4; stroke-width: 1.6; stroke-linecap: square; }
.g-ancla { fill: #d6d6d6; }
.g-txt { font-family: var(--texto); fill: #d9d9d9; }
.g-et { font-size: 15px; font-weight: 700; fill: #e4e4e4; }
.g-sub { font-size: 14px; font-weight: 600; fill: #a0a0a0; }
.g-cota-t { font-size: 13px; font-weight: 700; fill: #bdbdbd; letter-spacing: 0.08em; }
.g-nodo { fill: #1b1c1d; stroke: #e6e6e6; stroke-width: 1.4; }
.g-nodo-c { fill: #e6e6e6; }
.g-nodo-t { font-size: 14px; font-weight: 700; fill: #e6e6e6; }
.g-nota { font-size: 14px; font-weight: 600; fill: #a6a6a6; }

@media (min-width: 1181px) {
  .vertiente h4 { min-height: 2.16em; }
}
@media (max-width: 1180px) {
  .vertientes { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
}
@media (max-width: 900px) {
  .ocultar-medio { display: none; }
}
@media (max-width: 1000px) {
  .int-cabeza { grid-template-columns: minmax(0, 1fr); grid-template-areas: "sede" "ciudad" "filas"; grid-template-rows: auto; }
  .ciudad { max-width: 440px; margin-top: 32px; }
}
@media (max-width: 720px) {
  .fila-int { grid-template-columns: minmax(0, 1fr); }
}

/* Merch */

.merch-losa {
  padding: clamp(28px, 5vw, 72px) clamp(22px, 4.6vw, 64px);
  box-shadow: inset 0 -10px 0 rgba(0, 0, 0, 0.16), inset 0 3px 0 rgba(255, 255, 255, 0.28);
}
.merch {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.merch h3 { margin-top: 30px; font-size: 22px; font-weight: 700; line-height: 1.2; }
.merch .texto p { margin-top: 8px; color: var(--grafito); font-size: 19px; font-weight: 600; }
.colores { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 24px; }
.colores li { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; }
.colores i { width: 18px; height: 18px; background: var(--c); box-shadow: 0 0 0 2px var(--tinta); }
.merch .boton { margin-top: 34px; }
.merch figure img { width: 100%; height: auto; mix-blend-mode: multiply; }

/* Contacto */

.contacto-cuerpo {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  margin-top: clamp(28px, 4vw, 48px);
}
.emblema { position: relative; width: 120px; margin-bottom: 44px; }
.emblema::before {
  content: "";
  position: absolute;
  inset: -34px -40px;
  background: radial-gradient(closest-side, var(--luz) 0, #8d99ff 34%, var(--halo) 62%, transparent 100%);
  filter: blur(16px);
  opacity: 0.95;
}
.emblema svg { position: relative; width: 100%; height: auto; color: var(--cimiento); }
.contacto .intro p { max-width: 30ch; font-size: 19px; line-height: 1.46; }
.vias { margin-top: 30px; display: grid; gap: 14px; justify-items: start; overflow-wrap: anywhere; }

form { display: grid; gap: 20px; }
.campo { display: grid; gap: 8px; }
.campo label { font-size: 14px; font-weight: 700; }
.campo input, .campo select, .campo textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #000;
  border-radius: 0;
  background: #0b0c0d;
  color: var(--cal);
  font: 400 17px/1.35 var(--texto);
  box-shadow: inset 0 5px 0 rgba(0, 0, 0, 0.7), 0 1px 0 rgba(255, 255, 255, 0.14);
}
.campo textarea { min-height: 140px; resize: vertical; }
.campo select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23e9e7e1' stroke-width='2.4'%3E%3Cpath d='M3 6l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 46px;
}
.campo input:focus-visible, .campo select:focus-visible, .campo textarea:focus-visible {
  outline: 3px solid var(--luz);
  outline-offset: 0;
  box-shadow: 0 0 34px rgba(43, 61, 245, 0.75);
}
form .boton { justify-self: start; }
.nota { font-size: 14px; line-height: 1.5; color: var(--polvo); max-width: 52ch; }
.nota a { color: var(--cal); }

/* Pie */

.pie-sitio {
  padding: 72px 0 48px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55));
  font-size: 13px;
  line-height: 1.55;
  color: var(--polvo);
}
.pie-sitio .dentro { display: grid; gap: 18px; }
.pie-sitio .fila {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  padding-bottom: 22px;
  border-bottom: 2px solid #3a3b3c;
}
.pie-sitio .marca { color: var(--cal); }
.pie-sitio ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.pie-sitio ul a { color: var(--cal); font-weight: 600; text-decoration: none; }
.pie-sitio a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.pie-sitio .legal { max-width: 78ch; }

/* Páginas de texto */

.documento { padding: clamp(36px, 6vw, 80px) var(--margen) clamp(64px, 8vw, 120px); }
.documento h1 { font-size: clamp(22px, 5.2vw, 56px); }
.documento .fecha { margin-top: 18px; color: var(--polvo); font-weight: 600; }
.hoja {
  margin-top: clamp(28px, 4vw, 48px);
  max-width: 860px;
  padding: clamp(24px, 5vw, 64px);
  box-shadow: inset 0 -10px 0 rgba(0, 0, 0, 0.16), inset 0 3px 0 rgba(255, 255, 255, 0.28);
}
.hoja > :first-child { margin-top: 0; }
.hoja h2 { margin-top: 44px; font-size: clamp(14px, 2vw, 18px); line-height: 1.15; }
.hoja p, .hoja ul { margin-top: 14px; max-width: 66ch; }
.hoja ul { list-style: square; padding-left: 22px; }
.hoja li + li { margin-top: 6px; }
.hoja a { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.documento .aviso { margin-top: 24px; max-width: 40ch; font-size: 19px; }
.documento .acciones { margin-top: 40px; }

/* Animaciones de impacto */

@keyframes golpe {
  0% { opacity: 0; transform: scale(2.7); filter: blur(10px); }
  30% { opacity: 1; }
  100% { opacity: 1; transform: scale(1); filter: blur(0); }
}
@keyframes sacudida {
  0% { transform: translate(0, 0); }
  12% { transform: translate(-9px, 7px); }
  26% { transform: translate(8px, -5px); }
  42% { transform: translate(-5px, 4px); }
  58% { transform: translate(4px, -2px); }
  76% { transform: translate(-2px, 1px); }
  100% { transform: translate(0, 0); }
}
@keyframes temblor {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-3px, 2px); }
  55% { transform: translate(2px, -1px); }
  100% { transform: translate(0, 0); }
}
@keyframes encender {
  0% { opacity: 0; }
  10% { opacity: 1; }
  24% { opacity: 0.12; }
  48% { opacity: 1; }
  100% { opacity: 1; }
}
@keyframes destello {
  0% { opacity: 0; transform: scale(0.96); }
  14% { opacity: 1; transform: scale(1.09); }
  100% { opacity: var(--brillo, 0.85); transform: scale(1); }
}
@keyframes revelar {
  0% { filter: brightness(0); }
  100% { filter: brightness(1); }
}
@keyframes colocar {
  0% { opacity: 0; transform: translateY(-54px); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes asentar {
  0% { transform: translateY(0); }
  30% { transform: translateY(6px); }
  62% { transform: translateY(-2px); }
  100% { transform: translateY(0); }
}

@keyframes respirar {
  0% { opacity: 1; }
  100% { opacity: 0.72; }
}
@keyframes flotar {
  0% { transform: translateY(0); }
  100% { transform: translateY(-14px); }
}
@keyframes parpadeo {
  0%, 54% { background: var(--verde); box-shadow: 0 0 0 2px var(--tinta), 0 0 14px 5px rgba(53, 255, 125, 0.85); }
  55%, 100% { background: #155f31; box-shadow: 0 0 0 2px var(--tinta), 0 0 0 0 rgba(53, 255, 125, 0); }
}
@keyframes neon {
  0% { opacity: 0; }
  9% { opacity: 1; }
  20% { opacity: 0.12; }
  42% { opacity: 1; }
  100% { opacity: 1; }
}
@keyframes hoja0 {
  0%, 4% { opacity: 0; transform: translate(calc(var(--d) * 22px), calc(var(--d) * -13px)) rotateY(-96deg); animation-timing-function: cubic-bezier(0.75, 0, 1, 0.65); }
  4.4% { opacity: 1; }
  6.8% { opacity: 1; transform: translate(calc(var(--d) * 22px), calc(var(--d) * -13px)) rotateY(0deg); }
  8% { transform: translate(calc(var(--d) * 22px), calc(var(--d) * -13px)) rotateY(-9deg); }
  9.6%, 84% { opacity: 1; transform: translate(calc(var(--d) * 22px), calc(var(--d) * -13px)) rotateY(0deg); }
  89%, 100% { opacity: 0; transform: translate(calc(var(--d) * 22px), calc(var(--d) * -13px + 28px)) rotateY(0deg); }
}
@keyframes hoja1 {
  0%, 11% { opacity: 0; transform: translate(calc(var(--d) * 22px), calc(var(--d) * -13px)) rotateY(-96deg); animation-timing-function: cubic-bezier(0.75, 0, 1, 0.65); }
  11.4% { opacity: 1; }
  13.8% { opacity: 1; transform: translate(calc(var(--d) * 22px), calc(var(--d) * -13px)) rotateY(0deg); }
  15% { transform: translate(calc(var(--d) * 22px), calc(var(--d) * -13px)) rotateY(-9deg); }
  16.6%, 84% { opacity: 1; transform: translate(calc(var(--d) * 22px), calc(var(--d) * -13px)) rotateY(0deg); }
  89%, 100% { opacity: 0; transform: translate(calc(var(--d) * 22px), calc(var(--d) * -13px + 28px)) rotateY(0deg); }
}
@keyframes hoja2 {
  0%, 18% { opacity: 0; transform: translate(calc(var(--d) * 22px), calc(var(--d) * -13px)) rotateY(-96deg); animation-timing-function: cubic-bezier(0.75, 0, 1, 0.65); }
  18.4% { opacity: 1; }
  20.8% { opacity: 1; transform: translate(calc(var(--d) * 22px), calc(var(--d) * -13px)) rotateY(0deg); }
  22% { transform: translate(calc(var(--d) * 22px), calc(var(--d) * -13px)) rotateY(-9deg); }
  23.6%, 84% { opacity: 1; transform: translate(calc(var(--d) * 22px), calc(var(--d) * -13px)) rotateY(0deg); }
  89%, 100% { opacity: 0; transform: translate(calc(var(--d) * 22px), calc(var(--d) * -13px + 28px)) rotateY(0deg); }
}
@keyframes hoja3 {
  0%, 25% { opacity: 0; transform: translate(calc(var(--d) * 22px), calc(var(--d) * -13px)) rotateY(-96deg); animation-timing-function: cubic-bezier(0.75, 0, 1, 0.65); }
  25.4% { opacity: 1; }
  27.8% { opacity: 1; transform: translate(calc(var(--d) * 22px), calc(var(--d) * -13px)) rotateY(0deg); }
  29% { transform: translate(calc(var(--d) * 22px), calc(var(--d) * -13px)) rotateY(-9deg); }
  30.6%, 84% { opacity: 1; transform: translate(calc(var(--d) * 22px), calc(var(--d) * -13px)) rotateY(0deg); }
  89%, 100% { opacity: 0; transform: translate(calc(var(--d) * 22px), calc(var(--d) * -13px + 28px)) rotateY(0deg); }
}

.anim .portada h1 .linea,
.anim .impacto .pal,
.anim [data-sello],
.anim [data-colocar] > .losa { opacity: 0; }
.anim .portada .capa-luz img,
.anim .ocupado .luz,
.anim [data-impacto] .resplandor,
.anim [data-colocar] .resplandor { opacity: 0; }
.anim .portada .capa-render img,
.anim .nicho img { filter: brightness(0); }

.anim .portada.visto h1 .linea { animation: golpe 0.2s cubic-bezier(0.75, 0, 1, 0.65) both; animation-delay: calc(var(--i) * 0.15s + 0.1s); }
.anim .portada.visto .dentro { animation: sacudida 0.34s linear 0.6s; }
.anim .portada.visto .capa-luz img { animation: encender 0.62s linear 0.72s both, respirar 4.6s ease-in-out 1.5s infinite alternate; }
.anim .portada.visto .capa-render img { animation: revelar 0.7s cubic-bezier(0.2, 0.6, 0.2, 1) 1.3s both, flotar 6.4s ease-in-out 2s infinite alternate; }

.anim [data-impacto].visto .pal { animation: golpe 0.19s cubic-bezier(0.75, 0, 1, 0.65) both; animation-delay: calc(var(--i) * 0.105s); }
.anim [data-impacto].visto { animation: temblor 0.16s linear 0.19s, temblor 0.16s linear 0.61s, sacudida 0.38s linear 1.03s; }
.anim [data-impacto].visto .resplandor { animation: destello 0.75s cubic-bezier(0.1, 0.7, 0.2, 1) 1.03s both; }

.anim .ocupado.visto .luz { animation: encender 0.62s linear both; }
.anim .ocupado.visto .nicho img { animation: revelar 0.7s cubic-bezier(0.2, 0.6, 0.2, 1) 0.58s both; }

.anim [data-sello].visto { animation: golpe 0.17s cubic-bezier(0.75, 0, 1, 0.65) both, temblor 0.18s linear 0.17s; }

.anim .visto > [data-colocar] > .losa { animation: colocar 0.17s cubic-bezier(0.75, 0, 1, 0.65) both, asentar 0.22s linear; animation-delay: calc(var(--i) * 0.13s), calc(var(--i) * 0.13s + 0.17s); }
.anim .visto .pagina { animation: 7.5s linear 0.5s infinite both; }
.anim .visto .pagina:nth-child(1) { animation-name: hoja0; }
.anim .visto .pagina:nth-child(2) { animation-name: hoja1; }
.anim .visto .pagina:nth-child(3) { animation-name: hoja2; }
.anim .visto .pagina:nth-child(4) { animation-name: hoja3; }
.anim .estado.encendida::before { animation: parpadeo 1.2s linear infinite; }
.anim .neon-lista li.activa { animation: neon 0.6s linear both; }
.anim .acerca[open] .acerca-cuerpo { animation: colocar 0.17s cubic-bezier(0.75, 0, 1, 0.65) both; }

.anim .visto > [data-colocar] > .resplandor { animation: destello 0.6s cubic-bezier(0.1, 0.7, 0.2, 1) both; animation-delay: calc(var(--i) * 0.13s + 0.17s); }

.anim .ciudad img, .anim .ciudad .marco::before { opacity: 0; }
.anim .ciudad.visto img { animation: encender 0.9s linear 0.1s both; }
.anim .ciudad.visto .marco::before { --brillo: 0.8; animation: destello 0.9s cubic-bezier(0.1, 0.7, 0.2, 1) 0.25s both; }
.anim .vertiente { opacity: 0; }
.anim .vertiente.visto { animation: colocar 0.17s cubic-bezier(0.75, 0, 1, 0.65) calc(var(--i) * 0.12s) both, asentar 0.3s ease-out calc(var(--i) * 0.12s + 0.17s); }
.anim .vertiente .g-guia, .anim .vertiente .g-ext, .anim .vertiente .g-cota { stroke-dasharray: var(--l); stroke-dashoffset: var(--l); }
.anim .vertiente .g-txt, .anim .vertiente .g-ancla, .anim .vertiente .g-tic { opacity: 0; }
.anim .vertiente.visto .g-guia, .anim .vertiente.visto .g-ext, .anim .vertiente.visto .g-cota {
  animation: trazo 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  animation-delay: calc(0.45s + var(--i) * 0.12s + var(--k, 4) * 0.07s);
}
.anim .vertiente.visto .g-txt, .anim .vertiente.visto .g-ancla, .anim .vertiente.visto .g-tic {
  animation: aparecer 0.2s linear forwards;
  animation-delay: calc(0.65s + var(--i) * 0.12s + var(--k, 4) * 0.07s);
}
.anim .vertiente.visto .g-flujo { animation: flujo 0.9s linear infinite; }
@keyframes trazo { to { stroke-dashoffset: 0; } }
@keyframes aparecer { to { opacity: 1; } }
@keyframes flujo { to { stroke-dashoffset: -11; } }

@media (max-width: 900px) {
  .ocupado, .merch, .contacto-cuerpo, .portada-cuerpo { grid-template-columns: 1fr; }
  .portada-pie { margin-top: clamp(22px, 3vw, 36px); }
  .escena { justify-self: center; margin-top: 8px; }
  .merch figure { order: -1; }
}
@media (max-width: 640px) {
  .ocultar-movil { display: none; }
  .paletas { justify-content: center; }
  .proyecto { min-height: 500px; }
  .boton { box-shadow: 5px 5px 0 var(--halo); }
}
@media (max-width: 540px) {
  .barra .marca span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .boton, .paletas button, .mas::after, .escena .capa { transition: none; }
}

@media print {
  .barra, .paletas, form { display: none; }
}
