/* =========================================================
   Banda Creative Studio — estilos
   Manual: blanco y negro · Space Grotesk títulos · DM Mono textos
   Formas y texturas solo como complemento: el protagonista es el video.
   ========================================================= */

:root {
  --ink: #0b0b0b;
  --paper: #f7f6f2;
  --mid: #8c8b87;
  --line-d: rgba(247, 246, 242, .18);
  --line-l: rgba(11, 11, 11, .16);
  --f-title: "Space Grotesk", system-ui, sans-serif;
  --f-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gut: clamp(16px, 4vw, 48px);
  --hdr: 64px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --bg: var(--paper);
  --fg: var(--ink);
  --line: var(--line-l);
  color-scheme: light;
}

[data-theme="dark"] { --bg: var(--ink); --fg: var(--paper); --line: var(--line-d); }
[data-theme="light"] { --bg: var(--paper); --fg: var(--ink); --line: var(--line-l); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--f-mono);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--fg); color: var(--bg); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* idioma */
html[data-lang="es"] .l-en,
html[data-lang="en"] .l-es { display: none !important; }

[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--paper); color: var(--ink); padding: 8px 14px; }
.skip:focus { top: 12px; }

.wrap { padding-inline: var(--gut); max-width: 1600px; margin-inline: auto; }
.mono { font-family: var(--f-mono); }
section, footer, nav.pj-next, article.legal { background: var(--bg); color: var(--fg); position: relative; }

/* ---------- tipografía ---------- */
.big, .huge, .mid {
  font-family: var(--f-title);
  font-weight: 300;
  letter-spacing: -.045em;
  line-height: .9;
}
.big { font-size: clamp(56px, 13vw, 210px); }
.huge { font-size: clamp(64px, 16vw, 280px); }
.mid { font-size: clamp(34px, 5vw, 72px); line-height: 1; letter-spacing: -.035em; }
.big em, .huge em, .mid em { font-style: normal; font-weight: 700; }
.big sup { font-family: var(--f-mono); font-size: .14em; letter-spacing: 0; vertical-align: top; margin-left: .3em; font-weight: 400; }
.sec-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-title); font-weight: 500; font-size: 14px; letter-spacing: 0;
}
.sec-label::before { content: ""; width: 8px; height: 8px; background: currentColor; border-radius: 50%; }

.sec-head { display: grid; gap: 18px; padding-block: clamp(80px, 12vw, 160px) clamp(32px, 5vw, 64px); }
.sec-head__txt { max-width: 44ch; color: color-mix(in srgb, var(--fg) 72%, transparent); }
@media (min-width: 900px) {
  .sec-head { grid-template-columns: 1fr minmax(0, 360px); align-items: end; }
  .sec-head .sec-label { grid-column: 1 / -1; }
  .sec-head__txt { justify-self: end; }
}

