/* ==========================================================
   CHOCHO PRODUCCIONES — chochoproducciones.com
   Manual de marca 2026: Bowlby One SC (títulos),
   Superpop Bold (subtítulos, mayús, tracking -40), Quiroh (cuerpo)
   ========================================================== */

/* Si tenés las licencias de Superpop y Quiroh, subí los archivos a /fonts
   y descomentá esto. Mientras tanto se usan Fredoka y Figtree como reemplazo.
@font-face { font-family: "Superpop"; src: url("fonts/Superpop-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Quiroh"; src: url("fonts/Quiroh-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Quiroh"; src: url("fonts/Quiroh-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
*/

:root {
  --blue: #122997;
  --red: #830323;
  --yellow: #fab237;
  --cream: #f1e2db;
  --ink: #1a1a1a;
  --white: #fff;

  --f-title: "Bowlby One SC", "Arial Black", sans-serif;
  --f-sub: "Superpop", "Fredoka", "Arial Rounded MT Bold", sans-serif;
  --f-body: "Quiroh", "Figtree", system-ui, sans-serif;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-pop: cubic-bezier(.34, 1.56, .64, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --radius: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: clamp(17px, 1.15vw, 20px);
  line-height: 1.5;
  overflow-x: hidden;
}
html, body, main { overflow-x: clip; }
body.is-loading { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--yellow); color: var(--blue); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.sub {
  font-family: var(--f-sub);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.04em;
}
.title {
  font-family: var(--f-title);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: -0.01em;
  margin: 0;
}

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--blue);
  display: grid; place-items: center;
  color: var(--cream);
  transition: clip-path 1s var(--ease-out);
  clip-path: inset(0 0 0 0);
}
.loader.is-done { clip-path: inset(0 0 100% 0); }
/* videos de intro: ocupan toda la pantalla, uno tras otro */
.loader__videos { position: absolute; inset: 0; z-index: 0; }
.loader__videos video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06);
  transition: opacity .6s ease, transform 1.4s var(--ease-out);
}
.loader__videos video.is-on { opacity: 1; transform: none; }
.loader.has-videos::after { /* tinte azul suave para que el logo y la carga se lean */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(18, 41, 151, .55) 0%, rgba(18, 41, 151, 0) 35%, rgba(18, 41, 151, 0) 60%, rgba(18, 41, 151, .7) 100%);
}
.loader > *:not(.loader__videos) { z-index: 2; }

/* logo arriba a la izquierda */
.loader__logo { position: absolute; top: var(--gutter); left: var(--gutter); width: clamp(110px, 14vw, 190px); }
.loader__logo svg.stack { width: 100%; height: auto; aspect-ratio: 423 / 325; color: var(--cream); animation: loaderIn .9s var(--ease-out) both; }
.loader__logo .bubble {
  position: absolute; width: 40%; right: -24%; top: -26%;
  animation: popIn .6s .45s var(--ease-pop) both;
}
.loader__count { position: absolute; bottom: calc(var(--gutter) + 14px); right: var(--gutter); font-family: var(--f-title); font-size: clamp(40px, 8vw, 96px); color: var(--yellow); line-height: 1; font-variant-numeric: tabular-nums; }
.loader__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: rgba(241, 226, 219, .2); }
.loader__bar i { display: block; height: 100%; width: 100%; background: var(--yellow); transform-origin: left; transform: scaleX(0); }
.loader__skip {
  position: absolute; top: var(--gutter); right: var(--gutter);
  padding: 10px 18px; border-radius: 999px; background: rgba(241, 226, 219, .15); color: var(--cream);
  box-shadow: inset 0 0 0 2px var(--cream);
  font-family: var(--f-sub); font-weight: 700; text-transform: uppercase; letter-spacing: -0.04em; font-size: 15px;
  opacity: 0; pointer-events: none; transition: opacity .4s, background .3s, color .3s;
}
.loader.has-videos .loader__skip { opacity: 1; pointer-events: auto; }
.loader__skip:hover { background: var(--yellow); color: var(--blue); box-shadow: none; }
@keyframes loaderIn { from { transform: translateY(40%) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 90; pointer-events: none;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--yellow); mix-blend-mode: normal;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), background .3s;
  display: grid; place-items: center;
  font-family: var(--f-sub); font-weight: 700; text-transform: uppercase; letter-spacing: -0.04em; font-size: 13px; color: var(--blue);
}
.cursor span { opacity: 0; transition: opacity .2s; }
.cursor.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
.cursor.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; }
.cursor.is-label span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  transition: transform .5s var(--ease-out);
  pointer-events: none;
}
.header > * { pointer-events: auto; }
.header.is-hidden { transform: translateY(-120%); }
.header__logo { display: flex; align-items: center; gap: 10px; color: var(--blue); }
.header__logo svg { width: clamp(110px, 12vw, 150px); height: auto; aspect-ratio: 559 / 108; }
.header__right { display: flex; gap: 10px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px;
  font-family: var(--f-sub); font-weight: 700; text-transform: uppercase; letter-spacing: -0.04em; font-size: 16px;
  background: var(--blue); color: var(--cream);
  transition: transform .4s var(--ease-pop), background .3s, color .3s;
  position: relative; overflow: hidden;
}
.pill:hover { transform: rotate(-3deg) scale(1.05); background: var(--yellow); color: var(--blue); }
.pill--ghost { background: var(--cream); color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue); }
.pill__dots { display: grid; grid-template-columns: repeat(2, 5px); gap: 3px; }
.pill__dots i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; transition: transform .4s var(--ease-pop); }
.pill:hover .pill__dots i:nth-child(1) { transform: translate(8px, 0); }
.pill:hover .pill__dots i:nth-child(4) { transform: translate(-8px, 0); }
.header.on-dark .header__logo { color: var(--cream); }
.header.on-dark .pill--ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 2px var(--cream); }
.header.on-dark .pill:not(.pill--ghost) { background: var(--yellow); color: var(--blue); }
.header__logo, .header .pill { transition: color .3s, background .3s, box-shadow .3s, transform .4s var(--ease-pop); }
@media (max-width: 640px) { .header .pill--ghost { display: none; } }

