/* ==========================================================
   Royal Indian Wedding — maroon · gold · ivory
   Mobile-first. Motion via CSS + GSAP (assets/js/main.js)
   ========================================================== */
:root {
  --m900: #24040a;
  --m800: #3a0811;
  --m700: #560c19;
  --m600: #761427;
  --rani: #b3164f;
  --g200: #fbeec6;
  --g300: #f3dc9b;
  --g400: #e2bd6a;
  --g500: #c9a24b;
  --g600: #a17a2a;
  --ivory: #fffaf1;
  --cream: #faf0dd;
  --sand: #efdcb9;
  --ink: #3a1a12;
  --muted: #7b5a48;
  --white: #fff;
  --shadow: 0 18px 50px -18px rgba(74, 10, 20, .35);
  --shadow-sm: 0 8px 26px -12px rgba(74, 10, 20, .3);
  --radius: 22px;
  --f-script: 'Great Vibes', cursive;
  --f-display: 'Cinzel', 'Times New Roman', serif;
  --f-serif: 'Cormorant Garamond', Georgia, serif;
  --f-hi: 'Tiro Devanagari Hindi', 'Noto Serif Devanagari', serif;
  --f-hi-d: 'Yatra One', 'Tiro Devanagari Hindi', serif;
  --gold-grad: linear-gradient(100deg, #b68a35 0%, #f6e3a1 22%, #d9b25c 40%, #fff3c9 52%, #c9a24b 66%, #f1d488 82%, #a77b2c 100%);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --pattern-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23c9a24b' stroke-opacity='.16'%3E%3Cpath d='M28 6l5 10-5 10-5-10z'/%3E%3Cpath d='M0 28h12M44 28h12'/%3E%3Ccircle cx='28' cy='40' r='2.2'/%3E%3C/g%3E%3C/svg%3E");
  --pattern-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23e2bd6a' stroke-opacity='.09'%3E%3Cpath d='M32 0c9 9 9 23 0 32c-9-9-9-23 0-32zM32 32c9 9 9 23 0 32c-9-9-9-23 0-32zM0 32c9-9 23-9 32 0c-9 9-23 9-32 0zM32 32c9-9 23-9 32 0c-9 9-23 9-32 0z'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-serif);
  font-size: 1.16rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
body.is-locked { overflow: hidden; height: 100svh; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--g500); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.center { text-align: center; }
.script { font-family: var(--f-script); font-weight: 400; }
[lang="hi"] { font-family: var(--f-hi); }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }
.wrap.narrow { max-width: 780px; }
.sec { position: relative; padding: clamp(72px, 11vw, 130px) 0; overflow: hidden; background: var(--ivory) var(--pattern-light); }
section[id] { scroll-margin-top: 56px; }

/* ---------- Section heads ---------- */
.sec-head { text-align: center; margin: 0 auto clamp(36px, 6vw, 60px); max-width: 680px; }
.eyebrow {
  font-family: var(--f-display); font-size: .74rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--g600); margin: 0 0 10px; font-weight: 600;
}
.title {
  font-family: var(--f-display); font-weight: 600; font-size: clamp(2rem, 7.4vw, 3.4rem);
  line-height: 1.12; margin: 0; color: var(--m700); letter-spacing: .02em;
}
.title.script { font-family: var(--f-script); font-weight: 400; font-size: clamp(2.8rem, 11vw, 4.6rem); letter-spacing: 0; }
.title .amp-s { font-family: var(--f-script); color: var(--g500); font-size: 1.15em; padding: 0 .1em; }
.sec-sub { margin: 14px 0 0; color: var(--muted); font-style: italic; }
.divider { width: 220px; max-width: 70%; height: 24px; margin: 14px auto 0; display: block; color: var(--g500); }
.sec-head.light .title, .sec-head.light .eyebrow { color: var(--g300); }
.sec-head.light .title.script { color: var(--g200); }

.gold-text, .hero-names .split, .intro-names {
  background: var(--gold-grad); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: -220% 0; } }

