:root {
  --e: cubic-bezier(0.22, 1, 0.36, 1);
  --ox: #4a0a1a;
  --ox2: #2b0510;
  --ox3: #1b0309;
  --ox-glow: #6b1228;
  --gold: #cfa84f;
  --gold-hi: #ebd08b;
  --cream: #f4e8cb;
  --paper: #f4e8cb;
  --ivory: #fffaf0;
  --ink: #2a0710;
  --acc: #79540f;
  --ln: rgba(121, 84, 15, 0.28);
  --nav-h: 58px;
  box-sizing: border-box;
}

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

html {
  scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 74px);
  -webkit-text-size-adjust: 100%;
  background: var(--ox2);
  overflow-x: clip;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 300 18px/1.65 'Jost', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

body.lock {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-weight: 500;
  line-height: 1.06;
  margin: 0;
  letter-spacing: -0.015em;
}

html[lang="hi"] h1,
html[lang="hi"] h2,
html[lang="hi"] h3,
html[lang="hi"] .sm,
html[lang="hi"] .nav-brand,
html[lang="hi"] .ev-title,
html[lang="hi"] .pol h3 {
  font-family: 'Tiro Devanagari Hindi', serif;
  letter-spacing: 0;
}

html[lang="hi"] body {
  font-family: 'Tiro Devanagari Hindi', 'Jost', system-ui, sans-serif;
}

h2 {
  font-size: clamp(36px, 6.6vw, 88px);
}

p {
  margin: 0;
}

[hidden] {
  display: none !important;
}

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

.dark {
  background: var(--ox2);
  color: var(--cream);
  --acc: var(--gold);
  --ln: rgba(207, 168, 79, 0.35);
}

section {
  position: relative;
  padding: clamp(82px, 12vw, 152px) 20px;
}

section:not(.dark) {
  background: var(--paper);
}

section > .w,
.gal-head,
.gw,
.venue .w,
footer > * {
  position: relative;
  z-index: 5;
}

.w {
  max-width: 1120px;
  margin: 0 auto;
}

.c {
  text-align: center;
}

.eb {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--acc);
  margin-bottom: 18px;
}

.ln {
  display: block;
  overflow: hidden;
  padding: 0.06em 0 0.14em;
}

.ln > span {
  display: block;
}

.gh {
  font-family: 'Tiro Devanagari Hindi', serif;
  color: var(--gold);
  font-size: 20px;
  letter-spacing: 0.02em;
}

.mut {
  opacity: 0.84;
  margin-top: 16px;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  position: fixed;
  left: 12px;
  top: 12px;
  background: var(--ivory);
  color: var(--ox2);
  padding: 10px 16px;
  border-radius: 999px;
  z-index: 200;
  font-weight: 500;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

section:not(.dark) a:focus-visible,
section:not(.dark) button:focus-visible,
section:not(.dark) input:focus-visible,
section:not(.dark) textarea:focus-visible,
section:not(.dark) [tabindex]:focus-visible {
  outline-color: var(--acc);
}

label.opt:has(input:focus-visible) {
  border-color: var(--acc);
  box-shadow: 0 0 0 2px rgba(121, 84, 15, 0.35);
}

/* Editorial Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 26px;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  font: 400 15px/1.2 'Jost', 'Tiro Devanagari Hindi', sans-serif;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  border-radius: 999px;
  transition: transform 0.45s var(--e), background-color 0.35s var(--e), color 0.35s var(--e), border-color 0.35s var(--e);
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--gold);
  color: var(--ox2);
}

.btn:active {
  transform: scale(0.97);
}

.btn.fill {
  background: var(--gold);
  color: var(--ox2);
  border-color: var(--gold);
  font-weight: 500;
}

.btn.fill:hover {
  background: var(--gold-hi);
  border-color: var(--gold-hi);
}

section:not(.dark) .btn {
  border-color: var(--acc);
  color: var(--acc);
}

section:not(.dark) .btn:hover {
  background: var(--acc);
  color: var(--ivory);
}

section:not(.dark) .btn.fill {
  background: var(--ox);
  color: var(--cream);
  border-color: var(--ox);
}

section:not(.dark) .btn.fill:hover {
  background: var(--ox2);
  border-color: var(--ox2);
}

/* 0. Floating Chrome, Progress & FX Stage */
#bar {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-hi), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  z-index: 95;
  pointer-events: none;
}

#fx-stage {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

body.on-gate #fx-stage {
  z-index: 82;
}

/* Custom Royal Fine-Pointer Cursor */
.royal-cur {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 140;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  html.has-royal-cursor,
  html.has-royal-cursor * {
    cursor: none !important;
  }

  html.has-royal-cursor input,
  html.has-royal-cursor textarea {
    cursor: text !important;
  }

  .royal-cur {
    display: block;
    opacity: 0;
    transition: opacity 0.25s ease;
  }

  .royal-cur.is-visible {
    opacity: 1;
  }

  .cur-pos {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    pointer-events: none;
    will-change: transform;
  }

  .cur-ring {
    position: absolute;
    top: -18px;
    left: -18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(244, 185, 66, 0.84);
    background: radial-gradient(circle, rgba(207, 168, 79, 0.1), transparent 72%);
    box-shadow: 0 0 0 1px rgba(43, 5, 16, 0.28), 0 0 16px rgba(207, 168, 79, 0.25);
    transform-origin: center center;
    transform: scale(1);
    will-change: transform;
    transition: transform 0.22s var(--e), border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .cur-dot {
    position: absolute;
    top: -3.5px;
    left: -3.5px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff6d9;
    box-shadow: 0 0 0 1.5px rgba(43, 5, 16, 0.55), 0 0 10px rgba(244, 185, 66, 0.92);
    transform-origin: center center;
    transform: scale(1);
    will-change: transform;
    transition: transform 0.16s var(--e), background-color 0.16s ease;
  }

  .royal-cur.is-hover .cur-ring {
    transform: scale(1.45);
    border-color: var(--gold-hi);
    background: radial-gradient(circle, rgba(244, 185, 66, 0.15), transparent 72%);
    box-shadow: 0 0 0 1px rgba(43, 5, 16, 0.32), 0 0 22px rgba(244, 185, 66, 0.36);
  }

  .royal-cur.is-hover .cur-dot {
    transform: scale(1.15);
    background: #ffffff;
  }

  .royal-cur.is-press .cur-ring {
    transform: scale(0.8);
    border-color: #fff3cc;
    background: radial-gradient(circle, rgba(244, 185, 66, 0.26), transparent 74%);
  }

  .royal-cur.is-text {
    opacity: 0;
  }
}

#nav {
  position: fixed;
  z-index: 65;
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  left: 10px;
  right: 10px;
  max-width: min(calc(100vw - 20px), 700px);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 18px;
  border-radius: 999px;
  background: rgba(43, 5, 16, 0.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(207, 168, 79, 0.38);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
  color: var(--cream);
}

.nav-brand {
  font-family: 'Bodoni Moda', serif;
  font-size: 18px;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.06em;
  white-space: nowrap;
  flex-shrink: 0;
}

#nav .nb {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

#nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(207, 168, 79, 0.45);
  background: rgba(255, 250, 240, 0.04);
  color: var(--gold);
  font: 500 13px/1 'Jost', 'Tiro Devanagari Hindi', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.25s var(--e), color 0.25s var(--e), border-color 0.25s var(--e), transform 0.2s var(--e);
}

