/* =========================================================
   KREW — Productora audiovisual
   Arquetipo: Dark kinetic / sport editorial
   ========================================================= */

:root {
  --ink: #0a0a0a;
  --ink-2: #141414;
  --ink-3: #1d1d1d;
  --paper: #f2f0eb;
  --muted: #9a978f;
  --line: rgba(242, 240, 235, .14);

  --red: #ff2a2a;
  --yellow: #ffd400;
  --green: #19c34a;
  --blue: #1ea7ff;

  --display: "Archivo", "Arial Black", system-ui, sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --skew: -12deg;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--yellow); color: var(--ink); }

/* Grano sutil sobre toda la página */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90;
  opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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");
}

/* ---------- Utilidades ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 24px;
  display: flex; align-items: center; gap: 10px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(255,42,42,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,42,42,0); } 100% { box-shadow: 0 0 0 0 rgba(255,42,42,0); } }

.section-head { padding: 0 var(--gutter); margin-bottom: clamp(40px, 6vw, 80px); }
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-title {
  font-family: var(--display);
  font-style: italic;
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(42px, 8vw, 120px);
  line-height: .92;
  letter-spacing: -.02em;
  margin: 0;
  text-transform: uppercase;
}
.section-title em { font-style: italic; color: transparent; -webkit-text-stroke: 1.5px var(--paper); }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px;
  font-family: var(--display); font-weight: 800; font-stretch: 110%;
  font-size: 15px; text-transform: uppercase; letter-spacing: .04em;
  transform: skewX(var(--skew));
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn > * , .btn { }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--yellow); }
.btn--ghost { border: 1.5px solid var(--paper); }
.btn--ghost:hover { background: var(--paper); color: var(--ink); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

.link-arrow {
  font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .1em;
  border-bottom: 1px solid var(--paper); padding-bottom: 4px;
}
.link-arrow span { display: inline-block; transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translate(3px, -3px); }

.chip {
  display: inline-block; padding: 10px 18px; border: 1px solid var(--line);
  font-family: var(--mono); font-size: 13px; transition: border-color .3s, background .3s;
}
.chip:hover { border-color: var(--paper); background: var(--ink-3); }

/* Cuatro líneas de color del logo, reutilizadas como firma visual */
.stripe-tail, .founder__stripes, .menu__stripes, .contact__stripes, .splash__stripes { display: flex; }
.stripe-tail i:nth-child(1), .founder__stripes i:nth-child(1), .menu__stripes i:nth-child(1), .contact__stripes i:nth-child(1), .splash__stripes i:nth-child(1) { background: var(--red); }
.stripe-tail i:nth-child(2), .founder__stripes i:nth-child(2), .menu__stripes i:nth-child(2), .contact__stripes i:nth-child(2), .splash__stripes i:nth-child(2) { background: var(--yellow); }
.stripe-tail i:nth-child(3), .founder__stripes i:nth-child(3), .menu__stripes i:nth-child(3), .contact__stripes i:nth-child(3), .splash__stripes i:nth-child(3) { background: var(--green); }
.stripe-tail i:nth-child(4), .founder__stripes i:nth-child(4), .menu__stripes i:nth-child(4), .contact__stripes i:nth-child(4), .splash__stripes i:nth-child(4) { background: var(--blue); }

/* ---------- Reveal (con red de seguridad) ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
/* Si el JS falla o tarda, todo aparece igual a los 6 s */
.js .reveal { animation: reveal-fallback 0s 6s forwards; }
@keyframes reveal-fallback { to { opacity: 1; transform: none; } }

/* =========================================================
   SPLASH
   ========================================================= */
.splash {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink);
  display: grid; place-items: center;
  animation: splash-out .7s var(--ease) 4.5s forwards; /* red de seguridad CSS */
}
.splash.is-done { animation: splash-out .7s var(--ease) forwards; }
@keyframes splash-out { to { opacity: 0; visibility: hidden; transform: translateY(-4%); } }

