:root {
  --bg: #0c0c0b;
  --bg2: #121210;
  --ink: #f4f1ea;
  --paper: #f2efe6;
  --paper-ink: #0c0c0b;
  --accent: #e8482b;
  --accent2: #d9b15a;
  --muted: #8a857c;
  --line: rgba(244, 241, 234, .13);
  --nav-h: 72px;
  --line-dark: rgba(12, 12, 11, .13);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

section[id],
header[id] {
  scroll-margin-top: calc(var(--nav-h) + 20px)
}

/* El contenido arranca debajo de la barra fija, nunca detrás */
body {
  padding-top: var(--nav-h)
}

@media(max-width:760px) {
  :root {
    --nav-h: 64px
  }
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Archivo", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay
}

::selection {
  background: var(--accent);
  color: #fff
}

.wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 6vw
}

a {
  color: inherit
}

/* NAVBAR — barra sólida fija; el body lleva padding-top igual a su altura */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 6vw;
  background: #0c0c0b;
  border-bottom: 1px solid rgba(244, 241, 234, .10);
  transition: box-shadow .45s, border-color .45s;
  animation: navIn .9s cubic-bezier(.16, 1, .3, 1) both
}

#nav.scrolled {
  border-bottom-color: rgba(244, 241, 234, .16);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .55)
}

@keyframes navIn {
  from {
    opacity: 0;
    transform: translateY(-100%)
  }

  to {
    opacity: 1;
    transform: none
  }
}

nav .logo {
  font-family: "Archivo";
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: -.03em;
  color: #fff;
  text-decoration: none;
  display: inline-flex
}

nav .logo span {
  color: var(--accent);
  display: inline-block;
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), color .4s ease
}

/* Al llegar al footer la "A" del logo se vuelve celeste */
nav.at-footer .logo span {
  color: #0aa8bb
}

nav .logo:hover span {
  transform: translateY(-4px) rotate(-12deg)
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2.2rem
}

nav ul {
  display: flex;
  gap: 1.9rem;
  list-style: none
}

nav ul li {
  opacity: 0;
  transform: translateY(-8px);
  animation: linkIn .7s cubic-bezier(.16, 1, .3, 1) forwards
}

nav ul li:nth-child(1) {
  animation-delay: .15s
}

nav ul li:nth-child(2) {
  animation-delay: .2s
}

nav ul li:nth-child(3) {
  animation-delay: .25s
}

nav ul li:nth-child(4) {
  animation-delay: .3s
}

nav ul li:nth-child(5) {
  animation-delay: .35s
}

nav ul li:nth-child(6) {
  animation-delay: .4s
}

nav ul li:nth-child(7) {
  animation-delay: .45s
}

@keyframes linkIn {
  to {
    opacity: 1;
    transform: none
  }
}

nav ul a {
  color: #fff;
  text-decoration: none;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-weight: 500;
  position: relative;
  padding: .35rem 0;
  display: inline-block;
  transition: color .3s, transform .3s cubic-bezier(.16, 1, .3, 1)
}

nav ul a:hover {
  color: var(--accent);
  transform: translateY(-2px)
}

nav ul a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s cubic-bezier(.16, 1, .3, 1)
}

nav ul a:hover::after,
nav ul a.active::after {
  transform: scaleX(1);
  transform-origin: left
}

nav ul a.active {
  color: #fff
}

.lang {
  display: flex;
  gap: .45rem;
  align-items: center
}

.lang button {
  background: none;
  border: none;
  color: #fff;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
  cursor: pointer;
  opacity: .6;
  transition: opacity .3s, transform .3s;
  font-family: "Archivo"
}

.lang button:hover {
  opacity: .85;
  transform: translateY(-1px)
}

.lang button.active {
  opacity: 1;
  color: var(--accent)
}

/* Botón hamburguesa animado */
.nav-toggle {
  display: none;
  position: relative;
  width: 30px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0
}

.nav-toggle span {
  position: absolute;
  left: 0;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform .45s cubic-bezier(.16, 1, .3, 1), opacity .3s, width .35s
}

.nav-toggle span:nth-child(1) {
  top: 2px
}

.nav-toggle span:nth-child(2) {
  top: 10px;
  width: 70%;
  left: auto;
  right: 0
}

.nav-toggle span:nth-child(3) {
  top: 18px
}

.nav-toggle:hover span:nth-child(2) {
  width: 100%
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg)
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg)
}

@media(max-width:980px) {
  nav ul {
    display: none
  }

  .nav-toggle {
    display: block
  }
}

@media(max-width:560px) {
  .nav-right .lang {
    display: none
  }
}

@media(prefers-reduced-motion:reduce) {

  nav,
  nav ul li {
    animation: none;
    opacity: 1;
    transform: none
  }
}

