/* =====================================================================
   NEON PULSE — Event Website Template
   Style: Neon / Dark Premium (tri-neon + glassmorphism)
   Author: Template Library
   ---------------------------------------------------------------------
   TABLE OF CONTENTS
   01. Design tokens (variables)
   02. Reset & base
   03. Typography helpers
   04. Layout primitives (container, section, buttons)
   05. Decorative FX (grain, glow, scanline)
   06. Navigation
   07. Hero + Countdown + Marquee
   08. About + Stats
   09. Lineup / Timeline
   10. Venue + Map
   11. Gallery
   12. Detail cards (dress code / notes / gift)
   13. RSVP form
   14. Contact
   15. Footer
   16. Floating WhatsApp
   17. Reveal animations
   18. Responsive breakpoints
   19. Accessibility / reduced motion
   ===================================================================== */

/* ============================ 01. TOKENS ============================ */
:root {
  /* Neon palette */
  --ink:        #06050c;   /* base background */
  --ink-2:      #0b0917;   /* elevated background */
  --ink-3:      #120f22;   /* cards / inputs */
  --cyan:       #26e6ff;
  --pink:       #ff3ca6;
  --violet:     #9b6bff;
  --text:       #ece9f7;
  --muted:      #928faa;
  --line:       rgba(255, 255, 255, 0.10);

  /* Glass */
  --glass:      rgba(255, 255, 255, 0.045);
  --glass-strong: rgba(255, 255, 255, 0.07);

  /* Signature gradient */
  --grad: linear-gradient(115deg, var(--cyan), var(--violet) 55%, var(--pink));

  /* Typography */
  --font-display: "Syne", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;
  --font-data:    "Space Grotesk", "Inter", monospace;

  /* Rhythm */
  --radius:   18px;
  --radius-sm: 12px;
  --gutter:   clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(4.5rem, 10vw, 8rem);
  --maxw:     1180px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ========================= 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(--ink);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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(--pink); color: #fff; }

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

/* ====================== 03. TYPOGRAPHY HELPERS ===================== */
.eyebrow, .section__eyebrow, .story__eyebrow {
  font-family: var(--font-data);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--cyan);
}

.section__title {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-top: .6rem;
}

.section__sub { color: var(--muted); max-width: 46ch; margin-top: 1rem; }

.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #cfccdf; max-width: 52ch; }

/* ===================== 04. LAYOUT PRIMITIVES ====================== */
.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-bottom: clamp(2.5rem, 5vw, 4rem); }

/* Buttons */
.btn {
  --btn-bg: var(--glass);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.8rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .3s var(--ease), background .3s;
  will-change: transform;
}
.btn--primary {
  background: var(--grad);
  color: #06060c;
  box-shadow: 0 8px 30px -8px rgba(155, 107, 255, .6);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 44px -10px rgba(255, 60, 166, .7); }
.btn--ghost {
  background: var(--glass);
  border: 1px solid var(--line);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan), 0 0 24px -6px var(--cyan); transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ====================== 05. DECORATIVE FX ========================= */
/* Subtle film grain for a premium, textured feel */
.fx-grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Ambient neon glow that drifts behind everything */
.fx-glow {
  position: fixed; inset: -20% -10% auto -10%; height: 70vh; z-index: 0; pointer-events: none;
  background:
    radial-gradient(40% 50% at 20% 20%, rgba(38, 230, 255, .22), transparent 70%),
    radial-gradient(40% 50% at 80% 30%, rgba(255, 60, 166, .18), transparent 70%),
    radial-gradient(50% 60% at 55% 0%, rgba(155, 107, 255, .18), transparent 70%);
  filter: blur(30px);
  animation: glowDrift 18s ease-in-out infinite alternate;
}
@keyframes glowDrift { from { transform: translate3d(-3%, 0, 0) scale(1); } to { transform: translate3d(3%, 2%, 0) scale(1.08); } }

