/* =====================================================================
   Agustín Termezana — ESTILOS
   Todos los colores, letras y tamaños salen de variables (--bg, --fg,
   --accent, --font-display…) que arma site/render.js con lo que se
   elige en el panel.
   ===================================================================== */
:root {
  --bg: #0A0A0A; --fg: #EDEAE3; --accent: #FF3B1F; --on-accent: #fff;
  --muted: #8b8984; --line: rgba(237,234,227,.14); --line-2: rgba(237,234,227,.28);
  --l-bg: #ECE8E1; --l-fg: #0A0A0A;
  --font-display: "Bebas Neue", Impact, sans-serif; --font-body: Inter, system-ui, sans-serif;
  --font-accent: "Instrument Serif", Georgia, serif; --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --display-weight: 400; --display-track: 0; --display-adj: 1.18; --display-lh: .86; --accent-adj: 1;
  --title-scale: 1; --text-scale: 1; --tt: uppercase; --grain: .06; --radius: 0px; --radius-sm: 0px;
  --gut: clamp(16px, 3.6vw, 56px);
  --ease: cubic-bezier(.22, 1, .36, 1); --ease-io: cubic-bezier(.76, 0, .24, 1);
  --hdr: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
body {
  margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body);
  font-size: calc(16px * var(--text-scale)); line-height: 1.55; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: inherit; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--accent); color: var(--on-accent); padding: 10px 14px; font-weight: 600; }
.skip:focus { top: 12px; }
.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { padding-inline: var(--gut); }

/* Grano de película */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 250; pointer-events: none; opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.1s steps(6) infinite;
}
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-6%,4%); } 40% { transform: translate(5%,-7%); } 60% { transform: translate(-3%,8%); } 80% { transform: translate(7%,2%); } }

/* ---------- Tipografía ---------- */
.h2 {
  font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-track); text-transform: var(--tt);
  font-size: calc(clamp(3rem, 8.4vw, 9.5rem) * var(--title-scale) * var(--display-adj)); line-height: var(--display-lh);
}
.lead { font-size: calc(clamp(1.05rem, 1.35vw, 1.3rem) * var(--text-scale)); color: var(--muted); max-width: 46ch; line-height: 1.5; }
.hl { color: var(--accent-ink); }
.it { font-family: var(--font-accent); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.01em; font-size: calc(1em * var(--accent-adj)); }
.h2 .it, .hero__title .it { font-size: calc(.86em * var(--accent-adj)); }
strong { font-weight: 600; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow__n { order: 2; color: var(--accent-ink); }
.ln { display: block; overflow: hidden; padding: .14em 0 .04em; margin: -.14em 0 -.04em; }
.ln__in { display: block; }
.ch { display: inline-block; will-change: transform; }
.ch--sp { width: .26em; }
.roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; }
.roll::after { content: attr(data-text); position: absolute; left: 0; top: calc(100% + .25em); }
.roll, .roll::after { transition: transform .5s var(--ease); }
a:hover > .roll, a:hover .roll, button:hover .roll { transform: translateY(calc(-100% - .25em)); }
a:hover .roll::after, button:hover .roll::after { transform: none; }