/* ---------- Menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 70;
  background: var(--blue); color: var(--cream);
  clip-path: circle(0% at calc(100% - 70px) 40px);
  transition: clip-path .9s var(--ease-out);
  display: grid; grid-template-rows: auto 1fr auto;
  padding: 18px var(--gutter) var(--gutter);
  overflow: hidden;
  visibility: hidden;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 70px) 40px); visibility: visible; }
.menu__top { display: flex; justify-content: space-between; align-items: center; }
.menu__top .header__logo { color: var(--cream); }
.menu__close { background: var(--yellow); color: var(--blue); }
.menu__list { list-style: none; margin: 0; padding: 0; align-self: center; }
.menu__list li { overflow: hidden; }
.menu__list a {
  display: inline-flex; align-items: center; gap: .3em;
  font-family: var(--f-title); text-transform: uppercase;
  font-size: clamp(44px, 9vw, 130px); line-height: .98;
  transform: translateY(105%); transition: transform .8s var(--ease-out), color .3s;
}
.menu.is-open .menu__list a { transform: none; }
.menu__list li:nth-child(2) a { transition-delay: .05s; }
.menu__list li:nth-child(3) a { transition-delay: .1s; }
.menu__list li:nth-child(4) a { transition-delay: .15s; }
.menu__list li:nth-child(5) a { transition-delay: .2s; }
.menu__list a:hover { color: var(--yellow); }
.menu__list a sup { font-family: var(--f-sub); font-size: .18em; letter-spacing: -0.04em; align-self: flex-start; margin-top: .6em; color: var(--yellow); }
.menu__peek {
  position: fixed; z-index: 71; width: clamp(140px, 16vw, 230px); pointer-events: none;
  top: 0; left: 0; transform: translate(-50%, -50%) scale(0) rotate(-15deg);
  transition: transform .45s var(--ease-pop);
}
.menu__peek.is-on { transform: translate(30%, -70%) scale(1) rotate(6deg); }
.menu__peek svg { width: 100%; height: auto; aspect-ratio: 150 / 114; position: absolute; top: 0; left: 0; opacity: 0; transition: opacity .2s; }
.menu__peek svg.is-on { opacity: 1; position: relative; }
.menu__bottom { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-family: var(--f-sub); font-weight: 700; text-transform: uppercase; letter-spacing: -0.04em; }
.menu__bottom a:hover { color: var(--yellow); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center;
  padding: 110px var(--gutter) 60px;
  overflow: hidden;
}
.hero__inner { position: relative; width: min(100%, 1240px); text-align: center; z-index: 2; }
.hero__eyebrow { width: min(62%, 640px); margin: 0 auto clamp(10px, 1.5vw, 22px); color: var(--red); }
.hero__eyebrow svg { width: 100%; height: auto; aspect-ratio: 561 / 59; }
.hero__word { position: relative; color: var(--blue); }
.hero__word svg.word { width: 100%; height: auto; aspect-ratio: 559 / 108; }
.hero__lede {
  max-width: 34ch; margin: clamp(24px, 3vw, 44px) auto 0;
  font-size: clamp(18px, 1.5vw, 24px); color: var(--blue);
}
.hero__lede strong { font-weight: 600; }
.hero__cta { margin-top: 28px; display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn-big {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 30px; border-radius: 999px;
  background: var(--red); color: var(--cream);
  font-family: var(--f-sub); font-weight: 700; text-transform: uppercase; letter-spacing: -0.04em; font-size: clamp(17px, 1.3vw, 21px);
  transition: transform .45s var(--ease-pop), background .3s, color .3s;
}
.btn-big:hover { transform: rotate(2deg) scale(1.06); background: var(--yellow); color: var(--blue); }
.btn-big .arrow { display: inline-block; transition: transform .4s var(--ease-pop); }
.btn-big:hover .arrow { transform: translateX(6px) rotate(-45deg); }

/* reveal by mask (title words) */
.mask { overflow: hidden; display: block; }
.mask > * { transform: translateY(110%); transition: transform 1.1s var(--ease-out); }
.is-ready .mask > * { transform: none; }
.is-ready .hero__word .mask > * { transition-delay: .12s; }
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.is-ready .hero .fade-up { opacity: 1; transform: none; transition-delay: .5s; }
.is-ready .hero .fade-up + .fade-up { transition-delay: .65s; }