/* ========================= 06. NAVIGATION ========================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}
.nav.is-scrolled {
  background: rgba(6, 5, 12, .72);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; }

/* Animated equalizer icon */
.brand__eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 20px; }
.brand__eq i { width: 3px; height: 100%; border-radius: 3px; background: var(--grad); transform-origin: bottom; animation: eq 1s ease-in-out infinite; }
.brand__eq i:nth-child(1) { animation-delay: 0s; }
.brand__eq i:nth-child(2) { animation-delay: .2s; }
.brand__eq i:nth-child(3) { animation-delay: .4s; }
.brand__eq i:nth-child(4) { animation-delay: .1s; }
@keyframes eq { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }

.nav__menu { display: flex; align-items: center; gap: 2rem; }
.nav__menu a { color: var(--muted); 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(--grad); transition: width .3s var(--ease);
}
.nav__menu a:hover { color: var(--text); }
.nav__menu a:hover:not(.nav__cta)::after { width: 100%; }
.nav__cta {
  padding: .55rem 1.15rem; border-radius: 100px; border: 1px solid var(--line);
  color: var(--text); background: var(--glass);
}
.nav__cta:hover { border-color: var(--cyan); box-shadow: 0 0 20px -6px var(--cyan); }

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

/* ===================== 07. HERO / COUNTDOWN ======================= */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-top: 120px; padding-bottom: 80px; overflow: hidden; z-index: 2;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background: url("images/hero-bg.svg") center/cover no-repeat, var(--ink);
}
.hero__bg::after { /* vignette so text stays legible */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% 40%, transparent 40%, rgba(6, 5, 12, .85) 100%),
              linear-gradient(180deg, rgba(6, 5, 12, .3), var(--ink));
}
.hero__scanline {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .015) 0 1px, transparent 1px 3px);
}
.hero__inner { position: relative; text-align: center; }

.hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(3rem, 12vw, 8rem); line-height: .92; letter-spacing: -.03em;
  margin: 1rem 0 .5rem;
  background: linear-gradient(180deg, #fff 30%, #d9d4ee);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 60px rgba(155, 107, 255, .35);
}
.hero__subtitle { color: #d3cfe6; font-size: clamp(1.05rem, 2.4vw, 1.5rem); font-weight: 500; }

/* Lineup marquee */
.marquee { margin: 1.75rem 0 2rem; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track {
  display: inline-block; white-space: nowrap; font-family: var(--font-data);
  font-weight: 600; letter-spacing: .18em; color: var(--cyan); text-transform: uppercase;
  font-size: clamp(.85rem, 1.6vw, 1.05rem); padding-left: 100%;
  animation: marquee 18s linear infinite;
}
@keyframes marquee { to { transform: translateX(-100%); } }

/* Hero meta row */
.hero__meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.5rem, 5vw, 3.5rem);
  margin-bottom: 2.5rem;
}
.hero__meta li { display: flex; flex-direction: column; gap: .25rem; }
.hero__meta-label { font-family: var(--font-data); text-transform: uppercase; letter-spacing: .2em; font-size: .68rem; color: var(--muted); }
.hero__meta li span:last-child { font-weight: 600; }

/* Countdown */
.countdown {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.6rem, 2vw, 1.2rem);
  max-width: 620px; margin: 0 auto 2.5rem;
}
.countdown__cell {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1rem, 3vw, 1.6rem) .5rem; backdrop-filter: blur(10px);
  position: relative; overflow: hidden;
}
.countdown__cell::before { /* neon top edge */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--grad); opacity: .9;
}
.countdown__num {
  display: block; font-family: var(--font-data); font-weight: 700;
  font-size: clamp(1.8rem, 6vw, 3rem); line-height: 1;
  font-variant-numeric: tabular-nums;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.countdown__label { display: block; margin-top: .5rem; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* Scroll cue */
.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--line); border-radius: 20px; display: grid; place-items: start center; padding-top: 8px; z-index: 3; }
.hero__scroll span { width: 4px; height: 8px; border-radius: 3px; background: var(--cyan); animation: scrollDot 1.6s ease-in-out infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ========================= 08. ABOUT ============================== */
.about { z-index: 2; }
.about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.about__story {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.5rem); backdrop-filter: blur(10px);
}
.story__eyebrow { color: var(--pink); }
.story__text { margin-top: 1rem; color: #cfccdf; }
.about__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 4vw, 2.1rem); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { font-size: .78rem; color: var(--muted); letter-spacing: .04em; }

