/* =========================================================
   Tommy Whitte · Viajes — estilos
   Paleta y fuentes provisorias hasta tener las de marca.
   Fuentes reales: subir .woff2 a /fonts y descomentar.
   ========================================================= */

@font-face { font-family: "Torsos"; src: url("fonts/torsos-thin.woff2") format("woff2"); font-weight: 200; font-display: swap; }
@font-face { font-family: "Torsos"; src: url("fonts/torsos-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Torsos"; src: url("fonts/torsos-semiultra.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Neue Haas Display"; src: url("fonts/nhd-roman.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Neue Haas Display"; src: url("fonts/nhd-medium.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: "Space Mono"; src: url("fonts/spacemono-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Space Mono"; src: url("fonts/spacemono-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: dark;
  --carbon: #0c0b0a;
  --humo: #171513;
  --linea: #2a2622;
  --hueso: #eee7dc;
  --ceniza: #8f877d;
  --brasa: #ff5b1f;
  --ambar: #ffb547;

  --f-display: "Torsos", "Arial Black", Arial, sans-serif;
  --f-body: "Neue Haas Display", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Space Mono", ui-monospace, Menlo, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--carbon); color: var(--hueso);
  font: 400 17px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ambar); outline-offset: 3px; }
::selection { background: var(--brasa); color: var(--carbon); }

.mono { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.dim { color: var(--ceniza); }

.display { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; line-height: .92; letter-spacing: .005em; text-wrap: balance; margin: 0; }
.display--l { font-size: clamp(40px, 7vw, 84px); }
.display--xl { font-size: clamp(50px, 11vw, 140px); }

.eyebrow { color: var(--ambar); margin: 0 0 18px; }
.label { display: flex; gap: 8px; align-items: center; color: var(--ceniza); margin-bottom: 18px; }
.label::before { content: ""; width: 18px; height: 1px; background: var(--brasa); }

/* ---------- cuenta regresiva ---------- */
.leader {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; align-content: center; gap: 22px;
  background: radial-gradient(circle at 50% 50%, #1d1714, #070605 70%);
  animation: leaderOut .45s ease 1.55s forwards;
}
.leader.is-done { animation: leaderOut .3s ease forwards; }
@keyframes leaderOut { to { opacity: 0; visibility: hidden; } }
.leader__ring { position: relative; width: 170px; height: 170px; border-radius: 50%; border: 2px solid rgba(238,231,220,.8); overflow: hidden; }
.leader__ring::before, .leader__ring::after { content: ""; position: absolute; background: rgba(238,231,220,.5); }
.leader__ring::before { left: 50%; top: -10%; bottom: -10%; width: 1px; }
.leader__ring::after { top: 50%; left: -10%; right: -10%; height: 1px; }
.leader__sweep { position: absolute; inset: 0; background: conic-gradient(rgba(255,91,31,.55) 0deg, rgba(255,91,31,.55) var(--a, 0deg), transparent var(--a, 0deg)); animation: sweepA .5s linear 3; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes sweepA { from { --a: 0deg; } to { --a: 360deg; } }
.leader__n { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-display); font-size: 96px; opacity: 0; }
.leader__n:nth-of-type(2) { animation: num .5s steps(1) 0s 1; }
.leader__n:nth-of-type(3) { animation: num .5s steps(1) .5s 1; }
.leader__n:nth-of-type(4) { animation: num .5s steps(1) 1s 1; }
@keyframes num { 0%, 99% { opacity: 1; } 100% { opacity: 0; } }
.leader__cap { color: var(--ceniza); }

/* ---------- grano ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .1; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-4%)} 60%{transform:translate(-4%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

/* ---------- barra ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; justify-content: space-between; align-items: center;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) var(--gutter) 14px;
  background: linear-gradient(to bottom, rgba(12,11,10,.85), rgba(12,11,10,0));
}
.wordmark { font-family: var(--f-display); font-size: 20px; letter-spacing: .06em; text-decoration: none; }
.topbar__right { display: flex; gap: 14px; align-items: center; }
.rec { display: flex; gap: 7px; align-items: center; }
.rec i { width: 7px; height: 7px; border-radius: 50%; background: var(--brasa); box-shadow: 0 0 10px var(--brasa); animation: blink 1.2s steps(2) infinite; }
.tc { font-variant-numeric: tabular-nums; color: var(--ceniza); }
@keyframes blink { 50% { opacity: .15; } }
.bat { display: flex; align-items: center; gap: 6px; color: var(--ceniza); }
.bat b { width: 20px; height: 10px; border: 1px solid var(--ceniza); position: relative; padding: 1px; }
.bat b::before { content: ""; display: block; height: 100%; width: 80%; background: var(--hueso); }
.bat b::after { content: ""; position: absolute; right: -4px; top: 2px; width: 2px; height: 4px; background: var(--ceniza); }
.lang { background: none; border: 1px solid var(--linea); color: var(--ceniza); padding: 7px 10px; border-radius: 2px; cursor: pointer; }
.lang .is-on { color: var(--hueso); }
@media (max-width: 480px) { .tc, .bat { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 94svh; display: flex; align-items: flex-end; padding: 130px var(--gutter) 64px; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; background: var(--carbon); }
.hero__img, .hero__halo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__img { filter: contrast(1.12) saturate(1.1) sepia(.12); animation: kenburns 24s ease-in-out infinite alternate; }
.hero__halo { filter: blur(26px) saturate(2.2) brightness(1.2) sepia(.6) hue-rotate(-12deg); mix-blend-mode: screen; opacity: .45; animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04) translate(0,0); } to { transform: scale(1.14) translate(-2%,-1.5%); } }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--carbon) 3%, rgba(12,11,10,.6) 38%, rgba(12,11,10,.15) 70%, rgba(12,11,10,.65) 100%), radial-gradient(120% 80% at 50% 40%, transparent 50%, rgba(0,0,0,.55)); }
.scan { position: absolute; inset: 0; z-index: 1; background: repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 1px, transparent 1px 3px); mix-blend-mode: multiply; pointer-events: none; }

.leak { position: absolute; z-index: 1; border-radius: 50%; filter: blur(60px); mix-blend-mode: screen; pointer-events: none; }
.leak--a { width: 50vw; height: 50vw; min-width: 280px; min-height: 280px; left: -16vw; top: 6%; background: rgba(255,91,31,.5); animation: drift 12s ease-in-out infinite alternate; }
.leak--b { width: 20vw; min-width: 140px; height: 80vh; right: -6vw; top: -12%; background: rgba(255,181,71,.35); animation: drift 16s ease-in-out infinite alternate-reverse, flicker 5s steps(1) infinite; }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(6vw,4vh) scale(1.15); } }
@keyframes flicker { 0%,100%{opacity:1} 42%{opacity:.6} 44%{opacity:1} 71%{opacity:.75} 72%{opacity:1} }

.viewfinder { position: absolute; inset: 80px var(--gutter) 22px; pointer-events: none; z-index: 2; }
.vf-c { position: absolute; width: 24px; height: 24px; border: 1.5px solid rgba(238,231,220,.8); }
.vf-tl { top: 0; left: 0; border-right: 0; border-bottom: 0; } .vf-tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.vf-bl { bottom: 0; left: 0; border-right: 0; border-top: 0; } .vf-br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.vf-meta { position: absolute; color: rgba(238,231,220,.75); font-size: 10px; }
.vf-meta--tl { top: 7px; left: 34px; } .vf-meta--tr { top: 7px; right: 34px; } .vf-meta--br { bottom: 7px; right: 34px; }
.cross { position: absolute; left: 50%; top: 42%; width: 26px; height: 26px; transform: translate(-50%,-50%); opacity: .5; }
.cross::before, .cross::after { content: ""; position: absolute; background: var(--hueso); }
.cross::before { left: 50%; top: 0; bottom: 0; width: 1px; } .cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.af { position: absolute; width: 74px; height: 56px; border: 1.5px solid var(--ambar); left: 58%; top: 30%; animation: af 9s ease-in-out infinite; }
.af::after { content: "AF-C"; position: absolute; top: -16px; left: -1px; font: 700 9px/1 var(--f-mono); color: var(--ambar); letter-spacing: .08em; }
@keyframes af { 0%{left:58%;top:30%;transform:scale(1)} 30%{left:30%;top:22%;transform:scale(1)} 34%{transform:scale(.8)} 38%{transform:scale(1)} 65%{left:66%;top:44%} 69%{transform:scale(.8)} 73%{transform:scale(1)} 100%{left:58%;top:30%} }
.vu { position: absolute; left: 10px; bottom: 34px; display: grid; grid-template-columns: auto 64px; gap: 5px 8px; align-items: center; color: rgba(238,231,220,.7); }
.vu .mono { font-size: 9px; }
.vu i { height: 5px; background: linear-gradient(90deg, #8fd16a 0 60%, var(--ambar) 60% 82%, var(--brasa) 82%); transform-origin: left; animation: vu .35s ease-in-out infinite alternate; }
.vu i:nth-of-type(2) { animation-duration: .27s; animation-delay: -.1s; }
@keyframes vu { from { transform: scaleX(.25); } 40% { transform: scaleX(.7); } to { transform: scaleX(.45); } }
@media (max-width: 640px) { .vf-meta--tr, .vu { display: none; } .af { width: 54px; height: 42px; } }

.hero__content { position: relative; z-index: 3; max-width: 1000px; }
.hero__title { font-size: clamp(58px, 13vw, 168px); }
.hero__sub { max-width: 34em; margin: 22px 0 30px; font-size: clamp(16px, 1.6vw, 19px); color: rgba(238,231,220,.9); }
.scrollcue { position: absolute; z-index: 3; right: var(--gutter); bottom: 34px; color: var(--ceniza); text-decoration: none; writing-mode: vertical-rl; letter-spacing: .2em; display: none; }
@media (min-width: 900px) { .scrollcue { display: block; } }

/* glitch del título */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.glitch::before { color: var(--brasa); mix-blend-mode: screen; }
.glitch::after { color: #3fd3ff; mix-blend-mode: screen; }
.glitch.is-on::before { opacity: .85; animation: gl1 .45s steps(2) 1; }
.glitch.is-on::after { opacity: .7; animation: gl2 .45s steps(2) 1; }
@keyframes gl1 { 0%{transform:translate(-4px,0);clip-path:inset(10% 0 60% 0)} 50%{transform:translate(3px,-2px);clip-path:inset(55% 0 20% 0)} 100%{transform:translate(-2px,1px);clip-path:inset(30% 0 40% 0)} }
@keyframes gl2 { 0%{transform:translate(4px,0);clip-path:inset(60% 0 10% 0)} 50%{transform:translate(-3px,2px);clip-path:inset(15% 0 65% 0)} 100%{transform:translate(2px,-1px);clip-path:inset(45% 0 30% 0)} }

/* ---------- botones ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions--center { justify-content: center; }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 24px; font: 700 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border-radius: 2px; overflow: hidden; transition: transform .2s, background .2s, color .2s, box-shadow .2s, border-color .2s; }
.btn--fire { background: var(--brasa); color: var(--carbon); box-shadow: 0 0 30px -6px rgba(255,91,31,.7); }
.btn--fire::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); animation: shine 3.6s ease-in-out infinite; }
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.btn--fire:hover { background: var(--ambar); box-shadow: 0 10px 44px -6px rgba(255,91,31,.8); transform: translateY(-2px); }
.btn--ghost { border: 1px solid rgba(238,231,220,.4); color: var(--hueso); background: rgba(12,11,10,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--hueso); transform: translateY(-2px); }
.btn .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ambar); box-shadow: 0 0 8px var(--ambar); }
@media (max-width: 520px) { .actions .btn { flex: 1 1 100%; } }

/* ---------- cinta ---------- */
.ticker { overflow: hidden; border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); padding: 14px 0; background: var(--carbon); }
.ticker__track { display: flex; width: max-content; gap: 28px; white-space: nowrap; font-family: var(--f-display); text-transform: uppercase; font-size: clamp(34px, 6vw, 72px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(238,231,220,.6); animation: marquee 40s linear infinite; }
.ticker__track i { font-style: normal; color: var(--brasa); -webkit-text-stroke: 0; font-size: .5em; align-self: center; }
.ticker__track > span { display: inline-flex; gap: 28px; }

/* ---------- bloques ---------- */
.block, .logos, .close { padding: clamp(64px, 9vw, 120px) var(--gutter); }
.block > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.block--video { padding-top: clamp(40px, 6vw, 72px); }

/* marcos */
.frame { position: relative; width: 100%; max-width: 100%; background: var(--humo); overflow: hidden; border-radius: 3px; }
.frame--169 { aspect-ratio: 16 / 9; }
.frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play { width: 64px; height: 64px; border-radius: 50%; border: 1px solid rgba(238,231,220,.7); background: rgba(12,11,10,.35); backdrop-filter: blur(4px); position: relative; transition: transform .25s, background .25s, border-color .25s; }
.play::after { content: ""; position: absolute; left: 26px; top: 21px; border-left: 17px solid var(--hueso); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.fx::before, .fx::after { content: ""; position: absolute; pointer-events: none; z-index: 3; }
.fx::before {
  inset: 12px; opacity: .7;
  background:
    linear-gradient(var(--hueso),var(--hueso)) top left / 16px 1px, linear-gradient(var(--hueso),var(--hueso)) top left / 1px 16px,
    linear-gradient(var(--hueso),var(--hueso)) top right / 16px 1px, linear-gradient(var(--hueso),var(--hueso)) top right / 1px 16px,
    linear-gradient(var(--hueso),var(--hueso)) bottom left / 16px 1px, linear-gradient(var(--hueso),var(--hueso)) bottom left / 1px 16px,
    linear-gradient(var(--hueso),var(--hueso)) bottom right / 16px 1px, linear-gradient(var(--hueso),var(--hueso)) bottom right / 1px 16px;
  background-repeat: no-repeat;
}
.fx::after { top: -20%; bottom: -20%; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,120,40,.4), rgba(255,181,71,.3), transparent); filter: blur(18px); mix-blend-mode: screen; animation: sweep 7s ease-in-out infinite; }
.frame.is-live::before, .frame.is-live::after { display: none; }
@keyframes sweep { 0%, 60% { left: -60%; } 100% { left: 130%; } }

/* facade de YouTube */
.yt__btn { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: var(--humo); cursor: pointer; display: grid; place-items: center; }
.yt__btn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: contrast(1.08) saturate(.9) sepia(.2) brightness(.82); transition: filter .5s, transform .8s; }
.yt__btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,11,10,.75), transparent 50%), radial-gradient(80% 70% at 20% 100%, rgba(255,91,31,.3), transparent 60%); mix-blend-mode: normal; }
.yt__btn .play { z-index: 2; }
.yt__btn:hover img, .yt__btn:focus-visible img { filter: contrast(1.05) saturate(1.05) brightness(.95); transform: scale(1.03); }
.yt__btn:hover .play { transform: scale(1.1); background: var(--brasa); border-color: var(--brasa); }
.yt__cap, .yt__n { position: absolute; z-index: 2; left: 20px; bottom: 18px; color: var(--hueso); text-align: left; }
.yt__n { color: var(--ambar); }

/* ---------- quién soy ---------- */
.about { max-width: 920px !important; display: grid; gap: 26px; }
.about__name { font-size: clamp(44px, 8vw, 96px); }
.about__quote { margin: 0; padding-left: 22px; border-left: 2px solid var(--brasa); font-size: clamp(20px, 2.6vw, 30px); line-height: 1.3; color: var(--hueso); max-width: 30ch; text-wrap: balance; }
.about__body { display: grid; gap: 16px; max-width: 62ch; }
.about__body p { margin: 0; color: rgba(238,231,220,.82); }
@media (min-width: 900px) { .about__body { grid-template-columns: 1fr 1fr; gap: 32px; max-width: none; } }

/* ---------- bitácora ---------- */
.block--log { background: radial-gradient(60% 60% at 25% 50%, rgba(255,91,31,.1), transparent 70%); border-top: 1px solid var(--linea); }
.log { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .log { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; } }
.log__globe { position: relative; max-width: 520px; width: 100%; margin: 0 auto; }
.log__globe canvas { width: 100%; height: auto; aspect-ratio: 1; display: block; }
.log__route { position: absolute; left: 0; right: 0; bottom: -6px; text-align: center; color: var(--ambar); }
.log__where { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(28px, 4vw, 44px); line-height: 1; margin: 0 0 28px; text-wrap: balance; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; background: var(--linea); margin: 0; border: 1px solid var(--linea); }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.stats > div { background: var(--carbon); padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; }
.stats dd { margin: 0; font-family: var(--f-display); font-size: clamp(38px, 5vw, 56px); line-height: 1; font-variant-numeric: tabular-nums; color: var(--hueso); }
.stats dt { color: var(--ceniza); font-size: 10px; line-height: 1.5; }
.stats > div:hover dd { color: var(--ambar); }

/* ---------- logos ---------- */
.logos { padding-block: 34px; padding-inline: 0; border-bottom: 1px solid var(--linea); border-top: 1px solid var(--linea); }
.logos > .label { max-width: var(--max); margin: 0 auto 18px; padding-inline: var(--gutter); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; align-items: center; animation: marquee 38s linear infinite; }
.marquee__track > * { flex: none; font-family: var(--f-display); font-size: clamp(24px, 3.4vw, 38px); text-transform: uppercase; color: rgba(238,231,220,.5); white-space: nowrap; transition: color .3s; }
.marquee__track > *:hover { color: var(--hueso); }
.marquee__track img { height: 34px; width: auto; opacity: .65; filter: grayscale(1) brightness(2); transition: opacity .3s, filter .3s; }
.marquee__track img:hover { opacity: 1; filter: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- cómo trabajo ---------- */
.project__intro { max-width: 60ch !important; margin-top: 22px !important; margin-bottom: 44px !important; margin-left: 0; color: rgba(238,231,220,.84); font-size: clamp(17px, 1.6vw, 20px); }
.block > .project__intro { margin-left: max(0px, calc((100% - var(--max)) / 2)) !important; margin-right: auto !important; }
.pillars { display: grid; gap: 1px; background: var(--linea); border: 1px solid var(--linea); margin-bottom: 64px !important; }
@media (min-width: 820px) { .pillars { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.pillar { background: var(--carbon); padding: 26px 22px 30px; position: relative; overflow: hidden; transition: background .3s; }
.pillar::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--brasa); transition: width .6s ease; }
.pillar:hover { background: #120f0d; } .pillar:hover::before, .pillar.in::before { width: 100%; }
.pillar__k { color: var(--brasa); }
.pillar h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 28px; line-height: 1; margin: 16px 0 12px; }
.pillar p { margin: 0; color: var(--ceniza); font-size: 15px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--linea); counter-reset: s; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 32px; } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.steps li { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--linea); }
.steps__n { grid-row: span 2; color: var(--brasa); font-size: 13px; padding-top: 4px; }
.steps b { font-weight: 600; font-size: 18px; }
.steps li > span:last-child { color: var(--ceniza); font-size: 15px; }

