/* Maharashtrian wedding - Paithani peacock-green, magenta and gold on warm cream. */
:root {
  --teal: #0b4f4a; --teal2: #08403c; --mag: #a8245f; --mag2: #7d1246; --gold: #d9a02b; --gold2: #f1cf7a; --cream: #fff7e6; --cream2: #f8ecd2; --ink: #2a1a16; --muted: #6e5a50;
  --head: 'Rozha One', 'Tiro Devanagari Marathi', Georgia, serif;
  --body: 'Mukta', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --acc: 'Tiro Devanagari Marathi', Georgia, serif;
  --kath: repeating-linear-gradient(45deg, var(--mag) 0 7px, var(--gold) 7px 9px, var(--teal) 9px 16px, var(--gold) 16px 18px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; background: var(--cream); }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.7; color: var(--ink); background: var(--cream); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--mag); }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
html[data-lang="en"] .mr, html[data-lang="mr"] .en { display: none !important; }
html[data-lang="mr"] body { line-height: 1.85; }
html[data-lang="mr"] h1, html[data-lang="mr"] h2, html[data-lang="mr"] h3 { font-family: var(--head); font-weight: 400; }

/* Paithani kath borders down both sides */
.kath { position: fixed; top: 0; bottom: 0; width: 30px; background: var(--kath); z-index: 40; box-shadow: 0 0 0 3px var(--gold) inset; }
.kath::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0 30%, rgba(255, 255, 255, .5) 50%, transparent 70% 100%); background-size: 100% 300%; animation: shimmer 6s linear infinite; mix-blend-mode: soft-light; }
.kath-l { left: 0; } .kath-r { right: 0; }
@keyframes shimmer { from { background-position: 0 100%; } to { background-position: 0 -200%; } }

