/* =========================================================
   Mahika & Arham · Udaipur · 2027  (v2)
   ========================================================= */
@font-face {
  font-family: "Nikahin";
  src: url(../fonts/Nikahin.woff2) format("woff2"), url(../fonts/Nikahin.woff) format("woff");
  font-display: block;
}

:root {
  --paper: #F4E8D6;
  --paper-hi: #FBF5EA;
  --ink: #3A2622;
  --ink-2: #6E5149;
  --ink-3: #9A7D72;
  --rose: #C26C78;
  --rose-d: #9A4455;
  --blush: #F2D2CB;
  --sage: #8D9A6A;
  --sage-d: #5B6843;
  --gold: #B08636;
  --line: rgba(122, 86, 56, .22);

  --f-display: "Nikahin", "Times New Roman", serif;
  --f-script: "bickham-script-pro-3", "Snell Roundhand", cursive;
  --f-body: "vesper-libre", Georgia, serif;
  --f-hi: "aparajita", "Noto Serif Devanagari", serif;
  --f-child: "Kalam", "Comic Sans MS", cursive;

  --ease: cubic-bezier(.22, .8, .2, 1);
  --col: min(100% - 40px, 520px);
  --paper-tex: url(../img/paper.webp);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--paper); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  background: var(--paper) var(--paper-tex) repeat; background-size: 543px auto;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
body.is-sealed { overflow: hidden; height: 100%; }
#main:focus { outline: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[lang="hi"] { font-family: var(--f-hi); }
html[lang="hi"] body { font-family: var(--f-hi), var(--f-body); }
::selection { background: var(--blush); color: var(--rose-d); }

.ico, .mask { display: inline-block; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }

.sec { position: relative; padding: 76px 0; }
.sec__title {
  width: var(--col); margin: 0 auto 30px; text-align: center;
  font: 400 clamp(40px, 11.5vw, 64px)/1.05 var(--f-display); color: var(--ink);
}
html[lang="hi"] .sec__title { font: 700 clamp(38px, 10vw, 56px)/1.15 var(--f-hi); }
.sec__sub { width: var(--col); margin: -18px auto 26px; text-align: center; color: var(--ink-2); font-size: 15px; }
html[lang="hi"] .sec__sub { font-size: 18px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border-radius: 999px; text-decoration: none;
  font: 500 12px/1 var(--f-body); letter-spacing: .22em; text-transform: uppercase;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
html[lang="hi"] .btn { font: 700 18px/1 var(--f-hi); letter-spacing: 0; }
.btn--ghost { border: 1px solid var(--line); color: var(--rose-d); }
.btn--ghost:hover { background: var(--rose-d); color: var(--paper-hi); }
.btn:active { transform: scale(.97); }

/* =========================================================
   0. ENVELOPE
   ========================================================= */
.opener {
  position: fixed; inset: 0; z-index: 50;
  display: grid; place-items: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; -webkit-user-select: none; user-select: none;
  background: radial-gradient(120% 80% at 50% 40%, #F7EDDD 0%, #EAD9BF 70%, #DDC7A6 100%);
}
.opener:focus { outline: none; }
.opener__table { position: absolute; inset: 0; background: var(--paper-tex) center / 543px auto; mix-blend-mode: multiply; opacity: .55; pointer-events: none; }
.envelope {
  --w: min(88vw, 440px);
  position: relative; width: var(--w); aspect-ratio: 1.42;
  transform: rotate(-3deg);
  border-radius: 3px;
  box-shadow: 0 22px 40px -8px rgba(90, 58, 30, .28), 0 3px 5px rgba(90, 58, 30, .16);
  pointer-events: none;
}
.envelope__face { position: absolute; inset: 0; border-radius: 3px; background: #F6ECDD var(--paper-tex) center / 300px auto; }
.envelope__back { visibility: hidden; }
.envelope.is-turned .envelope__back { visibility: visible; }
.envelope.is-turned .envelope__front { visibility: hidden; }
.envelope__stamp { position: absolute; right: 6.5%; top: 9%; width: 21%; transform: rotate(3deg); filter: drop-shadow(0 1px 1.5px rgba(70, 40, 20, .25)); }
.postmark { position: absolute; right: 9%; top: 3%; width: 40%; transform: rotate(-11deg); opacity: .88; }
.postmark__ink { stroke: #3C4B6B; fill: #3C4B6B; }
.postmark__ink path, .postmark__ink circle, .postmark__ink rect { fill: none; }
.postmark__arc { font: 600 10px var(--f-body); letter-spacing: .22em; stroke: none; }
.postmark__date { font: 600 12px var(--f-body); letter-spacing: .08em; stroke: none; }
.envelope__address { position: absolute; left: 10%; bottom: 20%; right: 22%; display: flex; flex-direction: column; gap: 2px; }
.envelope__to { font: 400 clamp(22px, 6vw, 30px)/1 var(--f-script); color: var(--ink-2); }
.envelope__name { font: 400 clamp(24px, 7vw, 36px)/1.05 var(--f-script); color: var(--rose-d); padding: 0 0 4px .6em; border-bottom: 1px solid rgba(122, 86, 56, .28); }
.envelope__pocket { position: absolute; inset: 0; border-radius: 3px; background: #EFE0CA var(--paper-tex) center / 300px auto; box-shadow: inset 0 0 40px rgba(120, 80, 40, .12); }
.envelope__front-pocket { position: absolute; inset: 0; z-index: 3; border-radius: 3px; background: #F6ECDD var(--paper-tex) center / 300px auto; clip-path: polygon(0 0, 50% 54%, 100% 0, 100% 100%, 0 100%); }
.envelope__front-pocket::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(120, 80, 40, .10), transparent 40%), linear-gradient(200deg, rgba(120, 80, 40, .10), transparent 40%); }
.envelope__flap { position: absolute; left: 0; right: 0; top: 0; height: 62%; z-index: 4; transform-origin: 50% 0; }
.envelope__flap-inner { position: absolute; inset: 0; background: #F2E5D1 var(--paper-tex) center / 300px auto; clip-path: polygon(0 0, 100% 0, 52% 100%, 48% 100%); }
.envelope__flap-inner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(255, 250, 240, .4), rgba(120, 80, 40, .1)); }
.envelope__seal { position: absolute; left: 50%; top: 62%; z-index: 6; width: 24%; margin: -12% 0 0 -12%; filter: drop-shadow(0 3px 3px rgba(70, 20, 20, .35)); }
.letter { position: absolute; left: 6%; right: 6%; top: 8%; bottom: 6%; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: var(--paper-hi) var(--paper-tex) center / 260px auto; border-radius: 2px; text-align: center; }
.letter::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(176, 134, 54, .55); outline: 1px solid rgba(176, 134, 54, .25); outline-offset: 3px; }
.letter__om { margin: 0; font: 400 clamp(13px, 3.4vw, 16px) var(--f-hi); color: var(--gold); }
.letter__names { margin: 0; font: 400 clamp(28px, 8vw, 40px)/1 var(--f-display); color: var(--ink); }
.letter__names span { font-family: var(--f-script); color: var(--rose); padding: 0 .1em; }
.opener__cta { position: absolute; left: 0; right: 0; margin: 0 auto; width: max-content; bottom: max(7svh, 40px); display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--rose-d); pointer-events: none; }
.opener__cta-ring { position: relative; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(154, 68, 85, .45); background: radial-gradient(circle, var(--rose) 0 4px, transparent 5px); }
.opener__cta-ring::before, .opener__cta-ring::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(154, 68, 85, .35); animation: ripple 2.6s var(--ease) infinite; }
.opener__cta-ring::after { animation-delay: 1.3s; }
@keyframes ripple { from { transform: scale(1); opacity: .9; } to { transform: scale(2.3); opacity: 0; } }
.opener__cta-label { font: 500 11px var(--f-body); letter-spacing: .32em; text-transform: uppercase; }
html[lang="hi"] .opener__cta-label { font: 700 18px var(--f-hi); letter-spacing: 0; }

/* =========================================================
   Chrome
   ========================================================= */
