/* ════════════════════════════════════════════════════════════
   TEMPLATE 05 — MODERN SOUTH INDIAN GRAND

   PALETTE:
   --rose  : #C84060  Ashoka red
   --blush : #E8C890  amber glow
   --gold  : #C8960A  temple gold
   --ivory : #F8F2E4  warm ivory
   --cream : #F2EAD4  sandalwood cream
   --sage  : #6B8E7A  muted sage
   --deep  : #1A0C2E  deep indigo-black
   --coral : #4A1E6E  Kanjivaram purple (repurposed slot)

   12 MICRO-INTERACTIONS (inherited + T05-specific):
   01 · TEMPLE CURSOR    gold ring with dot; expands amber on hover
   02 · INDIGO PRELOADER deep purple→saffron gradient, gold line draw
   03 · GOPURAM PARALLAX gopuram 1→1.45, couple 1→1.20 depth recede
   04 · SPARK ASCENT     gold/amber sparks rise like temple lamp flames
   05 · LAMP BREATHE     kuthuvillakku lamps breathe 5.5s with amber glow
   06 · TORAN SWAY       banana-flower garland sways left/right
   07 · CARD BLOOM       ripple + shimmer + amp bounces on scroll entry
   08 · ICON MAGNETIC    icons pulled toward cursor (JS proximity)
   09 · KOLAM SPIN       gallery kolam frames rotate on hover (no frames asset = graceful fallback)
   10 · KNOWLEDGE BLOOM  ✦ kolam dot sprouts above knowledge cards on hover
   11 · ASHOKA BURST     22-petal Ashoka explosion on RSVP click
   12 · KOLAM UNDERLINE  geometric kolam SVG path draws under headings
════════════════════════════════════════════════════════════ */

:root {
  --rose: #C84060;
  --blush: #E8C890;
  --gold: #C8960A;
  --ivory: #F8F2E4;
  --cream: #F2EAD4;
  --sage: #6B8E7A;
  --deep: #1A0C2E;
  --coral: #4A1E6E;
  --ff-d: 'Cinzel', Georgia, serif;
  --ff-s: 'Lato', sans-serif;
  --ff-b: 'Raleway', sans-serif;
  --royal: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --bloom: cubic-bezier(0.22, 1.2, 0.36, 1);
  --silk: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --bounce: cubic-bezier(0.68, -0.55, 0.27, 1.55);
  --stately: cubic-bezier(0.77, 0, 0.175, 1);
  /* Design tokens — Change 24 */
  --jelly: cubic-bezier(0.34, 1.56, 0.64, 1);
  --glass-bg: rgba(248, 242, 228, 0.52);
  --glass-blur: blur(14px) saturate(140%) brightness(1.04);
  --glass-border: rgba(255, 255, 255, 0.55);
  --emboss: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -1px 0 rgba(26, 12, 46, 0.08);
  --shadow-sm: 0 2px 8px rgba(26, 12, 46, 0.10);
  --shadow-md: 0 6px 24px rgba(26, 12, 46, 0.14);
  --shadow-lg: 0 16px 48px rgba(26, 12, 46, 0.18);
  --shadow-gold: 0 4px 20px rgba(200, 150, 10, 0.25);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth
}

body {
  font-family: var(--ff-b);
  background: var(--cream);
  color: var(--deep);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased
}

img {
  display: block;
  max-width: 100%
}

a {
  text-decoration: none;
  color: inherit
}

/* 01 TEMPLE CURSOR */
@media(pointer:fine) {
  body.cursor-active {
    cursor: none
  }

  .c-ring {
    position: fixed;
    inset: 0;
    width: 30px;
    height: 30px;
    border: 1.5px solid rgba(200, 150, 10, .55);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    top: -100px;
    left: -100px;
    background: transparent;
    transition: width .3s var(--bloom), height .3s var(--bloom), border-color .3s, background .3s
  }

  .c-dot {
    position: fixed;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    top: -100px;
    left: -100px;
    transition: width .22s var(--bloom), height .22s var(--bloom), background .22s
  }

  body.ch .c-ring {
    width: 50px;
    height: 50px;
    border-color: rgba(200, 150, 10, .75);
    background: rgba(200, 150, 10, .05)
  }

  body.ch .c-dot {
    width: 7px;
    height: 7px;
    background: var(--rose)
  }
}

/* 02 INDIGO PRELOADER — mandala ring trace */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(170deg, #1A0C2E 0%, #4A1E6E 40%, #C8960A 75%, #F8F2E4 100%);
  transition: opacity .75s var(--silk), visibility .75s ease
}

.preloader.away {
  opacity: 0;
  visibility: hidden;
  pointer-events: none
}

.pl-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px
}

/* Mandala wrap */
.pl-mandala-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  opacity: 0;
  transform: scale(.85);
  transition: opacity .6s ease, transform .6s var(--bloom)
}

.preloader.li .pl-mandala-wrap {
  opacity: 1;
  transform: scale(1)
}

.pl-mandala {
  animation: mandalaSpin 8s linear infinite
}

@keyframes mandalaSpin {
  to {
    transform: rotate(360deg)
  }
}

/* Ring trace animations */
.pl-m-ring {
  stroke-dasharray: 0 1000;
  transition: none
}

.preloader.li .pl-m-r1 {
  stroke-dasharray: 163 1000;
  transition: stroke-dasharray 1.0s var(--bloom) .10s
}

.preloader.li .pl-m-r2 {
  stroke-dasharray: 251 1000;
  transition: stroke-dasharray 1.1s var(--bloom) .20s
}

.preloader.li .pl-m-r3 {
  stroke-dasharray: 339 1000;
  transition: stroke-dasharray 1.2s var(--bloom) .30s
}

/* Petals fade in */
.pl-m-petals {
  opacity: 0;
  transition: opacity .8s ease .5s
}

.preloader.li .pl-m-petals {
  opacity: 1
}

/* Centre dot scales in */
.pl-m-dot {
  transform-origin: 60px 60px;
  transform: scale(0);
  transition: transform .5s var(--bloom) .7s
}

.preloader.li .pl-m-dot {
  transform: scale(1)
}

/* Names */
.pl-names {
  font-family: var(--ff-d);
  font-weight: 400;
  letter-spacing: .12em;
  font-size: clamp(1.1rem, 4.5vw, 1.7rem);
  color: var(--ivory);
  display: flex;
  align-items: baseline;
  gap: 12px;
  opacity: 0;
  transform: translateY(14px) scale(.96);
  transition: opacity .7s var(--bloom), transform .7s var(--bloom)
}

.preloader.ni .pl-names {
  opacity: 1;
  transform: translateY(0) scale(1)
}

.pl-weds {
  font-size: .58em;
  color: var(--blush);
  opacity: .80;
  font-weight: 300;
  letter-spacing: .16em;
  text-transform: uppercase
}

#nav,
#nav.sc,
.mobile-menu {
  display: none !important
}

/* 03 HERO */
.hero-wrap {
  position: relative;
  height: 100svh;
  min-height: 600px
}

.hero-pin {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden
}

/* ── HERO LAYERS: background · subject · foreground ── */

/* Background — full bleed, never moves */
.hero-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 1
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom
}

.hero-bg-img--mobile {
  display: none
}

@media(max-width:767px) {
  .hero-bg-img--desktop {
    display: none
  }

  .hero-bg-img--mobile {
    display: block
  }
}

/* Rangoli atmospheric orbs — Change 4 */
.rangoli-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  animation: orbFloat 7s ease-in-out infinite
}

.rangoli-orb--1 {
  width: 340px;
  height: 340px;
  top: 8%;
  left: -8%;
  background: radial-gradient(circle, rgba(200, 150, 10, .18) 0%, rgba(200, 150, 10, .08) 40%, transparent 70%);
  animation-delay: 0s
}

.rangoli-orb--2 {
  width: 280px;
  height: 280px;
  bottom: 10%;
  right: -6%;
  background: radial-gradient(circle, rgba(74, 30, 110, .16) 0%, rgba(74, 30, 110, .07) 40%, transparent 70%);
  animation-delay: -2.5s
}

.rangoli-orb--3 {
  width: 200px;
  height: 200px;
  top: 42%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(200, 64, 96, .12) 0%, rgba(200, 64, 96, .05) 40%, transparent 70%);
  animation-delay: -5s
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-22px)
  }
}

.rangoli-orb--3 {
  animation-name: orbFloat3
}

@keyframes orbFloat3 {

  0%,
  100% {
    transform: translateX(-50%) translateY(0)
  }

  50% {
    transform: translateX(-50%) translateY(-22px)
  }
}

/* 04 SPARK ASCENT — amber/gold like lamp flames */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden
}

.hp {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: hpFloat var(--dur, 12s) var(--del, 0s) ease-in-out infinite
}

