/* ═══════════════════════════════════════════════════════════
   ANTARES PRODUCTIONS — main.css · v2
   Negro cine · Blanco película · Rojo señal · Gris acero
   Display: Cinzel · Serif: Marcellus · Sans: Inter · Mono: IBM Plex Mono
   ═══════════════════════════════════════════════════════════ */

/* ── Fonts ─────────────────────────────────────────────── */
@font-face {
  font-family: 'Cinzel';
  src: url('../assets/fonts/cinzel-400-700.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Marcellus';
  src: url('../assets/fonts/marcellus-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-var.woff2') format('woff2');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../assets/fonts/ibm-plex-mono-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../assets/fonts/ibm-plex-mono-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ── Theme tokens ──────────────────────────────────────── */
:root {
  --red: #DF352F;
  --display: 'Cinzel', 'Times New Roman', serif;
  --serif: 'Marcellus', Georgia, serif;
  --sans: 'Inter', -apple-system, 'Helvetica Neue', sans-serif;
  --mono: 'IBM Plex Mono', 'SF Mono', monospace;

  --pad: clamp(20px, 4.5vw, 72px);
  --section-gap: clamp(100px, 15vh, 190px);
  --wgap: clamp(18px, 2.1vw, 36px);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-inout: cubic-bezier(.65, 0, .35, 1);
}

body {
  /* dark act (default) */
  --bg: #090A0C;
  --bg2: #101216;
  --fg: #F2EEE6;
  --fg-70: rgba(242, 238, 230, .70);
  --fg-45: rgba(242, 238, 230, .45);
  --muted: #9AA0A8;
  --ln: rgba(242, 238, 230, .16);
  --ln-soft: rgba(242, 238, 230, .09);
  --dot: rgba(242, 238, 230, .18);
}
body.theme--light {
  /* blanco película act */
  --bg: #F2EEE6;
  --bg2: #E9E4D8;
  --fg: #0B0C0E;
  --fg-70: rgba(11, 12, 14, .74);
  --fg-45: rgba(11, 12, 14, .48);
  --muted: #626872;
  --ln: rgba(11, 12, 14, .22);
  --ln-soft: rgba(11, 12, 14, .11);
  --dot: rgba(11, 12, 14, .20);
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background-color .7s var(--ease-inout), color .7s var(--ease-inout);
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--red); color: #F2EEE6; }
:focus-visible { outline: 1px solid var(--red); outline-offset: 3px; }

.display {
  font-family: var(--display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  line-height: 1.06;
}

/* ── Film grain ────────────────────────────────────────── */
.grain {
  position: fixed; inset: -100px;
  background: url('../assets/img/grain.png') repeat;
  background-size: 160px;
  opacity: .045;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 2000;
  animation: grain .9s steps(4) infinite;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-40px, 30px); }
  50%  { transform: translate(30px, -50px); }
  75%  { transform: translate(-30px, -20px); }
  100% { transform: translate(0, 0); }
}

/* ── Dot-matrix texture ────────────────────────────────── */
.section--dotted,
.case--dotted {
  background-image: radial-gradient(var(--dot) 1.2px, transparent 1.7px);
  background-size: 25px 25px;
}
.section--dotted {
  -webkit-mask-image: radial-gradient(ellipse 100% 92% at 50% 45%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 100% 92% at 50% 45%, #000 62%, transparent 100%);
}

/* ── Preloader ─────────────────────────────────────────── */
.preloader {
  position: fixed; inset: 0; z-index: 5000;
  background: #090A0C;
  display: grid; place-items: center;
}
.preloader__logo {
  /* height must follow width or the 300px height attribute squashes the mark */
  width: min(300px, 56vw);
  height: auto;
  opacity: 0;
  transform: scale(.96);
}

/* ── Nav ───────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  column-gap: clamp(24px, 4vw, 60px);
  padding: 16px var(--pad);
  border-bottom: 1px solid transparent;
  transition: transform .5s var(--ease-out), background-color .5s, border-color .5s, padding .4s;
}
.nav--solid {
  background: color-mix(in srgb, var(--bg) 76%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--ln-soft);
  padding-block: 11px;
}
.nav--hidden { transform: translateY(-100%); }
.nav__brand { display: flex; align-items: center; gap: 13px; flex: none; }
.nav__mark { width: 32px; height: 32px; }
.nav__mark--light { display: none; }
body.theme--light .nav__mark--dark { display: none; }
body.theme--light .nav__mark--light { display: block; }
.nav__name {
  font-family: var(--display); font-weight: 500; font-size: 17px;
  letter-spacing: .36em; text-indent: .36em; padding-top: 3px;
}
.nav__links { display: flex; gap: clamp(18px, 2.6vw, 38px); }
.nav__links a {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  color: var(--fg-70); text-transform: uppercase;
  position: relative; padding: 4px 0;
  transition: color .3s;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--red);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav__links a:hover { color: var(--fg); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__side { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); }
.lang { display: flex; gap: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; }
.lang__opt { color: var(--fg-45); transition: color .3s; }
.lang__opt--active { color: var(--fg); }
.lang__sep { color: var(--fg-45); }
.nav__cta {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid var(--ln); border-radius: 999px;
  padding: 10px 20px;
  transition: border-color .35s, background-color .35s, color .35s;
}
.nav__cta:hover { border-color: var(--red); background: var(--red); color: #F2EEE6; }
.nav__burger { display: none; }

/* ── Mobile menu ───────────────────────────────────────── */
.menu {
  position: fixed; inset: 0; z-index: 850;
  background: #090A0C; color: #F2EEE6;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 110px var(--pad) 40px;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .7s var(--ease-inout), visibility 0s .7s;
}
.menu--open { clip-path: inset(0 0 0% 0); visibility: visible; transition: clip-path .7s var(--ease-inout); }
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  display: flex; align-items: baseline; gap: 18px;
  font-family: var(--serif);
  font-size: clamp(34px, 8.4vw, 58px); line-height: 1.4;
  border-bottom: 1px solid rgba(242, 238, 230, .09);
  padding: 8px 0;
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.menu--open .menu__links a { opacity: 1; transform: none; }
.menu--open .menu__links a:nth-child(1) { transition-delay: .18s; }
.menu--open .menu__links a:nth-child(2) { transition-delay: .24s; }
.menu--open .menu__links a:nth-child(3) { transition-delay: .30s; }
.menu--open .menu__links a:nth-child(4) { transition-delay: .36s; }
.menu--open .menu__links a:nth-child(5) { transition-delay: .42s; }
.menu__num { font-family: var(--mono); font-size: 11px; color: var(--red); letter-spacing: .1em; }
.menu__foot { display: flex; flex-direction: column; gap: 22px; }
.menu__wa {
  align-self: flex-start;
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid var(--red); border-radius: 999px;
  padding: 14px 26px;
}
.menu__tag { font-family: var(--mono); font-size: 9.5px; letter-spacing: .3em; color: #626872; }

/* ── Sections common ───────────────────────────────────── */
.section { padding: var(--section-gap) var(--pad) 0; max-width: 1720px; margin: 0 auto; }

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: clip;
  color: #F2EEE6;
}
.hero__media { position: absolute; inset: 0; }
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s var(--ease-inout);
}
.hero__video.is-active { opacity: 1; }
/* The product shots are lit against black, so a touch of contrast keeps them
   from reading as a flat dark rectangle behind the type. */
.hero__video { filter: brightness(1.05) contrast(1.06) saturate(1.05); }
/* The reel cuts between near-black product shots and bright snow, so the veil
   has to hold the type legible over both. The flat scrim is deliberately light
   (a heavy one crushes the dark shots) and the work is done by the bottom ramp,
   which is where the kicker, title and tagline actually sit. */
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(9,10,12,.16), rgba(9,10,12,.16)),
    radial-gradient(ellipse 130% 100% at 50% 42%, transparent 42%, rgba(9,10,12,.46) 100%),
    linear-gradient(180deg,
      rgba(9,10,12,.70) 0%, rgba(9,10,12,0) 24%,
      rgba(9,10,12,.12) 48%, rgba(9,10,12,.86) 84%, #090A0C 100%);
}
.hero__frame {
  position: absolute;
  inset: clamp(78px, 10vh, 118px) var(--pad) clamp(18px, 3.4vh, 34px);
  pointer-events: none;
}
.frame__corner { position: absolute; width: 20px; height: 20px; opacity: .5; }
.frame__corner--tl { top: 0; left: 0; border-top: 1px solid #F2EEE6; border-left: 1px solid #F2EEE6; }
.frame__corner--tr { top: 0; right: 0; border-top: 1px solid #F2EEE6; border-right: 1px solid #F2EEE6; }
.frame__corner--bl { bottom: 0; left: 0; border-bottom: 1px solid #F2EEE6; border-left: 1px solid #F2EEE6; }
.frame__corner--br { bottom: 0; right: 0; border-bottom: 1px solid #F2EEE6; border-right: 1px solid #F2EEE6; }
.hero__meta {
  position: absolute; top: 12px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .22em;
  color: rgba(242, 238, 230, .66);
}
.hero__meta--tl { left: 18px; }
.hero__meta--tr { right: 18px; display: flex; align-items: center; gap: 8px; }
.rec {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red); display: inline-block;
  animation: blink 1.6s steps(2) infinite;
}
@keyframes blink { 50% { opacity: .15; } }

.hero__content {
  position: relative; z-index: 2;
  padding: 0 var(--pad);
}
.hero__kicker {
  font-family: var(--mono); font-size: clamp(9.5px, 1.05vw, 12px);
  letter-spacing: .3em; text-transform: uppercase;
  color: rgba(242, 238, 230, .72);
  margin-bottom: clamp(16px, 2.6vh, 28px);
}
.hero__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(58px, 13vw, 224px);
  line-height: .92;
  display: flex; justify-content: space-between;
  user-select: none;
}
.hero__letter { display: inline-block; will-change: transform; }
.hero__foot {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  gap: 30px;
  padding: 0 calc(var(--pad) + 34px);
  margin-top: clamp(24px, 4.2vh, 46px);
  padding-bottom: clamp(54px, 8.4vh, 82px);
}
.hero__tagline {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--display); font-weight: 500;
  font-size: clamp(11px, 1.15vw, 15px);
  letter-spacing: .34em; text-indent: 0;
  color: rgba(242, 238, 230, .92);
  text-transform: uppercase;
  white-space: nowrap;
}
.hero__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red); flex: none;
}
.hero__roles {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .26em;
  color: rgba(242, 238, 230, .62); text-align: right;
}