/* floating bubbles */
.floaty { position: absolute; z-index: 3; width: clamp(80px, 11vw, 170px); will-change: transform; }
.floaty__in { transform: scale(0) rotate(-20deg); transition: transform .8s var(--ease-pop); }
.is-ready .floaty__in { transform: scale(1) rotate(var(--r, 0deg)); }
.floaty svg { width: 100%; height: auto; aspect-ratio: 150 / 114; animation: bob var(--d, 5s) ease-in-out infinite alternate; filter: drop-shadow(0 10px 0 rgba(18, 41, 151, .12)); }
.floaty:hover svg { animation-play-state: paused; }
.floaty__in:hover { transform: scale(1.12) rotate(calc(var(--r, 0deg) * -1)); }
@keyframes bob { from { translate: 0 -8px; rotate: -3deg; } to { translate: 0 10px; rotate: 4deg; } }
@keyframes popIn { from { transform: scale(0) rotate(-25deg); } to { transform: scale(1) rotate(6deg); } }

.f1 { top: 14%; left: 6%; --r: -10deg; --d: 4.6s; }
.f2 { top: 12%; right: 8%; --r: 8deg; --d: 5.4s; }
.f3 { bottom: 14%; left: 10%; --r: 6deg; --d: 5s; }
.f4 { bottom: 10%; right: 12%; --r: -8deg; --d: 4.2s; }
.f5 { top: 46%; right: 2%; --r: 12deg; --d: 6s; width: clamp(64px, 8vw, 120px); }
.is-ready .f2 .floaty__in { transition-delay: .1s; }
.is-ready .f3 .floaty__in { transition-delay: .2s; }
.is-ready .f4 .floaty__in { transition-delay: .3s; }
.is-ready .f5 .floaty__in { transition-delay: .4s; }
@media (max-width: 720px) {
  .f1 { top: 14%; left: 4%; } .f2 { top: 13%; right: 4%; }
  .f3 { bottom: 6%; left: 4%; } .f4 { bottom: 5%; right: 4%; }
  .f5 { display: none; }
  .hero__eyebrow { width: 86%; }
}

