:root {
  --sandalwood: #F5E6C8;
  --turmeric: #E5A91A;
  --kumkum: #9B1B1B;
  --gold: #C8922A;
  --bronze: #3B1E08;
  --leaf: #2E6F40;
  --font-display: 'Yatra One', cursive;
  --font-serif: 'Lora', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-sans);
  background: #2A1205;
  color: var(--bronze);
  overflow-x: hidden;
}

body.intro-active {
  overflow: hidden;
  height: 100vh;
  height: 100svh;
}

body.intro-active .temple-canvas,
body.intro-active .veena-audio-pill {
  visibility: hidden;
}

/* =========================================================
   TRADITIONAL INVITATION COVER + CLICK-TO-PLAY VIDEO INTRO
   ========================================================= */
.intro-overlay {
  --cover-bg-center: #580B12;
  --cover-bg-edge: #270306;
  --cover-card-bg: #33070B;
  --cover-gold-border: rgba(212, 168, 83, 0.65);
  --cover-gold-accent: #D4A853;
  --cover-btn-start: #E2B95B;
  --cover-btn-end: #C59234;
  --cover-cream: #FAF0E1;
  --cover-champagne: #DFC8A6;
  --cover-btn-text: #2B0508;

  position: fixed;
  inset: 0;
  z-index: 2000;
  background: radial-gradient(circle at 50% 45%, var(--cover-bg-center) 0%, var(--cover-bg-edge) 80%);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.75s ease;
}

.intro-overlay.is-closing,
.intro-overlay.is-closing * {
  opacity: 0;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Stage 1: Static Deep Maroon Invitation Cover */
.intro-cover {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1100px;
  padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  opacity: 1;
  visibility: visible;
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.65s ease;
}

.intro-overlay.state-playing .intro-cover,
.intro-overlay.state-ended .intro-cover,
.intro-overlay.state-error .intro-cover {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cover-card {
  --rx: 0deg;
  --ry: 0deg;
  --mx: 50%;
  --my: 30%;
  position: relative;
  z-index: 2;
  overflow: hidden;
  width: calc(100% - 8px);
  max-width: 390px;
  background: var(--cover-card-bg);
  border: 1px solid var(--cover-gold-border);
  border-radius: 22px;
  padding: 40px 30px 36px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.58), inset 0 1px 0 rgba(255, 224, 160, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
  will-change: transform;
}

.cover-card.is-tilting {
  transition: transform 0.08s ease-out, box-shadow 0.2s ease;
  box-shadow: 0 32px 76px rgba(0, 0, 0, 0.68), 0 0 28px rgba(212, 168, 83, 0.14), inset 0 1px 0 rgba(255, 224, 160, 0.14);
}

.cover-sheen {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle 220px at var(--mx) var(--my), rgba(242, 206, 116, 0.16) 0%, rgba(212, 168, 83, 0.04) 45%, transparent 75%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}

.cover-card.is-tilting .cover-sheen {
  opacity: 1;
}

.cover-motif,
.cover-kannada-heading,
.cover-names,
.cover-details,
.cover-open-btn {
  position: relative;
  z-index: 2;
}

.cover-motif {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
  transform: translateZ(16px);
}

.cover-diya {
  width: 30px;
  height: 24px;
  display: block;
  filter: drop-shadow(0 0 6px rgba(255, 175, 55, 0.38));
  animation: diyaGlow 2.8s ease-in-out infinite alternate;
}

.cover-diya:last-child {
  animation-delay: 0.7s;
}

@keyframes diyaGlow {
  0% {
    filter: drop-shadow(0 0 4px rgba(255, 175, 55, 0.3));
    transform: scale(1);
  }

  100% {
    filter: drop-shadow(0 0 10px rgba(255, 198, 88, 0.65));
    transform: scale(1.03);
  }
}

.cover-kolam {
  width: 20px;
  height: 20px;
  display: block;
}

.cover-kannada-heading {
  font-family: "Noto Sans Kannada", var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--cover-gold-accent);
  margin-bottom: 16px;
  line-height: 1.5;
}

.cover-names {
  font-family: "Cinzel", "Cormorant Garamond", var(--font-serif);
  font-size: clamp(1.75rem, 6.5vw, 2.2rem);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: 0.05em;
  color: var(--cover-cream);
  text-transform: uppercase;
  margin-bottom: 14px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.cover-details {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--cover-champagne);
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}

.cover-open-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
  max-width: 310px;
  padding: 12px 24px;
  border: none;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--cover-btn-start) 0%, var(--cover-btn-end) 100%);
  color: var(--cover-btn-text);
  font-family: "Noto Sans Kannada", var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 245, 210, 0.45);
  transform: translateZ(20px);
  transition: transform 0.18s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.cover-open-btn::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -60%;
  width: 45%;
  height: 140%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 250, 230, 0.45) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: btnGoldSweep 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes btnGoldSweep {

  0%,
  62% {
    left: -60%;
  }

  100% {
    left: 135%;
  }
}

