/* ==========================================================
   MIL DEMONIOS — paleta Arena
   ========================================================== */
:root {
  --paper: #e8dfd1;          /* arena */
  --paper-2: #ddd1bf;
  --stage: #d3c4ad;          /* fondo de la botella 3D */
  --ink: #1b1612;
  --ink-soft: #3e342b;
  --muted: #6a5c4f;
  --line: rgba(27, 22, 18, .17);
  --clay: #8a5530;
  --on-clay: #f7f1e8;
  --footer: #17120f;
  --ink-filter: none;
  --pin-bg: #1b1612;
  --pin-fg: #f7f1e8;
}
:root {
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Montserrat", system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4vw, 64px);
  --section: clamp(96px, 12vw, 190px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.js { scroll-behavior: auto; } /* con JS, el desplazamiento lento lo hace GSAP */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background-color .6s var(--ease), color .6s var(--ease);
}
body.is-locked { overflow: hidden; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 4px; }
[hidden] { display: none !important; }
.inkable { filter: var(--ink-filter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- tipografía ---------- */
.eyebrow { margin: 0 0 20px; font-size: 11px; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); }
.display { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 6vw, 96px); line-height: .98; letter-spacing: -.015em; }
em { font-style: italic; }
.display a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.display a:hover { background-size: 100% 1px; }

/* ---------- botones ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px; border: 1px solid transparent; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .45s var(--ease-out);
}
.btn:active { transform: scale(.97) !important; transition-duration: .1s; }
.btn--gate { min-width: 140px; min-height: 56px; touch-action: manipulation; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--clay); color: var(--on-clay); }
.btn--light { background: #f4ede2; color: #17120f; }
.btn--light:hover { background: var(--clay); color: #f7f1e8; }
.btn--line { border-color: var(--line); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }
.link-arrow {
  position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
}
.link-arrow::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(.3); transform-origin: left; transition: transform .45s var(--ease); }
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow svg { width: 14px; height: 14px; fill: currentColor; }
.link-arrow--light { color: #f4ede2; }
.pill {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.pill:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.round-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); transition: background-color .3s var(--ease), border-color .3s; }
.round-btn:hover { background: var(--ink); border-color: var(--ink); }
.round-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.round-btn:hover svg { stroke: var(--paper); }

/* ==========================================================
   CURSOR
   ========================================================== */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: grid; place-items: center; position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none;
    width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--ink);
    transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), opacity .3s, background-color .3s;
  }
  .cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; opacity: .22; }
  .cursor.is-view { width: 88px; height: 88px; margin: -44px 0 0 -44px; opacity: 1; }
  .cursor.is-drag { width: 70px; height: 70px; margin: -35px 0 0 -35px; opacity: 1; }
  .cursor__label { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--paper); opacity: 0; transition: opacity .2s; }
  .cursor.is-view .cursor__label, .cursor.is-drag .cursor__label { opacity: 1; }
  .cursor.is-hidden { opacity: 0; }
}

/* ==========================================================
   VERIFICACIÓN DE EDAD
   ========================================================== */
.gate { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 24px var(--gutter); text-align: center; }
.gate__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--paper); transition: transform .85s var(--ease-out); }
.gate__panel--top { top: 0; }
.gate__panel--bottom { bottom: 0; }
.gate__inner { position: relative; max-width: 440px; transition: opacity .3s var(--ease), transform .4s var(--ease); }
.gate.is-leaving .gate__inner { opacity: 0; transform: translateY(-12px); }
.gate.is-leaving .gate__panel--top { transform: translateY(-101%); transition-delay: .12s; }
.gate.is-leaving .gate__panel--bottom { transform: translateY(101%); transition-delay: .12s; }
.gate.is-leaving { pointer-events: none; }
.gate__logo { width: 84px; height: auto; margin: 0 auto 18px; }
.gate__wordmark { width: 190px; height: auto; margin: 0 auto 44px; }
.gate__title { margin: 0 0 32px; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 5vw, 46px); line-height: 1.1; }
.gate__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.gate__denied { margin: 24px 0 0; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--clay); }
.gate__legal { margin: 40px 0 0; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }

