:root {
  /* Rich Royal Emerald Forest & Haldi Gold (Vibrant Green & Gold — No Blacks, No Bleached Whites) */
  --bg-emerald: #0c2317;
  --bg-emerald-deep: #091b12;
  --bg-emerald-card: rgba(16, 42, 28, 0.78);
  --bg-emerald-card-hover: rgba(22, 54, 37, 0.9);
  --bg-inner-box: rgba(10, 28, 18, 0.85);
  
  --forest-pine: #183e2b;
  --forest-moss: #285a3e;
  
  --gold-haldi: #e5c158;
  --gold-bright: #f6dd8d;
  --gold-dark: #c49a32;
  --gold-border: rgba(229, 193, 88, 0.28);
  --gold-border-bright: rgba(229, 193, 88, 0.6);
  --gold-glow: rgba(229, 193, 88, 0.18);
  
  --cream: #fdfbf5;
  --cream-dim: #e4decb;
  --muted: #a3b8aa;
  
  --line-gold: rgba(229, 193, 88, 0.2);
  --shadow-emerald: 0 14px 40px rgba(0, 0, 0, 0.35), 0 0 20px rgba(12, 35, 23, 0.4);
  --shadow-gold-hover: 0 18px 48px rgba(0, 0, 0, 0.45), 0 0 24px rgba(229, 193, 88, 0.18);
  
  --container-max: 1160px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-pill: 50px;
}

/* Mobile-First Reset & Core Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-emerald-deep);
  color: var(--cream-dim);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.015em;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image: 
    radial-gradient(ellipse at 50% 0%, rgba(24, 62, 43, 0.7) 0%, transparent 65%),
    radial-gradient(ellipse at 85% 30%, rgba(196, 154, 50, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 15% 65%, rgba(20, 52, 36, 0.6) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(9, 27, 18, 0.95) 0%, transparent 70%);
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.font-display { font-family: 'Italiana', Georgia, serif; font-weight: 300; }
.font-serif-elegant { font-family: 'Cormorant Garamond', Georgia, serif; }

h1, h2, h3, h4 {
  font-family: 'Italiana', Georgia, serif;
  font-weight: 300;
  line-height: 1.05;
  color: var(--cream);
}

h1 { font-size: clamp(44px, 11vw, 100px); letter-spacing: -0.02em; }
h2 { font-size: clamp(32px, 5.5vw, 58px); letter-spacing: -0.015em; }
h3 { font-size: clamp(22px, 3.8vw, 34px); }
h4 { font-size: clamp(18px, 2.8vw, 24px); }

.italic {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  color: var(--gold-haldi);
  font-weight: 400;
  transition: color 0.35s ease, text-shadow 0.35s ease;
}
.italic:hover, h1:hover .italic, h2:hover .italic, h3:hover .italic {
  color: var(--gold-bright);
  text-shadow: 0 0 16px rgba(246, 221, 141, 0.4);
}


.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--gold-haldi);
  margin-bottom: 12px;
  font-weight: 500;
}

.eyebrow.dim {
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.25em;
}

.lede {
  color: var(--cream-dim);
  line-height: 1.85;
  font-size: clamp(0.96rem, 2.2vw, 1.1rem);
  opacity: 0.92;
}

/* Layout Containers & Section Spacing */
.wrap {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 36px);
}

.section {
  padding: clamp(60px, 8vw, 100px) 0;
  position: relative;
}

.section.alt {
  background: var(--bg-emerald-deep);
  border-top: 1px solid var(--line-gold);
  border-bottom: 1px solid var(--line-gold);
}

.center { text-align: center; }
.center .lede { margin: 0 auto; }

/* Grid Layouts — Mobile First */
.grid2 {
  display: grid;
  gap: clamp(28px, 4vw, 44px);
}
@media (min-width: 850px) {
  .grid2 {
    grid-template-columns: 1fr 1.15fr;
    align-items: start;
  }
}