@media (prefers-reduced-motion: reduce) {

  .cover-card,
  .cover-diya,
  .cover-open-btn::after,
  .intro-sparkles span {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

.cover-open-btn:hover {
  filter: brightness(1.06);
  box-shadow: 0 10px 28px rgba(212, 168, 83, 0.28), inset 0 1px 0 rgba(255, 245, 210, 0.55);
}

.cover-open-btn:active {
  transform: scale(0.97);
}

.cover-open-btn:disabled {
  opacity: 0.7;
  cursor: default;
  transform: none;
}

/* Cover Falling Flower Petals (Behind & Around Card) */
.cover-petals {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.cover-petals-back {
  z-index: 1;
}

.cover-petals-front {
  z-index: 3;
}

.c-petal {
  position: absolute;
  top: -28px;
  left: 0;
  pointer-events: none;
  will-change: transform, opacity;
  animation: coverPetalFall var(--dur, 10s) linear forwards;
}

.c-petal-jasmine {
  width: var(--sz, 11px);
  height: calc(var(--sz, 11px) * 1.45);
  border-radius: 75% 25% 70% 30% / 65% 35% 65% 35%;
  background: radial-gradient(circle at 35% 30%, #FFFDF8 0%, #F4E8D1 70%, #DFCCA8 100%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
}

.c-petal-rose {
  width: var(--sz, 13px);
  height: calc(var(--sz, 13px) * 1.2);
  border-radius: 65% 35% 60% 40% / 50% 60% 40% 50%;
  background: radial-gradient(circle at 30% 30%, #C73342 0%, #8E1623 65%, #5A0B14 100%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.c-petal-pink {
  width: var(--sz, 12px);
  height: calc(var(--sz, 12px) * 1.25);
  border-radius: 70% 30% 65% 35% / 55% 45% 55% 45%;
  background: radial-gradient(circle at 35% 30%, #F5C3CD 0%, #DF8D9D 70%, #B96173 100%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
}

.c-petal-gold {
  width: var(--sz, 4px);
  height: var(--sz, 4px);
  border-radius: 50%;
  background: radial-gradient(circle, #FFF1B8 0%, #DFB252 65%, rgba(212, 168, 83, 0) 100%);
  box-shadow: 0 0 6px rgba(226, 185, 91, 0.55);
}

@keyframes coverPetalFall {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg) rotateX(0deg);
    opacity: 0;
  }

  10% {
    opacity: var(--op, 0.78);
  }

  50% {
    transform: translate3d(var(--drift-mid, 28px), 52vh, 0) rotate(170deg) rotateX(35deg);
    opacity: var(--op, 0.78);
  }

  88% {
    opacity: calc(var(--op, 0.78) * 0.65);
  }

  100% {
    transform: translate3d(var(--drift-end, 54px), 108vh, 0) rotate(330deg) rotateX(10deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cover-petals {
    display: none !important;
  }
}

/* Stage 2: Full-Screen 9:16 Video Intro */
.intro-stage {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #160406;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.65s ease;
}

.intro-overlay.state-playing .intro-stage,
.intro-overlay.state-error .intro-stage {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.intro-ambient {
  position: absolute;
  inset: -24px;
  background-size: cover;
  background-position: center;
  filter: blur(28px) brightness(0.28) saturate(1.15);
  transform: scale(1.08);
  pointer-events: none;
}

.intro-video-frame {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #160406;
}

@media (min-width: 560px) and (min-aspect-ratio: 9/16) {
  .intro-video-frame {
    width: auto;
    height: 100svh;
    max-width: 100%;
    aspect-ratio: 9 / 16;
    border-left: 1.5px solid rgba(212, 168, 83, 0.45);
    border-right: 1.5px solid rgba(212, 168, 83, 0.45);
    box-shadow: 0 0 60px rgba(212, 168, 83, 0.2), 0 24px 80px rgba(0, 0, 0, 0.85);
  }
}

.intro-video-toran {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0.9;
}

.intro-video-toran svg {
  width: 100%;
  height: 28px;
  display: block;
}

.intro-video-petals {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}

.intro-video-petals .c-petal {
  animation-iteration-count: infinite;
}

.intro-video-petals .c-petal:nth-child(1) {
  left: 8%;
  --dur: 7.5s;
  --op: 0.7;
  --drift-mid: 14px;
  --drift-end: 24px;
  animation-delay: 0.2s;
}

.intro-video-petals .c-petal:nth-child(2) {
  left: 88%;
  --dur: 8.2s;
  --op: 0.65;
  --drift-mid: -14px;
  --drift-end: -22px;
  animation-delay: 1.5s;
}

.intro-video-petals .c-petal:nth-child(3) {
  left: 16%;
  --dur: 9s;
  --op: 0.6;
  --drift-mid: 10px;
  --drift-end: 18px;
  animation-delay: 3.1s;
}

.intro-video-petals .c-petal:nth-child(4) {
  left: 82%;
  --dur: 7.8s;
  --op: 0.65;
  --drift-mid: -12px;
  --drift-end: -20px;
  animation-delay: 2.4s;
}

.intro-video-date {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  color: #DFC8A6;
  letter-spacing: 0.04em;
  margin-top: 3px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

.intro-video,
.intro-fallback-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.intro-fallback-poster {
  opacity: 0;
  z-index: 1;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.intro-overlay.state-error .intro-fallback-poster {
  opacity: 1;
}

.intro-video {
  z-index: 2;
  opacity: 1;
}

.intro-overlay.state-error .intro-video {
  opacity: 0;
}

.intro-video-scrim {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(24, 3, 5, 0.55) 0%, rgba(24, 3, 5, 0) 20%),
    linear-gradient(to top, rgba(24, 3, 5, 0.72) 0%, rgba(24, 3, 5, 0) 28%);
}

.intro-video-frame-border {
  position: absolute;
  inset: 12px;
  z-index: 4;
  border: 1px solid rgba(212, 168, 83, 0.35);
  border-radius: 14px;
  pointer-events: none;
}

.intro-corner {
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: rgba(226, 185, 91, 0.85);
  border-style: solid;
}

.intro-corner.tl {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
  border-top-left-radius: 6px;
}

.intro-corner.tr {
  top: -1px;
  right: -1px;
  border-width: 2px 2px 0 0;
  border-top-right-radius: 6px;
}

.intro-corner.bl {
  bottom: -1px;
  left: -1px;
  border-width: 0 0 2px 2px;
  border-bottom-left-radius: 6px;
}

.intro-corner.br {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
  border-bottom-right-radius: 6px;
}

.intro-sparkles {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}

.intro-sparkles span {
  position: absolute;
  bottom: -12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFE9A3 0%, rgba(212, 168, 83, 0) 75%);
  opacity: 0;
  animation: introSparkleFloat 7s ease-in infinite;
}

.intro-sparkles span:nth-child(1) {
  left: 14%;
  animation-delay: 0s;
  animation-duration: 6.5s;
}

.intro-sparkles span:nth-child(2) {
  left: 28%;
  animation-delay: 1.4s;
  animation-duration: 7.5s;
}

.intro-sparkles span:nth-child(3) {
  left: 46%;
  animation-delay: 0.7s;
  animation-duration: 6.8s;
}

.intro-sparkles span:nth-child(4) {
  left: 66%;
  animation-delay: 2.2s;
  animation-duration: 7.2s;
}

.intro-sparkles span:nth-child(5) {
  left: 82%;
  animation-delay: 1.1s;
  animation-duration: 6.2s;
}

.intro-sparkles span:nth-child(6) {
  left: 90%;
  animation-delay: 2.8s;
  animation-duration: 7.8s;
}

@keyframes introSparkleFloat {
  0% {
    transform: translateY(0) scale(0.7);
    opacity: 0;
  }

  20% {
    opacity: 0.75;
  }

  80% {
    opacity: 0.45;
  }

  100% {
    transform: translateY(-78vh) scale(1.2);
    opacity: 0;
  }
}

.intro-video-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: max(24px, calc(env(safe-area-inset-bottom) + 18px));
  z-index: 5;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.intro-overlay.state-playing .intro-video-caption {
  opacity: 1;
  transform: translateY(0);
}

.intro-video-kicker {
  font-family: "Noto Sans Kannada", var(--font-sans);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  color: #E2B95B;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  margin-bottom: 4px;
}

.intro-video-names {
  font-family: "Cinzel", "Cormorant Garamond", var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #FAF0E1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.intro-progress-track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  z-index: 6;
  background: rgba(250, 240, 225, 0.14);
  pointer-events: none;
}

.intro-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #C59234 0%, #FFE08A 100%);
  transition: width 0.15s linear;
}

.intro-top-bar {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  left: max(16px, env(safe-area-inset-left));
  right: max(16px, env(safe-area-inset-right));
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.intro-top-bar[hidden] {
  display: none;
}

.intro-chip-btn {
  min-height: 36px;
  padding: 8px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(250, 240, 225, 0.28);
  background: rgba(28, 5, 8, 0.62);
  color: #FAF0E1;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.intro-chip-btn:hover {
  background: rgba(45, 8, 12, 0.85);
  border-color: rgba(212, 168, 83, 0.65);
}

/* Stage 3: Post-Video / Error Enter Wedding Screen */
.intro-enter-screen {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  background: radial-gradient(circle at 50% 45%, rgba(88, 11, 18, 0.86) 0%, rgba(39, 3, 6, 0.94) 80%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.65s ease;
}

.intro-enter-screen[hidden] {
  display: none;
}

.intro-overlay.state-ended .intro-enter-screen,
.intro-overlay.state-error .intro-enter-screen {
  opacity: 1;
  visibility: visible;
}

.intro-enter-card {
  width: calc(100% - 8px);
  max-width: 390px;
  background: var(--cover-card-bg);
  border: 1px solid var(--cover-gold-border);
  border-radius: 22px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.62);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro-enter-names {
  font-size: clamp(1.55rem, 6vw, 2rem);
}

@media (max-width: 420px) {

  .cover-card,
  .intro-enter-card {
    width: 100%;
    max-width: 390px;
    padding: 34px 22px 30px;
  }

  .cover-open-btn {
    font-size: 0.85rem;
    padding: 12px 18px;
  }
}

/* Main Canvas */
.temple-canvas {
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: #FDF4E3;
  min-height: 100vh;
  min-height: 100svh;
  padding-bottom: 72px;
}

.temple-hero {
  position: relative;
  min-height: 92dvh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 40px 22px;
  text-align: center;
  overflow: hidden;
}

.temple-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  clip-path: inset(0 0 6% 0);
  transition: clip-path 1.2s cubic-bezier(0.22, 1, 0.36, 1), opacity 1s ease;
}

body.is-entered .temple-hero-img {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}

.temple-hero-content .kalash-crest,
.temple-hero-content .kicker,
.temple-hero-content .hero-name,
.temple-hero-content .parent-info,
.temple-hero-content .weds-pill,
.temple-hero-content .blessing-msg {
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

body.is-entered .temple-hero-content .hero-name {
  animation: heroLineRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.is-entered .temple-hero-content .blessing-msg {
  animation: heroLineRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

@keyframes heroLineRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.temple-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42, 18, 5, 0.2) 0%, rgba(253, 244, 227, 0.88) 55%, #FDF4E3 100%);
}

.temple-hero-content {
  position: relative;
  z-index: 2;
}

.kalash-crest {
  width: 46px;
  height: 46px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--kumkum);
  color: #FFE082;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border: 2px solid var(--gold);
}

.kicker {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--kumkum);
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-name {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--kumkum);
  line-height: 1.15;
}

.parent-info {
  font-size: 12px;
  color: #5D3A1A;
  margin: 4px 0 8px;
}

.weds-pill {
  display: inline-block;
  padding: 3px 14px;
  border-radius: 999px;
  background: var(--turmeric);
  color: var(--bronze);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 14px;
  margin: 6px 0;
}

.blessing-msg {
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.6;
  margin-top: 14px;
  color: var(--bronze);
}

/* Main Invitation Continuous Falling Petals */
.main-petals {
  position: fixed;
  inset: 0;
  z-index: 850;
  pointer-events: none;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .main-petals {
    display: none !important;
  }
}

.kolam-divider {
  text-align: center;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 6px;
  padding: 14px 0;
}

.temple-sec {
  position: relative;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 36px 20px;
  text-align: center;
}

.corner-florals {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.corner-sprig {
  width: 48px;
  height: 48px;
  opacity: 0;
  transform: translateY(-10px) scale(0.9);
  transition: opacity 0.8s ease 0.2s, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.reveal.visible .corner-sprig {
  opacity: 0.9;
  transform: translateY(0) scale(1);
}

.closing-diya-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.closing-diya-svg {
  width: 42px;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(229, 169, 26, 0.35));
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.sec-kicker {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--leaf);
  font-weight: 700;
  margin-bottom: 4px;
}

.sec-title {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--kumkum);
  margin-bottom: 16px;
}

/* Interactive Traditional South Indian Wedding Scroll */
.muhurtham-sec {
  --unroll-px: 0px;
  --unroll-progress: 0;
}

.wedding-scroll-wrap {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-roller {
  position: relative;
  z-index: 4;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: none;
}

.scroll-roller-bottom {
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  min-height: 48px;
  padding: 10px 0;
  margin-top: -12px;
  transition: transform 0.25s ease;
}

.scroll-roller-bottom:active {
  cursor: grabbing;
}

.roller-bar {
  position: relative;
  flex: 1;
  height: 28px;
  border-radius: 14px;
  background: linear-gradient(180deg, #7A3420 0%, #4A180D 38%, #240904 80%, #582112 100%);
  border-top: 1.5px solid rgba(255, 224, 150, 0.52);
  border-bottom: 1.5px solid rgba(20, 6, 2, 0.85);
  box-shadow: 0 10px 22px rgba(38, 12, 4, 0.38), inset 0 1px 0 rgba(255, 240, 190, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.roller-ring {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 12px;
  background: linear-gradient(180deg, #FFF0BA 0%, #D4A853 45%, #8C5B15 88%, #E6C265 100%);
  box-shadow: inset 0 0 2px rgba(59, 30, 8, 0.5);
}

.roller-ring.left {
  left: 18px;
}

.roller-ring.right {
  right: 18px;
}

.roller-clasp {
  color: #FFE49E;
  font-size: 13px;
  text-shadow: 0 0 10px rgba(229, 169, 26, 0.85);
  animation: claspPulse 2s ease-in-out infinite alternate;
}

@keyframes claspPulse {
  from {
    transform: translateY(0);
    opacity: 0.85;
  }

  to {
    transform: translateY(2px);
    opacity: 1;
  }
}

.roller-knob {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #FFF6CE 0%, #D4A853 55%, #7D5112 100%);
  border: 1px solid rgba(255, 232, 170, 0.55);
  box-shadow: 0 4px 10px rgba(38, 12, 4, 0.44);
  flex-shrink: 0;
}

.roller-knob.left {
  margin-right: -4px;
}

.roller-knob.right {
  margin-left: -4px;
}

/* Antique Parchment Viewport & Paper Curvature */
.parchment-viewport {
  position: relative;
  z-index: 2;
  width: calc(100% - 34px);
  max-height: calc(52px + var(--unroll-px));
  overflow: hidden;
  transition: max-height 0.52s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-top: -4px;
}

.muhurtham-sec.is-dragging .parchment-viewport {
  transition: none;
}

.muhurtham-sec.is-unrolled .parchment-viewport {
  max-height: 760px;
  transition: max-height 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.parchment-sheet {
  position: relative;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 248, 226, 0.88) 0%, transparent 65%),
    radial-gradient(circle at 20% 25%, rgba(200, 146, 42, 0.1) 0%, transparent 55%),
    linear-gradient(180deg, #E3C996 0%, #FAF0D8 12%, #FCF5E5 88%, #E1C692 100%);
  padding: 26px 22px 24px;
  box-shadow:
    inset 0 20px 24px -12px rgba(68, 32, 10, 0.45),
    inset 0 -20px 24px -12px rgba(68, 32, 10, 0.45),
    0 18px 38px rgba(59, 30, 8, 0.22);
  border-left: 2px solid rgba(200, 146, 42, 0.8);
  border-right: 2px solid rgba(200, 146, 42, 0.8);
}

.parchment-border-frame {
  position: absolute;
  inset: 9px;
  border: 1.5px solid rgba(155, 27, 27, 0.3);
  outline: 1.5px solid rgba(200, 146, 42, 0.65);
  outline-offset: -5px;
  border-radius: 6px;
  pointer-events: none;
}

.parchment-gold-sweep {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 236, 175, 0.55) 50%, transparent 75%);
  transform: translateX(-115%);
}

.muhurtham-sec.is-unrolled .parchment-gold-sweep {
  animation: parchmentSweep 1.35s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

@keyframes parchmentSweep {
  from {
    transform: translateX(-115%);
  }

  to {
    transform: translateX(115%);
  }
}

.p-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: #B57C28;
  border-style: solid;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.6s ease 0.3s, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.muhurtham-sec.is-unrolled .p-corner {
  opacity: 1;
  transform: scale(1);
}

.p-corner.tl {
  top: 4px;
  left: 4px;
  border-width: 2px 0 0 2px;
  border-top-left-radius: 4px;
}

.p-corner.tr {
  top: 4px;
  right: 4px;
  border-width: 2px 2px 0 0;
  border-top-right-radius: 4px;
}

.p-corner.bl {
  bottom: 4px;
  left: 4px;
  border-width: 0 0 2px 2px;
  border-bottom-left-radius: 4px;
}

.p-corner.br {
  bottom: 4px;
  right: 4px;
  border-width: 0 2px 2px 0;
  border-bottom-right-radius: 4px;
}

.royal-scroll-crest {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
}

.crest-wing {
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #C8922A, transparent);
  transform: scaleX(0);
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.muhurtham-sec.is-unrolled .crest-wing {
  transform: scaleX(1);
}

.crest-emblem {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(145deg, #8E1623, #5A0B14);
  border: 1.5px solid #D4A853;
  color: #FFE082;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(90, 11, 20, 0.25);
  transform: scale(0.55) rotate(-18deg);
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.12s, box-shadow 0.8s ease 0.2s;
}

.muhurtham-sec.is-unrolled .crest-emblem {
  transform: scale(1) rotate(0deg);
  box-shadow: 0 0 18px rgba(212, 168, 83, 0.55), 0 4px 12px rgba(90, 11, 20, 0.3);
}

.parchment-rolled-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  margin-bottom: 10px;
  opacity: calc(1 - var(--unroll-progress));
  transition: opacity 0.25s ease, height 0.35s ease, margin 0.35s ease;
}

.muhurtham-sec.is-unrolled .parchment-rolled-preview {
  opacity: 0;
  height: 0;
  margin-bottom: 0;
  overflow: hidden;
}

.preview-crest {
  font-family: "Noto Sans Kannada", var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--kumkum);
}

.parchment-content {
  position: relative;
  z-index: 2;
}

.muhurtham-petals {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 5;
}

.m-stagger-1,
.m-stagger-2,
.m-stagger-3,
.m-stagger-4 .tc-box {
  opacity: 0;
  transform: translateY(14px) scale(0.92);
  transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.muhurtham-sec.is-unrolled .m-stagger-1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.08s;
}

.muhurtham-sec.is-unrolled .m-stagger-2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.18s;
}

.muhurtham-sec.is-unrolled .m-stagger-3 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.28s;
}

.muhurtham-sec.is-unrolled .m-stagger-4 .tc-box {
  opacity: 1;
  transform: translateY(0);
}

.muhurtham-sec.is-unrolled .m-stagger-4 .tc-box:nth-child(1) {
  transition-delay: 0.36s;
}

.muhurtham-sec.is-unrolled .m-stagger-4 .tc-box:nth-child(2) {
  transition-delay: 0.43s;
}

.muhurtham-sec.is-unrolled .m-stagger-4 .tc-box:nth-child(3) {
  transition-delay: 0.50s;
}

.muhurtham-sec.is-unrolled .m-stagger-4 .tc-box:nth-child(4) {
  transition-delay: 0.57s;
}

.scroll-instruction {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: 13px;
  font-style: italic;
  color: #6B3D1A;
  transition: opacity 0.35s ease, max-height 0.35s ease;
}

.muhurtham-sec.is-unrolled .scroll-instruction {
  opacity: 0;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
}

.scroll-replay-btn {
  margin-top: 14px;
  background: none;
  border: none;
  color: #7D5112;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0.72;
  padding: 6px 10px;
}

.scroll-replay-btn:hover {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {

  .parchment-viewport,
  .m-stagger-1,
  .m-stagger-2,
  .m-stagger-3,
  .m-stagger-4 .tc-box {
    transition: none !important;
  }
}

.panchangam-box {
  background: var(--sandalwood);
  border: 1.5px solid var(--gold);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 16px;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.turmeric-countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.tc-box {
  background: linear-gradient(145deg, #8B141B 0%, #52080E 100%);
  color: #FFF4DC;
  border-radius: 14px;
  padding: 13px 6px;
  border: 1.5px solid #D4A853;
  box-shadow: 0 8px 18px rgba(59, 30, 8, 0.18), inset 0 0 0 1px rgba(255, 224, 150, 0.2);
}

.tc-box strong {
  display: block;
  font-size: 22px;
  color: #FFE082;
}

.tc-box span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ritual-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.ritual-card {
  background: #FFFBF2;
  border-left: 4px solid var(--kumkum);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 6px 18px rgba(59, 30, 8, 0.08);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.r-ico {
  font-size: 24px;
}

.ritual-card h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--kumkum);
}

.r-meta {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  margin: 2px 0;
}

.r-attire {
  font-size: 12px;
  color: #5D3A1A;
}

.temple-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.tg-item {
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--gold);
  aspect-ratio: 1;
  cursor: pointer;
  position: relative;
  clip-path: inset(10% 0 0 0 round 12px);
  opacity: 0;
  transform: translateY(14px);
  transition: clip-path 0.85s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.7s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, clip-path;
}

.reveal.visible .tg-item {
  clip-path: inset(0 0 0 0 round 12px);
  opacity: 1;
  transform: translateY(0);
}

.tg-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sandalwood-card {
  background: var(--sandalwood);
  border: 1.5px solid var(--gold);
  border-radius: 18px;
  padding: 22px 18px;
}

.sandalwood-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--kumkum);
  margin-bottom: 6px;
}

.v-addr {
  font-size: 13px;
  color: #5D3A1A;
  line-height: 1.5;
  margin-bottom: 16px;
}

.v-actions {
  display: flex;
  gap: 10px;
}

.temple-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  flex: 1;
  font-family: var(--font-sans);
}

.temple-btn.full {
  width: 100%;
}

.temple-btn.red {
  background: var(--kumkum);
  color: #FFF8E1;
}

.temple-btn.gold {
  background: var(--turmeric);
  color: var(--bronze);
}

.temple-btn.wa {
  background: #1F7A4D;
  color: #FFF;
}

.temple-footer {
  padding: 32px 20px 20px;
  text-align: center;
}

.banana-leaf-bar {
  font-size: 18px;
  margin-bottom: 8px;
}

.temple-footer h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--kumkum);
  margin-bottom: 4px;
}

.temple-footer p {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #5D3A1A;
}

.veena-audio-pill {
  position: fixed;
  bottom: max(16px, env(safe-area-inset-bottom));
  right: max(16px, env(safe-area-inset-right));
  z-index: 2600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--gold);
  background: linear-gradient(135deg, #7D1116 0%, #4A080D 100%);
  color: #FFF8E1;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.38);
  transition: transform 0.18s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.veena-audio-pill:hover {
  transform: translateY(-2px);
  border-color: #FFE082;
}

.veena-audio-pill[aria-pressed="false"] {
  opacity: 0.92;
  border-color: rgba(212, 168, 83, 0.55);
}

.t-modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(28, 10, 2, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.t-modal.open {
  display: flex;
}

.t-modal-card {
  width: 100%;
  max-width: 380px;
  background: #FDF4E3;
  border: 2px solid var(--gold);
  border-radius: 18px;
  padding: 24px 18px;
  position: relative;
}

.t-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--kumkum);
}

.t-close.light {
  color: #FFF;
  top: -30px;
  right: 0;
}

.t-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.t-form input,
.t-form select,
.t-form textarea {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--gold);
  font-family: var(--font-sans);
}

.t-lb {
  position: relative;
  max-width: 400px;
  width: 100%;
  text-align: center;
  color: #FFF;
}

.t-lb img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 12px;
  border: 2px solid var(--gold);
}

.hero-shloka {
  font-family: "Noto Sans Kannada", var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--kumkum);
  margin-bottom: 10px;
}

.hero-scroll-cue {
  margin-top: 18px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6B3D1A;
  opacity: 0.85;
}

.hero-scroll-arrow {
  font-style: normal;
  font-size: 14px;
  color: var(--kumkum);
  animation: scrollCueBob 1.8s ease-in-out infinite;
}

@keyframes scrollCueBob {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(4px);
  }
}

/* Editorial Two Souls Story Section */
.story-sec {
  padding-top: 26px;
  padding-bottom: 18px;
}

.story-title {
  font-family: "Cinzel", var(--font-serif);
  font-size: clamp(1.35rem, 4.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--kumkum);
  margin-bottom: 6px;
}

.story-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: #7D5112;
  margin-bottom: 16px;
}