/* ---------- reels / tira de película ---------- */
.reels { padding: clamp(64px, 9vw, 120px) 0; background: #080706; }
.reels__head { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.strip { position: relative; padding: 26px 0; background: #050404; }
.strip::before, .strip::after { content: ""; position: absolute; left: 0; right: 0; height: 12px; background: radial-gradient(circle, transparent 0, transparent 0) , repeating-linear-gradient(90deg, transparent 0 10px, #2b2521 10px 22px, transparent 22px 32px); opacity: .9; }
.strip::before { top: 7px; } .strip::after { bottom: 7px; }
.strip__row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter); scrollbar-width: thin; scrollbar-color: var(--linea) transparent; }
/* Reel de Instagram recortado: se ve solo el video (sin el marco blanco de IG) */
.ig { flex: 0 0 229px; width: 229px; height: 407px; position: relative; overflow: hidden; border-radius: 3px; background: var(--humo); scroll-snap-align: center; }
.ig iframe.instagram-media { position: absolute !important; top: -55px !important; left: -50px !important; width: 328px !important; min-width: 328px !important; max-width: none !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; }
.ig blockquote.instagram-media { margin: 0 !important; min-width: 0 !important; width: 100% !important; height: 100%; display: grid; place-items: center; border: 0 !important; background: radial-gradient(80% 60% at 30% 80%, rgba(255,91,31,.25), transparent 60%), var(--humo) !important; }
.ig blockquote.instagram-media a { font: 700 11px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ceniza); text-decoration: none; }
.ig::before { content: ""; position: absolute; inset: 10px; z-index: 2; pointer-events: none; opacity: .75;
  background:
    linear-gradient(var(--hueso),var(--hueso)) top left / 14px 1px, linear-gradient(var(--hueso),var(--hueso)) top left / 1px 14px,
    linear-gradient(var(--hueso),var(--hueso)) top right / 14px 1px, linear-gradient(var(--hueso),var(--hueso)) top right / 1px 14px,
    linear-gradient(var(--hueso),var(--hueso)) bottom left / 14px 1px, linear-gradient(var(--hueso),var(--hueso)) bottom left / 1px 14px,
    linear-gradient(var(--hueso),var(--hueso)) bottom right / 14px 1px, linear-gradient(var(--hueso),var(--hueso)) bottom right / 1px 14px;
  background-repeat: no-repeat; }
.ig::after { content: attr(data-n); position: absolute; z-index: 2; left: 18px; top: 16px; pointer-events: none; font: 700 10px/1 var(--f-mono); letter-spacing: .1em; color: var(--hueso); text-shadow: 0 1px 4px rgba(0,0,0,.6); }
@media (min-width: 1100px) { .strip__row { justify-content: flex-start; } }
.reels__more { margin-left: max(var(--gutter), calc((100% - var(--max)) / 2)); }

/* ---------- documentales ---------- */
.block--docs h2 { margin-bottom: 40px; }
.docs { display: grid; gap: 32px 20px; }
@media (min-width: 760px) { .docs { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.doc__t { font-weight: 600; font-size: 18px; line-height: 1.3; margin: 14px 0 0; }
.soon { border: 1px dashed rgba(255,181,71,.45); background: radial-gradient(70% 70% at 50% 110%, rgba(255,91,31,.35), transparent 70%), var(--humo); }
.soon__in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 16px; }
.soon__tag { display: flex; align-items: center; gap: 7px; color: var(--ambar); }
.soon__tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--ambar); animation: blink 1.2s steps(2) infinite; }
.soon__t { font-size: clamp(38px, 6vw, 64px); }
.link { display: inline-block; margin-top: 26px; color: var(--ambar); text-decoration: none; border-bottom: 1px solid rgba(255,181,71,.4); padding-bottom: 3px; }
.link:hover { color: var(--hueso); border-color: var(--hueso); }

/* ---------- cierre ---------- */
.close { position: relative; text-align: center; overflow: hidden; isolation: isolate; border-top: 1px solid var(--linea); padding-bottom: clamp(70px, 10vw, 130px); }
.close__glow { position: absolute; z-index: -1; left: 50%; bottom: -40%; width: 120vw; max-width: 1400px; height: 90%; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 50%, rgba(255,91,31,.55), rgba(255,181,71,.12) 45%, transparent 70%); filter: blur(20px); animation: breathe 6s ease-in-out infinite alternate; }
@keyframes breathe { from { opacity: .7; transform: translateX(-50%) scale(1); } to { opacity: 1; transform: translateX(-50%) scale(1.08); } }
.close h2 { max-width: 13ch; margin: 0 auto; }
.close__sub { max-width: 38em; margin: 24px auto 32px; color: rgba(238,231,220,.88); }
.contact { list-style: none; margin: 44px auto 0; padding: 0; display: grid; gap: 10px; justify-items: center; }
.contact li { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; text-transform: none; font-size: 13px; letter-spacing: .02em; }
.contact li .dim { text-transform: uppercase; font-size: 11px; letter-spacing: .08em; }
.contact a { text-decoration: none; border-bottom: 1px solid var(--linea); }
.socials { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.socials a { text-decoration: none; border-bottom: 1px solid var(--brasa); padding-bottom: 3px; }
.socials a:hover { color: var(--ambar); }

.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 22px var(--gutter) calc(22px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--linea); color: var(--ceniza); }

