/* ═══════════════════════════════════════════════════════════
   CELSA FLORES — sitio de artista
   Dirección: inmersivo tipo galería (James Jean) ×
   editorial de museo (The Broad)
   ═══════════════════════════════════════════════════════════ */

:root {
  --paper: #F7F3EC;      /* blanco roto */
  --paper-deep: #EFE8DC; /* lino natural */
  --cement: #E9E5DC;     /* gris cemento claro */
  --linen: #E6DCC8;      /* tela cruda */
  --tierra: #332A20;     /* fondo oscuro cálido — nunca negro corporativo */
  --ink: #16130F;
  --ink-soft: #3A342C;
  --muted: #8A8177;
  --accent: #C42B4A;
  --line: rgba(22, 19, 15, 0.14);
  --serif: "Fraunces", "Georgia", serif;
  --sans: "Archivo", "Helvetica Neue", sans-serif;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }

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

/* ─── Reveal animations (only when JS is running) ─── */
html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
html.js .reveal.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ─── Type helpers ─── */
.eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.eyebrow.light { color: rgba(247, 243, 236, 0.85); }

h1, h2 {
  font-family: var(--serif);
  font-weight: 380;
  line-height: 0.98;
  letter-spacing: -0.015em;
}
h1 em, h2 em, .banner-text em, .footer h2 em {
  font-style: italic;
  font-weight: 340;
}

/* ═══════════ HEADER ═══════════ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem clamp(1.25rem, 4vw, 3rem);
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
.site-header.scrolled {
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 0.9rem;
}
.wordmark {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.site-nav { display: flex; gap: clamp(0.9rem, 2vw, 2rem); overflow-x: auto; scrollbar-width: none; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.3s ease;
  position: relative;
  white-space: nowrap;
}
.site-nav a.active { color: var(--accent); }
.site-nav a.active::after { transform: scaleX(1); }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.site-nav a:hover { color: var(--accent); }

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  inset: 0;
}
.hero-canvas img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  will-change: transform;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(247,243,236,0.72) 0%, rgba(247,243,236,0) 26%),
    linear-gradient(to top, rgba(247,243,236,0.88) 0%, rgba(247,243,236,0.30) 42%, rgba(247,243,236,0) 68%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(1.25rem, 4vw, 3rem) clamp(4.5rem, 10vh, 7rem);
  color: var(--ink);
  max-width: 1100px;
}
.hero h1 {
  font-size: clamp(3.5rem, 12vw, 10rem);
  color: var(--ink);
}
.hero-line {
  margin-top: 1.75rem;
  max-width: 32rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.corner-tag {
  position: absolute;
  z-index: 2;
  right: clamp(1.25rem, 4vw, 3rem);
  bottom: clamp(1.5rem, 5vh, 2.5rem);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--paper);
  background: var(--tierra);
  padding: 0.55rem 0.9rem;
}
.scroll-hint {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 1.5rem;
  width: 1px;
  height: 52px;
  background: rgba(22, 19, 15, 0.18);
  overflow: hidden;
}
.scroll-hint span {
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: rgba(22, 19, 15, 0.7);
  animation: drip 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes drip {
  0% { top: -50%; }
  100% { top: 110%; }
}

/* Variante para fotografía oscura de la serie Urdimbre */
.hero.dark .hero-veil {
  background:
    linear-gradient(to bottom, rgba(18, 10, 8, 0.42) 0%, rgba(18, 10, 8, 0) 30%),
    linear-gradient(to top, rgba(18, 10, 8, 0.72) 0%, rgba(18, 10, 8, 0.18) 45%, rgba(18, 10, 8, 0) 70%);
}
.hero.dark .hero-content, .hero.dark .hero-line { color: rgba(250, 246, 239, 0.92); }
.hero.dark h1 { color: #FDFAF4; text-shadow: 0 2px 40px rgba(0, 0, 0, 0.4); }
.hero.dark .eyebrow { color: #E8927C; }
.hero.dark .corner-tag { color: var(--ink); background: var(--paper); }
.hero.dark .scroll-hint { background: rgba(250, 246, 239, 0.25); }
.hero.dark .scroll-hint span { background: rgba(250, 246, 239, 0.9); }
.site-header.on-dark:not(.scrolled) .wordmark { color: #FDFAF4; }
.site-header.on-dark:not(.scrolled) .site-nav a { color: rgba(250, 246, 239, 0.88); }
.site-header.on-dark:not(.scrolled) .site-nav a.active,
.site-header.on-dark:not(.scrolled) .site-nav a:hover { color: #E8927C; }

/* ═══════════ INTRO ═══════════ */
.intro {
  padding: clamp(6rem, 14vh, 10rem) clamp(1.25rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}
.intro-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.statement {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.375rem);
  font-weight: 360;
  line-height: 1.32;
  letter-spacing: -0.01em;
}
.statement em { font-style: italic; color: var(--accent); }
.body-copy {
  margin-top: 2rem;
  max-width: 36rem;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--ink-soft);
}
.intro-meta {
  border-top: 1px solid var(--ink);
  margin-top: 0.6rem;
}
.meta-row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.meta-row span {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.meta-row strong {
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 480;
  line-height: 1.35;
}

/* ═══════════ OBRA ═══════════ */
.works {
  padding: clamp(6rem, 14vh, 10rem) clamp(1.25rem, 4vw, 3rem);
}
.works-head, .shows-head {
  max-width: 1200px;
  margin: 0 auto clamp(3rem, 7vh, 5rem);
}
.works h2, .shows h2, .bio h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}
.works-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  grid-auto-rows: minmax(120px, auto);
  grid-auto-flow: dense;
}
.works-grid .work { grid-column: span 2; }
.works-grid .work.w-wide { grid-column: span 4; }
.work-img {
  overflow: hidden;
  background: var(--paper-deep);
  aspect-ratio: 4 / 5;
}
.work.w-wide .work-img { aspect-ratio: 16 / 10; }
.work-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
}
.work:hover .work-img img { transform: scale(1.07); }
.work figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-top: 0.8rem;
}
.work-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.0625rem;
  font-weight: 440;
  transition: color 0.3s ease;
}
.work:hover .work-title { color: var(--accent); }
.work-meta {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}
.works-note {
  max-width: 1200px;
  margin: 3rem auto 0;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-left: 2px solid var(--accent);
  padding-left: 0.9rem;
}

