/* ==========================================================================
   PARAMPARAADHOTIS – Grand Shop Opening Digital Invitation
   Theme: Deep Wine (#6E1F2F), Traditional Maroon, Champagne Gold, Ivory & Silk White
   Fonts: Playfair Display (Headings) & Montserrat (Supporting)
   ========================================================================== */

:root {
  --wine: #6E1F2F;
  --wine-deep: #4A111D;
  --maroon: #581523;
  --gold: #D4AF37;
  --gold-light: #F4DF9D;
  --gold-champagne: #E8C975;
  --ivory: #FAF6EE;
  --cream: #F5EEDB;
  --beige: #EAE0C8;
  --silk-white: #FDFBF7;
  --ink: #2E181D;
  --ink-muted: #65474D;

  --font-display: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-italic: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-cursive: 'Alex Brush', cursive;
  --font-body: 'Playfair Display', Georgia, serif;

  --shadow-card: 0 18px 48px rgba(46, 16, 23, 0.14);
  --shadow-gold: 0 8px 28px rgba(212, 175, 55, 0.28);
  --radius-card: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--ivory);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.curtain-locked {
  overflow: hidden;
  height: 100dvh;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--wine);
}

.container {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   SHARED TYPOGRAPHY & ORNAMENTS
   ========================================================================== */

.section {
  position: relative;
  padding: 4.5rem 0;
}

.section-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: normal;
  font-size: clamp(1.75rem, 4.4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--wine);
  text-align: center;
  margin: 0 0 0.85rem;
  line-height: 1.22;
}

.section-heading--light {
  color: var(--gold-light);
}

.section-subtitle {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--ink-muted);
  font-family: var(--font-italic);
  font-style: italic;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
}

.section-subtitle--light {
  color: rgba(250, 246, 238, 0.88);
}

.eyebrow-gold {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-champagne);
  text-align: center;
  margin: 0 0 0.6rem;
}

.eyebrow-wine {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wine);
  text-align: center;
  margin: 0 0 0.5rem;
}

.brand-wordmark {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: center;
  color: var(--wine);
  margin: 0.5rem 0 1.5rem;
}

.gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0.9rem auto 1.25rem;
}

.gold-divider span {
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.gold-divider i {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  display: inline-block;
}

.gold-divider--dark span {
  background: linear-gradient(90deg, transparent, var(--wine), transparent);
}

.gold-divider--dark i {
  background: var(--wine);
}

/* Ornamental Card Corners */
.ornate-card,
.details-card,
.location-card {
  position: relative;
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.08), transparent 45%),
    radial-gradient(circle at bottom right, rgba(110, 31, 47, 0.06), transparent 45%),
    var(--silk-white);
  border: 2px solid var(--wine);
  outline: 1px solid rgba(212, 175, 55, 0.65);
  outline-offset: -8px;
  border-radius: var(--radius-card);
  padding: clamp(1.75rem, 4vw, 3.25rem) clamp(1.25rem, 4vw, 3rem);
  box-shadow: var(--shadow-card);
}

.corner {
  position: absolute;
  width: 34px;
  height: 34px;
  border-color: var(--gold);
  border-style: solid;
  pointer-events: none;
}

.corner--tl {
  top: 12px;
  left: 12px;
  border-width: 2.5px 0 0 2.5px;
}

.corner--tr {
  top: 12px;
  right: 12px;
  border-width: 2.5px 2.5px 0 0;
}

.corner--bl {
  bottom: 12px;
  left: 12px;
  border-width: 0 0 2.5px 2.5px;
}

.corner--br {
  bottom: 12px;
  right: 12px;
  border-width: 0 2.5px 2.5px 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1.65rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--wine {
  background: linear-gradient(135deg, var(--wine), var(--wine-deep));
  color: var(--gold-light);
  border-color: var(--gold);
  box-shadow: 0 8px 20px rgba(110, 31, 47, 0.24);
}

.btn--outline-wine {
  background: transparent;
  color: var(--wine);
  border-color: var(--wine);
}

.btn--outline-wine:hover {
  background: rgba(110, 31, 47, 0.06);
}

.btn--gold {
  background: linear-gradient(135deg, #E8C975, #C79B2A);
  color: var(--wine-deep);
  box-shadow: var(--shadow-gold);
}

.btn--lg {
  padding: clamp(0.8rem, 2.5vw, 1rem) clamp(1.15rem, 4.5vw, 2.2rem);
  font-size: clamp(0.68rem, 2.9vw, 0.94rem);
  letter-spacing: clamp(0.03em, 0.5vw, 0.08em);
  white-space: nowrap;
  max-width: 100%;
}

/* ==========================================================================
   PAGE 1: CINEMATIC CURTAIN OPENING
   ========================================================================== */

.curtain-stage {
  position: fixed;
  inset: 0;
  z-index: 900;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  background: transparent;
  perspective: 1400px;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.curtain-stage.is-opening {
  pointer-events: none;
}

.curtain-stage.is-finished {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.golden-reveal-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%,
      rgba(255, 232, 160, 0.72) 0%,
      rgba(212, 175, 55, 0.28) 38%,
      transparent 75%);
  opacity: 0;
  transform: scale(0.65);
  transition: opacity 0.9s ease, transform 1.2s ease;
  pointer-events: none;
}

.curtain-stage.is-opening .golden-reveal-glow {
  opacity: 1;
  transform: scale(1.2);
}

/* Cinematic Top Spotlight, Floor Glow & Subtle Gold Dust */
.stage-spotlight--top {
  position: absolute;
  top: -12%;
  left: 50%;
  transform: translateX(-50%);
  width: min(860px, 130%);
  height: 70%;
  pointer-events: none;
  z-index: 18;
  background: radial-gradient(ellipse at top, rgba(255, 235, 175, 0.24) 0%, rgba(212, 175, 55, 0.08) 45%, transparent 72%);
  transition: opacity 0.8s ease;
}

.stage-floor-glow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 36px;
  z-index: 18;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(45, 10, 16, 0.35) 0%, #8a5e14 45%, #d4af37 85%, #f4df9d 100%);
  box-shadow: 0 -8px 26px rgba(212, 175, 55, 0.25);
  transition: opacity 0.8s ease;
}

.curtain-stage.is-opening .stage-spotlight--top,
.curtain-stage.is-opening .stage-floor-glow,
.curtain-stage.is-opening .gold-dust-layer {
  opacity: 0;
}

.gold-dust-layer {
  position: absolute;
  inset: 0;
  z-index: 26;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 0.7s ease;
}

.gold-dust-layer span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff8dc 0%, #d4af37 70%, transparent 100%);
  box-shadow: 0 0 8px rgba(244, 223, 157, 0.85);
  animation: dustFloat 6s ease-in-out infinite;
  opacity: 0.55;
}

.gold-dust-layer span:nth-child(1) {
  left: 14%;
  top: 28%;
  animation-delay: 0s;
}

.gold-dust-layer span:nth-child(2) {
  left: 26%;
  top: 62%;
  animation-delay: 1.1s;
}

.gold-dust-layer span:nth-child(3) {
  left: 38%;
  top: 22%;
  animation-delay: 2.2s;
}

.gold-dust-layer span:nth-child(4) {
  left: 48%;
  top: 76%;
  animation-delay: 0.7s;
}

.gold-dust-layer span:nth-child(5) {
  left: 62%;
  top: 24%;
  animation-delay: 1.8s;
}

.gold-dust-layer span:nth-child(6) {
  left: 74%;
  top: 58%;
  animation-delay: 2.9s;
}

.gold-dust-layer span:nth-child(7) {
  left: 86%;
  top: 32%;
  animation-delay: 0.4s;
}

.gold-dust-layer span:nth-child(8) {
  left: 20%;
  top: 78%;
  animation-delay: 2.5s;
}