@keyframes hpFloat {
  0% {
    opacity: 0;
    transform: translateY(100vh) translateX(0) scale(.4)
  }

  8% {
    opacity: .8
  }

  50% {
    opacity: .35;
    transform: translateY(38vh) translateX(var(--dx, 20px)) scale(1)
  }

  90% {
    opacity: .10
  }

  100% {
    opacity: 0;
    transform: translateY(-8vh) translateX(var(--dx, 20px)) scale(.6)
  }
}

/* Hero Countdown — Change 5 */
.hc-countdown {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  margin-top: 14px;
  pointer-events: none
}

.hc-cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 38px
}

.hc-cd-num {
  font-family: var(--ff-d);
  font-weight: 400;
  font-size: clamp(.95rem, 2.2vw, 1.4rem);
  color: var(--blush);
  line-height: 1;
  letter-spacing: .04em;
  text-shadow: 0 2px 16px rgba(200, 150, 10, .55)
}

.hc-cd-label {
  font-family: var(--ff-b);
  font-size: .38rem;
  font-weight: 300;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(232, 200, 144, .65);
  margin-top: 3px
}

.hc-cd-sep {
  font-family: var(--ff-d);
  font-size: .85rem;
  color: rgba(200, 150, 10, .55);
  margin-bottom: 10px;
  line-height: 1
}

/* ── Subject layer z:4 ── */
.hl-subject-wrap {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center
}

.hl-subject {
  position: relative;
  width: auto;
  height: 72vh;
  min-height: 320px;
  object-fit: contain;
  opacity: 1;
  transform: translateY(4%)
}

/* Nudge down on desktop */
.hl-subject--mobile {
  display: none
}

@media(max-width:767px) {
  .hl-subject--desktop {
    display: none
  }

  .hl-subject--mobile {
    display: block;
    height: 58vh;
    min-height: 260px;
    transform: translateY(-8%)
  }

  /* Nudge up on mobile */
}

/* ── Foreground layer z:5 — banana leaves, continuous gentle sway ── */
.hl-fg-wrap {
  position: absolute;
  inset: -4%;
  z-index: 5;
  pointer-events: none;
  overflow: hidden
}

.hl-fg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform-origin: center top;
  will-change: transform;
  /* Base scale > 1 so edge corners are always hidden during sway */
  animation: leafSway 7s ease-in-out infinite
}

.hl-fg--mobile {
  display: none
}

/* Banana leaf sway — smooth multi-axis, runs purely on compositor thread */
@keyframes leafSway {
  0% {
    transform: scale(1.06) rotate(0deg) skewX(0deg)
  }

  18% {
    transform: scale(1.063) rotate(.50deg) skewX(.35deg)
  }

  35% {
    transform: scale(1.059) rotate(-.38deg) skewX(-.28deg)
  }

  52% {
    transform: scale(1.065) rotate(.65deg) skewX(.42deg)
  }

  68% {
    transform: scale(1.058) rotate(-.28deg) skewX(-.20deg)
  }

  84% {
    transform: scale(1.062) rotate(.42deg) skewX(.30deg)
  }

  100% {
    transform: scale(1.06) rotate(0deg) skewX(0deg)
  }
}

@media(max-width:767px) {
  .hl-fg--desktop {
    display: none
  }

  .hl-fg--mobile {
    display: block
  }
}

@media(prefers-reduced-motion:reduce) {
  .hl-fg {
    animation: none;
    transform: scale(1.06)
  }
}

/* Hero names — positioned at top of hero */
.hero-copy {
  position: absolute;
  top: 10%;
  left: 0;
  right: 0;
  z-index: 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 0 24px;
  pointer-events: none
}

.hc-bride,
.hc-groom {
  font-family: var(--ff-d);
  font-weight: 400;
  letter-spacing: .10em;
  font-size: clamp(1.9rem, 4.2vw, 4.8rem);
  color: var(--blush);
  line-height: 1.05;
  text-shadow: 0 2px 28px rgba(200, 150, 10, .60), 0 0 70px rgba(74, 30, 110, .40)
}

.hc-bride span,
.hc-groom span {
  display: inline;
  opacity: 1
}

.hc-weds {
  font-family: var(--ff-b);
  font-style: normal;
  font-weight: 200;
  font-size: clamp(.62rem, 1.3vw, 1.2rem);
  color: var(--blush);
  letter-spacing: .30em;
  text-transform: uppercase;
  opacity: .85
}

@media(min-width:768px) {

  /* Desktop: Single line title and countdown if requested */
  .hero-copy {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    top: 8%
  }

  .hc-bride,
  .hc-groom {
    font-size: 3.2rem
  }

  .hc-weds {
    display: inline-block;
    margin: 0 0.5rem
  }

  .hc-countdown {
    margin-top: 0;
    margin-left: 2rem;
    border-left: 1px solid rgba(232, 200, 144, .3);
    padding-left: 2rem
  }
}

@media(max-width:600px) {
  .hero-copy {
    top: 6%
  }

  .hc-bride,
  .hc-groom {
    font-size: clamp(1.7rem, 7.5vw, 2.5rem)
  }

  .hc-weds {
    font-size: clamp(.58rem, 2.8vw, .82rem)
  }
}

/* Scroll nudge */
.scroll-nudge {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9;
  text-align: center;
  transition: opacity .5s;
  animation: snPulse 2.5s ease-in-out infinite
}

.scroll-nudge span {
  display: block;
  font-size: .65rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--blush);
  opacity: .65;
  margin-bottom: 8px;
  font-weight: 200
}

.sn-line {
  width: 2px;
  height: 34px;
  background: rgba(232, 200, 144, .42);
  margin: 0 auto;
  position: relative;
  overflow: hidden
}

.sn-dot {
  position: absolute;
  top: -8px;
  left: 0;
  width: 2px;
  height: 8px;
  background: var(--gold);
  animation: snDrop 2s ease-in-out infinite
}

@keyframes snDrop {
  0% {
    top: -8px;
    opacity: 1
  }

  100% {
    top: 100%;
    opacity: 0
  }
}

@keyframes snPulse {

  0%,
  100% {
    transform: translateX(-50%) scale(1)
  }

  50% {
    transform: translateX(-50%) scale(1.05)
  }
}

@keyframes snAttention {
  0% {
    transform: translateX(-50%) scale(1)
  }

  40% {
    transform: translateX(-50%) scale(1.25)
  }

  70% {
    transform: translateX(-50%) scale(1.1)
  }

  100% {
    transform: translateX(-50%) scale(1)
  }
}

/* Hero floats */
.hero-floats {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none
}

.fl {
  position: absolute;
  mix-blend-mode: multiply
}

.diya-l {
  width: clamp(48px, 6.5vw, 90px);
  top: 11%;
  left: 3%;
  transform-origin: 50% 0%;
  filter: drop-shadow(0 0 18px rgba(200, 150, 10, .80));
  animation: swing 2.8s ease-in-out infinite
}

.diya-r {
  width: clamp(42px, 5.8vw, 80px);
  top: 15%;
  right: 3%;
  transform-origin: 50% 0%;
  filter: drop-shadow(0 0 18px rgba(200, 150, 10, .80));
  animation: swingR 2.8s ease-in-out infinite 1.4s
}

.fall-l {
  width: clamp(44px, 5.8vw, 80px);
  left: 7%;
  animation: fallLeaf 9s ease-in-out infinite;
  opacity: .88;
  filter: drop-shadow(0 4px 12px rgba(26, 12, 46, .18))
}

.fall-r {
  width: clamp(38px, 5.2vw, 70px);
  right: 7%;
  animation: fallLeaf 11s ease-in-out infinite 3s;
  opacity: .88;
  filter: drop-shadow(0 4px 12px rgba(26, 12, 46, .18))
}

@keyframes swing {

  0%,
  100% {
    transform: rotate(-14deg)
  }

  50% {
    transform: rotate(14deg)
  }
}

@keyframes swingR {

  0%,
  100% {
    transform: scaleX(-1) rotate(-14deg)
  }

  50% {
    transform: scaleX(-1) rotate(14deg)
  }
}

@keyframes fallLeaf {
  0% {
    transform: translateY(-70px) rotate(-20deg);
    opacity: 0
  }

  6% {
    opacity: .75
  }

  40% {
    transform: translateY(28vh) rotate(14deg) translateX(18px);
    opacity: .75
  }

  75% {
    transform: translateY(62vh) rotate(-14deg) translateX(-12px);
    opacity: .45
  }

  100% {
    transform: translateY(102vh) rotate(7deg) translateX(9px);
    opacity: 0
  }
}

@keyframes leafL {

  0%,
  100% {
    transform: rotate(-10deg)
  }

  50% {
    transform: rotate(10deg)
  }
}

@keyframes leafR {

  0%,
  100% {
    transform: rotate(10deg)
  }

  50% {
    transform: rotate(-10deg)
  }
}

.petal-canvas {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 10
}

.wdiv,
.w-out {
  line-height: 0
}

.wdiv svg,
.w-out svg {
  width: 100%;
  display: block
}

/* ══ WATER FLOW BRIDGE ══════════════════════════════════════════
   Seamless purple water — three depth layers — two swimming swans
══════════════════════════════════════════════════════════════════ */
.water-bridge {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  z-index: 10;
}