.scroll-cue {
  position: absolute; left: var(--gutter); bottom: 28px; z-index: 3;
  width: 96px; height: 96px; color: var(--blue);
}
.scroll-cue svg.ring { width: 100%; height: 100%; animation: spin 12s linear infinite; }
.scroll-cue .dot { position: absolute; inset: 0; margin: auto; width: 22px; height: 22px; border-radius: 50%; background: var(--yellow); animation: drop 1.8s var(--ease-out) infinite; }
.scroll-cue text { font-family: var(--f-sub); font-weight: 700; font-size: 11.5px; letter-spacing: .1em; fill: currentColor; text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drop { 0% { transform: translateY(-14px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }
@media (max-width: 1200px) { .scroll-cue { display: none; } }
@media (min-width: 1201px) { .f3 { left: 13%; } }

/* ---------- Marquee ---------- */
.marquee {
  position: relative; z-index: 4;
  background: var(--yellow); color: var(--blue);
  padding: clamp(14px, 1.6vw, 22px) 0;
  transform: rotate(-2.2deg) scale(1.04);
  overflow: hidden; white-space: nowrap;
  border-block: 3px solid var(--blue);
}
.marquee--red { background: var(--red); color: var(--cream); transform: rotate(1.6deg) scale(1.04); border-color: var(--red); margin-top: -18px; }
.marquee__track { display: inline-flex; will-change: transform; }
.marquee__group { display: inline-flex; align-items: center; flex-shrink: 0; }
.marquee__item { font-family: var(--f-title); text-transform: uppercase; font-size: clamp(30px, 5vw, 72px); line-height: 1; padding: 0 .35em; }
.marquee__item--sub { font-family: var(--f-sub); font-weight: 700; letter-spacing: -0.04em; font-size: clamp(24px, 3.6vw, 52px); }
.marquee__icon { width: clamp(44px, 5vw, 76px); flex-shrink: 0; }
.marquee__icon svg { width: 100%; height: auto; aspect-ratio: 150 / 114; }
.marquee--red .marquee__icon { --bubble: var(--cream); }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(80px, 11vw, 170px) var(--gutter); }
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-sub); font-weight: 700; text-transform: uppercase; letter-spacing: -0.04em;
  font-size: 16px; color: var(--red);
  margin-bottom: 22px;
}
.label::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: currentColor; }
.h2 { font-family: var(--f-title); text-transform: uppercase; font-size: clamp(44px, 7.5vw, 120px); line-height: .92; color: var(--blue); margin: 0; }
.reveal { opacity: 0; transform: translateY(50px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--delay, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Manifesto (word fill) ---------- */
.manifesto { padding-top: clamp(110px, 14vw, 220px); }
.manifesto__text {
  font-family: var(--f-title); text-transform: uppercase;
  font-size: clamp(34px, 5.6vw, 92px); line-height: 1.02; margin: 0; max-width: 16ch;
  color: var(--blue);
}
.manifesto__text .w { opacity: .14; transition: opacity .4s; }
.manifesto__text .w.on { opacity: 1; }
.manifesto__text .inline-ic { display: inline-block; width: 1.25em; vertical-align: -.12em; margin: 0 .05em; transform: rotate(-6deg); }
.manifesto__text .inline-ic svg { width: 100%; height: auto; aspect-ratio: 150 / 114; }
.manifesto__text .hl { color: var(--red); }
.manifesto__aside { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; margin-top: clamp(48px, 6vw, 90px); max-width: 980px; margin-left: auto; color: var(--blue); }
.manifesto__aside p { margin: 0; }

/* ---------- Services ---------- */
.services { background: var(--blue); color: var(--cream); border-radius: var(--radius) var(--radius) 0 0; }
.services .h2 { color: var(--cream); }
.services .label { color: var(--yellow); }
.services__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(40px, 5vw, 80px); }
.services__head p { max-width: 36ch; margin: 0; }
.services__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.svc {
  grid-column: span 2;
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  min-height: 360px; padding: 28px; border-radius: var(--radius);
  background: var(--cream); color: var(--blue);
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease-pop), color .4s;
}
.svc:nth-child(4), .svc:nth-child(5) { grid-column: span 3; }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c, var(--yellow)); transform: translateY(101%); border-radius: 50% 50% 0 0; transition: transform .6s var(--ease-out), border-radius .6s var(--ease-out); }
.svc:hover::before { transform: none; border-radius: 0; }
.svc:hover { transform: rotate(-1.2deg) translateY(-6px); }
.svc:nth-child(even):hover { transform: rotate(1.2deg) translateY(-6px); }
.svc__num { font-family: var(--f-sub); font-weight: 700; letter-spacing: -0.04em; font-size: 16px; }
.svc__icon { width: clamp(110px, 11vw, 150px); align-self: flex-end; transition: transform .6s var(--ease-pop); }
.svc__icon svg { width: 100%; height: auto; aspect-ratio: 150 / 114; }
.svc:hover .svc__icon { transform: scale(1.15) rotate(10deg); }
.svc h3 { font-family: var(--f-title); text-transform: uppercase; font-size: clamp(30px, 2.8vw, 46px); line-height: .95; margin: 0 0 10px; }
.svc p { margin: 0; max-width: 32ch; }
.svc--red { --c: var(--red); }
.svc--red:hover { color: var(--cream); }
.svc--red:hover .svc__icon { --bubble: var(--yellow); }
.svc--blue2 { --c: #f6c76a; }

/* tarjetas con foto / video de fondo */
.svc { min-height: clamp(380px, 34vw, 480px); justify-content: flex-end; }
.svc__num { position: absolute; top: 24px; left: 26px; }
.svc__icon { position: absolute; top: 18px; right: 18px; width: clamp(48px, 4.2vw, 62px); align-self: auto; }
.svc:hover .svc__icon { transform: scale(1.12) rotate(8deg); }
.svc__text { position: relative; }
.svc__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--blue); }
.svc__media img, .svc__media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02); transition: transform 1.2s var(--ease-out), filter .6s;
}
.svc:hover .svc__media img, .svc:hover .svc__media video { transform: scale(1.09); }
.svc.has-media { color: var(--cream); background: var(--blue); }
.svc.has-media::before { /* degradé para que el texto se lea sobre la imagen */
  transform: none; border-radius: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(18, 41, 151, .35) 0%, rgba(18, 41, 151, 0) 30%, rgba(18, 41, 151, .1) 50%, rgba(10, 20, 80, .85) 100%);
  transition: opacity .5s;
}
.svc.has-media::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--c, var(--yellow)); mix-blend-mode: multiply; opacity: 0; transition: opacity .5s;
}
.svc.has-media:hover::after { opacity: .45; }
.svc.has-media h3, .svc.has-media p { text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.svc.has-media .svc__num { color: var(--cream); }
.svc--red.has-media:hover .svc__icon { --bubble: var(--yellow); }
@media (max-width: 1000px) { .svc, .svc:nth-child(4), .svc:nth-child(5) { grid-column: span 3; } .svc:nth-child(5) { grid-column: span 6; } }
@media (max-width: 640px) { .svc, .svc:nth-child(4), .svc:nth-child(5) { grid-column: span 6; min-height: 300px; } }

/* ---------- Projects ---------- */
.projects { background: var(--blue); color: var(--cream); padding-top: 0; }
.projects .h2 { color: var(--cream); }
.projects .label { color: var(--yellow); }
.projects__head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 20px; margin-bottom: 48px; padding-top: clamp(60px, 8vw, 120px); border-top: 2px solid rgba(241, 226, 219, .2); }
.projects__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.proj { position: relative; display: block; }
.proj:nth-child(1) { grid-column: 1 / span 7; }
.proj:nth-child(2) { grid-column: 9 / span 4; margin-top: 18vh; }
.proj:nth-child(3) { grid-column: 2 / span 4; margin-top: -6vh; }
.proj:nth-child(4) { grid-column: 7 / span 6; margin-top: 8vh; }
@media (max-width: 800px) { .proj:nth-child(n) { grid-column: 1 / -1; margin-top: 0; } }
.proj__media {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  background: var(--bg, var(--yellow)); display: grid; place-items: center;
}
.proj:nth-child(2) .proj__media, .proj:nth-child(3) .proj__media { aspect-ratio: 3 / 4; }
.proj__media img, .proj__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.proj__pattern { position: absolute; inset: -20%; display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; align-content: center; transform: rotate(-12deg); opacity: .12; transition: transform 1.2s var(--ease-out); }
.proj__pattern svg { width: 100%; height: auto; filter: brightness(0); }
.proj:hover .proj__pattern { transform: rotate(-4deg) scale(1.1); }
.proj__big { position: relative; width: 42%; transition: transform .7s var(--ease-pop); }
.proj__big svg { width: 100%; height: auto; aspect-ratio: 150 / 114; }
.proj:hover .proj__big { transform: scale(1.12) rotate(-8deg); }
.proj__meta { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; margin-top: 16px; }
.proj__meta h3 { font-family: var(--f-title); text-transform: uppercase; font-size: clamp(24px, 2.4vw, 38px); margin: 0; line-height: 1; }
.proj__meta span { font-family: var(--f-sub); font-weight: 700; text-transform: uppercase; letter-spacing: -0.04em; color: var(--yellow); white-space: nowrap; font-size: 15px; }
.proj__tag { position: absolute; top: 16px; left: 16px; z-index: 2; background: var(--cream); color: var(--blue); padding: 6px 14px; border-radius: 999px; font-family: var(--f-sub); font-weight: 700; text-transform: uppercase; letter-spacing: -0.04em; font-size: 14px; }

