/* ========================================================
   REBEKA DÁVILA — Landing v2 (orgánica & moderna)
   Paleta: crema cálida / tinta oliva / granate / terracota
   ========================================================= */

/* ===== New Black — display typeface (encabezados) ===== */
@font-face {
  font-family: "New Black";
  src: url("assets/fonts/New%20Black/NewBlackTypeface-UltraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "New Black";
  src: url("assets/fonts/New%20Black/NewBlackTypeface-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "New Black";
  src: url("assets/fonts/New%20Black/NewBlackTypeface-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "New Black";
  src: url("assets/fonts/New%20Black/NewBlackTypeface-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "New Black";
  src: url("assets/fonts/New%20Black/NewBlackTypeface-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "New Black";
  src: url("assets/fonts/New%20Black/NewBlackTypeface-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "New Black";
  src: url("assets/fonts/New%20Black/NewBlackTypeface-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Paleta — amarillo crema / rojo / naranja (global) */
  --cream: #FEEE91;      /* amarillo crema (bg principal) */
  --cream-2: #FFE678;    /* amarillo saturado */
  --cream-3: #FFD95E;    /* amarillo más intenso */
  --ink: #2A0A08;        /* rojo-marrón muy oscuro para tipografía */
  --ink-2: #4A1410;
  --ink-mute: #A03A36;   /* mute warm red */
  --line: #F2C957;       /* línea/borde cálida */
  --olive: #FFA239;      /* naranja como secundario "olive" slot */
  --terracotta: #FF7A3B; /* naranja vibrante */
  --garnet: #FF5656;     /* rojo principal */

  --accent: var(--garnet);
  --accent-ink: var(--cream);

  /* tokens */
  --bg: var(--cream);
  --bg-2: var(--cream-2);
  --bg-3: var(--cream-3);
  --fg: var(--ink);
  --fg-mute: var(--ink-mute);
  --rule: var(--line);
  --accent-live: var(--accent);

  /* Fuentes — Instrument Serif (display) + New Black (body) */
  --ff-display: "Instrument Serif", "Fraunces", Georgia, serif;
  --ff-body: "New Black", "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  --ff-script: "Caveat", cursive;

  /* Motion */
  --motion-dur: 0.9s;
  --motion-ease: cubic-bezier(0.2, 0.9, 0.25, 1);
  --motion-intensity: 1;

  /* Layout */
  --col-pad: clamp(20px, 4vw, 56px);
  --section-pad: clamp(120px, 16vw, 240px);
  --section-gap: clamp(60px, 8vw, 120px);
}

[data-theme="dark"] {
  --cream: #1A0806;
  --cream-2: #24110C;
  --cream-3: #2E1812;
  --ink: #FEEE91;
  --ink-2: #FFE678;
  --ink-mute: #FFA239;
  --line: #4A1410;
  --accent: #FF5656;
  --accent-ink: #1A0806;
}

/* Tipografías alternativas */
[data-type="fraunces"]   { --ff-display: "Instrument Serif", Georgia, serif; }
[data-type="cormorant"]  { --ff-display: "Cormorant Garamond", Georgia, serif; }
[data-type="bodoni"]     { --ff-display: "Playfair Display", Georgia, serif; }
[data-type="dm-serif"]   { --ff-display: "DM Serif Display", Georgia, serif; }

/* ==========================================================
   Unificación global de encabezados — Instrument Serif en todos
   ========================================================== */
.intro-headline,
.eco-headline,
.gallery-headline,
.why-headline,
.cta-headline,
.projects-headline {
  font-family: var(--ff-display) !important;
  font-weight: 400 !important;   /* Instrument Serif sólo tiene 400 */
  letter-spacing: -0.035em !important;
  color: var(--garnet) !important;
}
.intro-headline em,
.eco-headline em,
.gallery-headline em,
.why-headline em,
.cta-headline em,
.projects-headline em {
  font-style: italic;
  color: var(--terracotta) !important;
  font-weight: 400 !important;
}
.sp-title, .px-headline {
  font-family: var(--ff-display) !important;
  font-weight: 400 !important;
  color: var(--garnet) !important;
  letter-spacing: -0.035em !important;
}
/* Forzar 400 en todos los elementos display-tipo para evitar 300 inexistente */
[class*="headline"], .sp-item-title, .intro-item .t,
.eco-block-name, .eco-quote, .why-quote-a, .why-quote-b,
.project-title, .project-lead p,
.why-body p:first-child::first-letter {
  font-weight: 400 !important;
}

/* Acentos — todos dentro de la paleta yellow/red/orange */
[data-accent="garnet"]     { --accent: #FF5656; --accent-live: #FF5656; }
[data-accent="olive"]      { --accent: #FFA239; --accent-live: #FFA239; }
[data-accent="terracotta"] { --accent: #FF7A3B; --accent-live: #FF7A3B; }
[data-accent="ink"]        { --accent: #2A0A08; --accent-live: #2A0A08; }
[data-theme="dark"][data-accent="garnet"]     { --accent-live: #FF7070; }
[data-theme="dark"][data-accent="olive"]      { --accent-live: #FFB866; }
[data-theme="dark"][data-accent="terracotta"] { --accent-live: #FF9562; }
[data-theme="dark"][data-accent="ink"]        { --accent-live: #FEEE91; }

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.5s ease, color 0.5s ease;
  cursor: none;
}
@media (max-width: 860px) { body { cursor: auto; } }
a, button { cursor: none; }
@media (max-width: 860px) { a, button { cursor: pointer; } }

::selection { background: var(--accent-live); color: var(--accent-ink); }

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

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 4, 3, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6vh 6vw;
  animation: lbFadeIn 0.25s ease-out;
  cursor: zoom-out;
}
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 40px 100px rgba(0,0,0,0.55);
  cursor: default;
  animation: lbZoomIn 0.3s cubic-bezier(.2,.8,.2,1);
}
.lightbox-close {
  position: fixed;
  top: 22px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, transform 0.2s ease;
}
.lightbox-close:hover {
  background: rgba(255,255,255,0.18);
  transform: scale(1.06);
}
@keyframes lbFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes lbZoomIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }

.kicker {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-mute);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent-live);
}

/* ========== CURSOR ORGÁNICO ========== */
.cursor {
  position: fixed;
  width: 14px; height: 14px;
  background: var(--accent-live);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width 0.25s var(--motion-ease), height 0.25s var(--motion-ease), background 0.3s;
}
.cursor.grow {
  width: 80px; height: 80px;
  background: var(--accent-live);
  mix-blend-mode: difference;
}
.cursor.label::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  mix-blend-mode: difference;
}
@media (max-width: 860px) { .cursor { display: none; } }

/* ========== BLOBS animados ========== */
.blobs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  filter: blur(80px);
  opacity: 0.45;
}
.blob {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: multiply;
  animation: blob-drift 24s ease-in-out infinite;
  animation-duration: calc(24s / var(--motion-intensity));
}
[data-theme="dark"] .blob { mix-blend-mode: screen; }
.blob.b1 {
  width: 45vw; height: 45vw;
  background: var(--garnet);
  top: -10vh; left: -10vw;
  animation-delay: 0s;
}
.blob.b2 {
  width: 50vw; height: 50vw;
  background: var(--olive);
  bottom: -10vh; right: -15vw;
  animation-delay: -8s;
}
.blob.b3 {
  width: 35vw; height: 35vw;
  background: var(--terracotta);
  top: 40%; left: 30%;
  animation-delay: -16s;
}
@keyframes blob-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(10vw, -8vh) scale(1.1); }
  66% { transform: translate(-6vw, 12vh) scale(0.9); }
}

/* ========== NAV ========== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px var(--col-pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  mix-blend-mode: difference;
  color: var(--cream);
}
.nav > * { pointer-events: auto; }
.nav-logo {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  font-size: 19px;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-live);
  mix-blend-mode: normal;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.nav-right {
  display: flex;
  gap: 22px;
  align-items: center;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.lang-switch { display: flex; gap: 4px; }
.lang-switch button {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  padding: 4px 6px;
  cursor: inherit;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.lang-switch button.active { opacity: 1; }
.lang-switch button.active::after { content: " ·"; }
.lang-switch button:hover { opacity: 1; }
.nav a.contact {
  color: inherit;
  text-decoration: none;
  padding: 10px 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  transition: background 0.3s, color 0.3s;
}
.nav a.contact:hover { background: var(--cream); color: var(--ink); }

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  isolation: isolate;
}
.hero-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  z-index: 1;
  filter: saturate(0.9) contrast(1.05);
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 20%, rgba(20,18,16,0.55) 100%),
    linear-gradient(180deg, rgba(20,18,16,0.2) 0%, rgba(20,18,16,0) 30%, rgba(20,18,16,0.7) 100%);
}

.hero-grain {
  position: absolute; inset: 0;
  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.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.6;
  z-index: 2;
  pointer-events: none;
}

.hero-meta {
  position: absolute;
  top: 100px;
  left: var(--col-pad);
  right: var(--col-pad);
  display: flex;
  justify-content: space-between;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(239,231,215,0.85);
  z-index: 5;
}

/* OVERLAY layout */
.hero[data-layout="overlay"] .hero-name {
  position: absolute;
  left: var(--col-pad); right: var(--col-pad);
  bottom: clamp(100px, 16vh, 180px);
  z-index: 4;
  pointer-events: none;
}
.hero[data-layout="overlay"] .hero-name-line {
  display: block;
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(80px, 18vw, 280px);
  line-height: 0.82;
  letter-spacing: -0.04em;
  margin: 0;
  text-transform: uppercase;
}
.hero[data-layout="overlay"] .hero-name-line.italic {
  font-style: italic;
  font-weight: 400;
  text-indent: 0.15em;
}

/* SPLIT layout */
.hero[data-layout="split"] { background: var(--bg); color: var(--fg); }
.hero[data-layout="split"] .hero-photo {
  left: 50%;
  width: 50vw;
}
.hero[data-layout="split"] .hero-photo::after {
  background: linear-gradient(180deg, rgba(20,18,16,0) 60%, rgba(20,18,16,0.3) 100%);
}
.hero[data-layout="split"] .hero-name {
  position: absolute;
  left: var(--col-pad);
  right: calc(50vw + var(--col-pad));
  bottom: clamp(60px, 10vh, 140px);
  z-index: 4;
}
.hero[data-layout="split"] .hero-name-line {
  display: block;
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(64px, 12vw, 180px);
  line-height: 0.86;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--fg);
}
.hero[data-layout="split"] .hero-name-line.italic {
  font-style: italic;
  color: var(--accent-live);
}
.hero[data-layout="split"] .hero-meta { color: var(--fg-mute); }

/* BEHIND layout */
.hero[data-layout="behind"] .hero-photo {
  inset: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 42vw;
  height: 70vh;
  border-radius: 400px;
}
.hero[data-layout="behind"] .hero-photo::after { border-radius: 400px; }
.hero[data-layout="behind"] { background: var(--bg); color: var(--fg); }
.hero[data-layout="behind"] .hero-name {
  position: absolute;
  left: var(--col-pad); right: var(--col-pad);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  text-align: center;
  pointer-events: none;
  mix-blend-mode: difference;
  color: var(--cream);
}
.hero[data-layout="behind"] .hero-name-line {
  display: block;
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(100px, 20vw, 320px);
  line-height: 0.82;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.hero[data-layout="behind"] .hero-name-line.italic {
  font-style: italic;
}
.hero[data-layout="behind"] .hero-meta { color: var(--fg-mute); }

/* CUTOUT layout — retrato PNG transparente, texto detrás */
.hero[data-layout="cutout"] {
  background: var(--cream);
  color: var(--ink);
  min-height: 100vh;
  overflow: hidden;
}
.hero[data-layout="cutout"] .hero-photo-img {
  position: absolute;
  left: 50%;
  bottom: 0;
  top: auto;
  transform: translateX(-50%);
  width: min(1200px, 82vw);
  height: auto;
  max-height: 100vh;
  object-fit: contain;
  object-position: center bottom;
  z-index: 3;
  filter: saturate(0.96) contrast(1.04) drop-shadow(0 30px 60px rgba(42, 10, 8, 0.15));
  animation: photoFloat 9s ease-in-out infinite;
  pointer-events: none;
  user-select: none;
}
@keyframes photoFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-8px); }
}
.hero[data-layout="cutout"] .hero-grain { opacity: 0.25; mix-blend-mode: multiply; z-index: 2; }

.hero[data-layout="cutout"] .hero-name {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;  /* detrás de la foto */
  text-align: center;
  pointer-events: none;
  color: var(--ink);
  padding: 0 var(--col-pad);
}
.hero[data-layout="cutout"] .hero-name-line {
  display: block;
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(110px, 22vw, 360px);
  line-height: 0.82;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: var(--ink);
}
.hero[data-layout="cutout"] .hero-name-line.italic {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-live);
  text-indent: 0.08em;
}
.hero[data-layout="cutout"] .hero-name-line .line-mask {
  overflow: visible;
  clip-path: inset(-0.5em 0 0 0);
}
.hero[data-layout="cutout"] .hero-meta { color: var(--ink-mute); z-index: 5; }
.hero[data-layout="cutout"] .hero-claim-wrap { color: var(--ink); z-index: 5; max-width: 360px; }
.hero[data-layout="cutout"] .hero-scroll { color: var(--ink); z-index: 5; }
.hero[data-layout="cutout"] .hero-marquee {
  background: rgba(239,231,215,0.6);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero[data-layout="cutout"] .hero-marquee .marquee-track { color: var(--ink); }

/* CUTOUT — mobile: stack meta/role/claim/scroll/name; foto absoluta grande pegada abajo */
@media (max-width: 720px) {
  .hero[data-layout="cutout"] {
    display: block;
    padding: 92px 0 0;
    min-height: 100vh;
  }
  .hero[data-layout="cutout"] .hero-meta {
    position: static;
    display: flex;
    justify-content: space-between;
    padding: 0 var(--col-pad);
    margin-bottom: 18px;
    font-size: 10px;
    letter-spacing: 0.2em;
  }
  .hero[data-layout="cutout"] .hero-claim-wrap {
    position: static;
    left: auto;
    bottom: auto;
    padding: 0 var(--col-pad);
    max-width: 100%;
    margin-bottom: 14px;
  }
  .hero[data-layout="cutout"] .hero-claim {
    font-size: 18px;
    line-height: 1.3;
  }
  .hero[data-layout="cutout"] .hero-scroll {
    position: static;
    right: auto;
    bottom: auto;
    padding: 0 var(--col-pad);
    margin-bottom: 16px;
  }
  .hero[data-layout="cutout"] .hero-name {
    position: static;
    top: auto;
    transform: none;
    padding: 0 var(--col-pad);
    margin: 0;
  }
  .hero[data-layout="cutout"] .hero-name-line {
    font-size: clamp(84px, 26vw, 160px);
    line-height: 0.86;
  }
  .hero[data-layout="cutout"] .hero-photo-img {
    position: absolute;
    left: 50%;
    right: auto;
    bottom: 0;
    top: auto;
    transform: translateX(-50%);
    width: auto;
    height: 58vh;
    min-width: 0;
    max-width: none;
    max-height: none;
    animation: none;
  }
}

/* ============================================
   PRELOADER — estilo adcker (negro, contador grande)
   ============================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
  transition: transform 0.85s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.5s ease;
}
.preloader.hide {
  transform: translateY(-100%);
}
.preloader-grain {
  position: absolute; inset: 0;
  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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.35 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.55;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.preloader-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 30px var(--col-pad);
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 24px;
}
.preloader-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
}
.preloader-top .paren {
  color: var(--accent-live);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 18px;
}
.preloader-count {
  align-self: center;
  justify-self: start;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(120px, 28vw, 440px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  padding: 0 0 40px;
}
.preloader-count .paren {
  font-style: italic;
  color: var(--accent-live);
  font-weight: 400;
  font-size: 0.85em;
  opacity: 0.95;
}
.preloader-num {
  font-variant-numeric: tabular-nums;
  display: inline-block;
  min-width: 3.2ch;
}
.preloader-pct {
  font-family: var(--ff-mono);
  font-size: 0.22em;
  letter-spacing: 0.1em;
  align-self: start;
  margin-top: 0.5em;
  opacity: 0.8;
}
.preloader-bar {
  height: 1px;
  background: rgba(239, 231, 215, 0.2);
  overflow: hidden;
  position: relative;
}
.preloader-bar-fill {
  position: absolute;
  inset: 0;
  background: var(--accent-live);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.25s linear;
}
.preloader-marquee {
  overflow: hidden;
  padding: 20px 0 0;
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, 34px);
  white-space: nowrap;
  opacity: 0.75;
}
.preloader-marquee-track {
  display: inline-block;
  animation: preMarquee 25s linear infinite;
}
.preloader-marquee em {
  color: var(--accent-live);
  font-style: normal;
  margin: 0 0.4em;
}
@keyframes preMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 720px) {
  .preloader-count { font-size: clamp(80px, 30vw, 200px); }
}

/* Líneas reveal */
.line-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
}
.line-mask > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.2s var(--motion-ease);
}
.line-mask.in > span { transform: translateY(0); }

