/* =====================================================================
   AURORA LAUNCH — Product Launch Website Template
   Style: Glassmorphism (aurora gradient + frosted glass)
   ---------------------------------------------------------------------
   01 Tokens · 02 Reset · 03 Type helpers · 04 Layout & buttons
   05 Glass utility · 06 Nav · 07 Hero (aurora + glass card) + countdown
   08 About/Stats · 09 Story · 10 Agenda/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 {
  --bg:       #f5f6fc;   /* light body */
  --bg-2:     #eef0fb;   /* panel */
  --deep:     #171a3a;   /* deep indigo (hero base / footer) */
  --ink:      #1b1e34;   /* text on light */
  --ink-soft: #5b6080;
  --indigo:   #5b5bd6;
  --violet:   #8b5cf6;
  --pink:     #ec4899;
  --cyan:     #22d3ee;
  --grad: linear-gradient(120deg, var(--indigo), var(--violet) 50%, var(--pink));

  /* Glass */
  --glass-light: rgba(255, 255, 255, 0.55);
  --glass-brd-light: rgba(255, 255, 255, 0.7);
  --glass-dark: rgba(255, 255, 255, 0.10);
  --glass-brd-dark: rgba(255, 255, 255, 0.28);

  --font-display: "Sora", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;

  --radius:    20px;
  --radius-sm: 14px;
  --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 24px 60px -30px rgba(23, 26, 58, .5);
  --shadow-lift: 0 34px 70px -32px rgba(23, 26, 58, .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(--bg);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
/* subtle aurora wash behind the light body */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2;
  background: url("images/aurora-soft.svg") center/cover no-repeat, var(--bg);
}
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(--violet); color: #fff; }

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

/* ====================== 03. TYPOGRAPHY HELPERS ===================== */
.eyebrow {
  font-family: var(--font-body); text-transform: uppercase;
  letter-spacing: .24em; font-size: .74rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow--light { background: none; -webkit-text-fill-color: initial; color: var(--cyan); }

.section__title {
  font-family: var(--font-display); font-weight: 700; line-height: 1.1;
  font-size: clamp(2rem, 5vw, 3.3rem); color: var(--ink); margin-top: .7rem; letter-spacing: -0.02em;
}
.section__title--light { color: #fff; }
.section__sub { color: var(--ink-soft); max-width: 46ch; margin-top: 1rem; font-size: 1.04rem; }
.lead { font-size: clamp(1.08rem, 2.2vw, 1.28rem); color: var(--ink-soft); max-width: 54ch; }
.lead--light { color: rgba(255,255,255,.85); }

/* ===================== 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 1.9rem; font-family: var(--font-body); font-weight: 600;
  font-size: .95rem; border-radius: 100px; letter-spacing: .01em;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, opacity .3s;
}
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 16px 30px -12px rgba(139,92,246,.7); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -14px rgba(236,72,153,.7); }
.btn--ghost { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.4); color: #fff; backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.24); transform: translateY(-2px); }
.btn--ghost-dark { background: transparent; border: 1px solid rgba(91,91,214,.4); color: var(--indigo); }
.btn--ghost-dark:hover { background: rgba(91,91,214,.08); transform: translateY(-2px); }
.btn--soft { background: #fff; color: var(--indigo); box-shadow: var(--shadow); }
.btn--soft:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.btn--block { width: 100%; }
.btn:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

/* ======================= 05. GLASS UTILITY ======================= */
.glass {
  background: var(--glass-light);
  border: 1px solid var(--glass-brd-light);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--shadow);
}
.badge {
  display: inline-block; padding: .4rem 1rem; border-radius: 100px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35);
  color: #fff; font-size: .8rem; font-weight: 500; letter-spacing: .04em; margin-bottom: 1.2rem;
}

/* ========================= 06. NAVIGATION ========================= */
.nav { position: fixed; inset: 14px 0 auto 0; z-index: 100; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 62px; padding-inline: 1.2rem; border-radius: 100px; transition: background .35s; }
.brand { display: inline-flex; align-items: center; gap: .55rem; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: #fff; }
.nav__menu { display: flex; align-items: center; gap: 1.8rem; }
.nav__menu a { color: rgba(255,255,255,.82); font-weight: 500; font-size: .92rem; position: relative; transition: color .2s; }
.nav__menu a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; border-radius: 2px; background: var(--grad); transition: width .3s var(--ease); }
.nav__menu a:hover { color: #fff; }
.nav__menu a:hover:not(.nav__cta)::after { width: 100%; }
.nav__cta { background: var(--grad); color: #fff; padding: .5rem 1.15rem; border-radius: 100px; box-shadow: 0 10px 20px -10px rgba(139,92,246,.9); transition: transform .25s; }
.nav__cta:hover { transform: translateY(-2px); }

.nav__toggle { display: none; width: 42px; height: 42px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.nav__toggle span { width: 24px; height: 2px; border-radius: 2px; background: #fff; 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); }

/* ===================== 07. HERO (aurora + glass card) ============ */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 120px 0 90px; overflow: hidden; }
.hero__aurora { position: absolute; inset: 0; z-index: -1; background: url("images/aurora-hero.svg") center/cover no-repeat, var(--deep); }
.hero__aurora::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,26,58,.15), rgba(23,26,58,.5)); }
.hero__orb { position: absolute; border-radius: 50%; filter: blur(2px); z-index: 0; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); backdrop-filter: blur(6px); animation: float 9s ease-in-out infinite; }
.hero__orb--1 { width: 120px; height: 120px; top: 18%; left: 12%; }
.hero__orb--2 { width: 80px; height: 80px; bottom: 20%; right: 14%; animation-delay: 1.5s; }
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-22px) } }