/* split lines (animadas por JS) */
.line-mask { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line-mask > span { display: block; will-change: transform; }

/* ---------- botones ---------- */
.btn {
  --b: var(--fg);
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 20px; border-radius: 999px;
  font-family: var(--f-mono); font-size: 14px; font-weight: 500;
  border: 1px solid var(--b);
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
  position: relative; overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--fg); transform: translateY(101%); border-radius: inherit;
  transition: transform .45s var(--ease);
}
.btn--ghost { color: var(--fg); }
.btn--ghost:hover { color: var(--bg); }
.btn--ghost:hover::before { transform: none; }
.btn--light { background: var(--fg); color: var(--bg); }
.btn--light::before { background: var(--bg); }
.btn--light:hover { color: var(--fg); }
.btn--light:hover::before { transform: none; }
.btn--lg { height: 56px; padding: 0 26px; font-size: 15px; }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 90;
  height: var(--hdr); padding-inline: var(--gut);
  display: flex; align-items: center; gap: 24px;
  color: #fff; mix-blend-mode: difference;
  transition: transform .5s var(--ease);
}
.hdr.is-hidden { transform: translateY(-110%); }
.hdr__logo { width: 92px; flex: none; }
.hdr__logo svg { width: 100%; height: auto; }
.hdr__tc { display: none; align-items: center; gap: 8px; font-size: 12px; font-variant-numeric: tabular-nums; opacity: .8; }
.hdr__nav { display: none; gap: 28px; margin-left: auto; font-size: 13px; }
.hdr__nav a { position: relative; }
.hdr__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.hdr__nav a:hover::after, .hdr__nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.hdr__tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang { display: inline-flex; gap: 4px; font-size: 12px; padding: 6px 4px; }
.lang i { font-style: normal; opacity: .4; }
.lang span { opacity: .45; transition: opacity .3s; }
html[data-lang="es"] .lang [data-on="es"], html[data-lang="en"] .lang [data-on="en"] { opacity: 1; }
.btn--wa { --fg: #fff; --bg: #000; height: 36px; padding: 0 14px; font-size: 12px; }
.btn--wa span { display: none; }
.burger { width: 40px; height: 40px; display: grid; place-content: center; gap: 6px; }
.burger > span:not(.sr) { width: 24px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.burger[aria-expanded="true"] > span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
.rec-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; animation: blink 1.2s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

@media (min-width: 560px) { .btn--wa span { display: inline; } }
@media (min-width: 1000px) {
  .hdr__logo { width: 104px; }
  .hdr__tc { display: inline-flex; margin-left: 32px; }
  .hdr__nav { display: flex; }
  .hdr__tools { margin-left: 28px; }
  .burger { display: none; }
}

/* menú celular */
.menu {
  position: fixed; inset: 0; z-index: 80; background: var(--ink); color: var(--paper);
  padding: calc(var(--hdr) + 24px) var(--gut) calc(24px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-io);
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu[hidden] { display: none; }
.menu__nav { display: grid; gap: 4px; }
.menu__nav a { font-family: var(--f-title); font-size: clamp(40px, 11vw, 72px); letter-spacing: -.04em; line-height: 1.05; display: flex; align-items: flex-start; gap: 12px; }
.menu__nav small { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0; margin-top: 12px; opacity: .5; }
.menu__mascot { width: 130px; margin: auto 0 0 auto; }
.menu__foot { display: flex; gap: 20px; font-size: 13px; padding-top: 24px; border-top: 1px solid var(--line-d); margin-top: 24px; }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 150; background: var(--paper); color: var(--ink);
  display: grid; place-items: center;
}
.loader__badge { position: relative; width: 168px; height: 168px; }
.loader__ring { width: 100%; height: 100%; font-family: var(--f-mono); font-size: 13.5px; fill: currentColor; animation: spin 12s linear infinite; }
.loader__b { position: absolute; width: 50px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.loader__count { position: absolute; right: var(--gut); bottom: var(--gut); font-size: 13px; }
.loader__count::after { content: "%"; }
@keyframes spin { to { transform: rotate(360deg); } }
.no-js .loader, .is-ready .loader { display: none; }

/* ---------- 01 inicio ---------- */
.hero {
  min-height: 100svh; display: grid; place-items: center; overflow: hidden;
  isolation: isolate; padding: calc(var(--hdr) + 24px) var(--gut) 96px;
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(1) contrast(1.05) brightness(.62); }
.hero__bg { position: absolute; inset: 0; z-index: -3; background: #0b0b0b; overflow: hidden; }
.hero__bg i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; background: radial-gradient(circle, #6d6c68 0%, transparent 65%); animation: drift 18s ease-in-out infinite alternate; }
.hero__bg i:nth-child(1) { width: 60vmax; height: 60vmax; left: -15vmax; top: -20vmax; }
.hero__bg i:nth-child(2) { width: 45vmax; height: 45vmax; right: -12vmax; bottom: -18vmax; animation-duration: 23s; animation-delay: -6s; }
.hero__bg i:nth-child(3) { width: 25vmax; height: 25vmax; left: 45%; top: 40%; opacity: .25; animation-duration: 15s; }
@keyframes drift { to { transform: translate3d(8vmax, 6vmax, 0) scale(1.15); } }
.hero:has(.hero__video) .hero__bg { display: none; }

.hero__frame { position: absolute; inset: calc(var(--hdr) + 8px) var(--gut) 24px; pointer-events: none; z-index: -1; }
.hero__frame > i { position: absolute; width: 26px; height: 26px; border: 0 solid rgba(247, 246, 242, .7); }
.hero__frame > i:nth-child(1) { left: 0; top: 0; border-width: 1.5px 0 0 1.5px; }
.hero__frame > i:nth-child(2) { right: 0; top: 0; border-width: 1.5px 1.5px 0 0; }
.hero__frame > i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 1.5px 1.5px; }
.hero__frame > i:nth-child(4) { right: 0; bottom: 0; border-width: 0 1.5px 1.5px 0; }
.hero__rec { position: absolute; left: 40px; top: 6px; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; }
.hero__rec .rec-dot { background: #ff3b30; }
.hero__meta { position: absolute; right: 40px; top: 6px; font-size: 11px; opacity: .6; display: none; }
@media (min-width: 700px) { .hero__meta { display: block; } }

.hero__inner { display: grid; justify-items: center; gap: clamp(20px, 3vw, 36px); text-align: center; }
.logo-full { position: relative; width: min(84vw, 760px, 88svh); container-type: inline-size; font-weight: inherit; }
.logo-full__mark { width: 100%; height: auto; }
.logo-full__desc {
  position: absolute; left: 61.5%; top: 88%;
  font-family: var(--f-mono); font-weight: 400; font-size: 5.6cqi; line-height: 1; letter-spacing: 0;
  text-align: left;
}
.hero__claim { font-family: var(--f-title); font-weight: 300; font-size: clamp(22px, 3.2vw, 40px); letter-spacing: -.03em; margin-top: clamp(28px, 5vw, 64px); }
.hero__claim b { font-weight: 700; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hero__badge { position: absolute; right: calc(var(--gut) + 16px); bottom: 40px; width: 112px; height: 112px; display: none; }
.hero__badge svg:first-child { width: 100%; height: 100%; font-family: var(--f-mono); font-size: 14px; fill: currentColor; animation: spin 14s linear infinite; }
.hero__badge-b { position: absolute; width: 30px; left: 50%; top: 50%; transform: translate(-50%, -50%); transition: transform .5s var(--ease); }
.hero__badge:hover .hero__badge-b { transform: translate(-50%, -50%) rotate(-12deg) scale(1.15); }
.hero__loc { position: absolute; left: calc(var(--gut) + 40px); bottom: 34px; font-size: 12px; opacity: .7; }
.hero__scroll { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); font-size: 11px; opacity: .6; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__scroll i { width: 1px; height: 32px; background: currentColor; transform-origin: top; animation: scrollcue 1.8s var(--ease-io) infinite; }
@keyframes scrollcue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (min-width: 800px) { .hero__badge { display: block; } }
@media (max-width: 799px) { .hero__loc { left: 50%; transform: translateX(-50%); bottom: 82px; } .hero__scroll { display: none; } }

/* ---------- 02 marcas ---------- */
.brands { padding-block: clamp(56px, 8vw, 96px); overflow: hidden; }
.brands__head { display: flex; gap: 16px; align-items: baseline; margin-bottom: clamp(28px, 4vw, 48px); }
.brands__head h2 { font-size: 13px; font-weight: 400; }
.sec-n { font-size: 12px; opacity: .5; }
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: clamp(12px, 2vw, 22px); }
.marquee + .marquee { border-top: 0; }
.marquee__track { display: flex; align-items: center; width: max-content; will-change: transform; }
.brand { font-family: var(--f-title); font-weight: 700; font-size: clamp(40px, 7.5vw, 120px); letter-spacing: -.05em; line-height: 1; padding-inline: clamp(18px, 2.4vw, 40px); white-space: nowrap; }
.marquee--rev .brand { font-weight: 300; }
.brand__sep { width: clamp(20px, 2.6vw, 40px); height: clamp(20px, 2.6vw, 40px); flex: none; }

/* ---------- 03 trabajos ---------- */
.work { padding-bottom: clamp(80px, 10vw, 140px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 4vw, 48px); position: sticky; top: calc(var(--hdr) + 4px); z-index: 5; }
@media (max-width: 759px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding: 4px var(--gut); }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}
.chip {
  height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 13px; display: inline-flex; align-items: center; gap: 6px;
  background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(8px);
  transition: background .3s, color .3s, border-color .3s;
}
.chip sup { font-size: 10px; opacity: .6; }
.chip:hover { border-color: var(--fg); }
.chip.is-on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip--srv { background: var(--fg); color: var(--bg); }

.grid { display: grid; gap: clamp(36px, 4vw, 56px) clamp(16px, 2vw, 28px); grid-template-columns: 1fr; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) {
  .grid { grid-template-columns: repeat(12, 1fr); }
  .grid .card { grid-column: span 6; }
  .grid .card[data-i="0"], .grid .card[data-i="3"] { grid-column: span 7; }
  .grid .card[data-i="1"], .grid .card[data-i="2"] { grid-column: span 5; --ar: 8 / 7; }
}
.card.is-hidden { display: none; }
.card a { display: block; }
.card__media { position: relative; aspect-ratio: var(--ar, 16 / 10); overflow: hidden; background: #1a1a1a; border-radius: 4px; }
.card__media > img, .card__media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), opacity .5s; }
.card__media > video { opacity: 0; }
.card a:hover .card__media > video.is-playing { opacity: 1; }
.card a:hover .card__media > *, .card a:focus-visible .card__media > * { transform: scale(1.04); }
.card__meta { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding-top: 14px; border-top: 1px solid transparent; }
.card__meta h3 { font-family: var(--f-title); font-weight: 300; font-size: clamp(19px, 1.7vw, 24px); letter-spacing: -.02em; line-height: 1.2; }
.card__meta h3 b { font-weight: 700; }
.card__meta h3 b::after { content: " —"; font-weight: 300; }
.card__meta p { font-size: 12px; opacity: .6; white-space: nowrap; }
.grid__empty { padding: 40px 0; opacity: .6; }

/* placeholder de media (blanco y negro, ruido + cromado) */
.ph {
  position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden;
  background: #151515;
}
.ph::before {
  content: ""; position: absolute; inset: -20%;
  background:
    radial-gradient(60% 50% at 30% 30%, rgba(255,255,255,.22), transparent 70%),
    radial-gradient(50% 60% at 75% 70%, rgba(255,255,255,.12), transparent 70%),
    conic-gradient(from 210deg at 50% 50%, #0d0d0d, #3a3a3a, #111, #6a6a66, #0f0f0f, #2a2a2a, #0d0d0d);
  filter: blur(18px) contrast(1.2);
  transition: transform 1.6s var(--ease);
}
[data-variant="1"] .ph::before { transform: rotate(90deg) scale(1.2); }
[data-variant="2"] .ph::before { transform: rotate(200deg) scale(1.1); }
[data-variant="3"] .ph::before { transform: rotate(300deg) scale(1.3); }
.card a:hover .ph::before { transform: rotate(40deg) scale(1.4); }
.ph__name { position: relative; font-family: var(--f-title); font-weight: 700; font-size: clamp(30px, 5vw, 76px); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(247,246,242,.55); text-align: center; padding: 0 12px; line-height: .95; }
.ph::after { content: "REC ● 00:00:00:00"; position: absolute; left: 14px; top: 12px; font: 400 11px var(--f-mono); color: rgba(247,246,242,.6); letter-spacing: .02em; }

/* ---------- 04 servicios ---------- */
.services { padding-bottom: clamp(80px, 10vw, 140px); }
.srv-list { border-top: 1px solid var(--line); }
.srv { border-bottom: 1px solid var(--line); }
.srv > a {
  width: 100%; text-align: left; display: grid; align-items: center;
  grid-template-columns: 34px 64px 1fr; grid-template-areas: "n i name" "n i desc" "n i go";
  column-gap: 14px; row-gap: 4px; padding: 20px 0; position: relative; isolation: isolate;
}
.srv > a::before { content: ""; position: absolute; inset: 0 calc(var(--gut) * -1); background: var(--ink); z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.srv__n { grid-area: n; font-size: 12px; opacity: .55; align-self: start; padding-top: 8px; }
.srv__icon { grid-area: i; width: 64px; height: 64px; display: grid; place-items: center; transition: transform .6s var(--ease), filter .3s; }
.srv__icon img { max-width: 100%; max-height: 100%; }
.srv__name { grid-area: name; font-family: var(--f-title); font-size: clamp(26px, 4.4vw, 64px); font-weight: 400; letter-spacing: -.04em; line-height: 1; transition: transform .6s var(--ease); }
.srv__desc { grid-area: desc; font-size: 13px; opacity: .7; }
.srv__go { grid-area: go; font-size: 12px; display: inline-flex; gap: 6px; align-items: center; opacity: .55; }
.srv__go svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
@media (min-width: 900px) {
  .srv > a { grid-template-columns: 60px 110px 1.3fr 1fr 160px; grid-template-areas: "n i name desc go"; padding: 26px 0; column-gap: 24px; }
  .srv__n { align-self: center; padding: 0; }
  .srv__icon { width: 92px; height: 92px; }
  .srv__go { justify-self: end; }
}
@media (hover: hover) {
  .srv > a:hover { color: var(--paper); }
  .srv > a:hover::before { transform: scaleY(1); }
  .srv > a:hover .srv__icon { transform: rotate(-8deg) scale(1.12); filter: invert(1); }
  .srv > a:hover .srv__name { transform: translateX(12px); }
  .srv > a:hover .srv__go { opacity: 1; }
  .srv > a:hover .srv__go svg { transform: translateX(4px); }
}

/* ---------- 05 proceso ---------- */
.process { overflow: hidden; }
.process__pin { min-height: 100svh; display: flex; flex-direction: column; padding-bottom: clamp(64px, 8vw, 100px); }
.process__head .sec-head__txt, .process__head { }
.process__head { display: grid; gap: 18px; padding-top: clamp(80px, 12vw, 140px); padding-bottom: clamp(36px, 5vw, 64px); }
.timeline { position: relative; padding-inline: var(--gut); }
.timeline__ruler { display: none; }
.timeline__track { display: grid; gap: 14px; }
.step { border-left: 1px solid var(--line); padding: 0 0 18px 18px; position: relative; }
.step::before { content: ""; position: absolute; left: -4.5px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--fg); }
.step__tc { font-size: 11px; opacity: .5; }
.step__clip { display: flex; align-items: baseline; gap: 12px; font-family: var(--f-title); font-size: clamp(30px, 7vw, 48px); letter-spacing: -.04em; line-height: 1.05; margin: 4px 0 8px; }
.step__clip b { font-weight: 600; }
.step__n { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0; opacity: .5; }
.step p { font-size: 13.5px; max-width: 38ch; opacity: .78; }
.timeline__head { display: none; }

@media (min-width: 1000px) {
  .process__head { grid-template-columns: 1fr minmax(0, 340px); align-items: end; }
  .process__head .sec-label { grid-column: 1 / -1; }
  .timeline { margin-top: auto; }
  .timeline__ruler { display: flex; justify-content: space-between; font-size: 11px; opacity: .45; padding-bottom: 10px; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 2%) bottom / 100% 8px no-repeat; }
  .timeline__track { display: flex; gap: 0; padding-top: 16px; width: max-content; will-change: transform; }
  .step { width: clamp(360px, 34vw, 520px); border: 0; padding: 0 10px 0 0; }
  .step::before { display: none; }
  .step__clip { background: var(--paper); color: var(--ink); border-radius: 6px; padding: 18px 20px 54px; margin: 8px 0 18px; font-size: clamp(40px, 3.6vw, 60px); position: relative; overflow: hidden; }
  .step__clip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34px; background: repeating-linear-gradient(90deg, rgba(11,11,11,.85) 0 2px, transparent 2px 7px), linear-gradient(#d8d7d2, #d8d7d2); clip-path: polygon(0 60%, 6% 30%, 12% 70%, 18% 20%, 24% 55%, 30% 35%, 36% 75%, 42% 25%, 48% 60%, 54% 40%, 60% 80%, 66% 30%, 72% 55%, 78% 25%, 84% 65%, 90% 35%, 96% 60%, 100% 45%, 100% 100%, 0 100%); opacity: .5; }
  .step:nth-child(even) .step__clip { background: #2a2a29; color: var(--paper); }
  .step:nth-child(even) .step__clip::after { background: repeating-linear-gradient(90deg, rgba(247,246,242,.8) 0 2px, transparent 2px 7px); }
  .step p { padding-right: 24px; }
  .timeline__head { display: block; position: absolute; top: 0; bottom: -10px; left: var(--gut); width: 2px; background: #ff3b30; pointer-events: none; z-index: 2; }
  .timeline__head i { position: absolute; top: -2px; left: -6px; width: 14px; height: 12px; background: #ff3b30; clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%); }
}

/* ---------- 06 la banda ---------- */
.crew { padding-bottom: clamp(80px, 10vw, 140px); }
.manifesto { font-family: var(--f-title); font-weight: 400; font-size: clamp(28px, 4.6vw, 76px); line-height: 1.04; letter-spacing: -.04em; max-width: 20ch; }
.manifesto .w { opacity: .14; transition: opacity .2s; }
.manifesto .w.is-on { opacity: 1; }
.crew__intro { display: grid; gap: 24px; align-items: end; margin: clamp(56px, 8vw, 110px) 0 clamp(32px, 4vw, 56px); }
.crew__intro p { max-width: 46ch; opacity: .78; }
.crew__mascot { width: clamp(150px, 20vw, 250px); }
@media (min-width: 900px) { .crew__intro { grid-template-columns: auto 1fr; gap: 48px; } }

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 10px; }
@media (min-width: 700px) { .team { grid-template-columns: repeat(5, 1fr); gap: 26px 14px; } }
@media (min-width: 1100px) { .team { grid-template-columns: repeat(7, 1fr); gap: 32px 16px; } }
.member { outline: none; cursor: default; }
.member__ph { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px; background: #e9e8e3; margin-bottom: 14px; }
.member__kid, .member__now { position: absolute; inset: 0; }
.member__kid img, .member__now img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.member__now { clip-path: circle(0% at var(--mx, 50%) var(--my, 50%)); transition: clip-path .8s var(--ease); }
.member:hover .member__now, .member:focus-visible .member__now, .member.is-now .member__now { clip-path: circle(150% at var(--mx, 50%) var(--my, 50%)); }
.member__tag { position: absolute; left: 6px; top: 6px; font-size: 10px; background: var(--paper); color: var(--ink); padding: 3px 8px; border-radius: 99px; transition: opacity .3s; }
.member:hover .member__tag, .member.is-now .member__tag { opacity: 0; }
.member h3 { font-family: var(--f-title); font-weight: 600; font-size: clamp(15px, 1.3vw, 18px); letter-spacing: -.02em; }
.member p { font-size: 11.5px; line-height: 1.4; opacity: .7; }
.member__kidtxt { margin-top: 6px; font-style: italic; }
.ph--kid { background: #e9e8e3; }
.ph--kid::before, .ph--now::before, .ph--kid::after, .ph--now::after { display: none; }
.member .ph--kid img, .member .ph--now img { height: auto; max-height: 60%; object-fit: contain; filter: none; }
.ph--kid img { width: 52%; }
.ph--now { background: var(--ink); }
.member .ph--now img { width: 26%; filter: invert(1); }

.backstage { margin-top: clamp(80px, 10vw, 140px); }
.backstage__head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 24px; }
.backstage__head p { font-size: 12px; opacity: .6; }
.backstage__rail { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; cursor: grab; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-snap-type: x proximity; overscroll-behavior-x: contain; }
.backstage__rail::-webkit-scrollbar { display: none; }
.backstage__rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.backstage__rail figure { flex: none; height: clamp(300px, 46vw, 560px); aspect-ratio: var(--ar, 3 / 4); border-radius: 4px; overflow: hidden; position: relative; scroll-snap-align: start; background: #ddd; }
.backstage__rail figure.w { aspect-ratio: 16 / 11; }
.backstage__rail img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; }

/* ---------- 07 contacto ---------- */
.contact { padding-block: clamp(80px, 12vw, 160px) clamp(80px, 10vw, 140px); }
.contact__grid { display: grid; gap: clamp(48px, 6vw, 96px); }
.contact__l { display: grid; gap: 22px; align-content: start; }
.contact__l > p { max-width: 38ch; opacity: .78; }
.contact__links { border-top: 1px solid var(--line); margin-top: 12px; }
.contact__links a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--f-title); font-size: 22px; letter-spacing: -.02em; transition: padding .4s var(--ease); }
.contact__links svg { width: 22px; height: 22px; transition: transform .4s var(--ease); }
.contact__links a:hover { padding-left: 10px; }
.contact__links a:hover svg { transform: rotate(-45deg); }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .contact .huge { font-size: clamp(64px, 10vw, 180px); } }

.form { display: grid; gap: 22px; align-content: start; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-family: var(--f-title); font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.03em; margin-bottom: 16px; }
.form__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.form__chips input { position: absolute; opacity: 0; pointer-events: none; }
.form__chips span { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border: 1px solid var(--line); border-radius: 99px; cursor: pointer; transition: background .3s, color .3s, border-color .3s; font-size: 14px; }
.form__chips label:hover span { border-color: var(--fg); }
.form__chips input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.form__chips input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 3px; }
.form__row { display: grid; gap: 22px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field > span { font-size: 12px; opacity: .6; }
.field ::placeholder { color: inherit; opacity: .35; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 10px 0; font-size: 16px; border-radius: 0; outline: none; transition: border-color .3s;
  color-scheme: dark;
}
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23f7f6f2' stroke-width='1.4'/%3E%3C/svg%3E") right 4px center no-repeat; }
.field select option { background: var(--ink); }
.field textarea { resize: vertical; min-height: 80px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--fg); }
.field.is-err input { border-color: #ff6b5e; }
.form__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.form__msg { font-size: 13px; min-height: 1.5em; }

/* ---------- footer ---------- */
.ftr { overflow: hidden; padding-top: clamp(100px, 12vw, 160px); }
.ftr__walk { position: absolute; top: 28px; left: 0; right: 0; height: 90px; pointer-events: none; }
.ftr__walk img { width: 100px; height: auto; position: absolute; left: 0; top: 0; will-change: transform; }
.ftr__grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; padding-bottom: clamp(40px, 6vw, 72px); font-size: 13px; }
.ftr__col { display: grid; gap: 6px; align-content: start; }
.ftr__col a { width: fit-content; position: relative; }
.ftr__col a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.ftr__col a:hover::after { transform: scaleX(1); transform-origin: left; }
.ftr__b { width: 34px; margin-bottom: 12px; }
.ftr .lbl { opacity: .5; font-size: 12px; margin-bottom: 4px; }
.ftr__col--end { grid-column: 1 / -1; }
@media (min-width: 900px) { .ftr__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .ftr__col--end { grid-column: auto; justify-items: end; text-align: right; } }
.ftr__big { padding-inline: var(--gut); padding-bottom: clamp(16px, 3vw, 40px); }
.ftr__big svg { width: 100%; height: auto; }

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 120; pointer-events: none; display: none; }
.cursor__label {
  position: absolute; transform: translate(-50%, -50%) scale(0); transition: transform .45s var(--ease);
  width: 96px; height: 96px; border-radius: 50%; background: var(--paper); color: var(--ink);
  display: grid; place-content: center; justify-items: center; gap: 4px; font: 500 12px var(--f-mono);
}
.cursor__label svg { width: 14px; height: 14px; }
.cursor.is-on .cursor__label { transform: translate(-50%, -50%) scale(1); }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } [data-cursor-play] { cursor: none; } }