.gold-dust-layer span:nth-child(9) {
  left: 80%;
  top: 74%;
  animation-delay: 1.4s;
}

.gold-dust-layer span:nth-child(10) {
  left: 52%;
  top: 18%;
  animation-delay: 3.2s;
}

@keyframes dustFloat {

  0%,
  100% {
    transform: translateY(0) scale(0.9);
    opacity: 0.35;
  }

  50% {
    transform: translateY(-16px) scale(1.25);
    opacity: 0.85;
  }
}

.stage-pillar {
  display: none;
}

.royal-valance {
  display: none;
}

.floral-toran {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 25;
  height: clamp(120px, 22vw, 240px);
  pointer-events: none;
  overflow: hidden;
  transition: transform 1.2s ease, opacity 1s ease;
}

.toran-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(180deg, #000 65%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 65%, transparent 100%);
  filter: saturate(1.16) contrast(1.22);
}

.curtain-stage.is-opening .floral-toran {
  transform: translateY(-28px);
  opacity: 0;
}

@media (min-width: 768px) {
  .floral-toran {
    height: clamp(115px, 11.5vw, 155px);
    background-image: url("images/flower-garland.webp");
    background-repeat: repeat-x;
    background-size: clamp(500px, 44vw, 680px) auto;
    background-position: center -18px;
    mix-blend-mode: screen;
    -webkit-mask-image: linear-gradient(180deg, #000 68%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 68%, transparent 100%);
    filter: saturate(1.16) contrast(1.22);
  }

  .floral-toran .toran-real-img {
    display: none;
  }

  .curtain-stage .curtain-center-ui {
    padding-top: 5.5rem;
  }
}

/* Two-Sided Silk Curtains */
.curtain-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.5%;
  z-index: 15;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 3.4s cubic-bezier(0.37, 0, 0.63, 1);
}

.curtain-left {
  left: 0;
  transform-origin: top left;
}

.curtain-right {
  right: 0;
  transform-origin: top right;
}

.curtain-fabric {
  position: absolute;
  inset: 0;
  background-color: var(--wine);
  background-image: url("images/curtain-silk.webp");
  background-size: cover;
  background-position: center;
  filter: saturate(1.08) contrast(1.04);
}

/* Realistic Natural Velvet Folds & Warm Stage Shading */
.curtain-pleats {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 45%, rgba(255, 220, 140, 0.06) 0%, rgba(20, 3, 7, 0.45) 100%);
  box-shadow: inset 0 0 90px rgba(15, 2, 5, 0.72);
}

/* Subtle Zari Damask & Temple Hem Border on Curtains */
.curtain-damask {
  display: none;
}

/* Subtle Dark Velvet Center Seam & Delicate Gold Zari Hem */
.curtain-zari-border {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(24, 3, 8, 0.88);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.7);
}

.curtain-bottom-zari {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  height: 28px;
  background-color: rgba(110, 31, 47, 0.55);
  background-image:
    radial-gradient(circle at 50% 50%, #f4df9d 22%, transparent 25%),
    radial-gradient(circle at 0% 50%, #d4af37 18%, transparent 21%),
    radial-gradient(circle at 100% 50%, #d4af37 18%, transparent 21%);
  background-size: 26px 24px;
  background-repeat: repeat-x;
  border-top: 2px solid #e8c975;
  border-bottom: 2px solid #c69320;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.curtain-left .curtain-zari-border {
  right: 0;
}

.curtain-right .curtain-zari-border {
  left: 0;
}

.curtain-pearl-seam {
  display: none;
}

.curtain-left .curtain-pearl-seam {
  right: 4px;
}

.curtain-right .curtain-pearl-seam {
  left: 4px;
}

/* Traditional Golden Tassels */
.curtain-tassel {
  position: absolute;
  top: 46%;
  width: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: tasselSway 3.4s ease-in-out infinite;
  transform-origin: top center;
}

.curtain-tassel--left {
  right: 24%;
}

.curtain-tassel--right {
  left: 24%;
  animation-delay: 0.6s;
}

.tassel-cord {
  width: 3px;
  height: 26px;
  background: linear-gradient(180deg, #f4df9d, #b8861d);
}

.tassel-knot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff2be, #c69320);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.tassel-threads {
  width: 18px;
  height: 50px;
  margin-top: -2px;
  background: repeating-linear-gradient(90deg,
      #f4df9d 0 2px,
      #b8861d 2px 4px);
  clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.45));
}

.tassel-beads {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 3px;
  background: #fdfbf7;
  box-shadow: 0 0 6px rgba(244, 223, 157, 0.7);
}

/* Real Photorealistic Brass Kuthuvilakku Oil Lamps */
.stage-lamp {
  position: absolute;
  bottom: 8px;
  z-index: 24;
  width: clamp(78px, 14vw, 150px);
  aspect-ratio: 3 / 4;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: opacity 0.8s ease, transform 1s ease;
}

.stage-lamp--left {
  left: clamp(2px, 2vw, 32px);
}

.stage-lamp--right {
  right: clamp(2px, 2vw, 32px);
}

.curtain-stage.is-opening .stage-lamp {
  opacity: 0;
  transform: translateY(18px);
}

.lamp-ambient-glow {
  display: none;
}

.lamp-real-img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse at 50% 54%, #000 40%, transparent 74%);
  mask-image: radial-gradient(ellipse at 50% 54%, #000 40%, transparent 74%);
  filter: brightness(1.08) contrast(1.45) saturate(1.15);
}

@keyframes flameFlicker {
  0% {
    transform: scale(1) rotate(-2deg);
    opacity: 0.92;
  }

  100% {
    transform: scale(1.08, 1.14) rotate(2deg);
    opacity: 1;
  }
}

@keyframes tasselSway {

  0%,
  100% {
    transform: rotate(-2deg);
  }

  50% {
    transform: rotate(2.5deg);
  }
}

/* Curtain Opening 3D Stage Curtain Transform (Reveals Page 2 Behind) */
.curtain-stage.is-opening .curtain-left {
  transform: translateX(-102%) rotateY(22deg) scaleX(0.68);
}

.curtain-stage.is-opening .curtain-right {
  transform: translateX(102%) rotateY(-22deg) scaleX(0.68);
}

/* Center Compact Royal Crest Seal & Tap Prompt */
.curtain-center-ui {
  position: relative;
  z-index: 30;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 1rem;
  text-align: center;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.curtain-stage.is-opening .curtain-center-ui {
  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;
}

.curtain-title-strip {
  pointer-events: none;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.78);
}

.curtain-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--gold-light);
  margin: 0 0 0.25rem;
}

.curtain-eyebrow span {
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.curtain-brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.22rem, 4vw, 1.8rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--silk-white);
  margin: 0;
  animation: letterGlowIn 1.4s ease-out both;
}

.curtain-trigger {
  position: relative;
  background: transparent;
  border: none;
  padding: 0;
  width: clamp(148px, 36vw, 184px);
  height: clamp(148px, 36vw, 184px);
  border-radius: 50%;
  color: var(--wine);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.68));
  transition: transform 0.35s ease;
  animation: pulseGlow 2.4s ease-in-out infinite;
}

.curtain-trigger:hover {
  transform: scale(1.05);
}

.curtain-trigger:active {
  transform: scale(0.97);
}

.seal-ring-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.seal-ribbon-svg {
  position: relative;
  z-index: 3;
  width: 66%;
  height: 66%;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
  transition: transform 0.35s ease;
}

.curtain-trigger:hover .seal-ribbon-svg {
  transform: scale(1.06);
}

