/* WANT2BTHERE — Premium Luxury Theme */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes shimmerGold {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes kenBurns {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
@keyframes slideUpSoft {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-28px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(28px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes softPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 169, 98, 0.35); }
  50% { box-shadow: 0 0 0 12px rgba(201, 169, 98, 0); }
}
@keyframes drawLine {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.animate-fade-up { animation: fadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.animate-fade-in { animation: fadeIn 0.6s ease forwards; }
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-slide-up { animation: slideUpSoft 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards; }

.animation-delay-100 { animation-delay: 0.1s; }
.animation-delay-200 { animation-delay: 0.2s; }
.animation-delay-300 { animation-delay: 0.3s; }
.animation-delay-400 { animation-delay: 0.4s; }
.animation-delay-500 { animation-delay: 0.5s; }
.opacity-0-start { opacity: 0; }

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.is-visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right.is-visible { opacity: 1; transform: translateX(0); }

/* Staggered children when parent gains .is-visible */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.4s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 0.47s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 0.54s; }
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-scale.is-visible { opacity: 1; transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  .animate-fade-up, .animate-fade-in, .animate-float, .animate-slide-up,
  .reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-stagger > *,
  .hero-slide, .hero-slide.active img, .hero-booking-enter, .cinematic-play__pulse {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Gold gradient text */
.text-gradient {
  background: linear-gradient(135deg, #E8D5B7 0%, #C9A962 50%, #A8893E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-light {
  background: linear-gradient(135deg, #FFFFFF 0%, #E8D5B7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero overlays */
.hero-mesh {
  background:
    radial-gradient(ellipse at 15% 50%, rgba(201, 169, 98, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(26, 35, 50, 0.5) 0%, transparent 45%),
    linear-gradient(180deg, rgba(10, 15, 28, 0.55) 0%, rgba(10, 15, 28, 0.75) 50%, rgba(10, 15, 28, 0.88) 100%);
}

/* Glass header */
.glass-header {
  background: rgba(247, 245, 240, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 169, 98, 0.08);
}
.glass-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(201, 169, 98, 0.12), 0 8px 32px rgba(10, 15, 28, 0.06);
}

/* Premium 3D buttons (--mx/--my keep magnetic hover compatible) */
.btn-gold,
.btn-midnight,
.btn-3d,
.btn-outline-gold {
  --mx: 0px;
  --my: 0px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  user-select: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease, background 0.2s ease, border-color 0.2s ease;
  transform: translate(var(--mx), var(--my));
  will-change: transform;
}

.btn-gold {
  border: none;
  background: linear-gradient(180deg, #E0C878 0%, #C9A962 48%, #B8943F 100%) !important;
  color: #0A0F1C;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -2px 0 rgba(120, 90, 30, 0.35),
    0 4px 0 #8F7230,
    0 8px 18px rgba(10, 15, 28, 0.28) !important;
}

.btn-gold:hover {
  filter: brightness(1.05);
  transform: translate(var(--mx), calc(var(--my) - 2px));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -2px 0 rgba(120, 90, 30, 0.35),
    0 6px 0 #8F7230,
    0 12px 24px rgba(10, 15, 28, 0.32) !important;
}

.btn-gold:active {
  filter: brightness(0.98);
  transform: translate(var(--mx), calc(var(--my) + 3px));
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.2),
    0 1px 0 #8F7230,
    0 3px 8px rgba(10, 15, 28, 0.2) !important;
}

.btn-midnight {
  border: none;
  background: linear-gradient(180deg, #243044 0%, #0A0F1C 55%, #050810 100%) !important;
  color: #F7F5F0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -2px 0 rgba(0, 0, 0, 0.45),
    0 4px 0 #02040a,
    0 8px 18px rgba(10, 15, 28, 0.35) !important;
}

.btn-midnight:hover {
  filter: brightness(1.12);
  transform: translate(var(--mx), calc(var(--my) - 2px));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -2px 0 rgba(0, 0, 0, 0.45),
    0 6px 0 #02040a,
    0 12px 24px rgba(10, 15, 28, 0.4) !important;
}

.btn-midnight:active {
  filter: brightness(0.95);
  transform: translate(var(--mx), calc(var(--my) + 3px));
  box-shadow:
    inset 0 2px 5px rgba(0, 0, 0, 0.45),
    0 1px 0 #02040a,
    0 3px 8px rgba(10, 15, 28, 0.25) !important;
}

/* Generic / outline-style 3D */
.btn-3d:not(.btn-gold):not(.btn-midnight) {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -2px 0 rgba(0, 0, 0, 0.12),
    0 3px 0 rgba(10, 15, 28, 0.18),
    0 8px 16px rgba(10, 15, 28, 0.14) !important;
}
.btn-3d:not(.btn-gold):not(.btn-midnight):hover {
  transform: translate(var(--mx), calc(var(--my) - 2px));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -2px 0 rgba(0, 0, 0, 0.12),
    0 5px 0 rgba(10, 15, 28, 0.2),
    0 12px 22px rgba(10, 15, 28, 0.2) !important;
}
.btn-3d:not(.btn-gold):not(.btn-midnight):active {
  transform: translate(var(--mx), calc(var(--my) + 3px));
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.18),
    0 1px 0 rgba(10, 15, 28, 0.18),
    0 3px 8px rgba(10, 15, 28, 0.14) !important;
}

.btn-outline-gold {
  border: 1.5px solid rgba(201, 169, 98, 0.7);
  color: #C9A962;
  background: transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 3px 0 rgba(168, 137, 62, 0.35),
    0 6px 14px rgba(10, 15, 28, 0.12) !important;
}
.btn-outline-gold:hover {
  background: rgba(201, 169, 98, 0.1);
  border-color: #C9A962;
  transform: translate(var(--mx), calc(var(--my) - 2px));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 5px 0 rgba(168, 137, 62, 0.4),
    0 10px 18px rgba(10, 15, 28, 0.16) !important;
}
.btn-outline-gold:active {
  transform: translate(var(--mx), calc(var(--my) + 2px));
  box-shadow:
    inset 0 2px 3px rgba(0, 0, 0, 0.12),
    0 1px 0 rgba(168, 137, 62, 0.35) !important;
}

@media (prefers-reduced-motion: reduce) {
  .btn-gold, .btn-midnight, .btn-3d, .btn-outline-gold {
    transition: none;
  }
  .btn-gold:hover, .btn-midnight:hover, .btn-3d:hover, .btn-outline-gold:hover,
  .btn-gold:active, .btn-midnight:active, .btn-3d:active, .btn-outline-gold:active {
    transform: translate(var(--mx), var(--my));
  }
}

/* Section label */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #C9A962;
}
.section-label::before,
.section-label::after {
  content: '';
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, #C9A962, transparent);
}

/* Card effects */
.card-shine { position: relative; overflow: hidden; }
.card-shine::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(201, 169, 98, 0.06) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.7s ease;
}
.card-shine:hover::after { transform: translateX(100%); }

.card-luxury {
  background: #FFFFFF;
  border: 1px solid rgba(201, 169, 98, 0.12);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.card-luxury:hover {
  border-color: rgba(201, 169, 98, 0.3);
  box-shadow: 0 24px 48px rgba(10, 15, 28, 0.1);
  transform: translateY(-4px);
}

/* FAQ */
.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.faq-panel.open { grid-template-rows: 1fr; }
.faq-panel > div { overflow: hidden; }

/* Hero slider */
.hero-slider { position: relative; overflow: hidden; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
  z-index: 0;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
}
.hero-slide.active img {
  animation: kenBurns 8s ease-out forwards;
}

.hero-booking {
  box-shadow: 0 32px 64px -16px rgba(10, 15, 28, 0.3);
  border: 1px solid rgba(201, 169, 98, 0.15);
}
.hero-booking-enter {
  opacity: 0;
  animation: slideUpSoft 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

.hero-caption-line {
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
.scrollbar-hide::-webkit-scrollbar { display: none; }
.tours-scroll { scroll-snap-type: x mandatory; }
.tours-scroll > * { scroll-snap-align: start; }

/* Transparent hero header */
.header-hero:not(.scrolled) {
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
  box-shadow: none;
}
.header-hero:not(.scrolled) .nav-link { color: rgba(255, 255, 255, 0.88); }
.header-hero:not(.scrolled) .nav-link:hover,
.header-hero:not(.scrolled) .nav-link.active { color: #E8D5B7; }
.header-hero:not(.scrolled) .logo-default { display: none; }
.header-hero:not(.scrolled) .logo-light { display: block; }
.header-hero:not(.scrolled) .menu-bar { background: white; }
.header-hero:not(.scrolled) .btn-header-cta {
  background: linear-gradient(135deg, #D4B96E, #C9A962);
  color: #0A0F1C;
}
.header-hero.scrolled .logo-default { display: block; }
.header-hero.scrolled .logo-light { display: none; }

/* Premium divider */
.divider-gold {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 98, 0.5), transparent);
}

/* Page hero for inner pages */
.page-hero-premium {
  background: linear-gradient(135deg, #0A0F1C 0%, #1A2332 60%, #0A0F1C 100%);
  position: relative;
  overflow: hidden;
}
.page-hero-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(201, 169, 98, 0.08) 0%, transparent 60%);
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #F7F5F0; }
::-webkit-scrollbar-thumb { background: #C9A962; border-radius: 3px; }

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity 0.3s ease; transform: none !important; }
  .hero-slide img,
  .hero-slide.active img { animation: none !important; transform: none !important; }
}

/* Hero video slides */
.hero-slide video,
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide-video {
  position: absolute;
  inset: 0;
  display: block;
}
.hero-slide.is-video-active .hero-slide-fallback { opacity: 0; pointer-events: none; }
.hero-slide-fallback {
  position: absolute;
  inset: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.is-ken-burns .hero-slide-fallback {
  animation: kenBurns 20s ease-in-out infinite alternate;
}
@keyframes kenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

/* Custom cursor */
.custom-cursor-active,
.custom-cursor-active * {
  cursor: none !important;
}
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  will-change: transform;
}
.cursor-dot {
  width: 8px;
  height: 8px;
  background: #C9A962;
  mix-blend-mode: difference;
}
.cursor-ring {
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(201, 169, 98, 0.65);
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.cursor-ring--hover {
  width: 56px;
  height: 56px;
  border-color: #E8D5B7;
  background: rgba(201, 169, 98, 0.08);
}
.cursor-dot--hover {
  transform: scale(1.5);
  background: #E8D5B7;
}

/* Cinematic showcase (Visit Britain inspired) */
.cinematic-showcase {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.cinematic-showcase__media {
  position: absolute;
  inset: 0;
}
.cinematic-showcase__media video,
.cinematic-showcase__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cinematic-showcase__media video {
  position: absolute;
  inset: 0;
}
.cinematic-showcase__media.is-video-active img { opacity: 0; }
.cinematic-showcase__media img {
  transition: opacity 0.8s ease;
}
.cinematic-showcase__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10, 15, 28, 0.92) 0%, rgba(10, 15, 28, 0.55) 45%, rgba(10, 15, 28, 0.35) 100%);
}
.cinematic-play {
  position: relative;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  border: 2px solid rgba(232, 213, 183, 0.6);
  background: rgba(201, 169, 98, 0.15);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.cinematic-play:hover {
  transform: scale(1.08);
  border-color: #E8D5B7;
  box-shadow: 0 0 40px rgba(201, 169, 98, 0.35);
}
.cinematic-play__pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 98, 0.4);
  animation: playPulse 2.4s ease-out infinite;
}
@keyframes playPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* Section background video fallback */
.has-bg-video > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.has-bg-video > img[aria-hidden="true"] {
  transition: opacity 0.8s ease;
}
.has-bg-video.is-video-active > img[aria-hidden="true"] {
  opacity: 0;
}

/* Experience cards */
.experience-card {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: min(85vw, 380px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.experience-card__img-wrap {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 1rem;
}
.experience-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.experience-card:hover .experience-card__img-wrap img {
  transform: scale(1.06);
}
.experience-card__credit {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(10, 15, 28, 0.55);
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
}

/* Gallery marquee */
.gallery-marquee {
  display: flex;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
}
.gallery-marquee:hover {
  animation-play-state: paused;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Video modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(10, 15, 28, 0.92);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.video-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.video-modal__dialog {
  width: min(960px, 100%);
  transform: scale(0.94) translateY(12px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.video-modal.is-open .video-modal__dialog {
  transform: scale(1) translateY(0);
}
.video-modal__frame {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(201, 169, 98, 0.25);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.45);
}
.video-modal__frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0A0F1C;
}

/* Magnetic transition helper */
[data-magnetic] {
  transition: transform 0.2s ease-out;
  will-change: transform;
}

/* ---------- Parallax & 3D depth ---------- */
.parallax-scene {
  perspective: 1200px;
  transform-style: preserve-3d;
}

.parallax-media,
[data-scroll-parallax].parallax-media,
.cinematic-showcase__media img,
#expert-cta > img {
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1.15);
  transform-origin: center center;
}

.cinematic-showcase__media,
#expert-cta,
.parallax-bg {
  overflow: hidden;
}

.tilt-ready,
[data-tilt],
.card-3d,
.card-tilt,
.experience-card {
  transform-style: preserve-3d;
  transform: perspective(900px) rotateX(0) rotateY(0);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
  will-change: transform;
}

.tilt-ready.is-tilting,
[data-tilt].is-tilting,
.card-3d.is-tilting,
.card-tilt.is-tilting,
.experience-card.is-tilting {
  transition: transform 0.08s ease-out, box-shadow 0.2s ease;
  box-shadow:
    0 28px 50px rgba(10, 15, 28, 0.22),
    0 8px 16px rgba(10, 15, 28, 0.1);
}

/* Soft light that follows tilt */
.tilt-ready::before,
.card-3d::before,
a.card-shine.tilt-ready::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  background: radial-gradient(
    circle at var(--tilt-x, 50%) var(--tilt-y, 50%),
    rgba(255, 255, 255, 0.28) 0%,
    transparent 55%
  );
  transition: opacity 0.35s ease;
}
.tilt-ready.is-tilting::before,
.card-3d.is-tilting::before,
a.card-shine.tilt-ready.is-tilting::before {
  opacity: 1;
}

.card-3d {
  position: relative;
  border-radius: 1rem;
}

.card-3d-lift {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.card-3d-lift:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 24px 48px rgba(10, 15, 28, 0.14);
}

/* 3D reveal entrance */
.reveal-3d {
  opacity: 0;
  transform: perspective(800px) rotateX(8deg) translateY(36px);
  transform-origin: center bottom;
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-3d.is-visible {
  opacity: 1;
  transform: perspective(800px) rotateX(0) translateY(0);
}

.depth-float {
  animation: depthFloat 7s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
}
@keyframes depthFloat {
  0%, 100% { transform: translateY(0) translateZ(0); }
  50% { transform: translateY(-10px) translateZ(12px); }
}

.gallery-marquee figure {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  transform-style: preserve-3d;
}
.gallery-marquee figure:hover {
  transform: translateY(-10px) scale(1.04) rotateY(-4deg);
  z-index: 2;
}

.page-hero-premium {
  transform-style: preserve-3d;
}
.page-hero-premium .hero-depth {
  transform: translateZ(24px);
}

.hero-slide {
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .custom-cursor-active,
  .custom-cursor-active * { cursor: auto !important; }
  .cursor-dot, .cursor-ring { display: none !important; }
  .gallery-marquee { animation: none; }
  .cinematic-play__pulse { animation: none; }
  .hero-slide.is-ken-burns .hero-slide-fallback { animation: none; }
  .depth-float { animation: none; }
  .parallax-media,
  [data-scroll-parallax],
  .cinematic-showcase__media img,
  #expert-cta > img {
    transform: none !important;
  }
  [data-magnetic], [data-tilt], [data-parallax],
  .tilt-ready, .card-3d, .card-tilt, .experience-card, .reveal-3d {
    transform: none !important;
  }
  .tilt-ready::before, .card-3d::before { display: none; }
}