.site-header { position: fixed; z-index: 60; left: 30px; right: 30px; top: 0; height: 68px; display: flex; align-items: center; gap: 16px; padding: 0 clamp(14px, 2.4vw, 32px); background: rgba(255, 247, 230, .96); border-bottom: 3px double var(--gold); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--teal); font-family: var(--head); font-size: 20px; margin-right: auto; }
.om { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--mag); color: var(--gold2); font-size: 22px; line-height: 1; border: 2px solid var(--gold); }
.nav-toggle { display: none; }
#menu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
#menu a { display: block; padding: 6px 12px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 16px; border-radius: 4px; position: relative; }
#menu a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; background: var(--mag); transform: scaleX(0); transition: transform .25s; }
#menu a:hover::after, #menu a:focus-visible::after { transform: scaleX(1); }
#menu a:hover, #menu a:focus-visible { color: var(--mag); outline: none; }
.lang { display: flex; border: 2px solid var(--teal); border-radius: 99px; overflow: hidden; }
.lang button { border: 0; background: transparent; min-width: 40px; height: 32px; font-weight: 800; cursor: pointer; font-size: 14px; color: var(--teal); }
.lang button[aria-pressed="true"] { background: var(--teal); color: #fff; }

.wrap { width: min(1100px, 100%); margin: 0 auto; padding: 0 28px; }
.wrap.narrow { width: min(820px, 100%); }
main { margin: 0 30px; }
.foot { margin: 0 30px; }
.sec { padding: 92px 0; position: relative; }
.sec.tint { background: var(--cream2); }
.sec.band { background: var(--mag2); color: #fff; }
.head-c { text-align: center; }
.head-c .sub { margin: 0 auto; }
.eyebrow { display: inline-block; font-family: var(--acc); font-style: italic; font-size: 22px; color: var(--mag); }
.band .eyebrow { color: var(--gold2); }
.sec-h { font-family: var(--head); font-weight: 400; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.2; margin: 6px 0 14px; color: var(--teal); }
html[data-lang="mr"] .sec-h { font-size: clamp(27px, 3.8vw, 42px); line-height: 1.4; }
.band .sec-h { color: #fff; }
.sub { max-width: 56ch; color: var(--muted); }
.band .sub { color: #f3d6e3; }
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.btn { display: inline-block; border: 2px solid var(--gold); background: var(--mag); color: #fff; font-weight: 700; font-size: 17px; padding: 11px 28px; text-decoration: none; cursor: pointer; border-radius: 4px; box-shadow: 0 6px 0 var(--mag2); position: relative; transition: transform .15s, box-shadow .15s; }
.btn:hover, .btn:focus-visible { transform: translateY(4px); box-shadow: 0 2px 0 var(--mag2); outline: none; }
.btn.alt { background: transparent; color: var(--gold2); box-shadow: none; }
.sec .btn.alt { color: var(--teal); border-color: var(--teal); }

/* hero */
.hero { background: radial-gradient(circle at 50% 38%, #11645d, var(--teal) 60%, var(--teal2)); color: #fff; padding: 118px 0 90px; text-align: center; position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.shloka { font-family: var(--acc); font-size: clamp(22px, 3vw, 30px); color: var(--gold2); letter-spacing: .04em; }
.ganesh { position: relative; width: min(340px, 74vw); margin: 22px 0 8px; }
.mandala { position: absolute; left: 50%; top: 50%; width: 150%; height: auto; margin: -75% 0 0 -75%; opacity: .55; animation: spin 80s linear infinite; z-index: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.gframe { position: relative; z-index: 1; aspect-ratio: 3 / 4; border-radius: 999px 999px 18px 18px; overflow: hidden; border: 6px solid var(--gold); box-shadow: 0 0 0 4px var(--mag), 0 24px 50px rgba(0, 0, 0, .45); background: var(--mag2); }
.gframe img { width: 100%; height: 100%; object-fit: cover; animation: kb 18s ease-in-out infinite alternate; }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.12) translateY(-2%); } }
.diya { position: absolute; bottom: -6px; left: -34px; width: 46px; height: 44px; z-index: 2; }
.diya.d2 { left: auto; right: -34px; }
.diya .cup { position: absolute; left: 0; right: 0; bottom: 0; height: 18px; background: var(--gold); border-radius: 4px 4px 24px 24px; box-shadow: 0 0 0 2px var(--mag2); }
.diya .fl { position: absolute; left: 50%; bottom: 14px; width: 14px; height: 26px; margin-left: -7px; background: radial-gradient(circle at 50% 70%, #fff 0 20%, #ffd45e 21% 60%, #ff8a2b 61%); border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; transform-origin: 50% 100%; animation: flick 1.4s ease-in-out infinite; box-shadow: 0 0 22px 8px rgba(255, 190, 70, .55); }
.diya.d2 .fl { animation-delay: -.6s; }
@keyframes flick { 0%, 100% { transform: scale(1) skewX(0); } 30% { transform: scale(.9, 1.1) skewX(5deg); } 60% { transform: scale(1.06, .92) skewX(-5deg); } }
.hero-eyebrow { margin-top: 26px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: 14px; color: var(--gold2); }
html[data-lang="mr"] .hero-eyebrow { letter-spacing: .02em; text-transform: none; font-size: 17px; }
#names { font-family: var(--head); font-weight: 400; font-size: clamp(46px, 8vw, 98px); line-height: 1.12; margin-top: 8px; color: #fff; text-shadow: 0 3px 0 rgba(0, 0, 0, .25); }
html[data-lang="mr"] #names { font-size: clamp(40px, 6.8vw, 82px); line-height: 1.3; }
#names .amp { font-family: var(--acc); font-style: italic; color: var(--gold2); font-size: .6em; margin: 0 .3em; }
.hero-date { margin-top: 16px; display: inline-block; font-weight: 700; font-size: clamp(18px, 2.4vw, 24px); padding: 8px 30px; border: 2px solid var(--gold); border-radius: 99px; background: rgba(0, 0, 0, .2); animation: pop .9s .4s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.hero-place { margin-top: 8px; color: var(--gold2); font-weight: 700; }
.ticket { display: flex; gap: 12px; margin: 22px 0 6px; }
.ticket > div { width: 84px; padding: 10px 0 6px; text-align: center; border: 2px solid var(--gold); border-radius: 50% 50% 8px 8px / 36% 36% 8px 8px; background: rgba(0, 0, 0, .22); }
.ticket b { display: block; font-family: var(--head); font-weight: 400; font-size: 32px; line-height: 1.1; color: var(--gold2); font-variant-numeric: tabular-nums; }
.ticket b.bump { animation: bump .5s; }
@keyframes bump { 30% { transform: scale(1.25); } }
.ticket small { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #cfe3df; font-weight: 700; }
html[data-lang="mr"] .ticket small { letter-spacing: 0; text-transform: none; font-size: 13px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; justify-content: center; }
.toran { position: absolute; left: 0; right: 0; top: 0; height: 96px; z-index: 3; pointer-events: none; border-top: 8px solid var(--gold); }
.bell { position: absolute; top: 0; width: 2px; height: 56px; background: var(--gold); transform-origin: 50% 0; animation: ring 3.4s ease-in-out infinite; }
.bell i { position: absolute; left: -11px; bottom: -22px; width: 24px; height: 26px; background: linear-gradient(90deg, #b7791b, #f1cf7a, #b7791b); border-radius: 50% 50% 30% 30% / 70% 70% 30% 30%; }
.bell i::after { content: ""; position: absolute; left: 8px; bottom: -6px; width: 8px; height: 8px; border-radius: 50%; background: var(--mag); }
@keyframes ring { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
.petals { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.pt { position: absolute; top: -20px; width: 14px; height: 10px; border-radius: 80% 0 80% 0; background: #ffb21a; animation: fall 12s linear infinite; opacity: .9; }
.pt:nth-child(3n) { background: #e8744f; } .pt:nth-child(3n+1) { background: #ffd45e; width: 11px; height: 8px; }
@keyframes fall { 0% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(40px, 340px) rotate(200deg); } 100% { transform: translate(-20px, 760px) rotate(420deg); opacity: .5; } }

/* patrika scroll */
.scroll { position: relative; background: #fffdf6; padding: 54px 44px 44px; text-align: center; border: 14px solid transparent; border-image: var(--kath) 14; box-shadow: 0 18px 40px rgba(11, 79, 74, .14); }
.sc-top { font-family: var(--acc); font-size: 26px; color: var(--mag); }
.scroll .sec-h { margin-bottom: 4px; }
.divider { display: flex; align-items: center; gap: 12px; margin: 10px auto 22px; max-width: 320px; }
.divider i { flex: 1; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.divider svg { width: 54px; height: 28px; animation: sway 3.4s ease-in-out infinite; }
@keyframes sway { 50% { transform: rotate(6deg) scale(1.08); } }
.lead { font-size: 20px; max-width: 54ch; margin: 0 auto 14px; }
html[data-lang="mr"] .lead { font-family: var(--acc); font-size: 20px; }
.sc-sign { margin-top: 24px; font-family: var(--acc); font-style: italic; font-size: 22px; color: var(--mag); }

/* families */
.duo { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; margin-top: 44px; }
.person { text-align: center; background: #fff; padding: 30px 26px 28px; border-radius: 4px 4px 22px 22px; border-top: 6px solid var(--mag); box-shadow: 0 14px 30px rgba(11, 79, 74, .12); }
.mono { width: 92px; height: 92px; margin: 0 auto 12px; border-radius: 50%; background: var(--teal); color: var(--gold2); font-family: var(--head); font-size: 44px; display: grid; place-items: center; border: 4px solid var(--gold); animation: pulse 4s ease-in-out infinite; }
.mono.m2 { background: var(--mag); }
@keyframes pulse { 50% { box-shadow: 0 0 0 12px rgba(217, 160, 43, .25); } }
.person h3 { font-family: var(--head); font-weight: 400; font-size: 26px; color: var(--teal); line-height: 1.3; }
.role { font-weight: 700; color: var(--mag); letter-spacing: .12em; text-transform: uppercase; font-size: 13px; margin-bottom: 8px; }
html[data-lang="mr"] .role { letter-spacing: 0; text-transform: none; font-size: 16px; }
.person p:last-child { font-size: 16.5px; color: var(--muted); line-height: 1.6; }
.knot svg { width: 84px; height: 84px; animation: spin 14s linear infinite; }

/* events */
.evs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.ev { background: #fff; border: 2px solid var(--gold); border-radius: 4px 4px 28px 28px; padding: 24px 24px 22px; position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.ev::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--kath); }
.ev:hover { transform: translateY(-6px); box-shadow: 0 16px 30px rgba(168, 36, 95, .2); }
.ev-d { font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--mag); margin-top: 8px; }
html[data-lang="mr"] .ev-d { letter-spacing: 0; text-transform: none; font-size: 16px; }
.ev h3 { font-family: var(--head); font-weight: 400; font-size: 28px; color: var(--teal); line-height: 1.25; }
.ev-t { font-weight: 800; color: var(--gold); font-size: 20px; margin-bottom: 4px; -webkit-text-stroke: .4px #8a5f10; }
.ev p:last-child { font-size: 16.5px; color: var(--muted); line-height: 1.55; }
.ev.main { background: var(--teal); color: #fff; border-color: var(--gold); }
.ev.main h3 { color: var(--gold2); } .ev.main .ev-d { color: var(--gold2); } .ev.main p:last-child { color: #d4e8e5; }

/* rituals */
.rts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.rt { background: rgba(255, 255, 255, .08); border: 1px solid rgba(241, 207, 122, .5); border-radius: 22px 22px 4px 4px; padding: 26px 24px; transition: background .3s, transform .3s; position: relative; }
.rt:hover { background: rgba(255, 255, 255, .15); transform: translateY(-5px); }
.rn { position: absolute; right: 18px; top: 10px; font-family: var(--head); font-size: 44px; color: rgba(241, 207, 122, .4); line-height: 1; }
.rt h3 { font-family: var(--head); font-weight: 400; font-size: 25px; color: var(--gold2); margin-bottom: 6px; }
.rt p:last-child { font-size: 16.5px; line-height: 1.6; color: #f3d6e3; }

/* venue */
.venue-card { display: grid; grid-template-columns: 1.1fr 1fr; background: #fff; border: 3px solid var(--gold); border-radius: 8px 8px 40px 40px; overflow: hidden; box-shadow: 0 20px 44px rgba(11, 79, 74, .16); }
.vc-l { padding: 44px 40px; background: linear-gradient(135deg, #fffdf6, var(--cream2)); }
.vc-l address { font-style: normal; font-size: 19px; margin: 6px 0 22px; color: var(--muted); }
.vc-r { list-style: none; margin: 0; padding: 30px 34px; background: var(--teal); color: #fff; display: grid; align-content: center; gap: 14px; }
.vc-r li { display: grid; gap: 0; border-bottom: 1px dashed rgba(241, 207, 122, .5); padding-bottom: 12px; }
.vc-r li:last-child { border: 0; }
.vc-r b { font-family: var(--head); font-weight: 400; color: var(--gold2); font-size: 20px; }
.vc-r span { font-size: 16.5px; color: #d4e8e5; }

/* gallery */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; }
.g { position: relative; display: block; border: 5px solid var(--gold); border-radius: 999px 999px 14px 14px; overflow: hidden; text-decoration: none; box-shadow: 0 0 0 4px var(--mag), 0 16px 34px rgba(0, 0, 0, .18); aspect-ratio: 3 / 4; background: var(--cream2); transition: transform .4s; }
.g:nth-child(2) { margin-top: 30px; }
.g:hover, .g:focus-visible { transform: translateY(-8px); outline: none; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s; }
.g:hover img { transform: scale(1.1); }
.cap { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); background: var(--mag); color: #fff; padding: 2px 22px; border: 2px solid var(--gold); border-radius: 99px; font-weight: 700; font-size: 16px; white-space: nowrap; }

/* rsvp */
.rsvp-form { background: #fff; border: 3px double var(--gold); border-radius: 6px 6px 34px 34px; padding: 38px 36px 30px; display: grid; gap: 18px; margin-top: 36px; box-shadow: 0 18px 40px rgba(11, 79, 74, .12); }
.field { display: grid; gap: 5px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: 15.5px; color: var(--teal); padding: 0; }
.field input[type="text"], .field input[type="tel"], .field select, .field textarea { width: 100%; border: 2px solid #e4d3b0; border-radius: 4px; background: #fffdf6; padding: 11px 14px; font-size: 18px; outline: none; transition: .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--mag); background: #fff; box-shadow: 0 0 0 4px rgba(168, 36, 95, .14); }
.field textarea { resize: vertical; }
.opt { font-weight: 500; color: var(--muted); }
.choice { gap: 8px; }
.radio, .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 18px; cursor: pointer; }
.field .radio, .field .check { font-size: 18px; font-weight: 600; color: var(--ink); }
.radio input, .check input { accent-color: var(--mag); width: 20px; height: 20px; margin: 5px 0 0; flex: 0 0 auto; }
.err { color: #c0392b; font-weight: 700; font-size: 14px; }
.err:empty { display: none; }
.field.invalid input { border-color: #c0392b; background: #fdf0ee; }
.rsvp-form .btn { width: 100%; text-align: center; }
.fine { font-size: 15px; color: var(--muted); text-align: center; line-height: 1.5; }
.fine a { font-weight: 800; white-space: nowrap; }

/* footer */
.foot { background: var(--teal); color: #fff; text-align: center; padding: 70px 0 34px; position: relative; border-top: 8px solid var(--gold); }
.foot .shloka { font-size: clamp(24px, 4vw, 38px); }
.fnames { font-family: var(--head); font-size: 34px; margin-top: 10px; line-height: 1.3; }
.fdate { color: var(--gold2); font-weight: 700; margin-top: 4px; }
.hash { margin-top: 14px; color: var(--gold2); font-weight: 700; }
.photocred { margin: 24px auto 0; font-size: 12.5px; color: #9fc2bd; max-width: 70ch; line-height: 1.5; }
.credit { margin-top: 16px; font-size: 14px; color: #9fc2bd; } .credit a { color: #d4e8e5; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8, 40, 38, .93); display: grid; place-items: center; padding: 20px; }
.lightbox figure { margin: 0; max-width: min(900px, 94vw); }
.lightbox img { max-height: 80vh; margin: 0 auto; border: 6px solid var(--gold); border-radius: 12px; }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 10px; font-weight: 700; }
.lb-close { position: absolute; right: 22px; top: 14px; width: 48px; height: 48px; border: 0; background: var(--gold); color: var(--teal); font-size: 30px; font-weight: 800; cursor: pointer; border-radius: 50%; }

@media (max-width: 960px) {
  .evs, .rts { grid-template-columns: 1fr 1fr; }
  .venue-card { grid-template-columns: 1fr; }
  #menu a { padding: 6px 8px; font-size: 15px; }
}
@media (max-width: 860px) {
  .kath { width: 12px; box-shadow: 0 0 0 2px var(--gold) inset; }
  .site-header { left: 12px; right: 12px; height: 62px; }
  main, .foot { margin: 0 12px; }
  .lang { margin-left: auto; }
  .brand { margin-right: 0; font-size: 17px; } .om { width: 32px; height: 32px; font-size: 18px; }
  .nav-toggle { display: block; width: 42px; height: 38px; border: 2px solid var(--teal); background: transparent; border-radius: 4px; position: relative; cursor: pointer; }
  .nav-toggle span { position: absolute; left: 8px; right: 8px; height: 3px; background: var(--teal); transition: .25s; }
  .nav-toggle span:nth-child(1) { top: 9px; } .nav-toggle span:nth-child(2) { top: 16px; } .nav-toggle span:nth-child(3) { top: 23px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 16px; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 16px; transform: rotate(-45deg); }
  #menu { position: fixed; top: 62px; left: 12px; right: 12px; background: var(--cream); border-bottom: 3px double var(--gold); max-height: 0; overflow: hidden; transition: max-height .35s ease; }
  #menu.open { max-height: 80vh; overflow: auto; }
  #menu ul { flex-direction: column; padding: 8px 16px 16px; }
  #menu a { padding: 12px 8px; font-size: 19px; }
  .sec { padding: 68px 0; }
  .wrap { padding: 0 18px; }
  .duo { grid-template-columns: 1fr; } .knot { justify-self: center; } .knot svg { width: 56px; height: 56px; }
  .hero { padding-top: 108px; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .evs, .rts, .trio { grid-template-columns: 1fr; }
  .g:nth-child(2) { margin-top: 0; }
  .scroll { padding: 38px 20px 32px; }
  .ticket { gap: 8px; } .ticket > div { width: 72px; } .ticket b { font-size: 26px; }
  .rsvp-form { padding: 28px 18px 24px; }
  .vc-l { padding: 30px 22px; } .vc-r { padding: 24px 22px; }
  .cta .btn { flex: 1 1 100%; text-align: center; }
  .diya { left: -20px; } .diya.d2 { right: -20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
