/* ═══════════════════════════════════════════════════════════════════
   MELO PROJECT · v2.0 — Editorial / Cinematic
   Productora Audiovisual · Colombia
   ═══════════════════════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────────────────────── */
:root {
  /* Brandbook colors */
  --lime:        #CCFF00;
  --lime-2:      #d0fc01;
  --lime-soft:   rgba(204,255,0,.14);
  --lime-line:   rgba(204,255,0,.32);
  --white:       #FFFFFF;
  --black:       #000000;
  --ink:         #0a0a0a;
  --ink-2:       #111111;
  --carbon:      #1a1a1a;
  --carbon-2:    #1f1f1f;
  --bone:        #f4f1ea;
  --muted:       #7a7a7a;
  --muted-2:     #4a4a4a;
  --divider:     rgba(255,255,255,.08);
  --divider-2:   rgba(255,255,255,.16);

  /* Type scale (fluid) */
  --fs-mega:     clamp(3.4rem, 14vw, 13.5rem);
  --fs-hero:     clamp(2.8rem, 9vw, 9.5rem);
  --fs-display:  clamp(2.2rem, 6.2vw, 6rem);
  --fs-h2:       clamp(1.8rem, 4vw, 3.6rem);
  --fs-h3:       clamp(1.35rem, 1.7vw, 1.7rem);
  --fs-lead:     clamp(1.05rem, 1.15vw, 1.18rem);
  --fs-body:     1rem;
  --fs-small:    .82rem;
  --fs-label:    .68rem;
  --fs-micro:    .62rem;

  /* Motion */
  --ease-out:    cubic-bezier(.16,1,.3,1);
  --ease-in:     cubic-bezier(.7,0,.84,0);
  --ease-bounce: cubic-bezier(.34,1.56,.64,1);
  --t-fast:      .28s;
  --t-med:       .6s;
  --t-slow:      1.1s;

  /* Layout */
  --container:   1400px;
  --pad-x:       clamp(1.25rem, 4vw, 4rem);
  --rail-w:      72px;

  /* Fonts */
  --f-display:   'Anton', 'Impact', 'Bebas Neue', sans-serif;
  --f-editorial: 'Fraunces', 'Times New Roman', serif;
  --f-body:      'Poppins', system-ui, sans-serif;
  --f-mono:      'JetBrains Mono', 'Courier New', monospace;
}

/* ── RESET ──────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--ink);
  color: var(--white);
  font-family: var(--f-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; color: inherit; cursor: pointer; }
::selection { background: var(--lime); color: var(--black); }

/* ── GLOBAL EFFECTS ─────────────────────────────────────────────── */

/* Film grain overlay */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: .07;
  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='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 8s steps(8) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); }
  10% { transform: translate(-2%,-3%); }
  20% { transform: translate(-4%,2%); }
  30% { transform: translate(2%,-4%); }
  40% { transform: translate(-2%,5%); }
  50% { transform: translate(-4%,2%); }
  60% { transform: translate(3%,0); }
  70% { transform: translate(0,3%); }
  80% { transform: translate(-3%,3%); }
  90% { transform: translate(2%,2%); }
}

/* Page progress bar */
.page-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: var(--lime);
  z-index: 1000;
  transition: width .08s linear;
  box-shadow: 0 0 12px var(--lime);
}

/* Custom cursor (desktop only) */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: opacity .3s, width .25s var(--ease-out), height .25s var(--ease-out);
  mix-blend-mode: difference;
}
.cursor-dot { width: 6px; height: 6px; background: var(--lime); }
.cursor-ring { width: 38px; height: 38px; border: 1px solid var(--lime-line); }
.cursor-ring.hovered { width: 80px; height: 80px; border-color: var(--lime); }
.cursor-ring.click { width: 24px; height: 24px; }

/* ── SIDE RAILS ─────────────────────────────────────────────────── */
.side-rail, .side-rail-r {
  position: fixed; top: 0; bottom: 0;
  width: var(--rail-w);
  z-index: 50;
  display: flex; flex-direction: column;
  align-items: center; justify-content: space-between;
  padding: 2rem 0;
  pointer-events: none;
  border-right: 1px solid var(--divider);
}
.side-rail { left: 0; }
.side-rail-r { right: 0; left: auto; border-right: none; border-left: 1px solid var(--divider); }

.rail-label, .rail-coords, .rail-clock {
  font-family: var(--f-mono);
  font-size: var(--fs-micro);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}
.rail-clock {
  color: var(--lime);
  font-weight: 500;
}
.rail-coords { font-size: .58rem; }

@media (max-width: 1100px) {
  .side-rail, .side-rail-r { display: none; }
  :root { --rail-w: 0px; }
}

/* ── UTILITIES ──────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
}
@media (min-width: 1101px) {
  .container { padding-left: calc(var(--pad-x) + var(--rail-w) * .4); padding-right: calc(var(--pad-x) + var(--rail-w) * .4); }
}

/* labels */
.head-num, .head-kicker {
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

/* Reveal animations */
.reveal      { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal.vis  { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.reveal-left.vis { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
.delay-3 { transition-delay: .36s; }
.delay-4 { transition-delay: .48s; }

/* Display dot accent (lime period) */
.dot { color: var(--lime); }

/* Highlighted inline */
.hl { color: var(--lime); font-weight: 500; }

/* Italic editorial */
em { font-family: var(--f-editorial); font-style: italic; font-weight: 400; }

/* ── NAVIGATION ─────────────────────────────────────────────────── */
nav.mp-nav {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 800;
  padding: 1.5rem var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
  transition: padding var(--t-med) var(--ease-out), background var(--t-med);
}
@media (max-width: 920px) {
  nav.mp-nav { z-index: 1100; }
}
@media (min-width: 1101px) {
  nav.mp-nav { padding-left: calc(var(--rail-w) + 1rem); padding-right: calc(var(--rail-w) + 1rem); }
}
nav.mp-nav::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(10,10,10,.85);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--divider);
  opacity: 0;
  transition: opacity var(--t-med);
  z-index: -1;
}
nav.mp-nav.scrolled { padding-top: 1rem; padding-bottom: 1rem; }
nav.mp-nav.scrolled::before { opacity: 1; }

.nav-logo { display: flex; align-items: center; }
.nav-logo-img {
  height: 46px;
  width: auto;
  display: block;
  transition: transform var(--t-fast);
}
.nav-logo:hover .nav-logo-img { transform: scale(1.04) rotate(-1deg); }
nav.mp-nav.scrolled .nav-logo-img { height: 38px; transition: height var(--t-med) var(--ease-out), transform var(--t-fast); }

.nav-links {
  list-style: none;
  display: flex; gap: 2.2rem;
  align-items: center;
}
.nav-links a {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  position: relative;
  display: inline-flex; align-items: baseline; gap: .4rem;
  padding: .4rem 0;
  transition: color var(--t-fast);
}
.nav-links a .nav-num {
  font-family: var(--f-mono);
  font-size: .58rem;
  color: var(--lime);
  font-weight: 400;
  letter-spacing: .1em;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .7rem 1.2rem .7rem 1.4rem;
  border: 1px solid var(--lime);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--lime);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color .35s var(--ease-out);
}
.nav-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--lime);
  transform: translateY(101%);
  transition: transform .45s var(--ease-out);
  z-index: -1;
}
.nav-cta:hover { color: var(--black); }
.nav-cta:hover::before { transform: translateY(0); }
.nav-cta svg { transition: transform .35s var(--ease-out); }
.nav-cta:hover svg { transform: translateX(3px); }

.nav-burger {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 6px;
  z-index: 1100;
  position: relative;
}
.nav-burger span {
  width: 24px; height: 1.5px;
  background: var(--white);
  transition: transform .35s var(--ease-out), opacity .25s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(4px) rotate(45deg); background: var(--lime); }
.nav-burger.open span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); background: var(--lime); }

@media (max-width: 920px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--ink);
  z-index: 1000;
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 6rem var(--pad-x) 2rem;
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease-out);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu-inner {
  display: flex; flex-direction: column; gap: .5rem;
}
.mobile-menu-inner a {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 10vw, 4.2rem);
  letter-spacing: -.01em;
  line-height: 1;
  padding: .5rem 0;
  border-bottom: 1px solid var(--divider);
  display: flex; align-items: baseline; gap: 1rem;
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), color var(--t-fast);
}
.mobile-menu.open .mobile-menu-inner a {
  opacity: 1; transform: translateY(0);
}
.mobile-menu.open .mobile-menu-inner a:nth-child(1) { transition-delay: .15s; }
.mobile-menu.open .mobile-menu-inner a:nth-child(2) { transition-delay: .22s; }
.mobile-menu.open .mobile-menu-inner a:nth-child(3) { transition-delay: .29s; }
.mobile-menu.open .mobile-menu-inner a:nth-child(4) { transition-delay: .36s; }
.mobile-menu.open .mobile-menu-inner a:nth-child(5) { transition-delay: .43s; }
.mobile-menu-inner a::before {
  content: attr(data-num);
  font-family: var(--f-mono);
  font-size: .8rem;
  color: var(--lime);
  letter-spacing: .1em;
  font-weight: 400;
}
.mobile-menu-inner a:hover { color: var(--lime); }
.mobile-menu-footer {
  display: flex; flex-direction: column; gap: .5rem;
  font-size: .85rem;
  color: var(--muted);
}
.mobile-menu-footer a { color: var(--muted); transition: color var(--t-fast); }
.mobile-menu-footer a:hover { color: var(--lime); }