/* ---------- Botones ---------- */
.btn { --b: var(--fg); position: relative; display: inline-flex; align-items: center; border-radius: max(var(--radius), 0px); font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; overflow: hidden; isolation: isolate; }
.btn__in { display: inline-flex; align-items: center; gap: 14px; padding: 18px 26px; }
.btn__t { position: relative; display: inline-block; overflow: hidden; }
.btn__t::after { content: attr(data-text); position: absolute; left: 0; top: 100%; }
.btn__t, .btn__t::after { transition: transform .5s var(--ease); }
.btn:hover .btn__t { transform: translateY(-100%); }
.btn .ic { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.btn:hover .ic { transform: rotate(45deg); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease); }
.btn:hover::before { transform: scaleY(1); }
.btn--fill { background: var(--accent); color: var(--on-accent); }
.btn--fill::before { background: var(--fg); }
.btn--fill:hover { color: var(--bg); }
.btn--line { box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--line::before { background: var(--fg); }
.btn--line:hover { color: var(--bg); }

/* ---------- Encabezado ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 120; height: var(--hdr); display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: var(--gut); color: var(--fg); transition: transform .6s var(--ease), color .4s ease;
}
.hdr::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg); opacity: 0; transition: opacity .45s ease; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.hdr { isolation: isolate; }
.hdr.is-scrolled::before { opacity: .82; box-shadow: 0 1px 0 var(--line); }
.hdr.is-scrolled, .hdr.is-scrolled.on-photo, .hdr.is-scrolled.on-claro, .hdr.is-scrolled.on-acento { color: var(--fg); }
.hdr.is-scrolled .logo, .hdr.is-scrolled .hdr__nav, .hdr.is-scrolled .hdr__end { text-shadow: none; }
.hdr.on-photo { color: #fff; } .hdr.on-claro { color: var(--l-fg); } .hdr.on-acento { color: var(--on-accent); }
.menu-open .hdr { color: var(--fg); }
.hdr.on-photo .logo, .hdr.on-photo .hdr__nav, .hdr.on-photo .hdr__end { text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.logo__mono { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid currentColor; border-radius: var(--radius-sm); font-family: var(--font-display); font-size: 20px; letter-spacing: .02em; }
.logo__img { height: 38px; width: auto; }
.hdr__nav { display: flex; gap: clamp(16px, 2.4vw, 40px); font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.hdr__nav a { display: flex; gap: 6px; align-items: flex-start; white-space: nowrap; }
.hdr__end, .logo, .avail { white-space: nowrap; }
.hdr__n { font-size: 9px; opacity: .55; }
.hdr__nav a.is-on .roll { text-decoration: line-through; text-decoration-thickness: 1px; }
.hdr__end { display: flex; align-items: center; gap: 22px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.avail { display: flex; align-items: center; gap: 8px; opacity: .85; }
.avail i { width: 7px; height: 7px; border-radius: 50%; background: #3BFF7A; box-shadow: 0 0 0 0 rgba(59,255,122,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(59,255,122,0); } 100% { box-shadow: 0 0 0 0 rgba(59,255,122,0); } }
.hdr__cta { padding: 11px 16px; border: 1px solid currentColor; border-radius: max(var(--radius), 0px); }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 110; background: var(--bg); clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io); visibility: hidden; }
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__in { height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--hdr) + 4vh) var(--gut) 32px; }
.menu__nav a { display: flex; align-items: baseline; gap: 14px; border-bottom: 1px solid var(--line); padding: 10px 0; }
.menu__n { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.menu__t { font-family: var(--font-display); font-weight: var(--display-weight); text-transform: var(--tt); letter-spacing: var(--display-track); font-size: calc(clamp(2.8rem, 13vw, 6rem) * var(--display-adj)); line-height: .95; }
.menu__links, .ftr__links { display: flex; flex-wrap: wrap; gap: 10px 22px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.menu__links a, .ftr__links a { border-bottom: 1px solid var(--line-2); padding-bottom: 3px; }

/* ---------- Secciones ---------- */
.sec { position: relative; }
.tone-claro { background: var(--l-bg); color: var(--l-fg); --fg: var(--l-fg); --muted: var(--l-muted); --line: var(--l-line); --line-2: var(--l-line); --accent-ink: var(--accent-ink-l); }
.tone-acento { background: var(--accent); color: var(--on-accent); --fg: var(--on-accent); --muted: var(--a-muted); --line: var(--a-line); --line-2: var(--a-line); --accent-ink: var(--on-accent); }
.tone-acento ::selection { background: var(--on-accent); color: var(--accent); }
.tone-acento .btn--fill { background: var(--on-accent); color: var(--accent); }
.sec-head { margin-bottom: clamp(36px, 6vw, 80px); }

/* Portada */
.hero { height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; color: #fff; background: #000; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero__slide.is-on { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero__slide.is-on img { animation: kb 9s linear forwards; }
@keyframes kb { from { transform: scale(1.14) translate3d(1%, 1%, 0); } to { transform: scale(1.02) translate3d(-1%, -.5%, 0); } }
.hero__reel { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; background: #000; }
.hero__reel.is-on { opacity: 1; }
.hero__reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.3s ease; }
.hero__reel video.is-on { opacity: 1; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.12) 28%, rgba(0,0,0,.25) 60%, rgba(0,0,0,.82) 100%); }
.hud { position: absolute; inset: calc(var(--hdr) + 6px) var(--gut) 22px; pointer-events: none; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.82); }
.hud__c { position: absolute; width: 26px; height: 26px; border: 0 solid rgba(255,255,255,.7); }
.hud__c--tl { left: 0; top: 0; border-width: 1px 0 0 1px; } .hud__c--tr { right: 0; top: 0; border-width: 1px 1px 0 0; }
.hud__c--bl { left: 0; bottom: 0; border-width: 0 0 1px 1px; } .hud__c--br { right: 0; bottom: 0; border-width: 0 1px 1px 0; }
.hud__top, .hud__bot { position: absolute; left: 40px; right: 40px; display: flex; justify-content: space-between; gap: 16px; }
.hud__top { top: 6px; } .hud__bot { bottom: 4px; }
.hud__rec { display: flex; align-items: center; gap: 8px; }
.hud__rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: blink 1.2s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hud__tc { font-variant-numeric: tabular-nums; }
.hud__scroll { display: flex; align-items: center; gap: 10px; }
.hud__scroll i { width: 1px; height: 26px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.hud__scroll i::after { content: ""; position: absolute; inset: 0; background: #fff; animation: drip 1.8s var(--ease-io) infinite; }
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
.hero__in { position: absolute; left: var(--gut); right: var(--gut); top: calc(var(--hdr) + 56px); bottom: clamp(56px, 9vh, 96px); display: flex; flex-direction: column; justify-content: flex-end; }
.hero .eyebrow { color: rgba(255,255,255,.85); }
.hero__title {
  font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-track); text-transform: var(--tt);
  font-size: calc(clamp(3.6rem, min(16.5vw, 25vh), 20rem) * var(--title-scale) * var(--display-adj)); line-height: calc(var(--display-lh) * .98); margin-left: -.03em;
}
.hero__low { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: clamp(18px, 3vh, 36px); flex-wrap: wrap; }
.hero__sub { max-width: 52ch; font-size: calc(clamp(1rem, 1.2vw, 1.2rem) * var(--text-scale)); color: rgba(255,255,255,.86); }
.hero__ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.hero .btn--line { box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.hero .btn--line::before, .hero .btn--fill::before { background: #fff; }
.hero .btn:hover { color: #000; }
.bars i { position: absolute; left: 0; right: 0; height: calc(var(--bar, 0) * 1vh); background: var(--bg); z-index: 2; }
.bars__t { top: 0; } .bars__b { bottom: 0; }

/* Cinta */
.mq { padding: clamp(40px, 7vw, 96px) 0; overflow: hidden; border-block: 1px solid var(--line); }
.mq__label { padding-inline: var(--gut); margin-bottom: 26px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mq__row { display: flex; }
.mq__track { display: flex; flex: none; will-change: transform; animation: mq var(--dur) linear infinite; }
.js-mq .mq__track { animation: none; }
.mq__grp { display: flex; align-items: center; flex: none; }
.mq__w { font-family: var(--font-display); font-weight: var(--display-weight); text-transform: var(--tt); letter-spacing: var(--display-track); font-size: calc(clamp(3.4rem, 9vw, 9rem) * var(--display-adj)); line-height: 1; white-space: nowrap; padding-inline: .32em; }
.mq__w.is-outline { color: transparent; -webkit-text-stroke: 1.2px var(--fg); }
.mq__sep { color: var(--accent-ink); font-size: clamp(1.2rem, 2.4vw, 2.4rem); }
@keyframes mq { to { transform: translateX(-50%); } }

/* Destacados */
.feat--h { overflow: hidden; }
.feat__pin { padding: clamp(80px, 12vh, 140px) 0 clamp(40px, 6vh, 70px); }
.feat__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 40px; margin-bottom: clamp(30px, 5vh, 60px); }
.feat__head .eyebrow { grid-column: 1 / -1; margin: 0; }
.feat__head .lead { justify-self: end; }
.feat__track { display: flex; gap: clamp(16px, 2.4vw, 40px); padding-inline: var(--gut); width: max-content; will-change: transform; }
.fcard { position: relative; width: clamp(280px, 56vw, 980px); flex: none; }
.cover { position: relative; overflow: hidden; background: var(--surface); border-radius: var(--radius); }
.cover img, .cover video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover img { transition: transform 1.2s var(--ease), filter .8s ease; }
.cover__clip { opacity: 0; transition: opacity .5s ease; }
.cover.is-playing .cover__clip { opacity: 1; }
.fcard__media { aspect-ratio: 16 / 9.4; }
.fcard:hover .cover img { transform: scale(1.06); }
.fcard__info { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 4px 18px; padding-top: 18px; }
.fcard__n { font-family: var(--font-mono); font-size: 12px; color: var(--accent-ink); letter-spacing: .1em; }
.fcard__t { font-family: var(--font-display); font-weight: var(--display-weight); text-transform: var(--tt); letter-spacing: var(--display-track); font-size: calc(clamp(1.9rem, 3.6vw, 3.8rem) * var(--display-adj)); line-height: .95; }
.fcard__m { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px 18px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.feat__end { flex: none; width: clamp(240px, 26vw, 420px); display: grid; place-items: center; }
.feat__all { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; width: 100%; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line-2); text-align: center; font-family: var(--font-display); text-transform: var(--tt); font-size: calc(clamp(1.6rem, 2.6vw, 2.8rem) * var(--display-adj)); line-height: .95; transition: background .5s var(--ease), color .5s; }
.feat__all .ic { width: 34px; height: 34px; }
.feat__all:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.feat__bar { margin: clamp(30px, 5vh, 50px) var(--gut) 0; height: 1px; background: var(--line); }
.feat__bar i { display: block; height: 100%; background: var(--fg); transform-origin: left; transform: scaleX(var(--p, 0)); }
.feat--v .feat__track { width: auto; display: grid; grid-template-columns: repeat(2, 1fr); }
.feat--v .fcard { width: auto; }
.feat--v .fcard:nth-child(3n+1) { grid-column: 1 / -1; }
.feat--v .feat__end { display: none; }

/* Todos los trabajos */
.wk { padding: clamp(80px, 12vh, 150px) 0; }
.wk .sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.wk__bar { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.wk__filters { display: flex; flex-wrap: wrap; gap: 8px; }
.wk__filters button, .wk__views button { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 10px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .3s, color .3s; }
.wk__filters sup { font-size: 9px; opacity: .7; }
.wk__filters button.on { background: var(--fg); color: var(--bg); }
.wk__filters button:not(.on):hover { box-shadow: inset 0 0 0 1px var(--fg); }
.wk__views { display: flex; gap: 6px; }
.wk__views button { padding: 10px 12px; display: grid; place-items: center; }
.wk__views .ic { width: 16px; height: 16px; }
.wk__views button.on { background: var(--fg); color: var(--bg); }
.wk__list.is-list .wk__it {
  display: grid; grid-template-columns: 56px minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, .9fr) 70px 28px; align-items: center; gap: 18px;
  padding: 20px 0; border-bottom: 1px solid var(--line); transition: opacity .4s ease, padding .5s var(--ease), color .3s;
}
.wk__list.is-list .wk__cover { display: none; }
.wk__n, .wk__c, .wk__k, .wk__y { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.wk__y { text-align: right; }
.wk__t { font-family: var(--font-display); font-weight: var(--display-weight); text-transform: var(--tt); letter-spacing: var(--display-track); font-size: calc(clamp(1.7rem, 3.4vw, 3.6rem) * var(--display-adj)); line-height: 1; min-width: 0; }
.wk__t .roll { white-space: nowrap; max-width: 100%; text-overflow: ellipsis; }
.wk__go { width: 22px; height: 22px; transition: transform .5s var(--ease), color .3s; }
.wk__list.is-list:hover .wk__it { opacity: .32; }
.wk__list.is-list .wk__it:hover { opacity: 1; padding-left: 14px; }
.wk__list.is-list .wk__it:hover .wk__go { transform: rotate(45deg); color: var(--accent-ink); }
.wk__list.is-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px 22px; padding-top: 36px; }
.wk__list.is-grid .wk__it { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-content: start; }
.wk__list.is-grid .wk__cover { grid-column: 1 / -1; aspect-ratio: 4 / 3; margin-bottom: 10px; }
.wk__list.is-grid .wk__n, .wk__list.is-grid .wk__go, .wk__list.is-grid .wk__k { display: none; }
.wk__list.is-grid .wk__t { font-size: calc(clamp(1.6rem, 2.2vw, 2.4rem) * var(--display-adj)); grid-column: 1; }
.wk__list.is-grid .wk__y { grid-row: 2; grid-column: 2; align-self: center; }
.wk__list.is-grid .wk__c { grid-column: 1 / -1; }
.wk__list.is-grid .wk__it:hover .cover img { transform: scale(1.05); }
.wk__it.is-out { display: none !important; }
.wk__it.is-in { animation: wkIn .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 35ms); }
@keyframes wkIn { from { opacity: 0; transform: translateY(24px); } }
.peek { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; width: clamp(240px, 24vw, 420px); aspect-ratio: 4 / 3; }
.peek__in { position: absolute; inset: 0; overflow: hidden; border-radius: var(--radius); clip-path: inset(50% 50% 50% 50%); transition: clip-path .55s var(--ease); background: var(--surface); }
.peek.is-on .peek__in { clip-path: inset(0 0 0 0); }
.peek img, .peek video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.peek video { opacity: 0; transition: opacity .4s; }
.peek video.is-on { opacity: 1; }

/* Frase */
.stm { padding: clamp(100px, 18vh, 220px) 0; }
.stm__t { font-family: var(--font-display); font-weight: var(--display-weight); text-transform: var(--tt); letter-spacing: var(--display-track); font-size: calc(clamp(2.6rem, 7.2vw, 8.4rem) * var(--title-scale) * var(--display-adj)); line-height: calc(var(--display-lh) * 1.06); max-width: 18ch; }
.stm__t .it { text-transform: none; }
html.js .stm.is-paint .w { opacity: .14; transition: opacity .25s linear; }
html.js .stm.is-paint .w.on { opacity: 1; }

/* Sobre mí */
.ab { padding: clamp(90px, 14vh, 170px) 0; }
.ab__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 110px); align-items: start; }
.ab__l { position: sticky; top: calc(var(--hdr) + 20px); }
.ab__img { margin: 40px 0 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); max-width: 460px; }
.ab__img img { width: 100%; height: 100%; object-fit: cover; }
.ab__stack { position: relative; height: clamp(260px, 30vw, 440px); margin-top: 50px; max-width: 520px; }
.ab__card { position: absolute; margin: 0; width: 56%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); transition: transform .8s var(--ease); }
.ab__card img { width: 100%; height: 100%; object-fit: cover; }
.ab__card--0 { left: 0; top: 8%; transform: rotate(-7deg); }
.ab__card--1 { left: 22%; top: 0; transform: rotate(2deg); z-index: 2; }
.ab__card--2 { left: 44%; top: 12%; transform: rotate(8deg); }
.ab__stack:hover .ab__card--0 { transform: rotate(-12deg) translateX(-8%); }
.ab__stack:hover .ab__card--2 { transform: rotate(13deg) translateX(8%); }
.ab__txt { font-size: calc(clamp(1.15rem, 1.6vw, 1.55rem) * var(--text-scale)); line-height: 1.45; }
.ab__txt p + p { margin-top: 1.1em; color: var(--muted); }
.ab__stats { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line-2); }
.ab__stats > div { padding: 26px 0 22px; border-bottom: 1px solid var(--line); }
.ab__stats > div:nth-child(odd) { padding-right: 20px; border-right: 1px solid var(--line); }
.ab__stats > div:nth-child(even) { padding-left: 24px; }
.ab__stats dt { font-family: var(--font-display); font-weight: var(--display-weight); font-size: calc(clamp(3rem, 6vw, 6rem) * var(--display-adj)); line-height: .9; font-variant-numeric: tabular-nums; }
.ab__stats dd { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

/* Servicios */
.sv { padding: clamp(80px, 12vh, 150px) 0; }
.sv__list { border-top: 1px solid var(--line-2); }
.sv__it { position: relative; display: grid; grid-template-columns: 70px minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; padding: clamp(26px, 3.4vw, 46px) 0; border-bottom: 1px solid var(--line-2); isolation: isolate; }
.sv__it::before { content: ""; position: absolute; inset: 0 calc(var(--gut) * -1); background: var(--accent); z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.sv__it:hover::before { transform: scaleY(1); }
.sv__it:hover { color: var(--on-accent); --muted: var(--a-muted); --line-2: var(--a-line); }
.sv__n { font-family: var(--font-mono); font-size: 12px; color: var(--muted); padding-top: .8em; }
.sv__t { font-family: var(--font-display); font-weight: var(--display-weight); text-transform: var(--tt); letter-spacing: var(--display-track); font-size: calc(clamp(2.6rem, 6.4vw, 7rem) * var(--display-adj)); line-height: .9; transition: transform .6s var(--ease); }
.sv__it:hover .sv__t { transform: translateX(14px); }
.sv__b { color: var(--muted); max-width: 44ch; padding-top: .5em; }
.sv__it:hover .sv__b { color: var(--on-accent); }
.sv__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.sv__tags li { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); }

/* Galería libre */
.gal { padding: clamp(80px, 12vh, 140px) 0; }
.gal__row { display: flex; gap: 18px; overflow-x: auto; padding: 0 var(--gut) 20px; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
.gal__row::-webkit-scrollbar { display: none; }
.gal__it { flex: none; height: clamp(280px, 62vh, 680px); margin: 0; scroll-snap-align: start; overflow: hidden; border-radius: var(--radius); }
.gal__it img { height: 100%; width: auto; max-width: none; object-fit: cover; pointer-events: none; }

/* Texto libre */
.txt { padding: clamp(80px, 12vh, 150px) 0; }
.txt__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); }
.txt__b { font-size: calc(clamp(1.1rem, 1.4vw, 1.35rem) * var(--text-scale)); }
.txt__b p + p { margin-top: 1em; }
.txt__btns { margin-top: 30px; }