/* ---------- grano (textura complementaria) ---------- */
.grain {
  position: fixed; inset: -100%; z-index: 140; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-6%, 4%); } 40% { transform: translate(4%, -8%); }
  60% { transform: translate(-3%, 6%); } 80% { transform: translate(7%, 2%); } 100% { transform: translate(0, 0); }
}

/* ---------- página de proyecto ---------- */
.pj-hero { padding-top: calc(var(--hdr) + clamp(40px, 8vw, 100px)); padding-bottom: clamp(56px, 8vw, 100px); }
.pj-back { font-size: 13px; opacity: .7; display: inline-block; margin-bottom: clamp(28px, 4vw, 48px); }
.pj-back:hover { opacity: 1; }
.pj-client { font-size: 13px; opacity: .7; margin-bottom: 14px; }
.pj-title { font-size: clamp(52px, 11vw, 200px); font-weight: 600; letter-spacing: -.055em; margin-bottom: clamp(32px, 5vw, 64px); }
.player { position: relative; }
.vid { position: relative; aspect-ratio: var(--ar, 16 / 9); background: #151515; border-radius: 4px; overflow: hidden; }
.vid iframe, .vid video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; background: #000; }
.player--v .vid { width: min(100%, calc(82svh * 9 / 16)); margin-inline: auto; }
.player__play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; border-radius: 50%; background: var(--paper); color: var(--ink); transform: translate(-50%, -50%); display: grid; place-items: center; }
.player__play svg { width: 22px; height: 22px; margin-left: 4px; }