/* Canvas Sparkles */
#sparkles-canvas {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* Luxury Interactive Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--gold-border);
  color: var(--cream);
  background: rgba(16, 42, 28, 0.7);
  backdrop-filter: blur(10px);
  padding: 14px 30px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  border-radius: var(--radius-sm);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 10%, transparent 60%);
  transform: scale(0);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
  pointer-events: none;
}
.btn:active::after {
  transform: scale(2.5);
  opacity: 1;
  transition: 0s;
}
.btn.small { padding: 9px 20px; font-size: 10px; }
.btn.solid {
  background: linear-gradient(135deg, #e5c158 0%, #c49a32 100%);
  border-color: var(--gold-bright);
  color: #0c2317;
  font-weight: 600;
  box-shadow: 0 4px 18px rgba(196, 154, 50, 0.35);
}
.btn.solid:hover {
  background: linear-gradient(135deg, #f6dd8d 0%, #e5c158 100%);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 24px rgba(229, 193, 88, 0.5);
}
.btn.ghost {
  border-color: var(--gold-border);
  color: var(--gold-haldi);
  background: rgba(16, 42, 28, 0.5);
}
.btn.ghost:hover {
  background: var(--gold-haldi);
  color: #0c2317;
  border-color: var(--gold-haldi);
  transform: translateY(-2px) scale(1.02);
}

/* HERO SECTION — Rich Emerald Forest Twilight */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(clamp(48px, 9vh, 90px), env(safe-area-inset-top, 24px) + 16px) 0 max(clamp(56px, 10vh, 90px), env(safe-area-inset-bottom, 24px) + 24px);
  background: #081a11;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.04);
  filter: saturate(1.2) brightness(0.85);
  opacity: 0.65;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 26, 17, 0.55) 0%,
    rgba(8, 26, 17, 0.3) 40%,
    rgba(12, 35, 23, 0.9) 85%,
    var(--bg-emerald) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
}
.hero-layout-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.8vw, 12px);
  color: var(--gold-haldi);
  background: rgba(12, 35, 23, 0.85);
  backdrop-filter: blur(14px);
  padding: clamp(5px, 1.5vw, 8px) clamp(14px, 3.5vw, 24px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  margin-bottom: clamp(14px, 2.8vh, 22px);
  max-width: 92vw;
}
.hero-pill-badge .rule {
  height: 1px;
  width: clamp(0.7rem, 2vw, 1.5rem);
  background: var(--gold-haldi);
  opacity: 0.7;
}
.hero-pill-badge .t {
  font-size: clamp(9px, 2.3vw, 11px);
  text-transform: uppercase;
  letter-spacing: clamp(0.18em, 0.5vw, 0.32em);
  font-weight: 500;
  color: var(--cream);
  white-space: nowrap;
}

