/* ==========================================================================
   Sr. Papachango — Versión 2
   Capa de revisión sobre style.css (v05). Se carga después y solo redefine.
   Principios:
   1. Una escala tipográfica legible (mínimo 11 px, cuerpo 15–16 px).
   2. El arena significa «marco dorado»: marcos de obra y estado activo. Nada más.
   3. Menos etiquetas: una por sección, en minúsculas, sin tracking.
   4. Un solo gesto memorable: la obra sale un poco de su marco al pasar el cursor.
   El menú móvil en una fila (v05) no se modifica.
   ========================================================================== */

:root {
  --gilt: #c5b493;
  --gilt-line: rgba(197, 180, 147, .34);
  --gilt-faint: rgba(197, 180, 147, .16);
  --muted: #a3a29d;
  --t-xs: 11px;   /* notas legales, créditos */
  --t-sm: 13px;   /* etiquetas, metadatos */
  --t-md: 15px;   /* texto de lectura */
  --t-lg: 20px;   /* títulos de obra */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

body { font-size: var(--t-md); }
p { line-height: 1.65; }
.logo-pattern { opacity: .02; }

/* ---------- Ritmo vertical ---------- */
.section { padding-top: 112px; padding-bottom: 120px; }
.paintings { padding-top: 64px; }

/* ---------- Etiquetas y títulos ---------- */
.eyebrow, .small-meta {
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
  color: var(--muted);
}
.section-top { justify-content: flex-start; margin-bottom: 18px; }
.section-top .eyebrow b {
  font-weight: 600;
  color: var(--gilt);
  font-variant-numeric: tabular-nums;
  margin-right: 12px;
}
h2 {
  font-size: clamp(44px, 5.4vw, 84px);
  line-height: 1.02;
  letter-spacing: -.035em;
}
h2 > span { color: inherit; }
.section-heading { margin-bottom: 56px; gap: 48px; }
.section-heading > p {
  font-size: 16px;
  line-height: 1.6;
  max-width: 30ch;
  color: var(--muted);
}
.content-note { font-size: var(--t-sm); gap: 12px; }
.status-dot { margin-top: 8px; background: var(--gilt); }
.text-link { font-size: 14px; gap: 18px; border-bottom-color: #5c5c58; }
.text-link > span { font-size: 16px; }

/* ---------- Franja y cabecera ---------- */
.concept-bar, .concept-bar > span { font-size: var(--t-xs); letter-spacing: 0; }
.concept-bar { font-weight: 600; color: #b5b5b0; }

@media (min-width: 721px) {
  .site-header nav { gap: 34px; }
}
@media (min-width: 721px) and (max-width: 1050px) {
  .site-header nav { gap: 24px; }
}
@media (min-width: 721px) {
  .site-header nav > a,
  .site-header nav > a:last-child {
    position: relative;
    font-size: var(--t-sm);
    font-weight: 500;
    color: #b8b8b2;
    border-bottom: 0;
    min-height: 44px;
  }
  .site-header nav > a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 9px;
    height: 1px;
    background: var(--gilt);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
  }
  .site-header nav > a:hover { color: var(--ink); }
  .site-header nav > a[aria-current="location"] { color: var(--ink); }
  .site-header nav > a[aria-current="location"]::after { transform: scaleX(1); }
}

/* ---------- Introducción: el único momento animado ---------- */
.hero { padding-top: 40px; padding-bottom: 80px; }
.hero-meta { font-size: var(--t-sm); letter-spacing: 0; color: var(--muted); }
.hero-logo { width: 280px; height: 280px; margin: 36px auto 34px; }
.hero-tagline {
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.3;
  letter-spacing: -.01em;
  font-weight: 350;
}
.hero-tagline strong { font-weight: 650; }
.explore-link { font-size: var(--t-sm); letter-spacing: 0; color: var(--muted); padding-top: 34px; gap: 10px; }

@media (prefers-reduced-motion: no-preference) {
  .hero-logo { animation: v2-rise 1s var(--ease) both; }
  .hero-tagline { animation: v2-fade .9s .3s var(--ease) both; }
  .explore-link { animation: v2-fade .9s .55s var(--ease) both; }
}
@keyframes v2-rise { from { opacity: 0; transform: translateY(14px) scale(.96); } }
@keyframes v2-fade { from { opacity: 0; transform: translateY(6px); } }

/* ---------- Pinturas: marcos de salón a la espera de obra ---------- */
.paintings-grid { gap: 36px; }
.painting-placeholder {
  background: #0d0d0e;
  border: 1px solid #1d1d1f;
  min-height: 440px;
  padding: 64px 32px 30px;
}
.painting-placeholder:nth-child(2) { margin-top: 48px; margin-bottom: -48px; }
.placeholder-frame {
  width: 62%;
  max-height: none;
  background: #111112;
  border: 1px solid var(--gilt-line);
  box-shadow: 0 0 0 12px #0d0d0e, 0 0 0 13px var(--gilt-faint);
}
.placeholder-frame img { width: 70%; opacity: .9; }
.placeholder-number { font-size: var(--t-sm); color: var(--muted); top: 20px; left: 22px; letter-spacing: 0; }
.placeholder-caption { font-size: var(--t-sm); letter-spacing: 0; color: var(--muted); margin-top: 40px; }
.paintings .content-note { margin-top: 88px; }
.painting-card .work-image { border-color: var(--gilt-line); }

/* ---------- Murales: fotos completas en 3:2, cada una en su marco ---------- */
.works-grid { gap: 80px 40px; }
.works-grid > .work-card:nth-child(even) { margin-top: 0; }
.works-grid > .work-card:nth-child(n) .work-image img { aspect-ratio: 3 / 2; object-position: 50% 50%; }
.works-grid > .work-card:last-child { width: 100%; margin: 0; }
.works-grid > .work-card:last-child .work-image img { aspect-ratio: 2 / 1; object-position: 50% 62%; }

.work-image {
  overflow: visible;
  background: none;
  padding: 12px;
  border: 1px solid var(--gilt-faint);
  transition: border-color .5s var(--ease);
}
.work-image img {
  position: relative;
  z-index: 1;
  transition: transform .8s var(--ease);
}
/* El gesto: la obra cruza su marco, como sus personajes. */
.work-card button:hover .work-image,
.work-card button:focus-visible .work-image { border-color: var(--gilt-line); }
.work-card button:hover img,
.work-card button:focus-visible img { transform: scale(1.045); }
.work-card button:focus-visible { outline-offset: 8px; }
.work-arrow { z-index: 2; right: 26px; bottom: 26px; height: 40px; width: 40px; font-size: 18px; }

.work-caption { padding-top: 22px; }
.work-caption h3 { font-size: var(--t-lg); font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.work-caption p { font-size: 14px; margin-top: 4px; }
.work-num { font-size: var(--t-sm); color: var(--muted); letter-spacing: 0; font-variant-numeric: tabular-nums; padding-top: 4px; }

/* ---------- Exhibiciones ---------- */
.exhibition-feature { padding: 56px; border-color: #2a2a2c; background: #0e0e0f; gap: 6%; }
.exhibition-feature:hover { border-color: var(--gilt-line); }
.exhibition-year > strong {
  font-size: 190px;
  font-weight: 200;
  letter-spacing: -.06em;
  color: var(--ink);
}
.exhibition-year > span:last-child { font-size: var(--t-sm); letter-spacing: 0; }
.exhibition-category { font-size: var(--t-sm); font-weight: 500; letter-spacing: 0; color: var(--gilt); }
.exhibition-info h3 { font-size: clamp(32px, 3.6vw, 56px); letter-spacing: -.03em; margin: 18px 0 20px; }
.exhibition-info p { font-size: var(--t-md); }
.exhibition-info .exhibition-description { font-size: var(--t-md); line-height: 1.7; max-width: 46ch; }
.exhibition-info .text-link { font-size: 14px; margin-top: 22px; }
.archive-caption { margin: 72px 0 8px; }
.archive-caption > span:last-child { font-size: var(--t-sm); }
.timeline > a { grid-template-columns: 96px 1fr 170px 24px; padding: 30px 0; }
.timeline > a > span:first-child { font-size: var(--t-sm); letter-spacing: 0; }
.timeline h3 { font-size: 22px; letter-spacing: -.01em; margin-bottom: 4px; }
.timeline p { font-size: 14px; }
.timeline-type { font-size: var(--t-sm); letter-spacing: 0; color: var(--muted); }
.timeline a:hover h3 { color: var(--ink); }
.timeline a:hover .timeline-arrow { color: var(--gilt); }
.exhibitions .content-note { margin-top: 32px; }

/* ---------- Mapa ---------- */
.demo-note { font-size: var(--t-sm); padding: 16px 0; }
.demo-pill { font-size: 10px; }
.filters { gap: 28px; }
.filters button { font-size: 14px; }
.filters button.selected { border-color: var(--gilt); font-weight: 600; }
.filters button:hover { color: var(--ink); }
.country-select { font-size: var(--t-sm); }
.country-select select { font-size: 14px; max-width: 200px; }
.reset-map { font-size: var(--t-sm); }
.map-instruction { font-size: 12px; }
.map-panel { padding: 28px 26px; }
.map-panel h3 { font-size: 26px; letter-spacing: -.02em; }
.map-panel p { font-size: var(--t-sm); line-height: 1.7; }
.location-row strong { font-size: 17px; }
.location-row small { font-size: 12px; }
.location-row:hover { color: var(--ink); }
.location-row:hover > span:last-child { color: var(--gilt); }
.panel-back { font-size: var(--t-sm); }
.project-type { font-size: 12px; letter-spacing: 0; color: var(--gilt); }
.project-placeholder { font-size: var(--t-sm); }
.project-details dt { font-size: 12px; }
.project-details dd { font-size: 14px; }
.map-footnote { font-size: 12px; }
.leaflet-tooltip { font-size: 12px; }
.country-marker { font-size: 12px; }
.leaflet-control-attribution { font-size: 10px !important; }

/* ---------- Contacto ---------- */
.contact h2 { font-size: clamp(48px, 6.6vw, 104px); letter-spacing: -.04em; line-height: 1.04; }
.round-link { border-color: var(--gilt-line); transition: background .35s var(--ease), border-color .35s var(--ease); }
.round-link:hover { background: var(--gilt); border-color: var(--gilt); color: #111; }
.contact-bottom p { font-size: var(--t-md); }
.contact-bottom .text-link { font-size: var(--t-md); }
.artist-details summary { font-size: 16px; padding: 26px 0; }
.artist-details-inner { gap: 48px; padding-bottom: 44px; }
.artist-details-inner h3 { font-size: 28px; letter-spacing: -.02em; }
.artist-details-inner p { font-size: var(--t-md); line-height: 1.7; max-width: 62ch; }
.bio-source { font-size: 12px !important; }

/* ---------- Pie ---------- */
.footer-line > span, .footer-line > a:last-child { font-size: var(--t-sm); }
.footer-line .brand span { font-size: 11px; }
footer details { font-size: var(--t-sm); line-height: 1.7; }
.footer-note { font-size: var(--t-xs); letter-spacing: 0; }

/* ---------- Lightbox ---------- */
.dialog-copy .eyebrow { color: var(--gilt); }
.dialog-copy h2 { font-size: 34px; letter-spacing: -.02em; }
.dialog-copy p { font-size: 14px; line-height: 1.75; }
.dialog-navigation span { font-size: var(--t-sm); font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Pantallas intermedias
   ========================================================================== */
@media (max-width: 1050px) {
  .section { padding-top: 88px; padding-bottom: 92px; }
  .paintings { padding-top: 48px; }
  .painting-placeholder { min-height: 360px; padding: 52px 20px 24px; }
  .placeholder-caption { font-size: 12px; }
  .works-grid { gap: 64px 28px; }
  .exhibition-feature { padding: 40px; }
  .exhibition-year > strong { font-size: 150px; }
  .timeline > a { grid-template-columns: 72px 1fr 130px 22px; }
}

/* ==========================================================================
   Móvil (el menú en una fila sigue intacto desde style.css)
   ========================================================================== */
@media (max-width: 720px) {
  .logo-pattern { opacity: .018; }
  .section { padding-top: 64px; padding-bottom: 68px; }
  .paintings { padding-top: 36px; }
  .concept-bar, .concept-bar > span { font-size: 10px; }

  .hero { padding-top: 28px; padding-bottom: 44px; }
  .hero-meta { font-size: var(--t-xs); }
  .hero-logo { width: 200px; height: 200px; margin: 28px auto 24px; }
  .hero-tagline { font-size: 19px; }
  .explore-link { font-size: 12px; padding-top: 24px; }

  .eyebrow, .small-meta { font-size: 12px; }
  .section-top { margin-bottom: 14px; }
  .section-top .eyebrow b { margin-right: 10px; }
  h2 { font-size: 42px; letter-spacing: -.03em; }
  .section-heading { gap: 16px; margin-bottom: 36px; }
  .section-heading > p { font-size: var(--t-md); }
  .content-note { font-size: 12px; }

  .paintings-grid { gap: 10px; }
  .painting-placeholder { min-height: 200px; padding: 34px 8px 14px; }
  .painting-placeholder:nth-child(2) { margin-top: 26px; margin-bottom: -26px; }
  .placeholder-frame { width: 78%; box-shadow: 0 0 0 5px #0d0d0e, 0 0 0 6px var(--gilt-faint); }
  .placeholder-frame img { width: 80%; }
  .placeholder-number { font-size: var(--t-xs); top: 10px; left: 10px; }
  .placeholder-caption { font-size: 10px; margin-top: 20px; line-height: 1.4; }
  .paintings .content-note { margin-top: 56px; }

  .works-grid { gap: 44px; }
  .works-grid > .work-card:last-child .work-image img { aspect-ratio: 3 / 2; }
  .work-image { padding: 7px; }
  .work-arrow { right: 16px; bottom: 16px; height: 34px; width: 34px; font-size: 16px; }
  .work-caption { padding-top: 16px; }
  .work-caption h3 { font-size: 17px; }
  .work-caption p { font-size: var(--t-sm); }
  .work-num { font-size: 12px; }

  .exhibition-feature { padding: 28px; gap: 22px; }
  .exhibition-year > span:last-child, .exhibition-year > .eyebrow { font-size: 12px; }
  .exhibition-category { font-size: 12px; }
  .exhibition-info h3 { font-size: 32px; }
  .exhibition-info .exhibition-description { font-size: 14px; }
  .exhibition-info .text-link { font-size: var(--t-sm); }
  .archive-caption { margin-top: 48px; }
  .archive-caption > span:last-child { font-size: 12px; max-width: none; }
  .timeline > a { grid-template-columns: 56px 1fr 20px; padding: 24px 0; }
  .timeline > a > span:first-child { font-size: 12px; }
  .timeline h3 { font-size: 18px; }
  .timeline p { font-size: var(--t-sm); }
  .timeline-type { font-size: 12px; margin-top: 0; }

  .demo-note { font-size: 12px; }
  .filters { gap: 18px; }
  .filters button { font-size: var(--t-sm); }
  .country-select { font-size: 12px; }
  .country-select select { font-size: 14px; }
  .map-instruction { font-size: var(--t-xs); }
  .map-panel h3 { font-size: 24px; }
  .map-footnote { font-size: var(--t-xs); }

  .contact h2 { font-size: 44px; letter-spacing: -.035em; }
  .contact-bottom p, .contact-bottom .text-link { font-size: 14px; }
  .artist-details-inner p { font-size: 14px; }
  .artist-details-inner h3 { font-size: 24px; }

  .footer-line > span, .footer-line > a:last-child { font-size: 12px; }
  .footer-note { font-size: 10px; }

  .dialog-copy h2 { font-size: 26px; }
}

/* ==========================================================================
   Selector de idioma
   Escritorio: a la derecha del menú. Móvil: en la banda del logo, para que
   los cinco enlaces sigan en una sola fila.
   ========================================================================== */
.lang-switch { position: relative; flex: 0 0 auto; margin-left: 30px; }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 2px;
  background: none;
  border: 0;
  color: #b8b8b2;
  font: 600 12px/1 var(--font);
  letter-spacing: .08em;
  cursor: pointer;
}
.lang-toggle::after {
  content: "";
  width: 5px;
  height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s var(--ease);
}
.lang-toggle[aria-expanded="true"]::after { transform: translateY(1px) rotate(225deg); }
.lang-toggle:hover, .lang-toggle[aria-expanded="true"] { color: var(--ink); }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  margin: 0;
  padding: 6px 0;
  list-style: none;
  min-width: 176px;
  background: #111112;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
  z-index: 1100;
}
.lang-menu button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 42px;
  padding: 0 16px;
  background: none;
  border: 0;
  color: #b8b8b2;
  font: 500 14px/1 var(--font);
  text-align: left;
  cursor: pointer;
}
.lang-menu button span { font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--muted); }
.lang-menu button:hover, .lang-menu button:focus-visible { color: var(--ink); background: #19191b; }
.lang-menu button:focus-visible { outline: 2px solid var(--gilt); outline-offset: -2px; }
.lang-menu button[aria-current="true"] { color: var(--ink); box-shadow: inset 2px 0 0 var(--gilt); }
.lang-menu button[aria-current="true"] span { color: var(--gilt); }
.country-select > span { white-space: nowrap; }

@media (min-width: 721px) {
  .site-header nav { margin-left: auto; }
}
@media (min-width: 721px) and (max-width: 1050px) {
  .lang-switch { margin-left: 20px; }
}
@media (max-width: 720px) {
  .lang-switch { position: absolute; top: 8px; right: 16px; margin: 0; }
  .lang-toggle { min-height: 32px; font-size: 11px; }
  .lang-menu { top: calc(100% + 4px); }
}

/* Palabras largas (alemán, francés) en pantallas muy estrechas */
@media (max-width: 400px) {
  .contact h2 { font-size: clamp(34px, 11.4vw, 44px); }
  .contact-row { gap: 14px; }
  .contact-row h2 { min-width: 0; }
}

/* ==========================================================================
   Versión 3 — rendimiento, móvil y acabado
   1. Pinturas abren el recorrido (01); murales siguen (02).
   2. Estados de carga en fotos y mapa.
   3. Movimiento breve (≤ 600 ms), solo con prefers-reduced-motion: no-preference.
   4. Móvil: objetivos táctiles ≥ 40 px, sin scroll anidado en el panel del mapa.
   ========================================================================== */

/* ---------- Ritmo: la primera sección tras la portada va más pegada ---------- */
.paintings { padding-top: 64px; }
.murals { padding-top: 112px; }
.section + .section { border-top: 1px solid var(--line); }

/* ---------- Fotos: marco visible mientras carga ---------- */
.work-image::before {
  content: "";
  position: absolute;
  inset: 12px;
  background: linear-gradient(100deg, #111112 30%, #18181a 50%, #111112 70%) 0 0 / 300% 100%;
  z-index: 0;
}
.work-image img { opacity: 0; transition: opacity .6s var(--ease), transform .8s var(--ease); }
.work-image.is-loaded img { opacity: 1; }
.work-image.is-loaded::before { background: #111112; }
.work-image.is-broken::after {
  content: attr(data-error);
  position: absolute;
  inset: 12px;
  display: grid;
  place-items: center;
  font-size: var(--t-sm);
  color: var(--muted);
  z-index: 1;
}
.work-card button { cursor: zoom-in; }

/* ---------- Biografía siempre visible ---------- */
.artist-details { padding-top: 40px; }
.artist-label { display: block; margin-bottom: 28px; }
.artist-details-inner { padding-top: 0; align-items: start; }
.artist-details-inner img { border: 1px solid var(--gilt-faint); padding: 8px; background: #0d0d0e; }

/* ---------- Mapa: carga y aviso ---------- */
.map-container:not(.is-ready) #world-map {
  background: linear-gradient(100deg, #141516 30%, #1a1b1d 50%, #141516 70%) 0 0 / 300% 100%;
}
.map-container:not(.is-ready) .reset-map { visibility: hidden; }
.map-instruction.is-loading::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--gilt);
  vertical-align: middle;
}
.leaflet-container { font-family: var(--font); }
.leaflet-bar a { width: 40px !important; height: 40px !important; line-height: 40px !important; }
.filters button[aria-pressed="true"] { color: var(--ink); }

/* ---------- Lightbox ---------- */
#dialog-img { opacity: 1; }
#dialog-img:not(.is-ready) { opacity: 0; }

.dialog-navigation button:hover { border-color: var(--gilt); color: var(--gilt); }
.dialog-navigation button, .dialog-close { transition: border-color .2s var(--ease), color .2s var(--ease); }
.dialog-close:hover { border-color: var(--gilt); }

/* ---------- Movimiento ---------- */
@media (prefers-reduced-motion: no-preference) {
  .work-image:not(.is-loaded)::before,
  .map-container:not(.is-ready) #world-map { animation: v3-shimmer 1.6s linear infinite; }
  .map-instruction.is-loading::before { animation: v3-pulse 1s ease-in-out infinite alternate; }

  .reveal { opacity: 0; transform: translateY(18px); }
  .reveal.is-in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .works-grid > .reveal.is-in:nth-child(even),
  .paintings-grid > .reveal.is-in:nth-child(2) { transition-delay: .08s; }
  .paintings-grid > .reveal.is-in:nth-child(3) { transition-delay: .16s; }

  #dialog-img { transition: opacity .35s var(--ease); }
  dialog[open] { animation: v3-dialog .32s var(--ease); }
  dialog[open]::backdrop { animation: v3-fade-in .32s var(--ease); }

  .work-arrow { transition: background .25s, transform .4s var(--ease); }
  .work-card button:hover .work-arrow { transform: translate(2px, -2px); }
  .timeline-arrow, .exhibition-arrow { transition: transform .35s var(--ease), color .35s var(--ease); }
  .timeline a:hover .timeline-arrow, .exhibition-feature:hover .exhibition-arrow { transform: translate(3px, -3px); }
  .round-link > * , .round-link { transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease); }
  .round-link:hover { transform: rotate(-8deg); }
  .location-row > span:last-child { transition: transform .3s var(--ease), color .3s; }
  .location-row:hover > span:last-child { transform: translate(2px, -2px); }
}
@keyframes v3-shimmer { to { background-position: -150% 0; } }
@keyframes v3-pulse { from { opacity: .35; } }
@keyframes v3-dialog { from { opacity: 0; transform: translateY(12px) scale(.985); } }
@keyframes v3-fade-in { from { opacity: 0; } }

/* Hover solo donde hay ratón: evita estados «pegados» al tocar en móvil. */
@media (hover: none) {
  .work-card button:hover img { transform: none; }
  .round-link:hover { background: none; color: inherit; transform: none; }
}

/* ---------- Pantallas intermedias ---------- */
@media (max-width: 1050px) {
  .paintings { padding-top: 48px; }
  .murals { padding-top: 88px; }
}

/* ---------- Móvil ---------- */
@media (max-width: 720px) {
  .paintings { padding-top: 36px; }
  .murals { padding-top: 64px; }
  .work-image::before, .work-image.is-broken::after { inset: 7px; }

  /* Textos mínimos legibles */
  .concept-bar, .concept-bar > span { font-size: 11px; }
  .placeholder-caption, .demo-pill { font-size: 11px; }
  .footer-note { font-size: 11px; }

  /* Menú: objetivos táctiles más altos sin romper la fila única */
  .site-header nav > a, .site-header nav > a:last-child { min-height: 40px; }
  .lang-toggle { min-height: 40px; }
  .lang-switch { top: 4px; }

  /* Panel del mapa: crece con su contenido; nada de scroll dentro del scroll */
  .map-panel { max-height: none; overflow: visible; }
  .map-container { min-height: 360px; }
  .map-instruction { bottom: 14px; }

  .artist-details { padding-top: 28px; }
  .artist-label { margin-bottom: 20px; }
  .artist-details-inner img { width: 168px; }

  .dialog-copy { padding: 24px 22px 22px; }
  .dialog-navigation { position: sticky; bottom: 0; background: var(--surface); padding-bottom: 4px; }
}
.demo-pill { font-size: 11px; }
@media (max-width: 720px) {
  .site-header nav > a, .site-header nav > a:last-child { font-size: clamp(11px, 3.1vw, 13px); }
  .brand > span { font-size: 11px; }
}

/* ---------- Mapa: fondo CARTO Dark Matter ---------- */
.leaflet-tile-pane { filter: none; opacity: .9; }
.map-container.tiles-osm .leaflet-tile-pane { filter: grayscale(1) invert(.94) contrast(.9); opacity: .55; }
.map-container #world-map, .leaflet-container { background: #0e0e0f; }

/* ==========================================================================
   Tipografía «Cartel mural» — Archivo
   Títulos en ancho expandido (wdth 125) y peso fuerte, como un cartel en el muro.
   Texto de lectura, menú y controles en Archivo de ancho normal.
   ========================================================================== */
body { font-family: var(--font); font-stretch: 100%; }
h2, h3,
.hero-tagline,
.exhibition-year > strong,
.round-link,
.brand > span {
  font-stretch: 125%;
}
h2 { font-weight: 800; letter-spacing: -.025em; line-height: 1; }
h2 > span { color: var(--gilt); }
.hero-tagline { font-weight: 300; letter-spacing: -.01em; }
.hero-tagline strong { font-family: var(--display); font-weight: 700; }
.contact h2 { font-weight: 300; letter-spacing: -.03em; }
.contact h2 strong { font-weight: 800; }
.work-caption h3, .timeline h3, .location-row strong { font-weight: 650; letter-spacing: -.01em; }
.exhibition-info h3, .dialog-copy h2, .artist-details-inner h3, .map-panel h3 { font-weight: 750; letter-spacing: -.02em; }
.exhibition-year > strong { font-weight: 200; letter-spacing: -.05em; }
.brand > span { font-weight: 800; letter-spacing: .04em; }

/* Menú y controles: ancho normal, peso medio, tracking neutro */
.site-header nav > a, .lang-toggle, .lang-menu button, .filters button, .country-select, .reset-map, .text-link, .eyebrow {
  font-stretch: 100%;
}
.site-header nav > a { font-weight: 500; letter-spacing: .005em; }
.site-header nav > a[aria-current="location"] { font-weight: 600; }

@media (max-width: 720px) {
  h2 { font-size: clamp(32px, 10vw, 42px); }
  .contact h2 { font-size: clamp(30px, 9.6vw, 44px); }
  .exhibition-info h3 { font-size: 28px; }
  .hero-tagline { font-size: 18px; }
}

/* ==========================================================================
   Barrido al navegar por el menú (View Transitions)
   La cabecera queda fija; el contenido se funde y se desplaza unos píxeles
   en la dirección del salto (sin desenfoque). Salida 150 ms ease-in, entrada 200 ms ease-out.
   ========================================================================== */
.site-header { view-transition-name: site-header; }
.no-transition { transition: none !important; }
::view-transition-group(site-header) { animation: none; }
::view-transition-old(site-header), ::view-transition-new(site-header) { animation: none; }
::view-transition-old(root) { animation: v3-sweep-out 150ms cubic-bezier(.7, 0, .84, 0) both; }
::view-transition-new(root) { animation: v3-sweep-in 200ms cubic-bezier(.16, 1, .3, 1) 100ms both; }
[data-sweep="up"]::view-transition-old(root) { animation-name: v3-sweep-out-up; }
[data-sweep="up"]::view-transition-new(root) { animation-name: v3-sweep-in-up; }
@keyframes v3-sweep-out    { to   { opacity: 0; transform: translateY(-4px); } }
@keyframes v3-sweep-in     { from { opacity: 0; transform: translateY(4px); } }
@keyframes v3-sweep-out-up { to   { opacity: 0; transform: translateY(4px); } }
@keyframes v3-sweep-in-up  { from { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* Barrido también al cambiar de página (View Transitions entre documentos). */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ==========================================================================
   Páginas por sección (pinturas.html, murales.html…)
   Misma cabecera y pie que la portada; la sección abre la página.
   ========================================================================== */
.site-header nav > a[aria-current="page"] { color: var(--ink); font-weight: 600; }
@media (min-width: 721px) { .site-header nav > a[aria-current="page"]::after { transform: scaleX(1); } }
@media (max-width: 720px) { .site-header nav > a[aria-current="page"]::after { transform: scaleX(1); } }
.section.page-section { padding-top: 72px; min-height: calc(100vh - var(--header-height, 86px) - 120px); }
.page-pager {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 8px;
  padding-bottom: 72px;
}
.page-pager .text-link b { font-weight: 600; }
@media (max-width: 720px) {
  .section.page-section { padding-top: 40px; }
  .page-pager { padding-bottom: 48px; }
}

/* ==========================================================================
   Pinturas con marco barroco
   Cada imagen trae su propio marco, construido a la medida de la pintura
   (assets/<id>-framed-600|1000.webp). La tarjeta solo aporta sombra y leyenda.
   ========================================================================== */
.paintings-grid { gap: 64px 48px; align-items: center; }
.paintings-grid > .painting-card:nth-child(3n+2) { margin-top: 0; }
.paintings-grid .painting-card .work-image,
.paintings-grid .painting-card button:hover .work-image,
.paintings-grid .painting-card button:focus-visible .work-image { padding: 0; border: 0; background: none; }
.paintings-grid .painting-card .work-image::before { inset: 6%; background: #111112; }
.paintings-grid .painting-card .work-image.is-loaded::before { background: none; }
.paintings-grid .painting-card .work-image.is-broken::after { inset: 6%; }
.paintings-grid .painting-card .work-image img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: initial;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .6));
}
.paintings-grid .painting-card button:hover img,
.paintings-grid .painting-card button:focus-visible img { transform: scale(1.025); }
.paintings-grid .painting-card .work-arrow { right: 9%; bottom: 9%; opacity: 0; transition: opacity .3s var(--ease); }
.paintings-grid .painting-card button:hover .work-arrow,
.paintings-grid .painting-card button:focus-visible .work-arrow { opacity: 1; }
.paintings-grid .painting-card .work-caption { justify-content: center; text-align: center; padding-top: 18px; }
.paintings-grid .painting-card .work-caption > div { display: flex; flex-direction: column; align-items: center; }
.paintings-grid .painting-card .work-num { display: none; }
@media (max-width: 1050px) {
  .paintings-grid { gap: 48px 28px; }
}
@media (max-width: 720px) {
  .paintings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 14px; }
  .paintings-grid > .painting-card:nth-child(3n+2) { margin-top: 0; }
  .paintings-grid .painting-card .work-caption { padding-top: 10px; }
  .paintings-grid .painting-card .work-caption h3 { font-size: 13px; line-height: 1.3; }
  .paintings-grid .painting-card .work-caption p { font-size: 11px; margin-top: 2px; }
  .paintings-grid .painting-card .work-arrow { display: none; }
}
@media (hover: none) { .paintings-grid .painting-card .work-arrow { display: none; } }
/* La última pintura, si queda sola en su fila, va al centro. */
@media (min-width: 721px) { .paintings-grid > .painting-card:last-child:nth-child(3n+1) { grid-column: 2; } }
@media (max-width: 720px) { .paintings-grid > .painting-card:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 7px); margin: 0 auto; } }

/* Firma de Sr. Papachango en la cabecera (sustituye al texto). */
.site-header .brand { gap: 12px; }
.site-header .brand img.brand-signature { width: auto; height: 58px; object-fit: contain; }
@media (max-width: 720px) {
  .site-header .brand { gap: 8px; }
  .site-header .brand img.brand-signature { width: auto; height: 38px; }
}

/* Tienda (enlace externo a Big Cartel), después de Contacto. */
.site-header nav > a.nav-shop { gap: 6px; }
.site-header nav > a.nav-shop > span { font-size: .9em; color: var(--gilt); }
/* Con 6 enlaces, en pantallas muy estrechas el menú pasa a dos líneas en vez de desbordarse. */
@media (max-width: 380px) {
  .site-header nav { flex-wrap: wrap; justify-content: center; column-gap: 12px; row-gap: 0; }
}

/* ==========================================================================
   Tipografía de títulos — Imbue (OFL, Etcetera Type Co.)
   Didona estrecha de alto contraste, variable en peso y tamaño óptico, con
   acentos completos. Sustituye a Brozeri (comercial y sin acentos).
   «Bold» de títulos = peso 450; «Regular» de frases de entrada = peso 120.
   Menú, etiquetas y texto de lectura siguen en Archivo.
   ========================================================================== */
@font-face { font-family: "Imbue"; src: url("assets/imbue-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Imbue"; src: url("assets/imbue-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root { --display: "Imbue", Georgia, serif; --display-light: "Imbue", Georgia, serif; --display-bold: 450; --display-regular: 120; }

/* Bold — títulos */
h2,
.work-caption h3,
.exhibition-info h3,
.timeline h3,
.map-panel h3,
.dialog-copy h2,
.artist-details-inner h3,
.exhibition-year > strong {
  font-family: var(--display);
  font-weight: var(--display-bold);
  font-stretch: normal;
  font-optical-sizing: auto;
  letter-spacing: 0;
}
h2 { font-size: clamp(52px, 6.4vw, 100px); line-height: .98; }
h2 > span { color: var(--gilt); }
.work-caption h3 { font-size: 26px; line-height: 1.1; }
.paintings-grid .painting-card .work-caption h3 { font-size: 26px; letter-spacing: .01em; }
.exhibition-info h3 { font-size: clamp(40px, 4.4vw, 64px); line-height: 1; }
.timeline h3 { font-size: 26px; line-height: 1.1; }
.map-panel h3 { font-size: 32px; line-height: 1.05; }
.dialog-copy h2 { font-size: 46px; line-height: 1; }
.artist-details-inner h3 { font-size: 36px; line-height: 1.05; }
.exhibition-year > strong { font-size: 190px; letter-spacing: 0; }

/* Regular — frases de entrada y titulares secundarios */
.section-heading > p,
.hero-tagline,
.contact h2 {
  font-family: var(--display-light);
  font-weight: var(--display-regular);
  font-stretch: normal;
  font-optical-sizing: auto;
  letter-spacing: .01em;
}
.section-heading > p { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.12; color: #b9b4a8; max-width: 22ch; }
.hero-tagline { font-size: clamp(30px, 3vw, 42px); line-height: 1.1; }
.hero-tagline strong { font-family: var(--display); font-weight: var(--display-bold); }
.contact h2 { font-size: clamp(56px, 7.6vw, 120px); line-height: 1; }
.contact h2 strong { font-family: var(--display); font-weight: var(--display-bold); }

@media (max-width: 720px) {
  h2 { font-size: clamp(46px, 14vw, 60px); }
  .section-heading > p { font-size: 22px; }
  .hero-tagline { font-size: 28px; }
  .contact h2 { font-size: clamp(44px, 13vw, 60px); }
  .work-caption h3 { font-size: 22px; }
  .paintings-grid .painting-card .work-caption h3 { font-size: 19px; }
  .exhibition-info h3 { font-size: 38px; }
  .timeline h3 { font-size: 22px; }
  .dialog-copy h2 { font-size: 36px; }
}

/* Toda la web en Imbue para que la tipografía sea homogénea (menú, etiquetas, texto y botones).
   Imbue es más estrecha que Archivo: el texto corrido sube un poco de tamaño. */
:root { --font: "Imbue", Georgia, serif; }
body, button, select, input, textarea { font-optical-sizing: auto; font-stretch: normal; }
body { font-size: 16px; font-size-adjust: ex-height 0.62; }
/* Imbue es estrecha: el texto pequeño (menú, etiquetas, lectura) se escala ~1,2× con
   font-size-adjust; los títulos ya están dimensionados para Imbue y no se ajustan. */
h2, .work-caption h3, .exhibition-info h3, .timeline h3, .map-panel h3, .dialog-copy h2,
.artist-details-inner h3, .exhibition-year > strong, .section-heading > p, .hero-tagline, .contact h2 { font-size-adjust: none; }
/* Las flechas de Imbue son muy pequeñas: la flecha de «Explorar la obra» usa la de Archivo. */
.explore-link > span { font-family: Archivo, Arial, sans-serif; font-size-adjust: none; }

/* ==========================================================================
   Murales — fotografías completas (sin recorte) y marco propio, distinto del
   barroco de las pinturas. Tres variantes en la rejilla #works-grid:
   .frame-visor (por defecto): esquinas doradas de visor de cámara.
   .frame-cartela: paspartú oscuro con filete dorado y cartela de museo.
   .frame-postal: borde de papel, como fotos de viaje.
   ========================================================================== */
.works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px 48px; align-items: center; }
.works-grid > .work-card:nth-child(n),
.works-grid > .work-card:last-child { width: auto; margin: 0; grid-column: auto; }
.works-grid > .work-card:nth-child(n) .work-image img,
.works-grid > .work-card:last-child .work-image img { aspect-ratio: auto; height: auto; object-fit: initial; }
.works-grid > .work-card:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 24px); margin: 0 auto; }
.works-grid .work-caption h3 { font-size: 30px; }

/* Visor */
.works-grid.frame-visor .work-image,
.works-grid.frame-visor .work-card button:hover .work-image,
.works-grid.frame-visor .work-card button:focus-visible .work-image {
  --c: var(--gilt); --l: 34px; --t: 2px;
  padding: 18px; border: 0;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) var(--t),
    linear-gradient(var(--c), var(--c)) top left / var(--t) var(--l),
    linear-gradient(var(--c), var(--c)) top right / var(--l) var(--t),
    linear-gradient(var(--c), var(--c)) top right / var(--t) var(--l),
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) var(--t),
    linear-gradient(var(--c), var(--c)) bottom left / var(--t) var(--l),
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) var(--t),
    linear-gradient(var(--c), var(--c)) bottom right / var(--t) var(--l);
  background-repeat: no-repeat;
}
.works-grid.frame-visor .work-card button:hover .work-image,
.works-grid.frame-visor .work-card button:focus-visible .work-image { --c: var(--ink); --l: 44px; }
@media (prefers-reduced-motion: no-preference) { .works-grid.frame-visor .work-image { transition: background-size .4s var(--ease); } }
.works-grid.frame-visor .work-image::before,
.works-grid.frame-visor .work-image.is-broken::after { inset: 18px; }
.works-grid.frame-visor .work-card button:hover img,
.works-grid.frame-visor .work-card button:focus-visible img { transform: none; }
.works-grid.frame-visor .work-caption { padding: 14px 18px 0; }
.works-grid.frame-visor .work-caption p::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gilt); margin-right: 8px; vertical-align: middle; }