/* ═══════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 7rem var(--pad-x) 2.5rem;
  isolation: isolate;
}

/* Cinematic fade-in on first load */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--ink);
  z-index: 50;
  pointer-events: none;
  animation: heroFade 1.4s var(--ease-out) forwards;
}
@keyframes heroFade {
  0%   { opacity: 1; }
  100% { opacity: 0; }
}
@media (min-width: 1101px) {
  .hero { padding-left: calc(var(--rail-w) + 1.5rem); padding-right: calc(var(--rail-w) + 1.5rem); }
}

.hero-media {
  position: absolute; inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero-slides {
  position: absolute; inset: 0;
}
.hero-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  /* The images are already B&W with lime accent — light grading only */
  filter: brightness(.55) contrast(1.05);
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s ease-out;
  will-change: opacity, transform;
}
.hero-slide.is-active {
  opacity: 1;
  /* Slow ken-burns while the slide is active */
  animation: heroKenBurns 8s ease-out forwards;
}
@keyframes heroKenBurns {
  from { transform: scale(1.06) translate(0, 0); }
  to   { transform: scale(1.14) translate(-1.2%, -0.8%); }
}
.hero-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(10,10,10,.7) 90%),
    linear-gradient(180deg, rgba(10,10,10,.6) 0%, transparent 30%, transparent 60%, rgba(10,10,10,.95) 100%);
  z-index: 1;
}

.hero-grid {
  position: absolute; inset: 0;
  z-index: -1;
  pointer-events: none;
}
.grid-line.v {
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--divider);
}

/* Hero meta bar (top) */
.hero-meta {
  display: flex; gap: 2rem;
  align-items: center;
  font-family: var(--f-mono);
  font-size: var(--fs-micro);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 2rem;
  flex-wrap: wrap;
}
.meta-block { display: inline-flex; gap: .5rem; align-items: center; }
.meta-k { color: var(--muted-2); }
.meta-v { color: var(--white); }
.meta-rec .rec-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #ff3232;
  box-shadow: 0 0 8px #ff3232;
  animation: blink 1.4s ease-in-out infinite;
}
.meta-rec .meta-v { color: #ff3232; }
@keyframes blink { 50% { opacity: .25; } }

/* Hero title */
.hero-content {
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding-bottom: 1rem;
}
.hero-title {
  font-family: var(--f-display);
  font-size: var(--fs-hero);
  font-weight: 400;
  line-height: .88;
  letter-spacing: -.025em;
  text-transform: uppercase;
  max-width: 16ch;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

@media (max-width: 600px) {
  .hero-title { font-size: clamp(2.2rem, 10.5vw, 4rem); max-width: 100%; }
}
@media (max-width: 380px) {
  .hero-title { font-size: clamp(2rem, 11vw, 3rem); }
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: lineUp 1s var(--ease-out) forwards;
  opacity: 0;
}
.hero-title .line:nth-child(1) > span:nth-child(1) { animation-delay: .35s; }
.hero-title .line:nth-child(1) > span:nth-child(2) { animation-delay: .45s; }
.hero-title .line:nth-child(2) > span { animation-delay: .55s; }
.hero-title .line:nth-child(3) > span { animation-delay: .75s; }
.hero-title .line:nth-child(4) > span:nth-child(1) { animation-delay: .9s; }
.hero-title .line:nth-child(4) > span:nth-child(2) { animation-delay: 1.05s; }
@keyframes lineUp { to { transform: translateY(0); opacity: 1; } }

.hero-title .italic {
  font-family: var(--f-editorial);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -.02em;
  color: var(--bone);
}
.hero-title .emphasis { color: var(--lime); }
.hero-title .period { color: var(--lime); }

/* Hero bottom */
.hero-bottom {
  display: flex;
  justify-content: flex-end;
  align-items: end;
  border-top: 1px solid var(--divider);
  padding-top: 1.5rem;
  position: relative;
  z-index: 3;
}

.hero-scroll {
  display: inline-flex; flex-direction: column;
  align-items: flex-end; gap: .6rem;
  font-family: var(--f-mono);
  font-size: var(--fs-micro);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--t-fast);
}
.hero-scroll:hover { color: var(--lime); }
.scroll-num { color: var(--white); font-weight: 500; }
.scroll-line {
  width: 1.5px; height: 56px;
  background: var(--divider-2);
  position: relative; overflow: hidden;
}
.scroll-line-fill {
  position: absolute; top: 0; left: 0; right: 0;
  height: 30%;
  background: var(--lime);
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(330%); }
}

/* Hero crown mark (bottom right, decorative) */
.hero-mark {
  position: absolute;
  right: 4%; bottom: 12%;
  width: 130px;
  height: 110px;
  opacity: 0.85;
  pointer-events: none;
  animation: floatY 4s ease-in-out infinite;
  z-index: 2;
}
.hero-mark canvas {
  width: 100%;
  height: 100%;
  display: block;
}
@keyframes floatY { 50% { transform: translateY(-12px); } }
@media (max-width: 920px) {
  .hero-mark { display: none; }
  .hero-bottom { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-scroll { align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════════════════════
   TICKER
   ═══════════════════════════════════════════════════════════════════ */
.ticker-wrap {
  background: var(--lime);
  color: var(--black);
  padding: 1.6rem 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(0,0,0,.1);
  border-bottom: 1px solid rgba(0,0,0,.1);
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
  animation: tickerScroll 38s linear infinite;
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 2.8vw, 2.4rem);
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.ticker-track .tk-star {
  font-style: normal;
  font-size: .7em;
  color: var(--black);
  transform: rotate(15deg);
  display: inline-block;
}
@keyframes tickerScroll {
  to { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════════════════
   SECTION HEAD (numero + kicker, alineado izquierda)
   ═══════════════════════════════════════════════════════════════════ */
.section-head {
  display: flex; align-items: baseline; gap: 1.4rem;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid var(--divider);
  padding-bottom: 1rem;
}
.section-head .head-num {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--lime);
  line-height: 1;
  letter-spacing: -.02em;
}
.section-head .head-kicker {
  margin-left: auto;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════════════ */
.about {
  padding: 7rem 0 6rem;
  background: var(--ink);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.about-img-wrap {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border: 1px solid var(--divider);
}
.about-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(.92);
  transition: transform 1.4s var(--ease-out);
}
.about-img-wrap:hover img { transform: scale(1.04); }

.about-img-cap {
  position: absolute; top: 1rem; left: 1rem; right: 1rem;
  display: flex; justify-content: space-between;
  font-family: var(--f-mono);
  font-size: var(--fs-micro);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--bone);
  mix-blend-mode: difference;
}

.about-img-accent {
  position: absolute;
  bottom: -1px; right: -1px;
  background: var(--lime);
  color: var(--black);
  padding: 1.4rem 1.6rem;
  display: flex; flex-direction: column; gap: .25rem;
  align-items: flex-end;
  min-width: 180px;
}
.about-img-accent .num {
  font-family: var(--f-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -.02em;
}
.about-img-accent .num i {
  font-style: normal;
  font-size: .55em;
  vertical-align: super;
  margin-left: .05em;
}
.about-img-accent .lbl {
  font-family: var(--f-mono);
  font-size: var(--fs-micro);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: right;
  line-height: 1.3;
  font-weight: 500;
}

.about-text { padding-top: 1rem; }

.section-title {
  font-family: var(--f-display);
  font-size: var(--fs-display);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.section-title em {
  color: var(--lime);
  text-transform: none;
  letter-spacing: -.02em;
}

.about-text p {
  font-size: var(--fs-body);
  color: rgba(255,255,255,.78);
  line-height: 1.7;
  margin-bottom: 1.2rem;
  max-width: 56ch;
}
.about-text p.lead {
  font-size: var(--fs-lead);
  color: var(--white);
}

.about-tags {
  display: flex; flex-wrap: wrap; gap: .55rem;
  margin-top: 2rem;
}
.about-tags span {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .55rem 1rem;
  border: 1px solid var(--divider-2);
  border-radius: 999px;
  color: rgba(255,255,255,.75);
  transition: all var(--t-fast);
  cursor: default;
}
.about-tags span:hover {
  border-color: var(--lime);
  color: var(--lime);
  transform: translateY(-2px);
}

@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-img-wrap { aspect-ratio: 4/4; max-width: 540px; }
}

/* ═══════════════════════════════════════════════════════════════════
   PROCESO
   ═══════════════════════════════════════════════════════════════════ */
.process {
  padding: 6rem 0 7rem;
  background: var(--ink);
  border-top: 1px solid var(--divider);
  position: relative;
}
.process .section-head .head-num {
  color: var(--lime);
  font-family: var(--f-editorial);
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
/* horizontal connecting line */
.process-grid::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--lime-line) 12%, var(--lime-line) 88%, transparent 100%);
}

.process-step {
  padding: 0 1.5rem 0 0;
  position: relative;
  padding-top: 80px;
}
/* dot on the line */
.process-step::before {
  content: '';
  position: absolute;
  top: 53px; left: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--lime);
  z-index: 1;
}
.process-step::after {
  content: '';
  position: absolute;
  top: 59px; left: 4px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  z-index: 2;
  animation: psDotPulse 2.4s ease-in-out infinite;
}
@keyframes psDotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}
.process-step:nth-child(2)::after { animation-delay: .3s; }
.process-step:nth-child(3)::after { animation-delay: .6s; }
.process-step:nth-child(4)::after { animation-delay: .9s; }

.ps-num {
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: .2em;
  color: var(--lime);
  margin-bottom: 1rem;
  font-weight: 500;
}
.process-step h3 {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.process-step p {
  font-size: .92rem;
  color: rgba(255,255,255,.68);
  line-height: 1.6;
  max-width: 28ch;
}

@media (max-width: 900px) {
  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1rem;
  }
  .process-grid::before { display: none; }
  .process-step { padding-top: 0; }
  .process-step::before, .process-step::after { display: none; }
}
@media (max-width: 520px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════════════════ */
.services {
  padding: 7rem 0 7rem;
  background: var(--ink-2);
  border-top: 1px solid var(--divider);
}

.services-display {
  font-family: var(--f-display);
  font-size: var(--fs-display);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.025em;
  text-transform: uppercase;
  margin-bottom: 4rem;
  max-width: 13ch;
}
.services-display span { display: block; }
.services-display .italic {
  font-family: var(--f-editorial);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--lime);
  letter-spacing: -.02em;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--divider);
  border: 1px solid var(--divider);
}
.service-card {
  background: var(--ink-2);
  padding: 2.5rem 2rem 2rem;
  position: relative;
  transition: background var(--t-med), transform var(--t-med);
  min-height: 460px;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--lime-soft) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t-med);
  pointer-events: none;
}
.service-card:hover { background: var(--carbon-2); }
.service-card:hover::before { opacity: 1; }

