/* =========================================================
   GHAR KI SHAADI — styles
   ========================================================= */
:root {
  --yellow: #FFD205;
  --yellow-d: #F0B800;
  --pink: #DD3AA3;
  --pink-l: #FF6FC2;
  --purple: #3B1F7B;
  --purple-d: #24104F;
  --blue: #2DB4EA;
  --orange: #FF7A1A;
  --green: #17A673;
  --red: #EA2E4D;
  --cream: #FFF7DA;
  --ink: #2A1459;

  --f-display: 'Libre Caslon Condensed', 'Noto Serif Devanagari', serif;
  --f-hindi: 'DM Sans', 'Noto Sans Devanagari', sans-serif;
  --f-body: 'DM Sans', system-ui, sans-serif;

  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='48' viewBox='0 0 96 48'%3E%3Cpath d='M0 24Q24 0 48 24T96 24' fill='none' stroke='%23F0B800' stroke-opacity='.55' stroke-width='3.5'/%3E%3C/svg%3E");
  --lotus-row: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='49' height='24' viewBox='0 0 49 24'%3E%3Cpath d='M24.5 3c-4 3-4 8 0 12c4-4 4-9 0-12z' fill='%23E8409F'/%3E%3Cpath d='M24.5 15c-5-1-9-5-9-9c4 0 8 3 9 9zM24.5 15c5-1 9-5 9-9c-4 0-8 3-9 9z' fill='%23F66BBE'/%3E%3Ccircle cx='5' cy='14' r='1.6' fill='%23E8409F'/%3E%3Ccircle cx='10' cy='17' r='1.2' fill='%23E8409F'/%3E%3Ccircle cx='39' cy='17' r='1.2' fill='%23E8409F'/%3E%3Ccircle cx='44' cy='14' r='1.6' fill='%23E8409F'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  font-family: var(--f-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
figure { margin: 0; }
ul { list-style: none; }
svg { display: block; }

/* ---------- shared bits ---------- */
.section { padding: clamp(80px, 11vw, 170px) 5vw; position: relative; }
.section__head { max-width: 980px; margin: 0 auto clamp(40px, 6vw, 90px); text-align: center; }
.h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 5.8vw, 5.4rem);
  line-height: 1.02;
  color: var(--purple);
  margin-top: 18px;
}
.h2 em { color: var(--pink); font-style: normal; }
.h2--light { color: #fff; }
.h2--light em { color: var(--yellow); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.4rem); }

.eyebrow span {
  display: inline-flex; align-items: center; gap: .6em;
  background: var(--pink); color: #fff;
  font-family: var(--f-hindi); letter-spacing: .08em;
  font-size: .95rem; padding: .35em 1.2em; border-radius: 99px;
}
.eyebrow--light span { background: var(--yellow); color: var(--purple); }

