/* ==========================================================================
   JAYANT & MUSKAN — FLAGSHIP ROYAL RAJASTHANI WEDDING INVITATION
   Upgraded Edition for https://wedding.tecbyyou.in/
   ========================================================================== */

:root {
  --sandstone: #FAF5EE;
  --champagne: #F2E7D7;
  --champagne-soft: #F7EFE3;
  --ivory-card: #FFFDF9;
  --marigold-tint: #F7E8D0;
  --terracotta: #B85D4B;
  --terracotta-deep: #8D4131;
  --brass: #C59B57;
  --brass-light: #E4CA96;
  --brass-ink: #876327;
  --espresso: #2B211C;
  --espresso-soft: #5C4A3F;
  --espresso-muted: #857164;
  --night: #170F0B;

  --font-serif: 'Cormorant Garamond', 'Noto Serif Devanagari', Georgia, 'Times New Roman', serif;
  --font-sans: 'Jost', 'Hind', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-hindi-serif: 'Noto Serif Devanagari', 'Cormorant Garamond', serif;
  --font-hindi-sans: 'Hind', 'Jost', sans-serif;

  --shadow-lux: 0 22px 50px -22px rgba(56, 35, 19, 0.22);
  --shadow-seal: 0 18px 44px rgba(20, 8, 4, 0.48), 0 0 0 1px rgba(228, 202, 150, 0.58);
  --ease-royal: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: light only;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--sandstone);
}

html[lang="hi"] body {
  font-family: var(--font-hindi-sans);
}

html[lang="hi"] .serif-heading,
html[lang="hi"] h1,
html[lang="hi"] h2,
html[lang="hi"] h3 {
  font-family: var(--font-hindi-serif);
  line-height: 1.42;
  letter-spacing: 0 !important;
}

body {
  margin: 0;
  background-color: var(--sandstone);
  color: var(--espresso);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

body.gate-locked,
body.lightbox-locked {
  overflow: hidden;
}

/* Subtle handmade Udaipur cotton paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ==========================================================================
   3-LAYER PARALLAX PETAL CANVAS
   ========================================================================== */
#petalCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 22;
}

/* ==========================================================================
   3D ROYAL RAJASTHANI PALACE DOUBLE DOORS GATE (#gateOverlay)
   ========================================================================== */
.gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  perspective: 1800px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 45%, #FFF8EB 0%, #F5DCBA 46%, #E2BA84 100%);
  transition: opacity 0.75s ease, visibility 0.75s ease;
}

.gate-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.gate-sunlight {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 48%, rgba(255, 251, 238, 0.98) 0%, rgba(255, 224, 162, 0.85) 35%, rgba(250, 245, 238, 0) 74%);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 1.1s ease, transform 1.55s var(--ease-royal);
  pointer-events: none;
  z-index: 1;
}

.gate-overlay.is-opening .gate-sunlight {
  opacity: 1;
  transform: scale(1.28);
}

.gate-topbar {
  position: absolute;
  top: max(16px, env(safe-area-inset-top, 16px));
  right: 18px;
  z-index: 8;
  transition: opacity 0.45s ease;
}

.gate-overlay.is-opening .gate-topbar {
  opacity: 0;
  pointer-events: none;
}

.gate-lang-btn {
  background: rgba(38, 16, 12, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(228, 202, 150, 0.7);
  color: #FFF9EE;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.gate-lang-btn:hover {
  border-color: #FFE4AD;
  background: rgba(64, 26, 19, 0.88);
}

.gate-doors {
  position: absolute;
  inset: 0;
  display: flex;
  transform-style: preserve-3d;
  z-index: 2;
}

.gate-door {
  position: relative;
  width: 50%;
  height: 100%;
  background:
    radial-gradient(120% 90% at 50% 25%, rgba(176, 80, 62, 0.42), transparent 65%),
    linear-gradient(180deg, #6A2B21 0%, #521F17 54%, #3D1610 100%);
  border-top: 4px solid var(--brass);
  border-bottom: 4px solid var(--brass);
  box-shadow: inset 0 0 65px rgba(18, 5, 3, 0.58);
  transition: transform 1.75s var(--ease-royal);
  backface-visibility: hidden;
  overflow: hidden;
}

.gate-door--left {
  transform-origin: left center;
  border-right: 1.5px solid rgba(228, 202, 150, 0.72);
}

.gate-door--right {
  transform-origin: right center;
  border-left: 1.5px solid rgba(228, 202, 150, 0.72);
}

.gate-overlay.is-opening .gate-door--left {
  transform: rotateY(-108deg);
}

.gate-overlay.is-opening .gate-door--right {
  transform: rotateY(108deg);
}

.door-carving {
  position: absolute;
  inset: 22px 16px;
  border: 1.5px solid rgba(228, 202, 150, 0.52);
  border-radius: 14px;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(197, 155, 87, 0.11) 2px, transparent 2.5px),
    linear-gradient(45deg, rgba(197, 155, 87, 0.07) 25%, transparent 25%, transparent 75%, rgba(197, 155, 87, 0.07) 75%),
    linear-gradient(-45deg, rgba(197, 155, 87, 0.07) 25%, transparent 25%, transparent 75%, rgba(197, 155, 87, 0.07) 75%);
  background-size: 28px 28px;
}

.door-carving::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(228, 202, 150, 0.30);
  border-radius: 110px 110px 10px 10px;
  pointer-events: none;
}