.curtain-tap-label {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: clamp(0.68rem, 2vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0.1rem 0 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
  pointer-events: none;
  animation: curtainTapPulse 2.4s ease-in-out infinite;
}

@keyframes curtainTapPulse {
  0%, 100% {
    opacity: 0.72;
  }
  50% {
    opacity: 1;
  }
}

.curtain-headline {
  font-family: var(--font-cursive);
  font-size: clamp(1.65rem, 5vw, 2.45rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--gold-light);
  margin: 0.15rem 0 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
  pointer-events: none;
  animation: letterGlowIn 1.8s ease-out 0.25s both;
}

@keyframes letterGlowIn {
  0% {
    opacity: 0;
    letter-spacing: 0.22em;
    transform: translateY(10px);
    filter: blur(3px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Staggered Word / Letter Animation on Scroll */
.anim-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  filter: blur(3px);
  transition: opacity 0.65s ease, transform 0.65s ease, filter 0.65s ease;
}

.is-visible .anim-word {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.hand-pointer {
  display: inline-flex;
  animation: handNudge 1.4s ease-in-out infinite;
}

@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
  }

  50% {
    box-shadow: 0 10px 34px rgba(244, 223, 157, 0.65);
  }
}

@keyframes handNudge {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(3px, -3px);
  }
}

/* ==========================================================================
   FALLING PETALS & FLOATING MUSIC CONTROLS
   ========================================================================== */

.petal-layer {
  position: fixed;
  inset: 0;
  z-index: 950;
  pointer-events: none;
  overflow: hidden;
}

.petal {
  position: absolute;
  top: -32px;
  border-radius: 62% 38% 70% 30% / 55% 65% 35% 45%;
  opacity: 0.9;
  animation: petalFall linear forwards;
}

.petal--rose-deep {
  background: radial-gradient(circle at 35% 30%, #a32638 0%, #6e1624 58%, #3d0b14 100%);
  box-shadow: 0 3px 8px rgba(46, 10, 18, 0.35);
}

.petal--rose-velvet {
  background: radial-gradient(circle at 30% 25%, #c4364a 0%, #861d2d 55%, #51101a 100%);
  box-shadow: 0 3px 8px rgba(46, 10, 18, 0.3);
}

@keyframes petalFall {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg) rotateX(0deg);
    opacity: 0;
  }

  10% {
    opacity: 0.92;
  }

  50% {
    transform: translate3d(calc(var(--drift, 40px) * 0.5), 50vh, 0) rotate(140deg) rotateX(45deg);
    opacity: 0.88;
  }

  88% {
    opacity: 0.82;
  }

  100% {
    transform: translate3d(var(--drift, 40px), 106vh, 0) rotate(290deg) rotateX(90deg);
    opacity: 0;
  }
}

/* ==========================================================================
   FIRST SECTION: GRAND OPENING POSTER (PARAMPARAA DHOTIS SIGNATURE)
   ========================================================================== */

.opening-poster-section {
  position: relative;
  background: linear-gradient(180deg, #3f0e19 0%, #f6e7cb 18%, #f3e3c5 100%);
  padding: clamp(0rem, 2.5vw, 2.25rem) 0;
  display: flex;
  justify-content: center;
}

.opening-poster-card {
  position: relative;
  width: min(520px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border-radius: clamp(0px, 2vw, 18px);
  box-shadow: 0 22px 56px rgba(46, 10, 18, 0.28);
  border: 2px solid rgba(212, 175, 55, 0.65);
}

.opening-poster-picture {
  display: block;
  width: 100%;
}

.opening-poster-img {
  display: block;
  width: 100%;
  height: auto;
}

.poster-continue-pill {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  width: max-content;
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  background: rgba(74, 17, 29, 0.88);
  color: var(--gold-light);
  border: 1.5px solid var(--gold);
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  white-space: nowrap;
  transition: background-color 0.25s ease;
}

.poster-continue-pill:hover {
  background: var(--wine);
}

@media (min-width: 601px) {
  .opening-poster-section {
    padding: 0;
    background: #2a070f;
  }

  .opening-poster-card {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    border: none;
    box-shadow: none;
  }

  .poster-continue-pill {
    left: 14.5%;
    right: auto;
    margin: 0;
    bottom: 13.5%;
    padding: clamp(0.6rem, 1.1vw, 0.9rem) clamp(1.3rem, 2.2vw, 2.1rem);
    font-size: clamp(0.72rem, 1vw, 0.88rem);
  }

  .poster-continue-pill:hover {
    background: var(--wine);
  }
}

@media (max-width: 600px) {
  .opening-poster-section {
    padding: 0;
  }

  .opening-poster-card {
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
}

/* ==========================================================================
   SECOND SECTION: A SIGNATURE EXPERIENCE FOR THE GROOM
   ========================================================================== */

.signature-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #faf6ee;
  color: var(--ink);
}

.signature-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #faf6ee;
  overflow: hidden;
  pointer-events: none;
}

.signature-backdrop img,
.signature-backdrop::after {
  display: none;
}

/* Decorative Gold Kolam Lattice & Mandala Shapes on Ivory Backdrop */
.signature-bg-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.signature-lattice {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='68' height='68' viewBox='0 0 68 68'%3E%3Cpath d='M34 4 L64 34 L34 64 L4 34 Z' fill='none' stroke='%23B8861D' stroke-width='0.95'/%3E%3Ccircle cx='34' cy='34' r='5' fill='none' stroke='%236E1F2F' stroke-width='0.8'/%3E%3Ccircle cx='0' cy='0' r='2.5' fill='%23B8861D'/%3E%3Ccircle cx='68' cy='0' r='2.5' fill='%23B8861D'/%3E%3Ccircle cx='0' cy='68' r='2.5' fill='%23B8861D'/%3E%3Ccircle cx='68' cy='68' r='2.5' fill='%23B8861D'/%3E%3C/svg%3E");
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(ellipse at 76% 50%, rgba(0, 0, 0, 0.9) 18%, rgba(0, 0, 0, 0.25) 75%, transparent 100%);
  mask-image: radial-gradient(ellipse at 76% 50%, rgba(0, 0, 0, 0.9) 18%, rgba(0, 0, 0, 0.25) 75%, transparent 100%);
}

.signature-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}

.signature-glow--tr {
  width: clamp(220px, 32vw, 420px);
  height: clamp(220px, 32vw, 420px);
  top: -6%;
  right: -6%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.5) 0%, transparent 72%);
}

.signature-glow--bl {
  width: clamp(220px, 30vw, 400px);
  height: clamp(220px, 30vw, 400px);
  bottom: -8%;
  left: -6%;
  background: radial-gradient(circle, rgba(198, 147, 32, 0.42) 0%, transparent 72%);
}

.signature-mandala {
  position: absolute;
  width: clamp(200px, 26vw, 360px);
  height: auto;
  opacity: 0.14;
  animation: traditionMandalaSpin 95s linear infinite;
}

.signature-mandala--tr {
  top: -70px;
  right: -70px;
}

.signature-mandala--bl {
  bottom: -80px;
  left: -80px;
  animation-direction: reverse;
}

.signature-diamond {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(184, 134, 29, 0.45);
  transform: rotate(45deg);
  opacity: 0.55;
}

.signature-diamond::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(110, 31, 47, 0.38);
}

.signature-diamond--1 { top: 18%; right: 6%; }
.signature-diamond--2 { bottom: 16%; right: 7%; width: 16px; height: 16px; }

.signature-split {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100svh;
  padding: clamp(64px, 9vh, 96px) 0 clamp(88px, 12vh, 120px);
}

.signature-header {
  text-align: center;
  padding: 6px 24px 12px;
  margin-top: auto;
}

.signature-media {
  position: relative;
  flex: none;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(transparent, #000 9%, #000 91%, transparent);
}

.signature-cam {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform-origin: 50% 66%;
  will-change: transform;
}

.signature-store-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.signature-body {
  text-align: center;
  padding: 12px 24px 0;
  margin-bottom: auto;
}

.signature-eyebrow {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #9a6b13;
  margin: 0 0 6px;
}

.signature-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: normal;
  font-size: clamp(23px, 6.2vw, 34px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--wine);
  margin: 0;
}

