/* ==========================================================
   Nieves Tattoo — estilos
   Paleta: tinta, hueso y un único acento turquesa (su pelo).
   El violeta solo aparece en el stencil del hero.
   ========================================================== */

:root {
  --ink: #0a0a0a;
  --ink-2: #111110;
  --ink-3: #1a1918;
  --bone: #ebe6dd;
  --bone-2: #cfc9bf;
  --mute: #8b867e;
  --line: rgba(235, 230, 221, .13);
  --line-2: rgba(235, 230, 221, .24);
  --teal: #37d3c6;
  --teal-deep: #0e8f86;
  --violet: #5a3fd1;

  --f-display: "Instrument Serif", "Times New Roman", serif;
  --f-sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font: 400 clamp(15px, 1.05vw, 17px)/1.6 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
em { font-style: italic; }
::selection { background: var(--teal); color: var(--ink); }
:focus-visible { outline: 1px solid var(--teal); outline-offset: 4px; }

/* ---------- utilidades tipográficas ---------- */
.label, .eyebrow {
  font: 500 11px/1.4 var(--f-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0;
}
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--bone-2); }
.tick { display: inline-block; width: 28px; height: 1px; background: var(--teal); }

.sec-head { padding: 0 var(--gutter); max-width: 1500px; margin: 0 auto; }
.sec-title {
  font: 400 clamp(46px, 8vw, 132px)/.92 var(--f-display);
  letter-spacing: -.025em;
  margin: 18px 0 0;
}
.sec-title em, .hero__title em, .cta__title em { color: var(--bone-2); }
.sec-lead { max-width: 46ch; color: var(--bone-2); margin: 28px 0 0; }

/* Revelado por líneas (máscara). El texto existe en HTML aunque falle el JS. */
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease-out); }
.is-in .line > span, .line.is-in > span { transform: none; }
.sec-title .line:nth-child(2) > span, .hero__title .line:nth-child(2) > span, .cta__title .line:nth-child(2) > span { transition-delay: .09s; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.no-js .reveal, .no-js .line > span { opacity: 1; transform: none; }

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

/* ---------- barra de progreso (la aguja) ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--teal); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px rgba(55, 211, 198, .6); }

/* ---------- preloader (doble red de seguridad) ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--ink);
  display: grid; place-items: center;
  animation: loaderOut .9s var(--ease-in-out) 4.5s forwards;
}
.loader.is-done { animation: loaderOut .9s var(--ease-in-out) forwards; }
@keyframes loaderOut { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
.loader { clip-path: inset(0 0 0 0); }
.loader__inner { width: min(360px, 76vw); }
.loader__inner { display: flex; flex-direction: column; align-items: center; }
.loader__mark { width: 120px; height: 168px; color: var(--bone); margin-bottom: 40px; overflow: visible; }
.loader__mark .arch-o, .loader__mark .arch-i, .loader__mark .arch-b { stroke-dasharray: 700; stroke-dashoffset: 700; animation: drawArch 1.6s var(--ease-out) forwards; }
.loader__mark .arch-i { animation-delay: .25s; }
.loader__mark .arch-b { animation-delay: .1s; }
.loader__mark g, .loader__mark .acc { opacity: 0; animation: markIn .9s var(--ease-out) .7s forwards; }
.loader__mark .acc { animation-delay: 1.1s; }
@keyframes drawArch { to { stroke-dashoffset: 0; } }
@keyframes markIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.loader__track { align-self: stretch; }
.loader__meta { align-self: stretch; }
.loader__track { position: relative; height: 1px; background: var(--line); overflow: visible; }
.loader__needle { position: absolute; left: 0; top: 0; height: 1px; width: 0; background: var(--bone); transition: width .25s linear; }
.loader__needle::after { content: ""; position: absolute; right: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 14px var(--teal); }
.loader__meta { display: flex; justify-content: space-between; margin-top: 14px; font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.loader__count { color: var(--bone); }

/* ---------- cursor ---------- */
.cursor { position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: 0; transition: opacity .3s var(--ease-out); }
.cursor.is-ready { opacity: 1; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--bone); mix-blend-mode: difference; }
.cursor__ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(235, 230, 221, .45);
  display: grid; place-items: center;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), background .35s, border-color .35s;
}
.cursor__label { font: 500 9px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.is-link .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--teal); }
.cursor.is-label .cursor__ring { width: 78px; height: 78px; margin: -39px 0 0 -39px; background: var(--teal); border-color: var(--teal); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-needle .cursor__ring { width: 120px; height: 120px; margin: -60px 0 0 -60px; border: 1px dashed rgba(55, 211, 198, .7); }
.cursor.is-needle .cursor__label { opacity: 1; color: var(--teal); transform: translateY(74px); }
.cursor.is-hidden .cursor__ring, .cursor.is-hidden .cursor__dot { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor, .loupe { display: none !important; } }
@media (hover: hover) and (pointer: fine) { html.has-cursor, html.has-cursor * { cursor: none !important; } }

/* ---------- lupa ---------- */
.loupe {
  position: fixed; top: 0; left: 0; width: 210px; height: 210px; margin: -105px 0 0 -105px; z-index: 140;
  border-radius: 50%; pointer-events: none; background-repeat: no-repeat; background-color: var(--ink-2);
  border: 1px solid rgba(55, 211, 198, .8);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), inset 0 0 0 6px rgba(10, 10, 10, .35);
  opacity: 0; transform: scale(.4); transition: opacity .3s var(--ease-out), transform .45s var(--ease-out);
  will-change: transform, left, top;
}
.loupe.is-on { opacity: 1; transform: scale(1); }
.loupe::after { content: "×2.4"; position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); font: 500 10px/1 var(--f-mono); letter-spacing: .12em; color: var(--teal); background: rgba(10,10,10,.7); padding: 4px 7px; border-radius: 20px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; gap: 32px; padding: 0 var(--gutter);
  transition: background .5s var(--ease-out), transform .6s var(--ease-out), border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(10, 10, 10, .62); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; color: var(--bone); }