.hero-layout-center h1 {
  margin: 6px 0 clamp(14px, 2.5vh, 20px);
  color: var(--cream);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
  line-height: 1.05;
}
.hero-layout-center h1 .amp {
  color: var(--gold-haldi);
  font-style: italic;
  font-family: 'Cormorant Garamond', Georgia, serif;
}
.hero-meta-card {
  background: rgba(14, 38, 25, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--gold-border);
  padding: clamp(14px, 3vw, 20px) clamp(20px, 4vw, 32px);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-emerald);
  text-align: center;
  max-width: 440px;
  width: 100%;
  margin-top: 4px;
}
.hero-meta-card .lbl {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--gold-haldi);
  font-weight: 600;
  margin-bottom: 4px;
}
.hero-meta-card .big {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  color: var(--cream);
  font-weight: 500;
  line-height: 1.2;
}
.hero-meta-card .small {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 4px;
}
.hero-scroll {
  position: absolute;
  bottom: max(0.9rem, env(safe-area-inset-bottom, 0.9rem) + 4px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: none;
  border: none;
  color: var(--gold-haldi);
  cursor: pointer;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-weight: 500;
  transition: color 0.3s ease;
}
.hero-scroll:hover { color: var(--gold-bright); }
.hero-scroll .drift {
  display: inline-block;
  animation: bounceChevron 2.2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes bounceChevron {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* STORY / ROYAL INVITATION FRAME */
.story-frame {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  background: linear-gradient(145deg, rgba(16, 44, 29, 0.88) 0%, rgba(10, 28, 18, 0.94) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid var(--gold-border);
  padding: clamp(32px, 6vw, 56px) clamp(20px, 5vw, 44px);
  text-align: center;
  box-shadow: var(--shadow-emerald);
  border-radius: var(--radius-sm);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.story-frame:hover {
  border-color: var(--gold-border-bright);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45), 0 0 28px rgba(229, 193, 88, 0.18);
  transform: translateY(-2px);
}
.story-frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(229, 193, 88, 0.18);
  pointer-events: none;
  border-radius: 2px;
}
.story-flourish {
  position: absolute;
  color: var(--gold-haldi);
  font-size: 14px;
  line-height: 1;
}
.sf-tl { top: 6px; left: 6px; }
.sf-tr { top: 6px; right: 6px; }
.sf-bl { bottom: 6px; left: 6px; }
.sf-br { bottom: 6px; right: 6px; }
.story-copy {
  margin: 18px auto 0;
  display: grid;
  gap: 16px;
  color: var(--cream-dim);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.85;
}
.story-copy .lead {
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--cream);
  font-style: italic;
  line-height: 1.6;
}
.story-sign {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.story-sign .rule { height: 1px; width: 3rem; background: var(--gold-haldi); opacity: 0.6; }
.story-sign .sign {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--gold-haldi);
  font-weight: 500;
}

/* ITINERARY (EVENTS) — Clean Timeline */
.ev-head {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}
.ev-head h2 { margin-bottom: 10px; }
.ev-head-btn { margin-top: 18px; }

.timeline-card {
  margin-top: 24px;
  border: 1px solid var(--gold-border);
  background: var(--bg-emerald-card);
  backdrop-filter: blur(16px);
  padding: clamp(20px, 3.5vw, 32px);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-emerald);
  transition: all 0.35s ease;
}
.timeline-card:hover {
  background: var(--bg-emerald-card-hover);
  border-color: var(--gold-border-bright);
  box-shadow: var(--shadow-gold-hover);
}
.timeline-grid {
  display: grid;
  gap: 18px;
}
@media (min-width: 850px) {
  .timeline-grid {
    grid-template-columns: 270px 1fr;
    gap: 32px;
    align-items: start;
  }
  .timeline-left {
    border-right: 1px solid var(--line-gold);
    padding-right: 28px;
  }
}
.timeline-left .day-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}
.timeline-left .day-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--gold-haldi);
  font-size: 2.2rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
}
.timeline-left .day-when {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--muted);
  font-weight: 500;
}
.timeline-left h3 {
  font-size: clamp(1.8rem, 3.2vw, 2.3rem);
  line-height: 1.1;
  margin-bottom: 4px;
  color: var(--cream);
}
.timeline-left .day-accent {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  color: var(--gold-bright);
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.timeline-left .day-date {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--cream-dim);
  border-top: 1px solid var(--line-gold);
  padding-top: 8px;
  display: inline-block;
}

.timeline-events {
  display: grid;
  gap: 20px;
}
.sched-item {
  display: grid;
  gap: 4px;
}
@media (min-width: 600px) {
  .sched-item {
    grid-template-columns: 95px 1fr;
    gap: 18px;
    align-items: baseline;
  }
}
.sched-item .time {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--gold-haldi);
  font-size: 1.35rem;
  font-weight: 500;
}
.sched-item h4 {
  font-size: 1.35rem;
  margin-bottom: 2px;
  color: var(--cream);
}
.sched-item p {
  color: var(--cream-dim);
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 6px;
}
.cal-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--gold-border);
  color: var(--gold-haldi);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  padding-bottom: 2px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  transition: all 0.25s ease;
}
.cal-link:hover { color: var(--cream); border-color: var(--cream); }

/* VENUE SECTION */
.venue-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(145deg, rgba(16, 44, 29, 0.88) 0%, rgba(10, 28, 18, 0.94) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid var(--gold-border);
  padding: clamp(32px, 6vw, 54px) clamp(20px, 4vw, 40px);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-emerald);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.venue-box:hover {
  border-color: var(--gold-border-bright);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45), 0 0 28px rgba(229, 193, 88, 0.18);
  transform: translateY(-2px);
}
.venue-box .venue-copy {
  color: var(--cream-dim);
  font-size: clamp(1.05rem, 2.2vw, 1.15rem);
  line-height: 1.85;
  margin: 14px auto 22px;
  max-width: 620px;
}
.venue-box .venue-copy .hl { color: var(--gold-bright); font-weight: 500; }
.venue-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.venue-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(22, 54, 37, 0.7);
  border: 1px solid var(--gold-border);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}