.signature-text {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-style: normal;
  font-size: clamp(13px, 3.5vw, 15px);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  max-width: 560px;
  margin: 8px auto;
}

.signature-script {
  font-family: 'Great Vibes', 'Brush Script MT', cursive;
  font-size: clamp(27px, 7.4vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  color: #8a5e10;
  margin: 10px 0 0;
}

@media (min-width: 900px), (min-aspect-ratio: 5/4) {
  .signature-split {
    display: grid;
    grid-template-columns: 62vw 1fr;
    grid-template-rows: auto auto;
    align-content: safe center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: clamp(64px, 9vh, 108px) 0;
  }

  .signature-header,
  .signature-body {
    margin: 0;
  }

  .signature-media {
    grid-row: 1 / 3;
    grid-column: 1;
    align-self: center;
    width: 62vw;
    -webkit-mask-image:
      linear-gradient(90deg, transparent, #000 5%, #000 78%, transparent),
      linear-gradient(transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(90deg, transparent, #000 5%, #000 78%, transparent),
      linear-gradient(transparent, #000 8%, #000 92%, transparent);
    mask-composite: intersect;
  }

  .signature-header {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
    padding: 0 4vw 6px 0;
    align-self: end;
  }

  .signature-heading {
    font-size: clamp(24px, 2.5vw, 38px);
  }

  .signature-body {
    grid-column: 2;
    grid-row: 2;
    text-align: left;
    padding: 6px 4vw 0 0;
    align-self: start;
  }

  .signature-text {
    margin: 7px 0;
    font-size: clamp(12px, 1.05vw, 15px);
  }

  .signature-script {
    font-size: clamp(28px, 2.7vw, 40px);
  }
}

@media (min-width: 900px) {
  .signature-split {
    padding: clamp(110px, 14vh, 175px) 0;
  }
}

/* ==========================================================================
   THIRD SECTION: SCRATCH TO REVEAL INVITATION
   ========================================================================== */

.scratch-section {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 9vw, 6.5rem) 0 clamp(4.8rem, 9vw, 6.5rem);
  background: linear-gradient(180deg, #f6e7cb 0%, #f1dec0 50%, #f6e7cb 100%);
}

/* Pin ONLY upper drapes/bells to top & ONLY lower temples/roses to bottom */
.scratch-section::before,
.scratch-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 1;
  background-image: url("images/page2-bg.webp");
  background-repeat: no-repeat;
  background-size: 100% auto;
}

.scratch-section::before {
  top: 0;
  height: clamp(160px, 34vw, 440px);
  background-position: top center;
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
}

.scratch-section::after {
  bottom: 0;
  height: clamp(180px, 40vw, 560px);
  background-position: bottom center;
  -webkit-mask-image: linear-gradient(0deg, #000 62%, transparent 100%);
  mask-image: linear-gradient(0deg, #000 62%, transparent 100%);
}

/* Decorative Gold Kolam Lattice & Mandala Shapes on Outer Backdrop */
.scratch-bg-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.scratch-lattice {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='68' height='68' viewBox='0 0 68 68'%3E%3Cpath d='M34 4 L64 34 L34 64 L4 34 Z' fill='none' stroke='%23B8861D' stroke-width='0.95'/%3E%3Ccircle cx='34' cy='34' r='5' fill='none' stroke='%236E1F2F' stroke-width='0.8'/%3E%3Ccircle cx='0' cy='0' r='2.5' fill='%23B8861D'/%3E%3Ccircle cx='68' cy='0' r='2.5' fill='%23B8861D'/%3E%3Ccircle cx='0' cy='68' r='2.5' fill='%23B8861D'/%3E%3Ccircle cx='68' cy='68' r='2.5' fill='%23B8861D'/%3E%3C/svg%3E");
  background-size: 68px 68px;
}

.scratch-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}

.scratch-glow--left {
  width: clamp(220px, 32vw, 420px);
  height: clamp(220px, 32vw, 420px);
  top: 24%;
  left: -8%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.55) 0%, transparent 72%);
}

.scratch-glow--right {
  width: clamp(220px, 32vw, 420px);
  height: clamp(220px, 32vw, 420px);
  bottom: 22%;
  right: -8%;
  background: radial-gradient(circle, rgba(198, 147, 32, 0.45) 0%, transparent 72%);
}

.scratch-mandala {
  position: absolute;
  width: clamp(220px, 30vw, 400px);
  height: auto;
  opacity: 0.14;
  animation: traditionMandalaSpin 95s linear infinite;
}

.scratch-mandala--left {
  top: 32%;
  left: -90px;
}

.scratch-mandala--right {
  bottom: 24%;
  right: -90px;
  animation-direction: reverse;
}

.ornate-card--p2 {
  position: relative;
  z-index: 3;
  max-width: min(560px, 84vw);
  margin: 0 auto;
  padding-top: clamp(2.6rem, 5vw, 3.4rem);
  background: rgba(252, 244, 228, 0.9);
  backdrop-filter: blur(2px);
  border: 2.5px solid #c69320;
  outline: 1.5px solid rgba(184, 134, 29, 0.55);
  outline-offset: -10px;
}

.ornate-card--p2 > :not(.p2-card-shapes):not(.corner):not(.p2-lotus-seal) {
  position: relative;
  z-index: 2;
}

/* Subtle Traditional Watermark Shapes Inside Invitation Card */
.p2-card-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  overflow: hidden;
}

.p2-card-lattice {
  position: absolute;
  inset: 0;
  opacity: 0.085;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M28 3 L53 28 L28 53 L3 28 Z' fill='none' stroke='%23C69320' stroke-width='0.9'/%3E%3Ccircle cx='28' cy='28' r='4' fill='none' stroke='%236E1F2F' stroke-width='0.7'/%3E%3C/svg%3E");
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.9) 35%, transparent 92%);
  mask-image: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.9) 35%, transparent 92%);
}

.p2-card-mandala {
  position: absolute;
  top: 52%;
  left: 50%;
  width: min(440px, 108%);
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 0.14;
}

.p2-diamond {
  position: absolute;
  width: 11px;
  height: 11px;
  border: 1px solid rgba(198, 147, 32, 0.48);
  transform: rotate(45deg);
}

.p2-diamond--tl { top: 28px; left: 28px; }
.p2-diamond--tr { top: 28px; right: 28px; }
.p2-diamond--bl { bottom: 28px; left: 28px; }
.p2-diamond--br { bottom: 28px; right: 28px; }

.p2-lotus-seal {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  filter: drop-shadow(0 6px 14px rgba(110, 31, 47, 0.3));
}

.p2-heading {
  font-size: clamp(1.45rem, 4.2vw, 2.25rem);
  margin-bottom: 0.35rem;
}

.p2-brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: normal;
  font-size: clamp(1.35rem, 4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--wine);
  margin: 0.75rem 0 0.2rem;
}

.p2-flourish {
  margin: 0.35rem auto 1.1rem;
}

.p2-reveal-btn {
  padding: 0.9rem 2.25rem;
  border: 2px solid #f4df9d;
  box-shadow: 0 8px 24px rgba(110, 31, 47, 0.32), inset 0 0 12px rgba(244, 223, 157, 0.2);
}

.card-header-motif {
  display: flex;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.lead-text {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 0.5rem;
  color: var(--ink-muted);
  font-family: var(--font-italic);
  font-style: italic;
  font-size: clamp(1.08rem, 2.6vw, 1.28rem);
}

.scratch-box--heart {
  position: relative;
  width: min(440px, 98%);
  aspect-ratio: 400 / 375;
  min-height: 0;
  margin: 0 auto 1.25rem;
  border: none;
  outline: none;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 14px 28px rgba(110, 31, 47, 0.18));
  display: flex;
  align-items: center;
  justify-content: center;
}

