:root {
  --navy-900: oklch(0.21 0.06 264);
  --navy-800: oklch(0.27 0.07 264);
  --navy-600: oklch(0.42 0.08 262);
  --paper-50: oklch(0.995 0.002 255);
  --paper-100: oklch(0.975 0.005 255);
  --paper-200: oklch(0.94 0.01 255);
  --paper-300: oklch(0.88 0.016 255);
  --ink: oklch(0.24 0.03 262);
  --ink-soft: oklch(0.45 0.03 262);
  --steel-light: oklch(0.82 0.045 245);
  --steel: oklch(0.5 0.08 258);
  --rose: oklch(0.55 0.15 25);
  --ok: oklch(0.55 0.12 150);

  --display: "Cormorant Garamond", "Garamond", Georgia, serif;
  --body: "Figtree", "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper-50);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--steel); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  border: 1px solid var(--navy-900); background: var(--navy-900); color: var(--paper-50);
  padding: .95em 1.6em; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 600; text-decoration: none; border-radius: 0;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { background: var(--navy-800); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--navy-900); }
.btn.ghost:hover { background: var(--navy-900); color: var(--paper-50); }
.btn.accent { background: var(--steel-light); border-color: var(--steel-light); color: var(--navy-900); }
.btn.accent:hover { background: var(--steel); border-color: var(--steel); color: var(--paper-50); }
.btn.block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; font-size: .9rem; color: var(--ink-soft); }

.eyebrow { font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: var(--steel); font-weight: 600; }

/* ---------- Top bar + header ---------- */
.topbar {
  background: var(--navy-900); color: var(--paper-200);
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; text-align: center;
  padding: .6em var(--gutter);
}
.site-head {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in oklch, var(--paper-50) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--paper-200);
}
.site-head .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 34px; height: auto; flex: none; transition: transform .8s var(--ease); }
.brand:hover .brand-mark { transform: perspective(300px) rotateY(180deg); }
.brand-word { font-family: var(--display); font-size: 1.45rem; letter-spacing: .32em; font-weight: 500; color: var(--navy-900); }
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a { text-decoration: none; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); padding: 6px 0; border-bottom: 1px solid transparent; transition: color .25s, border-color .25s; }
.main-nav a:hover { color: var(--navy-900); border-color: var(--steel-light); }
.cart-btn {
  display: inline-flex; align-items: center; gap: 10px; background: none; border: 1px solid var(--paper-300);
  padding: 9px 14px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
}
.cart-btn:hover { border-color: var(--navy-900); }
.cart-count {
  min-width: 22px; height: 22px; display: inline-grid; place-items: center; border-radius: 99px;
  background: var(--navy-900); color: var(--paper-50); font-size: .72rem; letter-spacing: 0; padding: 0 6px;
}
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); background: var(--steel); } }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 8vw, 110px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.hero .title {
  font-family: var(--display); font-weight: 400; color: var(--navy-900);
  font-size: clamp(2.6rem, 6.2vw, 5.6rem); line-height: .98; letter-spacing: -.01em; margin: 18px 0 0;
}
.hero .title em { font-style: italic; color: var(--steel); }
.hero .rule { width: 72px; height: 1px; background: var(--steel-light); margin: 30px 0 22px; }
.hero p.lede { max-width: 30em; color: var(--ink-soft); font-size: 1.05rem; margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-places { margin-top: 40px; display: flex; gap: 28px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.hero-places span::before { content: "◆"; color: var(--steel-light); margin-right: 8px; font-size: .6rem; vertical-align: 2px; }

.hero-art { position: relative; aspect-ratio: 4 / 5; }
.hero-art .frame { position: absolute; border: 0; cursor: pointer; background: var(--paper-200); overflow: hidden; }
.hero-art .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.hero-art .frame:hover img { transform: scale(1.04); }
.hero-art .f1 { inset: 0 22% 18% 0; }
.hero-art .f2 { right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; border: 8px solid var(--paper-50); }
.hero-art .f3 { right: 4%; top: 6%; width: 26%; aspect-ratio: 1; border: 6px solid var(--paper-50); }
.hero-art .gem-fallback {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: radial-gradient(110% 80% at 50% 35%, var(--navy-800), var(--navy-900) 65%);
}
.hero-art .gem-fallback img { width: 46%; height: auto; filter: drop-shadow(0 20px 30px oklch(0.1 0.05 264 / .55)); }
.hero-art .caption {
  position: absolute; left: -14px; bottom: 9%; writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-soft);
}

.reveal { opacity: 0; transform: translateY(18px); animation: rise 1s var(--ease) forwards; }
.reveal.d1 { animation-delay: .08s; } .reveal.d2 { animation-delay: .18s; } .reveal.d3 { animation-delay: .3s; } .reveal.d4 { animation-delay: .45s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Catalog ---------- */
.catalog { padding: 0 0 clamp(64px, 9vw, 120px); }
.catalog-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.catalog-head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4vw, 3.2rem); margin: 8px 0 0; color: var(--navy-900); line-height: 1; }
.chips {
  position: sticky; top: 72px; z-index: 20; background: var(--paper-50);
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 14px 0; margin-bottom: 26px;
  border-bottom: 1px solid var(--paper-200);
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; background: none; border: 1px solid transparent; padding: 8px 16px;
  font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600;
  transition: color .25s, border-color .25s, background .25s;
}
.chip:hover { color: var(--navy-900); }
.chip[aria-pressed="true"] { border-color: var(--navy-900); color: var(--navy-900); background: var(--paper-100); }
.chip small { font-weight: 400; letter-spacing: 0; margin-left: 6px; color: var(--steel); }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px) clamp(14px, 2vw, 26px); }
.piece { text-align: left; background: none; border: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.piece.wide { grid-column: span 2; grid-row: span 2; }
.piece .ph { position: relative; aspect-ratio: 4 / 5; background: var(--paper-200); overflow: hidden; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.piece .ph::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(60% 50% at var(--mx, 50%) var(--my, 30%), oklch(1 0 0 / .28), transparent 70%); opacity: 0; transition: opacity .5s; }
.piece:hover .ph { box-shadow: 0 28px 50px -24px oklch(0.21 0.06 264 / .45); }
.piece:hover .ph::after { opacity: 1; }
.piece.wide .ph { aspect-ratio: auto; flex: 1; min-height: 320px; }
.piece .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .6s var(--ease); }
.piece .ph img.alt { opacity: 0; }
.piece:hover .ph img { transform: scale(1.045); }
.piece:hover .ph img.alt { opacity: 1; }
.piece .tag {
  position: absolute; left: 10px; top: 10px; z-index: 2; background: var(--paper-50); color: var(--navy-900);
  font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; padding: 5px 9px; font-weight: 700;
}
.piece .tag.out { background: var(--navy-900); color: var(--paper-100); }
.piece .tag.low { background: var(--steel-light); }
.piece .meta { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.piece h3 { font-family: var(--display); font-weight: 500; font-size: 1.12rem; line-height: 1.2; margin: 0; color: var(--navy-900); }
.piece.wide h3 { font-size: 1.5rem; }
.piece .sub { font-size: .78rem; color: var(--ink-soft); letter-spacing: .04em; margin-top: 3px; }
.piece .price { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.piece.soldout .ph img { filter: grayscale(.6); opacity: .7; }
.noimg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--paper-300); }
.noimg svg { width: 38%; }