/* ═══════════ BANNER ═══════════ */
.banner {
  background: var(--tierra);
  color: var(--paper);
  padding: clamp(6rem, 16vh, 11rem) clamp(1.25rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
}
.banner::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 40% 50% at 12% 80%, rgba(196, 43, 74, 0.35), transparent 70%),
    radial-gradient(ellipse 35% 45% at 88% 15%, rgba(32, 48, 79, 0.5), transparent 70%),
    radial-gradient(ellipse 30% 40% at 70% 90%, rgba(233, 196, 106, 0.12), transparent 70%);
}
.banner-inner { position: relative; max-width: 1200px; margin: 0 auto; }
.banner-text {
  font-family: var(--serif);
  font-size: clamp(2rem, 5.5vw, 4.25rem);
  font-weight: 340;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.banner-text em { color: #E8564F; }

/* ═══════════ TRAYECTORIA ═══════════ */
.bio {
  padding: clamp(6rem, 14vh, 10rem) clamp(1.25rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}
.bio-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.bio-portrait {
  position: sticky;
  top: 6rem;
}
.bio-portrait img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.portrait-tag {
  display: block;
  padding-top: 0.8rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.bio h2 { margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.timeline {
  list-style: none;
  border-top: 1px solid var(--ink);
}
.timeline li {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}
.t-year {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1.1;
}
.timeline h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 520;
  margin-bottom: 0.4rem;
}
.timeline p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* ═══════════ EXPOSICIONES ═══════════ */
.shows {
  padding: clamp(6rem, 14vh, 10rem) clamp(1.25rem, 4vw, 3rem);
  background: var(--paper-deep);
}
.shows-group {
  max-width: 1200px;
  margin: 3.5rem auto 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}
.show-list {
  max-width: 1200px;
  margin: 0 auto;
  list-style: none;
  border-top: 1px solid var(--ink);
}
.show-list li {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.35rem 0.75rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.35s ease, padding-left 0.35s ease;
}
.show-list li:hover {
  background: var(--paper);
  padding-left: 1.4rem;
}
.s-year {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--accent);
}
.s-title {
  font-family: var(--serif);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 440;
  line-height: 1.25;
}
.s-venue {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}

/* ═══════════ FOOTER ═══════════ */
.footer {
  background: var(--tierra);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.footer-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(6rem, 15vh, 10rem) clamp(1.25rem, 4vw, 3rem) clamp(4rem, 9vh, 6rem);
}
.footer h2 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  color: #FDFAF4;
}
.footer h2 em { color: #E8564F; }
.footer-links {
  margin-top: 3.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer-mail {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid rgba(247, 243, 236, 0.35);
  padding-bottom: 0.2rem;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.footer-mail:hover { color: #E8564F; border-color: #E8564F; }
.footer-social { display: flex; gap: 2rem; }
.footer-social a {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-social a:hover { color: #E8564F; }
.footer-note {
  margin-top: 2.5rem;
  font-size: 0.8125rem;
  color: rgba(247, 243, 236, 0.55);
}
.footer-bottom {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 2rem;
  border-top: 1px solid rgba(247, 243, 236, 0.15);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.5);
}
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: var(--paper); }
.footer-watermark {
  position: absolute;
  bottom: -0.18em;
  right: -0.03em;
  z-index: 1;
  font-family: var(--serif);
  font-size: clamp(10rem, 26vw, 22rem);
  font-weight: 340;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(247, 243, 236, 0.08);
  pointer-events: none;
  user-select: none;
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 900px) {
  .intro-grid, .bio-grid { grid-template-columns: 1fr; }
  .bio-portrait { position: static; max-width: 420px; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid .work, .works-grid .work.w-wide { grid-column: span 1; }
  .works-grid .work.w-wide { grid-column: span 2; }
  .show-list li { grid-template-columns: 4.5rem 1fr; }
  .s-venue { grid-column: 2; text-align: left; }
}

@media (max-width: 600px) {
  .site-header { flex-direction: column; gap: 0.6rem; align-items: flex-start; }
  .site-nav { width: 100%; }
  .wordmark { letter-spacing: 0.3em; }
  .works-grid { grid-template-columns: 1fr; }
  .works-grid .work.w-wide { grid-column: span 1; }
  .works-grid .work.w-wide .work-img { aspect-ratio: 4 / 5; }
  .timeline li { grid-template-columns: 1fr; gap: 0.4rem; }
  .footer-links { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════════════
   V2 — Arquitectura de 5 secciones (guion curatorial de la artista)
   ═══════════════════════════════════════════════════════════ */

/* ─── Page hero (subpáginas) ─── */
.page-hero {
  padding: clamp(9rem, 20vh, 13rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 7vh, 5rem);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.page-hero .inner { max-width: 1200px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(2.75rem, 7vw, 5.5rem); color: var(--ink); }
.page-hero .lead {
  margin-top: 1.5rem;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.section-pad { padding: clamp(4.5rem, 10vh, 7.5rem) clamp(1.25rem, 4vw, 3rem); }
.max-w { max-width: 1200px; margin: 0 auto; }

/* ─── Manifiesto (inicio) ─── */
.manifiesto { background: var(--paper-deep); border-bottom: 1px solid var(--line); }
.manifiesto-quote {
  font-family: var(--serif);
  font-size: clamp(1.375rem, 2.8vw, 2.125rem);
  font-weight: 360;
  line-height: 1.4;
  max-width: 52rem;
}
.manifiesto-quote em { font-style: italic; color: var(--accent); }
.ejes {
  margin-top: clamp(2.5rem, 6vh, 4rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}
.eje { border-top: 1px solid var(--ink); padding-top: 1.25rem; }
.eje .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--accent);
}
.eje h3 {
  font-family: var(--serif);
  font-size: 1.3125rem;
  font-weight: 520;
  margin: 0.5rem 0 0.6rem;
}
.eje p { font-size: 0.875rem; line-height: 1.75; color: var(--ink-soft); }

/* ─── Tarjetas de capítulos (inicio) ─── */
.chapter-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
}
.chapter-card {
  display: block;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--paper);
  transition: border-color 0.35s ease, transform 0.35s ease;
}
.chapter-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.chapter-card .cc-img { aspect-ratio: 4 / 3; overflow: hidden; }
.chapter-card .cc-img img { width: 100%; height: 100%; object-fit: cover; }
.chapter-card .cc-body { padding: 1.25rem 1.25rem 1.5rem; }
.chapter-card .cc-tag {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}
.chapter-card h3 {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 480;
  line-height: 1.2;
  margin: 0.5rem 0 0.35rem;
}
.chapter-card .cc-years {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--muted);
}

/* ─── Intertítulos de capítulo (proyectos) ─── */
.chapter-marker {
  background: var(--tierra);
  color: var(--paper);
  padding: clamp(4rem, 10vh, 7rem) clamp(1.25rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
}
.chapter-marker::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(ellipse 45% 55% at 85% 20%, rgba(196, 43, 74, 0.22), transparent 70%);
}
.chapter-marker .inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.chapter-marker .cm-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #E8927C;
  display: block;
  margin-bottom: 1rem;
}
.chapter-marker h2 {
  font-size: clamp(1.875rem, 4.5vw, 3.5rem);
  color: #FDFAF4;
  max-width: 46rem;
}
.chapter-marker .cm-years {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: rgba(247, 243, 236, 0.5);
}

/* ─── Bloques de proyecto ─── */
.project { border-bottom: 1px solid var(--line); }
.project-head { max-width: 1200px; margin: 0 auto clamp(2rem, 5vh, 3.5rem); }
.project-head h3 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 420;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.project-head h3 em { font-style: italic; }
.project-head .p-desc {
  margin-top: 1.25rem;
  max-width: 44rem;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--ink-soft);
}
.work-row {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
}
.work-row.two { grid-template-columns: repeat(2, 1fr); }
.work-row.one { grid-template-columns: 1fr; }

/* Ficha técnica unificada: Título / Año / Medio / Formato */
.ficha { padding-top: 0.9rem; display: grid; gap: 0.15rem; }
.ficha .f-titulo {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.125rem;
  font-weight: 440;
}
.ficha .f-meta {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.work:hover .f-titulo { color: var(--accent); }

/* ─── Cosmología de 4 colores (Urdimbre en Pandemia) ─── */
.four-panels {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.75rem, 2vw, 1.5rem);
}
.panel .p-img { aspect-ratio: 3 / 4; overflow: hidden; }
.panel .p-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.panel:hover .p-img img { transform: scale(1.06); }
.panel h4 {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 520;
  margin: 0.9rem 0 0.3rem;
}
.panel p { font-size: 0.8125rem; line-height: 1.7; color: var(--ink-soft); }

/* ─── Slots de video (YouTube por incrustar) ─── */
.video-row {
  max-width: 1200px;
  margin: clamp(2.5rem, 6vh, 4rem) auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
}
.video-slot {
  aspect-ratio: 16 / 9;
  background: var(--tierra);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  color: rgba(247, 243, 236, 0.75);
  text-align: center;
  padding: 1.5rem;
}
.video-slot .play {
  width: 54px; height: 54px;
  border: 1px solid rgba(247, 243, 236, 0.4);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: var(--paper);
}
.video-slot .vs-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--paper);
}
.video-slot .vs-note {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ─── Árbol genealógico del verbo querer ─── */
.tree-wrap {
  max-width: 1200px;
  margin: clamp(2.5rem, 6vh, 4rem) auto 0;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 4vw, 3rem);
  overflow-x: auto;
}
.tree-wrap svg { width: 100%; min-width: 560px; height: auto; display: block; }
.tree-caption {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 44rem;
}

/* ─── Cierre de filme (proyectos) ─── */
.film-end {
  background: var(--tierra);
  color: var(--paper);
  text-align: center;
  padding: clamp(6rem, 16vh, 10rem) clamp(1.25rem, 4vw, 3rem);
}
.film-end .fe-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #E8927C;
}
.film-end h2 {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  color: #FDFAF4;
  margin-top: 1.5rem;
}
.film-end h2 em { color: #E8927C; }
.film-end p {
  margin: 1.75rem auto 0;
  max-width: 34rem;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: rgba(247, 243, 236, 0.7);
}

/* ─── Sobre la artista ─── */
.bio-official { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.bio-official .bo-portrait { position: sticky; top: 6rem; }
.bio-official .bo-portrait img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.bio-official .bo-text p {
  font-size: 0.9688rem;
  line-height: 1.9;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}
.bio-official .bo-text p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 3.4em;
  line-height: 0.8;
  float: left;
  padding: 0.08em 0.12em 0 0;
  color: var(--accent);
}
.btn {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.9rem 1.6rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s ease;
}
.btn:hover { background: var(--accent); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ─── Textos y crítica ─── */
.texto-list { max-width: 1200px; margin: 0 auto; list-style: none; border-top: 1px solid var(--ink); }
.texto-item { border-bottom: 1px solid var(--line); padding: clamp(1.75rem, 4vh, 2.75rem) 0.5rem; }
.texto-item .t-kind {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}
.texto-item h3 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  font-weight: 440;
  margin: 0.6rem 0 0.75rem;
}
.texto-item h3 em { font-style: italic; }
.texto-item .t-excerpt {
  max-width: 46rem;
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--ink-soft);
}
.texto-item .t-pending {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  border-left: 2px solid var(--accent);
  padding-left: 0.7rem;
}

/* ─── Contacto ─── */
.contact-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.contact-info .ci-line { margin-bottom: 2rem; }
.contact-info .ci-label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.4rem;
}
.contact-info a {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.contact-info a:hover { color: var(--accent); border-color: var(--accent); }
.contact-form { display: grid; gap: 1.25rem; }
.field label {
  display: block;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.45rem;
}
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0.85rem 1rem;
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--ink);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-note { font-size: 0.75rem; color: var(--muted); line-height: 1.6; }

/* ─── Pie ligero (subpáginas) ─── */
.footer-slim {
  border-top: 1px solid var(--line);
  padding: 2rem clamp(1.25rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-slim a { color: inherit; text-decoration: none; }
.footer-slim a:hover { color: var(--accent); }

/* ─── Responsive v2 ─── */
@media (max-width: 900px) {
  .ejes, .chapter-cards, .work-row { grid-template-columns: 1fr 1fr; }
  .four-panels { grid-template-columns: 1fr 1fr; }
  .video-row { grid-template-columns: 1fr; }
  .bio-official, .contact-grid { grid-template-columns: 1fr; }
  .bio-official .bo-portrait { position: static; max-width: 420px; }
}
@media (max-width: 600px) {
  .ejes, .chapter-cards, .work-row, .work-row.two, .four-panels { grid-template-columns: 1fr; }
  .page-hero { padding-top: 8.5rem; }
}

/* ─── Epígrafe (dossier de exposición) ─── */
.epigrafe {
  max-width: 1200px;
  margin: clamp(3rem, 7vh, 5rem) auto 0;
  border-left: 2px solid var(--accent);
  padding: 0.5rem 0 0.5rem clamp(1.25rem, 3vw, 2.5rem);
}
.epigrafe p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 380;
  line-height: 1.45;
  color: var(--ink);
  max-width: 46rem;
}
.epigrafe cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── Listado de obras sin registro (muro de sala) ─── */
.obra-list { max-width: 1200px; margin: 0 auto; list-style: none; border-top: 1px solid var(--ink); }
.obra-list li {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.2rem 0.5rem;
  border-bottom: 1px solid var(--line);
}
.obra-list .s-venue { text-align: right; }
@media (max-width: 900px) {
  .obra-list li { grid-template-columns: 4.5rem 1fr; }
  .obra-list .s-venue { grid-column: 2; text-align: left; }
}

/* ═══════════════════════════════════════════════════════════
   V4 — Navegación móvil + Exposiciones y eventos (propuestas)
   ═══════════════════════════════════════════════════════════ */

/* ─── Menú a pantalla completa (≤ 960px) ─── */
.menu-btn {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0.5rem 0;
  align-items: center;
  gap: 0.6rem;
}
.menu-btn .bars { display: inline-grid; gap: 4px; }
.menu-btn .bars i { display: block; width: 18px; height: 1.5px; background: currentColor; }
.site-header.on-dark:not(.scrolled) .menu-btn { color: #FDFAF4; }

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  padding: 1.4rem clamp(1.25rem, 4vw, 3rem) 2rem;
  overflow-y: auto;
}
.menu-overlay .mo-top { display: flex; justify-content: space-between; align-items: center; }
.menu-overlay nav { margin: auto 0; display: flex; flex-direction: column; gap: 0.35rem; padding: 3rem 0; }
.menu-overlay nav a {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 9vw, 3.75rem);
  font-weight: 380;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-decoration: none;
}
.menu-overlay nav a .n {
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--muted);
  vertical-align: top;
  margin-right: 0.75rem;
}
.menu-overlay nav a.active, .menu-overlay nav a:hover { color: var(--accent); font-style: italic; }
.menu-overlay .mo-foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}
.menu-overlay .mo-foot a { color: var(--ink); text-decoration: none; }
body.menu-open { overflow: hidden; }
.menu-overlay[hidden] { display: none; }