.door-handle {
  position: absolute;
  top: 52%;
  width: 34px;
  height: 58px;
  transform: translateY(-50%);
  z-index: 4;
  pointer-events: none;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.45));
}

.gate-door--left .door-handle { right: 12px; }
.gate-door--right .door-handle { left: 12px; }

.gate-bell {
  position: absolute;
  top: 0;
  width: 34px;
  height: 86px;
  z-index: 4;
  transform-origin: top center;
  animation: gentleSwing 4.6s ease-in-out infinite alternate;
  pointer-events: none;
}

.gate-door--left .gate-bell { left: 24%; }
.gate-door--right .gate-bell { right: 24%; animation-delay: -2.3s; }

@keyframes gentleSwing {
  0% { transform: rotate(-2.2deg); }
  100% { transform: rotate(2.2deg); }
}

.gate-centerpiece {
  position: relative;
  z-index: 6;
  width: min(90vw, 416px);
  padding: 28px 24px 26px;
  text-align: center;
  background: radial-gradient(circle at 50% 25%, #FFFDF9 0%, #F9F0E1 68%, #EFE0C6 100%);
  border: 2px solid var(--brass);
  border-radius: 210px 210px 26px 26px;
  box-shadow: var(--shadow-seal);
  transition: opacity 0.55s ease, transform 0.65s var(--ease-royal);
}

.gate-centerpiece::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(197, 155, 87, 0.48);
  border-radius: 202px 202px 20px 20px;
  pointer-events: none;
}

.gate-overlay.is-opening .gate-centerpiece {
  opacity: 0;
  transform: scale(1.07);
  pointer-events: none;
}

.gate-ganesha {
  width: 44px;
  height: 44px;
  margin: 0 auto 4px;
  color: var(--terracotta-deep);
}

.gate-invocation {
  font-family: var(--font-hindi-serif);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--terracotta-deep);
  margin: 0 0 12px;
}

.wax-seal {
  width: 84px;
  height: 84px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFFDF8 0%, #F3E4C8 65%, #DEC292 100%);
  border: 2px solid var(--brass);
  box-shadow:
    inset 0 2px 6px rgba(255, 255, 255, 0.85),
    inset 0 -3px 8px rgba(138, 101, 40, 0.28),
    0 8px 20px rgba(78, 30, 23, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.wax-seal::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1px dashed rgba(135, 99, 39, 0.55);
}

.wax-seal-monogram {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  color: var(--terracotta-deep);
}

.wax-seal-year {
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--brass-ink);
  margin-top: 3px;
  font-weight: 600;
}

html[lang="hi"] .wax-seal-monogram {
  font-family: var(--font-hindi-serif);
  font-size: 20px;
}

.gate-couple {
  font-family: var(--font-serif);
  font-size: clamp(30px, 7.8vw, 38px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--espresso);
  margin: 0 0 6px;
}

.gate-couple .amp {
  font-style: italic;
  font-weight: 400;
  color: var(--brass-ink);
  margin: 0 4px;
  font-size: 0.84em;
}

.gate-dates {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin: 0 0 4px;
}

html[lang="hi"] .gate-dates {
  letter-spacing: 0.02em;
  font-size: 14px;
}

.gate-host {
  font-size: 13px;
  color: var(--espresso-soft);
  margin: 0 0 18px;
}

.gate-open-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 274px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid #E4CA96;
  background: linear-gradient(135deg, #983F2E 0%, #B85D4B 50%, #863425 100%);
  color: #FFFDF9;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  box-shadow: 0 8px 24px rgba(154, 67, 50, 0.38), 0 0 0 4px rgba(197, 155, 87, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: softPulseGlow 2.8s ease-in-out infinite;
}

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

@keyframes softPulseGlow {
  0%, 100% { box-shadow: 0 8px 24px rgba(154, 67, 50, 0.35), 0 0 0 3px rgba(197, 155, 87, 0.18); }
  50% { box-shadow: 0 10px 30px rgba(184, 93, 75, 0.55), 0 0 0 7px rgba(197, 155, 87, 0.30); }
}

.gate-hint {
  font-size: 11.5px;
  color: var(--espresso-muted);
  margin: 10px 0 0;
}

/* ==========================================================================
   FLOATING ADAPTIVE TOP NAVIGATION BAR
   ========================================================================== */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 45;
  padding: 10px 14px;
  transition: all 0.35s ease;
}