/* ==================== 09. LINEUP / TIMELINE ======================= */
.timeline { position: relative; display: grid; gap: 1rem; }
.timeline::before { content: ""; position: absolute; left: 22px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--cyan), var(--violet), var(--pink)); opacity: .5; }
.tl-item {
  position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 1.25rem; align-items: center;
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.4rem; backdrop-filter: blur(8px);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.tl-item:hover { transform: translateX(6px); border-color: rgba(38, 230, 255, .5); box-shadow: 0 0 30px -14px var(--cyan); }
.tl-item__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--grad); margin: 0 auto; box-shadow: 0 0 0 4px rgba(155, 107, 255, .18), 0 0 16px var(--violet); position: relative; z-index: 1; }
.tl-item__time { font-family: var(--font-data); font-weight: 700; color: var(--cyan); font-size: .95rem; letter-spacing: .04em; }
.tl-item__title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin: .15rem 0; }
.tl-item__desc { color: var(--muted); font-size: .92rem; }

/* ======================== 10. VENUE / MAP ========================= */
.venue__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 4rem); align-items: center; }
.venue__tagline { color: #cfccdf; margin-top: 1rem; max-width: 40ch; }
.venue__address { font-style: normal; color: var(--muted); margin-top: 1.25rem; line-height: 1.7; }
.venue__facts { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0; }
.venue__facts .fact { font-family: var(--font-data); font-size: .82rem; padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 100px; color: var(--text); background: var(--glass); }

.map-frame { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--ink-2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(180deg) saturate(1.1); }
.map-frame__placeholder { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: .4rem; color: var(--muted); background: radial-gradient(60% 60% at 50% 40%, rgba(155, 107, 255, .12), transparent 70%); }
.map-frame__placeholder p { font-family: var(--font-data); letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; }
.map-frame__pin { width: 18px; height: 18px; border-radius: 50% 50% 50% 0; background: var(--grad); transform: rotate(-45deg); margin: 0 auto .3rem; box-shadow: 0 0 24px var(--pink); }

/* ========================= 11. GALLERY ============================ */
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 1rem; }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--ink-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), filter .5s; }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(6, 5, 12, .7)); opacity: 0; transition: opacity .4s; }
.gallery__cap { position: absolute; left: 14px; bottom: 12px; z-index: 2; font-family: var(--font-data); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; transform: translateY(8px); opacity: 0; transition: transform .4s var(--ease), opacity .4s; }
.gallery__item:hover img { transform: scale(1.08); filter: saturate(1.2); }
.gallery__item:hover { border-color: rgba(38, 230, 255, .55); box-shadow: 0 0 34px -10px var(--cyan); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item:hover .gallery__cap { transform: translateY(0); opacity: 1; }

/* ==================== 12. DETAIL CARDS ============================ */
.details__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem); backdrop-filter: blur(10px);
  position: relative; overflow: hidden; transition: transform .3s var(--ease), border-color .3s;
}
.card::before { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--grad); opacity: .8; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.card:hover { transform: translateY(-4px); border-color: var(--line); }
.card:hover::before { transform: scaleX(1); }
.card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; margin: .5rem 0 .75rem; }
.card__text { color: #cfccdf; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.chip-row .chip { font-family: var(--font-data); font-size: .78rem; padding: .4rem .8rem; border-radius: 100px; border: 1px solid var(--line); color: var(--cyan); background: rgba(38, 230, 255, .06); }
.card--gift .btn { margin-top: 1.2rem; }

/* ========================== 13. 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.5rem; color: var(--muted); }
.rsvp__aside a { color: var(--cyan); }
.rsvp__form {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem); backdrop-filter: blur(12px);
}
.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: 500; letter-spacing: .02em; }
.field__opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .85rem 1rem; transition: border-color .25s, box-shadow .25s; width: 100%;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input::placeholder, .field textarea::placeholder { color: #6d6a83; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(38, 230, 255, .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='%23928faa'%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(--pink); box-shadow: 0 0 0 3px rgba(255, 60, 166, .15); }
.field__error { font-size: .78rem; color: var(--pink); min-height: 1em; }
.rsvp__status { margin-top: 1rem; text-align: center; font-weight: 500; min-height: 1.2em; }
.rsvp__status.is-success { color: var(--cyan); }
.rsvp__status.is-error { color: var(--pink); }

/* ========================= 14. CONTACT ============================ */
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 4rem); align-items: center; }
.contact__list { display: grid; gap: 1.25rem; }
.contact__list li { display: grid; gap: .2rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.contact__label { font-family: var(--font-data); text-transform: uppercase; letter-spacing: .18em; font-size: .7rem; color: var(--muted); }
.contact__list a { font-weight: 600; transition: color .2s; }
.contact__list a:hover { color: var(--cyan); }

/* ========================== 15. FOOTER ============================ */
.footer { border-top: 1px solid var(--line); background: var(--ink-2); position: relative; z-index: 2; padding-top: clamp(3rem, 6vw, 4.5rem); }
.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: .5rem; }
.footer__brand .brand__eq { height: 18px; }
.footer__tag { color: var(--muted); font-size: .9rem; margin-top: .3rem; }
.footer__nav { display: flex; flex-direction: column; gap: .7rem; }
.footer__nav a { color: var(--muted); transition: color .2s; }
.footer__nav a:hover { color: var(--text); }
.socials { display: flex; gap: .7rem; flex-wrap: wrap; align-content: start; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--glass); color: var(--muted); transition: color .25s, border-color .25s, box-shadow .25s, transform .25s; }
.socials a:hover { color: var(--text); border-color: var(--cyan); box-shadow: 0 0 20px -6px var(--cyan); 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 var(--line); color: var(--muted); font-size: .85rem; }
.footer__credit strong { color: var(--text); }

