/* ==========================================================================
   Yash & Amruta — शुभविवाह
   Palette: Paithani wine & kumkum, peacock green, antique gold, ivory paper
   ========================================================================== */
:root {
  --wine-950: #16050a;
  --wine-900: #240810;
  --wine-800: #3a0d18;
  --wine-700: #5a1222;
  --kumkum: #a3172f;
  --peacock-950: #05201c;
  --peacock-900: #08302b;
  --peacock-700: #135148;
  --gold: #c9a24d;
  --gold-2: #e6c97f;
  --gold-3: #f6e7b8;
  --gold-d: #8c6a28;
  --ivory: #f8f1e3;
  --paper: #f6eddb;
  --ink: #2b1810;
  --ink-2: #6a5140;
  --ff-script: "Pinyon Script", "Snell Roundhand", cursive;
  --ff-serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --ff-caps: "Cinzel", "Trajan Pro", serif;
  --ff-mr: "Tiro Devanagari Marathi", "Kohinoor Devanagari", "Noto Serif Devanagari", serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --pad: clamp(20px, 5vw, 72px);
  --gold-grad: linear-gradient(100deg, #8c6a28 0%, #e6c97f 20%, #c9a24d 38%, #fff4cf 50%, #b8913f 64%, #e6c97f 82%, #8c6a28 100%);
  --paithani: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='26' viewBox='0 0 44 26'%3E%3Cg fill='none' stroke='%23c9a24d' stroke-width='1'%3E%3Cpath d='M0 1.5H44M0 24.5H44'/%3E%3Cpath d='M0 5L11 16L22 5L33 16L44 5'/%3E%3Cpath d='M0 21L11 10L22 21L33 10L44 21' opacity='.5'/%3E%3C/g%3E%3Cg fill='%23c9a24d'%3E%3Ccircle cx='11' cy='13' r='1.7'/%3E%3Ccircle cx='33' cy='13' r='1.7'/%3E%3Cpath d='M22 9.5l2.4 3.5-2.4 3.5-2.4-3.5z'/%3E%3Ccircle cx='0' cy='13' r='1'/%3E%3Ccircle cx='44' cy='13' r='1'/%3E%3C/g%3E%3C/svg%3E");
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--ff-serif);
  font-size: clamp(17px, 1.12vw, 20px);
  line-height: 1.65;
  color: var(--ink);
  background: var(--wine-950);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; height: 100vh; height: 100svh; }
main { overflow-x: clip; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { font-weight: 400; margin: 0; }
p { margin: 0 0 1em; }
::selection { background: var(--gold); color: var(--wine-900); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
.sr-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }

/* ---------- type helpers ---------- */
.mr { font-family: var(--ff-mr); font-style: normal; }
.script { font-family: var(--ff-script); font-weight: 400; line-height: 1; letter-spacing: 0; }
.eyebrow {
  font-family: var(--ff-caps); font-size: clamp(11px, .78vw, 13px); font-weight: 500;
  letter-spacing: .34em; text-transform: uppercase; color: var(--gold); margin: 0 0 1.1em;
}
.eyebrow.mr, .eyebrow .mr { letter-spacing: .06em; text-transform: none; font-size: clamp(15px, 1.1vw, 18px); font-weight: 400; }
.gold-text {
  background: var(--gold-grad); background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-fill-color: transparent;
  animation: shimmer 10s linear infinite;
  padding: .12em .18em .3em; margin: -.12em -.18em -.3em;
}
@keyframes shimmer { to { background-position: 220% center; } }
@keyframes spin { to { transform: rotate(360deg); } }

.sec { padding: clamp(96px, 13vw, 180px) var(--pad); position: relative; }
.sec-head { text-align: center; max-width: 780px; margin: 0 auto clamp(48px, 7vw, 96px); }
.h2 { font-family: var(--ff-serif); font-weight: 300; font-size: clamp(42px, 6.4vw, 96px); line-height: 1.02; letter-spacing: -.015em; margin: 0 0 .32em; }
.h2 em { font-style: italic; font-weight: 400; color: var(--kumkum); }
.sec-sub { font-size: clamp(18px, 1.35vw, 22px); font-style: italic; color: var(--ink-2); max-width: 620px; margin-inline: auto; }
.paper {
  background-color: var(--paper);
  background-image: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 255, 255, .7), transparent 70%), radial-gradient(ellipse 60% 40% at 50% 100%, rgba(201, 162, 77, .12), transparent 70%);
}

/* Paithani zari border band */
.band { height: 26px; background: var(--paithani) repeat-x center / 44px 26px, linear-gradient(var(--wine-800), var(--wine-900)); position: relative; z-index: 2; }
.band--top { position: absolute; top: 0; left: 0; right: 0; }

/* grain over everything */
.grain { position: fixed; inset: 0; z-index: 95; pointer-events: none; opacity: .055; background-image: var(--noise); background-size: 220px; }

/* ---------- buttons ---------- */
.btn {
  --c: var(--gold);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--ff-caps); font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  padding: 1.15em 2.1em; color: var(--c); border: 1px solid currentColor; overflow: hidden; isolation: isolate;
  transition: color .6s var(--ease), border-color .6s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold-grad); background-size: 200% 100%; transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn:hover, .btn:focus-visible { color: var(--wine-900); border-color: var(--gold); }
.btn svg { width: 16px; height: 16px; }
.btn--solid { color: var(--wine-900); border-color: var(--gold); }
.btn--solid::before { transform: scaleX(1); }
.btn--solid:hover::before { animation: btnSheen 1.4s var(--ease); }
@keyframes btnSheen { from { background-position: 100% 0; } to { background-position: 0 0; } }
.btn--sm { padding: .95em 1.5em; font-size: 11px; }
.btn--block { width: 100%; }
.paper .btn { --c: var(--gold-d); }
.paper .btn:hover { color: var(--ivory); }
.paper .btn::before { background: linear-gradient(100deg, var(--wine-800), var(--wine-700)); }
.paper .btn:hover { border-color: var(--wine-800); }
.btn--ghost { border-color: rgba(140, 106, 40, .4); }
.circle-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(201, 162, 77, .5); display: grid; place-items: center; color: var(--gold-2); transition: background .5s var(--ease), color .5s; }
.circle-btn:hover { background: var(--gold); color: var(--wine-900); }
.circle-btn svg { width: 20px; height: 20px; }
#ritPrev svg { transform: scaleX(-1); }

/* ---------- photos ---------- */
.ph { background-size: cover; background-position: center; overflow: hidden; }
.ph > img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 1.2s var(--ease), transform 1.8s var(--ease); }
.ph.is-loaded > img { opacity: 1; transform: none; }