/* MENÚ MÓVIL */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 8vw 4rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-2%);
  transition: opacity .45s ease, transform .5s cubic-bezier(.16, 1, .3, 1)
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: none
}

.mobile-menu .mm-close {
  position: absolute;
  top: 1.1rem;
  right: 6vw;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .2rem
}

.mobile-menu li a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  color: var(--ink);
  text-decoration: none;
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(2rem, 8vw, 3rem);
  line-height: 1.25;
  letter-spacing: -.02em;
  padding: .3rem 0;
  border-bottom: 1px solid var(--line);
  transform: translateY(14px);
  opacity: 0;
  transition: opacity .5s ease, transform .6s cubic-bezier(.16, 1, .3, 1)
}

.mobile-menu.open li a {
  opacity: 1;
  transform: none
}

.mobile-menu.open li:nth-child(1) a {
  transition-delay: .05s
}

.mobile-menu.open li:nth-child(2) a {
  transition-delay: .1s
}

.mobile-menu.open li:nth-child(3) a {
  transition-delay: .15s
}

.mobile-menu.open li:nth-child(4) a {
  transition-delay: .2s
}

.mobile-menu.open li:nth-child(5) a {
  transition-delay: .25s
}

.mobile-menu.open li:nth-child(6) a {
  transition-delay: .3s
}

.mobile-menu.open li:nth-child(7) a {
  transition-delay: .35s
}

.mobile-menu .mm-n {
  font-family: "Archivo", sans-serif;
  font-size: .68rem;
  letter-spacing: .14em;
  color: var(--accent)
}

.mobile-menu .mm-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.4rem;
  font-size: .8rem;
  letter-spacing: .08em
}

.mobile-menu .mm-foot a {
  color: var(--muted);
  text-decoration: none
}

.mobile-menu .mm-lang button {
  font-size: .8rem
}

body.menu-open {
  overflow: hidden
}

/* WHATSAPP FLOTANTE */
.wa-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 350;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s
}

.wa-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 16px 40px rgba(37, 211, 102, .35)
}

@media(max-width:760px) {
  .wa-float {
    right: 1rem;
    bottom: 1rem;
    width: 50px;
    height: 50px
  }
}

header.hero {
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* Relleno superior extra además del padding-top del body, para que el navbar nunca tape la etiqueta */
  padding: clamp(2rem, 6vh, 4rem) 6vw 5vh;
  position: relative;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(120% 90% at 80% 0%, rgba(232, 72, 43, .10), transparent 55%), radial-gradient(80% 70% at 0% 100%, rgba(217, 177, 90, .06), transparent 50%)
}

/* Para activar imagen de fondo del hero: añade la clase con-img al <header> y define --hero-img */
header.hero.con-img {
  background: linear-gradient(to top, rgba(12, 12, 11, .92) 8%, rgba(12, 12, 11, .45) 55%, rgba(12, 12, 11, .7) 100%), var(--hero-img) center/cover no-repeat
}

/* La etiqueta va en el flujo normal arriba del h1: su margin-bottom garantiza la separación mínima */
.hero-tag {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .6rem 1rem;
  margin-bottom: clamp(2.5rem, 8vh, 5rem);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--muted);
  z-index: 3
}

.hero-tag .dot-wrap {
  display: flex;
  align-items: center;
  gap: .6rem
}

.hero-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
  display: inline-block
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .35;
    transform: scale(.7)
  }
}

.hero h1 {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(3rem, 11vw, 10.5rem);
  line-height: .86;
  letter-spacing: -.035em;
  /* margin-top:auto lleva el título (y el texto de abajo) al fondo del hero, dejando la etiqueta arriba */
  margin-top: auto;
  margin-bottom: 2.5rem
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent)
}

.hero h1 .line {
  display: block;
  overflow: hidden
}

.hero h1 .line>span {
  display: block;
  transform: translateY(110%);
  transition: transform 1.1s cubic-bezier(.16, 1, .3, 1)
}

.hero.loaded h1 .line>span {
  transform: translateY(0)
}

.hero h1 .line:nth-child(2)>span {
  transition-delay: .12s
}

.hero h1 .line:nth-child(3)>span {
  transition-delay: .24s
}

.hero-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 4rem;
  align-items: flex-end;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 1.8rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease .5s, transform 1s ease .5s
}

.hero.loaded .hero-sub {
  opacity: 1;
  transform: none
}

.hero-sub p {
  max-width: 52ch;
  font-size: 1.08rem;
  color: var(--ink);
  font-weight: 300;
  line-height: 1.6
}

.scroll-cue {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: .6rem
}

.scroll-cue .arrow {
  animation: bob 2s ease-in-out infinite
}

@keyframes bob {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(5px)
  }
}