.sc-top {
  display: flex; justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: .15em;
  text-transform: uppercase;
}
.sc-num { color: var(--lime); font-weight: 500; }
.sc-tag { color: var(--muted); }

.service-card h3 {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.service-card p {
  font-size: .94rem;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
  margin-bottom: 1.8rem;
  flex: 0 0 auto;
}
.sc-list {
  list-style: none;
  border-top: 1px solid var(--divider);
  padding-top: 1.2rem;
  margin-top: auto;
}
.sc-list li {
  font-family: var(--f-mono);
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bone);
  padding: .5rem 0;
  border-bottom: 1px solid var(--divider);
  display: flex; align-items: center; gap: .8rem;
  transition: color var(--t-fast), padding-left var(--t-fast);
}
.sc-list li::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--lime);
  border-radius: 50%;
  flex-shrink: 0;
}
.service-card:hover .sc-list li { color: var(--white); }

.sc-arrow {
  position: absolute;
  top: 2.5rem; right: 2rem;
  font-family: var(--f-display);
  font-size: 1.4rem;
  color: var(--lime);
  opacity: 0;
  transform: translateY(-8px) translateX(-8px);
  transition: opacity .4s, transform .5s var(--ease-out);
}
.service-card:hover .sc-arrow { opacity: 1; transform: translateY(0) translateX(0); }

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
}

/* ═══════════════════════════════════════════════════════════════════
   REEL
   ═══════════════════════════════════════════════════════════════════ */
.reel {
  padding: 7rem 0;
  background: var(--ink);
  border-top: 1px solid var(--divider);
}

.reel-title {
  font-family: var(--f-display);
  font-size: var(--fs-display);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin-bottom: 3rem;
  text-align: center;
}
.reel-title em {
  color: var(--lime);
  text-transform: none;
  letter-spacing: -.02em;
}

.reel-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--divider);
  isolation: isolate;
}
.reel-thumb {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.55) contrast(1.1);
  transition: transform 1.2s var(--ease-out), filter var(--t-med);
}
.reel-wrap:hover .reel-thumb { transform: scale(1.06); filter: brightness(.7) contrast(1.15); }

.reel-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 baseFrequency='0.7' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: .12;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.reel-frame-marks {
  position: absolute; inset: 0;
  pointer-events: none;
}
.reel-frame-marks span {
  position: absolute;
  width: 28px; height: 28px;
  border: 1px solid var(--lime);
}
.reel-frame-marks span:nth-child(1) { top: 16px; left: 16px; border-right: none; border-bottom: none; }
.reel-frame-marks span:nth-child(2) { top: 16px; right: 16px; border-left: none; border-bottom: none; }
.reel-frame-marks span:nth-child(3) { bottom: 16px; left: 16px; border-right: none; border-top: none; }
.reel-frame-marks span:nth-child(4) { bottom: 16px; right: 16px; border-left: none; border-top: none; }

.reel-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1.5rem;
  z-index: 2;
}
.play-btn {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--black);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: transform var(--t-fast);
}
.play-btn svg { margin-left: 4px; }
.play-btn::before, .play-btn::after {
  content: '';
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--lime);
  opacity: 0;
  animation: pulse 2.4s ease-out infinite;
}
.play-btn::after { animation-delay: 1.2s; }
@keyframes pulse {
  0% { transform: scale(.85); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}
.reel-wrap:hover .play-btn { transform: scale(1.08); }
.reel-label {
  font-family: var(--f-mono);
  font-size: .78rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 500;
}

.reel-meta {
  position: absolute;
  left: 2rem; bottom: 1.4rem;
  display: flex; gap: 1.5rem;
  font-family: var(--f-mono);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--lime);
  z-index: 2;
}

/* YouTube modal */
.yt-modal {
  position: fixed; inset: 0;
  background: rgba(5,5,5,.96);
  backdrop-filter: blur(6px);
  z-index: 9500;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease-out);
}
.yt-modal.open { opacity: 1; pointer-events: auto; }
.yt-inner {
  width: 100%; max-width: 1200px;
  aspect-ratio: 16/9;
  position: relative;
  transform: scale(.96);
  transition: transform .4s var(--ease-out);
}
.yt-modal.open .yt-inner { transform: scale(1); }
.yt-inner iframe,
.yt-inner video {
  width: 100%; height: 100%;
  border: none;
  display: block;
  background: #000;
  object-fit: contain;
}
.yt-close {
  position: fixed;
  top: 1.5rem; right: 1.5rem;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.1rem;
  background: var(--lime);
  color: var(--black);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  z-index: 10;
  transition: transform var(--t-fast);
}
.yt-close:hover { transform: scale(1.06); }

/* ═══════════════════════════════════════════════════════════════════
   PROJECTS
   ═══════════════════════════════════════════════════════════════════ */
.projects {
  padding: 7rem 0 6rem;
  background: var(--ink-2);
  border-top: 1px solid var(--divider);
}

.proj-display {
  font-family: var(--f-display);
  font-size: var(--fs-display);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.025em;
  text-transform: uppercase;
  margin-bottom: 4rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.projects-grid.two-up { grid-template-columns: 1fr 1fr; }

/* Single featured project — centered, larger */
.projects-grid.single-feature {
  grid-template-columns: 1fr;
  max-width: 1100px;
  margin: 0 auto;
}
.projects-grid.single-feature .proj-video h3 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
}
.projects-grid.single-feature .pv-meta {
  padding: 1.6rem 0 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
}
.projects-grid.single-feature .pv-row {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  text-align: left;
}
.projects-grid.single-feature .proj-video h3 {
  text-align: left;
  margin: 0;
}
.projects-grid.single-feature .pv-cta {
  white-space: nowrap;
}
@media (max-width: 700px) {
  .projects-grid.single-feature .pv-meta {
    grid-template-columns: 1fr;
    gap: .8rem;
  }
}

.proj-video {
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  background: transparent;
  isolation: isolate;
  outline: none;
}
.proj-video:focus-visible { outline: 2px solid var(--lime); outline-offset: 6px; }

.pv-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--divider);
  isolation: isolate;
}
.pv-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.65) contrast(1.05) saturate(.95);
  transition: transform 1.4s var(--ease-out), filter var(--t-med);
}
.proj-video:hover .pv-media img,
.proj-video:focus-visible .pv-media img {
  transform: scale(1.06);
  filter: brightness(.85) contrast(1.1) saturate(1);
}

/* Subtle grain over thumb */
.pv-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 baseFrequency='0.7' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: .08;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Frame corner marks */
.pv-frame-marks {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 2;
}
.pv-frame-marks span {
  position: absolute;
  width: 22px; height: 22px;
  border: 1px solid var(--lime);
  opacity: 0;
  transition: opacity .4s var(--ease-out);
}
.pv-frame-marks span:nth-child(1) { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.pv-frame-marks span:nth-child(2) { top: 12px; right: 12px; border-left: none; border-bottom: none; }
.pv-frame-marks span:nth-child(3) { bottom: 12px; left: 12px; border-right: none; border-top: none; }
.pv-frame-marks span:nth-child(4) { bottom: 12px; right: 12px; border-left: none; border-top: none; }
.proj-video:hover .pv-frame-marks span,
.proj-video:focus-visible .pv-frame-marks span { opacity: 1; }

/* Play button */
.pv-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 78px; height: 78px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--black);
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  transition: transform .35s var(--ease-out), background var(--t-fast);
}
.pv-play svg { margin-left: 3px; }
.pv-play::before {
  content: '';
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--lime);
  opacity: 0;
  transition: opacity .4s, transform .5s var(--ease-out);
}
.proj-video:hover .pv-play,
.proj-video:focus-visible .pv-play {
  transform: translate(-50%, -50%) scale(1.08);
}
.proj-video:hover .pv-play::before,
.proj-video:focus-visible .pv-play::before {
  opacity: 1;
  transform: scale(1.15);
}