/* Contacto */
.ct { padding: clamp(100px, 16vh, 180px) 0 clamp(60px, 10vh, 110px); overflow: hidden; }
.ct .lead { margin-top: 24px; }
.ct__big { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: clamp(40px, 7vw, 90px) 0 clamp(30px, 5vw, 60px); padding: 10px 0; border-block: 1px solid var(--line); }
.ct__word { font-family: var(--font-display); font-weight: var(--display-weight); text-transform: var(--tt); letter-spacing: var(--display-track); font-size: calc(clamp(4rem, 17vw, 21rem) * var(--display-adj)); line-height: .82; white-space: nowrap; }
.ct__word .ch { transition: transform .6s var(--ease); transition-delay: calc(var(--d, 0) * 25ms); }
.ct__big:hover .ch { transform: translateY(-8%) skewX(-6deg); }
.ct__arrow { width: clamp(50px, 9vw, 150px); height: clamp(50px, 9vw, 150px); stroke-width: 1; transition: transform .7s var(--ease); }
.ct__big:hover .ct__arrow { transform: rotate(45deg); }
.ct__rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 30px; }
.ct__rows a { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ct__k { min-width: 110px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ct__v { font-size: calc(clamp(1.05rem, 1.4vw, 1.3rem) * var(--text-scale)); font-weight: 500; }
.ct__rows .ic { margin-left: auto; width: 18px; height: 18px; transition: transform .4s var(--ease); }
.ct__rows a:hover .ic { transform: rotate(45deg); }
.ct__loc { display: flex; gap: 18px; margin-top: 36px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Pie */
.ftr { padding: 70px var(--gut) 26px; border-top: 1px solid var(--line); overflow: hidden; }
.ftr__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.ftr__txt { color: var(--muted); max-width: 30ch; }
.ftr__up { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.ftr__up .ic { width: 16px; height: 16px; transform: rotate(-45deg); }
.ftr__big { margin: clamp(30px, 6vw, 80px) 0 18px; padding-top: .3em; overflow: hidden; }
.ftr__big span { display: block; font-family: var(--font-display); font-weight: var(--display-weight); text-transform: var(--tt); letter-spacing: var(--display-track); font-size: calc(10.4vw * var(--display-adj)); line-height: .82; white-space: nowrap; text-align: center; }
.ftr__bot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 18px; border-top: 1px solid var(--line); }

/* ---------- Página de trabajo ---------- */
.ph { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; color: #fff; background: #000; }
.ph__media { position: absolute; inset: 0; }
.ph__media img, .ph__clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph__media img { transform: scale(1.08); }
.ph__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,.05) 35%, rgba(0,0,0,.85)); }
.ph__in { position: absolute; left: 0; right: 0; bottom: clamp(30px, 6vh, 70px); }
.ph__back { position: absolute; z-index: 2; left: var(--gut); top: calc(var(--hdr) + 28px); display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.ph__idx { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: rgba(255,255,255,.75); margin-bottom: 14px; }
.ph__t { font-family: var(--font-display); font-weight: var(--display-weight); text-transform: var(--tt); letter-spacing: var(--display-track); font-size: calc(clamp(3.4rem, 11vw, 13rem) * var(--title-scale) * var(--display-adj)); line-height: var(--display-lh); margin-left: -.02em; }
.ph__meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: clamp(20px, 4vh, 40px); padding-top: 18px; border-top: 1px solid rgba(255,255,255,.3); }
.ph__meta dt { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 6px; }
.ph__meta dd { font-size: 15px; }
.pintro { padding-block: clamp(70px, 12vh, 140px) clamp(30px, 5vh, 50px); }
.pintro__t { font-size: calc(clamp(1.5rem, 3.1vw, 3rem) * var(--text-scale)); line-height: 1.2; max-width: 30ch; letter-spacing: -.01em; }
.pbody { padding-bottom: clamp(60px, 10vh, 120px); padding-top: clamp(30px, 6vh, 60px); display: flex; flex-direction: column; gap: clamp(14px, 1.8vw, 26px); }
.pb { margin: 0; }
.pb--text { padding-block: clamp(30px, 6vh, 70px) clamp(10px, 2vh, 20px); }
.pb--text p { font-size: calc(clamp(1.15rem, 1.7vw, 1.6rem) * var(--text-scale)); max-width: 42ch; line-height: 1.45; }
.pb--text p + p { margin-top: 1em; color: var(--muted); }
.pb__h { font-family: var(--font-display); font-weight: var(--display-weight); text-transform: var(--tt); letter-spacing: var(--display-track); font-size: calc(clamp(2.2rem, 5.4vw, 5.6rem) * var(--display-adj)); line-height: .92; }
.pb--img, .pb--row, .pb--video { padding-inline: var(--gut); }
.pb--img.pb--completa { padding-inline: 0; }
.pb--img .pb__zoom { max-width: calc(90vh * 100 / var(--rn, 66)); margin-inline: auto; }
.pb--img.pb--completa .pb__zoom { max-width: none; }
.ph__back .ic { width: 16px; height: 16px; }
.pb--img.pb--chica { width: min(100%, 860px); align-self: center; }
.pb figcaption { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }
.pb__zoom { position: relative; display: block; width: 100%; overflow: hidden; background: var(--surface); border-radius: var(--radius); cursor: zoom-in; }
.pb__zoom::before { content: ""; display: block; padding-top: var(--r); }
.pb__zoom img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.pb__zoom:hover img { transform: scale(1.025); }
.pb--row { display: flex; gap: clamp(14px, 1.8vw, 26px); align-items: flex-start; }
.pb--row .pb__zoom { flex-basis: 0; min-width: 0; }
.pb--video { display: flex; flex-direction: column; align-items: center; }
.vid { position: relative; width: 100%; overflow: hidden; background: #000; border-radius: var(--radius); }
.vid::before { content: ""; display: block; padding-top: var(--r); }
.is-vertical .vid { width: min(100%, 46vh); }
.vid__poster, .vid__clip, .vid iframe, .vid video.vid__player { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.vid__clip { opacity: 0; transition: opacity .5s; }
.vid.is-hover .vid__clip { opacity: 1; }
.vid__play { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px; color: #fff; background: radial-gradient(circle at center, rgba(0,0,0,.25), rgba(0,0,0,.05) 60%); }
.vid__btn { display: grid; place-items: center; width: clamp(74px, 9vw, 120px); aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: var(--on-accent); transition: transform .6s var(--ease); }
.vid__btn .ic { width: 34%; height: 34%; margin-left: 6%; }
.vid__play:hover .vid__btn { transform: scale(1.12); }
.vid__lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.vid.is-on .vid__play, .vid.is-on .vid__poster, .vid.is-on .vid__clip { display: none; }
.pb--vrow { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(14px, 1.8vw, 26px); padding-inline: var(--gut); }
.pb--vrow .pb--video { padding: 0; flex: 0 1 calc((100% - 2 * clamp(14px, 1.8vw, 26px)) / 3); max-width: 46vh; }
.pb--vrow .vid { width: 100%; }
.pb--quote { padding-block: clamp(30px, 6vh, 70px); }
.pb--quote p { font-family: var(--font-accent); font-style: italic; font-size: calc(clamp(1.8rem, 4vw, 4rem) * var(--accent-adj)); line-height: 1.1; max-width: 26ch; }
.pb--quote cite { display: block; margin-top: 18px; font-style: normal; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pb--sp-chica { height: 20px; } .pb--sp-media { height: 70px; } .pb--sp-grande { height: 160px; }
.pnext { position: relative; display: block; height: 86vh; min-height: 460px; overflow: hidden; color: #fff; background: #000; }
.pnext__media { position: absolute; inset: 0; }
.pnext__media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transform: scale(1.1); transition: transform 1.6s var(--ease), opacity .8s; }
.pnext:hover .pnext__media img { transform: scale(1.02); opacity: .7; }
.pnext__in { position: absolute; inset: auto 0 clamp(40px, 8vh, 80px); display: grid; gap: 14px; }
.pnext__k { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.pnext__t { font-family: var(--font-display); font-weight: var(--display-weight); text-transform: var(--tt); letter-spacing: var(--display-track); font-size: calc(clamp(3rem, 10vw, 12rem) * var(--display-adj)); line-height: var(--display-lh); }
.pnext__m { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 130; background: var(--accent); transform-origin: left; transform: scaleX(0); pointer-events: none; }
.route-home ~ .progress, .progress.is-off { display: none; }

/* 404 */
.nf { min-height: 100vh; display: grid; align-content: center; gap: 24px; padding-block: 140px 80px; }
.nf__t { font-family: var(--font-display); font-weight: var(--display-weight); text-transform: var(--tt); font-size: calc(clamp(4rem, 14vw, 15rem) * var(--display-adj)); line-height: var(--display-lh); }
.nf .btn { justify-self: start; }

/* ---------- Galería a pantalla completa ---------- */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.95); color: #fff; display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s; }
.lb.is-on { opacity: 1; visibility: visible; }
.lb__top, .lb__bot { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gut); font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.lb__stage { position: relative; display: grid; place-items: center; overflow: hidden; touch-action: pan-y; }
.lb__stage img { max-width: 92vw; max-height: calc(100vh - 150px); max-height: calc(100svh - 150px); width: auto; height: auto; object-fit: contain; user-select: none; transition: opacity .35s ease, transform .5s var(--ease); }
.lb__stage img.is-swap { opacity: 0; transform: scale(.97); }
.lb button { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 10px; }
.lb .ic { width: 22px; height: 22px; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; display: grid !important; place-items: center; background: rgba(255,255,255,.08); transition: background .3s; }
.lb__nav:hover { background: rgba(255,255,255,.2); }
.lb__prev { left: var(--gut); } .lb__next { right: var(--gut); }
.lb__thumbs { display: flex; gap: 6px; overflow-x: auto; max-width: 70vw; scrollbar-width: none; }
.lb__thumbs button { padding: 0; width: 46px; height: 34px; flex: none; opacity: .4; overflow: hidden; border-radius: 2px; }
.lb__thumbs button.on { opacity: 1; box-shadow: 0 0 0 1px #fff; }
.lb__thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Cursor ---------- */
.cur { position: fixed; left: 0; top: 0; z-index: 220; pointer-events: none; mix-blend-mode: difference; }
.cur__dot { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease), opacity .3s; }
.cur__ring { position: absolute; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; border: 1px solid #fff; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s, border-color .3s; }
.cur__lbl { position: absolute; transform: translate(-50%, -50%); font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .3s; white-space: nowrap; }
.cur.is-label .cur__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: #fff; }
.cur.is-label .cur__lbl { opacity: 1; }
.cur.is-label .cur__dot { opacity: 0; }
.cur.is-link .cur__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
.cur.is-down .cur__ring { transform: scale(.85); }
.cur.is-hidden { opacity: 0; }
html.has-cursor, html.has-cursor a, html.has-cursor button { cursor: none; }
html.has-cursor .pb__zoom { cursor: none; }
html.has-cursor input, html.has-cursor textarea { cursor: auto; }

/* ---------- Transición entre páginas ---------- */
.wipe { position: fixed; inset: 0; z-index: 180; pointer-events: none; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); visibility: hidden; transform: translateY(100%); }
.wipe.is-on { visibility: visible; }
.wipe__t { font-family: var(--font-display); font-weight: var(--display-weight); text-transform: var(--tt); letter-spacing: var(--display-track); font-size: calc(clamp(2.6rem, 8vw, 9rem) * var(--display-adj)); line-height: .9; text-align: center; padding: 0 var(--gut); overflow: hidden; }
.wipe__t span { display: block; }

/* ---------- Animación de entrada ---------- */
@property --hole { syntax: '<length>'; inherits: false; initial-value: 0px; }
.intro { position: fixed; inset: 0; z-index: 400; background: #050505; color: #F2EFE9; display: grid; place-items: center; --hole: 0px; }
.jf-no-intro .intro, .at-no-intro .intro { display: none; }
.intro__frame { display: grid; justify-items: center; gap: 18px; text-align: center; }
.iris { width: clamp(84px, 10vw, 130px); height: auto; overflow: visible; animation: irisSpin 2.6s var(--ease-io) both; }
.iris__b { stroke: var(--accent); stroke-width: 1.2; fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; animation: irisDraw .9s var(--ease) both; animation-delay: calc(var(--k) * 70ms + .1s); }
.iris__ring { fill: none; stroke: rgba(242,239,233,.4); stroke-width: .8; }
@keyframes irisDraw { to { stroke-dashoffset: 0; } }
@keyframes irisSpin { from { transform: rotate(-120deg) scale(.6); opacity: 0; } 30% { opacity: 1; } to { transform: rotate(60deg) scale(1); } }
.intro__name { font-family: var(--font-display); font-weight: var(--display-weight); text-transform: var(--tt); letter-spacing: var(--display-track); font-size: calc(clamp(2.4rem, 7vw, 6.6rem) * var(--display-adj)); line-height: .9; }
.intro__name .ch { transform: translateY(110%); animation: chUp .9s var(--ease) forwards; animation-delay: calc(.5s + var(--d, 0) * 32ms); }
@keyframes chUp { to { transform: none; } }
.intro__role { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: 0; animation: fadeIn .8s ease 1.1s forwards; }
.intro__count { position: absolute; right: var(--gut); bottom: 26px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; font-variant-numeric: tabular-nums; }
@keyframes fadeIn { to { opacity: .7; } }
.intro.is-out { -webkit-mask: radial-gradient(circle at 50% 50%, transparent var(--hole), #000 calc(var(--hole) + 1px)); mask: radial-gradient(circle at 50% 50%, transparent var(--hole), #000 calc(var(--hole) + 1px)); animation: holeOpen 1.1s var(--ease-io) forwards; }
.intro.is-out .intro__frame { animation: frameOut .7s var(--ease-io) forwards; }
@keyframes holeOpen { to { --hole: 150vmax; } }
@keyframes frameOut { to { opacity: 0; transform: scale(1.4); } }
.intro.is-gone { display: none; }

/* Intro "firma": se dibuja el logo, se vuelve ventana al video y se entra por la I */
.intro--firma { background: none; }
.intro__svg { width: min(64vw, 920px); height: auto; overflow: visible; position: relative; }
.intro__veil { fill: #050505; }
.intro__h { fill: #000; fill-opacity: 0; transition: fill-opacity .5s var(--ease-io); }
.intro__ink { transition: opacity .5s var(--ease-io); }
.intro__a { fill: #F2EFE9; fill-opacity: 0; stroke: var(--accent); stroke-width: .8; stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linejoin: round;
  animation: lgDraw 1.25s cubic-bezier(.65,0,.35,1) forwards, lgFill .7s ease forwards; animation-delay: calc(.15s + var(--i) * .1s), calc(1.05s + var(--i) * .07s); }
.intro__b { fill: #F2EFE9; opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; transform: translateY(70%) scaleY(.4);
  animation: lgType .55s var(--ease) forwards; animation-delay: calc(1.45s + var(--i) * .065s); }
@keyframes lgDraw { to { stroke-dashoffset: 0; } }
@keyframes lgFill { to { fill-opacity: 1; stroke-opacity: 0; } }
@keyframes lgType { to { opacity: 1; transform: none; } }
.intro--firma .intro__role { position: absolute; left: 0; right: 0; top: calc(50% + min(64vw, 920px) * .145 + 36px); text-align: center; color: #F2EFE9; animation-delay: 2s; }
.intro--firma .intro__count { color: #F2EFE9; }
.intro__zoom { transform-box: view-box; transform-origin: 489.8px 53px; transition: transform 1.35s cubic-bezier(.7,0,.16,1); }
.intro--firma.is-open .intro__h { fill-opacity: 1; }
.intro--firma.is-open .intro__ink { opacity: 0; }
.intro--firma.is-open .intro__a, .intro--firma.is-open .intro__b { animation: none; fill-opacity: 1; stroke-opacity: 0; opacity: 1; transform: none; }
.intro--firma.is-zoom .intro__zoom { transform: scale(95); }
.intro--firma.is-open .intro__role, .intro--firma.is-open .intro__count { opacity: 0 !important; transition: opacity .4s; animation: none; }
.intro--firma.is-gone { display: none; }
@media (max-width: 760px) {
  .intro__svg { width: 84vw; }
  .intro--firma .intro__role { top: calc(50% + 84vw * .145 + 28px); font-size: 10px; letter-spacing: .16em; padding: 0 var(--gut); }
}

/* Logo de la marca */
.lg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.lg { display: block; overflow: visible; fill: currentColor; }
.lg use { transform-box: fill-box; }
.lg--hdr { height: 30px; width: auto; aspect-ratio: 621 / 145; }
.logo .lg__a use { transition: transform .6s var(--ease); transition-delay: calc(var(--i) * 30ms); }
.logo .lg__b use { transition: transform .6s var(--ease), opacity .4s; transition-delay: calc(var(--i) * 25ms); }
.logo:hover .lg__a use { transform: translateY(-9%); }
.logo:hover .lg__b use { transform: translateY(35%); }
.lg--menu { width: min(70vw, 360px); height: auto; margin-bottom: 4vh; opacity: .9; }
.hero__title--mark { font-size: inherit; line-height: 1; margin: 0 0 0 -.2%; }
.lg--hero { width: calc(min(86vw, 132vh, 1180px) * var(--title-scale)); height: auto; filter: drop-shadow(0 6px 40px rgba(0,0,0,.25)); }
html.js.anim .lg--hero .lg__a use { opacity: 0; transform: translateY(38%); }
html.js.anim .lg--hero .lg__b use { opacity: 0; transform: translateY(120%); }
html.js.anim .hero.in .lg--hero use { opacity: 1; transform: none; transition: transform 1.2s var(--ease), opacity .8s ease; }
html.js.anim .hero.in .lg--hero .lg__a use { transition-delay: calc(var(--i) * 55ms + .05s); }
html.js.anim .hero.in .lg--hero .lg__b use { transition-delay: calc(var(--i) * 40ms + .45s); }
.ftr__big--mark { padding-top: 0; overflow: visible; }
.lg--ftr { width: 100%; height: auto; }
html.js.anim .ftr__big--mark .lg__a use { opacity: 0; transform: translateY(45%); transition: transform 1.3s var(--ease), opacity .9s ease; transition-delay: calc(var(--i) * 70ms); }
html.js.anim .ftr__big--mark .lg__b use { opacity: 0; transition: opacity .8s ease; transition-delay: calc(.5s + var(--i) * 60ms); }
html.js.anim .ftr__big--mark.in .lg use { opacity: 1; transform: none; }
html.js.anim .ftr__big--mark.rv { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .lg--hdr { height: 24px; }
  .lg--hero { width: calc(92vw * var(--title-scale)); }
}

/* ---------- Revelados al bajar ---------- */
html.js.anim .rv { opacity: 0; transform: translateY(46px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--rd, 0s); }
html.js.anim .rv.in { opacity: 1; transform: none; }
html.js.anim .rv-clip { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease-io); }
html.js.anim .rv-clip.in { clip-path: inset(0 0 0 0); }
html.js.anim .rv-clip img { transform: scale(1.25); transition: transform 1.8s var(--ease); }
html.js.anim .rv-clip.in img { transform: none; }
html.js.anim .h2 .ln__in, html.js.anim .pb__h, html.js.anim .stm__t .ln__in { transition: transform 1.1s var(--ease); }
html.js.anim .rv-lines .ln__in { transform: translateY(105%); }
html.js.anim .rv-lines.in .ln__in { transform: none; }
html.js.anim .rv-lines .ln:nth-child(2) .ln__in { transition-delay: .08s; }
html.js.anim .rv-lines .ln:nth-child(3) .ln__in { transition-delay: .16s; }
html.js.anim .hero__title .ch, html.js.anim .ph__t .ch { transform: translateY(105%); }
html.js.anim .hero.in .hero__title .ch, html.js.anim .ph.in .ph__t .ch { transform: none; transition: transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 28ms + .1s); }
html.js.anim .hero__low, html.js.anim .hero .eyebrow, html.js.anim .ph__meta, html.js.anim .ph__idx { opacity: 0; transform: translateY(20px); transition: opacity 1s ease .55s, transform 1.1s var(--ease) .55s; }
html.js.anim .hero.in .hero__low, html.js.anim .hero.in .eyebrow, html.js.anim .ph.in .ph__meta, html.js.anim .ph.in .ph__idx { opacity: 1; transform: none; }
html.anim-off *, html.anim-off *::before, html.anim-off *::after { animation-duration: .001s !important; animation-delay: 0s !important; transition-duration: .001s !important; transition-delay: 0s !important; }
html.anim-off body::after { animation: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  body::after { animation: none; }
}

/* ---------- Vista previa del panel ---------- */
html.is-preview [data-edit] { cursor: pointer; }
html.is-preview [data-edit]:hover { outline: 2px dashed var(--accent); outline-offset: -2px; }
html.is-preview [data-edit]:hover::after { content: "✎ " attr(data-label); position: absolute; z-index: 60; left: 12px; top: 12px; background: var(--accent); color: var(--on-accent); font: 600 12px/1 var(--font-body); padding: 7px 10px; border-radius: 4px; pointer-events: none; }
html.is-preview .pb[data-edit], html.is-preview .proj[data-edit] { position: relative; }
html.is-preview .proj[data-edit]:hover { outline: 0; }
html.is-preview .proj[data-edit]:hover::after { display: none; }
.flash { animation: flash 1.4s ease; }
@keyframes flash { 0%, 60% { box-shadow: inset 0 0 0 4px var(--accent); } 100% { box-shadow: inset 0 0 0 0 transparent; } }

/* ---------- Responsive ---------- */
@media (max-width: 1500px) {
  .avail { display: none; }
}
@media (max-height: 640px) and (min-width: 761px) {
  .hud__meta, .hud__now { display: none; }
}
@media (max-width: 1100px) {
  .hdr__nav { display: none; }
  .avail { display: none; }
  .burger { display: block; }
  .wk__list.is-list .wk__it { grid-template-columns: 40px minmax(0, 1fr) auto 24px; }
  .wk__list.is-list .wk__c, .wk__list.is-list .wk__k { display: none; }
  .wk__list.is-grid { grid-template-columns: repeat(2, 1fr); }
  .ab__grid, .txt__grid { grid-template-columns: 1fr; }
  .ab__l { position: static; }
  .sv__it { grid-template-columns: 44px 1fr; }
  .sv__b { grid-column: 2; }
}
@media (max-width: 760px) {
  :root { --hdr: 64px; }
  .hdr__cta { display: none; }
  .hud__meta, .hud__bot { display: none; }
  .pb--vrow .pb--video { flex-basis: calc(50% - 8px); }
  .hud__top, .hud__bot { left: 32px; right: 32px; }
  .hero__in { bottom: 46px; }
  .hero__low { flex-direction: column; align-items: flex-start; }
  .feat__head { grid-template-columns: 1fr; }
  .feat__head .lead { justify-self: start; }
  .feat--h .feat__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none; }
  .feat--h .feat__track::-webkit-scrollbar { display: none; }
  .fcard { width: 84vw; scroll-snap-align: center; }
  .fcard__media { aspect-ratio: 4 / 5; }
  .feat__end { width: 60vw; }
  .feat__bar { display: none; }
  .feat--v .feat__track { grid-template-columns: 1fr; }
  .wk__list.is-list .wk__it { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; padding: 16px 0; }
  .wk__list.is-list .wk__go { display: none; }
  .wk__list.is-grid { grid-template-columns: 1fr; }
  .peek { display: none; }
  .ab__stats dt { font-size: 3.2rem; }
  .ph__meta { grid-template-columns: 1fr 1fr; }
  .pb--row:has(> :nth-child(3)) { flex-direction: column; }
  .pb--row:has(> :nth-child(3)) .pb__zoom { flex-basis: auto; }
  .is-vertical .vid { width: min(100%, 62vh); }
  .lb__nav { display: none !important; }
  .lb__thumbs { max-width: 60vw; }
  .ct__rows { grid-template-columns: 1fr; }
}

/* Destacados en compu: todo entra en una pantalla mientras está fijado */
@media (min-width: 761px) {
  .feat--h .feat__pin { height: 100vh; height: 100svh; min-height: 640px; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--hdr) + 10px) 0 28px; }
  .feat--h .feat__head { margin-bottom: clamp(18px, 3vh, 34px); }
  .feat--h .h2 { font-size: calc(clamp(2.6rem, 5.6vw, 6.4rem) * var(--title-scale) * var(--display-adj)); }
  .feat--h .fcard { width: calc(min(50vh, 40vw) * 1.72); }
  .feat--h .fcard__media { aspect-ratio: auto; height: min(50vh, 40vw); }
  .feat--h .feat__end { width: min(50vh, 40vw); }
  .feat--h .feat__bar { margin-top: clamp(16px, 3vh, 30px); }
}