#nav button:hover {
  background: rgba(207, 168, 79, 0.16);
  border-color: var(--gold);
}

#nav button:active {
  transform: scale(0.95);
}

#nav #mbtn {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ox2);
  padding: 0 16px;
}

#nav #mbtn:hover {
  background: var(--gold-hi);
}

#nav #musicBtn[aria-pressed="true"] {
  background: rgba(207, 168, 79, 0.2);
  border-color: var(--gold-hi);
  color: var(--gold-hi);
}

.nav-svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* 3-bar Audio Equalizer */
.eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
  width: 12px;
}

.eq i {
  display: block;
  width: 2px;
  height: 4px;
  border-radius: 2px;
  background: currentColor;
  transform-origin: bottom;
}

.eq i:nth-child(2) {
  height: 8px;
}

.eq i:nth-child(3) {
  height: 5px;
}

#musicBtn.is-playing .eq i:nth-child(1) {
  animation: eqBar 0.72s ease-in-out infinite alternate;
}

#musicBtn.is-playing .eq i:nth-child(2) {
  animation: eqBar 0.54s ease-in-out 0.18s infinite alternate;
}

#musicBtn.is-playing .eq i:nth-child(3) {
  animation: eqBar 0.85s ease-in-out 0.08s infinite alternate;
}

@keyframes eqBar {
  0% { transform: scaleY(0.35); }
  100% { transform: scaleY(1.35); }
}

@media (max-width: 619px) {
  #nav {
    padding: 5px 5px 5px 14px;
  }
  .nav-brand {
    font-size: 16px;
  }
  #nav .nav-btn-txt {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  #nav .nav-icon-btn {
    width: 36px;
    padding: 0;
  }
  #nav #lang {
    padding: 0 10px;
    height: 36px;
  }
  #nav #mbtn {
    height: 36px;
    padding: 0 13px;
  }
}

.menu-motion-btn {
  margin-top: 18px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(207, 168, 79, 0.55);
  background: rgba(255, 250, 240, 0.05);
  color: var(--gold-hi);
  font: 400 13px/1.2 'Jost', 'Tiro Devanagari Hindi', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s var(--e) 0.48s, transform 0.6s var(--e) 0.48s, background-color 0.25s, color 0.25s;
}

#menu.open .menu-motion-btn {
  opacity: 1;
  transform: none;
}

.menu-motion-btn:hover,
.menu-motion-btn[aria-pressed="true"] {
  background: var(--gold);
  color: var(--ox2);
}

/* Fullscreen Menu */
#menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: radial-gradient(circle at 50% 35%, #3d0917, var(--ox2) 68%, var(--ox3));
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 84px 20px 40px;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.85s var(--e), visibility 0s 0.85s;
}

#menu.open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition-delay: 0s;
}

.menu-orn {
  position: absolute;
  width: min(76vw, 440px);
  color: var(--gold);
  opacity: 0.1;
  pointer-events: none;
}

#menu a {
  position: relative;
  font-family: 'Bodoni Moda', 'Tiro Devanagari Hindi', serif;
  font-size: clamp(26px, 6vw, 52px);
  color: var(--cream);
  text-decoration: none;
  line-height: 1.24;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--e), transform 0.75s var(--e), color 0.25s;
}

#menu.open a {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i) * 0.05s + 0.25s);
}

#menu a:hover,
#menu a:focus-visible {
  color: var(--gold);
  font-style: italic;
}

/* Bottom Floating Quick-Jump Pill */
#quickNav {
  position: fixed;
  z-index: 55;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translate(-50%, 24px);
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: calc(100vw - 24px);
  padding: 5px 6px;
  border-radius: 999px;
  background: rgba(27, 3, 9, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(207, 168, 79, 0.35);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.36);
  overflow-x: auto;
  scrollbar-width: none;
  transition: opacity 0.55s var(--e), transform 0.55s var(--e);
}

#quickNav::-webkit-scrollbar {
  display: none;
}

#quickNav.visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

#quickNav.visible.at-footer {
  opacity: 0;
  transform: translate(-50%, 28px);
  pointer-events: none;
}

#quickNav a {
  color: rgba(244, 232, 203, 0.86);
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background-color 0.25s, color 0.25s;
}

@media (max-width: 619px) {
  #quickNav {
    max-width: calc(100vw - 12px);
    padding: 4px 5px;
    gap: 1px;
  }
  #quickNav a {
    font-size: clamp(9px, 2.35vw, 10.5px);
    letter-spacing: 0.01em;
    padding: 6px 5.5px;
    flex-shrink: 0;
  }
}

#quickNav a:hover {
  color: var(--gold-hi);
}

#quickNav a.active {
  background: var(--gold);
  color: var(--ox2);
  font-weight: 500;
}