/* Meta block below thumb */
.pv-meta {
  padding: 1.2rem 0 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.pv-row {
  display: flex; justify-content: space-between;
  font-family: var(--f-mono);
  font-size: var(--fs-micro);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.pv-idx { color: var(--lime); font-weight: 500; }
.pv-cat { color: var(--muted); }

.proj-video h3 {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.015em;
  text-transform: uppercase;
  transition: color var(--t-fast);
}
.proj-video:hover h3,
.proj-video:focus-visible h3 { color: var(--lime); }

.pv-cta {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--t-fast), padding-left var(--t-fast);
}
.proj-video:hover .pv-cta,
.proj-video:focus-visible .pv-cta {
  color: var(--lime);
  padding-left: 4px;
}

.projects-cta {
  margin-top: 4rem;
  text-align: center;
}
.projects-cta a {
  display: inline-flex; align-items: center; gap: .7rem;
  padding: 1rem 2rem;
  border: 1px solid var(--divider-2);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all var(--t-med);
}
.projects-cta a:hover {
  background: var(--lime);
  color: var(--black);
  border-color: var(--lime);
  gap: 1.1rem;
}

@media (max-width: 820px) {
  .projects-grid,
  .projects-grid.two-up {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .pv-play { width: 64px; height: 64px; }
}

/* ═══════════════════════════════════════════════════════════════════
   MANIFESTO
   ═══════════════════════════════════════════════════════════════════ */
.manifesto {
  padding: 9rem 0 9rem;
  background:
    radial-gradient(circle at 30% 30%, rgba(204,255,0,.04) 0%, transparent 50%),
    var(--ink);
  border-top: 1px solid var(--divider);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.manifesto::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 900px; height: 900px;
  border: 1px solid var(--divider);
  border-radius: 50%;
  pointer-events: none;
}
.manifesto::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 600px; height: 600px;
  border: 1px solid var(--lime-line);
  border-radius: 50%;
  pointer-events: none;
}
.manifesto-mark {
  font-family: var(--f-editorial);
  font-style: italic;
  font-size: clamp(8rem, 16vw, 16rem);
  line-height: .7;
  color: var(--lime);
  display: block;
  margin-bottom: -2rem;
  position: relative;
  z-index: 1;
}
.manifesto-text {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 5.5vw, 5.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.02em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.manifesto-text em {
  color: var(--white);
  text-transform: none;
  letter-spacing: -.02em;
}
.manifesto-foot {
  margin-top: 2.5rem;
  display: inline-flex; align-items: center; gap: 1rem;
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  z-index: 1;
}
.manifesto-foot .line {
  width: 40px; height: 1px;
  background: var(--lime);
}

/* ═══════════════════════════════════════════════════════════════════
   STATS
   ═══════════════════════════════════════════════════════════════════ */
.stats {
  padding: 5rem 0;
  background: var(--lime);
  color: var(--black);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}
.stat {
  padding: 1.5rem 1.2rem;
  border-right: 1px solid rgba(0,0,0,.18);
  display: flex; flex-direction: column;
  gap: .8rem;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--f-display);
  font-size: clamp(3.6rem, 7vw, 6rem);
  font-weight: 400;
  line-height: .85;
  letter-spacing: -.04em;
}
.stat-num span {
  font-size: .55em;
  color: rgba(0,0,0,.55);
  margin-left: .04em;
}
.stat-label {
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1.4;
}
@media (max-width: 800px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(0,0,0,.18); }
}

/* ═══════════════════════════════════════════════════════════════════
   CLIENTS
   ═══════════════════════════════════════════════════════════════════ */
.clients {
  padding: 4rem 0;
  background: var(--ink);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}
.clients-head {
  display: flex; align-items: center; gap: 1.5rem;
  margin-bottom: 2rem;
}
.clients-head .head-line {
  flex: 1;
  height: 1px;
  background: var(--divider);
}
.clients-track {
  display: flex; flex-wrap: wrap;
  gap: 1rem 3rem;
  align-items: center;
}
.clients-track span {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--t-fast);
  cursor: default;
}
.clients-track span:hover { color: var(--white); }
.clients-track span:last-child {
  color: var(--lime);
  font-family: var(--f-editorial);
  font-style: italic;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  text-transform: none;
  letter-spacing: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════════════ */
.contact {
  padding: 7rem 0 6rem;
  background: var(--ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.contact-left h2 {
  font-family: var(--f-display);
  font-size: var(--fs-display);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
}
.contact-left h2 em {
  color: var(--lime);
  text-transform: none;
  letter-spacing: -.02em;
}
.contact-left p {
  font-size: var(--fs-lead);
  color: rgba(255,255,255,.78);
  max-width: 44ch;
  margin-bottom: 2.5rem;
}

.contact-links {
  display: flex; flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--divider);
}
.contact-links a {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--divider);
  transition: padding-left var(--t-fast);
}
.contact-links a:hover {
  padding-left: 1rem;
}
.contact-links a:hover .cl-arrow { transform: translateX(8px); color: var(--lime); }
.contact-links a:hover .cl-v { color: var(--lime); }
.cl-k {
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.cl-v {
  font-size: 1.05rem;
  font-weight: 500;
  transition: color var(--t-fast);
}
.cl-arrow {
  font-family: var(--f-display);
  font-size: 1.3rem;
  color: var(--muted);
  transition: transform var(--t-fast), color var(--t-fast);
}

/* Form */
.contact-right {
  background: var(--ink-2);
  border: 1px solid var(--divider);
  padding: 2rem;
}
.form-head {
  display: flex; justify-content: space-between;
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: .18em;
  text-transform: uppercase;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--divider);
}
.form-kicker { color: var(--lime); }
.form-id { color: var(--muted); }

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form-field { display: flex; flex-direction: column; gap: .4rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-field label .opt {
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted-2);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--divider-2);
  color: var(--white);
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 300;
  padding: .7rem 0;
  transition: border-color var(--t-fast);
  outline: none;
  border-radius: 0;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--muted-2);
  font-weight: 300;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-bottom-color: var(--lime);
}
.form-field textarea {
  resize: vertical;
  min-height: 100px;
  font-family: var(--f-body);
}

.select-wrap {
  position: relative;
}
.select-wrap select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 2rem;
}
.select-wrap select option {
  background: var(--ink-2);
  color: var(--white);
}
.select-wrap svg {
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  color: var(--lime);
  pointer-events: none;
}

.btn-submit {
  grid-column: 1 / -1;
  margin-top: 1rem;
  display: flex; align-items: center; justify-content: center;
  gap: .8rem;
  padding: 1.1rem 2rem;
  background: var(--lime);
  color: var(--black);
  font-family: var(--f-body);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  transition: color var(--t-med);
}
.btn-submit::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--white);
  transform: translateY(101%);
  transition: transform .45s var(--ease-out);
}
.btn-submit:hover::before { transform: translateY(0); }
.btn-submit:hover { color: var(--black); }
.btn-submit svg, .btn-submit .btn-text { position: relative; z-index: 1; transition: transform var(--t-fast); }
.btn-submit:hover svg { transform: translateX(4px); }
.btn-text { display: inline-flex; flex-direction: column; height: 1.1rem; overflow: hidden; }
.btn-text span { display: block; transition: transform .35s var(--ease-out); }
.btn-submit:hover .btn-text span { transform: translateY(-100%); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-links a { grid-template-columns: 90px 1fr auto; }
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.mp-footer {
  background: var(--black);
  padding: 5rem 0 0;
  border-top: 1px solid var(--divider);
  overflow: hidden;
  position: relative;
}
.footer-main {
  display: flex; justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--divider);
  flex-wrap: wrap;
}
.footer-logo img {
  height: 80px;
  width: auto;
  display: block;
  transition: opacity var(--t-fast);
}
.footer-logo:hover img { opacity: .85; }
.footer-tag {
  font-size: .9rem;
  color: var(--muted);
  text-align: right;
  line-height: 1.5;
}
.footer-tag span {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--divider);
}
.footer-col {
  display: flex; flex-direction: column;
  gap: .5rem;
}
.footer-col .fc-h {
  font-family: var(--f-mono);
  font-size: var(--fs-label);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: .6rem;
}
.footer-col a {
  font-size: .92rem;
  color: rgba(255,255,255,.7);
  transition: color var(--t-fast), padding-left var(--t-fast);
}
.footer-col a:hover { color: var(--white); padding-left: 6px; }

