:root {
  --maroon: #6e1423;
  --maroon-2: #8a1c2e;
  --alta: #b8322a;
  --gold: #e0a83a;
  --gold-soft: #f2d18b;
  --green: #2f6b4f;
  --paper: #f7efdf;
  --paper-2: #efe3cb;
  --ink: #2b1a12;
  --muted: #6b5643;
  --line: #d8c6a4;
  --display: "Tillana", "Laila", serif;
  --body: "Laila", "Nirmala UI", "Mangal", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='16'%3E%3Crect width='24' height='16' fill='%23f7efdf'/%3E%3Cpath d='M0 13.5 L6 3 L12 13.5Z' fill='%23b8322a'/%3E%3Cpath d='M12 3 L18 13.5 L24 3Z' fill='%23e0a83a'/%3E%3Cpath d='M0 13.5 L6 3 L12 13.5 L18 3 L24 13.5' fill='none' stroke='%232b1a12' stroke-width='1'/%3E%3Cpath d='M0 1.2h24M0 14.8h24' stroke='%232b1a12' stroke-width='1.6'/%3E%3C/svg%3E");
  --band-v: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='24'%3E%3Crect width='16' height='24' fill='%23f7efdf'/%3E%3Cpath d='M13.5 0 L3 6 L13.5 12Z' fill='%23b8322a'/%3E%3Cpath d='M3 12 L13.5 18 L3 24Z' fill='%23e0a83a'/%3E%3Cpath d='M13.5 0 L3 6 L13.5 12 L3 18 L13.5 24' fill='none' stroke='%232b1a12' stroke-width='1'/%3E%3Cpath d='M1.2 0v24M14.8 0v24' stroke='%232b1a12' stroke-width='1.6'/%3E%3C/svg%3E");
  color-scheme: light;
  /* Madhubani lattice: double-line diamonds, a lotus in each, dots at the joints */
  --madhubani: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='none' stroke-width='1.3'%3E%3Cpath d='M0 60 L60 0 L120 60 L60 120 Z' stroke='%23b8322a' stroke-opacity='.16'/%3E%3Cpath d='M12 60 L60 12 L108 60 L60 108 Z' stroke='%23e0a83a' stroke-opacity='.3'/%3E%3C/g%3E%3Cg fill='%23e9849b' fill-opacity='.28' stroke='%23b8322a' stroke-opacity='.25' stroke-width='1'%3E%3Cpath d='M60 44 C54 51 54 57 60 60 C66 57 66 51 60 44 Z'/%3E%3Cpath d='M60 76 C54 69 54 63 60 60 C66 63 66 69 60 76 Z'/%3E%3Cpath d='M44 60 C51 54 57 54 60 60 C57 66 51 66 44 60 Z'/%3E%3Cpath d='M76 60 C69 54 63 54 60 60 C63 66 69 66 76 60 Z'/%3E%3C/g%3E%3Ccircle cx='60' cy='60' r='3.2' fill='%23e0a83a' fill-opacity='.6'/%3E%3Cg fill='%232f6b4f' fill-opacity='.22'%3E%3Ccircle cx='0' cy='0' r='4'/%3E%3Ccircle cx='120' cy='0' r='4'/%3E%3Ccircle cx='0' cy='120' r='4'/%3E%3Ccircle cx='120' cy='120' r='4'/%3E%3C/g%3E%3Cg fill='%23b8322a' fill-opacity='.22'%3E%3Ccircle cx='60' cy='0' r='2.4'/%3E%3Ccircle cx='0' cy='60' r='2.4'/%3E%3Ccircle cx='120' cy='60' r='2.4'/%3E%3Ccircle cx='60' cy='120' r='2.4'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--madhubani) center top / 120px 120px repeat, var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
body.locked { overflow: hidden; height: 100svh; }
img, svg { display: block; }
h1, h2, h3, p { margin: 0; text-wrap: balance; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: 15px; }
[hidden] { display: none !important; }