/* ---------- Buttons ---------- */
.btn-gold, .btn-line {
  --pad: 14px 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad); border-radius: 999px; text-decoration: none;
  font-family: var(--f-display); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  position: relative; overflow: hidden; border: 0; transition: transform .25s, box-shadow .25s, background .25s;
}
.btn-gold {
  color: var(--m800);
  background: linear-gradient(135deg, #f8e7b0, #d8b25e 45%, #f3da93 70%, #b9903c);
  box-shadow: 0 10px 26px -10px rgba(161, 122, 42, .85), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.btn-gold::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent);
  transform: skewX(-20deg); animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.btn-gold:hover, .btn-line:hover { transform: translateY(-2px); }
.btn-gold:active, .btn-line:active { transform: scale(.97); }
.btn-line { color: var(--m700); background: transparent; box-shadow: inset 0 0 0 1.5px var(--g500); }
.btn-line:hover { background: rgba(201, 162, 75, .1); }
.btn-line.light { color: var(--g200); box-shadow: inset 0 0 0 1.5px rgba(243, 220, 155, .7); }
.btn-block { width: 100%; }
.btn-gold[disabled] { opacity: .7; pointer-events: none; }

/* ==========================================================
   INTRO — palace doors
   ========================================================== */
.intro {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  perspective: 1800px; overflow: hidden; background: transparent;
}
.door {
  position: absolute; top: 0; bottom: 0; width: 50.5%; overflow: hidden;
  background:
    radial-gradient(120% 70% at 50% 50%, rgba(255, 210, 120, .08), transparent 60%),
    var(--pattern-dark),
    linear-gradient(180deg, #5d0d1b, #3b0811 55%, #2a050b);
  transition: transform 2s cubic-bezier(.75, 0, .2, 1), filter 2s;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, .55);
  backface-visibility: hidden;
}
.door-l { left: 0; transform-origin: left center; border-right: 1px solid rgba(226, 189, 106, .5); }
.door-r { right: 0; transform-origin: right center; border-left: 1px solid rgba(226, 189, 106, .5); }
.door-panel {
  position: absolute; inset: 16px; border: 1.5px solid rgba(226, 189, 106, .55);
  border-radius: 50% 50% 6px 6px / 22% 22% 6px 6px;
}
.door-l .door-panel { right: 10px; border-right: 0; border-radius: 100% 0 6px 6px / 22% 0 6px 6px; }
.door-r .door-panel { left: 10px; border-left: 0; border-radius: 0 100% 6px 6px / 0 22% 6px 6px; }
.door-panel::before {
  content: ""; position: absolute; inset: 12px; border: 1px solid rgba(226, 189, 106, .25); border-radius: inherit;
}
.door-l .door-panel::before { right: 0; border-right: 0; }
.door-r .door-panel::before { left: 0; border-left: 0; }
.door-mandala {
  position: absolute; width: min(118vw, 118vh); height: min(118vw, 118vh); top: 50%;
  color: var(--g400); opacity: .22; animation: spin 90s linear infinite;
}
.door-l .door-mandala { right: 0; transform: translate(50%, -50%); }
.door-r .door-mandala { left: 0; transform: translate(-50%, -50%); }
.door-l .door-mandala { margin-right: -10px; }
.door-r .door-mandala { margin-left: -10px; }
.intro-glow {
  position: absolute; width: 70vmin; height: 70vmin; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 196, 92, .22), transparent 65%); animation: breathe 4s ease-in-out infinite;
}
.intro-content {
  position: relative; z-index: 2; text-align: center; color: var(--g300); padding: 24px 22px;
  display: flex; flex-direction: column; align-items: center; transition: opacity .7s, transform .9s;
}
.intro .invocation { font-family: var(--f-hi-d); font-size: clamp(1.15rem, 4.6vw, 1.5rem); color: var(--g300); margin: 0 0 6px; }
.intro-kalash { width: 64px; height: 64px; color: var(--g400); margin: 2px 0 10px; animation: floaty 4s ease-in-out infinite; }
.intro-dear { margin: 0 0 4px; font-size: 1.25rem; color: var(--g200); }
.intro-dear strong { font-weight: 600; color: #fff; }
.intro-line { margin: 0; font-style: italic; font-size: 1.12rem; color: rgba(251, 238, 198, .85); max-width: 320px; }
.intro-names { font-family: var(--f-script); font-weight: 400; font-size: clamp(3rem, 13vw, 5.6rem); line-height: 1.15; margin: 4px 0 18px; padding: 0 .1em; }
.intro-names span { font-size: .7em; }
.seal {
  position: relative; width: 132px; height: 132px; border-radius: 50%; border: 0; padding: 0;
  background: radial-gradient(circle at 35% 30%, #8d1a2e, #4b0914 70%);
  box-shadow: 0 0 0 3px rgba(226, 189, 106, .85), 0 0 0 8px rgba(226, 189, 106, .16), 0 18px 40px rgba(0, 0, 0, .55);
  display: grid; place-items: center; transition: transform .35s;
}
.seal:hover { transform: scale(1.05); }
.seal-logo { width: 112px; height: 112px; }
.seal-ring {
  position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(243, 220, 155, .6);
  animation: ripple 2.2s ease-out infinite;
}
.tap-hint {
  margin: 22px 0 0; display: flex; align-items: center; gap: 8px; font-family: var(--f-display);
  font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: var(--g300); animation: blink 2.2s ease-in-out infinite;
}
.intro-content > * { animation: riseIn 1s cubic-bezier(.2, .8, .2, 1) both; }
.intro-content > :nth-child(2) { animation-delay: .12s; } .intro-content > :nth-child(3) { animation-delay: .24s; }
.intro-content > :nth-child(4) { animation-delay: .36s; } .intro-content > :nth-child(5) { animation-delay: .48s; }
.intro-content > :nth-child(6) { animation-delay: .6s; } .intro-content > :nth-child(7) { animation-delay: .72s; }
.intro-content > .intro-kalash { animation: riseIn 1s .12s both, floaty 4s 1.2s ease-in-out infinite; }
.intro-content > .tap-hint { animation: riseIn 1s .8s both, blink 2.2s 1.8s ease-in-out infinite; }
@keyframes riseIn { from { opacity: 0; transform: translateY(26px); } }
.intro.is-opening .intro-content { opacity: 0; transform: scale(1.15); pointer-events: none; }
.intro.is-opening .intro-glow { opacity: 0; transition: opacity .6s; }
.intro.is-opening .door-l { transform: rotateY(-108deg); filter: brightness(.6); transition-delay: .35s; }
.intro.is-opening .door-r { transform: rotateY(108deg); filter: brightness(.6); transition-delay: .35s; }
.intro.is-gone { opacity: 0; visibility: hidden; transition: opacity .8s, visibility 0s .8s; }

@keyframes ripple { from { transform: scale(.92); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
@keyframes blink { 50% { opacity: .45; } }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .7; } }
@keyframes floaty { 50% { transform: translateY(-6px); } }
@keyframes spin { to { rotate: 360deg; } }

/* ---------- Petals canvas ---------- */
#petals { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 40; }

/* ---------- Music button ---------- */
.music-btn {
  position: fixed; z-index: 70; top: calc(12px + env(safe-area-inset-top, 0px)); right: 14px;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(36, 4, 10, .72); border: 1.5px solid rgba(226, 189, 106, .75); color: var(--g300);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 8px 22px rgba(0, 0, 0, .3);
}
.music-btn .eq { display: none; gap: 3px; align-items: flex-end; height: 18px; }
.music-btn .eq i { width: 3px; background: var(--g300); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.music-btn .eq i:nth-child(2) { animation-delay: -.3s; } .music-btn .eq i:nth-child(3) { animation-delay: -.6s; } .music-btn .eq i:nth-child(4) { animation-delay: -.15s; }
.music-btn.is-playing .eq { display: flex; }
.music-btn.is-playing .music-ic { display: none; }
.music-btn::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid rgba(226, 189, 106, .45); animation: ripple 2.4s infinite; }
.music-btn.is-playing::after { display: none; }
@keyframes eq { 0%, 100% { height: 5px; } 50% { height: 18px; } }

/* ---------- Top bar ---------- */
.topbar {
  position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: 62px;
  padding: 0 72px 0 16px; padding-top: env(safe-area-inset-top, 0px); box-sizing: content-box;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: rgba(36, 4, 10, .8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 189, 106, .25);
  transform: translateY(-110%); transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.topbar.is-shown { transform: none; }
.tb-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--g300); }
.tb-logo { width: 42px; height: 42px; }
.tb-brand span { font-family: var(--f-script); font-size: 1.7rem; line-height: 1; color: var(--g200); }
.tb-brand em { font-style: normal; color: var(--g500); font-size: .8em; }
.tb-nav { display: none; gap: 4px; align-items: center; }
.tb-nav a {
  text-decoration: none; color: var(--g200); font-family: var(--f-display); font-size: .7rem; letter-spacing: .18em;
  text-transform: uppercase; padding: 9px 12px; border-radius: 999px; transition: background .25s, color .25s;
}
.tb-nav a:hover, .tb-nav a.is-active { color: var(--m800); background: var(--g300); }
.tb-nav a.tb-cta { box-shadow: inset 0 0 0 1px var(--g400); }

/* ---------- Bottom dock (phones) ---------- */
.dock {
  position: fixed; z-index: 50; left: 12px; right: 12px; bottom: calc(10px + var(--safe-b));
  display: grid; grid-template-columns: repeat(5, 1fr); padding: 7px; border-radius: 22px;
  background: rgba(36, 4, 10, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 189, 106, .32); box-shadow: 0 14px 34px rgba(0, 0, 0, .35);
  transform: translateY(160%); transition: transform .6s cubic-bezier(.2, .8, .2, 1);
  max-width: 480px; margin: 0 auto;
}
.dock.is-shown { transform: none; }
.dock a {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 2px; border-radius: 16px;
  text-decoration: none; color: rgba(251, 238, 198, .72); font-family: var(--f-display); font-size: .56rem; letter-spacing: .1em; text-transform: uppercase;
  transition: color .25s, background .25s;
}
.dock a .ic { width: 21px; height: 21px; }
.dock a.is-active { color: var(--m800); background: linear-gradient(135deg, #f6e3a1, #d4ad5c); }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center;
  color: var(--ivory); overflow: hidden; background: var(--m900); isolation: isolate;
}
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity 1.8s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); }
.hero-slide.is-active img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.16) translate3d(0, 1.5%, 0); } to { transform: scale(1.02) translate3d(0, 0, 0); } }
.hero-shade {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 80% at 50% 45%, transparent 30%, rgba(24, 2, 6, .55) 100%),
    linear-gradient(180deg, rgba(36, 4, 10, .78) 0%, rgba(36, 4, 10, .42) 28%, rgba(36, 4, 10, .48) 58%, rgba(36, 4, 10, .94) 100%);
}
.toran { position: absolute; top: 0; left: 0; width: 100%; height: clamp(96px, 15vw, 170px); z-index: 3; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .35)); }
.toran .strand { transform-box: fill-box; transform-origin: 50% 0; animation: sway 3.6s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes sway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
.hero-content {
  position: relative; z-index: 4; text-align: center; padding: clamp(110px, 18vw, 150px) 20px 120px;
  display: flex; flex-direction: column; align-items: center; max-width: 900px;
}
.hero .invocation { font-family: var(--f-hi-d); font-size: clamp(1rem, 4vw, 1.35rem); color: var(--g300); margin: 0 0 8px; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.hero-logo { width: clamp(86px, 20vw, 128px); margin: 4px 0 12px; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .45)); }
.hero-mono { width: 100%; height: auto; }
.hero-eyebrow { margin: 0; font-family: var(--f-display); font-size: .75rem; letter-spacing: .32em; text-transform: uppercase; color: var(--g200); text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.hero-names {
  margin: 6px 0 0; display: flex; flex-direction: column; align-items: center; line-height: .95;
  font-family: var(--f-script); font-weight: 400; font-size: clamp(4.2rem, 19vw, 8.6rem);
  filter: drop-shadow(0 6px 22px rgba(0, 0, 0, .55));
}
.hero-names .split { display: inline-block; padding: .08em .14em .12em; }
.hero-names .split.is-split { background: none; animation: none; color: inherit; }
.hero-names .split .ch {
  display: inline-block; padding: .1em .14em .16em; margin: 0 -.14em;
  background: var(--gold-grad); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 7s linear infinite;
}
.hero-names .amp { font-size: .5em; color: var(--g400); margin: -.05em 0; }
.hero-tagline { margin: 6px 0 18px; font-style: italic; font-size: clamp(1.25rem, 4.6vw, 1.6rem); color: var(--g200); text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.hero-date {
  display: flex; align-items: center; gap: 14px; padding: 12px 22px; margin-bottom: 26px;
  border-top: 1px solid rgba(226, 189, 106, .6); border-bottom: 1px solid rgba(226, 189, 106, .6);
  font-family: var(--f-display); text-transform: uppercase; letter-spacing: .16em; font-size: .66rem; color: var(--g200);
  background: rgba(36, 4, 10, .28); backdrop-filter: blur(3px);
}
.hero-date strong { font-size: clamp(1.15rem, 4.6vw, 1.6rem); font-weight: 600; color: #fff; letter-spacing: .08em; white-space: nowrap; }
.hero-date strong i { color: var(--g400); font-style: normal; padding: 0 .25em; }
.hero-date span { max-width: 92px; line-height: 1.4; }
.scroll-cue {
  position: absolute; z-index: 4; left: 50%; bottom: calc(96px + var(--safe-b)); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: var(--g300);
  font-family: var(--f-display); font-size: .6rem; letter-spacing: .3em; text-transform: uppercase;
}
.scroll-cue span { width: 22px; height: 36px; border: 1.5px solid var(--g300); border-radius: 12px; position: relative; }
.scroll-cue span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--g300); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@media (max-width: 899px) { .scroll-cue { display: none; } }

/* ==========================================================
   INVITATION
   ========================================================== */
.bg-mandala {
  position: absolute; z-index: 0; width: min(920px, 150vw); aspect-ratio: 1; height: auto;
  left: 50%; top: 50%; translate: -50% -50%; color: var(--g500); opacity: .09; pointer-events: none;
}
.spin { animation: spin 140s linear infinite; }
.invite { text-align: center; background: radial-gradient(90% 60% at 50% 0%, #fff6e4, transparent 70%), var(--ivory) var(--pattern-light); }
.shloka { font-family: var(--f-hi-d); color: var(--m600); font-size: clamp(1.15rem, 4.6vw, 1.65rem); line-height: 1.75; margin: 0; }
.invite-hi { font-size: clamp(1.08rem, 3.9vw, 1.3rem); line-height: 2; color: var(--ink); margin: 26px 0 34px; }
.invite-couple { display: grid; gap: 22px; align-items: center; margin-bottom: 34px; }
.ic-person { padding: 26px 18px; border-radius: var(--radius); background: rgba(255, 255, 255, .7); box-shadow: var(--shadow-sm); border: 1px solid rgba(201, 162, 75, .28); }
.ic-hi { margin: 0; font-family: var(--f-hi-d); color: var(--g600); font-size: 1.2rem; }
.ic-person h3 { margin: 0; font-size: clamp(3rem, 12vw, 4rem); line-height: 1.15; color: var(--m700); }
.ic-parents { margin: 4px 0 0; font-size: 1.02rem; color: var(--muted); line-height: 1.6; }
.ic-parents.en { font-style: italic; font-size: 1rem; }
.ic-weds { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--g600); font-family: var(--f-display); letter-spacing: .3em; text-transform: uppercase; font-size: .75rem; }
.ic-weds [lang="hi"] { font-family: var(--f-hi-d); letter-spacing: 0; font-size: 1.3rem; text-transform: none; }
.ic-weds .ic { width: 34px; height: 34px; color: var(--rani); animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(.96); } 45% { transform: scale(1.1); } }
.invite-en { font-style: italic; font-size: clamp(1.12rem, 3.8vw, 1.3rem); color: var(--muted); margin: 0; }

/* ==========================================================
   COUNTDOWN
   ========================================================== */
.countdown {
  text-align: center; color: var(--g200);
  background: radial-gradient(80% 60% at 50% 40%, rgba(179, 22, 79, .25), transparent 70%), var(--pattern-dark), linear-gradient(180deg, var(--m800), var(--m900));
}
.countdown .bg-mandala { color: var(--g400); opacity: .1; }
.cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 640px; margin: 0 auto 34px; }
.cd-unit {
  position: relative; padding: 18px 4px 14px; border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02));
  border: 1px solid rgba(226, 189, 106, .45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 16px 30px -18px rgba(0, 0, 0, .6);
  perspective: 400px;
}
.cd-unit::before, .cd-unit::after { content: "✦"; position: absolute; top: 5px; font-size: .55rem; color: var(--g500); }
.cd-unit::before { left: 8px; } .cd-unit::after { right: 8px; }
.cd-num { display: block; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.7rem, 8vw, 3.6rem); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.cd-num.tick { animation: flip .55s cubic-bezier(.3, 1.4, .6, 1); }
@keyframes flip { 0% { transform: rotateX(-90deg); opacity: 0; } 100% { transform: rotateX(0); opacity: 1; } }
.cd-lbl { display: block; margin-top: 8px; font-family: var(--f-display); font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--g300); }
.cd-done { font-size: 1.4rem; font-style: italic; color: var(--g200); }
.diya { position: absolute; width: 58px; height: 58px; bottom: -6px; z-index: 0; }
.diya-l { left: 6px; } .diya-r { right: 6px; }
.diya .flame { transform-box: fill-box; transform-origin: 50% 100%; animation: flicker 1.6s ease-in-out infinite; filter: drop-shadow(0 0 8px #ffb347); }
@keyframes flicker { 0%, 100% { transform: scale(1) rotate(-2deg); } 25% { transform: scale(1.06, .94) rotate(2deg); } 50% { transform: scale(.95, 1.07) rotate(-1deg); } 75% { transform: scale(1.04, .97) rotate(1.5deg); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--m900); padding: 16px 0; overflow: hidden; display: grid; gap: 12px; }
.mq-row { overflow: hidden; }
.mq-track { display: flex; gap: 12px; width: max-content; animation: marquee 70s linear infinite; }
.mq-row.rev .mq-track { animation-direction: reverse; }
.mq-track img { height: clamp(120px, 22vw, 200px); width: auto; border-radius: 14px; object-fit: cover; aspect-ratio: 4/5; border: 1px solid rgba(226, 189, 106, .35); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================
   COUPLE
   ========================================================== */
.couple-grid { display: grid; gap: 34px; justify-items: center; }
.person { text-align: center; max-width: 380px; }
.arch {
  position: relative; width: min(78vw, 340px); aspect-ratio: 4/5; margin: 0 auto 18px;
  border-radius: 999px 999px 22px 22px; overflow: hidden; box-shadow: var(--shadow);
  background: var(--sand);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.arch:hover img { transform: scale(1.06); }
.arch-frame { position: absolute; inset: 9px; border-radius: 999px 999px 16px 16px; border: 1.5px solid rgba(243, 220, 155, .9); pointer-events: none; }
.p-role { margin: 0; font-family: var(--f-display); font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--g600); }
.person h3 { margin: 0; font-size: clamp(2.7rem, 10vw, 3.4rem); line-height: 1.2; color: var(--m700); }
.p-parents { margin: 0 0 10px; font-style: italic; color: var(--muted); }
.p-about { margin: 0; font-size: 1.08rem; }
.p-insta { display: inline-block; margin-top: 8px; color: var(--rani); text-decoration: none; font-weight: 600; }
.couple-amp { position: relative; width: 120px; height: 120px; display: grid; place-items: center; }
.amp-mandala { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--g500); opacity: .5; }
.couple-amp span { position: relative; font-family: var(--f-script); font-size: 3.6rem; color: var(--rani); line-height: 1; }

/* ==========================================================
   STORY timeline
   ========================================================== */
.story { background: var(--cream) var(--pattern-light); }
.timeline { position: relative; max-width: 1000px; margin: 0 auto; }
.tl-line { position: absolute; top: 6px; bottom: 6px; left: 21px; width: 2px; background: rgba(201, 162, 75, .28); border-radius: 2px; }
.tl-progress { position: absolute; inset: 0; background: linear-gradient(180deg, var(--g400), var(--rani)); transform-origin: top; border-radius: 2px; }
.tl-item { position: relative; padding-left: 58px; margin-bottom: 36px; }
.tl-item:last-child { margin-bottom: 0; }
.tl-dot {
  position: absolute; left: 4px; top: 18px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ivory); color: var(--rani); border: 2px solid var(--g400); box-shadow: 0 0 0 6px rgba(201, 162, 75, .14); z-index: 1;
}
.tl-dot .ic { width: 16px; height: 16px; }
.tl-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(201, 162, 75, .2); }
.tl-photo { margin: 0; aspect-ratio: 4/3; overflow: hidden; }
.tl-photo img { width: 100%; height: 100%; object-fit: cover; }
.tl-body { padding: 20px 22px 24px; }
.tl-date { display: inline-block; font-family: var(--f-display); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--white); background: linear-gradient(135deg, var(--m600), var(--rani)); padding: 5px 12px; border-radius: 999px; }
.tl-body h3 { margin: 10px 0 6px; font-family: var(--f-script); font-weight: 400; font-size: 2.4rem; line-height: 1.1; color: var(--m700); }
.tl-body p { margin: 0; }

