﻿/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
}

html, body {
  font-family: "Lato", system-ui, sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-y: hidden;
  transition: overflow-y 0.4s ease;
}

.hidden { display: none !important; }

.page,
.content {
  min-height: 100vh;
  overflow: visible;
}

/* ===== LOADER ===== */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: #ffffff;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 20px;
}

.loader-ring {
  width: 48px; height: 48px;
  border: 3px solid #e8e0d8;
  border-top-color: #c8a45a;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loader p {
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  color: #777;
  font-family: "Lato", sans-serif;
}

/* ===== PAGE ===== */
.page { min-height: 100vh; background: #ffffff; }

/* ===== INTRO / ENVELOPE ===== */
.intro-screen {
  position: fixed; inset: 0; z-index: 20;
  background: #0a0a0a;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.9s ease;
}

.intro-screen.done { opacity: 0; pointer-events: none; }

.intro-card {
  text-align: center;
  padding: 40px 32px 32px;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.intro-card.hide {
  opacity: 0;
  transform: translateY(-32px) scale(0.95);
  pointer-events: none;
}

.envelope {
  width: 300px; height: 200px;
  margin: 0 auto 28px;
  position: relative;
  perspective: 1400px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.envelope:hover { transform: translateY(-6px) scale(1.02); }

.envelope__back {
  position: absolute; inset: 0;
  border-radius: 10px;
  box-shadow: 0 28px 70px rgba(255,180,220,0.15), 0 8px 30px rgba(0,0,0,0.7);
  transform: translateY(6px) scaleX(0.95);
}

.envelope__body {
  position: absolute; inset: 0;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 2px 0 rgba(0,0,0,0.08) inset;
  overflow: hidden;
}

.envelope__body::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, transparent 49.6%, rgba(0,0,0,0.06) 49.6%, rgba(0,0,0,0.06) 50.4%, transparent 50.4%),
    linear-gradient(45deg, transparent 49.6%, rgba(0,0,0,0.06) 49.6%, rgba(0,0,0,0.06) 50.4%, transparent 50.4%);
}

.envelope__paper {
  position: absolute;
  left: 16px; right: 16px; bottom: 12px;
  height: 110px;
  background: #fffdf9;
  border-radius: 6px;
  box-shadow: 0 -4px 18px rgba(0,0,0,0.1);
  z-index: 1;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 12px;
  font-family: "PT Serif", serif;
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 700;
  color: #c8a45a;
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1) 0.3s;
}

.envelope.open .envelope__paper { transform: translateY(-55px); }

.envelope__flap {
  position: absolute; inset: 0;
  background: linear-gradient(170deg, #f8f4ef 0%, #ede7df 80%);
  clip-path: polygon(-1% -1%, 101% -1%, 50% 53%);
  transform-origin: top center;
  transition: transform 0.8s cubic-bezier(0.22,1,0.36,1);
  z-index: 3;
}

.envelope.open .envelope__flap { transform: rotateX(-175deg); }

.envelope__seal {
  position: absolute; left: 50%; top: 50%;
  width: 42px; height: 42px;
  background: radial-gradient(circle at 38% 35%, #ff7fa0, #c0284a);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: rgba(255,255,255,0.9);
  box-shadow: 0 0 0 5px rgba(192,40,74,0.15), 0 5px 18px rgba(0,0,0,0.45);
  transition: transform 0.4s ease, opacity 0.3s ease;
  animation: seal-pulse 2.2s ease-in-out infinite;
}

@keyframes seal-pulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(192,40,74,0.15), 0 5px 18px rgba(0,0,0,0.45); }
  50%       { box-shadow: 0 0 0 10px rgba(192,40,74,0.25), 0 8px 28px rgba(255,80,120,0.3); }
}

.envelope.open .envelope__seal {
  animation: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.4) rotate(20deg);
}

.intro-copy h1 {
  font-family: "PT Serif", serif;
  font-size: 2rem; font-weight: 700;
  font-style: italic;
  color: #ffffff;
  margin-bottom: 10px;
}

.intro-copy p {
  font-family: "Lato", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
}