/* ---------- aparición (visible sin JS) ---------- */
.reveal-ready .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal-ready .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .grain, .leak, .fx::after, .ticker__track, .marquee__track, .close__glow, .hero__img, .hero__halo, .af { animation: none; }
  .leader { display: none; }
}

/* =========================================================
   v3 · ajustes y animaciones nuevas
   ========================================================= */

/* cinta más chica */
.ticker { padding: 10px 0; }
.ticker__track { font-size: clamp(20px, 3.2vw, 36px); gap: 22px; animation-duration: 34s; }
.ticker__track > span { gap: 22px; }

/* barra de progreso tipo línea de tiempo */
.scrub { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 45; background: rgba(238,231,220,.08); pointer-events: none; }
.scrub i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--brasa), var(--ambar)); box-shadow: 0 0 10px var(--brasa); }

/* títulos que suben palabra por palabra */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .04em; margin-bottom: -.04em; }
.sw > i { display: inline-block; font-style: normal; transition: transform 1s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal-ready .rv:not(.in) .sw > i, .reveal-ready .rv.split:not(.in) .sw > i { transform: translateY(110%); }

/* obturador que se abre sobre fotos y videos */
.shut { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.shut::before, .shut::after { content: ""; position: absolute; left: 0; right: 0; height: 50.5%; background: #050404; transition: transform 1.1s cubic-bezier(.75,0,.2,1); transition-delay: var(--d, 0ms); }
.shut::before { top: 0; border-bottom: 1px solid var(--brasa); }
.shut::after { bottom: 0; border-top: 1px solid var(--brasa); }
.shut.open::before { transform: translateY(-101%); }
.shut.open::after { transform: translateY(101%); }

/* parallax en miniaturas */
.yt__btn img { transform: translateY(var(--py, 0px)) scale(1.12); transition: filter .5s; }
.yt__btn:hover img, .yt__btn:focus-visible img { transform: translateY(var(--py, 0px)) scale(1.15); }

/* quién soy con foto */
.about { max-width: var(--max) !important; display: grid; gap: 36px; align-items: start; }
@media (min-width: 900px) { .about { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; } .about__photo { position: sticky; top: 90px; } }
.about__text { display: grid; gap: 24px; }
.about__body { grid-template-columns: 1fr !important; max-width: 62ch !important; }
.about__photo { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px; background: var(--humo); max-width: 520px; width: 100%; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.1) saturate(.9) sepia(.18); transform: scale(1.06); transition: transform 1.6s ease; }
.about__photo:hover img { transform: scale(1.1); }
.about__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,11,10,.7), transparent 40%), radial-gradient(90% 70% at 100% 0%, rgba(255,91,31,.3), transparent 60%); mix-blend-mode: normal; pointer-events: none; }
.about__photo figcaption { position: absolute; z-index: 2; left: 16px; bottom: 14px; color: var(--hueso); }
.about__rec { position: absolute; z-index: 2; right: 16px; top: 14px; display: flex; gap: 6px; align-items: center; color: var(--hueso); }
.about__rec i { width: 6px; height: 6px; border-radius: 50%; background: var(--brasa); box-shadow: 0 0 8px var(--brasa); animation: blink 1.2s steps(2) infinite; }
.spec { margin: 6px 0 0; display: grid; border-top: 1px solid var(--linea); }
.spec > div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--linea); align-items: baseline; }
.spec dt { color: var(--brasa); }
.spec dd { margin: 0; font-size: 15px; color: var(--hueso); }
@media (max-width: 420px) { .spec > div { grid-template-columns: 1fr; gap: 2px; } }