/* 1. Wax-Seal Envelope Gate */
#gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 34px);
  padding: 20px;
  perspective: 1400px;
  background: radial-gradient(circle at 50% 42%, var(--ox-glow), var(--ox) 54%, var(--ox2) 86%, var(--ox3));
  transition: opacity 0.55s var(--e), visibility 0s 0.55s;
}

#gate.out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.gate-inv {
  font-size: clamp(16px, 3vw, 22px);
  opacity: 0.92;
}

.env {
  position: relative;
  width: min(88vw, 440px);
  aspect-ratio: 7 / 5;
  perspective: 1100px;
  transform-style: preserve-3d;
}

.env > * {
  position: absolute;
}

.back {
  inset: 0;
  background: radial-gradient(circle at 50% 25%, #7a1530, #4e0b1d 60%, #370613 100%);
  border: 1px solid rgba(207, 168, 79, 0.72);
  border-radius: 6px;
  box-shadow: 0 28px 52px rgba(0, 0, 0, 0.48);
  z-index: 1;
}

.back::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(207, 168, 79, 0.34);
  border-radius: 3px;
  pointer-events: none;
}

.card {
  inset: 6% 7%;
  padding: 16px;
  background: radial-gradient(circle at 50% 30%, #fffaf0, var(--cream));
  color: var(--ox);
  border: 1px solid rgba(207, 168, 79, 0.65);
  border-radius: 4px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  z-index: 2;
  will-change: transform, opacity;
  transition: transform 1.2s var(--e) 0.75s, box-shadow 0.8s var(--e), z-index 0s 0.78s;
}

.card::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(121, 84, 15, 0.28);
  pointer-events: none;
}

.card .gh {
  color: var(--acc);
  font-size: 14px;
}

.gate-guest {
  font-family: 'Cormorant Garamond', 'Tiro Devanagari Hindi', Georgia, serif;
  font-style: italic;
  font-size: clamp(16px, 3.6vw, 22px);
  color: var(--ox);
}

.gate-names {
  font-family: 'Bodoni Moda', 'Tiro Devanagari Hindi', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(28px, 7vw, 44px);
  line-height: 1.05;
  color: var(--ox2);
}

.card small {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--acc);
}

.pocket {
  inset: 0;
  background:
    linear-gradient(135deg, rgba(207, 168, 79, 0.16) 0%, transparent 44%),
    linear-gradient(225deg, rgba(207, 168, 79, 0.14) 0%, transparent 44%),
    linear-gradient(160deg, #6e142b 0%, #4b0b1b 56%, #340511 100%);
  clip-path: polygon(0 0, 50% 58%, 100% 0, 100% 100%, 0 100%);
  border-bottom: 1px solid rgba(207, 168, 79, 0.6);
  border-radius: 0 0 6px 6px;
  z-index: 3;
}

.flap {
  left: 0;
  right: 0;
  top: 0;
  height: 60%;
  transform-origin: top center;
  transform-style: preserve-3d;
  z-index: 4;
  will-change: transform;
  transition: transform 1.05s var(--e) 0.28s, z-index 0s 0.72s;
}

.flap-face {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.flap-front {
  background: linear-gradient(180deg, #861936 0%, #5e1024 85%, #4d0c1c 100%);
  box-shadow: inset 0 2px 0 rgba(207, 168, 79, 0.55);
}

.flap-back {
  transform: rotateX(180deg);
  background: radial-gradient(circle at 50% 30%, #f7ebd0, #dfc37d 75%, #b88f39 100%);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 18px;
  color: var(--ox2);
  font: italic 500 14px/1 'Bodoni Moda', serif;
  letter-spacing: 0.14em;
}

.wax {
  left: 50%;
  top: 60%;
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  border-radius: 50%;
  border: 1.5px solid rgba(235, 208, 139, 0.78);
  background: radial-gradient(circle at 32% 28%, #e4475f, #a3152c 55%, #6a0b1b 100%);
  color: var(--cream);
  font: 500 18px/1 'Bodoni Moda', serif;
  letter-spacing: 0.04em;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55), inset 0 2px 6px rgba(255, 224, 175, 0.28);
  animation: waxPulse 2.8s ease-out infinite;
  transition: transform 0.6s var(--e), opacity 0.5s var(--e);
}

.wax-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--gold-hi);
  opacity: 0;
  pointer-events: none;
}

.wax-rim {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px dashed rgba(235, 208, 139, 0.58);
  pointer-events: none;
}

.wax-crack {
  position: absolute;
  inset: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(249, 235, 199, 0.85));
  transition: opacity 0.22s ease 0.08s;
}

#gate.open:not(.gsap-gate) .wax {
  transform: scale(1.3);
  opacity: 0;
  animation: none;
}

#gate.open:not(.gsap-gate) .wax-crack {
  opacity: 1;
}

#gate.open:not(.gsap-gate) .flap {
  transform: rotateX(174deg);
  z-index: 1;
}

#gate.open:not(.gsap-gate) .card {
  transform: translateY(-76%) scale(1.06);
  z-index: 6;
}

.tap {
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 232, 203, 0.88);
  text-align: center;
  transition: opacity 0.45s var(--e);
}

#gate.open .tap,
#gate.open .gate-inv {
  opacity: 0.15;
}

@keyframes waxPulse {
  0% { box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(207, 168, 79, 0.55); }
  100% { box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5), 0 0 0 28px rgba(207, 168, 79, 0); }
}

/* 2. Hero Arch Window */
.hero {
  padding: 0;
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
}

.hero-pin {
  position: relative;
  z-index: 4;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: radial-gradient(circle at 50% 48%, #470a1b, var(--ox2) 68%, var(--ox3));
}

.portal {
  --arch-t: 11svh;
  --arch-h: 28vw;
  --arch-b: 9svh;
  --arch-r: 22vw;
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--ox);
  -webkit-clip-path: inset(var(--arch-t) var(--arch-h) var(--arch-b) var(--arch-h) round var(--arch-r) var(--arch-r) 0px 0px);
  clip-path: inset(var(--arch-t) var(--arch-h) var(--arch-b) var(--arch-h) round var(--arch-r) var(--arch-r) 0px 0px);
  will-change: clip-path;
}

.portal-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;
}