.chrome { position: fixed; z-index: 40; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; padding: max(14px, env(safe-area-inset-top)) 16px 0; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease); }
body.is-open .chrome { opacity: 1; }
.chip { pointer-events: auto; height: 40px; min-width: 40px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; background: rgba(251, 245, 234, .72); -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2); border: 1px solid rgba(176, 134, 54, .28); color: var(--ink); box-shadow: 0 6px 18px rgba(80, 50, 30, .08); }
.lang span { font: 500 12px var(--f-body); letter-spacing: .1em; opacity: .45; }
.lang span[data-lang="hi"] { font: 700 16px var(--f-hi); letter-spacing: 0; }
.lang i { width: 1px; height: 14px; background: var(--line); }
html[lang="en"] .lang [data-lang="en"], html[lang="hi"] .lang [data-lang="hi"] { opacity: 1; color: var(--rose-d); }
.menu-btn { padding: 0; width: 40px; justify-content: center; }
.menu-btn__lines { display: grid; gap: 5px; width: 18px; }
.menu-btn__lines i { display: block; height: 1.4px; background: currentColor; transition: transform .45s var(--ease); }
.menu-btn__lines i:last-child { width: 12px; justify-self: end; }
.menu-btn[aria-expanded="true"] .menu-btn__lines i:first-child { transform: translateY(3.2px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__lines i:last-child { width: 18px; transform: translateY(-3.2px) rotate(-45deg); }
.sound { position: fixed; z-index: 40; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(251, 245, 234, .8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(176, 134, 54, .3); color: var(--rose-d); }
.sound svg { width: 30px; fill: currentColor; }
.sound__bars rect { transform-box: fill-box; transform-origin: 50% 50%; transform: scaleY(.25); }
.sound[aria-pressed="true"] .sound__bars rect { animation: eq 1.1s ease-in-out infinite alternate; }
.sound[aria-pressed="true"] .sound__bars rect:nth-child(2) { animation-delay: -.4s; }
.sound[aria-pressed="true"] .sound__bars rect:nth-child(3) { animation-delay: -.8s; }
@keyframes eq { from { transform: scaleY(.3); } to { transform: scaleY(1); } }
.menu { position: fixed; inset: 0; z-index: 35; display: grid; align-items: end; background: rgba(58, 38, 34, .35); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
.menu.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }
.menu__paper { position: relative; overflow: hidden; margin: 0 10px max(10px, env(safe-area-inset-bottom)); padding: 30px 26px 110px; border-radius: 18px; background: var(--paper-hi) var(--paper-tex) center / 400px auto; box-shadow: 0 30px 60px rgba(40, 20, 10, .3); transform: translateY(30px); transition: transform .6s var(--ease); }
.menu.is-on .menu__paper { transform: none; }
.menu__stamp { position: absolute; right: 18px; top: 18px; width: 54px; transform: rotate(4deg); }
.menu__list { list-style: none; margin: 0; padding: 0; }
.menu__list a { display: flex; align-items: baseline; gap: 16px; padding: 11px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu__list b { font: 500 11px var(--f-body); letter-spacing: .2em; color: var(--gold); }
.menu__list span { font: 400 30px/1.05 var(--f-display); }
html[lang="hi"] .menu__list span { font: 700 28px/1.2 var(--f-hi); }
.menu__skyline { position: absolute; left: -2%; right: -2%; bottom: 0; height: 60px; color: rgba(194, 108, 120, .35); -webkit-mask-position: bottom center; mask-position: bottom center; }

/* =========================================================
   1. HERO
   ========================================================= */
.hero { position: relative; height: 270svh; }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; background: #F3DFD3; }
.hero__zoom { position: absolute; inset: 0; will-change: transform; }
.hero__scene { position: absolute; left: 50%; top: 50%; width: max(100vw, 66.667svh); aspect-ratio: 2 / 3; will-change: transform; }
.hero__lake { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__strings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero__strings path { fill: none; stroke-width: 1.1; stroke-linecap: round; }
#stringRose { stroke: rgba(176, 80, 96, .75); }
#stringSage { stroke: rgba(106, 124, 78, .8); }
.hero__kite { position: absolute; transform-origin: 50% 18%; will-change: transform; }
.hero__kite--rose { width: 11%; left: 74%; top: 26%; }
.hero__kite--sage { width: 10%; left: 63%; top: 31%; }
.hero__boat { position: absolute; width: 23%; left: 62%; top: 77%; will-change: transform; }
.hero__lotus { position: absolute; bottom: -2%; will-change: transform; }
.hero__lotus--l { width: 46%; left: -6%; }
.hero__lotus--r { width: 47%; right: -7%; }
.hero__jharokha { position: absolute; left: 50%; top: 50%; width: max(100vw, 66.667svh); aspect-ratio: 2 / 3; transform-origin: 50% 46%; will-change: transform, opacity; pointer-events: none; }
@media (max-aspect-ratio: 3/5) { .hero__jharokha { width: max(100vw, 46.1svh); aspect-ratio: 1024 / 2219; } }
.hero__title { position: absolute; left: 0; right: 0; top: max(16svh, 96px); z-index: 2; text-align: center; padding: 0 15vw; }
.hero__om { margin: 0 0 10px; font: 400 15px var(--f-hi); color: var(--gold); }
.hero__names { margin: 0; font-weight: 400; display: flex; flex-direction: column; align-items: center; }
.hero__name { display: block; font: 400 clamp(46px, 14vw, 112px)/.95 var(--f-display); color: var(--rose-d); white-space: nowrap; }
.hero__name .ch { display: inline-block; will-change: transform, opacity; }
.hero__amp { font: 400 clamp(30px, 8vw, 52px)/1 var(--f-script); color: var(--sage-d); margin: .02em 0; }
.hero__when { margin: 16px 0 0; display: inline-flex; align-items: center; gap: 10px; font: 500 11px var(--f-body); letter-spacing: .26em; text-transform: uppercase; }
.hero__when i { width: 5px; height: 5px; rotate: 45deg; background: var(--gold); }
html[lang="hi"] .hero__when { font: 700 18px var(--f-hi); letter-spacing: 0; }
.hero__cue { position: absolute; left: 0; right: 0; width: 1px; margin: 0 auto; bottom: calc(100lvh - 100svh + 22px); z-index: 3; }
.hero__cue i { display: block; width: 1px; height: 40px; background: linear-gradient(var(--paper-hi), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* =========================================================
   2. INVITATION
   ========================================================= */
.invite { padding-top: 44px; }
.invite__card { position: relative; width: var(--col); margin: 0 auto; padding: 62px 26px 50px; text-align: center; border-radius: 2px; background: var(--paper-hi) var(--paper-tex) center / 380px auto; box-shadow: 0 1px 1px rgba(120, 80, 40, .08), 0 18px 40px -18px rgba(120, 80, 40, .35); }
.invite__card::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(176, 134, 54, .5); outline: 1px solid rgba(176, 134, 54, .22); outline-offset: 4px; pointer-events: none; }
.invite__stamp { width: 92px; margin: -108px auto 20px; transform: rotate(-3deg); filter: drop-shadow(0 6px 10px rgba(90, 50, 30, .2)); }
.invite__copy p { margin: 0; }
.invite__mantra { font: 400 15px/1.7 var(--f-hi); color: var(--gold); margin-bottom: 22px !important; }
.invite__small { font-size: 15px; color: var(--ink-2); line-height: 1.55; margin: 6px 0 !important; }
.invite__small em { color: var(--ink); }
.invite__hosts { font: 400 24px/1.2 var(--f-display); margin: 14px 0 4px !important; }
.invite__bride, .invite__groom { font: 400 clamp(50px, 14vw, 80px)/1 var(--f-display); color: var(--rose-d); margin-top: 18px !important; }
.invite__groom { color: var(--sage-d); margin: 0 0 12px !important; }
.invite__with { font: 400 32px/1 var(--f-script); color: var(--gold); margin: 4px 0 !important; }
.invite__rule { display: flex; align-items: center; gap: 14px; justify-content: center; margin: 26px auto 14px; color: var(--rose); }
.invite__rule i { width: 56px; height: 1px; background: currentColor; opacity: .5; }
.invite__rule .ico { width: 34px; height: 24px; }
.invite__venue { font: 400 22px/1.3 var(--f-display); color: var(--ink); }
.invite__copy--hi .invite__shubh { font: 700 38px/1.3 var(--f-hi); color: var(--gold); margin-bottom: 8px !important; }
.invite__copy--hi .invite__bride, .invite__copy--hi .invite__groom { font: 700 clamp(52px, 15vw, 78px)/1.1 var(--f-hi); }
.invite__copy--hi small { font-size: .34em; color: var(--ink-3); vertical-align: middle; margin-right: .3em; }
.invite__copy--hi .invite__with { font: 700 26px var(--f-hi); }
.invite__copy--hi .invite__small, .invite__copy--hi .invite__venue { font: 400 19px/1.45 var(--f-hi); }

/* =========================================================
   3. DATE · scratch the gold leaf
   ========================================================= */
.date { text-align: center; overflow: hidden; }
.date__card {
  position: relative; width: min(80vw, 360px); aspect-ratio: 1 / 1.08; margin: 0 auto;
  border-radius: 50% 50% 6px 6px / 38% 38% 6px 6px;
  background: var(--paper-hi) var(--paper-tex) center / 380px auto;
  box-shadow: 0 1px 1px rgba(120, 80, 40, .08), 0 24px 40px -20px rgba(120, 80, 40, .45);
}
.date__card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: url(../img/wash-blush.webp) center / cover; opacity: .6; mix-blend-mode: multiply; }
.date__card::after { content: ""; position: absolute; inset: 10px; border-radius: inherit; border: 1px solid rgba(176, 134, 54, .55); pointer-events: none; z-index: 3; }
.date__face { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-top: 10%; }
.date__face p { margin: 0; position: relative; }
.date__day { font: 500 11px var(--f-body); letter-spacing: .34em; text-transform: uppercase; color: var(--ink-3); }
html[lang="hi"] .date__day { font: 700 20px var(--f-hi); letter-spacing: 0; }
.date__d { font: 400 clamp(110px, 34vw, 160px)/.95 var(--f-display); color: var(--rose-d); }
.date__m { font: 400 clamp(30px, 8.5vw, 40px)/1 var(--f-script); color: var(--sage-d); }
html[lang="hi"] .date__m { font: 700 26px var(--f-hi); }
.date__time { margin-top: 14px !important; font: 500 10px var(--f-body); letter-spacing: .28em; text-transform: uppercase; color: var(--ink-2); }
html[lang="hi"] .date__time { font: 400 17px var(--f-hi); letter-spacing: 0; }
.date__foil { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; border-radius: inherit; touch-action: none; cursor: grab; }
.date__foil.is-gone { pointer-events: none; }
.date__hint { margin: 22px 0 0; display: inline-flex; align-items: center; gap: 10px; font: 500 11px var(--f-body); letter-spacing: .28em; text-transform: uppercase; color: var(--rose-d); }
html[lang="hi"] .date__hint { font: 700 18px var(--f-hi); letter-spacing: 0; }
.date__coin { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #F6DE96, #C9973E 60%, #9B6E22); box-shadow: inset 0 0 0 2px rgba(255, 240, 200, .5); animation: coin 1.6s ease-in-out infinite; }
@keyframes coin { 0%, 100% { transform: translateX(-4px) rotate(-12deg); } 50% { transform: translateX(4px) rotate(12deg); } }
.date__postmark { position: absolute; width: 118px; right: -24px; top: -26px; opacity: 0; z-index: 4; pointer-events: none; }
.bp__arc { font: 600 13px var(--f-body); letter-spacing: .2em; stroke: none; }
.bp__mid { font: 600 26px var(--f-body); letter-spacing: .06em; stroke: none; }
.date__after { margin-top: 26px; opacity: 0; transform: translateY(14px); pointer-events: none; }
.date__after.is-on { pointer-events: auto; }
.countdown { width: min(84vw, 380px); margin: 0 auto 22px; display: grid; grid-template-columns: repeat(4, 1fr); }
.countdown div { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.countdown div + div { border-left: 1px solid var(--line); }
.countdown b { font: 400 clamp(32px, 9vw, 42px)/1 var(--f-display); color: var(--ink); font-variant-numeric: tabular-nums; }
html[lang="hi"] .countdown b { font: 700 34px/1 var(--f-hi); }
.countdown span { font: 500 9.5px var(--f-body); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); }
html[lang="hi"] .countdown span { font: 400 15px var(--f-hi); letter-spacing: 0; }
.petals { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; }

/* =========================================================
   4. STORY · a pile of postcards
   ========================================================= */
.story { overflow: hidden; }
.deck { position: relative; width: min(84vw, 520px); aspect-ratio: 3 / 2.06; margin: 10px auto 0; }
.pc {
  position: absolute; inset: 0; padding: 9px;
  border-radius: 3px;
  background: #FBF4E6 var(--paper-tex) center / 320px auto;
  box-shadow: 0 2px 2px rgba(80, 50, 30, .1), 0 18px 30px -14px rgba(80, 50, 30, .5);
  touch-action: pan-y; cursor: grab; will-change: transform;
  -webkit-user-select: none; user-select: none;
}
.pc img:not(.pc__stamp) { width: 100%; height: 100%; object-fit: cover; border-radius: 1px; pointer-events: none; -webkit-user-drag: none; }
.pc__stamp { position: absolute; right: 16px; top: 16px; width: 13%; height: auto; pointer-events: none; transform: rotate(5deg); filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .25)); }
.deck__bar { width: min(84vw, 520px); margin: 22px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.deck__arrow { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--rose-d); background: rgba(251, 245, 234, .6); transition: background .3s, color .3s; }
.deck__arrow:active { background: var(--rose-d); color: var(--paper-hi); }
.deck__arrow svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.deck__cap { flex: 1; text-align: center; min-height: 56px; }
.deck__cap small { display: block; font: 500 10px var(--f-body); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); }
.deck__cap b { display: block; margin-top: 4px; font: 400 26px/1.1 var(--f-display); color: var(--ink); }
html[lang="hi"] .deck__cap b { font: 700 25px/1.2 var(--f-hi); }

/* =========================================================
   5. CELEBRATIONS · pinned, colour per function
   ========================================================= */
.cele { position: relative; height: calc(var(--n, 7) * 88svh + 12svh); }
.cele__stage {
  --bg: #DDE5CB; --ink-c: #2E3A22; --acc: #B04B66;
  position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden;
  background-color: var(--bg); color: var(--ink-c);
  transition: background-color .9s var(--ease), color .9s var(--ease);
}
.cele__wash { position: absolute; inset: 0; background: var(--paper-tex) center / 543px auto; mix-blend-mode: multiply; opacity: .5; pointer-events: none; transition: opacity .9s; }
.cele__stage.is-dark .cele__wash { opacity: .18; }
.cele__top { position: absolute; left: 0; right: 0; top: max(62px, calc(env(safe-area-inset-top) + 56px)); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cele__title { margin: 0; font: 400 30px/1 var(--f-display); }
html[lang="hi"] .cele__title { font: 700 30px/1.1 var(--f-hi); }
.days { position: relative; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .22); border: 1px solid rgba(0, 0, 0, .08); }
.days button { position: relative; z-index: 1; padding: 8px 15px; border-radius: 999px; font: 500 11px var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-c); opacity: .88; transition: color .4s, opacity .4s; }
html[lang="hi"] .days button { font: 700 16px var(--f-hi); letter-spacing: 0; }
.days button[aria-selected="true"] { opacity: 1; color: var(--bg); }
.days__pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; border-radius: 999px; background: var(--ink-c); transition: left .5s var(--ease), width .5s var(--ease), background-color .9s var(--ease); }

.cele__slides { position: absolute; left: 0; right: 0; top: calc(max(62px, env(safe-area-inset-top) + 56px) + 100px); bottom: calc(100lvh - 100svh); }
.slide { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; visibility: hidden; }
.slide.is-on { visibility: visible; }
.slide__frame { position: relative; height: min(46svh, 118vw); aspect-ratio: 2 / 2.55; filter: drop-shadow(0 22px 20px rgba(30, 15, 10, .3)); }
.slide__arch {
  --arch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 255' preserveAspectRatio='none'%3E%3Cpath d='M0,255 L0,104 A20,20 0 0 1 12,74 A21.6,21.6 0 0 1 34,47 A22,22 0 0 1 64,28 A23.9,23.9 0 0 1 100,14 A23.9,23.9 0 0 1 136,28 A22,22 0 0 1 166,47 A21.6,21.6 0 0 1 188,74 A20,20 0 0 1 200,104 L200,255 Z'/%3E%3C/svg%3E");
  position: absolute; inset: 0; overflow: hidden;
  -webkit-mask: var(--arch) center / 100% 100% no-repeat; mask: var(--arch) center / 100% 100% no-repeat;
}
.slide__arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 64%; }
.slide__line { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.slide__line path { fill: none; stroke: rgba(255, 244, 222, .85); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.slide__time { position: absolute; left: 0; right: 0; margin: 0 auto; width: max-content; bottom: 14px; padding: 7px 15px; border-radius: 999px; background: rgba(251, 245, 234, .92); color: #3A2622; font: 500 11px var(--f-body); letter-spacing: .2em; white-space: nowrap; }
html[lang="hi"] .slide__time { font: 700 16px var(--f-hi); letter-spacing: 0; }
.slide__body { text-align: center; padding: 14px 20px 0; }
.slide__hi { margin: 0; font: 700 22px/1.1 var(--f-hi); color: var(--acc); }
.slide__name { margin: 2px 0 0; font: 400 clamp(40px, 11.5vw, 60px)/1.02 var(--f-display); }
html[lang="hi"] .slide__name { font: 700 clamp(36px, 10vw, 52px)/1.15 var(--f-hi); }
.slide__place { margin: 6px 0 0; font-size: 14px; opacity: .85; }
html[lang="hi"] .slide__place { font: 400 18px var(--f-hi); }
.slide__wear { margin: 10px 0 0; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 13px; }
html[lang="hi"] .slide__wear { font: 400 17px var(--f-hi); }
.slide__dots { display: flex; }
.slide__dots i { width: 18px; height: 18px; margin-left: -5px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1.5px var(--bg); }
.slide__dots i:first-child { margin-left: 0; }
.slide__acts { margin-top: 12px; display: flex; gap: 10px; justify-content: center; }
.slide__acts a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid currentColor; opacity: .75; }
.slide__acts svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cele__count { position: absolute; z-index: 3; right: 18px; bottom: calc(100lvh - 100svh + 16px); font: 400 15px var(--f-body); opacity: .8; }
.cele__count b { font: 400 26px var(--f-display); margin-right: 3px; }
@media (max-height: 700px) { .slide__frame { height: 38svh; } .slide__name { font-size: 38px; } .slide__body { padding-top: 10px; } .slide__wear, .slide__acts { margin-top: 8px; } .slide__acts a { width: 36px; height: 36px; } }

/* =========================================================
   6. MAP
   ========================================================= */
.map__frame { position: relative; width: min(100% - 24px, 560px); margin: 0 auto; border-radius: 6px; overflow: hidden; box-shadow: 0 24px 50px -24px rgba(60, 40, 30, .55); }
.map__frame::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255, 244, 222, .7); border-radius: 3px; pointer-events: none; }
.map__img { width: 100%; }
.map__overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__route-under { fill: none; stroke: rgba(255, 250, 238, .8); stroke-width: 10; stroke-linecap: round; }
.map__route { fill: none; stroke: var(--rose-d); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 14; }
.map__pins { position: absolute; inset: 0; }
.pin { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center; }
.pin__in {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; position: relative;
  background: var(--rose-d); color: #FFF6EA;
  font: 400 20px/1 var(--f-display);
  box-shadow: 0 0 0 3px rgba(255, 246, 234, .9), 0 6px 14px rgba(40, 20, 10, .35);
  transition: transform .35s var(--ease), background .35s;
}
.pin.is-star .pin__in { background: var(--gold); }
.pin.is-star .pin__in::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid rgba(255, 246, 234, .9); animation: ripple 2.4s var(--ease) infinite; }
.pin.is-hot .pin__in { transform: scale(1.25); }
.map__key { width: min(100% - 24px, 560px); margin: 16px auto 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.map__key a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; text-decoration: none; background: var(--paper-hi); border: 1px solid var(--line); transition: background .3s; height: 100%; }
.map__key a:active, .map__key a.is-hot { background: var(--blush); }
.map__key .n { flex: 0 0 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--rose-d); color: #FFF6EA; font: 400 16px/1 var(--f-display); }
.map__key .star .n { background: var(--gold); }
.map__key b { display: block; font: 400 19px/1.05 var(--f-display); }
html[lang="hi"] .map__key b { font: 700 19px/1.1 var(--f-hi); }
.map__key small { display: block; font-size: 11px; color: var(--ink-3); line-height: 1.3; margin-top: 2px; }
html[lang="hi"] .map__key small { font: 400 14px var(--f-hi); }

