/* Phone overflow. Do not restyle live.css layouts. */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  overscroll-behavior-y: contain;
}

/* Scrollbar suppression for phone mode, phone preview simulator, and embedded iframes */
html[data-device="phone"],
html[data-device="phone"] body,
html.no-scrollbar,
html.no-scrollbar body,
body.in-iframe,
body.phone-mode {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

body.in-iframe {
  padding-bottom: 7.5rem !important;
}

body.in-iframe .footer-editorial {
  padding-bottom: 8.5rem !important;
}

html[data-device="phone"]::-webkit-scrollbar,
html[data-device="phone"] body::-webkit-scrollbar,
html.no-scrollbar::-webkit-scrollbar,
html.no-scrollbar body::-webkit-scrollbar,
body.in-iframe::-webkit-scrollbar,
body.phone-mode::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
#boot-splash {
  width: 100%;
  max-width: 100%;
  left: 0;
  right: 0;
}
body {
  min-height: 100svh;
}
#root,
.wedding-page {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.serve-hint {
  position: relative;
  z-index: 20;
  margin: 1rem;
  padding: 1rem;
  border: 1px solid hsl(var(--gold) / 0.4);
  background: #fff8f2;
  font-family: var(--font-body);
  font-size: 0.9rem;
}

#lang-dock {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 120;
  pointer-events: none;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.7s ease;
}
#lang-toggle.language-switcher-button {
  pointer-events: auto;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 1rem;
  border-radius: 999px;
  border-width: 1px;
  border-style: solid;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: hsl(var(--muted-foreground));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.u-sr-only {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.notes-editorial__item button svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  transition: transform 0.25s ease;
}

.programme__event-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  pointer-events: none;
  opacity: 0.025;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    transparent 34%,
    rgba(0, 0, 0, 0.34) 50%,
    rgba(0, 0, 0, 0.84) 75%,
    #000 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    transparent 34%,
    rgba(0, 0, 0, 0.34) 50%,
    rgba(0, 0, 0, 0.84) 75%,
    #000 100%
  );
  transition: opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.11s;
}
.programme__event--revealed > .programme__event-art {
  opacity: 0.34;
}
.programme__event--sangeet > .programme__event-art,
.programme__event--phere > .programme__event-art {
  object-position: top right;
}

.welcome-editorial__links {
  grid-template-columns: 1fr;
}
.welcome-editorial__links:after {
  display: none !important;
}
.welcome-editorial__links--1 {
  grid-template-columns: 1fr;
}
.welcome-editorial__links--2 {
  grid-template-columns: 1fr 1fr;
}
.welcome-editorial__links--3 {
  grid-template-columns: 1fr 1fr 1fr;
}
@media (min-width: 1024px) {
  .welcome-editorial__links--2,
  .welcome-editorial__links--3 {
    grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  }
}
.welcome-editorial--letter-only {
  display: block !important;
  min-height: 0 !important;
  width: 100%;
  background: #f7f1e8;
  padding: 3.25rem 1.25rem 4rem;
}
.welcome-editorial--letter-only .welcome-editorial__media {
  display: none !important;
}
.welcome-editorial--letter-only .welcome-editorial__letter {
  position: relative;
  max-width: 42rem;
  margin: 0 auto;
}
.rsvp-card {
  padding: 2.75rem 1.25rem 3.25rem;
  background: #f7f1e8;
}
.rsvp-card .editorial-shell {
  max-width: 40rem;
  margin: 0 auto;
}
.rsvp-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1rem;
}
.rsvp-card__link {
  color: inherit;
  word-break: break-word;
}