.portal-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(43, 5, 16, 0.36) 0%, rgba(43, 5, 16, 0.52) 50%, rgba(27, 3, 9, 0.88) 100%);
}

.arch-line {
  position: absolute;
  left: 28vw;
  right: 28vw;
  top: 11svh;
  bottom: 9svh;
  border: 1px solid rgba(207, 168, 79, 0.85);
  border-radius: 22vw 22vw 0 0;
  transform: scale(1.032);
  box-shadow: 0 0 40px rgba(207, 168, 79, 0.16);
  pointer-events: none;
  z-index: 2;
}

@media (max-width: 699px) {
  .portal {
    --arch-t: 11svh;
    --arch-h: 11vw;
    --arch-b: 10svh;
    --arch-r: 39vw;
  }
  .arch-line {
    left: 11vw;
    right: 11vw;
    top: 11svh;
    bottom: 10svh;
    border-radius: 39vw 39vw 0 0;
  }
}

.mand {
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(135vh, 135vw);
  color: var(--gold);
  opacity: 0.22;
  pointer-events: none;
}

.mand svg,
.orn svg,
.menu-orn svg {
  display: block;
  width: 100%;
  height: auto;
}

.hero-txt {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(8px, 1.5vh, 16px);
  padding: 64px 29vw 88px;
}

.hero-txt .sm {
  max-width: min(72vw, 380px);
  text-wrap: balance;
}

@media (max-width: 699px) {
  .hero-txt {
    padding: 64px 13vw 88px;
  }
  .hero h1 {
    font-size: clamp(38px, 10vw, 72px);
  }
}

.guest-pill {
  padding: 5px 16px;
  border: 1px solid rgba(207, 168, 79, 0.55);
  border-radius: 999px;
  background: rgba(43, 5, 16, 0.55);
  font-size: 16px;
  color: var(--gold-hi);
}

.hero h1 {
  font-size: clamp(46px, 9.2vw, 134px);
  color: var(--cream);
  font-weight: 400;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.55);
}

.hero h1 .amp {
  display: block;
  font-family: 'Cormorant Garamond', 'Tiro Devanagari Hindi', Georgia, serif;
  font-style: italic;
  font-size: 0.42em;
  color: var(--gold);
  margin: 0.08em 0;
}

.sm {
  font-size: clamp(13px, 1.8vw, 16px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.92;
}

.hint {
  position: absolute;
  left: 50%;
  bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  z-index: 4;
}

.hint-line {
  display: block;
  width: 1px;
  height: 14px;
  background: linear-gradient(180deg, var(--gold), transparent);
}

.static .portal {
  -webkit-clip-path: none;
  clip-path: none;
}

.static .arch-line {
  display: none;
}

.static .hero,
.static .hero-pin {
  height: auto;
  min-height: 100svh;
}

/* Marquee */
.mq {
  overflow: hidden;
  padding: 22px 0;
  border-block: 1px solid var(--ln);
  white-space: nowrap;
}

.mq-in {
  display: inline-flex;
  will-change: transform;
}

.mq-in span {
  font: italic 400 clamp(26px, 5vw, 62px)/1.05 'Bodoni Moda', 'Tiro Devanagari Hindi', serif;
  color: var(--gold);
  padding-right: 0.6em;
}

/* 3. Date Section: Tassel + 3D Calendar Page Flip */
.tas {
  position: relative;
  height: 146px;
  margin-top: 8px;
}

.cord {
  position: absolute;
  left: 50%;
  top: -6px;
  transform: translateX(-50%);
  background: none;
  border: 0;
  cursor: grab;
  touch-action: none;
  transform-origin: 50% 0;
  animation: tasselSway 3.4s ease-in-out infinite;
  padding: 0 22px 10px;
}

.cord:active {
  cursor: grabbing;
}

.cord-cap {
  display: block;
  width: 14px;
  height: 14px;
  margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-hi), var(--acc));
  box-shadow: 0 2px 6px rgba(42, 7, 16, 0.25);
}

.cord i {
  display: block;
  width: 3px;
  height: 74px;
  background: linear-gradient(180deg, var(--acc), var(--gold));
  margin: 0 auto;
}

.cord b {
  display: block;
  width: 26px;
  height: 46px;
  margin: 0 auto;
  border-radius: 8px 8px 14px 14px;
  background: repeating-linear-gradient(90deg, var(--acc) 0 3px, var(--gold) 3px 5px);
  box-shadow: 0 8px 18px rgba(42, 7, 16, 0.22);
}

@keyframes tasselSway {
  0%, 100% { transform: translateX(-50%) rotate(-3deg); }
  50% { transform: translateX(-50%) rotate(3deg); }
}

.cord.drag,
.cord.is-offscreen {
  animation: none;
}

.dout {
  display: grid;
  gap: 16px;
  justify-items: center;
  margin-top: 10px;
}

.cal-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(88vw, 360px);
}

.cal-tabs {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 12px;
  margin-bottom: -10px;
  z-index: 2;
}

.cal-tab {
  padding: 6px 16px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  color: var(--ox2);
  font: 500 13px/1 'Jost', 'Tiro Devanagari Hindi', sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(121, 84, 15, 0.4);
  box-shadow: 0 4px 10px rgba(42, 7, 16, 0.14);
}

.cal-book {
  position: relative;
  width: 100%;
  min-height: clamp(210px, 34vw, 290px);
  perspective: 1100px;
  border-radius: 18px;
  background: linear-gradient(160deg, var(--ox), var(--ox2));
  border: 1px solid var(--gold);
  box-shadow: 0 24px 52px rgba(42, 7, 16, 0.24);
}

.cal-rings {
  position: absolute;
  top: -8px;
  left: 26%;
  right: 26%;
  display: flex;
  justify-content: space-between;
  z-index: 5;
  pointer-events: none;
}

.cal-rings span {
  width: 12px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--acc), var(--gold-hi), var(--acc));
  border: 1px solid var(--ox2);
}

