/* =========================================================
   Sanatan Yuva Katha – Landing Page Styles
   Palette: maroon / gold / cream (matches mockup)
   ========================================================= */

:root {
  --maroon: #7d1425;
  --maroon-dark: #5e0e1b;
  --maroon-light: #9b2438;
  --gold: #c9a24a;
  --gold-dark: #a67c1c;
  --gold-light: #e8cf8a;
  --cream: #fbf3e4;
  --cream-2: #f6e9d2;
  --cream-3: #efdfc0;
  --ink: #3a1f1f;
  --ink-soft: #5c3a3a;
  --white: #ffffff;

  --font-gu: "Mukta Vaani", "Hind Vadodara", "Noto Sans Gujarati", sans-serif;
  --font-display: "Baloo Bhai 2", "Mukta Vaani", "Noto Sans Gujarati", sans-serif;
  --font-gu-body: "Hind Vadodara", "Mukta Vaani", "Noto Sans Gujarati", sans-serif;
  --font-en: "Playfair Display", Georgia, serif;
  --font-hand: "Caveat", cursive;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(94, 14, 27, 0.15);
  --container: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-gu-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input { font: inherit; }
[hidden] { display: none !important; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px;
  font-family: var(--font-gu); font-weight: 700; font-size: 1rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(180deg, var(--maroon-light), var(--maroon));
  color: var(--white);
  box-shadow: 0 6px 18px rgba(125, 20, 37, .35);
  border: 2px solid var(--gold);
}
.btn-primary:hover { background: linear-gradient(180deg, var(--maroon), var(--maroon-dark)); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--maroon-dark); border: 2px solid var(--gold-dark);
}
.btn-outline { background: transparent; border: 2px solid var(--maroon); color: var(--maroon); }
.btn-outline:hover { background: rgba(125, 20, 37, .06); }
.btn-sm { padding: 8px 18px; font-size: .92rem; }
.btn-lg { padding: 14px 34px; font-size: 1.15rem; }
.btn-block { width: 100%; }
.btn .chev { font-size: 1.5em; line-height: 1; margin-left: 4px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent;
  transition: box-shadow .2s, background .2s;
}
.site-header.scrolled {
  position: fixed;
  background: rgba(251, 243, 228, .95);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(94, 14, 27, .12);
  animation: slideDown .25s ease;
}
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 8px 0; }
.site-header.scrolled .brand img { width: 60px; height: 60px; }
.brand img {
  width: 110px; height: 110px; border-radius: 50%; object-fit: cover;
  border: 4px solid var(--gold); background: var(--white);
  box-shadow: 0 6px 18px rgba(94, 14, 27, .25);
  transition: width .2s, height .2s;
}
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
  font-family: var(--font-gu); font-weight: 600; color: var(--maroon-dark);
  position: relative; padding: 4px 0; font-size: 1rem;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--gold); transition: width .2s;
}
.nav-links a:hover::after { width: 100%; }
.nav-links .nav-cta-mobile { display: none; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--maroon); border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 120px 0 70px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  /* Wide panorama: anchor to the left so the temple stays visible beside the text */
  background: url("assets/temple-bg.jpg") left center / cover no-repeat;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(251,243,228,.05) 0%, rgba(251,243,228,.15) 18%, rgba(251,243,228,.55) 32%, rgba(251,243,228,.55) 58%, rgba(251,243,228,.3) 100%),
              linear-gradient(180deg, rgba(251,243,228,.15) 0%, rgba(251,243,228,0) 55%, rgba(251,243,228,.85) 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
}
.hero-content {
  text-align: center;
  padding: 28px 20px;
  /* soft cream glow so the text never sits directly on the bright sky */
  background: radial-gradient(ellipse 62% 55% at 50% 50%, rgba(251,243,228,.92) 0%, rgba(251,243,228,.75) 45%, rgba(251,243,228,0) 100%);
}
.hero-content > * { position: relative; }
.hero-kicker {
  font-family: var(--font-gu); font-weight: 700; color: var(--maroon-dark); font-size: 1.1rem; margin-bottom: 4px;
  text-shadow: 0 0 8px #fff, 0 0 16px #fff;
}
.hero-pill {
  display: inline-block; padding: 6px 22px; border-radius: 999px;
  border: 1.5px solid var(--gold); background: rgba(255,255,255,.8);
  font-family: var(--font-gu); font-weight: 700; color: var(--maroon-dark); font-size: 1.05rem;
}
.hero-title { font-family: var(--font-display); line-height: 1; margin: 14px 0 22px; }
.hero-title span { display: block; }
.hero-title .t1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 800; color: var(--gold-dark);
  text-shadow: 0 2px 0 #fff, 0 0 10px #fff, 0 0 22px #fff, 0 4px 10px rgba(166,124,28,.25);
}
.hero-title .t2 {
  font-size: clamp(3.8rem, 8.6vw, 7rem); font-weight: 800; color: var(--maroon);
  letter-spacing: -.01em; margin: 0;
  text-shadow: 0 3px 0 #fff, 0 0 14px #fff, 0 0 30px #fff, 0 10px 26px rgba(125, 20, 37, .25);
}
.hero-title .t3 {
  font-size: clamp(2rem, 3.8vw, 3.2rem); font-weight: 700; color: var(--maroon);
  text-shadow: 0 2px 0 #fff, 0 0 10px #fff, 0 0 22px #fff;
}
.dates { display: flex; justify-content: center; gap: 12px; margin-top: 10px; }
.date {
  background: var(--white); border: 2px solid var(--maroon); border-radius: 14px;
  padding: 6px 16px 8px; min-width: 88px; text-align: center; box-shadow: var(--shadow);
}
.date b { display: block; font-family: var(--font-en); font-size: 2.2rem; font-weight: 800; color: var(--maroon); line-height: 1; }
.date span { display: block; font-family: var(--font-gu); font-weight: 600; font-size: .9rem; color: var(--ink); margin-top: 6px; }
.date small { display: block; font-family: var(--font-gu); font-weight: 600; font-size: .72rem; color: var(--gold-dark); margin-top: 2px; }
.month { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--maroon); margin-top: 8px; text-shadow: 0 0 8px #fff, 0 0 16px #fff; }
.location-pill {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  background: var(--maroon); color: var(--white); border-radius: 999px;
  padding: 10px 26px; font-family: var(--font-gu); font-weight: 700; font-size: 1.15rem;
  box-shadow: 0 6px 18px rgba(125, 20, 37, .35);
}
.time-chips { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.time-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px; border-radius: 999px;
  background: rgba(255,255,255,.85); border: 1.5px solid var(--gold); color: var(--maroon-dark);
  font-family: var(--font-gu); font-weight: 700; font-size: .95rem;
}
.hero-desc {
  margin-top: 20px; font-family: var(--font-gu); font-weight: 600; color: var(--ink); font-size: 1.02rem; line-height: 1.7;
  text-shadow: 0 0 6px #fff, 0 0 12px #fff;
}
.organizer {
  margin-top: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.55rem;
  color: var(--gold-dark);
  text-shadow: 0 1px 0 #fff, 0 0 8px #fff, 0 0 18px #fff, 0 2px 6px rgba(166,124,28,.25);
}

