/* ============================================================
   TOKENS — palette + type variants live here.
   Three palettes (gold / sand / platinum), three type pairings.
   Switch by setting data-theme / data-type on <html>.
   ============================================================ */
:root {
  /* default = gold */
  --bg-0: #0a0805;
  --bg-1: #14110b;
  --bg-2: #1c1810;
  --bg-3: #2a2317;
  --line: rgba(212,175,55,.18);
  --line-strong: rgba(212,175,55,.35);
  --ink: #f6f1e4;
  --ink-dim: #b9b1a0;
  --ink-mute: #7a7466;
  --accent: #d4af37;
  --accent-warm: #e8c870;
  --accent-deep: #8a6f1f;
  --grain: .035;

  --font-display: "Bodoni Moda", "Cormorant Garamond", serif;
  --font-body: "Manrope", -apple-system, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --display-weight: 800;
  --display-tracking: -0.02em;

  --container: 1440px;
  --pad: clamp(20px, 4vw, 80px);
}

html[data-theme="sand"] {
  --bg-0: #0e0a06;
  --bg-1: #1a140d;
  --bg-2: #251c12;
  --bg-3: #322516;
  --line: rgba(232,194,138,.18);
  --line-strong: rgba(232,194,138,.38);
  --ink: #f6ecd9;
  --ink-dim: #c4b59a;
  --ink-mute: #847663;
  --accent: #e8c28a;
  --accent-warm: #f0d7a8;
  --accent-deep: #9a7a44;
}

html[data-theme="platinum"] {
  --bg-0: #07080a;
  --bg-1: #0e1014;
  --bg-2: #14171c;
  --bg-3: #1d2128;
  --line: rgba(220,225,235,.10);
  --line-strong: rgba(220,225,235,.22);
  --ink: #eef0f4;
  --ink-dim: #a8adb8;
  --ink-mute: #6c7079;
  --accent: #c8ccd4;
  --accent-warm: #e0e3e9;
  --accent-deep: #6b6f78;
}

html[data-type="cormorant"] {
  --font-display: "Cormorant Garamond", serif;
  --display-weight: 700;
  --display-tracking: -0.01em;
}
html[data-type="cinzel"] {
  --font-display: "Cinzel", serif;
  --display-weight: 700;
  --display-tracking: 0.04em;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg-0); }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* film grain overlay */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: var(--grain);
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .8 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* warm vignette */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9998;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,.45) 100%);
}

::selection { background: var(--accent); color: var(--bg-0); }

img { display: block; max-width: 100%; }

h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); line-height: .95; }
p { margin: 0; }

a { color: inherit; text-decoration: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow .num { color: var(--ink-mute); margin-right: .8em; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .4s ease, backdrop-filter .4s ease, padding .4s ease;
}
.nav.scrolled {
  background: rgba(10,8,5,.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  padding: 14px var(--pad);
  border-bottom: 1px solid var(--line);
}
.nav__brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .02em;
  font-size: 17px;
  display: flex; align-items: baseline; gap: 10px;
}
.nav__brand .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; transform: translateY(-3px); }
.nav__links { display: flex; gap: 34px; align-items: center; }
.nav__link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  position: relative;
  padding: 6px 0;
  transition: color .3s ease;
}
.nav__link:hover { color: var(--ink); }
.nav__link::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  height: 1px; width: 0;
  background: var(--accent);
  transition: width .4s cubic-bezier(.7,0,.2,1);
}
.nav__link:hover::after { width: 100%; }
.nav__cta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bg-0);
  background: var(--accent);
  padding: 10px 16px;
  border-radius: 999px;
  transition: background .3s ease, transform .3s ease;
}
.nav__cta:hover { background: var(--accent-warm); transform: translateY(-1px); }
.nav__burger { display: none; }

@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__burger {
    display: flex; flex-direction: column; gap: 5px;
    background: transparent; border: 0; cursor: pointer; padding: 8px;
  }
  .nav__burger span { width: 22px; height: 1.5px; background: var(--ink); display: block; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  overflow: hidden;
}

