/* ==========================================================================
   Painted scenes: decor placement, reveal choreography and effects
   ========================================================================== */

/* ── How decor arrives ────────────────────────────────────────────────────
   Reveal moves use `translate`/`scale`; idle motion uses `rotate`; mirroring
   uses `transform`. Keeping them on separate properties lets them combine. */
.dz {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  transition: translate 1.3s cubic-bezier(.2,.8,.2,1), scale 1.3s cubic-bezier(.2,.8,.2,1), opacity 0.9s ease;
}
.dz-hang { translate: 0 -105%; }
.dz-rise { translate: 0 45%; }
.dz-slide-l { translate: -70% 0; }
.dz-slide-r { translate: 70% 0; }
.dz-fade { scale: 0.92; }
.is-visible .dz,
.is-in .cover .dz {
  opacity: 1; translate: 0 0; scale: 1;
  transition-delay: var(--rd, 0ms);
}

/* ── Garland strips across the top ─────────────────────────────────────── */
.sc-strip {
  top: 0; left: 0; right: 0; z-index: 1;
  height: var(--strip-h, clamp(84px, 11vw, 132px));
  background: repeat-x top center / auto 100%;
  filter: drop-shadow(0 6px 6px rgba(90, 50, 10, 0.18));
}
.sc-strip--umbrella-bunting { --strip-h: clamp(90px, 13vw, 160px); }
.sc-strip--vine-canopy { --strip-h: clamp(120px, 18vw, 230px); }

/* Bell strands hanging below the toran, swaying */
.sc-bell {
  top: calc(var(--strip-h, clamp(84px, 11vw, 132px)) * 0.42); z-index: 1;
  height: var(--bell-h, clamp(170px, 30vh, 300px)); width: auto;
  transform-origin: 50% 0;
  animation: sway 4.2s ease-in-out infinite;
  filter: drop-shadow(0 6px 6px rgba(90, 60, 10, 0.25));
}
.sc-bell--1 { left: 3%; }
.sc-bell--2 { left: 11%; --bell-h: clamp(120px, 21vh, 210px); animation-delay: -1.3s; }
.sc-bell--3 { right: 11%; --bell-h: clamp(120px, 21vh, 210px); animation-delay: -2.1s; }
.sc-bell--4 { right: 3%; animation-delay: -0.6s; }
@keyframes sway { 0%, 100% { rotate: 3deg; } 50% { rotate: -3deg; } }

/* ── Things standing on the floor ──────────────────────────────────────── */
.sc-floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 22%;
  background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(150, 100, 40, 0.16), transparent 70%);
  pointer-events: none;
}
.sc-plant { bottom: -1%; z-index: 1; height: clamp(300px, 66vh, 660px); width: auto; transform-origin: 50% 100%; }
.sc-plant--l { left: -3%; }
.sc-plant--r { right: -3%; transform: scaleX(-1); }
.sc-lamp { bottom: 1%; z-index: 1; height: var(--lamp-h); width: auto; --lamp-h: clamp(220px, 44vh, 440px); }
.sc-lamp--l { left: 13%; }
.sc-lamp--r { right: 13%; }
.sc-glow {
  position: absolute; z-index: 1; bottom: calc(1% + var(--lamp-h) - 70px);
  width: 140px; height: 140px; margin-left: -70px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 196, 92, 0.75), rgba(255, 150, 40, 0.25) 40%, transparent 70%);
  mix-blend-mode: screen; pointer-events: none; opacity: 0;
  --lamp-h: clamp(220px, 44vh, 440px);
}
.sc-glow--l { left: calc(13% + var(--lamp-h) * 0.159); }
.sc-glow--r { right: calc(13% + var(--lamp-h) * 0.159); margin: 0 -70px 0 0; }
.is-visible .sc-glow { opacity: 1; transition: opacity 1s 1.2s; animation: flicker 2.6s ease-in-out infinite 1.2s; }
@keyframes flicker { 0%, 100% { opacity: 1; scale: 1; } 30% { opacity: 0.8; scale: 0.94; } 55% { opacity: 1; scale: 1.06; } 80% { opacity: 0.86; scale: 0.98; } }

.sc-corner { bottom: -3%; z-index: 2; width: clamp(160px, 22vw, 320px); height: auto; }
.sc-corner--l { left: -3%; }
.sc-corner--r { right: -3%; transform: scaleX(-1); }

.sc-floor-c, .sc-havan, .sc-mandap { left: 50%; width: var(--w); height: auto; margin-left: calc(var(--w) / -2); }
.sc-floor-c { --w: clamp(170px, 19vw, 250px); bottom: 2%; z-index: 1; }
.sc-floor-c--wide { --w: clamp(200px, 24vw, 320px); }
.sc-prop { bottom: 3%; z-index: 2; width: clamp(150px, 19vw, 270px); height: auto; }
.sc-prop--l { left: 3%; }
.sc-ghodi { bottom: 1%; left: 1%; z-index: 2; width: clamp(200px, calc((100vw - 600px) / 2), 470px); height: auto; }
.is-visible .sc-ghodi { animation: prance 3s ease-in-out infinite 1.6s; }
@keyframes prance { 0%, 100% { rotate: 0deg; } 50% { rotate: -1.2deg; } }

/* Haldi curtains: closed until the scene arrives, then part to the sides */
.sc-drape {
  top: 0; z-index: 2; height: 100%; width: min(46vw, 560px);
  object-fit: cover; opacity: 1;
  transition: translate 1.8s cubic-bezier(.7,0,.2,1);
}
.sc-drape--l { left: 0; translate: 55% 0; object-position: right top; }
.sc-drape--r { right: 0; translate: -55% 0; transform: scaleX(-1); object-position: right top; }
.is-visible .sc-drape--l { translate: -42% 0; transition-delay: 0.2s; }
.is-visible .sc-drape--r { translate: 42% 0; transition-delay: 0.2s; }

/* The mandap stands behind the details for the wedding moments */
.sc-mandap { --w: min(1120px, 125vw); bottom: 3%; z-index: 0; }
.sc-mandap--night { filter: brightness(0.82) saturate(0.9); }
/* The agni sits in front of the couple, just left of the groom, so the walk is a phera */
.sc-phera { position: relative; width: min(680px, 96%); margin: 0.2rem auto 0; }
.sc-phera .sc-couple--phera {
  position: relative; z-index: 2;
  width: 74%; margin: 0 0 0 26%;
}
.sc-phera .sc-havan--phera {
  left: -4%; bottom: -1%; width: 50%; height: auto; margin: 0; z-index: 3;
}
.sc-phera .sc-fire-glow--phera {
  left: -6%; bottom: 0; width: 58%; height: 78%; margin: 0; z-index: 1;
}
.theme-phera .sc-content::before { inset: -6% -14% 8% -14%; }
.is-visible .sc-havan { animation: fire 0.5s steps(2) infinite alternate 1.6s; }
@keyframes fire { to { filter: brightness(1.12) saturate(1.15); } }
.sc-fire-glow {
  position: absolute; left: 50%; bottom: 0; z-index: 2;
  width: 520px; height: 360px; margin-left: -260px;
  background: radial-gradient(ellipse at 50% 80%, rgba(255, 150, 50, 0.55), transparent 65%);
  mix-blend-mode: screen; pointer-events: none; opacity: 0;
}
.is-visible .sc-fire-glow { opacity: 1; transition: opacity 1s 1.4s; animation: flicker 1.6s ease-in-out infinite 1.4s; }