/* Guest panel + arch */
.hero-guest {
  text-align: center;
  background: linear-gradient(180deg, rgba(255,251,243,.82), rgba(248,234,208,.9));
  border: 1px solid rgba(201,162,74,.55);
  border-radius: 200px 200px 28px 28px;
  padding: 26px 22px 30px;
  box-shadow: 0 20px 50px rgba(94, 14, 27, .18), inset 0 0 0 6px rgba(255,255,255,.5);
}
.arch { width: min(100%, 330px); margin: 0 auto; }
.arch-svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 14px 24px rgba(94,14,27,.3)); }
.guest-kicker { margin-top: 18px; font-family: var(--font-gu); font-weight: 700; color: var(--ink); font-size: 1.15rem; }
.guest-name { font-family: var(--font-display); font-weight: 800; color: var(--maroon); font-size: clamp(2.4rem, 4.8vw, 3.5rem); line-height: 1.1; margin: 2px 0 12px; }
.guest-quote { font-family: var(--font-gu); font-weight: 600; font-size: 1.15rem; color: var(--ink); line-height: 1.6; margin: 0 auto; }

/* Curved bottom edge + Are you coming CTA */
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 110px; z-index: 1; pointer-events: none; }
.hero-wave svg { width: 100%; height: 100%; display: block; }
.hero-cta { text-align: center; margin-top: 40px; position: relative; z-index: 2; }
.btn-coming {
  background: var(--maroon); color: var(--white); border: 3px solid var(--gold);
  font-family: var(--font-en); font-weight: 700; font-size: 1.6rem; padding: 10px 38px;
  box-shadow: 0 10px 30px rgba(94, 14, 27, .4);
  position: relative;
}
.btn-coming::before, .btn-coming::after {
  content: ""; position: absolute; top: 50%; width: 14px; height: 14px; transform: translateY(-50%) rotate(45deg);
  background: var(--gold); border: 2px solid var(--maroon);
}
.btn-coming::before { left: -8px; }
.btn-coming::after { right: -8px; }
.btn-coming .arrow {
  width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--maroon);
  display: inline-flex; align-items: center; justify-content: center; margin-left: 8px;
}