.hero__media {
  position: absolute; inset: 0;
  z-index: 0;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center 25%;
  transform: scale(1.04);
  animation: heroDrift 22s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.04) translateY(0); }
  to   { transform: scale(1.07) translateY(-1%); }
}
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,8,5,0) 0%, rgba(10,8,5,0) 35%, rgba(10,8,5,.55) 60%, rgba(10,8,5,.95) 100%),
    linear-gradient(90deg, rgba(10,8,5,.4) 0%, transparent 50%);
}
.hero__media .ph {
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.022) 0 2px, transparent 2px 14px),
    linear-gradient(135deg, #1a1610, #2a2217 60%, #1a1610);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-mute);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.hero__inner {
  position: relative; z-index: 2;
  flex: 1;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: clamp(280px, 52vh, 600px) var(--pad) 60px;
}

.hero__overline {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.hero__overline .bar { width: 40px; height: 1px; background: var(--accent); }

.hero__title {
  margin-top: 24px;
  font-size: clamp(64px, 13vw, 220px);
  line-height: .88;
  font-style: italic;
  letter-spacing: -0.025em;
}
.hero__title .ln { display: block; overflow: hidden; }
.hero__title .ln span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1.1s cubic-bezier(.2,.8,.2,1) forwards;
}
.hero__title .ln:nth-child(2) span { animation-delay: .12s; }
@keyframes rise { to { transform: translateY(0); } }