.brand__mark { width: 30px; height: 42px; flex: none; transition: transform .6s var(--ease-out); }
.brand:hover .brand__mark { transform: translateY(-2px) rotate(-3deg); }
.brand__txt { display: flex; flex-direction: column; gap: 4px; }
.brand__name { font: italic 400 27px/.8 var(--f-display); letter-spacing: -.02em; }
.brand__sub { font: 500 9px/1 var(--f-mono); letter-spacing: .42em; text-transform: uppercase; color: var(--mute); }
.acc { fill: var(--teal); }
.nav__links { display: flex; gap: 28px; }
.nav__links a { position: relative; font-size: 14px; color: var(--bone-2); transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--teal); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.nav__links a:hover { color: var(--bone); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- botones ---------- */
.btn-pill {
  position: relative; overflow: hidden; isolation: isolate;
  height: 42px; padding: 0 22px; border-radius: 99px; border: 1px solid var(--line-2);
  font-size: 14px; font-weight: 500; letter-spacing: .01em;
  transition: border-color .4s, color .4s var(--ease-out), transform .1s;
}
.btn-pill__fill, .btn-ink__fill {
  position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--teal); transform: translateY(101%); transition: transform .55s var(--ease-out);
}
.btn-pill:hover { border-color: var(--teal); color: var(--ink); }
.btn-pill:hover .btn-pill__fill, .btn-ink:hover .btn-ink__fill { transform: none; }
.btn-pill:active, .btn-ink:active { transform: scale(.97); transition-duration: .1s; }

.btn-ink {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 14px;
  height: 60px; padding: 0 30px; border-radius: 99px;
  background: var(--bone); color: var(--ink);
  font-size: 16px; font-weight: 500; letter-spacing: .01em;
  transition: transform .1s, box-shadow .5s var(--ease-out);
  will-change: transform;
}
.btn-ink:hover { box-shadow: 0 0 0 6px rgba(55, 211, 198, .14), 0 18px 50px rgba(55, 211, 198, .22); }
.btn-ink__arrow { display: inline-block; transition: transform .5s var(--ease-out); }
.btn-ink:hover .btn-ink__arrow { transform: translateX(5px) rotate(-45deg); }
.btn-ink--sm { height: 44px; padding: 0 20px; font-size: 14px; }
.ripple { position: absolute; border-radius: 50%; background: rgba(10, 10, 10, .28); transform: scale(0); animation: ripple .8s var(--ease-out) forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

.link-line { position: relative; font-size: 15px; color: var(--bone); padding-bottom: 4px; background: linear-gradient(var(--teal), var(--teal)) 0 100% / 100% 1px no-repeat; transition: background-size .5s var(--ease-out), color .3s; }
.link-line:hover { color: var(--teal); background-size: 30% 1px; }

.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--bone); transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