@media(max-width:768px) {
  .water-bridge {
    height: 320px
  }
}

/* ── Full purple sky backdrop ── */
.wb-sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      #1A0530 0%,
      #2E0D52 25%,
      #3C1268 55%,
      #2A0D4A 80%,
      #1A0835 100%);
}

/* ── Warm golden horizon glow where hero water meets this section ── */
.wb-horizon {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: radial-gradient(ellipse 70% 100% at 50% 0%,
      rgba(200, 120, 10, .22) 0%,
      rgba(180, 80, 10, .08) 40%,
      transparent 100%);
  pointer-events: none;
  z-index: 2;
}

/* ── Water wrap — sits in bottom 65% of section ── */
.wb-water-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 68%;
  overflow: hidden;
}

/* ── Wave layers ── */
.wb-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  /* double-wide for seamless scroll loop */
  height: 100%;
  will-change: transform;
}

/* Layer 1 — back/deep, slowest */
.wb-wave--1 {
  animation: wbScroll 18s linear infinite;
  top: -10px
}

/* Layer 2 — mid shimmer, medium */
.wb-wave--2 {
  animation: wbScroll 12s linear infinite reverse;
  top: -5px
}

/* Layer 3 — front/surface, fastest */
.wb-wave--3 {
  animation: wbScroll 7s linear infinite;
  top: 0
}

@keyframes wbScroll {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
}

/* ── Golden light shimmer streaks on water ── */
.wb-shimmer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  overflow: hidden;
}

.wb-sh {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 150, 10, .35), rgba(255, 200, 80, .55), rgba(200, 150, 10, .35), transparent);
  border-radius: 50%;
  filter: blur(1px);
  animation: shimmerDrift 6s ease-in-out infinite;
}

.wb-sh--1 {
  width: 28%;
  top: 22%;
  left: 8%;
  animation-delay: 0s;
  animation-duration: 7s
}

.wb-sh--2 {
  width: 18%;
  top: 44%;
  left: 55%;
  animation-delay: 2.2s;
  animation-duration: 9s
}

.wb-sh--3 {
  width: 22%;
  top: 33%;
  left: 30%;
  animation-delay: 4.1s;
  animation-duration: 6s
}

.wb-sh--4 {
  width: 14%;
  top: 58%;
  left: 72%;
  animation-delay: 1.5s;
  animation-duration: 8s
}

@keyframes shimmerDrift {

  0%,
  100% {
    opacity: .4;
    transform: translateX(0) scaleX(1)
  }

  50% {
    opacity: .9;
    transform: translateX(18px) scaleX(1.12)
  }
}

/* ── Ripple rings — two per swan, follow swim animation ── */
.wb-ripple {
  position: absolute;
  bottom: 28%;
  border-radius: 50%;
  border: 1px solid rgba(200, 150, 10, .30);
  pointer-events: none;
  z-index: 5;
  animation: wbRipple 3.6s ease-out infinite;
  opacity: 0;
}

/* Left swan ripples */
.wb-ripple--l1 {
  width: 20px;
  height: 8px;
  animation-delay: 0s;
  animation-name: wbRippleL
}

.wb-ripple--l2 {
  width: 20px;
  height: 8px;
  animation-delay: 1.8s;
  animation-name: wbRippleL
}

/* Right swan ripples */
.wb-ripple--r1 {
  width: 20px;
  height: 8px;
  animation-delay: .9s;
  animation-name: wbRippleR
}

.wb-ripple--r2 {
  width: 20px;
  height: 8px;
  animation-delay: 2.7s;
  animation-name: wbRippleR
}

@keyframes wbRippleL {
  0% {
    width: 18px;
    height: 7px;
    opacity: .75;
    left: calc(var(--swan-a-pos, 15%) + 30px)
  }

  100% {
    width: 120px;
    height: 40px;
    opacity: 0;
    left: calc(var(--swan-a-pos, 15%) - 20px)
  }
}

@keyframes wbRippleR {
  0% {
    width: 18px;
    height: 7px;
    opacity: .75;
    right: calc(var(--swan-b-pos, 15%) + 30px)
  }

  100% {
    width: 120px;
    height: 40px;
    opacity: 0;
    right: calc(var(--swan-b-pos, 15%) - 20px)
  }
}

/* ── Swans ── */
.wb-swan {
  position: absolute;
  bottom: 20%;
  z-index: 6;
  filter: drop-shadow(0 8px 24px rgba(200, 150, 10, .50)) drop-shadow(0 2px 8px rgba(74, 30, 110, .60));
}

.wb-swan-img {
  width: clamp(90px, 10vw, 150px);
  height: auto;
  display: block;
}

/* Mirrored swan faces left */
.wb-swan-img--flip {
  transform: scaleX(-1);
}

/* Swan A — starts left edge, glides to right, bobs gently */
.wb-swan--a {
  animation:
    swanSwimA 60s linear infinite,
    /* was 22s */
    swanBobA 4s ease-in-out infinite;
}

.wb-swan--b {
  animation:
    swanSwimB 75s linear infinite 3s,
    /* was 26s */
    swanBobB 4.5s ease-in-out infinite 1.8s;
}

/* Swan A: RIGHT → LEFT */
@keyframes swanSwimA {
  0% {
    right: -12%;
    opacity: 0;
  }

  8% {
    opacity: 1;
  }

  50% {
    right: 108%;
    opacity: 1;
  }

  51% {
    right: 108%;
    opacity: 0;
  }

  52% {
    right: -12%;
    opacity: 0;
  }

  60% {
    opacity: 1;
  }

  100% {
    right: 108%;
    opacity: 1;
  }
}

/* Swan B: LEFT → RIGHT */
@keyframes swanSwimB {
  0% {
    left: -12%;
    opacity: 0;
  }

  8% {
    opacity: 1;
  }

  50% {
    left: 108%;
    opacity: 1;
  }

  51% {
    left: 108%;
    opacity: 0;
  }

  52% {
    left: -12%;
    opacity: 0;
  }

  60% {
    opacity: 1;
  }

  100% {
    left: 108%;
    opacity: 1;
  }
}

/* Gentle bob up-down while swimming */
@keyframes swanBobA {

  0%,
  100% {
    transform: translateY(0) rotate(-1deg)
  }

  50% {
    transform: translateY(-7px) rotate(1deg)
  }
}

@keyframes swanBobB {

  0%,
  100% {
    transform: translateY(0) rotate(1deg)
  }

  50% {
    transform: translateY(-6px) rotate(-1deg)
  }
}

/* Wake trail behind each swan */
.wb-swan-wake {
  position: absolute;
  bottom: -4px;
  height: 6px;
  background: linear-gradient(90deg, rgba(200, 150, 10, .25), transparent);
  border-radius: 0 50% 50% 0;
  pointer-events: none;
  filter: blur(2px);
  animation: wakeBreath 4s ease-in-out infinite;
}

.wb-swan-wake--a {
  right: 100%;
  width: 60px;
  transform-origin: right center
}

.wb-swan-wake--b {
  left: 100%;
  width: 60px;
  transform: scaleX(-1);
  transform-origin: left center
}

@keyframes wakeBreath {

  0%,
  100% {
    opacity: .5;
    width: 50px
  }

  50% {
    opacity: .9;
    width: 80px
  }
}

/* ── Soft gradient veil — blends bottom edge into invite water ── */
.wb-veil-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(180deg, transparent 0%, #1A0535 100%);
  pointer-events: none;
  z-index: 20
}

/* ── Reduced motion ── */
@media(prefers-reduced-motion:reduce) {

  .wb-wave--1,
  .wb-wave--2,
  .wb-wave--3,
  .wb-swan--a,
  .wb-swan--b,
  .wb-ripple,
  .wb-sh,
  .wb-swan-wake {
    animation: none
  }

  .wb-swan--a {
    left: 20%
  }

  .wb-swan--b {
    right: 20%
  }
}

/* Content-visibility for below-fold sections — Change 26 */
.s-story,
.s-gallery,
.s-things,
.s-rsvp,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: 0 600px
}

/* SHARED */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px
}

section {
  position: relative;
  overflow: hidden;
  padding: 100px 0
}

.bg-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  z-index: 0
}

.s-head {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
  z-index: 1
}

.sh-eye {
  display: block;
  font-weight: 600;
  font-size: .60rem;
  letter-spacing: .40em;
  text-transform: uppercase;
  color: rgba(110, 80, 40, .95);
  margin-bottom: 12px
}

.sh-h {
  font-family: var(--ff-d);
  font-weight: 400;
  letter-spacing: .06em;
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  color: var(--deep);
  line-height: 1.15
}

.sh-h em {
  font-style: italic;
  color: var(--coral)
}

.sh-eye--lt {
  color: rgba(200, 150, 10, .75)
}

.sh-h--lt {
  color: var(--ivory)
}

.sh-h--lt em {
  color: var(--gold)
}

/* 12 KOLAM UNDERLINE */
.sh-line-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 40px
}

