/* Sitio de Jorge Díaz, versión "escenas" (7-oct-2026).
   Cada sección es una toma dentro del visor de cámara: esquinas, REC y timecode fijos; una idea por pantalla.
   Paleta del manual MP: un solo jade por bloque, nunca texto sobre Jade Luz; Jade Luz sólo para trazos, reglas, glows y tipos gigantes. */
/* Fuentes locales (las mismas de Google Fonts, sólo latín): Archivo con ejes de ancho y peso, IBM Plex Mono 400/500 */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 300 900; font-stretch: 62% 125%; font-display: swap; src: url(fonts/archivo-wdth-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; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/plexmono-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; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/plexmono-500-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; }

:root {
  color-scheme: dark;
  --ink: #04211c;      /* Jade Noir */
  --ink-2: #121212;    /* Grafito */
  --bone: #f4f2ed;     /* Blanco Hueso */
  --mute: #9db8b0;     /* Jade Bruma */
  --luz: #14705f;      /* Jade Luz */
  --prof: #0b3b33;     /* Jade Profundo */
  --black: #010605;
  --line: rgba(157, 184, 176, .22);
  --glow: 0 0 .55em rgba(20, 112, 95, .85);
  --display: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --u: min(1vw, 1.7778vh);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
html { scroll-behavior: smooth; background: var(--black); }
html:has(dialog[open]) { overflow: hidden; }
body { margin: 0; background: var(--black); color: var(--bone); font-family: var(--display); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--prof); color: var(--bone); }

/* ---------- Fondo, grano y visor (fijos) ---------- */
.bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(110% 80% at 85% 115%, rgba(11, 59, 51, .95), transparent 62%),
    radial-gradient(80% 60% at 0% -10%, rgba(4, 33, 28, .9), transparent 62%),
    linear-gradient(180deg, #031210, var(--black));
}
.grain {
  position: fixed; inset: -50%; pointer-events: none; z-index: 8; opacity: .12;
  background-size: 220px 220px; mix-blend-mode: overlay; animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0) } 20% { transform: translate(-3%, 2%) } 40% { transform: translate(2%, -3%) }
  60% { transform: translate(-2%, -1%) } 80% { transform: translate(3%, 3%) } 100% { transform: translate(0, 0) }
}