.footer-bottom {
  display: flex; justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2rem 0;
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-admin {
  color: var(--muted-2);
  transition: color var(--t-fast);
}
.footer-admin:hover { color: var(--lime); }

.footer-giant {
  font-family: var(--f-display);
  font-size: clamp(4rem, 18vw, 18rem);
  font-weight: 400;
  line-height: .8;
  letter-spacing: -.04em;
  text-transform: uppercase;
  text-align: center;
  color: var(--carbon);
  margin: 1rem 0 -2.5rem;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
}
.footer-giant .accent {
  -webkit-text-stroke: 1px var(--carbon);
  color: transparent;
  margin-left: .15em;
}

@media (max-width: 800px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-tag { text-align: left; }
}
@media (max-width: 500px) {
  .footer-cols { grid-template-columns: 1fr; }
}

/* ── REDUCED MOTION ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-slide { animation: none; transform: scale(1); }
  .grain { animation: none; }
  .ticker-track { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   FASE 1 — ANIMATIONS & MICRO-INTERACTIONS
   ═══════════════════════════════════════════════════════════════════ */

/* ── 1.1 LOGO PULSE — sutil "latido" en la cabecera ───────────────── */
.nav-logo-img {
  animation: logoBreathe 4.5s ease-in-out infinite;
  transform-origin: center;
}
@keyframes logoBreathe {
  0%, 100% { transform: scale(1) translateZ(0); filter: brightness(1); }
  50%      { transform: scale(1.025) translateZ(0); filter: brightness(1.08); }
}
.nav-logo:hover .nav-logo-img { animation-play-state: paused; }

/* ── 1.2 PAGE LOADER — secuencia PNG con 3 fases ───────────────────
   Phase 1: .loader-phase-anim  → animation playing, full overlay
   Phase 2: .loader-phase-ready → animation done, hint shown, bg fades
   Phase 3: .loader-phase-flying → user scrolled, logo flies to nav corner
   ─────────────────────────────────────────────────────────────── */
.page-loader {
  position: fixed; inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.page-loader::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--ink);
  z-index: 1;
  transition: opacity 1s var(--ease-out);
}
.page-loader::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 50%, transparent 0%, var(--ink) 75%),
    repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(255,255,255,.012) 3px, rgba(255,255,255,.012) 4px);
  z-index: 2;
  pointer-events: none;
  transition: opacity 1s var(--ease-out);
}

/* Phase 2: ready — overlay backgrounds fade out so site is visible behind,
   but logo + hint remain center-stage */
.page-loader.loader-phase-ready::before { opacity: 0.65; }
.page-loader.loader-phase-ready::after  { opacity: 0; }

/* Phase 3: flying — overlay completely gone */
.page-loader.loader-phase-flying::before,
.page-loader.loader-phase-flying::after { opacity: 0; }

.loader-canvas-wrap {
  position: relative;
  width: min(82vw, 720px);
  aspect-ratio: 16 / 9;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  /* will-change for smooth flying transform */
  will-change: transform, width, opacity;
  transition: transform 1.1s cubic-bezier(.7, 0, .2, 1),
              width 1.1s cubic-bezier(.7, 0, .2, 1),
              opacity .9s var(--ease-out);
  transform-origin: center center;
}
.loader-canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.loader-fallback {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 60%;
  height: auto;
  opacity: 0;
  z-index: -1;
  pointer-events: none;
}

/* Phase 3: logo flies to the nav-logo position.
   The values here MUST match the nav-logo final on-screen rectangle.
   JS will set them dynamically via CSS variables for accuracy across breakpoints. */
.page-loader.loader-phase-flying .loader-canvas-wrap {
  transform: translate(
    calc(var(--fly-dx, 0px)),
    calc(var(--fly-dy, 0px))
  ) scale(var(--fly-scale, 0.12));
  opacity: 0.999; /* keep rendering during flight */
}
.page-loader.loader-phase-flying .loader-canvas {
  filter: brightness(1);
}

/* After flight completes, hide everything */
.page-loader.loader-phase-done {
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease-out), visibility 0s .3s;
}

/* Loader hint — invisible until phase-ready */
.loader-hint {
  position: relative;
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
  margin-top: 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease-out) .15s, transform .6s var(--ease-out) .15s;
  font-family: var(--f-mono);
  font-size: var(--fs-micro);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--lime);
}
.page-loader.loader-phase-ready .loader-hint {
  opacity: 1;
  transform: translateY(0);
}
/* Phase 3: hint fades quickly when scroll starts */
.page-loader.loader-phase-flying .loader-hint {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.lh-line {
  width: 1px;
  height: 28px;
  background: var(--lime);
  animation: lhPulse 1.6s ease-in-out infinite;
}
@keyframes lhPulse {
  0%, 100% { opacity: .25; transform: scaleY(.6); }
  50%      { opacity: 1; transform: scaleY(1); }
}
.lh-text { font-weight: 500; }
.loader-hint svg {
  color: var(--lime);
  animation: lhBounce 1.8s ease-in-out infinite;
}
@keyframes lhBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}

/* Fallback path */
.page-loader.video-failed .loader-canvas { display: none; }
.page-loader.video-failed .loader-fallback {
  opacity: 1;
  z-index: 3;
  animation: fallbackIn 0.7s ease-out;
}
@keyframes fallbackIn {
  from { opacity: 0; transform: scale(.95); }
  to   { opacity: 1; transform: scale(1); }
}

/* During flight phase, hide the real nav-logo (it will appear after) */
.nav-logo-img {
  transition: opacity .35s var(--ease-out);
}
body.loader-active .nav-logo-img { opacity: 0; }
body:not(.loader-active) .nav-logo-img { opacity: 1; }

/* Once the fly animation completes, body class is removed and nav-logo fades in */

@media (prefers-reduced-motion: reduce) {
  .page-loader,
  .page-loader::before,
  .page-loader::after,
  .loader-canvas-wrap,
  .loader-hint { transition: none; animation: none; }
}

/* ── 1.3 PARALLAX HOOKS — sutil profundidad ───────────────────────── */
/* Used via JS adding .parallax-y to elements */
.parallax-y { will-change: transform; }

/* About image parallax wrapper */
.about-img-wrap {
  perspective: 1000px;
}
.about-img-wrap img {
  transform-origin: center;
}

/* ── 1.4 MICRO — CTA RIPPLE on click ──────────────────────────────── */
.nav-cta, .btn-submit, .projects-cta a {
  position: relative;
  overflow: hidden;
}
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(204, 255, 0, 0.45);
  pointer-events: none;
  transform: scale(0);
  animation: rippleExpand .65s var(--ease-out) forwards;
  z-index: 0;
}
.btn-submit .ripple { background: rgba(0, 0, 0, 0.22); }
@keyframes rippleExpand {
  to { transform: scale(4); opacity: 0; }
}
.nav-cta > span,
.nav-cta > svg,
.btn-submit > .btn-text,
.btn-submit > svg,
.projects-cta a > * { position: relative; z-index: 1; }

/* ── 1.5 MICRO — NAV LINK SWEEP (línea diagonal en hover) ─────────── */
.nav-links a {
  overflow: hidden;
  isolation: isolate;
}
.nav-links a::before {
  content: '';
  position: absolute;
  inset: 0 0 -2px 0;
  background: linear-gradient(135deg, transparent 40%, rgba(204,255,0,.08) 50%, transparent 60%);
  background-size: 200% 200%;
  background-position: 100% 100%;
  transition: background-position .6s var(--ease-out);
  pointer-events: none;
  z-index: -1;
}
.nav-links a:hover::before { background-position: 0% 0%; }

/* ── 1.6 MICRO — LETTER-BY-LETTER HOVER en títulos grandes ────────── */
/* Applied to .hover-letters elements (added via JS or markup) */
.hover-letters {
  display: inline-block;
}
.hover-letters .ltr {
  display: inline-block;
  transition: transform .35s var(--ease-out), color .25s ease;
}
.hover-letters .ltr:hover {
  transform: translateY(-6px) rotate(-2deg);
  color: var(--lime);
}

/* ── 1.7 MICRO — FORM FIELD FOCUS (línea que se dibuja) ───────────── */
.form-field {
  position: relative;
}
.form-field input,
.form-field select,
.form-field textarea {
  border-bottom: 1px solid var(--divider-2);
  position: relative;
}
.form-field::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 2px;
  background: var(--lime);
  transform: translateX(-50%);
  transition: width .45s var(--ease-out);
  pointer-events: none;
}
.form-field:focus-within::after { width: 100%; }

/* ── 1.8 MICRO — MAGNETIC FOOTER ICONS (data attribute) ───────────── */
.footer-col a {
  position: relative;
  display: inline-block;
  transition: transform .4s var(--ease-out), color var(--t-fast), padding-left var(--t-fast);
}
.footer-col a:hover {
  transform: translateX(4px);
}

/* ── 1.9 MICRO — SERVICE CARD ICON SPACE (preparado para Lottie) ──── */
/* If/when you provide Lottie icons, they go inside .sc-icon — already styled */
.sc-icon {
  width: 48px; height: 48px;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
  transition: transform .5s var(--ease-out);
}
.service-card:hover .sc-icon {
  transform: scale(1.08) rotate(-4deg);
}

/* ── 1.10 MICRO — VIDEO CURSOR (PLAY ring) on .proj-video hover ───── */
@media (hover: hover) and (pointer: fine) {
  .proj-video:hover ~ .cursor-ring,
  .reel-wrap:hover ~ .cursor-ring {
    /* Hint: JS adds .cursor-play class. CSS below ready */
  }
}
.cursor-ring.cursor-play {
  width: 92px !important;
  height: 92px !important;
  border-width: 2px;
  background: rgba(204, 255, 0, 0.08);
  backdrop-filter: blur(2px);
}
.cursor-ring.cursor-play::after {
  content: 'PLAY';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .25em;
  color: var(--lime);
  font-weight: 500;
}

/* ── 1.11 MICRO — SECTION-HEAD NUM PULSE on enter ─────────────────── */
.section-head > .head-num.vis {
  animation: numPulse 1.4s var(--ease-out) forwards;
}
@keyframes numPulse {
  0%   { transform: scale(.7); opacity: 0; filter: blur(8px); }
  60%  { transform: scale(1.08); opacity: 1; filter: blur(0); }
  100% { transform: scale(1); opacity: 1; filter: blur(0); }
}

