/* Fuentes alojadas en la página (media/fuentes/): los mismos .woff2 que servía Google Fonts. Licencia SIL OFL 1.1 (ver media/fuentes/). */
/* latin */
@font-face {
  font-family: 'Courier Prime';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("media/fuentes/courier-prime-400-latin.woff2") format('woff2');
  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;
}
/* latin */
@font-face {
  font-family: 'Courier Prime';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("media/fuentes/courier-prime-700-latin.woff2") format('woff2');
  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;
}
/* latin */
@font-face {
  font-family: 'League Gothic';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("media/fuentes/league-gothic-400-latin.woff2") format('woff2');
  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;
}
/* Matiné: el programa de un cineclub. Hojas de cartulina a página entera, tinta azul noche y cortes netos.
   Todo lo largo va atado al scroll nativo; lo automático dura 5 s o menos. Sin JS o con movimiento reducido, todo quieto y completo. */
:root {
  --azufre: #E9B91C; --rosa: #F0A5B5; --agua: #7FC9B6; --tinta: #141C33; --rojo: #C2271B; --papel: #F4F1E8;
  --margen: clamp(20px, 5vw, 72px);
  --aviso-alto: 26px;
  --cartel: 'League Gothic', 'Arial Narrow', Impact, sans-serif;
  --texto: 'Courier Prime', 'Courier New', Courier, monospace;
  --salida: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--tinta); color: var(--tinta); font: 400 1.0625rem/1.55 var(--texto); overflow-wrap: break-word; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; padding: 0; border: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--foco, var(--tinta)); outline-offset: 2px; }
section[id] { scroll-margin-top: 0; }

::selection { background: var(--tinta); color: var(--azufre); }
.tinta ::selection { background: var(--azufre); color: var(--tinta); }
input, textarea { caret-color: var(--tinta); }
html { scrollbar-color: var(--azufre) var(--tinta); }

html:not(.js) .solo-js { display: none !important; }
html.js .sin-js { display: none !important; }