.sh-line-svg {
  overflow: visible
}

.sh-leaf-path {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  transition: stroke-dashoffset 1.5s var(--bloom)
}

.sh-line-wrap.drawn .sh-leaf-path {
  stroke-dashoffset: 0
}

/* SCROLL-IN — spring overshoot entry */
.scroll-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s var(--bloom), transform .75s var(--spring);
  transition-delay: var(--sd, 0s)
}

.scroll-in.vis {
  opacity: 1;
  transform: none
}

/* 06 TORAN SWAY */
.toran {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 160px;
  overflow: hidden;
  z-index: 2;
  pointer-events: none
}

.toran-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  animation: toranSway 9s ease-in-out infinite;
  transform-origin: top center
}

@keyframes toranSway {

  0%,
  100% {
    transform: scaleX(1) translateX(0)
  }

  33% {
    transform: scaleX(1.005) translateX(-8px)
  }

  66% {
    transform: scaleX(1.005) translateX(6px)
  }
}

/* INVITATION — water background continues from bridge */
.s-invite {
  background: #1A0535;
  padding-top: 0;
  padding-bottom: 100px;
  overflow: hidden
}

.si-water-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none
}

.si-water-base {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #1A0535 0%, #2A0A48 20%, #350E58 45%, #2A0A48 75%, #1A0535 100%)
}

.si-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  will-change: transform
}

.si-wave--1 {
  animation: siWaveScroll 24s linear infinite;
  opacity: .7
}

.si-wave--2 {
  animation: siWaveScroll 16s linear infinite reverse;
  opacity: .6
}

@keyframes siWaveScroll {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
}

.si-shimmer {
  position: absolute;
  inset: 0;
  pointer-events: none
}

.si-sh {
  position: absolute;
  height: 1px;
  border-radius: 50%;
  filter: blur(1.5px);
  background: linear-gradient(90deg, transparent, rgba(200, 150, 10, .30), rgba(255, 210, 80, .50), rgba(200, 150, 10, .30), transparent);
  animation: siShimmer 8s ease-in-out infinite
}

.si-sh--1 {
  width: 32%;
  top: 15%;
  left: 5%;
  animation-delay: 0s;
  animation-duration: 9s
}

.si-sh--2 {
  width: 22%;
  top: 38%;
  left: 60%;
  animation-delay: 2.5s;
  animation-duration: 11s
}

.si-sh--3 {
  width: 18%;
  top: 55%;
  left: 20%;
  animation-delay: 5s;
  animation-duration: 8s
}

.si-sh--4 {
  width: 28%;
  top: 72%;
  left: 45%;
  animation-delay: 1.8s;
  animation-duration: 12s
}

.si-sh--5 {
  width: 14%;
  top: 28%;
  left: 78%;
  animation-delay: 3.5s;
  animation-duration: 7s
}

@keyframes siShimmer {

  0%,
  100% {
    opacity: .35;
    transform: translateX(0) scaleX(1)
  }

  50% {
    opacity: .80;
    transform: translateX(22px) scaleX(1.15)
  }
}

.si-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 65%;
  background: radial-gradient(ellipse 60% 55% at 50% 40%, rgba(200, 120, 10, .20) 0%, rgba(160, 80, 10, .10) 40%, transparent 70%);
  pointer-events: none
}

.si-lotuses {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden
}

.si-lotus {
  position: absolute;
  mix-blend-mode: screen;
  filter: drop-shadow(0 6px 20px rgba(200, 150, 10, .45)) drop-shadow(0 0 40px rgba(200, 150, 10, .20));
  will-change: transform
}

.si-lotus--1 {
  width: clamp(80px, 9vw, 130px);
  bottom: 8%;
  left: 4%;
  opacity: .70;
  animation: siLotusFloat 7s ease-in-out infinite 0s, siLotusDrift 28s linear infinite 0s
}

.si-lotus--2 {
  width: clamp(60px, 7vw, 100px);
  bottom: 14%;
  right: 6%;
  opacity: .65;
  animation: siLotusFloat 8s ease-in-out infinite 2s, siLotusDrift 34s linear infinite reverse 0s
}

.si-lotus--3 {
  width: clamp(50px, 5.5vw, 80px);
  bottom: 4%;
  left: 30%;
  opacity: .45;
  animation: siLotusFloat 6s ease-in-out infinite 4s, siLotusDrift 40s linear infinite 5s
}

.si-lotus--4 {
  width: clamp(90px, 10vw, 140px);
  top: 20%;
  left: -2%;
  opacity: .35;
  animation: siLotusFloat 9s ease-in-out infinite 1s, siLotusDriftV 22s ease-in-out infinite 0s
}

.si-lotus--5 {
  width: clamp(55px, 6vw, 90px);
  top: 18%;
  right: -1%;
  opacity: .30;
  animation: siLotusFloat 7.5s ease-in-out infinite 3s, siLotusDriftV 26s ease-in-out infinite reverse 2s
}

@keyframes siLotusFloat {

  0%,
  100% {
    transform: translateY(0) rotate(-2deg) scale(1)
  }

  50% {
    transform: translateY(-10px) rotate(2deg) scale(1.02)
  }
}

@keyframes siLotusDrift {
  0% {
    margin-left: 0
  }

  50% {
    margin-left: 30px
  }

  100% {
    margin-left: 0
  }
}

@keyframes siLotusDriftV {

  0%,
  100% {
    transform: translateY(0) rotate(-1.5deg)
  }

  50% {
    transform: translateY(18px) rotate(1.5deg)
  }
}

.s-invite .bg-fill {
  display: none
}

.invite-couple-bg {
  display: none
}

.fl-moon,
.fl-leaf-l,
.fl-leaf-r {
  display: none
}

.s-invite::before {
  display: none
}

.s-invite .container {
  position: relative;
  z-index: 3;
  padding-top: 100px
}

@media(prefers-reduced-motion:reduce) {

  .si-wave--1,
  .si-wave--2,
  .si-sh,
  .si-lotus {
    animation: none
  }
}

/* 07 CARD BLOOM — deep glass on water */
.invite-card {
  max-width: 540px;
  margin: 0 auto;
  background: rgba(248, 242, 228, 0.12);
  backdrop-filter: blur(24px) saturate(160%) brightness(1.10);
  -webkit-backdrop-filter: blur(24px) saturate(160%) brightness(1.10);
  border-top: 1px solid rgba(255, 255, 255, 0.50);
  border-left: 1px solid rgba(255, 255, 255, 0.38);
  border-right: 1px solid rgba(200, 150, 10, .35);
  border-bottom: 1px solid rgba(200, 150, 10, .35);
  padding: 52px 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .40), 0 8px 60px rgba(0, 0, 0, .45), 0 0 0 1px rgba(200, 150, 10, .15), 0 0 80px rgba(200, 100, 10, .12);
  transition: transform .65s var(--jelly), box-shadow .65s var(--jelly);
}

.invite-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 248, 220, .22) 50%, transparent 80%);
  transform: translateX(-100%);
  transition: transform 1.5s var(--stately);
  pointer-events: none;
  z-index: 10
}

.invite-card.vis::before {
  transform: translateX(100%)
}

.invite-card.vis {
  animation: cardBloom .9s var(--bloom) forwards
}

@keyframes cardBloom {
  0% {
    box-shadow: 0 6px 48px rgba(26, 12, 46, .09), 0 0 0 0 rgba(200, 150, 10, .38)
  }

  50% {
    box-shadow: 0 6px 48px rgba(26, 12, 46, .11), 0 0 0 22px rgba(200, 150, 10, .09)
  }

  100% {
    box-shadow: 0 6px 48px rgba(26, 12, 46, .11), 0 0 0 40px rgba(200, 150, 10, 0)
  }
}

@media(max-width:480px) {
  .invite-card {
    padding: 36px 18px
  }
}

.card-tl,
.card-tr {
  position: absolute;
  top: 0
}

.card-tl {
  left: 0
}

.card-tr {
  right: 0
}

.i-ganesha {
  margin-bottom: 16px;
  display: flex;
  justify-content: center
}

.i-ganesha-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: drop-shadow(0 6px 20px rgba(200, 150, 10, .50));
  animation: ganeshaPulse 4.8s ease-in-out infinite
}

@keyframes ganeshaPulse {

  0%,
  100% {
    transform: scale(1) rotate(0deg)
  }

  30% {
    transform: scale(1.06) rotate(-1deg)
  }

  60% {
    transform: scale(1.03) rotate(1deg)
  }
}

.i-rule {
  margin: 14px auto;
  max-width: 300px;
  display: flex;
  justify-content: center
}

/* ── Invite text — all light for dark water glass card ── */
.i-bless {
  font-family: var(--ff-s);
  font-style: italic;
  font-size: .88rem;
  line-height: 2.1;
  color: var(--ivory);
  margin-bottom: 12px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .40)
}

.i-label {
  font-size: .50rem;
  font-weight: 400;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: 12px;
  opacity: .90
}