/* ---------- Barra de avance (abajo) ---------- */
.hud {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 6;
  padding: calc(1.6 * var(--u)) calc(8 * var(--u)) calc(env(safe-area-inset-bottom, 0px) + calc(2.2 * var(--u)));
  display: flex; align-items: center; gap: calc(2 * var(--u));
  background: linear-gradient(to top, rgba(1, 6, 5, .94) 40%, rgba(1, 6, 5, 0));
  font-family: var(--mono); font-size: max(11px, calc(1.1 * var(--u))); letter-spacing: .12em; color: var(--mute);
}
.hud .brand { color: var(--bone); white-space: nowrap; text-decoration: none; }
.prog { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; }
.prog a { height: 16px; display: flex; align-items: center; }
.prog a::before { content: ""; display: block; width: 100%; height: 2px; background: var(--line); transition: background .3s, height .3s; }
.prog a.on::before { background: var(--luz); }
.prog a.cur::before { height: 4px; }
.prog a:focus-visible { outline: 2px solid var(--mute); outline-offset: 2px; }
.hud .num { font-variant-numeric: tabular-nums; color: var(--bone); white-space: nowrap; min-width: 15ch; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em; text-decoration: none; cursor: pointer;
  font-family: var(--display); font-weight: 650; font-size: max(15px, calc(1.6 * var(--u))); letter-spacing: 0;
  padding: .85em 1.3em; background: var(--bone); color: var(--ink); border: 1px solid var(--bone);
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--prof); color: var(--bone); border-color: var(--luz); }
.btn:focus-visible { outline: 2px solid var(--mute); outline-offset: 3px; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn.ghost { background: transparent; color: var(--bone); border-color: rgba(157, 184, 176, .5); }
.btn.ghost:hover { background: transparent; color: var(--bone); border-color: var(--mute); }
.btn.sm { font-size: max(12px, calc(1.1 * var(--u))); padding: .55em .9em; font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }

/* ---------- Escenas ---------- */
.scene {
  position: relative; box-sizing: border-box;
  padding: calc(7 * var(--u)) calc(8 * var(--u));
  display: flex; flex-direction: column; justify-content: flex-start; gap: calc(2.2 * var(--u));
}
.scene:first-of-type { min-height: 100svh; padding-bottom: calc(10 * var(--u)); }
.scene:first-of-type > .body { margin-block: auto; }
.scene > .body { margin-block: calc(1.4 * var(--u)) 0; }
.scene:last-of-type { padding-bottom: calc(10 * var(--u)); }
.tag { font-family: var(--mono); font-size: max(11px, calc(1.2 * var(--u))); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
h2 { font-size: calc(4.4 * var(--u)); line-height: 1.04; font-weight: 850; font-stretch: 108%; letter-spacing: -.02em; text-wrap: balance; max-width: 24ch; }
.say { font-size: max(16px, calc(2 * var(--u))); line-height: 1.45; color: var(--mute); max-width: 34ch; margin-top: calc(2.6 * var(--u)); }
.say b { color: var(--bone); font-weight: 700; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: calc(6 * var(--u)); align-items: start; }
.split > * { min-width: 0; }
.more { display: inline-flex; gap: .5em; margin-top: calc(2.6 * var(--u)); font-family: var(--mono); font-size: max(12px, calc(1.2 * var(--u))); letter-spacing: .12em; text-transform: uppercase; color: var(--bone); text-decoration: none; border-bottom: 2px solid var(--luz); padding-bottom: .3em; }
.more:hover { color: var(--mute); }

/* entrada: corre una vez cuando la toma entra en cuadro */
.js .scene:not(.play):not(#inicio) .rv { opacity: 0; }
#inicio .rv { animation: rise .7s var(--ease) both; animation-delay: calc(var(--d, 0) * 1s); }
.scene.play .rv { animation: rise .8s var(--ease) both; animation-delay: calc(var(--d, 0) * 1s); }
@keyframes rise { from { opacity: 0; transform: translateY(calc(2.4 * var(--u))); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0) } to { transform: scaleX(1) } }
@keyframes grow-v { from { transform: scaleY(0) } to { transform: scaleY(1) } }
@keyframes popin { from { transform: translate(-50%, -50%) scale(0); } to { transform: translate(-50%, -50%) scale(1); } }

/* ---------- 01 · Portada ---------- */
.cover { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; align-content: center; column-gap: calc(6 * var(--u)); }
.cover .l { display: flex; flex-direction: column; gap: calc(2 * var(--u)); }
.hook { border-left: 2px solid var(--luz); padding-left: calc(2 * var(--u)); }
.hook p { max-width: 32ch; font-size: max(16px, calc(2.1 * var(--u))); font-weight: 700; line-height: 1.25; color: var(--mute); text-wrap: balance; }
.hook p b { color: var(--bone); font-weight: 800; }
.name { font-size: calc(8 * var(--u)); line-height: .86; font-weight: 900; font-stretch: 125%; letter-spacing: -.035em; text-transform: uppercase; margin-left: -.04em; }
.name span { display: block; }
.name .acc { color: var(--luz); text-shadow: 0 0 .25em rgba(20, 112, 95, .55); }
.role { display: flex; align-items: center; gap: calc(1.6 * var(--u)); font-size: max(15px, calc(2.1 * var(--u))); font-weight: 500; }
.role::before { content: ""; width: calc(5 * var(--u)); height: 3px; background: var(--luz); flex: none; }
.ctas { display: flex; flex-wrap: wrap; gap: calc(1.2 * var(--u)); margin-top: calc(.6 * var(--u)); }
.portrait { position: relative; justify-self: end; height: calc(32 * var(--u)); aspect-ratio: 4 / 5; max-width: 100%; }
.portrait picture { display: contents; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.portrait .pf { position: absolute; inset: calc(1.4 * var(--u)); pointer-events: none; }
.portrait .pf i { position: absolute; width: 18%; height: 14%; border: 2px solid var(--bone); opacity: .8; }
.portrait .pf i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.portrait .pf i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.portrait .pf i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.portrait .pf i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.portrait .cap { position: absolute; left: calc(2.6 * var(--u)); bottom: calc(2.4 * var(--u)); font-family: var(--mono); font-size: max(10px, calc(1.05 * var(--u))); letter-spacing: .14em; text-transform: uppercase; color: var(--bone); text-shadow: 0 1px 6px rgba(0, 0, 0, .7); }
.portrait::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }

/* ---------- 02 · Problema: palabras huecas tachadas ---------- */
.lacks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(2.4 * var(--u)); }
.lack { border-top: 1px solid var(--line); padding-top: calc(1.6 * var(--u)); }
.lack .no { font-family: var(--mono); font-size: max(11px, calc(1.2 * var(--u))); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.lack .w {
  position: relative; display: inline-block; margin-top: .3em; white-space: nowrap;
  font-size: calc(4.6 * var(--u)); font-weight: 900; font-stretch: 115%; letter-spacing: -.02em; line-height: 1.05;
  color: transparent; -webkit-text-stroke: 1.5px var(--bone);
}
.lack .w::after { content: ""; position: absolute; left: -.06em; right: -.06em; top: 50%; height: .09em; background: var(--luz); box-shadow: var(--glow); transform-origin: left; }
.scene.play .lack .w::after { animation: grow .55s var(--ease) both; animation-delay: calc(var(--d) * 1s + .55s); }

/* ---------- 03 · Solución: tira de película ---------- */
.strip {
  position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: calc(1 * var(--u));
  padding: calc(3.2 * var(--u)) calc(1.4 * var(--u)); background: var(--ink-2);
}
.strip::before, .strip::after, .reel-wrap::before, .reel-wrap::after {
  content: ""; position: absolute; left: calc(1.4 * var(--u)); right: calc(1.4 * var(--u)); height: calc(1.1 * var(--u));
  background: repeating-linear-gradient(90deg, rgba(244, 242, 237, .42) 0 calc(1.3 * var(--u)), transparent calc(1.3 * var(--u)) calc(2.6 * var(--u)));
}
.strip::before, .reel-wrap::before { top: calc(1 * var(--u)); }
.strip::after, .reel-wrap::after { bottom: calc(1 * var(--u)); }
.fr {
  position: relative; aspect-ratio: 16 / 10; box-sizing: border-box; display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(1.4 * var(--u)); background: var(--prof); color: var(--bone); border: 1px solid var(--luz);
}
.fr .n { position: absolute; top: calc(1.1 * var(--u)); left: calc(1.4 * var(--u)); font-family: var(--mono); font-size: max(10px, calc(1.05 * var(--u))); letter-spacing: .12em; }
.fr .lbl { font-size: calc(2.3 * var(--u)); font-weight: 800; font-stretch: 105%; line-height: 1.1; }
.fr .lbl small { display: block; font-family: var(--mono); font-weight: 400; font-size: max(10px, calc(1.05 * var(--u))); letter-spacing: .04em; margin-top: .45em; opacity: .75; }
.scene.play .fr { animation: frame .5s ease both; animation-delay: calc(.6s + var(--i) * .55s); }
@keyframes frame {
  from { background: transparent; color: var(--bone); border-color: rgba(157, 184, 176, .25); }
  to { background: var(--prof); color: var(--bone); border-color: var(--luz); }
}
.client { display: flex; align-items: center; gap: calc(2 * var(--u)); margin-top: calc(1.6 * var(--u)); font-size: max(17px, calc(2.5 * var(--u))); font-weight: 600; }
.client .vfi { flex: none; width: calc(6 * var(--u)); min-width: 40px; aspect-ratio: 16 / 10; position: relative; }
.client .vfi i { position: absolute; width: 32%; height: 40%; border: 2px solid var(--luz); }
.client .vfi i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.client .vfi i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.client .vfi i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.client .vfi i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.client .vfi b { position: absolute; inset: 0; margin: auto; width: 22%; aspect-ratio: 1; border-radius: 50%; background: var(--luz); box-shadow: var(--glow); }

/* ---------- 04 · Trabajo: tira de reels ---------- */
.trab-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2em; }
.reel-nav .hint { align-self: center; margin-right: 10px; font-family: var(--mono); font-size: max(11px, calc(1.05 * var(--u))); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.reel-nav { display: flex; gap: 8px; flex: none; }
.reel-nav button { all: unset; cursor: pointer; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--bone); }
.reel-nav button:hover { border-color: var(--luz); }
.reel-nav button:focus-visible { outline: 2px solid var(--mute); outline-offset: 2px; }
.reel-nav svg { width: 16px; height: 16px; }
.reel-wrap { position: relative; background: var(--ink-2); padding: calc(2.6 * var(--u)) 0; }
.reels { display: flex; gap: calc(1 * var(--u)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 calc(1.4 * var(--u)); }
.reels::-webkit-scrollbar { display: none; }
.rf {
  all: unset; box-sizing: border-box; position: relative; flex: none; height: calc(26 * var(--u)); min-height: 280px; aspect-ratio: 9 / 16;
  cursor: pointer; scroll-snap-align: start; overflow: hidden; border: 1px solid rgba(157, 184, 176, .25); background: #000;
}
.rf.wide { aspect-ratio: 16 / 9; }
.rf img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), opacity .3s; opacity: .9; }
.rf:hover img, .rf:focus-visible img { transform: scale(1.04); opacity: 1; }
.rf:focus-visible { outline: 3px solid var(--bone); outline-offset: -3px; }
.rf .meta { position: absolute; left: 0; right: 0; bottom: 0; padding: calc(7 * var(--u)) calc(1.2 * var(--u)) calc(1.2 * var(--u)); background: linear-gradient(to top, rgba(1, 6, 5, .97) 40%, rgba(1, 6, 5, .8) 70%, transparent); font-size: max(13px, calc(1.35 * var(--u))); font-weight: 600; line-height: 1.25; }
.rf .meta b { display: block; font-family: var(--mono); font-weight: 400; font-size: max(10px, calc(1 * var(--u))); letter-spacing: .14em; text-transform: uppercase; color: rgba(244, 242, 237, .82); margin-bottom: .3em; }
.rf .vis { display: block; margin-bottom: .7em; font-family: var(--mono); font-weight: 400; font-size: max(10px, calc(1 * var(--u))); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.rf .vis em { display: block; margin-bottom: .1em; font-family: var(--display); font-style: normal; font-size: max(26px, calc(2.1 * var(--u))); font-weight: 900; letter-spacing: -.02em; line-height: 1; text-transform: none; color: var(--bone); }
.rf .play { position: absolute; top: calc(1.2 * var(--u)); right: calc(1.2 * var(--u)); width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--prof); border: 1px solid var(--luz); color: var(--bone); }
.rf .play svg { width: 14px; height: 14px; margin-left: 2px; }
.player { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; overflow: visible; }
.player::backdrop { background: rgba(1, 6, 5, .92); }
.player video { display: block; max-width: min(92vw, 1400px); max-height: 82vh; background: #000; border: 1px solid var(--line); }
.player .x { all: unset; cursor: pointer; position: absolute; top: -48px; right: 0; font-family: var(--mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--bone); padding: 10px 0; }
.player .x:focus-visible { outline: 2px solid var(--mute); }

/* ---------- 05 · Valor: créditos ---------- */
.credits { position: relative; overflow: hidden; padding: calc(1.6 * var(--u)) 0; -webkit-mask-image: linear-gradient(transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(transparent, #000 7%, #000 93%, transparent); }
.roll { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); column-gap: calc(1.6 * var(--u)); row-gap: calc(1 * var(--u)); align-items: baseline; }
.scene.play .roll { animation: roll 3s cubic-bezier(.25, .7, .2, 1) .3s both; }
@keyframes roll { from { transform: translateY(110%); } to { transform: none; } }
.roll .r { text-align: right; font-family: var(--mono); font-size: max(10px, calc(1.15 * var(--u))); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.roll .sep { width: calc(2.4 * var(--u)); height: 1px; background: var(--line); align-self: center; }
.roll .who { white-space: nowrap; font-size: calc(2.1 * var(--u)); font-weight: 750; font-stretch: 105%; letter-spacing: -.01em; }
.roll .star { margin-top: calc(1.4 * var(--u)); }
.roll .r.star { color: var(--bone); }
.roll .sep.star { background: var(--luz); box-shadow: var(--glow); }
.roll .who.star { color: var(--bone); text-shadow: var(--glow); font-size: calc(3.4 * var(--u)); font-weight: 900; font-stretch: 112%; }

/* ---------- 06 · Plan: calendario ---------- */
.cal { border: 1px solid var(--line); padding: calc(2 * var(--u)) calc(2.4 * var(--u)) calc(2.2 * var(--u)); max-width: calc(46 * var(--u)); justify-self: end; width: 100%; box-sizing: border-box; background: rgba(18, 18, 18, .6); }
.cal .mh { display: flex; justify-content: space-between; font-family: var(--mono); font-size: max(11px, calc(1.2 * var(--u))); letter-spacing: .14em; text-transform: uppercase; margin-bottom: calc(1.4 * var(--u)); }
.cal .mh span:last-child { color: var(--mute); }
.grid7 { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: calc(.6 * var(--u)); }
.grid7 .h { font-family: var(--mono); font-size: max(10px, calc(1.05 * var(--u))); color: var(--mute); opacity: .85; text-align: center; padding-bottom: .4em; }
.grid7 .d { aspect-ratio: 2.1; display: grid; place-items: center; position: relative; font-family: var(--mono); font-size: max(10px, calc(1.35 * var(--u))); color: rgba(157, 184, 176, .7); font-variant-numeric: tabular-nums; }
.grid7 .d.pay { color: var(--bone); font-weight: 500; isolation: isolate; }
.grid7 .d.pay::before { content: ""; position: absolute; top: 50%; left: 50%; height: 84%; aspect-ratio: 1; transform: translate(-50%, -50%); background: var(--prof); box-shadow: inset 0 0 0 1px var(--luz); z-index: -1; }
.scene.play .grid7 .d.pay::before { animation: popin .5s var(--ease) .7s both; }
.grid7 .d.shoot { color: var(--bone); font-weight: 500; }
.grid7 .d.shoot::after { content: ""; position: absolute; top: 50%; left: 50%; height: 112%; aspect-ratio: 1; box-sizing: border-box; border: 2px solid var(--luz); border-radius: 50%; box-shadow: var(--glow); transform: translate(-50%, -50%); }
.scene.play .grid7 .d.shoot::after { animation: popin .6s var(--ease) both; animation-delay: calc(1.3s + var(--k, 0) * .35s); }
.cal .note { display: flex; flex-wrap: wrap; align-items: center; gap: .5em .7em; margin-top: calc(2.2 * var(--u)); font-size: max(14px, calc(1.7 * var(--u))); line-height: 1.35; }
.cal .note .pair { display: inline-flex; align-items: center; gap: .7em; white-space: nowrap; }
.cal .note b { color: var(--bone); font-weight: 700; }
.sw { display: inline-block; width: .9em; height: .9em; flex: none; }
.sw.pay { background: var(--prof); box-shadow: inset 0 0 0 1px var(--luz); }
.sw.shoot { border: 2px solid var(--luz); border-radius: 50%; box-sizing: border-box; }

/* ---------- 07 · Extras ---------- */
.rig { display: flex; flex-direction: column; gap: calc(1.2 * var(--u)); }
.mods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(1.2 * var(--u)); }
.mod { box-sizing: border-box; border: 2px dashed var(--luz); padding: calc(1.4 * var(--u)) calc(1.6 * var(--u)); background: repeating-linear-gradient(135deg, rgba(20, 112, 95, .2) 0 6px, transparent 6px 14px); display: flex; flex-direction: column; gap: .5em; min-height: calc(10 * var(--u)); }
.mod .pl { font-size: calc(3 * var(--u)); font-weight: 900; color: var(--luz); text-shadow: var(--glow); line-height: 1; }
.mod .nm { font-size: max(15px, calc(1.8 * var(--u))); font-weight: 750; font-stretch: 105%; line-height: 1.15; }
.mod .nt { font-family: var(--mono); font-size: max(10px, calc(1 * var(--u))); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-top: auto; }
.scene.play .mod { animation: dock .7s var(--ease) both; animation-delay: calc(1s + var(--i) * .35s); }
@keyframes dock { 0% { opacity: 0; transform: translateY(calc(-4 * var(--u))); } 70% { opacity: 1; transform: translateY(calc(.4 * var(--u))); } 100% { transform: none; } }
.base { background: var(--prof); color: var(--bone); border-top: 2px solid var(--luz); padding: calc(1.8 * var(--u)) calc(2 * var(--u)); }
.base .k { color: var(--mute); font-family: var(--mono); font-size: max(10px, calc(1.05 * var(--u))); letter-spacing: .16em; text-transform: uppercase; }
.base .t { font-size: max(17px, calc(2.4 * var(--u))); font-weight: 850; font-stretch: 108%; line-height: 1.1; margin-top: .3em; }
.chips { display: flex; flex-wrap: wrap; gap: calc(.8 * var(--u)); margin-top: calc(1.4 * var(--u)); }
.chips span { font-family: var(--mono); font-size: max(11px, calc(1.1 * var(--u))); letter-spacing: .06em; border: 1.5px solid rgba(157, 184, 176, .5); padding: .35em .7em; }

/* ---------- 08 · Para empezar ---------- */
/* escalera: las tres miden lo mismo hasta abajo; cada una arranca un escalón más arriba que la anterior (--k = escalones de bajada) */
.escalera { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(1.4 * var(--u)); align-items: stretch; }
.esc { box-sizing: border-box; display: flex; flex-direction: column; gap: calc(1.4 * var(--u)); margin-top: calc(var(--k, 0) * 3.4 * var(--u)); padding: calc(2.2 * var(--u)) calc(2 * var(--u)); background: var(--ink-2); border: 1px solid var(--line); border-top: 2px solid rgba(157, 184, 176, .5); }
.esc.top { border-color: var(--luz); }
.esc .nm { font-size: max(18px, calc(2.1 * var(--u))); font-weight: 850; font-stretch: 106%; line-height: 1.1; }
.esc .cuanto { font-family: var(--mono); font-size: max(11px, calc(1.1 * var(--u))); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.esc .cuanto em { display: block; margin-bottom: .1em; font-family: var(--display); font-style: normal; font-size: max(44px, calc(5.2 * var(--u))); font-weight: 900; font-stretch: 108%; letter-spacing: -.03em; line-height: .9; text-transform: none; color: var(--bone); }
.esc ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .7em; font-size: max(15px, calc(1.45 * var(--u))); line-height: 1.4; color: var(--bone); }
.esc li { position: relative; padding-left: 1.1em; }
.esc li::before { content: ""; position: absolute; left: 0; top: .68em; width: .5em; height: 2px; background: var(--luz); }
.esc .btn { margin-top: auto; align-self: flex-start; }

/* ---------- 09 · Clientes ---------- */
.films { display: grid; grid-template-columns: auto auto minmax(0, 1fr); border-top: 1px solid var(--line); }
.films > * { padding: calc(.8 * var(--u)) calc(2.4 * var(--u)) calc(.8 * var(--u)) 0; border-bottom: 1px solid var(--line); }
.films .hd { font-family: var(--mono); font-size: max(10px, calc(1.05 * var(--u))); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); padding-top: calc(.9 * var(--u)); padding-bottom: calc(.9 * var(--u)); }
.films .who { font-size: max(17px, calc(1.9 * var(--u))); font-weight: 850; font-stretch: 106%; white-space: nowrap; }
.films .who small { display: flex; align-items: center; gap: .6em; margin-top: .4em; font-family: var(--mono); font-size: max(10px, calc(.95 * var(--u))); font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--bone); }
.films .who small::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: var(--luz); box-shadow: var(--glow); }
.films .what { max-width: 20ch; font-family: var(--mono); font-size: max(11px, calc(1.15 * var(--u))); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.films .did { font-size: max(15px, calc(1.45 * var(--u))); line-height: 1.35; color: var(--bone); max-width: 46ch; }
.scene.play .films > .rowc { animation: rise .6s var(--ease) both; animation-delay: calc(.3s + var(--r) * .18s); }

/* ---------- 10 · Preguntas ---------- */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: calc(4 * var(--u)); align-items: start; border-top: 1px solid var(--line); }
.faq .col { display: grid; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.2em; padding: calc(1.1 * var(--u)) 0; font-size: max(16px, calc(1.7 * var(--u))); font-weight: 750; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; content: "+" / ""; flex: none; font-family: var(--mono); font-weight: 400; font-size: 1.2em; color: var(--luz); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--mute); outline-offset: 2px; }
.faq .a { padding: 0 0 calc(1.8 * var(--u)); font-size: max(15px, calc(1.6 * var(--u))); line-height: 1.55; color: var(--mute); max-width: 62ch; }
.faq .a a { color: var(--bone); text-decoration-color: var(--luz); text-decoration-thickness: 2px; text-underline-offset: .2em; }