.topbar-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 6px 14px;
  height: 54px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(23, 15, 11, 0.42);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(228, 202, 150, 0.32);
  color: #FFFDF9;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.topbar.is-scrolled .topbar-inner {
  background: rgba(255, 253, 249, 0.92);
  color: var(--espresso);
  border-color: rgba(197, 155, 87, 0.50);
  box-shadow: 0 12px 32px -16px rgba(46, 36, 31, 0.25);
}

.brand-crest {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-serif);
  font-weight: 600;
}

.brand-crest-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.2px solid var(--brass-light);
  background: rgba(255, 253, 249, 0.14);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  color: inherit;
}

.topbar.is-scrolled .brand-crest-badge {
  background: var(--champagne-soft);
  border-color: var(--brass);
  color: var(--terracotta-deep);
}

.brand-crest-names {
  display: none;
  font-size: 17px;
  letter-spacing: 0.02em;
}

@media (min-width: 560px) {
  .brand-crest-names {
    display: inline;
  }
}

.topbar-nav {
  display: none;
  align-items: center;
  gap: 4px;
}

@media (min-width: 920px) {
  .topbar-nav {
    display: flex;
  }
}

.topbar-nav a {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  opacity: 0.88;
  transition: background 0.2s ease, opacity 0.2s ease, color 0.2s ease;
}

.topbar-nav a:hover {
  opacity: 1;
  background: rgba(197, 155, 87, 0.18);
}

.topbar-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pill-control {
  min-height: 36px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(228, 202, 150, 0.48);
  background: rgba(255, 255, 255, 0.10);
  color: inherit;
  font-size: 12.5px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.topbar.is-scrolled .pill-control {
  background: var(--ivory-card);
  border-color: rgba(197, 155, 87, 0.6);
  color: var(--espresso);
}

.pill-control:hover {
  border-color: var(--brass-light);
  background: rgba(197, 155, 87, 0.22);
}

.eq-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
  width: 13px;
}

.eq-bars i {
  display: block;
  width: 2.5px;
  background: var(--brass-light);
  border-radius: 2px;
  height: 4px;
}

.topbar.is-scrolled .eq-bars i {
  background: var(--terracotta-deep);
}

.is-playing .eq-bars i:nth-child(1) { animation: eqBounce 0.75s ease-in-out infinite; }
.is-playing .eq-bars i:nth-child(2) { animation: eqBounce 0.55s ease-in-out 0.15s infinite; }
.is-playing .eq-bars i:nth-child(3) { animation: eqBounce 0.85s ease-in-out 0.3s infinite; }

@keyframes eqBounce {
  0%, 100% { height: 4px; }
  50% { height: 12px; }
}

/* ==========================================================================
   SECTION 1: CINEMATIC FULL-BLEED HERO (images/hero.jpg + Gold Jharokha)
   ========================================================================== */
.hero-cinematic {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 16px 124px;
  background-color: var(--night);
  color: #FFFDF9;
  overflow: hidden;
}

.hero-bg-photo {
  position: absolute;
  inset: 0;
  background-image: url("images/hero.jpg");
  background-size: cover;
  /* Keeps both bride & groom centered on vertical mobile screens */
  background-position: 73% 28%;
  transform: scale(1.03);
  transition: transform 8s ease-out;
  z-index: 0;
}

body.invite-opened .hero-bg-photo {
  transform: scale(1);
}

@media (min-width: 768px) {
  .hero-bg-photo {
    background-position: center 26%;
  }
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 10, 7, 0.72) 0%, rgba(22, 12, 9, 0.42) 45%, rgba(22, 12, 9, 0.78) 88%, var(--sandstone) 100%),
    radial-gradient(circle at 50% 45%, rgba(20, 11, 8, 0.28), rgba(16, 9, 6, 0.58));
  z-index: 1;
}

.hero-jharokha-box {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: clamp(58px, 13vw, 88px) clamp(20px, 5vw, 48px) clamp(38px, 7vw, 54px);
  text-align: center;
}

.jharokha-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.jharokha-stroke-main {
  fill: none;
  stroke: rgba(228, 202, 150, 0.82);
  stroke-width: 1.6;
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  transition: stroke-dashoffset 2.5s var(--ease-royal);
}

.jharokha-stroke-inner {
  fill: none;
  stroke: rgba(228, 202, 150, 0.38);
  stroke-width: 0.9;
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  transition: stroke-dashoffset 2.7s var(--ease-royal) 0.25s;
}

body.invite-opened .jharokha-stroke-main,
body.invite-opened .jharokha-stroke-inner {
  stroke-dashoffset: 0;
}

.hero-invocation {
  font-family: var(--font-hindi-serif);
  font-size: 14px;
  color: var(--brass-light);
  letter-spacing: 0.06em;
  margin: 0 0 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.hero-kicker {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 250, 240, 0.86);
  margin: 0 0 14px;
}

html[lang="hi"] .hero-kicker {
  letter-spacing: 0.04em;
  font-size: 14px;
}