.splash__stripes {
  position: absolute; left: 50%; top: 50%;
  width: 70vmax; height: 26px; gap: 6px;
  flex-direction: column;
  transform: translate(-50%, -50%) rotate(-62deg);
}
.splash__stripes i { flex: 1; transform: scaleX(0); transform-origin: left; animation: stripe-in .9s var(--ease) forwards; }
.splash__stripes i:nth-child(2) { animation-delay: .08s; }
.splash__stripes i:nth-child(3) { animation-delay: .16s; }
.splash__stripes i:nth-child(4) { animation-delay: .24s; }
@keyframes stripe-in { to { transform: scaleX(1); } }

.splash__logo {
  position: relative; width: min(64vw, 520px); height: auto;
  mix-blend-mode: screen;
  opacity: 0; transform: skewX(-8deg) translateX(-30px);
  animation: logo-in .8s var(--ease) .55s forwards;
}
@keyframes logo-in { to { opacity: 1; transform: none; } }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background .4s, padding .4s, transform .5s var(--ease);
}
.nav.is-solid { background: rgba(10,10,10,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding-top: 12px; padding-bottom: 12px; }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo img { width: 112px; height: auto; mix-blend-mode: screen; }
.nav__links { display: flex; gap: clamp(18px, 3vw, 40px); align-items: center; }
.nav__links a {
  font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em;
  position: relative;
}
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--yellow);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: 10px 18px; background: var(--paper); color: var(--ink); transform: skewX(var(--skew)); font-weight: 600; transition: background .3s; }
.nav__cta:hover { background: var(--yellow); }

