/* =========================================================
   Ricoffyy v2 — Un café para los sueños
   Capa 1: película de scroll (canvas). Capa 2: interfaz (título reactivo,
   morph menu, altímetro). Wordmark en Lora (la serif más cercana a la de la
   bolsa; ver film-work/type/). Cuerpo en Jost, firma en Mrs Saint Delafield.
   ========================================================= */
:root {
  --espresso: #1a0f0b;
  --espresso-2: #26170f;
  --ink: #1d1411;
  --muted: #6b5850;
  --paper: #fbf6f1;
  --cream: #f6ece4;
  --blush: #f3e2ea;
  --lilac: #e5c4d8;
  --magenta: #b84a75;
  --magenta-deep: #9c3560;
  --gold: #b0843a;
  --gold-light: #d6b36b;
  --slate: #2f4a49;          /* tinta del wordmark en las bolsas */
  --seam: #231b20;           /* color muestreado del último fotograma (16:9 #1e1a1e · 9:16 #281e27) */

  --serif: "Lora", "Iowan Old Style", Georgia, serif;
  --sans: "Jost", "Avenir Next", "Segoe UI", sans-serif;
  --script: "Mrs Saint Delafield", "Snell Roundhand", cursive;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1240px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--espresso);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure, ul, ol, dl, dd, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--espresso); color: var(--cream); padding: 10px 16px; border-radius: 4px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--sans); font-size: .76rem; font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--magenta-deep); margin-bottom: 1.1rem;
}
.eyebrow--light { color: #fff; text-shadow: 0 1px 18px rgba(0,0,0,.55); }
.eyebrow--gold { color: var(--gold-light); }
.display {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.4rem, 5.4vw, 4.8rem); line-height: 1.02; letter-spacing: -.02em;
  color: var(--ink);
}
.display--light { color: var(--cream); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 36ch; }
.text-link {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; padding-block: .4em; border-bottom: 1px solid currentColor;
}
.text-link .arrow { transition: transform .35s var(--ease); }
.text-link:hover .arrow { transform: translateX(5px); }
.text-link--light { color: #fff; }

/* ---------- WhatsApp pill: magenta + filo dorado, nunca verde ---------- */
.wa-pill {
  --pad-y: 1.05em; --pad-x: 1.7em;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  padding: var(--pad-y) var(--pad-x); border-radius: 999px;
  background: linear-gradient(135deg, var(--magenta) 0%, var(--magenta-deep) 100%);
  color: #fff; border: 1.5px solid var(--gold-light);
  box-shadow: 0 0 0 4px rgba(214,179,107,.16), 0 14px 30px -14px rgba(156,53,96,.85);
  font-family: var(--sans); font-size: .8rem; font-weight: 600; line-height: 1;
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), filter .35s var(--ease);
}
.wa-pill::after { /* barrido de luz */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255,236,200,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease-out);
}
.wa-pill:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 0 0 6px rgba(214,179,107,.28), 0 18px 36px -14px rgba(156,53,96,.95); }
.wa-pill:hover::after { transform: translateX(120%); }
.wa-pill:active { transform: translateY(0); }
.wa-ico { width: 1.3em; height: 1.3em; flex: none; color: #fff; }
.wa-pill--sm { --pad-y: .8em; --pad-x: 1.15em; font-size: .7rem; letter-spacing: .14em; }
.wa-pill--block { width: 100%; }
.wa-pill--lg { --pad-y: 1.25em; --pad-x: 2.2em; font-size: .86rem; }
.sm-only { display: none; }

/* =========================================================
   HEADER + MORPH MENU
   --m (0..1) lo escribe main.js según el scroll: 0 = barra abierta,
   1 = píldora compacta. Todo interpola desde esa variable.
   ========================================================= */
.site-header {
  --m: 0;
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; grid-template-rows: var(--header-h); align-items: center;
  padding-inline: var(--gutter);
  color: #fff;
}
.site-header::before { /* scrim suave: el chrome nunca queda sobre la película cruda */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 170%; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(14,8,6,.55), rgba(14,8,6,0));
  opacity: calc(1 - var(--m) * .6);
}
.site-header::after { /* barra: solo aparece fuera de la película */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .45s, border-color .45s;
}
.site-header.on-paper { color: var(--ink); }
.site-header.on-paper::before, .site-header.on-dark::before { opacity: 0; }
.site-header.on-paper::after { background: rgba(251,246,241,.95); border-bottom-color: rgba(29,20,17,.08); }
.site-header.on-dark::after { background: rgba(18,10,7,.92); border-bottom-color: rgba(214,179,107,.12); }