/* ---------- Tagline ---------- */
.tagline { text-align: center; padding: 22px 16px 10px; }
.tagline p { font-family: var(--font-gu); font-weight: 600; color: var(--ink-soft); font-size: 1.1rem; }

/* ---------- Features ---------- */
.features { padding: 30px 0 50px; }
.features-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--white); border-radius: 22px; box-shadow: var(--shadow);
  padding: 30px 10px; gap: 6px;
}
.feature { text-align: center; padding: 10px 12px; position: relative; }
.feature + .feature::before {
  content: ""; position: absolute; left: 0; top: 15%; height: 70%; width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold-light), transparent);
}
.feature-icon {
  width: 86px; height: 86px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--cream-2); color: var(--maroon);
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 3px var(--white), 0 4px 14px rgba(94,14,27,.12);
}
.feature-icon svg { width: 42px; height: 42px; }
.feature-icon .om { font-size: 2.6rem; line-height: 1; font-weight: 700; }
.feature h3 { font-family: var(--font-display); font-weight: 700; color: var(--maroon-dark); font-size: 1.2rem; }
.feature p { font-family: var(--font-gu); color: var(--ink-soft); font-size: .92rem; margin-top: 4px; }

/* ---------- Selfie section ---------- */
.selfie {
  padding: 40px 0 80px; position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 10% 20%, rgba(201,162,74,.18), transparent 45%),
              radial-gradient(ellipse at 90% 90%, rgba(125,20,37,.10), transparent 45%),
              var(--cream);
}
.selfie::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px;
  background: url("assets/temple-bg.jpg") center bottom/cover no-repeat;
  opacity: .18; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000);
  mask-image: linear-gradient(180deg, transparent, #000);
}
.selfie-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.selfie-title { font-family: var(--font-en); font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 2.8rem); color: var(--maroon); line-height: 1.15; }
.selfie-sub { margin-top: 12px; font-family: var(--font-en); font-size: 1.15rem; color: var(--ink-soft); max-width: 520px; }
.selfie-cta-row { display: flex; align-items: center; gap: 28px; margin-top: 24px; flex-wrap: wrap; }
.selfie-cta-row .btn-lg { font-family: var(--font-en); font-size: 1.2rem; }
.handwritten {
  font-family: var(--font-hand); font-size: 1.5rem; font-weight: 700; color: var(--maroon);
  line-height: 1; transform: rotate(-8deg); position: relative; display: inline-block;
}
.hand-arrow { position: absolute; width: 70px; right: -60px; bottom: -34px; color: var(--maroon); transform: rotate(20deg); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 46px; max-width: 620px; }
.steps li { text-align: center; font-family: var(--font-en); font-weight: 700; color: var(--maroon-dark); font-size: .95rem; line-height: 1.3; }
.step-icon {
  width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 12px;
  border: 2px solid var(--maroon); color: var(--maroon); background: rgba(255,255,255,.6);
  display: flex; align-items: center; justify-content: center;
}
.step-icon svg { width: 34px; height: 34px; }