.hero-names {
  font-family: var(--font-serif);
  font-size: clamp(50px, 13vw, 88px);
  font-weight: 500;
  line-height: 0.96;
  color: #FFFDF9;
  margin: 6px 0 18px;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.55);
}

html[lang="hi"] .hero-names {
  font-size: clamp(42px, 11vw, 72px);
  line-height: 1.24;
}

.hero-names .name-line {
  display: block;
}

.hero-names .amp-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-style: italic;
  font-size: 0.48em;
  color: var(--brass-light);
  margin: 10px 0;
}

.hero-names .amp-line::before,
.hero-names .amp-line::after {
  content: "";
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass-light), transparent);
}

html[lang="hi"] .hero-names .amp-line {
  font-style: normal;
  font-size: 0.42em;
}

.rise-unit {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease-royal), transform 0.65s var(--ease-royal);
}

body.invite-opened .rise-unit {
  opacity: 1;
  transform: translateY(0);
}

.hero-save-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-light);
  padding: 7px 18px;
  border-radius: 999px;
  border: 1px solid rgba(228, 202, 150, 0.45);
  background: rgba(23, 15, 11, 0.42);
  backdrop-filter: blur(8px);
  margin-bottom: 12px;
}

html[lang="hi"] .hero-save-badge {
  letter-spacing: 0.04em;
  font-size: 14px;
}

.hero-sub {
  font-size: clamp(14.5px, 3.6vw, 17px);
  color: rgba(255, 253, 249, 0.88);
  max-width: 440px;
  margin: 0 auto 24px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.btn-gold-hero {
  min-height: 46px;
  padding: 11px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #D5AC67 0%, #B88B44 100%);
  border: 1px solid #F2DBA8;
  color: #23150E;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-gold-hero:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.btn-glass-hero {
  min-height: 46px;
  padding: 11px 22px;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(228, 202, 150, 0.52);
  color: #FFFDF9;
  font-size: 13.5px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease;
}

.btn-glass-hero:hover {
  background: rgba(255, 253, 249, 0.22);
}

/* ==========================================================================
   FLOATING COUNTDOWN + INTERACTIVE GOLD FOIL SCRATCH CARD
   ========================================================================== */
.countdown-float-wrap {
  position: relative;
  z-index: 15;
  margin-top: -72px;
  padding: 0 16px 24px;
}

.countdown-lux-card {
  max-width: 880px;
  margin: 0 auto;
  background: var(--ivory-card);
  border: 1.5px solid var(--brass);
  border-radius: 26px;
  padding: clamp(24px, 5vw, 38px) clamp(18px, 4.5vw, 40px);
  box-shadow: var(--shadow-lux);
  position: relative;
}

.countdown-lux-card::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(197, 155, 87, 0.32);
  border-radius: 20px;
  pointer-events: none;
}

.eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin: 0 0 8px;
  text-align: center;
}

html[lang="hi"] .eyebrow {
  letter-spacing: 0.04em;
  font-size: 14px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 6.8vw, 48px);
  font-weight: 500;
  line-height: 1.12;
  color: var(--espresso);
  text-align: center;
  margin: 0 0 10px;
}

.section-sub {
  text-align: center;
  color: var(--espresso-soft);
  max-width: 560px;
  margin: 0 auto;
  font-size: 15.5px;
}

.gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 18px auto;
  max-width: 240px;
}

.gold-divider::before,
.gold-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
}

.gold-divider-gem {
  width: 7px;
  height: 7px;
  background: var(--terracotta);
  border: 1px solid var(--brass);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(8px, 2.4vw, 18px);
  max-width: 620px;
  margin: 22px auto 0;
}

.countdown-box {
  background: linear-gradient(180deg, #FFFDF9 0%, var(--champagne-soft) 100%);
  border: 1px solid rgba(197, 155, 87, 0.55);
  border-radius: 18px;
  padding: clamp(14px, 3vw, 22px) 6px;
  text-align: center;
}

.cd-num {
  font-family: var(--font-serif);
  font-size: clamp(30px, 7vw, 48px);
  font-weight: 600;
  line-height: 1;
  color: var(--terracotta-deep);
  font-variant-numeric: tabular-nums;
}

.cd-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--espresso-soft);
  margin-top: 8px;
}

html[lang="hi"] .cd-label {
  letter-spacing: 0.02em;
  font-size: 13px;
}

.countdown-status-banner {
  display: none;
  max-width: 560px;
  margin: 20px auto 0;
  padding: 18px 22px;
  border-radius: 16px;
  background: var(--champagne-soft);
  border: 1px solid var(--brass);
  text-align: center;
  font-family: var(--font-serif);
  font-size: 21px;
  color: var(--terracotta-deep);
}

/* Interactive Gold Foil Scratch Keepsake Strip */
.scratch-keepsake-wrap {
  margin: 24px auto 0;
  max-width: 420px;
  text-align: center;
}

.scratch-stage {
  position: relative;
  height: 92px;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid var(--brass);
  background: radial-gradient(circle at 50% 50%, #FFFDF9 0%, #F7E8D0 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  user-select: none;
}

.scratch-under-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-ink);
}