/* bitácora */
.log__where { margin-bottom: 10px; }
.log__list { color: var(--ambar); margin: 0 0 28px; line-height: 1.8; }

/* proceso como línea de tiempo de edición */
.pipeline { max-width: 820px !important; margin-left: max(0px, calc((100% - var(--max)) / 2)) !important; }
.steps { grid-template-columns: 1fr !important; border-top: 0; position: relative; padding-left: 26px; --tl: 0; }
.steps::before, .steps::after { content: ""; position: absolute; left: 6px; top: 0; width: 2px; }
.steps::before { bottom: 0; background: var(--linea); }
.steps::after { height: calc(var(--tl) * 100%); background: linear-gradient(var(--ambar), var(--brasa)); box-shadow: 0 0 12px var(--brasa); }
.steps li { position: relative; grid-template-columns: 44px 1fr; border-bottom: 1px solid var(--linea); transition: opacity .4s; opacity: .45; }
.steps li.on { opacity: 1; }
.steps li::before { content: ""; position: absolute; left: -25px; top: 26px; width: 10px; height: 10px; border-radius: 50%; background: var(--carbon); border: 2px solid var(--linea); transition: background .3s, border-color .3s, box-shadow .3s; }
.steps li.on::before { background: var(--brasa); border-color: var(--brasa); box-shadow: 0 0 12px var(--brasa); }
.steps__n { grid-row: span 3 !important; }
.steps__tc { grid-column: 2; color: var(--ceniza); font-size: 10px; margin-bottom: 2px; }
.steps li.on b { color: var(--ambar); }