.cal-cover {
  position: absolute;
  inset: 0;
  border-radius: 17px;
  background: radial-gradient(circle at 50% 40%, #5e0f23, var(--ox2));
  color: var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 3;
  transition: opacity 0.24s var(--e), visibility 0s 0.24s;
}

.cal-cover-crest {
  font-size: 28px;
}

.cal-cover-txt {
  font: italic 500 clamp(22px, 4vw, 30px)/1.1 'Cormorant Garamond', Georgia, serif;
  letter-spacing: 0.08em;
}

.dout.show .cal-cover {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cal-leaf {
  position: absolute;
  inset: 0;
  border-radius: 17px;
  padding: 28px 18px 22px;
  background: radial-gradient(circle at 50% 30%, #fffaf0, var(--cream));
  color: var(--ox2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transform-origin: 50% 0%;
  transform: rotateX(-88deg);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  opacity: 0;
  z-index: 4;
  box-shadow: inset 0 0 0 1px rgba(121, 84, 15, 0.26);
}

.static .cal-leaf {
  transition: transform 1.05s var(--e), opacity 0.45s var(--e);
}

.dout.show .cal-leaf {
  transform: rotateX(0deg);
  opacity: 1;
}

.cal-day {
  font: 500 clamp(92px, 20vw, 172px)/0.88 'Bodoni Moda', Georgia, serif;
  color: var(--ox);
}

.cal-month-sub {
  font: italic 500 clamp(22px, 4vw, 32px)/1.15 'Cormorant Garamond', 'Tiro Devanagari Hindi', serif;
  color: var(--acc);
}

.dout .t {
  margin-top: 6px;
  font-family: 'Cormorant Garamond', 'Tiro Devanagari Hindi', serif;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 500;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--e) 0.25s, transform 0.7s var(--e) 0.25s;
}

.cal-ics-btn {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--e) 0.38s, transform 0.7s var(--e) 0.38s, background-color 0.3s, color 0.3s;
}

.dout.show .t,
.dout.show .cal-ics-btn {
  opacity: 1;
  transform: none;
}

/* 4. Couple Section */
.couple-quote {
  margin: 22px 0 0;
  max-width: 680px;
  font-family: 'Cormorant Garamond', 'Tiro Devanagari Hindi', Georgia, serif;
  font-style: italic;
  font-size: clamp(20px, 2.8vw, 27px);
  line-height: 1.45;
  color: var(--acc);
}

.cp {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 5vw, 72px);
  margin-top: clamp(36px, 6vw, 78px);
  align-items: start;
}

.cp figure {
  margin: 0;
}

.cp figure:nth-child(2) {
  margin-top: clamp(32px, 9vw, 128px);
}

.arc {
  aspect-ratio: 3 / 4;
  border-radius: 999px 999px 0 0;
  border: 1px solid var(--acc);
  padding: 9px;
  background: rgba(207, 168, 79, 0.08);
  transition: box-shadow 0.55s var(--e), border-color 0.45s var(--e);
}

.arc:hover {
  border-color: var(--gold);
  box-shadow: 0 22px 48px rgba(74, 10, 26, 0.16), 0 0 36px rgba(207, 168, 79, 0.26);
}

.arc-inner {
  width: 100%;
  height: 100%;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  background: var(--ox);
}

.arc-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.9s var(--e);
}

.arc:hover .arc-inner img {
  transform: scale(1.04);
}

.cp h3 {
  font-size: clamp(26px, 4.6vw, 52px);
  margin-top: 18px;
}

.cp-full {
  margin-top: 4px;
  font-family: 'Cormorant Garamond', 'Tiro Devanagari Hindi', serif;
  font-style: italic;
  font-size: clamp(17px, 2.4vw, 22px);
  color: var(--acc);
}

.cp-bio {
  margin-top: 6px;
  font-size: clamp(14px, 1.8vw, 17px);
  line-height: 1.5;
  opacity: 0.88;
}

/* 5. Countdown: True 3D Split-Flap Flip-Clock */
.cd {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(6px, 2.2vw, 24px);
  margin-top: clamp(36px, 6vw, 60px);
  perspective: 900px;
}

.flap-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.flap-card {
  position: relative;
  width: 100%;
  height: clamp(74px, 17vw, 168px);
  border-radius: 12px;
  background: var(--ox3);
  border: 1px solid rgba(207, 168, 79, 0.5);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(235, 208, 139, 0.22);
  perspective: 700px;
  font-family: 'Bodoni Moda', Georgia, serif;
  font-variant-numeric: tabular-nums;
  font-size: clamp(32px, 9.2vw, 118px);
  font-weight: 500;
  color: var(--gold);
  user-select: none;
}