.hero__sub {
  margin-top: 28px;
  display: flex; flex-wrap: wrap; gap: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-dim);
  opacity: 0; animation: fadeUp 1s .6s forwards;
}
.hero__sub b { color: var(--accent); font-weight: 500; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.hero__foot {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 40px;
  padding-top: 60px;
  border-top: 1px solid var(--line);
  opacity: 0; animation: fadeUp 1s .9s forwards;
}
.hero__foot .blurb { max-width: 380px; font-size: 14px; line-height: 1.6; color: var(--ink-dim); }
.hero__foot .blurb b { color: var(--ink); font-weight: 600; }
.hero__scroll {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hero__scroll .line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll .line::after {
  content: "";
  position: absolute; top: -50%; left: 0;
  width: 1px; height: 50%;
  background: var(--ink);
  animation: scrollPing 2.4s ease-in-out infinite;
}
@keyframes scrollPing { 0% { top: -50%; } 100% { top: 100%; } }

.hero__meta {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  line-height: 1.8;
}
.hero__meta b { color: var(--ink-dim); font-weight: 500; }

/* HERO VARIANT: split */
html[data-hero="split"] .hero__inner {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr auto;
  gap: 0 60px;
  padding-top: 160px;
}
html[data-hero="split"] .hero__media { right: 50%; }
html[data-hero="split"] .hero__media::after {
  background: linear-gradient(90deg, rgba(10,8,5,.55) 0%, rgba(10,8,5,.85) 100%);
}
html[data-hero="split"] .hero__overline { grid-column: 1; }
html[data-hero="split"] .hero__title { grid-column: 1 / -1; font-size: clamp(56px, 10vw, 160px); }
html[data-hero="split"] .hero__sub,
html[data-hero="split"] .hero__foot { grid-column: 1 / -1; }
@media (max-width: 880px) {
  html[data-hero="split"] .hero__inner { grid-template-columns: 1fr; }
  html[data-hero="split"] .hero__media { right: 0; }
}

/* HERO VARIANT: type-dominant */
html[data-hero="type"] .hero__media { opacity: .35; }
html[data-hero="type"] .hero__media::after {
  background: linear-gradient(180deg, rgba(10,8,5,.85), rgba(10,8,5,.95));
}
html[data-hero="type"] .hero__title {
  font-size: clamp(80px, 18vw, 320px);
  font-style: normal;
}

/* ============================================================
   SECTION CHROME
   ============================================================ */
.section {
  position: relative;
  padding: clamp(80px, 14vh, 160px) 0;
  border-top: 1px solid var(--line);
}
.section__head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: clamp(40px, 6vh, 80px);
}
.section__head .left { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 100px; align-self: start; }
.section__head h2 {
  font-size: clamp(40px, 6vw, 88px);
  line-height: .96;
}
.section__head h2 em { font-style: italic; color: var(--accent); }
.section__head .lede {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.5;
  color: var(--ink-dim);
  max-width: 56ch;
}
.section__head .lede b { color: var(--ink); font-weight: 600; }
@media (max-width: 880px) {
  .section__head { grid-template-columns: 1fr; gap: 24px; }
  .section__head .left { position: static; }
}

/* ============================================================
   SOBRE MÍ
   ============================================================ */
.about {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about__portrait {
  aspect-ratio: 4/5;
  position: relative;
  background: var(--bg-2);
  overflow: hidden;
}
.about__portrait .ph { width: 100%; height: 100%; }
.about__portrait::after {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid var(--line);
  pointer-events: none;
}
.about__copy { display: flex; flex-direction: column; gap: 32px; }
.about__copy .pull {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
  color: var(--ink);
}
.about__copy .pull em { color: var(--accent); font-style: italic; }
.about__copy p {
  font-size: 16px; line-height: 1.7; color: var(--ink-dim);
}
.about__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about__stats > div {
  padding: 20px 0 20px 20px;
  border-left: 1px solid var(--line);
}
.about__stats > div:first-child { padding-left: 0; border-left: 0; }
.about__stats .k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.about__stats .v { font-size: 14px; color: var(--ink); font-weight: 500; line-height: 1.4; }
@media (max-width: 880px) {
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about__stats { grid-template-columns: 1fr 1fr; }
  .about__stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
}

.about__skills {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about__skills .skill {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.about__skills .skill:last-child { border-bottom: 0; }
.about__skills .k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent);
}
.about__skills .v { font-size: 14px; color: var(--ink-dim); line-height: 1.5; }
@media (max-width: 880px) {
  .about__skills .skill { grid-template-columns: 1fr; gap: 6px; }
}

/* ============================================================
   REEL
   ============================================================ */
.reel { position: relative; }
.reel__frame {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
  border: 1px solid var(--line);
}
.reel__frame .ph,
.reel__poster {
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse at center, rgba(212,175,55,.18), transparent 70%),
    linear-gradient(180deg, #0e0a06 0%, #1a1610 50%, #0e0a06 100%);
  display: flex; align-items: center; justify-content: center;
}
.reel__poster {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  z-index: 1;
}
.reel__poster::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,8,5,.35) 0%, rgba(10,8,5,.15) 40%, rgba(10,8,5,.85) 100%),
    linear-gradient(90deg, rgba(10,8,5,.4) 0%, transparent 50%);
}
.reel__poster .reel__playbtn { position: relative; z-index: 2; }
.reel__frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  z-index: 3;
}
.reel__playbtn {
  width: clamp(100px, 14vw, 180px); height: clamp(100px, 14vw, 180px);
  border-radius: 50%;
  border: 1px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  background: rgba(0,0,0,.3);
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: transform .4s ease;
}
.reel__playbtn:hover { transform: scale(1.06); }
.reel__playbtn::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.6); opacity: 0; }
}
.reel__playbtn .tri {
  width: 0; height: 0;
  border-left: 22px solid var(--accent);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 6px;
}
.reel__caption {
  position: absolute; left: 24px; bottom: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-dim);
  display: flex; align-items: center; gap: 12px;
}
.reel__caption .rec { width: 8px; height: 8px; border-radius: 50%; background: #e64545; box-shadow: 0 0 12px #e64545; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }
.reel__timecode {
  position: absolute; right: 24px; top: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .15em;
  color: var(--ink-mute);
}

.reel__ctas {
  margin-top: 32px;
  display: flex; gap: 14px; flex-wrap: wrap;
}
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  z-index: -1;
}
.btn:hover { color: var(--bg-0); border-color: var(--accent); }
.btn:hover::before { transform: translateY(0); }
.btn--primary { background: var(--accent); color: var(--bg-0); border-color: var(--accent); }
.btn--primary::before { background: var(--accent-warm); }
.btn--primary:hover { color: var(--bg-0); }
.btn .arrow { font-size: 14px; }