/* ==========================================================
   EVENTS
   ========================================================== */
.events { background: radial-gradient(70% 50% at 50% 0%, #fff3dc, transparent 70%), var(--ivory) var(--pattern-light); }
.ev-track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 -20px; padding: 14px 20px 28px; -webkit-overflow-scrolling: touch;
}
.ev-track::-webkit-scrollbar { display: none; }
.ev-card {
  --c: #b71c1c; flex: 0 0 86%; scroll-snap-align: center; position: relative; display: flex; flex-direction: column;
  background: var(--white); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid rgba(201, 162, 75, .22); transition: transform .4s, box-shadow .4s;
}
.ev-card::before { content: ""; position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 5px; background: var(--c); }
.ev-img { position: relative; margin: 0; aspect-ratio: 16/11; overflow: hidden; }
.ev-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.ev-card:hover .ev-img img { transform: scale(1.07); }
.ev-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .35)); }
.ev-badge {
  position: absolute; z-index: 1; top: 16px; left: 14px; width: 58px; padding: 7px 0 6px; border-radius: 14px; text-align: center;
  background: rgba(255, 250, 241, .94); box-shadow: 0 8px 20px rgba(0, 0, 0, .2); line-height: 1;
}
.ev-badge b { display: block; font-family: var(--f-display); font-size: 1.45rem; color: var(--c); }
.ev-badge small { font-family: var(--f-display); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.ev-body { position: relative; padding: 0 22px 22px; text-align: center; display: flex; flex-direction: column; flex: 1; }
.ev-icon {
  width: 72px; height: 72px; margin: -38px auto 6px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 2;
  color: var(--c); background: #fff8ee; background: color-mix(in srgb, var(--c) 12%, #fff);
  border: 4px solid var(--white); box-shadow: 0 10px 22px -8px rgba(0, 0, 0, .35);
}
.ev-ic { width: 40px; height: 40px; }
.ev-hi { margin: 4px 0 0; font-family: var(--f-hi-d); color: var(--c); font-size: 1.25rem; line-height: 1.3; }
.ev-body h3 { margin: 0 0 12px; font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; letter-spacing: .04em; color: var(--m700); }
.ev-meta { list-style: none; margin: 0 0 12px; padding: 14px 0 0; border-top: 1px dashed rgba(201, 162, 75, .5); text-align: left; display: grid; gap: 7px; font-size: 1.02rem; }
.ev-meta li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.ev-meta .ic { color: var(--c); margin-top: 2px; }
.ev-meta b { font-weight: 600; }
.ev-desc { margin: 0 0 16px; font-style: italic; color: var(--muted); text-align: left; }
.ev-actions { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ev-actions a {
  display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 4px; border-radius: 12px; text-decoration: none;
  font-family: var(--f-display); font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--c); background: #fff8ee; background: color-mix(in srgb, var(--c) 9%, #fff); transition: background .25s, color .25s;
}
.ev-actions a:hover { background: var(--c); color: #fff; }
.ev-dots { display: flex; justify-content: center; gap: 8px; }
.ev-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(201, 162, 75, .45); transition: width .3s, background .3s; }
.ev-dots button.is-active { width: 26px; background: var(--m600); }

/* ==========================================================
   VENUE
   ========================================================== */
.venue { background: var(--cream) var(--pattern-light); }
.venue-card { position: relative; margin-bottom: 56px; }
.venue-card:last-of-type { margin-bottom: 0; }
.venue-img { position: relative; z-index: 1; margin: 0; border-radius: 26px; overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow); }
.venue-img img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.venue-body {
  position: relative; z-index: 2; margin: -46px 12px 0; padding: 26px 22px; border-radius: 22px; background: var(--white);
  box-shadow: var(--shadow); border: 1px solid rgba(201, 162, 75, .25);
}
.venue-body::before { content: ""; position: absolute; inset: 7px; border-radius: 17px; border: 1px solid rgba(201, 162, 75, .3); pointer-events: none; }
.venue-body h3 { margin: 0 0 10px; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.5rem, 5.6vw, 2.1rem); color: var(--m700); line-height: 1.2; }
.venue-addr { display: flex; gap: 10px; margin: 0 0 10px; font-weight: 600; }
.venue-addr .ic { color: var(--rani); margin-top: 4px; }
.venue-desc { margin: 0 0 18px; color: var(--muted); font-style: italic; }
.venue-actions { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 1; }
.venue-actions > * { --pad: 12px 18px; flex: 1 1 auto; }
.map-wrap { margin-top: 18px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(201, 162, 75, .35); position: relative; z-index: 1; }
.map-wrap iframe { display: block; width: 100%; height: 300px; border: 0; }
.travel { display: grid; gap: 14px; margin-top: 56px; }
.travel-card { text-align: center; padding: 26px 20px; border-radius: 20px; background: var(--white); box-shadow: var(--shadow-sm); border: 1px solid rgba(201, 162, 75, .22); }
.t-ic { width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; color: var(--g200); background: linear-gradient(135deg, var(--m600), var(--m800)); }
.t-ic .ic { width: 26px; height: 26px; }
.travel-card h4 { margin: 0 0 6px; font-family: var(--f-display); font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; color: var(--m700); }
.travel-card p { margin: 0; font-size: 1.05rem; }