/* ── 1.12 MICRO — TICKER PAUSE on hover ───────────────────────────── */
.ticker-wrap:hover .ticker-track {
  animation-play-state: paused;
}

/* ── 1.13 MICRO — STAT NUMBERS GLOW on visible ────────────────────── */
.stat-num {
  transition: text-shadow .6s ease;
}
.stat.vis .stat-num {
  text-shadow: 0 0 24px rgba(0, 0, 0, 0.15);
}

/* ── 1.14 SCROLL-BASED IMAGE PARALLAX SETUP ───────────────────────── */
.about-img-wrap img,
.proj-media img,
.reel-thumb,
.pv-media img {
  transition: transform 1.4s var(--ease-out), filter var(--t-med);
}
/* JS adds inline transform: translateY for parallax */

/* ── 1.15 BACK-TO-TOP BUTTON ──────────────────────────────────────── */
.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 700;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px) scale(.85);
  pointer-events: none;
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.back-to-top:hover {
  transform: translateY(-4px) scale(1.05);
}
.back-to-top svg {
  width: 18px;
  height: 18px;
}
@media (max-width: 1100px) {
  .back-to-top { right: 1rem; bottom: 1rem; }
}

/* ── TOUCH DEVICES ──────────────────────────────────────────────── */
@media (hover: none), (pointer: coarse), (max-width: 920px) {
  .cursor-dot, .cursor-ring { display: none !important; }
  body { cursor: auto; }
}

/* ════════════════════════════════════════════════════════════════════
   ── REWRITE DE CONTENIDO · v6 ────────────────────────────────────────
   Manifiesto · Modos · Filosofía · Hablemos
   Hero subtitle + dual CTA
   ════════════════════════════════════════════════════════════════════ */

/* ── HERO: subtítulo + CTAs ─────────────────────────────────────── */
.hero-content {
  /* override prior align: flex-end so subtítulo y CTAs caben */
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 1.5rem;
  position: relative;
  z-index: 3;
}
.hero-title .italic-word {
  display: inline-block;
  font-family: var(--f-editorial);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -.02em;
  color: var(--lime);
  transform: translateY(110%);
  animation: lineUp 1s var(--ease-out) forwards;
  opacity: 0;
  animation-delay: .85s;
}
.hero-sub {
  max-width: 46ch;
  font-size: clamp(.95rem, 1.15vw, 1.08rem);
  line-height: 1.55;
  color: rgba(244,241,234,.78);
  letter-spacing: .005em;
  opacity: 0;
  transform: translateY(14px);
  animation: heroFadeUp .9s var(--ease-out) forwards;
  animation-delay: 1.15s;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(14px);
  animation: heroFadeUp .9s var(--ease-out) forwards;
  animation-delay: 1.35s;
}
@keyframes heroFadeUp { to { opacity: 1; transform: translateY(0); } }

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: 1rem 1.5rem;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: .82rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .12em;
  border-radius: 0;
  transition: transform .25s var(--ease-out), background .25s var(--ease-out), color .25s var(--ease-out), border-color .25s var(--ease-out);
  white-space: nowrap;
}
.hero-btn svg { transition: transform .25s var(--ease-out); }
.hero-btn:hover svg { transform: translateX(4px); }

.hero-btn-primary {
  background: var(--lime);
  color: var(--ink);
  border: 1px solid var(--lime);
}
.hero-btn-primary:hover {
  background: transparent;
  color: var(--lime);
}
.hero-btn-ghost {
  background: transparent;
  color: var(--bone);
  border: 1px solid var(--divider-2);
}
.hero-btn-ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
}

@media (max-width: 600px) {
  .hero-ctas { width: 100%; flex-direction: column; gap: .65rem; }
  .hero-btn { width: 100%; justify-content: space-between; padding: .95rem 1.2rem; }
  .hero-sub { font-size: .92rem; }
}

/* ── MANIFIESTO ─────────────────────────────────────────────────── */
.manifesto {
  padding: clamp(5rem, 12vw, 9rem) 0;
  background: var(--ink);
  position: relative;
}
.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  margin-top: 2rem;
}
.manifesto-intro {
  font-family: var(--f-editorial);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.55;
  color: rgba(244,241,234,.7);
  max-width: 28ch;
}
.manifesto-intro em {
  font-style: italic;
  color: var(--lime);
  font-weight: 500;
}
.manifesto-display {
  font-family: var(--f-display);
  font-size: clamp(4rem, 14vw, 11rem);
  line-height: .82;
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: var(--bone);
  margin: 0;
  grid-column: 1 / -1;
  text-align: left;
  padding: 1rem 0 1.5rem;
}
.manifesto-display em {
  font-family: var(--f-editorial);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -.025em;
  color: var(--lime);
}
.manifesto-display .dot { color: var(--lime); }

.manifesto-body {
  grid-column: 2 / -1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 42ch;
  margin-left: auto;
}
.manifesto-body p {
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.65;
  color: rgba(244,241,234,.85);
}
.manifesto-emphasis {
  font-family: var(--f-editorial);
  font-style: italic;
  color: var(--lime) !important;
  font-size: clamp(1.1rem, 1.4vw, 1.35rem) !important;
  margin-top: .5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--lime-line);
}

@media (max-width: 800px) {
  .manifesto-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .manifesto-body { grid-column: 1; margin-left: 0; max-width: 100%; }
  .manifesto-display { padding: .5rem 0 1rem; }
}

/* ── MODOS ──────────────────────────────────────────────────────── */
.modos {
  padding: clamp(5rem, 12vw, 9rem) 0;
  background: var(--ink);
  position: relative;
}
.modos-display {
  font-family: var(--f-display);
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  line-height: .9;
  letter-spacing: -.025em;
  text-transform: uppercase;
  color: var(--bone);
  margin: 2rem 0 1.5rem;
  max-width: 14ch;
}
.modos-display em {
  font-family: var(--f-editorial);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -.02em;
  color: var(--lime);
}
.modos-display .dot { color: var(--lime); }
.modos-sub {
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.55;
  color: rgba(244,241,234,.7);
  max-width: 52ch;
  margin-bottom: 3.5rem;
}

.modos-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--divider);
}
.modo {
  display: grid;
  grid-template-columns: 8rem 1fr 3rem;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid var(--divider);
  position: relative;
  transition: padding .35s var(--ease-out);
  cursor: default;
}
.modo::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: var(--lime);
  transition: width .5s var(--ease-out);
}
.modo:hover { padding-left: 1.25rem; }
.modo:hover::after { width: 100%; }
.modo:hover .modo-arrow {
  color: var(--lime);
  transform: translateX(8px);
}
.modo:hover .modo-num { color: var(--lime); }

.modo-num {
  font-family: var(--f-mono, 'JetBrains Mono', monospace);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .15em;
  color: rgba(244,241,234,.45);
  transition: color .3s var(--ease-out);
}
.modo-text h3 {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1;
  letter-spacing: -.015em;
  text-transform: uppercase;
  color: var(--bone);
  margin: 0 0 .65rem;
  font-weight: 400;
}
.modo-text p {
  font-size: clamp(.92rem, 1vw, 1rem);
  line-height: 1.55;
  color: rgba(244,241,234,.7);
  max-width: 56ch;
  margin: 0;
}
.modo-arrow {
  font-family: var(--f-body);
  font-size: 1.5rem;
  color: rgba(244,241,234,.35);
  transition: color .3s var(--ease-out), transform .35s var(--ease-out);
  justify-self: end;
}

@media (max-width: 700px) {
  .modo {
    grid-template-columns: 1fr;
    gap: .75rem;
    padding: 1.75rem 0;
  }
  .modo-arrow { display: none; }
  .modo:hover { padding-left: 0; }
}

/* ── FILOSOFÍA ──────────────────────────────────────────────────── */
.filosofia {
  padding: clamp(5rem, 12vw, 9rem) 0;
  background: var(--ink-2);
  position: relative;
}
.filosofia-display {
  font-family: var(--f-display);
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  line-height: .9;
  letter-spacing: -.025em;
  text-transform: uppercase;
  color: var(--bone);
  margin: 2rem 0 1.25rem;
  max-width: 14ch;
}
.filosofia-display em {
  font-family: var(--f-editorial);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -.02em;
  color: var(--lime);
}
.filosofia-display .dot { color: var(--lime); }
.filosofia-sub {
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.55;
  color: rgba(244,241,234,.7);
  max-width: 56ch;
  margin-bottom: 3.5rem;
}

.filosofia-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--divider);
}
.step {
  padding: 2.5rem 1.5rem 2.5rem 0;
  border-right: 1px solid var(--divider);
  position: relative;
}
.step:last-child { border-right: none; padding-right: 0; }
.step:not(:last-child) { padding-right: 1.5rem; }
.step + .step { padding-left: 1.5rem; }
.step-tag {
  display: inline-block;
  font-family: var(--f-mono, 'JetBrains Mono', monospace);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--lime);
  margin-bottom: 1.25rem;
}
.step h3 {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  line-height: .95;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--bone);
  margin: 0 0 1rem;
  font-weight: 400;
}
.step p {
  font-size: .95rem;
  line-height: 1.55;
  color: rgba(244,241,234,.7);
  margin: 0;
}