.empty { text-align: center; padding: 70px 20px; border: 1px dashed var(--paper-300); color: var(--ink-soft); }
.empty h3 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; color: var(--navy-900); margin: 0 0 8px; }
.skeleton .ph { animation: shimmer 1.4s infinite; }
@keyframes shimmer { 50% { opacity: .55; } }

/* ---------- Promise strip ---------- */
.promise { background: var(--navy-900); color: var(--paper-100); padding: clamp(48px, 7vw, 90px) 0; }
.promise .wrap { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 36px; align-items: start; }
.promise h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0; line-height: 1.1; }
.promise h2 em { color: var(--steel-light); }
.promise h4 { margin: 0 0 6px; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--steel-light); }
.promise p { margin: 0; color: oklch(0.85 0.02 262); font-size: .95rem; }

.site-foot { padding: 40px 0 56px; font-size: .85rem; color: var(--ink-soft); }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--navy-900); }

/* ---------- Side sheets (pieza + carrito) ---------- */
.scrim { position: fixed; inset: 0; background: oklch(0.2 0.04 262 / .45); z-index: 50; opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
.scrim.on { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 100%); z-index: 60; background: var(--paper-50);
  transform: translateX(100%); visibility: hidden; display: flex; flex-direction: column;
  transition: transform .55s var(--ease), visibility 0s linear .55s;
  box-shadow: -30px 0 60px oklch(0.2 0.05 262 / .12);
}
.sheet.on { transform: none; visibility: visible; transition: transform .55s var(--ease); }
.sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--paper-200); }
.sheet-head h3 { margin: 0; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; }
.x { background: none; border: 0; width: 40px; height: 40px; display: grid; place-items: center; font-size: 1.4rem; line-height: 1; }
.sheet-body { flex: 1; overflow-y: auto; padding: 24px; }
.sheet-foot { border-top: 1px solid var(--paper-200); padding: 20px 24px; background: var(--paper-100); }