.selfie-preview { display: flex; justify-content: center; }
.polaroid {
  background: var(--white); padding: 12px 12px 12px; border-radius: 10px;
  box-shadow: 0 25px 60px rgba(94,14,27,.3), 0 0 0 1px rgba(94,14,27,.06);
  transform: rotate(4deg); width: min(100%, 360px);
  transition: transform .3s;
}
.polaroid:hover { transform: rotate(0deg) scale(1.02); }
.polaroid-photo {
  aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden;
  background: linear-gradient(160deg, #e8cf8a 0%, #d5a25c 45%, #8b3a2f 100%);
}
.polaroid-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Shared: section title pill + chips ---------- */
.section-title { text-align: center; margin-bottom: 28px; }
.section-title span {
  display: inline-block; padding: 8px 34px; border-radius: 999px;
  background: linear-gradient(180deg, var(--maroon-light), var(--maroon-dark));
  color: var(--gold-light); font-family: var(--font-display); font-weight: 700; font-size: 1.35rem;
  border: 2px solid var(--gold); box-shadow: 0 8px 22px rgba(94,14,27,.3);
  position: relative;
}
.section-title span::before, .section-title span::after {
  content: ""; position: absolute; top: 50%; width: 44px; height: 3px; transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, var(--gold));
}
.section-title span::before { right: 100%; margin-right: 12px; }
.section-title span::after { left: 100%; margin-left: 12px; transform: translateY(-50%) scaleX(-1); }
.chip {
  display: inline-block; padding: 5px 18px; border-radius: 999px;
  background: var(--maroon); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .95rem;
}
.chip-red { background: #c8102e; }

/* ---------- About the katha ---------- */
.about { padding: 20px 0 50px; }
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 36px; align-items: center; }
.about-quote {
  position: relative; background: linear-gradient(180deg, var(--maroon-light), var(--maroon-dark));
  color: #fff; border-radius: 20px; padding: 40px 30px 34px; border: 2px solid var(--gold);
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; line-height: 1.6;
  box-shadow: 0 16px 40px rgba(94,14,27,.3);
}
.about-quote b { color: var(--gold-light); }
.about-mark { position: absolute; top: -6px; left: 18px; font-family: var(--font-en); font-size: 5rem; line-height: 1; color: var(--gold); opacity: .8; }
.about-body p { font-family: var(--font-gu); font-weight: 500; font-size: 1.05rem; line-height: 1.8; color: var(--ink); }
.about-body .about-invite { margin-top: 14px; font-weight: 700; color: var(--maroon); }
.about-body .btn { margin-top: 18px; }