/* ============================================================
   FOTOS (editorial grid)
   ============================================================ */
.fotos {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.foto { position: relative; overflow: hidden; background: var(--bg-2); }
.foto .ph {
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 12px),
    linear-gradient(135deg, var(--bg-2), var(--bg-3) 50%, var(--bg-1));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-mute);
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1);
}
.foto:hover .ph { transform: scale(1.04); }
.foto::after {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid transparent;
  transition: border-color .4s ease;
  pointer-events: none;
}
.foto:hover::after { border-color: var(--line-strong); }
.foto__cap {
  position: absolute; left: 12px; bottom: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(10,8,5,.65);
  backdrop-filter: blur(6px);
  padding: 6px 10px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .4s ease, transform .4s ease;
}
.foto:hover .foto__cap { opacity: 1; transform: translateY(0); }

.foto--suit       { grid-column: span 5; aspect-ratio: 2/3; }
.foto--library    { grid-column: span 7; aspect-ratio: 3/2; }
.foto--tee        { grid-column: span 5; aspect-ratio: 1/1; }
.foto--surf       { grid-column: span 7; aspect-ratio: 11/10; }
.foto--suit-bw    { grid-column: span 4; aspect-ratio: 2/3; }
.foto--character  { grid-column: span 8; aspect-ratio: 3/2; }
.foto--vida       { grid-column: span 4; aspect-ratio: 9/14; }
.foto--retrato    { grid-column: span 8; aspect-ratio: 16/9; }
.foto--jean       { grid-column: span 12; aspect-ratio: 16/9; }

.foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.foto:hover img { transform: scale(1.04); }

@media (max-width: 880px) {
  .fotos { grid-template-columns: 1fr; }
  .foto { grid-column: span 1 !important; aspect-ratio: 3/4 !important; }
  .foto--library, .foto--surf, .foto--character, .foto--retrato, .foto--jean { aspect-ratio: 3/2 !important; }
}

/* ============================================================
   FILMOGRAFÍA (Teatro / TV)
   ============================================================ */
.film {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.film__col h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 28px;
  display: flex; align-items: baseline; gap: 16px;
}
.film__col h3 .count {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: .25em;
  color: var(--accent);
  font-weight: 400;
}
.film__list { display: flex; flex-direction: column; }
.film__item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
  cursor: pointer;
  position: relative;
  transition: padding .4s cubic-bezier(.4,0,.2,1);
}
.film__item:last-child { border-bottom: 1px solid var(--line); }
.film__item::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: .12;
  transition: width .5s cubic-bezier(.4,0,.2,1);
  z-index: -1;
}
.film__item:hover { padding-left: 16px; }
.film__item:hover::before { width: 100%; }
.film__item .year {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: .15em;
}
.film__item .title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.2;
}
.film__item .title .role {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-mute);
  letter-spacing: .02em;
  margin-top: 4px;
}
.film__item .meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: right;
}
@media (max-width: 880px) {
  .film { grid-template-columns: 1fr; gap: 60px; }
  .film__item { grid-template-columns: 50px 1fr; }
  .film__item .meta { grid-column: 2; text-align: left; margin-top: 4px; }
}

/* ============================================================
   CRÍTICAS
   ============================================================ */
