/* =====================================================================
   GRIHA VANDANA — Housewarming (Griha Pravesh) Website Template
   Style: Traditional Indian (Royal) — ivory + maroon + gold + saffron
   ---------------------------------------------------------------------
   01 Tokens · 02 Reset · 03 Type helpers · 04 Layout & buttons
   05 Nav · 06 Hero (torana + mandala) + countdown · 07 Divider
   08 About/Stats · 09 Story · 10 Schedule/Timeline · 11 Venue/Map
   12 Gallery · 13 Cards · 14 RSVP · 15 Contact · 16 Footer
   17 WhatsApp · 18 Reveal · 19 Responsive · 20 Accessibility
   ===================================================================== */

/* ============================ 01. TOKENS ============================ */
:root {
  --cream:    #fbf3e6;   /* warm ivory base */
  --sand:     #f4e8d2;   /* panel */
  --sand-2:   #efdfc4;
  --maroon:   #7d1f2f;   /* primary (hero, headings) */
  --maroon-d: #5e1522;
  --gold:     #b78a2e;
  --gold-l:   #e6c877;
  --saffron:  #e58a2b;
  --teal:     #106b63;   /* secondary accent */
  --ink:      #4a2b23;   /* warm brown text on cream */
  --ink-soft: #7c6152;

  --font-display: "Rozha One", Georgia, serif;
  --font-body:    "Mukta", system-ui, sans-serif;
  --font-sa:      "Tiro Devanagari Sanskrit", serif;

  --radius:    14px;
  --radius-sm: 10px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(4.5rem, 10vw, 8rem);
  --maxw: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 22px 44px -26px rgba(94, 21, 34, .5);
  --shadow-lift: 0 30px 56px -28px rgba(94, 21, 34, .6);
}

/* ========================= 02. RESET & BASE ======================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.75;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--saffron); color: #fff; }

.skip-link { position: fixed; top: -60px; left: 1rem; z-index: 200; background: var(--maroon); color: #fff; padding: .6rem 1rem; border-radius: 0 0 10px 10px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 0; }

/* ====================== 03. TYPOGRAPHY HELPERS ===================== */
.eyebrow {
  font-family: var(--font-body); text-transform: uppercase;
  letter-spacing: .28em; font-size: .74rem; font-weight: 600; color: var(--gold);
  display: inline-flex; align-items: center; gap: .7rem;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 8px; height: 8px; background: var(--saffron); transform: rotate(45deg); }
.eyebrow::after { display: none; }

.section__title {
  font-family: var(--font-display); font-weight: 400; line-height: 1.15;
  font-size: clamp(2rem, 5vw, 3.3rem); color: var(--maroon); margin-top: .7rem;
}
.section__sub { color: var(--ink-soft); max-width: 46ch; margin-top: 1rem; font-size: 1.05rem; }
.lead { font-size: clamp(1.08rem, 2.2vw, 1.28rem); color: var(--ink); max-width: 54ch; }

/* ===================== 04. LAYOUT & BUTTONS ====================== */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section__head { max-width: 640px; margin-inline: auto; text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head .eyebrow { justify-content: center; }
.section__head .section__sub { margin-inline: auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 2rem; font-family: var(--font-body); font-weight: 600;
  font-size: .95rem; letter-spacing: .03em; border-radius: 100px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
}
.btn--primary { background: linear-gradient(180deg, var(--maroon), var(--maroon-d)); color: var(--gold-l); border: 1px solid var(--gold); box-shadow: 0 14px 26px -12px rgba(94,21,34,.8); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 34px -14px rgba(94,21,34,.9); color: #fff; }
.btn--soft { background: var(--cream); color: var(--maroon); border: 1px solid var(--gold); box-shadow: var(--shadow); }
.btn--soft:hover { background: var(--maroon); color: var(--gold-l); transform: translateY(-3px); }
.btn--block { width: 100%; }
.btn:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; }

/* ========================= 05. NAVIGATION ========================= */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .35s, box-shadow .35s; }
.nav.is-scrolled { background: rgba(94,21,34,.97); box-shadow: 0 2px 0 var(--gold); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--gold-l); }
.brand__name { font-family: var(--font-display); font-size: 1.35rem; color: #fff; }
.nav__menu { display: flex; align-items: center; gap: 2rem; }
.nav__menu a { color: rgba(255,255,255,.85); font-weight: 500; font-size: .95rem; position: relative; transition: color .2s; }
.nav__menu a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--gold-l); transition: width .3s var(--ease); }
.nav__menu a:hover { color: #fff; }
.nav__menu a:hover:not(.nav__cta)::after { width: 100%; }
.nav__cta { border: 1px solid var(--gold); color: var(--gold-l); padding: .5rem 1.2rem; border-radius: 100px; transition: all .25s; }
.nav__cta:hover { background: var(--gold); color: var(--maroon-d); }

.nav__toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.nav__toggle span { width: 24px; height: 2px; border-radius: 2px; background: var(--gold-l); transition: transform .3s, opacity .3s; }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===================== 06. HERO (torana + mandala) =============== */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center;
  padding: 110px 0 80px; overflow: hidden; color: #f7e9cf;
  background: radial-gradient(120% 90% at 50% -10%, #93283a, var(--maroon) 45%, var(--maroon-d));
}
.hero__mandala { position: absolute; inset: 50% auto auto 50%; width: min(120vw, 1000px); aspect-ratio: 1; translate: -50% -50%; z-index: 0; background: url("images/mandala.svg") center/contain no-repeat; opacity: .16; animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__inner { position: relative; z-index: 1; }

/* Torana: ornamental gold arch frame */
.torana { position: relative; padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1.5rem, 5vw, 3.5rem) clamp(2rem, 5vw, 3rem); }
.torana::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  border: 2px solid var(--gold); border-radius: 50% 50% 12px 12px / 32% 32% 12px 12px;
  box-shadow: inset 0 0 0 6px rgba(230,200,119,.18);
}
.torana::after { /* hanging bells / drops accent */
  content: "❁"; position: absolute; top: -18px; left: 50%; translate: -50%; color: var(--gold-l); font-size: 1.6rem;
}