/* ── Works ─────────────────────────────────────────────── */
.works__title-row {
  display: flex; align-items: baseline; gap: 24px;
  margin-bottom: clamp(34px, 5vh, 62px);
}
.works__title, .services__title, .brands__title {
  font-size: clamp(34px, 5.6vw, 84px);
}
.works__count { font-family: var(--mono); font-size: clamp(12px, 1.3vw, 16px); color: var(--muted); }

/* Two columns whose contents end on the same line: 2 landscape tiles are
   exactly as tall as 1 vertical + 1 landscape when the width ratio is 2.08.
   Native aspect ratios stay intact and no column is left with dead space. */
.works__list {
  display: grid;
  grid-template-columns: 2.08fr 1fr;
  gap: var(--wgap);
  align-items: start;
}
.works__col {
  display: flex; flex-direction: column;
  gap: var(--wgap);
  min-width: 0;
}
.work { min-width: 0; }

.work__media {
  position: relative; overflow: clip;
  aspect-ratio: 16 / 9;
  background: var(--bg2);
  cursor: pointer;
}
.work__media img, .work__media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  will-change: transform;
}
.work__media--tall { aspect-ratio: 9 / 16; }
.work__media video { opacity: 0; transition: opacity .5s; }
.work__media.is-playing video { opacity: 1; }
.work__tag {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  font-family: var(--mono); font-size: 9px; letter-spacing: .22em;
  color: #F2EEE6;
  border: 1px solid rgba(242, 238, 230, .4);
  padding: 5px 10px 4px;
  background: rgba(9, 10, 12, .35);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.work__play {
  position: absolute; left: 50%; top: 50%; z-index: 3;
  transform: translate(-50%, -50%) scale(.9);
  width: clamp(50px, 5vw, 72px); height: clamp(50px, 5vw, 72px); border-radius: 50%;
  border: 1px solid rgba(242, 238, 230, .55);
  background: rgba(9, 10, 12, .28);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  display: grid; place-items: center;
  color: #F2EEE6; font-size: 15px; text-indent: 3px;
  opacity: 0;
  transition: opacity .4s, transform .5s var(--ease-out);
}
.work:hover .work__play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
/* Caption below the frame. Name and category stack so every card's info
   block is the same height, which is what keeps the two columns level. */
.work__info {
  position: relative;
  margin-top: 14px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--ln-soft);
}
.work__info::after {
  content: ''; position: absolute; left: 0; bottom: -1px;
  width: 100%; height: 1px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease-out);
}
.work:hover .work__info::after { transform: scaleX(1); }
.work__index {
  font-family: var(--mono); font-size: clamp(9px, .85vw, 11px);
  color: var(--red); letter-spacing: .12em;
  margin-right: 14px;
}
.work__name {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(19px, 1.85vw, 29px); line-height: 1.1;
  display: flex; align-items: baseline;
}
.work__cat {
  margin-top: 6px;
  font-family: var(--mono); font-size: clamp(8px, .76vw, 9.5px);
  letter-spacing: .16em; color: var(--muted); text-transform: uppercase;
}
/* ── Studio (statement + value frames) ─────────────────── */
.studio { padding-bottom: clamp(40px, 6vh, 80px); }
.studio__statement {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(28px, 4.1vw, 58px);
  line-height: 1.32;
  max-width: 32ch;
}
.studio__statement .fw { display: inline-block; opacity: .13; will-change: opacity; }
.studio__values {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 34px);
  margin-top: clamp(64px, 10vh, 120px);
}
.vframe {
  position: relative;
  padding: clamp(30px, 3.4vw, 48px) clamp(24px, 2.6vw, 40px);
  text-align: center;
}
.vframe__c { position: absolute; width: 18px; height: 18px; opacity: .55; transition: opacity .4s; }
.vframe__c--tl { top: 0; left: 0; border-top: 1px solid var(--fg); border-left: 1px solid var(--fg); }
.vframe__c--tr { top: 0; right: 0; border-top: 1px solid var(--fg); border-right: 1px solid var(--fg); }
.vframe__c--bl { bottom: 0; left: 0; border-bottom: 1px solid var(--fg); border-left: 1px solid var(--fg); }
.vframe__c--br { bottom: 0; right: 0; border-bottom: 1px solid var(--fg); border-right: 1px solid var(--fg); }
.vframe:hover .vframe__c { opacity: 1; }
.vframe__num {
  font-family: var(--mono); font-size: 10px; color: var(--red); letter-spacing: .2em;
  display: block; margin-bottom: 16px;
}
.vframe__quote {
  font-family: var(--serif);
  font-size: clamp(19px, 1.8vw, 26px); line-height: 1.3;
}
.vframe__sub { color: var(--muted); font-size: 13.5px; margin-top: 10px; }