.story-card {
  max-width: 580px;
  margin: 0 auto;
  padding: 18px 22px;
  background: rgba(245, 230, 200, 0.52);
  border: 1px solid rgba(200, 146, 42, 0.55);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(59, 30, 8, 0.06);
}

.story-card .blessing-msg {
  margin-top: 0;
}

.closing-shloka {
  font-family: "Noto Sans Kannada", var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 6px;
}

/* 3D Stacked Deckle-Edge Photo Deck */
.photo-deck-wrap {
  max-width: 380px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.deck-stack {
  position: relative;
  width: 100%;
  height: 360px;
  margin-bottom: 16px;
  touch-action: pan-y;
}

.deck-card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  background: linear-gradient(160deg, #FFFDF7 0%, #F7EAD0 100%);
  border: 1.5px solid rgba(200, 146, 42, 0.72);
  box-shadow: 0 14px 32px rgba(59, 30, 8, 0.16);
  padding: 14px 14px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.deck-depth-3 {
  transform: rotate(-4.5deg) translate(-8px, 6px);
  opacity: 0.65;
  z-index: 1;
}

.deck-depth-2 {
  transform: rotate(3.8deg) translate(8px, 4px);
  opacity: 0.85;
  z-index: 2;
}

.deck-active {
  z-index: 3;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.deck-active:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(59, 30, 8, 0.24);
}

.deck-seal {
  position: absolute;
  top: -12px;
  right: 18px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--kumkum);
  border: 1.5px solid #FFE082;
  color: #FFE082;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.deck-img-frame {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(200, 146, 42, 0.4);
  background: #EFE0BE;
}

.deck-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.deck-caption {
  position: absolute;
  bottom: 12px;
  left: 16px;
  right: 16px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13.5px;
  color: var(--kumkum);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deck-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.deck-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: #FFFBF2;
  color: var(--kumkum);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(59, 30, 8, 0.12);
  transition: background 0.2s ease, transform 0.15s ease;
}

.deck-nav-btn:hover {
  background: var(--sandalwood);
  transform: scale(1.05);
}

.deck-counter {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #6B3D1A;
}

.deck-hint {
  margin-top: 8px;
  font-size: 11px;
  color: #7D5112;
  opacity: 0.8;
}

/* Family Contacts & WhatsApp Share */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto 16px;
}