.hero__blessing { font-family: var(--font-sa); font-size: clamp(1rem, 2.6vw, 1.4rem); color: var(--gold-l); margin-bottom: 1.2rem; letter-spacing: .02em; }
.hero__pre { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; color: #eecfa0; margin-bottom: .5rem; }
.hero__title { font-family: var(--font-display); font-size: clamp(3rem, 10vw, 6rem); line-height: 1; color: #fff; text-shadow: 0 6px 30px rgba(0,0,0,.35); }
.hero__diya { font-size: 1.8rem; margin: .6rem 0 1rem; animation: flicker 2.4s ease-in-out infinite; }
@keyframes flicker { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .78; transform: scale(1.08); } }

.hero__hosts { display: flex; flex-direction: column; gap: .1rem; margin-bottom: 1.2rem; }
.hero__hosts-label { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: #eecfa0; }
.hero__hosts-names { font-family: var(--font-display); font-size: clamp(1.4rem, 3.4vw, 2rem); color: var(--gold-l); }

.hero__muhurat { display: inline-flex; flex-direction: column; gap: .1rem; padding: .7rem 1.6rem; border: 1px solid var(--gold); border-radius: 100px; margin-bottom: 1.6rem; }
.hero__muhurat-label { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: #eecfa0; }
.hero__muhurat-time { font-family: var(--font-display); font-size: 1.4rem; color: #fff; }

/* Countdown */
.countdown { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(.5rem, 2vw, 1rem); margin: 0 auto 1.5rem; }
.cd { background: rgba(255,255,255,.06); border: 1px solid var(--gold); border-radius: var(--radius); padding: .9rem clamp(.8rem, 2.5vw, 1.3rem); min-width: clamp(66px, 16vw, 88px); backdrop-filter: blur(4px); }
.cd__num { display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 5vw, 2.4rem); line-height: 1; color: var(--gold-l); font-variant-numeric: tabular-nums; }
.cd__label { display: block; margin-top: .45rem; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: #eecfa0; }

.hero__when { color: #f7e9cf; font-weight: 500; margin-bottom: 1.7rem; letter-spacing: .04em; }

.hero__scroll { position: absolute; bottom: 20px; left: 50%; translate: -50%; width: 26px; height: 42px; border: 2px solid var(--gold); border-radius: 20px; display: grid; place-items: start center; padding-top: 8px; z-index: 2; }
.hero__scroll span { width: 5px; height: 8px; border-radius: 3px; background: var(--gold-l); animation: scrollDot 1.7s ease-in-out infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(13px); opacity: 0; } 100% { opacity: 0; } }

/* ======================== 07. DIVIDER ============================= */
.divider { height: 70px; background: url("images/rangoli.svg") center/auto 100% no-repeat; margin-top: -1px; }

/* ========================= 08. ABOUT ============================== */
.about__inner { text-align: center; max-width: 780px; margin-inline: auto; }
.about .lead { margin: 1.4rem auto 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 3rem; }
.stat { background: var(--cream); border: 1px solid var(--gold); border-radius: var(--radius); padding: 1.8rem 1rem; box-shadow: var(--shadow); position: relative; }
.stat::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(183,138,46,.35); border-radius: 9px; pointer-events: none; }
.stat__num { font-family: var(--font-display); font-size: clamp(1.5rem, 4vw, 2.2rem); color: var(--maroon); }
.stat__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-soft); margin-top: .3rem; font-weight: 600; }

/* ========================== 09. STORY ============================= */
.story { background: var(--sand); }
.story__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: center; }
.story__frame { border: 1px solid var(--gold); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lift); background: var(--maroon); padding: 10px; }
.story__frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 8px; }
.story__text { color: var(--ink-soft); margin-top: 1.1rem; font-size: 1.08rem; }
.pullquote { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--maroon); margin-top: 1.6rem; padding-left: 1.3rem; border-left: 3px solid var(--saffron); line-height: 1.4; }