/* claqueta */
.clap { width: min(300px, 78vw); margin: 0 auto 34px; position: relative; cursor: pointer; }
.clap__top, .clap__base { height: 34px; position: relative; overflow: hidden; border-radius: 3px 3px 0 0; background: #111; border: 2px solid var(--hueso); }
.clap__top span, .clap__base span { position: absolute; inset: 0; background: repeating-linear-gradient(-55deg, var(--hueso) 0 18px, #111 18px 36px); }
.clap__top { transform-origin: 4px 100%; transform: rotate(-24deg); margin-bottom: 3px; }
.clap__base { border-radius: 0; border-bottom: 0; }
.clap__body { border: 2px solid var(--hueso); border-top-width: 1px; background: #0f0d0c; text-align: left; font-size: 11px; }
.clap__body > div { display: flex; gap: 10px; padding: 9px 12px; border-bottom: 1px solid rgba(238,231,220,.25); }
.clap__body > div:last-child { border-bottom: 0; }
.clap__body em { font-style: normal; color: var(--ceniza); min-width: 44px; }
.clap__body b { color: var(--hueso); font-weight: 700; }
.clap__row { justify-content: space-between; }
.clap__row span { display: flex; gap: 6px; }
.clap__row em { min-width: 0; }
.clap.snap .clap__top { animation: clap .7s cubic-bezier(.5,0,.3,1) forwards; }
@keyframes clap { 0% { transform: rotate(-24deg); } 45% { transform: rotate(0deg); } 55% { transform: rotate(-4deg); } 70%, 100% { transform: rotate(0deg); } }
.clap.snap::after { content: ""; position: absolute; left: -20%; right: -20%; top: -30px; height: 80px; background: radial-gradient(closest-side, rgba(255,181,71,.55), transparent); animation: flash .6s ease-out .3s both; pointer-events: none; }
@keyframes flash { from { opacity: 1; } to { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .sw > i { transition: none; } .shut { display: none; }
}

/* =========================================================
   v4 · fotos reales, stills y cierre con imagen
   ========================================================= */
.hero__img, .hero__halo { object-position: 50% 55%; }
.about__more { margin: 0; color: rgba(238,231,220,.82); max-width: 62ch; padding-top: 18px; border-top: 1px solid var(--linea); }

/* tira de stills que avanza sola */
.stills { padding: clamp(56px, 8vw, 100px) 0 clamp(40px, 6vw, 70px); overflow: hidden; border-top: 1px solid var(--linea); }
.stills__head { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.stills__track { display: flex; gap: 12px; width: max-content; animation: marquee 70s linear infinite; }
.stills:hover .stills__track { animation-play-state: paused; }
.still { position: relative; margin: 0; width: clamp(240px, 32vw, 420px); aspect-ratio: 16 / 9; overflow: hidden; border-radius: 2px; background: var(--humo); flex: none; }
.still img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05) sepia(.15); transition: filter .5s, transform 1.2s ease; }
.still:hover img { filter: none; transform: scale(1.05); }
.still::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,11,10,.75), transparent 45%); pointer-events: none; }
.still figcaption { position: absolute; z-index: 2; left: 12px; bottom: 10px; color: var(--hueso); font-size: 10px; }
.still figcaption b { color: var(--brasa); margin-right: 6px; }

/* cierre con imagen */
.close__bg { position: absolute; inset: 0; z-index: -2; }
.close__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; opacity: .28; filter: grayscale(.3) contrast(1.1); transform: scale(1.1); transform: translateY(var(--cy, 0px)) scale(1.1); }
.close__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--carbon), rgba(12,11,10,.55) 30%, rgba(12,11,10,.7) 70%, var(--carbon)); }
@media (prefers-reduced-motion: reduce) { .stills__track { animation: none; overflow-x: auto; width: auto; } }
/* foto del inicio: en compu vos a la derecha, en celu la foto arriba y el texto abajo */
.hero__img, .hero__halo { object-position: 60% 50%; }
@media (max-width: 700px) {
  .hero__bg { bottom: 34%; }
  .hero__img, .hero__halo { object-position: 50% 30%; }
  .hero__bg::after { background: linear-gradient(to top, var(--carbon) 0%, rgba(12,11,10,.35) 30%, rgba(12,11,10,0) 60%, rgba(12,11,10,.55) 100%); }
  .hero { background: var(--carbon); }
  .viewfinder { bottom: 36%; }
  .vf-meta--br { bottom: 7px; }
}
.vu { top: 30px; bottom: auto; }
@media (max-width: 700px) { .vf-meta--br { display: none; } }