.heart-bg-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.scratch-revealed-content {
  position: relative;
  width: 100%;
  padding: 23% 19% 29%;
  text-align: center;
  z-index: 1;
}

.revealed-quote {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: clamp(0.68rem, 2.05vw, 0.92rem);
  font-weight: 600;
  color: var(--wine);
  line-height: 1.28;
  max-width: 90%;
  margin: 0 auto 0.35rem;
}

.revealed-subquote {
  font-family: var(--font-body);
  font-size: clamp(0.55rem, 1.55vw, 0.74rem);
  color: var(--ink-muted);
  font-style: italic;
  line-height: 1.28;
  max-width: 68%;
  margin: 0 auto;
}

.scratch-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  cursor: crosshair;
  touch-action: none;
  transition: opacity 0.65s ease;
}

.scratch-canvas.is-revealed {
  opacity: 0;
  pointer-events: none;
}

.scratch-actions {
  text-align: center;
}

.scratch-hint {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

/* Golden Sparkle Burst */
.sparkle-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.sparkle-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff8dc, #d4af37);
  box-shadow: 0 0 10px #f4df9d;
  animation: sparklePop 1.1s ease-out forwards;
}

@keyframes sparklePop {
  0% {
    transform: scale(0) translateY(0);
    opacity: 1;
  }

  60% {
    transform: scale(1.25) translateY(-14px);
    opacity: 0.95;
  }

  100% {
    transform: scale(0.3) translateY(-28px);
    opacity: 0;
  }
}

@media (min-width: 900px) {
  .ornate-card--p2 {
    max-width: min(1020px, 92vw);
    padding: clamp(3rem, 4.5vw, 3.75rem) clamp(2.4rem, 4vw, 3.5rem);
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    column-gap: clamp(2.25rem, 4vw, 3.75rem);
    align-items: center;
  }

  .ornate-card--p2::before {
    content: "";
    position: absolute;
    left: 50.5%;
    top: 12%;
    bottom: 12%;
    width: 1px;
    background: linear-gradient(
      180deg,
      transparent,
      rgba(198, 147, 32, 0.55) 20%,
      rgba(198, 147, 32, 0.55) 80%,
      transparent
    );
    pointer-events: none;
    z-index: 2;
  }

  .ornate-card--p2 .p2-card-mandala {
    top: 50%;
    width: min(540px, 58%);
  }

  .ornate-card--p2 .p2-heading {
    grid-column: 1;
    grid-row: 1;
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  }

  .ornate-card--p2 .gold-divider--dark:not(.p2-flourish) {
    grid-column: 1;
    grid-row: 2;
    margin: 0.65rem auto;
  }

  .ornate-card--p2 .lead-text {
    grid-column: 1;
    grid-row: 3;
    margin: 0 auto 0.25rem;
  }

  .ornate-card--p2 .p2-brand {
    grid-column: 1;
    grid-row: 4;
    margin: 0.65rem 0 0.2rem;
  }

  .ornate-card--p2 .p2-flourish {
    grid-column: 1;
    grid-row: 5;
    margin: 0.35rem auto 1.15rem;
  }

  .ornate-card--p2 .countdown-wrapper {
    grid-column: 1;
    grid-row: 6;
    margin-top: 0.25rem;
    padding: 1.15rem 0.9rem;
  }

  .ornate-card--p2 .countdown-num {
    font-size: clamp(1.3rem, 2vw, 1.75rem);
  }

  .ornate-card--p2 .countdown-unit {
    font-size: 0.64rem;
  }

  .ornate-card--p2 .scratch-box--heart {
    grid-column: 2;
    grid-row: 1 / 6;
    align-self: center;
    width: min(390px, 100%);
    margin: 0 auto;
  }

  .ornate-card--p2 .scratch-actions {
    grid-column: 2;
    grid-row: 6;
    align-self: center;
    margin-top: 0.35rem;
  }
}

/* ==========================================================================
   PAGE 3: GRAND OPENING ANNOUNCEMENT
   ========================================================================== */

.announcement-section {
  position: relative;
  overflow: hidden;
  background: var(--wine-deep);
  color: var(--ivory);
  padding: 5.5rem 0;
}

.announcement-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.announcement-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
  animation: slowKenBurns 22s ease-in-out infinite alternate;
}

.announcement-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(74, 17, 29, 0.88), rgba(46, 10, 18, 0.92));
}

@keyframes slowKenBurns {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.09);
  }
}

.announcement-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.announcement-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0;
  color: var(--silk-white);
}

/* ==========================================================================
   FOURTH SECTION: TAP TO REVEAL THE DATE & TIME
   ========================================================================== */

.date-reveal-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--ivory) 0%, var(--cream) 55%, var(--ivory) 100%);
}

.date-bg-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.date-waves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

.date-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
}

.date-glow--left {
  width: clamp(220px, 32vw, 420px);
  height: clamp(220px, 32vw, 420px);
  top: 10%;
  left: -8%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.55) 0%, transparent 72%);
}

.date-glow--right {
  width: clamp(220px, 32vw, 420px);
  height: clamp(220px, 32vw, 420px);
  bottom: 8%;
  right: -8%;
  background: radial-gradient(circle, rgba(198, 147, 32, 0.45) 0%, transparent 72%);
}

.date-lotus {
  position: absolute;
  width: clamp(220px, 30vw, 400px);
  height: auto;
  opacity: 0.09;
  animation: traditionMandalaSpin 110s linear infinite;
}

.date-lotus--left {
  top: -55px;
  left: -75px;
}

.date-lotus--right {
  bottom: -65px;
  right: -75px;
  animation-direction: reverse;
}

.date-reveal-container {
  position: relative;
  z-index: 1;
}

.date-card-lotus {
  position: absolute;
  top: 56%;
  left: 50%;
  width: min(380px, 90%);
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 0.07;
  z-index: 0;
  pointer-events: none;
}