#travel-map.travel-map {
  position: fixed;
  left: -1200px;
  top: 0;
  width: 360px;
  height: 280px;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: auto;
  z-index: 0;
  overflow: hidden;
}
.travel-map__svg {
  display: block;
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  background: #fbf8f2;
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
}
.travel-map__edge {
  fill: none;
  stroke-width: 1.6;
  opacity: 0.38;
  transition: opacity 0.25s ease, stroke-width 0.25s ease;
}
.travel-map__edge.is-active,
.travel-map__edge.edge-active {
  opacity: 1;
  stroke-width: 2.4;
}
.travel-map.is-filtered .travel-map__edge:not(.is-active):not(.edge-active) {
  opacity: 0.08;
}
.travel-map__node {
  cursor: pointer;
  touch-action: manipulation;
}
.travel-map__node circle {
  fill: #fff;
  stroke: hsl(var(--gold));
  stroke-width: 1.6;
}
.travel-map__node.is-active circle {
  fill: hsl(var(--gold));
}
.travel-map__node text {
  font-family: var(--font-body);
  font-size: 3.2px;
  fill: hsl(var(--foreground));
}

.dress-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0.95) 100%);
}
.dress-modal.is-open {
  display: flex;
  flex-direction: column;
}
.dress-modal__frame {
  position: relative;
  flex: 1;
  margin: max(1rem, env(safe-area-inset-top)) 0.75rem max(1rem, env(safe-area-inset-bottom));
  overflow: hidden;
  border-radius: 1rem;
  background: #111;
  transform-origin: center center;
}
.dress-modal__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}
.dress-modal__loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: #fff;
  pointer-events: none;
}
.dress-modal__pulse {
  display: flex;
  gap: 0.4rem;
}
.dress-modal__pulse span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: hsl(40, 33%, 70%);
  animation: bootPulse 1.1s ease-in-out infinite;
}
.dress-modal__pulse span:nth-child(2) {
  animation-delay: 0.15s;
}
.dress-modal__pulse span:nth-child(3) {
  animation-delay: 0.3s;
}
.dress-modal__actions {
  position: absolute;
  z-index: 3;
  right: 0.75rem;
  top: 0.75rem;
  display: flex;
  gap: 0.4rem;
}
.dress-modal__actions button {
  border: 0;
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  cursor: pointer;
}
.dress-atmosphere-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.dress-story-bg,
.dress-story-texture {
  z-index: 0;
}
.dress-story-header,
.dress-story-layout {
  position: relative;
  z-index: 2;
}

.notes-editorial__item {
  border-bottom: 1px solid hsl(var(--border));
}
.notes-editorial__item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border: 0;
  background: none;
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
}
.notes-editorial__item p {
  margin: 0;
  padding: 0 0 1rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.9rem;
  line-height: 1.6;
}
.notes-editorial__item[data-open="false"] p {
  display: none;
}
.notes-editorial__item[data-open="true"] button svg {
  transform: rotate(180deg);
}

.family-invitation__name-wrap {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}
.family-invitation__name-track.is-overflow {
  display: inline-block;
  padding-left: 100%;
  animation: familyNameMarquee var(--family-name-duration, 8s) linear infinite;
}
@keyframes familyNameMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-1 * var(--family-name-travel, 100%)));
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-on-scroll.is-visible,
html[data-reduced-motion="true"] .animate-on-scroll {
  opacity: 1;
  transform: none;
}

html[data-reduced-motion="true"] .family-invitation__name-track.is-overflow,
html[data-reduced-motion="true"] .welcome-family-ticker__marquee,
html[data-reduced-motion="true"] .boot-splash__dot,
html[data-reduced-motion="true"] .dress-modal__pulse span {
  animation: none !important;
}

/* Responsive, beautifully balanced hero typography & alignment */
/* Responsive, beautifully balanced hero typography & alignment (Desktop & Mobile) */
.hero-stage {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: min(100%, 72rem);
  min-height: clamp(28rem, 50vw, 36rem) !important;
  margin: 0 auto !important;
  transform: none !important;
  position: relative !important;
  overflow: visible !important;
}

.hero-stage__logo-shell {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: min(14.5rem, 48vw) !important;
  max-width: 15rem !important;
  margin: 0 auto 0.75rem !important;
  transform: none !important;
  opacity: 1 !important;
  filter: none !important;
  animation: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}

.hero-stage__logo {
  width: 100% !important;
  height: auto !important;
  max-height: min(14.5rem, 48vw) !important;
  object-fit: contain !important;
  display: block !important;
  filter: none !important;
}