/* pointed (mehrab) arch frame */
.arch-frame { position: relative; margin: 0; }
.arch-photo { position: absolute; inset: 0; clip-path: url(#arch); -webkit-clip-path: url(#arch); }
.arch-line { position: absolute; pointer-events: none; overflow: visible; }
.arch-line path { fill: none; stroke: var(--gold); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.arch-line--outer { top: -16px; left: -16px; width: calc(100% + 32px); height: calc(100% + 16px); }
.arch-line--inner { top: 10px; left: 10px; width: calc(100% - 20px); height: calc(100% - 10px); }
.arch-line--inner path { stroke: rgba(246, 231, 184, .55); stroke-width: .8; }

/* round arch (semicircle top) */
.arch-round { position: relative; margin: 0; }
.arch-round::before { content: ""; position: absolute; inset: -12px -12px 0; border: 1px solid var(--gold); border-bottom: 0; border-radius: 999px 999px 0 0; pointer-events: none; }
.arch-round__photo { position: relative; border-radius: 999px 999px 0 0; overflow: hidden; aspect-ratio: 3 / 4; }

/* ---------- mandala ---------- */
.mandala { position: relative; width: 100%; height: 100%; color: var(--gold); }
.mandala svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.is-spinning .mandala .m-a { animation: spin 140s linear infinite; }
.is-spinning .mandala .m-b { animation: spin 200s linear infinite reverse; }
.is-spinning .mandala .m-c { animation: spin 260s linear infinite; }

/* ---------- canvas fx + cursor ---------- */
#fx { position: fixed; inset: 0; z-index: 110; pointer-events: none; }
.cursor { display: none; }
.has-cursor .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; pointer-events: none; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold-2); }
.cursor__ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(230, 201, 127, .7); display: grid; place-items: center; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .45s, border-color .45s; }
.cursor__label { font-family: var(--ff-caps); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--wine-900); opacity: 0; transition: opacity .3s; }
.cursor.is-hover .cursor__ring { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(230, 201, 127, .92); border-color: transparent; }
.cursor.is-hover .cursor__label { opacity: 1; }
.cursor.is-hover .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { scale: .85; }
.cursor.is-link .cursor__ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; border-color: var(--gold); }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor [data-cursor] { cursor: none; }
.has-cursor input, .has-cursor textarea { cursor: text; }

/* ==========================================================================
   GATE
   ========================================================================== */
.gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; perspective: 2200px; overflow: hidden; color: var(--ivory); }
.gate__door {
  position: absolute; top: 0; bottom: 0; width: 50.2%;
  background:
    radial-gradient(ellipse 120% 70% at var(--gx, 100%) 50%, rgba(120, 22, 44, .9), transparent 70%),
    linear-gradient(180deg, #3d0d19, #22070e 60%, #16050a);
  transition: transform 2.2s var(--ease-io), filter 2.2s;
  backface-visibility: hidden; will-change: transform;
}
.gate__door::after { content: ""; position: absolute; inset: 0; background: var(--paithani) repeat-y right 6px top / 44px 26px; opacity: .0; }
.gate__door--l { left: 0; transform-origin: left center; --gx: 100%; box-shadow: inset -1px 0 0 rgba(201, 162, 77, .6); }
.gate__door--r { right: 0; transform-origin: right center; --gx: 0%; box-shadow: inset 1px 0 0 rgba(201, 162, 77, .6); }
.gate__inlay { position: absolute; inset: clamp(16px, 3vw, 36px); border: 1px solid rgba(201, 162, 77, .45); }
.gate__inlay::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(201, 162, 77, .22); }
.gate__inlay::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 52%; aspect-ratio: 1; translate: -50% -50%; rotate: 45deg;
  border: 1px solid rgba(201, 162, 77, .16); box-shadow: 0 0 0 18px rgba(201, 162, 77, .03), inset 0 0 0 12px rgba(201, 162, 77, .03);
}
.gate__door--l .gate__inlay { right: 0; border-right: 0; }
.gate__door--r .gate__inlay { left: 0; border-left: 0; }
.gate__ring { position: absolute; top: 50%; width: 28px; height: 28px; margin-top: 70px; border: 2px solid var(--gold); border-radius: 50%; box-shadow: 0 2px 6px rgba(0, 0, 0, .5); }
.gate__door--l .gate__ring { right: 26px; }
.gate__door--r .gate__ring { left: 26px; }
.gate__glow { position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(255, 236, 180, .9), rgba(230, 180, 80, .35) 25%, transparent 60%); opacity: 0; pointer-events: none; transition: opacity 1.4s var(--ease); }
.gate__content { position: relative; z-index: 2; text-align: center; padding: 24px; display: flex; flex-direction: column; align-items: center; transition: opacity .9s var(--ease), transform 1.2s var(--ease); }
.gate__mandala { position: absolute; left: 50%; top: 50%; width: min(150vw, 980px); aspect-ratio: 1; translate: -50% -50%; opacity: .22; z-index: -1; }
.gate__shri { color: var(--gold-2); font-size: clamp(16px, 1.6vw, 20px); margin-bottom: 1.6em; }
.gate__dear { font-style: italic; font-size: clamp(20px, 2vw, 26px); color: var(--gold-3); margin-bottom: .6em; }
.gate__names { font-size: clamp(64px, 11vw, 150px); margin: .05em 0 .1em; filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .5)); }
.gate__names span { font-size: .6em; }
.gate__sub { color: rgba(248, 241, 227, .75); font-size: clamp(16px, 1.4vw, 19px); letter-spacing: .04em; margin-bottom: clamp(24px, 4vh, 44px); }
.gate__hint { font-family: var(--ff-caps); font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: rgba(246, 231, 184, .7); margin-top: 22px; animation: breathe 2.6s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .35; } }
.seal { position: relative; width: clamp(108px, 12vw, 132px); aspect-ratio: 1; border-radius: 50%; transition: transform .6s var(--ease); }
.seal:hover { transform: scale(1.05) rotate(-4deg); }
.seal__halo { position: absolute; inset: -18px; border-radius: 50%; border: 1px solid rgba(230, 201, 127, .5); animation: halo 2.6s var(--ease) infinite; }
@keyframes halo { 0% { transform: scale(.85); opacity: 0; } 40% { opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }
.seal__wax {
  position: absolute; inset: 0; display: grid; place-items: center;
  border-radius: 47% 53% 50% 50% / 52% 48% 52% 48%;
  background: radial-gradient(circle at 35% 30%, #d9374f, #a3172f 38%, #6e0c1d 72%, #4d0813);
  box-shadow: inset 0 2px 6px rgba(255, 180, 180, .35), inset 0 -8px 18px rgba(0, 0, 0, .45), 0 14px 30px rgba(0, 0, 0, .55), 0 0 0 5px rgba(110, 12, 29, .55);
}
.seal__wax::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; border: 1.5px dashed rgba(246, 231, 184, .55); box-shadow: inset 0 0 0 5px rgba(0, 0, 0, .12); }
.seal__mono { font-size: clamp(42px, 5vw, 54px); color: var(--gold-3); text-shadow: 0 1px 0 rgba(0, 0, 0, .5), 0 -1px 0 rgba(255, 220, 220, .25); transform: translateY(4%); }
.gate.is-opening .seal { transform: scale(1.35); opacity: 0; transition: transform .9s var(--ease), opacity .7s; }
.gate.is-opening .gate__glow { opacity: 1; }
.gate.is-open .gate__door--l { transform: rotateY(-108deg); filter: brightness(.5); }
.gate.is-open .gate__door--r { transform: rotateY(108deg); filter: brightness(.5); }
.gate.is-open .gate__content { opacity: 0; transform: scale(1.08); }
.gate.is-open .gate__glow { opacity: 0; transition-delay: .5s; }
.gate.is-gone { visibility: hidden; pointer-events: none; }

/* ==========================================================================
   NAV + MENU
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--pad); color: var(--ivory);
  background: linear-gradient(180deg, rgba(36, 8, 16, .94), rgba(36, 8, 16, .84));
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(201, 162, 77, .18);
  transform: translateY(-105%); transition: transform .8s var(--ease);
}
.nav.is-visible, .menu-open .nav { transform: none; }
.nav__mono { font-size: 34px; color: var(--gold-2); line-height: 1; }
.nav__mono span { font-size: .6em; margin: 0 .08em; }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 40px); }
.nav__links a { position: relative; font-family: var(--ff-caps); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: rgba(248, 241, 227, .78); padding: 6px 0; transition: color .4s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .6s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--gold-2); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.sound { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(201, 162, 77, .45); display: flex; align-items: center; justify-content: center; gap: 2.5px; }
.sound i { display: block; width: 2px; height: 14px; background: var(--gold-2); border-radius: 1px; transform: scaleY(.25); transform-origin: center; transition: transform .4s; }
.sound.is-on i { animation: eq 1.1s ease-in-out infinite; }
.sound.is-on i:nth-child(2) { animation-delay: -.3s; } .sound.is-on i:nth-child(3) { animation-delay: -.6s; } .sound.is-on i:nth-child(4) { animation-delay: -.9s; }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 1px; background: var(--gold-2); transition: transform .6s var(--ease), top .6s var(--ease); }
.burger span:first-child { top: 15px; } .burger span:last-child { top: 24px; }
.menu-open .burger span:first-child { top: 19.5px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 19.5px; transform: rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 79; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(ellipse at 50% 30%, #5a1222, #240810 60%, #16050a);
  clip-path: circle(0% at calc(100% - 40px) 34px); transition: clip-path 1s var(--ease-io); visibility: hidden;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 40px) 34px); visibility: visible; }
.menu__mandala { position: absolute; width: 140vw; aspect-ratio: 1; opacity: .12; }
.menu__links { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.menu__links a { display: flex; align-items: baseline; gap: 14px; color: var(--ivory); font-size: clamp(32px, 8vw, 52px); font-weight: 300; line-height: 1.25; opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .8s var(--ease), color .3s; }
.menu__links a small { font-size: 15px; color: var(--gold); }
.menu__links a:hover { color: var(--gold-2); }
.menu-open .menu__links a { opacity: 1; transform: none; }
.menu-open .menu__links a:nth-child(1) { transition-delay: .25s; } .menu-open .menu__links a:nth-child(2) { transition-delay: .3s; }
.menu-open .menu__links a:nth-child(3) { transition-delay: .35s; } .menu-open .menu__links a:nth-child(4) { transition-delay: .4s; }
.menu-open .menu__links a:nth-child(5) { transition-delay: .45s; } .menu-open .menu__links a:nth-child(6) { transition-delay: .5s; }
.menu-open .menu__links a:nth-child(7) { transition-delay: .55s; } .menu-open .menu__links a:nth-child(8) { transition-delay: .6s; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; overflow: hidden;
  padding: clamp(96px, 12vh, 140px) var(--pad) clamp(70px, 9vh, 110px);
  color: var(--ivory); text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 42%, #6d1529 0%, #3e0e19 42%, #1b060c 80%, #120408 100%);
}
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 120%, rgba(201, 162, 77, .18), transparent 55%); pointer-events: none; }
.toran { position: absolute; top: 0; left: 0; right: 0; height: 118px; z-index: 3; pointer-events: none; background-repeat: repeat-x; background-position: center top; background-size: 150px auto; transform-origin: top center; animation: toranSway 7s ease-in-out infinite; }
@keyframes toranSway { 50% { transform: translateY(-2px) skewX(.4deg); } }
.hero__mandala { position: absolute; left: 50%; top: 52%; width: min(160vw, 1400px); aspect-ratio: 1; translate: -50% -50%; opacity: .2; pointer-events: none; }
.hero__inner { position: relative; z-index: 2; width: 100%; display: flex; flex-direction: column; align-items: center; }
.hero__shri { color: var(--gold-2); font-size: clamp(17px, 1.6vw, 22px); margin-bottom: 1em; }
.hero__stage { --aw: clamp(230px, min(27vw, 46vh * .723), 420px); position: relative; width: 100%; max-width: 1240px; display: grid; place-items: center; margin: clamp(12px, 2vh, 28px) 0 clamp(26px, 4vh, 44px); }
.hero__arch { width: var(--aw); aspect-ratio: 3 / 4.15; }
.hero__arch .arch-photo { box-shadow: 0 40px 80px rgba(0, 0, 0, .5); }
.hero__arch .arch-photo img { object-position: 50% 30%; }
.hero__names { position: absolute; inset: 0; pointer-events: none; z-index: 3; font-size: clamp(80px, 10vw, 176px); }
.hero__name { position: absolute; line-height: 1; filter: drop-shadow(0 6px 22px rgba(0, 0, 0, .55)); }
.hero__name > span { display: inline-block; }
.hero__name--1 { right: calc(50% + var(--aw) / 2 + .06em); top: 14%; }
.hero__name--2 { left: calc(50% + var(--aw) / 2 - .14em); top: 56%; }
.hero__amp { position: absolute; right: calc(50% + var(--aw) / 2 + .5em); top: 52%; font-size: .52em; color: var(--gold-3); opacity: .85; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .5)); }
.hero__mr { font-size: clamp(22px, 2.4vw, 32px); color: var(--gold-3); margin-bottom: .5em; letter-spacing: .02em; }
.hero__mr span { color: var(--gold); font-family: var(--ff-script); font-size: 1.3em; margin: 0 .2em; }
.hero__date { font-family: var(--ff-caps); font-size: clamp(13px, 1.1vw, 16px); letter-spacing: .3em; text-transform: uppercase; color: var(--ivory); margin-bottom: .4em; }
.hero__date-mr { color: rgba(248, 241, 227, .7); font-size: clamp(15px, 1.2vw, 18px); margin-bottom: clamp(24px, 4vh, 40px); }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--ff-caps); font-size: 10px; letter-spacing: .34em; text-transform: uppercase; color: rgba(246, 231, 184, .7); }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold-3); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }

/* countdown */
.countdown { display: flex; gap: clamp(8px, 1.6vw, 20px); justify-content: center; }
.cd__u { position: relative; min-width: clamp(68px, 7vw, 96px); padding: 14px 8px 12px; border: 1px solid rgba(201, 162, 77, .42); background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0)); }
.cd__u::before, .cd__u::after { content: ""; position: absolute; width: 7px; height: 7px; background: var(--gold); rotate: 45deg; left: 50%; margin-left: -3.5px; }
.cd__u::before { top: -4px; } .cd__u::after { bottom: -4px; }
.cd__n { display: block; font-size: clamp(34px, 3.8vw, 56px); font-weight: 300; line-height: 1; font-variant-numeric: tabular-nums lining-nums; color: var(--gold-3); }
.cd__n.tick { animation: tick .7s var(--ease); }
@keyframes tick { from { opacity: 0; transform: translateY(-35%); filter: blur(3px); } }
.cd__l { display: block; margin-top: 8px; font-family: var(--ff-caps); font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; color: rgba(248, 241, 227, .75); }
.cd__mr { display: block; font-size: 12px; color: var(--gold); opacity: .8; }
.cd__done { font-size: clamp(24px, 3vw, 36px); color: var(--gold-2); font-style: italic; }

/* ==========================================================================
   INVITATION
   ========================================================================== */