/* ── Services ──────────────────────────────────────────── */
.services__title { margin-bottom: clamp(44px, 7vh, 84px); }
.services__list { border-top: 1px solid var(--ln); }
.service {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 16px clamp(30px, 5vw, 90px);
  align-items: start;
  border-bottom: 1px solid var(--ln);
  padding: clamp(30px, 4.6vh, 52px) 0;
  transition: padding-left .5s var(--ease-out);
}
.service:hover { padding-left: clamp(8px, 1.2vw, 18px); }
.service__head { display: flex; align-items: baseline; gap: clamp(16px, 2.4vw, 34px); }
.service__num { font-family: var(--mono); font-size: 11px; color: var(--red); letter-spacing: .14em; flex: none; }
.service__name {
  font-family: var(--display); font-weight: 500; text-transform: uppercase;
  letter-spacing: .06em;
  font-size: clamp(20px, 2.6vw, 38px); line-height: 1.14;
}
.service__desc { color: var(--fg-70); font-size: clamp(14px, 1.15vw, 16px); max-width: 52ch; }
.service__meta {
  margin-top: 13px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em;
  color: var(--muted); text-transform: uppercase;
}

/* ── Brands ────────────────────────────────────────────── */
.brands__title { margin-bottom: 18px; }
.brands__intro {
  font-family: var(--serif);
  font-size: clamp(17px, 1.7vw, 23px);
  color: var(--fg-70);
  max-width: 44ch;
  margin-bottom: clamp(46px, 7vh, 84px);
}
.brands__list {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 2.6vw, 40px);
}
.case {
  position: relative; overflow: clip;
  border: 1px solid var(--ln);
  background-color: var(--bg);
  padding: clamp(28px, 3.2vw, 46px);
  display: flex; gap: clamp(20px, 2.4vw, 36px);
  transition: border-color .4s, transform .5s var(--ease-out), box-shadow .5s;
}
.case:hover {
  transform: translateY(-5px);
  border-color: var(--fg-45);
  box-shadow: 0 24px 60px -30px rgba(9, 10, 12, .35);
}
.case__media {
  flex: none; width: clamp(96px, 10vw, 150px);
  aspect-ratio: 9 / 16;
  overflow: clip; background: var(--bg2);
}
.case__media video, .case__media img { width: 100%; height: 100%; object-fit: cover; }
.case__media--photo img { object-position: 50% 30%; }