.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 1s cubic-bezier(.16, 1, .3, 1), transform 1s cubic-bezier(.16, 1, .3, 1)
}

.reveal.in {
  opacity: 1;
  transform: none
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
  background: var(--bg2);
  position: relative
}

.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 12vw;
  z-index: 2;
  pointer-events: none
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg2), transparent)
}

.marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg2), transparent)
}

.marquee div {
  display: inline-block;
  animation: scroll 38s linear infinite
}

.marquee:hover div {
  animation-play-state: paused
}

.marquee span {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.65rem;
  color: var(--ink);
  padding: 0 1.4rem
}

.marquee span::after {
  content: "✳";
  font-style: normal;
  color: var(--accent);
  padding-left: 2.8rem;
  font-size: .9rem;
  vertical-align: middle
}

@keyframes scroll {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

section {
  padding: 9.5rem 0;
  border-bottom: 1px solid var(--line);
  position: relative
}

/* RESPIRO DE LUZ — sección clara que rompe el negro (técnica museística) */
.lightbreak {
  background: var(--paper);
  color: var(--paper-ink);
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding-left: 6vw;
  padding-right: 6vw;
  box-sizing: border-box
}

.lightbreak .sec-label {
  color: #9a8c6f
}

.lightbreak h2 {
  color: var(--paper-ink)
}

.lightbreak h2 em {
  color: var(--accent)
}

.lightbreak .field input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(12, 12, 11, .25);
  color: var(--paper-ink);
  border-radius: 0
}

.lightbreak .field input::placeholder {
  color: #8a8377
}

.lightbreak .note {
  color: #8a8377
}

.lightbreak .btn.dark {
  background: var(--paper-ink);
  color: var(--paper);
  border-color: var(--paper-ink)
}

.lightbreak .btn.dark:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff
}

.sec-head {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: 4rem
}

.sec-num {
  font-size: .74rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: .1em;
  font-variant-numeric: tabular-nums
}

.sec-label {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--muted)
}

.sec-title {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: .94;
  letter-spacing: -.025em;
  max-width: 20ch
}

.sec-head {
  position: relative
}

.sec-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1.2rem;
  height: 1px;
  width: 0;
  background: var(--accent);
  transition: width 1.1s cubic-bezier(.16, 1, .3, 1) .2s
}

.sec-head.in::after {
  width: 64px
}

.sec-title em {
  font-style: italic;
  color: var(--accent)
}

.manifesto p.big {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(1.6rem, 3.6vw, 2.9rem);
  line-height: 1.28;
  letter-spacing: -.015em;
  max-width: 24ch;
  margin-left: auto
}

.manifesto p.big em {
  font-style: italic;
  color: var(--accent)
}

.about-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 5.5rem
}

.about-cols p {
  font-size: 1.06rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink);
  max-width: 46ch
}

.about-cols p+p {
  margin-top: 1.4rem
}

.about-cols .lead {
  font-size: 1.18rem;
  color: var(--ink)
}

.about-cols .lead::first-letter {
  font-family: "Fraunces", serif;
  font-size: 3.4em;
  float: left;
  line-height: .72;
  padding: .06em .12em 0 0;
  color: var(--accent);
  font-weight: 400
}

.values {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 2.2rem
}

.values span {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: .55rem 1.1rem;
  transition: border-color .3s, color .3s
}

.values span:hover {
  border-color: var(--accent);
  color: var(--accent)
}

@media(max-width:760px) {
  .about-cols {
    grid-template-columns: 1fr;
    gap: 2rem
  }
}

.hist-lead {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  line-height: 1.28;
  letter-spacing: -.01em;
  max-width: 28ch;
  margin-bottom: 3.2rem
}

.hist-lead em {
  font-style: italic;
  color: var(--accent)
}

.hist-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem
}

.hist-cols p {
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.78;
  color: var(--ink);
  max-width: 48ch
}

.hist-cols p+p {
  margin-top: 1.4rem
}

@media(max-width:760px) {
  .hist-cols {
    grid-template-columns: 1fr;
    gap: 1.4rem
  }
}

.hist-close {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.4;
  letter-spacing: -.01em;
  max-width: 60ch;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink)
}

.hist-close::first-line {
  color: var(--accent)
}

.disc-grid {
  border-top: 1px solid var(--line)
}

.disc-row {
  display: grid;
  grid-template-columns: 64px 1fr 1.15fr;
  gap: 2rem;
  align-items: center;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .45s cubic-bezier(.16, 1, .3, 1);
  position: relative;
  overflow: hidden
}

.disc-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(90deg, rgba(232, 72, 43, .08), transparent);
  transition: width .5s cubic-bezier(.16, 1, .3, 1);
  z-index: 0
}

.disc-row:hover::before {
  width: 100%
}

.disc-row:hover {
  padding-left: 1.5rem
}