.quotes {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 30px 40px;
  align-items: start;
}
.quote {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  position: relative;
}
.quote::before {
  content: "“";
  position: absolute; top: 4px; left: -2px;
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 1;
  color: var(--accent);
  opacity: .35;
}
.quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.3;
  color: var(--ink);
  padding-left: 30px;
}
.quote p em { color: var(--accent); font-style: italic; }
.quote .src {
  margin-top: 18px;
  padding-left: 30px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.quote .src b { color: var(--ink-dim); font-weight: 500; }
.quote--a { grid-column: span 7; }
.quote--b { grid-column: span 5; margin-top: 60px; }
.quote--c { grid-column: span 5; }
.quote--d { grid-column: span 7; margin-top: 40px; }
@media (max-width: 880px) {
  .quote { grid-column: span 12 !important; margin-top: 0 !important; }
}

/* ============================================================
   DEPORTES
   ============================================================ */
.sports {
  position: relative;
}
.sports__hero {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-2);
}
.sports__hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 65% 60%;
}
.sports__hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,8,10,.2) 0%, rgba(7,8,10,.1) 50%, rgba(7,8,10,.85) 100%),
    linear-gradient(90deg, rgba(7,8,10,.3) 0%, transparent 30%, transparent 70%, rgba(7,8,10,.3) 100%);
  pointer-events: none;
}
.sports__list {
  margin-top: -120px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  background: var(--bg-0);
  padding: 30px 40px;
  border: 1px solid var(--line);
}
.sports__item {
  text-align: center;
  padding: 24px 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  cursor: default;
}
.sports__item:nth-child(5n) { border-right: 0; }
.sports__item:nth-last-child(-n+5) { border-bottom: 0; }
.sports__item .num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .25em;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
}
.sports__item .name {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 700;
  font-style: italic;
}
@media (max-width: 880px) {
  .sports__list { grid-template-columns: 1fr 1fr; padding: 16px; margin-top: -60px; }
  .sports__item { padding: 20px 8px; }
  .sports__item:nth-child(5n) { border-right: 1px solid var(--line); }
  .sports__item:nth-last-child(-n+5) { border-bottom: 1px solid var(--line); }
  .sports__item:nth-child(2n) { border-right: 0; }
  .sports__item:nth-last-child(-n+2) { border-bottom: 0; }
}

/* ============================================================
   TALLERES (tarjetas)
   ============================================================ */
.ventures {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.venture {
  border: 1px solid var(--line);
  padding: 30px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 24px;
  background: linear-gradient(180deg, var(--bg-1), var(--bg-0));
  position: relative;
  overflow: hidden;
  transition: border-color .4s ease, transform .4s ease;
}
.venture:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.venture::after {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: translateX(-100%);
  transition: transform .8s cubic-bezier(.4,0,.2,1);
}
.venture:hover::after { transform: translateX(100%); }
.venture__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.venture__logo {
  width: 60px; height: 60px;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  font-style: italic;
  color: var(--accent);
}
.venture__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border: 1px solid var(--line);
  padding: 6px 10px;
}
.venture h4 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.05;
}
.venture p { color: var(--ink-dim); font-size: 14px; line-height: 1.6; }
.venture__cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent);
}
.venture__facts { list-style: none; padding: 0; margin-top: 20px; border-top: 1px solid var(--line); }
.venture__facts li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.venture__facts li span { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-mute); }
.venture__cta .arr { transition: transform .35s ease; }
.venture:hover .venture__cta .arr { transform: translateX(6px); }
@media (max-width: 880px) {
  .ventures { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTACTO / FOOTER
   ============================================================ */
.contact {
  padding: clamp(80px, 14vh, 160px) 0 60px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-0), #050402);
}
.contact__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 80px;
}
.contact__title {
  font-size: clamp(48px, 8vw, 140px);
  line-height: .9;
  font-style: italic;
}
.contact__title em { color: var(--accent); }
.contact__links { display: flex; flex-direction: column; gap: 20px; }
.contact__link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: baseline;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 600;
  transition: color .3s ease, padding .4s ease;
  position: relative;
}
.contact__link:last-child { border-bottom: 1px solid var(--line); }
.contact__link .label {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 400;
}
.contact__link .arr { color: var(--accent); transition: transform .4s ease; }
.contact__link:hover { color: var(--accent); padding-left: 12px; }
.contact__link:hover .arr { transform: translate(6px, -6px); }

.contact__foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.contact__foot a:hover { color: var(--accent); }
.contact__foot .social { display: flex; gap: 24px; }

@media (max-width: 880px) {
  .contact__top { grid-template-columns: 1fr; gap: 40px; }
  .contact__foot { flex-direction: column; gap: 20px; }
}

