.hero {
  perspective: 1350px;
  padding-top: 42px;
  padding-bottom: 68px;
}

.art {
  --base-x: 0deg;
  --base-y: -5deg;
  border-radius: 165px 165px 24px 24px;
  isolation: auto;
  transform-style: preserve-3d;
  box-shadow: 20px 34px 64px #471b3b33, 5px 9px 0 #8d5367;
}

.art::before {
  inset: -14px 16px 18px -14px;
  transform: translateZ(-24px);
  border-color: #bc8c87;
  background: #e9ced0;
}

.art::after {
  background: radial-gradient(ellipse at var(--scene-focus, 50% 50%), #ffd8a52c, transparent 58%),
    linear-gradient(180deg, transparent 37%, #291122ea 100%);
  transform: translateZ(2px);
  pointer-events: none;
}

.art .event-photo { object-position: var(--scene-focus, 50% 50%); transform: translateZ(1px); }
.hero-video-controls {
  position: absolute;
  z-index: 3;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateZ(24px);
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 3px 10px;
  border: 1px solid #fff8f09c;
  border-radius: 100px;
  background: #2e102ce8;
  color: #fff8f0;
  font-size: 12px;
  white-space: nowrap;
}
.hero-video-controls[hidden] { display: none; }
.hero-video-toggle {
  min-height: 38px;
  padding: 4px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.hero-video-time { font-variant-numeric: tabular-nums; }
.hero-video-controls :focus-visible { outline: 2px solid #fff8f0; outline-offset: 2px; }
.art .photo-title { bottom: 94px; transform: translate3d(var(--caption-shift, 0px), 0, 20px); }
.art small { bottom: 66px; transform: translateZ(12px); }
.art .floating-note { transform: translate3d(var(--badge-shift, 0px), var(--badge-rise, 0px), 52px) rotate(10deg); }
.art .event-photo, .art .photo-title, .art .floating-note {
  transition: transform 260ms ease-out, object-position 260ms ease-out;
}
.art.depth-active :is(.event-photo, .photo-title, .floating-note) { transition-duration: 110ms; }

.art, .event-card, .package {
  transform: perspective(1150px) translateY(var(--lift, 0px))
    rotateX(calc(var(--base-x, 0deg) + var(--tilt-x, 0deg)))
    rotateY(calc(var(--base-y, 0deg) + var(--tilt-y, 0deg)));
  transition: transform 320ms cubic-bezier(.2,.75,.25,1), box-shadow 320ms ease;
}

.depth-active { transition-duration: 110ms; }
.event-card:hover, .package:hover { --lift: -5px; }
.event-card:focus-within, .package:focus-within { box-shadow: 0 12px 28px #471b3b22; }

.event-grid { gap: 22px; }
.event-card {
  border-radius: 22px;
  background: linear-gradient(145deg, #fffdf9 18%, var(--card) 165%);
  box-shadow: 0 3px 0 var(--card), 0 13px 28px #471b3b10;
  transform-style: preserve-3d;
}

.event-symbol {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 0;
  aspect-ratio: 3/2;
  border-radius: 14px;
  background: url('event-film-settings.png') var(--scene-x, 0%) var(--scene-y, 0%) / 300% 300%;
  color: #fff4e8;
  text-shadow: 0 3px 14px #2e1226;
  transform: translateZ(16px);
}

.event-symbol::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, #29112264, #29112215 55%, #29112278);
}

.business { --scene-x: 100%; }
.university { --scene-y: 50%; }
.wedding { --scene-x: 50%; }
.birthday { --scene-x: 100%; --scene-y: 50%; }
.shower { --scene-y: 100%; }
.anniversary { --scene-x: 50%; --scene-y: 50%; }
.other { --scene-x: 50%; --scene-y: 100%; }

.package-section { background: radial-gradient(ellipse at 20% 0, #e9d4e3, transparent 65%), #fff8f0; }
.package { box-shadow: 0 4px 0 #e1cfd9, 0 14px 27px #471b3b13; }
.package.gold { box-shadow: 0 4px 0 #caa66c, 0 18px 31px #a8732727; }
.package:hover { box-shadow: 0 5px 0 #e1cfd9, 0 24px 35px #471b3b23; }
.approach { box-shadow: 0 8px 0 #32152b, 0 24px 38px #471b3b23; }
.button:active { transform: translateY(2px); }

@media (max-width: 650px) {
  .hero { padding-top: 32px; padding-bottom: 32px; background: linear-gradient(155deg, #2e102c, #51253e); }
  .hero .art { display: block; --base-y: 0deg; margin: 18px 8px 0; }
  .hero .floating-note { right: 0; }
  .hero .concept-label { display: none !important; }
  .hero .explore { color: inherit; }
  .event-grid { gap: 13px; }
  .event-symbol { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .art, .event-card, .package { transform: none; transition: none; }
  .art :is(.event-photo, .photo-title, .floating-note) { transition: none; }
}