.logo { justify-self: start; text-decoration: none; display: inline-flex; align-items: center; gap: .55rem; }
.logo-full { display: block; width: auto; height: 58px; flex: none; filter: drop-shadow(0 1px 10px rgba(0,0,0,.35)); }
.on-paper .logo-full { filter: none; color: var(--slate); }
.logo-word {
  font-family: var(--serif); font-weight: 600; font-size: 1.62rem; letter-spacing: -.01em; line-height: 1;
  text-shadow: 0 1px 18px rgba(0,0,0,.35);
}
.on-paper .logo-word { text-shadow: none; color: var(--slate); }

.morph {
  justify-self: center; position: relative;
  align-self: start; margin-top: calc((var(--header-h) - 46px) / 2);
  --w-open: 440px; --w-closed: 128px;
  width: calc(var(--w-open) - (var(--w-open) - var(--w-closed)) * var(--m));
  height: 46px; border-radius: 999px;
  background: rgba(20, 12, 9, calc(.18 + var(--m) * .5));
  border: 1px solid rgba(255,255,255, calc(.18 + var(--m) * .12));
  transition: width .5s var(--ease-out), height .55s var(--ease-out), border-radius .55s var(--ease-out), background .4s;
}
.on-paper .morph { background: rgba(251,246,241,.82); border-color: rgba(29,20,17,.12); }
.morph-toggle {
  position: absolute; inset: 0; width: 100%; height: 46px; z-index: 2;
  display: flex; align-items: center; justify-content: center; gap: .6em;
  border: 0; background: none; color: inherit; cursor: pointer;
  font: 600 .72rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  opacity: var(--m); pointer-events: none;
}
.morph.is-compact .morph-toggle { pointer-events: auto; }
.morph-burger { width: 16px; height: 9px; position: relative; display: inline-block; }
.morph-burger i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease-out), top .45s var(--ease-out); }
.morph-burger i:first-child { top: 0; }
.morph-burger i:last-child { top: 7.5px; }
.morph-panel {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: space-around; padding-inline: 18px;
  opacity: calc(1 - var(--m) * 1.6);
}
.morph-panel a {
  font: 500 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; padding: .6em .2em; white-space: nowrap;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .35s var(--ease);
}
.morph-panel a:hover { background-size: 100% 1px; }
.morph-wa { display: none !important; }
.morph.is-compact .morph-panel { pointer-events: none; }
/* abierto desde la píldora: la píldora crece hasta ser una tarjeta */
.morph.is-open {
  z-index: 5; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
  width: min(340px, calc(100vw - 2 * var(--gutter)));
  height: 330px; border-radius: 26px;
  background: rgba(24, 14, 10, .98);
  color: #fff;
}
.on-paper .morph.is-open { background: rgba(26,15,11,.95); }
.morph.is-open .morph-toggle { opacity: 1; height: 50px; inset: 0 0 auto 0; }
.morph.is-open .morph-burger i:first-child { top: 4px; transform: rotate(45deg); }
.morph.is-open .morph-burger i:last-child { top: 4px; transform: rotate(-45deg); }
.morph.is-open .morph-panel {
  opacity: 1; pointer-events: auto; inset: 54px 0 0 0;
  flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 2px; padding: 6px 22px 22px;
}
.morph.is-open .morph-panel a { font: 500 1.6rem/1.2 var(--serif); letter-spacing: -.01em; text-transform: none; padding: .28em 0; border-bottom: 1px solid rgba(255,255,255,.12); background: none; }
.morph.is-open .morph-panel .morph-wa { display: inline-flex !important; align-items: center; gap: .6em; margin-top: 14px; justify-content: center; border: 1.5px solid var(--gold-light); border-radius: 999px; padding: .95em 1em; background: linear-gradient(135deg, var(--magenta), var(--magenta-deep)); font: 600 .74rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.morph.is-open .morph-panel a:not(.morph-wa) { animation: menuIn .55s var(--ease-out) both; }
.morph.is-open .morph-panel a:nth-child(2) { animation-delay: .05s; }
.morph.is-open .morph-panel a:nth-child(3) { animation-delay: .1s; }
.morph.is-open .morph-panel a:nth-child(4) { animation-delay: .15s; }
@keyframes menuIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.header-actions { position: relative; z-index: 1; justify-self: end; display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; border: 1px solid currentColor; border-radius: 999px; padding: 2px; opacity: .92; }
.lang button {
  border: 0; background: none; color: inherit; cursor: pointer;
  font: 600 .68rem/1 var(--sans); letter-spacing: .14em; padding: .55em .8em; border-radius: 999px;
}
.lang button[aria-pressed="true"] { background: currentColor; }
.lang button[aria-pressed="true"] { color: var(--espresso); background: #fff; }
.on-paper .lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* =========================================================
   CAPA 1 — película
   ========================================================= */
.film { position: relative; height: 900vh; background: var(--espresso); }
.stage { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; }
.film-canvas, .film-poster { position: absolute; inset: 0; width: 100%; height: 100%; }
.film-poster { object-fit: cover; opacity: 0; }
.film-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.film-vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(10,5,3,.55) 100%); }
.film-fade { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(to bottom, transparent 30%, var(--seam) 100%); }