/* ==========================================================
   GALLERY
   ========================================================== */
.masonry { columns: 2; column-gap: 10px; }
.g-item {
  position: relative; display: block; margin-bottom: 10px; break-inside: avoid; border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-sm); background: var(--sand);
}
.g-item img { width: 100%; height: auto; transition: transform 1s cubic-bezier(.2, .8, .2, 1), filter .6s; }
.g-item:hover img { transform: scale(1.07); }
.g-item.is-extra { display: none; }
.masonry.show-all .g-item.is-extra { display: block; }
.g-zoom {
  position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(36, 4, 10, .55); color: #fff; backdrop-filter: blur(4px); opacity: 0; transform: scale(.7); transition: .35s;
}
.g-item:hover .g-zoom { opacity: 1; transform: none; }
#moreGallery { margin-top: 26px; }

/* ==========================================================
   SCRATCH CARD
   ========================================================== */
.scratch { background: radial-gradient(60% 60% at 50% 50%, #fff1d6, transparent 70%), var(--ivory) var(--pattern-light); text-align: center; }
.scratch-card {
  position: relative; width: min(100%, 440px); aspect-ratio: 3/2; margin: 0 auto; border-radius: 26px; overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 1px rgba(201, 162, 75, .5); background: linear-gradient(160deg, #fffaf1, #f8e8c8);
}
.scratch-under { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 18px; }
.scratch-under::before { content: ""; position: absolute; inset: 10px; border: 1.5px solid rgba(201, 162, 75, .6); border-radius: 18px; }
.su-small { margin: 0; font-family: var(--f-display); font-size: .78rem; letter-spacing: .34em; text-transform: uppercase; color: var(--g600); }
.su-date { display: flex; align-items: baseline; gap: 10px; color: var(--m700); }
.su-date span:nth-child(1), .su-date span:nth-child(3) { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.8rem, 8vw, 2.6rem); }
.su-date span:nth-child(2) { font-family: var(--f-script); font-size: clamp(2.6rem, 11vw, 3.6rem); color: var(--rani); }
.su-city { margin: 0; display: flex; align-items: center; gap: 6px; color: var(--muted); font-style: italic; }
.su-city .ic { color: var(--rani); }
.scratch-canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; transition: opacity .9s; }
.scratch-canvas.is-done { opacity: 0; pointer-events: none; }
.scratch-hint { margin: 18px 0 0; color: var(--muted); font-style: italic; }

/* ==========================================================
   FAMILY
   ========================================================== */
.family { background: var(--cream) var(--pattern-light); text-align: center; }
.fam-block {
  position: relative; margin: 0 auto 26px; max-width: 980px; padding: 30px 20px; border-radius: 24px; background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(201, 162, 75, .4); box-shadow: var(--shadow-sm);
}
.fam-block::before { content: ""; position: absolute; inset: 7px; border-radius: 18px; border: 1px dashed rgba(201, 162, 75, .45); pointer-events: none; }
.fam-title { margin: 0 0 18px; display: flex; flex-direction: column; gap: 2px; }
.fam-title [lang="hi"] { font-family: var(--f-hi-d); font-size: clamp(1.7rem, 6vw, 2.2rem); color: var(--m600); font-weight: 400; }
.fam-title small { font-family: var(--f-display); font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--g600); }
.fam-cols { display: grid; gap: 20px; }
.fam-side { margin: 0 0 8px; font-family: var(--f-script); font-size: 1.9rem; color: var(--rani); line-height: 1.2; }
.fam-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fam-col li { display: flex; flex-direction: column; }
.fm-name { font-weight: 600; font-size: 1.12rem; line-height: 1.35; }
.fm-rel { font-family: var(--f-display); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--g600); }
.manuhar { font-family: var(--f-hi-d); font-size: clamp(1.25rem, 5vw, 1.6rem); color: var(--m600); margin: 0 0 16px; }
.kid-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.kid-chips span { padding: 6px 16px; border-radius: 999px; background: linear-gradient(135deg, #ffcf5a, #ff9a1f); color: var(--m800); font-weight: 700; box-shadow: 0 6px 14px -6px rgba(255, 140, 26, .8); }

/* ==========================================================
   RSVP & forms
   ========================================================== */
.rsvp { background: radial-gradient(80% 60% at 50% 30%, rgba(179, 22, 79, .3), transparent 70%), var(--pattern-dark), linear-gradient(180deg, var(--m700), var(--m900)); }
.rsvp-card {
  position: relative; padding: 34px 20px 28px; border-radius: 28px; background: var(--ivory);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .6); border: 1px solid rgba(226, 189, 106, .6);
}
.rsvp-card::before { content: ""; position: absolute; inset: 8px; border-radius: 22px; border: 1px solid rgba(201, 162, 75, .45); pointer-events: none; }
.rsvp-card .sec-head { margin-bottom: 28px; }
.form { display: grid; gap: 14px; position: relative; z-index: 1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 24px 16px 9px; border-radius: 14px; border: 1.5px solid var(--sand); background: var(--white);
  font: inherit; font-size: 1.12rem; color: var(--ink); outline: none; transition: border-color .25s, box-shadow .25s; resize: vertical;
}
.field input:focus, .field textarea:focus { border-color: var(--g500); box-shadow: 0 0 0 4px rgba(201, 162, 75, .18); }
.field label {
  position: absolute; left: 17px; top: 16px; color: var(--muted); pointer-events: none; transition: .2s; font-size: 1.08rem;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: 6px; font-size: .74rem; font-family: var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: var(--g600);
}
.field .count { position: absolute; right: 12px; bottom: 8px; font-size: .8rem; color: var(--muted); }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice label, .chip { position: relative; cursor: pointer; }
.choice input, .chip input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 10px; border-radius: 14px; text-align: center;
  border: 1.5px solid var(--sand); background: var(--white); font-weight: 600; line-height: 1.2; transition: .25s;
}
.choice input:checked + span { background: linear-gradient(135deg, var(--m600), var(--m800)); color: var(--g200); border-color: var(--m700); box-shadow: 0 10px 22px -12px rgba(86, 12, 25, .9); }
.choice input:focus-visible + span, .chip input:focus-visible + span { outline: 2px solid var(--g500); outline-offset: 2px; }
.guests-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 14px; background: var(--white); border: 1.5px solid var(--sand); font-weight: 600; }
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--cream); color: var(--m700); font-size: 1.4rem; line-height: 1; transition: background .2s; }
.stepper button:hover { background: var(--g300); }
.stepper output { min-width: 34px; text-align: center; font-family: var(--f-display); font-size: 1.3rem; color: var(--m700); }
.field-label { margin: 2px 0 -4px; font-family: var(--f-display); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--g600); }
.attend-only { display: grid; gap: 14px; }
.attend-only.is-off { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip span {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px; border-radius: 999px; font-weight: 600; font-size: 1rem; transition: .25s;
  border: 1.5px solid var(--sand); border-color: color-mix(in srgb, var(--c) 45%, #fff); background: var(--white); color: var(--c);
}
.chip span::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%; flex: none; box-sizing: border-box;
  border: 1.5px solid currentColor; transition: .25s;
}
.chip input:checked + span { background: var(--c); border-color: var(--c); color: #fff; box-shadow: 0 8px 18px -10px var(--c); }
.chip input:checked + span::before {
  border-color: #fff; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7' fill='none' stroke='%23333' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat;
}
.field-label .req { color: var(--rani); font-weight: 700; }
.chips-hint { margin: -6px 0 0; font-size: .95rem; font-style: italic; color: var(--muted); }
.chips-hint.is-error { color: var(--rani); font-style: normal; font-weight: 700; }
.chips.is-error .chip span { border-color: var(--rani); }
.chips.is-error { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.form-msg { margin: 0; min-height: 1.4em; text-align: center; font-style: italic; color: var(--rani); }
.rsvp-done { text-align: center; position: relative; z-index: 1; padding: 10px 0; }
.done-ic { width: 76px; height: 76px; margin: 0 auto 6px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #3fa34d, #237a33); box-shadow: 0 12px 26px -10px rgba(35, 122, 51, .8); animation: pop .6s cubic-bezier(.3, 1.6, .6, 1); }
.done-ic .ic { width: 38px; height: 38px; }
.rsvp-done h3 { margin: 6px 0; font-size: 3rem; color: var(--m700); }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.closed-note { text-align: center; font-style: italic; }

/* ---------- Wishes ---------- */
.wishes { background: var(--ivory) var(--pattern-light); }
.wish-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.wish-grid > * { min-width: 0; }
.wish-form { padding: 26px 20px; border-radius: 24px; background: var(--white); box-shadow: var(--shadow-sm); border: 1px solid rgba(201, 162, 75, .25); }
.wish-wall { position: relative; }
.wish-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 18px; }
.wish-track::-webkit-scrollbar { display: none; }
.wish {
  flex: 0 0 100%; scroll-snap-align: start; position: relative; padding: 46px 24px 24px; border-radius: 24px; min-height: 230px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(160deg, #fff, #fbf1de); border: 1px solid rgba(201, 162, 75, .35); box-shadow: var(--shadow-sm);
}
.wish::before { content: "\201C"; position: absolute; top: -6px; left: 18px; font-family: Georgia, serif; font-size: 5.2rem; line-height: 1; color: var(--g400); }
.wish.is-new { animation: pop .6s cubic-bezier(.3, 1.4, .6, 1); }
.w-msg { margin: 0 0 16px; font-style: italic; font-size: 1.22rem; line-height: 1.55; }
.w-by { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.w-by b { font-family: var(--f-script); font-weight: 400; font-size: 1.9rem; color: var(--m700); line-height: 1; }
.w-by span { font-family: var(--f-display); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--cream); color: var(--g600); }
.wish-nav { display: flex; justify-content: center; gap: 12px; }
.wish-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--g400); background: var(--white); color: var(--m700); display: grid; place-items: center; transition: .25s; }
.wish-nav button:hover { background: var(--m700); color: var(--g200); }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  position: relative; overflow: hidden; text-align: center; color: var(--g200);
  padding: clamp(70px, 10vw, 110px) 0 calc(120px + var(--safe-b));
  background: radial-gradient(70% 50% at 50% 20%, rgba(179, 22, 79, .22), transparent 70%), var(--pattern-dark), var(--m900);
}
.footer .bg-mandala { color: var(--g400); opacity: .08; }
.foot-logo { width: 130px; margin: 0 auto 8px; }
.foot-mono { width: 100%; height: auto; }
.foot-thanks { margin: 0; font-size: clamp(3.4rem, 13vw, 5rem); line-height: 1.2; background: var(--gold-grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 7s linear infinite; }
.foot-text { margin: 6px auto 18px; max-width: 560px; font-style: italic; font-size: 1.18rem; color: rgba(251, 238, 198, .88); }
.hashtag { display: inline-block; margin: 0 0 30px; padding: 8px 20px; border-radius: 999px; border: 1px solid rgba(226, 189, 106, .55); font-family: var(--f-display); letter-spacing: .12em; color: var(--g300); }
.contacts { display: grid; gap: 10px; max-width: 420px; margin: 0 auto 28px; }
.contacts .eyebrow { color: var(--g400); }
.contact {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 16px; text-decoration: none; text-align: left;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(226, 189, 106, .3); transition: background .25s;
}
.contact:hover { background: rgba(255, 255, 255, .12); }
.contact .ic { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--g400); color: var(--m800); }
.contact span { display: flex; flex-direction: column; line-height: 1.3; }
.contact b { font-weight: 600; color: #fff; }
.share { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 26px; }
.foot-diya { position: static; display: block; margin: 0 auto 10px; width: 64px; height: 64px; }
.credit { margin: 0; font-family: var(--f-display); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(251, 238, 198, .55); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; background: rgba(18, 2, 5, .95); padding: 20px; animation: fadeIn .3s; touch-action: pan-y; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lightbox img { max-width: 94vw; max-height: 80vh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 70px rgba(0, 0, 0, .6); transition: opacity .3s, transform .3s; }
.lightbox img.is-loading { opacity: .3; transform: scale(.97); }
.lightbox figcaption { color: var(--g200); font-style: italic; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(226, 189, 106, .5); background: rgba(36, 4, 10, .6); color: var(--g200); }
.lb-close { top: calc(14px + env(safe-area-inset-top, 0px)); right: 14px; }
.lb-prev, .lb-next { bottom: calc(22px + var(--safe-b)); }
.lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); }
.lb-count { position: absolute; top: calc(26px + env(safe-area-inset-top, 0px)); left: 20px; font-family: var(--f-display); font-size: .75rem; letter-spacing: .2em; color: var(--g300); }
@keyframes fadeIn { from { opacity: 0; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; z-index: 130; left: 50%; bottom: calc(96px + var(--safe-b)); transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  padding: 11px 20px; border-radius: 18px; background: var(--m800); color: var(--g200); border: 1px solid var(--g500);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .35); transition: .4s; width: max-content; max-width: min(420px, calc(100vw - 32px));
  text-align: center; font-size: 1.05rem; line-height: 1.4;
}
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================
   Larger screens
   ========================================================== */
@media (min-width: 600px) {
  .masonry { columns: 3; column-gap: 14px; }
  .g-item { margin-bottom: 14px; }
  .ev-card { flex-basis: 62%; }
  .travel { grid-template-columns: repeat(3, 1fr); }
  .fam-cols { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .rsvp-card { padding: 46px 40px 36px; }
  .wish { flex-basis: 86%; }
  .lb-prev, .lb-next { top: 50%; bottom: auto; transform: translateY(-50%); }
  .lb-prev { left: 18px; } .lb-next { right: 18px; }
}

@media (min-width: 760px) {
  .hero-names { flex-direction: row; align-items: baseline; gap: .1em; }
  .hero-names .amp { margin: 0 .05em; }
  .hero-date { font-size: .74rem; padding: 14px 30px; gap: 22px; }
  .hero-date span { max-width: none; }
  .invite-couple { grid-template-columns: 1fr auto 1fr; }
  .ic-weds { flex-direction: column; gap: 6px; }
  .couple-grid { grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
  .timeline { padding: 10px 0; }
  .tl-line { left: 50%; margin-left: -1px; }
  .tl-item { width: 50%; padding: 0 56px 0 0; margin-bottom: 10px; }
  .tl-item.is-right { margin-left: 50%; padding: 0 0 0 56px; }
  .tl-item .tl-dot { left: auto; right: -18px; top: 40px; }
  .tl-item.is-right .tl-dot { right: auto; left: -18px; }
  .tl-item.is-left .tl-card { rotate: -1.2deg; }
  .tl-item.is-right .tl-card { rotate: 1.2deg; }
  .tl-item + .tl-item { margin-top: -60px; }
  .venue-card { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; }
  .venue-card.flip { grid-template-columns: 1fr 1.25fr; }
  .venue-card.flip .venue-img { order: 2; }
  .venue-body { margin: 0 0 0 -70px; padding: 36px 34px; }
  .venue-card.flip .venue-body { margin: 0 -70px 0 0; }
  .wish-form { padding: 32px 28px; }
  .diya { width: 72px; height: 72px; bottom: 10px; }
  .diya-l { left: 4%; } .diya-r { right: 4%; }
}

@media (min-width: 900px) {
  .intro .invocation { font-size: 1.75rem; }
  .intro-kalash { width: 86px; height: 86px; }
  .intro-dear { font-size: 1.6rem; }
  .intro-line { font-size: 1.5rem; max-width: 560px; }
  .intro-names { font-size: 7.2rem; margin-bottom: 26px; }
  .seal { width: 168px; height: 168px; }
  .seal-logo { width: 144px; height: 144px; }
  .tap-hint { font-size: .85rem; margin-top: 28px; }
  .dock { display: none; }
  .tb-nav { display: flex; }
  .topbar { padding-right: 84px; }
  .scroll-cue { bottom: 30px; }
  .toast { bottom: 34px; }
  .footer { padding-bottom: 60px; }
  .ev-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; overflow: visible; margin: 0; padding: 14px 0 0; }
  .ev-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -22px rgba(74, 10, 20, .5); }
  .ev-dots { display: none; }
  .wish-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
  .music-btn { top: 9px; right: 18px; }
}

@media (min-width: 1100px) {
  .masonry { columns: 4; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .2s !important; scroll-behavior: auto !important; }
  .hero-slide.is-active img { animation: none; transform: none; }
}