@media (max-width: 900px) {
  .filosofia-steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: none; padding-right: 0; }
  .step:nth-child(3) { border-right: 1px solid var(--divider); padding-left: 0; padding-right: 1.5rem; }
  .step:nth-child(2), .step:nth-child(4) { padding-left: 1.5rem; }
  .step:nth-child(3), .step:nth-child(4) { border-top: 1px solid var(--divider); margin-top: -1px; padding-top: 2.5rem; }
}
@media (max-width: 600px) {
  .filosofia-steps { grid-template-columns: 1fr; }
  .step { border-right: none !important; border-bottom: 1px solid var(--divider); padding: 2rem 0 !important; margin-top: 0 !important; }
  .step:last-child { border-bottom: none; }
}

/* ── HABLEMOS — CTA FINAL ──────────────────────────────────────── */
.hablemos {
  min-height: 92vh;
  padding: clamp(4rem, 10vw, 8rem) clamp(1.25rem, 5vw, 4rem);
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hablemos::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(204,255,0,.05), transparent 60%);
  pointer-events: none;
}
.hablemos-inner {
  max-width: 1100px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 1;
}
.hablemos-kicker {
  display: inline-block;
  font-family: var(--f-mono, 'JetBrains Mono', monospace);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(244,241,234,.5);
  margin-bottom: 2.5rem;
}
.hablemos-display {
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 8.5vw, 7.5rem);
  line-height: .92;
  letter-spacing: -.025em;
  text-transform: uppercase;
  color: var(--bone);
  margin: 0 0 3rem;
  font-weight: 400;
}
.hablemos-display em {
  font-family: var(--f-editorial);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -.02em;
  color: var(--lime);
}
.hablemos-display .dot { color: var(--lime); }

.hablemos-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  padding: 1.25rem 2.25rem;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .14em;
  border: 1px solid var(--lime);
  overflow: hidden;
  transition: background .3s var(--ease-out), color .3s var(--ease-out);
  margin-bottom: 3rem;
}
.hablemos-btn-text {
  position: relative;
  display: inline-block;
  height: 1.1em;
  overflow: hidden;
}
.hablemos-btn-text span {
  display: block;
  transition: transform .35s var(--ease-out);
}
.hablemos-btn-text span:last-child {
  position: absolute;
  inset: 0;
  transform: translateY(110%);
}
.hablemos-btn:hover { background: var(--bone); color: var(--ink); }
.hablemos-btn:hover .hablemos-btn-text span:first-child { transform: translateY(-110%); }
.hablemos-btn:hover .hablemos-btn-text span:last-child { transform: translateY(0); }
.hablemos-btn svg { transition: transform .3s var(--ease-out); }
.hablemos-btn:hover svg { transform: translateX(6px); }

.hablemos-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-family: var(--f-mono, 'JetBrains Mono', monospace);
  font-size: .82rem;
  letter-spacing: .1em;
  color: rgba(244,241,234,.55);
}
.hablemos-meta a {
  color: rgba(244,241,234,.7);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .25s, border-color .25s;
}
.hablemos-meta a:hover { color: var(--lime); border-color: var(--lime); }
.hablemos-meta .divider { color: rgba(244,241,234,.25); }

@media (max-width: 600px) {
  .hablemos-meta { flex-direction: column; gap: .6rem; }
  .hablemos-meta .divider { display: none; }
  .hablemos-btn { padding: 1.1rem 1.5rem; font-size: .85rem; }
}

/* ── PROYECTOS — separación entre showreel y tile ─────────────── */
.projects { padding-top: 2rem; }


/* ════════════════════════════════════════════════════════════════════
   ── MODOS v2 — imagen + texto + grid 2x2 ──────────────────────────
   ════════════════════════════════════════════════════════════════════ */

/* Override del modos-display: bajar margen porque ahora viene un feature debajo */
.modos .modos-display { margin-bottom: 2.5rem; }

/* Hero del bloque: imagen + texto lado a lado */
.modos-feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--divider);
}
.modos-feature-img {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--ink-2);
  aspect-ratio: 4 / 3;
}
.modos-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--ease-out), filter 1.2s var(--ease-out);
  filter: grayscale(15%) contrast(1.05);
}
.modos-feature-img:hover img { transform: scale(1.03); filter: grayscale(0%) contrast(1.1); }
.modos-feature-img figcaption {
  position: absolute;
  bottom: .9rem;
  left: 1rem;
  font-family: var(--f-mono, 'JetBrains Mono', monospace);
  font-size: .7rem;
  letter-spacing: .2em;
  color: var(--bone);
  padding: .35rem .6rem;
  background: rgba(10,10,10,.7);
  backdrop-filter: blur(8px);
  text-transform: uppercase;
}

.modos-feature-text { display: flex; flex-direction: column; gap: 1.25rem; }
.modos-feature-text p {
  font-size: clamp(.98rem, 1.1vw, 1.08rem);
  line-height: 1.65;
  color: rgba(244,241,234,.82);
  margin: 0;
}
.modos-feature-text p.lead {
  font-family: var(--f-editorial);
  font-size: clamp(1.15rem, 1.55vw, 1.45rem);
  line-height: 1.45;
  color: var(--bone);
  font-weight: 400;
  letter-spacing: -.005em;
}

/* Grid 2x2 de modo-cards */
.modos-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--divider);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}
.modo-card {
  background: var(--ink);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background .35s var(--ease-out);
  cursor: default;
}
.modo-card:hover { background: var(--ink-2); }
.modo-card:hover .mc-tag { color: var(--lime); }

.mc-tag {
  font-family: var(--f-mono, 'JetBrains Mono', monospace);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(244,241,234,.5);
  transition: color .3s var(--ease-out);
}
.modo-card h3 {
  font-family: var(--f-display);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--bone);
  margin: 0;
  font-weight: 400;
}
.modo-card p {
  font-size: .95rem;
  line-height: 1.55;
  color: rgba(244,241,234,.7);
  margin: 0;
}

@media (max-width: 800px) {
  .modos-feature { grid-template-columns: 1fr; gap: 1.5rem; }
  .modos-feature-img { aspect-ratio: 16 / 10; }
}
@media (max-width: 600px) {
  .modos-grid { grid-template-columns: 1fr; }
}


/* ════════════════════════════════════════════════════════════════════
   ── v9 — cámara scroll · social proof · jerarquía proyectos ──────────
   ════════════════════════════════════════════════════════════════════ */

.modos-feature-img.full {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 9;
  margin: 0 0 clamp(3rem, 6vw, 5rem);
}
@media (max-width: 700px) {
  .modos-feature-img.full { aspect-ratio: 16 / 10; }
}

/* ── CÁMARA — dentro de Modos, gira con el scroll ───────────────── */
.modos-camera {
  width: 100%;
  margin: 0 0 clamp(3rem, 6vw, 5rem);
  filter: drop-shadow(0 30px 55px rgba(0,0,0,.5));
}
.modos-camera canvas {
  width: 100%;
  height: auto;
  display: block;
  max-width: 720px;
  margin: 0 auto;
}

/* Scroll button (texto + flecha) */
.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: var(--f-mono, 'JetBrains Mono', monospace);
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(244,241,234,.6);
  transition: color .3s var(--ease-out);
}
.hero-scroll:hover { color: var(--lime); }
.hero-scroll .scroll-arrow {
  display: inline-block;
  animation: scrollBob 1.8s ease-in-out infinite;
}
@keyframes scrollBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ── SOCIAL PROOF ───────────────────────────────────────────────── */
.proof {
  padding: clamp(4.5rem, 10vw, 8rem) 0;
  background: var(--ink-2);
  border-top: 1px solid var(--divider);
}
.proof-label {
  display: block;
  font-family: var(--f-mono, 'JetBrains Mono', monospace);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(244,241,234,.45);
  margin-bottom: 1.75rem;
  text-align: center;
}
.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--divider);
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}
.logo-slot {
  font-family: var(--f-mono, 'JetBrains Mono', monospace);
  font-size: .8rem;
  letter-spacing: .1em;
  color: rgba(244,241,234,.3);
  border: 1px dashed var(--divider-2);
  padding: 1rem 1.5rem;
  border-radius: 2px;
  transition: color .3s, border-color .3s;
}
.logo-slot:hover { color: var(--lime); border-color: var(--lime-line); }

.proof-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--divider);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}
.stat {
  background: var(--ink-2);
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.stat-num {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--lime);
}
.stat-label {
  font-size: .85rem;
  letter-spacing: .03em;
  color: rgba(244,241,234,.65);
}

.proof-quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.quote {
  margin: 0;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--divider);
  background: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: border-color .35s var(--ease-out);
}
.quote:hover { border-color: var(--lime-line); }
.quote blockquote {
  margin: 0;
  font-family: var(--f-editorial);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.5;
  color: var(--bone);
  font-style: italic;
}
.quote figcaption {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--divider);
}
.q-name {
  font-weight: 600;
  font-size: .92rem;
  color: var(--bone);
  font-style: normal;
}
.q-role {
  font-family: var(--f-mono, 'JetBrains Mono', monospace);
  font-size: .75rem;
  letter-spacing: .08em;
  color: rgba(244,241,234,.5);
}