/* ===== CONTENT ===== */
.content {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.content.visible {
  opacity: 1;
  transform: translateY(0);
  animation: pageBloom 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes pageBloom {
  0% {
    opacity: 0;
    filter: saturate(0.92) brightness(0.96);
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    filter: saturate(1) brightness(1);
    transform: translateY(0);
  }
}

/* ===== HERO ===== */
.section-hero { position: relative; }

.hero-photo {
  width: 100%; height: 100svh; min-height: 600px;
  background-size: cover; background-position: center top;
  position: relative;
  display: flex; align-items: flex-end; justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: inherit;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  filter: saturate(1.1) contrast(1.02) brightness(0.82);
  animation: heroParallax 18s ease-in-out infinite alternate;
  z-index: -2;
}

@keyframes heroParallax {
  0% { transform: scale(1.08) translate3d(0, 0, 0); }
  100% { transform: scale(1.14) translate3d(0, -10px, 0); }
}

.hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.55) 100%);
  box-shadow: inset 0 0 120px rgba(0,0,0,0.4);
}

.hero-text {
  position: relative; z-index: 1;
  text-align: center;
  padding-bottom: clamp(48px, 8vh, 80px);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.content.visible .hero-text {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero-text > * {
  opacity: 0;
  transform: translateY(18px);
}

.content.visible .hero-text > * {
  animation: heroItemReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.content.visible .hero-text > *:nth-child(1) { animation-delay: 0.3s; }
.content.visible .hero-text > *:nth-child(2) { animation-delay: 0.45s; }
.content.visible .hero-text > *:nth-child(3) { animation-delay: 0.6s; }

@keyframes heroItemReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-script {
  font-family: "PT Serif", serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(3rem, 10vw, 6.5rem);
  color: #ffffff;
  line-height: 1.15;
  text-shadow: 0 4px 28px rgba(0,0,0,0.45), 0 0 18px rgba(255,255,255,0.12), 0 0 36px rgba(230, 200, 155, 0.12), 0 0 52px rgba(214, 181, 131, 0.1);
  letter-spacing: 0.01em;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.18));
}

.hero-date-pill {
  font-family: "Lato", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  padding: 6px 18px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 8px 24px rgba(0,0,0,0.14);
}

.music-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  margin-top: 16px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  color: rgba(255,255,255,0.9);
  font-family: "Lato", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
  animation: musicFloat 2.2s ease-in-out infinite;
}

.music-btn:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.6);
  transform: scale(1.05) translateY(-1px);
}

.music-btn.playing {
  box-shadow: 0 0 0 1px rgba(212, 184, 160, 0.4), 0 0 24px rgba(212, 184, 160, 0.18), 0 10px 22px rgba(0,0,0,0.18);
  animation: musicPulse 1.4s ease-in-out infinite;
}

@keyframes musicFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@keyframes musicPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 1px rgba(212, 184, 160, 0.35), 0 0 20px rgba(212, 184, 160, 0.1), 0 10px 22px rgba(0,0,0,0.18); }
  50% { transform: scale(1.03); box-shadow: 0 0 0 1px rgba(212, 184, 160, 0.5), 0 0 26px rgba(212, 184, 160, 0.22), 0 12px 26px rgba(0,0,0,0.22); }
}

.music-btn.playing {
  background: rgba(200, 164, 90, 0.3);
  border-color: #c8a45a;
  color: #c8a45a;
}

.music-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.music-btn.playing svg {
  animation: pulse-music 1.5s infinite;
}

@keyframes pulse-music {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* ===== WHITE SECTIONS ===== */
.section-white {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(253,249,245,0.98));
  padding: clamp(48px, 8vw, 80px) clamp(24px, 6vw, 64px);
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 12px 30px rgba(64, 49, 39, 0.03), inset 0 0 0 1px rgba(120, 98, 76, 0.04);
  position: relative;
}

.section-white::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(212,177,131,0.03));
  pointer-events: none;
}

.section-white > * {
  position: relative;
  z-index: 1;
}

/* ===== GREETING ===== */
.section-title {
  font-family: "PT Serif", serif;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  color: #111111;
  line-height: 1.15;
  margin-bottom: 24px;
}

.section-title.small {
  font-size: clamp(1.4rem, 4vw, 2rem);
  margin-bottom: 16px;
}

.greeting-sub {
  font-family: "Lato", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  color: #555;
  margin-bottom: 8px;
}