@media (min-width: 600px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 16px;
  border-radius: 16px;
  background: var(--sandalwood);
  border: 1.5px solid var(--gold);
  text-decoration: none;
  color: var(--bronze);
  box-shadow: 0 8px 20px rgba(59, 30, 8, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(59, 30, 8, 0.14);
}

.contact-role {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--leaf);
}

.contact-phone {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--kumkum);
}

.contact-cta {
  font-size: 12px;
  font-weight: 600;
  color: #5D3A1A;
}

.share-wa-wrap {
  max-width: 340px;
  margin: 0 auto;
}

.share-wa-btn {
  width: 100%;
  min-height: 46px;
  border-radius: 999px;
}

.t-toast {
  position: fixed;
  bottom: 72px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bronze);
  color: #FFE082;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 3000;
}

.t-toast.show {
  opacity: 1;
}

/* Antique-Gold Cursor Sparkle Trail */
.cursor-sparkles {
  position: fixed;
  inset: 0;
  z-index: 3200;
  pointer-events: none;
  overflow: hidden;
}

.cursor-sparkle {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--sp-size, 8px);
  height: var(--sp-size, 8px);
  pointer-events: none;
  will-change: transform, opacity;
  animation: cursorSparkleFade 750ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.cursor-sparkle::before,
.cursor-sparkle::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, #FFF6D6 0%, #E5B954 55%, rgba(212, 168, 83, 0) 100%);
  border-radius: 50%;
}

.cursor-sparkle::before {
  clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0% 50%, 38% 38%);
}

.cursor-sparkle::after {
  transform: scale(0.55);
  filter: blur(1px);
}

@keyframes cursorSparkleFade {
  0% {
    transform: translate3d(var(--sp-x), var(--sp-y), 0) scale(0.35) rotate(0deg);
    opacity: 0;
  }

  20% {
    opacity: 0.95;
  }

  100% {
    transform: translate3d(calc(var(--sp-x) + var(--sp-dx)), calc(var(--sp-y) + var(--sp-dy)), 0) scale(1.15) rotate(55deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-sparkles {
    display: none !important;
  }
}