/* =========================================================
   Anmol & Aishwarye — wedding invitation
   ========================================================= */
/* Great Vibes draws its capital A like a large small-letter a. The family asked for a true capital, so that one letter is
   taken from MonteCarlo (the same designer's hand; SIL Open Font License) and carried here, in the file, so it can never arrive late. */
@font-face { font-family: 'Script A'; src: url(data:font/woff2;base64,d09GMgABAAAAAAMsAA4AAAAABfQAAALbAAECjwAAAAAAAAAAAAAAAAAAAAAAAAAAGhQbIBwaBmAANBEICoJ4glYBNgIkAwgLBgAEIAWDeAcgG9kEEdWbpwB+JNgxHdszFk6P5M45eCC9vjeT5Js+s5LLv3tmJaBSDvYGwNHcBqRyEZeEJ/H+opOb+MTNPAqzLtteoJEmEo6xNBu6KBpgia8X2vrn7w/2YA/obw+1qRBCfukgVU+M7RkEYAMAiPMcWOGDH6KkrKYFC1QAkwkAGMgND2R4n1EjAR4CVNldzEEDaZAdQPX7SdGTJH6zYAF0yuvryzlO4Ruo2//bgLmiWQECQGTL90AACiABBXBBQQAuqAQAKioCKDSZHobpuAAQRbxtD4AEHqBPJ7AGiL8KANHZusBgZbjot0hMj168mLVXrI169jG9ePk2byuDmL7Y2lrXi6/q5ev2uC5cyrQFLpZPGu6LFbgtO+jUavZfu9ZiXRDoevKOjAtdQqKRDayslrgB07aoaXRfdyh6k+69OCe4nCJi/f6QBUzVcNRv0TIxvRS1WrLZY/O/c61PWYKVFqTPjbD21pL7mgW8jo5sC/TZWzXAedfik7+k1N5r36ILekz6smVaVdKO83cuHHFQzdX4zmTVvMPoaBnWt69Xhn65e+/uY2ML508PnhtSVDfhUYiiugfFlpYs965PlFL9YBbW6dHm1CM8ZJCnYhYg47Up4aXzyhXVXA29GVW1OnR1v4Y1Zr7bx3i5W2dFjG5a9u3+9wsN3Xs1DU4HAAEIObuL/mhRL/ucbxb2ykuAu8eTwgDuno75+nXR7y9eP8wlYIYEQMC/Nrw1Avy8egGB+TbJNlDCTY8FIC0nM5/naKysrMicrl5PtQR2gyiBC7spiR3nKYUsblAqIcKB0igTzlw0y/2i+ohhFRulU5iOJxP4agE3DFJxJLGH8IzRCpbCPks1xgm0dZqGyXY0UibVGR0y9EcKUXlCdiuTkd85HzDNd27UfguVedF4Mpzj8+Pd9fG47jQxqB7m2CD+iyllw4+howxTx5J8DxFFmCC1cnr99XDWuZHdMlymFVM=) format('woff2'); unicode-range: U+0041; size-adjust: 108%; }

:root {
  --page: #f6e3e1;
  --page-deep: #e9cfcc;
  --ink: #6b4652;
  --ink-soft: #7d5967;
  --ink-faint: rgba(107, 70, 82, .3);
  --rose: #bf8591;
  --gilt: #a98349;

  --f-script: 'Script A', 'Great Vibes', 'Pinyon Script', 'Snell Roundhand', cursive;
  --f-serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --f-caps: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
  --f-hindi: 'Rozha One', 'Tiro Devanagari Hindi', 'Noto Serif Devanagari', serif;
  --f-deva: 'Eczar', 'Tiro Devanagari Hindi', 'Noto Serif Devanagari', serif;   /* running Hindi text */
  --wine: #742c3e;

  --col: min(100vw, 520px);      /* the invitation is one phone-width column on every screen */
  --u: calc(var(--col) / 100);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .48 0 0 0 0 .24 0 0 0 0 .2 0 0 0 .2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --foil: linear-gradient(115deg, #a9803f 0%, #ecd49a 22%, #b98f4a 42%, #f6e7bb 58%, #b98f4a 76%, #e6cc8f 100%);
  --corner-tl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 46' fill='none' stroke='%23b58d4c' stroke-width='1'%3E%3Cg transform='translate(0 0)'%3E%3Cpath d='M0 26A26 26 0 0 0 26 0'/%3E%3Cpath opacity='.5' d='M0 32A32 32 0 0 0 32 0'/%3E%3Cpath d='M6 6Q14 9 18 18Q9 14 6 6Z'/%3E%3Cpath d='M8 3.5Q16 3 22 8Q14 9 8 3.5Z'/%3E%3Cpath d='M3.5 8Q3 16 8 22Q9 14 3.5 8Z'/%3E%3Ccircle cx='20.6' cy='20.6' r='1.1' fill='%23b58d4c' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  --corner-tr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 46' fill='none' stroke='%23b58d4c' stroke-width='1'%3E%3Cg transform='translate(46 0) scale(-1 1)'%3E%3Cpath d='M0 26A26 26 0 0 0 26 0'/%3E%3Cpath opacity='.5' d='M0 32A32 32 0 0 0 32 0'/%3E%3Cpath d='M6 6Q14 9 18 18Q9 14 6 6Z'/%3E%3Cpath d='M8 3.5Q16 3 22 8Q14 9 8 3.5Z'/%3E%3Cpath d='M3.5 8Q3 16 8 22Q9 14 3.5 8Z'/%3E%3Ccircle cx='20.6' cy='20.6' r='1.1' fill='%23b58d4c' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  --corner-bl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 46' fill='none' stroke='%23b58d4c' stroke-width='1'%3E%3Cg transform='translate(0 46) scale(1 -1)'%3E%3Cpath d='M0 26A26 26 0 0 0 26 0'/%3E%3Cpath opacity='.5' d='M0 32A32 32 0 0 0 32 0'/%3E%3Cpath d='M6 6Q14 9 18 18Q9 14 6 6Z'/%3E%3Cpath d='M8 3.5Q16 3 22 8Q14 9 8 3.5Z'/%3E%3Cpath d='M3.5 8Q3 16 8 22Q9 14 3.5 8Z'/%3E%3Ccircle cx='20.6' cy='20.6' r='1.1' fill='%23b58d4c' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  --corner-br: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 46' fill='none' stroke='%23b58d4c' stroke-width='1'%3E%3Cg transform='translate(46 46) scale(-1 -1)'%3E%3Cpath d='M0 26A26 26 0 0 0 26 0'/%3E%3Cpath opacity='.5' d='M0 32A32 32 0 0 0 32 0'/%3E%3Cpath d='M6 6Q14 9 18 18Q9 14 6 6Z'/%3E%3Cpath d='M8 3.5Q16 3 22 8Q14 9 8 3.5Z'/%3E%3Cpath d='M3.5 8Q3 16 8 22Q9 14 3.5 8Z'/%3E%3Ccircle cx='20.6' cy='20.6' r='1.1' fill='%23b58d4c' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  --phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25c1.1.37 2.3.57 3.6.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E");
  --jaali: 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='%23c79a8f' stroke-opacity='.4'%3E%3Cpath d='M28 3l8 17 17 8-17 8-8 17-8-17-17-8 17-8z'/%3E%3Ccircle cx='28' cy='28' r='6.5'/%3E%3Ccircle cx='0' cy='0' r='11'/%3E%3Ccircle cx='56' cy='0' r='11'/%3E%3Ccircle cx='0' cy='56' r='11'/%3E%3Ccircle cx='56' cy='56' r='11'/%3E%3C/g%3E%3C/svg%3E");
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--page-deep); color-scheme: only light; }   /* a phone's forced dark mode must not recolour the words: the pictures stay light */
html.is-locked, html.is-locked body { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  background: radial-gradient(120% 80% at 50% 0%, #f1dcd9 0%, var(--page-deep) 70%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, figure { margin: 0; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink-soft); outline-offset: 4px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- ambient layers ---------- */
#fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 40; pointer-events: none; }

.sound {
  position: fixed; right: max(14px, calc(50% - var(--col) / 2 + 14px)); bottom: max(14px, env(safe-area-inset-bottom)); z-index: 70;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 250, 249, .7); border: 1px solid rgba(107, 70, 82, .32); color: var(--ink);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 8px 20px -10px rgba(107, 70, 82, .55); transition: opacity .5s, transform .5s var(--ease);
}
.sound:disabled { opacity: 0; transform: scale(.6); pointer-events: none; }
.is-locked .sound { right: max(24px, calc(50% - var(--col) / 2 + 24px)); bottom: max(70px, calc(env(safe-area-inset-bottom) + 56px)); }
.sound:hover { transform: scale(1.08); }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 14px; }
.bars i { width: 2px; height: 4px; border-radius: 2px; background: currentColor; transition: height .3s; }
.sound[aria-pressed="true"] .bars i { animation: bars .9s ease-in-out infinite alternate; }
.sound[aria-pressed="true"] .bars i:nth-child(2) { animation-delay: -.3s; }
.sound[aria-pressed="true"] .bars i:nth-child(3) { animation-delay: -.6s; }
.sound[aria-pressed="true"] .bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes bars { from { height: 3px; } to { height: 14px; } }

/* =========================================================
   PRELOADER
   ========================================================= */
.loader {
  position: fixed; top: 0; bottom: 0; left: calc(50% - var(--col) / 2); width: var(--col); z-index: 80;
  display: grid; place-items: center; text-align: center; color: var(--ink);
  background: var(--grain), radial-gradient(90% 60% at 50% 46%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 72%), linear-gradient(180deg, #fbeae5 0%, #f6dcd7 60%, #f1d0cb 100%);
  transition: opacity .8s ease, visibility 0s linear .8s;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mono { width: calc(var(--u) * 46); height: auto; animation: loader-in 1s var(--ease) both, loader-breathe 2.6s ease-in-out 1s infinite; }
@keyframes loader-in { from { opacity: 0; transform: scale(.9); } }
@keyframes loader-breathe { 50% { transform: scale(1.045); opacity: .82; } }

/* =========================================================
   THE GATE — a sealed envelope, with the garden arch inside
   ========================================================= */
.gate {
  position: fixed; top: 0; bottom: 0; left: calc(50% - var(--col) / 2); width: var(--col); z-index: 60;
  overflow: hidden; touch-action: none;
}

/* ---------- the film behind the envelope ---------- */
.film { position: absolute; inset: 0; overflow: hidden; background: #3b0c1a; }
.film-video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 12%; background: #3b0c1a; }   /* a short screen trims the foot of the film (the path), not the names at its head */
.film-skip {
  position: absolute; z-index: 2; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%); padding: 7px 14px 6px; border-radius: 999px;
  background: rgba(10, 22, 34, .5); border: 1px solid rgba(244, 236, 220, .28); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  font-family: var(--f-caps); font-weight: 600; font-size: 9.5px; letter-spacing: .3em; padding-left: calc(14px + .3em); text-transform: uppercase; white-space: nowrap; color: #f4ecdc;
  opacity: 0; transition: opacity .8s; pointer-events: none;
}
.gate:has(.film.is-on) { cursor: pointer; }
.film.is-on .film-skip { opacity: .9; transition-delay: 2s; }

/* ---------- the couple walk in with the envelope ---------- */
.intro { --tw: min(82%, 33vh); --cw: min(76%, 39vh); position: absolute; inset: 0; overflow: hidden; background: var(--page); cursor: pointer; display: none; }
.is-intro .intro { display: block; }
.intro-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 62%; transform-origin: 50% 66%; }
.intro::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 46%; background: linear-gradient(180deg, rgba(250, 236, 234, .78), rgba(250, 236, 234, 0)); pointer-events: none; }
.intro-toran { position: absolute; z-index: 2; left: calc(50% - var(--tw) / 2); top: -1.2%; width: var(--tw); height: auto; opacity: 0; transform-origin: 50% 0; filter: drop-shadow(0 6px 8px rgba(107, 70, 82, .22)); }
.intro-hello { position: absolute; z-index: 2; left: 0; right: 0; top: calc(min(calc(var(--u) * 82), 33vh) * .76 + 1.2vh); text-align: center; color: var(--ink); }
@supports (height: 1svh) {
  .intro { --tw: min(82%, 33svh); --cw: min(76%, 39svh); }
  .intro-hello { top: calc(min(calc(var(--u) * 82), 33svh) * .76 + 1.2svh); }
}
.intro-hello > * { opacity: 0; }
.intro-hello p { font-family: var(--f-hindi); font-size: min(calc(var(--u) * 10.4), 6.2vh); line-height: 1.2; text-shadow: 0 0 16px rgba(255, 250, 249, .95), 0 0 4px rgba(255, 250, 249, .9); }
.intro-hello span { display: block; margin-top: calc(var(--u) * 1.6); font-family: var(--f-caps); font-weight: 700; font-size: calc(var(--u) * 2.8); letter-spacing: .3em; padding-left: .3em; text-transform: uppercase; color: var(--ink); text-shadow: 0 0 10px rgba(255, 250, 249, .95); }
.intro-walk { position: absolute; z-index: 3; left: calc(50% - var(--cw) / 2); width: var(--cw); bottom: 5.5%; opacity: 0; transform-origin: 50% 100%; will-change: transform; }
.intro-bob { transform-origin: 50% 100%; will-change: transform; }
.intro-couple { width: 100%; height: auto; filter: drop-shadow(0 calc(var(--u) * 1) calc(var(--u) * 1.6) rgba(107, 70, 82, .22)); }
.intro-shadow { position: absolute; left: 14%; right: 14%; bottom: -1.6%; height: 5.4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(107, 70, 82, .34), rgba(107, 70, 82, 0)); }
.intro-skip { position: absolute; z-index: 4; left: 0; right: 0; bottom: max(1.6%, env(safe-area-inset-bottom)); text-align: center; font-family: var(--f-caps); font-weight: 600; font-size: 10px; letter-spacing: .3em; padding-left: .3em; text-transform: uppercase; color: var(--ink); opacity: .8; text-shadow: 0 0 8px rgba(255, 250, 249, .9); }

/* ---------- the envelope: a photograph of lace paper, cut along its own flap ---------- */
.gate { container-type: size; }
.env { position: absolute; inset: 0; perspective: 1500px; }   /* without container units the photograph simply stretches to the screen */
@supports (width: 1cqw) {
  .env { /* a box the exact size of the photograph as it covers the screen, so the flap, the seal and the words line up with it */
    --iw: max(100cqw, 56.31cqh);
    inset: auto; left: calc(50% - var(--iw) / 2); top: calc(50% - var(--iw) / 1.1262); width: var(--iw); height: calc(var(--iw) / .5631);
  }
}
.is-intro .env { opacity: 0; pointer-events: none; }
.is-intro .seal-wrap { pointer-events: none; }   /* the seal cannot be tapped while the couple are still walking up */
.env-pocket, .env-flap, .env-flap-face, .env-paper, .env-shade, .env-seal { position: absolute; inset: 0; }
.env-paper { background: #e6c6c4 var(--envelope, none) 50% 50% / 100% 100% no-repeat; }
.env-pocket { filter: drop-shadow(0 -8px 16px rgba(107, 70, 82, .3)); will-change: transform; }
.env-pocket .env-paper { /* everything but the flap; it keeps a hair of paper under the flap's edge so no seam shows */
  -webkit-clip-path: polygon(0 0, .6% 0, 52.41% 49.5%, 100% .5%, 100% 100%, 0 100%); clip-path: polygon(0 0, .6% 0, 52.41% 49.5%, 100% .5%, 100% 100%, 0 100%);
}
.env-flap { transform-origin: 50% 0; transform-style: preserve-3d; will-change: transform; }
.env-flap-face { -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.env-flap .env-paper, .env-shade { -webkit-clip-path: polygon(0 0, 100% 0, 100% 1.1%, 52.41% 50.01%); clip-path: polygon(0 0, 100% 0, 100% 1.1%, 52.41% 50.01%); }
.env-shade { /* the flap falls into shadow as it tilts up */
  background: linear-gradient(180deg, rgba(107, 70, 82, .04), rgba(107, 70, 82, .42)); opacity: 0; transform: translateZ(1px); pointer-events: none;
}

/* the photograph's own wax seal, cut out and stamped with the monogram; it stays on the pocket when the flap lifts */
.env-seal { pointer-events: none; will-change: transform; }
.seal-wrap { position: absolute; left: 33.97%; top: 41.32%; width: 32.61%; aspect-ratio: 1; pointer-events: auto; }
.seal-halo { position: absolute; inset: 9%; border-radius: 50%; border: 1.5px solid rgba(196, 168, 120, .9); opacity: 0; pointer-events: none; }
.seal { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; border-radius: 50%; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.seal-img { display: block; width: 100%; height: 100%; max-width: none; filter: drop-shadow(0 calc(var(--u) * .5) calc(var(--u) * 1) rgba(110, 70, 62, .26)); }
.seal:focus-visible { outline: none; }
.seal:focus-visible .seal-img { filter: drop-shadow(0 0 1.5px #fff) drop-shadow(0 0 5px rgba(107, 70, 82, .8)); }

.env-top, .env-copy, .seal-wrap { transition: opacity .6s; }
.is-loading .env-top, .is-loading .env-copy, .is-loading .seal-wrap { opacity: 0; }

.orn { width: 132px; margin: 6px auto 0; color: var(--rose); }
.gate .orn { color: #a9804a; }
.orn svg { display: block; width: 100%; height: auto; overflow: visible; }
.orn .dot { fill: currentColor; stroke: none; }
.orn .o-c { fill: none; }

.env-top { position: absolute; left: 0; right: 0; top: 6.5%; text-align: center; isolation: isolate; }
.env-top::before { /* the embossed flowers are quietened where the words sit */
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: min(86vw, 440px); height: 340%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(240, 214, 212, .94) 0%, rgba(240, 214, 212, .8) 46%, rgba(240, 214, 212, 0) 100%);
}
.gate-shloka { font-family: var(--f-hindi); font-size: clamp(20px, calc(var(--u) * 6), 31px); line-height: 1.3; color: var(--ink); }
.env-copy { position: absolute; left: 0; right: 0; top: 60.4%; display: grid; justify-items: center; text-align: center; }
@supports (width: 1cqw) {
  .env-top { top: calc(50% - 50cqh + max(5.6cqh, 34px)); }   /* always clear of the top of the screen, however the photograph is cropped */
}
.seal-hint { font-family: var(--f-caps); font-size: 13px; font-weight: 700; letter-spacing: .34em; padding-left: .34em; text-transform: uppercase; color: var(--ink); text-shadow: 0 0 8px rgba(244, 222, 220, .95), 0 0 2px rgba(244, 222, 220, .9); animation: seal-hint 2.2s ease-in-out infinite; }
@keyframes hint { 50% { opacity: .62; } }
@keyframes seal-hint { 50% { opacity: .8; } }

/* =========================================================
   THE CARD — shared pieces
   ========================================================= */
.card { position: relative; z-index: 1; width: var(--col); margin: 0 auto; overflow-x: clip; background: var(--grain), var(--page); box-shadow: 0 0 90px rgba(107, 70, 82, .2); }
@supports not (overflow: clip) { .card { overflow-x: hidden; } }

.script { font-family: var(--f-script); font-weight: 400; line-height: 1.16; color: var(--ink); }
/* the script is thickened a hair so its thin strokes hold on a phone */
.script, .names, .hero-venue, .blessing-text em, .fam-welcome, .closing-names { -webkit-text-stroke: .013em currentColor; }
h2.script { font-size: calc(var(--u) * 12.2); }
h3.script { font-size: calc(var(--u) * 10.6); }
.caps { font-family: var(--f-caps); font-weight: 600; font-size: calc(var(--u) * 2.6); line-height: 1.8; letter-spacing: .24em; padding-left: .24em; text-transform: uppercase; color: var(--ink-soft); }
.deva { font-family: var(--f-deva); font-weight: 500; font-size: calc(var(--u) * 4.3); line-height: 1.6; color: var(--ink); }
.deva b { font-weight: 600; }
.verse { max-width: 21em; margin: calc(var(--u) * 3) auto 0; font-family: var(--f-deva); font-weight: 500; font-size: calc(var(--u) * 4.05); line-height: 1.7; color: var(--ink-soft); }

.section { position: relative; padding: calc(var(--u) * 15) calc(var(--u) * 7) calc(var(--u) * 13); text-align: center; }
.section > .caps { margin-top: calc(var(--u) * 2.4); }

.panel {
  position: relative; margin-top: calc(var(--u) * 8); padding: calc(var(--u) * 8) calc(var(--u) * 5) calc(var(--u) * 9); border-radius: calc(var(--u) * 6);
  background: linear-gradient(180deg, rgba(255, 255, 255, .46), rgba(255, 255, 255, .18));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55), 0 calc(var(--u) * 4) calc(var(--u) * 9) calc(var(--u) * -6) rgba(107, 70, 82, .32);
}
.panel h3 { margin-top: calc(var(--u) * 1.5); }
.panel-text { margin-top: calc(var(--u) * 3); font-weight: 600; font-size: calc(var(--u) * 4.4); line-height: 1.5; color: var(--ink); }
.map-link { display: inline-block; margin-top: calc(var(--u) * 5.5); padding-bottom: 4px; font-family: var(--f-caps); font-weight: 700; font-size: calc(var(--u) * 2.5); letter-spacing: .3em; padding-left: .3em; text-transform: uppercase; text-decoration: none; color: var(--ink); border-bottom: 1px solid currentColor; transition: color .3s, letter-spacing .4s var(--ease); }
.map-link:hover { color: var(--rose); letter-spacing: .36em; }

/* =========================================================
   THE INVITATION
   ========================================================= */
.hero { position: relative; height: 100vh; height: 100svh; min-height: calc(var(--u) * 168); overflow: hidden; --h: min(calc(var(--u) * 1.7), .82vh); }   /* --h: the unit every size on this page is built from */
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transform-origin: 50% 42%; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 15%; background: linear-gradient(180deg, rgba(246, 227, 225, 0), var(--page)); pointer-events: none; }
.hero-copy {
  position: absolute; left: 0; right: 0; top: 19.4%; z-index: 1; display: grid; justify-items: center; text-align: center;   /* in the open sky of the picture, under its bells (the picture always fills this page by height) */
}
@supports (height: 1svh) { .hero { --h: min(calc(var(--u) * 1.7), .82svh); } }
.hero-copy::before { /* a soft bloom of light behind the words */
  content: ""; position: absolute; left: 2%; right: 2%; top: -5%; bottom: -12%; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 250, 250, .86), rgba(255, 250, 250, .62) 60%, rgba(255, 250, 250, 0));
}
.mono { height: calc(var(--h) * 15.6); width: auto; max-width: none; filter: drop-shadow(0 calc(var(--h) * .25) calc(var(--h) * .5) rgba(255, 250, 250, .9)); }
.names { margin-top: calc(var(--h) * .3); font-family: var(--f-script); font-weight: 400; font-size: calc(var(--h) * 5.5); line-height: 1.15; white-space: nowrap; color: var(--ink); }
.names i { font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: .6em; color: var(--ink-soft); -webkit-text-stroke: 0; }
.names:focus { outline: none; }
.hero .caps { font-weight: 700; font-size: calc(var(--h) * 1.44); line-height: 1.6; letter-spacing: .18em; padding-left: .18em; margin-top: calc(var(--h) * 1); color: var(--ink); }
.date-row { display: flex; align-items: center; gap: calc(var(--h) * 2); margin-top: calc(var(--h) * 1.3); }
.date-row span { min-width: calc(var(--h) * 13.5); padding: calc(var(--h) * .7) 0 calc(var(--h) * .6); border-top: 1px solid var(--ink-faint); border-bottom: 1px solid var(--ink-faint); font-family: var(--f-caps); font-weight: 700; font-size: calc(var(--h) * 1.6); letter-spacing: .24em; padding-left: .24em; text-transform: uppercase; }
.date-row strong { font-family: var(--f-serif); font-weight: 600; font-size: calc(var(--h) * 6.8); line-height: 1; font-variant-numeric: lining-nums; }
.hero .hero-day { margin-top: calc(var(--h) * .5); }
.scratch { position: relative; margin-top: calc(var(--h) * 1.1); padding: calc(var(--h) * .9) calc(var(--h) * 2.4) calc(var(--h) * 1.1); border-radius: calc(var(--h) * 2.4); }
.scratch .date-row { margin-top: 0; }
.scratch-under { display: grid; justify-items: center; }
#scratch { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; touch-action: none; cursor: grab; box-shadow: 0 calc(var(--h) * .9) calc(var(--h) * 1.8) calc(var(--h) * -.7) rgba(120, 84, 30, .55), inset 0 0 0 1px rgba(255, 246, 214, .7); }
#scratch:active { cursor: grabbing; }
.scratch-tip { margin-top: calc(var(--h) * .8); padding: 0 0 2px; border: 0; border-bottom: 1px solid transparent; background: none; cursor: pointer; font-family: var(--f-serif); font-style: italic; font-weight: 600; font-size: calc(var(--h) * 2.05); line-height: 1.25; color: var(--ink); }
.hero.is-in .scratch-tip { animation: hint 2.2s ease-in-out infinite; }   /* it begins to pulse only once the page's words are in, not while they are still arriving */
.hero-where { position: absolute; left: 0; right: 0; top: 80.6%; z-index: 1; display: grid; justify-items: center; text-align: center; }   /* on the picture's marble floor */
.hero-where::before { content: ""; position: absolute; left: 8%; right: 8%; top: -30%; bottom: -30%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 249, 244, .8), rgba(255, 249, 244, .5) 62%, rgba(255, 249, 244, 0)); }
.hero .hero-gap { margin-top: 0; }
.hero-venue { margin-top: calc(var(--h) * .2); font-family: var(--f-script); font-size: calc(var(--h) * 4.5); line-height: 1.2; white-space: nowrap; }
.hero .hero-venue + .caps { margin-top: calc(var(--h) * .1); }
.hero .hero-time { margin-top: calc(var(--h) * .45); font-size: calc(var(--h) * 1.8); letter-spacing: .2em; padding-left: .2em; }
.scroll-hint { position: absolute; left: 50%; bottom: 2.4%; z-index: 2; width: 34px; height: 34px; margin-left: -17px; display: grid; place-items: center; }
.scroll-hint i { width: 10px; height: 10px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: rotate(45deg); animation: nudge 2s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(5px) rotate(45deg); } }