.names-script {
  font-family: "PT Serif", serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  color: #b8903a;
  line-height: 1.35;
  margin-bottom: 12px;
}

.greeting-body {
  font-family: "Lato", sans-serif;
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  line-height: 1.9;
  color: #333;
  font-weight: 300;
}

/* ===== COUNTDOWN ===== */
.section-countdown { position: relative; }

.countdown-photo {
  width: 100%; height: 70svh; min-height: 480px;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}

.countdown-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.62);
}

.countdown-inner {
  position: relative; z-index: 1;
  text-align: center;
  padding: 24px;
}

.countdown-label {
  font-family: "PT Serif", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: #ffffff;
  margin-bottom: 28px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.countdown-rings {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
}

.ring-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  width: clamp(64px, 16vw, 88px);
}

.ring-wrap {
  position: relative;
  width: clamp(60px, 15vw, 80px);
  height: clamp(60px, 15vw, 80px);
}

.ring-svg {
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: rgba(255,255,255,0.18);
  stroke-width: 5;
}

.ring-fg {
  fill: none;
  stroke: #ffffff;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 213.6;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.9s ease;
}

.ring-num {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: "PT Serif", serif;
  font-size: clamp(1.2rem, 3.5vw, 1.8rem);
  font-weight: 700;
  color: #ffffff;
}

.ring-label {
  font-family: "Lato", sans-serif;
  font-size: clamp(0.6rem, 1.5vw, 0.72rem);
  letter-spacing: 0.1em;
  text-transform: lowercase;
  color: rgba(255,255,255,0.85);
}

.ring-sep {
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: rgba(255,255,255,0.5);
  padding: 0 2px;
  align-self: flex-start;
  margin-top: clamp(14px, 3vw, 20px);
}

/* ===== CALENDAR ===== */
.calendar-section { padding-top: clamp(40px, 7vw, 72px); }

.date-heading {
  font-family: "PT Serif", serif;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 400;
  color: #111111;
  margin-bottom: 32px;
  line-height: 1.2;
}

.calendar-month-label {
  font-family: "Lato", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  color: #666;
  text-transform: lowercase;
  margin-bottom: 20px;
  text-align: center;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px 4px;
  text-align: center;
  font-family: "Lato", sans-serif;
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: #333;
  font-weight: 300;
  max-width: 420px;
  margin: 0 auto 36px;
}

.cal-head {
  font-family: "Lato", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #777;
  padding-bottom: 8px;
}

.cal-grid div { padding: 6px 2px; }

.cal-marked {
  position: relative;
  font-weight: 600;
  color: #1a1a1a;
}