.i-names {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 10px 0 20px
}

.i-bride,
.i-groom {
  font-family: var(--ff-d);
  font-weight: 400;
  letter-spacing: .08em;
  font-size: clamp(1.9rem, 5.8vw, 3.2rem);
  color: var(--ivory);
  text-shadow: 0 2px 20px rgba(200, 150, 10, .50);
  opacity: 0;
  transform: translateY(28px) scale(.88);
  transition: opacity 1.0s var(--bloom), transform 1.0s var(--bloom)
}

.i-amp {
  font-family: var(--ff-d);
  font-size: 1.8rem;
  color: var(--gold);
  margin: 4px 0;
  opacity: 0;
  transform: scale(.5);
  transition: opacity .8s var(--bounce) .28s, transform .8s var(--bounce) .28s
}

.invite-card.vis .i-bride {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: .12s
}

.invite-card.vis .i-amp {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  transition-delay: .32s
}

.invite-card.vis .i-groom {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: .52s
}

.i-fam {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 14px 0;
  font-family: var(--ff-b);
  font-weight: 300;
  font-size: .77rem;
  line-height: 2;
  color: rgba(232, 200, 144, .75)
}

.i-fam em {
  font-style: italic;
  font-weight: 700;
  color: var(--blush);
  display: block;
  font-size: .86rem
}

.fam-dot {
  color: var(--gold);
  align-self: center;
  font-size: .7rem;
  opacity: .75
}

.i-close {
  font-family: var(--ff-s);
  font-style: italic;
  font-size: .83rem;
  color: rgba(248, 242, 228, .70);
  margin-top: 12px
}

/* Family section text inside the card */
.fam-parents {
  color: rgba(232, 200, 144, .85)
}

.fam-parents span {
  font-weight: 700;
  color: rgba(232, 200, 144, 1)
}

.fam-gp {
  color: rgba(232, 200, 144, .60)
}

.fam-gp em {
  color: var(--gold)
}

/* EVENTS — Change 23 */
.s-events {
  background: #E8E0F4;
  padding: 120px 0 160px
}

.s-events .bg-fill {
  opacity: .09;
  mix-blend-mode: multiply
}

.ev-paper-veil {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(238, 232, 248, .90) 0%, rgba(230, 220, 245, .82) 100%);
  pointer-events: none
}

.s-events .container,
.s-events .s-head {
  position: relative;
  z-index: 2
}

.s-events .fl-leaf-l {
  top: 7%;
  bottom: auto;
  opacity: .58
}

.s-events .fl-leaf-r {
  top: 12%;
  bottom: auto;
  opacity: .48
}

.ev-journey-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden
}

.ev-journey-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: visible
}

.ej-track {
  stroke: rgba(200, 150, 10, .14);
  stroke-width: 1.2;
  stroke-dasharray: 5 8
}

.ej-drawn {
  stroke: rgba(200, 150, 10, .48);
  stroke-width: 1.4;
  stroke-linecap: round;
  transition: stroke-dashoffset .04s linear
}

.ev-float-stage {
  position: relative;
  z-index: 2;
  --icon-w: 190px;
  display: grid;
  grid-template-columns: repeat(var(--ev-cols, 3), 1fr);
  justify-content: center;
  grid-template-rows: auto auto;
  column-gap: 0;
  row-gap: 0;
  padding: 20px 0 40px;
  margin: 0 auto;
  width: 100%;
  max-width: 1080px
}

.ev-row1 {
  grid-row: 1;
  align-self: start
}

.ev-row2 {
  grid-row: 2;
  align-self: start;
  margin-top: -60px
}

.ev-row2:nth-child(4) {
  margin-top: 0px
}

.ev-row2:nth-child(5) {
  margin-top: -40px
}

.ev-row2:nth-child(6) {
  margin-top: 20px
}

.ev-float-stage[data-ev-count="4"] {
  --ev-cols: 4;
}

@media(max-width:680px) {
  .ev-float-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    padding: 20px 0 20px
  }

  .ev-row2 {
    margin-top: 0 !important
  }
}

.ev-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  padding: 8px 12px 16px;
  width: 100%;
  max-width: var(--icon-w);
  margin: 0 auto;
  min-width: 0;
}

/* 08 ICON MAGNETIC — CSS part */
.ev-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  z-index: 2;
  transition: transform .6s var(--bloom)
}

.ev-node:nth-child(1) .ev-icon-wrap {
  animation: evFloat 6.0s ease-in-out infinite
}

.ev-node:nth-child(2) .ev-icon-wrap {
  animation: evFloat 6.8s ease-in-out infinite 1.2s
}

.ev-node:nth-child(3) .ev-icon-wrap {
  animation: evFloat 5.6s ease-in-out infinite .6s
}

.ev-node:nth-child(4) .ev-icon-wrap {
  animation: evFloat 7.2s ease-in-out infinite 2.2s
}

.ev-node:nth-child(5) .ev-icon-wrap {
  animation: evFloat 6.3s ease-in-out infinite .9s
}

.ev-node:nth-child(6) .ev-icon-wrap {
  animation: evFloat 5.8s ease-in-out infinite 1.8s
}

@keyframes evFloat {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-9px)
  }
}

.ev-node:hover .ev-icon-wrap {
  transform: translateY(-11px) scale(1.07);
  animation-play-state: paused
}

.ev-node:hover .ev-icon {
  filter: drop-shadow(0 14px 28px rgba(200, 150, 10, .50)) drop-shadow(0 4px 10px rgba(26, 12, 46, .18))
}

.ev-node:hover .ev-glow {
  opacity: 1;
  transform: scale(1.45)
}

.ev-icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
  mix-blend-mode: multiply;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 6px 16px rgba(200, 150, 10, .28)) drop-shadow(0 2px 6px rgba(26, 12, 46, .12));
  transition: filter .6s var(--bloom), transform .4s var(--bounce)
}

.ev-node:hover .ev-icon {
  transform: scale(1.06)
}

.ev-node--hero .ev-icon {
  width: 112px;
  height: 112px
}

@media(max-width:680px) {
  .ev-icon {
    width: 120px !important;
    height: 120px !important
  }

  .ev-node--hero .ev-icon {
    width: 145px !important;
    height: 145px !important
  }
}

.ev-glow {
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 150, 10, .22) 0%, rgba(200, 150, 10, 0) 68%);
  z-index: 0;
  opacity: .55;
  transition: opacity .6s ease, transform .6s var(--bloom)
}

.ev-label {
  margin-top: 14px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .5s var(--bloom)
}

.ev-name {
  display: block;
  font-family: var(--ff-d);
  font-weight: 400;
  letter-spacing: .06em;
  font-size: .98rem;
  color: var(--deep);
  line-height: 1.2
}

.ev-date {
  display: block;
  margin-top: 4px;
  font-size: .50rem;
  font-weight: 300;
  letter-spacing: .20em;
  text-transform: uppercase;
  color: var(--deep);
  opacity: .55
}

.ev-node:hover .ev-label {
  transform: translateY(3px)
}

.ev-detail {
  margin-top: 18px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(6px);
  max-height: 0;
  overflow: hidden;
  transition: opacity .7s var(--bloom), transform .7s var(--bloom), max-height .7s var(--bloom)
}

.ev-node:hover .ev-detail,
.ev-node.ev-active .ev-detail {
  opacity: 1;
  transform: translateY(0);
  max-height: 140px
}

.ev-venue {
  font-size: .62rem;
  font-weight: bold;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(110, 80, 40, .95);
  margin-bottom: 12px
}

.ev-desc {
  font-family: var(--ff-s);
  font-style: italic;
  font-size: .74rem;
  line-height: 1.70;
  color: var(--deep);
  opacity: .56;
  margin-bottom: 8px;
  min-height: 4.8rem;
  display: flex;
  align-items: center;
  justify-content: center
}

.ev-cta {
  display: inline-block;
  font-size: .58rem;
  font-weight: 300;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--rose);
  border-bottom: 1px solid rgba(200, 64, 96, .30);
  padding-bottom: 1px;
  transition: border-color .25s, letter-spacing .25s
}

.ev-cta:hover {
  border-color: var(--rose);
  letter-spacing: .34em
}

/* DIVIDERS */
.leaf-div {
  padding: 6px 0;
  background: var(--cream);
  line-height: 0
}

.leaf-div svg {
  width: 100%;
  display: block
}

.diya-div {
  padding: 4px 0;
  background: linear-gradient(180deg, var(--cream) 0%, #1A0C2E 100%);
  line-height: 0
}

.diya-div svg {
  width: 100%;
  display: block
}

/* STORY — deep indigo stage so curtains read beautifully */
.s-story {
  position: relative;
  background: #1A0C2E;
  padding: 0;
  overflow: hidden
}

/* Atmospheric backdrop behind the curtain reveal — temple dusk */
.st-paper-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 75% 60% at 50% 48%, rgba(200, 120, 10, .22) 0%, rgba(200, 100, 10, .10) 35%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 20% 80%, rgba(74, 30, 110, .35) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 75%, rgba(74, 30, 110, .28) 0%, transparent 50%),
    linear-gradient(180deg, #1A0C2E 0%, #2E0D52 30%, #3C1268 55%, #220A3A 80%, #120828 100%);
}