.hero-claim-wrap {
  position: absolute;
  left: var(--col-pad);
  bottom: 100px;
  z-index: 5;
  max-width: 460px;
}
.hero-role {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-role::before {
  content: "";
  width: 24px; height: 1px;
  background: currentColor;
}
.hero-claim {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.28;
  margin: 0;
}
.hero-claim .em {
  font-style: normal;
  color: var(--accent-live);
}

.hero-scroll {
  position: absolute;
  right: var(--col-pad);
  bottom: 100px;
  z-index: 5;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.85;
}
.hero-scroll::after {
  content: "";
  width: 50px; height: 1px;
  background: currentColor;
  transform-origin: left;
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleX(0.3); opacity: 0.4; }
  50% { transform: scaleX(1); opacity: 1; }
}

/* Marquee detrás del hero */
.hero-marquee {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  z-index: 3;
  overflow: hidden;
  border-top: 1px solid rgba(239,231,215,0.15);
  border-bottom: 1px solid rgba(239,231,215,0.15);
  padding: 14px 0;
  background: rgba(20,18,16,0.35);
  backdrop-filter: blur(10px);
}
.hero-marquee .marquee-track {
  display: flex;
  gap: 50px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  animation-duration: calc(30s / var(--motion-intensity));
  color: var(--cream);
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.hero-marquee .marquee-track span {
  display: flex;
  align-items: center;
  gap: 50px;
}
.hero-marquee .marquee-track span::after {
  content: "◆";
  color: var(--accent-live);
  font-size: 8px;
}