@media (max-width: 960px) {
  .site-nav { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 600px) {
  .site-header { flex-direction: row; align-items: center; }
}

/* ─── Bloque "Próximamente" ─── */
.upcoming {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 1.5rem clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  background: var(--paper-deep);
}
.upcoming .u-label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}
.upcoming .u-text {
  font-family: var(--serif);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-style: italic;
}
.upcoming a {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.upcoming a:hover { color: var(--accent); border-color: var(--accent); }

.tag {
  display: inline-block;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  padding: 0.25rem 0.5rem;
  white-space: nowrap;
}
.tag.performance, .tag.conferencia { color: var(--accent); border-color: rgba(196, 43, 74, 0.35); }

/* ─── A · Archivo (rejilla por año) ─── */
.xa-year {
  max-width: 1200px;
  margin: clamp(3rem, 7vh, 4.5rem) auto 0;
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--ink);
  padding-top: 1.5rem;
}
.xa-year .yr {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--accent);
}
.xa-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.xa-card { text-decoration: none; color: var(--ink); display: block; }
.xa-card .xa-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-deep); }
.xa-card .xa-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1); }
.xa-card:hover .xa-img img { transform: scale(1.05); }
.xa-card .xa-type {
  aspect-ratio: 4 / 3;
  background: var(--tierra);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.1rem 1.2rem;
}
.xa-card .xa-type .big { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.15; }
.xa-card .xa-type .small { font-size: 0.5625rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(247,243,236,0.6); }
.xa-card h3 { font-family: var(--serif); font-size: 1.125rem; font-weight: 480; line-height: 1.25; margin-top: 0.85rem; }
.xa-card .meta { font-size: 0.8125rem; color: var(--muted); margin: 0.2rem 0 0.5rem; line-height: 1.5; }
.xa-card:hover h3 { color: var(--accent); }