.venue-pill:hover {
  background: rgba(40, 90, 62, 0.85);
  border-color: var(--gold-bright);
  color: var(--cream);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), 0 0 12px rgba(229, 193, 88, 0.25);
}
.venue-pill span { color: var(--gold-haldi); }

/* COUNTDOWN */
.countdown-box {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-emerald-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--gold-border);
  padding: clamp(26px, 5vw, 44px) clamp(16px, 4vw, 32px);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-emerald);
}
.countdown-box h2 { margin-bottom: 20px; }
.clock-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 600px) {
  .clock-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}
.clock-cell {
  background: rgba(10, 28, 18, 0.8);
  border: 1px solid var(--gold-border);
  padding: 16px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.35s ease;
}
.clock-cell:hover {
  border-color: var(--gold-border-bright);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 16px rgba(229, 193, 88, 0.2);
  transform: translateY(-2px);
}
.clock-cell b {
  font-family: 'Italiana', Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1;
  color: var(--cream);
  font-weight: 300;
  text-shadow: 0 0 16px rgba(229, 193, 88, 0.2);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
.clock-cell:hover b {
  color: var(--gold-bright);
  text-shadow: 0 0 24px rgba(246, 221, 141, 0.5);
}
.clock-cell small {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--gold-haldi);
  margin-top: 6px;
  font-weight: 500;
}

/* TRAVEL SECTION (3 Columns) */
.travel-grid {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}
@media (min-width: 768px) {
  .travel-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.travel-card {
  border: 1px solid var(--gold-border);
  padding: 26px 22px;
  background: var(--bg-emerald-card);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-emerald);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}
.travel-card:hover {
  border-color: var(--gold-border-bright);
  box-shadow: var(--shadow-gold-hover);
  transform: translateY(-2px);
}
.travel-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(22, 54, 37, 0.85);
  border: 1px solid var(--gold-border-bright);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--gold-haldi);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), 0 0 16px rgba(229, 193, 88, 0.2);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.travel-card:hover .travel-icon-wrap {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  box-shadow: 0 6px 22px rgba(229, 193, 88, 0.4);
  transform: translateY(-2px) scale(1.06);
}
.travel-icon-wrap svg {
  width: 26px;
  height: 26px;
}
.travel-card h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--cream);
  margin-bottom: 8px;
}
.travel-card p {
  color: var(--cream-dim);
  font-size: 0.94rem;
  line-height: 1.75;
}

/* RSVP SECTION — Dynamic Single Form */
.rsvp-center-container {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}
.rsvp-header { text-align: center; }
.rsvp-header h2 { margin: 6px 0 10px; }

/* Form Card */
.rsvp-form-card {
  background: var(--bg-emerald-card);
  backdrop-filter: blur(20px);
  padding: clamp(24px, 4vw, 36px) clamp(24px, 5vw, 48px);
  border: 1px solid var(--gold-border);
  box-shadow: var(--shadow-emerald);
  border-radius: var(--radius-sm);
  display: grid;
  gap: 20px;
}

/* 3-column row */
.form-3col { display: grid; gap: 14px; }
@media (min-width: 640px) { .form-3col { grid-template-columns: 1fr 1fr 1fr; } }

/* 2-column row */
.form-2col { display: grid; gap: 14px; }
@media (min-width: 560px) { .form-2col { grid-template-columns: 1fr 1fr; } }

.form-row { display: grid; gap: 14px; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-group { display: grid; gap: 6px; }
.form-group label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--gold-haldi);
  font-weight: 500;
}
.form-group label .opt {
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
  font-size: 10px;
}

input, textarea {
  width: 100%;
  background: rgba(10, 28, 18, 0.7);
  border: 1px solid rgba(229, 193, 88, 0.22);
  color: var(--cream);
  padding: 11px 14px;
  font-size: 14px;
  font-family: 'Outfit', sans-serif;
  border-radius: 3px;
  transition: all 0.25s ease;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--gold-haldi);
  box-shadow: 0 0 14px rgba(229, 193, 88, 0.22);
  background: rgba(14, 38, 25, 0.92);
}

/* Section divider */
.form-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229, 193, 88, 0.2), transparent);
}