.disc-row>* {
  position: relative;
  z-index: 1
}

.disc-row .n {
  font-size: .74rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums
}

.disc-row .name {
  font-family: "Fraunces", serif;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  font-weight: 300;
  letter-spacing: -.02em;
  transition: color .4s
}

.disc-row:hover .name {
  color: var(--accent)
}

.disc-row .desc {
  font-size: .92rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.55
}

@media(max-width:680px) {
  .disc-row {
    grid-template-columns: 34px 1fr;
    gap: .5rem 1rem
  }

  .disc-row .desc {
    grid-column: 2/3;
    font-size: .86rem
  }
}

/* PROGRAMA grid */
.prog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line)
}

.prog {
  background: var(--bg);
  padding: 3rem 2.4rem;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background .5s;
  position: relative
}

.prog::after {
  content: "";
  position: absolute;
  left: 2.4rem;
  right: 2.4rem;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1)
}

.prog:hover {
  background: var(--bg2)
}

.prog:hover::after {
  transform: scaleX(1)
}

.prog .pn {
  font-size: .78rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: .1em
}

.prog h3 {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 1.6rem 0 1rem
}

.prog p {
  font-size: .96rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.65
}

@media(max-width:880px) {
  .prog-grid {
    grid-template-columns: 1fr
  }
}

/* WHAT'S ON / exhibitions */
.whatson {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line)
}

.wo-item {
  background: var(--bg);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 0;
  transition: background .5s;
  min-height: 300px
}

.wo-item:hover {
  background: var(--bg2)
}

.wo-visual {
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--line);
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center
}

.wo-visual .ph {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 300;
  color: var(--muted);
  font-size: 1rem
}

.wo-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .62;
  background:
    radial-gradient(circle at 28% 28%, rgba(232, 72, 43, .62), transparent 48%),
    radial-gradient(circle at 72% 68%, rgba(217, 177, 90, .5), transparent 48%),
    radial-gradient(circle at 50% 90%, rgba(201, 90, 50, .4), transparent 55%);
  filter: blur(7px);
  transition: transform 1.2s cubic-bezier(.16, 1, .3, 1)
}

.wo-item:hover .wo-visual::before {
  transform: scale(1.15) rotate(6deg)
}

.wo-visual.v2::before {
  background: radial-gradient(circle at 62% 38%, rgba(217, 177, 90, .6), transparent 52%), radial-gradient(circle at 22% 72%, rgba(232, 72, 43, .48), transparent 52%), radial-gradient(circle at 80% 85%, rgba(176, 84, 52, .38), transparent 55%)
}

.wo-visual.v3::before {
  background: radial-gradient(circle at 38% 58%, rgba(232, 72, 43, .5), transparent 55%), radial-gradient(circle at 75% 25%, rgba(217, 177, 90, .42), transparent 50%), linear-gradient(120deg, rgba(244, 241, 234, .07), transparent)
}

.wo-body {
  padding: 2.6rem 2.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .9rem
}

.wo-status {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--accent);
  font-weight: 600
}

.wo-status .ring {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(232, 72, 43, .6);
  animation: ring 2s infinite
}

@keyframes ring {
  0% {
    box-shadow: 0 0 0 0 rgba(232, 72, 43, .55)
  }

  70% {
    box-shadow: 0 0 0 7px rgba(232, 72, 43, 0)
  }

  100% {
    box-shadow: 0 0 0 0 rgba(232, 72, 43, 0)
  }
}

.wo-status.soft {
  color: var(--accent2)
}

.wo-status.soft .ring {
  background: var(--accent2);
  animation: none
}

.wo-body h3 {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.04;
  letter-spacing: -.02em
}

.wo-body .meta {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted)
}

.wo-body p {
  font-size: .97rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink);
  max-width: 52ch
}

.wo-link {
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: .4rem;
  width: fit-content;
  border-bottom: 1px solid var(--accent);
  padding-bottom: .3rem;
  transition: gap .3s
}

.wo-link:hover {
  gap: 1rem
}

@media(max-width:760px) {
  .wo-item {
    grid-template-columns: 1fr
  }

  .wo-visual {
    border-right: none;
    border-bottom: 1px solid var(--line);
    min-height: 160px
  }

  .wo-body {
    padding: 2rem
  }
}

/* COMPETITIONS / open calls */
.calls {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line)
}

.call {
  background: var(--bg);
  padding: 3rem 2.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: background .5s;
  position: relative;
  overflow: hidden
}

.call:hover {
  background: var(--bg2)
}

.call.flag::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2))
}

.call .tagrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap
}

.call .open {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: .5rem
}

.call .open .ring {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(232, 72, 43, .6);
  animation: ring 2s infinite
}

.call .cat {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--muted)
}