.scratch-under-date {
  font-family: var(--font-serif);
  font-size: clamp(19px, 4.5vw, 24px);
  font-weight: 600;
  color: var(--terracotta-deep);
  margin-top: 2px;
}

#scratchCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
  transition: opacity 0.6s ease;
}

#scratchCanvas.is-revealed {
  opacity: 0;
  pointer-events: none;
}

.scratch-instant-btn {
  margin-top: 8px;
  background: none;
  border: 0;
  font-size: 12px;
  color: var(--espresso-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.scratch-instant-btn:hover {
  color: var(--terracotta-deep);
}

/* ==========================================================================
   SHARED SECTIONS & SACRED MANDALA
   ========================================================================== */
main {
  position: relative;
  z-index: 5;
}

.section-block {
  position: relative;
  padding: clamp(64px, 10vw, 96px) 18px;
  overflow: hidden;
  scroll-margin-top: 68px;
}

.section-band {
  background: linear-gradient(180deg, var(--champagne-soft) 0%, var(--champagne) 50%, var(--champagne-soft) 100%);
  border-top: 1px solid rgba(197, 155, 87, 0.25);
  border-bottom: 1px solid rgba(197, 155, 87, 0.25);
}

.container {
  max-width: 1060px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.mandala-bg {
  position: absolute;
  width: min(560px, 92vw);
  height: min(560px, 92vw);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(var(--mandala-rot, 0deg));
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
  color: var(--brass-ink);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s var(--ease-royal), transform 0.85s var(--ease-royal);
}

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

/* ==========================================================================
   BLESSINGS & FORMAL CHAURASIYA FAMILY STATIONERY CARD
   ========================================================================== */
.blessings-intro {
  max-width: 600px;
  margin: 0 auto 44px;
  text-align: center;
}

.ganesha-emblem {
  width: 60px;
  height: 60px;
  margin: 0 auto 8px;
  color: var(--terracotta-deep);
}

.shloka-sanskrit {
  font-family: var(--font-hindi-serif);
  font-size: clamp(18px, 4.2vw, 22px);
  line-height: 1.75;
  color: var(--terracotta-deep);
  font-weight: 500;
  white-space: pre-line;
  margin: 14px auto;
}

.stationery-card {
  position: relative;
  background: var(--ivory-card);
  border: 1.5px solid var(--brass);
  border-radius: 24px;
  padding: clamp(36px, 7vw, 58px) clamp(22px, 6vw, 52px);
  box-shadow: var(--shadow-lux);
  text-align: center;
  max-width: 660px;
  margin: 0 auto;
}

.stationery-card::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(197, 155, 87, 0.42);
  border-radius: 17px;
  pointer-events: none;
}

.corner-ornament {
  position: absolute;
  width: 24px;
  height: 24px;
  color: var(--brass);
  pointer-events: none;
}
.corner-ornament.tl { top: 14px; left: 14px; }
.corner-ornament.tr { top: 14px; right: 14px; transform: scaleX(-1); }
.corner-ornament.bl { bottom: 14px; left: 14px; transform: scaleY(-1); }
.corner-ornament.br { bottom: 14px; right: 14px; transform: scale(-1, -1); }

.invite-preline {
  font-size: 14.5px;
  color: var(--espresso-soft);
  font-style: italic;
  margin: 0 0 10px;
}

html[lang="hi"] .invite-preline { font-style: normal; }

.invite-host-name {
  font-family: var(--font-serif);
  font-size: clamp(26px, 5.6vw, 34px);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--terracotta-deep);
  margin: 0 0 12px;
}

.invite-request-copy {
  font-size: 15.5px;
  color: var(--espresso-soft);
  max-width: 470px;
  margin: 0 auto 22px;
}

.invite-couple-highlight {
  margin: 18px 0;
  padding: 18px 12px;
  background: linear-gradient(180deg, rgba(247, 232, 208, 0.35), rgba(242, 231, 215, 0.55), rgba(247, 232, 208, 0.35));
  border-top: 1px solid rgba(197, 155, 87, 0.38);
  border-bottom: 1px solid rgba(197, 155, 87, 0.38);
}

.invite-person-name {
  font-family: var(--font-serif);
  font-size: clamp(34px, 8vw, 50px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--espresso);
}

.invite-connector {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  color: var(--brass-ink);
  margin: 6px 0;
}

html[lang="hi"] .invite-connector { font-style: normal; font-size: 18px; }

.invite-closing-copy {
  font-size: 15px;
  color: var(--espresso-soft);
  max-width: 470px;
  margin: 20px auto 0;
}

/* ==========================================================================
   OUR JOURNEY / STORY EDITORIAL SECTION
   ========================================================================== */
.story-split {
  display: grid;
  gap: 32px;
  align-items: center;
  margin-top: 32px;
}

@media (min-width: 840px) {
  .story-split {
    grid-template-columns: 5fr 7fr;
    gap: 48px;
  }
}

.story-arch-photo {
  position: relative;
  max-width: 380px;
  margin: 0 auto;
  border-radius: 200px 200px 22px 22px;
  overflow: hidden;
  border: 2px solid var(--brass);
  padding: 7px;
  background: var(--ivory-card);
  box-shadow: var(--shadow-lux);
}

.story-arch-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 62% center;
  border-radius: 192px 192px 16px 16px;
}

