/* Favo Films · estilos */
:root {
  --bg: #0a0a0a;
  --bg-2: #121212;
  --fg: #f2efe9;
  --fg-2: rgba(242, 239, 233, .64);
  --fg-3: rgba(242, 239, 233, .38);
  --line: rgba(242, 239, 233, .12);
  --glass: rgba(34, 32, 30, .46);
  --glass-line: rgba(242, 239, 233, .14);
  --accent: #ff9a2e;
  --rec: #ff4a26;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', monospace;
  --gutter: 24px;
  --header: 64px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  color-scheme: dark;
}
@media (max-width: 767px) { :root { --gutter: 16px; --header: 56px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-size: 16px; line-height: 1.5;
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--accent); color: #000; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }

.mono {
  font-family: var(--mono); font-size: 11px; line-height: 1.45; font-weight: 400;
  letter-spacing: .04em; text-transform: uppercase;
}
.muted { color: var(--fg-2); }
.faint { color: var(--fg-3); }
.display { font-weight: 500; letter-spacing: -.045em; line-height: .92; }
[hidden] { display: none !important; }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--gutter); border-bottom: 1px solid var(--line);
  transition: background .4s, backdrop-filter .4s;
}
.hdr.solid { background: rgba(10, 10, 10, .72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.logo { display: flex; align-items: center; gap: 6px; justify-self: start; }
.logo img { height: 30px; width: auto; }
.logo sup { font-family: var(--mono); font-size: 9px; color: var(--fg-2); align-self: flex-start; margin-top: 2px; }
.hdr-mid { display: flex; align-items: center; gap: 10px; color: var(--fg-2); }
.hdr-mid .clock { color: var(--fg); }
.hdr-mid .sep { width: 1px; height: 12px; background: var(--line); }
.rec { width: 6px; height: 6px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 8px rgba(255, 74, 38, .7); animation: rec 1.4s steps(1) infinite; }
@keyframes rec { 50% { opacity: .15; } }
.hdr-nav { justify-self: end; display: flex; align-items: center; gap: 28px; }
.hdr-nav a { color: var(--fg-2); transition: color .2s; }
.hdr-nav a:hover, .hdr-nav a[aria-current="page"] { color: var(--fg); }
.box-btn { border: 1px solid var(--glass-line); padding: 10px 14px; color: var(--fg) !important; transition: background .2s, color .2s; }
.box-btn:hover { background: var(--fg); color: #000 !important; }
.menu-btn { display: none; justify-self: end; }

@media (max-width: 900px) {
  .hdr-mid .coords, .hdr-mid .sep { display: none; }
}
@media (max-width: 767px) {
  .hdr { grid-template-columns: auto 1fr auto; gap: 12px; }
  .hdr-mid { justify-self: center; }
  .hdr-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .logo img { height: 26px; }
}

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 55; background: rgba(10, 10, 10, .97);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header) + 28px) var(--gutter) 24px;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.menu.open { opacity: 1; visibility: visible; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu li a { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.menu li a span:first-child { font-size: 44px; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.menu .menu-foot { display: grid; gap: 14px; }
.menu .socials { display: flex; gap: 18px; }

/* ---------- Buttons ---------- */
.glass-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 16px; border-radius: 8px; font-size: 14px; font-weight: 500;
  background: var(--glass); border: 1px solid var(--glass-line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: background .25s, color .25s;
}
.glass-btn:hover { background: var(--fg); color: #000; }
.solid-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 8px; font-size: 14px; font-weight: 500; background: var(--fg); color: #000; transition: background .2s; }
.solid-btn:hover { background: var(--accent); }

/* ---------- HOME / STAGE ---------- */
.stage { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #000; }
.bg { position: absolute; inset: 0; transition: opacity .6s var(--ease); }
.bg video, .bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s var(--ease); }
.bg .on { opacity: 1; }
.bg::after { content: ''; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.12) 22%, rgba(0,0,0,.18) 55%, rgba(0,0,0,.72) 100%); }
.stage[data-scene="3"] .bg { opacity: 0; }

.cut {
  position: absolute; z-index: 6; top: calc(var(--header) + 14px); left: var(--gutter);
  display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 9px;
  background: var(--glass); border: 1px solid var(--glass-line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.cut > span { padding: 7px 10px; color: var(--fg-3); }
.cut button { padding: 7px 10px; border-radius: 6px; color: var(--fg-2); transition: background .2s, color .2s; }
.cut button:hover { color: var(--fg); }
.cut button[aria-checked="true"] { background: rgba(242, 239, 233, .14); color: var(--fg); }

.prog { position: absolute; z-index: 6; left: var(--gutter); bottom: 22px; width: min(300px, 38vw); display: flex; justify-content: space-between; color: var(--fg-2); }
.prog .track { position: absolute; left: 0; right: 0; top: calc(100% + 6px); height: 1px; background: var(--line); overflow: hidden; }
.prog .fill { height: 100%; background: var(--fg); transform-origin: left; transform: scaleX(0); }
.prog .fill.run { animation: fill var(--dur, 7s) linear forwards; }
.stage.paused .prog .fill.run { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }

.scene { position: absolute; inset: 0; z-index: 4; display: none; }
.stage[data-scene="1"] .s1, .stage[data-scene="2"] .s2, .stage[data-scene="3"] .s3, .stage[data-scene="4"] .s4 { display: block; }

.tags { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.swap { transition: opacity .35s var(--ease), transform .5s var(--ease); }
.swap.out { opacity: 0; transform: translateY(8px); }

/* Scene 1 · filmstrip */
.s1 .s1-title { position: absolute; left: var(--gutter); bottom: calc(48% + 10px); font-size: clamp(56px, 6.8vw, 112px); }
.s1 .s1-meta { position: absolute; left: 36%; right: var(--gutter); bottom: calc(48% + 14px); display: flex; justify-content: space-between; gap: 24px; color: var(--fg); }
.s1 .strip-wrap { position: absolute; left: 0; right: 0; top: 52%; height: 34vh; }
.s1 .strip { display: flex; align-items: flex-start; gap: 2px; height: 100%; transition: transform .9s var(--ease); will-change: transform; }
.s1 .chip {
  position: relative; flex: none; height: 17vh; aspect-ratio: 9 / 16; overflow: hidden; background: #111;
  transition: height .9s var(--ease), aspect-ratio .9s var(--ease), opacity .4s; opacity: .9;
}
.s1 .chip.h { aspect-ratio: 16 / 10; }
.s1 .chip:hover { opacity: 1; }
.s1 .chip img, .s1 .chip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.s1 .chip.active { height: 34vh; opacity: 1; }
.s1 .chip.h.active { aspect-ratio: 16 / 10; height: 26vh; }
.s1 .s1-cta { position: absolute; right: var(--gutter); top: calc(52% + 17vh + 26px); }

/* Scene 2 · index */
.s2 .list { position: absolute; left: var(--gutter); bottom: 64px; list-style: none; margin: 0; padding: 0; }
.s2 .list li { display: flex; align-items: baseline; gap: 18px; }
.s2 .list .n { width: 18px; color: var(--fg-3); transform: translateY(-.6em); }
.s2 .list a { font-size: clamp(40px, 4.8vw, 78px); font-weight: 500; letter-spacing: -.045em; line-height: 1.02; color: var(--fg-3); transition: color .35s, transform .5s var(--ease); display: inline-block; }
.s2 .list li.active a { color: var(--fg); transform: translateX(6px); }
.s2 .list a:hover { color: var(--fg); }
.s2 .s2-meta { position: absolute; right: var(--gutter); bottom: 64px; text-align: right; display: grid; gap: 2px; color: var(--fg-2); }
.s2 .s2-cta { position: absolute; right: var(--gutter); top: calc(var(--header) + 14px); }

/* Scene 3 · split */
.s3 .panel { position: absolute; left: 42%; right: var(--gutter); top: calc(var(--header) + 14px); bottom: 84px; overflow: hidden; background: #0f0f0f; }
.s3 .panel .blur { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; filter: blur(34px) brightness(.5) saturate(1.2); transition: opacity .6s; }
.s3 .panel video.main { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.s3 .panel.h video.main { object-fit: cover; }
.s3 .panel.h .blur { display: none; }
.s3 .thumbs { position: absolute; left: 42%; bottom: 22px; display: flex; gap: 4px; }
.s3 .thumbs button { width: 30px; aspect-ratio: 9 / 16; overflow: hidden; opacity: .45; transition: opacity .3s, outline-color .3s; outline: 1px solid transparent; outline-offset: 2px; }
.s3 .thumbs button.h { width: 72px; aspect-ratio: 16 / 9; height: auto; align-self: end; }
.s3 .thumbs button.active { opacity: 1; outline-color: var(--fg-2); }
.s3 .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.s3 .s3-copy { position: absolute; left: var(--gutter); bottom: 84px; width: calc(42% - var(--gutter) * 2); display: grid; gap: 22px; justify-items: start; }
.s3 .s3-title { font-size: clamp(56px, 6.4vw, 104px); }
.s3 .s3-sum { max-width: 34ch; color: var(--fg-2); font-size: 15px; line-height: 1.5; }

/* Scene 4 · marquee */
.s4 .rule { position: absolute; left: 0; right: 0; top: 64%; height: 1px; background: var(--line); }
.s4 .marquee { position: absolute; left: 0; right: 0; top: calc(64% + 8px); overflow: hidden; white-space: nowrap; }
.s4 .marquee .row { display: inline-flex; animation: marquee 26s linear infinite; }
.s4 .marquee span { font-size: clamp(110px, 21vh, 260px); font-weight: 500; letter-spacing: -.05em; line-height: .9; padding-right: .35em; }
@keyframes marquee { to { transform: translateX(-50%); } }
.s4 .minis { position: absolute; left: var(--gutter); top: calc(64% - 92px); display: flex; gap: 4px; align-items: flex-end; }
.s4 .minis button { width: 42px; aspect-ratio: 9 / 16; overflow: hidden; opacity: .55; transition: opacity .3s, width .5s var(--ease); }
.s4 .minis button.h { width: 96px; aspect-ratio: 16 / 9; }
.s4 .minis button.active { opacity: 1; width: 48px; }
.s4 .minis button.h.active { width: 120px; }
.s4 .minis img { width: 100%; height: 100%; object-fit: cover; }
.s4 .s4-cta { position: absolute; right: var(--gutter); top: calc(64% - 58px); }
.s4 .s4-meta { position: absolute; right: var(--gutter); bottom: 22px; color: var(--fg); }

@media (max-width: 767px) {
  .cut { top: calc(var(--header) + 10px); max-width: calc(100% - var(--gutter) * 2); overflow-x: auto; }
  .cut > span { display: none; }
  .prog { width: 46vw; bottom: 18px; }
  .s1 .s1-title { bottom: calc(52% + 44px); }
  .s1 .s1-meta { left: var(--gutter); bottom: calc(52% + 14px); flex-direction: column; gap: 4px; }
  .s1 .s1-meta .tags { display: none; }
  .s1 .strip-wrap { top: 49%; height: 32vh; }
  .s1 .chip { height: 14vh; }
  .s1 .chip.active { height: 30vh; }
  .s1 .chip.h.active { height: 18vh; }
  .s1 .s1-cta { top: auto; bottom: 52px; }
  .s2 .list { bottom: 104px; }
  .s2 .s2-meta { left: var(--gutter); right: auto; text-align: left; bottom: 54px; display: flex; gap: 12px; flex-wrap: wrap; }
  .s2 .s2-meta span:not(:first-child) { display: none; }
  .s2 .s2-cta { display: none; }
  .s3 .panel { left: var(--gutter); top: calc(var(--header) + 62px); bottom: 45%; }
  .s3 .thumbs { left: var(--gutter); bottom: auto; top: calc(55% + 10px); }
  .s3 .s3-copy { width: auto; right: var(--gutter); bottom: 60px; gap: 14px; }
  .s3 .s3-sum { display: none; }
  .s4 .rule, .s4 .marquee { top: 58%; }
  .s4 .marquee { top: calc(58% + 8px); }
  .s4 .marquee span { font-size: 26vh; }
  .s4 .minis { top: calc(58% - 84px); }
  .s4 .s4-cta { top: auto; bottom: 52px; }
  .s4 .s4-meta { display: none; }
}

/* ---------- Generic page ---------- */
.page { padding-top: var(--header); }
.colgrid { position: fixed; inset: 0; z-index: -1; pointer-events: none; display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 var(--gutter); }
.colgrid i { border-left: 1px solid rgba(242, 239, 233, .05); }
.colgrid i:last-child { border-right: 1px solid rgba(242, 239, 233, .05); }

.wrap { padding: 0 var(--gutter); }
.page-head { padding: 64px var(--gutter) 0; display: grid; gap: 18px; }
.page-head h1 { font-size: clamp(48px, 5.4vw, 88px); }
.page-head p { max-width: 300px; color: var(--fg-2); }

/* Work: filters + grid */
.filters { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 56px var(--gutter) 0; flex-wrap: wrap; }
.filters .label { margin-bottom: 12px; color: var(--fg-2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { border: 1px solid var(--line); padding: 9px 12px; color: var(--fg); transition: background .2s, color .2s, border-color .2s; }
.chips button:hover { border-color: var(--fg-2); }
.chips button[aria-pressed="true"] { background: var(--fg); color: #000; border-color: var(--fg); }
.view-toggle { text-align: right; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px 24px; padding: 40px var(--gutter) 140px; }
.card { display: block; position: relative; }
.card[hidden] { display: none; }
.card .top { display: flex; justify-content: space-between; margin-bottom: 12px; color: var(--fg); }
.card .media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.card .media img, .card .media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .5s; }
.card .media video { opacity: 0; }
.card:hover .media video.ready { opacity: 1; }
.card:hover .media img { transform: scale(1.03); }
.card .media .cta { position: absolute; left: 12px; bottom: 12px; padding: 8px 10px; background: var(--fg); color: #000; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s var(--ease); }
.card:hover .media .cta { opacity: 1; transform: none; }
.card h3 { margin-top: 18px; font-size: clamp(30px, 2.6vw, 42px); }
.card .tags { margin-top: 10px; color: var(--fg-2); }

.list-view { padding: 40px var(--gutter) 140px; }
.list-view .row { display: grid; grid-template-columns: 56px 1.6fr 1.3fr 1.6fr 64px; gap: 18px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--line); transition: padding .4s var(--ease), color .3s; }
.list-view .row:last-child { border-bottom: 1px solid var(--line); }
.list-view .row[hidden] { display: none; }
.list-view .row h3 { font-size: clamp(28px, 3vw, 48px); }
.list-view .row:hover { padding-left: 10px; }
.list-view .row .yr { text-align: right; }
.hover-peek { position: fixed; z-index: 40; width: 170px; aspect-ratio: 9 / 16; pointer-events: none; overflow: hidden; opacity: 0; transform: translate(-50%, -50%) scale(.92); transition: opacity .25s, transform .35s var(--ease); background: #111; }
.hover-peek.h { width: 280px; aspect-ratio: 16 / 9; }
.hover-peek.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.hover-peek img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1023px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) {
  .grid { grid-template-columns: 1fr; gap: 48px; }
  .list-view .row { grid-template-columns: 32px 1fr auto; }
  .list-view .row .cl, .list-view .row .sv { display: none; }
  .colgrid { grid-template-columns: repeat(2, 1fr); }
  .colgrid i:nth-child(3) { display: none; }
}

/* ---------- Project page ---------- */
.p-hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #000; }
.p-hero video, .p-hero img.bgimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,.05) 30%, rgba(0,0,0,.2) 62%, rgba(0,0,0,.82)); }
.p-hero .inner { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: 0; }
.p-hero .row1 { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: end; padding-bottom: 18px; }
.p-hero h1 { font-size: clamp(64px, 8vw, 140px); }
.p-hero .ind { padding-bottom: 14px; }
.p-hero .tags { justify-content: flex-end; padding-bottom: 14px; }
.p-hero .row2 { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding: 14px 0 18px; }

.section { padding: 120px var(--gutter); border-top: 1px solid var(--line); }
.sec-head { display: flex; justify-content: space-between; margin-bottom: 56px; color: var(--fg-2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.about-grid .copy { display: grid; gap: 20px; font-size: 19px; line-height: 1.55; color: var(--fg); max-width: 620px; }
.about-grid .copy p + p { color: var(--fg-2); }
.meta-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 56px; max-width: 620px; }
.meta-grid > div { border-top: 1px solid var(--line); padding: 16px 0 26px; display: grid; gap: 10px; }
.meta-grid .v { font-size: 15px; display: grid; gap: 2px; }

.reel-feature { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: end; }
.reel-feature .player { position: relative; width: min(420px, 80vw); aspect-ratio: 9 / 16; background: #000; overflow: hidden; }
.reel-feature .player.h { width: min(1100px, 92vw); aspect-ratio: 16 / 9; }
.reel-feature video { width: 100%; height: 100%; object-fit: cover; }
.reel-feature .side { color: var(--fg-2); }
.reel-feature .side.r { text-align: right; }
.stills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.stills.h { grid-template-columns: repeat(2, 1fr); }
.stills figure { margin: 0; aspect-ratio: 9 / 16; overflow: hidden; background: var(--bg-2); }
.stills.h figure { aspect-ratio: 16 / 9; }
.stills img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.stills figure:hover img { transform: scale(1.03); }

.credits { display: grid; max-width: 760px; margin-left: auto; }
.credits > div { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); padding: 18px 0; }
.credits > div:last-child { border-bottom: 1px solid var(--line); }
.credits .v { font-size: 18px; }

.more { list-style: none; margin: 0; padding: 0; }
.more li a { display: grid; grid-template-columns: 1fr auto; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); }
.more li:last-child a { border-bottom: 1px solid var(--line); }
.more h3 { font-size: clamp(40px, 5vw, 80px); color: var(--fg-3); transition: color .3s, transform .5s var(--ease); }
.more li a:hover h3 { color: var(--fg); transform: translateX(10px); }

/* Player modal */
.modal { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .94); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.modal.open { opacity: 1; visibility: visible; }
.modal video { max-height: 88vh; max-width: 92vw; background: #000; }
.modal .close { position: absolute; top: 18px; right: var(--gutter); padding: 10px 12px; border: 1px solid var(--glass-line); }

@media (max-width: 767px) {
  .p-hero .row1 { grid-template-columns: 1fr; gap: 6px; }
  .p-hero .tags { justify-content: flex-start; padding-bottom: 0; }
  .p-hero .ind { padding-bottom: 0; }
  .section { padding: 80px var(--gutter); }
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-grid .copy { font-size: 17px; }
  .reel-feature { grid-template-columns: 1fr; justify-items: center; }
  .reel-feature .side { display: none; }
  .stills { grid-template-columns: repeat(2, 1fr); }
  .stills.h { grid-template-columns: 1fr; }
  .credits > div { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Viewfinder hero (estudio / contacto) ---------- */
.vf { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #000; }
.vf > video, .vf > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.vf::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0,0,0,.05), rgba(0,0,0,.6) 80%); }
.vf .corners i { position: absolute; z-index: 3; width: 18px; height: 18px; border-color: rgba(242, 239, 233, .55); border-style: solid; border-width: 0; }
.vf .corners i:nth-child(1) { top: calc(var(--header) + 16px); left: var(--gutter); border-top-width: 1px; border-left-width: 1px; }
.vf .corners i:nth-child(2) { top: calc(var(--header) + 16px); right: var(--gutter); border-top-width: 1px; border-right-width: 1px; }
.vf .corners i:nth-child(3) { bottom: 44px; left: var(--gutter); border-bottom-width: 1px; border-left-width: 1px; }
.vf .corners i:nth-child(4) { bottom: 44px; right: var(--gutter); border-bottom-width: 1px; border-right-width: 1px; }
.vf .tc { position: absolute; z-index: 3; top: calc(var(--header) + 22px); right: calc(var(--gutter) + 30px); display: flex; gap: 8px; align-items: center; }
.vf .center { position: absolute; z-index: 3; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 22px; padding: 0 var(--gutter); }
.vf .center h1 { font-size: clamp(64px, 10vw, 176px); }
.vf .center .mono { max-width: 340px; color: var(--fg); }
.vf .ruler { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: 14px; height: 22px; overflow: hidden; white-space: nowrap; color: var(--fg-3);
  background-image: repeating-linear-gradient(90deg, rgba(242,239,233,.35) 0 1px, transparent 1px 10px); background-size: 100% 5px; background-repeat: no-repeat; background-position: bottom; }
.vf .ruler span { display: inline-block; width: 100px; font-family: var(--mono); font-size: 9px; }

/* Studio sections */
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.split h2 { font-size: clamp(44px, 5vw, 84px); }
.split h2 sup { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .04em; vertical-align: top; margin-left: 10px; color: var(--fg-2); }
.lead { font-size: clamp(22px, 2vw, 30px); line-height: 1.3; letter-spacing: -.02em; font-weight: 500; }
.facts { display: grid; grid-template-columns: 1fr 1fr; margin-top: 48px; }
.facts > div { border-top: 1px solid var(--line); padding: 14px 0 22px; display: grid; gap: 8px; }

.svc { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.svc li { display: grid; grid-template-columns: 56px 1fr 1.2fr; gap: 18px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--line); }
.svc li:last-child { border-bottom: 1px solid var(--line); }
.svc h3 { font-size: clamp(26px, 2.6vw, 40px); font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.svc p { color: var(--fg-2); max-width: 46ch; }

.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pack { border: 1px solid var(--line); padding: 26px 24px 30px; display: grid; gap: 22px; align-content: start; background: rgba(242, 239, 233, .015); }
.pack.hl { border-color: rgba(255, 154, 46, .5); background: rgba(255, 154, 46, .04); }
.pack .price { font-size: 56px; font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.pack ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--fg-2); font-size: 15px; }
.pack li { padding-left: 18px; position: relative; }
.pack li::before { content: '—'; position: absolute; left: 0; color: var(--fg-3); }

.photo-grid { columns: 4 220px; column-gap: 8px; }
.photo-grid figure { margin: 0 0 8px; break-inside: avoid; overflow: hidden; background: var(--bg-2); }
.photo-grid img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.photo-grid figure:hover img { transform: scale(1.025); }

.clients { list-style: none; margin: 0; padding: 0; }
.clients li { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); align-items: baseline; }
.clients li:last-child { border-bottom: 1px solid var(--line); }
.clients h3 { font-size: clamp(30px, 3.4vw, 56px); font-weight: 500; letter-spacing: -.04em; line-height: 1; }

@media (max-width: 900px) { .packs { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .facts { grid-template-columns: 1fr; }
  .svc li { grid-template-columns: 32px 1fr; }
  .svc p { grid-column: 2; }
  .clients li { grid-template-columns: 1fr; gap: 8px; }
  .photo-grid { columns: 2; }
}

/* Contact form */
.form { display: grid; gap: 28px; max-width: 720px; }
.field { display: grid; gap: 10px; }
.field label, .field .lbl { color: var(--fg-2); }
.field input, .field textarea {
  font: inherit; font-size: 18px; color: var(--fg); background: transparent;
  border: 0; border-bottom: 1px solid var(--line); padding: 10px 0; border-radius: 0; outline: none; transition: border-color .2s;
}
.field input:focus, .field textarea:focus { border-color: var(--fg); }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--fg-3); }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.contact-list { display: grid; gap: 0; }
.contact-list > div { border-top: 1px solid var(--line); padding: 16px 0 22px; display: grid; gap: 8px; }
.contact-list a { font-size: 20px; letter-spacing: -.01em; }
.contact-list a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.ftr { position: relative; border-top: 1px solid var(--line); min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; }
.ftr .cols { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 var(--gutter); pointer-events: none; }
.ftr .cols i { border-left: 1px solid rgba(242, 239, 233, .06); }
.ftr .cols i:last-child { border-right: 1px solid rgba(242, 239, 233, .06); }
.ftr .mid { position: relative; display: grid; place-content: center; justify-items: center; text-align: center; gap: 26px; padding: 120px var(--gutter); }
.ftr .big { font-size: clamp(72px, 11vw, 200px); font-weight: 500; letter-spacing: -.055em; line-height: .9; transition: color .4s; }
.ftr .big:hover { color: var(--accent); }
.ftr .bar { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; padding: 18px var(--gutter); border-top: 1px solid var(--line); color: var(--fg-2); }
.ftr .bar .c { justify-self: center; display: flex; align-items: center; gap: 8px; }
.ftr .bar .r { justify-self: end; display: flex; gap: 28px; }
.ftr .bar a:hover { color: var(--fg); }
@media (max-width: 767px) {
  .ftr .bar { grid-template-columns: 1fr 1fr; row-gap: 12px; }
  .ftr .bar .c { justify-self: end; }
  .ftr .bar .r { grid-column: 1 / -1; justify-self: start; }
  .ftr .cols { grid-template-columns: repeat(2, 1fr); }
  .ftr .cols i:nth-child(3) { display: none; }
}

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
}

/* nichos */
.card .sub { margin-top: 8px; font-size: 15px; line-height: 1.35; color: var(--fg); max-width: 34ch; }
.chips button .n { opacity: .5; margin-left: 4px; }
.chips button[aria-pressed="true"] .n { opacity: .6; }

/* ---------- portada con scroll ---------- */
body[data-page="home"] .stage {
  position: sticky; top: 0; z-index: 0; transform-origin: 50% 30%;
  transform: scale(calc(1 - var(--p, 0) * .07));
  border-radius: calc(var(--p, 0) * 28px);
}
body[data-page="home"] .stage::after { content: ''; position: absolute; inset: 0; z-index: 8; background: #000; opacity: calc(var(--p, 0) * .7); pointer-events: none; }
body[data-page="home"] .stage .scene,
body[data-page="home"] .stage .cut,
body[data-page="home"] .stage .prog { opacity: calc(1 - var(--p, 0) * 1.8); }
.stage.away { visibility: hidden; }
.scroll-hint { position: absolute; left: 50%; bottom: 20px; z-index: 7; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--fg-2); transform: translateX(-50%); opacity: calc(1 - var(--p, 0) * 5); }
.scroll-hint span { width: 1px; height: 30px; background: linear-gradient(var(--fg), transparent); transform-origin: top; animation: hint 1.8s var(--ease) infinite; }
@keyframes hint { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.after { position: relative; z-index: 2; background: var(--bg); box-shadow: 0 -40px 80px rgba(0, 0, 0, .55); }

/* 01 · quién es */
.about2 { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about2-img { margin: 0; position: sticky; top: calc(var(--header) + 24px); }
.collage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.collage a { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; background: var(--bg-2); }
.collage a:nth-child(3n + 2) { transform: translateY(12%); }
.collage img, .collage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .6s; }
.collage video { opacity: 0; }
.collage video.ready { opacity: 1; }
.collage a:hover video, .collage a:hover img { transform: scale(1.04); }
.about2-img figcaption { margin-top: calc(10px + 6%); color: var(--fg); }
.about2-copy { display: grid; gap: 28px; align-content: start; }
.about2-copy .role { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); }
.about2-copy h2 { font-size: clamp(56px, 7.4vw, 128px); }
.lit { margin: 0; font-size: clamp(26px, 2.9vw, 46px); font-weight: 500; letter-spacing: -.03em; line-height: 1.12; }
.lit span { color: var(--fg-3); transition: color .35s; }
.lit span.on { color: var(--fg); }
.about2-copy .detail { margin: 0; max-width: 560px; font-size: 18px; line-height: 1.55; color: var(--fg-2); }
.facts2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 0; max-width: 560px; }
.facts2 div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.facts2 dd { margin: 0; text-align: right; }

/* 02 · cómo trabajamos */
.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(32px, 5vw, 80px); align-items: start; }
.how-main h2 { font-size: clamp(48px, 5.6vw, 96px); margin-bottom: 48px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.steps li { padding: 22px 0 30px; border-top: 1px solid var(--line); }
.steps .n { color: var(--accent); }
.steps h3 { margin: 10px 0 10px; font-size: clamp(28px, 2.6vw, 40px); font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.steps p { margin: 0; color: var(--fg-2); max-width: 40ch; }
.works { margin-top: 40px; display: grid; gap: 12px; }
.works .chips a, .works .chips .soon { border: 1px solid var(--line); padding: 9px 12px; transition: background .2s, color .2s, border-color .2s; }
.works .chips a:hover { background: var(--fg); color: #000; border-color: var(--fg); }
.works .chips .soon { color: var(--fg-3); }
.works .chips .n { opacity: .5; margin-left: 4px; }
.talk { position: sticky; top: calc(var(--header) + 24px); display: grid; gap: 22px; padding: 28px; border: 1px solid var(--line); background: var(--bg-2); }
.talk > .mono:first-child { display: inline-flex; align-items: center; gap: 8px; }
.talk-big { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: clamp(40px, 3.7vw, 64px); transition: color .4s; }
.talk-big span { font-size: .5em; transition: transform .4s var(--ease); }
.talk-big:hover { color: var(--accent); }
.talk-big:hover span { transform: translateX(6px); }
.talk p { margin: 0; }
.talk .glass-btn { justify-self: start; }

/* 03 · marcas */
.h-brands h2 { font-size: clamp(48px, 5.6vw, 96px); margin-bottom: 48px; }
.brands { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.brands li { display: grid; place-items: center; aspect-ratio: 16 / 9; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.brands li:hover { background: var(--bg-2); }
.brands img { max-width: 70%; max-height: 64px; object-fit: contain; filter: grayscale(1) brightness(1.6); opacity: .85; transition: filter .3s, opacity .3s; }
.brands li:hover img { filter: none; opacity: 1; }
.brands .word { font-size: clamp(20px, 1.8vw, 28px); font-weight: 500; letter-spacing: -.02em; text-align: center; }

@media (max-width: 900px) {
  .about2, .how { grid-template-columns: 1fr; }
  .about2-img, .talk { position: relative; top: 0; }
  .collage { gap: 6px; }
}
@media (max-width: 767px) {
  .scroll-hint { bottom: 64px; }
  .steps { grid-template-columns: 1fr; }
  .talk-big { font-size: clamp(48px, 15vw, 80px); }
  .facts2 { grid-template-columns: 1fr; }
  .brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brands li { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .stage { transform: none; border-radius: 0; }
  .scroll-hint span { animation: none; }
  .lit span { color: var(--fg); }
}

/* ---------- Enlace a Cliente (área privada) ---------- */
.hdr-nav .cli { display: inline-flex; align-items: center; gap: 6px; }
.lock { width: 12px; height: 12px; flex: none; }
.menu li a .mono { display: inline-flex; align-items: center; gap: 8px; }
