/* ════════════════════════════════════════════════════════════
   Shubh Vivah — invitation styles
   Palette: sindoor maroon, temple gold, ivory paper, marigold.
   ════════════════════════════════════════════════════════════ */

:root {
  --maroon-950: #1E050B;
  --maroon-900: #2C0811;
  --maroon-800: #4A0D16;
  --maroon-700: #6B1220;
  --sindoor: #B3202B;
  --gold: #C9A24B;
  --gold-l: #EBD18F;
  --gold-xl: #FFF1C1;
  --gold-d: #8E6A22;
  --ivory: #FBF5EA;
  --paper: #F5E9D3;
  --ink: #3A1A12;
  --ink-soft: #6E4A3A;
  --marigold: #F29F05;
  --marigold-d: #E2582B;
  --leaf: #3F6B2A;

  --serif: 'Cormorant Garamond', 'Tiro Devanagari Hindi', Georgia, serif;
  --script: 'Pinyon Script', 'Rozha One', cursive;
  --caps: 'Cinzel', 'Tiro Devanagari Hindi', serif;
  --deva: 'Tiro Devanagari Hindi', 'Cormorant Garamond', serif;
  --deva-display: 'Rozha One', 'Tiro Devanagari Hindi', serif;

  --radius: 22px;
  --shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 18px 40px -18px rgba(74,13,22,.35);
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2,.7,.1,1);
}

[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
html[data-lang="hi"] body { font-size: 18px; line-height: 1.75; }
body.is-locked { overflow: hidden; height: 100dvh; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--marigold); outline-offset: 3px; border-radius: 8px; }