.date-reveal-card {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  min-height: 410px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.date-pre-state,
.date-post-state {
  position: relative;
  z-index: 2;
  width: 100%;
}

.date-stars {
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.4em;
  margin: 0 0 1rem;
}

.date-pre-heading {
  font-size: clamp(1.65rem, 4.6vw, 2.45rem);
  margin-bottom: 0.85rem;
}

.date-pre-lead {
  max-width: 460px;
  margin-bottom: 2rem;
}

.gold-sphere-btn {
  width: clamp(128px, 30vw, 152px);
  height: clamp(128px, 30vw, 152px);
  border-radius: 50%;
  border: 2px solid #f7e5a3;
  background: radial-gradient(circle at 32% 28%, #f9eab9 0%, #d4af37 48%, #a67c1e 85%, #845d0d 100%);
  color: var(--wine-deep);
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  box-shadow:
    0 18px 38px rgba(132, 93, 13, 0.34),
    inset 0 4px 12px rgba(255, 255, 255, 0.55);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  animation: pulseGlow 2.2s ease-in-out infinite;
}

.gold-sphere-btn:hover {
  transform: scale(1.06);
}

.gold-sphere-btn:active {
  transform: scale(0.95);
}

.gold-sphere-btn.is-popping {
  animation: spherePop 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes spherePop {
  0% { transform: scale(1); opacity: 1; }
  45% { transform: scale(1.24); opacity: 0.95; }
  100% { transform: scale(0.4); opacity: 0; }
}

.sphere-star {
  font-size: 1.2rem;
  color: var(--wine);
}

.sphere-label {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.date-tap-caption {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #9a6b13;
  margin: 1.5rem 0 0;
}

/* Revealed Date & Time Card */
.date-post-state {
  animation: popCardIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes popCardIn {
  0% { opacity: 0; transform: scale(0.86) translateY(12px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.date-eyebrow {
  letter-spacing: 0.26em;
  color: #9a6b13;
  margin-bottom: 0.6rem;
}

.date-big-gold {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: normal;
  font-size: clamp(1.65rem, 5.2vw, 2.85rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 0.55rem;
  background: linear-gradient(135deg, #9a6b13 0%, #d4af37 45%, #8a5e10 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.date-day-time {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.8vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--wine);
  margin: 0;
}

.dot-sep {
  margin: 0 0.5rem;
  color: var(--gold);
}

.date-brand-sub {
  font-family: var(--font-display);
  font-size: clamp(0.86rem, 2.5vw, 1.08rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--wine);
  margin: 0.25rem 0 0.75rem;
}

.date-welcome-note {
  max-width: 440px;
  margin: 0 auto 1.5rem;
}

/* Celebratory Pop Burst Particles */
.date-pop-burst {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.pop-confetti {
  position: absolute;
  left: 50%;
  top: 56%;
  width: 11px;
  height: 15px;
  border-radius: 65% 35% 70% 30%;
  animation: confettiBurst 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes confettiBurst {
  0% {
    transform: translate(-50%, -50%) scale(0.4) rotate(0deg);
    opacity: 1;
  }
  70% {
    opacity: 0.95;
  }
  100% {
    transform: translate(calc(-50% + var(--tx, 0px)), calc(-50% + var(--ty, 0px))) scale(1) rotate(var(--rot, 240deg));
    opacity: 0;
  }
}

.showroom-highlight-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}

.showroom-highlight-frame:hover img {
  transform: scale(1.05);
}

/* ==========================================================================
   PAGE 4: OPENING CEREMONY DETAILS & COUNTDOWN
   ========================================================================== */

.details-section {
  background: linear-gradient(180deg, var(--ivory) 0%, var(--beige) 100%);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 1.75rem;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  background: rgba(250, 246, 238, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 12px;
}

.detail-item--full {
  grid-column: 1 / -1;
}

.detail-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--wine);
  color: var(--gold-light);
  display: grid;
  place-items: center;
}

.detail-label {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin-bottom: 0.2rem;
}

.detail-value {
  font-size: 0.98rem;
  color: var(--ink);
  font-weight: 600;
}

.countdown-wrapper {
  margin-top: 1.75rem;
  padding: clamp(1.1rem, 3vw, 1.65rem) clamp(0.65rem, 2.5vw, 1.25rem);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--wine) 0%, var(--wine-deep) 100%);
  color: var(--ivory);
  text-align: center;
  border: 1.5px solid var(--gold);
}

.countdown-title {
  font-size: clamp(0.66rem, 2vw, 0.78rem);
  letter-spacing: clamp(0.12em, 0.4vw, 0.22em);
  color: var(--gold-light);
  margin: 0 0 0.85rem;
  font-weight: 600;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.35rem, 1.5vw, 0.75rem);
  max-width: 520px;
  margin: 0 auto;
}

.countdown-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(232, 201, 117, 0.45);
  border-radius: 10px;
  padding: 0.65rem 0.2rem;
}

.countdown-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 4vw, 2.1rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.1;
}

.countdown-unit {
  display: block;
  font-size: clamp(0.52rem, 1.55vw, 0.72rem);
  letter-spacing: clamp(0.03em, 0.15vw, 0.12em);
  text-transform: uppercase;
  color: rgba(250, 246, 238, 0.88);
  margin-top: 0.2rem;
  white-space: nowrap;
}

.countdown-open-banner {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 700;
  color: var(--gold-light);
  margin: 0.5rem 0 0;
}

.calendar-actions {
  margin-top: 1.65rem;
  text-align: center;
}

/* ==========================================================================
   PAGE 5: OUR TRADITION / TEMPLE-ARCH ALCOVE GALLERY
   ========================================================================== */

.tradition-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse at 50% 25%, #841421 0%, #65121d 52%, #3f0910 100%);
  color: #fbf4e4;
  padding: clamp(4.25rem, 8vw, 6.25rem) 0;
}

.tradition-bg-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.tradition-lattice {
  position: absolute;
  inset: 0;
  opacity: 0.11;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M32 4 L60 32 L32 60 L4 32 Z' fill='none' stroke='%23D2B068' stroke-width='0.9'/%3E%3Ccircle cx='32' cy='32' r='5' fill='none' stroke='%23F4DF9D' stroke-width='0.8'/%3E%3Ccircle cx='0' cy='0' r='3' fill='%23D2B068'/%3E%3Ccircle cx='64' cy='0' r='3' fill='%23D2B068'/%3E%3Ccircle cx='0' cy='64' r='3' fill='%23D2B068'/%3E%3Ccircle cx='64' cy='64' r='3' fill='%23D2B068'/%3E%3C/svg%3E");
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.9) 25%, transparent 88%);
  mask-image: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.9) 25%, transparent 88%);
}

.tradition-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(55px);
  opacity: 0.26;
}

.tradition-orb--left {
  width: clamp(240px, 34vw, 440px);
  height: clamp(240px, 34vw, 440px);
  top: 8%;
  left: -8%;
  background: radial-gradient(circle, rgba(210, 176, 104, 0.65) 0%, rgba(168, 131, 52, 0.12) 60%, transparent 75%);
}

.tradition-orb--right {
  width: clamp(260px, 36vw, 480px);
  height: clamp(260px, 36vw, 480px);
  bottom: 6%;
  right: -10%;
  background: radial-gradient(circle, rgba(244, 223, 157, 0.55) 0%, rgba(168, 131, 52, 0.1) 60%, transparent 75%);
}

.tradition-mandala {
  position: absolute;
  width: clamp(240px, 32vw, 420px);
  height: auto;
  opacity: 0.16;
  animation: traditionMandalaSpin 90s linear infinite;
}

.tradition-mandala--top {
  top: -70px;
  right: -70px;
}

.tradition-mandala--bottom {
  bottom: -85px;
  left: -85px;
  animation-direction: reverse;
}

@keyframes traditionMandalaSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.tradition-diamond {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(244, 223, 157, 0.42);
  transform: rotate(45deg);
  opacity: 0.55;
}

.tradition-diamond::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(210, 176, 104, 0.5);
}

.tradition-diamond--1 { top: 14%; left: 7%; }
.tradition-diamond--2 { top: 34%; right: 6%; width: 18px; height: 18px; }
.tradition-diamond--3 { bottom: 24%; left: 5%; width: 16px; height: 16px; }
.tradition-diamond--4 { bottom: 12%; right: 8%; }

.tradition-container {
  position: relative;
  z-index: 1;
  width: min(1160px, 100%);
}

.tradition-section .section-heading {
  font-size: clamp(1.56rem, 3.9vw, 2.45rem);
}

.tradition-section .section-subtitle {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: clamp(0.84rem, 2.1vw, 1.02rem);
  max-width: 100%;
  color: rgba(247, 236, 210, 0.9);
}

@media (min-width: 520px) {
  .tradition-section .section-subtitle {
    white-space: nowrap;
  }
}

.arch-grid {
  display: grid;
  grid-template-columns: minmax(0, 380px);
  justify-content: center;
  align-items: stretch;
  gap: 1.85rem;
  margin-top: 2.25rem;
}

.arch-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 1.3rem 1.05rem 1.65rem;
  border-radius: 220px 220px 18px 18px;
  background:
    radial-gradient(circle at 50% 18%, rgba(244, 223, 157, 0.14) 0%, transparent 55%),
    linear-gradient(180deg, rgba(44, 6, 12, 0.72) 0%, rgba(30, 4, 8, 0.88) 100%);
  border: 1px solid rgba(210, 176, 104, 0.36);
  box-shadow: 0 20px 44px rgba(14, 2, 5, 0.45);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.arch-card:hover {
  border-color: rgba(210, 176, 104, 0.85);
  box-shadow:
    0 -8px 30px rgba(210, 176, 104, 0.16),
    0 24px 52px rgba(14, 2, 5, 0.62);
}

