/* Layout: una sola proyección. Hero en formato scope 2.39:1, filmografía en tira de 35 mm que avanza con el scroll. */
:root {
  color-scheme: dark;
  --ink: #0C0B0A;        /* sala a oscuras */
  --ink-2: #151311;      /* pantalla apagada */
  --base: #1A1612;       /* soporte de la película */
  --line: #2B2723;       /* filo del marco */
  --paper: #ECE5DA;      /* luz del proyector */
  --muted: #A69E93;
  --dim: #8C857B;
  --copper: #D39270;     /* el cobre del CV */
  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --grain: none;
  --gut-l: max(16px, env(safe-area-inset-left, 0px));
  --gut-r: max(16px, env(safe-area-inset-right, 0px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 61; background: var(--ink); }
a { color: inherit; }
:focus-visible { outline: 1px solid var(--copper); outline-offset: 4px; }
.wrap { max-width: 1360px; margin: 0 auto; padding-inline: clamp(0px, 4vw, 56px); }
.label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); font-weight: 400; }
.label.cu { color: var(--copper); }
h1, h2, h3 { font-weight: 200; text-wrap: balance; margin: 0; }

/* grano de película, todo el viewport */
.grain { display: none; } /* prueba: fondo negro limpio, sin grano */

/* cabecera */
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60; background: color-mix(in srgb, var(--ink) 86%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
header.top .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 28px; padding-block: 14px; }
.brand { font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none; padding-block: 10px; }
header nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
header nav a { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); text-decoration: none; padding-block: 12px; transition: color .2s; }
header nav a:hover { color: var(--paper); }