.pj-body { padding-block: clamp(80px, 10vw, 140px); display: grid; gap: clamp(80px, 10vw, 140px); }
.pj-did { display: grid; gap: 22px; }
.pj-did__list { display: flex; flex-wrap: wrap; gap: 8px; }
.pj-did__list li { display: inline-flex; gap: 10px; align-items: center; height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 99px; font-family: var(--f-title); font-size: 16px; }
.pj-did__list .mono { font-size: 11px; opacity: .55; }
.pj-did__txt { max-width: 56ch; opacity: .8; }
@media (min-width: 1000px) { .pj-did { grid-template-columns: 1fr 1fr; column-gap: 60px; } .pj-did .sec-label { grid-column: 1 / -1; } .pj-did__txt { grid-column: 2; } .pj-did__list { grid-column: 2; grid-row: 2; align-self: end; } }
.pj-stills { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; }
.pj-stills figure { position: relative; aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; background: #ddd; }
.pj-stills figure:nth-child(3n+1) { grid-column: span 2; aspect-ratio: 16 / 9; }
.pj-stills img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .pj-stills { grid-template-columns: repeat(3, 1fr); } .pj-stills figure:nth-child(3n+1) { grid-column: span 2; aspect-ratio: auto; } }
.pj-credits ul { margin-top: 22px; border-top: 1px solid var(--line); display: grid; }
.pj-credits li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--f-title); font-size: clamp(18px, 2vw, 26px); letter-spacing: -.02em; }
.pj-credits li .mono { font-size: 12px; opacity: .6; letter-spacing: 0; align-self: center; }
.pj-credits li b { font-weight: 500; text-align: right; }
@media (min-width: 1000px) { .pj-credits { display: grid; grid-template-columns: 1fr 1fr; } .pj-credits ul { margin-top: 0; } }