.invite { padding: clamp(90px, 12vw, 170px) var(--pad); }
.card-paper {
  position: relative; max-width: 860px; margin: 0 auto; text-align: center;
  padding: clamp(54px, 7vw, 100px) clamp(22px, 6vw, 96px);
  background: linear-gradient(180deg, #fffaf0, #f7ecd6);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 77, .45), inset 0 0 0 12px #fffaf0, inset 0 0 0 13px rgba(201, 162, 77, .55), 0 50px 100px -40px rgba(70, 20, 10, .45), 0 18px 40px -20px rgba(70, 20, 10, .25);
}
.card-paper::before { content: ""; position: absolute; inset: 0; background-image: var(--noise); background-size: 220px; opacity: .05; pointer-events: none; }
.corner { position: absolute; width: clamp(54px, 8vw, 104px); height: clamp(54px, 8vw, 104px); color: var(--gold-d); }
.corner--tl { top: 22px; left: 22px; } .corner--tr { top: 22px; right: 22px; transform: scaleX(-1); }
.corner--bl { bottom: 22px; left: 22px; transform: scaleY(-1); } .corner--br { bottom: 22px; right: 22px; transform: scale(-1); }
.medallion { position: relative; width: clamp(160px, 18vw, 220px); aspect-ratio: 1; margin: 0 auto 26px; }
.medallion__ring { position: absolute; inset: -8%; color: var(--gold-d); }
.medallion__photo { position: absolute; inset: 15%; border-radius: 50%; box-shadow: 0 0 0 4px #fffaf0, 0 0 0 5px var(--gold), 0 18px 40px rgba(80, 30, 10, .35); }
.medallion__photo img { object-position: 50% 40%; }
.invite__shri { color: var(--kumkum); font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 1.2em; }
.invite__mr p { margin: 0 0 .5em; }
.mr-lead { font-size: 1.12em; color: var(--ink-2); }
.mr-name { font-size: clamp(30px, 4.2vw, 50px); color: var(--wine-700); line-height: 1.3; margin: .1em 0 !important; }
.mr-parents { font-size: .95em; color: var(--ink-2); }
.mr-and { color: var(--gold-d); font-size: 1.25em; }
.mr-body { font-size: clamp(17px, 1.3vw, 20px); line-height: 2; max-width: 620px; margin: 1em auto 0 !important; }
.mr-body strong { color: var(--kumkum); font-weight: 400; white-space: nowrap; }
.divider { display: flex; align-items: center; justify-content: center; gap: 18px; max-width: 440px; margin: clamp(30px, 4vw, 48px) auto; color: var(--gold-d); }
.divider::before, .divider::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, currentColor); }
.divider::after { transform: scaleX(-1); }
.divider svg { width: 70px; height: 38px; }
.invite__en { font-size: clamp(18px, 1.35vw, 22px); font-style: italic; color: var(--ink-2); max-width: 620px; margin: 0 auto; }
.invite__en strong { font-style: normal; font-weight: 500; color: var(--wine-700); }
.invite__en-names { font-style: normal; font-size: clamp(28px, 3.4vw, 42px); color: var(--wine-800); line-height: 1.2; letter-spacing: .01em; }
.invite__en-names .script { color: var(--gold-d); font-size: 1.2em; margin: 0 .1em; }

/* ==========================================================================
   COUPLE
   ========================================================================== */
.couple { color: var(--ivory); background: radial-gradient(ellipse 80% 60% at 50% 0%, #17584e 0%, #0a332d 50%, #05201c 100%); }
.couple .h2 em, .rituals .h2 em, .venue .h2 em, .reel .h2 em, .rsvp .h2 em { color: var(--gold-2); }
.couple .sec-sub, .rituals .sec-sub { color: rgba(248, 241, 227, .72); }
.couple__grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(20px, 4vw, 64px); max-width: 1060px; margin: 0 auto; }
.couple__amp { font-size: clamp(80px, 9vw, 140px); opacity: .9; }
.flip { position: relative; perspective: 1800px; outline: none; max-width: 420px; width: 100%; justify-self: center; }
.flip__inner { position: relative; display: grid; transform-style: preserve-3d; transition: transform 1.2s var(--ease); transform: rotateX(var(--rx, 0deg)) rotateY(calc(var(--ry, 0deg) + var(--fy, 0deg))); }
.flip.is-flipped { --fy: 180deg; }
.flip__face { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; text-align: center; }
.flip__front { padding: 14px 14px 0; }
.flip__front .arch-round__photo img { transition: transform 1.6s var(--ease); }
.flip:hover .flip__front .arch-round__photo img { transform: scale(1.05); }
.role { margin: 30px 0 4px; font-family: var(--ff-caps); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.role .mr { letter-spacing: 0; font-size: 15px; }
.flip__name { font-size: clamp(64px, 6.5vw, 96px); }
.fullname { margin: .35em 0 .8em; font-size: 1.05em; color: rgba(248, 241, 227, .85); }
.fullname .mr { font-size: .92em; color: var(--gold-2); }
.flip__hint { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff-caps); font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: rgba(246, 231, 184, .65); }
.flip__hint::before { content: "↻"; font-family: var(--ff-serif); font-size: 16px; letter-spacing: 0; color: var(--gold); }
.flip__back {
  transform: rotateY(180deg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 50px clamp(22px, 3vw, 40px); border-radius: 999px 999px 4px 4px;
  background: radial-gradient(ellipse at 50% 20%, #6a1528, #3a0d18 60%, #240810);
  box-shadow: inset 0 0 0 1px var(--gold), inset 0 0 0 9px #3a0d18, inset 0 0 0 10px rgba(201, 162, 77, .45), 0 30px 60px rgba(0, 0, 0, .45);
}
.flip__lotus { width: 86px; height: 46px; color: var(--gold); margin-bottom: 16px; }
.ukhana { font-size: clamp(21px, 2vw, 27px); line-height: 1.75; color: var(--gold-3); margin: 10px 0 18px; }
.ukhana-en { font-style: italic; color: rgba(248, 241, 227, .78); font-size: 1em; margin-bottom: 26px; }

/* ==========================================================================
   STORY
   ========================================================================== */
.story__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); max-width: 1180px; margin: 0 auto; }
.story__media { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; }
.story__frame { position: relative; width: min(100%, 50vh); aspect-ratio: 3 / 4; margin: 0; }
.story__frame::before { content: ""; position: absolute; inset: -14px -14px 0; border: 1px solid var(--gold-d); border-bottom: 0; border-radius: 999px 999px 0 0; }
.story__layer { position: absolute; inset: 0; border-radius: 999px 999px 0 0; opacity: 0; transform: scale(1.1); transition: opacity 1.1s var(--ease), transform 1.8s var(--ease); box-shadow: 0 40px 70px -30px rgba(70, 20, 10, .5); }
.story__layer.is-active { opacity: 1; transform: none; }
.story__count { font-family: var(--ff-caps); letter-spacing: .3em; font-size: 12px; color: var(--gold-d); margin: 0; }
.story__count span { color: var(--wine-700); font-size: 18px; }
.step { min-height: 92vh; display: flex; flex-direction: column; justify-content: center; max-width: 460px; }
.step__photo { display: none; }
.step__num { font-size: clamp(64px, 6vw, 92px); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold-d); margin-bottom: 10px; }
.step .eyebrow { color: var(--kumkum); }
.step h3 { font-size: clamp(38px, 4.4vw, 64px); font-weight: 300; line-height: 1.05; color: var(--wine-800); margin-bottom: .35em; }
.step p:last-child { font-size: clamp(18px, 1.4vw, 22px); color: var(--ink-2); }
.step { opacity: .28; transition: opacity .8s var(--ease); }
.step.is-active { opacity: 1; }

