/* ============================================================
   JSS Media Digital — Motion, 3D & Parallax layer
   Pure CSS + a small vanilla JS runtime (assets/js/motion.js).
   No external animation library required.
   ============================================================ */

:root {
  --jss-brand: #1E3A8A;
  --jss-brand-light: #3B82F6;
  --jss-brand-dark: #1E293B;
  --jss-accent: #F59E0B;
  --jss-ease: cubic-bezier(.22, 1, .36, 1);
}

/* ------------------------------------------------------------
   1. Scroll reveal
   ------------------------------------------------------------ */
[data-reveal] {
  opacity: 0;
  will-change: transform, opacity;
  transition:
    opacity .9s var(--jss-ease),
    transform .9s var(--jss-ease);
}
[data-reveal="fade-up"]     { transform: translate3d(0, 42px, 0); }
[data-reveal="fade-down"]   { transform: translate3d(0, -42px, 0); }
[data-reveal="fade-in"]     { transform: none; }
[data-reveal="slide-left"]  { transform: translate3d(60px, 0, 0); }
[data-reveal="slide-right"] { transform: translate3d(-60px, 0, 0); }
[data-reveal="zoom-in"]     { transform: scale(.88); }
[data-reveal="zoom-out"]    { transform: scale(1.12); }
[data-reveal="flip-up"]     { transform: perspective(1200px) rotateX(-28deg) translate3d(0, 40px, 0); transform-origin: bottom center; }
[data-reveal="flip-left"]   { transform: perspective(1200px) rotateY(28deg) translate3d(50px, 0, 0); }
[data-reveal="rotate-in"]   { transform: rotate(-8deg) scale(.9); }
[data-reveal="blur-in"]     { transform: translate3d(0, 26px, 0); filter: blur(12px); }

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Children stagger: put data-stagger on a wrapper */
[data-stagger] > * { transition-delay: var(--stagger-delay, 0ms); }

/* ------------------------------------------------------------
   2. Parallax
   ------------------------------------------------------------ */
[data-parallax] {
  will-change: transform;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}
.parallax-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  will-change: transform;
}
.parallax-bg {
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
}

/* ------------------------------------------------------------
   3. 3D tilt cards
   ------------------------------------------------------------ */
.tilt-wrap { perspective: 1000px; }

[data-tilt] {
  transform-style: preserve-3d;
  transition: transform .35s var(--jss-ease), box-shadow .35s var(--jss-ease);
  will-change: transform;
}
[data-tilt].is-tilting {
  transition: transform .08s linear, box-shadow .35s var(--jss-ease);
}
[data-tilt] .tilt-layer   { transform: translateZ(38px); transform-style: preserve-3d; }
[data-tilt] .tilt-layer-2 { transform: translateZ(22px); }
[data-tilt] .tilt-layer-3 { transform: translateZ(10px); }

/* Glare that follows the pointer across a tilt card */
[data-tilt] .tilt-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease;
  background: radial-gradient(
    420px circle at var(--glare-x, 50%) var(--glare-y, 50%),
    rgba(255, 255, 255, .35),
    transparent 60%
  );
}
[data-tilt].is-tilting .tilt-glare { opacity: 1; }

/* ------------------------------------------------------------
   4. 3D hero scene
   ------------------------------------------------------------ */
.scene-3d {
  position: absolute;
  inset: 0;
  perspective: 900px;
  transform-style: preserve-3d;
  overflow: hidden;
  pointer-events: none;
}
.scene-3d .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: .55;
  animation: orb-float 16s ease-in-out infinite;
}
.scene-3d .orb-1 { width: 420px; height: 420px; top: -120px; left: -80px;  background: #3B82F6; }
.scene-3d .orb-2 { width: 340px; height: 340px; bottom: -110px; right: -60px; background: #F59E0B; animation-delay: -5s; opacity: .4; }
.scene-3d .orb-3 { width: 260px; height: 260px; top: 40%; left: 55%;        background: #6366F1; animation-delay: -9s; }

@keyframes orb-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33%      { transform: translate3d(38px, -34px, 0) scale(1.09); }
  66%      { transform: translate3d(-30px, 26px, 0) scale(.94); }
}

/* Rotating wireframe cube for the hero */
.cube-3d {
  position: relative;
  width: 150px;
  height: 150px;
  transform-style: preserve-3d;
  animation: cube-spin 22s linear infinite;
}
.cube-3d .face {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .28);
  background: linear-gradient(135deg, rgba(59, 130, 246, .18), rgba(245, 158, 11, .10));
  backdrop-filter: blur(2px);
}
.cube-3d .f-front  { transform: translateZ(75px); }
.cube-3d .f-back   { transform: rotateY(180deg) translateZ(75px); }
.cube-3d .f-right  { transform: rotateY(90deg) translateZ(75px); }
.cube-3d .f-left   { transform: rotateY(-90deg) translateZ(75px); }
.cube-3d .f-top    { transform: rotateX(90deg) translateZ(75px); }
.cube-3d .f-bottom { transform: rotateX(-90deg) translateZ(75px); }

@keyframes cube-spin {
  from { transform: rotateX(-22deg) rotateY(0deg); }
  to   { transform: rotateX(-22deg) rotateY(360deg); }
}

/* Perspective floor grid */
.grid-3d {
  position: absolute;
  left: 50%;
  bottom: -30%;
  width: 220%;
  height: 70%;
  transform: translateX(-50%) perspective(420px) rotateX(62deg);
  background-image:
    linear-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .16) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to top, #000 5%, transparent 85%);
  -webkit-mask-image: linear-gradient(to top, #000 5%, transparent 85%);
  animation: grid-scroll 9s linear infinite;
  pointer-events: none;
}
@keyframes grid-scroll {
  from { background-position: 0 0; }
  to   { background-position: 0 56px; }
}

/* Floating shapes */
.float-slow  { animation: float-y 7s ease-in-out infinite; }
.float-med   { animation: float-y 5s ease-in-out infinite; }
.float-fast  { animation: float-y 3.6s ease-in-out infinite; }
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-18px); }
}