/* =========================================================
   COUNTDOWN
   ========================================================= */
.countdown { display: grid; align-items: center; min-height: calc(var(--u) * 104); padding: calc(var(--u) * 8) 0; overflow: hidden; }
.countdown h2.script { font-size: calc(var(--u) * 9.6); line-height: 1.08; }
.col { position: absolute; top: calc(var(--u) * 3); width: calc(var(--u) * 27); height: auto; pointer-events: none; }
.col-l { left: calc(var(--u) * -4); }
.col-r { right: calc(var(--u) * -4); transform: scaleX(-1); }
.countdown-in { position: relative; padding: 0 calc(var(--u) * 20); }
.countdown-in .caps { margin-top: calc(var(--u) * 2); }
.cd { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: calc(var(--u) * 8); }
.cd-unit strong { display: block; font-family: var(--f-serif); font-weight: 600; font-size: calc(var(--u) * 8.8); line-height: 1; font-variant-numeric: tabular-nums lining-nums; color: var(--ink); }
.cd-unit span { display: block; margin-top: calc(var(--u) * 1.8); font-family: var(--f-caps); font-weight: 700; font-size: calc(var(--u) * 1.95); letter-spacing: .12em; padding-left: .12em; text-transform: uppercase; color: var(--ink-soft); }
#countdown-status:empty { display: none; }