.sheet {
  position: fixed; inset: 0; z-index: 99; background: rgba(10, 10, 10, .9); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: 90px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-in-out); visibility: hidden;
}
.sheet.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.sheet__links { display: flex; flex-direction: column; }
.sheet__links a { display: flex; align-items: baseline; gap: 16px; font: 400 clamp(40px, 11vw, 64px)/1.08 var(--f-display); border-bottom: 1px solid var(--line); padding: 8px 0; }
.sheet__links i { font: 500 11px/1 var(--f-mono); color: var(--teal); font-style: normal; }
.sheet .btn-ink { align-self: flex-start; }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr) minmax(0, .5fr); align-items: center;
  padding: calc(var(--nav-h) + 30px) var(--gutter) 60px; gap: 4vw;
  overflow: hidden;
}
.hero__copy { position: relative; z-index: 3; }
.hero__title {
  font: 400 clamp(56px, 6.5vw, 124px)/.88 var(--f-display);
  letter-spacing: -.035em; margin: 26px 0 0;
}
.hero__lead { max-width: 40ch; margin: 30px 0 0; color: var(--bone-2); font-size: clamp(16px, 1.2vw, 19px); }
.hero__actions { display: flex; align-items: center; gap: 30px; margin-top: 40px; flex-wrap: wrap; }