.btn {
  display: inline-flex; align-items: center; gap: .6em;
  background: var(--pink); color: #fff; font-weight: 600;
  padding: 14px 28px; border-radius: 99px; border: 0; cursor: pointer;
  font-family: var(--f-body); font-size: 1rem;
  box-shadow: 0 6px 0 #A42278;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(3px); box-shadow: 0 3px 0 #A42278; background: var(--yellow); color: var(--purple); }
.btn--sm { padding: 10px 20px; font-size: .9rem; box-shadow: 0 4px 0 #A42278; }
.btn--lg { padding: 18px 36px; font-size: 1.1rem; }
.btn i { font-style: normal; transition: transform .25s; }
.btn:hover i { transform: translateX(6px); }

.arch {
  border-radius: 50% 50% 16px 16px / 36% 36% 16px 16px;
  overflow: hidden;
  background: #ddd;
}
.arch img, .gimg img, .phone-shot img, .quote footer img {
  width: 100%; height: 100%; object-fit: cover;
}

.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split .w > span { display: inline-block; will-change: transform; }

/* ---------- progress garland ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 5px; z-index: 100; pointer-events: none; }
.progress i {
  display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: repeating-linear-gradient(90deg, var(--pink) 0 22px, var(--yellow) 22px 44px, var(--blue) 44px 66px, var(--orange) 66px 88px);
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 90;
  width: min(1100px, 92vw);
  transform: translate(-50%, -160%);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 8px 10px 8px 24px;
  background: rgba(255, 247, 218, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 99px; box-shadow: 0 10px 40px rgba(59, 31, 123, .2); border: 2px solid var(--yellow);
}
.nav__logo img { height: 34px; width: auto; }
.nav__links { display: flex; gap: 28px; font-weight: 500; font-size: .95rem; }
.nav__links a { position: relative; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--pink); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav__links a:hover::after { transform: scaleX(1); }
/* burger + mobile menu */
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--purple); cursor: pointer; position: relative; flex: none; }
.burger i { position: absolute; left: 12px; right: 12px; height: 2.5px; border-radius: 2px; background: var(--yellow); transition: transform .35s, opacity .25s, top .35s; }
.burger i:nth-child(1) { top: 15px; } .burger i:nth-child(2) { top: 21px; } .burger i:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] i:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { top: 21px; transform: rotate(-45deg); }
.mmenu { position: fixed; inset: 0; z-index: 85; background: var(--purple-d); display: grid; place-items: center; clip-path: circle(0% at calc(100% - 44px) 44px); pointer-events: none; visibility: hidden; transition: clip-path .7s cubic-bezier(.7, 0, .2, 1), visibility 0s .7s; overflow: hidden; }
.mmenu.open { clip-path: circle(150% at calc(100% - 44px) 44px); pointer-events: auto; visibility: visible; transition: clip-path .8s cubic-bezier(.7, 0, .2, 1), visibility 0s; }
.mmenu__mandala { position: absolute; width: 150vmax; height: 150vmax; left: 50%; top: 50%; margin: -75vmax 0 0 -75vmax; color: rgba(255, 210, 5, .12); animation: spin 120s linear infinite; }
.mmenu__links { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 90px 8vw 40px; width: 100%; max-width: 520px; }
.mmenu__links > a:not(.btn) { display: flex; align-items: baseline; gap: 14px; font-family: var(--f-display); font-size: clamp(2.4rem, 11vw, 3.6rem); line-height: 1.15; color: #fff; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .5s, color .2s; }
.mmenu__links > a:not(.btn) span { font-family: var(--f-body); font-size: .8rem; font-weight: 600; color: var(--pink-l); letter-spacing: .1em; }
.mmenu__links > a:not(.btn):hover { color: var(--yellow); }
.mmenu__cta { margin-top: 28px; justify-content: center; opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .5s, background .2s; }
.mmenu.open .mmenu__links > a { opacity: 1; transform: none; }
.mmenu.open .mmenu__links > a:nth-child(1) { transition-delay: .25s; } .mmenu.open .mmenu__links > a:nth-child(2) { transition-delay: .3s; }
.mmenu.open .mmenu__links > a:nth-child(3) { transition-delay: .35s; } .mmenu.open .mmenu__links > a:nth-child(4) { transition-delay: .4s; }
.mmenu.open .mmenu__links > a:nth-child(5) { transition-delay: .45s; } .mmenu.open .mmenu__links > a:nth-child(6) { transition-delay: .5s; }
.mmenu.open .mmenu__links > a:nth-child(7) { transition-delay: .6s; }
@media (max-width: 900px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .nav { padding: 6px 6px 6px 18px; width: calc(100vw - 24px); z-index: 95; }
}
@media (max-width: 420px) { .nav__cta { display: none; } .nav { justify-content: space-between; } }
@media (min-width: 901px) { .mmenu { display: none; } }

/* =========================================================
   HERO
   ========================================================= */
.hero-wrap { position: relative; }
.stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.hero {
  position: absolute; inset: 0;
  background: var(--yellow) var(--wave);
  animation: waveDrift 30s linear infinite;
}
@keyframes waveDrift { to { background-position: 96px 0; } }

.edge {
  position: absolute; height: 24px; left: 9vw; right: 9vw;
  background: var(--lotus-row) repeat-x center / auto 100%;
}
.edge--top { top: 0; transform: scaleY(-1); }
.edge--bottom { bottom: 0; }

.corner { position: absolute; top: 0; width: clamp(90px, 8.5vw, 200px); will-change: transform; line-height: 0; }
.corner img { width: 100%; height: auto; }
.corner--tl { left: 0; }
.corner--tr { right: 0; }

.petals { position: absolute; inset: 0; pointer-events: none; }
.petals i {
  position: absolute; width: 14px; height: 22px; border-radius: 50% 50% 50% 50% / 70% 70% 30% 30%;
  opacity: .55; will-change: transform;
}

.logo-wrap {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 3; pointer-events: none;
}
.logo { width: clamp(260px, 29vw, 620px); height: auto; will-change: transform; }

.scroll-hint {
  position: absolute; left: 50%; bottom: clamp(36px, 7.5vh, 90px); transform: translateX(-50%);
  font-weight: 500; font-size: clamp(1rem, 1.3vw, 1.5rem); letter-spacing: .02em; color: var(--ink); z-index: 3;
  animation: hint 2.4s ease-in-out infinite;
}
.scroll-hint i { display: none; }
@keyframes hint { 50% { opacity: .45; transform: translate(-50%, -6px); } }

/* portal */
.portal {
  position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 50% 50%, #5A33B5 0%, var(--purple) 45%, var(--purple-d) 100%);
  clip-path: circle(0% at 50% 50%);
  padding: 0 6vw;
}
.portal__mandala {
  position: absolute; left: 50%; top: 50%; width: min(130vmin, 1200px); height: min(130vmin, 1200px);
  margin: calc(min(130vmin, 1200px) / -2) 0 0 calc(min(130vmin, 1200px) / -2);
  color: rgba(255, 210, 5, .28); will-change: transform;
}
.portal__mandala--2 { width: min(90vmin, 800px); height: min(90vmin, 800px); margin: calc(min(90vmin, 800px) / -2) 0 0 calc(min(90vmin, 800px) / -2); color: rgba(255, 111, 194, .35); }
.portal__inner { position: relative; max-width: 1000px; }
.portal__title {
  font-family: var(--f-display); font-weight: 600; color: #fff;
  font-size: clamp(2.8rem, 7vw, 6.4rem); line-height: 1.02; margin: 22px 0;
}
.portal__sub { color: #FFE9A8; font-size: clamp(1rem, 1.5vw, 1.35rem); max-width: 720px; margin: 0 auto; }
.portal__sub b { color: var(--yellow); }
.portal__sub em { color: var(--pink-l); font-style: normal; font-weight: 600; }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee { position: relative; height: clamp(210px, 22vw, 280px); overflow: hidden; background: var(--cream); }
.marquee__row {
  position: absolute; left: -5vw; width: 110vw; overflow: hidden; padding: 14px 0;
  background: var(--pink); color: var(--yellow); transform: rotate(-2deg); top: 22%;
  font-family: var(--f-display); font-size: clamp(1.4rem, 3vw, 2.6rem); white-space: nowrap;
  box-shadow: 0 8px 30px rgba(59, 31, 123, .18);
}
.marquee__row--rev { background: var(--purple); color: #fff; transform: rotate(2deg); top: 44%; }
.marquee__track { display: flex; align-items: center; gap: 1.4em; width: max-content; animation: ticker 36s linear infinite; }
.marquee__row--rev .marquee__track { animation-direction: reverse; animation-duration: 42s; }
.marquee__track svg { width: 1.3em; height: 1.3em; flex: none; color: var(--yellow); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* =========================================================
   ABOUT
   ========================================================= */
.about__grid { max-width: 1250px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.about__imgs { position: relative; aspect-ratio: 1 / 1.05; }
.arch--lg { width: 66%; aspect-ratio: 3 / 4.1; box-shadow: 0 0 0 8px var(--cream), 0 0 0 12px var(--pink); }
.arch--sm { position: absolute; width: 46%; aspect-ratio: 3 / 4; right: 0; bottom: -4%; box-shadow: 0 0 0 8px var(--cream), 0 0 0 12px var(--blue); }
.about__paisley { position: absolute; width: 90px; height: 90px; color: var(--orange); right: 14%; top: 4%; animation: spin 24s linear infinite; }
.about__marigold { position: absolute; width: 120px; height: 120px; left: -4%; bottom: 6%; animation: spin 40s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.about__text p { margin-top: 20px; }
.about__text .h2 { text-align: left; }
.about__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.about__badges span { padding: 8px 18px; border-radius: 99px; background: #fff; border: 2px solid var(--yellow); font-weight: 500; font-size: .9rem; }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } .about__imgs { max-width: 480px; margin: 0 auto; width: 100%; } }

/* =========================================================
   RSVP ENVELOPE
   ========================================================= */
.rsvp { position: relative; background: var(--pink); }
.rsvp__stage {
  position: relative; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 2vw; padding: 0 6vw;
  background: linear-gradient(160deg, #E346AB 0%, var(--pink) 45%, #A81F7B 100%);
}
.rsvp__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.rsvp__mandala { position: absolute; width: 110vmin; height: 110vmin; right: -20vmin; top: 50%; margin-top: -55vmin; color: rgba(255, 210, 5, .25); animation: spin 90s linear infinite; }
.rsvp__copy { position: relative; z-index: 2; }
.rsvp__captions { position: relative; height: 150px; margin-top: 26px; max-width: 460px; }
.cap { position: absolute; inset: 0 0 auto 0; color: #fff; font-size: clamp(1rem, 1.35vw, 1.2rem); }
.cap b { display: block; font-family: var(--f-display); font-weight: 600; color: var(--yellow); font-size: 1.5em; margin-bottom: 6px; }

.rsvp__scene { position: relative; z-index: 2; display: grid; place-items: center; height: 100%; }
.env { position: relative; width: clamp(280px, 36vw, 540px); aspect-ratio: 3 / 2; margin-top: 12vh; }
.env > * { position: absolute; }
.env__back { inset: 0; background: #C81E3E; border-radius: 10px; z-index: 1; box-shadow: 0 30px 60px rgba(36, 16, 79, .45); }
.env__front { inset: 0; background: linear-gradient(180deg, #F2395C, #E02A4D); border-radius: 10px; z-index: 3; clip-path: polygon(0 0, 50% 56%, 100% 0, 100% 100%, 0 100%); }
.env__front::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255, 255, 255, .15), transparent 40%); }
.env__flap {
  left: 0; top: 0; width: 100%; height: 56%; z-index: 4; background: #D32447;
  clip-path: polygon(0 0, 100% 0, 50% 100%); transform-origin: 50% 0; border-radius: 10px 10px 0 0;
}
.env__seal { left: 50%; top: 56%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--yellow); z-index: 6; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.env__seal svg { width: 34px; height: 34px; }

.env__card {
  left: 6%; top: 8%; width: 88%; height: 86%; z-index: 2; border-radius: 10px;
  background: var(--cream); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 3%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}
.card__border { position: absolute; inset: 7px; border: 2px dashed var(--pink); border-radius: 6px; pointer-events: none; }
.card__lotus { position: absolute; width: 8%; aspect-ratio: 1; top: 7%; left: 5%; opacity: .9; }
.card__hi { font-family: var(--f-hindi); color: var(--orange); font-size: clamp(.8rem, 1.2vw, 1.15rem); }
.card__names { font-family: var(--f-display); color: var(--purple); font-size: clamp(1.5rem, 3vw, 2.8rem); line-height: 1.1; }
.card__names span { color: var(--pink); }
.card__date { font-size: clamp(.6rem, .9vw, .85rem); letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; }
.card__q { font-weight: 500; margin-top: 10px; font-size: clamp(.7rem, 1vw, .95rem); }
.card__btns { display: flex; gap: 8px; margin-top: 8px; font-size: clamp(.6rem, .85vw, .8rem); font-weight: 600; }
.card__btns .yes { background: var(--green); color: #fff; padding: 5px 12px; border-radius: 99px; }
.card__btns .no { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); padding: 4px 12px; border-radius: 99px; }

.chip {
  position: absolute; z-index: 7; background: #fff; color: var(--ink); padding: 10px 18px; border-radius: 99px;
  font-weight: 500; font-size: clamp(.8rem, 1.1vw, 1rem); box-shadow: 0 10px 24px rgba(36, 16, 79, .3); white-space: nowrap;
}
.chip b { color: var(--pink); font-family: var(--f-display); font-weight: 600; font-size: 1.25em; margin-right: 4px; }
.chip--1 { top: 12%; left: 0; }
.chip--2 { top: 24%; right: 0; }
.chip--3 { bottom: 12%; left: 2%; }
.chip--4 { bottom: 20%; right: 2%; }
.burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 6; }
.burst svg { position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; }

@media (max-width: 860px) {
  .rsvp__stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; padding-top: 90px; gap: 0; }
  .rsvp__captions { height: 110px; margin-top: 12px; }
  .rsvp__copy .h2 { font-size: 2.3rem; margin-top: 8px; }
  .env { margin-top: 0; width: min(78vw, 400px); }
  .chip--1 { left: -2%; top: 8%; } .chip--2 { right: -2%; top: 16%; }
  .chip--3 { bottom: 14%; left: -2%; } .chip--4 { bottom: 6%; right: -2%; }
}

/* =========================================================
   BENTO
   ========================================================= */
.bento__grid { max-width: 1250px; margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.bcard { position: relative; border-radius: 30px; padding: 28px; overflow: hidden; min-height: 260px; }
.bcard h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.15; margin: 14px 0 8px; }
.bcard p { font-size: .98rem; }
.tag { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 99px; background: rgba(255, 255, 255, .25); }
.bcard--invite { grid-column: span 7; background: var(--yellow); color: var(--purple); min-height: 340px; }
.bcard--invite .bcard__txt { max-width: 52%; position: relative; z-index: 2; }
.bcard--invite .tag { background: var(--purple); color: var(--yellow); }
.phone-shot { position: absolute; right: 7%; bottom: -60px; width: 38%; max-width: 210px; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; border: 7px solid var(--purple); transform: rotate(7deg); box-shadow: 0 20px 40px rgba(59, 31, 123, .35); }
.bcard--dash { grid-column: span 5; background: var(--purple); color: #fff; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.ring { position: relative; width: 168px; height: 168px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 12; }
.ring__bg { stroke: rgba(255, 255, 255, .14); }
.ring__fg { stroke: var(--yellow); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; }
.ring__num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring__num b { font-family: var(--f-display); font-weight: 600; font-size: 2.4rem; line-height: 1; }
.ring__num small { opacity: .7; }
.legend { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; font-size: .92rem; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.legend b { font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; }

.bcard--wa { grid-column: span 4; background: var(--green); color: #fff; }
.chat { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.bub { max-width: 88%; padding: 8px 14px; border-radius: 16px; font-size: .85rem; line-height: 1.4; }
.bub--in { background: #fff; color: var(--ink); border-bottom-left-radius: 4px; align-self: flex-start; }
.bub--out { background: #D9FDD3; color: #164a34; border-bottom-right-radius: 4px; align-self: flex-end; }
.bcard--wa h3 { font-size: 1.25rem; }
.bcard--meal { grid-column: span 4; background: var(--pink); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chips span { padding: 8px 16px; border-radius: 99px; font-weight: 600; font-size: .88rem; background: #fff; color: var(--ink); transition: transform .25s; }
.chips span:hover { transform: rotate(-6deg) scale(1.08); }
.chips .c1 { background: var(--yellow); } .chips .c2 { background: var(--blue); } .chips .c3 { background: #FFB4A0; }
.chips .c4 { background: #D4F5E6; } .chips .c5 { background: #E3D7FF; } .chips .c6 { background: #fff; }
.bcard--travel { grid-column: span 4; background: var(--blue); color: var(--purple-d); }
.bcard--travel .tag { background: rgba(255, 255, 255, .5); }
.route { display: flex; align-items: center; gap: 12px; margin-top: 20px; font-weight: 600; position: relative; }
.route span { background: #fff; border-radius: 99px; padding: 6px 16px; }
.route b { font-size: 1.4rem; }
.bcard--seat { grid-column: span 12; background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 200px; }
.bcard--seat h3 { max-width: 460px; }
.tables { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.tables i {
  width: 70px; height: 70px; border-radius: 50%; background: rgba(255, 255, 255, .25); position: relative;
  box-shadow: 0 0 0 7px rgba(255, 255, 255, .18);
  animation: bob 4s ease-in-out infinite;
}
.tables i:nth-child(2n) { animation-delay: -1.3s; background: rgba(255, 210, 5, .6); }
.tables i:nth-child(3n) { animation-delay: -2.4s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (max-width: 900px) {
  .bcard--invite, .bcard--dash, .bcard--wa, .bcard--meal, .bcard--travel { grid-column: span 12; }
  .bcard--invite .bcard__txt { max-width: 60%; }
  .bcard--seat { flex-direction: column; align-items: flex-start; }
  .tables { justify-content: flex-start; }
}

/* =========================================================
   SERVICES (horizontal)
   ========================================================= */
.services { background: var(--purple); background-image: var(--wave); background-size: 120px 60px; position: relative; color: #fff; }
.services::before, .services::after { content: ''; position: absolute; left: 0; right: 0; height: 24px; background: var(--lotus-row) repeat-x center / auto 100%; z-index: 2; }
.services::before { top: 0; transform: scaleY(-1); }
.services::after { bottom: 0; }
.services__pin { height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; background: rgba(36, 16, 79, .8); }
.services__head { flex: none; width: clamp(340px, 40vw, 620px); padding: 0 3vw 0 6vw; }
.services__hint { margin-top: 24px; font-weight: 500; color: var(--yellow); }
.services__hint b { display: inline-block; animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(10px); } }
.services__track { display: flex; gap: clamp(24px, 3vw, 48px); padding-right: 12vw; flex: none; will-change: transform; }
.svc { flex: none; width: clamp(250px, 24vw, 360px); position: relative; }
.svc .arch { height: clamp(280px, 50vh, 460px); box-shadow: 0 0 0 7px var(--c, var(--pink)); margin: 7px; }
.svc h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.2rem, 1.7vw, 1.6rem); margin: 24px 0 6px; line-height: 1.2; }
.svc p { font-size: .92rem; opacity: .85; }
.svc__n { position: absolute; z-index: 2; top: -22px; right: 0; font-family: var(--f-body); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--yellow); -webkit-text-stroke: 0; text-shadow: 3px 3px 0 var(--purple-d); }
.svc--1 { --c: var(--yellow); } .svc--2 { --c: var(--pink); } .svc--3 { --c: var(--blue); } .svc--4 { --c: var(--orange); }
.svc--5 { --c: var(--green); } .svc--6 { --c: var(--pink-l); } .svc--7 { --c: var(--yellow); }
@media (max-width: 860px) {
  .services__pin { flex-direction: column; align-items: flex-start; justify-content: center; gap: 20px; }
  .services__head { width: 100%; padding: 80px 6vw 0; }
  .services__head .h2 { font-size: 2rem; margin-top: 8px; }
  .services__hint { margin-top: 8px; }
  .svc .arch { height: 36vh; }
  .svc { width: 62vw; }
}

/* =========================================================
   CEREMONIES (stacking cards)
   ========================================================= */
.cer__stack { max-width: 1200px; margin: 0 auto; padding-bottom: 6vh; }
.cer-card { position: sticky; top: 12vh; margin-bottom: 14vh; height: min(70vh, 560px); }
.cer-card:nth-child(2) { top: calc(12vh + 22px); }
.cer-card:nth-child(3) { top: calc(12vh + 44px); }
.cer-card:nth-child(4) { top: calc(12vh + 66px); }
.cer-card:nth-child(5) { top: calc(12vh + 88px); }
.cer-card__in {
  position: relative; height: 100%; overflow: hidden; border-radius: 40px; background: var(--bg); color: var(--ink);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 3vw; padding: clamp(24px, 4vw, 56px); align-items: center;
  box-shadow: 0 -8px 40px rgba(36, 16, 79, .18); transform-origin: 50% 0;
}
.cer-card__txt { position: relative; z-index: 2; }
.cer-card__n { font-family: var(--f-hindi); font-size: 1.2rem; opacity: .7; }
.cer-card h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.8rem, 7vw, 6.2rem); line-height: 1; }
.cer-card .hi { font-family: var(--f-hindi); font-size: clamp(1.4rem, 2.4vw, 2.2rem); color: var(--accent); margin: 4px 0 14px; }
.cer-card p { max-width: 480px; }
.pill { display: inline-block; margin-top: 20px; padding: 8px 20px; border-radius: 99px; background: var(--accent); color: var(--purple-d); font-weight: 600; font-size: .88rem; }
.cer-card .arch { height: 100%; max-height: 100%; position: relative; z-index: 2; box-shadow: 0 0 0 8px rgba(255, 255, 255, .35); margin: 8px; }
.cer-card__deco { position: absolute; width: 420px; height: 420px; right: -90px; bottom: -120px; color: var(--accent); opacity: .22; animation: spin 60s linear infinite; z-index: 1; }
@media (max-width: 760px) {
  .cer-card { height: 78vh; }
  .cer-card__in { grid-template-columns: 1fr; grid-template-rows: auto 1fr; border-radius: 28px; padding: 24px; }
  .cer-card p { font-size: .9rem; }
  .cer-card h3 { font-size: 3rem; }
}

/* =========================================================
   PROCESS
   ========================================================= */
.process { background: #fff; background-image: radial-gradient(circle at 1px 1px, rgba(221, 58, 163, .18) 1.5px, transparent 0); background-size: 28px 28px; }
.steps { position: relative; max-width: 1020px; margin: 0 auto; }
.steps__line { position: absolute; left: 50%; top: 20px; bottom: 20px; width: 6px; margin-left: -3px; background: rgba(221, 58, 163, .18); border-radius: 6px; }
.steps__line i { display: block; width: 100%; height: 100%; background: linear-gradient(180deg, var(--pink), var(--orange), var(--yellow)); transform-origin: top; transform: scaleY(0); border-radius: 6px; }
.step { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 110px; margin-bottom: 64px; }
.step__dot { position: absolute; left: 50%; top: 14px; width: 68px; height: 68px; margin-left: -34px; border-radius: 50%; background: #fff; border: 4px solid var(--pink); display: grid; place-items: center; z-index: 2; box-shadow: 0 0 0 8px #fff; }
.step__dot svg { width: 44px; height: 44px; }
.step__card { background: var(--cream); border: 2px solid var(--yellow); border-radius: 26px; padding: 26px 28px; box-shadow: 8px 8px 0 var(--pink-l); }
.step[data-side="l"] .step__card { grid-column: 1; text-align: right; }
.step[data-side="r"] .step__card { grid-column: 2; box-shadow: -8px 8px 0 var(--blue); }
.step__card b { font-family: var(--f-hindi); color: var(--pink); font-size: 1.1rem; font-weight: 600; }
.step__card h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.15; margin: 4px 0 8px; color: var(--purple); }
@media (max-width: 760px) {
  .steps__line { left: 34px; margin-left: -3px; }
  .step { grid-template-columns: 1fr; padding-left: 86px; gap: 0; }
  .step__dot { left: 34px; width: 56px; height: 56px; margin-left: -28px; }
  .step__dot svg { width: 36px; height: 36px; }
  .step[data-side] .step__card { grid-column: 1; text-align: left; box-shadow: 6px 6px 0 var(--pink-l); }
}

/* =========================================================
   STATS
   ========================================================= */
.stats { position: relative; background: var(--yellow) var(--wave); overflow: hidden; padding: clamp(70px, 9vw, 130px) 5vw; }
.stats__bg { position: absolute; width: 1100px; height: 1100px; left: 50%; top: 50%; margin: -550px 0 0 -550px; color: rgba(221, 58, 163, .22); animation: spin 120s linear infinite; }
.stats__grid { position: relative; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stats b { display: block; font-family: var(--f-display); font-weight: 600; font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 1; color: var(--purple); }
.stats span { font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; color: var(--purple); }
@media (max-width: 760px) { .stats__grid { grid-template-columns: 1fr 1fr; row-gap: 46px; } }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.love { background: var(--cream); }
.love__grid { max-width: 1250px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.quote { position: relative; background: var(--bg); color: #fff; padding: 36px 30px 28px; border-radius: 30px; transform: rotate(var(--rot)); display: flex; flex-direction: column; justify-content: space-between; gap: 26px; transition: transform .4s; box-shadow: 10px 10px 0 rgba(36, 16, 79, .12); }
.quote:hover { transform: rotate(0) translateY(-8px); }
.quote__mark { position: absolute; top: -26px; right: 24px; width: 64px; height: 64px; color: var(--yellow); filter: drop-shadow(3px 3px 0 rgba(36, 16, 79, .25)); }
.quote p { font-size: 1.05rem; }
.quote footer { display: flex; align-items: center; gap: 14px; }
.quote footer figure { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; border: 3px solid var(--yellow); flex: none; }
.quote footer b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; }
.quote footer span { font-size: .82rem; opacity: .85; }
@media (max-width: 900px) { .love__grid { grid-template-columns: 1fr; max-width: 520px; } }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { position: relative; overflow: hidden; padding: clamp(90px, 11vw, 160px) 5vw clamp(150px, 14vw, 210px); background: linear-gradient(165deg, var(--pink) 0%, #9B2CB0 55%, var(--purple) 100%); }
.contact__mandala { position: absolute; width: 1000px; height: 1000px; left: -300px; top: -250px; color: rgba(255, 210, 5, .22); animation: spin 100s linear infinite; }
.contact__grid { position: relative; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.contact__p { color: #FFE9F6; font-size: 1.15rem; margin: 22px 0; max-width: 460px; }
.contact__list { display: grid; gap: 12px; color: #fff; }
.contact__list li { display: flex; flex-direction: column; }
.contact__list b { color: var(--yellow); font-family: var(--f-hindi); font-weight: 600; letter-spacing: .06em; }
.form { background: var(--cream); border-radius: 36px; padding: clamp(24px, 3.2vw, 44px); display: grid; gap: 16px; box-shadow: 0 30px 80px rgba(36, 16, 79, .45); border: 4px solid var(--yellow); }
.field { position: relative; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field input, .field textarea {
  width: 100%; border: 2px solid #E6D8FF; background: #fff; border-radius: 16px; padding: 22px 16px 8px; font: inherit; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input:focus, .field textarea:focus { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(221, 58, 163, .15); }
.field label { position: absolute; left: 16px; top: 15px; font-size: .95rem; color: #7a6aa6; pointer-events: none; transition: all .2s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field label.always { top: 5px; font-size: .72rem; color: var(--pink); font-weight: 600; }
.check { display: flex; align-items: center; gap: 10px; font-size: .92rem; cursor: pointer; }
.check input { accent-color: var(--pink); width: 18px; height: 18px; }
.form .btn { justify-self: start; }
.form__ok { color: var(--green); font-weight: 600; min-height: 1.4em; }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } .field-row { grid-template-columns: 1fr; } }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { position: relative; background: var(--purple-d); color: #fff; text-align: center; padding: 150px 5vw 70px; margin-top: -2px; }
.toran { position: absolute; top: -2px; left: 0; }
.footer__logo { width: clamp(220px, 26vw, 400px); margin: 0 auto; }
.footer__tag { font-family: var(--f-display); font-size: clamp(1.1rem, 2vw, 1.6rem); color: var(--yellow); margin: 18px 0 28px; }
.footer__nav { display: flex; gap: 12px 28px; justify-content: center; flex-wrap: wrap; font-weight: 500; }
.footer__nav a:hover { color: var(--yellow); }
.footer__social { display: flex; gap: 12px; justify-content: center; margin: 28px 0; }
.footer__social a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--pink); font-weight: 600; font-size: .85rem; transition: transform .25s, background .25s; }
.footer__social a:hover { transform: translateY(-6px) rotate(-8deg); background: var(--yellow); color: var(--purple); }
.footer__copy { font-size: .85rem; opacity: .65; }
.edge--footer { left: 0; right: 0; bottom: 0; opacity: .9; }

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

/* card-level titles use DM Sans; only main titles use Libre Caslon Condensed */
.bcard h3, .svc h3, .step__card h3, .quote footer b, .cap b, .footer__tag, .legend b, .chip b {
  font-family: var(--f-body); font-weight: 700; letter-spacing: -.01em;
}
.svc h3 { font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.25; margin: 22px 0 8px; }
.svc p { font-size: .95rem; line-height: 1.55; color: #E9DDFF; opacity: 1; }
.svc { padding-top: 24px; }
.services__head .h2 { font-size: clamp(2.3rem, min(4.4vw, 9vh), 4.6rem); }
.eyebrow span, .cer-card__n, .pill { font-family: var(--f-body); font-weight: 600; letter-spacing: .06em; }
.cer-card .hi { font-weight: 700; }

/* travel card image */
.bcard--travel { min-height: 340px; }
.bcard__img { position: absolute; left: 24px; right: 24px; bottom: 0; height: 120px; border-radius: 20px 20px 0 0; overflow: hidden; }
.bcard__img img { width: 100%; height: 100%; object-fit: cover; }
.bcard--travel .route { margin-bottom: 140px; }
/* image crops */
img[src*="family.jpg"], img[src*="sangeet.jpg"] { object-position: 50% 12%; }
.arch img { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.svc:hover .arch img, .cer-card:hover .arch img { transform: scale(1.07); }

/* FAQ */
.faq { background: #fff; }
.faq__list { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.qa { background: var(--cream); border: 2px solid var(--yellow); border-radius: 22px; padding: 0 26px; transition: background .3s, box-shadow .3s; }
.qa[open] { background: #fff; box-shadow: 8px 8px 0 var(--pink-l); border-color: var(--pink); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-weight: 700; font-size: clamp(1rem, 1.5vw, 1.2rem); color: var(--purple); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--pink); position: relative; transition: transform .35s; }
.qa summary i::before, .qa summary i::after { content: ''; position: absolute; left: 9px; right: 9px; top: 16px; height: 2.5px; background: #fff; border-radius: 2px; }
.qa summary i::after { transform: rotate(90deg); transition: transform .35s; }
.qa[open] summary i { transform: rotate(180deg); background: var(--purple); }
.qa[open] summary i::after { transform: rotate(0); }
.qa p { padding: 0 0 22px; max-width: 700px; }

/* WhatsApp floating button */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(0, 0, 0, .3); transition: transform .25s; }
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.1) rotate(-8deg); }
.wa-float::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ping 2.2s ease-out infinite; }
@keyframes ping { to { transform: scale(1.7); opacity: 0; } }

/* ---------- a11y / seo helpers ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.aeo { background: #fff; border-left: 5px solid var(--pink); border-radius: 0 18px 18px 0; padding: 16px 20px; font-size: .98rem; }
.aeo b { color: var(--pink); }
.contact__list a, .footer__contact a { text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 4px; }
.contact__list a:hover, .footer__contact a:hover { color: var(--yellow); }
.footer__contact { margin: 4px 0 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- safe areas (notches, fold hinge cut-outs) ---------- */
.nav { top: max(14px, env(safe-area-inset-top)); }
.wa-float { right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); }
.footer { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
html { overflow-x: clip; }

/* ---------- FOLDABLES ----------
   Cover screens (Galaxy Z Fold ~ 280-360px), unfolded inner screens (~ 600-900px, near-square),
   flip phones (tall/narrow) and dual-screen devices with a hinge. */

/* very narrow cover screens */
@media (max-width: 360px) {
  .section { padding-left: 16px; padding-right: 16px; }
  .h2 { font-size: clamp(2.1rem, 11vw, 2.6rem); }
  .logo { width: 72vw; }
  .btn--lg { padding: 14px 22px; font-size: 1rem; }
  .bcard { padding: 20px; border-radius: 24px; }
  .bcard--invite .bcard__txt { max-width: 100%; }
  .phone-shot { display: none; }
  .ring { width: 140px; height: 140px; }
  .legend { gap: 12px; font-size: .85rem; }
  .cer-card__in { padding: 18px; }
  .cer-card h3 { font-size: 2.5rem; }
  .step { padding-left: 68px; }
  .steps__line { left: 26px; }
  .step__dot { left: 26px; width: 48px; height: 48px; margin-left: -24px; }
  .step__dot svg { width: 30px; height: 30px; }
  .form { padding: 20px; border-radius: 26px; }
  .stats__grid { gap: 28px 12px; }
  .mmenu__links { padding-left: 6vw; padding-right: 6vw; }
  .wa-float { width: 50px; height: 50px; }
  .corner { width: 70px; }
}

/* unfolded inner screens & small tablets: 600 - 1000px, roughly square */
@media (min-width: 600px) and (max-width: 1000px) {
  .about__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about__imgs { max-width: none; }
  .love__grid { grid-template-columns: 1fr 1fr; max-width: 900px; }
  .love__grid .quote:last-child { grid-column: 1 / -1; }
  .bento__grid { gap: 16px; }
  .bcard--invite { grid-column: span 12; }
  .bcard--dash, .bcard--wa { grid-column: span 6; }
  .bcard--meal, .bcard--travel { grid-column: span 6; }
  .contact__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .stats__grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .stats b { font-size: clamp(2rem, 6.5vw, 3.2rem); }
  .cer-card { height: min(72vh, 520px); }
  .cer-card__in { grid-template-columns: 1.1fr 1fr; grid-template-rows: none; }
  .svc { width: clamp(240px, 34vw, 320px); }
}

/* near-square / wide-short viewports (unfolded Fold, landscape phones): keep pinned scenes inside the screen */
@media (max-aspect-ratio: 6/5) and (min-aspect-ratio: 5/6) and (min-width: 600px), (max-height: 520px) {
  .rsvp__stage { padding-top: 70px; }
  .env { margin-top: 4vh; width: clamp(240px, 38vmin, 460px); }
  .rsvp__copy .h2 { font-size: clamp(2rem, 7vmin, 3.4rem); }
  .rsvp__captions { height: 120px; }
  .services__pin { gap: 0; }
  .svc .arch { height: clamp(220px, 40vh, 380px); }
  .portal__title { font-size: clamp(2rem, 7vmin, 4.4rem); }
  .portal__sub { font-size: clamp(.9rem, 2.2vmin, 1.1rem); }
}
@media (max-height: 520px) and (orientation: landscape) {
  .rsvp__stage { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .scroll-hint { bottom: 22px; }
  .cer-card { top: 8vh !important; height: 78vh; }
  .cer-card__in { grid-template-columns: 1.2fr 1fr; grid-template-rows: none; padding: 20px; }
  .cer-card h3 { font-size: 2.6rem; }
}

/* dual-screen / hinge: never put content under the fold (Surface Duo, spanning foldables) */
@media (horizontal-viewport-segments: 2) {
  .about__grid, .contact__grid { grid-template-columns: env(viewport-segment-width 0 0) env(viewport-segment-width 1 0); gap: calc(env(viewport-segment-left 1 0) - env(viewport-segment-right 0 0)); }
  .about__grid > *, .contact__grid > * { padding: 0 20px; }
}
@media (vertical-viewport-segments: 2) {
  .hero-wrap, .stage { min-height: env(viewport-segment-height 0 0); }
}

.form__alt { font-size: .9rem; } .form__alt a { color: var(--pink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