/* ── Falling petals ────────────────────────────────────────────────────── */
.sc-falling, .sc-confetti, .sc-embers {
  position: absolute; inset: 0; z-index: 4; overflow: hidden;
  container-type: size; pointer-events: none;
}
.sc-petal, .sc-confetti i, .sc-embers i {
  position: absolute; top: 0; left: var(--x);
  animation: fall var(--dur) linear var(--delay) infinite;
  animation-play-state: paused;
}
.is-visible .sc-petal, .is-visible .sc-confetti i, .is-visible .sc-embers i,
.is-in .cover .sc-petal { animation-play-state: running; }
.sc-petal {
  width: calc(13px * var(--size)); height: calc(17px * var(--size));
  border-radius: 80% 0 55% 50% / 55% 0 80% 50%;
  background: radial-gradient(circle at 30% 30%, #ffc2cf, #e45a7e 70%);
  box-shadow: inset -2px -2px 3px rgba(120, 20, 40, 0.2);
}
.sc-petal--marigold { background: radial-gradient(circle at 30% 30%, #ffd36a, #ec8a12 70%); box-shadow: inset -2px -2px 3px rgba(140, 60, 0, 0.2); }
.sc-petal--leaf { border-radius: 0 100% 0 100%; background: linear-gradient(135deg, #a7c45a, #5f8a2c); }
@keyframes fall {
  0%   { translate: 0 -8cqh; rotate: 0deg; }
  25%  { translate: var(--drift) 22cqh; }
  50%  { translate: calc(var(--drift) * -0.6) 50cqh; }
  75%  { translate: var(--drift) 78cqh; }
  100% { translate: 0 108cqh; rotate: calc(var(--spin, 1) * 600deg); }
}

/* ── Confetti ──────────────────────────────────────────────────────────── */
.sc-confetti i {
  width: calc(8px * var(--s)); height: calc(13px * var(--s));
  background: var(--c); border-radius: 2px;
  animation-name: fall, flip;
  animation-duration: var(--dur), 1.4s;
  animation-timing-function: linear, ease-in-out;
}
@keyframes flip { 50% { transform: rotate3d(1, 0.4, 0, 180deg); } }

/* ── Colour smoke shots behind the varmala ─────────────────────────────── */
.sc-skyshots { position: absolute; left: 50%; bottom: 6%; width: 0; height: 88%; z-index: 1; pointer-events: none; }
.sc-skyshots i {
  position: absolute; bottom: 0; left: -45px; width: 90px; height: var(--h);
  transform-origin: 50% 100%; rotate: var(--lean);
  background: radial-gradient(ellipse 50% 40% at 50% 22%, var(--c), transparent 72%), linear-gradient(to top, transparent, color-mix(in srgb, var(--c) 45%, transparent) 40%, transparent);
  filter: blur(14px); opacity: 0; scale: 1 0;
}
.is-visible .sc-skyshots i { animation: plume 4.6s ease-out infinite; animation-delay: calc(0.8s + var(--delay)); }
@keyframes plume {
  0% { opacity: 0; scale: 0.6 0; }
  25% { opacity: 0.85; }
  70% { opacity: 0.55; scale: 1.7 1; }
  100% { opacity: 0; scale: 2.2 1.05; }
}

/* ── Night sky: stars, embers, fireworks ───────────────────────────────── */
.sc-stars {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 18%, #fff3c8 60%, transparent), radial-gradient(1px 1px at 30% 70%, #fff3c8 60%, transparent),
    radial-gradient(1.4px 1.4px at 78% 22%, #fff3c8 60%, transparent), radial-gradient(1px 1px at 88% 64%, #fff3c8 60%, transparent),
    radial-gradient(1px 1px at 55% 12%, #fff3c8 60%, transparent), radial-gradient(1.6px 1.6px at 65% 88%, #fff3c8 60%, transparent),
    radial-gradient(1px 1px at 42% 40%, #fff3c8 60%, transparent), radial-gradient(1.2px 1.2px at 5% 90%, #fff3c8 60%, transparent);
  background-size: 240px 240px;
  animation: twinkle 3.5s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: 0.45; } to { opacity: 1; } }
.sc-embers i {
  top: auto; bottom: 8%; left: calc(42% + var(--x) * 0.16);
  width: 4px; height: 4px; border-radius: 50%;
  background: #ffb347; box-shadow: 0 0 6px 2px rgba(255, 140, 40, 0.7);
  animation-name: ember; animation-timing-function: ease-out;
}
@keyframes ember { 0% { translate: 0 0; opacity: 0; } 15% { opacity: 1; } 100% { translate: 20px -48cqh; opacity: 0; } }

.sc-fireworks { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.sc-fireworks i {
  position: absolute; left: var(--wx); top: var(--wy);
  width: calc(220px * var(--s)); aspect-ratio: 1; margin: calc(-110px * var(--s)) 0 0 calc(-110px * var(--s));
  border-radius: 50%;
  background: radial-gradient(circle, var(--c2) 0 4%, transparent 5%), repeating-conic-gradient(var(--c1) 0 2.5deg, transparent 2.5deg 18deg);
  -webkit-mask: radial-gradient(circle, transparent 0 22%, #000 30% 46%, transparent 50%);
  mask: radial-gradient(circle, transparent 0 22%, #000 30% 46%, transparent 50%);
  opacity: 0;
}
.sc-fireworks i::after {
  content: ''; position: absolute; inset: 18%; border-radius: 50%;
  background: repeating-conic-gradient(from 9deg, var(--c2) 0 2deg, transparent 2deg 18deg);
}
.is-visible .sc-fireworks i { animation: burst 3.4s cubic-bezier(.15,.7,.3,1) infinite; animation-delay: var(--delay); }
@keyframes burst {
  0% { scale: 0.05; opacity: 0; }
  6% { opacity: 1; }
  55% { scale: 1; opacity: 0.95; }
  100% { scale: 1.12; opacity: 0; translate: 0 18px; }
}

/* ==========================================================================
   Scenes
   ========================================================================== */
.side-page .frame__paper > * { position: relative; z-index: 1; }
.side-page .frame__paper > .atmosphere {
  position: fixed; inset: 0; z-index: 0;
  mix-blend-mode: multiply; pointer-events: none;
  transition: background 0.25s linear;
}

.side-page__intro {
  position: relative; overflow: hidden; padding-top: clamp(150px, 20vh, 220px);
  background:
    linear-gradient(to bottom, rgba(255, 248, 236, 0.9) 0%, rgba(255, 248, 236, 0.7) 30%, rgba(255, 248, 236, 0.22) 58%, rgba(255, 246, 230, 0.12) 100%),
    url('../assets/art/palace-night.webp') center 62% / cover no-repeat;
}
.side-page__intro > :not(.sc-decor) { position: relative; z-index: 2; }
.sc-decor { position: absolute; inset: 0; pointer-events: none; }

.event-scene {
  --accent: var(--maroon);
  position: relative;
  min-height: 100svh;
  display: grid; place-items: center;
  padding: clamp(150px, 21vh, 210px) 16px clamp(130px, 18vh, 190px);
  overflow: hidden;
}
.event-scene:has(.sc-floor-c) { padding-bottom: clamp(190px, 30vh, 270px); }

/* The details stand free in the scene, on a soft pool of light */
.sc-stage {
  position: relative; z-index: 3;
  width: min(560px, 100%);
  container-type: inline-size;
  text-align: center;
}
.sc-content {
  position: relative;
  padding: 2.2rem clamp(1rem, 5cqw, 2rem) 1.6rem;
}
.sc-content::before {
  content: ''; position: absolute; inset: -12% -22%; z-index: -1;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255, 250, 238, 0.92) 30%, rgba(255, 250, 238, 0.6) 55%, rgba(255, 250, 238, 0) 72%);
  opacity: 0; transition: opacity 1s 0.3s;
}
.is-visible .sc-content::before { opacity: 1; }
.theme-phera .sc-content::before, .theme-finale .sc-content::before {
  background: radial-gradient(ellipse 62% 58% at 50% 46%, rgba(255, 248, 232, 0.98) 46%, rgba(255, 243, 214, 0.9) 64%, rgba(255, 243, 214, 0) 80%);
}
.theme-phera .event-scene__title:not(.foil) {
  background: none; color: #3d2208; -webkit-text-fill-color: #3d2208;
  filter: none; animation: none;
}
.theme-phera .event-scene__subtitle,
.theme-phera .event-scene__quote,
.theme-phera .event-scene__venue { color: #3a2410; }
.theme-phera .event-scene__time { color: #6a3010; }
.theme-mainday .sc-content::before {
  inset: -14% -24% -22%;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255, 250, 238, 0.97) 48%, rgba(255, 250, 238, 0.75) 62%, rgba(255, 250, 238, 0) 76%);
}
.sc-content > * {
  opacity: 0; translate: 0 18px; filter: blur(4px);
  transition: opacity 0.8s ease, translate 0.8s cubic-bezier(.2,.8,.2,1), filter 0.8s ease;
}
.is-visible .sc-content > * { opacity: 1; translate: 0 0; filter: none; }
.is-visible .sc-content > :nth-child(1) { transition-delay: 0.7s; }
.is-visible .sc-content > :nth-child(2) { transition-delay: 0.85s; }
.is-visible .sc-content > :nth-child(3) { transition-delay: 1s; }
.is-visible .sc-content > :nth-child(4) { transition-delay: 1.1s; }
.is-visible .sc-content > :nth-child(5) { transition-delay: 1.2s; }
.is-visible .sc-content > :nth-child(6) { transition-delay: 1.3s; }
.is-visible .sc-content > :nth-child(n+7) { transition-delay: 1.4s; }

.sc-emblem { width: 64px; height: auto; margin: 0 auto 0.3rem; display: block; }

.event-scene .t-eyebrow { color: var(--accent); }
.event-scene__title { font-weight: 500; font-size: clamp(2.3rem, 9cqw, 3.3rem); line-height: 1.15; color: var(--accent-ink, var(--ink)); margin: 0.15rem 0; }
.is-latin .event-scene__title { font-weight: 600; }
.event-scene__subtitle { font-size: 1.15rem; color: var(--ink-soft); font-style: italic; }
.is-deva .event-scene__subtitle { font-style: normal; }
.event-scene .divider { margin: 0.7rem auto; color: var(--accent); }
.event-scene__quote {
  position: relative; margin: 0 auto; max-width: 32ch; padding: 0 1.4rem;
  font-size: 1.08rem; line-height: 1.55; color: var(--ink-soft); font-style: italic;
}
.is-deva .event-scene__quote { font-style: normal; }
.event-scene__quote::before, .event-scene__quote::after {
  position: absolute; font-family: var(--serif); font-style: normal; font-size: 3rem; line-height: 1; color: color-mix(in srgb, var(--accent) 55%, transparent);
}
.event-scene__quote::before { content: '“'; left: -0.1rem; top: -0.4rem; }
.event-scene__quote::after { content: '”'; right: -0.1rem; bottom: -1.6rem; }

.event-scene__meta {
  display: grid; gap: 0.55rem; width: fit-content; max-width: 100%;
  margin: 1.4rem auto 0; padding: 1rem 0 0; text-align: left;
  border-top: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
}
.meta-row { display: grid; grid-template-columns: 24px 1fr; gap: 0.7rem; align-items: start; }
.meta-row dt { padding-top: 0.15em; }
.meta-row dd { margin: 0; }
.icon { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.event-scene__date { font-size: 1.12rem; font-weight: 600; color: var(--ink); }
.event-scene__time { font-size: 1.1rem; font-weight: 600; color: var(--accent); }
.event-scene__slots { display: grid; gap: 0.28rem; }
.event-scene__slots b { font-weight: 600; }
.event-scene__venue { display: flex; flex-direction: column; color: var(--ink-soft); line-height: 1.35; }
.event-scene__venue strong { color: var(--ink); font-weight: 600; }
.event-scene__venue span { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.04em; }
.is-deva .event-scene__venue span { font-family: var(--deva); font-size: 0.95rem; letter-spacing: 0; }
.event-scene__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 1.5rem; }
.event-scene .btn { background: var(--accent); border-color: var(--accent); }
.event-scene .btn--ghost { background: rgb(255 251 242 / 0.92); color: color-mix(in srgb, var(--accent) 80%, #000); }
.event-scene .btn .icon { width: 1.1em; height: 1.1em; stroke: currentColor; }

/* Night scenes darken the sky behind them, fading softly at the seams */
.theme-phera::before, .theme-finale::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, #3a3f78, #1c1f42 70%);
  -webkit-mask: linear-gradient(transparent, #000 14%, #000 86%, transparent);
  mask: linear-gradient(transparent, #000 14%, #000 86%, transparent);
}
.theme-finale::before { background: radial-gradient(ellipse 80% 60% at 50% 40%, #33386f, #15183a 70%); }

.theme-puja    { --accent: #b5561a; --accent-ink: #7a3410; }
.theme-haldi   { --accent: #c2357a; --accent-ink: #8a1f55; }
.theme-mehendi { --accent: #4f6a26; --accent-ink: #35491a; }
.theme-sangeet { --accent: #a02660; --accent-ink: #6e1541; }
.theme-mayra   { --accent: #b2475e; --accent-ink: #7c2638; }
.theme-baraat  { --accent: #8e1c1a; --accent-ink: #5e0f0f; }
.theme-varmala { --accent: #c4561f; --accent-ink: #8a3610; }
.theme-phera   { --accent: #a67420; --accent-ink: #5c3c0a; }
.theme-mainday {
  --accent: var(--gold); --accent-ink: var(--maroon);
  background:
    linear-gradient(to bottom, rgba(8, 14, 42, 0.08), rgba(8, 14, 42, 0.22)),
    url('../assets/art/palace-night.webp') center 40% / cover no-repeat;
}
.theme-finale  { --accent: var(--maroon); --accent-ink: var(--maroon); }
.theme-chachu  { --accent: #b5561a; --accent-ink: #7a3410; }
.theme-chachu .sc-falling { z-index: 1; }
.theme-chachu::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 78% 68% at 50% 42%, #fff8e8, #ffd98a 72%);
  -webkit-mask: linear-gradient(transparent, #000 12%, #000 88%, transparent);
  mask: linear-gradient(transparent, #000 12%, #000 88%, transparent);
}
.theme-maasi  { --accent: #b23b6a; --accent-ink: #7a2348; }
.theme-maasi .sc-falling { z-index: 1; }
.theme-maasi::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 78% 68% at 50% 42%, #fff4f8, #ffc2d8 72%);
  -webkit-mask: linear-gradient(transparent, #000 12%, #000 88%, transparent);
  mask: linear-gradient(transparent, #000 12%, #000 88%, transparent);
}
.theme-maasi {
  display: block;
  padding: clamp(150px, 16vh, 190px) 12px clamp(250px, 34vh, 320px);
}
.theme-maasi .sc-stage { width: min(520px, 92%); margin: 0 auto; }
.theme-maasi .sc-nephew--corner {
  position: absolute; bottom: 0; z-index: 4; margin: 0;
  width: min(280px, 28vw);
}
.theme-maasi .sc-nephew--left { left: 0; }
.theme-maasi .sc-nephew--right { right: 0; width: min(360px, 36vw); }
.theme-maasi .sc-nephew__hello { color: #7a2348; background: #fff7fb; }
.theme-maasi .sc-nephew--left .sc-nephew__hello { top: 8%; right: 0; left: auto; }
.theme-maasi .sc-nephew--right .sc-nephew__hello { top: 4%; left: 0; right: auto; }
.is-visible .theme-maasi .sc-nephew--left .sc-couple.sc-couple--nephew {
  width: 100%; margin: 0;
  animation: nephew-bounce 2.4s ease-in-out infinite 1.2s;
}
.is-visible .theme-maasi .sc-nephew--right .sc-couple.sc-couple--nephew {
  width: 100%; margin: 0;
  animation: nephew-bounce-flip 2.6s ease-in-out infinite 1.7s;
}
.is-visible .theme-maasi .sc-nephew__hello { animation: nephew-hello 2.2s ease-in-out infinite 1.5s; }
.sc-hearts { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.sc-hearts i {
  position: absolute; left: var(--x); bottom: -20px;
  width: 12px; height: 12px; background: #f48cb4;
  rotate: 45deg; border-radius: 2px 0 0 0;
  animation: heart-float var(--dur) ease-in-out var(--delay) infinite;
  animation-play-state: paused;
}
.sc-hearts i::before, .sc-hearts i::after {
  content: ''; position: absolute; width: 12px; height: 12px; background: inherit; border-radius: 50%;
}
.sc-hearts i::before { left: -6px; }
.sc-hearts i::after { top: -6px; }
.is-visible .sc-hearts i { animation-play-state: running; }
@keyframes heart-float {
  0% { translate: 0 0; opacity: 0; }
  15% { opacity: 0.9; }
  100% { translate: var(--drift) -70vh; opacity: 0; }
}
@keyframes nephew-bounce {
  0%, 100% { translate: 0 0; rotate: -3deg; }
  50% { translate: 0 -22px; rotate: 3.2deg; }
}
@keyframes nephew-bounce-flip {
  0%, 100% { translate: 0 0; rotate: 3deg; }
  50% { translate: 0 -22px; rotate: -3.2deg; }
}

/* ── Cover ─────────────────────────────────────────────────────────────── */
.cover__decor { position: absolute; inset: 7px; overflow: hidden; pointer-events: none; z-index: 1; }
.cover__decor .sc-plant { height: clamp(280px, 58vh, 600px); }
.cover__decor .sc-corner { width: clamp(150px, 20vw, 290px); }

/* ==========================================================================
   Phones
   ========================================================================== */
@media (max-width: 720px) {
  .event-scene__title { font-size: clamp(1.7rem, 7.2vw, 2.2rem); }
  .event-scene__subtitle { font-size: 0.98rem; }
  .sc-bell--2, .sc-bell--3 { display: none; }
  .sc-bell { --bell-h: clamp(130px, 22vh, 200px); }
  .sc-plant, .cover__decor .sc-plant { height: clamp(220px, 44vh, 380px); }
  .sc-plant--l { left: -16vw; }
  .sc-plant--r { right: -16vw; }
  .sc-lamp, .sc-glow { --lamp-h: clamp(170px, 30vh, 260px); }
  .sc-lamp--l { left: -4vw; }
  .sc-lamp--r { right: -4vw; }
  .sc-glow--l { left: calc(-4vw + var(--lamp-h) * 0.159); }
  .sc-glow--r { right: calc(-4vw + var(--lamp-h) * 0.159); }
  .sc-corner, .cover__decor .sc-corner { width: 40vw; bottom: -2%; }
  .sc-corner--l { left: -8vw; }
  .sc-corner--r { right: -8vw; }
  .sc-prop { width: 40vw; left: -4vw; }
  .sc-ghodi { width: 42vw; left: -2vw; bottom: 0; }
  .theme-maasi .sc-nephew--corner { width: min(132px, 36vw); }
  .theme-maasi .sc-nephew--left { left: 0.15rem; }
  .theme-maasi .sc-nephew--right { right: 3.4rem; width: min(158px, 42vw); }
  .theme-maasi { padding-bottom: clamp(220px, 34vh, 300px); }
  .sc-phera { width: 100%; }
  .event-scene.theme-phera { padding-bottom: 4.5rem; }
  .theme-phera .sc-phera { margin-top: 7rem; }
  .sc-phera .sc-havan--phera { left: -6%; width: 54%; }
  .sc-phera .sc-couple--phera { width: 72%; margin-left: 28%; }
  .sc-mandap { --w: 150vw; }
  .sc-drape { width: 58vw; }
  .is-visible .sc-drape--l { translate: -58% 0; }
  .is-visible .sc-drape--r { translate: 58% 0; }
  .sc-skyshots i { width: 60px; left: -30px; }
  .sc-fireworks i { left: var(--x); top: var(--y); }
  .event-scene { padding-inline: 12px; padding-bottom: clamp(150px, 22vh, 210px); }
}

/* ==========================================================================
   Royal finish
   ========================================================================== */
:root {
  --damask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23a9833a' stroke-opacity='.16' stroke-width='1'%3E%3Cpath d='M48 30c6 8 6 14 0 18-6-4-6-10 0-18zM48 66c6-8 6-14 0-18-6 4-6 10 0 18zM30 48c8-6 14-6 18 0-4 6-10 6-18 0zM66 48c-8-6-14-6-18 0 4 6 10 6 18 0z'/%3E%3Ccircle cx='48' cy='48' r='3'/%3E%3Cpath d='M0 0l8 8M96 0l-8 8M0 96l8-8M96 96l-8-8'/%3E%3Ccircle cx='0' cy='0' r='4'/%3E%3Ccircle cx='96' cy='0' r='4'/%3E%3Ccircle cx='0' cy='96' r='4'/%3E%3Ccircle cx='96' cy='96' r='4'/%3E%3C/g%3E%3C/svg%3E");
  --damask-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23e9c873' stroke-opacity='.3' stroke-width='1'%3E%3Cpath d='M48 30c6 8 6 14 0 18-6-4-6-10 0-18zM48 66c6-8 6-14 0-18-6 4-6 10 0 18zM30 48c8-6 14-6 18 0-4 6-10 6-18 0zM66 48c-8-6-14-6-18 0 4 6 10 6 18 0z'/%3E%3Ccircle cx='48' cy='48' r='3'/%3E%3Ccircle cx='0' cy='0' r='4'/%3E%3Ccircle cx='96' cy='0' r='4'/%3E%3Ccircle cx='0' cy='96' r='4'/%3E%3Ccircle cx='96' cy='96' r='4'/%3E%3C/g%3E%3C/svg%3E");
  --star: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%);
}

/* Gold foil lettering with a slow travelling sheen */
.foil {
  background: linear-gradient(100deg, #7d5a1c 0, #c9a24c 60px, #fff3c4 95px, #d4ae55 130px, #8c6522 190px, #d9b75f 250px, #fff6d2 285px, #b88f3d 320px, #7d5a1c 360px) 0 0 / 360px 100% repeat-x;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(90, 50, 10, 0.28));
  animation: foil 6s linear infinite;
}
@keyframes foil { to { background-position: 360px 0; } }
.event-scene__title { text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7), 0 0 22px rgba(233, 200, 110, 0.45); }

/* Velvet frame, damask paper */
.frame { padding: 8px; background: radial-gradient(ellipse at 50% 0%, #a3262c, #5e0f12 70%); }
.frame__paper.paper { background: var(--damask), var(--noise), var(--paper); }
.frame__paper {
  box-shadow: inset 0 0 0 2px #d9b863, inset 0 0 0 6px var(--paper), inset 0 0 0 7px rgba(169, 131, 58, 0.6), inset 0 0 90px rgba(120, 90, 40, 0.2);
}

/* Glitter drifting over everything */
.glitter { position: fixed; inset: 0; z-index: 60; pointer-events: none; overflow: hidden; }
.sparkle {
  position: absolute; left: var(--x); top: var(--y);
  width: calc(18px * var(--s)); aspect-ratio: 1;
  background: radial-gradient(circle, #fff 0 14%, #ffe9a8 32%, rgba(214, 170, 80, 0) 70%);
  clip-path: var(--star);
  opacity: 0;
  animation: sparkle 3.4s ease-in-out var(--d) infinite;
}
@keyframes sparkle { 0%, 100% { opacity: 0; scale: 0.2; rotate: 0deg; } 45%, 55% { opacity: 1; scale: 1; rotate: 45deg; } }
.glitter b {
  position: absolute; bottom: -10px; left: var(--x);
  width: 3px; height: 3px; border-radius: 50%;
  background: #f3d27a; box-shadow: 0 0 6px 1px rgba(243, 210, 122, 0.8);
  animation: dust var(--dur) linear var(--delay) infinite;
}
@keyframes dust { from { translate: 0 0; opacity: 0; } 10% { opacity: 0.9; } 85% { opacity: 0.6; } to { translate: var(--drift) -105vh; opacity: 0; } }

/* Filigree corners */
.royal-corners { position: fixed; inset: 0; z-index: 30; pointer-events: none; }
.royal-corner { position: absolute; width: clamp(64px, 10vw, 130px); height: clamp(64px, 10vw, 130px); filter: drop-shadow(0 1px 1px rgba(80, 50, 10, 0.35)); }
.royal-corner--tl { top: 12px; left: 12px; }
.royal-corner--tr { top: 12px; right: 12px; transform: scaleX(-1); }
.royal-corner--bl { bottom: 12px; left: 12px; transform: scaleY(-1); }
.royal-corner--br { bottom: 12px; right: 12px; transform: scale(-1); }

/* Tap sparkle burst */
.tap-burst { position: fixed; z-index: 70; width: 0; height: 0; pointer-events: none; }
.tap-burst i {
  position: absolute; width: 10px; height: 10px; margin: -5px;
  background: radial-gradient(circle, #fff, #f3d27a 50%, transparent 72%);
  clip-path: var(--star);
  animation: tap 0.85s cubic-bezier(.15,.7,.3,1) forwards;
}
@keyframes tap { from { transform: rotate(var(--a)) translateX(0) scale(1.3); opacity: 1; } to { transform: rotate(var(--a)) translateX(var(--r)) scale(0.2); opacity: 0; } }

/* Top bar: back to the cover, switch language */
.topbar {
  position: fixed; top: 12px; left: 50%; z-index: 45;
  translate: -50% -160%;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: min(620px, calc(100% - 24px)); padding: 6px 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(118, 20, 25, 0.94), rgba(78, 10, 14, 0.94));
  border: 1px solid rgba(243, 220, 148, 0.75);
  box-shadow: 0 0 0 3px rgba(110, 18, 22, 0.25), 0 12px 30px -12px rgba(40, 5, 5, 0.7), inset 0 1px 0 rgba(255, 240, 200, 0.25);
  backdrop-filter: blur(6px);
  transition: translate 0.7s cubic-bezier(.2,.8,.2,1);
}
.side-page.is-ready .topbar { translate: -50% 0; }
.topbar button { border: 1px solid rgba(243, 220, 148, 0.5); background: rgba(255, 240, 200, 0.06); color: #f6e2a0; border-radius: 999px; transition: background 0.2s, border-color 0.2s; }
.topbar button:hover { border-color: #f6e2a0; background: rgba(255, 240, 200, 0.14); }
.topbar__home { display: flex; align-items: center; gap: 4px; padding: 6px 13px 6px 8px; font-size: 0.92rem; line-height: 1.2; }
.topbar__home svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.topbar__crest {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #fff3c4, #c9a24c 55%, #8a6420);
  color: #5e0f0f; font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 0.68rem; white-space: nowrap;
  box-shadow: 0 0 0 2px #6e1216, 0 0 0 3px #e9cf7f, 0 0 14px rgba(243, 210, 122, 0.6);
}
.topbar__langs { display: flex; gap: 4px; }
.topbar__langs button { padding: 5px 11px; font-size: 0.86rem; line-height: 1.25; }
.topbar__langs button.is-latin { font-family: var(--serif); font-weight: 600; }
.topbar__langs button[aria-pressed="true"] { background: linear-gradient(180deg, #f8e7ad, #c9a24c); color: #5e0f0f; border-color: #f8e7ad; }

/* Gilded side cards with a passing sheen */
.side-card {
  overflow: hidden;
  border: 1.5px solid transparent;
  background: linear-gradient(180deg, #fbf5e6, #f2e6cb) padding-box, linear-gradient(160deg, #f6e2a0, #a9833a 35%, #fbeec0 55%, #8a6420) border-box;
}
.side-card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 246, 210, 0.75) 50%, transparent 70%);
  translate: -130% 0;
  animation: card-sheen 5s ease-in-out infinite;
}
.side-card--bride::after { animation-delay: -2.5s; }
@keyframes card-sheen { 0%, 55% { translate: -130% 0; } 85%, 100% { translate: 130% 0; } }

/* Sparkles twinkling around each scene's title */
.sc-content > .sc-sparkles { position: absolute; inset: 0 0 auto; height: 9rem; pointer-events: none; }
.sc-sparkles .sparkle { width: calc(26px * var(--s)); translate: -50% -50%; animation-play-state: paused; }
.is-visible .sc-sparkles .sparkle { animation-play-state: running; }

.countdown__unit { background: linear-gradient(180deg, #7d1519, #560c10); border-color: #d9b863; box-shadow: inset 0 0 0 3px rgba(243, 220, 148, 0.15); }
.countdown__num { color: #f6e2a0; text-shadow: 0 0 10px rgba(243, 210, 122, 0.45); }
.countdown__label { color: rgba(246, 226, 160, 0.85); }

/* Chandeliers, fort, and the bride's Rajasthani touches */
.sc-jhoomar {
  top: -2%; z-index: 1; height: clamp(150px, 30vh, 300px); width: auto;
  transform-origin: 50% 0;
  animation: sway 5s ease-in-out infinite;
  filter: drop-shadow(0 0 16px rgba(255, 214, 120, 0.6));
}
.sc-jhoomar--l { left: 19%; }
.sc-jhoomar--r { right: 19%; animation-delay: -2.5s; }
.sc-fort {
  --w: min(1300px, 140vw); left: 50%; width: var(--w); margin-left: calc(var(--w) / -2);
  bottom: 14%; z-index: 0; height: auto;
  filter: saturate(0.85);
  -webkit-mask: linear-gradient(to top, transparent, #000 35%); mask: linear-gradient(to top, transparent, #000 35%);
}
.is-visible .sc-fort { opacity: 0.5; }
.theme-mainday .sc-mandap { z-index: 1; }
.theme-mainday .sc-families {
  position: relative;
  top: clamp(4.5rem, 10vh, 6.5rem);
}
.sc-peacock { right: 1%; bottom: 10%; z-index: 2; height: clamp(260px, 56vh, 520px); width: auto; transform-origin: 40% 10%; }
.is-visible .sc-peacock { animation: sway 7s ease-in-out infinite 1.5s; }
.sc-camel { right: 1%; bottom: 2%; z-index: 1; width: clamp(200px, calc((100vw - 600px) / 2), 440px); height: auto; transform: scaleX(-1); }
.sc-elephant { left: 1%; bottom: 2%; z-index: 1; width: clamp(200px, calc((100vw - 600px) / 2), 460px); height: auto; }
.is-visible :is(.sc-camel, .sc-elephant) { animation: prance 3.4s ease-in-out infinite 1.6s; }
[data-side="bride"] .theme-mayra :is(.sc-lamp--l, .sc-glow--l) { display: none; }

/* ── Side intro heroes ─────────────────────────────────────────────────── */
.side-page__hero { width: calc(100% + 40px); margin: 1.4rem -20px 0; }
.hero { position: relative; }
.hero__caption {
  font-family: var(--script); font-size: clamp(1.6rem, 4vw, 2.2rem); color: #5c1014;
  text-align: center; line-height: 1.2;
  text-shadow: 0 0 10px #fff8ec, 0 0 2px #fff8ec, 0 1px 0 #fff8ec;
}
.side-page .hashtag.foil,
.side-page__welcome, .side-page__roman, .side-page__cue {
  background: none; color: #5c1014; -webkit-text-fill-color: #5c1014;
  filter: none; animation: none; box-shadow: none; border-radius: 0; padding: 0;
  text-shadow: 0 0 10px #fff8ec, 0 0 2px #fff8ec, 0 1px 0 #fff8ec;
}
.is-deva .hero__caption { font-family: var(--deva); font-size: 1.25rem; }
.hero__birds { position: absolute; top: 10%; left: 0; right: 0; height: 30%; z-index: 1; pointer-events: none; overflow: hidden; }
.hero__birds svg {
  position: absolute; width: 20px; height: 8px; fill: none; stroke: #5a4030; stroke-width: 1.6; stroke-linecap: round;
  animation: fly 24s linear infinite, flap 0.5s ease-in-out infinite alternate;
}
.hero__birds svg:nth-child(1) { top: 20%; animation-delay: -4s, 0s; }
.hero__birds svg:nth-child(2) { top: 34%; width: 15px; animation-delay: -6s, -0.2s; }
.hero__birds svg:nth-child(3) { top: 8%; width: 13px; animation-delay: -16s, -0.35s; }
@keyframes fly { from { translate: -40px 0; } to { translate: 110vw -30px; } }
@keyframes flap { to { scale: 1 0.35; } }

/* Sikar: a painted Shekhawati haveli, camels crossing the dunes */
.hero--sikar { height: clamp(340px, 50vw, 600px); overflow: hidden; }
.hero__haveli {
  position: absolute; left: 50%; bottom: 6%; z-index: 1;
  width: min(1060px, 128%); translate: -50% 0;
  -webkit-mask: radial-gradient(ellipse 50% 50% at 50% 50%, #000 66%, transparent 100%);
  mask: radial-gradient(ellipse 50% 50% at 50% 50%, #000 66%, transparent 100%);
  animation: drift-in 18s ease-in-out infinite alternate;
}
@keyframes drift-in { to { scale: 1.05; } }
.hero__sun {
  position: absolute; left: 50%; top: 2%; z-index: 0;
  width: clamp(180px, 28vw, 340px); aspect-ratio: 1; translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 222, 150, 0.95), rgba(255, 170, 100, 0.35) 45%, transparent 70%);
  animation: sun 6s ease-in-out infinite alternate;
}
@keyframes sun { to { scale: 1.1; opacity: 0.85; } }
.hero__dunes {
  position: absolute; left: 0; right: 0; bottom: 0; height: 24%; z-index: 2;
  background:
    radial-gradient(ellipse 55% 100% at 18% 100%, #e7c189 60%, transparent 61%),
    radial-gradient(ellipse 65% 85% at 82% 100%, #ddb173 60%, transparent 61%),
    linear-gradient(to top, #e9c592 30%, rgba(233, 197, 146, 0));
  -webkit-mask: linear-gradient(to top, #000 70%, transparent); mask: linear-gradient(to top, #000 70%, transparent);
}
.hero__walker { position: absolute; left: 0; bottom: 8%; z-index: 3; animation: walk 36s linear infinite; }
.hero__walker--2 { bottom: 17%; z-index: 2; animation-duration: 48s; animation-delay: -26s; }
.hero__walker img { display: block; width: clamp(120px, 15vw, 190px); transform-origin: 50% 100%; animation: plod 1.1s ease-in-out infinite; }
.hero__walker--2 img { width: clamp(78px, 9vw, 120px); animation-duration: 1.3s; }
@keyframes walk { from { translate: -260px 0; } to { translate: calc(100vw + 40px) 0; } }
@keyframes plod { 50% { translate: 0 -4px; rotate: -1.2deg; } }
.hero__peacock { position: absolute; right: 3%; bottom: 10%; z-index: 4; height: 72%; width: auto; transform-origin: 40% 10%; animation: sway 7s ease-in-out infinite; }
.hero--sikar .hero__caption { position: absolute; left: 0; right: 0; bottom: 3%; z-index: 5; text-shadow: 0 1px 0 rgba(255, 248, 230, 0.9), 0 0 14px rgba(255, 248, 230, 0.9); }

/* Jabalpur: Gwarighat on the Narmada, then Dhuandhar Falls, crossfading */
.hero__slides { position: relative; width: min(980px, 100%); margin: 0 auto; aspect-ratio: 16 / 9; }
.hero__slide { position: absolute; inset: 0; margin: 0; animation: slide-a 18s ease-in-out infinite; }
.hero__slide--falls { animation-name: slide-b; }
@keyframes slide-a { 0%, 44% { opacity: 1; } 50%, 94% { opacity: 0; } 100% { opacity: 1; } }
@keyframes slide-b { 0%, 44% { opacity: 0; } 50%, 94% { opacity: 1; } 100% { opacity: 0; } }
.hero__painting, .ghat__river {
  display: block; width: 100%; height: 100%;
  -webkit-mask: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%);
  mask: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%);
}
.hero__place {
  position: absolute; left: 50%; bottom: 2%; z-index: 4; translate: -50% 0;
  padding: 3px 14px; border-radius: 999px; white-space: nowrap;
  background: rgba(94, 15, 18, 0.82); color: #f6e2a0; border: 1px solid rgba(243, 220, 148, 0.7);
  font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.08em;
}
.is-deva .hero__place { font-family: var(--deva); font-size: 0.92rem; letter-spacing: 0; }
.ghat__lamps i {
  position: absolute; left: var(--x); top: var(--y);
  width: calc(46px * var(--s)); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 236, 170, 0.95), rgba(255, 170, 60, 0.4) 35%, transparent 70%);
  mix-blend-mode: screen;
  animation: flicker 2.2s ease-in-out var(--d) infinite;
}
.ghat__river { position: absolute; inset: 0; overflow: hidden; pointer-events: none; container-type: size; }
.diya {
  position: absolute; left: 0; top: var(--y);
  width: calc(16px * var(--s)); height: calc(7px * var(--s));
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  background: linear-gradient(#c8762c, #7a3c12);
  animation: float-down var(--dur) linear var(--delay) infinite;
}
.diya::before {
  content: ''; position: absolute; left: 50%; bottom: 80%;
  width: 60%; height: 140%; translate: -50% 0;
  border-radius: 50% 50% 50% 50% / 70% 70% 30% 30%;
  background: radial-gradient(circle at 50% 70%, #fff6c8, #ffb636 55%, rgba(255, 120, 20, 0) 75%);
  animation: flame 0.4s ease-in-out infinite alternate;
}
.diya::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: 500%; aspect-ratio: 2; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 196, 92, 0.55), transparent 65%);
  mix-blend-mode: screen;
}
@keyframes float-down { from { translate: 30cqw 0; } 50% { translate: 62cqw 1.5cqh; } to { translate: 104cqw 0; } }
@keyframes flame { to { scale: 0.85 1.12; } }

/* Dhuandhar: the Narmada pouring over the marble rocks */
.falls { position: relative; width: 100%; margin: 0 auto; aspect-ratio: 16 / 9; }
.falls__art {
  display: block; width: 100%; height: 100%;
  -webkit-mask: radial-gradient(ellipse 50% 50% at 50% 52%, #000 72%, transparent 100%);
  mask: radial-gradient(ellipse 50% 50% at 50% 52%, #000 72%, transparent 100%);
}
.falls__flow {
  position: absolute; left: 26.5%; width: 49.5%; top: 36.5%; height: 30%;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,0) 0 14px, rgba(255,255,255,.9) 14px 17px, rgba(255,255,255,0) 17px 34px);
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 2px, transparent 2px 5px, #000 5px 6px, transparent 6px 11px), linear-gradient(to bottom, transparent, #000 12%, #000 72%, transparent);
  -webkit-mask-composite: source-in;
  mask: repeating-linear-gradient(90deg, #000 0 2px, transparent 2px 5px, #000 5px 6px, transparent 6px 11px), linear-gradient(to bottom, transparent, #000 12%, #000 72%, transparent);
  mask-composite: intersect;
  mix-blend-mode: screen; opacity: 0.6;
  animation: flow 0.7s linear infinite;
}
.falls__flow--fast {
  background: repeating-linear-gradient(180deg, rgba(255,255,255,0) 0 8px, rgba(255,255,255,.8) 8px 10px, rgba(255,255,255,0) 10px 22px);
  -webkit-mask: repeating-linear-gradient(90deg, transparent 0 3px, #000 3px 4px, transparent 4px 8px, #000 8px 10px), linear-gradient(to bottom, transparent, #000 12%, #000 72%, transparent);
  -webkit-mask-composite: source-in;
  mask: repeating-linear-gradient(90deg, transparent 0 3px, #000 3px 4px, transparent 4px 8px, #000 8px 10px), linear-gradient(to bottom, transparent, #000 12%, #000 72%, transparent);
  mask-composite: intersect;
  animation-duration: 0.45s; animation-name: flow-fast;
}
@keyframes flow { to { background-position: 0 34px; } }
@keyframes flow-fast { to { background-position: 0 22px; } }
.falls__mist { position: absolute; left: 22%; width: 58%; top: 54%; height: 22%; pointer-events: none; }
.falls__mist i {
  position: absolute; bottom: 0; width: 30%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.9), rgba(255,255,255,0) 68%);
  filter: blur(6px); opacity: 0;
  animation: mist 5.5s ease-out infinite;
}
.falls__mist i:nth-child(1) { left: 0; animation-delay: 0s; }
.falls__mist i:nth-child(2) { left: 12%; animation-delay: -0.7s; }
.falls__mist i:nth-child(3) { left: 24%; animation-delay: -1.4s; }
.falls__mist i:nth-child(4) { left: 36%; animation-delay: -2.1s; }
.falls__mist i:nth-child(5) { left: 48%; animation-delay: -2.8s; }
.falls__mist i:nth-child(6) { left: 60%; animation-delay: -3.5s; }
.falls__mist i:nth-child(7) { left: 70%; animation-delay: -4.2s; }
.falls__mist i:nth-child(8) { left: 30%; animation-delay: -4.9s; }
@keyframes mist { 0% { translate: 0 30%; scale: 0.5; opacity: 0; } 30% { opacity: 0.85; } 100% { translate: 0 -80%; scale: 1.7; opacity: 0; } }
.falls__ripple {
  position: absolute; left: 12%; width: 76%; top: 69%; height: 24%;
  background: repeating-linear-gradient(172deg, rgba(255,255,255,0) 0 10px, rgba(255,255,255,.4) 10px 11px, rgba(255,255,255,0) 11px 26px);
  -webkit-mask: radial-gradient(ellipse 50% 50% at 50% 40%, #000 40%, transparent 100%); mask: radial-gradient(ellipse 50% 50% at 50% 40%, #000 40%, transparent 100%);
  mix-blend-mode: screen;
  animation: ripple 5s linear infinite;
}
@keyframes ripple { to { background-position: 130px 0; } }
.hero--narmada .hero__birds { top: 4%; }
.hero--narmada .hero__caption { margin-top: 0.6rem; }

/* ── Palace pillars and fairy lights framing every scene ──────────────── */
.sc-decor { container-type: size; }
.sc-pillar {
  --ph: 100cqh;
  top: 0; z-index: 0; height: var(--ph); width: auto;
  --edge: min(0px, calc(17cqw - var(--ph) * 0.265));
  filter: drop-shadow(0 0 18px rgba(150, 110, 40, 0.18));
}
.sc-pillar--l { left: var(--edge); }
.sc-pillar--r { right: var(--edge); transform: scaleX(-1); }
.side-page__intro .sc-pillar { --ph: min(100cqh, 100svh); }
.side-page__intro .sc-jhoomar { top: -1%; }
.theme-phera .sc-pillar, .theme-finale .sc-pillar { filter: brightness(0.7) saturate(0.8) drop-shadow(0 0 22px rgba(255, 200, 110, 0.35)); }
.sc-lights {
  --w: min(820px, 62cqw);
  top: calc(var(--strip-h, clamp(84px, 11vw, 132px)) * 0.4); left: 50%; z-index: 1;
  width: var(--w); height: auto; margin-left: calc(var(--w) / -2);
  -webkit-mask: linear-gradient(#000 38%, transparent 72%); mask: linear-gradient(#000 38%, transparent 72%);
}
.is-visible .sc-lights { animation: twinkle-lights 2.8s ease-in-out infinite alternate 1.4s; }
@keyframes twinkle-lights {
  from { filter: drop-shadow(0 0 2px rgba(255, 214, 120, 0.4)); }
  to { filter: drop-shadow(0 0 9px rgba(255, 214, 120, 0.95)) brightness(1.08); }
}

/* Sky lanterns rising through the night */
.sc-lanterns { position: absolute; inset: 0; z-index: 1; overflow: hidden; container-type: size; pointer-events: none; }
.sc-lanterns i {
  position: absolute; left: var(--x); bottom: -40px;
  width: calc(20px * var(--s)); height: calc(27px * var(--s));
  border-radius: 34% 34% 42% 42% / 30% 30% 55% 55%;
  background: linear-gradient(180deg, #fff1b8, #ffb24a 55%, #e2641e);
  box-shadow: 0 0 18px 6px rgba(255, 160, 60, 0.5), 0 0 50px 14px rgba(255, 140, 40, 0.2);
  animation: lantern var(--dur) linear var(--delay) infinite; animation-play-state: paused;
}
.is-visible .sc-lanterns i { animation-play-state: running; }
@keyframes lantern {
  0% { translate: 0 0; opacity: 0; }
  8% { opacity: 1; }
  50% { translate: var(--sway) -55cqh; }
  85% { opacity: 0.85; }
  100% { translate: 0 -112cqh; opacity: 0; }
}

/* ── The couple and their families ─────────────────────────────────────── */
.sc-couple {
  display: block; margin: 0.4rem auto 0;
  width: min(440px, 88%); height: auto;
  filter: drop-shadow(0 18px 18px rgba(90, 50, 10, 0.22));
  opacity: 0; translate: 0 40px; scale: 0.94;
  transition: opacity 1s 1.3s, translate 1.4s cubic-bezier(.2,.8,.2,1) 1.3s, scale 1.4s cubic-bezier(.2,.8,.2,1) 1.3s;
}
.is-visible .sc-couple { opacity: 1; translate: 0 0; scale: 1; animation: float 6s ease-in-out infinite 2.8s; }
.sc-nephew { position: relative; width: min(360px, 86%); margin: 0.2rem auto 0; }
.sc-nephew__hello {
  position: absolute; z-index: 2; top: 6%; right: 0;
  padding: 0.28rem 0.75rem 0.34rem; border-radius: 16px 16px 16px 5px;
  background: #fffaf0; color: #7a3410;
  font-family: var(--serif); font-size: 1.2rem; line-height: 1;
  box-shadow: 0 8px 16px rgba(120, 60, 10, 0.16);
}
.is-visible .sc-nephew__hello { animation: nephew-hello 2.6s ease-in-out infinite 1.8s; }
.is-visible .sc-couple.sc-couple--nephew { width: 100%; animation: nephew-rock 3.2s ease-in-out infinite 2.2s; }
@keyframes nephew-hello {
  0%, 100% { translate: 0 0; rotate: -3deg; }
  50% { translate: 0 -7px; rotate: 3deg; }
}
@keyframes nephew-rock {
  0%, 100% { translate: 0 0; rotate: -1.6deg; }
  50% { translate: 0 -12px; rotate: 1.6deg; }
}
/* The bride's nephews sit in opposite corners and rock the way the groom's nephew does, a little livelier. */
.theme-maasi .sc-nephew--corner {
  position: absolute; bottom: 0; z-index: 5; margin: 0;
  width: min(176px, 14vw);
  transform-origin: 50% 100%;
}
.theme-maasi .sc-nephew--left { left: clamp(4.5rem, 16vw, 18rem); bottom: 0.6rem; }
.theme-maasi .sc-nephew--right { right: clamp(5.5rem, 17vw, 20rem); bottom: 0.6rem; width: min(196px, 15.5vw); }
.is-visible .theme-maasi .sc-nephew--left { animation: nephew-seat-l 2.15s ease-in-out infinite 1s; }
.is-visible .theme-maasi .sc-nephew--right { animation: nephew-seat-r 2.35s ease-in-out infinite 1.45s; }
.is-visible .theme-maasi .sc-nephew--corner .sc-couple {
  width: 100%; margin: 0; opacity: 1; translate: none; scale: 1;
  animation: none;
}
@keyframes nephew-seat-l {
  0%, 100% { translate: 0 6px; rotate: -5deg; }
  35% { translate: 8px -6px; rotate: 1deg; }
  70% { translate: -4px -20px; rotate: 5deg; }
}
@keyframes nephew-seat-r {
  0%, 100% { translate: 0 6px; rotate: 5deg; }
  35% { translate: -8px -6px; rotate: -1deg; }
  70% { translate: 4px -20px; rotate: -5deg; }
}
@keyframes float { 50% { translate: 0 -8px; } }
.sc-couple--phera { width: min(500px, 74%); }
.sc-couple--finale { width: min(300px, 64%); }
.sc-families {
  display: flex; align-items: flex-end; justify-content: center; gap: 1%;
  width: min(900px, 94vw); margin: 0.8rem 0 0 50%; transform: translateX(-50%);
}
.sc-families .sc-couple { margin: 0; min-width: 0; flex: 0 0 auto; }
.sc-couple--family { width: 30%; }
.sc-couple--centre { width: 34%; transition-delay: 1.6s; }
.sc-families .sc-couple--family:last-child { transition-delay: 1.9s; }

/* Family portraits on the cover cards and the side page */
.side-card { width: min(212px, calc(50% - 8px)); padding-top: 1.1rem; }
.side-card__kolam { display: none; }
.side-card__family {
  width: 96%; aspect-ratio: 1; object-fit: contain; object-position: 50% 100%;
  margin-bottom: 0.3rem;
  filter: drop-shadow(0 10px 10px rgba(90, 50, 10, 0.25));
  transition: scale 0.4s cubic-bezier(.2,.8,.2,1);
}
.side-card:hover .side-card__family, .side-card[aria-pressed="true"] .side-card__family { scale: 1.06; }
.side-page__family-art, .sc-families .sc-couple--family, .side-card__family {
  -webkit-mask: linear-gradient(to bottom, #000 78%, transparent);
  mask: linear-gradient(to bottom, #000 78%, transparent);
}
.side-page__family-art {
  width: min(460px, 78vw); height: auto; margin: 1.2rem auto 0.2rem;
  filter: drop-shadow(0 20px 20px rgba(90, 50, 10, 0.25));
  animation: float 6s ease-in-out infinite;
}
@media (max-height: 860px) {
  .side-card__family { width: 78%; }
}

/* ── Each side's own touches ───────────────────────────────────────────── */
.sc-kathputli {
  top: calc(var(--strip-h, clamp(84px, 11vw, 132px)) * 0.45); left: 9%; z-index: 1;
  height: clamp(200px, 40vh, 380px); width: auto;
  transform-origin: 50% 0; animation: sway 4.6s ease-in-out infinite;
}
.sc-ghoomar { right: 5%; bottom: 3%; z-index: 2; height: clamp(280px, 56vh, 520px); width: auto; transform-origin: 50% 90%; }
.is-visible .sc-ghoomar { animation: twirl 2.6s ease-in-out infinite 1.5s; }
@keyframes twirl { 0%, 100% { rotate: -3deg; } 50% { rotate: 3deg; } }
[data-side="bride"] .theme-mayra :is(.sc-lamp--r, .sc-glow--r) { display: none; }
[data-side="bride"] .theme-mehendi .sc-kathputli { top: clamp(70px, 10vw, 140px); }

.sc-gond { right: 3%; bottom: 1%; z-index: 1; height: clamp(280px, 58vh, 560px); width: auto; transform-origin: 50% 100%; }
.is-visible .sc-gond { animation: sway 8s ease-in-out infinite 1.5s; }
[data-side="groom"] .theme-puja :is(.sc-lamp--r, .sc-glow--r, .sc-plant--r) { display: none; }
.sc-bride-wait { right: 0; bottom: 0; z-index: 2; height: clamp(280px, 64vh, 560px); width: auto; transform-origin: 50% 100%; }
.is-visible .sc-bride-wait { animation: sway 6s ease-in-out infinite 1.4s; }
.sc-tiger { right: 1%; bottom: 2%; z-index: 1; width: clamp(220px, calc((100vw - 600px) / 2), 470px); height: auto; transform: scaleX(-1); }
.is-visible .sc-tiger { animation: prance 3.6s ease-in-out infinite 1.6s; }
[data-side="groom"] .theme-baraat .sc-corner--r { display: none; }

/* ── Royal finish on phones ────────────────────────────────────────────── */
@media (max-width: 720px) {
  .royal-corner { width: 54px; height: 54px; }
  body:has(.side-page.is-ready) :is(.royal-corner--tl, .royal-corner--tr) { display: none; }
  .topbar { top: 8px; gap: 6px; }
  .topbar__home { padding: 5px 10px 5px 6px; font-size: 0.82rem; }
  .topbar__langs button { padding: 4px 8px; font-size: 0.78rem; }
  .topbar__crest { width: 34px; height: 34px; font-size: 0.66rem; }
  .sc-jhoomar { height: clamp(110px, 18vh, 160px); }
  .sc-jhoomar--l { left: 16%; }
  .sc-jhoomar--r { right: 16%; }
  .sc-peacock { height: 34vh; right: -6vw; }
  .sc-camel { width: 50vw; right: -8vw; }
  .sc-elephant { width: 52vw; left: -8vw; }
  .sc-fort { bottom: 22%; }
  .is-visible .sc-pillar { opacity: 0.85; }
  .sc-lights { --w: 120cqw; }
  .sc-kathputli { left: 2%; height: clamp(150px, 24vh, 220px); }
  .sc-ghoomar { right: -6vw; height: 30vh; }
  .sc-gond { right: -6vw; height: 34vh; }
  .theme-maasi { padding-bottom: clamp(320px, 48vh, 400px); }
  .theme-maasi .sc-nephew--corner { width: min(158px, 42vw); }
  .theme-maasi .sc-nephew--left { left: 0; }
  .theme-maasi .sc-nephew--right { right: 1.6rem; width: min(200px, 54vw); }
  .theme-maasi .sc-nephew--right .sc-nephew__hello { left: auto; right: 6%; top: 1%; }
  .theme-baraat { padding-bottom: clamp(240px, 36vh, 280px); }
  .sc-bride-wait { width: auto; height: min(28vh, 220px); max-height: 220px; right: 0; bottom: 0; }
  .sc-ghodi { width: auto; height: min(30vh, 210px); left: 0; bottom: 0; }
  .sc-tiger { width: 50vw; right: -8vw; }
  .sc-camel { width: 44vw; right: -8vw; }
  .sc-families { width: 100vw; }
  .side-page__family-art { width: 62vw; }
  .hero--sikar { height: clamp(300px, 92vw, 400px); }
  .hero__haveli { width: 175%; bottom: 10%; }
  .hero__peacock { height: 52%; right: -4%; }
  .hero__slides { width: 128%; margin-left: -14%; }
  .hero__place { font-size: 0.7rem; }
}

/* ==========================================================================
   Extra sparkle: mandala halos, title sheen, gold dust trail
   ========================================================================== */
.sc-halo {
  position: absolute; left: 50%; top: 0; z-index: 0;
  width: min(680px, 130%); aspect-ratio: 1; translate: -50% -10%;
  color: var(--accent); opacity: 0; pointer-events: none;
  transition: opacity 1.6s 0.4s;
  animation: spin 120s linear infinite;
}
.sc-halo .motif { display: block; width: 100%; height: 100%; }
.is-visible .sc-halo { opacity: 0.16; }
@keyframes spin { to { rotate: 360deg; } }

.event-scene__title:not(.foil) {
  background: linear-gradient(100deg, var(--accent-ink, var(--ink)) 42%, #fff6d2 50%, var(--accent-ink, var(--ink)) 58%) 0 0 / 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.7)) drop-shadow(0 0 18px rgba(233, 200, 110, 0.45));
  animation: title-sheen 7s ease-in-out infinite;
}
@keyframes title-sheen { 0%, 55% { background-position: 100% 0; } 100% { background-position: 0 0; } }

.event-scene__dress {
  display: inline-block; margin: 1.1rem auto 0; padding: 5px 16px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  color: var(--accent-ink, var(--ink));
  font-family: var(--sans); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.event-scene__dress::before, .event-scene__dress::after { content: '✦'; margin: 0 0.6em; color: var(--accent); }
.is-deva .event-scene__dress { font-family: var(--deva); font-size: 0.92rem; letter-spacing: 0; text-transform: none; }

.trail {
  position: fixed; z-index: 70; pointer-events: none;
  width: calc(14px * var(--s)); aspect-ratio: 1; margin: -7px 0 0 -7px;
  background: radial-gradient(circle, #fff 0 14%, #f6dd8a 40%, transparent 72%);
  clip-path: var(--star);
  animation: trail 0.9s ease-out forwards;
}
@keyframes trail { to { translate: 0 28px; scale: 0.2; rotate: 90deg; opacity: 0; } }

/* ==========================================================================
   The bride's Rajasthan: Jal Mahal, Laxmangarh Fort, Shekhawati havelis
   ========================================================================== */
.hero__slides--3 .hero__slide { animation: slide3 27s ease-in-out infinite; overflow: hidden; }
.hero__slides--3 .hero__slide--2 { animation-delay: -18s; }
.hero__slides--3 .hero__slide--3 { animation-delay: -9s; }
@keyframes slide3 { 0%, 30% { opacity: 1; } 36%, 94% { opacity: 0; } 100% { opacity: 1; } }
.hero__slide.hero--sikar {
  height: auto;
  -webkit-mask: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%);
  mask: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%);
}
.hero__slide .hero__painting { animation: drift-in 20s ease-in-out infinite alternate; }
.hero--rajasthan .hero__caption { margin-top: 0.6rem; }
.hero--rajasthan .hero__birds { top: 4%; }

.lake__shimmer {
  position: absolute; left: 14%; width: 72%; top: 62%; height: 26%; pointer-events: none;
  background: repeating-linear-gradient(176deg, rgba(255, 240, 210, 0) 0 9px, rgba(255, 240, 210, 0.55) 9px 10px, rgba(255, 240, 210, 0) 10px 22px);
  -webkit-mask: radial-gradient(ellipse 50% 50% at 50% 40%, #000 35%, transparent 100%);
  mask: radial-gradient(ellipse 50% 50% at 50% 40%, #000 35%, transparent 100%);
  mix-blend-mode: screen;
  animation: ripple 7s linear infinite;
}
.hero__glows { position: absolute; inset: 0; pointer-events: none; }
.hero__glows i {
  position: absolute; left: var(--x); top: var(--y);
  width: calc(40px * var(--s)); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 238, 180, 0.95), rgba(255, 176, 70, 0.4) 35%, transparent 70%);
  mix-blend-mode: screen;
  animation: flicker 2.4s ease-in-out var(--d) infinite;
}
.hero__glows--fort i { animation: twinkle 1.6s ease-in-out var(--d) infinite alternate; }
.fort__stars {
  position: absolute; left: 10%; right: 10%; top: 4%; height: 36%; pointer-events: none;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 30%, #fff6d8 60%, transparent), radial-gradient(1.2px 1.2px at 28% 70%, #fff6d8 60%, transparent),
    radial-gradient(1.8px 1.8px at 46% 18%, #fff6d8 60%, transparent), radial-gradient(1px 1px at 63% 52%, #fff6d8 60%, transparent),
    radial-gradient(1.5px 1.5px at 80% 26%, #fff6d8 60%, transparent), radial-gradient(1.2px 1.2px at 92% 66%, #fff6d8 60%, transparent);
  background-size: 180px 120px;
  animation: twinkle 2.2s ease-in-out infinite alternate;
}
.hero__lanterns { z-index: 2; }

/* ==========================================================================
   Haldi: a pastel garden carnival under the leaves
   ========================================================================== */
.theme-haldi .sc-pillar { filter: saturate(0.7) brightness(1.06) hue-rotate(-12deg); }
.sc-garden-sky {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 30% 9% at 22% 30%, rgba(255, 255, 255, 0.8), transparent 70%),
    radial-gradient(ellipse 26% 8% at 76% 22%, rgba(255, 255, 255, 0.75), transparent 70%),
    radial-gradient(ellipse 34% 10% at 60% 46%, rgba(255, 240, 248, 0.7), transparent 70%),
    linear-gradient(180deg, #e8f3fb 0%, #fbe9f1 38%, #fdf3f6 62%, rgba(253, 243, 246, 0) 82%);
  -webkit-mask: linear-gradient(transparent, #000 6%, #000 94%, transparent);
  mask: linear-gradient(transparent, #000 6%, #000 94%, transparent);
}
.is-visible .sc-garden-sky { animation: clouds 40s ease-in-out infinite alternate; }
@keyframes clouds { to { background-position: 40px 0, -50px 0, 30px 0, 0 0; } }
.sc-lawn {
  position: absolute; left: -10%; right: -10%; bottom: 0; height: 30%; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 100% at 50% 100%, #9ccd78 0, #b8de94 45%, rgba(200, 230, 170, 0.6) 62%, rgba(200, 230, 170, 0) 78%);
}
.sc-canopy { top: -1%; left: 0; z-index: 2; width: 100%; height: auto; }
.is-visible .sc-canopy { animation: rustle 7s ease-in-out infinite 1.6s; transform-origin: 50% 0; }
@keyframes rustle { 50% { scale: 1.015 1.03; } }
.sc-cage { z-index: 3; width: auto; transform-origin: 50% 0; filter: drop-shadow(0 8px 10px rgba(150, 90, 120, 0.2)); }
.sc-cage--1 { left: 5%; top: -2%; height: clamp(150px, 24vh, 230px); }
.sc-cage--2 { left: 18%; top: -5%; height: clamp(120px, 18vh, 170px); }
.sc-cage--3 { right: 18%; top: -4%; height: clamp(130px, 20vh, 190px); }
.sc-cage--4 { right: 5%; top: -2%; height: clamp(150px, 24vh, 230px); }
.is-visible .sc-cage { animation: sway 5s ease-in-out infinite 1.4s; }
.is-visible .sc-cage--2 { animation-duration: 6.2s; animation-delay: -1s; }
.is-visible .sc-cage--3 { animation-duration: 5.6s; animation-delay: -2.2s; }
.is-visible .sc-cage--4 { animation-duration: 6.8s; animation-delay: -3.1s; }
.sc-garden-stage {
  --w: min(1000px, 112%);
  left: 50%; bottom: 1%; z-index: 1; width: var(--w); height: auto; margin-left: calc(var(--w) / -2);
  filter: drop-shadow(0 16px 18px rgba(170, 90, 130, 0.22));
}
.sc-candy { right: 2%; bottom: 1%; z-index: 3; width: clamp(150px, 17vw, 240px); height: auto; filter: drop-shadow(0 10px 12px rgba(150, 90, 100, 0.25)); }
.sc-butterflies { position: absolute; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; }
.sc-butterflies i {
  position: absolute; left: var(--x); top: var(--y); width: 22px; height: 16px;
  animation: flutter var(--dur) ease-in-out var(--delay) infinite alternate;
}
.sc-butterflies i::before, .sc-butterflies i::after {
  content: ''; position: absolute; top: 0; width: 11px; height: 15px;
  background: radial-gradient(circle at 50% 35%, #fff8 0 18%, var(--c) 45%, color-mix(in srgb, var(--c) 70%, #6a3a5a));
  border-radius: 60% 60% 45% 45%;
  animation: flap 0.28s ease-in-out infinite alternate;
}
.sc-butterflies i::before { left: 0; transform-origin: 100% 50%; border-radius: 70% 30% 50% 60%; }
.sc-butterflies i::after { right: 0; transform-origin: 0 50%; border-radius: 30% 70% 60% 50%; }
@keyframes flap { to { scale: 0.25 1; } }
@keyframes flutter {
  0% { translate: 0 0; rotate: -8deg; }
  33% { translate: 60px -40px; rotate: 10deg; }
  66% { translate: -30px -80px; rotate: -12deg; }
  100% { translate: 40px -20px; rotate: 6deg; }
}
.theme-haldi .sc-content::before {
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255, 250, 252, 0.94) 32%, rgba(255, 244, 248, 0.62) 56%, rgba(255, 244, 248, 0) 72%);
}
.theme-haldi { padding-bottom: clamp(160px, 24vh, 240px); }
.sc-couple--haldi { position: relative; z-index: 2; width: min(500px, 96%); }

.sc-couple--solo {
  width: min(300px, 64%);
  -webkit-mask: linear-gradient(#000 97%, transparent); mask: linear-gradient(#000 97%, transparent);
}
.sc-couple--seated { width: min(390px, 82%); }

/* ==========================================================================
   Engagement & Sangeet: a black-and-silver cocktail night
   ========================================================================== */
.theme-cocktail {
  --accent: #d5d8e2; --accent-ink: #ffffff; --ink: #f4f4f7; --ink-soft: #c6c8d2; --gold: #c8ccd6;
  color: var(--ink);
}
.theme-cocktail::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 35%, #2d2d38, #0b0b0f 72%);
  -webkit-mask: linear-gradient(transparent, #000 10%, #000 90%, transparent);
  mask: linear-gradient(transparent, #000 10%, #000 90%, transparent);
}
.theme-cocktail .sc-pillar { filter: grayscale(1) brightness(0.55) contrast(1.2) drop-shadow(0 0 18px rgba(220, 226, 240, 0.25)); }
.theme-cocktail .sc-lights { filter: grayscale(1) brightness(1.4); }
.theme-cocktail.is-visible .sc-lights { animation-name: twinkle-silver; }
@keyframes twinkle-silver {
  from { filter: grayscale(1) brightness(1.2) drop-shadow(0 0 2px rgba(230, 236, 255, 0.4)); }
  to { filter: grayscale(1) brightness(1.6) drop-shadow(0 0 9px rgba(230, 236, 255, 0.95)); }
}
.sc-sequins {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(circle, rgba(235, 238, 248, 0.5) 0 1.3px, transparent 1.9px) 0 0 / 12px 12px,
    radial-gradient(circle, rgba(190, 196, 214, 0.32) 0 1px, transparent 1.6px) 6px 6px / 12px 12px;
  -webkit-mask: radial-gradient(ellipse 60% 55% at 50% 42%, transparent 35%, #000 80%);
  mask: radial-gradient(ellipse 60% 55% at 50% 42%, transparent 35%, #000 80%);
}
.sc-sequins::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 40%, rgba(255, 255, 255, 0.4) 50%, transparent 60%) 0 0 / 300% 100%;
  mix-blend-mode: screen;
  animation: title-sheen 5s ease-in-out infinite;
}
.sc-spotlights { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.sc-spotlights i {
  position: absolute; top: -6%; left: var(--x, 20%); width: 26%; height: 115%; margin-left: -13%;
  background: linear-gradient(to bottom, rgba(240, 244, 255, 0.32), rgba(240, 244, 255, 0.06) 70%, transparent);
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
  transform-origin: 50% 0; filter: blur(5px); mix-blend-mode: screen;
  animation: sweep 7s ease-in-out infinite alternate;
}
.sc-spotlights i:nth-child(1) { --x: 14%; animation-delay: 0s; }
.sc-spotlights i:nth-child(2) { --x: 38%; animation-delay: -2.4s; animation-duration: 8.5s; }
.sc-spotlights i:nth-child(3) { --x: 62%; animation-delay: -4.1s; animation-duration: 6.4s; }
.sc-spotlights i:nth-child(4) { --x: 86%; animation-delay: -1.2s; animation-duration: 9s; }
@keyframes sweep { from { rotate: -22deg; } to { rotate: 22deg; } }
.sc-reflections {
  position: absolute; left: 50%; top: 20%; z-index: 1;
  width: 190vmax; aspect-ratio: 1; translate: -50% -50%; pointer-events: none;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 1.8px, transparent 3px) 0 0 / 110px 92px,
    radial-gradient(circle, rgba(205, 222, 255, 0.75) 0 1.4px, transparent 2.6px) 46px 38px / 134px 118px;
  opacity: 0.45; mix-blend-mode: screen;
  animation: spin 60s linear infinite;
}
.sc-disco {
  top: -3%; z-index: 2; height: clamp(200px, 38vh, 360px); width: auto;
  transform-origin: 50% 0;
  animation: sway 6s ease-in-out infinite, glint 1.4s ease-in-out infinite alternate;
}
.sc-disco--l { left: 17%; }
.sc-disco--r { right: 17%; height: clamp(160px, 30vh, 290px); animation-delay: -3s, -0.7s; }
@keyframes glint {
  from { filter: brightness(1) drop-shadow(0 0 8px rgba(230, 236, 255, 0.35)); }
  to { filter: brightness(1.28) drop-shadow(0 0 22px rgba(230, 236, 255, 0.85)); }
}
.sc-champagne { bottom: 1%; z-index: 2; height: clamp(200px, 40vh, 380px); width: auto; filter: drop-shadow(0 0 20px rgba(240, 230, 200, 0.25)); }
.sc-champagne--l { left: 5%; }
.sc-champagne--r { right: 5%; transform: scaleX(-1); }
.sc-silver-rain { position: absolute; inset: 0; z-index: 4; overflow: hidden; container-type: size; pointer-events: none; }
.sc-silver-rain i {
  position: absolute; top: 0; left: var(--x);
  width: calc(9px * var(--s)); aspect-ratio: 1;
  background: radial-gradient(circle, #fff 0 18%, #dfe3ee 42%, rgba(190, 196, 214, 0) 72%);
  clip-path: var(--star);
  animation: fall var(--dur) linear var(--delay) infinite, twinkle 0.9s ease-in-out infinite alternate;
  animation-play-state: paused;
}
.is-visible .sc-silver-rain i { animation-play-state: running; }
.theme-cocktail .sc-content::before {
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(16, 16, 22, 0.86) 30%, rgba(16, 16, 22, 0.5) 55%, rgba(16, 16, 22, 0) 72%);
}
.theme-cocktail .event-scene__title {
  background: linear-gradient(100deg, #a3a7b3 0, #eef0f5 60px, #fff 95px, #bcc0cb 130px, #858995 190px, #e6e8ef 250px, #fff 285px, #aeb2bd 320px, #a3a7b3 360px) 0 0 / 360px 100% repeat-x;
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 14px rgba(225, 230, 245, 0.4));
  animation: foil 6s linear infinite;
}
.theme-cocktail .sparkle { filter: grayscale(1) brightness(1.4); }
.theme-cocktail .btn { background: linear-gradient(180deg, #f4f5f8, #a9adb8); border-color: #e9ebf1; color: #121216; }
.theme-cocktail .btn--ghost { background: rgba(255, 255, 255, 0.06); border-color: rgba(230, 232, 240, 0.7); color: #f2f3f7; }
.sc-couple--cocktail { width: min(330px, 70%); filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 30px rgba(220, 225, 240, 0.2)); }

@media (max-width: 720px) {
  .sc-cage--2, .sc-cage--3 { display: none; }
  .sc-cage--1, .sc-cage--4 { height: 17vh; }
  .sc-cage--1 { left: 1%; }
  .sc-cage--4 { right: 1%; }
  .sc-garden-stage { --w: 150vw; }
  .sc-candy { width: 30vw; right: -4vw; }
  .sc-disco { height: 20vh; }
  .sc-disco--l { left: 4%; }
  .sc-disco--r { right: 4%; height: 16vh; }
  .sc-champagne { height: 22vh; }
  .sc-champagne--l { left: -6vw; }
  .sc-champagne--r { right: -6vw; }
  .sc-spotlights i:nth-child(n+3) { display: none; }
  .sc-spotlights i { width: 60%; margin-left: -30%; }
  .sc-spotlights i:nth-child(1) { --x: 20%; }
  .sc-spotlights i:nth-child(2) { --x: 80%; }
  .sc-halo { width: 140%; }
  .hero__slide.hero--sikar .hero__haveli { width: 112%; bottom: 8%; }
}

@media (prefers-reduced-motion: reduce) {
  .glitter, .tap-burst, .trail { display: none; }
  .sc-halo, .sc-garden-sky, .sc-reflections { animation: none; }
  .sc-butterflies, .sc-silver-rain { display: none; }
  .hero__slides--3 .hero__slide--1 { opacity: 1 !important; animation: none; }
  .hero__slides--3 .hero__slide:not(.hero__slide--1) { display: none; }
  .dz, .sc-content > *, .sc-content::before, .sc-couple, .sc-families, .sc-nephew__hello, .sc-nephew--corner { opacity: 1 !important; translate: none !important; scale: none !important; filter: none !important; animation: none !important; }
  .sc-falling, .sc-confetti, .sc-embers, .sc-skyshots, .sc-fireworks, .sc-lanterns, .sc-hearts { display: none; }
  .hero__slide--falls { display: none; }
  .hero__slide--ghat { opacity: 1 !important; }
}