.gallery { display: grid; gap: 8px; }
.gallery .main { aspect-ratio: 4 / 5; background: var(--paper-200); overflow: hidden; position: relative; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; }
.thumbs button { flex: none; width: 64px; height: 64px; padding: 0; border: 1px solid transparent; background: var(--paper-200); overflow: hidden; }
.thumbs button[aria-current="true"] { border-color: var(--navy-900); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail h2 { font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1.1; margin: 22px 0 6px; color: var(--navy-900); }
.detail .price-lg { font-size: 1.3rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.detail .desc { color: var(--ink-soft); white-space: pre-line; margin: 16px 0; }
.detail .stock { font-size: .82rem; letter-spacing: .06em; }
.stock.ok { color: var(--ok); } .stock.low { color: var(--steel); } .stock.out { color: var(--rose); }

.qty { display: inline-flex; border: 1px solid var(--paper-300); align-items: center; }
.qty button { width: 38px; height: 40px; background: none; border: 0; font-size: 1.1rem; }
.qty span { min-width: 30px; text-align: center; font-variant-numeric: tabular-nums; }
.buy-row { display: flex; gap: 12px; align-items: stretch; margin-top: 20px; }
.buy-row .btn { flex: 1; }

.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--paper-200); align-items: center; }
.line .th { width: 72px; height: 88px; background: var(--paper-200); overflow: hidden; position: relative; }
.line .th img { width: 100%; height: 100%; object-fit: cover; }
.line h4 { font-family: var(--display); font-weight: 500; font-size: 1.02rem; margin: 0 0 6px; color: var(--navy-900); }
.line .qty button { width: 30px; height: 30px; }
.line .amt { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.line .amt .link-btn { display: block; margin-top: 8px; font-weight: 400; font-size: .78rem; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.total-row strong { font-size: 1.4rem; font-variant-numeric: tabular-nums; }

.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--paper-300); background: var(--paper-50); padding: 12px 14px; border-radius: 0; font-size: 1rem;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-900); }
.field textarea { min-height: 84px; resize: vertical; }
.hint { font-size: .82rem; color: var(--ink-soft); margin: 0; }
.err { color: var(--rose); font-size: .9rem; margin: 0; }