.st-stage {
  position: relative;
  width: 100%;
  height: 720px;
  overflow: hidden
}

@media(max-width:900px) {
  .st-stage {
    height: 600px
  }
}

@media(max-width:600px) {
  .st-stage {
    height: 520px
  }
}

@media(max-width:420px) {
  .st-stage {
    height: 460px
  }
}

.st-reveal {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  pointer-events: none;
  padding: 48px 24px 60px
}

/* Spinning mandala */
.st-mandala {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.6s ease .8s;
  animation: mandalaSpin 45s linear infinite
}

.st-reveal.revealed .st-mandala {
  opacity: 1
}

@keyframes mandalaSpin {
  to {
    transform: translate(-50%, -50%) rotate(360deg)
  }
}

.st-rv-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%
}

.st-rv-header {
  margin-bottom: 14px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1.0s var(--bloom), transform 1.0s var(--bloom)
}

.st-rv-header .sh-eye {
  color: rgba(200, 150, 10, .85)
}

.st-rv-header .sh-h {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  line-height: 1.15;
  color: var(--ivory)
}

.st-rv-header .sh-h em {
  color: var(--gold)
}

.st-rv-names {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(28px) scale(.82);
  transition: opacity 1.2s var(--bloom) .22s, transform 1.2s var(--bloom) .22s
}

.st-rv-bride,
.st-rv-groom {
  font-family: var(--ff-d);
  font-weight: 400;
  letter-spacing: .08em;
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  color: var(--blush);
  text-shadow: 0 2px 24px rgba(200, 150, 10, .40)
}

.st-rv-amp {
  font-family: var(--ff-d);
  font-size: clamp(1.1rem, 2.4vw, 1.7rem);
  color: var(--gold)
}

.st-rv-verse {
  font-family: var(--ff-s);
  font-style: italic;
  font-size: clamp(.84rem, 1.8vw, .98rem);
  color: rgba(232, 200, 144, .80);
  line-height: 2;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .9s ease .44s, transform .9s ease .44s
}

.st-rv-tags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 10px;
  width: min(360px, 88%);
  justify-items: stretch
}

.st-rv-tag {
  font-size: .52rem;
  font-weight: 300;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blush);
  padding: 7px 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(200, 150, 10, .30);
  text-align: center;
  opacity: 0;
  transform: translateY(10px) scale(.95);
  transition: opacity .6s var(--bloom), transform .6s var(--bloom);
  backdrop-filter: blur(4px)
}

.st-rv-tag:nth-child(1) {
  transition-delay: .58s
}

.st-rv-tag:nth-child(2) {
  transition-delay: .72s
}

.st-rv-tag:nth-child(3) {
  transition-delay: .86s
}

.st-rv-tag:nth-child(4) {
  transition-delay: 1.00s
}

.st-reveal.revealed .st-rv-header {
  opacity: 1;
  transform: translateY(0)
}

.st-reveal.revealed .st-rv-names {
  opacity: 1;
  transform: translateY(0) scale(1)
}

.st-reveal.revealed .st-rv-verse {
  opacity: .80;
  transform: translateY(0)
}

.st-reveal.revealed .st-rv-tag {
  opacity: 1;
  transform: translateY(0) scale(1)
}

.st-petals {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
  z-index: 9
}

.st-curtains {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  pointer-events: none
}

.st-curt {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
  will-change: transform;
  transition: filter 1.6s ease;
  /* Deep indigo-purple backing — curtain fabric reads as rich textile */
  background: linear-gradient(180deg, #2E0D52 0%, #3C1268 35%, #4A1878 60%, #2E0D52 100%);
}

.st-curt-l {
  left: 0;
  transform-origin: left center
}

.st-curt-r {
  right: 0;
  transform-origin: right center
}

.st-curt-img {
  display: block;
  position: absolute;
  top: 0;
  height: 100%;
  width: auto;
  max-width: none
}

.st-curt-l .st-curt-img {
  right: 0;
  left: auto;
  filter: drop-shadow(8px 0 40px rgba(0, 0, 0, .60))
}

.st-curt-r .st-curt-img {
  left: 0;
  right: auto;
  transform: scaleX(-1);
  filter: drop-shadow(-8px 0 40px rgba(0, 0, 0, .60))
}

/* Edge shadow as curtains part — adds physical depth */
.st-curt-shadow {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  pointer-events: none;
  z-index: 2
}

.st-curt-shadow-l {
  right: 0;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, .45))
}

.st-curt-shadow-r {
  left: 0;
  background: linear-gradient(to left, transparent, rgba(0, 0, 0, .45))
}

/* Characters — remove multiply so they show on dark bg */
.st-char {
  position: absolute;
  bottom: 0;
  z-index: 3;
  pointer-events: none;
  width: clamp(150px, 18vw, 240px)
}

.st-bride {
  right: calc(50% - clamp(150px, 18vw, 240px) - 10px);
  transform-origin: left bottom
}

.st-groom {
  left: calc(50% - clamp(150px, 18vw, 240px) - 10px);
  transform-origin: right bottom
}

.st-char-img {
  display: block;
  width: 100%;
  height: clamp(260px, 52vh, 460px);
  object-fit: contain;
  object-position: bottom center;
  mix-blend-mode: normal;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, .50))
}

.st-groom .st-char-img {
  height: clamp(312px, 62vh, 552px)
}

.st-bride.st-pull .st-char-img {
  animation: bridePull .75s cubic-bezier(0.4, 0, 0.2, 1) forwards
}

@keyframes bridePull {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg)
  }

  50% {
    transform: translateY(-10px) translateX(-14px) rotate(-3deg)
  }

  100% {
    transform: translateY(-6px) translateX(-10px) rotate(-2deg)
  }
}

.st-bride.st-tension .st-char-img {
  animation: brideTension .42s ease-in-out forwards
}

@keyframes brideTension {
  0% {
    transform: translateY(-6px) translateX(-10px) rotate(-2deg)
  }

  50% {
    transform: translateY(-8px) translateX(-12px) rotate(-2.5deg)
  }

  100% {
    transform: translateY(-5px) translateX(-9px) rotate(-1.8deg)
  }
}

.st-groom.st-pull .st-char-img {
  animation: groomPull .75s cubic-bezier(0.4, 0, 0.2, 1) forwards
}

@keyframes groomPull {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg)
  }

  50% {
    transform: translateY(-10px) translateX(14px) rotate(3deg)
  }

  100% {
    transform: translateY(-6px) translateX(10px) rotate(2deg)
  }
}

.st-groom.st-tension .st-char-img {
  animation: groomTension .42s ease-in-out forwards
}

@keyframes groomTension {
  0% {
    transform: translateY(-6px) translateX(10px) rotate(2deg)
  }

  50% {
    transform: translateY(-8px) translateX(12px) rotate(2.5deg)
  }

  100% {
    transform: translateY(-5px) translateX(9px) rotate(1.8deg)
  }
}

@media(max-width:600px) {
  .st-bride {
    right: 18%
  }

  .st-groom {
    left: 18%
  }

  .st-char {
    width: clamp(110px, 28vw, 170px)
  }

  .st-char-img {
    height: clamp(200px, 42vh, 320px)
  }
}

/* GALLERY + 09 KOLAM SPIN — Deep indigo dark */
.s-gallery {
  background: linear-gradient(180deg, #1A0C2E 0%, #220A3A 40%, #1A0C2E 100%);
  position: relative;
  overflow: hidden
}

.s-gallery::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 42%, rgba(200, 150, 10, .12) 0%, transparent 65%), radial-gradient(ellipse 40% 35% at 10% 80%, rgba(74, 30, 110, .18) 0%, transparent 55%), radial-gradient(ellipse 35% 30% at 90% 15%, rgba(74, 30, 110, .14) 0%, transparent 55%)
}

.s-gallery .bg-fill {
  display: none
}

.s-gallery .container {
  position: relative;
  z-index: 1
}

.s-gallery .sh-eye {
  color: rgba(200, 150, 10, .80)
}

.s-gallery .sh-h {
  color: var(--ivory)
}

.s-gallery .sh-h em {
  color: var(--gold)
}

.gal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px
}

@media(min-width:640px) {
  .gal-grid {
    grid-template-columns: repeat(4, 1fr)
  }
}

.gal-item {
  aspect-ratio: 4/5;
  overflow: visible;
  transition: transform .5s var(--bloom);
  position: relative
}

.gal-item:hover {
  transform: scale(1.02)
}

.gal-tall {
  aspect-ratio: 3/5
}

@media(min-width:640px) {
  .gal-tall {
    grid-row: span 2;
    aspect-ratio: auto
  }
}

.gal-frame {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  object-fit: contain;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
  transition: transform .7s var(--bloom);
  transform-origin: center center
}