/* ------------------------------------------------------------
   5. Cards, glass & gradient text
   ------------------------------------------------------------ */
.card-3d {
  position: relative;
  border-radius: 1.25rem;
  transition: transform .45s var(--jss-ease), box-shadow .45s var(--jss-ease);
}
.card-3d:hover {
  box-shadow: 0 26px 60px -18px rgba(30, 58, 138, .38);
}
.glass {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.text-gradient {
  background: linear-gradient(96deg, #60A5FA 0%, #ffffff 42%, #FBBF24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-gradient-brand {
  background: linear-gradient(96deg, var(--jss-brand) 0%, var(--jss-brand-light) 55%, var(--jss-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Animated gradient border */
.border-glow {
  position: relative;
  z-index: 0;
}
.border-glow::before {
  content: '';
  position: absolute;
  inset: -1.5px;
  z-index: -1;
  border-radius: inherit;
  background: conic-gradient(from var(--angle, 0deg), var(--jss-brand-light), var(--jss-accent), var(--jss-brand-light));
  opacity: 0;
  transition: opacity .4s ease;
  animation: border-rotate 5s linear infinite;
}
.border-glow:hover::before { opacity: 1; }

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes border-rotate {
  to { --angle: 360deg; }
}

/* ------------------------------------------------------------
   6. Buttons
   ------------------------------------------------------------ */
.btn-magnetic {
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--jss-ease), box-shadow .3s var(--jss-ease);
  will-change: transform;
}
.btn-magnetic:hover { box-shadow: 0 14px 34px -10px rgba(30, 58, 138, .55); }
.btn-magnetic::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .38), transparent);
  transform: skewX(-20deg);
  transition: left .65s var(--jss-ease);
}
.btn-magnetic:hover::after { left: 130%; }

/* ------------------------------------------------------------
   7. Marquee
   ------------------------------------------------------------ */
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-reverse { animation-direction: reverse; }

/* ------------------------------------------------------------
   8. Page chrome: preloader, scroll progress, cursor glow
   ------------------------------------------------------------ */
#jss-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--jss-brand-dark);
  transition: opacity .55s ease, visibility .55s ease;
}
#jss-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}
.preloader-ring {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .18);
  border-top-color: var(--jss-accent);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

#jss-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 9998;
  background: linear-gradient(90deg, var(--jss-brand-light), var(--jss-accent));
  transition: width .1s linear;
}

#jss-cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity .4s ease;
  background: radial-gradient(circle, rgba(59, 130, 246, .16), transparent 62%);
}
#jss-cursor-glow.is-active { opacity: 1; }

/* ------------------------------------------------------------
   9. Misc effects
   ------------------------------------------------------------ */
.hover-lift { transition: transform .4s var(--jss-ease), box-shadow .4s var(--jss-ease); }
.hover-lift:hover { transform: translateY(-9px); }

.img-zoom { overflow: hidden; }
.img-zoom img { transition: transform .8s var(--jss-ease); }
.img-zoom:hover img { transform: scale(1.09); }

.underline-sweep { position: relative; }
.underline-sweep::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 2px;
  width: 0;
  background: currentColor;
  transition: width .35s var(--jss-ease);
}
.underline-sweep:hover::after { width: 100%; }

.bg-grid-dots {
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
  background-size: 22px 22px;
}
.bg-noise::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Typing cursor for the rotating hero words */
.type-cursor::after {
  content: '|';
  margin-left: 2px;
  animation: caret-blink 1s step-end infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }

/* ------------------------------------------------------------
   10. Accessibility — honour reduced motion
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  .marquee-track,
  .cube-3d,
  .grid-3d,
  .scene-3d .orb,
  .float-slow, .float-med, .float-fast,
  .border-glow::before {
    animation: none !important;
  }
  [data-parallax] { transform: none !important; }
  #jss-cursor-glow { display: none; }
}

/* ------------------------------------------------------------
   11. Hero banner slider
   ------------------------------------------------------------ */
/* Slides share one grid cell: the track auto-sizes to the tallest slide, so
   nothing can overlap the controls or spill into the next section — no fixed
   height, no absolute positioning. */
.banner-slides {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  min-width: 0;
}
.banner-slide {
  grid-area: 1 / 1;
  position: relative;   /* anchors .banner-slide-bg */
  min-width: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  transition: opacity .9s var(--jss-ease), transform 1.4s var(--jss-ease), visibility 0s linear .9s;
  will-change: opacity, transform;
}
/* Without JS (or before it runs) only the first slide is visible. */
.banner-slide:first-child { opacity: 1; visibility: visible; transform: none; }
.banner-slides:has(.banner-slide.is-active) .banner-slide:first-child:not(.is-active) {
  opacity: 0;
  visibility: hidden;
}
.banner-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition: opacity .9s var(--jss-ease), transform 7s linear, visibility 0s;
  z-index: 2;
}
.banner-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .32;
}
.banner-slide-content > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--jss-ease), transform .7s var(--jss-ease);
}
.banner-slide.is-active .banner-slide-content > * { opacity: 1; transform: none; }
.banner-slide.is-active .banner-slide-content > *:nth-child(1) { transition-delay: .18s; }
.banner-slide.is-active .banner-slide-content > *:nth-child(2) { transition-delay: .30s; }
.banner-slide.is-active .banner-slide-content > *:nth-child(3) { transition-delay: .42s; }
.banner-slide.is-active .banner-slide-content > *:nth-child(4) { transition-delay: .54s; }

.banner-dot {
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: rgb(var(--c-silver) / .35);
  transition: background .35s ease, width .35s ease;
}
.banner-dot.is-active {
  background: rgb(var(--c-primary));
  width: 54px;
}
.banner-arrow {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgb(var(--c-silver) / .35);
  color: rgb(var(--c-silver));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .35s var(--jss-ease);
}
.banner-arrow:hover {
  background: rgb(var(--c-primary));
  border-color: rgb(var(--c-primary));
  color: rgb(var(--c-dark));
  transform: scale(1.08);
}
.banner-controls {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.25rem;
}

/* Small screens: tighter type, controls centred, no overflow */
@media (max-width: 1023px) {
  .banner-slides { text-align: center; }
  .banner-controls { justify-content: center; }
}
@media (max-width: 640px) {
  .banner-arrow { width: 40px; height: 40px; }
  .banner-dot { width: 24px; }
  .banner-dot.is-active { width: 38px; }
  .banner-slide-bg { border-radius: 1rem; }
}

/* ------------------------------------------------------------
   12. Animated social icons
   ------------------------------------------------------------ */
.social-orbit {
  position: relative;
  width: 250px;
  height: 250px;
  animation: orbit-spin 30s linear infinite;
}
.social-orbit:hover { animation-play-state: paused; }
.social-orbit::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgb(var(--c-silver) / .3);
}
.social-orbit-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 50%;
  transform: rotate(var(--orbit-angle)) translate(125px);
}
.social-orbit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  color: rgb(var(--c-silver));
  background: rgb(255 255 255 / .07);
  border: 1px solid rgb(var(--c-silver) / .25);
  backdrop-filter: blur(6px);
  animation: orbit-spin-reverse 30s linear infinite, social-pop .6s var(--jss-ease) both;
  animation-delay: 0s, var(--orbit-delay, 0ms);
  transition: color .3s ease, background .3s ease, box-shadow .3s ease, transform .3s ease;
}
.social-orbit-item:hover .social-orbit-icon {
  color: rgb(var(--c-dark));
  background: rgb(var(--c-primary));
  box-shadow: 0 0 0 6px rgb(var(--c-primary) / .18);
  transform: scale(1.16);
}
@keyframes orbit-spin         { to { transform: rotate(360deg); } }
@keyframes orbit-spin-reverse { to { transform: rotate(-360deg); } }
@keyframes social-pop {
  from { opacity: 0; transform: scale(.4); }
  to   { opacity: 1; transform: scale(1); }
}

.social-chip {
  color: rgb(var(--c-silver));
  background: rgb(255 255 255 / .07);
  border: 1px solid rgb(var(--c-silver) / .25);
  animation: social-float 4s ease-in-out infinite;
  transition: all .3s var(--jss-ease);
}
.social-chip:hover {
  color: rgb(var(--c-dark));
  background: rgb(var(--c-primary));
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 24px -8px rgb(var(--c-primary) / .7);
}
@keyframes social-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