.done { text-align: center; padding: 30px 6px; }
.done .folio { font-family: var(--display); font-size: 3rem; color: var(--navy-900); margin: 8px 0; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 30px); opacity: 0;
  background: var(--navy-900); color: var(--paper-50); padding: 12px 20px; font-size: .9rem; transition: all .4s var(--ease);
  max-width: calc(100% - 32px);
}
.toast.on { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .main-nav { display: none; }
  .cart-btn { margin-left: auto; }
}
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; width: 100%; }
  .promise .wrap { grid-template-columns: 1fr 1fr; }
  .promise h2 { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .piece.wide { grid-column: span 2; grid-row: auto; }
  .piece.wide .ph { aspect-ratio: 4 / 5; min-height: 0; }
  .piece .meta { flex-direction: column; gap: 2px; }
  .brand-word { font-size: 1.15rem; letter-spacing: .26em; }
  .cart-btn .lbl { display: none; }
  .promise .wrap { grid-template-columns: 1fr; }
  .hero-places { gap: 16px; flex-wrap: wrap; }
  .topbar { letter-spacing: .12em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}

/* ---------- Brillo sobre el logo ---------- */
.shine {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url(img/logo-blanco.webp) center / contain no-repeat; mask: url(img/logo-blanco.webp) center / contain no-repeat;
  background: linear-gradient(105deg, transparent 38%, oklch(1 0 0 / .95) 50%, transparent 62%) 160% 0 / 260% 100% no-repeat;
}
@keyframes shine { 0% { background-position: 160% 0; } 100% { background-position: -60% 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Portada: logo girando + BRELLOR MX ---------- */
.stage { position: relative; height: 200vh; background: var(--navy-900); }
.stage-pin {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(18px, 3.4vh, 34px);
  perspective: 1500px; color: var(--paper-50);
  background: radial-gradient(120% 90% at 50% 40%, var(--navy-800) 0%, var(--navy-900) 58%, oklch(0.14 0.05 264) 100%);
}
.stage-pin::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 60% at 50% 50%, transparent 30%, oklch(0.12 0.05 264) 100%);
  opacity: calc(var(--p, 0) * 1.2);
}
.stage-glow {
  position: absolute; left: 50%; top: 42%; width: min(80vw, 760px); aspect-ratio: 1; translate: -50% -50%;
  background: radial-gradient(circle, oklch(0.6 0.08 255 / .22), transparent 62%);
  opacity: 0; animation: glowIn 2s ease 1s both;
}
@keyframes glowIn { to { opacity: 1; } }

.s-logo {
  position: relative; z-index: 1; width: clamp(118px, 16vw, 200px);
  transform: translate3d(0, calc(var(--p, 0) * -70px), 0) scale(calc(1 - var(--p, 0) * .22));
  opacity: calc(1 - var(--p, 0) * .9);
}
.s-spin { position: relative; aspect-ratio: 640 / 769; will-change: transform, opacity; animation: spinIn 1.8s cubic-bezier(.22, .8, .24, 1) .1s both; }
.s-spin img { position: absolute; inset: 0; width: 100%; height: 100%; }
.s-spin.settled { animation: none; will-change: auto; }
.s-spin.settled .s-face { filter: drop-shadow(0 20px 32px oklch(0.08 0.05 264 / .6)); transition: filter .8s ease; }
.s-spin .shine { animation: shine 1.3s ease-in-out 1.85s both; }
@keyframes spinIn {
  0%   { transform: perspective(1200px) translateZ(-700px) rotateY(-360deg); opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: perspective(1200px) translateZ(0) rotateY(0); opacity: 1; }
}

.s-name {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: clamp(10px, 1.8vh, 18px);
  transform: translate3d(0, calc(var(--p, 0) * -150px), 0); opacity: calc(1 - var(--p, 0) * 1.7);
}
.s-word {
  font-family: var(--display); font-weight: 300; line-height: .9; white-space: nowrap;
  font-size: clamp(2.7rem, 10.5vw, 8.6rem); letter-spacing: .16em; padding-left: .16em;
  animation: track 1.6s cubic-bezier(.22, 1, .36, 1) 1.4s both;
}
.s-word i {
  display: inline-block; font-style: normal; opacity: 0;
  animation: letterIn 1s cubic-bezier(.22, 1, .36, 1) both; animation-delay: calc(1.4s + var(--i) * 60ms);
}
@keyframes track { from { letter-spacing: -.04em; padding-left: 0; } to { letter-spacing: .16em; padding-left: .16em; } }
@keyframes letterIn { from { opacity: 0; transform: translateY(.25em); } to { opacity: 1; transform: none; } }
.s-mx {
  display: flex; align-items: center; gap: 18px; font-size: clamp(.72rem, 1.05vw, .88rem); font-weight: 600;
  letter-spacing: .62em; padding-left: .62em; color: var(--steel-light); animation: fadeUp 1s var(--ease) 2.1s both;
}
.s-mx::before, .s-mx::after { content: ""; width: clamp(28px, 5vw, 64px); height: 1px; background: currentColor; opacity: .6; }
.s-tag {
  position: relative; z-index: 1; margin: 0; font-family: var(--display); font-style: italic; font-weight: 300;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem); color: oklch(0.86 0.025 255); letter-spacing: .02em;
  animation: fadeUp 1s var(--ease) 2.4s both; opacity: calc(1 - var(--p, 0) * 2);
}
.s-hint {
  position: absolute; bottom: clamp(20px, 4vh, 40px); left: 50%; translate: -50% 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none;
  font-size: .66rem; letter-spacing: .32em; padding-left: .32em; text-transform: uppercase; color: oklch(0.8 0.03 255);
  animation: fadeUp 1s var(--ease) 2.8s both; opacity: calc(1 - var(--p, 0) * 4);
}
.s-hint::after { content: ""; width: 1px; height: 38px; background: linear-gradient(currentColor, transparent); transform-origin: top; animation: drip 2.2s ease-in-out 3.4s infinite; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 640px) {
  .stage { height: 170vh; }
  .s-mx { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
}

/* ---------- Entradas con profundidad al hacer scroll ---------- */
.depth {
  opacity: 0; transform-origin: 50% 100%;
  transform: perspective(1200px) translate3d(0, 46px, -160px) rotateX(9deg);
  transition: opacity .9s var(--ease) var(--dl, 0ms), transform 1.25s var(--ease) var(--dl, 0ms);
}
.depth.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .depth { opacity: 1; transform: none; } }

/* Acceso discreto al panel */
.staff { display: inline-grid; place-items: center; width: 28px; height: 28px; color: var(--ink-soft); opacity: .28; transition: opacity .3s; }
.staff svg { width: 12px; height: 14px; }
.staff:hover, .staff:focus-visible { opacity: .8; }