/* ==================== 10. SCHEDULE / TIMELINE ==================== */
.timeline { position: relative; max-width: 740px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; left: 29px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(var(--gold), var(--saffron), var(--gold)); opacity: .6; }
.tl-item { position: relative; display: grid; grid-template-columns: 60px 1fr; gap: 1.2rem; align-items: start; margin-bottom: 1rem; background: var(--cream); border: 1px solid var(--gold); border-radius: var(--radius); padding: 1.2rem 1.4rem; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; }
.tl-item:hover { transform: translateX(6px); box-shadow: var(--shadow-lift); }
.tl-item__dot { width: 18px; height: 18px; background: var(--saffron); transform: rotate(45deg); margin: 4px auto 0; box-shadow: 0 0 0 5px rgba(229,138,43,.16); position: relative; z-index: 1; }
.tl-item__time { font-family: var(--font-display); color: var(--gold); font-size: 1.1rem; }
.tl-item__title { font-family: var(--font-display); color: var(--maroon); font-size: 1.25rem; margin: 0 0 .3rem; }
.tl-item__desc { color: var(--ink-soft); font-size: .97rem; }

/* ======================== 11. VENUE / MAP ========================= */
.venue__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 4rem); align-items: center; }
.venue__tagline { font-family: var(--font-display); font-size: 1.35rem; color: var(--maroon); margin-top: 1rem; }
.venue__address { font-style: normal; color: var(--ink-soft); margin: 1rem 0 1.6rem; line-height: 1.7; }
.map-frame { position: relative; aspect-ratio: 4/3; border: 1px solid var(--gold); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lift); background: var(--sand-2); padding: 8px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; border-radius: 8px; }
.map-frame__placeholder { position: absolute; inset: 8px; display: grid; place-content: center; text-align: center; gap: .3rem; color: var(--ink-soft); border-radius: 8px; background: radial-gradient(70% 70% at 50% 45%, var(--sand), var(--sand-2)); }
.map-frame__placeholder p { text-transform: uppercase; letter-spacing: .18em; font-size: .74rem; font-weight: 600; }
.map-frame__placeholder small { font-family: var(--font-display); color: var(--maroon); font-size: 1.05rem; }
.map-frame__pin { font-size: 1.8rem; }