/* ---------- 11 · Hablemos ---------- */
.fin { justify-content: center; }
.fin h2 { font-size: calc(5.6 * var(--u)); max-width: 16ch; line-height: .98; }
.fin h2 em { font-style: normal; color: var(--luz); text-shadow: 0 0 .25em rgba(20, 112, 95, .55); }
.fin .say { max-width: 60ch; }
.fin .ctas { margin-top: calc(2 * var(--u)); }
.foot { margin-top: calc(5 * var(--u)); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1em 2em; font-family: var(--mono); font-size: max(11px, calc(1.05 * var(--u))); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.foot a { text-decoration: none; border-bottom: 1px solid var(--line); }
.foot a:hover { color: var(--bone); border-color: var(--luz); }
.foot .cred { flex-basis: 100%; text-transform: none; letter-spacing: .04em; }

/* ---------- Horizontal (laptop, proyector) ---------- */
@media not all and (max-aspect-ratio: 4/5) {
  .scene > .split.body { margin-block: 0 auto; }
  .fr { aspect-ratio: 3 / 2; }
  .fr .lbl { font-size: calc(1.9 * var(--u)); }
  .client { margin-top: calc(.8 * var(--u)); }
  .cal .note { flex-direction: column; align-items: flex-start; gap: .5em; }
  .cal .note > .mute { display: none; }
  .films .did { max-width: none; }
  .fin { justify-content: flex-start; }
  .fin .say, .fin .ctas { margin-top: 0; }
}

/* ---------- Vertical (celular) ---------- */
@media (max-aspect-ratio: 4/5) {
  :root { --u: min(2.3vw, 1.15svh); }
  .scene { padding: max(72px, calc(12 * var(--u))) 20px max(64px, calc(9 * var(--u))); }
  .scene:first-of-type { min-height: 100svh; }
  .scene > .body { margin-block: calc(2 * var(--u)) 0; }
  .hud { padding: 8px 20px calc(env(safe-area-inset-bottom, 0px) + 10px); }
  .hud .btn.sm { min-height: 44px; box-sizing: border-box; padding: 0 1em; font-size: 13px; }
  .prog { visibility: hidden; }
  .hud .num { display: none; }
  .hud .brand { flex: 1; padding-block: 15px; }
  .cover { display: grid; grid-template-columns: minmax(0, 1fr) 38%; grid-template-areas: "hook pic" "name name" "role role" "ctas ctas"; column-gap: 16px; row-gap: calc(2.4 * var(--u)); align-items: center; align-content: center; padding-top: max(72px, calc(11 * var(--u))); }
  .cover .l { display: contents; }
  .cover .hook { grid-area: hook; }
  .cover .name { grid-area: name; }
  .cover .role { grid-area: role; }
  .cover .ctas { grid-area: ctas; }
  .portrait { grid-area: pic; width: 100%; height: auto; aspect-ratio: 4 / 5; justify-self: end; }
  .portrait .cap { display: none; }
  .name { font-size: min(calc(11 * var(--u)), 19vw); }
  .split { grid-template-columns: minmax(0, 1fr); gap: calc(3.5 * var(--u)); }
  .lacks { grid-template-columns: minmax(0, 1fr); gap: calc(1.6 * var(--u)); }
  .lack .w { font-size: calc(5 * var(--u)); }
  .strip { grid-template-columns: minmax(0, 1fr); padding: calc(1.4 * var(--u)) calc(3.4 * var(--u)); gap: 6px; }
  .strip::before, .strip::after {
    top: calc(1.4 * var(--u)); bottom: calc(1.4 * var(--u)); height: auto; width: calc(1.1 * var(--u)); left: calc(1.1 * var(--u)); right: auto;
    background: repeating-linear-gradient(180deg, rgba(244, 242, 237, .42) 0 calc(1.3 * var(--u)), transparent calc(1.3 * var(--u)) calc(2.6 * var(--u)));
  }
  .strip::after { left: auto; right: calc(1.1 * var(--u)); }
  .fr { aspect-ratio: auto; flex-direction: row; justify-content: flex-start; align-items: baseline; gap: 1em; padding: calc(1.6 * var(--u)) calc(2 * var(--u)); }
  .fr .n { position: static; }
  .fr .lbl small { display: inline; margin-left: .6em; }
  .trab-head { flex-direction: column; align-items: flex-start; gap: 1em; }
  .reel-nav { width: 100%; }
  .reel-nav .hint { flex: 1; min-width: 0; }
  .reel-nav button { flex: none; box-sizing: border-box; width: 44px; height: 44px; }
  .rf { height: 52svh; }
  .rf.wide { aspect-ratio: 9 / 16; }
  .rf.wide img { object-fit: contain; }
  .cal { justify-self: start; }
  .mods { grid-template-columns: minmax(0, 1fr); }
  .mod { min-height: 0; flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: .3em .8em; }
  .mod .nt { margin-top: 0; }
  .escalera { grid-template-columns: minmax(0, 1fr); }
  .esc { margin-top: 0; }
  .esc .btn { min-height: 44px; box-sizing: border-box; }
  .films { grid-template-columns: minmax(0, 1fr); }
  .films .what { max-width: none; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .films .hd { display: none; }
  .films > * { padding-right: 0; border-bottom: 0; }
  .films .who { padding-top: calc(2.4 * var(--u)); border-top: 1px solid var(--line); white-space: normal; }
  .films .what, .films .did { padding-top: 0; padding-bottom: calc(.8 * var(--u)); }
  .fin { padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)); }
  .fin h2 { font-size: calc(6 * var(--u)); }
  .foot a { position: relative; }
  .foot a::after { content: ""; position: absolute; inset: -14px -4px; }
  .faq .a a { padding-block: 12px; }
  .player .x { top: -56px; padding: 12px 0; }
  .scene.play .rv { animation-delay: calc(min(var(--d, 0), .6) * 1s); }
  .hud, .tag, .lack .no, .reel-nav .hint, .rf .meta b, .rf .vis, .roll .r, .grid7 .h, .grid7 .d, .cal .mh, .mod .nt, .base .k, .chips span, .fr .n, .fr .lbl small, .films .who small, .films .what, .foot { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scene.play *, .scene.play *::before, .scene.play *::after { animation: none !important; }
  .js .scene:not(.play) .rv { opacity: 1; }
  .grain { animation: none; }
  #inicio .rv { animation: none !important; }
}