/* Cartela de museo */
.works-grid.frame-cartela .work-image,
.works-grid.frame-cartela .work-card button:hover .work-image { padding: 16px; background: #0f0f10; border: 1px solid var(--gilt-line); box-shadow: 0 0 0 6px #0b0b0c, 0 0 0 7px var(--gilt-faint); }
.works-grid.frame-cartela .work-image::before { inset: 16px; }
.works-grid.frame-cartela .work-card button:hover img { transform: none; }
.works-grid.frame-cartela .work-caption { display: inline-flex; gap: 28px; margin-top: 22px; padding: 12px 18px; border: 1px solid var(--line); background: #111112; }

/* Postal */
.works-grid.frame-postal .work-card button { background: #ebe5d7; padding: 12px 12px 4px; box-shadow: 0 18px 30px rgba(0,0,0,.45); }
.works-grid.frame-postal > .work-card:nth-child(odd) button { transform: rotate(-.6deg); }
.works-grid.frame-postal > .work-card:nth-child(even) button { transform: rotate(.6deg); }
.works-grid.frame-postal .work-image,
.works-grid.frame-postal .work-card button:hover .work-image { padding: 0; border: 0; background: #ddd6c6; }
.works-grid.frame-postal .work-image::before { inset: 0; }
.works-grid.frame-postal .work-card button:hover img { transform: none; }
.works-grid.frame-postal .work-caption { padding: 12px 6px 10px; color: #1a1816; }
.works-grid.frame-postal .work-caption p, .works-grid.frame-postal .work-num { color: #5d574d; }

@media (max-width: 720px) {
  .works-grid { grid-template-columns: 1fr; gap: 48px; }
  .works-grid > .work-card:last-child:nth-child(odd) { width: auto; }
  .works-grid .work-caption h3 { font-size: 24px; }
  .works-grid.frame-visor .work-image { --l: 24px; padding: 12px; }
  .works-grid.frame-visor .work-image::before { inset: 12px; }
  .works-grid.frame-visor .work-caption { padding: 10px 12px 0; }
}

/* Postal barroca suave: papel crema con filete doble y volutas finas en las esquinas
   (assets/marco-postal.svg, 9 partes con border-image). Ligero giro alterno. */
.works-grid.frame-postal-barroca .work-card button { position: relative; background: linear-gradient(135deg, #d9bd78 0%, #c4a25a 38%, #b8954e 62%, #cdb06a 100%); padding: 38px 38px 34px; box-shadow: 0 18px 30px rgba(0,0,0,.45); }
.works-grid.frame-postal-barroca .work-card button::after {
  content: ""; position: absolute; inset: 4px; pointer-events: none; z-index: 2;
  border: 42px solid transparent;
  border-image: url("assets/marco-postal.svg") 40 / 42px stretch;
}
.works-grid.frame-postal-barroca > .work-card:nth-child(odd) button { transform: rotate(-.6deg); }
.works-grid.frame-postal-barroca > .work-card:nth-child(even) button { transform: rotate(.6deg); }
@media (prefers-reduced-motion: no-preference) {
  .works-grid.frame-postal-barroca .work-card button { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
  .works-grid.frame-postal-barroca .work-card button:hover,
  .works-grid.frame-postal-barroca .work-card button:focus-visible { transform: rotate(0) translateY(-4px); box-shadow: 0 26px 40px rgba(0,0,0,.55); }
}
.works-grid.frame-postal-barroca .work-image,
.works-grid.frame-postal-barroca .work-card button:hover .work-image,
.works-grid.frame-postal-barroca .work-card button:focus-visible .work-image { padding: 0; border: 0; background: #1a1712; box-shadow: 0 0 0 1px #8a6b2e; }
.works-grid.frame-postal-barroca .work-image::before { inset: 0; }
.works-grid.frame-postal-barroca .work-card button:hover img { transform: none; }
.works-grid.frame-postal-barroca .work-caption { padding: 14px 4px 0; color: #1f170a; justify-content: center; text-align: center; }
.works-grid.frame-postal-barroca .work-caption p { color: #4a3816; }
.works-grid.frame-postal-barroca .work-num { display: none; }
@media (max-width: 720px) {
  .works-grid.frame-postal-barroca .work-card button { padding: 28px 28px 26px; }
  .works-grid.frame-postal-barroca .work-card button::after { inset: 3px; border-width: 30px; border-image: url("assets/marco-postal.svg") 40 / 30px stretch; }
}

/* Postal sencilla: misma idea que la postal (borde, leyenda dentro, giro leve),
   en tono oscuro con un solo filete dorado fino. Sin ornamentos. */
.works-grid.frame-postal-simple .work-card button { position: relative; background: #151413; padding: 22px 22px 18px; box-shadow: 0 18px 30px rgba(0,0,0,.5); }
.works-grid.frame-postal-simple .work-card button::after { content: ""; position: absolute; inset: 9px; border: 1px solid var(--gilt-line); pointer-events: none; z-index: 2; }
.works-grid.frame-postal-simple > .work-card:nth-child(odd) button { transform: rotate(-.6deg); }
.works-grid.frame-postal-simple > .work-card:nth-child(even) button { transform: rotate(.6deg); }
@media (prefers-reduced-motion: no-preference) {
  .works-grid.frame-postal-simple .work-card button { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
  .works-grid.frame-postal-simple .work-card button::after { transition: border-color .5s var(--ease); }
  .works-grid.frame-postal-simple .work-card button:hover,
  .works-grid.frame-postal-simple .work-card button:focus-visible { transform: rotate(0) translateY(-4px); box-shadow: 0 26px 40px rgba(0,0,0,.6); }
}
.works-grid.frame-postal-simple .work-card button:hover::after,
.works-grid.frame-postal-simple .work-card button:focus-visible::after { border-color: var(--gilt); }
.works-grid.frame-postal-simple .work-image,
.works-grid.frame-postal-simple .work-card button:hover .work-image,
.works-grid.frame-postal-simple .work-card button:focus-visible .work-image { padding: 0; border: 0; background: #0e0e0f; }
.works-grid.frame-postal-simple .work-image::before { inset: 0; }
.works-grid.frame-postal-simple .work-card button:hover img { transform: none; }
.works-grid.frame-postal-simple .work-caption { padding: 14px 4px 0; justify-content: center; text-align: center; }
.works-grid.frame-postal-simple .work-num { display: none; }
@media (max-width: 720px) {
  .works-grid.frame-postal-simple .work-card button { padding: 16px 16px 12px; }
  .works-grid.frame-postal-simple .work-card button::after { inset: 6px; }
}

/* ==========================================================================
   Portada con la firma (2026-11-25): firma grande en lugar del logo redondo
   y una pared de cinco pinturas enmarcadas que lleva a #pinturas.
   El logo redondo pasa a ser el botón de inicio de la cabecera.
   ========================================================================== */
.site-header .brand img.brand-logo { width: 62px; height: 62px; border-radius: 50%; }
@media (prefers-reduced-motion: no-preference) {
  .site-header .brand img.brand-logo { transition: transform .4s var(--ease); }
  .site-header .brand:hover img.brand-logo { transform: rotate(-8deg) scale(1.05); }
}
.hero { padding-bottom: 56px; text-align: center; }
.hero-signature { display: block; width: min(560px, 80vw); height: auto; margin: 28px auto 6px; }
.hero .hero-tagline { margin: 0 auto 40px; }
.hero-wall { display: flex; justify-content: center; align-items: center; gap: 22px; margin: 0 0 36px; }
.hero-wall img { width: 15%; min-width: 0; height: auto; filter: drop-shadow(0 18px 24px rgba(0,0,0,.6)); }
.hero-wall img:nth-child(2), .hero-wall img:nth-child(4) { width: 16.5%; }
.hero-wall img:nth-child(3) { width: 19%; }
.hero-wall:focus-visible { outline: 2px solid var(--gilt); outline-offset: 10px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-signature { animation: v2-rise 1s var(--ease) both; }
  .hero-wall img { animation: v2-rise .9s var(--ease) both; transition: transform .4s var(--ease); }
  .hero-wall img:nth-child(1) { animation-delay: .35s; } .hero-wall img:nth-child(2) { animation-delay: .25s; }
  .hero-wall img:nth-child(3) { animation-delay: .15s; } .hero-wall img:nth-child(4) { animation-delay: .25s; }
  .hero-wall img:nth-child(5) { animation-delay: .35s; }
  .hero-wall:hover img { transform: translateY(-4px); }
}
@media (max-width: 720px) {
  .site-header .brand img.brand-logo { width: 44px; height: 44px; }
  .hero { padding-bottom: 40px; }
  .hero-signature { width: 78vw; margin-top: 20px; }
  .hero-wall { gap: 8px; margin-bottom: 26px; }
  .hero-wall img:nth-child(1), .hero-wall img:nth-child(5) { display: none; }
  .hero-wall img:nth-child(2), .hero-wall img:nth-child(4) { width: 25%; }
  .hero-wall img:nth-child(3) { width: 30%; }
}

/* ==========================================================================
   Series (2026-11-25): misma rejilla y marco oscuro que Pinturas.
   Mientras no hay imágenes, marcos vacíos con «Próximamente» en el lienzo.
   ========================================================================== */
.series-empty .work-image { position: relative; }
.series-empty .series-soon {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--display); font-weight: var(--display-regular); font-size: clamp(18px, 2vw, 26px);
  color: rgba(239, 233, 221, .55); letter-spacing: .02em; pointer-events: none; z-index: 2;
}
.series-empty .work-caption h3 { color: var(--muted); }
@media (max-width: 720px) { .series-empty .series-soon { font-size: 15px; } }

/* ==========================================================================
   Filas de cuadros (2026-11-27) — Pinturas y Series.
   Dos verticales juntas a la misma altura; las horizontales solas debajo,
   un poco más altas (×1,15). app.js (frameRows) arma las filas y pone
   --a (proporción del cuadro enmarcado) y --sum (suma de la fila).
   ========================================================================== */
.paintings-grid.frame-rows {
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(44px, 6vw, 96px);
  container-type: inline-size;
  --rh: 500px; --g: clamp(16px, 4vw, 72px);
}
.frame-rows .frame-row { display: flex; justify-content: center; align-items: flex-start; gap: var(--g); width: 100%; }
.frame-rows .frame-cell { flex: none; --k: 1; --gg: var(--g);
  width: calc(min(var(--rh) * var(--k), (100cqw - var(--gg)) / var(--sum)) * var(--a)); }
.frame-rows .is-wide .frame-cell { --k: 1.15; --gg: 0px; }
.frame-rows .frame-cell > .work-card { width: 100%; margin: 0; }
@media (max-width: 1050px) { .paintings-grid.frame-rows { --rh: 420px; } }
@media (max-width: 720px) {
  .paintings-grid.frame-rows { --g: 14px; gap: 40px; }
  .frame-rows .work-caption h3 { font-size: 18px; }
}

/* Cabecera y portada con los logos nuevos (2026-11-27). */
.site-header .brand img.brand-logo { border-radius: 50%; }
.hero-signature.hero-wordmark { width: min(322px, 48vw); margin: 20px auto 30px; }
@media (max-width: 720px) { .hero-signature.hero-wordmark { width: 47vw; margin-bottom: 22px; } }

/* ==========================================================================
   Cabecera en Montserrat (OFL) — 2026-11-27, a petición del usuario.
   Franja superior, menú, Tienda e idioma. Peso medio y tamaño contenido
   para que no compita con Imbue en títulos y textos.
   ========================================================================== */
@font-face { font-family: "Montserrat"; src: url("assets/montserrat-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; src: url("assets/montserrat-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
.concept-bar, .concept-bar *, .site-header, .site-header * {
  font-family: "Montserrat", Arial, sans-serif; font-size-adjust: none; font-optical-sizing: auto;
}
.site-header nav > a { font-size: 13px; font-weight: 500; letter-spacing: .02em; }
.site-header nav > a[aria-current="page"], .site-header nav > a.is-active { font-weight: 600; }
.site-header nav > a.nav-shop > span { font-size: 12px; }
.site-header .lang-toggle { font-size: 12px; font-weight: 500; letter-spacing: .04em; }
.site-header .lang-menu button { font-size: 13px; font-weight: 400; }
.concept-bar { font-size: 11px; font-weight: 500; letter-spacing: .02em; }
.concept-bar span { font-weight: 400; }
@media (max-width: 720px) {
  .site-header nav > a { font-size: 12px; }
  .concept-bar { font-size: 10.5px; }
}
/* Montserrat es más ancha: en móvil el menú pasa a dos líneas centradas. */
@media (max-width: 600px) {
  .site-header nav { flex-wrap: wrap; justify-content: center; column-gap: 16px; row-gap: 2px; overflow: visible; }
  .site-header nav > a { font-size: 12px; }
}

/* Texto general en Montserrat (2026-11-27). Solo los títulos y frases grandes
   (var(--display): h2, títulos de obra, lema, frases de entrada, «17»…) siguen en Imbue. */
:root { --font: "Montserrat", Arial, sans-serif; }
body { font-family: var(--font); font-size-adjust: none; }
button, select, input, textarea { font-family: inherit; }

/* Móvil (2026-11-27): una obra por fila, todas del mismo ancho (el de las horizontales).
   En escritorio se mantienen las parejas de verticales. */
@media (max-width: 720px) {
  .frame-rows .frame-row { flex-direction: column; align-items: center; gap: 40px; }
  .frame-rows .frame-cell { width: 100%; max-width: 440px; }
}

/* ==========================================================================
   Murales sin marco (2026-11-27): una foto por fila, ancho uniforme (900 px),
   sin tarjeta ni giro; título y lugar centrados debajo. Las fotos verticales
   se reducen para que quepan en la pantalla (máx. 82 % del alto visible).
   ========================================================================== */
.works-grid.mural-list { display: flex; flex-direction: column; align-items: center; gap: clamp(56px, 7vw, 104px); }
.works-grid.mural-list > .work-card,
.works-grid.mural-list > .work-card:nth-child(n),
.works-grid.mural-list > .work-card:last-child { grid-column: auto; margin: 0;
  width: min(900px, 100%, calc(82vh * var(--ma, 1.5))); }
.works-grid.mural-list .work-card button { display: block; width: 100%; padding: 0; background: none; border: 0; box-shadow: none; transform: none; }
.works-grid.mural-list .work-image,
.works-grid.mural-list .work-card button:hover .work-image,
.works-grid.mural-list .work-card button:focus-visible .work-image { padding: 0; border: 0; background: #111112; box-shadow: none; }
.works-grid.mural-list .work-image::before { inset: 0; }
.works-grid.mural-list .work-image img { width: 100%; height: auto; aspect-ratio: auto; object-fit: initial; display: block; }
@media (prefers-reduced-motion: no-preference) {
  .works-grid.mural-list .work-image { overflow: hidden; }
  .works-grid.mural-list .work-image img { transition: transform .8s var(--ease); }
  .works-grid.mural-list .work-card button:hover img { transform: scale(1.02); }
}
.works-grid.mural-list .work-card button:focus-visible { outline: 2px solid var(--gilt); outline-offset: 6px; }
.works-grid.mural-list .work-caption { justify-content: center; text-align: center; padding: 18px 0 0; }
.works-grid.mural-list .work-caption > div { display: flex; flex-direction: column; align-items: center; }
.works-grid.mural-list .work-caption h3 { font-size: 30px; }
.works-grid.mural-list .work-caption p { margin-top: 4px; }
.works-grid.mural-list .work-caption p::before { content: none; }
.works-grid.mural-list .work-num, .works-grid.mural-list .work-arrow { display: none; }
@media (max-width: 720px) {
  .works-grid.mural-list { gap: 44px; }
  .works-grid.mural-list .work-caption { padding-top: 12px; }
  .works-grid.mural-list .work-caption h3 { font-size: 22px; }
}


/* ==========================================================================
   Cabecera móvil (2026-11-27, v2): sin menú desplegable. Fila 1: logo e idioma
   a la misma altura. Fila 2: los enlaces en una sola línea centrada.
   El menú de la cabecera ya no lleva Series ni Mapa (siguen en la portada).
   ========================================================================== */
@media (max-width: 720px) {
  .site-header { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "brand . lang" "nav nav nav";
    align-items: center; gap: 2px 8px; min-height: 0; padding: 8px 16px 6px; }
  .site-header > .brand { grid-area: brand; align-self: center; margin: 0; }
  .site-header .brand img.brand-logo { width: 42px; height: 42px; }
  .site-header .lang-switch { grid-area: lang; position: relative; top: auto; right: auto; margin: 0; align-self: center; }
  .site-header .lang-toggle { min-height: 44px; padding: 0 4px 0 10px; display: inline-flex; align-items: center; }
  .site-header nav, .site-header nav#main-nav { grid-area: nav; display: flex; position: static; width: 100%; max-width: none; margin: 0;
    max-width: 440px; justify-self: center; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 8px; padding: 0; background: none; border: 0; }
  .site-header nav > a, .site-header nav > a:last-child { min-height: 40px; padding: 0; font-size: clamp(11px, 3.1vw, 13px); font-weight: 500; letter-spacing: 0;
    white-space: nowrap; border: 0; display: inline-flex; align-items: center; gap: 3px; }
  .site-header nav > a.nav-shop > span { display: inline; font-size: .85em; }
}
@media (max-width: 360px) { .site-header { padding-left: 12px; padding-right: 12px; } .site-header nav#main-nav { gap: 0 6px; } }

/* ==========================================================================
   Menú con submenú (2026-11-27): Paintings ▾ (Exhibitions, Editions) · Murals ·
   Store · Contact. El enlace Paintings sigue llevando a su página; la flecha
   (o pasar el ratón en escritorio) abre el submenú.
   ========================================================================== */
.site-header nav { overflow: visible; }
.nav-group { position: relative; display: inline-flex; align-items: center; gap: 2px; }
.nav-group > a { position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font-size: 13px; font-weight: 500; letter-spacing: .02em; color: #b8b8b2; white-space: nowrap; }
.nav-group > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 9px; height: 1px; background: var(--gilt);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-group > a:hover, .nav-group > a:focus-visible { color: var(--ink); }
.nav-group > a[aria-current], .nav-group.has-current > a { color: var(--ink); font-weight: 600; }
.nav-group > a[aria-current]::after, .nav-group.has-current > a::after { transform: scaleX(1); }
.nav-sub-toggle { display: inline-grid; place-items: center; width: 28px; height: 32px; margin-right: -6px; padding: 0;
  background: none; border: 0; color: #b8b8b2; cursor: pointer; border-radius: 6px; }
.nav-sub-toggle svg { transition: transform .25s var(--ease); }
.nav-sub-toggle:hover, .nav-group.is-open .nav-sub-toggle { color: var(--ink); }
.nav-sub-toggle:focus-visible { outline: 2px solid var(--gilt); outline-offset: 0; }
.nav-group.is-open .nav-sub-toggle svg { transform: rotate(180deg); }
.nav-sub { display: none; position: absolute; top: calc(100% + 2px); left: -14px; z-index: 30; min-width: 200px;
  flex-direction: column; padding: 6px; background: #0e0e0f; border: 1px solid var(--line); border-radius: 4px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .55); }
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; } /* puente para el ratón */
.nav-group.is-open .nav-sub { display: flex; }
@media (hover: hover) and (min-width: 721px) { .nav-group:hover .nav-sub { display: flex; } .nav-group:hover .nav-sub-toggle svg { transform: rotate(180deg); } }
.nav-sub a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 12px;
  font-size: 14px; font-weight: 500; color: #cfcac0; white-space: nowrap; border-radius: 3px; }
.nav-sub a:hover, .nav-sub a:focus-visible { color: var(--ink); background: #19191b; }
.nav-sub a[aria-current] { color: var(--ink); font-weight: 600; box-shadow: inset 2px 0 0 var(--gilt); }
@media (prefers-reduced-motion: no-preference) { .nav-group.is-open .nav-sub, .nav-group:hover .nav-sub { animation: v2-rise .22s var(--ease) both; } }

@media (max-width: 720px) {
  .nav-group > a { font-size: clamp(11px, 3.1vw, 13px); min-height: 40px; letter-spacing: 0; }
  .nav-group > a::after { bottom: 6px; }
  .nav-sub-toggle { width: 24px; height: 40px; margin-right: -4px; }
  .nav-sub { left: -8px; top: 100%; min-width: 190px; }
  .nav-sub a { font-size: 15px; min-height: 48px; }
}

/* Cabecera móvil en UNA fila (2026-11-27, v3): logo · menú · idioma. */
@media (max-width: 720px) {
  .site-header { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: space-between;
    gap: 10px; min-height: 60px; padding: 8px 14px; }
  .site-header > .brand { flex: none; margin: 0; }
  .site-header .brand img.brand-logo { width: 38px; height: 38px; }
  .site-header nav, .site-header nav#main-nav { flex: 1 1 auto; width: auto; max-width: 400px; margin: 0 auto;
    flex-wrap: nowrap; justify-content: space-between; gap: 0 6px; }
  .site-header nav > a, .site-header nav > a:last-child, .nav-group > a { font-size: clamp(11px, 3vw, 13px); }
  .site-header nav > a.nav-shop > span { font-size: .8em; }
  .nav-sub-toggle { width: 20px; margin-right: -2px; }
  .site-header .lang-switch { flex: none; }
  .site-header .lang-toggle { padding: 0 0 0 6px; min-width: 40px; justify-content: flex-end; }
}
@media (max-width: 380px) {
  .site-header { gap: 8px; padding: 8px 10px; }
  .site-header .brand img.brand-logo { width: 34px; height: 34px; }
  .site-header nav#main-nav { gap: 0 4px; }
  .site-header nav > a.nav-shop > span { display: none; }
}
@media (max-width: 340px) {
  .site-header { gap: 6px; padding: 8px 8px; }
  .site-header .brand img.brand-logo { width: 32px; height: 32px; }
  .site-header nav > a, .site-header nav > a:last-child, .nav-group > a { font-size: 10.5px; }
  .nav-sub-toggle { width: 16px; margin-right: 0; }
  .site-header .lang-toggle { min-width: 0; padding-left: 2px; }
}

/* ==========================================================================
   2026-11-27 — Fondo al 90 % de negro (#1a1a1a) y superficies acordes.
   ========================================================================== */
:root { --bg: #1a1a1a; --surface: #222223; --panel: #262628; --line: #3a3a3c; }
body { background: var(--bg); }
.site-header { background: rgba(26, 26, 26, .96); }
.concept-bar { background: #141414; border-bottom-color: #2c2c2c; }
.exhibition-feature { background: var(--surface); border-color: var(--line); }
.map-container #world-map, .leaflet-container { background: #1f1f20; }
.nav-sub, .lang-menu { background: #222223; }
.works-grid.mural-list .work-image { background: #222223; }
.paintings-grid .painting-card .work-image::before { background: #222223; }

/* ==========================================================================
   2026-11-27 — Tipografía: Imbue SOLO en los títulos principales de sección
   (h2 de cada sección, incluido «¿Creamos algo juntos?»). Todo lo demás en
   Montserrat, como el menú.
   ========================================================================== */
.hero-tagline, .hero-tagline strong,
.section-heading > p,
.work-caption h3,
.series-soon,
.exhibition-year > strong,
.exhibition-info h3,
.timeline h3,
.map-panel h3,
.dialog-copy h2,
.artist-details-inner h3 {
  font-family: var(--font); font-stretch: normal; font-size-adjust: none; letter-spacing: 0;
}
.hero-tagline { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.45; font-weight: 400; color: #cfcac0; }
.hero-tagline strong { font-weight: 600; color: var(--ink); }
.section-heading > p { font-size: clamp(15px, 1.25vw, 17px); line-height: 1.5; font-weight: 400; color: #a9a59c; max-width: 26ch; }
.work-caption h3, .paintings-grid .painting-card .work-caption h3 { font-size: 16px; line-height: 1.3; font-weight: 600; letter-spacing: .01em; }
.works-grid.mural-list .work-caption h3 { font-size: 19px; font-weight: 600; }
.series-empty .series-soon { font-family: var(--font); font-size: 14px; font-weight: 500; letter-spacing: .04em; }
.exhibition-year > strong { font-size: clamp(96px, 10vw, 150px); font-weight: 200; line-height: .9; letter-spacing: -.04em; }
.exhibition-info h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; font-weight: 600; }
.timeline h3 { font-size: 17px; line-height: 1.3; font-weight: 600; }
.map-panel h3 { font-size: 22px; line-height: 1.25; font-weight: 600; }
.dialog-copy h2 { font-size: 26px; line-height: 1.2; font-weight: 600; }
.artist-details-inner h3 { font-size: 22px; line-height: 1.25; font-weight: 600; }
@media (max-width: 720px) {
  .hero-tagline { font-size: 17px; }
  .section-heading > p { font-size: 15px; }
  .work-caption h3, .paintings-grid .painting-card .work-caption h3 { font-size: 15px; }
  .works-grid.mural-list .work-caption h3 { font-size: 17px; }
  .exhibition-year > strong { font-size: 84px; }
  .exhibition-info h3 { font-size: 24px; }
  .dialog-copy h2 { font-size: 22px; }
}

/* ==========================================================================
   2026-11-27 — Títulos de sección centrados, sin numeración ni frase al lado.
   ========================================================================== */
.section-heading, .section-heading.atlas-heading { display: flex; justify-content: center; align-items: center; text-align: center; margin-top: 0; }
.section-heading h2 { margin-left: auto; margin-right: auto; text-align: center; }
.contact-row { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 28px; }
.contact-row h2 { text-align: center; margin: 0 auto; }
.contact-bottom { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; }

/* Flecha ↗ dibujada (2026-11-27): el carácter ↗ salía como emoji en iPhone.
   Se pinta con una máscara SVG en el color del texto; igual en todos los dispositivos. */
.arr { display: inline-block; width: .78em; height: .78em; vertical-align: -.04em; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 12 12 4M5.5 4H12v6.5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 12 12 4M5.5 4H12v6.5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.round-link .arr { width: .9em; height: .9em; }

/* === Patrón de caras + título de contacto en Montserrat === */
.concept-bar { display: none !important; }
.logo-pattern { background: url('assets/patron-caras.webp') 0 0 / 520px 520px repeat; opacity: .035; }
@media (max-width: 720px) { .logo-pattern { background-size: 380px 380px; opacity: .035; } }
.contact h2, .contact-row h2, .contact h2 strong { font-family: var(--font); font-stretch: normal; }
.contact h2 { font-weight: 300; font-size: clamp(36px, 4.8vw, 68px); line-height: 1.08; letter-spacing: -.025em; }
.contact h2 strong { font-weight: 700; }
@media (max-width: 720px) { .contact h2 { font-size: clamp(28px, 8.4vw, 38px); } }
/* Patrón de fondo con las letras «Papá Chango» de la portada (2026-11-27) */
.logo-pattern { display: block; background: url('assets/patron-letras.webp') 0 0 / 520px 520px repeat; opacity: .02 !important; transform: none; }
@media (max-width: 720px) { .logo-pattern { background-size: 380px 380px; } }
/* Logo del header: carita nueva sin disco (2026-11-27); sin recorte redondo para no cortar el pelo */
.site-header .brand img.brand-logo { border-radius: 0; object-fit: contain; }

/* === Biografía a lo ancho, antes de contacto (2026-11-27) === */
.artist-photo { margin: 0; }
.artist-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.artist-text { max-width: 720px; margin: 44px auto 0; }
.artist-text h3 { font-family: var(--font); font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 18px; text-align: center; }
.artist-text p { font-size: 16px; line-height: 1.75; color: #c4c0b6; }
@media (max-width: 720px) {
  .artist-text { margin-top: 28px; }
  .artist-text h3 { font-size: 22px; }
  .artist-text p { font-size: 15px; }
}

/* Contacto: Instagram con su icono */
.contact-bottom .ig-link { gap: 10px; align-items: center; }
.ig-icon { width: 1.25em; height: 1.25em; flex: none; }

/* Pie: firma del artista en lugar de logo + letras */
.footer-line .footer-sign img { width: auto; height: 52px; object-fit: contain; }
@media (max-width: 720px) { .footer-line .footer-sign img { height: 44px; } }

/* Lema de portada: «Neo-Baroque monsters» en negrita, frase debajo más pequeña (2026-11-27) */
.hero-tagline strong { font-weight: 700; }
.hero-tagline .tag-sub { display: inline-block; margin-top: 4px; font-size: .66em; font-weight: 400; color: #b9b4a8; }
/* Lema: «Neo-Baroque monsters» normal y la frase de debajo en negrita (pedido del usuario) */
.hero-tagline strong { font-weight: 400; }
.hero-tagline .tag-sub { font-weight: 700; color: #d6d1c6; }
/* Lema: frase arriba sin negrita (más pequeña); «Neo-Baroque monsters» abajo en negrita (pedido del usuario) */
.hero-tagline strong { font-weight: 700; color: var(--ink); }
.hero-tagline .tag-sub { font-weight: 400; color: #b9b4a8; margin: 0 0 4px; }

/* Color de las letras «Papá Chango» (muestra del usuario): #867a59 — para el rol, la frase del lema y «Explorar la obra» */
:root { --papa: #867a59; }
.hero-meta > span:first-child { color: var(--papa); }
.hero-tagline .tag-sub { color: var(--papa); }
.hero .explore-link, .hero .explore-link > span { color: var(--papa); }
.hero .explore-link:hover, .hero .explore-link:hover > span { color: var(--ink); }
/* Portada más compacta: menos aire entre lema, «Explorar la obra» y el título Pinturas (pedido del usuario) */
.hero .hero-tagline { margin-bottom: 16px; }
.hero .explore-link { padding-top: 12px; }
body[data-page="home"] .hero { padding-bottom: 16px; }
body[data-page="home"] #pinturas { padding-top: 28px; }
@media (max-width: 720px) {
  .hero .hero-tagline { margin-bottom: 12px; }
  .hero .explore-link { padding-top: 8px; }
  body[data-page="home"] .hero { padding-bottom: 12px; }
  body[data-page="home"] #pinturas { padding-top: 20px; }
}
/* Color «papá» también en «Berlin, Germany» y en las líneas del menú (pedido del usuario) */
.hero-meta [data-i18n="hero.place"] { color: var(--papa); }
.site-header nav > a::after, .nav-group > a::after { background: var(--papa) !important; }
.nav-sub a[aria-current] { box-shadow: inset 2px 0 0 var(--papa); }

/* === Exposiciones: individuales y colectivas, por año (2026-11-28) === */
.shows { display: grid; gap: 64px; margin-top: 8px; }
.show-block-title { font-family: var(--font); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--papa); text-align: center; margin: 0 0 18px; }
.show-list { border-bottom: 1px solid var(--line); }
.show-row { display: grid; grid-template-columns: 96px 1fr 150px; gap: 24px; align-items: baseline; padding: 22px 0; border-top: 1px solid #2c2c2e; color: inherit; text-decoration: none; }
.show-row.year-start { border-top-color: var(--line); }
.show-year { font-size: 22px; font-weight: 300; color: var(--ink); letter-spacing: -.01em; }
.show-main h4 { font-family: var(--font); font-size: 20px; font-weight: 650; letter-spacing: -.01em; margin: 0 0 4px; color: var(--ink); }
.show-main p { font-size: 14px; color: var(--muted); margin: 0; }
.show-note { display: block; margin-top: 4px; font-size: 12px; color: var(--papa); }
.show-month { font-size: 14px; color: var(--muted); text-align: right; white-space: nowrap; }
a.show-row:hover h4 { color: var(--papa); }
@media (max-width: 720px) {
  .shows { gap: 48px; }
  .show-row { grid-template-columns: 52px 1fr auto; gap: 14px; padding: 18px 0; }
  .show-year { font-size: 16px; }
  .show-main h4 { font-size: 17px; }
  .show-main p { font-size: 13px; }
  .show-month { font-size: 12px; }
}
/* Pinturas y murales: textos pequeños bajo el título (Painting / ubicación) en color «papá» (2026-11-28) */
.work-caption p, .mural-list .work-caption p { color: var(--papa); }

/* === Comisiones privadas (2026-11-30): botón en la portada + página comisiones.html === */
/* Botón bajo «Neo-Baroque monsters» */
.hero .commission-cta { display: inline-flex; flex-direction: column; align-items: center; gap: 5px; margin: 6px auto 14px; padding: 13px 26px 12px; border: 1px solid var(--papa); border-radius: 2px; color: var(--ink); text-decoration: none; transition: background .3s var(--ease), color .3s var(--ease); }
.hero .commission-cta .cta-main { font-family: var(--font); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; line-height: 1.3; }
.hero .commission-cta .cta-sub { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font); font-size: 12px; font-weight: 400; letter-spacing: .02em; color: var(--papa); transition: color .3s var(--ease); }
.hero .commission-cta:hover, .hero .commission-cta:focus-visible { background: var(--papa); color: #1a1a1a; }
.hero .commission-cta:hover .cta-sub, .hero .commission-cta:focus-visible .cta-sub { color: #1a1a1a; }
.cta-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--papa); flex: none; }
.hero .commission-cta:hover .cta-dot, .hero .commission-cta:focus-visible .cta-dot { background: #1a1a1a; }
@media (prefers-reduced-motion: no-preference) {
  .hero .commission-cta { animation: v2-fade .9s .45s var(--ease) both; }
  .cta-dot { animation: cta-pulse 2.4s ease-in-out infinite; }
  @keyframes cta-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
}
@media (max-width: 720px) {
  .hero .commission-cta { margin: 4px auto 10px; padding: 11px 18px 10px; max-width: calc(100vw - 44px); }
  .hero .commission-cta .cta-main { font-size: 11.5px; letter-spacing: .13em; }
  .hero .commission-cta .cta-sub { font-size: 11px; }
}

/* Página de comisiones: una columna centrada, como el folleto */
.commission { text-align: center; }
.commission .section-heading { margin-bottom: 10px; }
.com-series { margin: 0 0 22px; font-family: var(--font); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--papa); }
.com-spots { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 28px; padding: 8px 16px; border: 1px solid #4a4536; border-radius: 999px; font-family: var(--font); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.com-figure { margin: 0 auto; width: min(420px, 100%); }
.com-figure img { display: block; width: 100%; height: auto; }
.com-figure-frame img { border: 6px solid #333335; }
.com-lead { max-width: 520px; margin: 26px auto 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--muted); }
.com-block { margin: 88px auto 0; max-width: 620px; }
.com-heading { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 30px; font-family: var(--font); font-size: clamp(17px, 1.6vw, 21px); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--papa); }
/* Rayitas decorativas a los lados de los títulos (como en el folleto) */
.com-heading::before, .com-heading::after { content: ""; width: 12px; height: 18px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 18'%3E%3Cg stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M2 4 10 2'/%3E%3Cpath d='M2 9h8'/%3E%3Cpath d='M2 14l8 2'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 18'%3E%3Cg stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M2 4 10 2'/%3E%3Cpath d='M2 9h8'/%3E%3Cpath d='M2 14l8 2'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
.com-heading::before { transform: scaleX(-1); }
.com-steps { list-style: none; margin: 0 auto; padding: 0; display: grid; justify-items: center; gap: 22px; }
.com-steps li:not(.com-rule):not(.com-drawing) { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.com-num { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--papa); border-radius: 50%; font-size: 12px; letter-spacing: 0; color: var(--papa); flex: none; }
.com-rule { width: 32px; height: 2px; background: var(--papa); border-radius: 2px; }
.com-drawing img { display: block; width: min(300px, 78vw); height: auto; margin: 10px 0; }
.com-label { margin: 46px 0 16px; font-family: var(--font); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.com-refs { display: flex; justify-content: center; gap: 16px; }
.com-refs img { width: min(200px, calc(50% - 8px)); aspect-ratio: 1; object-fit: cover; height: auto; display: block; }
.com-sketch { width: min(280px, 72%); margin-top: 22px; }
.com-ready { margin: 48px 0 8px; }
.com-sub { margin: 0; font-family: var(--font); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.com-room img { border: 6px solid #a8724a; }
.com-specs { margin: 36px auto 0; display: grid; gap: 26px; }
.com-specs dt { margin: 0 0 6px; font-family: var(--font); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--papa); }
.com-specs dd { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.6; color: var(--ink); }
.com-specs ul { list-style: none; margin: 0; padding: 0; }
.com-specs dd.com-price { font-size: clamp(26px, 2.6vw, 32px); font-weight: 300; letter-spacing: .02em; color: var(--papa); }
.com-write { margin: 30px 0 18px; font-family: var(--font); font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.com-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.com-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 22px; border: 1px solid var(--papa); border-radius: 2px; font-family: var(--font); font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--ink); text-decoration: none; transition: background .3s var(--ease), color .3s var(--ease); }
.com-btn:hover, .com-btn:focus-visible { background: var(--papa); color: #1a1a1a; }
.com-btn[hidden] { display: none; }
@media (max-width: 720px) {
  .com-block { margin-top: 64px; }
  .com-series { font-size: 11.5px; margin-bottom: 18px; }
  .com-spots { font-size: 11px; margin-bottom: 22px; }
  .com-lead { font-size: 14px; }
  .com-heading { gap: 10px; margin-bottom: 24px; letter-spacing: .1em; }
  .com-steps li:not(.com-rule):not(.com-drawing) { font-size: 11.5px; letter-spacing: .08em; text-align: left; }
  .com-specs dd { font-size: 14px; }
  .com-write { font-size: 12px; }
  .com-figure-frame img, .com-room img { border-width: 4px; }
}
.hero .commission-row { flex: 0 0 100%; width: 100%; display: flex; justify-content: center; }
/* Exposiciones a 320 px: la columna central se desbordaba 7 px (2026-11-30) */
@media (max-width: 720px) { .show-row { grid-template-columns: 52px minmax(0, 1fr) auto; } .show-main h4, .show-main p { overflow-wrap: anywhere; } }
@media (max-width: 360px) { .show-row { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; } }

/* === Comisiones: tipografía del PDF (2026-11-30, pedido del usuario) ===
   El PDF usa Gotham (Black / Bold / Book / Book Italic), comercial: no se puede servir en la web.
   Se imita con Montserrat (la alternativa libre más cercana), con los mismos pesos, tamaños y colores del PDF
   y tracking -0,02 em en Black / -0,01 em en Bold (Montserrat es ~3 % más ancha). Sin tracking extra: el PDF no lo usa.
   Tamaños: los del PDF (pt → px) en móvil; ×1,2 en escritorio. Esta página es una excepción a la regla de Imbue en los h2. */
@font-face { font-family: "Montserrat"; src: url("assets/montserrat-italic-latin.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; src: url("assets/montserrat-italic-latin-ext.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
.commission { --com-gold: #928652; --com-muted: #998e7e; --com-cream: #eadeb9; --k: 1.2; }
@media (max-width: 720px) { .commission { --k: 1; } }
.commission, .commission * { font-family: "Montserrat", Arial, sans-serif; font-size-adjust: none; }
.commission .com-black { font-weight: 900; }
/* Títulos (Gotham Black, dorado) */
body[data-page="comisiones"] .commission .section-heading h2.com-title,
.commission .com-heading { font-weight: 900; letter-spacing: -.02em; line-height: 1.2; text-transform: uppercase; color: var(--com-gold); text-wrap: balance; }
body[data-page="comisiones"] .commission .section-heading h2.com-title { font-size: calc(17px * var(--k)); margin: 0 auto; }
.commission .com-heading { font-size: calc(22.9px * var(--k)); }
.commission .com-heading.com-heading-sm { font-size: calc(17.1px * var(--k)); }
.commission .com-heading.com-ready { font-size: calc(17.6px * var(--k)); color: var(--com-cream); }
/* Serie (Book + Book Italic) y frase (Book), dorado */
.commission .com-series { font-size: calc(12px * var(--k)); font-weight: 400; letter-spacing: 0; text-transform: uppercase; color: var(--com-gold); }
.commission .com-series em { font-style: italic; }
.commission .com-lead { font-size: calc(12px * var(--k)); font-weight: 400; line-height: 1.5; color: var(--com-gold); }
.commission .com-sub { font-size: calc(12px * var(--k)); font-weight: 400; letter-spacing: 0; color: var(--com-gold); }
/* Textos en Black, gris beige */
.commission .com-spots, .commission .com-label, .commission .com-steps li:not(.com-rule):not(.com-drawing) { font-size: calc(12px * var(--k)); font-weight: 900; letter-spacing: -.02em; text-transform: uppercase; color: var(--com-muted); }
.commission .com-steps li:not(.com-rule):not(.com-drawing) { gap: .3em; }
.commission .com-num { display: inline; width: auto; height: auto; border: 0; border-radius: 0; font-size: inherit; letter-spacing: inherit; color: var(--com-gold); }
.commission .com-rule { background: var(--com-gold); }
/* Tamaño y precio */
.commission .com-specs dt { font-size: calc(13.7px * var(--k)); font-weight: 900; letter-spacing: -.02em; color: var(--com-gold); }
.commission .com-specs dd { font-size: calc(12px * var(--k)); font-weight: 900; letter-spacing: -.02em; line-height: 1.6; color: var(--com-muted); }
.commission .com-specs dd ul li { font-weight: 700; letter-spacing: -.01em; }
.commission .com-specs dd ul li::before { content: "- "; }
.commission .com-specs dd.com-price { font-size: calc(17px * var(--k)); font-weight: 900; letter-spacing: -.02em; color: var(--com-gold); }
/* Reserva */
.commission .com-write { font-size: calc(13.7px * var(--k)); font-weight: 900; letter-spacing: -.02em; color: var(--com-cream); }
.commission .com-btn { font-weight: 700; letter-spacing: -.01em; color: var(--com-cream); border-color: var(--com-gold); }
.commission .com-btn:hover, .commission .com-btn:focus-visible { background: var(--com-gold); color: #1a1a1a; }
.commission .com-spots { border-color: #4a4536; }
.commission .cta-dot { background: var(--com-gold); }
/* Rayitas pegadas al texto aunque el título ocupe dos líneas */
.commission .com-heading, body[data-page="comisiones"] .commission .section-heading h2.com-title { display: block; text-align: center; }
.commission .com-heading::before, .commission .com-heading::after { display: inline-block; vertical-align: -.12em; width: .62em; height: .95em; max-width: 12px; max-height: 18px; }
.commission .com-heading::before { margin-right: .55em; }
.commission .com-heading::after { margin-left: .55em; }
@media (max-width: 720px) { .commission .com-heading:not(.com-heading-sm):not(.com-ready) { font-size: min(22.9px, 5.2vw); } }
/* Botón de comisiones en la portada: ovalado y con relleno (2026-12-01, pedido del usuario) */
.hero .commission-cta { border-radius: 999px; background: var(--papa); border-color: var(--papa); color: #1a1a1a; padding-left: 34px; padding-right: 34px; }
.hero .commission-cta .cta-sub { color: #2b2718; }
.hero .commission-cta .cta-dot { background: #1a1a1a; }
.hero .commission-cta:hover, .hero .commission-cta:focus-visible { background: #9d9068; border-color: #9d9068; color: #1a1a1a; }
.hero .commission-cta:hover .cta-sub, .hero .commission-cta:focus-visible .cta-sub { color: #2b2718; }
.hero .commission-cta:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (max-width: 720px) { .hero .commission-cta { padding-left: 24px; padding-right: 24px; } }

/* === Formulario de contacto (2026-12-01) === */
.contact-form { width: 100%; max-width: 560px; margin: 48px auto 0; display: grid; gap: 18px; text-align: left; font-family: var(--font); }
.cf-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-field { display: grid; gap: 7px; }
.cf-field label { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--papa); }
.cf-field input, .cf-field textarea { width: 100%; box-sizing: border-box; font: 400 16px/1.5 var(--font); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 48px; transition: border-color .2s var(--ease); }
.cf-field textarea { resize: vertical; min-height: 150px; }
.cf-field input::placeholder { color: #6f6c64; }
.cf-field input:hover, .cf-field textarea:hover { border-color: #55534d; }
.cf-field input:focus, .cf-field textarea:focus { outline: none; border-color: var(--papa); box-shadow: 0 0 0 3px rgba(134, 122, 89, .25); }
.cf-field [aria-invalid="true"] { border-color: #c46a5a; }
.cf-err { margin: 0; font-size: 13px; color: #e0897a; }
.cf-send { justify-self: center; margin-top: 6px; min-height: 48px; padding: 0 34px; border: 0; border-radius: 999px; background: var(--papa); color: #1a1a1a; font: 600 13px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: background .25s var(--ease); }
.cf-send:hover { background: #9d9068; }
.cf-send:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.cf-send:disabled { opacity: .6; cursor: progress; }
.cf-status { margin: 0; min-height: 1.5em; text-align: center; font-size: 14px; line-height: 1.5; color: var(--muted); }
.cf-status[data-kind="ok"] { color: #b9c9a6; }
.cf-status[data-kind="warn"] { color: #d9c9a0; }
.cf-note { margin: 0; text-align: center; font-size: 13px; line-height: 1.6; color: var(--muted); }
.cf-note a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--papa); text-underline-offset: 3px; overflow-wrap: anywhere; }
.cf-privacy { font-size: 12px; color: #7d7a72; margin-top: -10px; }
@media (max-width: 720px) { .contact-form { margin-top: 36px; gap: 16px; } .cf-send { width: 100%; } }

/* === WhatsApp en Contacto y Comisiones (2026-12-01) === */
.contact-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 32px; }
.wa-icon { width: 1.15em; height: 1.15em; flex: none; }
.contact-bottom .wa-link { gap: 10px; align-items: center; white-space: nowrap; }
.com-btn .wa-icon, .com-btn .ig-icon { width: 18px; height: 18px; }
.commission .com-contact-line { margin: -6px 0 18px; font-size: calc(12px * var(--k)); font-weight: 400; color: var(--com-muted); overflow-wrap: anywhere; }

/* Aviso al pulsar un enlace de correo (2026-12-01) */
.mail-toast { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 200; width: min(520px, calc(100vw - 32px)); padding: 14px 18px; border-radius: 14px; background: #2a2823; border: 1px solid var(--papa); color: var(--ink); font: 400 14px/1.5 var(--font); text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.45); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; overflow-wrap: anywhere; }
.mail-toast.is-on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
@media (prefers-reduced-motion: no-preference) { .mail-toast { transition: opacity .3s var(--ease), transform .3s var(--ease); } }

/* === Correcciones del 2026-12-01 (tarde) === */
/* Contacto: Instagram y WhatsApp después del formulario; WhatsApp solo con icono */
.contact-links-after { margin-top: 40px; }
.contact-links-after .text-link { font-size: var(--t-md); }
.contact-links-after .ig-link { gap: 10px; align-items: center; }
.wa-only { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--ink); transition: color .25s var(--ease); }
.wa-only .wa-icon { width: 27px; height: 27px; }
.wa-only:hover, .wa-only:focus-visible { color: var(--papa); }
@media (max-width: 720px) { .contact-links-after { margin-top: 30px; } .contact-links-after .text-link { font-size: 14px; } }
/* Pie: logo de letras «Papá Chango» y frase centrada en el color papá */
.footer-line { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.footer-line > .footer-sign { justify-self: start; }
.footer-line .footer-sign img { height: 56px; width: auto; }
.footer-line > span { justify-self: center; text-align: center; color: var(--papa); }
.footer-line > a:last-child { justify-self: end; }
@media (max-width: 720px) {
  .footer-line { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .footer-line .footer-sign img { height: 46px; }
  .footer-line > span { grid-column: 1 / -1; grid-row: 2; order: 0; width: auto; }
}
/* Comisiones: rayitas grises (como en el PDF, #998e7e) y más pegadas al texto; dibujo del paso 2 más grande */
.commission .com-heading::before, .commission .com-heading::after { background: var(--com-muted); }
.commission .com-heading::before { margin-right: .28em; }
.commission .com-heading::after { margin-left: .28em; }
.commission .com-drawing img { width: min(460px, 88vw); }
/* Contacto: WhatsApp con icono + palabra «WhatsApp», igual que Instagram (2026-12-01 noche) */
.contact-links-after .wa-link { gap: 10px; align-items: center; white-space: nowrap; }
.contact-links-after .wa-link .wa-icon { width: 1.25em; height: 1.25em; }

/* === Páginas legales: Impressum y Datenschutz (2026-12-01) === */
.legal .section-heading { justify-content: center; }
.legal-text { max-width: 720px; margin: 0 auto; font-family: var(--font); }
.legal-text h3 { margin: 34px 0 10px; font-size: 15px; font-weight: 700; letter-spacing: .02em; color: var(--papa); }
.legal-text h3:first-child { margin-top: 0; }
.legal-text p { margin: 0 0 12px; font-size: 15px; line-height: 1.75; color: #c4c0b6; overflow-wrap: anywhere; hyphens: auto; }
.legal-text a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--papa); text-underline-offset: 3px; }
.legal-text .legal-date { margin-top: 30px; font-size: 13px; color: var(--muted); }
.footer-legal { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 0 0 6px; font-family: var(--font); font-size: 12px; color: var(--muted); }
.footer-legal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: underline; text-decoration-color: #55534d; text-underline-offset: 3px; }
.footer-legal a:hover, .footer-legal a:focus-visible { color: var(--ink); }
@media (max-width: 720px) { .legal-text p { font-size: 14px; } .legal-text h3 { font-size: 14px; } }
@media (max-width: 720px) { .legal .section-heading h2 { font-size: min(clamp(30px, 9vw, 46px), 100%); overflow-wrap: anywhere; hyphens: auto; } }
@media (max-width: 720px) { .legal .section-heading h2 { font-size: clamp(28px, 9vw, 46px); } }