.pj-next { padding-block: clamp(64px, 9vw, 120px); }
.pj-next__back { font-size: 13px; opacity: .7; display: inline-block; margin-bottom: 40px; }
.pj-next__link { display: grid; gap: 10px; }
.pj-next__link > .mono { font-size: 13px; opacity: .7; }
.pj-next__link b { font-weight: 700; letter-spacing: -.055em; transition: transform .7s var(--ease); display: block; }
.pj-next__t { font-family: var(--f-title); font-size: clamp(20px, 2.4vw, 32px); font-weight: 300; letter-spacing: -.02em; }
.pj-next__link:hover b { transform: translateX(2vw); }

/* ---------- movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain { display: none; }
  .manifesto .w { opacity: 1; }
}

/* respaldo: si el JS no carga, el loader se va solo */
.loader { animation: loader-fallback 0s 6s forwards; }
@keyframes loader-fallback { to { visibility: hidden; opacity: 0; } }
.pj-body > .wrap { width: 100%; }
.pj-stills .ph__name { font-size: clamp(22px, 4vw, 56px); }
.pj-stills .ph::after { font-size: 10px; }

/* más piezas (videos extra de Behance) */
.pj-more__grid { display: grid; gap: 14px; margin-top: 22px; }
@media (min-width: 760px) { .pj-more__grid { grid-template-columns: repeat(2, 1fr); } }
.pj-more__grid--v { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .pj-more__grid--v { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .pj-more__grid--v { grid-template-columns: repeat(4, 1fr); } }
.pj-more .sec-label sup { font-size: 11px; opacity: .55; }
.pj-did__side { display: grid; gap: 18px; align-content: start; }
.pj-did__bh { font-size: 13px; width: fit-content; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: opacity .3s; }
.pj-did__bh:hover { opacity: .6; }
@media (min-width: 1000px) { .pj-did__side { grid-column: 2; } }
.pj-stills--2 figure:nth-child(n) { grid-column: span 1; aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .pj-stills--2 { grid-template-columns: repeat(2, 1fr); } }

/* inicio: botón a todos los trabajos */
.work__more { display: flex; justify-content: center; margin-top: clamp(48px, 6vw, 80px); }
.work__more sup { font-size: 11px; opacity: .6; }
/* página /trabajos/ */
.work--all { padding-top: calc(var(--hdr) + clamp(32px, 6vw, 72px)); min-height: 100svh; }
.work--all .sec-head { padding-top: clamp(24px, 4vw, 48px); }
.works-cta { padding-block: clamp(72px, 10vw, 130px); }
.works-cta__in { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }

/* embeds de Instagram: media 4:5 + barra superior e inferior del reproductor */
.vid--ig { aspect-ratio: auto; height: 0; padding-bottom: calc(125% + 178px); background: #fff; }
.player--v .vid--ig { width: min(100%, 460px); }
.pj-more__grid--ig { grid-template-columns: 1fr; }
@media (min-width: 760px) { .pj-more__grid--ig { grid-template-columns: repeat(2, minmax(0, 420px)); } }

/* galería de fotos verticales (posts de Instagram) */
.pj-stills--gal { grid-template-columns: repeat(2, 1fr); }
.pj-stills--gal figure:nth-child(n) { grid-column: auto; aspect-ratio: 4 / 5; }
@media (min-width: 900px) { .pj-stills--gal { grid-template-columns: repeat(4, 1fr); } }
.pj-stills .sec-label sup, .wrap > .sec-label sup { font-size: 11px; opacity: .55; }
.vid video { object-fit: contain; }

.backstage__rail figcaption { position: absolute; left: 10px; bottom: 10px; font-size: 11px; background: var(--paper); color: var(--ink); padding: 3px 9px; border-radius: 99px; }

.member__ph--solo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform .8s var(--ease); }
.member:hover .member__ph--solo img { transform: scale(1.04); }

/* ---------- legales ---------- */
.ftr__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 12px; padding-bottom: 18px; opacity: .75; }
.ftr__legal a:hover, .ftr__legal button:hover { text-decoration: underline; }
.ftr__legal button { font-size: 12px; }
.legal { padding: calc(var(--hdr) + clamp(40px, 7vw, 90px)) 0 clamp(80px, 10vw, 140px); }
.legal__in { max-width: 860px; }
.legal h1 { font-size: clamp(44px, 8vw, 120px); margin-bottom: 18px; }
.legal__date { font-size: 12px; opacity: .6; margin-bottom: clamp(40px, 6vw, 72px); }
.legal__sec { padding: 26px 0; border-top: 1px solid var(--line); }
.legal__sec h2 { font-family: var(--f-title); font-weight: 500; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.02em; display: flex; gap: 14px; align-items: baseline; margin-bottom: 12px; }
.legal__sec h2 .mono { font-size: 12px; opacity: .5; letter-spacing: 0; }
.legal__sec p { font-size: 14.5px; line-height: 1.7; max-width: 68ch; opacity: .85; }
.legal__sec p + p { margin-top: 10px; }