.nav__burger { display: none; width: 44px; height: 44px; position: relative; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--paper); transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 26px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 99; background: var(--ink);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 100px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease);
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu a {
  font-family: var(--display); font-style: italic; font-weight: 900; font-stretch: 125%;
  font-size: clamp(36px, 11vw, 64px); line-height: 1.05; text-transform: uppercase;
}
.menu__stripes { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 40px; height: 14px; flex-direction: column; gap: 3px; }
.menu__stripes i { flex: 1; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden; isolation: isolate;
  background: var(--ink);
}
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transform: scale(1.08); transition: transform 2.4s var(--ease);
}
.is-loaded .hero__video { transform: scale(1); }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,0) 30%, rgba(10,10,10,.15) 55%, rgba(10,10,10,.92) 100%),
    linear-gradient(90deg, rgba(10,10,10,.45), rgba(10,10,10,0) 60%);
}
.hero__content { width: 100%; padding: 0 var(--gutter) clamp(36px, 6vh, 72px); }
.hero__eyebrow { color: var(--paper); }
.hero__title {
  margin: 0;
  font-family: var(--display); font-style: italic; font-weight: 900; font-stretch: 125%;
  font-size: clamp(52px, 12.5vw, 220px);
  line-height: .86; letter-spacing: -.035em; text-transform: uppercase;
  white-space: nowrap;
}
.hero__title .line { display: block; overflow: hidden; padding: 0 .08em .04em 0; }
.hero__title .line > span { display: inline-flex; align-items: center; gap: .12em; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.is-loaded .hero__title .line > span { transform: none; }
/* Red de seguridad: si no hay JS, el título se ve */
html:not(.js) .hero__title .line > span { transform: none; }
.hero__title .line > span { animation: reveal-fallback 0s 6s forwards; }

.stripe-tail { flex-direction: column; gap: .035em; width: .9em; height: .34em; transform: skewX(var(--skew)); }
.stripe-tail i { flex: 1; transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.is-loaded .stripe-tail i { transform: scaleX(1); }
.is-loaded .stripe-tail i:nth-child(1) { transition-delay: .7s; }
.is-loaded .stripe-tail i:nth-child(2) { transition-delay: .78s; }
.is-loaded .stripe-tail i:nth-child(3) { transition-delay: .86s; }
.is-loaded .stripe-tail i:nth-child(4) { transition-delay: .94s; }

.hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: clamp(24px, 4vh, 44px); flex-wrap: wrap; }
.hero__lead { max-width: 420px; margin: 0; font-size: clamp(16px, 1.4vw, 19px); color: rgba(242,240,235,.85); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; padding-left: 6px; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  font-family: var(--mono); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; opacity: .6;
  display: none;
}

/* =========================================================
   TICKER
   ========================================================= */
.ticker {
  overflow: hidden; background: var(--yellow); color: var(--ink);
  transform: rotate(-2deg) scale(1.04); margin: -12px 0 0; position: relative; z-index: 2;
  padding: 14px 0;
}
.ticker__track { display: flex; width: max-content; align-items: center; gap: 28px; animation: marquee 32s linear infinite; }
.ticker span {
  font-family: var(--display); font-style: italic; font-weight: 900; font-stretch: 125%;
  font-size: clamp(22px, 3vw, 40px); text-transform: uppercase; white-space: nowrap;
}
.ticker b { font-family: var(--display); font-weight: 300; font-size: clamp(22px, 3vw, 40px); opacity: .5; }
@keyframes marquee { to { transform: translateX(-50%); } }
.ticker:hover .ticker__track { animation-play-state: paused; }

/* =========================================================
   MANIFIESTO
   ========================================================= */
.manifesto { padding: clamp(100px, 16vw, 200px) var(--gutter) clamp(80px, 12vw, 160px); max-width: 1500px; }
.manifesto__text {
  font-family: var(--display); font-weight: 500; font-stretch: 100%;
  font-size: clamp(26px, 4vw, 58px); line-height: 1.12; letter-spacing: -.015em;
  margin: 0 0 clamp(60px, 8vw, 110px); max-width: 30ch;
}
.manifesto__text strong { font-weight: 900; font-style: italic; font-stretch: 125%; }
.hl { position: relative; white-space: nowrap; font-style: italic; }
.hl::after {
  content: ""; position: absolute; left: -.08em; right: -.08em; bottom: .08em; height: .32em; z-index: -1;
  background: var(--red); transform: skewX(var(--skew)) scaleX(0); transform-origin: left; transition: transform .9s var(--ease) .4s;
}
.hl + .hl::after, .manifesto__text .hl:nth-of-type(2)::after { background: var(--blue); }
.manifesto__text { position: relative; z-index: 0; }
.is-in .hl::after, html:not(.js) .hl::after { transform: skewX(var(--skew)) scaleX(1); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.stat { padding: 28px 24px 0 0; display: flex; flex-direction: column; gap: 10px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat__num { font-family: var(--display); font-style: italic; font-weight: 900; font-stretch: 125%; font-size: clamp(48px, 6vw, 88px); line-height: 1; }
.stat__label { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); max-width: 24ch; }

/* =========================================================
   SERVICIOS
   ========================================================= */
.services { padding: clamp(60px, 8vw, 120px) 0; }
.services__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 64px minmax(0, 1.7fr) minmax(0, 1fr); align-items: center; gap: 24px 40px;
  padding: clamp(24px, 3vw, 40px) var(--gutter);
  border-bottom: 1px solid var(--line);
  isolation: isolate; cursor: default;
}
.service::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c);
  transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease);
}
.service:hover::before { transform: scaleY(1); }
.service:hover { color: var(--ink); }
.service:hover .service__desc { color: var(--ink); }
.service__n { font-family: var(--mono); font-size: 13px; color: var(--muted); transition: color .3s; }
.service:hover .service__n { color: var(--ink); }
.service__title {
  margin: 0; font-family: var(--display); font-style: italic; font-weight: 900; font-stretch: 125%;
  font-size: clamp(28px, 3.9vw, 64px); line-height: 1; text-transform: uppercase; letter-spacing: -.02em;
  transition: transform .55s var(--ease);
}
.service:hover .service__title { transform: translateX(14px); }
.service__desc { margin: 0; color: var(--muted); max-width: 40ch; transition: color .3s; }

/* =========================================================
   TRABAJOS
   ========================================================= */