/* ==========================================================
   NAVEGACIÓN (clara sobre el video, de color al bajar)
   ========================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  height: 80px; padding: 0 var(--gutter); color: #f4ede2;
  transition: background-color .4s var(--ease), height .4s var(--ease), transform .5s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.nav .inkable { filter: invert(1) brightness(1.1); }
.nav.is-solid { background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); height: 66px; color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.nav.is-solid .inkable { filter: var(--ink-filter); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand { display: block; padding: 8px 0; }
.nav__brand img { width: 118px; height: auto; }
.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); }
.nav__links a { position: relative; padding: 12px 0; font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; }
.nav__links a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: 12px 22px !important; border-radius: 999px; border: 1px solid currentColor; transition: background-color .3s var(--ease), color .3s var(--ease); }
.nav__cta:hover { background: var(--clay); border-color: var(--clay); color: var(--on-clay); }
.nav__toggle { display: none; position: relative; width: 44px; height: 44px; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 1px; background: currentColor; transition: transform .35s var(--ease); }
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 26px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ==========================================================
   HERO — video a pantalla completa, texto en flujo (no se corta)
   ========================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding: 110px var(--gutter) 110px; background: #17120f; color: #f4ede2;
}
.hero__media { position: absolute; inset: 0; }
.hero__video { width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; }
.hero__veil { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(15,11,9,.78) 0%, rgba(15,11,9,.45) 34%, rgba(15,11,9,0) 62%),
  linear-gradient(0deg, rgba(15,11,9,.55) 0%, rgba(15,11,9,0) 28%); }
.hero__content { position: relative; z-index: 2; width: min(540px, 100%); }
.hero .eyebrow { color: rgba(244,237,226,.8); }
.hero__brand { margin: 0 0 clamp(16px, 3vh, 30px); }
.hero__brand img { width: min(400px, 100%); height: auto; }
.hero__tagline { margin: 0 0 clamp(16px, 3vh, 28px); font-family: var(--serif); font-size: clamp(24px, 2.4vw, 36px); line-height: 1.15; }
.hero__facts { display: flex; flex-wrap: wrap; margin: 0 0 clamp(20px, 4vh, 40px); padding: 0; list-style: none; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(244,237,226,.78); }
.hero__facts li { padding: 2px 14px; border-left: 1px solid rgba(244,237,226,.3); }
.hero__facts li:first-child { padding-left: 0; border-left: 0; }
.hero__facts b { color: #f4ede2; font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero__bar { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: 28px; display: flex; align-items: center; gap: 18px; }
.hero__progress { flex: 1; height: 1px; background: rgba(244,237,226,.25); }
.hero__progress span { display: block; height: 100%; background: #f4ede2; transform-origin: left; transform: scaleX(0); }
.hero__sound { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(244,237,226,.35); }
.hero__sound svg { width: 14px; height: 14px; fill: #f4ede2; }
.hero__sound .i-play { display: none; }
.hero__sound[aria-pressed="true"] .i-play { display: block; }
.hero__sound[aria-pressed="true"] .i-pause { display: none; }
.js .hero__step { opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out), filter 1s var(--ease-out); }
.js .hero__step.is-in { opacity: 1; transform: none; filter: none; }

/* ==========================================================
   MANIFIESTO
   ========================================================== */