.gal-item:hover .gal-frame {
  transform: rotate(4deg) scale(1.03)
}

.gal-ph {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(200, 150, 10, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 4px 24px rgba(0, 0, 0, .40);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px
}

.gal-m {
  font-family: var(--ff-d);
  font-size: 1.7rem;
  color: var(--gold);
  opacity: .55
}

.gal-s {
  font-size: .52rem;
  font-weight: 300;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blush);
  opacity: .45
}

/* THINGS TO KNOW + 10 KNOWLEDGE BLOOM — Deep indigo dark */
.s-things {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
  background: linear-gradient(180deg, #1A0C2E 0%, #0E0820 100%)
}

.things-veil {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 65% 50% at 50% 20%, rgba(200, 150, 10, .14) 0%, transparent 60%), radial-gradient(ellipse 50% 40% at 15% 55%, rgba(74, 30, 110, .20) 0%, transparent 55%), radial-gradient(ellipse 45% 38% at 85% 60%, rgba(74, 30, 110, .16) 0%, transparent 55%)
}

.things-sky {
  display: none
}

.s-things .container {
  position: relative;
  z-index: 2
}

.tt-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto
}

@media(min-width:640px) {
  .tt-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px
  }
}

.tt {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(200, 150, 10, .28);
  padding: 32px 14px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 4px 24px rgba(0, 0, 0, .35);
  transition: background .35s, border-color .35s, transform .4s var(--bloom), box-shadow .4s
}

.tt::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 20%, rgba(200, 150, 10, .08) 50%, transparent 80%);
  transform: translateX(-100%);
  transition: transform .95s var(--bloom);
  pointer-events: none;
  z-index: 0
}

.tt::after {
  content: '◆';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) scale(0) rotate(-45deg);
  font-size: 14px;
  color: var(--gold);
  pointer-events: none;
  transition: transform .4s var(--bloom) .1s, top .4s var(--bloom) .1s, opacity .35s ease .1s;
  opacity: 0;
  z-index: 3;
  line-height: 1
}

.tt:hover {
  background: rgba(200, 150, 10, .08);
  border-color: rgba(200, 150, 10, .55);
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .40), 0 4px 12px rgba(200, 150, 10, .18)
}

.tt:hover::before {
  transform: translateX(100%)
}

.tt:hover::after {
  top: -20px;
  transform: translateX(-50%) scale(1) rotate(0deg);
  opacity: 1
}

.tt-ic {
  margin: 0 auto 12px;
  display: block;
  position: relative;
  z-index: 1
}

.tt-l {
  display: block;
  font-size: .50rem;
  font-weight: 300;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  position: relative;
  z-index: 1
}

.tt-v {
  font-family: var(--ff-s);
  font-style: italic;
  font-size: .88rem;
  line-height: 1.65;
  color: var(--blush);
  position: relative;
  z-index: 1
}

.tt-ig {
  text-align: center;
  margin-top: 38px;
  font-size: .54rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(232, 200, 144, .40)
}

.tt-ig a {
  color: var(--gold);
  display: block;
  margin-top: 6px;
  font-size: .74rem;
  letter-spacing: .05em;
  text-transform: none
}

.tt-ig a:hover {
  text-decoration: underline
}

/* RSVP */
.s-rsvp {
  position: relative;
  background: var(--ivory);
  padding: 120px 0 100px;
  overflow: hidden
}

.rsvp-paper-veil {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 62% 52% at 50% 32%, rgba(200, 150, 10, .14) 0%, transparent 60%), linear-gradient(180deg, #F8F2E4 0%, #E8C890 100%)
}

.rsvp-florals {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0
}

.rsvp-fl {
  position: absolute
}

.rsvp-fl--tl {
  top: -30px;
  left: -30px;
  width: 190px;
  height: 190px
}

.rsvp-fl--br {
  bottom: -30px;
  right: -30px;
  width: 190px;
  height: 190px;
  transform: rotate(180deg)
}

.rsvp-fl--tr {
  top: -20px;
  right: 5%;
  width: 130px;
  height: 130px
}

.rsvp-fl--bl {
  bottom: -20px;
  left: 5%;
  width: 130px;
  height: 130px
}

.s-diya-l {
  position: absolute;
  left: 3%;
  top: 16%;
  width: clamp(48px, 6.2vw, 84px);
  filter: drop-shadow(0 0 18px rgba(200, 150, 10, .80));
  animation: swing 2.8s ease-in-out infinite;
  z-index: 1;
  mix-blend-mode: multiply
}

.s-diya-r {
  position: absolute;
  right: 3%;
  top: 20%;
  width: clamp(42px, 5.6vw, 76px);
  filter: drop-shadow(0 0 18px rgba(200, 150, 10, .80));
  animation: swingR 2.8s ease-in-out infinite 1.4s;
  z-index: 1;
  mix-blend-mode: multiply
}

.rsvp-toran {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 140px;
  overflow: hidden;
  z-index: 2;
  pointer-events: none
}

.rsvp-toran .toran-img {
  animation: toranSway 9s ease-in-out infinite 4.5s
}

.rsvp-body {
  position: relative;
  z-index: 1;
  text-align: center
}

.rsvp-rule {
  display: flex;
  justify-content: center;
  margin-bottom: 14px
}

.rsvp-eye {
  display: block;
  font-weight: 300;
  font-size: .52rem;
  letter-spacing: .40em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 12px;
  position: relative;
  z-index: 1
}

.rsvp-heading {
  font-family: var(--ff-d);
  font-weight: 400;
  letter-spacing: .06em;
  font-size: clamp(2.2rem, 5vw, 3.9rem);
  color: var(--deep);
  line-height: 1.15;
  margin-bottom: 16px;
  position: relative;
  z-index: 1
}

.rsvp-heading em {
  font-style: italic;
  color: var(--rose)
}

.rsvp-sub {
  font-family: var(--ff-s);
  font-style: italic;
  font-size: .95rem;
  line-height: 1.95;
  color: var(--deep);
  opacity: .66;
  max-width: 490px;
  margin: 0 auto 46px;
  position: relative;
  z-index: 1
}

.rsvp-cta-wrap {
  margin-bottom: 24px;
  position: relative;
  z-index: 1
}

.rsvp-wa-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  overflow: hidden;
  border-radius: 1px;
  background: var(--deep);
  box-shadow: 0 2px 0 rgba(255, 255, 255, .04) inset, 0 8px 32px rgba(26, 12, 46, .28), 0 0 0 1px rgba(200, 150, 10, .28);
  padding: 0;
  cursor: pointer;
  transition: transform .5s var(--bloom), box-shadow .5s var(--bloom)
}

.rsvp-wa-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 240, 160, .14) 50%, transparent 80%);
  transform: translateX(-100%);
  transition: transform .90s var(--bloom);
  pointer-events: none;
  z-index: 0
}

.rsvp-wa-btn:hover .rsvp-wa-shimmer {
  transform: translateX(100%)
}

.rsvp-wa-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 2px 0 rgba(255, 255, 255, .04) inset, 0 18px 50px rgba(26, 12, 46, .32), 0 4px 16px rgba(200, 150, 10, .24), 0 0 0 1px rgba(200, 150, 10, .48)
}

.rsvp-wa-btn:active {
  transform: translateY(1px) scale(0.972);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 2px 8px rgba(26, 12, 46, .20), 0 0 0 1px rgba(200, 150, 10, .28)
}

.rsvp-wa-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 52px;
  font-family: var(--ff-b);
  font-size: .66rem;
  font-weight: 300;
  letter-spacing: .30em;
  text-transform: uppercase;
  color: var(--ivory);
  white-space: nowrap
}

.rsvp-wa-icon {
  flex-shrink: 0;
  opacity: .85;
  transition: opacity .35s, transform .5s var(--bloom)
}

.rsvp-wa-btn:hover .rsvp-wa-icon {
  opacity: 1;
  transform: scale(1.12)
}

@media(max-width:520px) {
  .rsvp-wa-inner {
    padding: 16px 28px;
    letter-spacing: .20em;
    font-size: .62rem
  }

  .rsvp-wa-btn {
    width: min(340px, 90vw)
  }
}

.rsvp-ps {
  font-size: .54rem;
  font-weight: 200;
  letter-spacing: .12em;
  color: var(--deep);
  opacity: .30;
  margin-bottom: 18px;
  position: relative;
  z-index: 1
}

.burst-p {
  position: fixed;
  pointer-events: none;
  z-index: 9000;
  mix-blend-mode: multiply
}

/* FOOTER — deepest indigo */
.footer {
  background: linear-gradient(170deg, #1A0C2E 0%, #0E0820 100%);
  padding: 70px 24px 48px;
  text-align: center;
  position: relative;
  overflow: hidden
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 58% 48% at 50% 0%, rgba(200, 150, 10, .14) 0%, transparent 62%);
  pointer-events: none
}

.ft-lotus {
  margin: 0 auto 18px;
  display: block;
  position: relative;
  z-index: 1
}

