/* One continuous sky colour through the cards and the couple/temple scene. */
.events.scene { background: #d9effa; overflow: visible; }
.event-stack.event-video-stack {
  --stack-top: clamp(48px, 7svh, 88px);
  position: relative;
  width: min(980px, 100%);
  padding-bottom: 6svh;
}
.event-stack.event-video-stack::after { display: none; }
.event-card.event-video-card {
  position: sticky;
  top: calc(var(--stack-top) + var(--stack-index) * 15px);
  display: block;
  isolation: isolate;
  width: min(608px, 100%);
  height: min(760px, calc(100svh - 160px));
  min-height: 440px;
  max-height: none;
  margin: 0 auto 30svh;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d5bb80;
  outline: none;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(56, 94, 112, .12);
  transform: scale(var(--stack-scale, 1));
  transform-origin: center top;
  opacity: 1;
  filter: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: none;
  will-change: transform;
}
.event-card.event-video-card:last-child { margin-bottom: 0; }
.event-video-media, .event-video { position: absolute; inset: 0; width: 100%; height: 100%; }
.event-video-media { z-index: 0; overflow: hidden; }
.event-video { display: block; object-fit: cover; object-position: center; }
/* A single masked blur replaces six overlapping live backdrop filters. */
.event-progressive-blur {
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  pointer-events: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  mask-image: linear-gradient(transparent, #000 38%);
  -webkit-mask-image: linear-gradient(transparent, #000 38%);
  background: linear-gradient(transparent, rgba(255,255,255,.88));
}
.event-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: clamp(26px, 4vw, 46px);
  color: var(--event-ink, #30291f);
  text-align: left;
}
.event-overlay, .event-overlay > * {
  opacity: 1;
  visibility: visible;
  filter: none;
  transform: none;
  transition: none;
  text-shadow: none;
}
.event-overlay h3 {
  margin: 0 0 18px;
  color: var(--event-ink, #30291f);
  font-family: Playfair Local, Georgia, serif;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 500;
  line-height: 1.06;
}
.event-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 16px; line-height: 1.5; }
.event-meta span { color: inherit; }
.event-meta .event-venue {
  flex-basis: 100%;
  display: block;
  width: fit-content;
  padding: 6px 0;
  color: var(--event-ink, #30291f);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.event-venue:hover { color: var(--event-ink, #30291f); text-decoration-thickness: 2px; }
.event-venue:focus-visible { outline: 2px solid var(--event-ink, #30291f); outline-offset: 4px; border-radius: 3px; }
.events .couple-scene { margin-top: -6svh; }
@media (max-width: 700px) {
  .events.scene { padding: 64px 14px 0; }
  .event-card.event-video-card { border-radius: 20px; }
  .event-overlay { padding: 26px 22px; }
  .event-overlay h3 { font-size: clamp(44px, 12vw, 64px); }
  .event-meta { font-size: 14px; gap: 6px 14px; }
}
@media (max-height: 620px) {
  .event-card.event-video-card { position: relative; top: 0; height: 500px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .event-card.event-video-card { transform: none; will-change: auto; }
}

/* Deep ceremony colours remain readable over the light frosted panel. */
.event-video-card[data-event-theme="haldi"] { --event-ink: #725009; }
.event-video-card[data-event-theme="mehndi"],
.event-video-card[data-event-theme="mehendi"] { --event-ink: #245234; }
.event-video-card[data-event-theme="sangeet"] { --event-ink: #573365; }
.event-video-card[data-event-theme="baraat"],
.event-video-card[data-event-theme="bharat"] { --event-ink: #853c22; }
.event-video-card[data-event-theme="wedding"] { --event-ink: #782a3e; }