/* ---------- aviso de cookies ---------- */
.consent {
  position: fixed; left: var(--gut); right: var(--gut); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 130;
  max-width: 560px; margin-left: auto; padding: 18px 20px; border-radius: 10px;
  background: var(--ink); color: var(--paper); border: 1px solid var(--line-d);
  box-shadow: 0 20px 50px rgba(0,0,0,.35); display: grid; gap: 14px;
  transform: translateY(20px); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease);
  --fg: var(--paper); --bg: var(--ink);
}
.consent.is-open { transform: none; opacity: 1; }
.consent__txt { font-size: 12.5px; line-height: 1.6; opacity: .9; }
.consent__txt a { text-decoration: underline; }
.consent__btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.consent .btn { height: 40px; padding: 0 16px; font-size: 12px; }

/* ---------- videos externos con carga diferida ---------- */
.vid--ext .vid__gate { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--paper); background: radial-gradient(circle at 50% 45%, #2a2a2a, #0b0b0b 70%); cursor: pointer; }
.vid--ext .vid__gate .player__play { position: static; transform: none; }
.vid__gate-txt { font-size: 12px; opacity: .75; }
.vid--ext.is-loaded .vid__gate { display: none; }

/* ---------- el espíritu de Banda ---------- */
.spirit { display: grid; gap: 0; margin-top: clamp(56px, 8vw, 110px); border-top: 1px solid var(--line); counter-reset: s; }
.spirit__item { display: grid; gap: 10px 32px; padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); align-items: start; }
.spirit__n { font-size: 12px; opacity: .5; padding-top: .5em; }
.spirit__k { font-family: var(--f-title); font-weight: 300; font-size: clamp(34px, 5vw, 76px); letter-spacing: -.045em; line-height: .95; }
.spirit__item p { font-size: 14px; line-height: 1.7; max-width: 52ch; opacity: .82; }
@media (min-width: 900px) {
  .spirit__item { grid-template-columns: 60px minmax(0, 1.1fr) minmax(0, 1fr); }
  .spirit__item p { padding-top: .6em; }
  .spirit__item:nth-child(even) .spirit__k { font-weight: 700; }
}
.spirit__end { display: grid; gap: 24px; align-items: center; margin: clamp(56px, 8vw, 110px) 0 clamp(64px, 9vw, 120px); }
.spirit__quote { font-family: var(--f-title); font-weight: 300; font-size: clamp(40px, 7vw, 120px); letter-spacing: -.05em; line-height: .95; }
.spirit__quote em { font-style: normal; font-weight: 700; display: block; }
@media (min-width: 900px) { .spirit__end { grid-template-columns: auto 1fr; gap: 48px; } }
.team__head { margin-bottom: clamp(24px, 3vw, 40px); }
.ftr { padding-bottom: clamp(24px, 4vw, 48px); }

/* fundadores arriba */
.team--lead { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; gap: 22px 16px; margin-bottom: clamp(36px, 5vw, 64px); }
.team--lead .member h3 { font-size: clamp(18px, 1.8vw, 24px); }
.team--lead .member p { font-size: 12.5px; }

/* marquee de logos */
.marquee__track { font-size: clamp(40px, 6vw, 92px); }
.brand-logo { height: calc(var(--h, 1) * 1em); width: auto; flex: none; margin-inline: clamp(22px, 3vw, 52px); filter: brightness(0); user-select: none; -webkit-user-drag: none; }
.brand__sep { width: .32em; height: .32em; }