.arch-frame {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: 16 / 17;
  border-radius: 200px 200px 12px 12px;
  overflow: hidden;
  border: 1.5px solid rgba(210, 176, 104, 0.72);
  background: #2b050a;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.45);
}

.arch-frame::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 192px 192px 8px 8px;
  border: 1px solid rgba(244, 223, 157, 0.32);
  pointer-events: none;
}

.arch-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.arch-card:hover .arch-img {
  transform: scale(1.06);
}

.arch-num {
  position: relative;
  z-index: 2;
  margin-top: -15px;
  margin-bottom: 0.75rem;
  min-width: 36px;
  height: 30px;
  padding: 0 0.65rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #4e0c16;
  border: 1.5px solid #d2b068;
  color: #f4df9d;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

.arch-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 0.45rem;
}

.arch-tag {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(210, 176, 104, 0.9);
  margin: 0 0 0.35rem;
}

.arch-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: normal;
  font-weight: 600;
  font-size: clamp(1.16rem, 2.2vw, 1.38rem);
  line-height: 1.24;
  color: #d2b068;
  margin: 0 0 0.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.arch-desc {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 300;
  font-size: 0.84rem;
  line-height: 1.64;
  color: rgba(247, 236, 210, 0.9);
  margin: 0;
  padding-top: 0.25rem;
}

.arch-footer-script {
  font-family: 'Great Vibes', 'Brush Script MT', cursive;
  font-size: clamp(1.85rem, 4.2vw, 2.5rem);
  color: #d2b068;
  text-align: center;
  margin: clamp(3rem, 6vw, 4.5rem) 0 0;
  line-height: 1.2;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

@media (min-width: 640px) {
  .arch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.25rem 2rem;
  }
}

@media (min-width: 980px) {
  .arch-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.75rem 2.5rem;
  }
}

@media (max-width: 639px) {
  .arch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem 0.9rem;
    margin-top: 1.75rem;
  }

  .arch-card {
    padding: 0.8rem 0.52rem 1.1rem;
    border-radius: 140px 140px 14px 14px;
  }

  .arch-frame::after {
    inset: 4px;
  }

  .arch-num {
    margin-top: -12px;
    margin-bottom: 0.45rem;
    min-width: 28px;
    height: 23px;
    padding: 0 0.45rem;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .arch-info {
    padding: 0 0.15rem;
  }

  .arch-tag {
    font-size: 7.5px;
    letter-spacing: 0.13em;
    margin-bottom: 0.25rem;
  }

  .arch-title {
    font-size: clamp(0.88rem, 3.6vw, 1.06rem);
    margin-bottom: 0.3rem;
  }

  .arch-desc {
    font-size: 0.72rem;
    line-height: 1.45;
    padding-top: 0.25rem;
  }
}

/* ==========================================================================
   PAGE 6: A GLIMPSE OF OUR STORE GALLERY & LIGHTBOX
   ========================================================================== */

.gallery-section {
  background: var(--ivory);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.gallery-item {
  position: relative;
  padding: 0;
  border: 2px solid rgba(212, 175, 55, 0.55);
  border-radius: 14px;
  overflow: hidden;
  background: var(--cream);
  cursor: pointer;
  aspect-ratio: 4 / 3;
  box-shadow: 0 10px 26px rgba(46, 16, 23, 0.1);
}

.gallery-item--wide {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20, 4, 8, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-stage {
  max-width: min(920px, 90vw);
  max-height: 82vh;
  text-align: center;
}

.lightbox-stage img {
  max-width: 100%;
  max-height: 74vh;
  object-fit: contain;
  border-radius: 10px;
  border: 1.5px solid rgba(212, 175, 55, 0.7);
  margin: 0 auto;
}

.lightbox-caption {
  color: var(--gold-light);
  font-size: 0.9rem;
  margin-top: 0.85rem;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(232, 201, 117, 0.6);
  background: rgba(110, 31, 47, 0.8);
  color: var(--gold-light);
  font-size: 1.75rem;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(232, 201, 117, 0.6);
  background: rgba(110, 31, 47, 0.8);
  color: var(--gold-light);
  font-size: 1.85rem;
  cursor: pointer;
}

.lightbox-nav--prev {
  left: 1rem;
}

.lightbox-nav--next {
  right: 1rem;
}

/* ==========================================================================
   SHOWROOM TOUR: 3D PERSPECTIVE COVERFLOW CAROUSEL (shop_images)
   ========================================================================== */

.tour-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse at 50% 35%, #841421 0%, #65121d 52%, #3f0910 100%);
  color: #fbf4e4;
  padding: clamp(4.25rem, 8vw, 6.25rem) 0;
}

.tour-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.tour-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(36px) brightness(0.45) saturate(1.1);
  transform: scale(1.32);
  opacity: 0.22;
  mix-blend-mode: soft-light;
}

.tour-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 45%, rgba(132, 20, 33, 0.2) 20%, rgba(56, 8, 15, 0.78) 100%);
}

.tour-container {
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
}

.tour-section .section-heading {
  font-size: clamp(1.45rem, 3.6vw, 2.3rem);
}

.tour-subtitle {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: clamp(0.86rem, 2vw, 1rem);
  color: rgba(247, 236, 210, 0.9);
  max-width: 640px;
}

.coverflow-viewer {
  margin-top: 1.5rem;
}

.coverflow-stage {
  position: relative;
  width: 100%;
  height: clamp(230px, 38vw, 440px);
  perspective: 1200px;
  transform-style: preserve-3d;
  overflow: visible;
  touch-action: pan-y;
}

.coverflow-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(640px, 68%);
  aspect-ratio: 16 / 9;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #2b050a;
  border: 1.5px solid rgba(210, 176, 104, 0.42);
  box-shadow: 0 22px 52px rgba(12, 2, 4, 0.62);
  cursor: pointer;
  transform-origin: center center;
  transition:
    transform 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.52s ease,
    filter 0.52s ease,
    border-color 0.4s ease,
    box-shadow 0.45s ease;
}

.coverflow-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.coverflow-slide[data-pos="center"] {
  z-index: 5;
  opacity: 1;
  filter: brightness(1);
  border-color: #d2b068;
  box-shadow: 0 28px 66px rgba(10, 1, 3, 0.75), 0 0 0 1px rgba(244, 223, 157, 0.32);
  transform: translate(-50%, -50%) translateX(0) translateZ(0) rotateY(0deg) scale(1);
}

.coverflow-slide[data-pos="prev"] {
  z-index: 4;
  opacity: 0.74;
  filter: brightness(0.65);
  transform: translate(-50%, -50%) translateX(-56%) translateZ(-140px) rotateY(26deg) scale(0.8);
}

.coverflow-slide[data-pos="next"] {
  z-index: 4;
  opacity: 0.74;
  filter: brightness(0.65);
  transform: translate(-50%, -50%) translateX(56%) translateZ(-140px) rotateY(-26deg) scale(0.8);
}

.coverflow-slide[data-pos="far-prev"] {
  z-index: 2;
  opacity: 0.32;
  filter: brightness(0.45);
  transform: translate(-50%, -50%) translateX(-92%) translateZ(-260px) rotateY(36deg) scale(0.62);
}

.coverflow-slide[data-pos="far-next"] {
  z-index: 2;
  opacity: 0.32;
  filter: brightness(0.45);
  transform: translate(-50%, -50%) translateX(92%) translateZ(-260px) rotateY(-36deg) scale(0.62);
}

.coverflow-slide[data-pos="hidden"] {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) translateZ(-320px) scale(0.5);
}

.coverflow-footer {
  margin-top: 1.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.1rem;
}