/* ============================================================
   REVEAL ANIMATIONS (intersection observer)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(.2,.8,.2,1), transform 1s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .40s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: .48s; }

.curtain { position: relative; overflow: hidden; }
.curtain::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--bg-0);
  transform-origin: right;
  transform: scaleX(1);
  transition: transform 1.2s cubic-bezier(.7,0,.2,1);
  z-index: 3;
}
.curtain.in::before { transform: scaleX(0); }

/* ============================================================
   PRINT-FRIENDLY (hide overlays)
   ============================================================ */
@media print {
  body::before, body::after, .nav { display: none !important; }
}

/* ============================================================
   NAVEGACIÓN POR PÁGINAS (menú siempre visible)
   ============================================================ */
.nav {
  background: rgba(10,8,5,.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  padding: 16px var(--pad);
}
.nav.scrolled { padding: 12px var(--pad); }
.nav__links { gap: 26px; }
.nav__link { font-size: 12px; letter-spacing: .18em; }
.nav__link.is-active { color: var(--ink); }
.nav__link.is-active::after { width: 100%; }
@media (max-width: 1180px) {
  .nav__links { gap: 18px; }
  .nav__link { font-size: 11px; letter-spacing: .14em; }
}
@media (max-width: 880px) {
  .nav { flex-wrap: wrap; padding: 12px 16px 0; row-gap: 0; }
  .nav.scrolled { padding: 10px 16px 0; }
  .nav__links {
    display: flex; order: 3; width: calc(100% + 32px); margin: 0 -16px;
    gap: 22px; padding: 12px 16px 12px; overflow-x: auto; white-space: nowrap;
    scrollbar-width: none; border-top: 1px solid var(--line);
  }
  .nav__links::-webkit-scrollbar { display: none; }
  .nav__cta { padding: 8px 14px; font-size: 10px; }
}

/* Páginas internas: dejar lugar al menú fijo */
.page-main > .section:first-child { border-top: 0; padding-top: clamp(140px, 18vh, 200px); }
@media (max-width: 880px) { .page-main > .section:first-child { padding-top: 150px; } }

/* Inicio: accesos directos */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.door { background: var(--bg-0); padding: 0 0 28px; display: flex; flex-direction: column; gap: 14px; min-height: 210px; transition: background .35s ease; }
.door > :not(.door__media) { margin: 0 30px; }
.door__media { overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 10px; background: var(--bg-2); }
.door__media img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(.35) brightness(.85); transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.door:hover .door__media img { transform: scale(1.05); filter: grayscale(0) brightness(1); }
.door:hover { background: var(--bg-1); }
.door .num { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; color: var(--accent); }
.door h3 { font-family: var(--font-display); font-style: italic; font-size: clamp(28px, 2.6vw, 38px); line-height: 1; }
.door p { color: var(--ink-dim); font-size: 15px; line-height: 1.5; }
.door .go { margin-top: auto; font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.door:hover .go { color: var(--ink); }
@media (max-width: 980px) { .doors { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .doors { grid-template-columns: 1fr; } .door { min-height: 0; } }

/* Trayectoria: pestañas */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.tab {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-dim); background: transparent; border: 1px solid var(--line-strong);
  padding: 12px 18px; border-radius: 999px; cursor: pointer; transition: all .25s ease;
}
.tab:hover { color: var(--ink); border-color: var(--accent); }
.tab.is-active { background: var(--accent); color: var(--bg-0); border-color: var(--accent); }
.tab .n { opacity: .7; margin-left: 6px; }
.tabpanel { max-width: 980px; }
.tabpanel[hidden] { display: none; }
.tabpanel .film__list + h3 { margin-top: 60px; }

/* Pie de página corto en páginas internas */
.contact--mini { padding: 50px 0 40px; }
.contact--mini .contact__foot { margin-top: 0; padding-top: 0; border-top: 0; }

/* ============================================================
   TALLERES: ventanas con la propuesta completa
   ============================================================ */
.now { margin-bottom: clamp(60px, 9vh, 100px); max-width: 980px; }
.now .film__item { cursor: default; }
.venture__open {
  justify-self: start; background: transparent; border: 1px solid var(--line-strong); color: var(--ink);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  padding: 12px 18px; border-radius: 999px; cursor: pointer; transition: all .25s ease;
}
.venture__open:hover { background: var(--accent); border-color: var(--accent); color: var(--bg-0); }
.venture__open .arr { margin-left: 6px; }

.modal {
  width: min(860px, calc(100% - 32px)); max-height: calc(100dvh - 48px); margin: auto; padding: 0;
  border: 1px solid var(--line-strong); background: var(--bg-1); color: var(--ink); overflow: hidden;
}
.modal[open] { display: flex; flex-direction: column; animation: modal-in .35s cubic-bezier(.2,.7,.2,1); }
.modal::backdrop { background: rgba(5,4,2,.78); backdrop-filter: blur(6px); }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
html:has(.modal[open]) { overflow: hidden; }
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--bg-1); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer;
}
.modal__close:hover { background: var(--accent); color: var(--bg-0); border-color: var(--accent); }
.modal__body { overflow-y: auto; padding: 56px 56px 48px; }
.modal h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: .98; margin: 14px 0; }
.modal h2 em { font-style: italic; color: var(--accent); }
.modal__lead { font-size: 18px; color: var(--ink-dim); font-style: italic; margin-bottom: 8px; }
.modal h3 { font-family: var(--font-mono); font-size: 11px; font-weight: 400; letter-spacing: .25em; text-transform: uppercase; color: var(--accent); margin: 40px 0 14px; }
.modal p { font-size: 16px; line-height: 1.7; color: var(--ink-dim); margin-bottom: 14px; }
.modal p.modal__note { border-left: 1px solid var(--accent); padding-left: 16px; font-style: italic; font-size: 15px; }
.modal__quote { margin: 18px 0; padding-left: 18px; border-left: 2px solid var(--accent); font-family: var(--font-display); font-style: italic; font-size: 22px; line-height: 1.45; color: var(--ink); }
.modal__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin-top: 18px; }
.modal__facts div { border-top: 1px solid var(--line); padding: 12px 0; }
.modal__facts dt { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 4px; }
.modal__facts dd { font-size: 15px; line-height: 1.45; margin: 0; }
.modal__plan { list-style: none; counter-reset: n; padding: 0; margin: 0; }
.modal__plan li { counter-increment: n; display: grid; grid-template-columns: 44px 1fr; padding: 14px 0; border-top: 1px solid var(--line); }
.modal__plan li:last-child { border-bottom: 1px solid var(--line); }
.modal__plan li::before { content: counter(n, decimal-leading-zero); grid-row: span 2; font-family: var(--font-mono); font-size: 12px; color: var(--accent); padding-top: 4px; }
.modal__plan b { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.modal__plan span { font-size: 14px; color: var(--ink-mute); margin-top: 2px; }
.modal p.modal__small { font-size: 14px; color: var(--ink-mute); margin-top: 14px; }
.modal__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
@media (max-width: 700px) {
  .modal { width: 100%; max-width: 100%; max-height: 100dvh; height: 100dvh; border: 0; }
  .modal__body { padding: 64px 20px 32px; }
  .modal__facts { grid-template-columns: 1fr; }
  .modal__quote { font-size: 19px; }
}

/* Trayectoria: miniatura de cada personaje */
.tabpanel--thumbs .film__item { grid-template-columns: 56px 60px 1fr auto; align-items: center; }
.thumb { width: 60px; height: 80px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); display: block; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(.25); transition: transform .6s ease, filter .4s ease; }
.film__item:hover .thumb img { transform: scale(1.08); filter: grayscale(0); }
.thumb--empty { background: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 2px, transparent 2px 10px), var(--bg-1); }
@media (max-width: 880px) {
  .tabpanel--thumbs .film__item { grid-template-columns: 40px 54px 1fr; }
  .tabpanel--thumbs .film__item .meta { grid-column: 3; }
  .thumb { width: 54px; height: 72px; }
}