.call h3 {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.02;
  letter-spacing: -.02em
}

.call p {
  font-size: .98rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink);
  max-width: 54ch
}

.call .specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .1rem 1.5rem;
  margin-top: .4rem;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem
}

.call .specs .s {
  padding: .5rem 0;
  border-bottom: 1px solid var(--line)
}

.call .specs .sk {
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted)
}

.call .specs .sv {
  font-size: .95rem;
  margin-top: .15rem
}

@media(max-width:760px) {
  .calls {
    grid-template-columns: 1fr
  }

  .call .specs {
    grid-template-columns: 1fr
  }
}

.feature {
  /* Fondo oscuro con un brillo suave del naranja de la "A"; el naranja se usa solo como acento */
  background: radial-gradient(70% 90% at 85% 0%, rgba(232, 72, 43, .16), transparent 60%), radial-gradient(60% 70% at 0% 100%, rgba(232, 72, 43, .07), transparent 55%), var(--bg2);
  color: var(--ink);
  border-top: 1px solid rgba(232, 72, 43, .35);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden
}

.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  top: 0;
  bottom: auto;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent 70%);
  pointer-events: none
}

.feature .wrap {
  position: relative;
  z-index: 2
}

.feature .sec-label {
  color: var(--muted)
}

.feature .sec-num {
  color: var(--accent)
}

.feature .kicker {
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  margin-bottom: 1.4rem;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: .7rem
}

.feature h2 {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  line-height: .9;
  letter-spacing: -.035em;
  margin-bottom: 1.4rem
}

.feature h2 em {
  font-style: italic;
  color: var(--accent)
}

.feature .subtitle {
  font-family: "Archivo";
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--muted);
  margin-bottom: 2.8rem
}

.feature-body {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 4.5rem;
  align-items: start;
  margin-top: 1rem
}

.feature-body p {
  font-size: 1.12rem;
  line-height: 1.7;
  font-weight: 300
}

.feature-body p+p {
  margin-top: 1.2rem
}

.feature-meta {
  display: flex;
  flex-direction: column;
  gap: 0
}

.feature-meta .row {
  border-top: 1px solid var(--line);
  padding: 1rem 0
}

.feature-meta .row:last-child {
  border-bottom: 1px solid var(--line)
}

.feature-meta .k {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--accent);
  opacity: .85
}

.feature-meta .v {
  font-size: 1.08rem;
  margin-top: .25rem
}

.feature .disc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.8rem
}

.feature .disc-tags span {
  font-size: .74rem;
  border: 1px solid rgba(232, 72, 43, .45);
  border-radius: 100px;
  padding: .45rem 1rem;
  transition: background .3s, color .3s, border-color .3s
}

.feature .disc-tags span:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff
}

/* Botón de la residencia: naranja de la marca sobre el fondo oscuro */
.feature .btn {
  background: var(--accent);
  color: #fff
}

.feature .btn:hover {
  box-shadow: 0 14px 36px rgba(232, 72, 43, .3)
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: #fff;
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 1.1rem 2.2rem;
  border-radius: 100px;
  margin-top: 2rem;
  border: none;
  cursor: pointer;
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s;
  font-family: "Archivo"
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .28)
}

.btn:active {
  transform: translateY(-1px)
}

.btn:focus-visible,
.lang button:focus-visible,
.nav-toggle:focus-visible,
.wa-float:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px
}

.btn .ar {
  transition: transform .35s
}

.btn:hover .ar {
  transform: translateX(4px)
}

.btn.dark {
  background: var(--accent);
  color: #fff
}

.btn.dark:hover {
  box-shadow: 0 14px 36px rgba(232, 72, 43, .35)
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  margin-top: 0
}

.btn.ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: none
}

@media(max-width:760px) {
  .feature-body {
    grid-template-columns: 1fr;
    gap: 2.8rem
  }
}

.agenda-item {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2.1rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .4s cubic-bezier(.16, 1, .3, 1)
}

.agenda-item:first-of-type {
  border-top: 1px solid var(--line)
}

.agenda-item:hover {
  padding-left: 1rem
}

.agenda-date {
  font-family: "Fraunces", serif;
  font-size: 1.05rem;
  color: var(--accent);
  font-style: italic
}

.agenda-info h4 {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: -.01em;
  margin-bottom: .3rem
}

.agenda-info p {
  font-size: .9rem;
  color: var(--muted);
  font-weight: 300
}

.agenda-place {
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  text-align: right
}

@media(max-width:680px) {
  .agenda-item {
    grid-template-columns: 1fr;
    gap: .5rem
  }

  .agenda-place {
    text-align: left
  }
}

.voice {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.7rem, 4.2vw, 3.2rem);
  line-height: 1.22;
  letter-spacing: -.015em;
  max-width: 30ch
}