.works { padding: clamp(80px, 10vw, 160px) 0; }
.reel { margin: 0 var(--gutter) clamp(24px, 3vw, 40px); }
.reel__frame { position: relative; aspect-ratio: 16 / 9; background: var(--ink-2); overflow: hidden; }
.reel__frame video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.85); }
.reel:hover video { transform: scale(1.03); filter: saturate(1.05); }
.reel__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) skewX(var(--skew));
  display: flex; align-items: center; gap: 14px;
  padding: 20px 34px; background: var(--paper); color: var(--ink);
  font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 125%; font-size: clamp(16px, 2vw, 24px); text-transform: uppercase;
  transition: background .3s, opacity .4s, transform .4s var(--ease);
}
.reel__play:hover { background: var(--yellow); transform: translate(-50%, -50%) skewX(var(--skew)) scale(1.05); }
.reel.is-playing .reel__play { opacity: 0; pointer-events: none; }
.reel figcaption { display: flex; justify-content: space-between; padding-top: 14px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

.works .reel { margin-top: clamp(56px, 7vw, 100px); }

/* Carrusel horizontal de trabajos (reproductores de Instagram) */
.rail-nav { display: flex; gap: 10px; }
.rail-btn {
  width: 56px; height: 56px; border: 1.5px solid var(--paper);
  font-size: 20px; transform: skewX(var(--skew));
  transition: background .3s, color .3s, opacity .3s;
}
.rail-btn:hover { background: var(--paper); color: var(--ink); }
.rail-btn:disabled { opacity: .25; pointer-events: none; }

.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 22vw, 300px); gap: clamp(14px, 2vw, 24px);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  padding: 0 var(--gutter) 18px;
  scrollbar-width: thin; scrollbar-color: var(--paper) var(--ink-3);
}
.rail::-webkit-scrollbar { height: 4px; }
.rail::-webkit-scrollbar-track { background: var(--ink-3); }
.rail::-webkit-scrollbar-thumb { background: var(--paper); }

.job {
  position: relative; display: block; overflow: hidden; isolation: isolate;
  aspect-ratio: 9 / 16; background: var(--ink-2); scroll-snap-align: start; cursor: pointer;
}
.job__media { position: absolute; inset: 0; z-index: -2; }
.job__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); filter: saturate(.85) brightness(.9); transition: transform 1.1s var(--ease), filter .6s; }
.job:hover .job__media img { transform: scale(1.08); filter: saturate(1.05) brightness(1); }
.job::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,0) 22%, rgba(10,10,10,0) 50%, rgba(10,10,10,.92) 100%);
}
.job__top {
  position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center;
  padding: 16px 18px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
}
.job__n { color: var(--paper); }
.job__tag { color: rgba(242,240,235,.8); }
.job__title {
  position: absolute; left: 18px; right: 18px; bottom: 18px;
  font-family: var(--display); font-style: italic; font-weight: 900; font-stretch: 115%;
  font-size: clamp(20px, 1.9vw, 26px); line-height: 1.02; text-transform: uppercase;
  transition: transform .5s var(--ease);
}
.job:hover .job__title { transform: translateY(-4px); }
.job__play {
  position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px;
  display: grid; place-items: center; background: var(--paper); color: var(--ink);
  transform: skewX(var(--skew)) scale(.92); opacity: .92; font-size: 20px;
  transition: transform .45s var(--ease), background .3s, opacity .3s;
}
.job__play span { transform: skewX(12deg) translateX(2px); }
.job:hover .job__play { transform: skewX(var(--skew)) scale(1.05); background: var(--yellow); opacity: 1; }
.job__play--ext { font-size: 24px; }
/* Barra de color que se dibuja al pasar el ratón */
.job__top::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--red) 0 25%, var(--yellow) 25% 50%, var(--green) 50% 75%, var(--blue) 75%);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.job:hover .job__top::after, .job:focus-visible .job__top::after { transform: scaleX(1); }