.hero__inner { position: relative; z-index: 1; width: 100%; display: grid; place-items: center; }
.hero__card { border-radius: 28px; padding: clamp(2rem, 5vw, 3.5rem); max-width: 640px; width: 100%; text-align: center; color: #fff; }
.hero__pre { text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; color: rgba(255,255,255,.8); margin-bottom: .5rem; }
.hero__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.8rem, 9vw, 5rem); line-height: 1; letter-spacing: -0.03em; color: #fff; }
.hero__tagline { color: rgba(255,255,255,.85); font-size: clamp(1rem, 2.4vw, 1.25rem); margin-top: .8rem; }

/* Countdown */
.countdown { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(.5rem, 2vw, .9rem); margin: 1.8rem auto 1.3rem; }
.cd { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28); border-radius: var(--radius-sm); padding: .85rem clamp(.7rem, 2.4vw, 1.2rem); min-width: clamp(62px, 15vw, 82px); }
.cd__num { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 5vw, 2.3rem); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.cd__label { display: block; margin-top: .4rem; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.75); }

.hero__when { color: rgba(255,255,255,.85); font-weight: 500; margin-bottom: 1.6rem; font-size: .95rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

.hero__scroll { position: absolute; bottom: 20px; left: 50%; translate: -50%; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); 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: #fff; 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; } }

/* ========================= 08. ABOUT ============================== */
.about__inner { text-align: center; max-width: 780px; margin-inline: auto; }
.about .lead { margin: 1.4rem auto 0; color: var(--ink-soft); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 3rem; }
.stat { border-radius: var(--radius); padding: 1.8rem 1rem; background: var(--glass-light); border: 1px solid var(--glass-brd-light); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 4.5vw, 2.6rem); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); margin-top: .3rem; font-weight: 600; }

/* ========================== 09. STORY ============================= */
.story__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: center; }
.story__frame { border-radius: var(--radius); overflow: hidden; padding: 10px; }
.story__frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 12px; }
.story__text { color: var(--ink-soft); margin-top: 1.1rem; font-size: 1.06rem; }
.pullquote { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 2.8vw, 1.7rem); color: var(--ink); margin-top: 1.6rem; padding-left: 1.3rem; border-left: 3px solid transparent; border-image: var(--grad) 1; line-height: 1.4; }

/* ==================== 10. AGENDA / TIMELINE ===================== */
.timeline { position: relative; max-width: 760px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 12px; bottom: 12px; width: 2px; background: var(--grad); opacity: .5; }
.tl-item { position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 1.2rem; align-items: start; margin-bottom: 1rem; border-radius: var(--radius); padding: 1.2rem 1.4rem; background: var(--glass-light); border: 1px solid var(--glass-brd-light); box-shadow: var(--shadow); backdrop-filter: blur(10px); transition: transform .3s var(--ease), box-shadow .3s; }
.tl-item:hover { transform: translateX(6px); box-shadow: var(--shadow-lift); }
.tl-item__dot { width: 16px; height: 16px; border-radius: 50%; background: var(--grad); margin: 5px auto 0; box-shadow: 0 0 0 5px rgba(139,92,246,.15); position: relative; z-index: 1; }
.tl-item__time { font-family: var(--font-display); font-weight: 700; font-size: 1rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tl-item__title { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.15rem; margin: .1rem 0 .3rem; }
.tl-item__desc { color: var(--ink-soft); font-size: .96rem; }

/* ======================== 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-weight: 500; font-size: 1.25rem; color: var(--ink); margin-top: 1rem; }
.venue__address { font-style: normal; color: var(--ink-soft); margin: 1rem 0 1.6rem; line-height: 1.7; }
.venue__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.map-frame { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; padding: 8px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; border-radius: 12px; }
.map-frame__placeholder { position: absolute; inset: 8px; display: grid; place-content: center; text-align: center; gap: .4rem; color: var(--ink-soft); border-radius: 12px; background: url("images/aurora-soft.svg") center/cover; }
.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); font-weight: 600; color: var(--ink); }
.map-frame__pin { width: 18px; height: 18px; border-radius: 50% 50% 50% 0; background: var(--grad); transform: rotate(-45deg); margin: 0 auto .4rem; }

/* ========================= 12. GALLERY ============================ */
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 16px; }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--bg-2); border: 1px solid var(--glass-brd-light); }
.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 50%, rgba(23,26,58,.55)); 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); font-weight: 600; color: #fff; font-size: .95rem; 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__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card { border-radius: var(--radius); padding: clamp(1.75rem, 3.5vw, 2.3rem); text-align: center; transition: transform .35s var(--ease), box-shadow .35s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.card__badge { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--grad); color: #fff; font-size: 1.2rem; margin-bottom: 1rem; box-shadow: 0 12px 24px -10px rgba(139,92,246,.7); }
.card .eyebrow { justify-content: center; }
.card__title { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.3rem; 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: rgba(139,92,246,.12); color: var(--violet); }
.card .btn { margin-top: 1.3rem; }