/* =========================================================
   7. GOOD TO KNOW · cards
   ========================================================= */
.notes__grid { width: var(--col); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.note { padding: 18px 12px 16px; border-radius: 14px; text-align: center; background: var(--paper-hi) var(--paper-tex) center / 380px auto; border: 1px solid var(--line); box-shadow: 0 10px 20px -16px rgba(80, 50, 30, .5); }
.note .ico { width: 40px; height: 40px; color: var(--sage-d); }
.note h3 { margin: 8px 0 4px; font: 400 21px/1.1 var(--f-display); color: var(--rose-d); }
html[lang="hi"] .note h3 { font: 700 21px/1.2 var(--f-hi); }
.note p { margin: 0; font-size: 13px; line-height: 1.4; color: var(--ink-2); }
html[lang="hi"] .note p { font: 400 16px/1.35 var(--f-hi); }

/* =========================================================
   8. KIAAN
   ========================================================= */
.kiaan { text-align: center; padding-bottom: 70px; }
.kiaan__page { position: relative; width: min(74vw, 360px); margin: 0 auto; rotate: -3deg; filter: drop-shadow(0 18px 24px rgba(60, 40, 30, .28)); }
.tape { position: absolute; top: -12px; width: 86px; height: 26px; background: rgba(240, 226, 196, .72); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); z-index: 2; }
.tape--l { left: -18px; rotate: -32deg; }
.tape--r { right: -18px; rotate: 28deg; }
.kiaan__note { margin: 32px 0 0; font: 400 clamp(30px, 8.4vw, 40px)/1.35 var(--f-child); color: #2D5DB3; rotate: -2deg; }
.kiaan__note .w { display: inline-block; }
.kiaan__sign { margin: 6px 0 0; font: 400 24px var(--f-child); color: #D3335C; rotate: -2deg; }
.kiaan__sign span { font-size: .8em; }

/* =========================================================
   9. FINALE
   ========================================================= */
.finale { position: relative; overflow: hidden; }
.finale__paint img { width: 100%; height: min(150vw, 1100px); object-fit: cover; object-position: 50% 70%; }
.finale__copy { position: absolute; left: 0; right: 0; top: 14%; text-align: center; padding: 0 20px; }
.finale__hi { margin: 0; font: 700 clamp(46px, 13vw, 76px)/1.15 var(--f-hi); color: var(--rose-d); }
.finale__tag { margin: 14px 0 0; font: 500 12px var(--f-body); letter-spacing: .32em; text-transform: uppercase; color: var(--rose-d); }
.finale__skyline { display: block; width: 100%; height: 70px; margin-top: -1px; color: var(--rose); opacity: .5; -webkit-mask-size: auto 100%; mask-size: auto 100%; -webkit-mask-repeat: repeat-x; mask-repeat: repeat-x; -webkit-mask-position: bottom; mask-position: bottom; }
.foot { text-align: center; padding: 28px 20px max(80px, calc(env(safe-area-inset-bottom) + 70px)); background: var(--rose-d); color: var(--paper-hi); }
.foot p { margin: 0; }
.foot__help { font: 500 10px/1.8 var(--f-body); letter-spacing: .24em; text-transform: uppercase; opacity: .8; }
html[lang="hi"] .foot__help { font: 400 16px var(--f-hi); letter-spacing: 0; }
.foot__phone { font: 400 26px var(--f-display); margin-top: 4px !important; }
.foot__phone a { text-decoration: none; }
.foot__credit { margin-top: 22px !important; font-size: 12px; opacity: .65; }

.js .reveal { opacity: 0; transform: translateY(14px); }

/* =========================================================
   Laptop
   ========================================================= */
@media (min-aspect-ratio: 1/1) {
  .hero__scene { width: max(100vw, 150svh); aspect-ratio: 3 / 2; }
  .hero__kite--rose { width: 5.4%; left: 57%; top: 22%; }
  .hero__kite--sage { width: 5%; left: 50%; top: 27%; }
  .hero__boat { width: 11%; left: 63%; top: 80%; }
  .hero__lotus--l { width: 21%; left: -2%; bottom: -4%; }
  .hero__lotus--r { width: 22%; right: -3%; bottom: -4%; }
  .hero__jharokha { width: auto; height: 104svh; aspect-ratio: 2 / 3; box-shadow: 0 0 0 100vmax #F8AE94; }
  .hero__title { top: 14svh; padding: 0; }
  .hero__name { font-size: clamp(44px, 9svh, 96px); }
  .hero__amp { font-size: clamp(26px, 5svh, 44px); }
}
@media (min-width: 900px) {
  .sec { padding: 120px 0; }
  .slide { flex-direction: row; justify-content: center; align-items: center; gap: 70px; padding-bottom: 40px; }
  .slide__frame { height: min(62svh, 620px); }
  .slide__body { text-align: left; padding: 0; width: 380px; }
  .slide__wear, .slide__acts { justify-content: flex-start; }
  .notes__grid { grid-template-columns: repeat(3, 1fr); width: min(100% - 80px, 900px); }
  .finale__paint img { height: 100svh; }
  .menu { align-items: center; justify-items: center; }
  .menu__paper { width: 520px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .hero { height: 100svh; }
}