/* ---------- arco: galería de portada ---------- */
.arch { position: relative; margin: 0; justify-self: center; width: 100%; max-width: 470px; }
.arch__frame {
  position: relative; aspect-ratio: 4 / 5.6; max-height: calc(100svh - var(--nav-h) - 150px);
  border-radius: 999px 999px 0 0; overflow: hidden; background: var(--ink-2); isolation: isolate;
  clip-path: inset(100% 0 0 0 round 999px 999px 0 0);
  transition: clip-path 1.6s var(--ease-in-out);
  will-change: transform;
}
.is-loaded .arch__frame { clip-path: inset(0 0 0 0 round 999px 999px 0 0); }
.no-js .arch__frame { clip-path: none; }
.arch__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  clip-path: inset(100% 0 0 0); transform: scale(1.18); filter: grayscale(.2) contrast(1.05);
  transition: clip-path 1.5s var(--ease-in-out), transform 7s cubic-bezier(.2,.6,.2,1);
}
.arch__img.is-active { clip-path: inset(0 0 0 0); transform: scale(1.02); z-index: 2; }
.arch__img.is-leaving { clip-path: inset(0 0 0 0); z-index: 1; transform: scale(1); filter: grayscale(.6) brightness(.55); transition: filter 1.5s var(--ease-out), transform 1.5s var(--ease-out); }
.arch__shade { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(180deg, rgba(10,10,10,0) 55%, rgba(10,10,10,.7)); }
.arch__line {
  position: absolute; z-index: 4; inset: 12px 12px 0; pointer-events: none;
  border: 1px solid rgba(235, 230, 221, .35); border-bottom: 0; border-radius: 999px 999px 0 0;
  opacity: 0; transition: opacity 1.2s var(--ease-out) 1.2s;
}
.is-loaded .arch__line { opacity: 1; }
.arch::after { content: ""; position: absolute; left: -18px; right: -18px; bottom: 0; height: 1px; background: var(--bone); transform: scaleX(0); transition: transform 1.4s var(--ease-out) .9s; }
.is-loaded .arch::after { transform: scaleX(1); }
.arch__star { position: absolute; z-index: 5; left: 50%; top: 22px; width: 18px; height: 18px; margin-left: -9px; fill: var(--teal); filter: drop-shadow(0 0 8px rgba(55,211,198,.7)); opacity: 0; transform: scale(.3) rotate(-90deg); transition: opacity .8s var(--ease-out) 1.5s, transform 1.2s var(--ease-out) 1.5s; }
.is-loaded .arch__star { opacity: 1; transform: none; animation: twinkle 4s ease-in-out 3s infinite; }
@keyframes twinkle { 50% { transform: scale(.75) rotate(45deg); } }
.arch__cap { position: absolute; z-index: 5; left: 0; right: 0; bottom: 22px; text-align: center; display: flex; flex-direction: column; gap: 6px; pointer-events: none; }
.arch__cap span:first-child { font: italic 400 clamp(26px, 2.2vw, 34px)/1 var(--f-display); }
.arch__cap span:last-child { font: 500 10px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--bone-2); }
.arch__cap.is-swap span { animation: capIn .9s var(--ease-out); }
@keyframes capIn { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

.hero__index { align-self: end; padding-bottom: 8px; }
.hero__index ol { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.hero__index li { border-bottom: 1px solid var(--line); }
.hero__index button { position: relative; width: 100%; display: grid; grid-template-columns: 28px 1fr; align-items: baseline; gap: 8px; padding: 14px 0; text-align: left; color: var(--mute); transition: color .4s; }
.hero__index i { font: 500 10px/1 var(--f-mono); font-style: normal; letter-spacing: .1em; }
.hero__index span { font: 400 19px/1.15 var(--f-display); }
.hero__index button:hover { color: var(--bone-2); }
.hero__index li.is-active button { color: var(--bone); }
.hero__index li.is-active i { color: var(--teal); }
.hero__index .bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; overflow: hidden; }
.hero__index .bar b { display: block; height: 100%; background: var(--teal); transform-origin: 0 50%; transform: scaleX(0); }
.hero__index li.is-active .bar b { animation: barFill var(--slide, 5.5s) linear forwards; }
.hero__index.is-paused li.is-active .bar b { animation-play-state: paused; }
@keyframes barFill { to { transform: scaleX(1); } }
.hero__count { margin: 18px 0 0; font: 500 12px/1 var(--f-mono); letter-spacing: .14em; color: var(--mute); }
.hero__count span { color: var(--bone); }

/* ---------- logo en el pie ---------- */
.foot__logo { display: block; width: clamp(180px, 20vw, 260px); height: auto; margin: 10px auto 50px; opacity: .95; }

/* ---------- manifiesto ---------- */
.manifesto { max-width: 1500px; margin: 0 auto; padding: clamp(110px, 18vw, 240px) var(--gutter) clamp(80px, 12vw, 160px); }
.manifesto__text { font: 400 clamp(32px, 4.6vw, 76px)/1.06 var(--f-display); letter-spacing: -.02em; margin: 34px 0 0; max-width: 22ch; }
.manifesto__text .w { opacity: .16; transition: opacity .35s linear, color .35s; }
.manifesto__text .w.on { opacity: 1; }
.manifesto__text .w.hl { font-style: italic; color: var(--teal); }
.stats { list-style: none; margin: clamp(70px, 10vw, 140px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stats li { padding: 26px 24px 0 0; border-right: 1px solid var(--line); margin-right: 24px; }
.stats li:last-child { border-right: 0; }
.stats strong { display: block; font: 400 clamp(52px, 6vw, 96px)/1 var(--f-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stats span { display: block; margin-top: 12px; font-size: 14px; color: var(--mute); max-width: 22ch; }

/* ==========================================================
   OBRA
   ========================================================== */
.obra { padding: clamp(60px, 8vw, 120px) 0 clamp(90px, 12vw, 180px); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 var(--gutter); max-width: 1500px; margin: 50px auto 40px; }
.chip {
  height: 40px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--line-2);
  font-size: 14px; color: var(--bone-2); transition: background .4s var(--ease-out), color .3s, border-color .3s, transform .1s;
}
.chip sup { font: 500 9px/1 var(--f-mono); color: var(--mute); margin-left: 3px; }
.chip:hover { border-color: var(--bone-2); color: var(--bone); }
.chip:active { transform: scale(.96); }
.chip.is-on { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.chip.is-on sup { color: var(--ink); }

.grid { columns: 4 260px; column-gap: 18px; padding: 0 var(--gutter); max-width: 1500px; margin: 0 auto; }
.work { break-inside: avoid; margin: 0 0 34px; transition: opacity .5s var(--ease-out), transform .6s var(--ease-out), filter .5s; }
.work.is-out { display: none; }
.work.is-entering { opacity: 0; transform: translateY(20px); }
.work__media { display: block; width: 100%; position: relative; overflow: hidden; background: var(--ink-2); }
.work__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(.35) brightness(.86) contrast(1.05); transform: scale(1.04); transition: filter .8s var(--ease-out), transform 1.2s var(--ease-out); }
.work.w-tall .work__media img { aspect-ratio: 3 / 4.6; }
.work__media::after { content: ""; position: absolute; inset: 0; border: 1px solid transparent; transition: border-color .5s; pointer-events: none; }
.work__media:hover img { filter: grayscale(0) brightness(1) contrast(1.02); transform: scale(1); }
.work__media:hover::after { border-color: rgba(55, 211, 198, .5); }
.work figcaption { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; padding-top: 14px; align-items: baseline; }
.work figcaption i { font: 500 10px/1 var(--f-mono); color: var(--teal); font-style: normal; letter-spacing: .1em; grid-row: span 2; padding-top: 6px; }
.work figcaption b { font: 400 26px/1.1 var(--f-display); letter-spacing: -.01em; }
.work figcaption span { font-size: 13px; color: var(--mute); }

/* ==========================================================
   LA ESPALDA — historia con scroll
   ========================================================== */
.pieza { position: relative; height: 420vh; background: #060606; }
.pieza__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.pieza__frame { position: absolute; inset: 0; display: grid; place-items: center; }
.pieza__frame img {
  height: 100vh; height: 100svh; width: auto; max-width: none; aspect-ratio: 1440 / 1800; object-fit: cover;
  transform-origin: 50% 50%; will-change: transform; filter: contrast(1.05);
}
.pieza__vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, rgba(6,6,6,0) 35%, rgba(6,6,6,.85) 80%), linear-gradient(90deg, rgba(6,6,6,.9) 0%, rgba(6,6,6,0) 45%); }
.pieza__head { position: absolute; top: calc(var(--nav-h) + 20px); left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; z-index: 2; }
.pieza__counter { font: 500 12px/1 var(--f-mono); letter-spacing: .14em; color: var(--bone-2); margin: 0; }
.pieza__counter span { color: var(--teal); }
.pieza__panels { position: absolute; left: var(--gutter); bottom: 12vh; width: min(460px, calc(100% - 2 * var(--gutter))); z-index: 2; }
.panel { position: absolute; left: 0; bottom: 0; opacity: 0; transform: translateY(30px); filter: blur(6px); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out), filter .7s var(--ease-out); pointer-events: none; }
.panel.is-active { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.panel h3 { font: 400 clamp(48px, 6vw, 96px)/.92 var(--f-display); letter-spacing: -.03em; margin: 0 0 22px; }
.panel h3 em { color: var(--bone); }
.panel p { margin: 0; color: var(--bone-2); max-width: 38ch; }

/* ==========================================================
   NIEVES
   ========================================================== */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 110px); max-width: 1500px; margin: 0 auto; padding: clamp(110px, 14vw, 200px) var(--gutter); align-items: center; }
.about__img { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-2); }
.about__img img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; filter: saturate(1.15) contrast(1.05); transform: scale(1.12); transition: transform 1.6s var(--ease-out); }
.about__media.is-in .about__img img { transform: scale(1.02); }
.about__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,0) 55%, rgba(10,10,10,.6)); }
.about__caption { display: flex; align-items: center; gap: 12px; margin: 16px 0 0; font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.about__copy > p:not(.label) { color: var(--bone-2); max-width: 52ch; margin: 26px 0 0; }
.about__copy .sec-title { font-size: clamp(46px, 6.4vw, 108px); }
.about__copy .sec-title .line:first-child em, .about__copy .sec-title .line:first-child span { color: var(--teal); }
.about__facts { list-style: none; padding: 0; margin: 42px 0 0; border-top: 1px solid var(--line); }
.about__facts li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.about__facts span { font: 500 10.5px/1.8 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.about__facts b { font-weight: 400; }
.about__facts a { border-bottom: 1px solid var(--teal); transition: color .3s; }
.about__facts a:hover { color: var(--teal); }

/* ==========================================================
   PROCESO
   ========================================================== */
.proceso { padding: clamp(90px, 12vw, 180px) 0; border-top: 1px solid var(--line); }
.steps { position: relative; max-width: 1500px; margin: clamp(60px, 8vw, 110px) auto 0; padding: 0 var(--gutter); }
.steps__thread { position: absolute; left: var(--gutter); right: var(--gutter); top: 0; width: calc(100% - 2 * var(--gutter)); height: 40px; overflow: visible; }
.steps__thread path { fill: none; stroke: var(--teal); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.steps ol { list-style: none; margin: 0; padding: 70px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.step i { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 50%; font: 500 11px/1 var(--f-mono); font-style: normal; color: var(--teal); background: var(--ink); transition: background .4s, color .4s; }
.step:hover i { background: var(--teal); color: var(--ink); }
.step h3 { font: 400 34px/1 var(--f-display); letter-spacing: -.01em; margin: 26px 0 14px; }
.step p { margin: 0; font-size: 15px; color: var(--mute); max-width: 30ch; }
.step:nth-child(2) { transition-delay: .08s; } .step:nth-child(3) { transition-delay: .16s; } .step:nth-child(4) { transition-delay: .24s; } .step:nth-child(5) { transition-delay: .32s; }

/* ==========================================================
   ESTUDIOS
   ========================================================== */
.estudios { padding: clamp(90px, 12vw, 180px) 0; background: var(--ink-2); border-block: 1px solid var(--line); }
.studios { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 1500px; margin: clamp(50px, 7vw, 100px) auto 0; padding: 0 var(--gutter); perspective: 1200px; }
.studio {
  position: relative; padding: clamp(28px, 4vw, 56px); border: 1px solid var(--line); background: var(--ink);
  min-height: 420px; display: flex; flex-direction: column; overflow: hidden;
  transform-style: preserve-3d; transition: border-color .5s, transform .6s var(--ease-out);
}
.studio::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(55, 211, 198, .1), transparent 45%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.studio:hover { border-color: var(--line-2); }
.studio:hover::before { opacity: 1; }
.studio__city { font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin: 0; }
.studio h3 { font: 400 clamp(48px, 5.4vw, 88px)/.92 var(--f-display); letter-spacing: -.03em; margin: 24px 0 auto; }
.studio h3 em { color: var(--mute); }
.studio__coords { display: flex; gap: 22px; margin-top: 40px; font: 500 12px/1 var(--f-mono); color: var(--bone-2); letter-spacing: .08em; }
.studio__note { color: var(--mute); font-size: 14px; margin: 16px 0 22px; }
.studio .link-line { align-self: flex-start; }

/* ==========================================================
   FAQ
   ========================================================== */
.faq { padding: clamp(90px, 12vw, 180px) 0; }
.faq__list { max-width: 1100px; margin: clamp(50px, 7vw, 90px) auto 0; padding: 0 var(--gutter); border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; cursor: pointer; font: 400 clamp(24px, 2.5vw, 38px)/1.15 var(--f-display); letter-spacing: -.01em; transition: color .3s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--teal); }
.qa summary i { position: relative; flex: none; width: 18px; height: 18px; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .5s var(--ease-out); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i::after { transform: rotate(0); }
.qa__body { overflow: hidden; }
.qa__body p { margin: 0; padding: 0 0 30px; max-width: 64ch; color: var(--bone-2); }

/* ==========================================================
   CTA
   ========================================================== */
.cta { position: relative; text-align: center; padding: clamp(110px, 16vw, 220px) var(--gutter) clamp(120px, 16vw, 220px); overflow: hidden; border-top: 1px solid var(--line); }
.cta::before { content: ""; position: absolute; left: 50%; top: 62%; width: 900px; height: 900px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(55, 211, 198, .1), transparent 60%); pointer-events: none; }
.cta .label { display: block; }
.cta__title { font: 400 clamp(60px, 11vw, 200px)/.88 var(--f-display); letter-spacing: -.04em; margin: 24px 0 0; }
.cta__lead { max-width: 44ch; margin: 30px auto 0; color: var(--bone-2); }
.cta__orb {
  position: relative; display: inline-grid; place-items: center; margin-top: clamp(50px, 7vw, 90px);
  width: clamp(190px, 20vw, 250px); aspect-ratio: 1; border-radius: 50%;
  background: var(--bone); color: var(--ink); overflow: hidden; isolation: isolate;
  transition: transform .1s, box-shadow .6s var(--ease-out); will-change: transform;
}
.cta__orb:hover { box-shadow: 0 0 0 10px rgba(55, 211, 198, .12), 0 30px 90px rgba(55, 211, 198, .3); }
.orb__fill { position: absolute; inset: 0; z-index: -1; background: var(--teal); border-radius: 50%; transform: scale(0); transition: transform .7s var(--ease-out); }
.cta__orb:hover .orb__fill { transform: scale(1); }
.orb__ring { position: absolute; inset: 6%; width: 88%; height: 88%; animation: spin 22s linear infinite; }
.orb__ring text { font: 500 11.5px/1 var(--f-mono); letter-spacing: .22em; fill: var(--ink); }
.cta__orb:hover .orb__ring { animation-duration: 8s; }
@keyframes spin { to { transform: rotate(360deg); } }
.orb__txt { font: 400 clamp(34px, 3.4vw, 46px)/.9 var(--f-display); letter-spacing: -.02em; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 60px var(--gutter) 40px; overflow: hidden; }
.foot__mega { font: italic 400 clamp(64px, 15vw, 270px)/.85 var(--f-display); letter-spacing: -.045em; white-space: nowrap; color: var(--ink-3); -webkit-text-stroke: 1px rgba(235, 230, 221, .18); text-align: center; }
.foot__mega span { font-style: normal; font-size: .3em; vertical-align: middle; margin: 0 .3em; color: var(--teal); -webkit-text-stroke: 0; }
.foot__row { display: grid; grid-template-columns: 1fr auto auto; gap: 40px; align-items: end; margin-top: 50px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); }
.foot__row p { margin: 0; }

/* ---------- dock móvil ---------- */
.dock { display: none; }

/* ---------- visor ---------- */
.viewer { position: fixed; inset: 0; z-index: 160; display: grid; grid-template-rows: 1fr auto; visibility: hidden; pointer-events: none; }
.viewer.is-open { visibility: visible; pointer-events: auto; }
.viewer__scrim { position: absolute; inset: 0; background: rgba(6, 6, 6, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .5s var(--ease-out); }
.viewer.is-open .viewer__scrim { opacity: 1; }
.viewer__stage { position: relative; display: grid; place-items: center; padding: 70px var(--gutter) 10px; min-height: 0; touch-action: pan-y; }
.viewer__stage img { max-height: calc(100svh - 170px); width: auto; max-width: 100%; object-fit: contain; opacity: 0; transform: scale(.94); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); user-select: none; -webkit-user-drag: none; }
.viewer.is-open .viewer__stage img.is-ready { opacity: 1; transform: none; }
.viewer__bar { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px var(--gutter) 26px; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease-out) .1s, transform .6s var(--ease-out) .1s; }
.viewer.is-open .viewer__bar { opacity: 1; transform: none; }
.viewer__bar p { margin: 0; font: 400 26px/1.1 var(--f-display); }
.viewer__bar p small { display: block; font: 500 11px/1.6 var(--f-sans); color: var(--mute); letter-spacing: .02em; }
.viewer__nav { display: flex; align-items: center; gap: 18px; font: 500 12px/1 var(--f-mono); letter-spacing: .1em; color: var(--bone-2); }
.viewer__nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 18px; transition: background .3s, color .3s, transform .1s; }
.viewer__nav button:hover { background: var(--bone); color: var(--ink); }
.viewer__nav button:active { transform: scale(.94); }
.viewer__close { position: absolute; top: 18px; right: var(--gutter); height: 42px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line-2); font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; opacity: 0; transition: opacity .4s .15s, background .3s, color .3s; }
.viewer.is-open .viewer__close { opacity: 1; }
.viewer__close:hover { background: var(--bone); color: var(--ink); }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 170; display: flex; align-items: center; gap: 14px;
  padding: 16px 22px 16px 18px; border-radius: 16px; border: 1px solid rgba(55, 211, 198, .35);
  background: rgba(17, 17, 16, .82); backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
  transform: translate(-50%, 140%) scale(.96); opacity: 0; filter: blur(6px);
  transition: transform .7s var(--ease-out), opacity .5s var(--ease-out), filter .5s var(--ease-out);
  max-width: calc(100vw - 32px);
}
.toast.is-on { transform: translate(-50%, 0) scale(1); opacity: 1; filter: none; }
.toast__dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 14px var(--teal); }
.toast b { display: block; font-weight: 500; font-size: 15px; }
.toast span:not(.toast__dot) { display: block; font-size: 13px; color: var(--mute); }