.story-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(23px, 4.5vw, 32px);
  line-height: 1.35;
  color: var(--terracotta-deep);
  margin: 0 0 18px;
}

html[lang="hi"] .story-quote {
  font-style: normal;
  font-size: clamp(21px, 4.2vw, 27px);
}

.story-paragraphs p {
  color: var(--espresso-soft);
  font-size: 15.5px;
  line-height: 1.8;
  margin: 0 0 16px;
}

.hashtag-pill {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 600;
  color: var(--brass-ink);
  padding: 6px 18px;
  border-radius: 999px;
  background: var(--ivory-card);
  border: 1px solid rgba(197, 155, 87, 0.55);
}

/* ==========================================================================
   ILLUSTRATED 5-CEREMONY ROYAL GOLD-THREAD TIMELINE
   ========================================================================== */
.timeline-wrap {
  position: relative;
  max-width: 880px;
  margin: 42px auto 0;
  padding-left: 28px;
}

@media (min-width: 680px) {
  .timeline-wrap {
    padding-left: 46px;
  }
}

.timeline-track {
  position: absolute;
  left: 9px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: rgba(197, 155, 87, 0.28);
  border-radius: 2px;
}

@media (min-width: 680px) {
  .timeline-track { left: 17px; }
}

.timeline-fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--brass) 0%, var(--terracotta) 60%, var(--brass) 100%);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(197, 155, 87, 0.55);
  transition: height 0.12s linear;
}

.fn-card {
  position: relative;
  background: var(--ivory-card);
  border: 1px solid rgba(197, 155, 87, 0.52);
  border-radius: 24px;
  overflow: visible;
  margin-bottom: 28px;
  box-shadow: var(--shadow-lux);
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 740px) {
  .fn-card {
    grid-template-columns: 295px 1fr;
  }
}

.fn-card.is-featured {
  border: 1.8px solid var(--brass);
  background: linear-gradient(180deg, #FFFDF9 0%, #FBF3E5 100%);
}

.fn-node {
  position: absolute;
  left: -26px;
  top: 34px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ivory-card);
  border: 2.5px solid var(--brass);
  box-shadow: 0 0 0 4px var(--sandstone);
  z-index: 3;
  transition: all 0.3s ease;
}

@media (min-width: 680px) {
  .fn-node { left: -36px; }
}

.fn-card.is-active-node .fn-node {
  background: var(--terracotta);
  border-color: var(--terracotta-deep);
  transform: scale(1.2);
}

.fn-photo-wrap {
  position: relative;
  min-height: 215px;
  overflow: hidden;
  border-radius: 23px 23px 0 0;
}

@media (min-width: 740px) {
  .fn-photo-wrap {
    border-radius: 23px 0 0 23px;
    min-height: 100%;
  }
}

.fn-photo-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-royal);
}

.fn-card:hover .fn-photo-wrap img {
  transform: scale(1.06);
}

.fn-photo-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 10, 6, 0.35) 0%, transparent 45%, rgba(20, 10, 6, 0.55) 100%);
}

.fn-step-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 253, 249, 0.92);
  color: var(--terracotta-deep);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 14px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(197, 155, 87, 0.6);
}

.fn-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fn-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.fn-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--marigold-tint);
  border: 1px solid rgba(197, 155, 87, 0.48);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--terracotta-deep);
}

.fn-icon-box svg {
  width: 24px;
  height: 24px;
}

.fn-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFDF9;
  background: var(--terracotta-deep);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 5px;
}

html[lang="hi"] .fn-badge {
  letter-spacing: 0.02em;
  font-size: 12px;
}

.fn-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 4.6vw, 30px);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 5px;
  color: var(--espresso);
}

.fn-subtitle {
  font-size: 14px;
  color: var(--espresso-soft);
  margin: 0;
}

.fn-meta {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(197, 155, 87, 0.42);
  display: grid;
  gap: 8px;
}

.fn-datetime {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--terracotta-deep);
}

.fn-datetime span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fn-venue-block {
  margin-top: 2px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(242, 231, 215, 0.55);
  border: 1px solid rgba(197, 155, 87, 0.32);
}

.fn-venue-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--espresso);
  margin: 0 0 2px;
}

.fn-venue-address {
  font-size: 13px;
  color: var(--espresso-soft);
  margin: 0;
  line-height: 1.48;
}

.fn-intimate-note {
  font-size: 13.5px;
  color: var(--espresso-muted);
  font-style: italic;
  margin: 2px 0 0;
}

html[lang="hi"] .fn-intimate-note { font-style: normal; }