/* beats */
.beat {
  position: absolute; z-index: 3; opacity: 0; will-change: opacity, transform;
  color: #fff; max-width: min(560px, 86vw);
}
.beat::before { /* scrim radial bajo el texto */
  content: ""; position: absolute; z-index: -1; inset: -60% -30% -60% -20%; pointer-events: none;
  background: radial-gradient(60% 58% at 30% 50%, rgba(18,9,6,.55), rgba(18,9,6,.28) 45%, transparent 78%);
}
.beat--left { left: var(--gutter); bottom: 16vh; }
.beat--right { right: calc(var(--gutter) + 150px); bottom: 16vh; text-align: right; }
.beat--right::before { background: radial-gradient(60% 58% at 70% 50%, rgba(18,9,6,.55), rgba(18,9,6,.28) 45%, transparent 78%); }
.beat-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 3.3rem); line-height: 1.06; letter-spacing: -.015em;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.beat-sub { margin-top: 1rem; font-size: 1.05rem; color: rgba(255,255,255,.88); text-shadow: 0 1px 14px rgba(0,0,0,.5); }

/* hero: título reactivo */
.beat--hero {
  inset: 0; max-width: none; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: var(--header-h) var(--gutter) 6vh; opacity: 1;
}
.beat--hero::before { inset: 18% 6% 14%; background: radial-gradient(50% 50% at 50% 50%, rgba(30,14,10,.34), transparent 75%); }
.hero-word {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(4.6rem, 17vw, 16.5rem); line-height: .92; letter-spacing: -.035em;
  display: flex; justify-content: center; perspective: 900px;
  margin: .1em 0 .12em;
}
.hw {
  display: inline-block; position: relative;
  /* relleno translúcido: la película se cuela por las letras */
  background: linear-gradient(176deg, rgba(255,251,248,.97) 8%, rgba(255,232,240,.82) 52%, rgba(246,214,170,.72) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  will-change: transform, opacity;
  transform-origin: 50% 60%;
}
.js .hw { clip-path: inset(0 0 100% 0); }
.js .is-booted .hw { clip-path: inset(-10% -10% -30% -10%); transition: clip-path 1.4s var(--ease-out); }
.hero-tag {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.25rem, 2.4vw, 2rem); letter-spacing: .005em; margin-bottom: 2rem;
  text-shadow: 0 1px 20px rgba(0,0,0,.45);
}
.beat--hero .eyebrow { margin-bottom: .4rem; }