.ft-names {
  font-family: var(--ff-d);
  font-weight: 400;
  letter-spacing: .10em;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  color: var(--ivory);
  margin-bottom: 14px;
  position: relative;
  z-index: 1
}

.ft-rule {
  width: 56px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 0 auto 18px;
  position: relative;
  z-index: 1
}

.ft-date {
  font-size: .58rem;
  font-weight: 300;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(248, 242, 228, .65);
  margin-bottom: 28px;
  position: relative;
  z-index: 1
}

.ft-credit {
  font-size: .56rem;
  opacity: .20;
  letter-spacing: .08em;
  position: relative;
  z-index: 1;
  color: var(--ivory)
}

.ft-credit a {
  color: var(--gold);
  opacity: 1
}

/* RESPONSIVE */
section {
  padding: 80px 0
}

.hero-wrap,
.hero-pin {
  padding: 0 !important
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px
}

@media(min-width:640px) {
  section {
    padding: 100px 0
  }

  .container {
    padding: 0 32px
  }

  .ev-float-stage {
    padding: 20px 24px 40px
  }

  .tt-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px
  }
}

@media(min-width:1024px) {
  section {
    padding: 120px 0
  }

  .container {
    padding: 0 48px
  }

  .invite-card {
    max-width: 640px;
    padding: 68px 76px
  }

  .s-invite .container {
    padding-top: 190px
  }

  .ev-float-stage {
    padding: 40px 60px 60px
  }

  .ev-icon {
    width: 108px !important;
    height: 108px !important
  }

  .ev-node--hero .ev-icon {
    width: 132px !important;
    height: 132px !important
  }

  .ev-name {
    font-size: 1.10rem
  }

  .st-stage {
    height: 760px
  }

  .st-char {
    width: clamp(180px, 20vw, 275px)
  }

  .st-char-img {
    height: clamp(300px, 58vh, 515px)
  }

  .st-groom .st-char-img {
    height: clamp(360px, 70vh, 618px)
  }

  .tt-row {
    max-width: 800px;
    gap: 24px
  }

  .tt {
    padding: 36px 18px
  }

  .s-rsvp {
    padding: 140px 0 120px
  }

  .rsvp-heading {
    font-size: clamp(2.9rem, 4.8vw, 4.2rem)
  }

  .sh-h {
    font-size: clamp(2.2rem, 3.8vw, 3.4rem)
  }

  .s-head {
    margin-bottom: 64px
  }
}

@media(min-width:1400px) {
  .container {
    max-width: 1220px
  }

  .ev-float-stage {
    padding: 40px 80px 80px
  }

  .st-stage {
    height: 800px
  }

  .st-char {
    width: clamp(200px, 18vw, 295px)
  }
}

@media(max-width:480px) {
  section {
    padding: 64px 0
  }

  .container {
    padding: 0 16px
  }

  .s-head {
    margin-bottom: 40px
  }

  .sh-h {
    font-size: clamp(1.7rem, 7vw, 2.4rem)
  }

  .invite-card {
    padding: 28px 16px
  }

  .tt-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px
  }

  .tt {
    padding: 20px 10px
  }

  .ev-float-stage {
    gap: 48px;
    padding: 12px 0 24px
  }

  .ev-node {
    padding: 6px 8px 12px
  }

  .ev-name {
    font-size: .90rem
  }

  .st-stage {
    height: 440px
  }

  .st-char {
    width: clamp(100px, 24vw, 150px)
  }

  .st-char-img {
    height: clamp(178px, 38vh, 258px) !important
  }

  .st-groom .st-char-img {
    height: clamp(214px, 46vh, 310px) !important
  }

  .rsvp-heading {
    font-size: clamp(1.8rem, 7vw, 2.6rem)
  }

  .rsvp-wa-inner {
    padding: 15px 22px;
    font-size: .60rem
  }

  .ft-names {
    font-size: 1.5rem
  }
}

@media(prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01s !important;
    transition-duration: .01s !important
  }
}

/* MUSIC BTN — Change 18: dark glass pill + waveform bars */
.music-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: rgba(26, 12, 46, 0.88);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-radius: 50px;
  border: none;
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.12), inset 0 -1px 0 rgba(0, 0, 0, 0.30), 0 0 0 1px rgba(200, 150, 10, 0.45), 0 4px 20px rgba(26, 12, 46, 0.30), 0 1px 4px rgba(26, 12, 46, 0.22);
  color: var(--ivory);
  font-family: var(--ff-b);
  font-size: .52rem;
  font-weight: 300;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .3s var(--jelly), box-shadow .3s ease, background .3s ease
}

.music-btn:hover {
  background: rgba(42, 20, 72, 0.92);
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0.30), 0 0 0 1px rgba(200, 150, 10, 0.65), 0 8px 28px rgba(26, 12, 46, 0.42), 0 2px 6px rgba(26, 12, 46, 0.22);
  transform: translateY(-2px) scale(1.03)
}

.music-btn:active {
  transform: translateY(1px) scale(0.97)
}

.music-btn.playing {
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.12), inset 0 -1px 0 rgba(0, 0, 0, 0.30), 0 0 0 1.5px rgba(200, 150, 10, 0.75), 0 4px 20px rgba(200, 150, 10, 0.25), 0 1px 4px rgba(26, 12, 46, 0.22)
}

.music-icon-on,
.music-icon-off {
  transition: opacity .3s ease
}

.music-icon {
  flex-shrink: 0;
  color: var(--gold)
}

.music-label {
  color: rgba(232, 200, 144, .80);
  font-size: .50rem
}

.music-wave {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 16px;
  flex-shrink: 0
}

.music-wave span {
  display: block;
  width: 3px;
  background: var(--gold);
  border-radius: 2px;
  opacity: 0;
  transition: opacity .3s ease
}

.music-btn.playing .music-wave span {
  opacity: 1;
  animation: wavebar 1.1s ease-in-out infinite
}

.music-wave span:nth-child(1) {
  animation-delay: 0s;
  height: 6px
}

.music-wave span:nth-child(2) {
  animation-delay: .15s;
  height: 12px
}

.music-wave span:nth-child(3) {
  animation-delay: .30s;
  height: 9px
}

.music-wave span:nth-child(4) {
  animation-delay: .45s;
  height: 14px
}

.music-wave span:nth-child(5) {
  animation-delay: .60s;
  height: 7px
}

@keyframes wavebar {

  0%,
  100% {
    transform: scaleY(1)
  }

  50% {
    transform: scaleY(0.3)
  }
}

/* FAMILY */
.i-fam {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(12px, 4vw, 32px);
  margin: 14px 0 10px;
  text-align: center
}

.fam-side {
  flex: 1;
  max-width: 195px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px
}

.fam-gp {
  font-family: var(--ff-s);
  font-style: italic;
  font-weight: 300;
  font-size: .70rem;
  color: rgba(26, 12, 46, .65);
  line-height: 1.6;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(200, 150, 10, .18);
  width: 100%
}

.fam-gp em {
  font-style: italic;
  font-size: .64rem;
  display: block;
  color: var(--gold);
  margin-bottom: 2px
}

.fam-parents {
  font-family: var(--ff-b);
  font-weight: 300;
  font-size: .76rem;
  color: rgba(232, 200, 144, 1);
  line-height: 1.7
}

.fam-parents em {
  font-family: var(--ff-s);
  font-style: italic;
  font-size: .80rem;
  display: block;
  color: rgba(248, 242, 228, .70)
}

.fam-dot {
  flex-shrink: 0;
  font-size: .9rem;
  color: var(--gold);
  margin-top: 32px;
  opacity: .70
}

/* Music button: bottom-right with iOS safe-area support, all screen sizes */
.music-btn {
  bottom: calc(24px + env(safe-area-inset-bottom));
  top: auto;
  left: auto;
  right: 24px;
  z-index: 9999
}

/* ═══ EVENTS FIX 1: hide timeline line on desktop ═══ */
@media(min-width:681px) {
  .ev-journey-wrap {
    display: none !important
  }
}

/* ═══ EVENTS FIX 2: desktop grid — flat rows, z-index, detail height ═══ */
@media(min-width:681px) {
  .ev-float-stage {
    row-gap: 40px
  }

  .ev-row2,
  .ev-row2:nth-child(4),
  .ev-row2:nth-child(5),
  .ev-row2:nth-child(6) {
    margin-top: 0 !important
  }

  .ev-node {
    position: relative;
    z-index: 2
  }

  .ev-node:hover .ev-detail,
  .ev-node.ev-active .ev-detail {
    max-height: 200px
  }
}

/* ═══ EVENTS FIX 3: font size +20% ═══ */
.ev-name {
  font-size: 1.18rem
}

.ev-date {
  font-size: 0.60rem
}

.ev-venue {
  font-size: 0.65rem
}

.ev-desc {
  font-size: 0.89rem
}

@media(min-width:1024px) {
  .ev-name {
    font-size: 1.32rem
  }
}

@media(max-width:480px) {
  .ev-name {
    font-size: 1.08rem
  }
}