/* ==========================================================================
   CROWN BEARD — Experiencia 3D y cinematográfica
   ========================================================================== */
:root { --mx: 0; --my: 0; }

/* ---------- Page transitions ---------- */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: vt-out 0.35s var(--ease) both; }
::view-transition-new(root) { animation: vt-in 0.55s var(--ease) both; }
::view-transition-group(product-media) { animation-duration: 0.6s; animation-timing-function: var(--ease); }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 300; background: var(--night); display: grid; place-items: center;
  transition: clip-path 1s cubic-bezier(.77, 0, .18, 1); clip-path: inset(0 0 0 0);
}
.no-loader .loader { display: none; }
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader__inner { display: flex; flex-direction: column; align-items: center; gap: 26px; transition: opacity .5s, transform .8s var(--ease); }
.loader.is-done .loader__inner { opacity: 0; transform: translateY(-30px); }
.loader img { width: 92px; height: auto; animation: loader-breathe 2.4s ease-in-out infinite; }
.loader__bar { width: 160px; height: 1px; background: rgba(246, 241, 232, .14); overflow: hidden; }
.loader__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.loader__word { font-family: var(--f-display); font-style: italic; color: rgba(246, 241, 232, .55); font-size: 1.1rem; }
@keyframes loader-breathe { 50% { opacity: .7; transform: scale(.97); } }