/* =========================================================
   v6 · tipografías de marca (Torsos es extendida: tamaños recalibrados)
   ========================================================= */
.display { font-weight: 800; line-height: .98; letter-spacing: -.01em; }
.wordmark { font-weight: 800; font-size: 16px; letter-spacing: .02em; }
.hero__title { font-size: clamp(36px, 8.4vw, 112px); }
.display--l { font-size: clamp(28px, 4.8vw, 58px); }
.display--xl { font-size: clamp(34px, 7.4vw, 96px); }
.about__name { font-size: clamp(30px, 5.2vw, 62px); }
.log__where { font-size: clamp(22px, 3vw, 34px); font-family: var(--f-display); font-weight: 800; }
.pillar h3 { font-weight: 800; font-size: 20px; line-height: 1.1; }
.stats dd { font-weight: 800; font-size: clamp(28px, 3.6vw, 42px); }
.soon__t { font-size: clamp(26px, 4.2vw, 44px); }
.leader__n { font-weight: 800; font-size: 80px; }
.marquee__track > * { font-weight: 800; font-size: clamp(18px, 2.4vw, 28px); }
.ticker__track { font-weight: 200; -webkit-text-stroke: 0; color: rgba(238,231,220,.75); font-size: clamp(22px, 3.4vw, 40px); letter-spacing: .01em; }
.about__quote { font-weight: 400; }
.steps b, .doc__t { font-weight: 500; }
body { font-size: 17px; letter-spacing: .005em; }