.voice .mark {
  color: var(--accent);
  font-style: normal
}

.voice-by {
  font-family: "Archivo";
  font-style: normal;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--accent);
  margin-top: 2.2rem;
  display: block
}

.spon-intro {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  max-width: 48ch;
  margin-bottom: 3.5rem
}

.spon-tier {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--accent);
  margin: 2.5rem 0 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem
}

.spon-tier::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line)
}

.spon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line)
}

.spon-grid.partners {
  grid-template-columns: repeat(3, 1fr)
}

.spon {
  background: var(--bg);
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.6rem;
  transition: background .45s;
  overflow: hidden;
}


.spon img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 70px;
  object-fit: contain;
  /* Elimina cualquier filtro previo */
  filter: none !important;
  -webkit-filter: none !important;
  opacity: 1 !important;
  transition: transform .4s cubic-bezier(.16, 1, .3, 1), filter .4s ease;
}

.spon:hover img {
 transform: scale(1.12);
}

.spon .placeholder {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.05rem;
  color: var(--muted);
  text-align: center;
  transition: color .4s
}

.spon:hover .placeholder {
  color: var(--ink)
}

.spon-cta {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2rem;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 2.5rem
}

.spon-cta p {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(1.3rem, 3vw, 2rem);
  line-height: 1.2;
  letter-spacing: -.01em;
  max-width: 22ch
}

.spon-cta p em {
  font-style: italic;
  color: var(--accent)
}

@media(max-width:880px) {

  .spon-grid,
  .spon-grid.partners {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:480px) {

  .spon-grid,
  .spon-grid.partners {
    grid-template-columns: 1fr
  }
}

.news {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto
}

.news h2 {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  line-height: 1;
  letter-spacing: -.025em
}

.news h2 em {
  font-style: italic;
  color: var(--accent)
}

.field {
  display: flex;
  gap: .8rem;
  margin-top: 1.6rem;
  flex-wrap: wrap
}

.field input {
  flex: 1;
  min-width: 220px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  padding: .9rem 0;
  font-size: 1rem;
  font-family: "Archivo", sans-serif;
  outline: none;
  transition: border-color .3s
}

.field input:focus {
  border-color: var(--accent)
}

.field input::placeholder {
  color: var(--muted)
}

.news .note {
  font-size: .78rem;
  color: var(--muted);
  margin-top: 1rem
}

@media(max-width:760px) {
  .news {
    grid-template-columns: 1fr;
    gap: 2rem
  }
}

.contact {
  background: var(--paper);
  color: var(--paper-ink)
}

.contact .sec-label,
.contact .sec-num {
  color: #9a948a
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem
}

.contact h2 {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(2.8rem, 8vw, 6.2rem);
  line-height: .88;
  letter-spacing: -.035em;
  margin-bottom: 2rem
}

.contact h2 em {
  font-style: italic;
  color: var(--accent)
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.1rem
}

.contact-info a {
  color: var(--paper-ink);
  text-decoration: none;
  font-size: 1.12rem;
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: .4rem;
  transition: color .3s, border-color .3s;
  width: fit-content
}

.contact-info a:hover {
  color: var(--accent);
  border-color: var(--accent)
}

.contact-info .meta {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #9a948a
}

.cform {
  display: flex;
  flex-direction: column;
  gap: 1.3rem
}

.cform label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #9a948a;
  display: block;
  margin-bottom: .4rem
}

.cform input,
.cform textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-dark);
  color: var(--paper-ink);
  padding: .7rem 0;
  font-size: 1rem;
  font-family: "Archivo", sans-serif;
  outline: none;
  transition: border-color .3s;
  resize: vertical
}

.cform input:focus,
.cform textarea:focus {
  border-color: var(--accent)
}

@media(max-width:760px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem
  }
}

footer {
  background: var(--paper);
  color: var(--paper-ink);
  padding: 4.5rem 6vw 2rem;
  border: none
}

footer b {
  color: var(--accent)
}

.ft-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-dark)
}

.ft-brand .ft-logo {
  font-family: "Fraunces", serif;
  font-size: 2rem;
  letter-spacing: -.02em;
  color: var(--paper-ink);
  text-decoration: none;
  display: inline-block;
  margin-bottom: .9rem
}

.ft-brand p {
  font-size: .95rem;
  font-weight: 300;
  line-height: 1.6;
  color: #5c584f;
  max-width: 34ch
}

.ft-col h4 {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: #9a8c6f;
  margin-bottom: 1.1rem;
  font-weight: 600
}

.ft-col a {
  display: block;
  width: fit-content;
  position: relative;
  color: var(--paper-ink);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 300;
  padding: .3rem 0;
  transition: color .3s, transform .35s cubic-bezier(.16, 1, .3, 1)
}