/* ========================== 14. RSVP ============================== */
.rsvp { overflow: hidden; }
.rsvp__aurora { position: absolute; inset: 0; z-index: -1; background: url("images/aurora-hero.svg") center/cover no-repeat, var(--deep); }
.rsvp__aurora::after { content: ""; position: absolute; inset: 0; background: rgba(23,26,58,.35); }
.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: rgba(255,255,255,.8); }
.rsvp__aside a { color: var(--cyan); font-weight: 600; }
.rsvp__form { border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.6rem); }
.field { margin-bottom: 1.15rem; display: flex; flex-direction: column; gap: .45rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.field label { font-size: .85rem; font-weight: 600; color: #fff; }
.field__opt { color: rgba(255,255,255,.6); font-weight: 400; }
.field input, .field select, .field textarea { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); padding: .85rem 1rem; border-radius: var(--radius-sm); transition: border-color .25s, box-shadow .25s, background .25s; width: 100%; color: #fff; }
.field textarea { resize: vertical; min-height: 92px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.55); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: rgba(255,255,255,.22); border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34,211,238,.25); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%23ffffff'%3E%3Cpath d='M7 10L2 4h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field select option { color: #1b1e34; }
.field.is-invalid input, .field.is-invalid select { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(236,72,153,.25); }
.field__error { font-size: .78rem; color: #ffd0e4; min-height: 1em; font-weight: 500; }
.rsvp__status { margin-top: 1rem; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; min-height: 1.2em; color: #fff; }
.rsvp__status.is-success { color: var(--cyan); }
.rsvp__status.is-error { color: #ffd0e4; }

/* ========================= 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; border-radius: var(--radius-sm); background: var(--glass-light); border: 1px solid var(--glass-brd-light); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.contact__label { text-transform: uppercase; letter-spacing: .18em; font-size: .68rem; color: var(--violet); font-weight: 700; }
.contact__list a { font-family: var(--font-display); font-weight: 600; color: var(--ink); transition: color .2s; }
.contact__list a:hover { color: var(--violet); }

/* ========================== 16. FOOTER ============================ */
.footer { position: relative; background: var(--deep); color: #d6d9f2; padding-top: clamp(3rem, 6vw, 4.5rem); overflow: hidden; }
.footer__aurora { position: absolute; inset: 0; z-index: 0; opacity: .5; background: url("images/aurora-hero.svg") center/cover no-repeat; }
.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__name { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: #fff; }
.footer__tag { color: rgba(214,217,242,.8); margin-top: .3rem; }
.footer__nav { display: flex; flex-direction: column; gap: .7rem; }
.footer__nav a { color: rgba(214,217,242,.8); font-weight: 500; transition: color .2s; }
.footer__nav a:hover { color: #fff; }
.socials { display: flex; gap: .7rem; flex-wrap: wrap; align-content: start; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; transition: all .25s; }
.socials a:hover { background: var(--grad); transform: translateY(-3px); border-color: transparent; }
.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(255,255,255,.15); font-size: .85rem; color: rgba(214,217,242,.7); }
.footer__credit strong { color: #fff; }

/* ==================== 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 { inset: 8px 0 auto 0; }
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed; inset: 78px 12px auto 12px; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(23,26,58,.9); backdrop-filter: blur(18px); padding: 1rem 1.2rem 1.3rem; border-radius: 20px;
    border: 1px solid rgba(255,255,255,.15);
    transform: translateY(-120%); opacity: 0; transition: transform .4s var(--ease), opacity .3s;
  }
  .nav__menu.is-open { transform: translateY(0); opacity: 1; }
  .nav__menu a { padding: .85rem 0; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,.1); }
  .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; }
  .venue__actions { flex-direction: column; align-items: stretch; }
  .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(--cyan); 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; }
}

/* Graceful fallback if backdrop-filter is unsupported */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .stat, .tl-item, .contact__list li { background: rgba(255, 255, 255, 0.9); }
  .hero__card, .rsvp__form { background: rgba(23, 26, 58, 0.72); }
}