/* Attend Toggle — two wide option cards */
.attend-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 480px) { .attend-toggle { grid-template-columns: 1fr; } }

.attend-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 16px;
  border: 1.5px solid rgba(229, 193, 88, 0.2);
  border-radius: 8px;
  background: rgba(10, 28, 18, 0.55);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  user-select: none;
}
.attend-option input { display: none; }
.attend-option:hover {
  border-color: rgba(229, 193, 88, 0.5);
  background: rgba(22, 54, 37, 0.6);
}
.attend-option.selected {
  border-color: var(--gold-haldi);
  background: rgba(229, 193, 88, 0.1);
  box-shadow: 0 0 20px rgba(229, 193, 88, 0.18);
}
.attend-icon {
  font-size: 26px;
  line-height: 1;
  transition: transform 0.3s ease;
}
.attend-option:hover .attend-icon,
.attend-option.selected .attend-icon { transform: scale(1.15); }
.attend-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cream-dim);
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  transition: color 0.25s ease;
}
.attend-option.selected .attend-label { color: var(--gold-haldi); }

/* Conditional fields — animated reveal */
.form-conditional {
  display: grid;
  gap: 20px;
  overflow: hidden;
  max-height: 800px;
  opacity: 1;
  transform: translateY(0);
  transition:
    max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.4s ease,
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.form-conditional.hidden {
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

/* Guest Counter */
.guest-counter {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(229, 193, 88, 0.22);
  border-radius: 4px;
  overflow: hidden;
  background: rgba(10, 28, 18, 0.7);
}
.guest-counter input {
  width: 54px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 16px;
  font-family: 'Cormorant Garamond', serif;
  padding: 10px 0;
  font-weight: 500;
  color: var(--cream);
  box-shadow: none;
}
.guest-counter input:focus { box-shadow: none; background: transparent; border: none; }
.guest-btn {
  width: 38px;
  height: 42px;
  background: rgba(22, 54, 37, 0.7);
  border: none;
  color: var(--gold-haldi);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.guest-btn:hover { background: rgba(40, 90, 62, 0.85); color: var(--gold-bright); }
.guest-btn:active { transform: scale(0.9); }

/* Event Pills Grid */
.event-pills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 8px;
}
@media (min-width: 600px) { .event-pills-grid { grid-template-columns: repeat(3, 1fr); } }

.event-pill { display: block; cursor: pointer; }
.event-pill input { display: none; }
.event-pill-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 10px;
  border: 1.5px solid rgba(229, 193, 88, 0.2);
  border-radius: 8px;
  background: rgba(10, 28, 18, 0.6);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  text-align: center;
}
.event-pill:has(input:checked) .event-pill-inner {
  border-color: var(--gold-haldi);
  background: rgba(229, 193, 88, 0.1);
  box-shadow: 0 0 14px rgba(229, 193, 88, 0.18);
}
.ev-icon { font-size: 22px; line-height: 1; }
.ev-name {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cream-dim);
  font-weight: 500;
  font-family: 'Outfit', sans-serif;
}
.ev-tick {
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 10px;
  color: transparent;
  transition: color 0.25s ease;
}
.event-pill:has(input:checked) .ev-tick { color: var(--gold-haldi); }
.event-pill:has(input:checked) .ev-name { color: var(--cream); }

.pills-group { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(229, 193, 88, 0.25);
  padding: 8px 14px;
  cursor: pointer;
  font-size: 13px;
  color: var(--cream-dim);
  background: rgba(10, 28, 18, 0.6);
  border-radius: 3px;
  transition: all 0.2s ease;
}
.pill-item:hover { border-color: var(--gold-haldi); color: var(--cream); }
.pill-item input { width: auto; accent-color: var(--gold-haldi); margin: 0; }