.flap-half,
.flap-fold {
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.flap-half.top,
.flap-fold.fold-top {
  top: 0;
  border-radius: 11px 11px 0 0;
  background: linear-gradient(180deg, #3c0816 0%, #2b0510 100%);
  transform-origin: 50% 100%;
}

.flap-half.bot,
.flap-fold.fold-bot {
  top: 50%;
  border-radius: 0 0 11px 11px;
  background: linear-gradient(180deg, #21030b 0%, #320713 100%);
  transform-origin: 50% 0%;
}

.flap-fold {
  opacity: 0;
  pointer-events: none;
}

.flap-fold.fold-top {
  z-index: 3;
}

.flap-fold.fold-bot {
  z-index: 4;
}

.flap-half span,
.flap-fold span {
  position: absolute;
  left: 0;
  right: 0;
  height: 200%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.flap-half.top span,
.flap-fold.fold-top span {
  top: 0;
}

.flap-half.bot span,
.flap-fold.fold-bot span {
  top: -100%;
}

.flap-hinge {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: rgba(14, 2, 5, 0.85);
  box-shadow: 0 1px 0 rgba(207, 168, 79, 0.25);
  z-index: 6;
  pointer-events: none;
}

.flap-label {
  font-size: clamp(11px, 1.5vw, 13px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 232, 203, 0.88);
}

.today-msg {
  margin-top: 32px;
  font-family: 'Cormorant Garamond', 'Tiro Devanagari Hindi', serif;
  font-style: italic;
  font-size: clamp(24px, 4vw, 36px);
  color: var(--gold-hi);
}

/* 6. Celebrations: Signature Stacking Deck */
.stack {
  margin-top: clamp(38px, 6vw, 80px);
}

.ev {
  position: sticky;
  top: calc(max(82px, 12vh) + var(--i) * 16px);
  min-height: 58vh;
  margin-bottom: 7vh;
  border-radius: 24px;
  padding: clamp(22px, 4.5vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--ev-ln, rgba(207, 168, 79, 0.45));
  transform-origin: 50% 0;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(24, 3, 9, 0.24);
}

.ev[data-theme="haldi"] {
  background: linear-gradient(145deg, #f3cb68 0%, #e0a630 52%, #c98916 100%);
  color: var(--ox2);
  --ev-accent: #581020;
  --ev-ln: rgba(43, 5, 16, 0.24);
}

.ev[data-theme="mehendi"] {
  background: linear-gradient(145deg, #0e3d2c 0%, #07261b 58%, #041710 100%);
  color: var(--cream);
  --ev-accent: var(--gold);
  --ev-ln: rgba(207, 168, 79, 0.35);
}

.ev[data-theme="pheras"] {
  background: linear-gradient(145deg, #641025 0%, #4a0a1a 52%, #2b0510 100%);
  color: var(--cream);
  --ev-accent: var(--gold-hi);
  --ev-ln: rgba(207, 168, 79, 0.42);
}

.ev[data-theme="reception"] {
  background: linear-gradient(145deg, #2d113b 0%, #190723 55%, #0e0415 100%);
  color: var(--cream);
  --ev-accent: #e8d29d;
  --ev-ln: rgba(232, 210, 157, 0.32);
}

.ev-watermark {
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 280px;
  opacity: 0.1;
  color: currentColor;
  pointer-events: none;
}

.ev-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: center;
}

.ev-media {
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--ev-ln);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
}

.ev-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ev-top {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}

.ev-d {
  font: 400 clamp(56px, 10vw, 130px)/0.88 'Bodoni Moda', serif;
  color: var(--ev-accent);
}

.ev-d small {
  font-size: 0.24em;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-left: 4px;
}

.ev-title {
  font-size: clamp(28px, 4.6vw, 56px);
  font-style: italic;
}

.ev-tag {
  margin-top: 12px;
  font-family: 'Cormorant Garamond', 'Tiro Devanagari Hindi', serif;
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.4;
  opacity: 0.92;
}

.ev dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--ev-ln);
}

.ev dt {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ev-accent);
  font-weight: 500;
}

.ev dd {
  margin: 4px 0 0;
  font-size: 17px;
}

.ev-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ev .btn {
  padding: 10px 20px;
  font-size: 14px;
  border-color: var(--ev-accent);
  color: var(--ev-accent);
}

.ev .btn:hover {
  background: var(--ev-accent);
  color: var(--ox2);
}

.ev[data-theme="haldi"] .btn:hover {
  background: var(--ox2);
  color: var(--gold-hi);
}

.ev .btn.fill {
  background: var(--ev-accent);
  color: var(--ox2);
  border-color: var(--ev-accent);
}

.ev[data-theme="haldi"] .btn.fill {
  background: var(--ox2);
  color: var(--gold-hi);
  border-color: var(--ox2);
}

@media (max-width: 780px) {
  .ev-grid {
    grid-template-columns: 1fr;
  }
  .ev-media {
    aspect-ratio: 16 / 9;
    order: -1;
  }
}

/* 7. Shubh Aarambh: Stacking Heirloom Deck */
.pol {
  position: sticky;
  top: calc(12vh + var(--i) * 16px);
  max-width: 540px;
  margin: 0 auto 8vh;
  background: var(--ivory);
  color: var(--ink);
  padding: 16px 16px 28px;
  border: 1px solid rgba(121, 84, 15, 0.35);
  box-shadow: 0 24px 54px rgba(42, 7, 16, 0.24);
  transform-origin: 50% 0;
  transform: rotate(var(--tilt, 0deg));
}

.pol::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(121, 84, 15, 0.16);
  pointer-events: none;
}

.pol-ph {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ox);
}

.pol-ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pol-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 18px 8px 0;
}

.pol-badge {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--acc);
}

.pol-step {
  font: italic 500 28px/1 'Bodoni Moda', serif;
  color: rgba(121, 84, 15, 0.45);
}

.pol h3 {
  font-size: clamp(26px, 4vw, 38px);
  margin: 8px 8px 0;
  color: var(--ox2);
}

.pol p {
  margin: 10px 8px 0;
  font-size: 17px;
  line-height: 1.55;
  opacity: 0.88;
}

.baal-aagrah {
  max-width: 620px;
  margin: clamp(32px, 5vw, 56px) auto 0;
  padding: clamp(22px, 4vw, 32px) clamp(20px, 4vw, 34px);
  border-radius: 18px;
  border: 1px solid rgba(121, 84, 15, 0.38);
  background: radial-gradient(circle at 50% 0%, #fffdf8, rgba(255, 250, 240, 0.72));
  box-shadow: 0 18px 42px rgba(42, 7, 16, 0.1);
  text-align: center;
}

.baal-aagrah .eb {
  margin-bottom: 10px;
}

.baal-aagrah blockquote {
  margin: 0;
  font-family: 'Cormorant Garamond', 'Tiro Devanagari Hindi', Georgia, serif;
  font-style: italic;
  font-size: clamp(20px, 2.8vw, 26px);
  line-height: 1.48;
  color: var(--ox);
}

.baal-author {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--acc);
}

/* 8. Gallery: Pinned Horizontal Scroll + Lightbox */
.gal {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-inline: 0;
  overflow: hidden;
}

.gal-head {
  width: 100%;
  padding: 0 20px;
  margin-bottom: 34px;
}

.gal-hint {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.gw {
  overflow: hidden;
  width: 100%;
}

.static .gw {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.gt {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 12px 24px 28px;
  will-change: transform;
}

.gi {
  position: relative;
  flex: none;
  width: min(68vw, 350px);
  aspect-ratio: 3 / 4;
  border-radius: 999px 999px 14px 14px;
  border: 1px solid rgba(207, 168, 79, 0.65);
  background: var(--ox);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  margin-top: var(--o, 0);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
  transition: transform 0.5s var(--e), border-color 0.35s;
}

.gi:nth-child(even) {
  --o: 36px;
}

.gi:hover,
.gi:focus-visible {
  transform: translateY(-6px);
  border-color: var(--gold-hi);
}

.gi img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s var(--e);
}

.gi:hover img {
  transform: scale(1.06);
}

.gi-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 46px 18px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(27, 3, 9, 0.92) 72%);
  color: var(--cream);
  text-align: left;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s var(--e), transform 0.35s var(--e);
}