/* Ventana del reproductor */
.player { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.player.is-open { visibility: visible; }
.player__backdrop { position: absolute; inset: 0; background: rgba(5,5,5,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .4s; }
.player.is-open .player__backdrop { opacity: 1; }
.player__box {
  position: relative; width: min(440px, 100%, calc((100vh - 150px) * 9 / 16)); display: flex; flex-direction: column; gap: 12px;
  opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.player.is-open .player__box { opacity: 1; transform: none; }
.player__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.player__title { font-family: var(--display); font-style: italic; font-weight: 900; font-stretch: 115%; font-size: 18px; text-transform: uppercase; line-height: 1.1; }
.player__close { width: 44px; height: 44px; flex: none; border: 1.5px solid var(--paper); transform: skewX(var(--skew)); font-size: 16px; transition: background .3s, color .3s; }
.player__close:hover { background: var(--paper); color: var(--ink); }
/* Vídeo del trabajo */
.player__frame { position: relative; overflow: hidden; background: #000; border-radius: 4px; display: grid; place-items: center; min-height: 200px; }
.player__frame::before { content: "Cargando…"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.player__frame video { position: relative; display: block; width: 100%; height: auto; max-height: calc(100vh - 150px); background: #000; }
.player__ext { align-self: flex-start; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid var(--paper); padding-bottom: 3px; }
body.player-open { overflow: hidden; }

.job--more {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 28px;
  border: 1px solid var(--line); background: var(--ink);
  transition: border-color .3s;
}
.job--more:hover { border-color: var(--paper); }
.job--more__stripes { position: absolute; left: -20%; top: 30%; width: 140%; height: 46px; display: flex; flex-direction: column; gap: 6px; transform: rotate(-58deg); z-index: -1; transition: transform .6s var(--ease); }
.job--more:hover .job--more__stripes { transform: rotate(-58deg) scale(1.15); }
.job--more__stripes i { flex: 1; }
.job--more__stripes i:nth-child(1) { background: var(--red); }
.job--more__stripes i:nth-child(2) { background: var(--yellow); }
.job--more__stripes i:nth-child(3) { background: var(--green); }
.job--more__stripes i:nth-child(4) { background: var(--blue); }
.job--more__text { font-family: var(--display); font-style: italic; font-weight: 900; font-stretch: 125%; font-size: 34px; line-height: .95; text-transform: uppercase; }
.job--more__handle { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; }

/* =========================================================
   EQUIPO
   ========================================================= */
.team { padding: clamp(80px, 10vw, 160px) var(--gutter); background: var(--paper); color: var(--ink); }
.team .eyebrow { color: #6b6862; }

.founder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.founder__media { position: relative; }
.skew-frame { overflow: hidden; clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%); aspect-ratio: 3 / 4; }
.skew-frame img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 20%; will-change: transform; }
.founder__stripes { position: absolute; left: -2%; bottom: 8%; width: 46%; height: 22px; flex-direction: column; gap: 4px; transform: skewX(var(--skew)); }
.founder__stripes i { flex: 1; transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.is-in .founder__stripes i, html:not(.js) .founder__stripes i { transform: scaleX(1); }
.is-in .founder__stripes i:nth-child(2) { transition-delay: .08s; }
.is-in .founder__stripes i:nth-child(3) { transition-delay: .16s; }
.is-in .founder__stripes i:nth-child(4) { transition-delay: .24s; }

.founder__role { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 18px; }
.founder__name {
  margin: 0 0 28px; font-family: var(--display); font-style: italic; font-weight: 900; font-stretch: 125%;
  font-size: clamp(56px, 9vw, 150px); line-height: .86; letter-spacing: -.035em; text-transform: uppercase;
}
.founder__bio { font-size: clamp(17px, 1.4vw, 20px); max-width: 46ch; margin: 0 0 30px; color: #2b2a27; }
.founder__links { display: flex; gap: 10px; flex-wrap: wrap; }
.team .chip { border-color: rgba(10,10,10,.25); }
.team .chip:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.crew {
  margin-top: clamp(80px, 12vw, 180px);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: end;
}
.crew__media { overflow: hidden; aspect-ratio: 16 / 11; background: var(--ink); }
.crew__media img { width: 100%; height: 130%; object-fit: cover; object-position: 50% 75%; will-change: transform; }
.crew__title {
  margin: 0 0 20px; font-family: var(--display); font-style: italic; font-weight: 900; font-stretch: 125%;
  font-size: clamp(44px, 6vw, 96px); line-height: .9; text-transform: uppercase;
}
.crew__title em { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.crew__text p { max-width: 40ch; margin: 0; color: #2b2a27; }

/* =========================================================
   CONTACTO
   ========================================================= */
.contact { position: relative; padding: clamp(100px, 14vw, 200px) var(--gutter) clamp(80px, 10vw, 140px); overflow: hidden; }
.contact__stripes {
  position: absolute; right: -10vw; top: 12%; width: 70vw; height: clamp(40px, 6vw, 90px);
  flex-direction: column; gap: 8px; transform: rotate(-24deg); opacity: .9; pointer-events: none;
}
.contact__stripes i { flex: 1; }
.contact__title {
  position: relative; margin: 0 0 24px;
  font-family: var(--display); font-style: italic; font-weight: 900; font-stretch: 125%;
  font-size: clamp(42px, 11vw, 220px); line-height: .84; white-space: nowrap; letter-spacing: -.04em; text-transform: uppercase;
}
.contact__lead { position: relative; font-size: clamp(17px, 1.5vw, 21px); color: rgba(242,240,235,.8); max-width: 40ch; margin: 0 0 clamp(48px, 6vw, 80px); }
.contact__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cbox {
  display: flex; flex-direction: column; gap: 10px; min-height: 200px;
  padding: 28px 24px; background: var(--ink); position: relative; overflow: hidden; isolation: isolate;
  transition: color .35s;
}
.cbox::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper); transform: translateY(101%); transition: transform .5s var(--ease); }
.cbox:hover::before { transform: none; }
.cbox:hover { color: var(--ink); }
.cbox--wa::before { background: var(--green); }
.cbox__label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; opacity: .65; }
.cbox__value { font-family: var(--display); font-weight: 800; font-stretch: 105%; font-size: clamp(15px, 1.2vw, 20px); line-height: 1.25; overflow-wrap: anywhere; }
.cbox__go { margin-top: auto; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }

/* Botón flotante WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 95;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--green); color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  transform: scale(0); transition: transform .5s var(--ease);
}
.wa-float.is-visible { transform: scale(1); }
.wa-float:hover { transform: scale(1.08); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { padding: 40px var(--gutter) 28px; border-top: 1px solid var(--line); }
.footer__logo { width: 100%; height: auto; mix-blend-mode: screen; margin-bottom: 28px; }
.footer__row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.footer__row a:hover { color: var(--paper); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1000px) {
  .contact__grid { grid-template-columns: repeat(2, 1fr); }
  .service { grid-template-columns: 50px minmax(0, 1fr); }
  .service__desc { grid-column: 2; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__logo img { width: 92px; }

  .hero { align-items: flex-end; }
  .hero__title { font-size: clamp(40px, 13vw, 110px); }
  .service { gap: 6px 12px; }
  .service__title { font-size: clamp(22px, 6.6vw, 40px); }
  .service__n { align-self: start; padding-top: .4em; }
  .hero__content { padding-bottom: 76px; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; padding: 14px 14px; font-size: 12px; white-space: nowrap; }
  .section-title { font-size: clamp(34px, 10.5vw, 60px); }
  .section-head > div { min-width: 0; }

  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); flex-direction: row; align-items: baseline; gap: 18px; }

  .rail { grid-auto-columns: 68%; }
  .rail-nav { display: none; }
  .reel { margin-top: 48px; }
  .reel__play { padding: 14px 22px; }

  .founder, .crew { grid-template-columns: 1fr; }
  .founder__media { max-width: 440px; }
  .crew__media { aspect-ratio: 4 / 5; }

  .contact__title { font-size: 10.6vw; }
  .contact__grid { grid-template-columns: 1fr; }
  .cbox { min-height: 0; padding: 22px 20px; }
  .contact__stripes { width: 110vw; top: 6%; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

/* Solo efectos intrusivos se respetan con reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation-duration: 60s; }
}