/* ==========================================================================
   ANTARPAT
   ========================================================================== */
.antarpat { height: 280vh; background: radial-gradient(ellipse 70% 55% at 50% 45%, #571124 0%, #2a0a12 55%, #12040a 100%); color: var(--ivory); }
.antarpat__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(14px, 2.6vh, 30px); padding: 70px var(--pad) 30px; text-align: center; }
.antarpat__mandala { position: absolute; left: 50%; top: 50%; width: min(150vw, 1200px); aspect-ratio: 1; translate: -50% -50%; opacity: .14; pointer-events: none; }
.antarpat__copy { position: relative; }
.antarpat__copy .eyebrow { margin-bottom: .6em; }
.mangal { font-size: clamp(18px, 2vw, 26px); color: var(--gold-3); margin: 0; }
.antarpat__stage { position: relative; height: min(52vh, 540px); aspect-ratio: 3 / 4.1; cursor: crosshair; }
.antarpat__photo { position: absolute; inset: 0; }
.antarpat__photo .arch-photo { filter: brightness(var(--b, .55)) saturate(var(--s, .7)); transform: scale(var(--ps, .94)); transform-origin: 50% 100%; }
.cloth {
  position: absolute; left: -34%; right: -34%; top: 16%; height: 60%; z-index: 4;
  transform-origin: 50% 0; will-change: transform;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55));
  animation: clothSway 5s ease-in-out infinite;
}
@keyframes clothSway { 0%, 100% { rotate: -.6deg; } 50% { rotate: .6deg; } }
.cloth__silk {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0) 30%, rgba(255, 210, 220, .22) 45%, rgba(255, 255, 255, 0) 60%) 0 0 / 300% 100%,
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .12) 0 1px, transparent 1px 34px, rgba(255, 255, 255, .06) 34px 36px, transparent 36px 70px),
    linear-gradient(180deg, #c01b36 0%, #9a1229 42%, #7b0d20 100%);
  clip-path: polygon(0 0, 100% 0, 100% 94%, 92% 100%, 80% 95%, 66% 100%, 50% 95%, 34% 100%, 20% 95%, 8% 100%, 0 94%);
  animation: silk 6s linear infinite;
}
@keyframes silk { to { background-position: -300% 0, 0 0, 0 0; } }
.cloth__border { position: absolute; inset: 12px 14px 24px; background: var(--paithani) repeat-x top / 44px 26px, var(--paithani) repeat-x bottom / 44px 26px; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(230, 201, 127, .5); }
.cloth__content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.cloth__lotus { width: clamp(44px, 5vw, 62px); height: clamp(44px, 5vw, 62px); color: var(--gold-2); }
.cloth__text { font-size: clamp(22px, 3vw, 40px); color: var(--gold-3); text-shadow: 0 2px 8px rgba(0, 0, 0, .35); margin: 0; }
.antarpat__after { position: relative; max-width: 820px; opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.antarpat.is-revealed .antarpat__after { opacity: 1; transform: none; }
.antarpat__title { font-size: clamp(40px, 5.2vw, 76px); margin: 0 0 .1em; }
.antarpat__text { max-width: 600px; margin-inline: auto; }
.antarpat__text { color: rgba(248, 241, 227, .78); font-style: italic; margin-bottom: 1.2em; font-size: clamp(16px, 1.25vw, 19px); }
.antarpat__hint { position: absolute; bottom: 22px; left: 0; right: 0; font-family: var(--ff-caps); font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: rgba(246, 231, 184, .6); margin: 0; transition: opacity .6s; }
.antarpat.is-revealed .antarpat__hint { opacity: 0; }

/* ==========================================================================
   EVENTS
   ========================================================================== */
.events__list { max-width: 1200px; margin: 0 auto; }
.ev-day { margin-bottom: clamp(48px, 6vw, 80px); }
.ev-day__head { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.ev-day__head::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(140, 106, 40, .6), transparent); }
.ev-day__en { font-family: var(--ff-caps); font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--wine-700); }
.ev-day__mr { font-family: var(--ff-mr); font-size: 16px; color: var(--gold-d); }
.ev-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2vw, 28px); }
@media (max-width: 760px) { .ev-grid { grid-template-columns: 1fr; } }
.ev {
  position: relative; padding: 38px clamp(24px, 2.6vw, 36px) 30px;
  background: linear-gradient(180deg, #fffbf3, #f8eedb);
  box-shadow: inset 0 0 0 1px rgba(140, 106, 40, .35), inset 0 0 0 7px #fffbf3, inset 0 0 0 8px rgba(140, 106, 40, .22), 0 30px 60px -36px rgba(70, 25, 10, .5);
  transition: transform .8s var(--ease), box-shadow .8s var(--ease);
}
.ev:hover { transform: translateY(-8px); box-shadow: inset 0 0 0 1px rgba(140, 106, 40, .6), inset 0 0 0 7px #fffbf3, inset 0 0 0 8px rgba(140, 106, 40, .4), 0 40px 70px -34px rgba(70, 25, 10, .6); }
.ev::before { content: ""; position: absolute; top: 0; left: 50%; width: 64px; height: 3px; margin-left: -32px; background: var(--sw, var(--gold)); }
.ev__icon { width: 50px; height: 50px; color: var(--gold-d); margin-bottom: 8px; transition: transform 1s var(--ease); }
.ev:hover .ev__icon { transform: rotate(-8deg) scale(1.08); }
.ev__mr { font-family: var(--ff-mr); font-size: clamp(30px, 2.8vw, 40px); line-height: 1.25; color: var(--wine-700); margin: 0; }
.ev__en { font-family: var(--ff-caps); font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-d); margin: 0 0 18px; }
.ev__meta { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 9px; font-size: 1em; }
.ev__meta li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.4; }
.ev__meta svg { width: 18px; height: 18px; flex: none; color: var(--gold-d); margin-top: 2px; }
.ev__dot { width: 12px; height: 12px; border-radius: 50%; flex: none; margin: 5px 3px 0; background: var(--sw); box-shadow: 0 0 0 3px rgba(0, 0, 0, .05); }
.ev__note { font-style: italic; color: var(--ink-2); margin-bottom: 22px; font-size: .98em; }
.ev__actions { display: flex; flex-wrap: wrap; gap: 10px; position: relative; }
.ev__actions .btn { padding: 1em 1.4em; font-size: 10.5px; }
.ev--main { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(20px, 4vw, 56px); padding: clamp(40px, 5vw, 64px); color: var(--ivory); background: radial-gradient(ellipse at 30% 0%, #6d1529, #3a0d18 60%, #240810); box-shadow: inset 0 0 0 1px var(--gold), inset 0 0 0 8px #3a0d18, inset 0 0 0 9px rgba(201, 162, 77, .45), 0 40px 80px -40px rgba(40, 8, 14, .8); }
.ev--main:hover { box-shadow: inset 0 0 0 1px var(--gold), inset 0 0 0 8px #3a0d18, inset 0 0 0 9px rgba(201, 162, 77, .7), 0 50px 90px -40px rgba(40, 8, 14, .9); }
.ev--main::before { display: none; }
.ev--main .ev__icon { width: clamp(70px, 8vw, 110px); height: clamp(70px, 8vw, 110px); color: var(--gold-2); margin: 0; }
.ev--main .ev__mr { color: var(--gold-3); font-size: clamp(40px, 4.6vw, 64px); }
.ev--main .ev__en { color: var(--gold); }
.ev--main .ev__meta svg { color: var(--gold); }
.ev--main .ev__note { color: rgba(248, 241, 227, .72); margin: 0; }
.ev--main .ev__actions { flex-direction: column; align-items: stretch; }
.ev--main .btn { --c: var(--gold-2); }
.ev--main .btn::before { background: var(--gold-grad); }
.ev--main .btn:hover { color: var(--wine-900); }
.ev__badge { display: inline-block; font-family: var(--ff-caps); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--wine-900); background: var(--gold-grad); padding: 6px 12px; margin-bottom: 14px; }
.cal-pop { position: absolute; left: 0; bottom: calc(100% + 10px); z-index: 5; min-width: 220px; padding: 8px; background: #fffbf3; color: var(--ink); box-shadow: 0 0 0 1px rgba(140, 106, 40, .4), 0 20px 40px -10px rgba(40, 10, 5, .35); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .35s var(--ease), transform .5s var(--ease); }
.cal-pop.is-open { opacity: 1; transform: none; pointer-events: auto; }
.cal-pop button, .cal-pop a { display: block; width: 100%; text-align: left; padding: 10px 14px; font-size: 15px; transition: background .3s; }
.cal-pop button:hover, .cal-pop a:hover { background: rgba(201, 162, 77, .16); }
.events__all { text-align: center; margin: 10px 0 0; }

/* ==========================================================================
   GOLDEN HOUR REEL
   ========================================================================== */
.reel { background: radial-gradient(ellipse 90% 70% at 30% 50%, #2e1a0e 0%, #150b06 60%, #0d0704 100%); color: var(--ivory); }
.reel__pin { position: relative; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.reel__head { position: absolute; top: clamp(80px, 12vh, 120px); left: var(--pad); z-index: 2; }
.reel__head .h2 { margin: 0; }
.reel__track { display: flex; align-items: flex-end; gap: clamp(18px, 3vw, 48px); padding: 0 var(--pad) 0 max(var(--pad), 38vw); will-change: transform; }
.reel__item { flex: none; position: relative; height: min(64vh, 640px); margin: 0; }
.reel__item:nth-child(even) { height: min(52vh, 520px); margin-bottom: 8vh; }
.reel__img { position: absolute; inset: 0; overflow: hidden; }
.reel__img .ph, .reel__img > div { position: absolute; inset: 0 -8%; }
.reel__item figcaption { position: absolute; left: 0; top: calc(100% + 12px); font-family: var(--ff-caps); font-size: 10px; letter-spacing: .3em; color: rgba(246, 231, 184, .6); }
.reel__end { flex: none; width: min(70vw, 460px); padding-bottom: 12vh; }
.reel__end p { font-size: clamp(56px, 7vw, 110px); margin: 0; }
.reel__end small { display: block; margin-top: 18px; font-style: italic; color: rgba(248, 241, 227, .7); font-size: 1.1em; }

/* ==========================================================================
   GALLERY
   ========================================================================== */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 0 auto clamp(36px, 5vw, 60px); }
.chip { display: inline-flex; gap: 8px; align-items: baseline; padding: 11px 20px; border-radius: 999px; border: 1px solid rgba(140, 106, 40, .4); font-family: var(--ff-caps); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); transition: background .5s var(--ease), color .5s, border-color .5s; }
.chip .mr { letter-spacing: 0; text-transform: none; font-size: 14px; color: var(--gold-d); transition: color .5s; }
.chip:hover { border-color: var(--wine-700); color: var(--wine-700); }
.chip.is-active { background: var(--wine-800); border-color: var(--wine-800); color: var(--gold-3); }
.chip.is-active .mr { color: var(--gold); }
.masonry { columns: 4; column-gap: clamp(10px, 1.2vw, 18px); max-width: 1440px; margin: 0 auto; }
.m-item { position: relative; break-inside: avoid; margin: 0 0 clamp(10px, 1.2vw, 18px); cursor: zoom-in; overflow: hidden; background: var(--ivory); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.m-item .ph { width: 100%; }
.m-item .ph > img { transition: opacity 1.2s var(--ease), transform 1.6s var(--ease); }
.m-item:hover .ph > img { transform: scale(1.06); }
.m-item::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(246, 231, 184, 0); transition: border-color .7s var(--ease), inset .7s var(--ease); pointer-events: none; }
.m-item:hover::after { border-color: rgba(246, 231, 184, .8); inset: 14px; }
.m-item.is-hidden { display: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; background: rgba(14, 3, 6, .96); opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; touch-action: none; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lb__stage { width: 100%; height: 100%; display: grid; place-items: center; padding: 70px 12px; }
.lb__img { max-width: min(94vw, 1500px); max-height: 100%; object-fit: contain; box-shadow: 0 40px 80px rgba(0, 0, 0, .6); transition: opacity .45s var(--ease), transform .6s var(--ease); user-select: none; -webkit-user-drag: none; }
.lb__img.is-swapping { opacity: 0; transform: scale(.97); }
.lb__btn { position: absolute; z-index: 2; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-2); border: 1px solid rgba(201, 162, 77, .45); background: rgba(22, 5, 10, .5); transition: background .4s, color .4s; }
.lb__btn:hover { background: var(--gold); color: var(--wine-900); }
.lb__btn svg { width: 20px; height: 20px; }
.lb__close { top: 16px; right: 16px; font-size: 18px; }
.lb__prev { left: 16px; top: 50%; margin-top: -26px; } .lb__prev svg { transform: scaleX(-1); }
.lb__next { right: 16px; top: 50%; margin-top: -26px; }
.lb__count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; margin: 0; font-family: var(--ff-caps); font-size: 11px; letter-spacing: .3em; color: rgba(246, 231, 184, .75); }

/* ==========================================================================
   VENUE
   ========================================================================== */
.venue { color: var(--ivory); background: radial-gradient(ellipse 80% 70% at 80% 30%, #155247 0%, #0a302a 55%, #05201c 100%); }
.venue__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; max-width: 1180px; margin: 0 auto; }
.venue__mr { font-size: clamp(20px, 2vw, 26px); color: var(--gold-2); }
.venue__addr, .venue__when { display: flex; gap: 14px; align-items: flex-start; font-size: 1.08em; color: rgba(248, 241, 227, .85); }
.venue__addr svg, .venue__when svg { width: 22px; height: 22px; flex: none; color: var(--gold); margin-top: 3px; }
.venue__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.venue__map { width: 100%; max-width: 480px; justify-self: center; }
.venue__map .arch-round__photo { aspect-ratio: 4 / 5; background: #0a302a; }
.venue__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.55) sepia(.35) hue-rotate(-10deg) contrast(1.02) brightness(.92); transition: filter 1s var(--ease); }
.venue__map:hover iframe { filter: none; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { position: relative; overflow: hidden; text-align: center; color: var(--ivory); padding: clamp(110px, 13vw, 170px) var(--pad) clamp(60px, 8vw, 90px); background: radial-gradient(ellipse 70% 60% at 50% 40%, #5a1222 0%, #2a0a12 55%, #12040a 100%); }
.footer__mandala { position: absolute; left: 50%; top: 42%; width: min(140vw, 1100px); aspect-ratio: 1; translate: -50% -50%; opacity: .13; pointer-events: none; }
.footer > :not(.footer__mandala):not(.band) { position: relative; }
.footer__photo { width: clamp(150px, 16vw, 200px); aspect-ratio: 3 / 4; margin: 0 auto 40px; padding: 8px; border: 1px solid var(--gold); border-radius: 999px 999px 0 0; }
.footer__photo-in { width: 100%; height: 100%; border-radius: 999px 999px 0 0; }
.footer__await { font-size: clamp(22px, 2.6vw, 34px); color: var(--gold-3); line-height: 1.5; max-width: 760px; margin: 0 auto .4em; }
.footer__en { font-style: italic; color: rgba(248, 241, 227, .72); font-size: 1.1em; }
.footer__hosts { font-size: clamp(22px, 2.4vw, 30px); color: var(--ivory); margin-bottom: .2em; }
.footer__hosts span { color: var(--gold); font-family: var(--ff-script); font-size: 1.2em; margin: 0 .2em; }
.footer__hosts-en { color: rgba(248, 241, 227, .65); font-style: italic; }
.footer__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 36px 0 50px; }
.hashtag { font-family: var(--ff-caps); font-size: 13px; letter-spacing: .22em; padding: 1em 1.8em; border-radius: 999px; color: var(--wine-900); background: var(--gold-grad); background-size: 200% 100%; transition: background-position 1s var(--ease); }
.hashtag:hover { background-position: 100% 0; }
.footer__sign { font-size: clamp(60px, 9vw, 130px); margin: 0; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 160; translate: -50% 0; padding: 14px 22px; background: rgba(22, 5, 10, .92); color: var(--gold-3); border: 1px solid rgba(201, 162, 77, .5); font-size: 15px; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.toast.is-on { opacity: 1; transform: none; }

/* reveal (JS adds .js to <html>) */
.js [data-reveal] { opacity: 0; transform: translateY(34px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 1.2s var(--ease), transform 1.4s var(--ease); transition-delay: var(--d, 0s); }
.js .hero [data-hero] { opacity: 0; transform: translateY(20px); }
.js .hero.is-live [data-hero] { opacity: 1; transform: none; transition: opacity 1.4s var(--ease), transform 1.6s var(--ease); transition-delay: var(--d, 0s); }
.js .hero .hero__name > span { clip-path: inset(-20% 100% -40% -10%); }
.js .hero.is-live .hero__name > span { clip-path: inset(-20% -10% -40% -10%); transition: clip-path 2.2s var(--ease-io); }
.js .hero.is-live .hero__name--2 > span { transition-delay: .5s; }
.js .hero .hero__amp { opacity: 0; }
.js .hero.is-live .hero__amp { opacity: .85; transition: opacity 1.5s var(--ease) 1.1s; }
.js .hero .arch-photo { clip-path: url(#arch); opacity: 0; transform: scale(1.08) translateY(18px); }
.js .hero.is-live .arch-photo { opacity: 1; transform: none; transition: opacity 1.6s var(--ease), transform 2.4s var(--ease); }
.js .hero .arch-line path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .hero.is-live .arch-line path { stroke-dashoffset: 0; transition: stroke-dashoffset 2.6s var(--ease-io) .3s; }
.js .hero .toran { opacity: 0; transform: translateY(-30px); }
.js .hero.is-live .toran { opacity: 1; transform: none; transition: opacity 1.4s var(--ease) .4s, transform 1.8s var(--ease) .4s; }
.split-line { overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .masonry { columns: 3; }
  .nav__links { display: none; }
  .burger { display: block; }
}
@media (max-width: 900px) {
  .couple__grid { grid-template-columns: 1fr; gap: 26px; }
  .couple__amp { font-size: 90px; line-height: .6; }
  .flip { max-width: 380px; }
  .story__wrap { grid-template-columns: 1fr; }
  .story__media { display: none; }
  .step { min-height: 0; opacity: 1; margin: 0 auto 90px; max-width: 520px; }
  .step:last-child { margin-bottom: 0; }
  .step__photo { display: block; aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; margin-bottom: 26px; box-shadow: 0 30px 60px -30px rgba(70, 20, 10, .5); }
  .venue__grid { grid-template-columns: 1fr; text-align: center; }
  .venue__addr, .venue__when { justify-content: center; text-align: left; }
  .venue__actions { justify-content: center; }
  .ev--main { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .ev--main .ev__meta li { justify-content: center; }
  .ev--main .ev__actions { flex-direction: row; justify-content: center; }
  .reel__pin { height: auto; padding: 110px 0 70px; }
  .reel__head { position: relative; top: 0; margin-bottom: 36px; }
  .reel__track { overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--pad) 40px; align-items: flex-start; scrollbar-width: none; }
  .reel__track::-webkit-scrollbar { display: none; }
  .reel__item, .reel__item:nth-child(even) { height: 58vh; max-height: 520px; margin: 0; scroll-snap-align: center; }
  .reel__end { padding: 0 0 0 10px; align-self: center; width: 70vw; }
}
@media (max-width: 700px) {
  body { font-size: 17px; }
  .masonry { columns: 2; }
  .hero { padding-top: 120px; }
  .toran { height: 86px; background-size: 112px auto; }
  .hero__stage { --aw: min(66vw, 46vh * .72); margin-top: 26px; }
  .hero__names { font-size: clamp(64px, 19vw, 96px); }
  .hero__name--1 { right: auto; left: max(0px, calc(50% - var(--aw) / 2 - .55em)); top: -.34em; }
  .hero__name--2 { left: auto; right: max(0px, calc(50% - var(--aw) / 2 - .45em)); top: auto; bottom: -.34em; }
  .hero__amp { right: auto; left: calc(50% - var(--aw) / 2 - .2em); top: auto; bottom: 18%; }
  .countdown { gap: 8px; }
  .cd__u { min-width: 0; flex: 1; max-width: 82px; padding: 12px 4px 10px; }
  .nav { padding: 10px 16px; }
  .nav__rsvp { display: none; }
  .nav__mono { font-size: 30px; }
  .corner { top: 12px; }
  .corner--tl { top: 12px; left: 12px; } .corner--tr { top: 12px; right: 12px; }
  .corner--bl { bottom: 12px; left: 12px; } .corner--br { bottom: 12px; right: 12px; }
  .card-paper { box-shadow: inset 0 0 0 1px rgba(201, 162, 77, .45), inset 0 0 0 7px #fffaf0, inset 0 0 0 8px rgba(201, 162, 77, .55), 0 40px 80px -40px rgba(70, 20, 10, .45); }
  .antarpat { height: 240vh; }
  .antarpat__stage { height: min(46vh, 440px); }
  .cloth { left: -24%; right: -24%; }
  .lb__prev, .lb__next { top: auto; bottom: 14px; margin: 0; width: 46px; height: 46px; }
  .lb__count { bottom: 30px; }
  .ev { padding: 34px 22px 26px; }
  .gate__door--l .gate__ring { right: 14px; } .gate__door--r .gate__ring { left: 14px; }
}
@media (max-height: 640px) and (max-width: 700px) {
  .hero__stage { --aw: min(58vw, 40vh * .72); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .mandala svg { animation: none !important; }
}

/* ==========================================================================
   English invitation layout (v2)
   ========================================================================== */
.gate__sub { font-style: italic; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: .01em; }
.hero__where { font-style: italic; color: rgba(248, 241, 227, .75); font-size: clamp(16px, 1.25vw, 19px); margin-bottom: clamp(24px, 4vh, 40px); }
.invite__shloka { font-style: italic; color: var(--gold-d); font-size: clamp(15px, 1.1vw, 17px); letter-spacing: .02em; line-height: 1.8; margin: -.4em 0 1.8em; }
.invite__lead { font-size: clamp(19px, 1.45vw, 23px); font-style: italic; color: var(--ink-2); max-width: 560px; margin: 0 auto 1.8em; }
.inv-person { margin: 0 auto; }
.inv-name { font-size: clamp(76px, 9vw, 120px); color: var(--wine-700); margin: 0; line-height: .95; }
.inv-full { font-family: var(--ff-caps); font-size: clamp(13px, 1.05vw, 15px); letter-spacing: .32em; text-transform: uppercase; color: var(--gold-d); margin: .5em 0 .8em; }
.inv-parents { font-size: clamp(17px, 1.25vw, 20px); color: var(--ink-2); line-height: 1.55; margin: 0; }
.inv-parents strong { font-weight: 500; color: var(--ink); }
.inv-and { font-size: clamp(54px, 6vw, 80px); color: var(--gold-d); margin: .25em 0 .05em; line-height: 1; }
.inv-details { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 680px; margin: 0 auto 2.2em; }
.inv-detail { padding: 6px clamp(14px, 3vw, 34px); }
.inv-detail + .inv-detail { border-left: 1px solid rgba(140, 106, 40, .35); }
.inv-detail .eyebrow { color: var(--kumkum); margin-bottom: .8em; }
.inv-detail__main { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.25; color: var(--wine-800); margin: 0 0 .25em; }
.inv-detail__sub { color: var(--ink-2); font-size: .98em; line-height: 1.5; margin: 0; }
.invite__close { font-style: italic; font-size: clamp(18px, 1.35vw, 22px); color: var(--ink-2); margin-bottom: 1.6em; }
.invite__hosts-label { color: var(--gold-d); margin-bottom: .5em; }
.invite__hosts { font-size: clamp(22px, 2vw, 28px); color: var(--wine-700); margin: 0; }
.lineage { font-size: .95em; line-height: 1.5; color: rgba(248, 241, 227, .66); font-style: italic; max-width: 330px; margin: -.2em auto 1.2em; }
.ukhana-en { font-style: italic; font-size: clamp(19px, 1.6vw, 23px); color: var(--gold-3); line-height: 1.6; margin: 8px 0 16px; }
.ukhana { font-size: clamp(16px, 1.3vw, 19px); color: rgba(246, 231, 184, .62); margin: 0 0 26px; line-height: 1.7; }
.step__num { font-family: var(--ff-serif); font-weight: 300; }
.ev__title { font-family: var(--ff-serif); font-weight: 300; font-size: clamp(34px, 3vw, 46px); line-height: 1.1; color: var(--wine-700); margin: 0 0 .15em; }
.ev--main .ev__title { color: var(--gold-3); font-size: clamp(48px, 5.4vw, 80px); }
.ev__meta small { color: inherit; opacity: .72; font-size: .9em; }
.ev--main .ev__meta { font-size: 1.08em; }
.ev--main .ev__meta strong { font-weight: 500; color: var(--gold-2); }
.ev-day:only-child { margin-bottom: 0; }
.ritual__num { font-family: var(--ff-serif); font-weight: 300; }
.ritual__name { font-family: var(--ff-serif); font-weight: 400; font-size: clamp(30px, 2.6vw, 38px); line-height: 1.1; color: var(--gold-2); }
.mangal { font-family: var(--ff-serif); font-style: italic; }
.footer__await { font-family: var(--ff-serif); font-weight: 300; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.15; }
.footer__hosts { font-size: clamp(22px, 2.2vw, 30px); }
.rsvp__thanks-lead { font-size: 1.2em; color: var(--gold-3); }
@media (max-width: 700px) {
  .inv-details { grid-template-columns: 1fr; gap: 22px; }
  .inv-detail + .inv-detail { border-left: 0; border-top: 1px solid rgba(140, 106, 40, .35); padding-top: 24px; }
}

.amp { font-family: var(--ff-serif); font-style: italic; font-weight: 300; line-height: 1; }
.gate__names { display: flex; align-items: baseline; justify-content: center; gap: .12em; flex-wrap: wrap; }
.gate__names .amp { font-size: .5em; color: var(--gold-2); }
.hero__amp.amp { font-size: .42em; color: var(--gold-2); }
.inv-and.amp { font-size: clamp(44px, 4.6vw, 64px); color: var(--gold-d); margin: .3em 0 .2em; }
.couple__amp.amp { font-size: clamp(90px, 9vw, 150px); color: var(--gold-2); opacity: .85; }
.nav__mono { display: inline-flex; align-items: baseline; gap: .06em; }
.nav__mono .amp { font-size: .55em; color: var(--gold); }
.footer__sign { display: flex; align-items: baseline; justify-content: center; gap: .14em; flex-wrap: wrap; }
.footer__sign .amp { font-size: .45em; color: var(--gold-2); }
.step__num, .ritual__num, .story__count, .cd__n { font-variant-numeric: lining-nums tabular-nums; }

@media (max-height: 960px) and (min-width: 701px) { .scroll-cue { display: none; } }
.couple__amp { text-align: center; justify-self: center; }
@media (max-width: 700px) {
  .hero__stage { margin-bottom: 58px; }
  .hero__name--2 { bottom: -.2em; }
  .scroll-cue { display: none; }
  .gate__names { font-size: clamp(64px, 18vw, 84px); }
}
@media (max-width: 700px) {
  .hero__stage { margin-bottom: 72px; }
  .hero__name--2 { bottom: -.4em; }
}

/* Ganpati (golden idol cut-out) */
.gate__ganpati { width: clamp(84px, 9vw, 120px); margin: 0 auto 14px; filter: drop-shadow(0 0 28px rgba(230, 180, 80, .45)) drop-shadow(0 10px 18px rgba(0, 0, 0, .5)); animation: ganpatiGlow 4s ease-in-out infinite; }
@keyframes ganpatiGlow { 50% { filter: drop-shadow(0 0 40px rgba(240, 200, 110, .65)) drop-shadow(0 10px 18px rgba(0, 0, 0, .5)); } }
.ganpati { display: block; width: 100%; height: auto; }
.medallion__photo--idol { display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 45%, #fffdf7 0%, #fbf3e2 60%, #f1e2c4 100%); }
.medallion__photo--idol .ganpati { width: 90%; }
.inv-name { font-size: clamp(56px, 7vw, 100px); line-height: 1.05; margin-bottom: .35em; }
.flip__name { margin-bottom: .2em; }
.footer__credit { margin: 36px auto 0; max-width: 640px; font-size: 12px; line-height: 1.5; color: rgba(248, 241, 227, .4); }
.footer__credit a { text-decoration: underline; text-decoration-color: rgba(248, 241, 227, .25); }
.inv-name { font-size: clamp(50px, 5.8vw, 84px); }