/* ------------------------------------------------------------
   13. Gold / silver surface accents
   ------------------------------------------------------------ */
.gold-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, rgb(var(--c-primary)), rgb(var(--c-accent)), transparent);
}
.silver-frame {
  border: 1px solid rgb(var(--c-silver) / .45);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .35);
}
.gold-glow { box-shadow: 0 0 40px -12px rgb(var(--c-primary) / .55); }

@media (prefers-reduced-motion: reduce) {
  .social-orbit, .social-orbit-icon, .social-chip { animation: none !important; }
  .banner-slide { transition: opacity .3s linear; transform: none !important; }
}

/* ------------------------------------------------------------
   14. Hero social scene (replaces the wireframe cube)
   ------------------------------------------------------------ */
.social-scene {
  position: relative;
  width: min(400px, 84vw);
  height: min(400px, 84vw);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* pulsing rings radiating from the centre */
.scene-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130px;
  height: 130px;
  margin: -65px 0 0 -65px;
  border-radius: 50%;
  border: 1px solid rgb(var(--c-primary) / .5);
  animation: scene-pulse 4.2s ease-out infinite;
  pointer-events: none;
}
@keyframes scene-pulse {
  0%   { transform: scale(.7); opacity: .8; }
  70%  { opacity: .12; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* centre badge */
.scene-center {
  position: relative;
  z-index: 3;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(140deg, rgb(var(--c-primary)), rgb(var(--c-accent)));
  border: 3px solid rgb(255 255 255 / .18);
  box-shadow: 0 0 46px -8px rgb(var(--c-primary) / .75);
  animation: float-y 6s ease-in-out infinite;
}
.scene-center-glyph { color: rgb(var(--c-dark)); display: flex; }

/* brand bubbles riding the orbit */
.brand-bubble .social-orbit-icon {
  background: rgb(255 255 255 / .96);
  border: 1px solid rgb(255 255 255 / .6);
  color: var(--brand, #333);
  box-shadow: 0 10px 26px -10px rgb(0 0 0 / .55);
}
.brand-bubble:hover .social-orbit-icon {
  background: var(--brand, #333);
  color: #fff;
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--brand) 26%, transparent),
              0 14px 30px -10px var(--brand);
  transform: scale(1.22);
}
.social-scene .social-orbit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation-duration: 34s;
}
.social-scene .social-orbit-item {
  transform: rotate(var(--orbit-angle)) translate(clamp(120px, 21vw, 168px));
}
.social-scene .social-orbit-icon { animation-duration: 34s, .6s; }

/* engagement chips floating around the scene */
.reaction-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .7rem .45rem .45rem;
  border-radius: 999px;
  background: rgb(255 255 255 / .1);
  border: 1px solid rgb(255 255 255 / .2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  white-space: nowrap;
  animation: chip-float 7s ease-in-out infinite, chip-pop .7s var(--jss-ease) both;
  transition: transform .3s var(--jss-ease), box-shadow .3s var(--jss-ease);
}
.reaction-chip:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 28px -10px var(--brand);
}
.reaction-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--brand, #1877F2);
  box-shadow: 0 4px 12px -3px var(--brand);
  animation: icon-beat 2.4s ease-in-out infinite;
}
.reaction-meta { display: flex; flex-direction: column; line-height: 1.05; }
.reaction-meta strong { font-size: .8rem; font-weight: 800; color: #fff; }
.reaction-meta em { font-size: .6rem; font-style: normal; color: rgb(var(--c-silver)); }

@keyframes chip-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(6px, -14px, 0); }
}
@keyframes chip-pop {
  from { opacity: 0; transform: scale(.5); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes icon-beat {
  0%, 100% { transform: scale(1); }
  18%      { transform: scale(1.22); }
  36%      { transform: scale(1); }
}

/* emoji bubbles rising like live reactions */
.emoji-stream {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}
.emoji-bubble {
  position: absolute;
  bottom: -10%;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--brand, #F02849);
  box-shadow: 0 6px 18px -6px var(--brand);
  opacity: 0;
  animation: emoji-rise 7.5s ease-in infinite;
}
@keyframes emoji-rise {
  0%   { opacity: 0; transform: translateY(0) scale(.5); }
  12%  { opacity: 1; transform: translateY(-30px) scale(1); }
  70%  { opacity: .85; }
  100% { opacity: 0; transform: translateY(-260px) translateX(28px) scale(.7); }
}

@media (max-width: 640px) {
  .reaction-meta em { display: none; }
  .scene-center { width: 96px; height: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  .scene-pulse, .emoji-bubble, .reaction-chip, .reaction-icon, .scene-center { animation: none !important; }
  .emoji-bubble { opacity: .9; }
}