/* =========================================================
   THE BLESSING · A LITTLE MOMENT
   ========================================================= */
.blessing { padding-top: calc(var(--u) * 9); }
.ganesha { width: calc(var(--u) * 46); height: auto; margin: 0 auto calc(var(--u) * 3); }
.shloka { font-family: var(--f-hindi); font-size: calc(var(--u) * 6.4); line-height: 1.4; color: var(--ink); }
.blessing .verse { color: var(--ink); }
.mangal { margin-top: calc(var(--u) * 7); font-family: var(--f-hindi); font-size: calc(var(--u) * 10.4); line-height: 1.25; color: var(--wine); }
.mangal::before, .mangal::after { content: ""; display: inline-block; vertical-align: middle; width: calc(var(--u) * 9); height: 1px; margin: 0 calc(var(--u) * 3); background: linear-gradient(90deg, transparent, var(--rose)); }
.mangal::after { transform: scaleX(-1); }
.blessing-text { max-width: 16.5em; margin: calc(var(--u) * 3) auto 0; font-style: italic; font-weight: 600; font-size: calc(var(--u) * 5.4); line-height: 1.45; }
.blessing-text em { display: block; margin-top: calc(var(--u) * 2); font-family: var(--f-script); font-style: normal; font-weight: 400; font-size: 1.75em; line-height: 1.1; white-space: nowrap; }
.blessing-note { max-width: 18em; margin: calc(var(--u) * 5) auto 0; font-style: italic; font-weight: 500; font-size: calc(var(--u) * 4.5); line-height: 1.5; color: var(--ink-soft); }