/* ==================== 16. FLOATING WHATSAPP ======================= */
.wa-float {
  position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem); z-index: 120;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: linear-gradient(145deg, #25d366, #128c4b);
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.wa-float::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(37, 211, 102, .5); animation: waPulse 2.2s ease-out infinite; }
.wa-float:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 16px 40px -8px rgba(37, 211, 102, .75); }
@keyframes waPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }

/* ==================== 17. REVEAL ANIMATIONS ======================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); will-change: transform, opacity; }
.reveal.is-visible { opacity: 1; transform: none; }
/* Stagger children within a grid when the section reveals */
.timeline .tl-item, .gallery__item, .details__grid .card { transition-delay: var(--d, 0s); }

/* ==================== 18. RESPONSIVE ============================== */
@media (max-width: 940px) {
  .about__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: 180px; }
  .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) {
  /* Mobile nav */
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 0; background: rgba(9, 8, 18, .96); backdrop-filter: blur(18px);
    padding: 1rem var(--gutter) 1.5rem; border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .4s var(--ease); box-shadow: 0 20px 40px -20px #000;
  }
  .nav__menu.is-open { transform: translateY(0); }
  .nav__menu a { padding: .9rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav__menu a:last-child { border-bottom: none; }
  .nav__cta { text-align: center; margin-top: .75rem; padding: .9rem; }

  .countdown { grid-template-columns: repeat(2, 1fr); max-width: 380px; }
  .about__stats { grid-template-columns: repeat(3, 1fr); }
  .details__grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__item, .gallery__item:nth-child(1) { grid-column: span 1; }
  .hero__meta { gap: 1.25rem; }
}

/* ================= 19. ACCESSIBILITY / REDUCED MOTION ============= */
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

@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; }
  .marquee__track { animation: none; padding-left: 0; }
}