.cal-heart {
  position: absolute;
  left: 50%; top: 50%;
  width: 44px; height: 44px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cal-heart path {
  fill: none;
  stroke: #c8a45a;
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: heart-draw 1.8s ease forwards 0.8s;
}

@keyframes heart-draw {
  0%   { stroke-dashoffset: 400; }
  100% { stroke-dashoffset: 0; }
}

/* ===== START TIME ===== */
.start-block { margin-top: 16px; padding-top: 32px; border-top: 1px solid #f0ede8; }

.start-label {
  font-family: "PT Serif", serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: #666;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  font-style: italic;
}

.start-time {
  font-family: "PT Serif", serif;
  font-size: clamp(3.5rem, 12vw, 5.5rem);
  font-weight: 700;
  color: #111111;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* ===== VENUE ===== */
.venue-section {}

.venue-eyebrow {
  font-family: "Lato", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 12px;
}

.venue-name {
  font-family: "PT Serif", serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: #b8903a;
  line-height: 1.35;
  margin-bottom: 10px;
}

.venue-address {
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #333;
  margin-bottom: 28px;
  line-height: 1.6;
}

.map-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border: 1.5px solid #b8903a;
  border-radius: 999px;
  color: #b8903a;
  text-decoration: none;
  font-family: "Lato", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}

.map-btn:hover { background: #b8903a; color: #fff; }

/* ===== DRESS ===== */
.chips-row {
  display: flex; gap: 10px;
  justify-content: center;
  margin: 16px 0 24px;
}

.chip2 {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

.dress-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  text-align: left;
}

.dress-cols h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.dress-cols p {
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  color: #888;
  line-height: 1.6;
}

/* ===== WISHES ===== */
.wishes-section p {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 24px;
}

/* ===== BUTTONS ===== */
.pill-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 36px;
  background: #b8903a;
  color: #fff;
  border-radius: 999px;
  font-family: "Lato", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  border: none; cursor: pointer;
}

.pill-btn:hover { background: #a07828; transform: translateY(-1px); }

.pill-btn.outline {
  background: transparent !important;
  color: #b8903a;
  border: 1.5px solid #b8903a;
}

.pill-btn.outline:hover { background: #b8903a; color: #fff; }

/* ===== HOST SECTION ===== */
.host-section {}

.host-eyebrow {
  font-family: "Lato", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 10px;
}

.host-name {
  font-size: clamp(2.8rem, 9vw, 4.5rem) !important;
  font-weight: 700 !important;
  margin-bottom: 0 !important;
}

/* ===== FORM ===== */
.form-intro {
  font-family: "PT Serif", serif;
  font-size: clamp(1.3rem, 3.5vw, 1.8rem);
  color: #111111;
  line-height: 1.5;
  margin-bottom: 28px;
  font-style: italic;
}

.rsvp {
  display: flex; flex-direction: column; gap: 20px;
  text-align: left;
}

.field-label {
  font-family: "Lato", sans-serif;
  font-size: 0.85rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: -8px;
  font-weight: 400;
}

.rsvp-input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  color: #1a1a1a;
  background: #fafafa;
  outline: none;
  transition: border-color 0.2s;
}

.rsvp-input:focus { border-color: #b8903a; background: #fff; }

.rsvp-input::placeholder { color: #aaa; font-style: italic; }

.radio-group { display: flex; flex-direction: column; gap: 12px; }

.radio-row {
  display: flex; align-items: center; gap: 12px;
  font-family: "Lato", sans-serif;
  font-size: 0.95rem;
  color: #333;
  cursor: pointer;
  font-weight: 400;
}

.radio-row input[type="radio"] {
  width: 18px; height: 18px;
  accent-color: #c8a45a;
  cursor: pointer;
}

.submit-btn {
  align-self: stretch;
  padding: 16px;
  background: #d4b8a0;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: "PT Serif", serif;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.submit-btn:hover { background: #c0a080; transform: translateY(-1px); }

.submit-btn.active {
  background: #b8903a;
  box-shadow: 0 0 0 3px rgba(184, 144, 58, 0.2), 
              0 8px 20px rgba(184, 144, 58, 0.4);
  animation: pulse-btn 0.6s ease;
}

.submit-btn.active:hover {
  background: #a07828;
  transform: translateY(-2px);
}

@keyframes pulse-btn {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

/* ===== CONTACTS ===== */
.contacts-section p {
  font-family: "Lato", sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: #444;
  line-height: 1.75;
  margin-bottom: 18px;
}

.contact-btns {
  display: flex; gap: 14px; flex-wrap: wrap;
  justify-content: center;
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  transition: opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.95s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.95s ease;
  filter: blur(2px);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.reveal-fade {
  opacity: 0;
  transition: opacity 0.9s ease 0.2s;
}

.reveal-fade.in-view {
  opacity: 1;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-scale.in-view {
  opacity: 1;
  transform: scale(1);
}

.reveal-slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-slide-left.in-view {
  opacity: 1;
  transform: translateX(0);
}

.reveal-slide-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-slide-right.in-view {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger effect for lists */
.reveal-list > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-list.in-view > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-list.in-view > *:nth-child(1) { transition-delay: 0s; }
.reveal-list.in-view > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-list.in-view > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-list.in-view > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-list.in-view > *:nth-child(5) { transition-delay: 0.4s; }
.reveal-list.in-view > *:nth-child(n+6) { transition-delay: 0.5s; }

/* ===== SECTION DIVIDERS ===== */
.section-white + .section-white {
  border-top: 1px solid #f0ede8;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 500px) {
  .dress-cols { grid-template-columns: 1fr; }
  .ring-sep { display: none; }
  .countdown-rings { gap: 8px; }
  .envelope { width: 240px; height: 160px; }
  .section-white { padding: 40px 20px; }
}