/* gold foil text */
.foil {
  background: linear-gradient(100deg, #9C7428 0%, #F6E3A1 18%, #C9A24B 34%, #FFF1C1 50%, #B8892F 66%, #F6E3A1 82%, #9C7428 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: foil 7s linear infinite;
}
@keyframes foil { to { background-position: -250% 0; } }

/* ════════════ GATE ════════════ */
.gate {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background:
    radial-gradient(120% 70% at 50% 45%, rgba(255,190,90,.20), transparent 60%),
    radial-gradient(circle at 50% 120%, #6B1220, transparent 60%),
    var(--maroon-900);
  overflow: hidden;
  transition: opacity 1s ease 1.6s, visibility 0s linear 2.6s;
}
.gate::before { /* faint jaali lattice */
  content: ''; position: absolute; inset: 0; opacity: .14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23EBD18F' stroke-width='1'%3E%3Cpath d='M28 4 L52 28 L28 52 L4 28Z'/%3E%3Ccircle cx='28' cy='28' r='9'/%3E%3Cpath d='M28 19 Q34 28 28 37 Q22 28 28 19Z'/%3E%3C/g%3E%3C/svg%3E");
}
.gate__frame {
  position: relative;
  width: min(92vw, 500px);
  height: min(80dvh, 760px);
  margin-bottom: 40px;
  display: flex; flex-direction: column;
  perspective: 1800px;
}
.gate__arch { height: 13%; flex: none; }
.gate__arch svg { width: 100%; height: 100%; display: block; overflow: visible; }
.gate__doors {
  position: relative; flex: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  border: 3px solid var(--gold);
  border-top: 0;
  box-shadow: 0 0 0 6px rgba(201,162,75,.18), 0 40px 80px -20px #000;
  background: radial-gradient(60% 50% at 50% 50%, #FFE7A8, #F29F05 45%, #B3202B 100%);
}
.door {
  position: relative; z-index: 1;
  display: grid; grid-template-rows: 1fr 1.25fr 1fr; gap: 6%;
  padding: 9% 10%;
  background:
    linear-gradient(90deg, rgba(0,0,0,.25), transparent 12%, transparent 88%, rgba(0,0,0,.25)),
    radial-gradient(circle at 50% 45%, #FFF1C1 0 1.2px, #C9A24B 1.8px, #6B4A12 2.6px, transparent 3.2px) 0 0 / 24px 24px,
    repeating-linear-gradient(180deg, rgba(255,255,255,.025) 0 2px, transparent 2px 7px),
    linear-gradient(160deg, #7A1626, #4A0D16 55%, #3A0911);
  transition: transform 1.9s cubic-bezier(.7,0,.2,1) .35s;
  backface-visibility: hidden;
  box-shadow: inset 0 0 0 2px rgba(201,162,75,.65), inset 0 0 0 7px rgba(74,13,22,1), inset 0 0 0 8px rgba(201,162,75,.4);
}
.door--left { transform-origin: left center; }
.door--right { transform-origin: right center; }
.door__panel {
  border: 1.5px solid rgba(235,209,143,.7);
  border-radius: 999px 999px 6px 6px;
  background:
    radial-gradient(circle at 50% 40%, rgba(235,209,143,.18), transparent 60%),
    linear-gradient(160deg, #6B1220, #4A0D16 60%, #3A0911);
  box-shadow: inset 0 0 0 5px rgba(74,13,22,.9), inset 0 0 0 6px rgba(235,209,143,.35);
  display: grid; place-items: center;
}
.door__panel--bottom { border-radius: 6px; }
.door__lotus {
  width: 46%; aspect-ratio: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23EBD18F' stroke-width='2.2'%3E%3Cpath d='M50 18 C62 34 62 54 50 70 C38 54 38 34 50 18Z'/%3E%3Cpath d='M50 70 C40 52 24 46 12 48 C20 62 34 70 50 70Z'/%3E%3Cpath d='M50 70 C60 52 76 46 88 48 C80 62 66 70 50 70Z'/%3E%3Cpath d='M50 70 C44 56 30 38 22 34 C22 52 34 66 50 70Z'/%3E%3Cpath d='M50 70 C56 56 70 38 78 34 C78 52 66 66 50 70Z'/%3E%3Cpath d='M20 78 Q50 70 80 78'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
  opacity: .9;
}
.door__ring {
  position: absolute; top: 50%; width: 26px; height: 26px; margin-top: -13px;
  border: 3px solid var(--gold); border-radius: 50%;
  box-shadow: 0 3px 6px rgba(0,0,0,.5), inset 0 0 0 2px rgba(0,0,0,.25);
}
.door__ring::before { content: ''; position: absolute; left: 50%; top: -9px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--gold); }
.door--left .door__ring { right: 8px; }
.door--right .door__ring { left: 8px; }

.gate__seal {
  position: absolute; z-index: 3; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 24px; text-align: center;
  color: var(--gold-l);
  transition: opacity .5s ease, transform .6s var(--ease);
  pointer-events: none;
}
.gate__seal > * { pointer-events: auto; }
.gate__ganesh {
  margin: 0; font-family: var(--deva); font-size: 16px; letter-spacing: .04em;
  color: var(--gold-l); text-shadow: 0 2px 8px #000;
  padding: 6px 14px; border-radius: 999px; background: rgba(30,5,11,.65);
}
.gate__mono {
  width: clamp(150px, 42vw, 190px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background:
    radial-gradient(circle, #6B1220 55%, transparent 56%),
    conic-gradient(from 0deg, #9C7428, #F6E3A1, #C9A24B, #FFF1C1, #9C7428, #F6E3A1, #C9A24B, #FFF1C1, #9C7428);
  box-shadow: 0 0 0 2px rgba(0,0,0,.4), 0 20px 50px -10px rgba(0,0,0,.8), 0 0 60px rgba(242,159,5,.35);
  position: relative;
}
.gate__mono::before {
  content: ''; position: absolute; inset: 9%; border-radius: 50%;
  border: 1px dashed rgba(235,209,143,.6);
}
.gate__mono span {
  font-family: var(--script); font-size: clamp(40px, 12vw, 54px); line-height: 1;
  background: linear-gradient(120deg, #C9A24B, #FFF1C1 45%, #C9A24B 70%, #F6E3A1);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: 0 .1em;
}
.gate__to {
  margin: 4px 0 0; min-height: 1.4em; font-size: 18px; font-style: italic;
  color: var(--gold-xl); text-shadow: 0 2px 10px #000;
  padding: 4px 14px; border-radius: 999px; background: rgba(30,5,11,.55);
}
.gate__to:empty { display: none; }
.gate__btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 26px 0 18px;
  border: 0; border-radius: 999px;
  font-family: var(--caps); font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--maroon-900);
  background: linear-gradient(120deg, #C9A24B, #FFF1C1 40%, #E9C873 60%, #B8892F);
  box-shadow: 0 10px 30px -6px rgba(242,159,5,.7), 0 0 0 1px rgba(255,255,255,.4) inset;
  animation: breathe 2.6s ease-in-out infinite;
}
html[data-lang="hi"] .gate__btn { font-family: var(--deva); letter-spacing: .02em; font-size: 18px; text-transform: none; }
@keyframes breathe { 50% { transform: scale(1.04); box-shadow: 0 14px 40px -6px rgba(242,159,5,.95), 0 0 0 1px rgba(255,255,255,.4) inset; } }
.gate__btn-diya {
  width: 22px; height: 22px; position: relative;
}
.gate__btn-diya::before { /* bowl */
  content: ''; position: absolute; left: 1px; right: 1px; bottom: 2px; height: 8px;
  background: var(--maroon-700); border-radius: 0 0 12px 12px;
}
.gate__btn-diya::after { /* flame */
  content: ''; position: absolute; left: 50%; bottom: 9px; width: 8px; height: 12px; margin-left: -4px;
  background: radial-gradient(circle at 50% 70%, #FFF7C2, #F29F05 60%, #B3202B);
  border-radius: 50% 50% 50% 50% / 65% 65% 35% 35%;
  animation: flicker 1.2s ease-in-out infinite alternate;
  transform-origin: 50% 100%;
}
@keyframes flicker { 0% { transform: scale(1) rotate(-3deg); } 50% { transform: scale(1.1, .92) rotate(2deg); } 100% { transform: scale(.94, 1.08) rotate(-1deg); } }
.gate__hint { margin: 0; font-size: 14px; font-style: italic; color: rgba(235,209,143,.75); text-shadow: 0 2px 6px #000; }

.gate__lang {
  position: absolute; bottom: max(14px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); z-index: 4;
  display: flex; gap: 6px; padding: 4px; border-radius: 999px;
  background: rgba(30,5,11,.6); border: 1px solid rgba(201,162,75,.35);
}
.pill-toggle {
  min-height: 36px; padding: 0 14px; border-radius: 999px; border: 0;
  background: transparent; color: var(--gold-l); font-size: 15px;
}
.pill-toggle.is-on { background: var(--gold); color: var(--maroon-900); font-weight: 600; }

/* toran — marigold strings */
.gate__toran {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5; height: 0;
  display: flex; justify-content: space-around; align-items: flex-start; pointer-events: none;
}
.gate__toran::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 10px;
  background: repeating-linear-gradient(90deg, #3F6B2A 0 14px, #5B8C35 14px 28px);
  box-shadow: 0 2px 6px rgba(0,0,0,.5);
}
.strand {
  display: flex; flex-direction: column; align-items: center;
  transform-origin: 50% 0;
  padding-top: 8px;
  animation: sway 4s ease-in-out infinite alternate;
  filter: drop-shadow(0 4px 4px rgba(0,0,0,.45));
}
.strand i {
  flex: none;
  width: 15px; height: 15px; margin-top: -3px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #FFD36A, #F29F05 55%, #C35F00);
  box-shadow: inset 0 -2px 3px rgba(0,0,0,.25);
}
.strand i:nth-child(3n) { background: radial-gradient(circle at 40% 35%, #FFF1A6, #F6C915 55%, #C79400); }
.strand i.leaf {
  width: 14px; height: 22px; border-radius: 0 100% 0 100%;
  background: linear-gradient(135deg, #6FA33F, #2F5A1F); transform: rotate(45deg); margin-top: 0;
}
@keyframes sway { from { transform: rotate(-2.5deg); } to { transform: rotate(2.5deg); } }

/* gate opening */
.gate.is-opening .gate__seal { opacity: 0; transform: scale(.9); pointer-events: none; }
.gate.is-opening .gate__seal > * { pointer-events: none; }
.gate.is-opening .door--left { transform: rotateY(-108deg); }
.gate.is-opening .door--right { transform: rotateY(108deg); }
.gate.is-opening .gate__frame { animation: approach 2.6s cubic-bezier(.5,0,.2,1) forwards; }
.gate.is-opening { opacity: 0; visibility: hidden; }
.gate.is-opening .gate__lang { opacity: 0; transition: opacity .3s; }
@keyframes approach { 0% { transform: scale(1); } 100% { transform: scale(1.9); } }
.gate.is-gone { display: none; }

/* ════════════ PETALS / HUD / DOCK ════════════ */
.petals { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 120; pointer-events: none; }

.hud {
  position: fixed; z-index: 130; top: max(12px, env(safe-area-inset-top)); right: 12px;
  display: flex; gap: 8px;
  opacity: 0; transform: translateY(-10px); transition: .5s var(--ease);
  pointer-events: none;
}
body.is-open .hud { opacity: 1; transform: none; pointer-events: auto; }
.hud__btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(201,162,75,.6);
  background: rgba(44,8,17,.78); color: var(--gold-l);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px -8px rgba(0,0,0,.5);
}
.hud__btn--lang { font-family: var(--deva); font-size: 17px; }
.hud__eq { display: flex; align-items: flex-end; gap: 3px; height: 16px; }
.hud__eq i { width: 3px; height: 4px; background: var(--gold-l); border-radius: 2px; }
.hud__btn[aria-pressed="true"] .hud__eq i { animation: eq .9s ease-in-out infinite alternate; }
.hud__btn[aria-pressed="true"] .hud__eq i:nth-child(2) { animation-delay: -.3s; }
.hud__btn[aria-pressed="true"] .hud__eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes eq { from { height: 3px; } to { height: 16px; } }

.dock {
  position: fixed; z-index: 130; left: 50%; bottom: max(12px, env(safe-area-inset-bottom));
  transform: translate(-50%, 140%);
  display: flex; gap: 2px; padding: 6px;
  border-radius: 999px;
  background: rgba(44,8,17,.86);
  border: 1px solid rgba(201,162,75,.45);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.6);
  transition: transform .6s var(--ease);
}
body.is-open .dock { transform: translate(-50%, 0); }
.dock a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-width: 64px; min-height: 48px; padding: 4px 10px; border-radius: 999px;
  color: var(--gold-l); text-decoration: none; font-family: var(--caps); font-size: 10.5px; letter-spacing: .08em;
}
html[data-lang="hi"] .dock a { font-family: var(--deva); font-size: 12.5px; letter-spacing: 0; }
.dock a.is-active { background: rgba(201,162,75,.18); color: var(--gold-xl); }
.dock__rsvp { background: linear-gradient(120deg, #C9A24B, #F6E3A1 50%, #C9A24B) !important; color: var(--maroon-900) !important; font-weight: 700; }
.ic { width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--m) center/contain no-repeat; mask: var(--m) center/contain no-repeat; }
.ic--home { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V11a8 8 0 0 1 16 0v10'/%3E%3Cpath d='M9 21v-6a3 3 0 0 1 6 0v6'/%3E%3Cpath d='M12 3V1'/%3E%3C/svg%3E"); }
.ic--events { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3Ccircle cx='12' cy='15' r='2'/%3E%3C/svg%3E"); }
.ic--venue { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M12 22s7-6.2 7-12a7 7 0 0 0-14 0c0 5.8 7 12 7 12Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.ic--rsvp { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18v12H3z'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }

.toast {
  position: fixed; z-index: 140; left: 50%; bottom: 96px; transform: translate(-50%, 20px);
  max-width: calc(100vw - 32px);
  padding: 12px 20px; border-radius: 999px;
  background: var(--maroon-900); color: var(--gold-xl); font-size: 16px;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.5);
  opacity: 0; pointer-events: none; transition: .35s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ════════════ SHARED SECTION BITS ════════════ */
main { position: relative; }
main > section {
  position: relative;
  padding: clamp(80px, 12vw, 140px) var(--gutter);
  text-align: center;
}
.eyebrow {
  margin: 0 0 10px;
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--caps); font-size: 13px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold-d);
}
html[data-lang="hi"] .eyebrow { font-family: var(--deva); letter-spacing: .06em; font-size: 16px; }
.eyebrow::before, .eyebrow::after { content: ''; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, currentColor); }
.eyebrow::after { transform: scaleX(-1); }
.title {
  margin: 0 auto 18px; max-width: 18ch;
  font-weight: 600; font-size: clamp(36px, 7vw, 62px); line-height: 1.08;
  color: var(--maroon-800);
}
html[data-lang="hi"] .title { font-family: var(--deva-display); font-weight: 400; line-height: 1.3; }
.title::after {
  content: ''; display: block; width: 120px; height: 18px; margin: 16px auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 18'%3E%3Cg fill='none' stroke='%23C9A24B' stroke-width='1.3'%3E%3Cpath d='M0 9h44M76 9h44'/%3E%3Cpath d='M60 1 L68 9 L60 17 L52 9Z'/%3E%3Ccircle cx='60' cy='9' r='2.4' fill='%23C9A24B'/%3E%3Ccircle cx='47' cy='9' r='1.6' fill='%23C9A24B'/%3E%3Ccircle cx='73' cy='9' r='1.6' fill='%23C9A24B'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
}
.title--light { color: var(--gold-xl); }

/* content rests visible; it rises in only as it scrolls into view */
.reveal.is-in { animation: rise .9s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font-family: var(--caps); font-size: 13.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s;
}
html[data-lang="hi"] .btn { font-family: var(--deva); font-size: 16px; letter-spacing: .01em; text-transform: none; font-weight: 400; }
.btn:active { transform: scale(.97); }
.btn--gold { color: var(--maroon-900); background: linear-gradient(120deg, #C9A24B, #FFF1C1 45%, #D9B45E 65%, #B8892F); box-shadow: 0 10px 24px -10px rgba(142,106,34,.8); }
.btn--maroon { color: var(--gold-xl); background: linear-gradient(160deg, var(--sindoor), var(--maroon-800)); box-shadow: 0 12px 26px -12px rgba(74,13,22,.9); }
.btn--ghost { color: var(--maroon-800); border-color: rgba(142,106,34,.55); background: transparent; }
.btn--ghost-light { color: var(--gold-l); border-color: rgba(235,209,143,.5); background: transparent; }
.btn--block { width: 100%; }
.round-btn {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 24px; line-height: 1;
  border: 1px solid rgba(142,106,34,.5); background: var(--ivory); color: var(--maroon-800);
}

/* ════════════ HERO ════════════ */
.hero {
  min-height: 100dvh;
  display: grid; place-items: center;
  color: var(--gold-l);
  background:
    radial-gradient(90% 60% at 50% 40%, rgba(242,159,5,.18), transparent 65%),
    radial-gradient(circle at 50% 120%, var(--maroon-700), transparent 60%),
    linear-gradient(180deg, var(--maroon-950), var(--maroon-800) 60%, var(--maroon-700));
  overflow: hidden;
  padding-top: 90px !important;
}
.hero::after { /* scalloped bottom edge into ivory */
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 26px;
  background: radial-gradient(circle at 13px 0, transparent 12px, var(--ivory) 13px) 0 0/26px 26px repeat-x;
}
.hero__mandala {
  position: absolute; left: 50%; top: 46%;
  width: min(140vw, 900px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  opacity: .22;
  animation: spin 140s linear infinite;
  pointer-events: none;
}
.hero__mandala svg { width: 100%; height: 100%; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.hero__inner { position: relative; max-width: 760px; }
.hero__ganesh { margin: 0; font-family: var(--deva); font-size: clamp(18px, 4vw, 22px); color: var(--gold-xl); letter-spacing: .03em; }
.hero__shloka { margin: 8px auto 0; max-width: 34ch; font-family: var(--deva); font-size: 15px; font-style: italic; color: rgba(235,209,143,.72); line-height: 1.7; white-space: pre-line; }
.hero__dear { margin: 8px 0 0; font-size: 21px; font-style: italic; color: var(--gold-xl); min-height: 1em; }
.hero__dear:empty { display: none; }
.hero__lead { margin: 10px auto 0; max-width: 38ch; font-size: 18px; color: rgba(251,245,234,.82); }
.hero__names {
  margin: 18px 0 10px; font-weight: 400;
  display: flex; flex-direction: column; align-items: center;
  font-family: var(--script); font-size: clamp(72px, 19vw, 150px); line-height: .95;
}
html[data-lang="hi"] .hero__names { font-size: clamp(60px, 15vw, 118px); line-height: 1.25; }
.hero__names .foil { padding: 0 .12em; }
.hero__amp { display: grid; place-items: center; margin: 2px 0; }
.knot {
  width: 64px; height: 26px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 26'%3E%3Cg fill='none' stroke='%23E94B3C' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M2 13 C14 13 18 4 26 6 C34 8 30 20 38 20 C46 20 50 13 62 13'/%3E%3Cpath d='M2 15 C14 15 18 22 26 20 C34 18 30 6 38 6 C46 6 50 15 62 15' stroke='%23F6C915'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
}
.hero__date {
  display: inline-grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px;
  margin-top: 12px;
  font-family: var(--caps); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-l);
}
html[data-lang="hi"] .hero__date { font-family: var(--deva); letter-spacing: .03em; font-size: 16px; }
.hero__date > span:first-child { text-align: right; }
.hero__date > span:last-child { text-align: left; }
.hero__date-big {
  font-family: var(--serif); font-size: 40px; letter-spacing: .04em; color: var(--gold-xl);
  padding: 2px 16px; border-left: 1px solid rgba(201,162,75,.6); border-right: 1px solid rgba(201,162,75,.6);
}
.hero__scroll {
  display: flex; width: fit-content; flex-direction: column; align-items: center; gap: 8px;
  margin: 34px auto 0; text-decoration: none; font-size: 15px; font-style: italic; color: rgba(235,209,143,.8);
}
.hero__scroll i { width: 22px; height: 36px; border: 1.5px solid currentColor; border-radius: 12px; position: relative; }
.hero__scroll i::after { content: ''; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: currentColor; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 60% { transform: translateY(10px); opacity: 0; } 61% { transform: none; opacity: 0; } 100% { opacity: 1; } }

/* ════════════ COUNTDOWN ════════════ */
.countdown {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23C9A24B' stroke-opacity='.16'%3E%3Ccircle cx='40' cy='40' r='14'/%3E%3Cpath d='M40 18 Q48 40 40 62 Q32 40 40 18Z M18 40 Q40 32 62 40 Q40 48 18 40Z'/%3E%3C/g%3E%3C/svg%3E"),
    var(--ivory);
}
.cd {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 2.5vw, 22px);
  max-width: 620px; margin: 22px auto 0;
}
.cd__cell {
  position: relative;
  padding: 26px 4px 16px;
  border-radius: 999px 999px 16px 16px;
  background: linear-gradient(180deg, var(--maroon-700), var(--maroon-900));
  box-shadow: 0 0 0 1.5px var(--gold), 0 0 0 5px var(--ivory), 0 0 0 6px rgba(201,162,75,.5), 0 20px 30px -16px rgba(74,13,22,.7);
  color: var(--gold-xl);
}
.cd__cell::before { content: ''; position: absolute; top: 9px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--marigold); }
.cd__num { display: block; font-size: clamp(30px, 8vw, 54px); font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cd__lbl { display: block; margin-top: 4px; font-family: var(--caps); font-size: clamp(9px, 2.4vw, 12px); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-l); }
html[data-lang="hi"] .cd__lbl { font-family: var(--deva); letter-spacing: 0; font-size: clamp(12px, 3vw, 15px); }
.cd__muhurat { margin: 26px auto 0; max-width: 40ch; font-style: italic; color: var(--ink-soft); }

/* ════════════ COUPLE ════════════ */
.couple { background: linear-gradient(180deg, var(--ivory), var(--paper)); }
.couple__grid {
  display: grid; grid-template-columns: 1fr; gap: 26px;
  max-width: 900px; margin: 30px auto 0; align-items: center;
}
@media (min-width: 720px) { .couple__grid { grid-template-columns: 1fr auto 1fr; } }
.person { display: flex; flex-direction: column; align-items: center; }
.arch {
  position: relative; width: min(74vw, 300px); aspect-ratio: 3 / 4;
  border-radius: 999px 999px 18px 18px;
  padding: 10px;
  background: linear-gradient(140deg, #9C7428, #FFF1C1 30%, #C9A24B 55%, #F6E3A1 80%, #9C7428);
  box-shadow: 0 30px 50px -24px rgba(74,13,22,.6);
}
.arch__in {
  width: 100%; height: 100%; overflow: hidden;
  border-radius: 999px 999px 12px 12px;
  display: grid; place-items: center;
  position: relative;
}
.arch__in img { width: 100%; height: 100%; object-fit: cover; }
.arch__art { position: absolute; inset: 0; }
.arch__art svg { width: 100%; height: 100%; display: block; }
.arch__letter { position: relative; font-family: var(--script); font-size: 120px; line-height: 1; color: rgba(255,241,193,.92); text-shadow: 0 4px 20px rgba(0,0,0,.35); }
.arch__hint { position: absolute; bottom: 14px; left: 0; right: 0; font-size: 13px; font-style: italic; color: rgba(255,241,193,.85); }
.person__name { margin: 20px 0 4px; font-size: 30px; font-weight: 600; color: var(--maroon-800); }
html[data-lang="hi"] .person__name { font-family: var(--deva-display); font-weight: 400; }
.person__parents { margin: 0; max-width: 28ch; color: var(--ink-soft); }
.person__city { margin: 6px 0 0; font-family: var(--caps); font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: var(--gold-d); }
html[data-lang="hi"] .person__city { font-family: var(--deva); letter-spacing: 0; font-size: 15px; }
.couple__weds {
  font-family: var(--script); font-size: 54px; color: var(--sindoor); line-height: 1;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
html[data-lang="hi"] .couple__weds { font-family: var(--deva-display); font-size: 40px; }
.couple__weds::before, .couple__weds::after { content: ''; width: 1px; height: 36px; background: linear-gradient(transparent, var(--gold)); }
.couple__weds::after { transform: scaleY(-1); }

/* ════════════ STORY ════════════ */
.story { background: var(--paper); }
.story__list {
  list-style: none; margin: 30px auto 0; padding: 0; max-width: 680px;
  position: relative; text-align: left;
}
.story__list::before {
  content: ''; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(var(--gold), rgba(201,162,75,.15));
}
.story__item { position: relative; padding: 0 0 30px 64px; }
.story__dot {
  position: absolute; left: 6px; top: 2px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--maroon-800); color: var(--gold-l); font-size: 15px;
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--gold);
}
.story__when { margin: 0; font-family: var(--caps); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-d); }
html[data-lang="hi"] .story__when { font-family: var(--deva); letter-spacing: 0; font-size: 15px; }
.story__title { margin: 2px 0 6px; font-size: 26px; font-weight: 600; color: var(--maroon-800); line-height: 1.2; }
html[data-lang="hi"] .story__title { font-family: var(--deva-display); font-weight: 400; }
.story__text { margin: 0; color: var(--ink-soft); }

/* ════════════ EVENTS ════════════ */
.events { background: var(--ivory); }
.events__days {
  position: sticky; top: calc(max(12px, env(safe-area-inset-top)) + 54px); z-index: 20;
  display: flex; justify-content: center; gap: 8px; flex-wrap: wrap;
  margin: 10px auto 30px; padding: 6px; width: fit-content; max-width: 100%;
  border-radius: 999px; background: rgba(251,245,234,.9);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0 0 1px rgba(201,162,75,.4), 0 10px 20px -14px rgba(74,13,22,.5);
}
.events__days a {
  min-height: 40px; padding: 0 16px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none; font-size: 16px; color: var(--maroon-800);
}
.events__days a b { font-weight: 600; }
.events__days a.is-active { background: var(--maroon-800); color: var(--gold-xl); }
.events__list { max-width: 760px; margin: 0 auto; display: grid; gap: 30px; text-align: left; }
.day-head {
  display: flex; align-items: baseline; gap: 14px; margin: 18px 4px -10px;
  scroll-margin-top: 80px;
}
.day-head__num { font-size: 56px; font-weight: 600; line-height: 1; color: var(--maroon-800); }
.day-head__txt { display: grid; font-family: var(--caps); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-d); line-height: 1.5; }
.day-head__txt b { font-family: var(--serif); font-size: 24px; letter-spacing: 0; text-transform: none; color: var(--maroon-800); font-weight: 600; }
html[data-lang="hi"] .day-head__txt { font-family: var(--deva); letter-spacing: 0; font-size: 15px; }
html[data-lang="hi"] .day-head__txt b { font-family: var(--deva-display); font-weight: 400; font-size: 22px; }
.day-head--pre .day-head__num { color: #B76E79; }
.day-note { margin: -8px 4px 0; font-style: italic; color: var(--ink-soft); font-size: 17px; }
.day-head::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); align-self: center; }

.ev {
  --ev-bg: #FFF; --ev-ink: var(--ink); --ev-soft: var(--ink-soft); --ev-acc: var(--gold-d); --ev-line: rgba(0,0,0,.12);
  position: relative; overflow: hidden;
  border-radius: 26px;
  background: var(--ev-bg);
  color: var(--ev-ink);
  padding: 26px 22px 22px;
  box-shadow: 0 30px 50px -30px rgba(40,10,10,.6);
  isolation: isolate;
}
.ev::before { /* ornamental inner border */
  content: ''; position: absolute; inset: 8px; border-radius: 20px;
  border: 1px solid var(--ev-line); pointer-events: none;
}
.ev__art { position: absolute; z-index: -1; right: -30px; top: -26px; width: 150px; height: 150px; opacity: .55; }
.ev__top { display: flex; gap: 14px; align-items: center; padding-right: 40px; }
@media (min-width: 640px) { .ev__art { width: 200px; height: 200px; opacity: .9; right: -20px; top: -20px; } .ev__top { padding-right: 140px; } }
.ev__time {
  flex: none; width: 74px; height: 74px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  border: 1.5px solid var(--ev-acc); color: var(--ev-ink);
  background: rgba(255,255,255,.18);
}
.ev__time b { font-size: 24px; line-height: 1; font-weight: 600; }
.ev__time small { font-family: var(--caps); font-size: 10px; letter-spacing: .14em; }
.ev__name { margin: 0; font-size: clamp(28px, 6vw, 38px); font-weight: 600; line-height: 1.05; }
html[data-lang="hi"] .ev__name { font-family: var(--deva-display); font-weight: 400; line-height: 1.3; }
.ev__tag { margin: 4px 0 0; font-style: italic; color: var(--ev-soft); line-height: 1.35; }
.ev__meta { list-style: none; margin: 20px 0 0; padding: 16px 0 0; border-top: 1px dashed var(--ev-line); display: grid; gap: 10px; }
.ev__meta li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.4; }
.ev__meta .ic { flex: none; margin-top: 2px; color: var(--ev-acc); }
.ic--clock { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.ic--dress { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M9 3h6l-1 4 5 14H5l5-14z'/%3E%3C/svg%3E"); }
.swatches { display: flex; gap: 6px; margin-top: 8px; }
.swatches i { width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,255,255,.7), 0 2px 6px rgba(0,0,0,.25); }
.ev__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.ev__btn {
  min-height: 44px; padding: 0 16px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--ev-acc); background: transparent; color: var(--ev-ink);
  font-size: 16px; text-decoration: none; list-style: none;
}
.ev__btn::-webkit-details-marker { display: none; }
.ev__btn--fill { background: var(--ev-acc); color: var(--ev-bg-solid, #fff); border-color: transparent; }
.cal { position: relative; }
.cal[open] > .ev__btn { box-shadow: 0 0 0 3px rgba(255,255,255,.35); }
.cal__menu {
  position: absolute; z-index: 5; left: 0; bottom: calc(100% + 8px);
  min-width: 210px; padding: 6px; border-radius: 16px;
  background: #fff; color: var(--ink);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,.4);
  display: grid;
}
.cal__menu a { display: block; padding: 12px 14px; border-radius: 10px; text-decoration: none; font-size: 16px; }
.cal__menu a:hover, .cal__menu a:focus-visible { background: var(--paper); }

.ev--haldi { --ev-bg: radial-gradient(120% 90% at 100% 0%, #FFE680, #FFF6CF 55%, #FFF9E4); --ev-ink: #4A2E00; --ev-soft: #7A5508; --ev-acc: #C77800; --ev-line: rgba(199,120,0,.35); --ev-bg-solid: #FFF6CF; }
.ev--mehendi { --ev-bg: radial-gradient(120% 90% at 100% 0%, #C7D99A, #EEF3DD 55%, #F7F9EE); --ev-ink: #1F3215; --ev-soft: #456230; --ev-acc: #4F6B2B; --ev-line: rgba(79,107,43,.35); --ev-bg-solid: #F7F9EE; }
.ev--sangeet { --ev-bg: radial-gradient(120% 90% at 100% 0%, #8A3FA8, #4B1D6B 50%, #2A0F3E); --ev-ink: #FBEFFF; --ev-soft: #E3C8F0; --ev-acc: #F2B5DD; --ev-line: rgba(242,181,221,.35); --ev-bg-solid: #2A0F3E; }
.ev--baraat { --ev-bg: radial-gradient(120% 90% at 100% 0%, #FFB36B, #FFE1C4 55%, #FFF1E3); --ev-ink: #4D1600; --ev-soft: #8A3A12; --ev-acc: #C2410C; --ev-line: rgba(194,65,12,.3); --ev-bg-solid: #FFF1E3; }
.ev--phere { --ev-bg: radial-gradient(120% 90% at 100% 0%, #B3202B, #6B1220 50%, #3A0911); --ev-ink: #FFF1DD; --ev-soft: #F2CFA9; --ev-acc: #EBD18F; --ev-line: rgba(235,209,143,.4); --ev-bg-solid: #3A0911; }
.ev--reception { --ev-bg: radial-gradient(120% 90% at 100% 0%, #2E5597, #172B52 50%, #0B1630); --ev-ink: #F1F4FB; --ev-soft: #C4CFE6; --ev-acc: #EBD18F; --ev-line: rgba(235,209,143,.35); --ev-bg-solid: #0B1630; }

/* ════════════ SAAT PHERE ════════════ */
.phere {
  color: var(--gold-l);
  background:
    radial-gradient(1.5px 1.5px at 12% 18%, #fff, transparent),
    radial-gradient(1px 1px at 28% 72%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 44% 34%, #FFF1C1, transparent),
    radial-gradient(1px 1px at 63% 12%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 78% 58%, #fff, transparent),
    radial-gradient(1px 1px at 88% 26%, #FFF1C1, transparent),
    radial-gradient(1px 1px at 8% 88%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 52% 90%, #fff, transparent),
    radial-gradient(70% 50% at 50% 60%, rgba(242,159,5,.22), transparent 70%),
    linear-gradient(180deg, #12030A, var(--maroon-900) 50%, #12030A);
}
.phere .eyebrow { color: var(--gold); }
.phere__intro { max-width: 46ch; margin: 0 auto; color: rgba(251,245,234,.78); }
.phere__stage {
  display: grid; gap: 26px; align-items: center;
  max-width: 880px; margin: 34px auto 0;
}
@media (min-width: 760px) { .phere__stage { grid-template-columns: 1fr 1fr; } }
.phere__ring { width: min(84vw, 340px); margin: 0 auto; overflow: visible; }
.phere__path { fill: none; stroke: rgba(235,209,143,.25); stroke-width: 1.5; stroke-dasharray: 3 6; }
.phere__progress { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 150px 150px; transition: stroke-dashoffset .9s var(--ease); filter: drop-shadow(0 0 6px rgba(242,159,5,.8)); }
.phere__dot { fill: var(--maroon-900); stroke: rgba(235,209,143,.6); stroke-width: 1.5; cursor: pointer; transition: fill .3s; }
.phere__dot.is-done { fill: var(--gold); }
.phere__dot-num { font-family: var(--caps); font-size: 11px; fill: var(--gold-l); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.phere__dot.is-done + .phere__dot-num { fill: var(--maroon-900); }
.kund { fill: #6B1220; stroke: var(--gold); stroke-width: 1.5; }
.kund--rim { fill: #8E6A22; }
.flame { transform-origin: 150px 180px; animation: fire 1.4s ease-in-out infinite alternate; filter: drop-shadow(0 0 16px rgba(242,159,5,.9)); }
@keyframes fire { 0% { transform: scale(1, 1) skewX(0); } 33% { transform: scale(.94, 1.06) skewX(2deg); } 66% { transform: scale(1.04, .96) skewX(-2deg); } 100% { transform: scale(.98, 1.04) skewX(1deg); } }
.phere__couple { transition: transform 1s var(--ease); }
.pc--a { fill: var(--sindoor); stroke: var(--gold-xl); stroke-width: 2; }
.pc--b { fill: #F6C915; stroke: var(--gold-xl); stroke-width: 2; }
.pc__thread { stroke: var(--gold-xl); stroke-width: 2; }
.phere__card {
  text-align: left; padding: 28px 24px; border-radius: 24px;
  background: linear-gradient(160deg, rgba(107,18,32,.6), rgba(44,8,17,.6));
  border: 1px solid rgba(235,209,143,.35);
  backdrop-filter: blur(6px);
  min-height: 300px; display: flex; flex-direction: column;
}
.phere__num { margin: 0; font-family: var(--caps); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
html[data-lang="hi"] .phere__num { font-family: var(--deva); letter-spacing: .02em; font-size: 16px; }
.phere__title { margin: 8px 0 10px; font-size: 32px; font-weight: 600; line-height: 1.15; color: var(--gold-xl); }
html[data-lang="hi"] .phere__title { font-family: var(--deva-display); font-weight: 400; line-height: 1.35; }
.phere__text { margin: 0; color: rgba(251,245,234,.85); flex: 1; }
.phere__ctrl { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.phere__ctrl .round-btn { background: transparent; color: var(--gold-l); border-color: rgba(235,209,143,.5); }
.phere__count { font-variant-numeric: tabular-nums; color: var(--gold-l); }
.phere__card.is-swap .phere__title, .phere__card.is-swap .phere__text { animation: swap .6s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(10px); } }

/* ════════════ FAMILY ════════════ */
.family { background: var(--ivory); }
.family__grid { display: grid; gap: 20px; max-width: 980px; margin: 30px auto 0; }
@media (min-width: 820px) { .family__grid { grid-template-columns: repeat(3, 1fr); } }
.fam {
  position: relative; padding: 34px 24px 28px; border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow), 0 0 0 1px rgba(201,162,75,.35);
}
.fam::before {
  content: ''; position: absolute; top: -18px; left: 50%; width: 36px; height: 36px; margin-left: -18px;
  border-radius: 50%; background: var(--ivory) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='%23C9A24B'%3E%3Cpath d='M20 6c4 6 4 14 0 20-4-6-4-14 0-20Z'/%3E%3Cpath d='M20 26c-3-6-9-9-14-8 3 6 8 8 14 8Z'/%3E%3Cpath d='M20 26c3-6 9-9 14-8-3 6-8 8-14 8Z'/%3E%3C/g%3E%3Crect x='10' y='30' width='20' height='2' rx='1' fill='%23C9A24B'/%3E%3C/svg%3E") center/26px no-repeat;
  box-shadow: 0 0 0 1px rgba(201,162,75,.5);
}
.fam h3 { margin: 0 0 10px; font-size: 24px; font-weight: 600; color: var(--maroon-800); }
html[data-lang="hi"] .fam h3 { font-family: var(--deva-display); font-weight: 400; }
.fam p { margin: 0; color: var(--ink-soft); }
.fam--kids { background: linear-gradient(160deg, #FFF3D6, #FFE2EA); }
.fam--kids p { font-style: italic; font-size: 20px; color: var(--maroon-700); }
.kite { position: absolute; right: 16px; top: 14px; width: 34px; height: 44px; animation: kite 3s ease-in-out infinite alternate; }
@keyframes kite { to { transform: translate(-4px, -6px) rotate(-8deg); } }

/* ════════════ GALLERY ════════════ */
.gallery { background: linear-gradient(180deg, var(--ivory), var(--paper)); }
.gallery__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
  max-width: 1000px; margin: 30px auto 0;
  grid-auto-flow: dense;
}
@media (min-width: 760px) { .gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.tile {
  position: relative; overflow: hidden; border: 0; padding: 0;
  border-radius: 18px; aspect-ratio: 4 / 5;
  background: var(--maroon-800);
  box-shadow: 0 18px 30px -20px rgba(74,13,22,.7);
  transition: transform .4s var(--ease);
}
.tile:hover { transform: translateY(-3px); }
.tile--tall { grid-row: span 2; aspect-ratio: auto; }
.tile--wide { grid-column: span 2; aspect-ratio: 16 / 10; }
.tile img, .tile svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 14px 12px; text-align: left;
  font-size: 15px; font-style: italic; color: #FFF6E0;
  background: linear-gradient(transparent, rgba(30,5,11,.75));
}
.tile__badge {
  position: absolute; top: 10px; left: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px; font-size: 12px;
  font-family: var(--caps); letter-spacing: .08em;
  background: rgba(30,5,11,.6); color: var(--gold-l);
}
.gallery__note { margin: 18px auto 0; max-width: 46ch; font-style: italic; color: var(--ink-soft); font-size: 16px; }

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: min(94vw, 900px); max-height: 90dvh;
}
.lightbox::backdrop { background: rgba(20,4,8,.9); backdrop-filter: blur(4px); }
.lightbox__body { border-radius: 18px; overflow: hidden; }
.lightbox__body img, .lightbox__body svg { display: block; width: 100%; max-height: 82dvh; object-fit: contain; }
.lightbox__body p { margin: 0; padding: 12px 16px; background: var(--maroon-900); color: var(--gold-l); font-style: italic; }
.lightbox__close {
  position: absolute; top: 8px; right: 8px; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(30,5,11,.7); color: #fff; font-size: 28px; line-height: 1;
}

/* ════════════ VENUE ════════════ */
.venue { background: var(--paper); }
.venue__addr { margin: -4px 0 22px; color: var(--ink-soft); }
.venue__map {
  position: relative; max-width: 860px; margin: 0 auto 22px;
  aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden;
  border: 6px solid #fff; box-shadow: 0 0 0 1px rgba(201,162,75,.5), 0 30px 50px -30px rgba(74,13,22,.7);
  background:
    linear-gradient(transparent 49%, rgba(201,162,75,.18) 50%, transparent 51%) 0 0/40px 40px,
    linear-gradient(90deg, transparent 49%, rgba(201,162,75,.18) 50%, transparent 51%) 0 0/40px 40px,
    radial-gradient(60% 50% at 40% 60%, #BFD9E6, transparent 70%),
    #F0E6D0;
}
@media (max-width: 520px) { .venue__map { aspect-ratio: 4 / 5; } }
.venue__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.venue__map-load {
  position: absolute; inset: 0; border: 0; background: transparent;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  font-size: 18px; color: var(--maroon-800);
}
.venue__pin {
  width: 54px; height: 54px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: var(--sindoor); box-shadow: 0 10px 20px -6px rgba(179,32,43,.8);
  position: relative; animation: bob 1.6s ease-in-out infinite alternate;
}
.venue__pin::after { content: ''; position: absolute; inset: 16px; border-radius: 50%; background: var(--ivory); }
@keyframes bob { to { transform: rotate(-45deg) translate(4px, -4px); } }
.venue__travel {
  display: grid; grid-template-columns: 1fr; gap: 14px;
  max-width: 860px; margin: 34px auto 0; text-align: left;
}
@media (min-width: 640px) { .venue__travel { grid-template-columns: 1fr 1fr; } }
.trav {
  display: flex; gap: 14px; padding: 18px; border-radius: 18px;
  background: rgba(255,255,255,.7); box-shadow: 0 0 0 1px rgba(201,162,75,.35);
}
.trav__ic {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--maroon-800); color: var(--gold-l);
}
.trav__ic .ic { width: 22px; height: 22px; }
.trav h3 { margin: 0; font-size: 20px; font-weight: 600; color: var(--maroon-800); }
html[data-lang="hi"] .trav h3 { font-family: var(--deva); font-weight: 400; }
.trav p { margin: 2px 0 0; font-size: 16.5px; color: var(--ink-soft); line-height: 1.45; }
.ic--plane { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M10 4.5a1.5 1.5 0 0 1 3 0V9l8 5v2l-8-2.5V18l2.5 2v1.5L12 20.5l-3.5 1V20l2.5-2v-4.5L3 16v-2l7-5z'/%3E%3C/svg%3E"); }
.ic--train { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='5' y='3' width='14' height='14' rx='3'/%3E%3Cpath d='M5 10h14M9 21l-2-3M15 21l2-3'/%3E%3Ccircle cx='9' cy='13.5' r='.8' fill='black'/%3E%3Ccircle cx='15' cy='13.5' r='.8' fill='black'/%3E%3C/svg%3E"); }
.ic--stay { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M3 19V6M3 15h18v4M21 15v-3a3 3 0 0 0-3-3h-7v6'/%3E%3Ccircle cx='7' cy='11' r='2'/%3E%3C/svg%3E"); }
.ic--weather { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M12 3v2M5.6 5.6 7 7M3 12h2M17 7l1.4-1.4'/%3E%3Cpath d='M8 12a4 4 0 0 1 7.5-2'/%3E%3Cpath d='M9 20h9a3 3 0 0 0 0-6 4.5 4.5 0 0 0-8.6 1A2.5 2.5 0 0 0 9 20Z'/%3E%3C/svg%3E"); }

/* ════════════ RSVP ════════════ */
.rsvp {
  background:
    radial-gradient(70% 40% at 50% 0%, rgba(242,159,5,.12), transparent 70%),
    var(--ivory);
}
.rsvp__deadline { margin: -4px 0 26px; font-style: italic; color: var(--ink-soft); }
.rsvp__card, .rsvp__done {
  max-width: 560px; margin: 0 auto; text-align: left;
  padding: 30px 22px; border-radius: 28px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(201,162,75,.45), 0 0 0 8px var(--paper), 0 0 0 9px rgba(201,162,75,.35), 0 40px 60px -40px rgba(74,13,22,.7);
  display: grid; gap: 20px;
}
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; position: relative; }
.field__lbl { font-family: var(--caps); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-d); padding: 0; }
html[data-lang="hi"] .field__lbl { font-family: var(--deva); letter-spacing: 0; font-size: 15px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px;
  border: 1px solid rgba(142,106,34,.4); background: var(--ivory);
  font-size: 18px; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sindoor); box-shadow: 0 0 0 3px rgba(179,32,43,.15); }
.field__err { display: none; font-size: 15px; color: var(--sindoor); }
.field.is-invalid .field__err { display: block; }
.field.is-invalid input { border-color: var(--sindoor); }
.field__count { position: absolute; right: 12px; bottom: 8px; font-size: 13px; color: var(--ink-soft); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 16px; background: var(--paper); }
.seg__opt { position: relative; }
.seg__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg__opt span {
  display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 10px; border-radius: 12px;
  font-size: 17px; text-align: center; color: var(--ink-soft); transition: .25s;
}
.seg__opt input:checked + span { background: var(--maroon-800); color: var(--gold-xl); box-shadow: 0 6px 16px -8px rgba(74,13,22,.8); }
.seg__opt input:focus-visible + span { outline: 2px solid var(--marigold); outline-offset: 2px; }
.stepper { display: flex; align-items: center; gap: 18px; }
.stepper output { min-width: 2ch; text-align: center; font-size: 30px; font-weight: 600; color: var(--maroon-800); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 14px; border-radius: 999px;
  border: 1px solid rgba(142,106,34,.45); font-size: 16px; color: var(--ink-soft); transition: .2s;
}
.chip span::before { content: '+'; font-weight: 600; }
.chip input:checked + span { background: var(--paper); border-color: var(--sindoor); color: var(--maroon-800); }
.chip input:checked + span::before { content: '✓'; color: var(--sindoor); }
.chip input:focus-visible + span { outline: 2px solid var(--marigold); outline-offset: 2px; }
.rsvp__yes { display: grid; gap: 20px; }
.rsvp__yes[hidden] { display: none; }
.rsvp__fine { margin: -6px 0 0; font-size: 14.5px; color: var(--ink-soft); text-align: center; }
.rsvp__done { text-align: center; justify-items: center; }
.rsvp__done[hidden] { display: none; }
.rsvp__done-seal {
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  font-size: 34px; color: var(--gold-xl);
  background: radial-gradient(circle at 35% 30%, #D33A40, var(--sindoor) 50%, #6B1220);
  box-shadow: 0 10px 20px -8px rgba(107,18,32,.9), inset 0 -4px 8px rgba(0,0,0,.3);
}
.rsvp__done h3 { margin: 0; font-size: 30px; color: var(--maroon-800); font-weight: 600; }
html[data-lang="hi"] .rsvp__done h3 { font-family: var(--deva-display); font-weight: 400; }
.rsvp__done p { margin: 0; color: var(--ink-soft); }

/* ════════════ CLOSING ════════════ */
.closing {
  color: var(--gold-l);
  background:
    radial-gradient(80% 50% at 50% 0%, rgba(242,159,5,.18), transparent 70%),
    linear-gradient(180deg, var(--maroon-800), var(--maroon-950));
  padding-bottom: calc(110px + env(safe-area-inset-bottom)) !important;
}
.closing::before {
  content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 26px;
  background: radial-gradient(circle at 13px 26px, transparent 12px, var(--ivory) 13px) 0 0/26px 26px repeat-x;
}
.closing__diyas { display: flex; justify-content: center; gap: clamp(18px, 6vw, 46px); margin-bottom: 26px; }
.closing__diyas span { position: relative; width: 38px; height: 46px; }
.closing__diyas span::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 16px;
  border-radius: 4px 4px 22px 22px; background: linear-gradient(180deg, #C9A24B, #8E6A22);
}
.closing__diyas span::after {
  content: ''; position: absolute; left: 50%; bottom: 14px; width: 14px; height: 24px; margin-left: -7px;
  border-radius: 50% 50% 50% 50% / 65% 65% 35% 35%;
  background: radial-gradient(circle at 50% 75%, #FFF7C2, #FFC531 45%, #F06A12 80%);
  box-shadow: 0 0 22px 6px rgba(242,159,5,.55);
  animation: flicker 1.1s ease-in-out infinite alternate; transform-origin: 50% 100%;
}
.closing__diyas span:nth-child(2)::after { animation-delay: -.4s; }
.closing__diyas span:nth-child(3)::after { animation-delay: -.8s; }
.closing__diyas span:nth-child(4)::after { animation-delay: -.2s; }
.closing__diyas span:nth-child(5)::after { animation-delay: -.6s; }
.closing__line { margin: 0 auto; max-width: 36ch; font-size: 20px; font-style: italic; color: rgba(251,245,234,.85); }
.closing__names { margin: 14px 0 6px; font-family: var(--script); font-size: clamp(56px, 13vw, 96px); line-height: 1.1; }
html[data-lang="hi"] .closing__names { font-size: clamp(46px, 10vw, 76px); }
.closing__hosts { margin: 0; font-family: var(--caps); font-size: 13px; letter-spacing: .24em; text-transform: uppercase; }
html[data-lang="hi"] .closing__hosts { font-family: var(--deva); letter-spacing: .02em; font-size: 17px; text-transform: none; }
.closing__tag { margin: 8px 0 0; color: var(--gold); font-size: 18px; }
.closing__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

.maker {
  max-width: 560px; margin: 46px auto 0; text-align: left;
  border-radius: 22px; border: 1px solid rgba(235,209,143,.35);
  background: rgba(30,5,11,.45);
}
.maker summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 58px; padding: 0 20px; font-size: 18px; color: var(--gold-xl);
}
.maker summary::-webkit-details-marker { display: none; }
.maker summary::after { content: '+'; font-size: 26px; color: var(--gold); transition: transform .3s; }
.maker[open] summary::after { transform: rotate(45deg); }
.maker > *:not(summary) { margin-left: 20px; margin-right: 20px; }
.maker__help { margin-top: 0; font-size: 16px; color: rgba(251,245,234,.7); }
.field--dark .field__lbl { color: var(--gold); }
.field--dark input { background: rgba(255,255,255,.06); border-color: rgba(235,209,143,.35); color: var(--gold-xl); }
.seg--dark[hidden] { display: none; }
.seg--dark { margin-top: 12px; background: rgba(255,255,255,.06); }
.seg--dark .seg__opt span { color: var(--gold-l); }
.seg--dark .seg__opt input:checked + span { background: var(--gold); color: var(--maroon-900); }
.maker__link {
  display: block; margin-top: 14px; padding: 12px 14px; border-radius: 12px;
  background: rgba(0,0,0,.3); font-family: ui-monospace, Menlo, monospace; font-size: 13.5px;
  color: var(--gold-l); word-break: break-all;
}
.maker__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; margin-bottom: 20px; }

.credit { margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(235,209,143,.2); font-size: 16px; color: rgba(235,209,143,.75); }
.credit p { margin: 0; }
.credit strong { color: var(--gold-xl); font-weight: 600; letter-spacing: .04em; }
.credit__tag { font-style: italic; font-size: 15px; }
.credit__cta { display: inline-block; margin-top: 12px; min-height: 44px; line-height: 44px; color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }

/* ════════════ Reduced motion ════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .gate.is-opening { transition: opacity .4s ease; }
}


/* ════════════ RICHER ORNAMENT LAYER ════════════ */

/* fine paper grain over the whole page */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 115; pointer-events: none; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .25 0 0 0 0 .12 0 0 0 0 .05 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* hero: card frame, corners, bells, kalash */
.frame {
  position: absolute; inset: 14px; pointer-events: none; color: var(--gold);
  border: 1.5px solid rgba(201,162,75,.55);
  border-radius: 6px;
  box-shadow: inset 0 0 0 6px rgba(30,5,11,.35), inset 0 0 0 7px rgba(201,162,75,.3);
}
.frame__c { position: absolute; width: clamp(84px, 22vw, 150px); height: clamp(84px, 22vw, 150px); filter: drop-shadow(0 0 6px rgba(242,159,5,.35)); }
.frame__c--tl { top: -2px; left: -2px; }
.frame__c--tr { top: -2px; right: -2px; transform: scaleX(-1); }
.frame__c--bl { bottom: -2px; left: -2px; transform: scaleY(-1); }
.frame__c--br { bottom: -2px; right: -2px; transform: scale(-1, -1); }
.hero__bells {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(86%, 560px); display: flex; justify-content: space-between; pointer-events: none;
}
.bell { display: flex; flex-direction: column; align-items: center; transform-origin: 50% 0; animation: bellSwing 3.2s ease-in-out infinite alternate; }
.bell i { width: 1.5px; height: var(--h); background: linear-gradient(#8E6A22, #EBD18F); }
.bell i::before { content: ''; display: block; }
.bell svg { width: 22px; height: 27px; margin-top: -1px; filter: drop-shadow(0 4px 6px rgba(0,0,0,.5)); }
@keyframes bellSwing { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
.hero { padding-top: clamp(150px, 28vw, 190px) !important; }
.hero__kalash { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 18px auto 6px; }
.hero__kalash svg { width: 92px; height: 115px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.45)) drop-shadow(0 0 22px rgba(242,159,5,.35)); }
.shubh {
  font-family: var(--deva-display); font-size: 30px; line-height: 1; padding-top: 30px;
  background: linear-gradient(180deg, #FFF1C1, #E9C873 50%, #B8892F);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__names { position: relative; }
.hero__inner::before, .hero__inner::after { /* gold rules above/below the names block */
  content: ''; display: block; width: 180px; height: 14px; margin: 0 auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 14'%3E%3Cg fill='none' stroke='%23C9A24B'%3E%3Cpath d='M0 7h70M110 7h70'/%3E%3Cpath d='M90 1l6 6-6 6-6-6z'/%3E%3Ccircle cx='76' cy='7' r='2' fill='%23C9A24B'/%3E%3Ccircle cx='104' cy='7' r='2' fill='%23C9A24B'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
}
.hero__inner::before { margin-bottom: 14px; }
.hero__inner::after { margin-top: 26px; }

/* couple arch finial */
.arch::before {
  content: ''; position: absolute; left: 50%; top: -30px; width: 30px; height: 38px; margin-left: -15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 38'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%238E6A22'/%3E%3Cstop offset='.5' stop-color='%23FFF1C1'/%3E%3Cstop offset='1' stop-color='%23B8892F'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M15 0 C17 6 22 8 22 14 C22 18 19 20 15 20 C11 20 8 18 8 14 C8 8 13 6 15 0Z' fill='url(%23g)'/%3E%3Crect x='6' y='22' width='18' height='4' rx='2' fill='url(%23g)'/%3E%3Crect x='3' y='30' width='24' height='6' rx='3' fill='url(%23g)'/%3E%3C/svg%3E") center/contain no-repeat;
}
.arch__in::after { content: ''; position: absolute; inset: 8px; border-radius: 999px 999px 8px 8px; border: 1px dashed rgba(255,241,193,.55); pointer-events: none; }

/* ════════════ PROGRAMME ════════════ */
.events__intro { max-width: 44ch; margin: -6px auto 24px; color: var(--ink-soft); }

.now {
  max-width: 620px; margin: 0 auto 22px; display: grid; gap: 8px;
}
.now:empty { display: none; }
.now__row {
  display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; row-gap: 2px;
  padding: 14px 18px; border-radius: 18px; text-align: left; text-decoration: none;
  background: linear-gradient(120deg, var(--maroon-800), var(--maroon-700));
  color: var(--gold-xl);
  box-shadow: 0 0 0 1px rgba(201,162,75,.6), 0 14px 26px -16px rgba(74,13,22,.8);
}
.now__row b { font-weight: 600; font-size: 19px; }
html[data-lang="hi"] .now__row b { font-family: var(--deva); font-weight: 400; }
.now__lbl { grid-row: span 2; font-family: var(--caps); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); writing-mode: horizontal-tb; padding-right: 12px; border-right: 1px solid rgba(201,162,75,.4); max-width: 86px; line-height: 1.3; }
html[data-lang="hi"] .now__lbl { font-family: var(--deva); letter-spacing: 0; font-size: 14px; }
.now__when { font-size: 15.5px; color: var(--gold-l); font-style: italic; }
.now__row--live { grid-template-columns: auto auto 1fr; }
.now__row--live .now__lbl { grid-row: auto; }
.now__pulse { width: 10px; height: 10px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 0 rgba(61,220,132,.7); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }

.glance { max-width: 1000px; margin: 0 auto 26px; }
.glance__title { margin: 0 0 10px; font-family: var(--caps); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-d); }
html[data-lang="hi"] .glance__title { font-family: var(--deva); letter-spacing: .04em; font-size: 15px; }
.glance__list {
  list-style: none; margin: 0 calc(var(--gutter) * -1); padding: 6px var(--gutter) 14px;
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  counter-reset: gl;
}
.glance__list::-webkit-scrollbar { display: none; }
@media (min-width: 1000px) { .glance__list { flex-wrap: wrap; justify-content: center; overflow: visible; margin: 0; padding: 6px 0 14px; } }
.glance__list li { scroll-snap-align: start; flex: none; counter-increment: gl; }
.gl {
  position: relative; display: grid; gap: 3px; width: 168px; min-height: 112px; padding: 14px 14px 12px;
  border-radius: 16px; text-align: left; text-decoration: none; color: var(--ink);
  background: #fff; box-shadow: 0 0 0 1px rgba(201,162,75,.4), 0 10px 20px -16px rgba(74,13,22,.6);
  border-top: 4px solid var(--gl, var(--gold));
}
.gl::after { content: counter(gl, decimal-leading-zero); position: absolute; right: 12px; top: 10px; font-family: var(--caps); font-size: 11px; color: rgba(142,106,34,.6); }
.gl__date { font-family: var(--caps); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-d); }
html[data-lang="hi"] .gl__date { font-family: var(--deva); letter-spacing: 0; font-size: 13px; }
.gl__name { font-size: 18px; font-weight: 600; line-height: 1.15; color: var(--maroon-800); }
html[data-lang="hi"] .gl__name { font-family: var(--deva); font-weight: 400; font-size: 17px; }
.gl__time { display: flex; align-items: center; gap: 6px; margin-top: auto; font-size: 14.5px; color: var(--ink-soft); }
.gl__time .period { padding: 2px 6px; }
.gl__time .period span { display: none; }
.gl--sagai { --gl: #B76E79; } .gl--puja { --gl: #F29F05; } .gl--haldi { --gl: #F6C915; } .gl--mehendi { --gl: #4F6B2B; }
.gl--sangeet { --gl: #5B2A86; } .gl--chooda { --gl: #B3202B; } .gl--baraat { --gl: #E2582B; } .gl--phere { --gl: #8B1A1A; }
.gl--vidaai { --gl: #E8A0B4; } .gl--reception { --gl: #1F3A68; }

.period {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 7px; border-radius: 999px;
  font-family: var(--caps); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(0,0,0,.06); color: inherit; vertical-align: middle;
}
html[data-lang="hi"] .period { font-family: var(--deva); letter-spacing: 0; font-size: 13px; }
.period svg { width: 14px; height: 14px; }
.period--dawn { background: #FFE3D3; color: #A4462C; }
.period--morning { background: #FFF0B8; color: #8A5A00; }
.period--afternoon { background: #FFE7A0; color: #8A4B00; }
.period--evening { background: #FFD6C2; color: #9A3412; }
.period--night { background: #1E1B4B; color: #E0E7FF; }
.ev .period { margin-bottom: 6px; }

.ev { padding-top: 34px; }
.ev__band {
  position: absolute; left: 0; right: 0; top: 0; height: 12px;
  background: var(--ev-band, linear-gradient(90deg, var(--ev-acc), var(--ev-acc)));
  opacity: .85;
}
.ev__corner { position: absolute; width: 64px; height: 64px; color: var(--ev-acc); opacity: .7; pointer-events: none; }
.ev__corner--tl { left: 4px; top: 16px; }
.ev__corner--br { right: 4px; bottom: 4px; transform: scale(-1, -1); }
.ev__late { font-style: italic; color: var(--ev-soft); font-size: .9em; }

.prog { margin-top: 20px; padding: 18px 16px 6px; border-radius: 18px; background: rgba(255,255,255,.35); box-shadow: inset 0 0 0 1px var(--ev-line); }
.ev--sangeet .prog, .ev--phere .prog, .ev--reception .prog { background: rgba(0,0,0,.18); }
.prog__title { margin: 0 0 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-family: var(--caps); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ev-acc); }
.prog__title span { font-family: var(--serif); font-style: italic; letter-spacing: 0; text-transform: none; font-size: 15px; color: var(--ev-soft); }
html[data-lang="hi"] .prog__title { font-family: var(--deva); letter-spacing: 0; font-size: 15px; }
.prog__list { list-style: none; margin: 0; padding: 0; }
.prog__item { position: relative; display: grid; grid-template-columns: 74px 26px 1fr; column-gap: 10px; padding-bottom: 16px; }
.prog__item:not(:last-child)::before { content: ''; position: absolute; left: calc(74px + 10px + 12px); top: 24px; bottom: 0; width: 2px; background: linear-gradient(var(--ev-acc), transparent); opacity: .5; }
.prog__time { font-variant-numeric: tabular-nums; font-weight: 600; font-size: 16px; line-height: 1.6; text-align: right; white-space: nowrap; }
.prog__dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--caps); font-size: 11px; font-weight: 700; background: var(--ev-acc); color: var(--ev-bg-solid, #fff); box-shadow: 0 0 0 3px rgba(255,255,255,.35); }
.prog__body { display: grid; line-height: 1.35; }
.prog__body b { font-weight: 600; font-size: 18px; }
html[data-lang="hi"] .prog__body b { font-family: var(--deva); font-weight: 400; }
.prog__body span { font-size: 15.5px; color: var(--ev-soft); margin-top: 2px; }

/* themes: bands + new palettes */
.ev--sagai { --ev-bg: radial-gradient(120% 90% at 100% 0%, #F7D3D0, #FCEDEB 55%, #FFF8F6); --ev-ink: #4A1C24; --ev-soft: #8A4B55; --ev-acc: #B76E79; --ev-line: rgba(183,110,121,.35); --ev-bg-solid: #FFF8F6;
  --ev-band: repeating-linear-gradient(90deg, #B76E79 0 10px, #F7E7CE 10px 14px, #C9A24B 14px 18px, #F7E7CE 18px 22px); }
.ev--puja { --ev-bg: radial-gradient(120% 90% at 100% 0%, #FFE3B0, #FFF4DE 55%, #FFFAF0); --ev-ink: #4A2400; --ev-soft: #8A4B12; --ev-acc: #D97706; --ev-line: rgba(217,119,6,.35); --ev-bg-solid: #FFFAF0;
  --ev-band: repeating-linear-gradient(90deg, #B3202B 0 8px, #F29F05 8px 16px, #F6C915 16px 24px, #F29F05 24px 32px); }
.ev--haldi { --ev-band: radial-gradient(circle, #fff 1.6px, transparent 2.2px) 0 0/10px 10px, #E8A400; }
.ev--mehendi { --ev-band: repeating-linear-gradient(45deg, #4F6B2B 0 6px, #A7C957 6px 12px); }
.ev--sangeet { --ev-band: radial-gradient(circle, #F2B5DD 1.8px, transparent 2.4px) 0 0/9px 9px, #2A0F3E; }
.ev--chooda { --ev-bg: radial-gradient(120% 90% at 100% 0%, #F6C2C2, #FDECEC 55%, #FFF7F4); --ev-ink: #4A0D16; --ev-soft: #8A2F3A; --ev-acc: #B3202B; --ev-line: rgba(179,32,43,.3); --ev-bg-solid: #FFF7F4;
  --ev-band: repeating-linear-gradient(90deg, #B3202B 0 9px, #FBF5EA 9px 14px, #C9A24B 14px 16px, #FBF5EA 16px 21px); }
.ev--baraat { --ev-band: repeating-linear-gradient(135deg, #E2582B 0 7px, #F29F05 7px 14px, #B3202B 14px 21px, #F6C915 21px 28px); }
.ev--phere { --ev-band: radial-gradient(circle at 50% 100%, #EBD18F 4px, transparent 4.6px) 0 0/16px 12px, #3A0911; }
.ev--vidaai { --ev-bg: radial-gradient(120% 90% at 100% 0%, #FFD3C2, #FBE7F0 50%, #F1ECFA); --ev-ink: #3D1F3A; --ev-soft: #7A4F6E; --ev-acc: #B2577E; --ev-line: rgba(178,87,126,.3); --ev-bg-solid: #FBF6FC;
  --ev-band: linear-gradient(90deg, #FFB38A, #F8C8B8, #E8A0B4, #B9A6D9); }
.ev--reception { --ev-band: radial-gradient(circle, #EBD18F 1.4px, transparent 2px) 0 0/12px 12px, #0B1630; }
.ev--sangeet .prog__dot, .ev--phere .prog__dot, .ev--reception .prog__dot { color: #1E0B12; }

@media (max-width: 420px) {
  .prog__item { grid-template-columns: 62px 22px 1fr; column-gap: 8px; }
  .prog__item:not(:last-child)::before { left: calc(62px + 8px + 10px); }
  .prog__dot { width: 22px; height: 22px; font-size: 10px; }
  .prog__time { font-size: 14.5px; }
}

/* compact, single-row day tabs */
.events__days { flex-wrap: nowrap; gap: 2px; padding: 4px; overflow-x: auto; scrollbar-width: none; max-width: calc(100vw - 2 * var(--gutter)); justify-content: flex-start; }
.events__days::-webkit-scrollbar { display: none; }
.events__days a { flex: none; min-height: 38px; padding: 0 12px; font-size: 15px; white-space: nowrap; }

@media (max-width: 480px) {
  .hero__date { gap: 8px; font-size: 11px; letter-spacing: .14em; }
  .hero__date-big { font-size: 30px; padding: 2px 10px; }
  html[data-lang="hi"] .hero__date { font-size: 14px; }
}

/* ════════════ PHOTOS ════════════ */
.ev__photo {
  position: relative; z-index: 0;
  margin: -34px -22px 18px; height: clamp(200px, 48vw, 300px); overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent);
}
.ev__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.ev:has(.ev__photo) .ev__corner--tl { display: none; }
.ev__band { z-index: 2; }
.ev__photo + .ev__top { margin-top: -54px; position: relative; z-index: 1; }
.ev__photo + .ev__top .ev__time { background: var(--ev-bg-solid, #fff); box-shadow: 0 8px 20px -10px rgba(0,0,0,.5); }

.venue__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.venue__map:has(.venue__photo) .venue__map-load {
  justify-content: flex-end; padding-bottom: 26px; color: var(--gold-xl);
  background: linear-gradient(180deg, transparent 35%, rgba(30,5,11,.78));
  text-decoration: none; font-size: 19px;
}

/* live pheras */
.live { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 18px; }
.live small { font-size: 14.5px; color: var(--ev-soft); font-style: italic; }
.live__btn {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 16px; border-radius: 999px;
  background: #fff; color: #9B1C1C; font-weight: 600; text-decoration: none; font-size: 16px;
}
.live__btn.is-off { background: rgba(255,255,255,.14); color: var(--ev-ink); font-weight: 500; box-shadow: inset 0 0 0 1px var(--ev-line); }
.live__dot { width: 9px; height: 9px; border-radius: 50%; background: #E11D48; box-shadow: 0 0 0 0 rgba(225,29,72,.6); animation: pulse 1.6s infinite; }

/* ════════════ SHAGUN ════════════ */
.shagun {
  background:
    radial-gradient(60% 40% at 20% 30%, rgba(179,32,43,.08), transparent 70%),
    radial-gradient(60% 40% at 90% 80%, rgba(242,159,5,.10), transparent 70%),
    var(--paper);
}
.shagun__intro { max-width: 46ch; margin: -4px auto 18px; color: var(--ink-soft); }
.shagun__demo {
  max-width: 600px; margin: 0 auto 26px; padding: 12px 16px; border-radius: 14px;
  border: 1px dashed var(--gold-d); background: #FFF8E6; font-size: 15.5px; line-height: 1.45; color: var(--ink-soft);
}
.shagun__grid { display: grid; gap: 34px; max-width: 940px; margin: 0 auto; align-items: center; }
@media (min-width: 820px) { .shagun__grid { grid-template-columns: .9fr 1.1fr; } }

.lifafa {
  position: relative; width: min(84vw, 340px); aspect-ratio: 3 / 2; margin: 0 auto;
  border-radius: 14px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 100%, #C62A35, #8B1A1A 70%);
  box-shadow: inset 0 0 0 2px #C9A24B, inset 0 0 0 7px #8B1A1A, inset 0 0 0 8px rgba(235,209,143,.6), 0 30px 50px -24px rgba(74,13,22,.8);
  animation: floaty 5s ease-in-out infinite alternate;
}
@keyframes floaty { to { transform: translateY(-8px) rotate(-1deg); } }
.lifafa::after { /* bandhani dots */
  content: ''; position: absolute; inset: 0; opacity: .22;
  background: radial-gradient(circle, #FFF1C1 1.2px, transparent 1.8px) 0 0 / 14px 14px;
}
.lifafa__flap {
  position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 52%;
  background: linear-gradient(180deg, #A3202B, #7A1626);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  filter: drop-shadow(0 4px 4px rgba(0,0,0,.35));
}
.lifafa__flap::after { content: ''; position: absolute; left: 50%; bottom: 6px; width: 34px; height: 34px; margin-left: -17px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFF1C1, #C9A24B 55%, #8E6A22); }
.lifafa__body {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; top: 40%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center;
}
.lifafa__shubh { font-family: var(--deva); font-size: 15px; color: var(--gold-l); }
.lifafa__amt {
  font-size: clamp(38px, 10vw, 50px); font-weight: 600; line-height: 1.05; font-variant-numeric: tabular-nums;
  background: linear-gradient(100deg, #C9A24B, #FFF1C1 45%, #E9C873 60%, #B8892F);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lifafa__from { font-style: italic; font-size: 15px; color: rgba(255,241,193,.85); max-width: 80%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lifafa__coin {
  position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #6B4A12;
  background: radial-gradient(circle at 35% 30%, #FFF6D0, #E9C873 50%, #A07A2A);
  box-shadow: inset 0 0 0 2px rgba(107,74,18,.4), 0 4px 10px rgba(0,0,0,.4);
}

.shagun__form {
  text-align: left; display: grid; gap: 18px; padding: 26px 22px; border-radius: 26px; background: #fff;
  box-shadow: 0 0 0 1px rgba(201,162,75,.45), 0 30px 50px -36px rgba(74,13,22,.7);
}
.chips--amt .chip span { font-size: 18px; font-weight: 600; min-height: 46px; padding: 0 16px; font-variant-numeric: tabular-nums; }
.chips--amt .chip span::before { content: none; }
.chips--amt .chip input:checked + span { background: var(--maroon-800); color: var(--gold-xl); border-color: var(--maroon-800); }
.chips--amt .chip input:checked + span::before { content: none; }
.shagun__other input { max-width: 220px; }
.check { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; font-size: 16.5px; color: var(--ink-soft); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--sindoor); }
.shagun__pay { display: grid; gap: 16px; align-items: center; }
@media (min-width: 560px) { .shagun__pay { grid-template-columns: 1fr auto; } }
.shagun__qr { text-align: center; }
.shagun__qr p { margin: 6px 0 0; font-size: 13.5px; color: var(--ink-soft); max-width: 170px; }
@media (max-width: 559px) { .shagun__qr { display: none; } }
.qr {
  position: relative; width: 164px; height: 164px; margin: 0 auto; padding: 8px; border-radius: 14px; background: #fff;
  box-shadow: 0 0 0 1px rgba(201,162,75,.6);
  display: grid; place-items: center;
}
.qr img, .qr canvas { display: block; width: 148px !important; height: 148px !important; }
.qr--demo::after {
  content: 'DEMO'; position: absolute; inset: 0; display: grid; place-items: center; border-radius: 14px;
  font-family: var(--caps); font-weight: 700; letter-spacing: .2em; font-size: 22px; color: var(--sindoor);
  background: rgba(255,255,255,.72); transform: none;
}
.shagun__after { display: flex; flex-wrap: wrap; gap: 10px; }
.shagun__after .btn { flex: 1 1 200px; }

.ic--shagun { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='18' height='13' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3Ccircle cx='12' cy='13' r='2.2' fill='black'/%3E%3C/svg%3E"); }
.ic--boat { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 15h18l-2.5 4h-13z'/%3E%3Cpath d='M12 3v12M12 4l6 8h-6'/%3E%3Cpath d='M2 21c2 0 2-1 4-1s2 1 4 1 2-1 4-1 2 1 4 1 2-1 4-1'/%3E%3C/svg%3E"); }
.ic--help { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.5 9.5a2.5 2.5 0 1 1 3.5 2.3c-.6.3-1 .8-1 1.5V14'/%3E%3Ccircle cx='12' cy='17' r='.6' fill='black'/%3E%3C/svg%3E"); }

/* five dock entries fit a 360px phone */
.dock a { min-width: 56px; padding: 4px 8px; }
@media (max-width: 380px) { .dock a { min-width: 52px; padding: 4px 6px; font-size: 9.5px; } }
.ev--sagai .ev__photo img { object-position: 50% 78%; }
.ev--mehendi .ev__photo img, .ev--puja .ev__photo img { object-position: 50% 45%; }

/* ════════════ STUDIO CTA ════════════ */
.credit__cta {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 16px;
  min-height: 50px; line-height: 1; padding: 0 22px; border-radius: 999px; text-decoration: none;
  color: #fff; background: #1FA855; font-family: var(--serif); font-size: 18px; font-weight: 600;
  box-shadow: 0 10px 24px -10px rgba(31,168,85,.8);
}
.credit__phone { margin-top: 8px !important; font-size: 15px; color: rgba(235,209,143,.75); font-variant-numeric: tabular-nums; }

/* ════════════ SAKHI ════════════ */
.sakhi-face {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='%23F6E3A1'%3E%3Cpath d='M20 8c4 5 4 12 0 17-4-5-4-12 0-17Z'/%3E%3Cpath d='M20 25c-3-5-9-8-14-7 3 5 8 7 14 7Z' opacity='.9'/%3E%3Cpath d='M20 25c3-5 9-8 14-7-3 5-8 7-14 7Z' opacity='.9'/%3E%3Cpath d='M20 25c-2-4-6-9-10-11 0 5 4 9 10 11Z' opacity='.7'/%3E%3Cpath d='M20 25c2-4 6-9 10-11 0 5-4 9-10 11Z' opacity='.7'/%3E%3Crect x='11' y='28' width='18' height='2' rx='1'/%3E%3C/g%3E%3C/svg%3E") center/72% no-repeat,
    radial-gradient(circle at 35% 30%, #8B1A2B, #4A0D16 70%);
  box-shadow: 0 0 0 2px #C9A24B, 0 0 0 4px rgba(201,162,75,.25);
}
.sakhi-face--lg { width: 46px; height: 46px; }
.sakhi-fab {
  position: fixed; z-index: 131; right: max(14px, env(safe-area-inset-right, 0px));
  bottom: calc(max(12px, env(safe-area-inset-bottom, 0px)) + 76px);
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 18px 0 8px;
  border: 0; border-radius: 999px; font-size: 17px; font-weight: 600; color: var(--maroon-900);
  background: linear-gradient(120deg, #F6E3A1, #FFF1C1 45%, #E9C873);
  box-shadow: 0 14px 30px -10px rgba(74,13,22,.7), 0 0 0 1px rgba(142,106,34,.4);
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: .5s var(--ease);
}
html[data-lang="hi"] .sakhi-fab { font-family: var(--deva); font-weight: 400; }
body.is-open .sakhi-fab { opacity: 1; transform: none; pointer-events: auto; }
body.sakhi-open .sakhi-fab { opacity: 0; pointer-events: none; }
.sakhi-fab .sakhi-face { animation: glow 2.8s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 2px #C9A24B, 0 0 0 8px rgba(242,159,5,.25); } }

.sakhi {
  position: fixed; z-index: 140; left: 8px; right: 8px; bottom: max(8px, env(safe-area-inset-bottom, 0px));
  height: min(82dvh, 680px); display: flex; flex-direction: column;
  border-radius: 26px; overflow: hidden;
  background: var(--ivory); color: var(--ink);
  box-shadow: 0 30px 80px -20px rgba(30,5,11,.75), 0 0 0 1px rgba(201,162,75,.6);
  animation: sheetUp .45s var(--ease);
}
@keyframes sheetUp { from { transform: translateY(30px); opacity: 0; } }
@media (min-width: 720px) {
  .sakhi { left: auto; right: 24px; bottom: 24px; width: 420px; height: min(78dvh, 660px); }
}
.sakhi__head {
  display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 16px;
  color: var(--gold-xl);
  background:
    radial-gradient(circle, rgba(235,209,143,.16) 1.2px, transparent 1.8px) 0 0 / 14px 14px,
    linear-gradient(120deg, var(--maroon-800), var(--maroon-700));
}
.sakhi__who { flex: 1; min-width: 0; }
.sakhi__who h2 { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.1; }
html[data-lang="hi"] .sakhi__who h2 { font-family: var(--deva-display); font-weight: 400; }
.sakhi__who p { margin: 2px 0 0; font-size: 14px; color: var(--gold-l); }
.sakhi__close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--gold-xl); font-size: 26px; line-height: 1; }
.sakhi__log {
  flex: 1; overflow-y: auto; padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 10px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23C9A24B' stroke-opacity='.12'%3E%3Ccircle cx='40' cy='40' r='14'/%3E%3Cpath d='M40 18 Q48 40 40 62 Q32 40 40 18Z M18 40 Q40 32 62 40 Q40 48 18 40Z'/%3E%3C/g%3E%3C/svg%3E"),
    var(--ivory);
}
.msg { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: 16.5px; line-height: 1.5; word-wrap: break-word; }
.msg--sakhi { align-self: flex-start; background: #fff; border-bottom-left-radius: 6px; box-shadow: 0 0 0 1px rgba(201,162,75,.35); }
.msg--guest { align-self: flex-end; background: var(--maroon-800); color: var(--gold-xl); border-bottom-right-radius: 6px; }
.msg mark { background: transparent; color: #E2583E; font-weight: 600; }
.msg__note { display: block; margin-bottom: 4px; font-size: 12.5px; color: var(--gold-d); font-style: italic; }
.msg--typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--marigold); animation: dot 1s ease-in-out infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; } .msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { transform: translateY(-5px); opacity: .5; } }
.sakhi__chips { display: flex; gap: 8px; overflow-x: auto; padding: 8px 14px; scrollbar-width: none; flex: none; }
.sakhi__chips::-webkit-scrollbar { display: none; }
.sakhi__chip {
  flex: none; min-height: 40px; padding: 0 14px; border-radius: 999px; font-size: 15px;
  border: 1px solid rgba(142,106,34,.45); background: #fff; color: var(--maroon-800);
}
.sakhi__form { display: flex; gap: 8px; padding: 8px 12px; flex: none; border-top: 1px solid rgba(201,162,75,.3); background: #fff; }
.sakhi__form input {
  flex: 1; min-width: 0; min-height: 48px; padding: 0 16px; border-radius: 999px;
  border: 1px solid rgba(142,106,34,.4); background: var(--ivory); font-size: 17px;
}
.sakhi__form input:focus { outline: none; border-color: var(--sindoor); box-shadow: 0 0 0 3px rgba(179,32,43,.15); }
.sakhi__send { width: 48px; height: 48px; flex: none; border: 0; border-radius: 50%; display: grid; place-items: center; color: var(--gold-xl); background: linear-gradient(160deg, var(--sindoor), var(--maroon-800)); }
.sakhi__note { margin: 0; padding: 4px 14px 10px; font-size: 12.5px; color: var(--ink-soft); text-align: center; background: #fff; flex: none; }
