/* ==========================================================
   சீமந்தம் · வளைகாப்பு – Seemantham template (Tamil)
   Turmeric (manjal) yellow, kumkum red, bangle green, silk maroon.
   Every section is edged with a woven saree border.
   Every selector is prefixed .sm- so nothing leaks into the editor.
   Each section carries its own background so the editor can recolour it.
   ========================================================== */
.sm-sec, .sm-top {
  --manjal: #F7C61C;
  --manjal-d: #E39A00;
  --manjal-l: #FFE98A;
  --kumkum: #C8102E;
  --kumkum-d: #7A0A1E;
  --green: #1F8A4C;
  --green-d: #0F5E34;
  --maroon: #7A1631;
  --maroon-d: #4E0A1C;
  --cream: #FFF8E1;
  --ink: #3A1A12;
  --font-head: "Noto Serif Tamil", "Hind Madurai", serif;
  --font-body: "Hind Madurai", "Noto Serif Tamil", sans-serif;
  --font-hand: "Kavivanar", "Hind Madurai", cursive;
}
.sm-sec, .sm-sec *, .sm-sec *::before, .sm-sec *::after { box-sizing: border-box; }

/* ---------- Section shell with a saree-border top ---------- */
.sm-sec { position: relative; overflow: hidden; padding: 124px 24px 92px; font-family: var(--font-body); font-weight: 500; font-size: 18.5px; line-height: 1.9; color: var(--ink); background: var(--cream); }
.sm-sec::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 32px; z-index: 6; pointer-events: none; background: url("../images/border.svg") repeat-x 0 0 / auto 32px; box-shadow: 0 3px 8px rgba(78, 10, 28, .25); }
.sm-sec.sm-cream { background: radial-gradient(circle at 12% 0%, #FFFFFF 0%, transparent 42%), #FFF8E1; }
.sm-sec.sm-ivory { background: radial-gradient(circle at 88% 0%, #FFF3C4 0%, transparent 44%), #FFFDF5; }
.sm-sec.sm-manjal { background: radial-gradient(circle at 50% 0%, #FFF3A8 0%, transparent 60%), linear-gradient(180deg, #FFE45C, #F7C61C); }
.sm-sec.sm-green { background: radial-gradient(circle at 50% 0%, #2FA660 0%, transparent 62%), linear-gradient(180deg, #17703F, #0F5E34); color: #FFF3C8; }
.sm-sec.sm-maroon { background: radial-gradient(circle at 50% 0%, #B02250 0%, transparent 62%), linear-gradient(180deg, #7A1631, #4E0A1C); color: #FFE9C7; }
.sm-sec p, .sm-sec h1, .sm-sec h2, .sm-sec h3 { margin: 0; }
.sm-sec img { max-width: 100%; }
.sm-sec a { color: var(--kumkum); }
.sm-inner { position: relative; z-index: 4; max-width: 1120px; margin: 0 auto; }
.sm-center { text-align: center; }
.sm-left { text-align: left; margin-left: 0 !important; }

/* ---------- Type ---------- */
.sm-eyebrow { font-weight: 700; font-size: 1.05rem; color: var(--kumkum); margin-bottom: 4px !important; }
.sm-green .sm-eyebrow, .sm-maroon .sm-eyebrow { color: var(--manjal); }
.sm-title { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 4.4vw, 2.9rem); line-height: 1.5; color: var(--maroon); }
.sm-green .sm-title, .sm-maroon .sm-title { color: #FFE98A; text-shadow: 0 3px 0 rgba(0, 0, 0, .25); }
.sm-divider { display: block; width: min(300px, 62%); margin: 6px auto 12px; }
.sm-div-l { margin-left: 0; }
.sm-sub { max-width: 700px; margin: 8px auto 0 !important; color: #6B3A22; font-size: 1.12rem; }
.sm-green .sm-sub, .sm-maroon .sm-sub { color: #FBEAC4; }
.sm-lead { max-width: 740px; margin: 0 auto 10px !important; font-size: clamp(1.08rem, 2.2vw, 1.24rem); line-height: 2; }
.sm-lead b { color: var(--kumkum); }
.sm-lead.sm-soft { font-family: var(--font-hand); font-size: 1.4rem; color: var(--kumkum); }
.sm-hand { font-family: var(--font-hand); font-size: clamp(1.25rem, 2.6vw, 1.65rem); line-height: 1.7; color: var(--kumkum); }

/* ---------- Buttons ---------- */
.sm-btn { display: inline-block; cursor: pointer; border: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; text-decoration: none; padding: 15px 42px; color: #FFF8E1 !important; background: linear-gradient(180deg, #E5384F, #A8102A); border-radius: 50px; box-shadow: 0 6px 0 #6A0618, 0 12px 22px rgba(122, 10, 30, .3); transition: transform .15s, box-shadow .15s; }
.sm-btn:hover { transform: translateY(3px); box-shadow: 0 3px 0 #6A0618, 0 6px 14px rgba(122, 10, 30, .3); }
.sm-btn.sm-btn-green { background: linear-gradient(180deg, #2FA660, #0F5E34); box-shadow: 0 6px 0 #07381E, 0 12px 22px rgba(0, 0, 0, .25); }

/* ---------- Hero ---------- */
.sm-hero { min-height: 100vh; padding: 140px 24px 90px; background: radial-gradient(circle at 74% 44%, #FFF3A8 0%, transparent 52%), linear-gradient(180deg, #FFE45C 0%, #FFD83A 40%, #FFF3B0 100%); }
.sm-hero::before { display: none; }
.sm-toran { position: absolute; left: 0; top: 0; width: 100%; height: clamp(54px, 8vw, 92px); object-fit: cover; object-position: top; z-index: 8; pointer-events: none; }
.sm-toran-b { z-index: 8; }
.sm-glow { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: repeating-conic-gradient(from 0deg at 74% 46%, rgba(255, 255, 255, .22) 0 5deg, transparent 5deg 18deg); -webkit-mask: radial-gradient(circle at 74% 46%, #000 0, transparent 62%); mask: radial-gradient(circle at 74% 46%, #000 0, transparent 62%); animation: sm-shimmer 6s ease-in-out infinite; }
.sm-hero-grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: 30px; align-items: center; max-width: 1240px; z-index: 5; }
.sm-tag { font-family: var(--font-hand); font-size: 1.5rem; color: var(--kumkum-d); }
.sm-hero-title { display: flex; flex-direction: column; margin: 0 0 6px; line-height: 1.35; }
.sm-hl1 { font-family: var(--font-head); font-weight: 800; font-size: clamp(3.6rem, 9vw, 7.2rem); line-height: 1.25; color: var(--kumkum); text-shadow: 0 4px 0 #fff, 0 8px 0 rgba(122, 22, 49, .28); }
.sm-hl2 { display: block; font-style: normal; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem, 3.2vw, 2.3rem); color: var(--green-d); }
.sm-names { display: inline-flex; flex-direction: column; align-items: center; margin: 14px 0 18px; padding: 12px 38px 10px; background: linear-gradient(180deg, #A32149, #6A1030); border: 4px solid #F7C61C; border-radius: 18px 18px 80px 80px / 18px 18px 40px 40px; color: #FFF3C8; box-shadow: 0 10px 18px rgba(78, 10, 28, .3); }
.sm-names-top, .sm-names-sub { font-size: .95rem; color: #FFE08A; }
.sm-names-main { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.5; color: #fff; }
.sm-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.sm-chip { padding: 5px 18px; border-radius: 30px; background: #fff; border: 2px solid var(--green); font-weight: 700; font-size: 1rem; color: var(--green-d); box-shadow: 0 4px 0 rgba(31, 138, 76, .25); line-height: 1.7; }
.sm-hero-art { max-width: 700px; margin: 0 auto; width: 100%; }
.sm-frame { position: relative; border-radius: 300px 300px 28px 28px; overflow: hidden; border: 9px solid var(--kumkum); box-shadow: 0 0 0 5px #F7C61C, 0 0 0 9px var(--green-d), 0 28px 44px rgba(78, 10, 28, .38); background: #FFE98A; }
.sm-scene { display: block; width: 100%; height: auto; }
.sm-caption { display: flex; justify-content: center; margin-top: 26px; }
.sm-caption span { padding: 6px 28px; background: linear-gradient(180deg, #2FA660, #0F5E34); color: #FFF3C8; border: 3px solid #F7C61C; border-radius: 40px; font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; box-shadow: 0 5px 0 #07381E; text-align: center; line-height: 1.7; }

/* ---------- Invitation ---------- */
.sm-invite { position: relative; max-width: 860px; margin: 0 auto; padding: 78px 46px 46px; background: #fff; border: 4px solid var(--maroon); border-radius: 300px 300px 18px 18px / 190px 190px 18px 18px; box-shadow: 0 0 0 8px #FFE98A, 0 0 0 11px var(--kumkum), 0 24px 40px rgba(78, 10, 28, .22); }
.sm-ik { position: absolute; left: 50%; top: -54px; width: 108px; transform: translateX(-50%); animation: sm-spin-c 60s linear infinite; }
.sm-invite-title { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.5; color: var(--kumkum); }
.sm-sides { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin: 22px 0 14px; padding: 18px 8px; border-top: 2px dashed #E8B96A; border-bottom: 2px dashed #E8B96A; }
.sm-side-label { display: inline-block; padding: 0 18px; background: var(--green); color: #fff; border-radius: 20px; font-weight: 700; font-size: .95rem; line-height: 1.8; }
.sm-side-names { font-family: var(--font-head); font-weight: 700; font-size: 1.22rem; line-height: 1.8; color: var(--maroon); margin-top: 6px !important; }
.sm-side-place { color: #7A5A44; font-size: .98rem; }
.sm-sides-mid img { width: 54px; animation: sm-spin 14s linear infinite; }

/* ---------- Couple ---------- */
.sm-couple-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.sm-couple-art { max-width: 470px; margin: 0 auto; }
.sm-couple-img { display: block; width: 100%; height: auto; filter: drop-shadow(0 20px 18px rgba(78, 10, 28, .32)); animation: sm-bob 5s ease-in-out infinite; }
.sm-couple-copy .sm-title { text-align: left; }
.sm-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 14px 0 18px; }
.sm-person { padding: 14px 16px; background: rgba(255, 255, 255, .72); border: 2px dashed var(--kumkum); border-radius: 18px; display: flex; flex-direction: column; }
.sm-person-name { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; line-height: 1.5; color: var(--maroon); }
.sm-person-role { font-size: .98rem; color: var(--green-d); font-weight: 700; }
.sm-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.sm-pill { padding: 6px 18px; border-radius: 16px; background: var(--maroon); color: #FFE9C7; display: flex; flex-direction: column; line-height: 1.6; }
.sm-pill-k { font-size: .85rem; color: #FFD66B; }
.sm-pill-v { font-family: var(--font-head); font-size: 1.12rem; color: #fff; }

/* ---------- Manjal & valaiyal cards ---------- */
.sm-twin { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 54px; }
.sm-card { padding: 22px 26px 28px; background: #fff; border: 3px solid var(--kumkum); border-radius: 26px; box-shadow: 0 0 0 7px #FFE98A, 0 18px 30px rgba(78, 10, 28, .15); }
.sm-card-art { margin: -66px auto 0; max-width: 340px; filter: drop-shadow(0 12px 10px rgba(78, 10, 28, .25)); }
.sm-card-art img { display: block; width: 100%; height: auto; }
.sm-card-title { font-family: var(--font-head); font-weight: 800; font-size: 1.55rem; line-height: 1.6; color: var(--maroon); text-align: center; margin: 4px 0 8px !important; }
.sm-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sm-points li { position: relative; padding-left: 36px; }
.sm-points li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle, var(--kumkum) 0 32%, var(--manjal) 34% 100%); box-shadow: 0 0 0 2px var(--maroon); }

/* ---------- Rituals ---------- */
.sm-rits { display: grid; gap: 16px; max-width: 940px; margin: 52px auto 0; }
.sm-rit { display: grid; grid-template-columns: 150px 78px 1fr; align-items: center; gap: 22px; padding: 14px 24px 14px 0; background: #FFF8E1; color: var(--ink); border-radius: 80px 20px 20px 80px; border-left: 0; box-shadow: 0 8px 0 rgba(0, 0, 0, .25); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.sm-rit:hover { transform: translateX(8px); }
.sm-rit-time { align-self: stretch; display: flex; align-items: center; justify-content: center; text-align: center; padding: 6px 14px 6px 22px; background: linear-gradient(180deg, #E5384F, #A8102A); border-radius: 80px 0 0 80px; color: #fff; }
.sm-rit-time b { font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; line-height: 1.5; }
.sm-rit-ico { width: 74px; }
.sm-rit-name { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; line-height: 1.6; color: var(--maroon); }
.sm-rit-text { font-size: 1.02rem; color: #5A3A2A; line-height: 1.8; }
.sm-rit-main { background: linear-gradient(90deg, #FFE45C, #FFF3A8); box-shadow: 0 0 0 4px #F7C61C, 0 10px 0 rgba(0, 0, 0, .25); transform: scale(1.02); }
.sm-rit-main .sm-rit-time { background: linear-gradient(180deg, #2FA660, #0F5E34); }
.sm-badge { display: inline-block; margin-top: 4px; padding: 0 16px; font-size: .88rem; font-weight: 700; background: var(--kumkum); color: #fff; border-radius: 20px; line-height: 1.9; }

/* ---------- Thambulam ---------- */
.sm-tgrid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 46px; align-items: center; margin-top: 50px; }
.sm-thattu { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 14px rgba(78, 10, 28, .3)); }
.sm-tinfo-title { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; line-height: 1.6; color: var(--maroon); margin-bottom: 8px !important; }
.sm-chipis { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.sm-chipi { padding: 0 16px; border-radius: 20px; background: #fff; border: 2px solid var(--green); color: var(--green-d); font-weight: 700; font-size: .98rem; line-height: 1.9; }
.sm-chipi:nth-child(3n) { border-color: var(--kumkum); color: var(--kumkum-d); } .sm-chipi:nth-child(3n+1) { border-color: var(--manjal-d); color: #8A5A00; }
.sm-saree { display: grid; grid-template-columns: 170px 1fr; gap: 16px; align-items: center; margin-top: 12px; padding: 16px; background: #fff; border: 2px dashed var(--kumkum); border-radius: 20px; }
.sm-saree img { display: block; width: 100%; height: auto; }
.sm-saree-title { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; line-height: 1.6; color: var(--maroon); }
.sm-saree-text { font-size: 1rem; color: #5A3A2A; line-height: 1.8; }

/* ---------- Five rices ---------- */
.sm-rices { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 52px; }
.sm-rice { text-align: center; padding: 16px 10px 18px; background: rgba(255, 253, 242, .9); border: 3px solid var(--maroon); border-radius: 120px 120px 20px 20px / 90px 90px 20px 20px; box-shadow: 0 8px 0 rgba(122, 22, 49, .35); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.sm-rice:hover { transform: translateY(-8px) rotate(-1deg); }
.sm-rice img { display: block; width: 100%; max-width: 150px; margin: 8px auto 0; height: auto; }
.sm-rice-name { font-family: var(--font-head); font-weight: 800; font-size: 1.18rem; line-height: 1.6; color: var(--maroon); }
.sm-rice-note { font-size: .98rem; color: #6B3A22; }

/* ---------- Games ---------- */
.sm-games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 22px; margin-top: 52px; }
.sm-game { padding: 20px 22px 18px; background: #fff; border: 3px solid var(--maroon); border-radius: 22px 22px 22px 4px; box-shadow: 8px 8px 0 var(--manjal); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1), box-shadow .3s; }
.sm-game:nth-child(odd) { transform: rotate(-.8deg); } .sm-game:nth-child(even) { transform: rotate(.8deg); background: #FFFBEA; }
.sm-game:hover { transform: rotate(0) translateY(-8px); box-shadow: 12px 14px 0 var(--manjal); }
.sm-game-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.sm-game-ico { width: 68px; }
.sm-game-who { padding: 0 14px; background: var(--green); color: #fff; border-radius: 14px; font-size: .88rem; font-weight: 700; line-height: 1.9; }
.sm-game-name { font-family: var(--font-head); font-weight: 800; font-size: 1.28rem; line-height: 1.6; color: var(--kumkum); }
.sm-game-text { font-size: 1rem; line-height: 1.8; color: #5A3A2A; }
.sm-prize { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding: 4px 14px; background: #FFE98A; border: 2px dashed var(--manjal-d); border-radius: 12px; font-size: .98rem; }
.sm-prize span { font-weight: 700; color: #8A5A00; }
.sm-prize b { color: var(--maroon); text-align: right; }

/* ---------- Journey ---------- */
.sm-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 24px; margin-top: 64px; }
.sm-step { position: relative; text-align: center; padding: 52px 22px 24px; background: #FFF8E1; color: var(--ink); border-radius: 26px; border: 3px solid var(--manjal); box-shadow: 0 0 0 5px var(--maroon-d), 0 12px 0 5px rgba(0, 0, 0, .25); }
.sm-step-ico { position: absolute; left: 50%; top: -42px; width: 84px; transform: translateX(-50%); filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .3)); }
.sm-step-n { position: absolute; left: 14px; top: 12px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--kumkum); color: #fff; font: 800 1.05rem/1 var(--font-head); }
.sm-when { display: inline-block; padding: 0 16px; background: var(--green); color: #fff; border-radius: 18px; font-weight: 700; font-size: .95rem; line-height: 1.9; margin-top: 6px; }
.sm-step-title { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; line-height: 1.6; color: var(--maroon); }
.sm-step-text { font-size: 1.02rem; line-height: 1.8; color: #5A3A2A; }

/* ---------- Countdown (bangle rings) ---------- */
.sm-cd-ico { display: block; width: clamp(120px, 20vw, 190px); margin: -14px auto 0; animation: sm-bob 4s ease-in-out infinite; }
.sm-cd-date { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; line-height: 1.8; color: var(--maroon); margin-bottom: 6px !important; }
.sm-countdown { display: flex; justify-content: center; gap: clamp(14px, 3vw, 36px); flex-wrap: wrap; margin: 30px 0 8px; }
.sm-countdown > div { position: relative; width: clamp(96px, 18vw, 144px); aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFFDF0, #FFE98A); color: var(--maroon); border: 14px solid var(--green); box-shadow: inset 0 0 0 3px #F7C61C, 0 0 0 4px var(--green-d), 0 16px 22px rgba(15, 94, 52, .35); animation: sm-bob 4s ease-in-out infinite; }
.sm-countdown > div::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 3px dashed rgba(255, 255, 255, .55); pointer-events: none; }
.sm-countdown > div:nth-child(2) { animation-delay: -1s; } .sm-countdown > div:nth-child(3) { animation-delay: -2s; } .sm-countdown > div:nth-child(4) { animation-delay: -3s; }
.sm-countdown b { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 4.8vw, 2.9rem); line-height: 1.2; }
.sm-countdown span { font-weight: 700; font-size: .95rem; color: var(--green-d); }
.sm-manjal .sm-btn { margin-top: 30px; }

/* ---------- Gallery ---------- */
.sm-collage { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 16px; margin-top: 54px; }
.sm-tile { position: relative; margin: 0; overflow: hidden; border-radius: 18px; border: 6px solid #fff; box-shadow: 0 12px 22px rgba(78, 10, 28, .28), 0 0 0 3px var(--kumkum); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); background: #FFE98A; }
.sm-tile img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.sm-tile:hover { transform: scale(1.03) rotate(-.6deg); z-index: 3; }
.sm-tile:hover img { transform: scale(1.08); }
.sm-big { grid-column: span 2; grid-row: span 2; } .sm-tall { grid-row: span 2; } .sm-wide { grid-column: span 2; }
.sm-tile-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 10px 8px; text-align: center; font-family: var(--font-hand); font-size: 1.2rem; line-height: 1.6; color: #fff; background: linear-gradient(180deg, transparent, rgba(78, 10, 28, .9)); }
.sm-share { margin-top: 50px; }
.sm-share .sm-lead { margin: 0 auto 20px !important; }

/* ---------- Venue ---------- */
.sm-venue { position: relative; max-width: 820px; margin: 58px auto 0; background: #fff; border: 4px solid var(--maroon); border-radius: 22px; box-shadow: 0 0 0 8px #FFE98A, 0 0 0 11px var(--kumkum), 0 26px 42px rgba(78, 10, 28, .22); }
.sm-vk { position: absolute; width: 130px; top: 30px; opacity: .22; animation: sm-spin 80s linear infinite; pointer-events: none; }
.sm-vk-l { left: 14px; } .sm-vk-r { right: 14px; animation-direction: reverse; }
.sm-venue-head { padding: 12px 0 10px; text-align: center; background: linear-gradient(180deg, #A32149, #6A1030); border-radius: 18px 18px 0 0; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; line-height: 1.6; color: #FFE08A; border-bottom: 4px solid #F7C61C; }
.sm-venue-body { position: relative; padding: 34px 40px 40px; }
.sm-venue-name { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 4.2vw, 2.7rem); line-height: 1.6; color: var(--kumkum); }
.sm-address { margin: 4px 0 22px !important; font-size: 1.18rem; line-height: 2; }
.sm-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; max-width: 640px; margin: 0 auto 30px; text-align: left; }
.sm-fact { display: flex; flex-direction: column; padding: 8px 16px; background: #FFF8E1; border-left: 5px solid var(--green); border-radius: 0 14px 14px 0; line-height: 1.7; }
.sm-fact-k { font-size: .9rem; font-weight: 700; color: var(--green-d); }
.sm-fact-v { font-weight: 700; text-decoration: none; color: var(--ink); }
a.sm-fact-v { color: var(--kumkum); }
.sm-facts .sm-fact:last-child { grid-column: 1 / -1; }

/* ---------- RSVP ---------- */
.sm-rsvp { max-width: 780px; margin: 50px auto 0; padding: 40px 40px 34px; background: #FFFDF5; border: 4px solid var(--maroon); border-radius: 28px; box-shadow: 0 0 0 7px #FFF3A8, 0 0 0 10px var(--kumkum), 0 22px 36px rgba(78, 10, 28, .22); }
.sm-rsvp .mt_popup_form_container { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.sm-rsvp .mt_form_input:last-child { grid-column: 1 / -1; }
.sm-rsvp input, .sm-rsvp textarea { display: block; width: 100%; padding: 13px 18px; font: 600 1.05rem var(--font-body); color: var(--ink); background: #FFF8E1; border: 2.5px solid #E8B96A; border-radius: 14px; }
.sm-rsvp input:focus, .sm-rsvp textarea:focus { outline: 0; border-color: var(--kumkum); box-shadow: 0 0 0 4px rgba(200, 16, 46, .15); }
.sm-rsvp .mtdefaultformbtn { width: 100%; margin-top: 24px; }
.sm-form-note { text-align: center; font-weight: 700; color: var(--kumkum); min-height: 1.6em; margin-top: 12px !important; }
.sm-rsvp-contact { margin-top: 22px !important; color: #5A3A2A; }

/* ---------- Footer ---------- */
.sm-footer { padding: 130px 24px 64px; background: radial-gradient(circle at 50% 100%, #B02250 0%, transparent 60%), linear-gradient(180deg, #7A1631, #3E0818); color: #FFE9C7; }
.sm-footer::before { display: none; }
.sm-foot-ico { display: block; width: clamp(150px, 22vw, 230px); margin: 0 auto 6px; animation: sm-bob 4s ease-in-out infinite; }
.sm-thanks { font-family: var(--font-hand); font-size: clamp(1.4rem, 3vw, 2rem); color: #FFD66B; }
.sm-big { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 5.4vw, 3.5rem); line-height: 1.5; color: #FFF3C8; text-shadow: 0 4px 0 #4E0A1C; }
.sm-hashtag { font-weight: 700; color: #FFD66B; font-size: 1.15rem; }
.sm-tiny { font-size: .98rem; opacity: .85; }

/* ---------- Back to top + falling jasmine & bangles ---------- */
.sm-top { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 52px; height: 52px; border-radius: 50%; border: 6px solid var(--green); background: radial-gradient(circle, #FFF3A8, #F7C61C); color: var(--maroon) !important; font: 800 1.2rem/40px sans-serif; text-align: center; text-decoration: none; cursor: pointer; box-shadow: 0 6px 0 #07381E, 0 12px 16px rgba(0, 0, 0, .3); opacity: 0; pointer-events: none; transition: opacity .3s; }
.sm-top.sm-show { opacity: 1; pointer-events: auto; }
.sm-petals { position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 30; pointer-events: none; }

/* ---------- Keyframes ---------- */
@keyframes sm-spin { to { transform: rotate(360deg); } }
@keyframes sm-spin-c { from { transform: translateX(-50%) rotate(0); } to { transform: translateX(-50%) rotate(360deg); } }
@keyframes sm-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes sm-shimmer { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .sm-hero-grid { grid-template-columns: 1fr; text-align: center; gap: 34px; }
  .sm-chips { justify-content: center; }
  .sm-couple-grid, .sm-tgrid { grid-template-columns: 1fr; }
  .sm-couple-copy .sm-title, .sm-couple-copy .sm-lead { text-align: center; margin-left: auto !important; }
  .sm-div-l { margin-left: auto; }
  .sm-pills { justify-content: center; }
  .sm-rices { grid-template-columns: repeat(3, 1fr); }
  .sm-games { grid-template-columns: repeat(2, 1fr); }
  .sm-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .sm-sec { padding-left: 16px; padding-right: 16px; font-size: 17.5px; }
  .sm-twin { grid-template-columns: 1fr; gap: 90px; }
  .sm-invite { padding: 72px 20px 36px; border-radius: 170px 170px 18px 18px / 120px 120px 18px 18px; }
  .sm-sides { grid-template-columns: 1fr; }
  .sm-sides-mid { display: none; }
  .sm-rit { grid-template-columns: 112px 1fr; border-radius: 40px 16px 16px 40px; }
  .sm-rit-ico { display: none; }
  .sm-rit-time { border-radius: 40px 0 0 40px; padding-left: 14px; }
  .sm-collage { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .sm-big, .sm-wide { grid-column: span 2; }
  .sm-saree { grid-template-columns: 1fr; }
  .sm-frame { border-radius: 170px 170px 24px 24px; }
}
@media (max-width: 560px) {
  .sm-games, .sm-steps { grid-template-columns: 1fr; }
  .sm-rices { grid-template-columns: repeat(2, 1fr); }
  .sm-pair, .sm-facts, .sm-rsvp .mt_popup_form_container { grid-template-columns: 1fr; }
  .sm-venue-body { padding: 28px 18px 32px; }
  .sm-rsvp { padding: 30px 18px 26px; }
  .sm-collage { grid-auto-rows: 150px; gap: 10px; }
  .sm-game:nth-child(n) { transform: none; }
  .sm-rit-main { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .sm-sec *, .sm-sec *::before, .sm-sec *::after { animation: none !important; transition: none !important; } }
.sm-green::before { display: none; }