/* ---------- Process (stacked sticky cards) ---------- */
.process { background: var(--cream); }
.process__head { margin-bottom: 48px; }
.steps { display: grid; gap: 0; }
.step {
  position: sticky; top: calc(90px + var(--i) * 26px);
  min-height: 52vh; margin-bottom: 18vh;
  border-radius: var(--radius); padding: clamp(28px, 4vw, 56px);
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 4vw, 64px); align-items: start;
  background: var(--bg); color: var(--fg);
  box-shadow: 0 -10px 30px rgba(18, 41, 151, .08);
}
.step:last-child { margin-bottom: 0; }
.step__n { font-family: var(--f-title); font-size: clamp(64px, 10vw, 160px); line-height: .8; }
.step h3 { font-family: var(--f-title); text-transform: uppercase; font-size: clamp(32px, 4.4vw, 72px); line-height: .92; margin: 0 0 18px; }
.step p { margin: 0; max-width: 40ch; font-size: clamp(17px, 1.3vw, 21px); }
.step__icon { width: clamp(90px, 10vw, 150px); }
.step__icon svg { width: 100%; height: auto; aspect-ratio: 150 / 114; }
@media (max-width: 720px) { .step { grid-template-columns: 1fr; } .step__icon { position: absolute; top: 24px; right: 24px; width: 80px; } }