/* ---------- Programmes ---------- */
.programmes { padding: 30px 0 50px; background: var(--cream-2); }
.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prog-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--cream-3); }
.prog-head {
  background: linear-gradient(180deg, #d5182f, #b30f24); color: #fff; padding: 12px 16px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; text-align: center; line-height: 1.3;
  position: relative;
}
.prog-head::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: var(--gold); }
.prog-head small { font-size: .95rem; font-weight: 600; opacity: .95; }
.prog-card ul { padding: 16px 18px 20px; text-align: center; display: grid; gap: 8px; }
.prog-card li { font-family: var(--font-display); font-weight: 700; color: var(--maroon); font-size: 1.15rem; line-height: 1.3; }
.prog-card li small { display: block; font-family: var(--font-gu); font-weight: 600; font-size: .9rem; color: var(--ink-soft); }
.prog-card li.prog-star { margin-top: 8px; padding-top: 12px; border-top: 1px dashed var(--gold); color: #1a3a8f; font-size: 1.45rem; }
.prog-card li.prog-star small { color: var(--maroon); font-weight: 700; }
.prog-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 24px; }
.prog-extra-item { background: #fff; border-radius: 16px; padding: 20px; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--cream-3); }
.prog-extra-item b { display: block; margin-top: 12px; font-family: var(--font-display); font-weight: 800; color: var(--maroon); font-size: 1.4rem; }
.prog-extra-item b small { font-size: 1rem; font-weight: 700; }
.prog-extra-item p { font-family: var(--font-gu); font-weight: 600; color: var(--ink-soft); margin-top: 4px; }

/* ---------- Special guests ---------- */
.guests { padding: 40px 0 50px; }
.guest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }
.guest-card { background: #fff; border-radius: 20px; padding: 26px 20px 24px; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--cream-3); }
.guest-photo {
  width: 210px; height: 210px; margin: 0 auto 16px; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 50% 30%, #fff3cf, #e0b25a 70%, #b98a2a);
  border: 5px solid var(--gold); box-shadow: 0 10px 26px rgba(94,14,27,.25), inset 0 0 0 4px #fff;
}
.guest-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.guest-tag {
  display: inline-block; font-family: var(--font-display); font-weight: 700; color: #8a2a9c; font-size: 1rem; line-height: 1.3;
  padding: 0 14px; position: relative;
}
.guest-tag::before, .guest-tag::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); transform: translateY(-50%); }
.guest-tag::before { left: 0; } .guest-tag::after { right: 0; }
.guest-sub { font-family: var(--font-gu); font-weight: 600; color: var(--maroon); font-size: .95rem; margin-top: 4px; }
.guest-card h3 { font-family: var(--font-display); font-weight: 800; color: var(--maroon); font-size: 1.5rem; line-height: 1.2; margin-top: 6px; }
.guest-card p { font-family: var(--font-gu); font-weight: 600; color: var(--ink-soft); font-size: .95rem; margin-top: 4px; }
.guest-date { display: inline-block; margin-top: 12px; padding: 5px 16px; border-radius: 999px; background: #c8102e; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .95rem; }

/* ---------- Committee (નિમંત્રક) ---------- */
.committee { padding: 40px 0 50px; background: var(--cream-2); }
.committee-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member { background: #fff; border-radius: 16px; padding: 22px 16px; text-align: center; box-shadow: var(--shadow); border-top: 4px solid var(--gold); }
.member h3 { font-family: var(--font-display); font-weight: 800; color: var(--maroon); font-size: 1.4rem; }
.member p { font-family: var(--font-gu); font-weight: 600; color: var(--ink-soft); font-size: .92rem; margin-top: 6px; min-height: 2.8em; line-height: 1.45; }
.member .phones { display: block; margin-top: 10px; font-family: var(--font-en); font-weight: 700; color: var(--maroon-dark); font-size: .95rem; }
.member .phones a:hover { text-decoration: underline; }

/* ---------- Blessings ---------- */
.blessings { padding: 40px 0 50px; }
.aai-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 40px; }
.aai { background: #fff; border-radius: 14px; padding: 18px 12px; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--cream-3); }
.aai b { display: block; font-family: var(--font-display); font-weight: 800; color: var(--maroon); font-size: 1.15rem; }
.aai span { display: block; font-family: var(--font-gu); font-weight: 600; color: var(--ink-soft); font-size: .9rem; margin-top: 4px; }

/* Name lists + collapsible */
.name-list { display: grid; gap: 8px 24px; }
.name-list li { font-family: var(--font-gu); font-weight: 600; color: var(--maroon); font-size: 1.02rem; line-height: 1.4; padding-left: 14px; position: relative; }
.name-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.two-col { grid-template-columns: 1fr 1fr; }
.pillar-list { grid-template-columns: repeat(4, 1fr); }
.pillar-list li { text-align: left; }
.collapsible { position: relative; max-height: 300px; overflow: hidden; transition: max-height .35s ease; }
.collapsible.open { max-height: 5000px; }
.collapsible .fade { position: absolute; left: 0; right: 0; bottom: 0; height: 110px; background: linear-gradient(180deg, transparent, var(--cream)); pointer-events: none; }
.collapsible.open .fade, .collapsible.filtered .fade { display: none; }
.collapsible.filtered { max-height: none; }
.btn-toggle { display: block; margin: 16px auto 0; }
.pillar-search {
  display: flex; align-items: center; gap: 10px; max-width: 460px; margin: 0 auto 24px;
  background: #fff; border-radius: 999px; padding: 8px 16px; border: 1.5px solid var(--gold); color: var(--maroon);
  box-shadow: var(--shadow);
}
.pillar-search input { flex: 1; border: 0; outline: 0; font-family: var(--font-gu); font-size: 1rem; background: transparent; color: var(--ink); }
.pillar-search span { font-size: .8rem; color: var(--ink-soft); white-space: nowrap; }
.no-result { text-align: center; color: var(--ink-soft); font-family: var(--font-gu); font-weight: 600; margin-top: 10px; }
.pillars { padding: 40px 0 50px; background: var(--cream-2); }
.pillars .collapsible .fade { background: linear-gradient(180deg, transparent, var(--cream-2)); }

/* ---------- Info bar ---------- */
.info-bar { background: linear-gradient(180deg, var(--maroon-light), var(--maroon)); color: var(--white); padding: 34px 0; }
.info-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; padding: 6px 10px; position: relative; }
.info-item + .info-item::before {
  content: ""; position: absolute; left: -10px; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.2);
}
.info-icon {
  flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); color: var(--maroon);
  display: flex; align-items: center; justify-content: center;
}
.info-icon svg { width: 28px; height: 28px; }
.info-item h4 { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--gold-light); }
.info-item p { font-family: var(--font-gu); font-size: 1rem; line-height: 1.5; }
.info-item a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { position: relative; padding: 44px 0 18px; overflow: hidden; background: var(--cream-2); }
.footer-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url("assets/temple-bg.jpg") center bottom/cover no-repeat; opacity: .35;
}
.footer-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--cream-2), rgba(246,233,210,.4)); }
.footer-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; min-height: 120px; }
.footer-quote { font-family: var(--font-display); font-weight: 700; color: var(--maroon-dark); font-size: 1.35rem; text-align: center; }
.jai { font-family: var(--font-hand); font-size: 2.4rem; font-weight: 700; color: var(--maroon); transform: rotate(-10deg); display: inline-block; }
.copyright { position: relative; z-index: 1; text-align: center; margin-top: 30px; font-size: .85rem; color: var(--ink-soft); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(58, 31, 31, .65); backdrop-filter: blur(3px); }
.modal-box {
  position: relative; z-index: 1; width: min(100%, 460px); max-height: calc(100vh - 32px); overflow: auto;
  background: var(--cream); border-radius: 20px; padding: 28px 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35); border: 2px solid var(--gold);
  animation: pop .22s ease;
}
.modal-wide { width: min(100%, 960px); }
@keyframes pop { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-close {
  position: absolute; top: 10px; right: 12px; width: 38px; height: 38px; border-radius: 50%;
  font-size: 1.8rem; line-height: 1; color: var(--maroon); background: var(--cream-2);
}
.modal-close:hover { background: var(--cream-3); }
.modal-title { font-family: var(--font-display); font-weight: 800; color: var(--maroon); font-size: 1.6rem; }
.modal-wide .modal-title { font-family: var(--font-en); }
.modal-sub { color: var(--ink-soft); margin-top: 4px; font-size: .95rem; }

/* Form */
.form { margin-top: 18px; display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-family: var(--font-gu); font-weight: 600; color: var(--ink); }
.form label span { color: var(--maroon); }
.form input {
  padding: 11px 14px; border-radius: 10px; border: 1.5px solid var(--cream-3); background: var(--white);
  outline: none; transition: border .15s;
}
.form input:focus { border-color: var(--gold); }
.form-error { color: #b3261e; font-size: .9rem; min-height: 1.2em; }
.form-note { font-size: .8rem; color: var(--ink-soft); text-align: center; }

/* Selfie modal – source step */
.source-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.source-btn {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 28px 16px; border-radius: 16px; background: var(--white);
  border: 2px dashed var(--gold); color: var(--maroon); cursor: pointer; text-align: center;
  transition: .15s;
}
.source-btn:hover { background: var(--cream-2); border-style: solid; transform: translateY(-2px); }
.source-btn b { font-family: var(--font-en); font-size: 1.15rem; }
.source-btn small { color: var(--ink-soft); }

/* Camera step */
.camera-wrap {
  position: relative; width: min(100%, 440px); aspect-ratio: 4 / 5; margin: 16px auto 0;
  background: #000; border-radius: 14px; overflow: hidden;
}
.camera-wrap video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.camera-wrap video.rear { transform: none; }
.camera-overlay { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.editor-actions { display: flex; justify-content: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }

/* Editor step */
.editor-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; margin-top: 18px; }
.canvas-wrap { text-align: center; }
#selfieCanvas {
  width: 100%; max-width: 460px; height: auto;
  border-radius: 14px; box-shadow: var(--shadow); background: #ddd;
  cursor: grab; touch-action: none; user-select: none;
}
#selfieCanvas.dragging { cursor: grabbing; }
.canvas-hint { font-size: .85rem; color: var(--ink-soft); margin-top: 8px; }
.editor-controls { display: grid; gap: 12px; align-content: start; }
.range-label { font-family: var(--font-en); font-weight: 700; color: var(--maroon); display: grid; gap: 6px; }
.range-label input { width: 100%; accent-color: var(--maroon); }
.control-row { display: flex; gap: 8px; flex-wrap: wrap; }
.control-row .btn { flex: 1; }
.editor-controls hr { border: 0; border-top: 1px solid var(--cream-3); margin: 6px 0; }
.share-links { background: var(--white); border-radius: 12px; padding: 12px; font-size: .9rem; color: var(--ink-soft); }
.share-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.share-btn { flex: 1; text-align: center; padding: 8px 10px; border-radius: 8px; color: #fff; font-weight: 700; font-size: .85rem; }
.share-btn.wa { background: #25d366; }
.share-btn.fb { background: #1877f2; }
.share-btn.ig { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); }
.share-btn.x { background: #000; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px);
  background: var(--maroon-dark); color: #fff; padding: 12px 20px; border-radius: 999px;
  font-weight: 600; opacity: 0; pointer-events: none; transition: .25s; z-index: 200;
  border: 1px solid var(--gold);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .feature + .feature::before { display: none; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .info-item + .info-item::before { display: none; }
  .committee-grid { grid-template-columns: repeat(2, 1fr); }
  .aai-grid { grid-template-columns: repeat(3, 1fr); }
  .pillar-list { grid-template-columns: repeat(3, 1fr); }
  .guest-photo { width: 170px; height: 170px; }
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--cream);
    box-shadow: 0 12px 30px rgba(94,14,27,.2); display: none; padding: 10px 0 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: inline-block; padding: 12px 0; font-size: 1.1rem; }
  .nav-links .nav-cta-mobile { display: block; margin-top: 8px; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .site-header { position: fixed; background: rgba(251, 243, 228, .95); backdrop-filter: blur(8px); }
  .brand img { width: 64px; height: 64px; border-width: 3px; }
  .hero { padding-top: 96px; }
  .hero-bg { background-position: 30% center; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-guest { order: -1; border-radius: 170px 170px 24px 24px; padding: 20px 14px 24px; }
  .arch { width: min(100%, 280px); }

  .selfie-grid { grid-template-columns: 1fr; }
  .selfie-preview { order: -1; }
  .polaroid { width: min(100%, 320px); }
  .steps { grid-template-columns: repeat(2, 1fr); }

  .editor-grid { grid-template-columns: 1fr; }
  .source-buttons { grid-template-columns: 1fr; }

  .about-grid { grid-template-columns: 1fr; gap: 22px; }
  .about-quote { font-size: 1.15rem; padding: 34px 22px 26px; }
  .time-chip { font-size: .85rem; padding: 5px 12px; }
  .prog-grid, .prog-extra { grid-template-columns: 1fr; }
  .guest-grid { grid-template-columns: 1fr; }
  .section-title span::before, .section-title span::after { display: none; }
  .two-col { grid-template-columns: 1fr; }
  .pillar-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .hero-title .t2 { font-size: 3.4rem; }
  .date { min-width: 76px; padding: 4px 10px 6px; }
  .date b { font-size: 1.8rem; }
  .location-pill { font-size: 1rem; padding: 8px 20px; }
  .btn-coming { font-size: 1.25rem; padding: 10px 24px; }
  .features-grid { grid-template-columns: 1fr 1fr; padding: 22px 8px; }
  .feature-icon { width: 70px; height: 70px; }
  .info-grid { grid-template-columns: 1fr; }
  .handwritten { display: none; }
  .footer-inner { gap: 16px; }
  .committee-grid, .aai-grid, .pillar-list { grid-template-columns: 1fr; }
}