.azufre { --hoja: var(--azufre); --res: #6F1410; background: var(--hoja); color: var(--tinta); }
.rosa { --hoja: var(--rosa); --res: #6F1410; background: var(--hoja); color: var(--tinta); }
.agua { --hoja: var(--agua); --res: #6F1410; background: var(--hoja); color: var(--tinta); }
.tinta { --hoja: var(--tinta); --res: var(--azufre); --foco: var(--azufre); background: var(--hoja); color: var(--papel); }

.salto { position: fixed; z-index: 60; left: 12px; top: 12px; padding: 10px 14px; background: var(--azufre); color: var(--tinta); transform: translateY(-200%); }
.salto:focus { transform: none; }

.aviso { position: fixed; z-index: 40; inset: 0 0 auto; height: var(--aviso-alto); display: grid; place-items: center; padding: 0 12px; background: var(--tinta); color: var(--azufre); font-size: .8125rem; line-height: 1; white-space: nowrap; }

.boton { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.5rem; border: 2px solid var(--tinta); background: var(--tinta); color: var(--azufre); font-family: var(--texto); font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s; }
.boton:hover { background: transparent; color: var(--tinta); }
.tinta .boton { border-color: var(--azufre); background: var(--azufre); color: var(--tinta); }
.tinta .boton:hover { background: transparent; color: var(--azufre); }

.funcion { font-weight: 700; font-size: .9375rem; letter-spacing: .02em; }
.proceso-cabeza .funcion, .cap-texto .funcion, .pj-cabeza .funcion, .largo-cartel .funcion { margin-top: 8px; }
h2 { font: 400 clamp(2.6rem, 1.6rem + 4vw, 5.4rem)/1 var(--cartel); text-transform: uppercase; letter-spacing: .005em; }
h3 { font: 400 clamp(1.9rem, 1.4rem + 1.6vw, 3rem)/1.05 var(--cartel); text-transform: uppercase; letter-spacing: .01em; }

.etiqueta-ilustrativa { position: absolute; z-index: 3; right: 0; bottom: 0; padding: 5px 9px; background: var(--tinta); color: var(--papel); font: 400 .8125rem/1.2 var(--texto); }

.dato { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; max-width: 34rem; margin-top: 14px; padding-bottom: 4px; border-bottom: 1px dotted currentColor; }
.pendiente { border-bottom: 1px dashed currentColor; color: var(--res); }
.reservado { margin-top: 24px; padding: 14px 16px; border: 1px dashed var(--res); color: var(--res); }
.reservado .rotulo { font-weight: 700; }

/* ---------- Cápsula ---------- */
.capsula { position: fixed; z-index: 30; top: calc(var(--aviso-alto) + 10px); left: 50%; translate: -50% 0; width: min(560px, calc(100vw - 20px)); background: var(--tinta); color: var(--papel); --foco: var(--azufre); }
.capsula-barra { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 48px; padding: 0 6px; }
.capsula-boton { min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; border: 0; background: none; color: inherit; font-size: .9375rem; text-decoration: none; cursor: pointer; justify-self: start; }
.capsula-boton:hover { color: var(--azufre); }
.capsula-accion { justify-self: end; color: var(--azufre); font-weight: 700; }
html.en-cierre .capsula-accion, html.en-pie .capsula { visibility: hidden; }
.capsula-logo { font: 400 1.75rem/1 var(--cartel); text-transform: uppercase; text-decoration: none; color: var(--azufre); letter-spacing: .02em; }
.capsula-panel { display: grid; grid-template-rows: 1fr; padding: 4px 18px 16px; border-top: 1px solid rgba(244, 241, 232, .25); }
.capsula-panel[hidden] { display: none; }
.capsula-panel ol { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.capsula-panel a { display: flex; gap: .7em; align-items: center; min-height: 44px; text-decoration: none; }
.capsula-panel a:hover { color: var(--azufre); }
.capsula-panel span { color: var(--azufre); }

/* ---------- 1 · Portada ---------- */
.portada { display: grid; grid-template-rows: minmax(0, 1fr) auto; height: 100svh; min-height: 620px; padding-top: var(--aviso-alto); }
.plano { position: relative; min-height: 0; overflow: hidden; background: var(--papel); }
.plano img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 44%; }
.plano-base { z-index: 3; }
.plano-capa { z-index: 1; }
.plano-capa.grises { z-index: 2; }
.plano .etiqueta-ilustrativa { z-index: 5; }
html.animar .plano-base { visibility: hidden; }
html.animar .plano.corre .plano-base { visibility: visible; }
.plano.corre .plano-capa.lapiz { animation: lapiz .5s linear 1.4s both; }
.plano.corre .plano-capa.grises, .plano.corre .plano-base { -webkit-mask: linear-gradient(100deg, #000 46%, transparent 54%) 100% 0 / 320% 100% no-repeat; mask: linear-gradient(100deg, #000 46%, transparent 54%) 100% 0 / 320% 100% no-repeat; }
.plano.corre .plano-capa.grises { animation: pasa 1.2s cubic-bezier(.45, 0, .35, 1) 2s both; }
.plano.corre .plano-base { animation: pasa 1.3s cubic-bezier(.45, 0, .35, 1) 3.2s both; }
@keyframes lapiz { from { opacity: 0; } to { opacity: 1; } }
@keyframes pasa { from { -webkit-mask-position: 100% 0; mask-position: 100% 0; } to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
.cuenta { position: absolute; z-index: 4; inset: 0; display: grid; place-items: center; pointer-events: none; color: var(--tinta); font: 400 clamp(5rem, 22vh, 11rem)/1 var(--cartel); }
.cuenta i { position: absolute; width: min(46vh, 60vw); aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--tinta); background: conic-gradient(rgba(20, 28, 51, .22) var(--giro, 0deg), transparent 0); animation: giro .45s linear 3 both; }
.cuenta::before, .cuenta::after { content: ""; position: absolute; background: var(--tinta); opacity: .5; }
.cuenta::before { left: 0; right: 0; top: 50%; height: 1px; }
.cuenta::after { top: 0; bottom: 0; left: 50%; width: 1px; }
.cuenta b { position: relative; font-weight: 400; }
@property --giro { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes giro { to { --giro: 360deg; } }

.portada-hoja { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 0 clamp(24px, 4vw, 72px); padding: clamp(12px, 2vh, 22px) var(--margen) clamp(16px, 2.6vh, 28px); }
.nombre { font: 400 min(34svh, 30vw, 23rem)/.84 var(--cartel); text-transform: uppercase; letter-spacing: 0; color: var(--tinta); margin-bottom: -.04em; padding-top: .17em; }
.tira { display: grid; gap: 12px; padding-bottom: 6px; }
.tira-lema { max-width: 44ch; }
.tira-form { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 20px; }
.tira-form legend { padding: 0 0 6px; font-weight: 700; font-size: .9375rem; }
.tira-opciones { display: flex; flex-wrap: wrap; }
.tira-opciones label { position: relative; cursor: pointer; }
.tira-opciones input { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; margin: 0; background: none; border: 0; -webkit-appearance: none; appearance: none; cursor: pointer; }
.tira-opciones input:focus-visible { outline: 3px solid var(--tinta); outline-offset: 2px; }
.tira-opciones span { display: flex; align-items: center; min-height: 48px; padding: 0 1rem; border: 2px solid var(--tinta); margin-right: -2px; }
.tira-opciones input:checked + span { background: var(--tinta); color: var(--azufre); }

/* ---------- 2 · El proceso ---------- */
.definiciones { position: absolute; }
.proceso { position: relative; }
.proceso-cabeza { padding: clamp(100px, 12vh, 120px) var(--margen) 0; }
.proceso-cabeza h2 { color: var(--rojo); font-size: clamp(3.4rem, 2rem + 6vw, 7rem); }
.etapa { position: relative; display: grid; gap: 28px; padding: 32px var(--margen) 56px; }
.etapa-texto h3 { margin-bottom: 10px; }
.etapa-texto p { max-width: 42ch; }
.recortes { position: relative; aspect-ratio: 1 / 1; max-width: 560px; width: 100%; }
.r { position: absolute; overflow: hidden; }
.r img { width: 100%; height: 100%; object-fit: cover; }
.r-a { left: 0; top: 0; width: 66%; height: 92%; clip-path: url(#corte-a); }
.r-b { right: 0; bottom: 0; width: 48%; height: 58%; clip-path: url(#corte-b); }
.etapa > .etiqueta-ilustrativa { position: static; justify-self: start; }
.progreso { display: none; }
@media (min-width: 860px) {
  html.mueve .proceso { height: 500svh; }
  html.mueve .proceso-fijo { position: sticky; top: 0; height: 100svh; overflow: hidden; }
  html.mueve .proceso-cabeza { position: absolute; z-index: 2; left: var(--margen); top: calc(var(--aviso-alto) + 74px); padding: 0; }
  html.mueve .etapa { position: absolute; inset: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(24px, 5vw, 80px); padding: 110px var(--margen) 70px; opacity: 0; visibility: hidden; }
  html.mueve .etapa-1 { opacity: 1; visibility: visible; }
  html.mueve .etapa-2 .etapa-texto { order: 2; }
  html.mueve .etapa .recortes { aspect-ratio: auto; height: min(66svh, 42vw); max-width: none; align-self: end; }
  html.mueve .etapa > .etiqueta-ilustrativa { position: absolute; right: var(--margen); bottom: 34px; }
  html.mueve .etapa-texto { padding-top: 12vh; }
  html.mueve .etapa-texto h3 { font-size: clamp(2.6rem, 1.4rem + 3vw, 4.6rem); }
  html.mueve .progreso { display: block; position: absolute; z-index: 2; left: var(--margen); bottom: 40px; width: 180px; height: 3px; background: rgba(20, 28, 51, .25); }
  html.mueve .progreso-linea { display: block; width: 100%; height: 100%; background: var(--tinta); transform: scaleX(var(--p, 0)); transform-origin: left; }
}

/* ---------- 3 · Lo que creemos ---------- */
.creemos { padding: clamp(80px, 16vh, 180px) var(--margen) clamp(56px, 10vh, 110px); }
.frase { max-width: 12em; color: var(--rojo); font-size: clamp(4.2rem, 2rem + 11vw, 13rem); line-height: .92; }
.frase .palabra-l { display: inline-block; white-space: nowrap; }
.frase .letra { display: inline-block; }
.siguiente { margin-top: 28px; font-weight: 700; }
.cap-parrafo .siguiente, .etapas .siguiente, .pj-texto + .siguiente, .trabajo .siguiente { margin-top: 22px; }
.pj-texto + .siguiente { margin-inline: var(--margen); }

/* ---------- Capítulos a sangre ---------- */
.capitulo { --foco: var(--azufre); position: relative; height: 100svh; min-height: 520px; overflow: hidden; background: var(--tinta); color: var(--azufre); }
.cap-marco { position: absolute; inset: 0; overflow: hidden; }
.cap-marco video, .cap-marco img { width: 100%; height: 100%; object-fit: cover; }
.cap-marco picture { position: absolute; inset: -8% 0; display: block; }
.cap-marco::after { content: ""; position: absolute; z-index: 1; inset: 45% 0 0; pointer-events: none; background: linear-gradient(to top, rgba(20, 28, 51, .92), rgba(20, 28, 51, .72) 44%, rgba(20, 28, 51, 0)); }
.cap-marco .etiqueta-ilustrativa { top: calc(var(--aviso-alto) + 70px); right: 0; bottom: auto; }
.cap-texto { position: absolute; z-index: 2; left: var(--margen); right: var(--margen); bottom: clamp(20px, 5vh, 56px); pointer-events: none; }
.palabra { font-size: clamp(5rem, 1.4rem + 15vw, 17rem); line-height: .9; color: var(--azufre); }
.capitulo .funcion { color: var(--papel); }
#obras .cap-texto { text-align: right; }
#encargos .cap-texto { text-align: center; }
.clip-ver { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; border: 0; background: none; cursor: pointer; }
.clip-ver:focus-visible { outline-offset: -8px; }

.cap-cuerpo { display: grid; gap: 32px; padding: clamp(48px, 9vh, 96px) var(--margen); }
.chica { position: relative; width: min(100%, 460px); }
.chica img { width: 100%; clip-path: url(#corte-a); }
.chica .etiqueta-ilustrativa { position: static; display: inline-block; margin-top: 8px; }
.cap-parrafo > [data-palabras] { max-width: 34ch; font-size: clamp(1.3rem, 1rem + 1.1vw, 2rem); line-height: 1.4; }
@media (min-width: 860px) { .cap-cuerpo { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; } }

/* ---------- 5 · Hoja de exposición ---------- */
.etapas { padding: clamp(100px, 12vh, 120px) var(--margen) clamp(56px, 11vh, 120px); }
.etapas-cabeza h2 { margin-top: 6px; }
.entradilla { margin-top: 10px; }
.hoja-x { display: grid; gap: 28px; margin-top: 32px; }
.nombres button { display: flex; align-items: center; width: 100%; min-height: 48px; padding: 2px 0; border: 0; background: none; font: 400 clamp(1.9rem, 1.4rem + 1.4vw, 2.9rem)/1.1 var(--cartel); text-transform: uppercase; text-align: left; cursor: pointer; }
.nombres button:hover { text-decoration: underline; text-decoration-style: dotted; text-decoration-thickness: 2px; text-underline-offset: .12em; }
.nombres button[aria-pressed="true"] { color: var(--tinta); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .12em; }
.planilla { position: relative; min-height: 240px; perspective: 900px; }
.planilla-hoja { position: absolute; inset: 10% 8%; transform: rotateX(42deg) rotateZ(-7deg); }
.planilla-hoja img { width: 100%; height: 100%; object-fit: fill; }
.pines { position: absolute; inset: 0; transform-style: preserve-3d; }
.pines button { position: absolute; left: var(--x); top: var(--y); width: 26px; height: 26px; margin: -13px; border: 2px solid var(--tinta); border-radius: 50%; background: var(--papel); cursor: pointer; }
.pines button[aria-pressed="true"] { background: var(--tinta); }
.item h3 { margin-bottom: 8px; }
html.js .item:not(.activa) { display: none; }
html.js .hoja-x .item h3 { display: none; }
.mini { position: relative; margin-bottom: 12px; max-width: 360px; }
.mini img { width: 100%; }
@media (min-width: 900px) {
  .hoja-x { grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr); gap: clamp(24px, 3vw, 56px); align-items: center; }
  .planilla { min-height: 460px; }
}
html:not(.js) .planilla { display: none; }
html:not(.js) .item-pila .item + .item { margin-top: 32px; }

/* ---------- Lista que cambia una imagen ---------- */
.formatos, .tecnicas, .espacios { padding: 0; }
.lista-img { display: grid; }
.lista-col { padding: clamp(100px, 12vh, 120px) var(--margen) 28px; }
.lista-col h2 { margin: 6px 0 24px; }
.item-pila { position: relative; }
.foto { position: relative; overflow: hidden; }
.foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ficha { padding: 22px var(--margen) 40px; display: grid; justify-items: start; gap: 6px; }
.ficha .boton { margin-top: 14px; }
.flechas { position: absolute; left: 12px; top: min(112vw, calc(100vw * 1.25 - 60px)); z-index: 2; display: flex; gap: 6px; }
.flechas button { display: grid; place-items: center; width: 48px; height: 48px; border: 0; background: var(--tinta); color: var(--azufre); cursor: pointer; --foco: var(--papel); }
.flechas svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; }
.equipo { margin-top: 24px; }
.ficha .dato { justify-self: stretch; }
@media (min-width: 860px) {
  .lista-img { grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 100svh; }
  .lista-img.espejo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lista-col { align-self: start; padding: clamp(96px, 14vh, 150px) var(--margen) 270px; }
  html.js .lista-img .item-pila .item.activa { display: grid; height: 100%; min-height: 100svh; grid-template-rows: 1fr; }
  .flechas { top: auto; bottom: 12px; }
  html.js .lista-img .foto { height: 100svh; position: sticky; top: 0; }
  html.js .lista-img .foto img { height: 100%; aspect-ratio: auto; }
  html.js .lista-img .ficha { position: absolute; left: -100%; width: 100%; top: var(--top-ficha, 60%); padding: 0 var(--margen); }
  html.js .lista-img.espejo .ficha { left: 100%; }
  html:not(.js) .lista-img .item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
}
html.js .ficha h3 { display: none; }

/* ---------- 10 · Personajes ---------- */
.personajes { padding: clamp(64px, 12vh, 130px) 0 clamp(56px, 10vh, 110px); overflow: hidden; }
.pj-cabeza { padding: 0 var(--margen); }
.pj-titulo { font-size: clamp(5rem, 1rem + 20.4vw, 23rem); line-height: .86; color: var(--azufre); }
.pj-escena { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; padding: 0 var(--margen); margin-top: clamp(14px, 1.6vw, 28px); }
.pj-recorte { position: relative; z-index: 2; grid-column: 4 / 10; grid-row: 1; aspect-ratio: 3 / 4; overflow: hidden; clip-path: url(#corte-a); }
.pj-recorte video { width: 100%; height: 100%; object-fit: cover; }
.pj-etiqueta { position: static; grid-column: 4 / 10; grid-row: 2; justify-self: start; }
.pj-banco { position: relative; z-index: 1; grid-column: 1 / 5; grid-row: 1; align-self: end; margin-bottom: 8%; }
.pj-perro { position: relative; z-index: 3; grid-column: 9 / 13; grid-row: 1; align-self: start; margin-top: 30%; }
.pj-banco .etiqueta-ilustrativa, .pj-perro .etiqueta-ilustrativa { position: static; display: inline-block; margin-top: 6px; }
.pj-texto { max-width: 30ch; margin: 40px var(--margen) 0; font-size: clamp(1.3rem, 1rem + 1.1vw, 2rem); line-height: 1.4; }
@media (max-width: 699.98px) {
  .pj-escena { margin-top: 20px; }
  .pj-recorte, .pj-etiqueta { grid-column: 1 / 13; }
  .pj-recorte { grid-row: 1; }
  .pj-etiqueta { grid-row: 2; }
  .pj-banco { grid-column: 1 / 8; grid-row: 3; margin: 0; }
  .pj-perro { grid-column: 8 / 13; grid-row: 3; margin: 0; }
}

/* ---------- 13 · Plano general ---------- */
.largo { position: relative; }
.largo-fijo { position: relative; height: 100svh; min-height: 520px; overflow: hidden; }
.largo-pista { position: absolute; top: 0; left: 0; height: 100%; width: var(--ancho-fondo, 100%); }
.largo-fondo, .largo-fondo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.largo-fondo img { object-fit: cover; object-position: 50% 60%; }
.largo-capa { position: absolute; z-index: 2; left: 0; bottom: var(--baja-capa, 0); width: var(--ancho-capa, 100%); max-width: none; height: auto; pointer-events: none; }
.escena { position: absolute; z-index: 1; top: 56%; padding: 3px 8px; background: var(--azufre); color: var(--tinta); font-weight: 700; }
.escena-1 { left: 13%; }
.escena-2 { left: 66%; top: 44%; }
html:not(.mueve) .escena { display: none; }
@media (max-width: 699.98px) { .escena { display: none; } }
.largo-cartel { position: absolute; z-index: 3; left: var(--margen); top: calc(var(--aviso-alto) + 74px); width: min(340px, calc(100vw - 2 * var(--margen))); padding: 16px 18px; background: var(--azufre); color: var(--tinta); }
.largo-cartel h2 { margin: 4px 0 8px; font-size: clamp(2.6rem, 1.8rem + 3vw, 4.4rem); }
.largo-fijo > .etiqueta-ilustrativa { z-index: 4; }
html.mueve .largo { height: var(--tramo, 320svh); }
html.mueve .largo-fijo { position: sticky; top: 0; }

/* ---------- 14 · Cómo se trabaja ---------- */
.trabajo { display: grid; }
.trabajo-foto { position: relative; overflow: hidden; }
.trabajo-foto img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.trabajo-texto { padding: clamp(100px, 12vh, 120px) var(--margen) clamp(48px, 9vh, 96px); }
.trabajo-texto h2 { margin: 6px 0 24px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 0; border-bottom: 1px solid rgba(20, 28, 51, .4); text-align: left; font-weight: 400; }
thead th { font-weight: 700; font-size: .9375rem; }
tbody th { font: 400 clamp(1.5rem, 1.2rem + 1vw, 2.2rem)/1.1 var(--cartel); text-transform: uppercase; }
td { text-align: right; }
thead th:last-child { text-align: right; }
@media (min-width: 860px) { .trabajo { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; } .trabajo-foto img { max-height: 100svh; } }

/* ---------- 15 · Cierre iris ---------- */
.cierre-fijo { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; padding: 72px var(--margen); }
.cc-zona { position: relative; z-index: 1; display: grid; justify-items: center; gap: 14px; max-width: 34em; text-align: center; }
.cc-zona { max-width: none; }
.cc-zona h2 { font-size: min(13vw, 26svh); line-height: .95; color: var(--azufre); }
#cc-texto { max-width: 34em; }
.cc-zona .boton { margin-top: 12px; min-width: 220px; }
.iris { position: absolute; z-index: 2; inset: 0; pointer-events: none; clip-path: circle(var(--iris, 0%) at 50% 50%); }
.iris img { width: 100%; height: 100%; object-fit: cover; }
html.reducido .iris { display: none; }
html.mueve .cierre { height: 240svh; }
html.mueve .cierre-fijo { position: sticky; top: 0; height: 100svh; }
.nota-sinjs { max-width: 54ch; margin-top: 16px; padding: 14px 16px; border: 1px dashed currentColor; text-align: left; }
.nota-sinjs:not(:target) { display: none; }

/* ---------- Pie ---------- */
.creditos { display: grid; gap: 28px; padding: 40px var(--margen) max(32px, env(safe-area-inset-bottom)); border-top: 1px solid rgba(244, 241, 232, .25); font-size: .9375rem; }
.creditos .funcion { color: var(--azufre); margin-bottom: 8px; }
.programa li { display: grid; grid-template-columns: 8.5rem 1fr; align-items: center; border-bottom: 1px dotted rgba(244, 241, 232, .5); }
.creditos a { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 860px) {
  .creditos { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 24px; }
  .programa { columns: 2; column-gap: 28px; }
  .programa li { break-inside: avoid; }
  .creditos a { min-height: 30px; }
}

/* ---------- Consulta: una entrada centrada ---------- */
.pc { --hoja: var(--azufre); --res: #6F1410; width: min(620px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 0; background: var(--azufre); color: var(--tinta); overflow: hidden; opacity: 1; translate: 0 0; clip-path: url(#corte-c); transition: translate .45s var(--salida), opacity .25s linear; }
@starting-style { .pc[open] { opacity: 0; translate: 0 36px; } }
.pc:not([open]) { display: none; }
.pc::backdrop { background: rgba(20, 28, 51, .78); }
.pc.pc-cerrando { opacity: 0; translate: 0 36px; transition: translate .3s cubic-bezier(.7, 0, .84, 0), opacity .2s linear .1s; }
.pc-caja { display: flex; flex-direction: column; max-height: calc(100dvh - 24px); }
.pc-cabeza { position: relative; padding: 22px clamp(24px, 6vw, 56px) 14px; border-bottom: 2px dashed var(--tinta); }
.pc-cabeza h2 { padding-right: 5rem; }
.pc-cabeza h2 { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); line-height: 1; }
.pc-cabeza h2:focus { outline: none; }
.pc-cerrar { position: absolute; right: clamp(16px, 4vw, 36px); top: 12px; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; border: 0; background: none; cursor: pointer; }
.pc-cerrar svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }
.pc-cuerpo { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 8px clamp(24px, 6vw, 56px) 28px; }
.pc-fila { padding: 10px 0; border-bottom: 1px solid rgba(20, 28, 51, .5); }
.pc-fila label { display: block; font-weight: 700; font-size: .9375rem; }
.campo input, .campo select, .campo textarea { width: 100%; min-height: 44px; padding: 6px 0; border: 0; background: transparent; }
.campo textarea { resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: 2px solid var(--tinta); outline-offset: 1px; }
.opcional { font-weight: 400; }
.casilla { padding: 14px 0 0; }
.casilla label { display: flex; gap: 10px; align-items: flex-start; }
.casilla input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--tinta); }
.error { display: flex; gap: 6px; margin-top: 4px; color: #6F1410; font-weight: 700; font-size: .9375rem; }
.error[hidden] { display: none; }
.error svg, .pc-resumen svg { flex: none; width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.pc-resumen:not(:empty) { margin-top: 10px; padding: 12px 14px; border: 2px solid #6F1410; }
.pc-resumen p:first-child { display: flex; gap: 8px; align-items: center; color: #6F1410; font-weight: 700; }
.pc-resumen ul { margin-top: 6px; padding-left: 26px; list-style: disc; }
.pc-enviar { margin-top: 20px; display: flex; justify-content: center; }
.pc-resultado { text-align: center; }
.pc-resultado:not(:empty) { padding: 24px 0; }
.pc-resultado h3:focus { outline: none; }
.pc-resultado p { margin-top: 10px; }
.pc-resultado .boton { margin-top: 20px; }

/* ---------- Angosto ---------- */
@media (max-width: 859.98px) { .espejo .lista-col { order: -1; } }
@media (max-width: 999.98px) {
  .portada-hoja { grid-template-columns: minmax(0, 1fr); }
  .nombre { font-size: min(30svh, 40vw); }
}
@media (max-width: 699.98px) {
  .portada { min-height: 0; height: auto; grid-template-rows: auto auto; }
  .plano { aspect-ratio: 5 / 3.7; }
  .portada-hoja { grid-template-columns: minmax(0, 1fr); padding-top: 4px; }
  .nombre { font-size: min(42vw, 26svh); line-height: .9; white-space: nowrap; }
  .tira-opciones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tira-opciones span { justify-content: center; margin: 0 -2px -2px 0; }
  .tira-form { display: grid; }
  .tira-form .boton { width: 100%; }
  .capsula-logo { font-size: 1.5rem; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  .pc, .pc.pc-cerrando { translate: 0 0 !important; transition: opacity .2s linear !important; }
  .boton { transition: none; }
}