.gi:hover .gi-cap,
.gi:focus-visible .gi-cap {
  opacity: 1;
  transform: none;
}

@media (hover: none) {
  .gi-cap {
    opacity: 1;
    transform: none;
  }
}

.gi-cap strong {
  display: block;
  font: 500 20px/1.15 'Bodoni Moda', 'Tiro Devanagari Hindi', serif;
  color: var(--gold-hi);
}

.gi-cap span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  opacity: 0.88;
}

/* 9. Good to Know */
.ig {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: clamp(38px, 6vw, 76px);
}

.ic {
  position: relative;
  border: 1px solid var(--ln);
  border-radius: 20px;
  padding: 28px 26px;
  background: rgba(255, 250, 240, 0.45);
  transition: transform 0.45s var(--e), border-color 0.35s, box-shadow 0.45s var(--e);
}

.ic:hover {
  transform: translateY(-5px);
  border-color: var(--acc);
  box-shadow: 0 18px 40px rgba(42, 7, 16, 0.1);
}

.ic-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.ic-num {
  font: italic 500 18px/1 'Bodoni Moda', serif;
  color: var(--acc);
}

.ic-icon {
  width: 28px;
  height: 28px;
  color: var(--acc);
}

.ic h3 {
  font-size: 28px;
  margin-bottom: 10px;
}

.ic p {
  opacity: 0.88;
  font-size: 16.5px;
  line-height: 1.55;
}

.ic-tel-wrap {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.ic a {
  color: var(--ox);
  font-weight: 500;
  text-decoration-color: var(--acc);
  text-underline-offset: 4px;
  white-space: nowrap;
}

.family-credits {
  margin-top: clamp(44px, 7vw, 76px);
  padding-top: clamp(28px, 4.5vw, 46px);
  border-top: 1px solid var(--ln);
}

.fc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px 26px;
  margin-top: 18px;
}

.fc-card {
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(121, 84, 15, 0.24);
  background: rgba(255, 250, 240, 0.42);
}

.fc-card h3 {
  font-size: 20px;
  color: var(--ox);
  margin-bottom: 6px;
}

.fc-card p {
  font-size: 15.5px;
  line-height: 1.55;
  opacity: 0.9;
}

/* 10. Venue: Ken Burns Showcase + Royal Map Card */
.venue {
  overflow: hidden;
  min-height: 88svh;
  display: grid;
  place-items: center;
}

.vbg-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.vbg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  animation: kenBurns 26s ease-in-out infinite alternate;
}

.vbg-img.is-offscreen {
  animation-play-state: paused;
}

@keyframes kenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.13); }
}

.venue-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(43, 5, 16, 0.62), rgba(27, 3, 9, 0.92));
  z-index: 1;
}

.venue .w {
  position: relative;
  z-index: 2;
  width: 100%;
}

.venue-card {
  max-width: 760px;
  margin: 34px auto 0;
  padding: clamp(26px, 5vw, 48px);
  border-radius: 24px;
  background: rgba(43, 5, 16, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(207, 168, 79, 0.48);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.45);
}

.venue-crest {
  color: var(--gold);
  font-size: 20px;
  margin-bottom: 10px;
}

.venue .big {
  font: italic 500 clamp(28px, 5vw, 56px)/1.12 'Bodoni Moda', 'Tiro Devanagari Hindi', serif;
  color: var(--gold-hi);
}

.venue-addr {
  margin-top: 12px;
  font-size: clamp(16px, 2.2vw, 19px);
  color: rgba(244, 232, 203, 0.9);
}

.landmarks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.lm-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(207, 168, 79, 0.12);
  border: 1px solid rgba(207, 168, 79, 0.36);
  font-size: 13.5px;
  color: var(--cream);
}

.lm-chip strong {
  color: var(--gold-hi);
  font-weight: 500;
}

.venue .acts {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* 11. RSVP: 3-Step Wizard & Golden VIP Pass */
.rs {
  max-width: 620px;
  margin: 44px auto 0;
  text-align: left;
}

.prog {
  height: 3px;
  background: var(--ln);
  border-radius: 999px;
  margin-bottom: 30px;
  overflow: hidden;
}

.prog i {
  display: block;
  height: 100%;
  background: var(--ox);
  transform-origin: left;
  transform: scaleX(0.333);
  transition: transform 0.65s var(--e);
}

.st {
  display: none;
}

.st.on {
  display: block;
  animation: stepIn 0.55s var(--e);
}

@keyframes stepIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.rs label,
.rs legend {
  display: block;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin: 22px 0 10px;
  padding: 0;
  color: var(--ox2);
}

.rs fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.rs input[type="text"],
.rs textarea {
  width: 100%;
  padding: 13px 4px;
  font: 400 20px/1.4 'Jost', 'Tiro Devanagari Hindi', sans-serif;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--acc);
  border-radius: 0;
}

.rs textarea {
  resize: vertical;
}

.opt {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--ln);
  border-radius: 14px;
  margin: 8px 0 !important;
  letter-spacing: 0 !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  cursor: pointer;
  background: rgba(255, 250, 240, 0.4);
  transition: border-color 0.25s, background-color 0.25s;
}

.opt:has(input:checked) {
  border-color: var(--ox);
  background: rgba(74, 10, 26, 0.08);
}

.opt input {
  accent-color: var(--ox);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.stp {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
}

.stp span {
  flex: 1;
  font-weight: 500;
}

.stp button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--acc);
  background: transparent;
  color: var(--ox);
  font-size: 22px;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s;
}

.stp button:hover {
  background: var(--ox);
  color: var(--cream);
}

.stp output {
  font: 500 38px/1 'Bodoni Moda', serif;
  min-width: 38px;
  text-align: center;
  color: var(--ox);
}