/* ==========================================================
   RESPONSIVE — composición propia para móvil
   ========================================================== */
@media (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .hero__index { grid-column: 1 / -1; align-self: start; }
  .hero__index ol { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 14px; border-top: 0; }
  .hero__index li { border-bottom: 0; border-top: 1px solid var(--line); }
  .hero__index .bar { top: -1px; bottom: auto; }
  .hero__index button { grid-template-columns: 1fr; }
  .hero__index span { font-size: 16px; }
  .nav__links { display: none; }
  .burger { display: block; }
  .nav .btn-pill { display: none; }
  .steps ol { grid-template-columns: repeat(3, 1fr); row-gap: 50px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(2) { border-right: 0; }
  .stats li:nth-child(n+3) { margin-top: 30px; }
}

@media (max-width: 820px) {
  :root { --nav-h: 64px; }
  .hero { grid-template-columns: 1fr; padding-top: calc(var(--nav-h) + 20px); gap: 0; min-height: auto; padding-bottom: 50px; }
  .arch { max-width: 100%; margin-top: 10px; }
  .arch__frame { max-height: none; aspect-ratio: 4 / 5.2; }
  .hero__index ol { display: flex; gap: 6px; margin-top: 22px; }
  .hero__index li { flex: 1; border: 0; }
  .hero__index button { padding: 0; height: 26px; }
  .hero__index button i, .hero__index button span { display: none; }
  .hero__index .bar { top: 12px; height: 2px; background: var(--line-2); }
  .hero__index .label { display: none; }
  .hero__count { display: none; }
  .brand__mark { width: 26px; height: 36px; }
  .hero__copy { padding-bottom: 40px; }
  .hero__title { font-size: clamp(56px, 16vw, 92px); }
  .manifesto__text { font-size: clamp(30px, 8.4vw, 48px); }
  .grid { columns: 2; column-gap: 12px; }
  .work { margin-bottom: 26px; }
  .work figcaption { grid-template-columns: 1fr; }
  .work figcaption i { grid-row: auto; padding: 0 0 6px; }
  .work figcaption b { font-size: 21px; }
  .work figcaption span { font-size: 12px; }
  .pieza { height: 380vh; }
  .pieza__vignette { background: linear-gradient(180deg, rgba(6,6,6,.3) 0%, rgba(6,6,6,0) 30%, rgba(6,6,6,.92) 78%); }
  .pieza__panels { bottom: 9vh; }
  .panel h3 { font-size: clamp(44px, 12vw, 64px); }
  .about { grid-template-columns: 1fr; }
  .about__facts li { grid-template-columns: 1fr; gap: 4px; }
  .steps__thread { display: none; }
  .steps ol { grid-template-columns: 1fr; padding-top: 0; gap: 0; border-left: 1px solid var(--line); margin-left: 20px; }
  .step { padding: 0 0 44px 34px; position: relative; }
  .step i { position: absolute; left: -21px; top: -4px; }
  .step h3 { margin-top: 0; }
  .studios { grid-template-columns: 1fr; }
  .studio { min-height: 340px; }
  .foot__row { grid-template-columns: 1fr; gap: 16px; padding-bottom: 80px; }
  .dock {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 95;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 8px 8px 8px 18px; border-radius: 99px; border: 1px solid var(--line-2);
    background: rgba(17, 17, 16, .72); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
    font: 500 10px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--bone-2);
    transform: translateY(160%); transition: transform .7s var(--ease-out);
  }
  .dock.is-on { transform: none; }
  .dock .btn-ink { font-family: var(--f-sans); letter-spacing: 0; text-transform: none; font-size: 14px; }
  .toast { bottom: calc(86px + env(safe-area-inset-bottom)); }
  .viewer__bar { flex-direction: column; align-items: flex-start; }
}

/* Solo se apagan los efectos intrusivos */
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .orb__ring { animation-duration: 60s; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav.is-solid, .dock, .toast, .sheet { background: var(--ink-2); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