.fn-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-royal {
  min-height: 41px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all 0.2s ease;
}

.btn-royal--primary {
  background: var(--terracotta-deep);
  border: 1px solid var(--terracotta-deep);
  color: #FFFDF9;
}

.btn-royal--primary:hover {
  background: #733224;
}

.btn-royal--outline {
  background: var(--ivory-card);
  border: 1px solid rgba(197, 155, 87, 0.72);
  color: var(--espresso);
}

.btn-royal--outline:hover {
  border-color: var(--terracotta-deep);
  background: var(--champagne-soft);
}

.cal-dropdown-wrap {
  position: relative;
}

.cal-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  min-width: 210px;
  background: var(--ivory-card);
  border: 1px solid var(--brass);
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(46, 36, 31, 0.20);
  padding: 6px;
  z-index: 35;
  display: none;
}

.cal-menu.is-open { display: block; }

.cal-menu a,
.cal-menu button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  border: 0;
  background: none;
  border-radius: 9px;
  font-size: 13px;
  color: var(--espresso);
}

.cal-menu a:hover,
.cal-menu button:hover {
  background: var(--champagne);
  color: var(--terracotta-deep);
}

/* ==========================================================================
   DEDICATED ROYAL VENUES SHOWCASE + LIVE GOOGLE MAPS
   ========================================================================== */
.venues-stack {
  display: grid;
  gap: 40px;
  margin-top: 38px;
}

.venue-showcase-card {
  background: var(--ivory-card);
  border: 1.5px solid rgba(197, 155, 87, 0.58);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-lux);
}

.venue-split {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 820px) {
  .venue-split {
    grid-template-columns: 1fr 1fr;
  }
  .venue-showcase-card:nth-child(even) .venue-photo-col {
    order: 2;
  }
}

.venue-photo-col {
  position: relative;
  min-height: 270px;
  overflow: hidden;
}

.venue-photo-col img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-royal);
}

.venue-showcase-card:hover .venue-photo-col img {
  transform: scale(1.05);
}

.venue-city-pill {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(23, 15, 11, 0.72);
  backdrop-filter: blur(8px);
  color: var(--brass-light);
  border: 1px solid rgba(228, 202, 150, 0.5);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
}

.venue-info-col {
  padding: clamp(24px, 4.5vw, 38px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.venue-occasion-tag {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin: 0 0 8px;
}

html[lang="hi"] .venue-occasion-tag {
  letter-spacing: 0.02em;
  font-size: 13px;
}

.venue-name-heading {
  font-family: var(--font-serif);
  font-size: clamp(28px, 5vw, 38px);
  font-weight: 600;
  color: var(--espresso);
  margin: 0 0 12px;
  line-height: 1.12;
}

.venue-addr-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--espresso-soft);
  font-size: 15px;
  margin: 0 0 10px;
}

.venue-addr-row svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--terracotta-deep);
}

.venue-parking-note {
  font-size: 13px;
  color: var(--espresso-muted);
  margin: 0 0 20px;
}

.venue-map-frame {
  border-top: 1px solid rgba(197, 155, 87, 0.35);
  padding: 8px;
  background: var(--champagne-soft);
}

.venue-map-frame iframe {
  width: 100%;
  height: 245px;
  border: 0;
  border-radius: 18px;
  display: block;
}

/* ==========================================================================
   CURATED 6-PHOTO MASONRY GALLERY + LIGHTBOX
   ========================================================================== */
.gallery-masonry {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 175px;
  gap: 12px;
}

@media (min-width: 720px) {
  .gallery-masonry {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: 18px;
  }
}

.gallery-tile {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid rgba(197, 155, 87, 0.5);
  background: var(--champagne);
  padding: 0;
  cursor: pointer;
  box-shadow: var(--shadow-lux);
}

.gallery-tile.is-tall {
  grid-row: span 2;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease-royal);
}

.gallery-tile:hover img {
  transform: scale(1.07);
}

.gallery-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(20, 10, 6, 0.78) 100%);
  display: flex;
  align-items: flex-end;
  padding: 14px;
}

.gallery-tile-caption {
  color: #FFFDF9;
  font-size: 13.5px;
  font-weight: 500;
  text-align: left;
}

/* Fullscreen Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(15, 9, 6, 0.92);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-overlay.is-open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 920px;
  width: 100%;
  text-align: center;
}

.lightbox-img {
  max-height: 76dvh;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 18px;
  border: 1.5px solid rgba(228, 202, 150, 0.55);
  object-fit: contain;
}

.lightbox-caption {
  color: #FFFDF9;
  font-family: var(--font-serif);
  font-size: 21px;
  margin: 12px 0 4px;
}

.lightbox-counter {
  color: var(--brass-light);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.lb-btn {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.45);
  color: #FFFDF9;
  display: grid;
  place-items: center;
}

.lb-btn:hover { background: rgba(197, 155, 87, 0.35); }
.lb-close { top: -52px; right: 0; }
.lb-prev { top: 44%; left: 6px; transform: translateY(-50%); }
.lb-next { top: 44%; right: 6px; transform: translateY(-50%); }

/* ==========================================================================
   R.S.V.P., COMPLIMENTS & CLOSING SHARE SUITE
   ========================================================================== */