/* hero: proyección 2.39:1 */
.hero { padding-block: clamp(12px, 3vw, 32px) 0; }
.frame {
  position: relative; width: 100%; max-width: 100%;
  aspect-ratio: 2.39 / 1;
  background: radial-gradient(ellipse 70% 80% at 42% 45%, #1C1916 0%, var(--ink-2) 55%, #0A0908 100%);
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid; grid-template-rows: auto 1fr auto;
  padding: clamp(16px, 2.6vw, 36px);
  animation: projector 1.8s ease-out 1 both;
}
@keyframes projector {
  0% { filter: brightness(1); } 6% { filter: brightness(.45); } 10% { filter: brightness(1.15); }
  16% { filter: brightness(.7); } 24% { filter: brightness(1.05); } 34% { filter: brightness(.92); } 100% { filter: brightness(1); }
}
.frame::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .12; pointer-events: none; animation: grain-shift .9s steps(6) infinite; }
@keyframes grain-shift { 0%{background-position:0 0} 20%{background-position:-37px 21px} 40%{background-position:44px -13px} 60%{background-position:-12px -48px} 80%{background-position:29px 36px} 100%{background-position:0 0} }
.frame-meta { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.tc { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--copper); font-variant-numeric: tabular-nums; }
.tc .rec { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--copper); margin-right: 10px; vertical-align: 1px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.frame-title { position: relative; z-index: 1; align-self: end; display: flex; flex-direction: column; gap: 14px; padding-block: 24px; }
.frame-title h1 { font-size: clamp(46px, 9vw, 148px); line-height: .9; letter-spacing: -0.025em; }
.frame-title h1 em { font-style: italic; font-weight: 200; color: var(--muted); }
.frame-foot { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.play { display: inline-flex; align-items: center; gap: 14px; background: none; border: 0; color: var(--paper); cursor: pointer; padding: 6px 0; font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.play .disc { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--paper); display: grid; place-items: center; transition: background .25s, transform .25s; }
.play:hover .disc { background: var(--paper); transform: scale(1.06); }
.play:hover .disc svg path { stroke: var(--ink); }

.thesis { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: baseline; justify-content: space-between; padding-block: clamp(40px, 6vw, 80px) 0; }
.thesis p { margin: 0; flex: 1 1 520px; min-width: 0; max-width: 34ch; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.3; font-weight: 300; }
.thesis p em { color: var(--copper); font-style: italic; }
.thesis .facts { flex: 0 1 300px; display: grid; gap: 10px; }
.thesis .facts div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.thesis .facts span:last-child { font-family: var(--mono); font-size: 12px; color: var(--paper); font-variant-numeric: tabular-nums; }

/* secciones */
section.block { padding-block: clamp(96px, 12vw, 160px) 0; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.sec-head h2 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 300; }

/* tira de 35 mm, a sangre fuera del margen lateral */
.pin-outer { position: relative; margin-left: calc(-1 * var(--gut-l)); margin-right: calc(-1 * var(--gut-r)); }
.pin { padding-block: 40px 0; }
.scroller { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.film { display: flex; width: max-content; background: var(--base); position: relative; padding: 46px 0; }
.film::before, .film::after { content: ""; position: absolute; left: 0; right: 0; height: 14px; background: repeating-linear-gradient(90deg, transparent 0 10px, var(--ink) 10px 26px, transparent 26px 36px); }
.film::before { top: 14px; } .film::after { bottom: 14px; }
.cell { scroll-snap-align: center; padding-inline: 14px; width: clamp(290px, min(44vw, 72vh), 660px); display: grid; gap: 10px; border-right: 2px solid var(--ink); }
.cell:first-child { margin-left: max(16px, calc((100vw - 1360px) / 2 + 40px)); border-left: 2px solid var(--ink); }
.cell:last-child { margin-right: max(16px, 8vw); }
.frame-btn { position: relative; display: block; width: 100%; max-width: 100%; aspect-ratio: 4 / 3; border: 0; padding: 0; cursor: pointer; overflow: hidden; background: #000; border-radius: 6px; }
.frame-btn .card { transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .4s; }
.frame-btn:hover .card, .frame-btn:focus-visible .card { transform: scale(1.04); filter: brightness(1.12); }
.edge { font-family: var(--mono); font-size: 10px; letter-spacing: .26em; color: #B07A5E; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; align-items: baseline; }
.cap h3 { font-size: clamp(22px, 2.2vw, 30px); font-style: italic; font-weight: 300; }
.cap span { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.strip-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 22px; padding-left: var(--gut-l); padding-right: var(--gut-r); }
.strip-foot > div { max-width: 1360px; margin: 0 auto; width: 100%; padding-inline: clamp(0px, 4vw, 56px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.bar { flex: 1 1 160px; height: 1px; background: var(--line); position: relative; max-width: 420px; }
.bar i { position: absolute; left: 0; top: -1px; height: 3px; width: 0; background: var(--copper); }
body.pinned .pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: 80px; }
body.pinned .scroller { overflow: visible; }
body.pinned .film { will-change: transform; }

/* cartas de título, hasta tener fotogramas */
.card { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; }
.card::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .2; pointer-events: none; animation: grain-shift .7s steps(5) infinite; }
.card .note { position: absolute; left: 14px; bottom: 10px; font-family: var(--mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; opacity: .65; }
.c-volcano { background: radial-gradient(circle at 50% 125%, #9A4220 0%, #2C130A 48%, #0E0806 82%); color: #F2B38C; }
.c-volcano .t { font-family: var(--mono); font-size: clamp(16px, 2vw, 26px); letter-spacing: .32em; text-transform: uppercase; line-height: 1.5; }
.c-luz { background: #0A0F15; color: #B9CADA; }
.c-luz .dot { display: block; width: 6px; height: 6px; border-radius: 50%; background: #EEF4FA; box-shadow: 0 0 60px 22px rgba(200,220,240,.16); margin: 0 auto 24px; }
.c-luz .t { font-size: clamp(20px, 2.2vw, 30px); font-style: italic; letter-spacing: .04em; }
.c-tres { background: #1F1A10; color: #DEC79B; }
.c-tres .t { font-size: clamp(30px, 3.6vw, 52px); font-style: italic; font-weight: 200; line-height: 1; }
.c-tres .t span { display: block; font-size: 13px; font-family: var(--mono); font-style: normal; letter-spacing: .3em; text-transform: uppercase; margin-top: 18px; }
.c-abogado { background: #121212; color: #EEE8DD; }
.c-abogado .t { font-size: clamp(24px, 2.8vw, 40px); letter-spacing: .42em; text-transform: uppercase; font-weight: 300; padding-left: .42em; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; padding-block: 12px; }
.c-malthus { background: #10140E; color: #B8C5A8; }
.c-malthus .t { font-family: var(--mono); font-size: clamp(36px, 4.6vw, 64px); font-weight: 500; letter-spacing: -.02em; }
.frame.has-video { z-index: 55; display: block; padding: 0; border: 0; background: var(--ink); animation: none; max-width: 100%; }
.frame.has-video::after { display: none; }
.frame.has-video .frame-bg { filter: none; }
/* nombre debajo del reel, sin taparlo */
.hero-cap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px 32px; padding-top: clamp(18px, 2.4vw, 30px); }
.hero-name { display: grid; gap: 10px; }
.hero-name h1 { font-family: var(--display); font-stretch: 125%; font-weight: 480; text-transform: uppercase; font-size: clamp(30px, 4.6vw, 72px); line-height: .95; letter-spacing: 0; }
.frame-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: 100%; object-fit: cover; filter: brightness(.62) saturate(.92); }
.dlg-stills { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.dlg-stills img { height: clamp(110px, 15vw, 170px); width: auto; max-width: 100%; object-fit: cover; display: block; flex: 0 1 auto; }
.c-img { padding: 0; background: #000; }
.c-img img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: 100%; object-fit: cover; display: block; }
.c-img::after { display: none; }
.dlg-body { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.dlg-poster { width: min(100%, 260px); height: auto; display: block; align-self: start; border: 1px solid var(--line); }
.credits { margin: 6px 0 0; display: grid; gap: 6px; }
.credits div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.credits dt { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); padding-top: 3px; flex: none; }
.credits dd { margin: 0; text-align: right; font-size: 15px; color: var(--paper); }
.c-casa { background: #17140F; color: #E3D6C2; }
.c-casa .casa { position: relative; display: grid; gap: 22px; justify-items: center; width: 78%; }
.c-casa .panes { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6%; width: 100%; aspect-ratio: 3 / 1; }
.c-casa .panes i { display: block; border: 1px solid rgba(227, 214, 194, .32); }
.c-casa .route { position: absolute; inset: 0; width: 100%; height: 100%; }
.c-casa .t { font-size: clamp(20px, 2.2vw, 30px); font-style: italic; }

/* largometraje */
.feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px clamp(32px, 6vw, 96px); align-items: end; padding-top: clamp(40px, 5vw, 72px); }
.feature h2 { font-size: clamp(56px, 11vw, 176px); line-height: .86; letter-spacing: -.035em; font-style: italic; }
.feature .side { display: grid; gap: 22px; padding-bottom: 12px; min-width: 0; }
.feature .logline { font-size: clamp(20px, 2vw, 26px); line-height: 1.4; color: var(--paper); margin: 0; }
.feature .logline.ph { color: var(--dim); font-style: italic; }
.hours { display: flex; gap: 6px; align-items: flex-end; height: 40px; }
.hours i { display: block; width: 3px; background: var(--line); height: 40%; }
.hours i.on { background: var(--copper); }
.btnrow { display: flex; flex-wrap: wrap; gap: 12px; }
.textbtn { justify-self: start; align-self: start; background: none; color: var(--paper); border: 1px solid #4A4540; padding: 14px 22px; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s; text-decoration: none; display: inline-block; }
.textbtn:hover { background: var(--paper); color: var(--ink); }

/* palmarés: tira continua */
.strip { overflow: hidden; border-block: 1px solid var(--line); margin-top: 40px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.track { display: flex; width: max-content; animation: roll 48s linear infinite; }
.strip:hover .track { animation-play-state: paused; }
.track ul { list-style: none; margin: 0; padding: 0; display: flex; }
.track li { display: grid; gap: 4px; padding: 28px 44px; border-right: 1px solid var(--line); white-space: nowrap; }
.track li strong { font-weight: 300; font-size: 24px; }
.track li span { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.track li em { color: var(--copper); font-size: 16px; }
@keyframes roll { to { transform: translateX(-50%); } }
.sel { margin-top: 22px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); line-height: 2; }

/* prensa */
.press { display: grid; gap: clamp(56px, 7vw, 96px); padding-top: clamp(40px, 5vw, 72px); }
.quote-lead { margin: 0; display: grid; gap: 22px; max-width: 1080px; }
.quote-lead blockquote { margin: 0; font-size: clamp(30px, 4.2vw, 64px); line-height: 1.12; font-style: italic; font-weight: 200; letter-spacing: -.015em; text-wrap: balance; }
.quote-lead blockquote::before { content: "“"; color: var(--copper); margin-right: .04em; }
.quote-lead blockquote::after { content: "”"; color: var(--copper); }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 40px 64px; }
.quotes figure { margin: 0; display: grid; gap: 14px; border-top: 1px solid var(--line); padding-top: 22px; }
.quotes blockquote { margin: 0; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.35; font-style: italic; }
.ph-txt { color: var(--dim); }
.clips { display: grid; }
.clip { display: grid; grid-template-columns: 96px 160px minmax(0, 1fr) 110px 48px 24px; gap: 6px 28px; align-items: center; padding-block: 22px; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .3s; }
.clip:first-child { border-top: 1px solid var(--line); }
.clips-more { display: grid; } .clips-more[hidden] { display: none; } .clips-more .clip:first-child { border-top: 0; }
.more-btn { justify-self: start; margin-top: 28px; }
.clip .h { font-size: clamp(19px, 1.7vw, 23px); transition: color .25s; }
.clip .arrow { color: var(--dim); transition: transform .3s, color .25s; }
.clip:hover .h { color: #FFFFFF; }
.clip:hover .arrow { color: var(--copper); transform: translate(3px, -3px); }
.clip .yr { font-family: var(--mono); font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; }
.kit { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 40px 64px; border: 1px solid var(--line); background: var(--ink-2); padding: clamp(24px, 4vw, 56px); }
.kit h3 { font-size: clamp(30px, 3vw, 44px); font-weight: 300; }
.kit p { margin: 0; color: var(--muted); max-width: 42ch; }
.kit-posters { grid-column: 1 / -1; display: grid; gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 32px; }
.poster-row { display: grid; grid-template-columns: repeat(4, minmax(0, 150px)); gap: 20px; }
.poster-btn { background: none; border: 0; padding: 0; color: var(--muted); cursor: pointer; display: grid; gap: 10px; text-align: left; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4; }
.poster-btn img { width: 100%; max-width: 100%; aspect-ratio: 2 / 3; object-fit: cover; display: block; border: 1px solid var(--line); transition: transform .5s cubic-bezier(.2,.7,.2,1), border-color .3s; }
.poster-btn:hover img, .poster-btn:focus-visible img { transform: translateY(-4px); border-color: var(--copper); }
.poster-btn:hover { color: var(--paper); }
@media (max-width: 560px) { .poster-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kit-list { list-style: none; margin: 0; padding: 0; display: grid; }
.kit-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.kit-list li:last-child { border-bottom: 0; }
.kit-list a { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--copper); text-decoration: none; padding-block: 8px; white-space: nowrap; }
.kit-list a:hover { color: var(--paper); }
.kit-list small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--dim); }
.thumb { width: 96px; max-width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; display: block; filter: grayscale(1); opacity: .85; transition: opacity .25s; }
.clip:hover .thumb { opacity: 1; }
.more { justify-self: start; margin-top: 20px; }
.press-lead { display: grid; gap: 22px; max-width: 1120px; }
.press-lead p { margin: 0; font-size: clamp(30px, 4.2vw, 64px); line-height: 1.1; font-weight: 200; letter-spacing: -.015em; text-wrap: balance; }
.mosaic { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(110px, 13vw, 190px); grid-auto-flow: dense; gap: 8px; }
.mosaic figure { position: relative; margin: 0; overflow: hidden; background: var(--ink-2); grid-column: span 1; grid-row: span 1; }
.mosaic .w2 { grid-column: span 2; } .mosaic .w3 { grid-column: span 3; } .mosaic .h2 { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; max-width: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.04) brightness(.9); transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .4s; }
.mosaic figure:hover img { transform: scale(1.04); filter: grayscale(1) contrast(1.04) brightness(1); }
.mosaic figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 10px; background: linear-gradient(transparent, rgba(8,8,7,.82)); font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--paper); }
.yt { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 14px; background: rgba(8,8,7,.45); color: var(--paper); text-decoration: none; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.yt .disc { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--paper); display: grid; place-items: center; transition: background .25s; }
.yt:hover .disc { background: var(--paper); }
.dlg-screen:has(.yt) .card .t { opacity: .14; }
.yt:hover .disc path { stroke: var(--ink); }
@media (max-width: 760px) {
  .clip { grid-template-columns: 72px minmax(0, 1fr) 24px; gap: 4px 16px; }
  .thumb { width: 72px; }
  .clip .thumb { grid-column: 1; grid-row: 1 / span 3; align-self: start; }
  .clip .src, .clip .h, .clip .kind { grid-column: 2; }
  .clip .yr { display: none; }
  .clip .arrow { grid-column: 3; grid-row: 1; }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 140px; }
  .mosaic .w3, .mosaic .w2 { grid-column: span 2; }
}

/* mirada */
.statement { display: grid; gap: 22px; }
.st-title { font-size: clamp(40px, 5.4vw, 84px); line-height: .95; letter-spacing: -.025em; font-style: italic; font-weight: 200; }
.st-body { display: grid; gap: 1.05em; max-width: 64ch; color: #CFC8BD; font-size: 18px; line-height: 1.65; }
.st-body p { margin: 0; }
.st-body .st-open { font-size: clamp(20px, 1.9vw, 25px); line-height: 1.45; color: var(--paper); }
.st-close { margin: 10px 0 0; max-width: 34ch; font-size: clamp(22px, 2.3vw, 32px); line-height: 1.3; font-style: italic; color: var(--copper); }

/* mirada (portada) */
.mirada { padding-block: clamp(110px, 13vw, 190px) 0; display: grid; gap: 28px; }
.m-big { margin: 0; max-width: 24ch; font-size: clamp(32px, 4.6vw, 70px); line-height: 1.14; letter-spacing: -.015em; font-weight: 200; text-wrap: pretty; }
.m-big em { color: var(--copper); }
.bio { margin: 0; max-width: 56ch; font-size: 19px; color: var(--muted); display: grid; gap: 14px; } .bio p { margin: 0; }
.cvbtn { justify-self: start; }

/* sobre mí */
.about { display: flex; flex-wrap: wrap; gap: 48px clamp(40px, 6vw, 96px); padding-top: clamp(40px, 5vw, 72px); }
.about figure { flex: 1 1 260px; max-width: 360px; margin: 0; }
.about img { width: 100%; max-width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; filter: grayscale(1) contrast(1.05) brightness(.92); }
.about figcaption { margin-top: 12px; }
.about .txt { flex: 999 1 520px; min-width: 0; display: grid; gap: 40px; align-content: start; }
.about .lead { font-size: clamp(22px, 2.3vw, 32px); line-height: 1.35; margin: 0; max-width: 36ch; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px 40px; border-top: 1px solid var(--line); padding-top: 28px; }
.cols p { margin: 8px 0 0; font-size: 17px; color: var(--muted); }

/* contacto */
.contact { padding-top: clamp(40px, 5vw, 72px); display: grid; gap: 28px; }
.mail { font-size: clamp(30px, 6.4vw, 96px); line-height: 1; letter-spacing: -.02em; font-weight: 200; overflow-wrap: anywhere; user-select: all; }
.contact-row { display: flex; flex-wrap: wrap; gap: 12px 36px; align-items: center; }
.contact-row .label { color: var(--muted); }
.contact-row a { text-decoration: none; }
.contact-row a:hover { color: var(--paper); }

footer { padding-block: clamp(96px, 10vw, 140px) 40px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; }

/* diálogos: ficha y reel */
dialog { width: min(980px, calc(100vw - 32px)); max-width: 100%; max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--line); background: var(--ink); color: var(--paper); overflow: auto; }
dialog::backdrop { background: rgba(6, 5, 4, .92); }
.dlg-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--ink); z-index: 1; }
.dlg-head button { background: none; border: 0; color: var(--paper); font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; padding: 10px 4px; }
.dlg-screen { position: relative; aspect-ratio: 16 / 9; max-width: 100%; overflow: hidden; }
.dlg-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 28px 48px; padding: 28px 24px 36px; }
.dlg-body h3 { font-size: clamp(30px, 4vw, 52px); font-style: italic; line-height: 1; }
.dlg-body p { margin: 0; color: var(--muted); }
.dlg-body ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dlg-body li { display: flex; gap: 12px; align-items: baseline; }
.dlg-body li::before { content: ""; flex: none; width: 6px; height: 6px; border: 1px solid var(--copper); border-radius: 50%; transform: translateY(-2px); }
.reel-screen { display: grid; place-items: center; text-align: center; padding: 24px; background: var(--ink-2); }
.reel-screen::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .12; pointer-events: none; }
.reel-screen p { margin: 0; max-width: 40ch; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .track { animation: none; width: auto; }
  .track ul { flex-wrap: wrap; }
  .track ul[aria-hidden] { display: none; }
  .frame, .frame::after, .card::after, .tc .rec { animation: none; }
  .frame-btn .card { transition: none; }
}


/* tipografía: Archivo ancho para títulos, Geist para leer */
h1, h2, h3, .m-big, .mail, .press-lead p, .lead, .clip .h, .track li strong, .award strong, .dlg-body h3, .kit h3, .seek h3 { font-family: var(--display); font-stretch: 112%; }
h1, h2, h3 { font-weight: 300; }
.frame-title h1 { text-transform: uppercase; font-stretch: 125%; font-weight: 300; letter-spacing: .01em; font-size: clamp(34px, 6.2vw, 100px); line-height: .95; }
.frame-title h1 em { font-style: normal; }
.feature h2, .cap h3, .dlg-body h3, .work .ttl { font-style: normal; }
.feature h2 { font-stretch: 118%; font-weight: 200; letter-spacing: -.02em; }
.sec-head h2 { font-weight: 400; letter-spacing: -.005em; }
.m-big { font-weight: 300; letter-spacing: -.012em; line-height: 1.12; }
.m-big em { font-style: normal; }
.mail { font-weight: 300; }

/* un punto más de fuerza */
h1, h2, h3 { font-weight: 400; }
.frame-title h1 { font-weight: 480; font-size: clamp(34px, 5.4vw, 86px); letter-spacing: 0; }
.feature h2 { font-weight: 320; }
.sec-head h2 { font-weight: 500; }
.m-big { font-weight: 380; }
.mail { font-weight: 360; }
.cap h3, .dlg-body h3 { font-weight: 420; }

/* mirada: la palabra en vertical, como el borde de una película */
.mir { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 5vw, 96px); align-items: stretch; }
.mir-v { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(22px, 2.4vw, 38px); line-height: .9; letter-spacing: .06em; color: var(--paper); font-weight: 600; user-select: none; align-self: start; }
.mir-c { display: grid; gap: clamp(28px, 3vw, 44px); align-content: center; padding-block: 12px; }
.mir-k { font-family: var(--display); font-stretch: 125%; font-weight: 520; text-transform: uppercase; font-size: clamp(36px, 5.4vw, 92px); line-height: .94; letter-spacing: -.012em; color: var(--copper); max-width: 17ch; }
.mir-t { margin: 0; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.5; color: #CFC8BD; max-width: 46ch; }
.mir-c { gap: clamp(22px, 2.4vw, 32px); } .mir .mir-t { font-size: clamp(18px, 1.4vw, 20px); line-height: 1.6; color: var(--paper); max-width: 52ch; }
@media (max-width: 760px) {
  .mir { grid-template-columns: 1fr; }
  .mir-v { writing-mode: horizontal-tb; transform: none; font-stretch: 100%; font-size: 17vw; line-height: .9; }
}

/* proyectos con presencia */
.mir { grid-template-columns: minmax(0, 1fr); }
.projects { display: grid; gap: clamp(80px, 10vw, 150px); padding-top: clamp(48px, 6vw, 88px); }
.proj { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 5vw, 88px); align-items: center; }
.proj:nth-child(even) .proj-img { order: 2; }
.proj-img, .dev-img { position: relative; display: block; width: 100%; max-width: 100%; border: 0; padding: 0; overflow: hidden; background: #000; cursor: pointer; }
.proj-img { aspect-ratio: 3 / 2; }
.dev-img { aspect-ratio: 16 / 9; }
.proj-img .card img, .dev-img .card img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .4s; }
.proj-img:hover .card img, .proj-img:focus-visible .card img, .dev-img:hover .card img, .dev-img:focus-visible .card img { transform: scale(1.035); filter: brightness(1.08); }
.proj-txt { display: grid; gap: 18px; align-content: center; min-width: 0; }
.proj-txt h3, .dev h3 { font-family: var(--display); font-stretch: 118%; font-weight: 460; text-transform: uppercase; line-height: .98; letter-spacing: -.01em; font-style: normal; }
.proj-txt h3 { font-size: clamp(30px, 3.6vw, 58px); }
.proj-txt p, .dev p { margin: 0; color: #CFC8BD; font-size: 18px; max-width: 46ch; }
.proj-aw { list-style: none; margin: 0; padding: 16px 0 0; display: grid; gap: 9px; border-top: 1px solid var(--line); }
.proj-aw li { display: flex; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
.proj-aw li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 4px; border: 1px solid var(--copper); border-radius: 50%; }
.proj-txt .textbtn { justify-self: start; }
/* logos de productoras y apoyos */
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 16px clamp(22px, 2.6vw, 36px); padding: 4px 0 6px; }
.logos img { display: block; width: auto; max-width: 100%; opacity: .62; transition: opacity .3s; }
.logos:hover img { opacity: .85; }
.ref-tag { position: absolute; right: 12px; bottom: 10px; z-index: 2; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(236,229,218,.72); }
/* proyecto con vídeo a todo lo ancho: imagen arriba, título y texto debajo */
.proj.stack { grid-template-columns: minmax(0, 1fr); gap: clamp(22px, 2.6vw, 36px); }
.proj.stack .proj-img { order: 0; }
.proj.stack .proj-txt { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 18px clamp(32px, 5vw, 88px); align-items: start; }
.proj-head, .proj-body { display: grid; gap: 18px; align-content: start; min-width: 0; }
@media (max-width: 760px) { .proj.stack .proj-txt { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) { .proj { grid-template-columns: 1fr; } .proj:nth-child(even) .proj-img { order: 0; } }
.dev-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: clamp(100px, 12vw, 170px); padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.devs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 56px clamp(32px, 4vw, 64px); padding-top: 40px; }
.dev { display: grid; gap: 14px; align-content: start; }
.dev h3 { font-size: clamp(24px, 2.4vw, 36px); }

/* palmarés quieto */
.aw-list { display: grid; margin-top: 8px; }
.aw { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 4px 32px; padding-block: 20px; border-bottom: 1px solid var(--line); align-items: baseline; }
.aw strong { font-family: var(--display); font-stretch: 112%; font-weight: 420; font-size: 20px; }
.aw span { color: var(--muted); }
.aw em { color: var(--copper); font-style: normal; }

/* largometrajes */
.proj-img.static { cursor: default; }
.card video.loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .4s; }
.proj-img:hover .card video.loop, .proj-img:focus-visible .card video.loop { filter: brightness(1.08); }
.proj-img.is-video { z-index: 55; }
.yt-loop { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
.yt-loop.on { opacity: 1; }
.yt-loop iframe { position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; transform: translate(-50%, -50%); border: 0; pointer-events: none; } /* los vídeos van sin grano: por encima del grano global, con su formato original */
a.proj-img { text-decoration: none; }
.c-quien { background: radial-gradient(ellipse 60% 55% at 50% 58%, #1C1E19 0%, #0B0C0A 72%); color: #DCD6C8; }
.c-quien .q { display: grid; gap: 20px; justify-items: center; }
.c-quien .q-date { font-family: var(--mono); font-size: 11px; letter-spacing: .32em; color: #9A948A; }
.c-quien .t { font-family: var(--display); font-stretch: 125%; font-weight: 420; text-transform: uppercase; font-size: clamp(28px, 3.4vw, 50px); letter-spacing: .04em; line-height: 1; }
.c-quien .q-line { width: 44px; height: 1px; background: var(--copper); }

/* puente entre lo hecho y lo que viene */
.bridge { position: relative; margin-top: clamp(110px, 13vw, 180px); margin-left: calc(-1 * var(--gut-l)); margin-right: calc(-1 * var(--gut-r)); min-height: clamp(440px, 72vh, 780px); display: flex; align-items: center; overflow: hidden; }
.bridge > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: 100%; object-fit: cover; filter: brightness(.36) saturate(.75); }
.bridge::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,11,10,.75) 0%, rgba(12,11,10,.2) 70%); pointer-events: none; }
.bridge-in { position: relative; z-index: 1; width: 100%; max-width: 1360px; margin: 0 auto; padding-left: calc(var(--gut-l) + clamp(0px, 4vw, 56px)); padding-right: calc(var(--gut-r) + clamp(0px, 4vw, 56px)); padding-block: 72px; display: grid; gap: 28px; }
.bridge-k { margin: 0; max-width: 26ch; font-family: var(--display); font-stretch: 112%; font-weight: 380; font-size: clamp(28px, 3.6vw, 56px); line-height: 1.16; letter-spacing: -.01em; color: var(--paper); }
.bridge.plain { min-height: 0; } .bridge.plain::after { display: none; } .bridge.plain .bridge-in { padding-block: 0; }
.bridge-k em { font-style: normal; color: var(--copper); }

/* menú compacto en el móvil */
.menu-btn { display: none; background: none; border: 0; color: var(--paper); font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; padding: 12px 0; cursor: pointer; }
@media (max-width: 720px) {
  header.top .wrap { flex-wrap: wrap; }
  .menu-btn { display: block; }
  header nav { display: none; width: 100%; flex-direction: column; padding: 4px 0 18px; }
  header.top.open nav { display: flex; }
  header nav a { font-size: 13px; padding-block: 12px; border-top: 1px solid var(--line); }
}

/* showreel */
.reel-screen { padding: 0; }
.reel-poster { position: absolute; inset: 0; width: 100%; height: 100%; max-width: 100%; object-fit: cover; filter: brightness(.42); }
.reel-out { position: relative; z-index: 1; display: grid; justify-items: center; gap: 14px; color: var(--paper); text-decoration: none; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.reel-out .disc { width: 72px; height: 72px; border-radius: 50%; border: 1px solid var(--paper); display: grid; place-items: center; transition: background .25s; }
.reel-out:hover .disc { background: var(--paper); }
.reel-out:hover .disc path { stroke: var(--ink); }
.reel-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; background: #000; }

/* las líneas de una casa: el estilo de su dossier */
.c-lineas { background: radial-gradient(ellipse 80% 70% at 30% 40%, #151A2C 0%, #0A0C14 72%); color: #EEEAE2; place-items: center start; padding: 0 9%; }
.c-lineas .lt { position: relative; font-family: var(--display); font-stretch: 100%; font-weight: 900; text-transform: uppercase; font-size: clamp(26px, 3.3vw, 50px); line-height: .9; letter-spacing: -.01em; text-align: left; }
.c-lineas::after { display: none; }
.c-lineas .lw { position: absolute; left: 0; right: 0; top: 54%; height: 2px; background: #2C48EE; box-shadow: 0 0 14px rgba(44,72,238,.5); }
.c-lineas .ll { position: absolute; left: 9%; bottom: 7%; font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #9198EC; }

/* ahora: el primer largometraje, cerca de la portada */
.now { position: relative; margin-top: clamp(110px, 13vw, 180px); margin-left: calc(-1 * var(--gut-l)); margin-right: calc(-1 * var(--gut-r)); min-height: clamp(460px, 76vh, 820px); display: flex; align-items: flex-end; overflow: hidden; }
.now > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: 100%; object-fit: cover; object-position: 40% 50%; }
.now::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,11,10,.1) 30%, rgba(12,11,10,.88) 100%); pointer-events: none; }
.now-in { position: relative; z-index: 1; width: 100%; max-width: 1360px; margin: 0 auto; padding-left: calc(var(--gut-l) + clamp(0px, 4vw, 56px)); padding-right: calc(var(--gut-r) + clamp(0px, 4vw, 56px)); padding-block: 56px; display: grid; gap: 16px; }
.now h2 { font-family: var(--display); font-stretch: 125%; font-weight: 480; text-transform: uppercase; font-size: clamp(40px, 7vw, 116px); line-height: .92; letter-spacing: -.01em; }
.now-gl { font-family: var(--mono); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.now p { margin: 8px 0 0; max-width: 34ch; font-size: clamp(19px, 1.8vw, 25px); line-height: 1.4; color: var(--paper); }
.now-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 12px; }

/* quien calla: bosque en blanco y negro */
.c-quien { background: #0A0A0A; }
.c-quien::after { display: none; }
.c-quien .qc-forest { position: absolute; inset: 0; width: 100%; height: 100%; }
.c-quien .q { position: relative; z-index: 1; }
.c-quien .t { font-stretch: 62%; font-weight: 820; font-size: clamp(42px, 5.6vw, 84px); letter-spacing: .01em; color: #ECECEA; }
.c-quien .q-date { color: #6E95DA; }
.c-quien .q-line { background: #6E95DA; }

/* portadas con imagen */
.c-lineas .lc-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: 100%; object-fit: cover; object-position: 50% 40%; opacity: .55; }
.c-lineas::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,12,20,.92) 0%, rgba(10,12,20,.55) 55%, rgba(10,12,20,.25) 100%); }
.c-lineas .lt, .c-lineas .lw, .c-lineas .ll { z-index: 2; }
.c-quien .qc-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: 100%; object-fit: cover; object-position: 60% 55%; }
.c-quien::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(7,7,7,.62), rgba(7,7,7,.4)); }
.c-quien .q { z-index: 2; }
.c-quien .q-date { color: #9DB8EA; }

/* en desarrollo, versión breve al final de la portada */
.dev-strip .sec-head .dev-all { text-decoration: none; color: var(--copper); }
.dev-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px); padding-top: clamp(32px, 4vw, 56px); }
.dev-card { display: grid; gap: 12px; align-content: start; text-decoration: none; color: var(--paper); }
.dev-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #000; }
.dev-img img { width: 100%; height: 100%; max-width: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .4s; }
.dev-card:hover .dev-img img { transform: scale(1.035); }
.dev-t { font-family: var(--display); font-stretch: 118%; font-weight: 460; text-transform: uppercase; font-size: clamp(20px, 1.9vw, 28px); line-height: 1; }
@media (max-width: 760px) { .dev-grid { grid-template-columns: minmax(0, 1fr); } }
/* navegación por páginas */
header nav a[aria-current="page"] { color: var(--paper); }
.page-first { padding-top: clamp(28px, 4vw, 56px) !important; margin-top: 0 !important; }