/* ─── B · Sala (pestañas + destacada) ─── */
.xb-tabs {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.xb-tabs a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 1rem 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}
.xb-tabs a.on, .xb-tabs a:hover { color: var(--ink); border-color: var(--ink); }
.xb-feature {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
}
.xb-feature img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.xb-feature h2 { font-size: clamp(2.25rem, 5vw, 4rem); margin: 0.75rem 0 1rem; }
.xb-feature .dates { font-family: var(--serif); font-style: italic; font-size: 1.125rem; color: var(--ink-soft); }
.xb-feature .venue { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 0.4rem; }
.xb-feature p.desc { margin-top: 1.25rem; font-size: 0.9375rem; line-height: 1.8; color: var(--ink-soft); }
.xb-pair { max-width: 1200px; margin: clamp(2.5rem, 6vh, 4rem) auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 2rem); }
.xb-section-title {
  max-width: 1200px;
  margin: clamp(4rem, 9vh, 6rem) auto 1.25rem;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400;
}
.xb-row {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 7rem minmax(0, 1.3fr) minmax(0, 1fr) 7.5rem;
  gap: 1.25rem;
  align-items: baseline;
  padding: 1.2rem 0.25rem;
  border-bottom: 1px solid var(--line);
}
.xb-row:first-of-type { border-top: 1px solid var(--ink); }
.xb-row .t { font-family: var(--serif); font-size: 1.1875rem; line-height: 1.3; }
.xb-row .n { display: block; font-family: var(--sans); font-size: 0.8125rem; color: var(--muted); margin-top: 0.2rem; }
.xb-row .v { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); line-height: 1.5; }
.xb-row .tg { text-align: right; }