.coverflow-counter {
  display: inline-block;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.26em;
  color: #f4df9d;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: rgba(34, 5, 10, 0.72);
  border: 1px solid rgba(210, 176, 104, 0.45);
  margin-bottom: 0.55rem;
}

.coverflow-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: normal;
  font-weight: 600;
  font-size: clamp(1.22rem, 2.8vw, 1.65rem);
  line-height: 1.22;
  color: #d2b068;
  margin: 0 0 0.35rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.coverflow-desc {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(0.82rem, 1.6vw, 0.95rem);
  line-height: 1.55;
  color: rgba(247, 236, 210, 0.92);
  margin: 0;
  max-width: 56ch;
}

.coverflow-controls {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.coverflow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(210, 176, 104, 0.78);
  background: rgba(34, 5, 10, 0.72);
  color: #f4df9d;
  font-size: 1.45rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.coverflow-btn:hover {
  background: rgba(132, 20, 33, 0.92);
  transform: scale(1.06);
}

.coverflow-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.coverflow-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(244, 223, 157, 0.32);
  cursor: pointer;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.coverflow-dot.is-active {
  width: 24px;
  background: #d2b068;
}

@media (max-width: 639px) {
  .coverflow-stage {
    height: clamp(210px, 54vw, 280px);
  }

  .coverflow-slide {
    width: 80%;
    border-radius: 13px;
  }

  .coverflow-slide[data-pos="prev"] {
    transform: translate(-50%, -50%) translateX(-44%) translateZ(-120px) rotateY(24deg) scale(0.76);
  }

  .coverflow-slide[data-pos="next"] {
    transform: translate(-50%, -50%) translateX(44%) translateZ(-120px) rotateY(-24deg) scale(0.76);
  }

  .coverflow-slide[data-pos="far-prev"],
  .coverflow-slide[data-pos="far-next"] {
    opacity: 0;
    pointer-events: none;
  }
}

/* ==========================================================================
   PAGE 7: VISIT OUR STORE
   ========================================================================== */

.location-section {
  background: linear-gradient(180deg, var(--cream) 0%, var(--ivory) 100%);
}

.location-pin-art {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.location-card .section-heading {
  font-size: clamp(1.38rem, 3.4vw, 2.15rem);
}

.location-card .brand-wordmark {
  font-size: clamp(1.05rem, 2.5vw, 1.48rem);
  letter-spacing: 0.11em;
}

.location-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
}

.loc-row {
  margin-bottom: 1rem;
}

.loc-label {
  display: block;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-muted);
}

.loc-val {
  margin: 0.25rem 0 0;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.68;
  font-variant-numeric: lining-nums;
  color: var(--ink);
  white-space: pre-line;
}

.loc-link {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s ease;
}

.loc-link:hover {
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.location-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.map-frame-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(212, 175, 55, 0.7);
  min-height: 270px;
  background: var(--beige);
}

.map-frame-wrap iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

/* ==========================================================================
   PAGE 8: GRAND CLOSING
   ========================================================================== */

.closing-section {
  position: relative;
  isolation: isolate;
  background: radial-gradient(circle at center, #7b2335 0%, #440e19 100%);
  color: var(--ivory);
  text-align: center;
  padding: 5.5rem 0;
  overflow: hidden;
}

.closing-bg-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.closing-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.24;
}

.closing-glow--left {
  width: clamp(220px, 32vw, 420px);
  height: clamp(220px, 32vw, 420px);
  top: -10%;
  left: -8%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.55) 0%, transparent 72%);
}

.closing-glow--right {
  width: clamp(220px, 32vw, 420px);
  height: clamp(220px, 32vw, 420px);
  bottom: -10%;
  right: -8%;
  background: radial-gradient(circle, rgba(244, 223, 157, 0.5) 0%, transparent 72%);
}

.closing-sunburst {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(420px, 68vw, 880px);
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 0.14;
  animation: closingSunburstSpin 120s linear infinite;
}

@keyframes closingSunburstSpin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.closing-star {
  position: absolute;
  color: #f4df9d;
  font-size: clamp(0.75rem, 1.5vw, 1.05rem);
  opacity: 0.45;
  text-shadow: 0 0 12px rgba(244, 223, 157, 0.7);
  animation: closingStarTwinkle 3.4s ease-in-out infinite;
}

.closing-star--1 { top: 16%; left: 10%; animation-delay: 0s; }
.closing-star--2 { top: 24%; right: 12%; animation-delay: 0.9s; }
.closing-star--3 { top: 52%; left: 6%; animation-delay: 1.7s; }
.closing-star--4 { top: 56%; right: 7%; animation-delay: 2.3s; }
.closing-star--5 { bottom: 18%; left: 14%; animation-delay: 1.2s; }
.closing-star--6 { bottom: 16%; right: 14%; animation-delay: 2.8s; }

@keyframes closingStarTwinkle {
  0%, 100% {
    opacity: 0.25;
    transform: scale(0.85);
  }
  50% {
    opacity: 0.72;
    transform: scale(1.15);
  }
}

.closing-border-box {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem);
  border: 1.5px solid rgba(212, 175, 55, 0.68);
  border-radius: 20px;
  background: rgba(46, 10, 18, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.closing-border-box > :not(.closing-card-shapes) {
  position: relative;
  z-index: 2;
}

.closing-card-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  overflow: hidden;
}

.closing-diamond {
  position: absolute;
  width: 11px;
  height: 11px;
  border: 1px solid rgba(244, 223, 157, 0.45);
  transform: rotate(45deg);
}

.closing-diamond::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(210, 176, 104, 0.5);
}

.closing-diamond--tl { top: 20px; left: 20px; }
.closing-diamond--tr { top: 20px; right: 20px; }
.closing-diamond--bl { bottom: 20px; left: 20px; }
.closing-diamond--br { bottom: 20px; right: 20px; }

.closing-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: normal;
  font-weight: 600;
  font-size: clamp(1.38rem, 3.4vw, 2.15rem);
  color: var(--gold-light);
  margin: 0 0 0.75rem;
  line-height: 1.28;
}

.closing-subheading {
  font-size: 1rem;
  letter-spacing: 0.14em;
  color: var(--silk-white);
  margin: 0;
}

.closing-signature {
  font-family: var(--font-cursive);
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  color: var(--gold-light);
  margin: 0 0 2rem;
  line-height: 1.35;
}

.closing-signature strong {
  display: inline-block;
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(0.88rem, 3.2vw, 1.32rem);
  font-weight: 700;
  letter-spacing: clamp(0.06em, 0.8vw, 0.14em);
  color: var(--silk-white);
}

/* Scroll Reveal */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Tablet & Desktop)
   ========================================================================== */

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-item--wide {
    grid-column: span 2;
    aspect-ratio: auto;
  }

  .location-info-grid {
    grid-template-columns: 1fr 1.1fr;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 3.25rem 0;
  }

  .details-grid {
    grid-template-columns: 1fr;
  }

  .stage-lamp {
    width: 72px;
    bottom: 6px;
  }

  .floral-toran {
    height: 115px;
  }

  .curtain-tassel {
    top: 44%;
  }

  .curtain-tassel--left {
    right: 32%;
  }

  .curtain-tassel--right {
    left: 32%;
  }

  .ornate-card--p2 {
    padding: 2.3rem 0.85rem 1.75rem;
  }

  .countdown-grid {
    gap: 0.45rem;
  }

  .location-cta-group {
    flex-direction: column;
  }

  .location-cta-group .btn {
    width: 100%;
  }

  .lightbox-nav {
    width: 38px;
    height: 38px;
    font-size: 1.45rem;
  }

  .lightbox-nav--prev {
    left: 0.5rem;
  }

  .lightbox-nav--next {
    right: 0.5rem;
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.15s !important;
    scroll-behavior: auto !important;
  }

  .petal-layer,
  .gold-dust-layer {
    display: none;
  }
}