/* ── Formats · the rate card contents, minus the prices ── */
.formats__head { margin-bottom: clamp(38px, 6vh, 68px); }
.formats__intro {
  margin-top: 18px; max-width: 54ch;
  color: var(--fg-70); font-size: clamp(14px, 1.15vw, 16px);
}
.formats__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 5vh, 56px) clamp(30px, 5vw, 90px);
  align-items: start;
}
.fgroup__name {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-weight: 400;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  padding-bottom: 13px; border-bottom: 1px solid var(--ln);
}
.fgroup__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--red); flex: none; }
.fgroup__list { list-style: none; margin: 0; padding: 0; }
.fitem { padding: 14px 0; border-bottom: 1px solid var(--ln); }
.fitem__name {
  display: block; font-family: var(--serif); font-weight: 400;
  font-size: clamp(16px, 1.5vw, 20px); line-height: 1.25;
}
.fitem__note {
  display: block; margin-top: 5px;
  color: var(--fg-70); font-size: clamp(12.5px, 1vw, 13.5px); line-height: 1.5;
}
.formats__note {
  margin-top: clamp(32px, 5vh, 56px);
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--fg-70);
}
.formats__note a {
  color: var(--fg); border-bottom: 1px solid var(--fg-45);
  transition: color .3s var(--ease-out), border-color .3s var(--ease-out);
}
.formats__note a:hover { color: var(--red); border-color: var(--red); }