/* finale */
.beat--finale { left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; max-width: min(720px, 92vw); }
.beat--finale::before { inset: -40% -20%; background: radial-gradient(50% 50% at 50% 50%, rgba(18,9,6,.5), transparent 75%); }
.fin-mark { display: flex; flex-direction: column; align-items: center; gap: .35rem; font-family: var(--serif); font-weight: 600; font-size: clamp(1.3rem, 2vw, 1.7rem); letter-spacing: -.01em; color: #fff; text-shadow: 0 1px 16px rgba(0,0,0,.5); margin-bottom: .4rem; }
.fin-logo { display: block; width: clamp(130px, 12vw, 180px); height: auto; filter: drop-shadow(0 1px 14px rgba(0,0,0,.45)); }
.fin-title { font-family: var(--script); font-size: clamp(2.7rem, 6.2vw, 6.2rem); white-space: nowrap; line-height: 1; color: #fff; text-shadow: 0 2px 34px rgba(0,0,0,.45); margin-bottom: 2rem; }
.fin-ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px 28px; }

/* altímetro */
.altimeter {
  position: absolute; z-index: 4; right: var(--gutter); top: 50%; transform: translateY(-50%);
  width: 64px; color: #fff; text-align: right; opacity: 0; transition: opacity .6s;
  text-shadow: 0 1px 12px rgba(0,0,0,.5);
}
.altimeter.is-on { opacity: 1; }
.alt-label { font: 500 .58rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; opacity: .75; }
.alt-read { font: 500 1rem/1 var(--serif); margin: .5rem 0 1rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.alt-unit { font: 500 .56rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.alt-track { position: relative; height: 34vh; margin-left: auto; width: 1px; background: rgba(255,255,255,.3); }
.alt-fill { position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--gold-light); transform-origin: top; transform: scaleY(0); }
.alt-fill::after { content: ""; position: absolute; left: -3px; bottom: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 12px var(--gold-light); }
.alt-chapters { position: absolute; inset: 0; list-style: none; margin: 0; padding: 0; }
.alt-chapters li {
  position: absolute; right: 12px; transform: translateY(-50%);
  font: 500 .58rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
  opacity: .45; transition: opacity .4s, color .4s;
}
.alt-chapters li::after { content: ""; position: absolute; right: -15px; top: 50%; width: 7px; height: 1px; background: currentColor; }
.alt-chapters li:nth-child(1) { top: 0; }
.alt-chapters li:nth-child(2) { top: 25%; }
.alt-chapters li:nth-child(3) { top: 50%; }
.alt-chapters li:nth-child(4) { top: 75%; }
.alt-chapters li:nth-child(5) { top: 100%; }
.alt-chapters li.is-active { opacity: 1; color: var(--gold-light); }

/* loader */
.loader { position: absolute; z-index: 6; left: 50%; bottom: 5vh; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: #fff; transition: opacity .6s; }
.loader-bar { width: 140px; height: 1px; background: rgba(255,255,255,.25); overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 100%; background: var(--gold-light); transform-origin: left; transform: scaleX(0); }
.loader-text { font: 500 .6rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; opacity: .8; }
.loader.is-done { opacity: 0; pointer-events: none; }

/* =========================================================
   COLECCIÓN
   ========================================================= */
.collection {
  position: relative; color: var(--ink);
  background: linear-gradient(to bottom, var(--seam) 0, #5a3b31 7%, #c9a99a 15%, var(--paper) 24%, var(--paper) 100%);
  padding: 22vh 0 clamp(80px, 12vw, 160px);
}
.col-lead { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; min-height: min(92vh, 900px); }
.col-media { position: relative; aspect-ratio: 3 / 4; border-radius: 4px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(26,15,11,.55); }
.col-media img, .col-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.col-video { opacity: 0; transition: opacity 1s; }
.col-video.is-playing { opacity: 1; }
.col-text .display { margin-bottom: 1.4rem; max-width: 12ch; }
.col-text .lede { margin-bottom: 2rem; }

.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: clamp(80px, 10vw, 140px); }
.product { display: flex; flex-direction: column; background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 30px 60px -45px rgba(26,15,11,.5); }
.product-media { aspect-ratio: 4 / 4.2; overflow: hidden; background: var(--cream); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.product:hover .product-media img { transform: scale(1.04); }
.product-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.product-tag { font: 500 .7rem/1.2 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--magenta-deep); }
.product-name { font-family: var(--serif); font-weight: 600; font-size: 2.3rem; letter-spacing: -.02em; line-height: 1.05; margin: .45rem 0 .5rem; color: var(--slate); }
.product-notes { font-family: var(--serif); font-style: italic; font-size: 1.08rem; line-height: 1.45; color: var(--ink); margin-bottom: 1.2rem; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; padding: 16px 0; border-top: 1px solid rgba(29,20,17,.1); border-bottom: 1px solid rgba(29,20,17,.1); margin-bottom: 16px; }
.specs dt { font: 500 .62rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.specs dd { font-size: .92rem; line-height: 1.35; margin-top: 3px; }
.sizes { margin-bottom: 22px; margin-top: auto; }
.sizes li { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0; font-size: .95rem; }
.sizes li + li { border-top: 1px dashed rgba(29,20,17,.14); }
.price { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; color: var(--ink); letter-spacing: -.01em; }
.price-note { margin-top: 28px; font-size: .9rem; color: var(--muted); text-align: center; }

/* =========================================================
   ANDREA — spotlight
   ========================================================= */
.spotlight { display: grid; grid-template-columns: 1fr 1fr; min-height: min(100vh, 980px); background: var(--blush); }
.spotlight-media { position: relative; overflow: hidden; min-height: 70vh; }
.spotlight-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: grayscale(1) contrast(1.08) brightness(.98); transform: scale(1.06); }
.spotlight-text { padding: clamp(56px, 8vw, 120px) clamp(24px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; }
.signature { font-family: var(--script); font-weight: 400; font-size: clamp(4.4rem, 9vw, 8.6rem); line-height: .95; color: var(--ink); margin: -.1em 0 .25em -.04em; }
.spotlight-quote p { font-family: var(--serif); font-size: clamp(1.08rem, 1.35vw, 1.24rem); line-height: 1.62; color: var(--ink); max-width: 46ch; }
.timeline { margin: 34px 0 36px; display: grid; gap: 14px; max-width: 46ch; }
.timeline li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; font-size: .93rem; color: var(--muted); }
.timeline img { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; filter: grayscale(1); }
.tl-mark { width: 64px; height: 64px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; background: var(--lilac); color: var(--slate); font: 600 .6rem/1 var(--serif); letter-spacing: -.01em; }
.tl-logo { display: block; width: 44px; height: auto; }
.tl-k { font: 600 .66rem/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink); margin-bottom: 2px; }
.btn-black {
  align-self: flex-start; display: inline-flex; align-items: center; gap: .7em;
  background: var(--ink); color: var(--paper); text-decoration: none;
  padding: 1.1em 1.6em; border-radius: 2px;
  font: 600 .74rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  transition: background .3s, transform .3s var(--ease);
}
.btn-black:hover { background: var(--magenta-deep); transform: translateY(-2px); }
.btn-handle { text-transform: none; letter-spacing: .04em; opacity: .7; }

/* =========================================================
   ENVÍOS + CIERRE
   ========================================================= */
.ship { position: relative; overflow: hidden; background: radial-gradient(90% 70% at 50% 0%, #3a2219 0%, var(--espresso) 70%); color: var(--cream); }
.ship-inner { position: relative; min-height: min(96vh, 940px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-block: clamp(90px, 12vw, 160px); }
.ship-mark {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 0; pointer-events: none;
  font-family: var(--serif); font-weight: 600; font-size: clamp(7rem, 26vw, 25rem); letter-spacing: -.04em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(214,179,107,.16); white-space: nowrap;
}
.ship-inner > *:not(.ship-mark) { position: relative; z-index: 1; }
.ship .display { max-width: 14ch; margin-bottom: 1.4rem; }
.ship-lede { max-width: 44ch; color: rgba(246,236,228,.8); font-size: 1.1rem; margin-bottom: 48px; }
.ship-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(214,179,107,.25); border: 1px solid rgba(214,179,107,.25); margin-bottom: 52px; width: min(720px, 100%); }
.ship-col { background: var(--espresso); padding: 30px 28px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ship-col h3 { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; letter-spacing: -.01em; }
.ship-col p { color: rgba(246,236,228,.72); font-size: .97rem; margin-bottom: 8px; }

/* footer */
.site-footer { background: #120a07; color: rgba(246,236,228,.78); padding: 72px 0 28px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand { font-family: var(--serif); font-weight: 600; font-size: 2.4rem; color: var(--cream); letter-spacing: -.02em; line-height: 1; }
.footer-tag { margin-top: 10px; }
.footer-sign { font-family: var(--script); font-size: 2.6rem; color: var(--gold-light); margin-top: 6px; line-height: 1.2; }
.footer-h { font: 600 .68rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 16px; }
.site-footer ul li + li { margin-top: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.ig { display: inline-flex; align-items: center; gap: .55em; }
.ig-ico { width: 1.1em; height: 1.1em; }
.footer-base { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(246,236,228,.12); display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: .82rem; }
.lang--footer { color: rgba(246,236,228,.8); }

/* reveals (siempre detrás de prefers-reduced-motion) */
.js .rise { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .rise.in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .morph { --w-open: 380px; }
}
@media (max-width: 900px) {
  .site-header { grid-template-columns: auto 1fr auto; gap: 10px; }
  .morph { --w-open: 128px; justify-self: end; }
  .morph-panel { opacity: 0; pointer-events: none; }
  .morph-toggle { opacity: 1; pointer-events: auto; }
  .col-lead { grid-template-columns: 1fr; min-height: 0; }
  .col-media { max-width: 520px; width: 100%; margin-inline: auto; }
  .products { grid-template-columns: 1fr; max-width: 560px; }
  .spotlight { grid-template-columns: 1fr; }
  .spotlight-media { min-height: 0; aspect-ratio: 4 / 4.4; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .beat--right { right: calc(var(--gutter) + 120px); }
  .altimeter { right: 14px; width: 54px; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .lg-only { display: none; }
  .sm-only { display: inline; }
  .logo-word { font-size: 1.32rem; }
  .logo-full { height: 48px; }
  .collection { z-index: 2; margin-top: -120px; padding-top: 20px; background: linear-gradient(to bottom, rgba(35,27,32,0) 0, var(--seam) 110px, #5a3b31 230px, #c9a99a 420px, var(--paper) 620px, var(--paper) 100%); }
  .beat--finale { top: 63%; }
  .header-actions { gap: 8px; }
  .lang button { padding: .5em .6em; }
  .morph { --w-open: 46px; --w-closed: 46px; }
  .morph-label { display: none; }
  .morph.is-open { position: fixed; top: 9px; right: var(--gutter); width: calc(100vw - 2 * var(--gutter)); margin-top: 0; }
  .beat--left, .beat--right { left: var(--gutter); right: var(--gutter); bottom: 12vh; text-align: left; max-width: none; padding-right: 48px; }
  .beat--right::before { background: radial-gradient(60% 58% at 30% 50%, rgba(18,9,6,.55), rgba(18,9,6,.28) 45%, transparent 78%); }
  .altimeter { top: auto; bottom: 12vh; transform: none; right: 10px; width: 40px; }
  .alt-label, .alt-read, .alt-chapters li { display: none; }
  .alt-track { height: 26vh; }
  .specs { grid-template-columns: 1fr 1fr; }
  .ship-cols { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   REDUCED MOTION — la película cae a un fotograma fijo
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .film { height: auto; }
  .stage { position: relative; height: 100vh; height: 100lvh; }
  .film-canvas, .film-grain, .altimeter, .loader { display: none; }
  .film-poster { opacity: 1; }
  .beat:not(.beat--hero) { display: none; }
  .js .hw { clip-path: none; }
  .js .rise { opacity: 1; transform: none; transition: none; }
  .wa-pill, .wa-pill::after, .morph, .product-media img { transition: none; }
}