/* selector de idioma */
.langs { position: relative; margin-left: 4px; padding-left: 14px; border-left: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; }
.langs summary { list-style: none; cursor: pointer; color: var(--copper); padding-block: 12px; white-space: nowrap; }
.langs summary::-webkit-details-marker { display: none; }
.langs ul { position: absolute; right: 0; top: 100%; z-index: 70; margin: 0; padding: 8px 0; list-style: none; min-width: 150px; background: var(--ink-2); border: 1px solid var(--line); }
header nav .langs li a, .langs li span { display: block; padding: 9px 18px; border: 0; color: var(--muted); text-decoration: none; text-transform: none; letter-spacing: .06em; font-size: 12px; }
header nav .langs li a:hover { color: var(--paper); }
.langs li span { color: var(--copper); }
@media (max-width: 720px) {
  .langs { border-left: 0; padding: 0; margin: 0; border-top: 1px solid var(--line); }
  .langs summary { padding-block: 14px; font-size: 13px; }
  .langs ul { position: static; border: 0; background: none; padding: 0 0 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  header nav .langs li a, .langs li span { padding: 8px 0; font-size: 13px; }
}
/* chino y japonés: tipografías del sistema para los caracteres */
html:lang(zh) { --display: 'Archivo', 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans SC', 'Microsoft YaHei', sans-serif; --body: 'Geist', 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans SC', 'Microsoft YaHei', sans-serif; --mono: 'Geist Mono', 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', monospace; }
html:lang(ja) { --display: 'Archivo', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic', 'Meiryo', sans-serif; --body: 'Geist', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic', 'Meiryo', sans-serif; --mono: 'Geist Mono', 'Hiragino Sans', 'Noto Sans JP', 'Yu Gothic', monospace; }
html:lang(zh) .label, html:lang(ja) .label { letter-spacing: .08em; }
html:lang(zh) p, html:lang(ja) p { line-break: strict; word-break: normal; }
