:root { --ink: #17132e; --muted: #626171; --purple: #4c33d9; --paper: #f9fafb; --line: #e5e3ed; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 'Plus Jakarta Sans', sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
h1, h2 { font-family: 'Playfair Display', serif; font-weight: 600; letter-spacing: -.045em; line-height: 1.12; }
h1 { font-size: clamp(3.2rem, 5.4vw, 5.1rem); margin: 18px 0 24px; }
h2 { font-size: clamp(2.4rem, 4.3vw, 3.8rem); margin: 12px 0 22px; }
h3 { line-height: 1.3; }
.eyebrow { font-size: .82rem; font-weight: 800; color: var(--purple); }
.header { position: sticky; top: 0; background: #f9fafbf2; backdrop-filter: blur(14px); z-index: 10; border-bottom: 1px solid #e5e3ed88; }
.nav { display: flex; align-items: center; gap: 40px; min-height: 90px; }
.logo { width: 132px; }
.nav-links { display: flex; gap: 32px; margin-left: auto; font-size: .9rem; font-weight: 700; }
.login { padding: 9px 22px; border: 1px solid var(--line); border-radius: 100px; font-size: .85rem; font-weight: 700; }
.button { display: inline-flex; gap: 24px; justify-content: center; align-items: center; border: 1px solid transparent; padding: 17px 23px; border-radius: 12px; font-weight: 800; font-size: .9rem; transition: transform 180ms ease; }
.button:active { transform: scale(.98); }
.primary { background: var(--purple); color: white; }
.button-pulse { position: relative; isolation: isolate; overflow: visible; box-shadow: 0 0 12px #4c33d933, 0 0 24px #4c33d91a; }
.button-pulse::before, .button-pulse::after { content: ''; position: absolute; inset: -4px; z-index: -1; border: 1px solid #9b82ff; border-radius: inherit; pointer-events: none; opacity: 0; box-shadow: 0 0 14px #4c33d955; animation: cta-neon-pulse 2.4s ease-out infinite; }
.button-pulse::after { animation-delay: 1.2s; }
@keyframes cta-neon-pulse {
  0% { transform: scale(1); opacity: .75; }
  55% { opacity: .3; }
  100% { transform: scale(1.08, 1.4); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .button-pulse::before, .button-pulse::after { animation: none; }
}
.outline { background: white; border-color: #d6d0ed; color: var(--purple); }
:focus-visible { outline: 3px solid #ff9b25; outline-offset: 5px; }
.hero { display: grid; grid-template-columns: 1.08fr 1fr; gap: 80px; align-items: center; padding-block: 65px 90px; }
.intro { color: var(--muted); max-width: 470px; font-size: 1.1rem; margin-bottom: 29px; }
.hero-price { font-size: .85rem; margin-top: 18px; }
.hero-price span { color: var(--muted); }
.demo-scene { position: relative; padding: 20px 0; }
.demo-scene::before { content: ''; position: absolute; z-index: -1; inset: 10% -8% 8%; border-radius: 50%; background: #eeebff; }
.demo-label { text-align: center; color: var(--purple); font-size: .78rem; font-weight: 800; margin-bottom: 23px; }
.ticket { max-width: 390px; margin: auto; border-radius: 25px; background: white; box-shadow: 0 30px 65px #2618621a; transform: rotate(-3deg); overflow: hidden; border: 1px solid #e1dcee; }
.ticket-top { padding: 23px; background: #4c33d9; color: white; display: flex; gap: 12px; align-items: center; }
.burger { font-size: 2rem; background: #ffffff22; border-radius: 13px; padding: 5px 9px; }
.ticket-top strong, .ticket-top small { display: block; }
.ticket-top small { font-size: .7rem; opacity: .75; }
.ticket-star { margin-left: auto; color: #ffd600; font-size: 2rem; }
.ticket-body { padding: 23px 27px; }
.reward-eyebrow { color: var(--purple); font-size: .72rem; font-weight: 800; margin: 0; }
.ticket h2 { font-size: 1.85rem; margin: 9px 0; }
.minimum { color: var(--muted); font-size: .72rem; }
.stamps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0 17px; }
.stamp { aspect-ratio: 1; border: 1px dashed #c5bce7; border-radius: 50%; display: grid; place-items: center; background: #f5f2ff; color: #c5bce7; font-size: 1.3rem; }
.stamp.filled { background: var(--purple); border-color: var(--purple); color: white; }
.stamp.pop { animation: pop .45s ease-out; }
.progress { display: flex; justify-content: space-between; font-size: .72rem; }
.progress span { color: var(--purple); }
.ticket-bottom { border-top: 1px dashed #d4cde6; display: flex; justify-content: space-between; padding: 16px 25px; font-size: .65rem; color: var(--muted); }
.ticket.won { box-shadow: 0 20px 65px #05966926; }
.ticket.won .ticket-top { background: #059669; }
.ticket-flip { max-width: 390px; margin-inline: auto; perspective: 1300px; border-radius: 25px; cursor: pointer; }
.ticket-flip .ticket { overflow: visible; border: 0; background: transparent; box-shadow: none; }
.ticket-rotor { display: grid; transform-style: preserve-3d; transition: transform 1.6s cubic-bezier(.35,.08,.25,1); }
.ticket-flip.is-flipped .ticket-rotor { transform: rotateY(180deg); }
.ticket-face { grid-area: 1 / 1; min-width: 0; display: flex; flex-direction: column; border: 1px solid #e1dcee; border-radius: 25px; overflow: hidden; background: white; box-shadow: 0 30px 65px #2618621a; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.ticket-face .ticket-bottom { margin-top: auto; }
.ticket-back { transform: rotateY(180deg); }
.ticket-brand > span { display: block; font-size: .7rem; opacity: .75; }
.ticket-back .ticket-body { flex: 1; padding: 18px 27px; }
.ticket-back .nombre { font-size: 1.6rem; }
.ticket-back .linea { height: 1px; background: var(--line); margin: 12px 0; }
.ticket-back .premio { font-family: 'Playfair Display', serif; font-size: 1.3rem; line-height: 1.2; margin: 6px 0; }
.ticket-back .detalle, .ticket-back .qr-ayuda { color: var(--muted); font-size: .65rem; margin: 6px 0; }
.ticket-back .qr-zona { text-align: center; margin-top: 12px; }
.ticket-back .qr-marco { display: inline-block; border: 1px solid var(--line); border-radius: 12px; padding: 6px; }
.ticket-back .qr-marco img { width: 100px; height: 100px; image-rendering: pixelated; }
.ticket-back .referido { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border: 1px dashed #c5bce7; border-radius: 10px; background: #f5f2ff; font-size: .65rem; }
.ticket-back .referido strong { color: var(--purple); }
@media (prefers-reduced-motion: reduce) { .ticket-rotor { transition: none; } }
.demo-controls { position: relative; margin-top: 27px; text-align: center; }
.demo-button, .yellow { background: #ffd600; color: var(--ink); }
.demo-controls p { font-size: .75rem; color: var(--muted); margin-bottom: 0; }
.business-strip { border-block: 1px solid var(--line); padding: 24px 0; background: white; }
.business-marquee { overflow: hidden; padding-block: 8px 14px; }
.business-marquee:focus-visible { outline-offset: -3px; }
.business-track { display: flex; width: max-content; animation: business-drift 32s linear infinite; }
.business-group { display: flex; flex: none; align-items: center; justify-content: space-around; gap: 24px; min-width: 100vw; margin: 0; padding: 0 12px; list-style: none; }
.business-group li { flex: none; padding: 10px 22px; border: 1px solid #ded8f5; border-radius: 999px; background: #f5f2ff; color: var(--purple); font-size: .85rem; font-weight: 700; white-space: nowrap; box-shadow: 0 3px 0 #ffd60066; }
.business-group li::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 10px; border-radius: 50%; background: #ffd600; vertical-align: middle; }
.business-marquee:focus-within .business-track { animation-play-state: paused; }
@media (hover: hover) and (pointer: fine) { .business-marquee:hover .business-track { animation-play-state: paused; } }
@keyframes business-drift { to { transform: translateX(-25%); } }
.section { padding-block: 95px; }
.section-heading { max-width: 680px; margin-bottom: 42px; }
.section-heading > p:not(.eyebrow) { color: var(--muted); max-width: 570px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step-art { min-height: 180px; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; margin-bottom: 24px; }
.scan-art { background: #ebe8ff; }
.scan-frame { font-size: 5rem; color: var(--purple); line-height: 1.3; }
.art-note { font-size: .72rem; font-weight: 800; }
.stamp-art { background: #e7f7ef; }
.stamp-art > span:first-child { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: #059669; color: white; font-size: 2rem; margin-bottom: 15px; }
.prize-art { background: #fff2da; }
.prize-art > span:first-child { font-size: 3.7rem; }
.step-number { font-size: .8rem; font-weight: 800; color: var(--purple); }
.steps h3 { margin: 9px 0; font-size: 1.2rem; }
.steps p { margin: 0; color: var(--muted); font-size: .9rem; }
.reasons { background: #f0eef8; }
.reasons-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.reason { background: white; padding: 30px; border-radius: 20px; display: flex; flex-direction: column; min-height: 450px; transition: background-color 350ms ease, color 350ms ease, transform 350ms var(--motion-out); }
.reason.featured { background: #4c33d9; color: white; }
.reason-icon { font-size: 2rem; color: #8878dc; }
.featured .reason-icon { color: #ffd600; }
.reason h3 { font-size: 1.3rem; margin: 18px 0; }
.reason p { font-size: .86rem; color: var(--muted); }
.reason small { font-size: .73rem; color: var(--muted); }
.featured > p { color: #e2ddff; }
.notification { background: white; color: var(--ink); padding: 14px; border-radius: 13px; margin-top: auto; display: flex; gap: 10px; box-shadow: 0 12px 28px #1c12691f; }
.reason > p { margin-bottom: 24px; }
.reason > small { margin-bottom: 24px; }
.notification-demo .reason { cursor: pointer; }
.notification-demo .reason.featured { transform: scale(.97); }
.notification-demo .reason:not(.featured) .notification { visibility: hidden; }
.notification-demo .reason.featured .notification { animation: notification-arrive 580ms 180ms var(--motion-out) both; }
@keyframes notification-arrive {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  75% { opacity: 1; transform: translateY(-2px) scale(1.01); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.notification-icon { height: 30px; width: 30px; flex: none; background: #eeeaff; color: var(--purple); display: grid; place-items: center; border-radius: 8px; font-weight: 800; }
.notification strong { display: block; font-size: .73rem; }
.notification p { font-size: .68rem; margin: 4px 0 0; }
.notification small { font-size: .63rem; }
@media (prefers-reduced-motion: reduce) {
  .notification-demo .reason { transition: none; }
  .notification-demo .reason.featured { transform: none; }
  .notification-demo .reason.featured .notification { animation: none; }
}
.control-row { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; align-items: center; border-top: 1px solid #dcd6ed; margin-top: 38px; padding-top: 24px; }
.control-row p { color: var(--muted); font-size: .9rem; }
.centered { text-align: center; margin-inline: auto; }
.centered p { margin-inline: auto; }
.launch { display: inline-block; background: #fff1a3; padding: 8px 14px; border-radius: 8px; font-size: .77rem; font-weight: 800; margin-top: 12px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-top: 20px; }
.plan { position: relative; border: 1px solid var(--line); border-radius: 20px; padding: 30px 24px; background: white; display: flex; flex-direction: column; }
.plan h3 { font-family: 'Playfair Display', serif; font-size: 1.7rem; margin: 0 0 8px; }
.plan > p { color: var(--muted); font-size: .8rem; min-height: 42px; }
.price { font-size: 3rem; font-weight: 800; letter-spacing: -.05em; margin: 14px 0; font-variant-numeric: tabular-nums; }
.price span { font-size: .8rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.capacity { display: flex; flex-direction: column; padding: 16px 0; border-block: 1px solid var(--line); }
.capacity span { font-size: .8rem; color: var(--muted); }
.plan ul { list-style: none; padding: 0; display: grid; gap: 12px; font-size: .8rem; margin-block: 24px; }
.plan li::before { content: '✓'; color: #059669; margin-right: 8px; }
.plan .button { margin-top: auto; }
.recommended { border: 2px solid var(--purple); box-shadow: 0 16px 45px #4c33d914; }
.plan-label { position: absolute; left: -2px; right: -2px; top: -22px; background: var(--purple); color: white; text-align: center; border-radius: 12px 12px 0 0; padding: 7px; font-size: .69rem; font-weight: 800; }
.payment-note { text-align: center; color: var(--muted); font-size: .8rem; margin-top: 24px; }
.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: 75px; padding-top: 30px; }
.text-link { color: var(--purple); font-size: .88rem; font-weight: 700; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 20px 25px 20px 0; font-weight: 700; font-size: .9rem; }
details p { color: var(--muted); font-size: .85rem; margin: 0 0 20px; }
.closing { background: #140e36; color: white; padding-block: 78px; text-align: center; }
.closing .eyebrow { color: #c4baff; }
.closing p:not(.eyebrow) { color: #d4cfe8; max-width: 480px; margin: 0 auto 25px; }
.closing h2 { font-size: clamp(2.8rem, 5vw, 4.5rem); }
.footer { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-block: 50px; font-size: .8rem; color: var(--muted); }
.footer > div { display: flex; flex-direction: column; gap: 10px; }
.footer p { margin-top: 7px; }
.legal { max-width: 780px; padding-block: 60px; }
.legal h1 { font-size: 3rem; }
.legal h2 { font-size: 1.7rem; margin-top: 35px; }
.legal p { color: var(--muted); }
@keyframes pop { 50% { transform: scale(1.2); } }
@media (max-width: 900px) {
  .hero { gap: 35px; }
  .reasons-grid { grid-template-columns: 1fr; }
  .plan { padding: 25px 16px; }
  .plan-label { font-size: .58rem; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 36px); }
  .nav { min-height: 74px; gap: 15px; }
  .logo { width: 112px; }
  .nav-links { gap: 15px; }
  .nav-links a:first-child { display: none; }
  .login { padding: 7px 15px; }
  .hero { grid-template-columns: 1fr; padding-block: 32px 45px; gap: 20px; }
  h1 { font-size: clamp(2.85rem, 11vw, 4rem); }
  .intro { font-size: 1rem; }
  .hero-copy .button { width: 100%; }
  .hero-price { text-align: center; }
  .demo-scene { padding-inline: 12px; }
  .demo-scene::before { inset: 10% 0 8%; }
  .ticket { transform: rotate(-2deg); }
  .section { padding-block: 65px; }
  .steps, .plans, .reasons-grid, .control-row, .faq, .footer { grid-template-columns: 1fr; }
  .steps { gap: 32px; }
  .step-art { min-height: 155px; }
  .reasons-grid { gap: 14px; }
  .control-row { gap: 0; }
  .plans { gap: 38px; }
  .plan { padding: 28px; }
  .plan > p { min-height: 0; }
  .plan-label { font-size: .72rem; }
  .faq { gap: 22px; padding-top: 0; }
  .footer { gap: 28px; }
  .business-strip { padding-block: 20px 12px; }
  .business-group { gap: 14px; padding-inline: 7px; }
  .business-group li { padding: 9px 17px; font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stamp.pop { animation: none; }
  .button { transition: none; }
  .business-track { animation: none; width: 100%; }
  .business-group { flex-wrap: wrap; justify-content: center; min-width: 0; width: 100%; padding-inline: 24px; }
  .business-group-copy { display: none; }
}

/* Motion enhances visible content, so the page remains readable without JavaScript. */
:root { --motion-out: cubic-bezier(.22, 1, .36, 1); }
h1, h2, h3 { text-wrap: balance; }
.logo { height: auto; }
.nav > *, .hero > *, .reasons-grid > *, .plans > * { min-width: 0; }
a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: #4c33d922; }
.nav a, .footer a { min-height: 44px; display: inline-flex; align-items: center; }
.skip-link { position: fixed; top: 10px; left: 16px; z-index: 50; padding: 12px 20px; background: white; color: var(--purple); border-radius: 10px; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
main:focus { outline: none; }
.demo-scene { isolation: isolate; }
.ticket { --ticket-angle: -3deg; }
.motion-entered .ticket { animation: ticket-drift 4s ease-in-out 1; }
.button span { display: inline-block; transition: transform 180ms var(--motion-out); }
.plan { transition: transform 240ms var(--motion-out); }
.scan-frame { position: relative; }
.scan-frame::after { content: ''; position: absolute; top: 15%; left: -5%; right: -5%; height: 3px; border-radius: 4px; background: var(--purple); opacity: 0; }
.motion-entered .scan-frame::after { animation: scanner-pass 1800ms ease-in-out 2; }
.motion-entered .stamp-art > span:first-child { animation: seal-arrive 600ms var(--motion-out) both; }
.motion-entered .prize-art > span:first-child { animation: gift-wiggle 900ms ease-in-out 1; }
.motion-entered .notification { animation: message-arrive 550ms var(--motion-out) 180ms both; }
.reason-icon { position: relative; display: inline-block; }
.reasons-grid > .reason:nth-child(2) .reason-icon::after { content: ''; position: absolute; inset: 8px -12px; border: 1px solid var(--purple); border-radius: 50%; opacity: 0; }
.motion-entered.reason:nth-child(2) .reason-icon::after { animation: nearby-ring 1600ms ease-out 2; }
.reward-confetti { position: absolute; inset: -20px; overflow: clip; pointer-events: none; z-index: 3; }
.reward-confetti i { position: absolute; top: 40%; left: 50%; width: 8px; height: 12px; border-radius: 2px; background: var(--particle-color); animation: reward-burst 900ms var(--motion-out) forwards; }
summary { list-style: none; position: relative; padding-right: 38px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 8px; top: 15px; font-size: 1.4rem; color: var(--purple); transition: transform 180ms var(--motion-out); }
details[open] summary::after { transform: rotate(45deg); }
details[open] p { animation: answer-arrive 220ms var(--motion-out); }
@media (hover: hover) and (pointer: fine) {
  .button:hover { transform: translateY(-3px); }
  .button:hover span { transform: translate(2px, -2px); }
  .plan:hover { transform: translateY(-6px); }
  .nav a:hover, .footer a:hover, summary:hover { color: var(--purple); }
  .button:active { transform: scale(.98); }
}
@keyframes ticket-drift {
  0%, 100% { transform: translateY(0) rotate(var(--ticket-angle)); }
  50% { transform: translateY(-12px) rotate(-1deg); }
}
@keyframes scanner-pass {
  0%, 100% { opacity: 0; transform: translateY(0); }
  20% { opacity: .8; }
  80% { opacity: .8; transform: translateY(70px); }
}
@keyframes seal-arrive {
  from { transform: scale(.85) rotate(-12deg); opacity: .3; }
  to { transform: scale(1) rotate(0); opacity: 1; }
}
@keyframes gift-wiggle { 25% { transform: rotate(-8deg); } 65% { transform: rotate(6deg); } }
@keyframes message-arrive { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes nearby-ring { from { opacity: .55; transform: scale(.6); } to { opacity: 0; transform: scale(1.6); } }
@keyframes answer-arrive { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes reward-burst { from { opacity: 1; transform: translate(0, 0) rotate(0); } to { opacity: 0; transform: translate(var(--particle-x), var(--particle-y)) rotate(var(--particle-rotation)); } }
@media (max-width: 680px) { .ticket { --ticket-angle: -2deg; } }
@media (prefers-reduced-motion: reduce) {
  .motion-entered .ticket, .motion-entered .scan-frame::after,
  .motion-entered .stamp-art > span:first-child, .motion-entered .prize-art > span:first-child,
  .motion-entered .notification, .motion-entered.reason:nth-child(2) .reason-icon::after,
  .reward-confetti i, details[open] p { animation: none; }
  .button span, .plan, summary::after { transition: none; }
}

/* The heading retains its normal flow and font while its letters assemble. */
.hero-title { min-width: 0; }
#animated-title { position: relative; isolation: isolate; }
.title-word { display: inline-block; position: relative; white-space: nowrap; }
.title-letter { position: relative; display: inline-block; transform-origin: 50% 50%; }
.title-accent, .title-reason { color: var(--purple); }
.title-reason::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: .015em;
  height: .075em;
  border-radius: 100%;
  background: #ffd600;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 450ms var(--motion-out);
}
.title-settled .title-reason::after { transform: scaleX(1); }

/* Scroll-driven examples, with a native horizontal gallery as the fallback. */
.card-showcase { background: #f0eef8; padding-block: 60px; }
.showcase-sticky { display: grid; gap: 24px; }
.showcase-heading h2 { font-size: clamp(2rem, 3.5vw, 3.1rem); margin-block: 8px 12px; }
.showcase-heading p { margin: 0; color: var(--muted); }
.showcase-heading .eyebrow { color: var(--purple); }
.showcase-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 30px; align-items: center; min-height: 0; }
.showcase-caption h3 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3vw, 2.7rem); margin: 8px 0 12px; letter-spacing: -.04em; }
.showcase-caption p { margin: 0; color: var(--muted); }
.showcase-caption .eyebrow { color: var(--purple); }
.showcase-frame { position: relative; display: flex; gap: 24px; min-width: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-color: #b1a5e7 transparent; }
.showcase-card { flex: 0 0 100%; min-width: 0; margin: 0; scroll-snap-align: center; }
.showcase-card img { width: 100%; height: auto; aspect-ratio: 1250 / 833; object-fit: contain; }
.showcase-card figcaption { font-size: .8rem; text-align: center; padding: 12px; color: var(--muted); }
.showcase-controls { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid #dcd6ed; padding-top: 14px; }
.showcase-controls[hidden] { display: none; }
.showcase-count { color: var(--muted); font-size: .8rem; font-variant-numeric: tabular-nums; }
.showcase-count strong { color: var(--purple); font-size: 1.2rem; }
.showcase-count span { margin-left: 12px; }
.showcase-controls > div { display: flex; gap: 8px; }
.showcase-controls button { width: 44px; height: 44px; border: 1px solid #d0c8e9; border-radius: 50%; background: white; color: var(--purple); font-size: 1.25rem; }
.showcase-controls button:disabled { opacity: .35; cursor: default; }
.showcase-scroll { height: 850svh; padding-block: 0; }
.showcase-scroll .showcase-sticky { position: sticky; top: 90px; height: calc(100svh - 90px); padding-block: 30px 20px; grid-template-rows: auto minmax(0, 1fr) auto; }
.showcase-scroll .showcase-frame { height: 100%; overflow: clip; display: grid; place-items: center; perspective: 1200px; }
.showcase-scroll .showcase-card { position: absolute; width: 88%; transform-origin: center; pointer-events: none; }
.showcase-scroll .showcase-card img { max-height: 48svh; }
.showcase-scroll .showcase-card figcaption { display: none; }
@media (hover: hover) and (pointer: fine) {
  .showcase-controls button:enabled:hover { background: var(--purple); color: white; }
}
@media (max-width: 680px) {
  .showcase-layout { grid-template-columns: 1fr; gap: 12px; }
  .showcase-heading h2 { font-size: 2rem; }
  .showcase-heading > p:not(.eyebrow) { font-size: .85rem; }
  .showcase-caption h3 { font-size: 1.65rem; margin-block: 3px; }
  .showcase-caption p { font-size: .8rem; }
  .showcase-scroll .showcase-sticky { top: 74px; height: calc(100svh - 74px); gap: 12px; padding-block: 20px 14px; }
  .showcase-scroll .showcase-layout { grid-template-rows: auto minmax(0, 1fr); }
  .showcase-scroll .showcase-card { width: 92%; }
  .showcase-count span { font-size: .7rem; margin-left: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .title-reason::after { transition: none; }
}

/* Decorative companion: fixed small size, never captures page interactions. */
.piyuyo-bird { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 8; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .piyuyo-bird { display: none; } }
