.reveal,
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in,
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
  border-block: 1px solid color-mix(in srgb, currentColor 12%, transparent);
}
.marquee__track {
  display: inline-flex;
  gap: 0;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-size: clamp(0.75rem, 1.2vw, 0.9rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.9rem 0;
  opacity: 0.7;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

[data-three-bg] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.glass {
  background: color-mix(in srgb, #fff 8%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid color-mix(in srgb, #fff 14%, transparent);
}

[data-drag] {
  cursor: grab;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
[data-drag]::-webkit-scrollbar { display: none; }
[data-drag] > * { scroll-snap-align: start; }

[data-magnetic] {
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  will-change: transform;
  position: relative;
  z-index: 2;
  cursor: pointer;
  pointer-events: auto;
}
a.btn, button.btn, .btn, .nav-cta, .header-cta, .product__add {
  position: relative;
  z-index: 3;
  pointer-events: auto !important;
  cursor: pointer;
}

/* layout safety */
html, body { overflow-x: hidden; max-width: 100%; }
[data-three-bg] { pointer-events: none !important; z-index: 0; }
.hero > *:not(canvas) { position: relative; z-index: 1; }
img { max-width: 100%; height: auto; }


/* honeypot hide */
.hp, label.hp, input[name="website"] {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}