/* ─── C · Cronología (filtros + vista previa al pasar) ─── */
.xc-filters { max-width: 1200px; margin: 0 auto 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.xc-filters button {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  padding: 0.6rem 1rem;
  cursor: pointer;
  border-radius: 999px;
}
.xc-filters button.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.xc-decade {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--accent);
}
.xc-decade::after { content: ""; flex: 1; border-top: 1px solid var(--ink); transform: translateY(-0.3em); }
.xc-row {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1.4fr) minmax(0, 1fr) 7.5rem;
  gap: 1.25rem;
  align-items: baseline;
  padding: 1.15rem 0.5rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  position: relative;
  transition: background 0.3s ease, padding-left 0.3s ease;
}
a.xc-row:hover, .xc-row.has-img:hover { background: var(--paper-deep); padding-left: 1rem; }
.xc-row .y { font-family: var(--serif); font-style: italic; font-size: 1.125rem; color: var(--ink-soft); }
.xc-row .t { font-family: var(--serif); font-size: clamp(1.125rem, 1.8vw, 1.375rem); line-height: 1.3; }
.xc-row .t .cam { font-family: var(--sans); font-size: 0.5625rem; letter-spacing: 0.2em; color: var(--accent); vertical-align: middle; margin-left: 0.4rem; }
.xc-row .n { display: block; font-family: var(--sans); font-size: 0.8125rem; color: var(--muted); margin-top: 0.25rem; line-height: 1.5; }
.xc-row .v { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); line-height: 1.5; }
.xc-row .tg { text-align: right; }
.xc-row .thumb { display: none; }
.xc-preview {
  position: fixed;
  z-index: 150;
  width: 300px;
  aspect-ratio: 4 / 3;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 24px 60px rgba(22, 19, 15, 0.25);
}
.xc-preview.show { opacity: 1; transform: scale(1); }
.xc-preview img { width: 100%; height: 100%; object-fit: cover; }
.xc-row[hidden], .xc-decade[hidden] { display: none !important; }