/* =========================================================
   v7 · logos reales, banda Kennedy, stills que se arrastran
   ========================================================= */
.marquee__track { gap: 64px; animation-duration: 46s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.lg { height: 30px; width: auto; flex: none; filter: brightness(0) invert(1); opacity: .6; transition: opacity .3s; }
.lg:hover { opacity: 1; }
.lg--s { height: 22px; }   /* logos muy anchos */
.lg--t { height: 40px; }   /* logos altos o con símbolo */

/* banda de imagen a lo ancho */
.band { position: relative; min-height: 88svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; padding: 0 var(--gutter) clamp(40px, 7vw, 90px); }
.band picture, .band__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.band__img { object-fit: cover; object-position: 50% 40%; z-index: -2; transform: translateY(var(--by, 0px)) scale(1.12); filter: contrast(1.05) saturate(1.05); }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--carbon) 2%, rgba(12,11,10,.35) 45%, rgba(12,11,10,.1) 70%, rgba(12,11,10,.55)), radial-gradient(60% 50% at 20% 100%, rgba(255,91,31,.35), transparent 70%); }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(0deg, rgba(0,0,0,.15) 0 1px, transparent 1px 3px); mix-blend-mode: multiply; pointer-events: none; }
.band__hud { position: absolute; top: 22px; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; color: rgba(238,231,220,.8); }
.band__hud span { display: flex; gap: 6px; align-items: center; }
.band__hud i { width: 6px; height: 6px; border-radius: 50%; background: var(--brasa); box-shadow: 0 0 8px var(--brasa); animation: blink 1.2s steps(2) infinite; }
.band__text { max-width: var(--max); width: 100%; margin: 0 auto; }
.band__title { font-size: clamp(30px, 6vw, 80px); max-width: 16ch; }