.nv {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
}

#err {
  color: #9b122b;
  font-weight: 500;
  min-height: 24px;
  margin-top: 12px;
}

/* Golden VIP Pass */
.pass {
  position: relative;
  max-width: 460px;
  margin: 42px auto 0;
  padding: 36px 26px 30px;
  border: 1.5px solid var(--gold);
  border-radius: 22px;
  background: radial-gradient(circle at 50% 0%, #6b1228, var(--ox) 58%, var(--ox2));
  color: var(--cream);
  text-align: center;
  box-shadow: 0 28px 66px rgba(27, 3, 9, 0.42);
  animation: stepIn 0.8s var(--e);
}

.pass::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 16px;
  border: 1px solid rgba(207, 168, 79, 0.35);
  pointer-events: none;
}

.pass-seal {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 1px solid var(--gold-hi);
  background: radial-gradient(circle at 35% 30%, #e0445b, #8b1226);
  color: var(--cream);
  font: 500 15px/64px 'Bodoni Moda', serif;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.pass h3 {
  font-size: clamp(30px, 7vw, 44px);
  color: var(--gold-hi);
  font-style: italic;
  margin: 10px 0 4px;
}

.pass-status {
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
}

.pr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  margin: 22px 0;
  padding: 18px 0;
  border-block: 1px dashed rgba(207, 168, 79, 0.5);
  text-align: left;
  font-size: 15px;
}

.pr small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2px;
}

.pr-wide {
  grid-column: 1 / -1;
}

.pass-note {
  max-width: 460px;
  margin: 18px auto 0;
}

.pass-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

/* 12. Footer */
footer {
  padding: clamp(84px, 12vw, 156px) 20px calc(132px + env(safe-area-inset-bottom, 0px));
  text-align: center;
}

footer .orn {
  width: 90px;
  margin: 0 auto 24px;
  color: var(--gold);
  opacity: 0.48;
}

footer h2 {
  color: var(--gold-hi);
  font-style: italic;
}

footer p {
  max-width: 520px;
  margin: 18px auto 32px;
  opacity: 0.9;
}

/* Accessible Modal (Gallery Lightbox & QR Share) */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 18px;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 2, 7, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-box {
  position: relative;
  z-index: 1;
  width: min(94vw, 760px);
  max-height: 90svh;
  overflow-y: auto;
  border-radius: 22px;
  background: radial-gradient(circle at 50% 0%, #4b0b1c, var(--ox2) 70%);
  border: 1px solid rgba(207, 168, 79, 0.55);
  color: var(--cream);
  padding: clamp(22px, 4vw, 38px);
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.65);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(207, 168, 79, 0.45);
  background: rgba(43, 5, 16, 0.8);
  color: var(--gold);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  background: var(--gold);
  color: var(--ox2);
}

.modal-lightbox {
  display: grid;
  gap: 18px;
  text-align: center;
}

.modal-lightbox[hidden],
.modal-qr[hidden] {
  display: none;
}

.lb-media {
  max-height: 58svh;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(207, 168, 79, 0.45);
  background: var(--ox3);
}

.lb-media img {
  width: 100%;
  max-height: 58svh;
  object-fit: contain;
  margin: 0 auto;
}

.lb-count {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.lb-info h3 {
  font-size: clamp(24px, 4vw, 34px);
  color: var(--gold-hi);
  margin-top: 4px;
}

.lb-info p {
  margin-top: 6px;
  opacity: 0.88;
}

.lb-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.modal-qr {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 14px;
}

.modal-qr h3 {
  font-size: clamp(24px, 4vw, 34px);
  color: var(--gold-hi);
}

.modal-qr-desc {
  max-width: 440px;
  opacity: 0.88;
  font-size: 16px;
}

.qr-frame {
  padding: 16px;
  border-radius: 16px;
  background: var(--ivory);
  border: 2px solid var(--gold);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
}

.qr-frame svg {
  display: block;
  width: min(56vw, 220px);
  height: min(56vw, 220px);
}

.qr-url {
  font-size: 13px;
  color: rgba(244, 232, 203, 0.78);
  word-break: break-all;
  max-width: 440px;
}

@media (max-width: 640px) {
  .env {
    width: min(84vw, 420px);
  }
  .cp {
    gap: 14px;
  }
  .cp h3 {
    font-size: clamp(22px, 6vw, 34px);
  }
  .ev {
    top: calc(env(safe-area-inset-top, 0px) + 68px + var(--i) * 8px);
    min-height: auto;
    padding: 20px 18px;
    gap: 14px;
  }
  .ev dl {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin-top: 16px;
    padding-top: 14px;
  }
  .gi-cap {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 359px) {
  .cp {
    grid-template-columns: 1fr;
  }
  .cp figure:nth-child(2) {
    margin-top: 0;
  }
}

/* Explicit Calm / Reduced Motion Mode (via Menu Toggle or ?motion=reduced) */
html.reduced-motion .royal-cur {
  display: none !important;
}

html.reduced-motion.has-royal-cursor,
html.reduced-motion.has-royal-cursor * {
  cursor: auto !important;
}

html.reduced-motion *,
html.reduced-motion *::before,
html.reduced-motion *::after {
  transition-duration: 0.01ms !important;
  animation: none !important;
  scroll-behavior: auto !important;
}

html.reduced-motion .portal {
  -webkit-clip-path: none !important;
  clip-path: none !important;
}

html.reduced-motion .arch-line {
  display: none;
}

html.reduced-motion .hero,
html.reduced-motion .hero-pin {
  height: auto;
  min-height: 100svh;
}

html.reduced-motion .cal-cover {
  display: none;
}

html.reduced-motion .cal-leaf {
  transform: none !important;
  opacity: 1 !important;
}

html.reduced-motion .dout .t,
html.reduced-motion .cal-ics-btn {
  opacity: 1 !important;
  transform: none !important;
}

html.reduced-motion .gw {
  overflow-x: auto;
}

@media (prefers-reduced-motion: reduce) {
  /* Keep physical envelope opening, gentle particle ambience, and cursor visible on Windows OS battery/visual presets; disable infinite idle pulse only */
  .wax {
    animation: none;
  }
}