/* ========================= 12. GALLERY ============================ */
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 14px; }
.gallery__item { position: relative; overflow: hidden; border: 1px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--sand-2); }
.gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery__item:nth-child(6) { grid-column: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(94,21,34,.7)); opacity: 0; transition: opacity .4s; }
.gallery__cap { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; text-align: center; font-family: var(--font-display); color: var(--gold-l); font-size: 1.05rem; transform: translateY(8px); opacity: 0; transition: transform .4s var(--ease), opacity .4s; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover { box-shadow: var(--shadow-lift); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item:hover .gallery__cap { transform: translateY(0); opacity: 1; }

/* ==================== 13. DETAIL CARDS ============================ */
.details { background: var(--sand); }
.details__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card { background: var(--cream); border: 1px solid var(--gold); border-radius: var(--radius); padding: clamp(1.75rem, 3.5vw, 2.3rem); text-align: center; box-shadow: var(--shadow); position: relative; transition: transform .35s var(--ease), box-shadow .35s; }
.card::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(183,138,46,.3); border-radius: 9px; pointer-events: none; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.card__badge { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--sand-2); border: 1px solid var(--gold); font-size: 1.5rem; margin-bottom: 1rem; }
.card .eyebrow { justify-content: center; }
.card__title { font-family: var(--font-display); color: var(--maroon); font-size: 1.35rem; margin: .5rem 0 .7rem; }
.card__text { color: var(--ink-soft); font-size: .98rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1.1rem; }
.chip-row .chip { font-size: .78rem; font-weight: 600; padding: .4rem .9rem; border-radius: 100px; background: var(--maroon); color: var(--gold-l); }
.card .btn { margin-top: 1.3rem; }

/* ========================== 14. RSVP ============================== */
.rsvp__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: start; }
.rsvp__aside { margin-top: 1.3rem; color: var(--ink-soft); }
.rsvp__aside a { color: var(--maroon); font-weight: 600; border-bottom: 1px solid var(--gold); }
.rsvp__form { background: var(--cream); border: 1px solid var(--gold); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow-lift); position: relative; }
.rsvp__form::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(183,138,46,.3); border-radius: 9px; pointer-events: none; }
.field { margin-bottom: 1.15rem; display: flex; flex-direction: column; gap: .45rem; position: relative; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.field__opt { color: var(--ink-soft); font-weight: 400; }
.field input, .field select, .field textarea { background: var(--sand); border: 1px solid transparent; padding: .85rem 1rem; border-radius: var(--radius-sm); transition: border-color .25s, box-shadow .25s, background .25s; width: 100%; }
.field textarea { resize: vertical; min-height: 92px; }
.field input::placeholder, .field textarea::placeholder { color: #ab9683; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(183,138,46,.16); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%23b78a2e'%3E%3Cpath d='M7 10L2 4h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field.is-invalid input, .field.is-invalid select { border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(125,31,47,.14); }
.field__error { font-size: .78rem; color: var(--maroon); min-height: 1em; font-weight: 600; }
.rsvp__status { margin-top: 1rem; text-align: center; font-family: var(--font-display); font-size: 1.2rem; min-height: 1.2em; }
.rsvp__status.is-success { color: var(--teal); }
.rsvp__status.is-error { color: var(--maroon); font-family: var(--font-body); font-weight: 600; font-size: .95rem; }

/* ========================= 15. CONTACT ============================ */
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 4rem); align-items: center; }
.contact__list { display: grid; gap: 1.1rem; }
.contact__list li { display: grid; gap: .2rem; padding: 1.1rem 1.3rem; background: var(--cream); border: 1px solid var(--gold); border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.contact__label { text-transform: uppercase; letter-spacing: .18em; font-size: .68rem; color: var(--gold); font-weight: 700; }
.contact__list a { font-family: var(--font-display); color: var(--maroon); transition: color .2s; }
.contact__list a:hover { color: var(--saffron); }

/* ========================== 16. FOOTER ============================ */
.footer { position: relative; background: var(--maroon-d); color: #f3ddc0; padding-top: clamp(3rem, 6vw, 4.5rem); overflow: hidden; }
.footer__mandala { position: absolute; right: -120px; bottom: -120px; width: 420px; height: 420px; background: url("images/mandala.svg") center/contain no-repeat; opacity: .12; }
.footer__inner, .footer__bottom { position: relative; z-index: 1; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer__brand { display: flex; flex-direction: column; gap: .3rem; }
.footer__mark { font-size: 1.6rem; }
.footer__name { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-l); }
.footer__tag { font-family: var(--font-display); color: rgba(243,221,192,.85); }
.footer__nav { display: flex; flex-direction: column; gap: .7rem; }
.footer__nav a { color: rgba(243,221,192,.8); font-weight: 500; transition: color .2s; }
.footer__nav a:hover { color: var(--gold-l); }
.socials { display: flex; gap: .7rem; flex-wrap: wrap; align-content: start; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-l); transition: all .25s; }
.socials a:hover { background: var(--gold); color: var(--maroon-d); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; padding-block: 1.5rem; border-top: 1px solid rgba(230,200,119,.28); font-size: .85rem; color: rgba(243,221,192,.75); }
.footer__credit strong { color: var(--gold-l); }

/* ==================== 17. FLOATING WHATSAPP ======================= */
.wa-float { position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem); z-index: 120; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #128c4b; box-shadow: 0 14px 30px -10px rgba(18,140,75,.7); transition: transform .25s var(--ease), box-shadow .25s; }
.wa-float::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(18,140,75,.5); animation: waPulse 2.4s ease-out infinite; }
.wa-float:hover { transform: scale(1.08) translateY(-2px); }
@keyframes waPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.55); opacity: 0; } }

/* ==================== 18. REVEAL ANIMATIONS ======================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.tl-item, .gallery__item, .details__grid .card, .stat { transition-delay: var(--d, 0s); }

/* ==================== 19. RESPONSIVE ============================== */
@media (max-width: 940px) {
  .story__grid, .venue__grid, .rsvp__grid, .contact__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .gallery__item:nth-child(6) { grid-column: span 2; }
}
@media (max-width: 760px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(94,21,34,.99); padding: 1rem var(--gutter) 1.4rem; border-bottom: 2px solid var(--gold);
    transform: translateY(-120%); transition: transform .4s var(--ease);
  }
  .nav__menu.is-open { transform: translateY(0); }
  .nav__menu a { padding: .9rem 0; font-size: 1rem; border-bottom: 1px solid rgba(230,200,119,.2); }
  .nav__menu a:last-child { border-bottom: none; }
  .nav__cta { text-align: center; margin-top: .8rem; padding: .85rem; }
  .stats { grid-template-columns: 1fr; }
  .details__grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__item, .gallery__item:nth-child(1) { grid-column: span 1; }
}

/* ================= 20. ACCESSIBILITY / REDUCED MOTION ============= */
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__mandala { animation: none; }
}