@media (hover: none), (max-width: 900px) {
  .xc-preview { display: none; }
  .xc-row .thumb { display: block; grid-column: 1 / -1; margin-top: 0.75rem; }
  .xc-row .thumb img { width: 100%; max-width: 420px; aspect-ratio: 4 / 3; object-fit: cover; }
}

@media (max-width: 900px) {
  .xa-year { grid-template-columns: 1fr; gap: 1rem; }
  .xa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xb-feature, .xb-pair { grid-template-columns: 1fr; }
  .xb-row, .xc-row { grid-template-columns: 4.5rem minmax(0, 1fr); }
  .xb-row .v, .xb-row .tg, .xc-row .v, .xc-row .tg { grid-column: 2; text-align: left; }
}
@media (max-width: 600px) {
  .xa-grid { grid-template-columns: 1fr; }
}

/* ─── Hub de opciones ─── */
.opt-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.opt { display: block; text-decoration: none; color: var(--ink); border: 1px solid var(--line); padding: 1.75rem 1.5rem; background: var(--paper); transition: border-color 0.3s ease; }
.opt:hover { border-color: var(--accent); }
.opt .k { font-family: var(--serif); font-style: italic; font-size: 2.5rem; color: var(--accent); line-height: 1; }
.opt h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 440; margin: 0.75rem 0 0.5rem; }
.opt p { font-size: 0.875rem; line-height: 1.7; color: var(--ink-soft); }
.opt .ref { display: block; margin-top: 1rem; font-size: 0.625rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.opt.rec { border-color: var(--ink); }
.opt .badge { display: inline-block; margin-top: 1rem; background: var(--accent); color: var(--paper); font-size: 0.5625rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; padding: 0.3rem 0.6rem; }
@media (max-width: 900px) { .opt-grid { grid-template-columns: 1fr; } }
.xb-trio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .xb-trio { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════
   V5 — Próximo evento (portada + Exposiciones) y página de evento
   ═══════════════════════════════════════════════════════════ */
.next-event {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 3.5vw, 3rem);
}
.next-event .ne-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.next-event .ne-label::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: ne-pulse 2.4s ease-in-out infinite;
}
@keyframes ne-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.next-event .ne-type { font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 0.5rem; }
.next-event h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
.next-event .ne-dates { font-family: var(--serif); font-style: italic; font-size: clamp(1.125rem, 2vw, 1.375rem); color: var(--ink-soft); margin-top: 0.9rem; display: block; }
.next-event .ne-open { font-size: 0.875rem; color: var(--ink-soft); display: block; margin-top: 0.25rem; }
.next-event .ne-venue { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); display: block; margin-top: 0.6rem; }
.next-event .ne-summary { margin-top: 1.1rem; font-size: 0.9375rem; line-height: 1.75; color: var(--ink-soft); max-width: 34rem; }
.next-event .ne-cta { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.next-event .ne-img { aspect-ratio: 4 / 3; overflow: hidden; }
.next-event .ne-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .next-event { grid-template-columns: 1fr; }
  .next-event .ne-img { order: -1; }
}

/* página de evento */
.ev-hero { padding-bottom: clamp(2rem, 5vh, 3rem); border-bottom: 0; }
.ev-facts { margin-top: 1.5rem; display: grid; gap: 0.35rem; }
.ev-facts .ev-dates { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2.4vw, 1.75rem); color: var(--ink-soft); }
.ev-facts .ev-venue { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.ev-cta { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ev-cover { padding: 0 clamp(1.25rem, 4vw, 3rem); }
.ev-cover img { max-width: 1200px; margin: 0 auto; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.ev-credit { max-width: 1200px; margin: 0.7rem auto 0; font-size: 0.625rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.ev-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
@media (max-width: 900px) { .ev-grid { grid-template-columns: 1fr; } }