.manifesto { position: relative; }
.manifesto__stage { position: relative; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; padding: 0 var(--gutter); }
/* los cuernos al frente, grandes; al bajar se disuelven y aparece el texto */
.manifesto__mark { position: absolute; left: 50%; top: 50%; width: min(42vh, 62vw); height: auto; transform: translate(-50%, -50%); transform-origin: 50% 55%; will-change: transform, opacity, filter; }
.manifesto__copy { position: relative; z-index: 1; width: 100%; max-width: 1180px; }
.manifesto__text { margin: 0; font-family: var(--serif); font-size: clamp(32px, 4.6vw, 72px); line-height: 1.12; letter-spacing: -.01em; }
.manifesto__hint { position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%); margin: 0; font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.manifesto__hint::after { content: ""; display: block; width: 1px; height: 28px; margin: 10px auto 0; background: currentColor; animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.manifesto__img { display: block; width: 100%; height: auto; transform-origin: 50% 55%; will-change: transform, opacity, filter; }
.js .manifesto__copy { opacity: 0; }
.js .manifesto__mark { opacity: 0; }
.js .manifesto__text .w { color: color-mix(in srgb, var(--ink) 16%, transparent); transition: color .25s linear; }
.js .manifesto__text .w.is-lit { color: var(--ink); }
.scrub-words .w { transition: color .25s linear; }
.js .scrub-words .w { color: color-mix(in srgb, var(--ink) 18%, transparent); }
.js .scrub-words .w.is-lit { color: var(--ink); }

/* ==========================================================
   RECORRIDO HORIZONTAL
   ========================================================== */
.journey { background: var(--paper-2); }
.journey__pin { height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.journey__row { display: flex; align-items: center; will-change: transform; }
.journey__head { flex: none; width: clamp(280px, 30vw, 440px); padding: 0 var(--gutter); }
.journey__hint { margin: 32px 0 0; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.journey__hint span { display: inline-block; animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }
.journey__track { display: flex; gap: clamp(24px, 3vw, 56px); padding-right: var(--gutter); }
.chapter { flex: none; width: clamp(280px, 30vw, 460px); }
.chapter__img { position: relative; margin: 0 0 22px; overflow: hidden; aspect-ratio: 4 / 5; cursor: zoom-in; background: var(--paper-2); }
.chapter__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), opacity .7s var(--ease), clip-path .9s var(--ease-out); }
/* el dibujo se funde con el papel de la sección; la foto real aparece al pasar el cursor */
.chapter__draw { mix-blend-mode: multiply; }
.chapter__photo { position: absolute; inset: 0; z-index: 1; opacity: 0; clip-path: circle(0% at 50% 50%); }
.chapter__img:hover .chapter__photo, .chapter__img:focus-visible .chapter__photo { opacity: 1; clip-path: circle(75% at 50% 50%); }
.chapter__img:hover .chapter__draw { transform: scale(1.04); }
.chapter__n { font-size: 11px; font-weight: 600; letter-spacing: .3em; color: var(--muted); }
.chapter h3 { margin: 6px 0 8px; font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.1; }
.chapter p { margin: 0; color: var(--ink-soft); max-width: 380px; }

/* ==========================================================
   BOTELLA 3D — todo el fondo del mismo color
   ========================================================== */
.bottle {
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(24px, 4vw, 80px);
  padding: clamp(72px, 9vw, 140px) var(--gutter); background: var(--stage);
  transition: background-color .6s var(--ease);
}
.bottle__stage { position: relative; height: min(86vh, 860px); min-height: 520px; padding-bottom: 72px; outline: none; cursor: grab; touch-action: pan-y; }
.bottle__stage.is-dragging { cursor: grabbing; }
.bottle__stage:focus-visible { outline: 2px solid var(--clay); outline-offset: 4px; }
#bottle-canvas { width: 100%; height: 100%; opacity: 0; transition: opacity 1s var(--ease); }
.bottle__stage.is-ready #bottle-canvas { opacity: 1; }
.bottle__fallback { width: auto; height: 100%; margin: 0 auto; object-fit: contain; }
.pins { position: absolute; inset: 0 0 72px 0; pointer-events: none; }
/* puntos discretos sobre la botella + línea fina hacia la etiqueta afuera */
.pins__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.pin-line { stroke: rgba(27, 22, 18, .42); stroke-width: 1; transition: opacity .35s var(--ease); }
.pin-dot {
  position: absolute; left: 0; top: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%;
  background: var(--ink); box-shadow: 0 0 0 2px rgba(247, 241, 232, .9); pointer-events: none;
  transition: opacity .35s var(--ease), background-color .3s;
}
.pin-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid rgba(27, 22, 18, .35); animation: pulse 2.8s var(--ease) infinite; }
.pin-label {
  position: absolute; left: 0; top: 0; transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px 0 5px;
  border: 1px solid rgba(27, 22, 18, .16); border-radius: 999px;
  background: rgba(247, 241, 232, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
  white-space: nowrap; pointer-events: auto;
  transition: opacity .35s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.pin-label[data-side="left"] { transform: translate(-100%, -50%); flex-direction: row-reverse; padding: 0 5px 0 12px; }
.pin-label__icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--paper); }
.pin-label__icon svg { width: 13px; height: 13px; fill: currentColor; }
.pin-label:hover { border-color: rgba(27, 22, 18, .4); }
.pin-label[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pin-label[aria-pressed="true"] .pin-label__icon { background: var(--clay); color: var(--on-clay); }
.pin-label.is-hidden, .pin-dot.is-hidden, .pin-line.is-hidden { opacity: 0; pointer-events: none; }
/* móvil: solo el icono (el panel de abajo ya dice qué es) */
.pins.is-compact .pin-label__text { display: none; }
.pins.is-compact .pin-label, .pins.is-compact .pin-label[data-side="left"] { padding: 5px; min-height: 0; }
.pins.is-compact .pin-label::before { content: ""; position: absolute; inset: -8px; } /* área táctil de 44px */
.pins { overflow: hidden; }
@keyframes pulse { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.stage__ui { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: flex; align-items: center; gap: 16px; }
.stage__hint { margin: 0; font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.stage__hand { display: inline-block; margin-right: 6px; animation: nudge 1.8s var(--ease) infinite; }

.d-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 24px; }
.d-chip { min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; letter-spacing: .08em; transition: background-color .3s, color .3s, border-color .3s; }
.d-chip:hover { border-color: var(--ink); }
.d-chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.d-panel { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; min-height: 150px; padding: 24px 0; border-top: 1px solid var(--line); }
.d-panel__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--paper); }
.d-panel__icon svg { width: 24px; height: 24px; fill: currentColor; }
.d-panel h3 { margin: 4px 0 8px; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; }
.d-panel p { margin: 0; color: var(--ink-soft); max-width: 460px; }
.d-panel.is-swap { animation: swap .5s var(--ease-out); }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 24px; margin: 0 0 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.specs div { padding: 14px 0; }
.specs div:nth-child(n+3) { border-top: 1px solid var(--line); }
.specs dt { font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.specs dd { margin: 4px 0 0; font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.notes { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.notes span { padding: 7px 15px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--ink-soft); }

/* ==========================================================
   RITUAL
   ========================================================== */
.ritual { position: relative; overflow: hidden; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; background: #120e0b; color: #f1eadf; }
.ritual__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.ritual__veil { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(18,14,11,.92) 0%, rgba(18,14,11,.78) 38%, rgba(18,14,11,.15) 72%, rgba(18,14,11,0) 100%),
  linear-gradient(0deg, rgba(18,14,11,.5), rgba(18,14,11,0) 30%); }
.ritual__inner { position: relative; z-index: 1; width: min(620px, 100%); padding: var(--section) var(--gutter); }
.ritual__head { margin-bottom: clamp(32px, 5vw, 56px); }
.ritual .eyebrow { color: rgba(241,234,223,.7); }
.ritual .display em { color: #e7c9a1; }
.tabs { max-width: 1320px; margin: 0 auto; }
.tabs__list { position: relative; display: flex; gap: clamp(20px, 4vw, 44px); border-bottom: 1px solid rgba(241,234,223,.2); overflow-x: auto; scrollbar-width: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tab { flex: none; min-height: 56px; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); color: rgba(241,234,223,.55); transition: color .3s var(--ease); }
.tab[aria-selected="true"], .tab:hover { color: #f1eadf; }
.tabs__ink { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: #e7c9a1; transition: transform .5s var(--ease-out), width .5s var(--ease-out); }
.tab-panel { padding-top: clamp(28px, 4vw, 48px); }
.tab-panel__big { margin: 0 0 6px; font-family: var(--serif); font-size: clamp(72px, 9vw, 132px); line-height: .9; color: #e7c9a1; }
.tab-panel__big small { margin-left: 8px; font-family: var(--sans); font-size: 14px; letter-spacing: .3em; text-transform: uppercase; color: rgba(241,234,223,.6); }
.tab-panel__lead { margin: 0 0 24px; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.2; }
.tab-panel.is-in .tab-panel__big, .tab-panel.is-in .tab-panel__lead, .tab-panel.is-in .steps li { animation: rise .7s var(--ease-out) both; }
.tab-panel.is-in .tab-panel__lead { animation-delay: .08s; }
.tab-panel.is-in .steps li:nth-child(1) { animation-delay: .16s; }
.tab-panel.is-in .steps li:nth-child(2) { animation-delay: .24s; }
.tab-panel.is-in .steps li:nth-child(3) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.ritual .steps li { border-bottom-color: rgba(241,234,223,.16); color: rgba(241,234,223,.85); }
.ritual .steps li::before { color: #e7c9a1; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; max-width: 560px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.steps li::before { content: counter(s, decimal-leading-zero); font-size: 11px; font-weight: 600; letter-spacing: .2em; color: var(--muted); padding-top: 4px; }

/* ==========================================================
   LOS NUESTROS
   ========================================================== */
.people { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 112px); padding: var(--section) var(--gutter); max-width: 1440px; margin: 0 auto; }
.people__img { margin: 0; overflow: hidden; cursor: zoom-in; }
.people__img img { width: 100%; height: auto; transition: transform 1.2s var(--ease-out); }
.people__img:hover img { transform: scale(1.04); }
.people__quote { margin: 0 0 28px; font-family: var(--serif); font-style: italic; font-size: clamp(30px, 3.4vw, 52px); line-height: 1.12; }
.people__text { margin: 0; max-width: 440px; color: var(--ink-soft); }

/* ==========================================================
   COMPRAR
   ========================================================== */
.buy { padding: var(--section) var(--gutter); }
.stores { max-width: 1320px; margin: 0 auto; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.store { position: relative; display: grid; grid-template-columns: 1fr auto 48px; align-items: center; gap: 24px; min-height: 96px; padding: 0 8px; border-bottom: 1px solid var(--line); text-decoration: none; overflow: hidden; isolation: isolate; }
a.store::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease-out); }
a.store:hover::before, a.store:focus-visible::before { transform: scaleY(1); }
a.store:hover, a.store:focus-visible { color: var(--paper); }
.store__name { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 48px); line-height: 1; transition: transform .5s var(--ease-out); }
a.store:hover .store__name { transform: translateX(16px); }
.store__meta { font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
a.store:hover .store__meta { color: color-mix(in srgb, var(--paper) 75%, transparent); }
.store__arrow { justify-self: end; font-size: 22px; transition: transform .5s var(--ease-out); }
a.store:hover .store__arrow { transform: translate(4px, -4px); }
.store--static .store__name { color: var(--ink-soft); }
.store--accent .store__name { color: var(--clay); }
a.store--accent:hover .store__name { color: var(--paper); }

/* ==========================================================
   REDES
   ========================================================== */
.social { padding: var(--section) var(--gutter); background: var(--paper-2); }
.social__head { max-width: 1440px; margin: 0 auto clamp(32px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.social__head .display { font-size: clamp(30px, 4.4vw, 68px); word-break: break-word; }
.social__links { display: flex; flex-wrap: wrap; gap: 8px; }
.feed { max-width: 1440px; margin: 0 auto; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.feed a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--stage); }
.feed img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.feed a::after { content: ""; position: absolute; inset: 0; background: rgba(17,14,12,.45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4ede2' stroke-width='1.5'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3C/svg%3E") center / 30px no-repeat; opacity: 0; transition: opacity .4s var(--ease); }
.feed a:hover img, .feed a:focus-visible img { transform: scale(1.06); }
.feed a:hover::after, .feed a:focus-visible::after { opacity: 1; }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer { background: var(--footer); color: #f1eadf; text-align: center; padding: clamp(80px, 10vw, 140px) var(--gutter) 36px; }
.footer__logo { width: 72px; height: auto; margin: 0 auto 24px; }
.footer__tag { margin: 0 0 40px; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.6vw, 34px); }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; margin-bottom: clamp(56px, 8vw, 100px); }
.footer__nav a { padding: 12px 0; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; color: rgba(241,234,223,.75); transition: color .3s; }
.footer__nav a:hover { color: #f1eadf; }
.footer__legal { border-top: 1px solid rgba(241,234,223,.14); padding-top: 28px; font-size: 12px; letter-spacing: .04em; color: rgba(241,234,223,.62); }
.footer__legal p { margin: 0 0 6px; }
.footer__legal strong { color: #f1eadf; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }

/* ==========================================================
   DIÁLOGOS
   ========================================================== */
.film, .viewer { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100vh; height: 100dvh; }
.film::backdrop, .viewer::backdrop { background: color-mix(in srgb, var(--paper) 96%, transparent); }
.film[open], .viewer[open] { display: grid; place-items: center; animation: swap .4s var(--ease-out); }
.film video { height: min(88dvh, 133vw); width: auto; aspect-ratio: 3 / 4; background: #000; }
.viewer img { max-width: 92vw; max-height: 88dvh; width: auto; height: auto; }
.film__close { position: fixed; top: 16px; right: 16px; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; background: var(--paper); }
.film__close svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1100px) {
  .feed { grid-template-columns: repeat(4, 1fr); }
  .bottle { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav { height: 64px; }
  .nav__brand img { width: 100px; }
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 6px;
    background: var(--paper); color: var(--ink); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav__links a { font-family: var(--serif); font-size: 34px; letter-spacing: 0; text-transform: none; padding: 8px 0; }
  .nav__cta { margin-top: 20px; font-family: var(--sans) !important; font-size: 12px !important; letter-spacing: .2em !important; text-transform: uppercase !important; }
  .nav.is-open { color: var(--ink); }
  .nav.is-open .inkable { filter: var(--ink-filter); }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }

  .hero { justify-content: flex-end; padding: 96px var(--gutter) 96px; }
  .hero__video { object-position: 72% 50%; }
  .hero__veil { background: linear-gradient(0deg, rgba(15,11,9,.92) 0%, rgba(15,11,9,.65) 42%, rgba(15,11,9,.1) 72%); }
  .hero__brand img { width: min(280px, 78%); }
  .hero__facts { font-size: 11px; }
  .hero__facts li { padding: 2px 10px; }

  .journey__pin { height: auto; display: block; padding: var(--section) 0; }
  .journey__row { display: block; }
  .journey__head { width: auto; margin-bottom: 40px; }
  .journey__track { overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .journey__track::-webkit-scrollbar { display: none; }
  .chapter { width: 78vw; scroll-snap-align: start; }

  .bottle, .people { grid-template-columns: 1fr; }
  .bottle__stage { height: 70svh; min-height: 460px; }
  .ritual { align-items: flex-end; }
  .ritual__video { object-position: 62% 50%; }
  .ritual__veil { background: linear-gradient(0deg, rgba(18,14,11,.95) 0%, rgba(18,14,11,.82) 55%, rgba(18,14,11,.25) 85%, rgba(18,14,11,.1) 100%); }
  .ritual__inner { padding-top: 40vh; }
  .manifesto__mark { width: min(56vw, 300px); }
  .feed { grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .store { grid-template-columns: 1fr 32px; min-height: 84px; gap: 4px 12px; padding: 12px 4px; }
  .store__meta { grid-column: 1; grid-row: 2; }
  .store__arrow { grid-column: 2; grid-row: 1 / span 2; }
}

@media (max-width: 480px) {
  .gate__actions .btn, .hero__actions .btn { width: 100%; }
  .specs dd { font-size: 19px; }
  .stage__hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .hero__step { opacity: 1; transform: none; filter: none; }
  .js .scrub-words .w { color: var(--ink); }
  .js .manifesto__copy { opacity: 1; }
  .js .manifesto__mark { display: none; }
  .js .manifesto__text .w { color: var(--ink); }
}