/* ---------- CTA ---------- */
.cta { background: var(--yellow); color: var(--blue); text-align: center; overflow: hidden; }
.cta__title { font-family: var(--f-title); text-transform: uppercase; font-size: clamp(56px, 13vw, 230px); line-height: .85; margin: 0; }
.cta__title .line { display: block; }
.cta__title .line:nth-child(2) { color: var(--red); }
.cta__sub { max-width: 36ch; margin: 28px auto 36px; font-size: clamp(18px, 1.5vw, 24px); }
.cta__mail {
  display: inline-block; font-family: var(--f-sub); font-weight: 700; letter-spacing: -0.04em;
  font-size: clamp(22px, 3.4vw, 54px); text-transform: lowercase;
  background: var(--blue); color: var(--cream); padding: .45em 1em; border-radius: 999px;
  transition: transform .45s var(--ease-pop), background .3s;
  overflow-wrap: anywhere;
}
.cta__mail:hover { transform: scale(1.05) rotate(-2deg); background: var(--red); }
.cta__bubble { position: absolute; width: clamp(90px, 12vw, 190px); --bubble: var(--cream); }
.cta__bubble svg { width: 100%; height: auto; aspect-ratio: 150 / 114; animation: bob 5s ease-in-out infinite alternate; }
.cta__bubble.b1 { top: 12%; left: 6%; }
.cta__bubble.b2 { bottom: 10%; right: 6%; }
@media (max-width: 720px) { .cta__bubble { display: none; } }
.socials { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }

/* ---------- Footer ---------- */
.footer {
  position: relative; overflow: hidden;
  background: var(--blue); color: var(--cream);
  padding: clamp(70px, 8vw, 120px) var(--gutter) 28px;
}
.pattern {
  position: absolute; inset: -10%; z-index: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 40px 50px;
  align-content: start; opacity: .22; pointer-events: none;
}
.pattern svg { width: 100%; height: auto; max-height: 70px; filter: brightness(0); }
.footer > *:not(.pattern) { position: relative; z-index: 1; }
.footer__logo { display: grid; justify-items: center; color: var(--cream); width: min(100%, 980px, 95vh); margin: 0 auto; position: relative; }
.footer__logo svg.stack { width: 100%; height: auto; aspect-ratio: 423 / 325; }
.footer__logo svg.prod { width: 100%; height: auto; aspect-ratio: 418 / 42; color: var(--yellow); margin-top: 2.2%; }
.footer__logo .bubble { position: absolute; width: 26%; right: -6%; top: -12%; transform: rotate(6deg); }
.footer__logo .bubble svg { width: 100%; height: auto; aspect-ratio: 150 / 114; animation: bob 4.5s ease-in-out infinite alternate; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; margin-top: clamp(50px, 6vw, 90px); padding-top: 24px; border-top: 2px solid rgba(241, 226, 219, .25); font-family: var(--f-sub); font-weight: 700; text-transform: uppercase; letter-spacing: -0.04em; font-size: 15px; }
.footer__row nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__row a:hover { color: var(--yellow); }
.to-top { display: inline-flex; gap: 8px; align-items: center; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .manifesto__text .w { opacity: 1; }
}