.moment { padding-top: calc(var(--u) * 6); }
.arch-photo { position: relative; width: calc(var(--u) * 70); margin: calc(var(--u) * 9) auto 0; }
.arch-photo::before { content: ""; position: absolute; inset: calc(var(--u) * -2.6); border: 1px solid var(--ink-faint); border-radius: 999px 999px calc(var(--u) * 5) calc(var(--u) * 5); pointer-events: none; }
.arch-mask { aspect-ratio: 3 / 4.15; overflow: hidden; border-radius: 999px 999px calc(var(--u) * 3) calc(var(--u) * 3); background: #ead3cf; box-shadow: 0 calc(var(--u) * 6) calc(var(--u) * 11) calc(var(--u) * -6) rgba(107, 70, 82, .6); }
.arch-mask img { width: 100%; height: 114%; max-width: none; object-fit: cover; object-position: 50% 30%; }
.moment-caption { margin-top: calc(var(--u) * 9); font-size: calc(var(--u) * 10.6); }

/* =========================================================
   THE CELEBRATIONS — six painted pages that slide over one another
   ========================================================= */
.celebrations { padding-bottom: calc(var(--u) * 11); padding-top: calc(var(--u) * 4); }
.m-kathputli { width: calc(var(--u) * 30); height: auto; margin: 0 auto calc(var(--u) * 3); transform-origin: 50% 0; animation: swing 4.6s ease-in-out infinite alternate; }
@keyframes swing { from { transform: rotate(-3.2deg); } to { transform: rotate(3.2deg); } }
.baraat { display: flex; justify-content: center; align-items: flex-end; gap: calc(var(--u) * 6); margin-bottom: calc(var(--u) * 5); }
.baraat img { width: calc(var(--u) * 30); height: auto; }
.peacocks { display: flex; justify-content: center; align-items: flex-end; gap: calc(var(--u) * 3); margin-bottom: calc(var(--u) * 3); }
.peacocks img { width: calc(var(--u) * 29); height: auto; }
.peacocks img + img { transform: scaleX(-1); }
.m-music { width: calc(var(--u) * 26); height: auto; margin: calc(var(--u) * 9) auto 0; }
.closing-hello { margin-bottom: calc(var(--u) * 2); font-size: calc(var(--u) * 7.2); color: var(--rose); }
.celebrations .verse { margin: 0 auto calc(var(--u) * 6); }
.events { position: relative; }
.event-page {
  position: sticky; top: 0; height: 100vh; height: 100svh; min-height: calc(var(--u) * 148); overflow: hidden;
  display: grid; place-items: center; background: var(--page);
  border-radius: calc(var(--u) * 7) calc(var(--u) * 7) 0 0; box-shadow: 0 calc(var(--u) * -3) calc(var(--u) * 9) rgba(70, 40, 50, .3);
}
.event-bg { position: absolute; left: 0; top: -4%; width: 100%; height: 108%; max-width: none; object-fit: cover; }
.event-panel {
  position: relative; width: 80%; padding: calc(var(--u) * 7) calc(var(--u) * 5) calc(var(--u) * 7.5); border-radius: calc(var(--u) * 6); text-align: center;
  background: linear-gradient(180deg, rgba(255, 252, 250, .8), rgba(255, 250, 248, .68));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 calc(var(--u) * 5) calc(var(--u) * 11) calc(var(--u) * -6) rgba(70, 40, 50, .45);
}
.event-panel h3 { margin-top: calc(var(--u) * 1.5); font-size: calc(var(--u) * 11.6); }
.event-copy { max-width: 19em; margin: calc(var(--u) * 3) auto 0; font-style: italic; font-weight: 500; font-size: calc(var(--u) * 4.4); line-height: 1.45; }
.event-meta { display: grid; gap: calc(var(--u) * .8); margin-top: calc(var(--u) * 5); }
.event-meta::before { content: ""; width: calc(var(--u) * 9); height: 1px; margin: 0 auto calc(var(--u) * 3.4); background: var(--accent, var(--ink-faint)); opacity: .75; }
.event-time { font-weight: 700; font-size: calc(var(--u) * 5.6); line-height: 1.3; }
.event-venue { font-weight: 600; font-size: calc(var(--u) * 4.4); }
.event-meta .caps { color: var(--ink); }
@media (max-height: 600px) and (orientation: landscape) { .event-page { position: relative; } .hero { --h: calc(var(--u) * 1.7); } }   /* held sideways a page is taller than the screen: let it scroll by, not stick */

/* Three ceremonies sit on pictures that bring a frame of their own (an arch, a curtained stage, a lit hall):
   there the words go inside the frame, with no glass card, and are sized with the picture. */
.event-page.is-framed { --pw: var(--col); --ph: max(100vh, calc(var(--u) * 148)); }   /* the page's own width and height, as lengths */
@supports (height: 100svh) { .event-page.is-framed { --ph: max(100svh, calc(var(--u) * 148)); } }
.event-stage { /* a box the exact size of the picture as it covers the page; --s is one hundredth of the picture's width */
  --iw: max(var(--pw), calc(var(--ph) * 1.04 * var(--r))); --s: calc(var(--iw) / 100);
  position: absolute; left: calc(50% - var(--iw) / 2); top: calc(50% - var(--iw) / var(--r) / 2); width: var(--iw); height: calc(var(--iw) / var(--r)); will-change: transform;
}
.event-stage .event-bg { left: 0; top: 0; width: 100%; height: 100%; }
.is-framed .event-panel { position: absolute; width: auto; padding: 0; border-radius: 0; background: none; box-shadow: none; color: var(--fink, var(--ink)); }
.is-framed .event-panel .caps { font-size: calc(var(--s) * 2.05); letter-spacing: .2em; padding-left: .2em; line-height: 1.7; color: var(--fink, var(--ink)); }
.is-framed .event-meta .caps { font-size: calc(var(--s) * 2.5); letter-spacing: .15em; padding-left: .15em; line-height: 1.6; }   /* the day and date: never small */
.is-framed .event-count { display: none; }   /* the page number would sit across the artwork */
.is-framed .event-panel h3 { margin-top: calc(var(--s) * .8); color: var(--fink, var(--ink)); }
.is-framed .event-copy { margin-top: calc(var(--s) * 2); font-weight: 600; }
.is-framed .event-meta { gap: calc(var(--s) * .7); margin-top: calc(var(--s) * 3.2); }
.is-framed .event-meta::before { width: calc(var(--s) * 9); margin-bottom: calc(var(--s) * 2.4); background: currentColor; opacity: .5; }
.is-framed .map-link { margin-top: calc(var(--s) * 3.4); font-size: calc(var(--s) * 2.35); letter-spacing: .24em; padding-left: .24em; color: var(--fink, var(--ink)); }

/* Peela Chawal: inside the picture's gold arch, under its Ganesha and "श्री गणेशाय नमः" */
.is-niche { --fink: #6a3520; background: #efe3cd; }
.is-niche .event-panel { left: 27.5%; right: 27.5%; top: 26.5%; }
.is-niche .event-panel > .caps { font-size: calc(var(--s) * 1.85); letter-spacing: .14em; padding-left: .14em; line-height: 1.6; }
.is-niche .event-panel h3 { font-size: calc(var(--s) * 9.4); white-space: nowrap; margin-left: calc(var(--s) * -4); margin-right: calc(var(--s) * -4); }
.is-niche .event-copy { max-width: none; padding: 0 calc(var(--s) * 2.2); font-size: calc(var(--s) * 3.55); line-height: 1.42; }   /* clear of the leaf tip on the left */
.is-niche .event-meta .caps { font-size: calc(var(--s) * 2.45); }
.is-niche .event-time { font-size: calc(var(--s) * 4.9); }
.is-niche .event-venue { font-size: calc(var(--s) * 3.7); line-height: 1.35; }
.is-niche .event-stage { top: calc((var(--ph) - var(--iw) / var(--r)) * .3); }   /* a short screen trims this picture more at the foot than at the head, so the Ganesha stays whole */

/* Mehendi: inside the picture's cusped arch, between the hennaed hands and the hanging bells */
.is-arch { --fink: #3f5521; }
.is-arch .event-panel { left: 24%; right: 21.6%; top: 26.1%; }
.is-arch .event-panel > .caps { font-size: calc(var(--s) * 1.92); letter-spacing: .16em; padding-left: .16em; }
.is-arch .event-panel h3 { font-size: calc(var(--s) * 12.6); }
.is-arch .event-copy { max-width: none; font-size: calc(var(--s) * 3.65); line-height: 1.4; }
.is-arch .event-meta { width: calc(var(--s) * 31); margin-left: auto; margin-right: auto; transform: translateX(calc(var(--s) * -1.4)); }
.is-arch .event-meta .caps { font-size: calc(var(--s) * 2.3); letter-spacing: .1em; padding-left: .1em; }
.is-arch .event-time { font-size: calc(var(--s) * 5); }
.is-arch .event-venue { font-size: calc(var(--s) * 3.75); line-height: 1.35; }
.is-arch .map-link { transform: translateX(calc(var(--s) * -1.4)); }

/* Haldi Carnival: on the sheer curtain between the yellow drapes */
.is-stage .event-panel { left: 24.6%; right: 24.6%; top: 21.6%; }
.is-stage .event-panel > .caps { font-size: calc(var(--s) * 1.95); }
.is-stage .event-meta .caps { font-size: calc(var(--s) * 2.25); letter-spacing: .12em; padding-left: .12em; }
.is-stage .event-panel > .caps { max-width: calc(var(--s) * 31); margin-left: auto; margin-right: auto; line-height: 1.6; }
.is-stage .event-panel h3 { font-size: calc(var(--s) * 7.7); white-space: nowrap; margin-left: calc(var(--s) * -2); margin-right: calc(var(--s) * -2); }
.is-stage .event-copy { max-width: none; font-size: calc(var(--s) * 3.3); line-height: 1.4; }
.is-stage .event-time { font-size: calc(var(--s) * 4.8); }
.is-stage .event-venue { font-size: calc(var(--s) * 3.5); line-height: 1.35; }

/* Bhaat / Maayra: on the open sunset sky above the haveli courtyard */
.is-sky { --fink: #7d1f4b; }
.is-sky .event-panel { left: 9%; right: 9%; top: 6.5%; }
.is-sky .event-panel > .caps { font-size: calc(var(--s) * 2.2); }
.is-sky .event-panel h3 { font-size: calc(var(--s) * 10.4); white-space: nowrap; }
.is-sky .event-copy { max-width: 19em; margin-top: calc(var(--s) * 1.4); font-size: calc(var(--s) * 3.7); line-height: 1.42; }
.is-sky .event-meta { margin-top: calc(var(--s) * 2.4); }
.is-sky .event-meta::before { margin-bottom: calc(var(--s) * 1.8); }
.is-sky .event-time { font-size: calc(var(--s) * 5); }
.is-sky .event-venue { font-size: calc(var(--s) * 3.8); }
.is-sky .map-link { margin-top: calc(var(--s) * 2.4); }
/* tall phones crop these two pictures at the sides and short ones at the top: the words keep to what is on screen — and, here, to the sky */
.is-sky .event-stage { --s: min(calc(var(--iw) / 100), calc(var(--pw) * .0122), calc(var(--ph) * .0069 - var(--pw) * .00129)); }
.is-night .event-stage { --s: min(calc(var(--iw) / 100), calc(var(--pw) * .0122)); }
.is-sky .event-panel { left: max(9%, calc((var(--iw) - var(--pw)) / 2 + var(--pw) * .05)); right: max(9%, calc((var(--iw) - var(--pw)) / 2 + var(--pw) * .05)); top: max(6.5%, calc((var(--iw) / var(--r) - var(--ph)) / 2 + var(--ph) * .035)); }
.is-night .event-panel { left: max(11%, calc((var(--iw) - var(--pw)) / 2 + var(--pw) * .05)); right: max(11%, calc((var(--iw) - var(--pw)) / 2 + var(--pw) * .05)); }

/* Bhajan Sandhya: on the clear paper between the canopy of peacock feathers and bells and the temple gateway */
.is-canopy { --fink: #23514c; background: #f8ecd0; }
.is-canopy .event-panel { left: 10%; right: 10%; top: 16.5%; }
.is-canopy .event-panel > .caps { font-size: calc(var(--s) * 2.2); }
.is-canopy .event-panel h3 { font-size: calc(var(--s) * 10.4); white-space: nowrap; color: #1d5b5a; }
.is-canopy .event-copy { max-width: 19em; margin-top: calc(var(--s) * 1.4); font-size: calc(var(--s) * 3.7); line-height: 1.42; }
.is-canopy .event-meta { margin-top: calc(var(--s) * 2.4); }
.is-canopy .event-meta::before { margin-bottom: calc(var(--s) * 1.8); }
.is-canopy .event-time { font-size: calc(var(--s) * 5); }
.is-canopy .event-venue { font-size: calc(var(--s) * 3.8); }
.is-canopy .map-link { margin-top: calc(var(--s) * 2.4); }
.is-canopy .event-stage { --s: min(calc(var(--iw) / 112), calc(var(--pw) * .0113)); top: calc((var(--ph) - var(--iw) / var(--r)) * .6); }   /* a short screen trims a little more of the canopy than of the shrine */
.is-canopy .event-panel { left: max(10%, calc((var(--iw) - var(--pw)) / 2 + var(--pw) * .05)); right: max(10%, calc((var(--iw) - var(--pw)) / 2 + var(--pw) * .05)); }

/* The Wedding: in the dark of the hall above the lit stage */
.is-night { --fink: #fbeeda; background: #6f573f; }
.is-night .event-panel { left: 11%; right: 11%; top: 10.5%; text-shadow: 0 1px 14px rgba(60, 40, 20, .55); }
.is-night .event-panel > .caps { font-size: calc(var(--s) * 2.2); }
.is-night .event-panel h3 { font-size: calc(var(--s) * 13.4); color: #f6dfb2; }
.is-night .event-copy { max-width: 19em; font-size: calc(var(--s) * 3.75); line-height: 1.45; font-weight: 500; }
.is-night .event-time { font-size: calc(var(--s) * 5.2); }
.is-night .event-venue { font-size: calc(var(--s) * 3.8); }

.event-page.is-under > * { visibility: hidden; }   /* a phone is never asked to hold six full-screen pictures at once */

/* Until a ceremony picture has arrived, its place is held by a tiny, soft copy of itself (36 pixels wide, carried here),
   so a page on a slow connection is never a flat block of colour. Made by assets/_archive/tools/previews.py. */
.event-bg { background: 50% 50% / 100% 100% no-repeat; }
#peela-chawal .event-bg { background-image: url(data:image/webp;base64,UklGRlwBAABXRUJQVlA4IFABAADwCgCdASokAEAAPrVQoEynJKMiKBVccOAWiUAXZnAJVBbHwALb/4rmFEGnQFj6eoy5YiBXfaGRvbM2XpRYXH2OnkdDgW0q0H1VKRmeiMxYZWBB0U1DXpSRrr41mX0gCCAA/vrT+VTtS74XX0qq69fyZnrR4N9aSFYqobYIfwKFC0hXzyqGG1HqNDb03lFgelqzci+Ame+IlCZcjO+oPhPDu3uySTc9gWmMjkleGc6TufFtTEYfwEPqS7+bk7vQh86bvht4lWvnPNm6DSXE0ruMXB/M30lV3x1unuYI9yW8+vFmFkOvjvX3l4LD+GW7RJetkL00zI6YH237yTa4OBDEEcYgoxhxfdbVLYWTP/rd+uEYskqCVFgtenQAVt7jLZl5eLhMLJjECyjr9bzDzYJdJg06rYrfsBwU+9tLIrQpyspgY2tf97LcSeUmRz4AAAA=); }
#mehendi .event-bg { background-image: url(data:image/webp;base64,UklGRiwBAABXRUJQVlA4ICABAABQCgCdASokAEgAPq1GmkmmI6IhNVgLMMAViWMAsR/kQjW3IUDNlpCF4ZWYFN5rvZgf02ay5P5Khu10kM8Bq2gllwAJIL6Zs1T/08pubRLF8UhQHWSo0s1Z8iwQAP7I3IobOOayG+/elnWLIrkK/yN/vb72rxcMT8828+AnDKIG0PucJDYti6id+5EUwOZLcpLUXktVohUGN2cFBkEWoGgv9Z1JH1tW8Pkc8ZGi0jS8vk6BFZM8yNSHYKBXIPdjGsnKYw/iCkul/EbBm49fABhmhNLZ8ZW9DjvfMCfWyTJfynRplrfVpF4p1rGTKkExdnvX6sssrY/coWlMwNiU/Jwd7bSYpWmkvlP/Ul4URfluN1QUHCmx+D6NbGuaxk6MAAA=); }
#bhaat-maayra .event-bg { background-image: url(data:image/webp;base64,UklGRvIAAABXRUJQVlA4IOYAAADwCACdASokAEAAPqVAmkm1o6KhOrgIArAUiUAXsYJxRhdQhHuaFzLafEYykPRZjs11KAp2MS1KlCALaSa/fnXLu1bSRgHtqhKv9GgynpfdAAD+7b6eldhWY3D/+1O2OLIt91ahTJ4SQhiSYSuBmMNG/buYWHcHTGHYy9SX1FjZLYNnqDaTaT6Z/YxsxF89jZW77N0gMy6mXGacJe12Pk/G04oERi8Y3PuUK2qKIlACod/p58zn7aH+jCU0V+KYd94OzSexPSmcbsWekws5Ebcn1a+x4Ao9OkvY8zdCMiV8zWsYKJAAAA==); }
#bhajan-sandhya .event-bg { background-image: url(data:image/webp;base64,UklGRgoBAABXRUJQVlA4IP4AAABQCQCdASokAEAAPqVEm0mmJCKhN/VdUMAUiWMAybfhAOfx2upl6Tq//tHB0zjE2cgsDRV4XwSvaymsIhkHQ8wOU+BkJD+ChEEL76cfYgyAZ2kwYAD+2l7Yf4GOjzWpneXWKzt+bV9DdGpukQ5bFINeEKFYUU0NdoHWDjpXtX61aShPxEuT8V4kJv11IGAWL1D5Wg9SJPi6F3d/5mDDlkJSIVSq0WYHefDpBZlhM5554eYf+yDzmnsrvc48O8Ybrg2n23EqqcMT2sC6aCBXlPj82AelXHjz0TSZkkN0oSDKhMN+D9Msh3QGSoUnWziSht1CFc2cGn4BxTK7+uAAAA==); }
#haldi-carnival .event-bg { background-image: url(data:image/webp;base64,UklGRhoBAABXRUJQVlA4IA4BAAAwCQCdASokAEAAPq1EnUmmI6KhMrtrMMAViWgAv2shRBlyOb2WbUvn+pGScMYk2UQwkZTul/rQtbt0qo5QTGyHbj4cubC7oDys6gVyzkK6KfyAAP7H0EKknqzu9gMxBOnrrQWOxrWi7SQc+KI35REL5JNm4T1nwQmKWjCy9rl2ViVYXvnZ9eyO4wUkRNRA+qlR5uoHC3mTTS/17sAScAbBLvPPYZOIKkJGCFTmfMurDIksKzDE23O2fslmjcZajBzF38CL1E+JZNIprP6RPV8bJ7N3mWA+ccKaTsLXtYGJ47b/EZycYAuDLcdGbo4HQEjVBcx3f/bUQHA5WdJr6LgkemwR4ne/hTWl+v8PwAA=); }
#wedding-evening .event-bg { background-image: url(data:image/webp;base64,UklGRrAAAABXRUJQVlA4IKQAAABwBwCdASokAEAAPrVQnkqnJSKhsBVZWOAWiWcAyYg20aPNFxyzvgl8qlhwpnItDg1fhP3b3SEUFqu/Zd7DGJ8oS/q4AAD+56LFoW9y0Uisq9Xl9EPYaH9qaIe7niShdkLWj36GDsczrL9MmxALtPw1BTnoo+p7Hk1/JjKm9TiL35ZBdZSe8VgNURe7lvegMMWKI65J5qzndfwJzxNYcuJMFyAAAA==); }

.event-count { position: absolute; left: 0; right: 0; bottom: calc(var(--u) * 5); z-index: 1; text-align: center; font-family: var(--f-caps); font-weight: 700; font-size: calc(var(--u) * 2.3); letter-spacing: .3em; padding-left: .3em; color: var(--ink-soft); text-shadow: 0 0 8px rgba(255, 250, 250, .9); }

/* =========================================================
   CALENDAR
   ========================================================= */
.calendar { padding-top: calc(var(--u) * 12); }
.calendar h2.script { word-spacing: .14em; }   /* its opening "A" stands clear of the N's long first stroke */
.cal { padding: calc(var(--u) * 7) calc(var(--u) * 5) calc(var(--u) * 6); }
.cal-month { font-weight: 600; font-size: calc(var(--u) * 6.6); line-height: 1.2; }
.cal-month span { margin-left: .5em; font-family: var(--f-caps); font-size: .46em; letter-spacing: .26em; color: var(--ink-soft); }
.cal-week, .cal-days { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-week { margin-top: calc(var(--u) * 4.5); font-family: var(--f-caps); font-weight: 700; font-size: calc(var(--u) * 2.3); letter-spacing: .1em; color: var(--ink-soft); }
.cal-days { margin-top: calc(var(--u) * 1.5); row-gap: calc(var(--u) * 1); }
.cal-day { position: relative; aspect-ratio: 1; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: none; font-family: var(--f-serif); font-size: calc(var(--u) * 4.5); line-height: 1; color: rgba(107, 70, 82, .58); font-variant-numeric: lining-nums; }
button.cal-day { cursor: pointer; font-weight: 700; color: var(--ink); -webkit-tap-highlight-color: transparent; }
button.cal-day::before { content: ""; position: absolute; inset: 7%; border-radius: 50%; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px var(--ink-faint), 0 calc(var(--u) * 1.2) calc(var(--u) * 2.4) calc(var(--u) * -1.2) rgba(107, 70, 82, .5); transition: background .35s, transform .45s var(--ease); }
button.cal-day span { position: relative; transition: color .35s; }
button.cal-day i { position: absolute; left: 0; right: 0; bottom: 15%; display: flex; justify-content: center; gap: 2px; }
button.cal-day i b { width: calc(var(--u) * 1.1); height: calc(var(--u) * 1.1); border-radius: 50%; background: var(--c); }
button.cal-day.is-on::before { background: var(--ink); transform: scale(1.08); }
button.cal-day.is-on span { color: #fff6f3; }
.cal-hint { margin-top: calc(var(--u) * 4); font-style: italic; font-weight: 500; font-size: calc(var(--u) * 3.9); color: var(--ink-soft); }
.cal-detail { margin-top: calc(var(--u) * 5); padding-top: calc(var(--u) * 5); border-top: 1px solid var(--ink-faint); }
.cal-date { font-family: var(--f-caps); font-weight: 700; font-size: calc(var(--u) * 2.6); letter-spacing: .26em; padding-left: .26em; text-transform: uppercase; color: var(--ink-soft); }
.cal-event { display: grid; grid-template-columns: calc(var(--u) * 19) 1fr; align-items: center; gap: calc(var(--u) * 4); margin-top: calc(var(--u) * 4.5); text-align: left; }
.cal-event img { width: 100%; height: auto; }
.cal-event h3 { font-size: calc(var(--u) * 8.4); line-height: 1.1; }
.cal-event p { margin-top: calc(var(--u) * .8); font-weight: 600; font-size: calc(var(--u) * 4); line-height: 1.4; }
.cal-event .map-link { margin-top: calc(var(--u) * 2.2); font-size: calc(var(--u) * 2.2); }
.cal-event .map-link + .map-link { margin-left: calc(var(--u) * 3.5); }

/* =========================================================
   THE BEGINNING OF OUR ALWAYS — photographs
   ========================================================= */
.always { padding-top: calc(var(--u) * 14); }
.always h2.script { margin-top: calc(var(--u) * 2); }
.reel { display: flex; gap: calc(var(--u) * 4.5); margin: calc(var(--u) * 7) calc(var(--u) * -7) 0; padding: calc(var(--u) * 3) calc(var(--u) * 15) calc(var(--u) * 14); overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.reel::-webkit-scrollbar { display: none; }
.reel figure { flex: 0 0 calc(var(--u) * 70); aspect-ratio: 3 / 4; margin: 0; overflow: hidden; scroll-snap-align: center; border-radius: calc(var(--u) * 5); background: #ead3cf; box-shadow: 0 0 0 calc(var(--u) * 1.5) #fffaf8, 0 calc(var(--u) * 6) calc(var(--u) * 10) calc(var(--u) * -4) rgba(107, 70, 82, .55); }
.reel figure:nth-child(odd) { transform: rotate(-1.4deg); }
.reel figure:nth-child(even) { transform: rotate(1.4deg); }
.reel img, .reel video { width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
/* moving by itself: the photographs sit on one long strip that slides left without stopping */
.reel.is-marquee { display: block; padding-left: 0; padding-right: 0; overflow: hidden; scroll-snap-type: none; touch-action: pan-y; }
.reel-track { display: flex; gap: calc(var(--u) * 4.5); width: max-content; padding-right: calc(var(--u) * 4.5); animation: reel-run 24s linear infinite; will-change: transform; }
.reel.is-held .reel-track, .reel.is-off .reel-track { animation-play-state: paused; }
@keyframes reel-run { to { transform: translate3d(-50%, 0, 0); } }
.always .moment-caption { margin-top: 0; }

/* =========================================================
   FAMILIES — under the drape
   ========================================================= */
.families { padding: calc(var(--u) * 6) 0 calc(var(--u) * 13); overflow: hidden; }
.drape { width: 108%; max-width: none; height: auto; margin: 0 -4%; transform-origin: 50% 0; pointer-events: none; }
.families-in { position: relative; margin-top: calc(var(--u) * -31); padding: 0 calc(var(--u) * 7); }
.families-in > .caps { margin-top: calc(var(--u) * 2.4); }
.families-in h2.script { font-size: calc(var(--u) * 10); white-space: nowrap; }
.fam-open { margin-top: calc(var(--u) * 5); }
.fam-open b { font-size: 1.14em; }
.fam { margin-top: calc(var(--u) * 9); }
.fam h3 { font-size: calc(var(--u) * 14.5); margin-top: calc(var(--u) * 1); line-height: 1.1; }
.fam-line { margin-top: calc(var(--u) * 2.4); font-size: calc(var(--u) * 4.5); line-height: 1.5; }
.fam-line b { font-weight: 700; }
.fam-line.small { margin-top: calc(var(--u) * 2.6); font-size: calc(var(--u) * 4.1); font-style: italic; font-weight: 600; color: var(--ink-soft); }
.fam-amp { position: relative; width: calc(var(--u) * 15); aspect-ratio: 1; margin: calc(var(--u) * 9) auto 0; display: grid; place-items: center; border-radius: 50%; background: var(--wine); font-family: var(--f-hindi); font-size: calc(var(--u) * 5.2); line-height: 1; color: #fdeeea; box-shadow: 0 0 0 calc(var(--u) * 1.1) rgba(255, 250, 248, .7), 0 0 0 calc(var(--u) * 1.1 + 1px) var(--ink-faint); }
.fam-amp span { margin-top: .12em; }
.fam-close { margin-top: calc(var(--u) * 11); }
.fam-close .shloka { font-size: calc(var(--u) * 6.6); color: var(--wine); }
.fam-close .deva { max-width: 19em; margin: calc(var(--u) * 2.4) auto 0; }
.fam-sign { display: grid; gap: calc(var(--u) * 7); margin-top: calc(var(--u) * 9); padding: calc(var(--u) * 8) calc(var(--u) * 5); }
.fam-sign > div + div { padding-top: calc(var(--u) * 7); border-top: 1px solid var(--ink-faint); }
.sign-label { font-family: var(--f-hindi); font-size: calc(var(--u) * 6.2); line-height: 1.3; color: var(--wine); }
.fam-sign .deva { margin-top: calc(var(--u) * 2.4); font-size: calc(var(--u) * 4.5); }
.fam-amp::before, .fam-amp::after { content: ""; position: absolute; top: 50%; width: calc(var(--u) * 16); height: 1px; background: linear-gradient(90deg, transparent, var(--ink-faint)); }
.fam-amp::before { right: 100%; margin-right: calc(var(--u) * 3); }
.fam-amp::after { left: 100%; margin-left: calc(var(--u) * 3); transform: scaleX(-1); }
.fam-welcome { margin-top: calc(var(--u) * 10); font-family: var(--f-script); font-size: calc(var(--u) * 8.4); line-height: 1.2; }

/* =========================================================
   VENUES · CLOSING
   ========================================================= */
.venues { padding-top: calc(var(--u) * 6); }

.hosts { padding-top: calc(var(--u) * 6); }
.hosts h2.script { font-size: calc(var(--u) * 9.6); white-space: nowrap; }
.host { padding: calc(var(--u) * 8) calc(var(--u) * 4.5) calc(var(--u) * 8.5); }
.panel h3.host-side { margin-top: 0; font-size: calc(var(--u) * 10); line-height: 1.2; color: var(--wine); }
.host-entry { margin-top: calc(var(--u) * 5); padding-top: calc(var(--u) * 6); border-top: 1px solid var(--ink-faint); }
.host-entry h4 { font-weight: 700; font-size: calc(var(--u) * 5.8); line-height: 1.3; color: var(--ink); }
.host-entry p { margin-top: calc(var(--u) * 1.2); font-weight: 600; font-size: calc(var(--u) * 4.3); line-height: 1.4; color: var(--ink); font-variant-numeric: lining-nums; text-wrap: balance; }
.hosts .fam-sign { margin-top: calc(var(--u) * 8); }
.tel {
  display: inline-flex; align-items: center; gap: .5em; margin: calc(var(--u) * 3) calc(var(--u) * .8) 0; padding: calc(var(--u) * 1.9) calc(var(--u) * 4.4) calc(var(--u) * 1.7);
  border-radius: 999px; border: 1px solid var(--ink-faint); background: rgba(255, 255, 255, .6); text-decoration: none; color: var(--ink);
  font-family: var(--f-serif); font-weight: 700; font-size: calc(var(--u) * 4.5); line-height: 1; letter-spacing: .05em; font-variant-numeric: lining-nums; transition: background .3s, transform .4s var(--ease);
}
.tel::before { content: ""; width: .82em; height: .82em; background: currentColor; -webkit-mask: var(--phone) center / contain no-repeat; mask: var(--phone) center / contain no-repeat; }
.tel:hover { background: #fff; transform: translateY(-1px); }

.closing { padding-bottom: 0; }
.couple-art { position: relative; width: calc(var(--u) * 64); margin: 0 auto calc(var(--u) * 5); }
.couple-art img { position: relative; width: 100%; height: auto; transform-origin: 50% 100%; animation: sway 5.5s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-1.3deg) translateY(0); } to { transform: rotate(1.3deg) translateY(-1.2%); } }
.heart { position: absolute; left: var(--x); bottom: 30%; font-size: calc(var(--u) * 4.4); line-height: 1; color: #e39aa9; opacity: 0; animation: heart var(--t, 6s) ease-in var(--d, 0s) infinite; }
@keyframes heart { 0% { transform: translateY(0) scale(.5); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(calc(var(--u) * -62)) scale(1.15) rotate(14deg); opacity: 0; } }
.closing h2.script { font-size: calc(var(--u) * 11.4); }
.closing-names { margin-top: calc(var(--u) * 7); font-family: var(--f-script); font-size: calc(var(--u) * 9.2); line-height: 1.2; }
.closing-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: calc(var(--u) * 3); margin: calc(var(--u) * 9) 0 calc(var(--u) * 7); }
.pill {
  padding: calc(var(--u) * 3.7) calc(var(--u) * 6.2); border-radius: 999px; border: 1px solid var(--ink); cursor: pointer;
  font-family: var(--f-caps); font-weight: 700; font-size: calc(var(--u) * 2.5); letter-spacing: .24em; padding-left: calc(var(--u) * 6.2 + .24em); text-transform: uppercase;
  background: var(--ink); color: #fdf1ee; transition: transform .4s var(--ease), background .3s, color .3s;
}
.pill.ghost { background: rgba(255, 255, 255, .4); color: var(--ink); }
.pill:hover { transform: translateY(-2px); }
.text-button { padding: 0 0 4px; border: 0; border-bottom: 1px solid currentColor; background: none; cursor: pointer; font-family: var(--f-caps); font-weight: 700; font-size: calc(var(--u) * 2.3); letter-spacing: .26em; text-transform: uppercase; color: var(--ink-soft); }
footer { margin: calc(var(--u) * 16) calc(var(--u) * -7) 0; padding: calc(var(--u) * 6) 20px max(calc(var(--u) * 9), env(safe-area-inset-bottom)); border-top: 1px solid var(--ink-faint); font-family: var(--f-caps); font-weight: 600; font-size: calc(var(--u) * 2.5); letter-spacing: .3em; text-transform: uppercase; color: var(--ink-soft); }
footer p { margin-top: 6px; font-size: .9em; opacity: .8; }

/* =========================================================
   Motion preferences
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  #fx { display: none; }
}