.rsvp-card {
  background: var(--ivory-card);
  border: 1.5px solid var(--brass);
  border-radius: 24px;
  padding: clamp(28px, 6vw, 46px) clamp(20px, 5vw, 44px);
  box-shadow: var(--shadow-lux);
  text-align: center;
  max-width: 650px;
  margin: 28px auto 0;
  position: relative;
}

.rsvp-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(197, 155, 87, 0.35);
  border-radius: 17px;
  pointer-events: none;
}

.rsvp-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-ink);
  margin: 0 0 6px;
}

html[lang="hi"] .rsvp-label { letter-spacing: 0.03em; font-size: 13.5px; }

.compliments-text {
  font-family: var(--font-serif);
  font-size: clamp(22px, 4.8vw, 28px);
  font-weight: 500;
  color: var(--espresso);
  margin: 0 0 20px;
}

.rsvp-contact-box {
  padding: 20px 16px;
  border-radius: 18px;
  background: var(--champagne-soft);
  border: 1px solid rgba(197, 155, 87, 0.42);
  margin-top: 10px;
}

.rsvp-person {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--espresso);
  margin: 0 0 4px;
}

.rsvp-phone {
  font-size: 16px;
  font-weight: 600;
  color: var(--terracotta-deep);
  letter-spacing: 0.04em;
  margin: 0 0 16px;
}

.rsvp-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.closing-footer {
  padding: 64px 18px 84px;
  text-align: center;
  background: linear-gradient(180deg, var(--sandstone) 0%, var(--champagne) 100%);
  border-top: 1px solid rgba(197, 155, 87, 0.30);
}

.closing-monogram {
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 1.5px solid var(--brass);
  background: var(--ivory-card);
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--terracotta-deep);
}

.closing-names {
  font-family: var(--font-serif);
  font-size: clamp(32px, 7vw, 46px);
  font-weight: 500;
  color: var(--espresso);
  margin: 0 0 6px;
}

.closing-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 19px;
  color: var(--espresso-soft);
  max-width: 480px;
  margin: 12px auto 6px;
}

html[lang="hi"] .closing-quote { font-style: normal; font-size: 17px; }

.closing-thanks {
  font-size: 14.5px;
  color: var(--espresso-muted);
  margin: 0 auto 26px;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 660px;
  margin: 0 auto 26px;
}

.footer-utility-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 22px;
  font-size: 13px;
  color: var(--espresso-muted);
}

.footer-utility-links button {
  background: none;
  border: 0;
  padding: 4px 8px;
  color: var(--espresso-soft);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(197, 155, 87, 0.6);
}

.music-credit {
  margin-top: 18px;
  font-size: 11.5px;
  color: var(--espresso-muted);
}

.toast-msg {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--espresso);
  color: #FFFDF9;
  border: 1px solid var(--brass);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.toast-msg.is-shown {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   REDUCED MOTION & PRINT KEEPSAKE PDF
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gate-door { transition: opacity 0.35s ease !important; transform: none !important; }
  .gate-overlay.is-opening .gate-door { opacity: 0; }
  .gate-bell, .gate-open-btn, .eq-bars i { animation: none !important; }
  .reveal, .rise-unit { opacity: 1 !important; transform: none !important; transition: none !important; }
  .jharokha-stroke-main, .jharokha-stroke-inner { stroke-dashoffset: 0 !important; transition: none !important; }
  #petalCanvas { display: none !important; }
}

@media print {
  @page { margin: 12mm; size: A4 portrait; }
  body, html { background: #FFFDF9 !important; overflow: visible !important; height: auto !important; }
  body::before, #gateOverlay, #petalCanvas, .topbar, .hero-cta-row, .scratch-keepsake-wrap,
  .fn-actions, .venue-map-frame, #gallery, .rsvp-btns, .share-actions, .footer-utility-links,
  .lightbox-overlay, .toast-msg {
    display: none !important;
  }
  .hero-cinematic {
    min-height: auto !important;
    background: #FFFDF9 !important;
    color: var(--espresso) !important;
    padding: 20px 10px !important;
  }
  .hero-bg-photo, .hero-vignette { display: none !important; }
  .hero-names, .hero-kicker, .hero-sub, .hero-invocation, .hero-save-badge {
    color: var(--espresso) !important;
    text-shadow: none !important;
  }
  .countdown-float-wrap { margin-top: 0 !important; }
  .section-block, .closing-footer { padding: 18px 8px !important; background: transparent !important; border: 0 !important; }
  .reveal, .rise-unit { opacity: 1 !important; transform: none !important; }
  .stationery-card, .fn-card, .rsvp-card, .venue-showcase-card { box-shadow: none !important; break-inside: avoid; }
}