/* Featured case: spans the row and carries the growth numbers */
.case--featured { grid-column: 1 / -1; }
.case--featured .case__media { width: clamp(120px, 14vw, 200px); }
.case__stats {
  display: flex; flex-wrap: wrap;
  gap: 14px clamp(22px, 3.4vw, 52px);
  margin-top: 6px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat b {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(21px, 2.3vw, 32px); line-height: 1;
}
.stat i {
  font-family: var(--mono); font-style: normal;
  font-size: 9px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}
.case__body { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.case__head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.case__name {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(26px, 2.8vw, 40px); line-height: 1.05;
}
.case__icon {
  width: 26px; height: 26px; flex: none;
  color: var(--muted);
  transition: color .35s, transform .4s var(--ease-out);
}
.case:hover .case__icon { color: var(--red); transform: translateY(-2px); }
.case__role {
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em;
  color: var(--red); text-transform: uppercase;
}
.case__desc { color: var(--fg-70); font-size: 14.5px; max-width: 46ch; }
.case__platform {
  margin-top: auto; padding-top: 16px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .3em;
  color: var(--muted);
}

/* ── Contact (final cut) ───────────────────────────────── */
.contact {
  padding-bottom: var(--section-gap);
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.contact__title {
  font-size: clamp(30px, 5vw, 76px);
  max-width: 16ch;
}
.contact__dash {
  width: 34px; height: 3px; background: var(--red);
  margin: clamp(28px, 4.6vh, 46px) 0;
}
.contact__wa {
  display: inline-flex; align-items: center; gap: 20px;
  background: var(--red); color: #F2EEE6;
  border-radius: 999px;
  padding: clamp(18px, 2.4vw, 26px) clamp(30px, 3.6vw, 50px);
  font-family: var(--mono); font-size: clamp(11px, 1.1vw, 13px);
  letter-spacing: .18em; text-transform: uppercase;
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.contact__wa:hover { transform: translateY(-3px); box-shadow: 0 18px 44px -16px rgba(223, 53, 47, .6); }
.contact__wa-arrow { font-size: 20px; transition: transform .35s var(--ease-out); }
.contact__wa:hover .contact__wa-arrow { transform: translateX(6px); }
.contact__meta {
  display: flex; align-items: center; flex-wrap: wrap; justify-content: center;
  gap: 16px clamp(16px, 2vw, 26px);
  margin-top: clamp(40px, 6.4vh, 70px);
  font-family: var(--mono); font-size: clamp(9.5px, 1vw, 11px);
  letter-spacing: .22em; color: var(--muted);
}
.contact__meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--red); }

/* ── Footer ────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--ln-soft);
  background: #090A0C; color: #F2EEE6;
  padding: clamp(50px, 8vh, 90px) var(--pad) 36px;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  text-align: center;
}
.footer__brand { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.footer__word {
  font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: .4em; text-indent: .4em;
}
.footer__dash { width: 26px; height: 2px; background: var(--red); }
.footer__slogan { font-family: var(--mono); font-size: 9px; letter-spacing: .34em; color: #626872; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 14px; }
.footer__links a {
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em;
  color: rgba(242, 238, 230, .6); text-transform: uppercase;
  transition: color .3s;
}
.footer__links a:hover { color: #F2EEE6; }
.footer__legal { font-size: 11.5px; color: #626872; margin-top: 18px; }

/* ── Lightbox (always dark) ────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 3000;
  display: grid; place-items: center;
  color: #F2EEE6;
  visibility: hidden; opacity: 0;
  transition: opacity .45s, visibility 0s .45s;
}
.lightbox--open { visibility: visible; opacity: 1; transition: opacity .45s; }
.lightbox__veil {
  position: absolute; inset: 0;
  background: rgba(9, 10, 12, .93);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.lightbox__stage {
  position: relative; z-index: 2;
  width: min(1200px, 92vw);
  transform: translateY(24px) scale(.985);
  transition: transform .5s var(--ease-out);
}
.lightbox--open .lightbox__stage { transform: none; }
.lightbox__stage video {
  width: 100%; max-height: 76vh;
  background: #000;
  object-fit: contain;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .6);
}
.lightbox--vertical .lightbox__stage { width: min(430px, 86vw); }
.lightbox__info {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 26px;
  padding-top: 18px;
}
.lightbox__title { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.6vw, 32px); }
.lightbox__cat { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; color: #9AA0A8; text-transform: uppercase; margin-top: 4px; }
.lightbox__spec {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em;
  color: #9AA0A8; max-width: 34ch; text-align: right;
  display: none;
}
.lightbox--spec .lightbox__spec { display: block; }
.lightbox__close {
  position: absolute; top: 22px; right: max(22px, var(--pad)); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(242, 238, 230, .25);
  display: grid; place-items: center;
  font-size: 15px;
  transition: border-color .3s, background-color .3s;
}
.lightbox__close:hover { border-color: var(--red); background: var(--red); }
.lightbox__nav {
  position: absolute; top: 50%; z-index: 3;
  transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(242, 238, 230, .25);
  font-size: 17px;
  transition: border-color .3s, background-color .3s;
}
.lightbox__nav:hover { border-color: var(--red); background: var(--red); }
.lightbox__nav--prev { left: max(18px, calc(var(--pad) - 20px)); }
.lightbox__nav--next { right: max(18px, calc(var(--pad) - 20px)); }

/* ── Reveal helpers ────────────────────────────────────── */
[data-reveal] { opacity: 1; }
.js [data-reveal] { opacity: 0; transform: translateY(34px); }
/* Split containers clip; GSAP owns transforms — never set translateY here
   (a CSS transform would poison GSAP's px/% cache and strand the text). */
.js [data-split] .w { display: inline-block; overflow: clip; vertical-align: bottom; }
.js [data-split] .w > i { display: inline-block; font-style: inherit; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1180px) {
  .service { grid-template-columns: 1fr; gap: 14px; }
  .service__body { padding-left: clamp(28px, 4vw, 50px); }
}
@media (max-width: 1024px) {
  .brands__list { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .works__list { grid-template-columns: 1fr; }
}
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  /* A 2x2 dot cluster rather than a hamburger: it picks up the dot-matrix that
     runs through the rest of the site, and rotating it 45deg reads as "close"
     without needing a second icon. */
  .nav__burger {
    display: flex; align-items: center; gap: 9px;
    padding: 6px 0; color: var(--fg);
  }
  .burger__dots {
    display: grid; grid-template-columns: repeat(2, 5px); gap: 4px;
    flex: none; transition: transform .45s var(--ease-out);
  }
  .burger__dots i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
  /* Both words share one grid cell, so the button is as wide as the longer of
     the two ("Cerrar" > "Menú") and never reflows when the label swaps. */
  .burger__word {
    display: grid;
    font-family: var(--mono); font-size: 10px; letter-spacing: .16em;
    text-transform: uppercase; line-height: 1;
  }
  .burger__w { grid-area: 1 / 1; transition: opacity .3s linear; }
  .burger__w--close { opacity: 0; }
  .nav__burger[aria-expanded="true"] .burger__dots { transform: rotate(45deg); }
  .nav__burger[aria-expanded="true"] .burger__w--open { opacity: 0; }
  .nav__burger[aria-expanded="true"] .burger__w--close { opacity: 1; }
}
@media (max-width: 860px) {
  .hide-sm { display: none; }
  .hero__roles { display: none; }
  .hero__foot { padding: 0 var(--pad) clamp(54px, 8.4vh, 82px); justify-content: flex-start; }
  .studio__values { grid-template-columns: 1fr; gap: 16px; }
  .formats__grid { grid-template-columns: 1fr; }
  .case { flex-direction: column; }
  /* Stacked on phones the photo sits on its own above the copy, so centre it and
     give it more presence than it has as a sidebar thumbnail. The featured rule
     is repeated because its selector outranks this one outside the query. */
  .case__media,
  .case--featured .case__media { width: min(220px, 52vw); margin-inline: auto; }
  .lightbox__info { flex-direction: column; align-items: flex-start; }
  .lightbox__spec { text-align: left; }
  .lightbox__nav { display: none; }
}
@media (max-width: 480px) {
  :root { --pad: 18px; }
  .nav__name { font-size: 14px; }
  .hero__title { font-size: clamp(46px, 14.5vw, 70px); }
}

/* ── Reduced motion ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001s !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .studio__statement .fw { opacity: 1; }
  .grain { display: none; }
}