/* tarjeta EE.UU. con foto */
.soon__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .4; filter: grayscale(.2); }
.soon__in { z-index: 1; }

/* stills: se arrastran con el dedo o el mouse y avanzan solos */
.stills__track { animation: none !important; width: auto; overflow-x: auto; scrollbar-width: none; cursor: grab; padding: 0 var(--gutter); -webkit-overflow-scrolling: touch; }
.stills__track::-webkit-scrollbar { display: none; }
.stills__track.is-drag { cursor: grabbing; }
.stills__track.is-drag img { pointer-events: none; }
.still img { -webkit-user-drag: none; user-select: none; }
.stills__hint { color: var(--ceniza); }
.stills__head { display: flex; justify-content: space-between; align-items: baseline; }

/* =========================================================
   v8 · logos en blanco real, Kennedy como fondo decorativo
   ========================================================= */
.lg { filter: none; opacity: .82; height: 28px; }
.lg:hover { opacity: 1; }
.lg--xs { height: 18px; }
.lg--s { height: 24px; }
.lg--m { height: 30px; }
.lg--t { height: 44px; }
.logos { background: linear-gradient(180deg, #0f0d0c, #141110 50%, #0f0d0c); }
.marquee { padding-block: 10px; }

/* Kennedy de fondo en la bitácora, detrás del globo */
.block--log { position: relative; overflow: hidden; isolation: isolate; }
.log__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.log__bg img { position: absolute; right: -6%; top: 0; height: 100%; width: 70%; object-fit: cover; object-position: 50% 30%; opacity: .14; filter: grayscale(.35) contrast(1.05); -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%), linear-gradient(transparent, #000 25%, #000 70%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 45%); }
@media (max-width: 899px) { .log__bg img { width: 100%; right: 0; opacity: .16; } }

/* portada EE.UU. */
.soon__bg { opacity: .55; filter: none; }
.soon::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,11,10,.85), rgba(12,11,10,.25) 60%); }
.soon__in { z-index: 2; justify-content: flex-end; padding-bottom: 22px; }
.lg--mba { height: 40px; }

/* reel 08 oculto: Instagram no lo deja reproducir embebido (reemplazar por otro link) */
.strip__row .ig:nth-child(8) { display: none; }