/* ---------- Split headlines ---------- */
.split-text .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0 .1em; margin-bottom: -.1em; }
.split-text .w > span { display: inline-block; transform: translateY(108%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.split-text.is-in .w > span, .fx-ready [data-hero] .split-text .w > span { transform: none; }

/* ==========================================================================
   HERO 3D
   ========================================================================== */
.hero3d {
  --hp: 0;
  position: relative; height: 100svh; min-height: 660px; overflow: hidden; color: var(--cream);
  background: radial-gradient(ellipse 75% 70% at 66% 46%, #0f1f37 0%, #07111f 45%, #02060b 100%);
  isolation: isolate;
}
.hero3d__back { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero3d__back > * { position: absolute; }
.particles { inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; }
.fog {
  width: 70vw; height: 70vw; border-radius: 50%; filter: blur(60px); opacity: .5;
  background: radial-gradient(closest-side, rgba(36, 58, 94, .55), transparent 70%);
}
.fog--1 { left: 30%; top: 10%; animation: fog-a 26s ease-in-out infinite alternate; }
.fog--2 { left: 55%; top: 40%; width: 50vw; height: 50vw; background: radial-gradient(closest-side, rgba(197, 160, 90, .12), transparent 70%); animation: fog-b 32s ease-in-out infinite alternate; }
@keyframes fog-a { to { transform: translate(-12%, 8%) scale(1.15); } }
@keyframes fog-b { to { transform: translate(10%, -12%) scale(.9); } }
.fx-lite .fog { animation: none; }

.hero3d__word {
  left: 64%; top: 46%; transform: translate(calc(-50% + var(--mx) * -18px), calc(-50% + var(--my) * -10px + var(--hp) * 120px));
  font-family: var(--f-display); font-weight: 500; font-size: clamp(8rem, 24vw, 26rem); line-height: 1; letter-spacing: .02em;
  color: transparent; -webkit-text-stroke: 1px rgba(197, 160, 90, .16); white-space: nowrap; user-select: none;
  opacity: 0; transition: opacity 2.4s var(--ease) .6s;
}
.fx-ready .hero3d__word { opacity: 1; }
.hero3d__beam {
  left: 62%; top: -8%; width: 34vw; height: 96%; transform: translateX(calc(-50% + var(--mx) * 22px));
  background: linear-gradient(180deg, rgba(232, 204, 146, .2), rgba(232, 204, 146, .05) 55%, transparent 85%);
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%); filter: blur(28px); mix-blend-mode: screen;
  opacity: 0; transition: opacity 2s var(--ease) .3s;
}
.fx-ready .hero3d__beam { opacity: 1; }
.hero3d__floor {
  left: 0; right: 0; bottom: 0; height: 24%;
  background: linear-gradient(180deg, rgba(25, 42, 70, 0) 0%, rgba(25, 42, 70, .5) 6%, rgba(4, 9, 16, .9) 55%, #02060b 100%);
}
.hero3d__floor::before {
  content: ""; position: absolute; left: 22%; right: -10%; top: 6%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(220, 192, 138, .35), transparent); filter: blur(.5px);
}

/* Stage & products */
.stage { position: absolute; inset: 0 0 0 42%; z-index: 2; perspective: 1500px; perspective-origin: 50% 38%; pointer-events: none; }
.stage__scene {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: translate3d(0, calc(var(--hp) * -7%), 0) scale(calc(1 + var(--hp) * .12)) rotateX(calc(var(--my) * -2.5deg)) rotateY(calc(var(--mx) * 7deg));
  will-change: transform;
}
.prod {
  position: absolute; left: var(--x); bottom: 15%; height: var(--h); margin: 0;
  transform: translate3d(-50%, 0, var(--z)); transform-style: preserve-3d;
}
.prod__enter { position: relative; height: 100%; opacity: 0; }
.fx-ready .prod__enter { animation: prod-rise 1.6s var(--ease) var(--ed, 0s) both; }
@keyframes prod-rise {
  from { opacity: 0; transform: translateY(22%); filter: blur(10px) brightness(.4); }
  60% { filter: blur(0) brightness(1.05); }
  to { opacity: 1; transform: none; filter: none; }
}
.fx-lite.fx-ready .prod__enter { animation-name: prod-rise-lite; }
@keyframes prod-rise-lite { from { opacity: 0; transform: translateY(16%); } to { opacity: 1; transform: none; } }
.prod__float { position: relative; height: 100%; animation: float 7s ease-in-out var(--fd, 0s) infinite; }
@keyframes float { 50% { transform: translateY(-2.4%); } }
.prod__img { height: 100%; width: auto; max-width: none; position: relative; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.prod__sheen {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  background: linear-gradient(100deg, transparent 38%, rgba(255, 236, 200, .55) 49%, rgba(255, 255, 255, .7) 50%, rgba(255, 236, 200, .4) 51%, transparent 62%);
  background-size: 320% 100%; background-position: 130% 0; opacity: .7;
}
.fx-ready .prod__sheen { animation: sweep 10s cubic-bezier(.45, .05, .25, 1) calc(var(--ed, 0s) + 1.1s) infinite; }
@keyframes sweep { 0% { background-position: 130% 0; } 16%, 100% { background-position: -30% 0; } }
.prod__reflect {
  position: absolute; left: 0; top: 100%; height: 100%; width: auto; max-width: none; opacity: .2;
  transform: scaleY(-1); transform-origin: top;
  -webkit-mask-image: linear-gradient(180deg, transparent 62%, #000 100%); mask-image: linear-gradient(180deg, transparent 62%, #000 100%);
  animation: float-r 7s ease-in-out var(--fd, 0s) infinite;
}
@keyframes float-r { 50% { transform: scaleY(-1) translateY(-2.4%); } }
.prod__shadow {
  position: absolute; left: 50%; bottom: 0; width: 110%; height: 9%; border-radius: 50%;
  transform: translate(calc(-50% + var(--mx) * -14px), 45%);
  background: radial-gradient(closest-side, rgba(0, 0, 0, .8), rgba(0, 0, 0, .35) 60%, transparent);
  animation: shadow 7s ease-in-out var(--fd, 0s) infinite;
}
@keyframes shadow { 50% { opacity: .65; width: 92%; } }

/* Copy */
.hero3d__inner { position: relative; z-index: 3; height: 100%; display: flex; align-items: center; pointer-events: none; }
.hero3d__copy {
  max-width: 560px; pointer-events: auto;
  transform: translateY(calc(var(--hp) * -90px)); opacity: calc(1 - var(--hp) * 1.5);
}
.hero3d__copy h1 { margin-bottom: 28px; }
.hero3d__copy h1 .gold { color: var(--gold-soft); font-style: italic; }
.hero3d__copy h1 > span { display: block; }
.hero3d__copy .lead { margin-bottom: 42px; }
.hero3d .fade-up { opacity: 0; transform: translateY(20px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.fx-ready .hero3d .fade-up { opacity: 1; transform: none; }
.fx-ready .hero3d .fade-up.d1 { transition-delay: .5s; }
.fx-ready .hero3d .fade-up.d2 { transition-delay: .75s; }
.fx-ready .hero3d .fade-up.d3 { transition-delay: .95s; }
.hero3d__cue {
  position: absolute; z-index: 3; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(246, 241, 232, .5);
}
.hero3d__cue i { width: 1px; height: 38px; background: linear-gradient(var(--gold), transparent); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }

@media (max-width: 960px) {
  .hero3d { height: auto; min-height: 0; padding-bottom: 64px; }
  .stage { position: relative; inset: auto; height: 62svh; min-height: 400px; max-height: 620px; perspective: 1100px; }
  .stage__scene { transform: translate3d(0, calc(var(--hp) * -4%), 0) scale(.84); }
  .prod { bottom: 12%; }
  .prod--hpom { --x: 20% !important; }
  .prod--mousse { --x: 87% !important; }
  .prod--bpom { --x: 34% !important; }
  .prod--oil { --x: 60% !important; }
  .hero3d__word { left: 50%; top: 32%; font-size: 40vw; }
  .hero3d__beam { left: 58%; width: 70vw; height: 60%; }
  .hero3d__floor { height: auto; top: 50svh; bottom: auto; min-height: 260px; }
  .hero3d__inner { height: auto; margin-top: -24px; }
  .hero3d__copy { transform: none; opacity: 1; }
  .hero3d__cue { display: none; }
  .hero3d__copy .hero__actions .btn { flex: 1 1 200px; }
}

/* ==========================================================================
   PRODUCTO ESTRELLA — escena fijada al hacer scroll
   ========================================================================== */
.star { --sp: 0; position: relative; height: 380vh; background: #02060b; color: var(--cream); }
.star__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate; }
.star__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 50% calc(58% - var(--sp) * 8%), rgba(197, 160, 90, calc(.07 + var(--sp) * .13)), transparent 42%),
    radial-gradient(ellipse 90% 60% at 50% 100%, rgba(19, 33, 58, .9), transparent 70%),
    #02060b;
}
.star__bg .particles { z-index: 0; }
.star__word {
  position: absolute; left: 50%; top: 50%; z-index: 0; white-space: nowrap; pointer-events: none;
  transform: translate(calc(-50% + (0.5 - var(--sp)) * 36vw), -55%);
  font-family: var(--f-display); font-size: clamp(7rem, 22vw, 24rem); line-height: 1; font-style: italic;
  color: transparent; -webkit-text-stroke: 1px rgba(197, 160, 90, .14);
}
.star__head { position: absolute; z-index: 3; left: 0; right: 0; top: calc(var(--header-h) + 24px); }
.star__head h2 { font-size: clamp(2.2rem, 4.6vw, 4.2rem); }
.star__head p { color: rgba(246, 241, 232, .6); margin-top: 12px; max-width: 34ch; }
.star__stage { position: absolute; inset: 0; perspective: 1200px; z-index: 1; }
.rings { position: absolute; left: 50%; top: 79%; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(76deg); }
.ring {
  position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(197, 160, 90, .38);
  transform: translate(-50%, -50%) rotate(calc(var(--sp) * var(--spin, 90deg)));
}
.ring--1 { width: 34vmin; height: 34vmin; box-shadow: 0 0 40px rgba(197, 160, 90, .25), inset 0 0 30px rgba(197, 160, 90, .2); }
.ring--2 { width: 56vmin; height: 56vmin; border-style: dashed; border-color: rgba(197, 160, 90, .22); --spin: -140deg; }
.ring--3 { width: 82vmin; height: 82vmin; border-color: rgba(246, 241, 232, .08); --spin: 60deg; }
.star__product {
  position: absolute; left: 50%; top: 52%; height: min(64svh, 640px); transform-style: preserve-3d;
  transform: translate(-50%, -50%) translateY(calc(var(--sp) * -7%)) rotateY(calc((var(--sp) - .5) * -32deg)) rotateX(calc(var(--my) * -3deg)) scale(calc(.82 + var(--sp) * .24));
}
.star__product img.star__img { height: 100%; width: auto; max-width: none; position: relative; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .65)) drop-shadow(0 0 60px rgba(197, 160, 90, calc(var(--sp) * .18))); }
.star__product .prod__sheen { animation: none; opacity: .85; background-position: calc(135% - var(--sp) * 170%) 0; }
.star__product .prod__reflect { animation: none; opacity: .16; }
.star__product .prod__shadow { animation: none; transform: translate(-50%, 45%); width: 120%; }

.callout {
  position: absolute; z-index: 3; width: min(300px, 80vw);
  opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .9s var(--ease);
  pointer-events: none;
}
.callout.is-active { opacity: 1; transform: none; pointer-events: auto; }
.callout__num { font-family: var(--f-display); font-style: italic; color: var(--gold); font-size: 1.05rem; }
.callout h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); margin: 4px 0 8px; }
.callout p { color: rgba(246, 241, 232, .66); font-size: .95rem; margin: 0; }
.callout::before { content: ""; display: block; width: 0; height: 1px; background: var(--gold); margin-bottom: 18px; transition: width 1s var(--ease) .15s; }
.callout.is-active::before { width: 64px; }
.callout--1 { left: 64%; top: 24%; }
.callout--2 { right: 64%; top: 46%; text-align: right; }
.callout--2::before { margin-left: auto; }
.callout--3 { left: 64%; top: 60%; }
.star__cta {
  position: absolute; z-index: 4; left: 50%; bottom: 6svh; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 22px; padding: 14px 14px 14px 28px;
  background: rgba(246, 241, 232, .06); border: 1px solid rgba(246, 241, 232, .14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: opacity .7s var(--ease), transform .9s var(--ease); white-space: nowrap;
}
.star__cta.is-active { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.star__cta strong { display: block; font-family: var(--f-display); font-weight: 500; font-size: 1.3rem; line-height: 1.1; }
.star__cta .price { font-size: 1.15rem; color: var(--gold-soft); }
.star__cta .link-arrow { font-size: .64rem; border-color: rgba(246, 241, 232, .4); }
.star__progress { position: absolute; z-index: 3; right: var(--gutter); top: 50%; height: 120px; width: 1px; background: rgba(246, 241, 232, .14); transform: translateY(-50%); }
.star__progress i { position: absolute; inset: 0; background: var(--gold); transform: scaleY(var(--sp)); transform-origin: top; }
@media (max-width: 860px) {
  .star { height: 340vh; }
  .star__head p { display: none; }
  .star__product { top: 50%; height: min(44svh, 420px); }
  .rings { top: 68%; }
  .callout { left: var(--gutter) !important; right: var(--gutter) !important; top: auto !important; bottom: 7svh; width: auto; text-align: center !important; }
  .callout::before { margin: 0 auto 14px !important; }
  .star__cta { left: var(--gutter); right: var(--gutter); transform: translateY(30px); justify-content: space-between; gap: 12px; padding-left: 18px; }
  .star__cta.is-active { transform: none; }
  .star__cta .link-arrow { display: none; }
  .star__progress { display: none; }
}

/* ==========================================================================
   TRANSICIÓN BARBA → RIZOS
   ========================================================================== */
.shift { --shp: 0; position: relative; height: 260vh; }
.shift__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate; }
.shift__bg { position: absolute; inset: 0; z-index: -1; }
.shift__bg--dark { background: radial-gradient(ellipse at 70% 60%, #13223b, var(--navy) 60%); }
.shift__bg--light { background: radial-gradient(ellipse at 70% 60%, #f6efe2, var(--sand) 65%); opacity: clamp(0, (var(--shp) - .4) * 5, 1); }
.shift__grid { position: relative; height: 100%; display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 40px; }
.shift__text { position: relative; height: 280px; }
.shift__copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; }
.shift__copy h2 { font-size: clamp(2.6rem, 4.8vw, 4.6rem); }
.shift__copy p { max-width: 40ch; margin-top: 18px; }
.shift__copy--a { color: var(--cream); opacity: clamp(0, (.46 - var(--shp)) * 4, 1); transform: translateY(calc(var(--shp) * -70px)); }
.shift__copy--a p { color: rgba(246, 241, 232, .65); }
.shift__copy--b { color: var(--text); opacity: clamp(0, (var(--shp) - .54) * 4, 1); transform: translateY(calc((1 - var(--shp)) * 70px)); pointer-events: none; }
.shift__copy--b p { color: var(--muted); }
.shift__copy--b .eyebrow { color: var(--amber); }
.shift__copy--b.is-active { pointer-events: auto; }
.shift__stage { position: relative; height: 70svh; }
.shift__stage img { position: absolute; bottom: 8%; width: auto; max-width: none; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
.shift .out-1 { left: 56%; height: 72%; transform: translate(calc(var(--shp) * -60vw), calc(var(--shp) * -55vh)) rotate(calc(var(--shp) * -16deg)); opacity: clamp(0, (.62 - var(--shp)) * 3, 1); }
.shift .out-2 { left: 22%; height: 50%; transform: translate(calc(var(--shp) * -50vw), calc(var(--shp) * -40vh)) rotate(calc(var(--shp) * 10deg)); opacity: clamp(0, (.58 - var(--shp)) * 3, 1); }
.shift .in-1 { left: 18%; height: 74%; transform: translate(calc((1 - var(--shp)) * 45vw), calc((1 - var(--shp)) * 60vh)) rotate(calc((1 - var(--shp)) * 14deg)); opacity: clamp(0, (var(--shp) - .38) * 3, 1); filter: drop-shadow(0 30px 34px rgba(59, 39, 22, .35)); }
.shift .in-2 { left: 52%; height: 52%; transform: translate(calc((1 - var(--shp)) * 35vw), calc((1 - var(--shp)) * 45vh)) rotate(calc((1 - var(--shp)) * -10deg)); opacity: clamp(0, (var(--shp) - .42) * 3, 1); filter: drop-shadow(0 30px 34px rgba(59, 39, 22, .35)); }
@media (max-width: 860px) {
  .shift__grid { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: center; padding-top: var(--header-h); }
  .shift__text { height: 210px; }
  .shift__stage { height: 46svh; }
  .shift .in-1 { left: 4%; height: 64%; }
  .shift .in-2 { left: 46%; height: 44%; }
  .shift .out-1 { left: 50%; height: 62%; }
  .shift .out-2 { left: 6%; height: 42%; }
}

/* ==========================================================================
   PROFUNDIDAD EN TARJETAS E IMÁGENES
   ========================================================================== */
[data-tilt] {
  --rx: 0; --ry: 0; --gx: 50%; --gy: 50%;
  transform: perspective(1000px) rotateX(calc(var(--rx) * 1deg)) rotateY(calc(var(--ry) * 1deg));
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
[data-tilt].is-tilting { transition: transform .12s linear, box-shadow .4s var(--ease); box-shadow: calc(var(--ry) * -2.4px) calc(18px + var(--rx) * 2.4px) 44px -18px rgba(5, 14, 26, .55); }
[data-tilt]::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease);
  background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 246, 228, .26), rgba(255, 246, 228, .04) 38%, transparent 60%);
  mix-blend-mode: soft-light;
}
[data-tilt].is-tilting::after { opacity: 1; }
.card { transition: opacity 1s var(--ease), transform .7s var(--ease); }
@media (hover: hover) { .card:hover { transform: translateY(-6px); } }
.card__media { background: linear-gradient(110deg, #08111e 30%, #13213a 50%, #08111e 70%) 0 0 / 300% 100%; animation: shimmer 1.8s linear infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }

/* Scroll-linked depth on editorial images */
[data-progress] .depth-img, .depth-img[data-progress] { transform: translateY(calc((var(--p, .5) - .5) * -10%)) scale(calc(1.12 * var(--zoom, 1))); transition: none; will-change: transform; }
.cat-tile:hover .depth-img { --zoom: 1.04; }
.depth-shade { position: relative; overflow: hidden; }
.depth-shade::after { content: ""; position: absolute; inset: 0; background: #02060b; opacity: calc(.45 - var(--p, .5) * .9); pointer-events: none; }
.depth-frame { overflow: hidden; }

/* Spotlight on dark sections */
[data-spot] { position: relative; }
[data-spot]::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: 0; transition: opacity .6s;
  background: radial-gradient(520px circle at var(--sx, 50%) var(--sy, 50%), rgba(197, 160, 90, .09), transparent 60%);
}
[data-spot]:hover::before { opacity: 1; }
[data-spot] > * { position: relative; z-index: 1; }

/* Buttons */
.btn { transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease); position: relative; overflow: hidden; }
.btn::before {
  content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .25) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease); pointer-events: none;
}
.btn:hover::before { transform: translateX(120%); }
.btn--light:hover, .btn--gold:hover { box-shadow: 0 14px 34px -14px rgba(197, 160, 90, .55); }
.btn:active { transform: scale(.98); }

/* Fly-to-cart */
.fly { position: fixed; z-index: 400; object-fit: cover; pointer-events: none; box-shadow: 0 20px 40px rgba(0, 0, 0, .35); will-change: transform; }

/* Drawer polish */
.overlay { backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.drawer.is-open .line { animation: line-in .6s var(--ease) both; }
.drawer.is-open .line:nth-child(2) { animation-delay: .05s; }
.drawer.is-open .line:nth-child(3) { animation-delay: .1s; }
.drawer.is-open .line:nth-child(4) { animation-delay: .15s; }
@keyframes line-in { from { opacity: 0; transform: translateX(24px); } }
.chip { transition: border-color .3s, background .35s var(--ease), color .35s, transform .3s var(--ease); }
.chip:active { transform: scale(.96); }

/* Grid stagger */
.reveal { transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.revealed { transition-delay: 0s; }

/* ==========================================================================
   Movimiento reducido: experiencia estática y clara
   ========================================================================== */
.fx-reduced .prod__enter { opacity: 1; animation: none !important; }
.fx-reduced .prod__float, .fx-reduced .prod__reflect, .fx-reduced .prod__shadow, .fx-reduced .prod__sheen { animation: none !important; }
.fx-reduced .hero3d__word, .fx-reduced .hero3d__beam, .fx-reduced .hero3d .fade-up { opacity: 1; transform: none; transition: none; }
.fx-reduced .particles { display: none; }
.fx-reduced .star { height: auto; }
.fx-reduced .star__pin { position: relative; height: auto; min-height: 100svh; padding: calc(var(--header-h) + 260px) 0 60px; }
.fx-reduced .star { --sp: .5; }
.fx-reduced .callout, .fx-reduced .star__cta { opacity: 1; transform: none; pointer-events: auto; }
.fx-reduced .shift { display: none; }
@media (max-width: 860px) {
  .fx-reduced .star__pin { padding-top: calc(var(--header-h) + 120px); }
  .fx-reduced .star__stage { position: relative; height: 56svh; }
  .fx-reduced .callout, .fx-reduced .star__cta { position: relative; inset: auto !important; transform: none; margin: 0 var(--gutter) 28px; width: auto; display: block; }
}
.fx-reduced .loader { display: none; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .loader { display: none; }
}
.no-js .prod__enter, .no-js .hero3d .fade-up { opacity: 1; animation: none; transform: none; }