.hero-stage__copy {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: min(32rem, calc(100vw - 2.5rem)) !important;
  max-width: 90vw !important;
  transform: none !important;
  margin: 0 auto !important;
  text-align: center !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  animation: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.hero-stage__names {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem) !important;
  line-height: 1.05 !important;
  overflow: visible !important;
  text-align: center !important;
}

.hero-stage__name-line {
  display: block !important;
  font-size: calc(var(--name-scale, 1) * 1em) !important;
  white-space: nowrap !important;
  text-align: center !important;
}

.hero-stage__destination {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  margin: 1.25rem auto 0 !important;
  width: 100% !important;
  max-width: 90vw !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

.hero-stage__destination:before {
  display: none !important;
  content: none !important;
  height: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.hero-stage__destination-kicker {
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  transform: none !important;
  letter-spacing: 0.35em !important;
  font-size: clamp(0.72rem, 1.8vw, 0.88rem) !important;
  text-transform: uppercase !important;
  color: #556987 !important;
  display: block !important;
  margin-bottom: 0.35rem !important;
}

.hero-stage__destination-city {
  display: inline-block !important;
  text-align: center !important;
  width: 100% !important;
  letter-spacing: 0.38em !important;
  font-family: var(--font-display) !important;
  font-size: clamp(1.1rem, 3vw, 1.55rem) !important;
  color: #b38948 !important;
  overflow: visible !important;
}

.hero-stage__destination-city-letter {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
  animation: none !important;
}

@media (max-width: 640px) {
  .hero-stage {
    min-height: 29rem !important;
    transform: translateY(-0.25rem) !important;
  }
  .hero-stage__names {
    font-size: clamp(1.95rem, 8.2vw, 2.65rem) !important;
    line-height: 1.08 !important;
  }
  .hero-stage__destination {
    margin-top: 1.15rem !important;
  }
  .hero-stage__destination:before {
    display: none !important;
    content: none !important;
    height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
  .hero-blessings {
    top: 1rem !important;
    left: 1rem !important;
    max-width: calc(100vw - 4.5rem) !important;
  }
  .hero-blessings__ornament {
    display: none !important;
  }
  .hero-blessings__copy p {
    font-size: 0.75rem !important;
    line-height: 1.35 !important;
    letter-spacing: 0.04em !important;
    font-weight: 500 !important;
    margin: 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   PROGRAMME EVENT CARDS: OLI & HALDI LUXURY COLOR PALETTES
   ========================================================================== */
.programme__event--oli {
  background: linear-gradient(90deg, #6c2310fa, #8c3217f5 24%, #b44f24e6 52%, #d776388f 82%, #e9a56e2e),
    radial-gradient(circle at 10% 72%, rgba(85, 25, 10, 0.72), transparent 42%),
    radial-gradient(circle at 86% 100%, rgba(200, 105, 45, 0.42), transparent 44%),
    linear-gradient(0deg, rgba(88, 28, 12, 0.22), transparent 28%),
    linear-gradient(180deg, #fff8f2fa, #f5d6bce0 44%, #d98c599e 74%, #6e2e16ad) !important;
  --event-base: #9c3f1b;
  --event-wash-a: rgba(110, 36, 12, 0.58);
  --event-wash-b: rgba(195, 88, 32, 0.74);
  --event-ink: #fff6e8;
  --event-quiet: rgba(255, 242, 224, 0.88);
}
.programme__event--oli .programme__time,
.programme__event--oli .programme__time-main,
.programme__event--oli h4 {
  color: #fff7f9f5 !important;
}
.programme__event--oli .programme__time-main svg,
.programme__event--oli .programme__venue svg {
  color: #edcc85e6 !important;
}
.programme__event--oli .programme__time small {
  color: #f3d8a0e6 !important;
}
.programme__event--oli p,
.programme__event--oli .programme__venue {
  color: #f9e9cce6 !important;
}

.programme__event--haldi {
  background: linear-gradient(90deg, #7c5803fa, #9a6d05f5 24%, #b8860be6 52%, #d4a0179a 82%, #fef08a2e),
    radial-gradient(circle at 10% 72%, rgba(105, 75, 4, 0.72), transparent 42%),
    radial-gradient(circle at 86% 100%, rgba(234, 179, 8, 0.45), transparent 44%),
    linear-gradient(0deg, rgba(120, 85, 5, 0.2), transparent 28%),
    linear-gradient(180deg, #fffef2fa, #fef3c7e0 44%, #fde0479e 74%, #854d0ead) !important;
  --event-base: #b47a06;
  --event-wash-a: rgba(125, 85, 3, 0.58);
  --event-wash-b: rgba(234, 179, 8, 0.74);
  --event-ink: #fffdf5;
  --event-quiet: rgba(255, 252, 235, 0.88);
}
.programme__event--haldi .programme__time,
.programme__event--haldi .programme__time-main,
.programme__event--haldi h4 {
  color: #fffef2fa !important;
}
.programme__event--haldi .programme__time-main svg,
.programme__event--haldi .programme__venue svg {
  color: #fef08ae6 !important;
}
.programme__event--haldi .programme__time small {
  color: #fef9c3e6 !important;
}
.programme__event--haldi p,
.programme__event--haldi .programme__venue {
  color: #fefce8e6 !important;
}

/* ==========================================================================
   3D INVITATION REEL MODAL & LAUNCH BUTTONS
   ========================================================================== */
.welcome-editorial__reel-bar {
  margin: 1.15rem 0 1.35rem;
  display: flex;
  align-items: center;
}

.welcome-editorial__reel-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.35rem;
  font-family: var(--font-body, system-ui, sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #2b1805;
  background: linear-gradient(135deg, #fcebc7 0%, #e2b768 46%, #ba8730 100%);
  border: 1px solid #f2d499;
  border-radius: 999px;
  box-shadow: 0 4px 16px -3px rgba(186, 135, 48, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.welcome-editorial__reel-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px -3px rgba(186, 135, 48, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.welcome-editorial__reel-btn .reel-play-icon {
  color: #5c3506;
}

.welcome-editorial__hero-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.65rem;
  padding: 0.45rem 1.05rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fffef8;
  background: rgba(22, 14, 10, 0.78);
  border: 1px solid rgba(214, 169, 88, 0.65);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.welcome-editorial__hero-play-btn:hover {
  background: rgba(186, 135, 48, 0.92);
  color: #1a0f04;
  transform: scale(1.04);
}

.reel-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 1;
  transition: opacity 0.28s ease;
}

.reel-modal[hidden] {
  display: none !important;
}

.reel-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 6, 4, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.reel-modal__chassis {
  position: relative;
  z-index: 2;
  width: min(440px, 94vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: #140c08;
  border: 1px solid rgba(214, 169, 88, 0.55);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.85), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: reelModalEnter 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes reelModalEnter {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.reel-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.15rem;
  background: rgba(28, 16, 11, 0.95);
  border-bottom: 1px solid rgba(214, 169, 88, 0.3);
  color: #edd199;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.reel-modal__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.reel-modal__close {
  background: transparent;
  border: none;
  color: #edd199;
  cursor: pointer;
  padding: 0.25rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.reel-modal__close:hover {
  transform: scale(1.12);
  background: rgba(214, 169, 88, 0.2);
  color: #fff;
}

.reel-modal__player {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: calc(90vh - 3.8rem);
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reel-modal__video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ==========================================================================
   MOBILE OVERLAP & SPACING REFINEMENTS
   ========================================================================== */
@media (max-width: 640px) {
  .destination-editorial__intro {
    padding-top: 3.25rem !important;
    padding-bottom: 2.75rem !important;
    min-height: auto !important;
  }
  .destination-editorial__venue-notice {
    margin-top: 3.75rem !important;
    padding: 2.6rem 1.25rem 1.75rem !important;
    width: calc(100% - 1.5rem) !important;
  }
}

/* ==========================================================================
   CLIENT REVISIONS: GANESH INVOCATION & DESTINATION REFINEMENTS
   ========================================================================== */

/* 1. Shree Ganeshay Namah single line & ornament removal */
.hero-blessings {
  top: 1rem !important;
  left: 1rem !important;
  z-index: 25 !important;
  display: flex !important;
  align-items: center !important;
}
.hero-blessings__ornament {
  display: none !important;
}
.hero-blessings__copy {
  margin: 0 !important;
  padding: 0 !important;
}
.hero-blessings__copy p {
  margin: 0 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.05em !important;
  color: #a87930 !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

/* 2. Language Switcher positioned cleanly below the single line */
#lang-dock {
  z-index: 120 !important;
}
#lang-toggle.language-switcher-button {
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(190, 143, 60, 0.35) !important;
  box-shadow: 0 4px 12px rgba(100, 70, 30, 0.08) !important;
  color: #6c5328 !important;
  height: 32px !important;
  padding: 0 0.85rem !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  transition: all 0.2s ease !important;
}
#lang-toggle.language-switcher-button:hover {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(190, 143, 60, 0.6) !important;
}

/* 3. Remove horizontal gold rule above Katni */
.hero-stage__destination:before {
  display: none !important;
  content: none !important;
  height: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* 4. Programme Date Numerals (4 & 5) Elegant Alignment */
.programme-day-card__lockup {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(1rem, 3.5vw, 2.2rem) !important;
  transform: none !important;
}
.programme-day-card__date-number {
  position: relative !important;
  top: 0 !important;
  font-size: clamp(6.5rem, 18vw, 9.8rem) !important;
  line-height: 0.9 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-variant-numeric: lining-nums !important;
  margin: 0 !important;
  color: #aa711d !important;
  text-shadow: 0 4px 18px rgba(170, 113, 29, 0.15) !important;
}
.programme-day-card__details {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  text-align: left !important;
}
.programme-day-card__date-month {
  font-size: clamp(2.4rem, 7vw, 3.5rem) !important;
  line-height: 1 !important;
}
.programme-day-card__summary {
  margin-top: 0.35rem !important;
  font-size: clamp(0.92rem, 2.5vw, 1.15rem) !important;
  line-height: 1.35 !important;
}

/* 5. Destination: "Celebrating in Katni" & Glassmorphism Notice Card */
.destination-editorial__intro-title {
  font-family: var(--font-display, "Playfair Display", "Cormorant Garamond", serif) !important;
  letter-spacing: -0.015em !important;
  line-height: 1.08 !important;
}
.destination-editorial__intro-title em {
  font-family: "Cormorant Garamond", "Playfair Display", serif !important;
  font-style: italic !important;
  color: #c9983e !important;
  background: linear-gradient(135deg, #d4a74a 0%, #b88628 50%, #e2be68 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  letter-spacing: 0.02em !important;
  font-weight: 600 !important;
}

.destination-editorial__venue-notice {
  background: rgba(255, 253, 247, 0.75) !important;
  backdrop-filter: blur(20px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
  border: 1px solid rgba(212, 175, 55, 0.45) !important;
  border-radius: 1.6rem !important;
  box-shadow:
    0 24px 50px -15px rgba(50, 30, 10, 0.14),
    0 8px 24px -8px rgba(180, 134, 52, 0.18),
    inset 0 1px 2px rgba(255, 255, 255, 0.95),
    inset 0 0 28px rgba(218, 176, 91, 0.08) !important;
  padding: 2.75rem 2rem 2.25rem !important;
}
.destination-editorial__venue-notice h3 {
  font-family: var(--font-display, "Playfair Display", "Cormorant Garamond", serif) !important;
  font-size: clamp(1.85rem, 5vw, 2.75rem) !important;
  letter-spacing: 0.02em !important;
  line-height: 1.15 !important;
  color: #2b1f14 !important;
  margin-bottom: 0.75rem !important;
}
.destination-editorial__venue-notice h3 em {
  font-style: italic !important;
  color: #b88628 !important;
  display: block !important;
  margin-top: 0.2rem !important;
}
.destination-editorial__venue-notice-copy {
  font-size: clamp(0.92rem, 2.5vw, 1.08rem) !important;
  line-height: 1.6 !important;
  color: #4a3c2e !important;
  max-width: 44ch !important;
  margin: 1rem auto 0 !important;
}

/* -------------------------------------------------------------
 * PROGRAMME SECTION & EVENT CARDS - HIGH CONTRAST & VISIBILITY
 * ------------------------------------------------------------- */
.programme-day-card {
  opacity: 1 !important;
  visibility: visible !important;
  display: grid !important;
}

.programme-day-card__lockup,
.programme-day-card__date-number,
.programme-day-card__date,
.programme-day-card__date-month,
.programme-day-card__summary {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.programme-day-card__date-number {
  color: #b38948 !important;
  font-family: "Instrument Serif Wedding", "Instrument Serif", Georgia, serif !important;
  font-variant-numeric: lining-nums !important;
  font-size: clamp(6.5rem, 18vw, 9.8rem) !important;
  text-shadow: 0 4px 18px rgba(179, 137, 72, 0.2) !important;
}

.programme__event,
.programme__event--reveal,
.programme__event--reveal-ready,
.programme__event--revealed,
.programme__event--settled {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.programme__time,
.programme__time-main,
.programme__time > small,
.programme__time .programme__venue,
.programme__event-copy,
.programme__event-copy h4,
.programme__event-copy p,
.programme__event-divider,
.programme__event-divider span {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.programme__event h4 {
  margin: 0 0 0.35rem !important;
  color: #fffdf8 !important;
  font-family: var(--font-display) !important;
  font-size: clamp(1.85rem, 5.5vw, 2.5rem) !important;
  font-weight: 400 !important;
  line-height: 1.05 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45) !important;
}

.programme__event h4 .programme__event-name-primary {
  color: #fffdf8 !important;
}

.programme__event h4 .programme__event-name-alt {
  color: rgba(255, 253, 248, 0.82) !important;
  font-size: 0.85em !important;
}

.programme__event h4 .programme__event-name-dot {
  color: rgba(255, 253, 248, 0.6) !important;
  margin: 0 0.25rem !important;
}

.programme__time-main {
  color: #fffdf8 !important;
  font-family: var(--font-display) !important;
  font-size: clamp(1.35rem, 4.2vw, 1.95rem) !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35) !important;
}

.programme__time-main span {
  color: #fffdf8 !important;
}

.programme__time-main svg {
  color: #f7d89c !important;
}

.programme__time > small {
  color: rgba(255, 253, 248, 0.88) !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
}

.programme__venue {
  color: rgba(255, 253, 248, 0.9) !important;
  font-size: 0.82rem !important;
  line-height: 1.35 !important;
}

.programme__venue svg {
  color: #f7d89c !important;
}

.programme__event-copy p {
  color: rgba(255, 253, 248, 0.92) !important;
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3) !important;
}

.programme__event-divider span svg {
  color: #f7d89c !important;
}

/* Event Specific Luxury Gradient Backdrops */
.programme__event--oli {
  background: linear-gradient(90deg, rgba(140, 50, 23, 0.96) 0%, rgba(180, 79, 36, 0.9) 52%, rgba(215, 118, 56, 0.65) 100%) !important;
}

.programme__event--haldi {
  background: linear-gradient(90deg, rgba(154, 109, 5, 0.96) 0%, rgba(184, 134, 11, 0.9) 52%, rgba(212, 160, 23, 0.72) 100%) !important;
}

.programme__event--sangeet {
  background: linear-gradient(90deg, rgba(20, 36, 66, 0.96) 0%, rgba(30, 54, 98, 0.9) 52%, rgba(45, 75, 130, 0.7) 100%) !important;
}

.programme__event--tilak {
  --event-base: #b38948;
  --event-wash-a: rgba(141, 109, 54, 0.58);
  --event-wash-b: rgba(208, 167, 95, 0.74);
  --event-ink: #fff7ed;
  --event-quiet: rgba(255, 247, 237, 0.88);
  background: linear-gradient(90deg, rgba(160, 115, 35, 0.96) 0%, rgba(195, 145, 55, 0.9) 52%, rgba(220, 175, 80, 0.7) 100%) !important;
}

.programme__event--reception {
  --event-base: #5a8882;
  --event-wash-a: rgba(90, 136, 130, 0.58);
  --event-wash-b: rgba(135, 175, 169, 0.74);
  --event-ink: #f0fdf9;
  --event-quiet: rgba(240, 253, 249, 0.88);
  background: linear-gradient(90deg, rgba(38, 92, 65, 0.96) 0%, rgba(52, 118, 85, 0.9) 52%, rgba(75, 145, 110, 0.7) 100%) !important;
}

.programme__event--varmala {
  --event-base: #8f6a9e;
  --event-wash-a: rgba(127, 95, 152, 0.58);
  --event-wash-b: rgba(175, 142, 198, 0.74);
  --event-ink: #fdf4ff;
  --event-quiet: rgba(253, 244, 255, 0.88);
  background: linear-gradient(90deg, rgba(135, 45, 85, 0.96) 0%, rgba(168, 65, 110, 0.9) 52%, rgba(195, 90, 138, 0.7) 100%) !important;
}

.programme__event--phere {
  --event-base: #b33d2f;
  --event-wash-a: rgba(145, 29, 20, 0.58);
  --event-wash-b: rgba(225, 107, 63, 0.74);
  --event-ink: #fff5f5;
  --event-quiet: rgba(255, 245, 245, 0.88);
  background: linear-gradient(90deg, rgba(145, 29, 20, 0.96) 0%, rgba(180, 42, 30, 0.9) 52%, rgba(210, 68, 48, 0.7) 100%) !important;
}

/* Countdown Typography & Spacing Fix */
.countdown-editorial__number {
  line-height: 0.9 !important;
}

.countdown-editorial__label {
  margin-top: 2.25rem !important;
  opacity: 0.88 !important;
}

/* Hard Device Isolation Barrier */
html[data-device="phone"] .hero-stage {
  min-height: 29rem !important;
  transform: translateY(-0.25rem) !important;
}

html[data-device="phone"] .hero-stage__names {
  font-size: clamp(1.95rem, 8.2vw, 2.65rem) !important;
  line-height: 1.08 !important;
}

html[data-device="phone"] .hero-stage__destination {
  margin-top: 1.15rem !important;
}

html[data-device="desktop"] .hero-stage {
  min-height: clamp(28rem, 50vw, 36rem) !important;
}

html[data-device="desktop"] .hero-stage__names {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem) !important;
  line-height: 1.05 !important;
}

/* Wedding Ambient Music Widget */
.wedding-music-dock {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 99;
}
.wedding-music-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem 0.45rem 0.6rem;
  border-radius: 999px;
  background: rgba(254, 252, 248, 0.92);
  border: 1px solid rgba(179, 137, 72, 0.4);
  color: #5c3a12;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(8px);
  cursor: pointer;
  font-family: system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.25s ease;
}
.wedding-music-toggle:hover {
  background: #ffffff;
  border-color: #b38948;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(179, 137, 72, 0.25);
}
.wedding-music-disc {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #d4af37 25%, #8c6224 70%, #4a3413 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.25);
  font-size: 11px;
}
.wedding-music-toggle.is-playing .wedding-music-disc {
  animation: spinRecord 3s linear infinite;
}
@keyframes spinRecord {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.destination-editorial__map-btn {
  background: linear-gradient(135deg, rgba(179, 137, 72, 0.15) 0%, rgba(179, 137, 72, 0.28) 100%);
  color: #7a4e10 !important;
  border: 1px solid rgba(179, 137, 72, 0.4) !important;
  text-decoration: none;
}
.destination-editorial__map-btn:hover {
  background: #b38948 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* ==========================================================================
   VISUAL DRAG & DROP POSITIONING SYSTEM & PINCH ZOOM
   ========================================================================== */
[data-drag-id] {
  translate: var(--drag-x, 0px) var(--drag-y, 0px);
  scale: var(--drag-scale, 1);
  transform-origin: center center;
}

body.drag-mode-disabled [data-drag-id] {
  pointer-events: auto;
  touch-action: auto;
  cursor: auto;
}
body.drag-mode-disabled [data-drag-id]:hover {
  outline: none !important;
}

body.in-iframe.drag-mode-active [data-drag-id],
body.drag-mode-active [data-drag-id] {
  pointer-events: auto !important;
  touch-action: none;
  cursor: grab;
}

body.in-iframe.drag-mode-active [data-drag-id]:hover,
body.drag-mode-active [data-drag-id]:hover {
  outline: 1.5px dashed rgba(179, 137, 72, 0.7);
  outline-offset: 3px;
}

body.in-iframe.drag-mode-active [data-drag-id].is-dragging,
body.drag-mode-active [data-drag-id].is-dragging {
  cursor: grabbing !important;
  outline: 2px solid #b38948 !important;
  outline-offset: 4px;
  z-index: 9999 !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

.drag-coord-hud {
  display: none !important;
}

.drag-coord-hud__label {
  color: #f6d89b;
}

.drag-coord-hud__coords {
  background: rgba(255, 255, 255, 0.16);
  padding: 0.12rem 0.45rem;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  color: #5eead4;
}

.drag-coord-hud__scale {
  background: rgba(212, 175, 55, 0.22);
  border: 1px solid rgba(212, 175, 55, 0.45);
  padding: 0.12rem 0.45rem;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  color: #fef08a;
}

.drag-hud-zoom-wrap {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 4px;
  padding-left: 6px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.drag-hud-btn {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: #ffffff;
  border-radius: 999px;
  padding: 0 6px;
  height: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.drag-hud-btn:hover {
  background: #d4af37;
  color: #1a1611;
  border-color: #d4af37;
}

/* ==========================================================================
   DYNAMIC SECTION SPACING & CUSTOM GAP ADJUSTMENTS
   ========================================================================== */
:root {
  --hero-bottom-gap: 0px;
  --welcome-gap: 0px;
  --programme-gap: 0px;
  --destination-gap: 0px;
  --travel-gap: 0px;
  --dress-gap: 0px;
  --timeline-gap: 0px;
  --faq-gap: 0px;
  --family-gap: 0px;
  --rsvp-gap: 0px;
  --countdown-gap: 0px;
  --footer-gap: 0px;
}

#hero.invitation-hero {
  padding-bottom: max(0.5rem, calc(4rem + var(--hero-bottom-gap, 0px))) !important;
}

html[data-hero-compact="true"] #hero.invitation-hero,
body[data-hero-compact="true"] #hero.invitation-hero {
  min-height: auto !important;
}

#welcome,
.welcome-editorial {
  margin-top: var(--welcome-gap, 0px) !important;
}

#events,
.programme-section {
  margin-top: var(--programme-gap, 0px) !important;
}

#venue,
.destination-section {
  margin-top: var(--destination-gap, 0px) !important;
}

.travel-guide-section {
  margin-top: var(--travel-gap, 0px) !important;
}

.dress-code-section {
  margin-top: var(--dress-gap, 0px) !important;
}

.timeline-section {
  margin-top: var(--timeline-gap, 0px) !important;
}

.faq-section {
  margin-top: var(--faq-gap, 0px) !important;
}

.family-invitation-section,
#family {
  margin-top: var(--family-gap, 0px) !important;
}

.rsvp-section,
#rsvp {
  margin-top: var(--rsvp-gap, 0px) !important;
}

.countdown-section,
#countdown {
  margin-top: var(--countdown-gap, 0px) !important;
}

.invitation-footer,
#footer {
  margin-top: var(--footer-gap, 0px) !important;
}

/* Custom Text Style Modifiers (Bold & Sizing) */
[data-text-key] {
  transition: font-size 0.15s ease, font-weight 0.15s ease;
}
.is-custom-bold {
  font-weight: 700 !important;
}

/* Live Preview Target Flash & Auto-Scroll Highlight */
@keyframes previewGlowPulse {
  0% {
    outline: 3px solid rgba(217, 129, 50, 0.95);
    box-shadow: 0 0 24px rgba(217, 129, 50, 0.6), inset 0 0 16px rgba(217, 129, 50, 0.2);
  }
  60% {
    outline: 2px solid rgba(217, 129, 50, 0.6);
    box-shadow: 0 0 16px rgba(217, 129, 50, 0.35);
  }
  100% {
    outline: 2px solid transparent;
    box-shadow: none;
  }
}

.preview-target-highlight {
  animation: previewGlowPulse 1.8s ease-out forwards !important;
  border-radius: 8px;
}

/* WhatsApp RSVP Button */
.rsvp-card__link--whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35) !important;
  transition: all 0.2s ease !important;
}
.rsvp-card__link--whatsapp:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5) !important;
}