/* ---------- Madhubani motif colours ---------- */
.m-body { fill: var(--gold); stroke: var(--ink); stroke-width: 2; }
.m-tail { fill: var(--alta); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.m-fin { fill: var(--alta); stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.m-line { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.m-scale { fill: none; stroke: var(--alta); stroke-width: 1.6; stroke-linecap: round; }
.m-eye { fill: var(--paper); stroke: var(--ink); stroke-width: 1.8; }
.m-ink { fill: var(--ink); }
.m-ray path { fill: var(--alta); stroke: var(--ink); stroke-width: 1.2; stroke-linejoin: round; }
.m-sunface { fill: var(--gold); stroke: var(--ink); stroke-width: 2; }
.m-petal { fill: var(--alta); stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.m-petal2 { fill: #e9849b; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.m-flame { fill: var(--gold); stroke: var(--alta); stroke-width: 1.6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 24px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--body); font-weight: 600; font-size: 16px; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-gold { background: var(--gold); color: var(--maroon); border-color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-maroon { background: var(--maroon); color: var(--paper); }
.btn-maroon:hover { background: var(--maroon-2); }
.btn-ghost { background: transparent; color: var(--maroon); border-color: var(--maroon); }
.btn-ghost:hover { background: var(--paper-2); }
.btn.wide { width: 100%; }

/* ---------- Gate (kohbar doors) ---------- */
.gate {
  position: fixed; inset: 0; z-index: 50;
  display: grid; place-items: center;
  perspective: 1600px;
  overflow: hidden;
}
.door {
  position: absolute; top: 0; bottom: 0; width: 50.5%;
  background: var(--maroon);
  transition: transform 1.6s var(--ease);
  will-change: transform;
}
.door-l { left: 0; transform-origin: left center; border-right: 2px solid var(--ink); }
.door-r { right: 0; transform-origin: right center; border-left: 2px solid var(--ink); }
.door::before {
  content: ""; position: absolute; inset: 12px;
  background:
    var(--band) top / 24px 16px repeat-x,
    var(--band) bottom / 24px 16px repeat-x,
    var(--band-v) left / 16px 24px repeat-y,
    var(--band-v) right / 16px 24px repeat-y;
  pointer-events: none;
}
.door::after {
  content: ""; position: absolute; inset: 30px;
  border: 1.5px solid var(--gold);
  pointer-events: none;
}
.door-art {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  padding: 70px 0 64px;
}
.door-fish { width: min(30vw, 150px); }
.door-l .door-fish { align-self: flex-end; margin-right: 10%; }
.door-r .door-fish { align-self: flex-start; margin-left: 10%; }
.door-lotus { width: min(24vw, 120px); }

.gate-center {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-align: center; color: var(--paper);
  padding: 28px 24px 30px;
  width: min(84vw, 340px);
  background: var(--maroon);
  border: 2px solid var(--gold);
  border-radius: 180px 180px 18px 18px;
  outline: 6px solid var(--maroon);
  transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.gate-sun { width: 64px; margin-bottom: 4px; }
.gate-kicker { font-size: 13px; color: var(--gold-soft); letter-spacing: .02em; }
.gate-title { font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 1.2; color: var(--gold); }
.gate-names { font-size: 18px; margin-bottom: 4px; }
.gate-to { font-size: 15px; color: var(--gold-soft); margin-bottom: 4px; }
.gate .btn { margin-top: 10px; }

.gate.open .door-l { transform: rotateY(-100deg); }
.gate.open .door-r { transform: rotateY(100deg); }
.gate.open .gate-center { opacity: 0; transform: scale(.94); pointer-events: none; }
.gate.gone { display: none; }

/* ---------- Language switch ---------- */
.lang {
  position: fixed; top: max(10px, env(safe-area-inset-top)); right: 10px; z-index: 40;
  display: flex; gap: 2px; padding: 3px;
  background: rgba(247, 239, 223, .92);
  border: 1px solid var(--line); border-radius: 999px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.lang button {
  min-height: 34px; min-width: 44px; padding: 4px 10px;
  border: 0; border-radius: 999px; background: transparent;
  font-size: 13px; color: var(--muted); cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.lang button[aria-pressed="true"] { background: var(--maroon); color: var(--paper); }

/* ---------- Page ---------- */
.page {
  max-width: 640px; margin: 0 auto;
  padding: 0 16px max(24px, env(safe-area-inset-bottom));
  outline: none;
}
.band { height: 16px; background: var(--band) left center / 24px 16px repeat-x; }

.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-bottom: 28px;
  margin: 0 -16px;
}
.hero .band, .footer .band { align-self: auto; justify-self: auto; width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }.hero-sun { width: 76px; margin: 34px 0 10px; }
.mantra { font-size: 14px; color: var(--maroon); }
.greet {
  margin-top: 14px; padding: 6px 16px;
  font-size: 15px; color: var(--maroon);
  border: 1px dashed var(--alta); border-radius: 999px;
}
.fish-pair { display: flex; gap: 6px; margin: 22px 0 4px; }
.fish-pair svg { width: min(30vw, 130px); }
.fish-pair svg:first-child { animation: swim-l 4s ease-in-out infinite; }
.fish-pair svg:last-child { animation: swim-r 4s ease-in-out infinite; }
@keyframes swim-l { 50% { transform: translate(4px, -3px) rotate(-2deg); } }
@keyframes swim-r { 50% { transform: translate(-4px, 3px) rotate(2deg); } }

.title-script { font-family: var(--display); font-weight: 700; font-size: 26px; color: var(--alta); margin-top: 8px; }
.couple {
  display: flex; flex-direction: column; align-items: center;
  font-family: var(--display); font-weight: 700; color: var(--maroon);
  line-height: 1.15; margin: 4px 0 14px;
}
.couple .name { font-size: clamp(48px, 15vw, 76px); }
.couple .sang { font-family: var(--body); font-weight: 500; font-size: 16px; color: var(--alta); margin-top: 2px; }
.couple { cursor: pointer; outline-offset: 8px; -webkit-tap-highlight-color: transparent; }

/* names write in like ink from a brush, then a gold shimmer passes over */
.couple .name {
  display: inline-block; padding: 0 .12em;
  background: linear-gradient(100deg, var(--maroon) 0 40%, #d9a441 48%, #fff1c9 50%, #d9a441 52%, var(--maroon) 60% 100%);
  background-size: 300% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 55%);
          mask-image: linear-gradient(90deg, #000 45%, transparent 55%);
  -webkit-mask-size: 260% 100%; mask-size: 260% 100%;
  -webkit-mask-position: 100% 0; mask-position: 100% 0;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.couple.write .n1 { animation: ink 1.4s cubic-bezier(.5,0,.3,1) forwards, shine 1.6s ease-in-out 4.2s; }
.couple.write .n2 { animation: ink 1.4s cubic-bezier(.5,0,.3,1) 2.3s forwards, shine 1.6s ease-in-out 4.6s; }
.couple.shine .n1, .couple.shine .n2 { animation: shine 1.6s ease-in-out; -webkit-mask: none; mask: none; }
.couple.shine .n2 { animation-delay: .25s; }
.couple.done .name { -webkit-mask: none; mask: none; }
@keyframes ink { to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
@keyframes shine { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* वधू and वर flank the names, then walk to each other as the guest scrolls */
.couple-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center; gap: 4px; width: 100%; max-width: 620px; margin: 4px 0 10px;
  position: relative; z-index: 1;
}
.couple-row .couple { position: relative; z-index: 2; }
.deity { margin: 0; display: flex; flex-direction: column; align-items: center; cursor: pointer;
  -webkit-tap-highlight-color: transparent; position: relative; z-index: 1; will-change: transform; }
.deity svg { width: 100%; max-width: 132px; overflow: visible; }
.vadhu { --skin: #e8a87c; }
.var { --skin: #c98455; }
.f-skin { fill: var(--skin); stroke: var(--ink); stroke-width: 1.8; stroke-linejoin: round; }
.f-ink { fill: var(--ink); stroke: var(--ink); stroke-width: 1; }
.f-lip { fill: none; stroke: var(--alta); stroke-width: 2; stroke-linecap: round; }
.f-nath { fill: none; stroke: var(--gold); stroke-width: 1.8; }
.f-bindi { fill: var(--alta); }
.f-tikka { fill: none; stroke: var(--gold); stroke-width: 1.6; }
.f-bangle { fill: none; stroke: var(--alta); stroke-width: 2.6; stroke-linecap: round; }
.f-mous { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }
.f-tilak { fill: none; stroke: var(--alta); stroke-width: 2.6; stroke-linecap: round; }
.vadhu .f-top { fill: #f2c94c; stroke: var(--ink); stroke-width: 1.8; }
.vadhu .f-cloth { fill: #f2c94c; stroke: var(--ink); stroke-width: 1.8; }
.vadhu .f-stripe { fill: none; stroke: var(--alta); stroke-width: 2.4; stroke-dasharray: 3 4; }
.vadhu .f-hem { fill: none; stroke: var(--alta); stroke-width: 6; }
.f-pallu { fill: none; stroke: var(--alta); stroke-width: 9; stroke-linecap: round; }
.f-veil { fill: #c0392b; stroke: var(--gold); stroke-width: 2; }
.var .f-top { fill: #fbf1d6; stroke: var(--ink); stroke-width: 1.8; }
.f-buttons { fill: none; stroke: var(--gold); stroke-width: 3; stroke-dasharray: 1 7; stroke-linecap: round; }
.f-patka { fill: none; stroke: var(--alta); stroke-width: 8; stroke-linecap: round; }
.var .f-cloth { fill: #f2c94c; stroke: var(--ink); stroke-width: 1.8; }
.var .f-stripe { fill: none; stroke: var(--alta); stroke-width: 2; }
.var .f-hem { fill: none; stroke: var(--maroon); stroke-width: 5; }
.f-maur { fill: #f7e3a3; stroke: var(--ink); stroke-width: 1.8; stroke-linejoin: round; }
.f-maur-line { fill: none; stroke: var(--alta); stroke-width: 2.2; }
.f-maur-dots { fill: none; stroke: var(--green); stroke-width: 3; stroke-dasharray: 1 6; stroke-linecap: round; }
.f-tassel { fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-dasharray: 2 3; }
.mala { fill: none; stroke-linecap: round; }
.mala-a, .neck-a { stroke: #f39c12; stroke-width: 8; }
.mala-b, .neck-b { stroke: var(--alta); stroke-width: 5; }
/* garlands are bead strings, not traced lines */
.drawme .mala-a, .drawme.go .mala-a, .drawme .neck-a, .drawme.go .neck-a { stroke-dasharray: 0 10; stroke-dashoffset: 0; animation: none; }
.drawme .mala-b, .drawme.go .mala-b, .drawme .neck-b, .drawme.go .neck-b { stroke-dasharray: 0 10; stroke-dashoffset: -5; animation: none; }
.deity .mala.hand { opacity: 0; transition: opacity .6s ease; }
.deity .drawme.go .mala.hand { opacity: 1; transition-delay: 1.4s; }
.deity .mala.neck { opacity: 0; transition: opacity .5s ease; }
.deity.wed .mala.hand { opacity: 0; transition-delay: 0s; }
.deity.wed .mala.neck { opacity: 1; transition-delay: .35s; }
.deity .drawme:not(.go) { opacity: 0; }
/* alive: gentle breathing and offering the garland */
.deity .body-sway, .deity .offer { transform-box: fill-box; }
.deity .body-sway { transform-origin: 50% 100%; }
.deity .offer { transform-origin: 0 0; transition: transform .6s var(--ease); }
.deity.alive .body-sway { animation: breathe-fig 4.5s ease-in-out infinite; }
.deity.alive:not(.near) .offer { animation: offer 3.6s ease-in-out infinite; }
.deity.var.alive .body-sway, .deity.var.alive .offer { animation-delay: .9s; }
.deity.near .offer { transform: rotate(-30deg); }
.deity.wed .offer { animation: place .8s var(--ease); transform: rotate(0); }
@keyframes breathe-fig { 50% { transform: translateY(-2px) scale(1.008); } }
@keyframes offer { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-16deg); } }
@keyframes place { 40% { transform: rotate(-58deg); } }
.deity.tap .offer { animation: offer-big .9s var(--ease); }
@keyframes offer-big { 50% { transform: rotate(-34deg); } }
.couple .name { font-size: clamp(40px, 12.5vw, 76px) !important; }
.when, .where { position: relative; z-index: 2; text-shadow: 0 0 6px var(--paper), 0 0 12px var(--paper), 0 0 18px var(--paper); }
/* a small step while they walk */
.deity.walking svg { animation: step .44s ease-in-out infinite; transform-origin: 50% 100%; }
.deity.var.walking svg { animation-delay: -.22s; }
@keyframes step { 25% { transform: translateY(-4px) rotate(-1.5deg); } 75% { transform: translateY(-4px) rotate(1.5deg); } }
/* language switch steps aside while reading, returns on scroll up */
.lang { transition: transform .45s var(--ease), opacity .45s var(--ease); }
.lang.away { transform: translateY(-140%); opacity: 0; }
.meet-stage { position: relative; width: 100%; display: flex; justify-content: center; pointer-events: none; margin-top: 28px; }

/* Mithila marwa (mandap): grows into view as the couple walk, glows when they are married */
.mandap {
  width: min(94vw, 380px); overflow: visible;
  opacity: calc(.15 + var(--mp, 0) * .85);
  transform: translateY(calc((1 - var(--mp, 0)) * 18px)) scale(calc(.9 + var(--mp, 0) * .1));
  transform-origin: 50% 100%;
}
.md-pole-back { fill: none; stroke: #2f6b4f; stroke-width: 6; opacity: .55; }
.md-cloth { fill: #fbe9c6; stroke: #e0a83a; stroke-width: 1.5; opacity: .85; }
.md-cloth-art { fill: none; stroke: #e9849b; stroke-width: 2.4; }
.md-sun { fill: #f2c94c; stroke: #b8322a; stroke-width: 1.6; opacity: .7; }
.md-sun-rays { fill: none; stroke: #b8322a; stroke-width: 2; stroke-linecap: round; opacity: .6; }
.md-leaf { fill: #2f6b4f; stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }
.md-rib { fill: none; stroke: #9cc28a; stroke-width: 1.4; }
.md-pole { fill: #6fa35a; stroke: var(--ink); stroke-width: 1.4; }
.md-node { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.md-roof { fill: var(--alta); stroke: var(--ink); stroke-width: 1.8; stroke-linejoin: round; }
.md-roof-line { fill: none; stroke: var(--gold); stroke-width: 3; }
.md-roof-dots { fill: none; stroke: #f7efdf; stroke-width: 3; stroke-dasharray: .5 7; stroke-linecap: round; }
.md-scallop { fill: var(--gold); stroke: var(--ink); stroke-width: 1.4; }
.md-rope { fill: none; stroke: var(--alta); stroke-width: 1.6; }
.md-mleaf { fill: #3f8a5c; stroke: var(--ink); stroke-width: 1; transform-box: fill-box; transform-origin: 50% 0; }
.md-marigold { fill: #f39c12; stroke: var(--alta); stroke-width: 1.2; transform-box: fill-box; transform-origin: 50% 0; }
.md-pot { fill: var(--alta); stroke: var(--ink); stroke-width: 1.4; }
.md-pot2 { fill: var(--gold); stroke: var(--ink); stroke-width: 1.4; }
.md-pot-band { fill: none; stroke: var(--gold); stroke-width: 2.4; }
.md-mango { fill: none; stroke: #2f6b4f; stroke-width: 3.4; stroke-linecap: round; }
.md-coconut { fill: #8a5a2b; stroke: var(--ink); stroke-width: 1.2; }
.md-diya-s { fill: var(--alta); stroke: var(--ink); stroke-width: 1; }
.md-flame, .md-fire { fill: #f5b041; stroke: #b8322a; stroke-width: 1.2; transform-box: fill-box; transform-origin: 50% 100%; }
.md-vedi { fill: url(#md-band); stroke: var(--ink); stroke-width: 1.6; }
.md-vedi-top { fill: none; stroke: var(--maroon); stroke-width: 3; }
.md-kund { fill: #8a5a2b; stroke: var(--ink); stroke-width: 1.4; }
.md-fire { opacity: 0; transition: opacity .8s ease; }
.married .md-fire { opacity: 1; animation: flicker 1.2s ease-in-out infinite; }
.married .md-flame { animation: flicker 1.4s ease-in-out infinite; }
.married .md-mleaf, .married .md-marigold { animation: sway 3s ease-in-out infinite; animation-delay: calc(var(--j) * 110ms); }
.married .md-kalash-top { animation: kalash-glow 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes sway { 50% { transform: rotate(7deg); } }
@keyframes kalash-glow { 50% { transform: scale(1.06); } }
.meet-sparks { top: 55%; }
.meet-sparks { position: absolute; left: 50%; top: 30%; width: 0; height: 0; }
@media (min-width: 720px) { .couple-row { gap: 16px; } .deity svg { max-width: 150px; } }
/* gathbandhan: bride's red chunri knotted to groom's yellow patka */
.knot { position: relative; display: flex; flex-direction: column; align-items: center; margin: 2px 0 6px; }
.knot svg { width: min(38vw, 200px); overflow: visible; }
.k-cloth { fill: none; stroke-width: 9; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.k-bride { stroke: var(--alta); }
.k-groom { stroke: var(--gold); }
.k-edge { fill: none; stroke: #fff3c4; stroke-width: 1.4; stroke-dasharray: .02 .025; stroke-dashoffset: 1; opacity: 0; }
.k-tie { transform-box: fill-box; transform-origin: center; transform: scale(0) rotate(-40deg); }
.couple.write .k-bride { animation: tie .9s var(--ease) 1.25s forwards; }
.couple.write .k-groom { animation: tie .9s var(--ease) 1.25s forwards; }
.couple.write .k-edge { animation: fadeIn .5s ease 2s forwards; stroke-dashoffset: 0; }
.couple.write .k-tie { animation: knot .7s cubic-bezier(.34,1.56,.64,1) 2s forwards; }
.couple .sang { opacity: 0; }
.couple.write .sang { animation: fadeIn .6s ease 2.4s forwards; }
@keyframes tie { to { stroke-dashoffset: 0; } }
@keyframes knot { to { transform: none; } }
@keyframes fadeIn { to { opacity: 1; } }
.couple.done .k-cloth { stroke-dashoffset: 0; }
.couple.done .k-edge, .couple.done .sang { opacity: 1; }
.couple.done .k-tie { transform: none; }
.sparks { position: absolute; left: 50%; top: 40%; width: 0; height: 0; pointer-events: none; }
.spark {
  position: absolute; width: 6px; height: 6px; margin: -3px; border-radius: 50%;
  background: var(--c); animation: burst 1s var(--ease) forwards;
}
@keyframes burst { from { transform: translate(0, 0) scale(1); opacity: 1; } to { transform: translate(var(--x), var(--y)) scale(.3); opacity: 0; } }
.when { font-size: 19px; font-weight: 600; }
.where { color: var(--muted); font-size: 16px; padding: 0 16px; }

.countdown { display: grid; grid-template-columns: repeat(4, 64px); gap: 8px; margin-top: 22px; }
.countdown div {
  background: var(--maroon); color: var(--paper);
  border-radius: 12px; padding: 8px 0 6px;
  display: flex; flex-direction: column; align-items: center;
  border: 1.5px solid var(--ink);
}
.countdown b { font-size: 24px; line-height: 1.1; font-variant-numeric: tabular-nums; font-weight: 600; }
.countdown span { font-size: 12px; color: var(--gold-soft); }
.countdown-done { margin-top: 18px; font-family: var(--display); font-size: 24px; color: var(--alta); }

.scroll-cue {
  margin-top: auto; padding: 22px 16px 0;
  font-size: 14px; color: var(--muted); text-decoration: none;
}
.scroll-cue::after {
  content: ""; display: block; width: 10px; height: 10px; margin: 6px auto 0;
  border-right: 2px solid var(--alta); border-bottom: 2px solid var(--alta);
  transform: rotate(45deg);
  animation: nudge 2s var(--ease) infinite;
}
@keyframes nudge { 50% { transform: translateY(5px) rotate(45deg); } }

/* ---------- Sections ---------- */
section { margin-top: 48px; }
.card {
  position: relative;
  background: #fbf6ea;
  border: 1.5px solid var(--ink);
  border-radius: 20px;
  padding: 30px 22px;
}
.card::before {
  content: ""; position: absolute; inset: 6px;
  border: 1px solid var(--line); border-radius: 15px; pointer-events: none;
}
.section-title {
  font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1.3;
  color: var(--maroon); text-align: center; margin-bottom: 18px;
}
.section-title::after {
  content: ""; display: block; width: 72px; height: 10px; margin: 8px auto 0;
  background: var(--band) center / 24px 16px repeat-x;
  border-radius: 2px;
}

.shloka { text-align: center; font-size: 15px; color: var(--maroon); line-height: 1.9; }
.divider-lotus { width: 70px; margin: 18px auto; }
.invite-text { text-align: center; font-size: 17px; line-height: 1.9; }
.invite-text strong { color: var(--maroon); font-weight: 600; }

.families { display: grid; gap: 12px; }
.person {
  text-align: center; padding: 22px 18px;
  background: var(--paper-2); border-radius: 18px; border: 1px solid var(--line);
}
.person .role { font-size: 13px; color: var(--alta); font-weight: 600; letter-spacing: .03em; }
.person h3 { font-family: var(--display); font-weight: 700; font-size: 26px; color: var(--maroon); line-height: 1.35; margin: 4px 0 6px; }
.person p { font-size: 15px; }
.person-sep { display: grid; place-items: center; }
.person-sep svg { width: 44px; }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0 0 0 26px; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 3px;
  background: repeating-linear-gradient(to bottom, var(--alta) 0 8px, transparent 8px 14px);
}
.event { position: relative; margin-bottom: 18px; }
.event::before {
  content: ""; position: absolute; left: -26px; top: 22px;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--gold); border: 2px solid var(--ink);
  box-shadow: 0 0 0 4px var(--paper);
}
.event-card { background: #fbf6ea; border: 1.5px solid var(--ink); border-radius: 18px; padding: 16px 18px; }
.event-date { font-size: 14px; color: var(--alta); font-weight: 600; }
.event-title { font-family: var(--display); font-weight: 700; font-size: 25px; color: var(--maroon); line-height: 1.35; }
.event-note { font-size: 15px; }
.event-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: var(--muted); margin-top: 6px; }
.event-meta span::before { content: "◆ "; color: var(--gold); }
.event-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.event-actions .btn { min-height: 44px; padding: 8px 16px; font-size: 14px; flex: 1 1 auto; }

/* venue */
.venue { text-align: center; }
.venue-name { font-family: var(--display); font-size: 26px; font-weight: 700; color: var(--maroon); }
.map {
  margin: 16px 0; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden;
  background: var(--paper-2); border: 1px solid var(--line);
  display: grid; place-items: center;
}
.map iframe { width: 100%; height: 100%; border: 0; }

/* RSVP form */
form { display: grid; gap: 6px; margin-top: 18px; }
form > label, legend { font-size: 15px; font-weight: 600; color: var(--maroon); margin-top: 10px; padding: 0; }
input:not([type=radio]):not([type=checkbox]), textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  background: #fffdf7; border: 1.5px solid var(--line); border-radius: 12px;
  font-size: 17px;
  transition: border-color .3s var(--ease);
}
input:focus, textarea:focus { border-color: var(--maroon); outline: none; }
input[aria-invalid="true"] { border-color: var(--alta); }
.err { color: var(--alta); font-size: 14px; }
fieldset { border: 0; margin: 0; padding: 0; }
.attend { display: flex; flex-wrap: wrap; gap: 8px; }
.attend legend { width: 100%; margin-bottom: 6px; }
.pill { position: relative; flex: 1 1 140px; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span {
  display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 14px;
  border: 1.5px solid var(--line); border-radius: 999px; background: #fffdf7; text-align: center; font-size: 15px;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.pill input:checked + span { background: var(--maroon); color: var(--paper); border-color: var(--maroon); }
.pill input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.stepper { display: grid; grid-template-columns: 48px 1fr 48px; gap: 8px; }
.stepper button {
  border: 1.5px solid var(--maroon); border-radius: 12px; background: transparent;
  color: var(--maroon); font-size: 22px; cursor: pointer;
}
.stepper input { text-align: center; }
.which { display: grid; gap: 8px; }
.which legend { margin-bottom: 6px; }
.check { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 14px;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fffdf7; cursor: pointer; font-size: 15px; }
.check input { width: 20px; height: 20px; accent-color: var(--maroon); flex: none; }
#rsvp-submit { margin-top: 18px; }
/* two big, friendly choices */
.attend .pill { flex: 1 1 130px; }
.attend .pill span { flex-direction: column; gap: 4px; min-height: 92px; border-radius: 18px; padding: 12px; }
.attend .pill b { font-weight: 600; font-size: 15px; line-height: 1.3; }
.pill-yes svg { width: 40px; opacity: .45; filter: grayscale(.7); transition: opacity .4s var(--ease), transform .5s var(--ease), filter .4s ease; }
.pill-yes input:checked + span svg { opacity: 1; filter: none; transform: scale(1.12); }
.pill-yes input:checked + span { background: var(--maroon); }
.pill-no input:checked + span { background: var(--muted); border-color: var(--muted); }
.attend .pill span:active { transform: scale(.97); }
#rsvp-form { animation: none; }
.rsvp-done { text-align: center; display: grid; justify-items: center; gap: 6px; margin-top: 10px; animation: pop .6s var(--ease); }
.done-diya { width: 64px; opacity: .5; filter: grayscale(.6); }
.done-diya.lit { opacity: 1; filter: drop-shadow(0 0 10px rgba(242, 201, 76, .8)); animation: flicker 1.6s ease-in-out infinite; transform-origin: 50% 100%; }
.done-title { font-family: var(--display); font-weight: 700; font-size: 28px; color: var(--maroon); line-height: 1.3; }
.rsvp-done .btn { margin-top: 10px; }
.status { text-align: center; font-size: 15px; color: var(--green); min-height: 1.5em; }
.status.bad { color: var(--alta); }

/* inviters, contact */
.inviters { display: grid; gap: 16px; text-align: center; }
.inviters h3 { font-size: 15px; color: var(--alta); margin-bottom: 6px; }
.inviters ul, .contact-list { list-style: none; margin: 0; padding: 0; }
.inviters li { font-size: 16px; }
.contact-list { display: grid; gap: 10px; }
.contact-list a { width: 100%; }
.bal-lines { font-size: 17px; line-height: 1.9; color: var(--maroon); }

/* footer */
.footer { text-align: center; margin: 56px -16px 0; display: grid; justify-items: center; gap: 6px; }
.footer-fish { width: 110px; margin-bottom: 6px; }
.await { font-family: var(--display); font-weight: 700; font-size: 26px; color: var(--alta); }
.hosts { font-weight: 600; color: var(--maroon); padding: 0 16px; }
.footer .btn { margin: 16px 0 6px; }
.footer .band { margin-top: 20px; }
html, body { overflow-x: clip; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Larger screens ---------- */
@media (min-width: 720px) {
  body {
    background:
      var(--band-v) left top / 16px 24px repeat-y,
      var(--band-v) right top / 16px 24px repeat-y,
      var(--madhubani) center top / 140px 140px repeat,
      var(--paper);
    background-attachment: fixed;
  }
  .gate-center { width: 420px; padding: 40px 32px 38px; }
  .gate-title { font-size: 60px; }
  .gate-names { font-size: 21px; }
  .gate-sun { width: 84px; }
  .families { grid-template-columns: 1fr 60px 1fr; align-items: center; }
  .card { padding: 36px 40px; }
  .countdown { grid-template-columns: repeat(4, 76px); gap: 12px; }
  .inviters { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .page { max-width: 720px; }
}

/* ================= Gods, rituals and play ================= */

/* shared fills for the hand-drawn figures */
.gk { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gk.thin { stroke-width: 1.3; }
.g-skin { fill: #e07a3c; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.g-ear { fill: #e9849b; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.g-gold { fill: var(--gold); stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.g-alta { fill: var(--alta); stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }
.g-pink { fill: #e9849b; stroke: var(--ink); stroke-width: 1.6; }
.g-paper { fill: var(--paper); stroke: var(--ink); stroke-width: 1.4; }
.g-ink { fill: var(--ink); }
.g-thread { fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; }
.g-thread.wide { stroke-width: 6; }
.g-tilak { fill: none; stroke: var(--alta); stroke-width: 3; stroke-linecap: round; }
.g-arm { fill: none; stroke: #e07a3c; stroke-width: 11; stroke-linecap: round; }
.g-arm2 { fill: none; stroke: var(--skin); stroke-width: 9; stroke-linecap: round; }

/* Ganesh on the gate: gold line art on maroon */
.ganesh-wrap { position: relative; display: grid; place-items: center; margin-bottom: 2px; }
.gate-ganesh { position: relative; width: 128px; transition: width 1s var(--ease); }
.gate.chant .gate-ganesh { width: min(46vw, 180px); }

/* golden aura that slowly turns behind Ganesh */
.aura {
  position: absolute; left: 50%; top: 46%; width: 170%; aspect-ratio: 1; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(242, 209, 139, .38) 0 5deg, transparent 5deg 15deg);
  -webkit-mask: radial-gradient(circle, transparent 26%, #000 34%, #000 48%, transparent 66%);
          mask: radial-gradient(circle, transparent 26%, #000 34%, #000 48%, transparent 66%);
  transform: translate(-50%, -50%); opacity: .45;
  animation: spin 28s linear infinite; transition: opacity 1s ease;
}
.gate.chant .aura { opacity: 1; animation-duration: 14s; }
@keyframes aura-in { to { opacity: 1; } }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* aarti: a diya circling Ganesh while the mantra is recited */
.aarti {
  position: absolute; left: 50%; top: 50%; width: 26px; --r: min(27vw, 108px);
  opacity: 0; transition: opacity .5s ease;
  filter: drop-shadow(0 0 6px rgba(242, 209, 139, .9));
}
.aarti svg { width: 100%; }
.gate.chant .aarti { opacity: 1; animation: orbit 3.2s linear infinite; }
@keyframes aarti-in { to { opacity: 1; } }
@keyframes orbit {
  from { transform: translate(-50%, -50%) rotate(90deg) translateX(var(--r)) rotate(-90deg); }
  to { transform: translate(-50%, -50%) rotate(450deg) translateX(var(--r)) rotate(-450deg); }
}

/* the mantra, revealed word by word */
.mantra-text {
  font-family: var(--body); font-size: 17px; line-height: 1.8; color: var(--gold-soft);
  max-height: 0; opacity: 0; overflow: hidden; margin: 0;
  transition: opacity .6s ease, max-height .9s var(--ease), margin .9s var(--ease);
}
.gate.chant .mantra-text { max-height: 220px; opacity: 1; margin: 14px 0 4px; }
.mantra-text .om { display: block; font-family: var(--display); font-size: 34px; line-height: 1.2; color: var(--gold); }
.mw { display: inline-block; opacity: 0; transform: translateY(10px) scale(.92);
  transition: opacity .7s ease, transform .8s var(--ease); }
.mw.on { opacity: 1; transform: none; }
.mw.om.on { animation: om-glow 2.4s ease-in-out .3s infinite; }
@keyframes om-glow { 50% { transform: scale(1.08); } }
/* repeat visitors may skip the vandana */
.skip-btn {
  position: absolute; right: 16px; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 3;
  min-height: 40px; padding: 6px 16px; border-radius: 999px; cursor: pointer;
  background: rgba(247, 239, 223, .14); color: var(--gold-soft); border: 1px solid rgba(242, 209, 139, .5);
  font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .5s ease;
}
.gate.chant .skip-btn.show { opacity: 1; pointer-events: auto; transition-delay: 1s; }
.gate-ganesh .gk, .gate-ganesh [class^="g-"]:not(.g-thread):not(.g-arm):not(.g-tilak) { stroke: var(--gold-soft); }
.gate-ganesh .g-ink { fill: var(--ink); stroke: none; }

/* line-drawing reveal: strokes trace first, colour floods in after */
.drawme path, .drawme circle { stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0; }
.drawme.go path, .drawme.go circle {
  animation: trace 1.7s var(--ease) forwards, flood .9s ease-out forwards;
  animation-delay: calc(var(--i, 0) * 45ms), calc(1.1s + var(--i, 0) * 30ms);
}
@keyframes trace { to { stroke-dashoffset: 0; } }
@keyframes flood { to { fill-opacity: 1; } }

/* gate content arrives in steps after Ganesh is drawn */
.gate-center > :not(.ganesh-wrap):not(.mantra-text) {
  opacity: 0; transform: translateY(10px); max-height: 0; margin-top: 0; margin-bottom: 0; overflow: hidden;
  transition: opacity .7s var(--ease), transform .7s var(--ease), max-height .8s var(--ease);
}
.gate.ready:not(.chant) .gate-center > :not(.ganesh-wrap):not(.mantra-text) { opacity: 1; transform: none; max-height: 140px; overflow: visible; }
.gate.ready:not(.chant) .gate-center > .btn { margin-top: 10px; }
.gate.chant .gate-center > :not(.ganesh-wrap):not(.mantra-text) { transition-delay: 0s !important; }
.gate.ready .gate-center > :nth-child(4) { transition-delay: .3s; }
.gate.ready .gate-center > :nth-child(5) { transition-delay: .45s; }
.gate.ready .gate-center > :nth-child(6) { transition-delay: .6s; }
.gate.ready .gate-center > :nth-child(7) { transition-delay: .75s; }
#open-btn { animation: breathe 2.6s ease-in-out 2.4s infinite; }
@keyframes breathe { 50% { transform: scale(1.05); } }
.gate.open .door-fish { transition: transform 1.4s var(--ease); }
.gate.open .door-l .door-fish { transform: translateX(-40px); }
.gate.open .door-r .door-fish { transform: translateX(40px); }

/* sound toggle */
.lang .snd { min-width: 38px; padding: 4px 8px; display: grid; place-items: center; }
.snd svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.snd-x { opacity: 0; }
.snd[aria-pressed="false"] .snd-x { opacity: 1; }
.lang .snd[aria-pressed="true"] { background: transparent; color: var(--maroon); }

/* music pill */
.music-pill {
  position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 45;
  display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px;
  background: var(--maroon); color: var(--paper); border: 1.5px solid var(--gold); border-radius: 999px;
  font-size: 14px; white-space: nowrap; max-width: calc(100vw - 24px);
  transform: translate(-50%, 0); transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.music-pill.tuck { transform: translate(-50%, calc(100% + 24px)); opacity: 0; pointer-events: none; }
.music-title { overflow: hidden; text-overflow: ellipsis; }
.music-btn {
  min-height: 34px; padding: 4px 12px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--gold); color: var(--maroon); font-size: 13px; font-weight: 600;
}
.bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.bars i { width: 3px; height: 100%; background: var(--gold); border-radius: 2px; transform-origin: bottom; animation: eq 1s ease-in-out infinite; }
.bars i:nth-child(2) { animation-delay: .2s; } .bars i:nth-child(3) { animation-delay: .4s; } .bars i:nth-child(4) { animation-delay: .1s; }
.music-pill.paused .bars i, .snd .bars i { animation-play-state: paused; }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.lang .snd.playing svg { color: var(--alta); }

/* falling marigold petals */
#petals { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 60; }

/* fish pair: tap and they come close, bubbles rise */
.fish-pair { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; border-radius: 20px; }
.fish-pair svg { transition: transform .9s var(--ease); }
.fish-pair.kiss svg:first-child { animation: none; transform: translateX(14px) rotate(-4deg); }
.fish-pair.kiss svg:last-child { animation: none; transform: translateX(-14px) rotate(4deg); }
.bubble {
  position: absolute; left: 50%; top: 30%; width: 10px; height: 10px; border-radius: 50%;
  border: 1.6px solid var(--alta); background: rgba(255,255,255,.5); pointer-events: none;
  animation: rise 1.6s var(--ease) forwards;
}
.bubble.heart { border: 0; background: none; width: auto; height: auto; color: var(--alta); font-size: 20px; line-height: 1; }
@keyframes rise { to { transform: translate(var(--dx), -90px) scale(1.4); opacity: 0; } }

/* countdown digits roll */
.countdown b.roll { animation: roll .45s var(--ease); }
@keyframes roll { from { transform: translateY(-45%); opacity: 0; } }

/* timeline line grows with scroll */
.timeline::after {
  content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 3px;
  background: var(--maroon); transform-origin: top; transform: scaleY(var(--p, 0));
}
.event { opacity: 0; transform: translateX(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.event.in { opacity: 1; transform: none; }
.event::before { transform: scale(0); transition: transform .5s var(--ease) .2s; }
.event.in::before { transform: scale(1); }
.event-card { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
@media (hover: hover) { .event-card:hover { transform: translateY(-3px); box-shadow: 0 8px 0 -2px var(--paper-2), 0 8px 0 0 var(--line); } }

/* seven diyas */
.diya-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; margin: 22px -10px 8px; }
.diya {
  position: relative; width: 38px; height: 64px; padding: 0; border: 0; background: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  -webkit-tap-highlight-color: transparent;
}
@media (min-width: 420px) { .diya-row { gap: 8px; } .diya { width: 44px; } }
.diya svg { width: 100%; overflow: visible; transition: transform .3s var(--ease); }
.diya:active svg { transform: scale(.9); }
.diya .flame { transform-box: fill-box; transform-origin: 50% 100%; transform: scale(0); transition: transform .5s var(--ease); }
.diya.lit .flame { transform: scale(1); animation: flicker 1.3s ease-in-out .5s infinite; }
.diya .glow { opacity: 0; transition: opacity .6s ease; }
.diya.lit .glow { opacity: 1; }
.diya small { font-size: 12px; color: var(--muted); line-height: 1; margin-top: 2px; }
@keyframes flicker { 25% { transform: scale(.94, 1.06) skewX(2deg); } 50% { transform: scale(1.04, .96); } 75% { transform: scale(.97, 1.04) skewX(-2deg); } }
.vow { text-align: center; min-height: 3.6em; font-size: 16px; color: var(--maroon); }
.vow b { display: block; font-family: var(--display); font-size: 22px; color: var(--alta); font-weight: 700; }
.vow.pop { animation: pop .5s var(--ease); }
@keyframes pop { from { transform: translateY(8px); opacity: 0; } }

/* ---------- Respect reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .door { transition: opacity .4s linear; }
  .gate.open .door-l, .gate.open .door-r { transform: none; opacity: 0; }
  .drawme path, .drawme circle { stroke-dashoffset: 0; fill-opacity: 1; }
  .gate-center > :not(.ganesh-wrap):not(.mantra-text), .event { opacity: 1; transform: none; transition: none; }
  .mw { opacity: 1; filter: none; transform: none; transition: none; }
  .aura, .aarti { animation: none; } .aarti { display: none; }
  .deity .offer, .deity .body-sway { animation: none !important; }
  .event::before { transform: none; }
  .diya .flame { transition: none; }
  #petals { display: none; }
  .couple .name { -webkit-mask: none; mask: none; }
  .k-cloth { stroke-dashoffset: 0; } .k-edge, .couple .sang { opacity: 1; } .k-tie { transform: none; }
  .spark, .music-pill .bars i { display: none; }
}


/* =====================================================================
   ROYAL EDITION — maroon, antique gold, champagne and ivory.
   This layer sits on top of everything above and overrides it.
   ===================================================================== */
:root {
  --maroon: #5a0f1d; --maroon-2: #74172a; --maroon-deep: #3a0812;
  --gold: #c9a24a; --gold-soft: #ead6a3; --champagne: #f3e5c3;
  --paper: #faf4e8; --paper-2: #f2e6cd; --ivory: #fffaf0;
  --ink: #2a160f; --muted: #6e5745; --line: #dfc99c;
  --body: "Tiro Devanagari Hindi", "Laila", "Nirmala UI", serif;
  --latin: "Cormorant Garamond", "Tiro Devanagari Hindi", Georgia, serif;
  --display: "Tillana", "Tiro Devanagari Hindi", serif;
  --madhubani: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='none' stroke='%23c9a24a' stroke-width='1'%3E%3Cpath d='M0 60 L60 0 L120 60 L60 120 Z' stroke-opacity='.22'/%3E%3Cpath d='M14 60 L60 14 L106 60 L60 106 Z' stroke-opacity='.14'/%3E%3Ccircle cx='60' cy='60' r='13' stroke-opacity='.25'/%3E%3C/g%3E%3Cg fill='%23c9a24a' fill-opacity='.2'%3E%3Cpath d='M60 47 C56 53 56 57 60 60 C64 57 64 53 60 47 Z'/%3E%3Cpath d='M60 73 C56 67 56 63 60 60 C64 63 64 67 60 73 Z'/%3E%3Cpath d='M47 60 C53 56 57 56 60 60 C57 64 53 64 47 60 Z'/%3E%3Cpath d='M73 60 C67 56 63 56 60 60 C63 64 67 64 73 60 Z'/%3E%3C/g%3E%3Ccircle cx='60' cy='60' r='2.4' fill='%23a33b3b' fill-opacity='.35'/%3E%3Cg fill='%23c9a24a' fill-opacity='.35'%3E%3Ccircle cx='0' cy='0' r='2.5'/%3E%3Ccircle cx='120' cy='0' r='2.5'/%3E%3Ccircle cx='0' cy='120' r='2.5'/%3E%3Ccircle cx='120' cy='120' r='2.5'/%3E%3C/g%3E%3C/svg%3E");
  --band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='16'%3E%3Crect width='24' height='16' fill='%235a0f1d'/%3E%3Cpath d='M0 1.5h24M0 14.5h24' stroke='%23c9a24a' stroke-width='1.4'/%3E%3Cpath d='M12 3.5 L16.5 8 L12 12.5 L7.5 8 Z' fill='%23c9a24a'/%3E%3Ccircle cx='0' cy='8' r='1.6' fill='%23f3e5c3'/%3E%3Ccircle cx='24' cy='8' r='1.6' fill='%23f3e5c3'/%3E%3C/svg%3E");
  --band-v: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='24'%3E%3Crect width='16' height='24' fill='%235a0f1d'/%3E%3Cpath d='M1.5 0v24M14.5 0v24' stroke='%23c9a24a' stroke-width='1.4'/%3E%3Cpath d='M8 7.5 L12.5 12 L8 16.5 L3.5 12 Z' fill='%23c9a24a'/%3E%3Ccircle cx='8' cy='0' r='1.6' fill='%23f3e5c3'/%3E%3Ccircle cx='8' cy='24' r='1.6' fill='%23f3e5c3'/%3E%3C/svg%3E");
  --flourish: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='18'%3E%3Cpath d='M2 9 H52 M88 9 H138' stroke='%23c9a24a' stroke-width='1.2'/%3E%3Cpath d='M56 9 Q63 2 70 9 Q77 2 84 9 Q77 16 70 9 Q63 16 56 9 Z' fill='none' stroke='%23c9a24a' stroke-width='1.2'/%3E%3Cpath d='M70 4 L74 9 L70 14 L66 9 Z' fill='%23c9a24a'/%3E%3Ccircle cx='47' cy='9' r='1.8' fill='%23c9a24a'/%3E%3Ccircle cx='93' cy='9' r='1.8' fill='%23c9a24a'/%3E%3C/svg%3E");
  --c-tl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34'%3E%3Cg fill='none' stroke='%23c9a24a' stroke-width='1.3'%3E%3Cpath d='M3 31 V12 Q3 3 12 3 H31 M9 31 V16 Q9 9 16 9 H31'/%3E%3C/g%3E%3Ccircle cx='16' cy='16' r='2.2' fill='%23c9a24a'/%3E%3C/svg%3E");
  --c-tr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34'%3E%3Cg transform='translate(34 0) scale(-1 1)'%3E%3Cg fill='none' stroke='%23c9a24a' stroke-width='1.3'%3E%3Cpath d='M3 31 V12 Q3 3 12 3 H31 M9 31 V16 Q9 9 16 9 H31'/%3E%3C/g%3E%3Ccircle cx='16' cy='16' r='2.2' fill='%23c9a24a'/%3E%3C/g%3E%3C/svg%3E");
  --c-bl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34'%3E%3Cg transform='translate(0 34) scale(1 -1)'%3E%3Cg fill='none' stroke='%23c9a24a' stroke-width='1.3'%3E%3Cpath d='M3 31 V12 Q3 3 12 3 H31 M9 31 V16 Q9 9 16 9 H31'/%3E%3C/g%3E%3Ccircle cx='16' cy='16' r='2.2' fill='%23c9a24a'/%3E%3C/g%3E%3C/svg%3E");
  --c-br: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34'%3E%3Cg transform='translate(34 34) scale(-1 -1)'%3E%3Cg fill='none' stroke='%23c9a24a' stroke-width='1.3'%3E%3Cpath d='M3 31 V12 Q3 3 12 3 H31 M9 31 V16 Q9 9 16 9 H31'/%3E%3C/g%3E%3Ccircle cx='16' cy='16' r='2.2' fill='%23c9a24a'/%3E%3C/g%3E%3C/svg%3E");
}
body { font-family: var(--body); color: var(--ink); background: var(--madhubani) center top / 120px 120px repeat, var(--paper); }
html[lang="en"] body { font-family: var(--latin); font-size: 19px; }
html[lang="en"] .couple .name, html[lang="en"] .gate-names, html[lang="en"] .cta-names { font-family: var(--latin); font-style: italic; font-weight: 600; }
html[lang="en"] .section-title, html[lang="en"] .gate-title, html[lang="en"] .title-script { font-family: var(--latin); font-weight: 600; }
html[lang="en"] .person h3, html[lang="en"] .event-title, html[lang="en"] .venue-name, html[lang="en"] .await,
html[lang="en"] .done-title, html[lang="en"] .vow b, html[lang="en"] .countdown-done { font-family: var(--latin); font-style: italic; font-weight: 600; }
html[lang="en"] .person h3, html[lang="en"] .await { font-size: 32px; }
.page { padding-bottom: 110px; }
section { scroll-margin-top: 24px; }

/* buttons */
.btn-gold { background: linear-gradient(135deg, #f4dfa4 0%, #d7b25c 45%, #b48a36 100%); color: var(--maroon-deep); border: 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 8px 20px -10px rgba(58, 8, 18, .6); }
.btn-gold:hover { background: linear-gradient(135deg, #f8e7b8 0%, #ddb966 45%, #bb9240 100%); }
.btn-maroon { background: linear-gradient(160deg, var(--maroon-2), var(--maroon)); color: var(--champagne); border: 1px solid rgba(201, 162, 74, .7); }
.btn-ghost { color: var(--maroon); border-color: var(--gold); background: rgba(255, 250, 240, .6); }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* section titles with a gold flourish */
.section-title { color: var(--maroon); }
.section-title::after { width: 140px; height: 18px; background: var(--flourish) center / 140px 18px no-repeat; border-radius: 0; }

/* royal cards: ivory, hairline gold, carved corners */
.card { background: var(--ivory); border: 1px solid var(--gold); border-radius: 18px;
  box-shadow: 0 18px 40px -26px rgba(58, 8, 18, .45); }
.card::before { border-color: var(--gold-soft); border-radius: 13px; }
.card::after { content: ""; position: absolute; inset: 10px; pointer-events: none;
  background: var(--c-tl) left top / 30px no-repeat, var(--c-tr) right top / 30px no-repeat, var(--c-bl) left bottom / 30px no-repeat, var(--c-br) right bottom / 30px no-repeat; }
.card > * { position: relative; z-index: 1; }

/* language bar */
.lang { background: rgba(255, 250, 240, .92); border-color: var(--gold); }
.lang button[aria-pressed="true"] { background: var(--maroon); color: var(--gold-soft); }

/* ---------- Cinematic gate ---------- */
.gate { background: radial-gradient(ellipse at 50% 42%, #6f1527 0%, #430a15 62%, #2a060c 100%); transition: opacity .9s ease; }
.gold-dust { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; }
.doors { position: absolute; inset: 0; z-index: 3; perspective: 1800px; pointer-events: none; }
.door {
  width: 50%; background:
    radial-gradient(circle, rgba(214, 178, 96, .55) 0 1.3px, transparent 1.9px) 0 0 / 22px 22px,
    linear-gradient(90deg, #44091a 0%, #6a1425 50%, #44091a 100%);
  transition: transform 1.9s cubic-bezier(.6, .02, .2, 1), filter 1.9s ease;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, .45);
}
.door-l { border-right: 2px solid var(--gold); }
.door-r { border-left: 2px solid var(--gold); }
.door::before { inset: 12px; background: none; border: 1.5px solid rgba(201, 162, 74, .8); border-radius: 4px;
  box-shadow: inset 0 0 0 5px rgba(58, 8, 18, .85), inset 0 0 0 6px rgba(201, 162, 74, .45); opacity: 0; transition: opacity 1s ease; }
.door::after { display: none; }
.panel { position: absolute; left: 15%; right: 15%; border: 1.5px solid var(--gold); background: rgba(0, 0, 0, .14);
  box-shadow: inset 0 0 0 6px rgba(58, 8, 18, .8), inset 0 0 0 7.5px rgba(201, 162, 74, .55);
  opacity: 0; transform: scale(.96); transition: opacity 1.1s ease, transform 1.4s var(--ease); display: grid; place-items: center; }
.panel-top { top: 8%; height: 46%; border-radius: 999px 999px 10px 10px; }
.panel-bot { bottom: 7%; height: 27%; border-radius: 10px; }
.medallion { width: 76%; max-width: 132px; overflow: visible; }
.medallion path, .medallion circle { fill: none; stroke: var(--gold); stroke-width: 1.3; }
.medallion .dot { fill: var(--gold); }
.ring { position: absolute; top: 52%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  border: 3px solid var(--gold); box-shadow: 0 0 10px rgba(201, 162, 74, .5); opacity: 0; transition: opacity 1s ease .6s; }
.ring::before { content: ""; position: absolute; left: 50%; top: -9px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--gold); }
.door-l .ring { right: 10px; } .door-r .ring { left: 10px; }
.gate.s2 .door::before, .gate.s2 .panel, .gate.s2 .ring { opacity: 1; transform: none; }
.gate.open .door-l { transform: rotateY(-106deg); filter: brightness(.7); }
.gate.open .door-r { transform: rotateY(106deg); filter: brightness(.7); }

/* choose sound, before the doors open */
.door-cta { position: absolute; z-index: 5; left: 50%; top: 64%; transform: translate(-50%, 16px);
  width: min(88vw, 340px); display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 18px 12px; border-radius: 22px; text-align: center;
  background: rgba(42, 6, 12, .78); border: 1px solid rgba(201, 162, 74, .6);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity .8s ease, transform .9s var(--ease); }
.gate.ask .door-cta { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.gate.open .door-cta { opacity: 0; pointer-events: none; transform: translate(-50%, 16px); }
.cta-names { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1.2; color: var(--gold-soft);
  display: flex; align-items: center; gap: 10px; }
.door-cta .btn { width: 100%; }
.link-btn { min-height: 44px; padding: 6px 12px; background: none; border: 0; color: var(--gold-soft); font-size: 15px;
  text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* the chamber behind the doors */
.chamber { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px 20px 60px; text-align: center; opacity: 0; transition: opacity 1.3s ease .4s, transform 1.1s var(--ease); }
.gate.open .chamber { opacity: 1; }
.chamber .ganesh-wrap { opacity: 0; transition: opacity .8s ease; }
.gate.chant .chamber .ganesh-wrap { opacity: 1; }
.gate-ganesh { width: min(46vw, 190px); }
.gate.unveil .gate-ganesh { width: min(30vw, 120px); }
.gate.unveil .mantra-text { opacity: 0; max-height: 0; margin: 0; }
.gate-title, .gate-names, .gate-to, .enter-btn { opacity: 0; transform: translateY(14px); transition: opacity .9s ease, transform 1s var(--ease); }
.gate-title { font-family: var(--display); font-size: clamp(38px, 11vw, 64px); color: var(--gold); margin-top: 10px;
  text-shadow: 0 0 18px rgba(201, 162, 74, .45); }
.gate-names { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 9.5vw, 54px); line-height: 1.25; color: var(--champagne);
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.gate.unveil .gate-title { opacity: 1; transform: none; }
.gate.unveil .gate-names { opacity: 1; transform: none; transition-delay: .45s; }
.gate.unveil .gate-to { opacity: 1; transform: none; transition-delay: .8s; }
.enter-btn { margin-top: 22px; min-height: 52px; padding: 12px 28px; font-size: 17px; letter-spacing: .02em; color: var(--maroon-deep);
  background: linear-gradient(135deg, #f4dfa4 0%, #d7b25c 45%, #b48a36 100%); border: 0; pointer-events: none; }
.gate.enter .enter-btn { opacity: 1; transform: none; pointer-events: auto; animation: royal-glow 2.4s ease-in-out .6s infinite; }
@keyframes royal-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(234, 214, 163, .0), 0 8px 22px -10px rgba(0, 0, 0, .6); }
  50% { box-shadow: 0 0 0 8px rgba(234, 214, 163, .14), 0 0 28px 4px rgba(234, 214, 163, .35); } }
.heart { width: .62em; height: .62em; flex: none; fill: #d9536b; stroke: var(--gold); stroke-width: 1.2; animation: beat 1.8s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.18); } 28% { transform: scale(1); } 42% { transform: scale(1.12); } }
.gate.leave { opacity: 0; pointer-events: none; }
.gate.leave .chamber { transform: scale(1.06); }
.skip-btn { top: max(14px, env(safe-area-inset-top)); bottom: auto; right: 14px; z-index: 6; }
.gate.s2 .skip-btn { opacity: 1; pointer-events: auto; transition-delay: .8s; }
.gate.leave .skip-btn { opacity: 0; pointer-events: none; }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero-dust { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero > :not(.hero-dust) { position: relative; z-index: 1; }
.hero > .couple-row { z-index: 3; }          /* bride and groom walk in front of the mandap */
.hero > .meet-stage { z-index: 1; }
.welcome { font-size: 15px; color: var(--muted); letter-spacing: .03em; margin-top: 4px; }
html[lang="en"] .welcome { font-style: italic; font-size: 18px; }
.title-script { color: var(--maroon-2); }
.cd-label { margin-top: 18px; font-size: 14px; color: var(--muted); letter-spacing: .06em; }
html[lang="en"] .cd-label { text-transform: uppercase; font-size: 13px; letter-spacing: .14em; }
.countdown { margin-top: 8px; grid-template-columns: repeat(4, minmax(64px, 76px)); gap: 8px; }
.countdown div { position: relative; overflow: hidden; border-radius: 16px; border: 1px solid rgba(201, 162, 74, .75);
  background: linear-gradient(165deg, rgba(116, 23, 42, .96), rgba(58, 8, 18, .96)); padding: 10px 0 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 12px 24px -16px rgba(58, 8, 18, .8); }
.countdown div::before { content: ""; position: absolute; inset: 0 0 55% 0; background: linear-gradient(180deg, rgba(255, 255, 255, .1), transparent); pointer-events: none; }
.countdown b { font-family: var(--latin); font-weight: 600; font-size: 32px; line-height: 1; letter-spacing: .02em;
  background: linear-gradient(180deg, #fbe7b0, #d7b25c 55%, #b48a36); -webkit-background-clip: text; background-clip: text; color: transparent; }
.countdown span { color: var(--gold-soft); margin-top: 4px; }
.countdown-done { font-size: 22px; color: var(--maroon); padding: 0 16px; line-height: 1.5; }

/* ---------- Invitation and family ---------- */
.shloka { color: var(--maroon); }
.invite-text strong { color: var(--maroon-2); }
.vineet { margin-top: 20px; text-align: center; }
.vineet-k { font-size: 14px; color: var(--gold); letter-spacing: .08em; }
.vineet-n { font-weight: 600; color: var(--maroon); font-size: 17px; }
.person { background: var(--ivory); border: 1px solid var(--gold); border-radius: 150px 150px 18px 18px; padding: 40px 20px 24px;
  box-shadow: inset 0 0 0 6px var(--ivory), inset 0 0 0 7px var(--gold-soft), 0 16px 34px -26px rgba(58, 8, 18, .5); }
.person .role { color: var(--gold); letter-spacing: .14em; }
.person .role::before, .person .role::after { content: " ✦ "; font-size: 10px; vertical-align: 2px; }
.person h3 { color: var(--maroon); }

/* ---------- Event cards ---------- */
.event-card { position: relative; background: var(--ivory); border: 1px solid var(--gold); padding-right: 78px;
  box-shadow: 0 14px 30px -24px rgba(58, 8, 18, .5); }
.timeline::before { background: repeating-linear-gradient(to bottom, var(--gold) 0 8px, transparent 8px 14px); }
.timeline::after { background: var(--maroon); }
.event::before { background: var(--gold); }
.event-title { color: var(--maroon); }
.event-date { color: var(--maroon-2); }
.ev-ico { position: absolute; top: 14px; right: 14px; width: 56px; height: 56px; border-radius: 50%;
  background: radial-gradient(circle, #fff7e4, #f3e5c3); border: 1px solid var(--gold); display: grid; place-items: center;
  box-shadow: inset 0 0 0 4px var(--ivory), inset 0 0 0 5px var(--gold-soft); }
.ev-ico svg { width: 40px; height: 40px; overflow: visible; }
.ev-ico path, .ev-ico ellipse, .ev-ico circle { fill: none; stroke: var(--maroon); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ev-ico .e-fill { fill: var(--gold); }
.ev-ico .e-fill2 { fill: #f0d9a8; }
.ev-ico .e-soil { fill: #8a5a2b; }
.ev-ico .e-leaf { stroke: #2f6b4f; fill: #6fa35a; }
.ev-ico .e-dots { stroke: #b8322a; stroke-width: 3.4; }
.ev-ico .e-stick { stroke: #8a5a2b; stroke-width: 3; }
.ev-ico .e-flame { fill: #f5b041; stroke: #b8322a; transform-box: fill-box; transform-origin: 50% 100%; }
.ev-ico .e-flame2 { fill: #fff3c4; stroke: none; transform-box: fill-box; transform-origin: 50% 100%; }
.event.in .ev-ico { animation: ico-in .8s var(--ease) .3s both; }
@keyframes ico-in { from { transform: scale(.6) rotate(-12deg); opacity: 0; } }
.event.in .ev-matkor .e-leaf { animation: sway 3s ease-in-out 1s infinite; transform-box: fill-box; transform-origin: 50% 100%; }
.event.in .ev-baraat svg { animation: dhol 2.6s ease-in-out 1s infinite; }
@keyframes dhol { 0%, 60%, 100% { transform: none; } 70% { transform: translateY(-2px) rotate(-3deg); } 80% { transform: translateY(0) rotate(2deg); } }
.event.in .ev-vivah .e-flame, .event.in .ev-vivah .e-flame2 { animation: flicker 1.3s ease-in-out infinite; }

/* ---------- Footer sharing ---------- */
.share-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 16px 0 4px; padding: 0 16px; }
.btn-wa { background: linear-gradient(160deg, var(--maroon-2), var(--maroon)); color: var(--champagne); border: 1px solid rgba(201, 162, 74, .7); }
.footer .btn { margin: 0; }
.music-pill { display: none !important; }

/* ---------- Dock ---------- */
.dock { position: fixed; z-index: 44; left: 50%; bottom: max(10px, env(safe-area-inset-bottom));
  display: flex; gap: 2px; padding: 5px; border-radius: 20px;
  background: rgba(46, 7, 15, .92); border: 1px solid rgba(201, 162, 74, .6);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transform: translate(-50%, 150%); transition: transform .55s var(--ease); max-width: calc(100vw - 20px); }
.dock.show { transform: translate(-50%, 0); }
.dock a, .dock button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-width: 58px; min-height: 50px; padding: 4px 6px; border-radius: 15px; border: 0; background: none; cursor: pointer;
  color: var(--gold-soft); font-size: 11.5px; line-height: 1.2; text-decoration: none; font-family: inherit;
  transition: background-color .3s var(--ease), color .3s var(--ease); }
.dock a:hover, .dock button:hover { background: rgba(201, 162, 74, .14); }
.dock svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dock #dock-music[aria-pressed="true"] { color: var(--gold); background: rgba(201, 162, 74, .16); }
.dock #dock-music[aria-pressed="true"] svg { animation: beat 1.8s ease-in-out infinite; }
@media (max-width: 359px) { .dock a, .dock button { min-width: 52px; font-size: 10.5px; } }

/* mandap canopy in royal maroon */
.md-roof { fill: var(--maroon-2); }

/* ---------- Reduced motion (applies to this layer too) ---------- */
@media (prefers-reduced-motion: reduce) {
  .door, .panel, .ring, .door-cta, .chamber, .gate-title, .gate-names, .gate-to, .enter-btn, .dock { transition: none !important; }
  .heart, .enter-btn, .ev-ico, .ev-ico *, .dock svg { animation: none !important; }
  .gold-dust, .hero-dust { display: none; }
}