@media (max-width: 800px) {
  .proof-stats { grid-template-columns: 1fr 1fr; }
  .proof-quotes { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .proof-stats { grid-template-columns: 1fr; }
}

/* ── PROYECTOS — jerarquía ──────────────────────────────────────── */
.projects-grid.secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}
.proj-video .pv-desc {
  font-size: .92rem;
  line-height: 1.5;
  color: rgba(244,241,234,.65);
  margin: .5rem 0 1rem;
}
.proj-video.feature .pv-desc {
  font-size: clamp(.98rem, 1.15vw, 1.08rem);
  color: rgba(244,241,234,.78);
  max-width: 60ch;
}
.proj-video .pv-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--f-mono, 'JetBrains Mono', monospace);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--lime);
  transition: gap .3s var(--ease-out);
}
.proj-video:hover .pv-cta { gap: .9rem; }
.proj-video .pv-cta svg { transition: transform .3s var(--ease-out); }
.proj-video:hover .pv-cta svg { transform: translateX(3px); }

/* Secondary project tiles: smaller play button */
.projects-grid.secondary .pv-play {
  width: 44px; height: 44px;
}
.projects-grid.secondary .pv-meta h3 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

/* Placeholder tile (empty slot for future projects) */
.proj-placeholder {
  border: 1px dashed var(--divider-2);
  background: transparent;
  display: flex;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  min-height: 220px;
}
.proj-placeholder .pv-meta { opacity: .55; }
.proj-placeholder h3 {
  font-family: var(--f-display);
  text-transform: uppercase;
  color: rgba(244,241,234,.6);
  font-weight: 400;
  margin: .5rem 0;
}

@media (max-width: 700px) {
  .projects-grid.secondary { grid-template-columns: 1fr; }
}


/* ════════════════════════════════════════════════════════════════════
   ── v14 — video grid · pasarela diseño · fotografía · lightbox ──────
   ════════════════════════════════════════════════════════════════════ */

/* ── VIDEO GRID (2 horizontales + 1 vertical) ───────────────────── */
.works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2.2vw, 1.75rem);
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.work .work-media { aspect-ratio: 16 / 9; }
.work {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background: var(--ink-2);
}

.work-media {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.work-wide .work-media { aspect-ratio: 16 / 9; }
.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.1s var(--ease-out), filter .6s var(--ease-out);
  filter: grayscale(28%) contrast(1.04);
}
.work:hover .work-media img { transform: scale(1.045); filter: grayscale(0%) contrast(1.08); }
.work-grain {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,.05), rgba(10,10,10,.55));
  pointer-events: none;
  transition: opacity .5s var(--ease-out);
}
.work:hover .work-grain { opacity: .6; }
.work-play {
  position: absolute;
  left: 1.1rem; bottom: 1.1rem;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(10,10,10,.55);
  border: 1px solid var(--divider-2);
  color: var(--bone);
  backdrop-filter: blur(10px);
  transition: background .35s var(--ease-out), color .35s var(--ease-out),
              border-color .35s var(--ease-out), transform .35s var(--ease-out);
}
.work:hover .work-play {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
  transform: scale(1.08);
}
.work:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

@media (max-width: 760px) {
  .works-grid { grid-template-columns: 1fr; }
}

/* ── DISEÑO — pasarela horizontal ───────────────────────────────── */
.design {
  padding: clamp(4.5rem, 10vw, 8rem) 0;
  background: var(--ink-2);
  border-top: 1px solid var(--divider);
  overflow: hidden;
}
.design-display,
.photo-display {
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: .92;
  letter-spacing: -.025em;
  text-transform: uppercase;
  color: var(--bone);
  margin: 2rem 0 0;
  font-weight: 400;
}
.design-display em,
.photo-display em {
  font-family: var(--f-editorial);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -.02em;
  color: var(--lime);
}
.design-display .dot,
.photo-display .dot { color: var(--lime); }

/* ── FOTOGRAFÍA ─────────────────────────────────────────────────── */
.photo {
  padding: clamp(4.5rem, 10vw, 8rem) 0;
  background: var(--ink);
  border-top: 1px solid var(--divider);
}
/* ── LIGHTBOX de imágenes ───────────────────────────────────────── */
.img-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(6,6,6,.96);
  backdrop-filter: blur(14px);
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 5vw, 4rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease-out), visibility .4s;
}
.img-modal.is-open { opacity: 1; visibility: visible; }
.img-modal img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border: 1px solid var(--divider);
  transform: scale(.97);
  transition: transform .45s var(--ease-out);
}
.img-modal.is-open img { transform: scale(1); }
.img-close {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: none;
  border: 1px solid var(--divider-2);
  color: var(--bone);
  padding: .6rem 1rem;
  font-family: var(--f-mono, 'JetBrains Mono', monospace);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.img-close:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }


/* ════════════════════════════════════════════════════════════════════
   ── v17 — pasarela automática (marquee) diseño + fotografía ────────
   ════════════════════════════════════════════════════════════════════ */

.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  /* difuminado en los bordes para que entren y salgan suave */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.mq-track {
  display: flex;
  width: max-content;
  gap: clamp(1rem, 2vw, 1.5rem);
  animation: mqScroll var(--mq-duration, 70s) linear infinite;
  will-change: transform;
}
@keyframes mqScroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
.marquee:hover .mq-track { animation-play-state: paused; }

.mq-item {
  flex: 0 0 auto;
  width: clamp(300px, 34vw, 560px);
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--divider);
  cursor: pointer;
  transition: border-color .4s var(--ease-out);
}
.mq-item img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
  opacity: .82;
  transition: transform 1s var(--ease-out), opacity .5s var(--ease-out);
  -webkit-user-drag: none;
  user-select: none;
}
.mq-item:hover { border-color: var(--lime-line); }
.mq-item:hover img { opacity: 1; transform: scale(1.03); }

/* Fotografía: piezas verticales 4:5 */
.mq-item.mq-portrait { width: clamp(220px, 22vw, 330px); border: none; background: var(--ink-2); }
.mq-item.mq-portrait img {
  aspect-ratio: 4 / 5;
  object-position: center;
  filter: grayscale(18%);
  opacity: .9;
}
.mq-item.mq-portrait:hover img { filter: grayscale(0%); opacity: 1; }

@media (max-width: 600px) {
  .mq-item { width: clamp(240px, 78vw, 380px); }
  .mq-item.mq-portrait { width: clamp(180px, 55vw, 260px); }
}
@media (prefers-reduced-motion: reduce) {
  .mq-track { animation: none; }
  .marquee { overflow-x: auto; }
}



/* ════════════════════════════════════════════════════════════════════
   ── v18 — seguridad (sin inline), accesibilidad y pulido ─────────────
   ════════════════════════════════════════════════════════════════════ */

/* Anti-FOUC (antes era un <style> inline en el head) */
html.no-css-loaded { background: var(--ink); }
html.no-css-loaded body > *:not(.page-loader) { visibility: hidden; }

/* Líneas de la grilla del hero (antes style="left:…") */
.grid-line.gl-25 { left: 25%; }
.grid-line.gl-50 { left: 50%; }
.grid-line.gl-75 { left: 75%; }

/* Bloqueo de scroll compartido por modales y menú */
body.is-locked { overflow: hidden; }

/* Skip link: invisible hasta que se navega con teclado */
.skip-link {
  position: fixed;
  top: .75rem; left: .75rem;
  z-index: 100000;
  padding: .7rem 1.1rem;
  background: var(--lime);
  color: var(--ink);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .04em;
  transform: translateY(-160%);
  transition: transform .25s var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

/* Foco visible coherente con la marca (solo teclado) */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}
.work:focus-visible,
.reel-wrap:focus-visible,
.mq-item:focus-visible { outline-offset: 6px; }
main section:focus { outline: none; }

/* Nav: sección activa */
.nav-links a.is-active { color: var(--lime); }
.nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }

/* Hero: más contraste detrás del texto (el sub quedaba sobre el logo de la foto) */
.hero-vignette {
  background:
    linear-gradient(90deg, rgba(10,10,10,.78) 0%, rgba(10,10,10,.45) 38%, transparent 65%),
    radial-gradient(ellipse at center, transparent 30%, rgba(10,10,10,.7) 90%),
    linear-gradient(180deg, rgba(10,10,10,.6) 0%, transparent 30%, transparent 60%, rgba(10,10,10,.95) 100%);
}
.hero-sub { text-shadow: 0 1px 18px rgba(0,0,0,.55); }

/* Pasarelas: pausa con foco de teclado */
.marquee.is-paused .mq-track { animation-play-state: paused; }

/* Lightbox: navegación + contador */
.img-modal img { opacity: 0; transition: transform .45s var(--ease-out), opacity .35s var(--ease-out); }
.img-modal img.is-ready { opacity: 1; }
.img-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border: 1px solid var(--divider-2);
  border-radius: 50%;
  color: var(--bone);
  background: rgba(10,10,10,.5);
  transition: background .3s, color .3s, border-color .3s;
  z-index: 2;
}
.img-nav:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.img-prev { left: clamp(.75rem, 3vw, 2rem); }
.img-next { right: clamp(.75rem, 3vw, 2rem); }
.img-count {
  position: absolute;
  bottom: clamp(1rem, 3vw, 2rem);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .2em;
  color: var(--muted);
}
.img-modal.single .img-nav,
.img-modal.single .img-count { display: none; }
@media (max-width: 600px) {
  .img-nav { width: 44px; height: 44px; top: auto; bottom: 1rem; transform: none; }
  .img-count { bottom: 1.9rem; }
}

/* Video modal: el video nunca más alto que la pantalla */
.yt-inner video { max-height: 86vh; background: #000; }

/* Menos movimiento si el sistema lo pide */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide { transition: none; }
  .reveal, .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; }
}