.ft-col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: .15rem;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s cubic-bezier(.16, 1, .3, 1)
}

.ft-col a:hover {
  color: var(--accent);
  transform: translateX(4px)
}

.ft-col a:hover::after {
  transform: scaleX(1);
  transform-origin: left
}

.ft-brand .ft-logo b {
  display: inline-block;
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1)
}

.ft-brand .ft-logo:hover b {
  transform: translateY(-6px) rotate(-12deg)
}

/* Redes en el footer */
.ft-social {
  display: flex;
  gap: .8rem;
  margin-top: 1.6rem
}

.ft-social a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper-ink);
  border: 1px solid rgba(12, 12, 11, .22);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color .35s, border-color .35s, transform .45s cubic-bezier(.34, 1.56, .64, 1)
}

.ft-social a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  z-index: -1;
  transform: scale(0);
  transition: transform .45s cubic-bezier(.16, 1, .3, 1)
}

.ft-social a.ig::before {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%)
}

.ft-social a.wa::before {
  background: #25d366
}

.ft-social a:hover {
  color: #fff;
  border-color: transparent;
  transform: translateY(-4px) rotate(-8deg)
}

.ft-social a:hover::before {
  transform: scale(1)
}

.ft-social svg {
  width: 20px;
  height: 20px
}

.ft-icon {
  display: flex !important;
  align-items: center;
  gap: .55rem
}

.ft-icon svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0
}

.ft-col .sm {
  display: block;
  margin-top: .9rem;
  font-size: .72rem;
  color: #8a8377;
  letter-spacing: .06em
}

.ft-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.6rem;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #9a948a
}

.ft-bottom a {
  color: #9a948a;
  text-decoration: none
}

.ft-bottom a:hover {
  color: var(--accent)
}

@media(max-width:980px) {
  .ft-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:600px) {
  .ft-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem
  }
}

.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 3rem));
  background: var(--accent);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 100px;
  font-size: .85rem;
  letter-spacing: .04em;
  z-index: 1300;
  transition: transform .55s cubic-bezier(.16, 1, .3, 1);
  box-shadow: 0 14px 44px rgba(0, 0, 0, .45)
}

.toast.show {
  transform: translateX(-50%) translateY(0)
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  width: 0;
  z-index: 1001
}

/* SISTEMA DE IMÁGENES MUSEÍSTICO */
.img-frame {
  position: relative;
  overflow: hidden;
  background: var(--bg2);
  display: block;
  width: 100%
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(.15) contrast(1.04);
  transition: transform 1.4s cubic-bezier(.16, 1, .3, 1), filter .8s ease
}

.img-frame:hover img {
  transform: scale(1.04);
  filter: grayscale(0) contrast(1.06)
}

.img-frame.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  background:
    radial-gradient(circle at 30% 28%, rgba(232, 72, 43, .32), transparent 50%),
    radial-gradient(circle at 72% 70%, rgba(217, 177, 90, .26), transparent 52%),
    var(--bg2)
}

.img-credit {
  position: absolute;
  bottom: .8rem;
  left: .9rem;
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: rgba(244, 241, 234, .7);
  z-index: 2;
  mix-blend-mode: difference
}

/* CIFRAS */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Separación respecto a la franja de disciplinas (marquee) */
  margin: clamp(3.5rem, 8vw, 6rem) 6vw 6rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

.stat {
  padding: 3.2rem 2.2rem;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: .8rem;
  position: relative;
  overflow: hidden
}

.stat::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  transition: width .6s cubic-bezier(.16, 1, .3, 1)
}

.stat:hover::after {
  width: 100%
}

.stat:last-child {
  border-right: none
}

.stat .num {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(3.4rem, 7vw, 6.4rem);
  line-height: .95;
  letter-spacing: -.035em;
  color: var(--ink)
}

.stat .num .pre {
  color: var(--accent);
  font-style: italic
}

.stat .lbl {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--muted);
  line-height: 1.5
}

@media(max-width:600px) {
  .stats {
    grid-template-columns: 1fr
  }

  .stat {
    border-right: none;
    border-top: 1px solid var(--line);
    padding: 2rem 1.2rem
  }

  .stat:first-child {
    border-top: none
  }
}

.img-band {
  width: 100%;
  padding: 0 6vw;
  margin: 1rem 0 5rem
}

.img-band .img-frame {
  height: 46vh;
  min-height: 340px;
  border: 1px solid var(--line)
}

@media(max-width:760px) {
  .img-band .img-frame {
    height: 30vh;
    min-height: 220px
  }
}

/* MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 7, .82);
  backdrop-filter: blur(6px);
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 6vw
}

.modal-overlay.show {
  display: flex
}

.modal-box {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 14px;
  max-width: 540px;
  width: 100%;
  padding: 2.6rem;
  position: relative;
  max-height: 88vh;
  overflow-y: auto
}

.modal-box .mk {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--accent);
  margin-bottom: .7rem
}

.modal-box h3 {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 1.8rem
}

.modal-box .mclose {
  position: absolute;
  top: 1.3rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  transition: color .3s
}

.modal-box .mclose:hover {
  color: var(--ink)
}

.modal-box form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem
}

.modal-box label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  display: block;
  margin-bottom: .4rem
}

.modal-box input,
.modal-box textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  padding: .7rem 0;
  font-size: 1rem;
  font-family: "Archivo", sans-serif;
  outline: none;
  transition: border-color .3s;
  resize: vertical
}

.modal-box input:focus,
.modal-box textarea:focus {
  border-color: var(--accent)
}

.modal-box input::placeholder,
.modal-box textarea::placeholder {
  color: #5c584f
}

/* PÁGINA ACTIVA (multipágina) */
.mobile-menu li a.active {
  color: var(--accent)
}

/* El footer queda siempre al fondo, aunque la página sea corta */
body {
  min-height: 100svh;
  display: flex;
  flex-direction: column
}

body>* {
  flex-shrink: 0
}

.wrap {
  width: 100%
}

footer {
  margin-top: auto
}
/* TEXTOS JUSTIFICADOS — párrafos de lectura; los textos grandes tipo cita/titular quedan alineados a la izquierda */
p {
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: manual;
  hyphens: manual
}

.manifesto p.big,
.spon-cta p,
.voice,
.kicker,
.subtitle,
.note,
.upd {
  text-align: left;
  -webkit-hyphens: manual;
  hyphens: manual
}

/* CARRUSEL (laboratorio) */
.carousel {
  position: relative;
  overflow: hidden;
  height: 62vh;
  min-height: 380px;
  border: 1px solid var(--line);
  background: var(--bg2);
  outline: none;
  user-select: none;
  touch-action: pan-y;
  cursor: grab
}

.carousel.dragging {
  cursor: grabbing
}

.car-track {
  display: flex;
  height: 100%;
  transition: transform .9s cubic-bezier(.16, 1, .3, 1);
  will-change: transform
}

.carousel.dragging .car-track {
  transition: none
}

.car-slide {
  flex: 0 0 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  position: relative
}

.car-slide::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: var(--slide-bg) center/cover no-repeat;
  filter: blur(28px) brightness(.45) saturate(1.1);
  pointer-events: none
}

.car-slide img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  transform: scale(.96);
  filter: grayscale(.35) contrast(1.04);
  transition: transform 1.4s cubic-bezier(.16, 1, .3, 1), filter 1.2s ease
}

.car-slide.active img {
  transform: scale(1);
  filter: grayscale(0) contrast(1.06)
}

.car-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(12, 12, 11, .55) 0%, rgba(12, 12, 11, 0) 22%);
  pointer-events: none
}

.car-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(244, 241, 234, .35);
  background: rgba(12, 12, 11, .35);
  backdrop-filter: blur(6px);
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity .4s, background .3s, border-color .3s, transform .3s
}

.car-btn.prev {
  left: 1.4rem
}

.car-btn.next {
  right: 1.4rem
}

.carousel:hover .car-btn,
.carousel:focus-within .car-btn {
  opacity: 1
}

.car-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.06)
}

.car-ui {
  position: absolute;
  left: 1.6rem;
  right: 1.6rem;
  bottom: 1.5rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  pointer-events: none
}

.car-count {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1rem;
  color: rgba(244, 241, 234, .7);
  letter-spacing: .04em
}

.car-count b {
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--ink)
}

.car-dots {
  display: flex;
  gap: .55rem;
  pointer-events: auto
}

.car-dots button {
  width: 28px;
  height: 3px;
  padding: 0;
  border: 0;
  background: rgba(244, 241, 234, .35);
  cursor: pointer;
  transition: width .5s cubic-bezier(.16, 1, .3, 1), background .3s
}

.car-dots button.on {
  width: 56px;
  background: var(--accent)
}

.car-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  z-index: 3;
  background: rgba(244, 241, 234, .08)
}

.car-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent)
}

@media(max-width:760px) {
  .carousel {
    height: 42vh;
    min-height: 260px
  }

  .car-btn {
    opacity: 1;
    width: 40px;
    height: 40px;
    font-size: 1rem
  }

  .car-btn.prev {
    left: .7rem
  }

  .car-btn.next {
    right: .7rem
  }

  .car-ui {
    left: 1rem;
    right: 1rem;
    bottom: 1rem
  }

  .car-dots button {
    width: 16px
  }

  .car-dots button.on {
    width: 32px
  }
}

@media(prefers-reduced-motion:reduce) {
  .car-track,
  .car-slide img {
    transition: none
  }
}