/* Submit Row */
.form-submit-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.form-status { min-height: 18px; color: #e5726e; font-size: 13px; font-weight: 500; }

[hidden], .rsvp-success[hidden] { display: none !important; }

/* Spinner */
.btn-spinner {
  display: inline-block;
  animation: spinnerSpin 1s linear infinite;
  margin-left: 4px;
}
@keyframes spinnerSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* RSVP Success */
.rsvp-success {
  border: 1px solid var(--gold-haldi);
  padding: 40px 32px;
  background: var(--bg-inner-box);
  border-radius: var(--radius-sm);
  display: grid;
  gap: 14px;
  text-align: center;
  box-shadow: var(--shadow-gold-hover);
  animation: riseIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.rsvp-success-icon {
  font-size: 32px;
  color: var(--gold-haldi);
  text-shadow: 0 0 20px rgba(229, 193, 88, 0.6);
  animation: gentleFloat 3s ease-in-out infinite;
}
.rsvp-success h3 { color: var(--cream); font-size: clamp(22px, 4vw, 30px); }

/* RSVP Closed Card */
.rsvp-closed-card {
  border: 1px solid var(--gold-border);
  padding: 44px 32px;
  background: var(--bg-inner-box);
  border-radius: var(--radius-sm);
  display: grid;
  gap: 14px;
  text-align: center;
  box-shadow: var(--shadow-emerald);
  max-width: 680px;
  margin: 0 auto;
}
.rsvp-closed-icon {
  font-size: 32px;
  color: var(--gold-haldi);
  text-shadow: 0 0 16px rgba(229, 193, 88, 0.4);
}
.rsvp-closed-card h3 {
  color: var(--cream);
  font-size: clamp(22px, 4vw, 30px);
}
.rsvp-closed-card p {
  color: var(--cream-dim);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* INSTAGRAM QR & MEMORIES CARD */
.insta-box {
  background: var(--bg-emerald-card);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--gold-border);
  padding: clamp(28px, 5vw, 44px) clamp(20px, 4vw, 40px);
  border-radius: var(--radius-sm);
  display: grid;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow-emerald);
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.insta-box:hover {
  border-color: var(--gold-border-bright);
  box-shadow: var(--shadow-gold-hover);
  transform: translateY(-2px);
}
.insta-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.insta-btn-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}
@media (min-width: 680px) {
  .insta-box {
    grid-template-columns: 1.25fr 0.75fr;
    text-align: left;
  }
  .insta-text {
    align-items: flex-start;
    text-align: left;
  }
  .insta-btn-wrap {
    justify-content: flex-start;
  }
}
.insta-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.insta-qr-frame {
  background: #ffffff;
  padding: 10px;
  border-radius: 12px;
  border: 2px solid var(--gold-haldi);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(229, 193, 88, 0.25);
  display: inline-block;
  max-width: 210px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.insta-qr-frame:hover {
  transform: scale(1.03);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5), 0 0 26px rgba(246, 221, 141, 0.4);
}
.insta-qr-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.insta-handle-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-bright);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.25s ease;
}
.insta-handle-tag:hover { color: var(--cream); text-decoration: underline; }

.btn-insta {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-insta:hover {
  filter: brightness(1.12);
  box-shadow: 0 6px 20px rgba(220, 39, 67, 0.4);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #091b12;
  border: 1px solid var(--gold-haldi);
  color: var(--cream);
  padding: 12px 24px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s ease;
  z-index: 99;
  max-width: 90vw;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-sm);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* SCROLL PROGRESS INDICATOR */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #c49a32 0%, #e5c158 50%, #f6dd8d 100%);
  z-index: 1000;
  box-shadow: 0 0 10px rgba(246, 221, 141, 0.7);
  transition: width 0.08s ease-out;
  pointer-events: none;
}

/* SCROLL REVEAL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Delay for Multi-Card Grids */
.travel-grid .travel-card:nth-child(1) { transition-delay: 0.08s; }
.travel-grid .travel-card:nth-child(2) { transition-delay: 0.2s; }
.travel-grid .travel-card:nth-child(3) { transition-delay: 0.32s; }

.clock-grid .clock-cell:nth-child(1) { transition-delay: 0.06s; }
.clock-grid .clock-cell:nth-child(2) { transition-delay: 0.14s; }
.clock-grid .clock-cell:nth-child(3) { transition-delay: 0.22s; }
.clock-grid .clock-cell:nth-child(4) { transition-delay: 0.3s; }

/* Entrance Keyframes */
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.rise-in {
  animation: riseIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Flourish Subtle Floating */
@keyframes gentleFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.1); color: var(--gold-bright); }
}
.story-flourish {
  animation: gentleFloat 4.2s ease-in-out infinite;
}
.sf-tr, .sf-bl { animation-delay: 2.1s; }

