/* ═══════════════════════════════════════════════════════════════
   Wedding / Botez Invitation — Stylesheet
   ═══════════════════════════════════════════════════════════════ */

/* ── Custom properties ─────────────────────────────────────────── */
:root {
  --gold:          #c9a961;
  --gold-dark:     #9d7e52;
  --champagne:     #ede2d0;
  --rose:          #a68473;
  --rose-light:    #dfcdbf;
  --cream:         #faf9f6;
  --ivory:         #faf9f6;
  --sage:          #7a9b7a;
  --sage-dark:     #5a7a5a;
  --charcoal:      #4a3f3d;
  --charcoal-deep: #3d3230;
  --dark-bg:       #3d3230;
  --font-serif:    'Cormorant Garamond', Georgia, serif;
  --font-sans:     'Lato', system-ui, sans-serif;
  --ease-smooth:   cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { text-decoration: none; color: inherit; }

/* ── Gold smudges — closer to the reference ribbon ───────────── */
#hero::before, #hero::after,
#story::before, #story::after,
#locations::before, #locations::after,
#rsvp::before, #rsvp::after {
  content: '';
  position: absolute;
  right: 18px;
  pointer-events: none;
  z-index: 0;
}

/* Main ribbon: thicker, uneven, with a soft top/bottom break */
#hero::after,
#story::after,
#locations::after,
#rsvp::after {
  top: 0;
  width: 12px;
  height: 70%;
  background:
    linear-gradient(180deg,
      rgba(201,169,97,.92) 0%,
      rgba(201,169,97,.92) 14%,
      rgba(233,203,118,.95) 26%,
      rgba(182,146,72,.96) 52%,
      rgba(233,203,118,.95) 74%,
      rgba(201,169,97,0) 88%,
      rgba(201,169,97,0) 100%),
    linear-gradient(180deg,
      rgba(201,169,97,0) 0%,
      rgba(201,169,97,.16) 10%,
      rgba(201,169,97,.75) 18%,
      rgba(236,212,135,.92) 42%,
      rgba(236,212,135,.92) 58%,
      rgba(201,169,97,.72) 82%,
      rgba(201,169,97,.14) 90%,
      rgba(201,169,97,0) 100%);
  opacity: .9;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 84%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 84%, transparent 100%);
}

/* Broken companion smudge, placed slightly left and shorter */
#hero::before,
#story::before,
#locations::before,
#rsvp::before {
  top: 0;
  right: 34px;
  width: 4px;
  height: 43%;
  background:
    repeating-linear-gradient(180deg,
      rgba(201,169,97,.0) 0 7px,
      rgba(201,169,97,.22) 7px 9px,
      rgba(201,169,97,.0) 9px 16px),
    linear-gradient(180deg,
      rgba(201,169,97,.86) 0%,
      rgba(201,169,97,.86) 16%,
      rgba(233,203,118,.8) 30%,
      rgba(182,146,72,.85) 52%,
      rgba(233,203,118,.8) 74%,
      rgba(201,169,97,0) 90%,
      rgba(201,169,97,0) 100%);
  opacity: .68;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 86%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 86%, transparent 100%);
}

/* Per-section variation to keep the stroke feeling hand-placed */
#story::after { right: 22px; height: 60%; }
#story::before { display: none; }
#locations::after { right: 26px; height: 49%; }
#locations::before { right: 46px; height: 29%; }
#rsvp::after { right: 30px; height: 64%; }
#rsvp::before { display: none; }

#hero,
#countdown,
#story,
#locations,
#rsvp {
  isolation: isolate;
}

#hero > *,
#countdown > *,
#story > *,
#locations > *,
#rsvp > * {
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════
   ENVELOPE SCREEN
   ═══════════════════════════════════════════════════════════════ */
#envelope-screen {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background:
    radial-gradient(ellipse at 25% 20%, rgba(250,249,246,.98) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 80%, rgba(237,226,208,.75) 0%, transparent 50%),
    linear-gradient(175deg, #faf9f6 0%, #faf9f6 40%, #f5efe4 70%, #ede6d8 100%);
  z-index: 1000;
  transition: opacity .55s var(--ease-smooth), transform .55s var(--ease-smooth);
  padding: 24px;
}
#envelope-screen.hiding {
  opacity: 0;
  transform: scale(1.04) translateY(-12px);
  pointer-events: none;
}

/* Floating petals */
.petal {
  position: fixed;
  border-radius: 50% 5%;
  background: linear-gradient(135deg, #d4bba8, #c9a961);
  pointer-events: none;
  animation: floatDown linear infinite;
  opacity: 0;
}
@keyframes floatDown {
  0%   { transform: translateY(-60px) rotate(0deg); opacity: 0; }
  8%   { opacity: .5; }
  88%  { opacity: .3; }
  100% { transform: translateY(110vh) rotate(400deg); opacity: 0; }
}

/* ── Envelope card ────────────────────────────────────────────── */
.envelope-card {
  position: relative;
  width: min(720px, 94vw);
  aspect-ratio: 1.6 / 1;
  min-height: 0;
  background:
    linear-gradient(155deg, rgba(255,255,255,.9) 0%, rgba(248,242,233,.98) 100%),
    linear-gradient(135deg, #faf8f2 0%, #f6f1e7 100%);
  border: 1px solid rgba(201,169,97,.18);
  border-radius: 28px;
  box-shadow:
    0 32px 80px rgba(86,74,58,.08),
    0 8px 28px rgba(157,126,82,.08),
    0 1px 0 rgba(255,255,255,.9) inset;
  overflow: visible;
}

/* ── Flap ──────────────────────────────────────────────────────── */
.env-flap-wrap {
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 52%;
  transform-origin: top center;
  transition: transform .85s var(--ease-smooth);
  transform-style: preserve-3d;
  z-index: 6;
  pointer-events: none;
}
.env-flap-wrap.open {
  transform: perspective(900px) rotateX(-178deg);
}
.env-flap-face {
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg, #efe8dc 0%, #e3d7c4 55%, #efe8dc 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  border-top: 1px solid rgba(201,169,97,.25);
  border-left: 1px solid rgba(201,169,97,.15);
  border-right: 1px solid rgba(201,169,97,.15);
  border-radius: 28px 28px 0 0;
}

/* ── Wax seal ─────────────────────────────────────────────────── */
.wax-seal {
  position: absolute;
  top: calc(52% - 42px);
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, #dec896 0%, #c9a961 38%, #a88757 75%, #927348 100%);
  box-shadow: 0 10px 28px rgba(157,126,82,.28), 0 1px 0 rgba(255,255,255,.4) inset;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.92);
  z-index: 7;
  transition: transform .3s ease, box-shadow .3s ease;
}
.seal-monogram {
  position: relative;
  width: 44px;
  height: 44px;
  display: block;
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1;
}
.seal-letter,
.seal-amp {
  position: absolute;
  text-shadow: 0 1px 0 rgba(125,92,38,.18);
}
.seal-letter-f {
  top: 0;
  left: 2px;
  font-size: 1.45rem;
}
.seal-amp {
  top: 11px;
  left: 15px;
  font-size: .95rem;
}
.seal-letter-v {
  right: 0;
  bottom: 0;
  font-size: 1.55rem;
}
.wax-seal.pulse {
  animation: sealPulse .5s ease;
}
@keyframes sealPulse {
  0%   { transform: translateX(-50%) scale(1); }
  40%  { transform: translateX(-50%) scale(1.18); }
  70%  { transform: translateX(-50%) scale(.94); }
  100% { transform: translateX(-50%) scale(1); }
}

/* ── Vertically stacked numeric dates (overlapping) ──────────── */
.stacked-date {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-serif);
  color: #7d6646;
  gap: 0;
}
.stacked-date-part {
  display: block;
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: .88;
  margin-bottom: -0.28em;
}
.stacked-date-part:last-child { margin-bottom: 0; }
.stacked-date-part.is-month { margin-top: -0.08em; }
.stacked-date-part.is-year { margin-top: -0.1em; }
.stacked-date-part.is-month { color: var(--gold-dark); }
.stacked-date-part.is-year  { opacity: .75; }
.stacked-date-light .stacked-date-part { color: #8a7356; }
.stacked-date-compact .stacked-date-part { font-size: clamp(1.2rem, 3.5vw, 1.8rem); }

/* ── Horizontal date displays ──────────────────────────────── */
.date-horizontal {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: .35em;
  font-family: var(--font-serif);
  color: #7d6646;
  line-height: 1;
  white-space: nowrap;
}
.date-horizontal-part {
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -.02em;
}
.date-horizontal-sep {
  font-size: clamp(1.6rem, 4.5vw, 2.8rem);
  opacity: .55;
  transform: translateY(-.04em);
}
.date-horizontal-compact .date-horizontal-part {
  font-size: clamp(1.2rem, 3.5vw, 1.8rem);
}
.date-horizontal-large .date-horizontal-part {
  font-size: clamp(2.6rem, 8vw, 4.8rem);
}
.date-horizontal-compact .date-horizontal-sep {
  font-size: clamp(1rem, 3vw, 1.4rem);
}

/* ── Envelope body content (shown below the card) ───────────── */
.env-body {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0;
}
.env-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: rgba(157,126,82,.7);
  margin-bottom: 14px;
}
.env-subtitle {
  margin-bottom: 24px;
}
.env-date-text {
  margin-bottom: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4.6vw, 3rem);
  font-weight: 500;
  letter-spacing: -.01em;
  color: #7d6646;
  white-space: nowrap;
}
.env-subtitle.date-horizontal,
.env-body .date-horizontal {
  margin-bottom: 0;
}
.env-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(212,160,122,.7);
  font-size: 13px;
  margin-bottom: 10px;
}
.env-divider::before,
.env-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(212,160,122,.55));
}
.env-divider::after { background: linear-gradient(to left, transparent, rgba(212,160,122,.55)); }
.env-family {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: rgba(61,43,43,.55);
  margin-bottom: 0;
  font-style: italic;
}

/* ── Open button ──────────────────────────────────────────────── */
.open-btn {
  position: relative;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 34px;
  background: linear-gradient(135deg, #9d7e52, #c9a961);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  border-radius: 100px;
  box-shadow: 0 8px 26px rgba(157,126,82,.35);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s;
}
.open-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(157,126,82,.45); }
.open-btn:active { transform: translateY(0); }
.open-btn:disabled { opacity: .6; pointer-events: none; }

/* ═══════════════════════════════════════════════════════════════
   MAIN CONTENT — entrance animation
   ═══════════════════════════════════════════════════════════════ */
#main-content {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease-smooth), transform .7s var(--ease-smooth);
}
#main-content.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL PROGRESS BAR
   ═══════════════════════════════════════════════════════════════ */
#scroll-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--rose) 55%, var(--sage) 100%);
  box-shadow: 0 0 10px rgba(212,160,122,.5);
  z-index: 500;
  transition: width .08s linear;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION HELPERS
   ═══════════════════════════════════════════════════════════════ */
.section { padding: 90px 24px; }
.section-inner { max-width: 820px; margin: 0 auto; }
.section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .38em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 20px;
}
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
  color: var(--champagne);
  font-size: 12px;
}
.ornament::before,
.ornament::after {
  content: '';
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--champagne));
}
.ornament::after { background: linear-gradient(to left, transparent, var(--champagne)); }

/* Wave dividers */
.wave { position: relative; width: 100%; overflow: hidden; line-height: 0; }
.wave svg { display: block; width: 100%; }

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(at 30% 20%, rgba(250,248,242,.96) 0%, transparent 52%),
    radial-gradient(at 70% 80%, rgba(237,226,208,.72) 0%, transparent 48%),
    linear-gradient(175deg, #faf8f2 0%, #faf8f2 30%, #f4efe5 60%, #fffbf4 100%);
  padding: 80px 24px 60px;
  text-align: center;
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 560px;
  width: 100%;
  margin-top: clamp(72px, 14vw, 132px);
}
.hero-dots { display: flex; justify-content: center; gap: 8px; margin-bottom: 20px; }
.hero-dot {
  border-radius: 50%;
  background: var(--rose-light);
}
.hero-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: rgba(157,126,82,.8);
  margin-bottom: 18px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 11vw, 6rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.015em;
  background: linear-gradient(135deg, #6b5a4a 0%, #9d7e52 40%, #c9a961 75%, #6b5a4a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}
.hero-date-badge {
  display: inline-grid;
  padding: 14px 20px;
  border-radius: 24px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(201,169,97,.22);
  backdrop-filter: blur(12px);
  margin: 22px 0 14px;
  box-shadow: 0 4px 20px rgba(201,169,97,.12);
}
.hero-family {
  font-size: 14px;
  font-weight: 300;
  color: rgba(107,90,80,.8);
  margin-bottom: 22px;
}
.hero-family strong { font-weight: 600; color: #9d7e52; }
.hero-quote {
  font-size: 15px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.65;
  color: #8a7470;
  padding: 18px 24px;
  border-radius: 18px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(201,169,97,.22);
  backdrop-filter: blur(14px);
  margin-bottom: 32px;
}
.btn-scroll {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 100px;
  background: linear-gradient(135deg, #9d7e52, #c9a961);
  color: white;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  box-shadow: 0 8px 26px rgba(157,126,82,.32);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-scroll:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(157,126,82,.42); }

.hero-scroll-hint {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 18px;
  color: rgba(157,126,82,.4);
  font-size: 9px;
  letter-spacing: .28em;
  text-transform: uppercase;
  z-index: 12;
  pointer-events: none;
}
.hero-scroll-hint svg { animation: bounce 2s ease infinite; }
@keyframes bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(6px); }
}

/* ═══════════════════════════════════════════════════════════════
   COUNTDOWN SECTION
   ═══════════════════════════════════════════════════════════════ */
#countdown {
  padding: 90px 24px;
  background: linear-gradient(160deg, #f8f4ec 0%, #faf8f2 55%, #f2ebe0 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.countdown-inner { position: relative; z-index: 10; }
.countdown-label  { color: rgba(201,169,97,.45); }
.countdown-title  {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  font-weight: 400;
  color: #6c5946;
  margin-bottom: 8px;
}
.countdown-sub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 50px;
}
.countdown-sub strong { color: rgba(108,89,70,.7); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; }

.countdown-boxes { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 28px; }
.cbox {
  min-width: 78px;
  text-align: center;
}
.cbox-number {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 9vw, 4.5rem);
  font-weight: 300;
  line-height: 1;
  background: linear-gradient(180deg, #7b674f 0%, rgba(123,103,79,.58) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  transition: transform .25s var(--ease-smooth);
}
.cbox-number.flip { animation: flipNum .28s ease; }
@keyframes flipNum {
  0%  { transform: translateY(-8px); opacity: .3; }
  100%{ transform: translateY(0); opacity: 1; }
}
.cbox-unit {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  margin-top: 10px;
  color: rgba(201,169,97,.75);
}

/* ═══════════════════════════════════════════════════════════════
   STORY / DETAILS SECTION
   ═══════════════════════════════════════════════════════════════ */
#story {
  position: relative;
  overflow: hidden;
  background: linear-gradient(#faf8f2 0%, #faf8f2 50%, #f7f2e8 100%);
}
.story-inner { position: relative; z-index: 2; }
.story-label  { color: rgba(157,126,82,.6); }
.story-heading { color: var(--charcoal); }
.story-text {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(74,63,61,.68);
  max-width: 620px;
  margin-bottom: 48px;
}

/* Godparents card */
.godparents-card {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  padding: 22px 36px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(245,240,232,.88));
  border: 1.5px solid rgba(201,169,97,.22);
  box-shadow: 0 20px 60px rgba(157,126,82,.1), 0 1px 0 rgba(255,255,255,.92) inset;
}
.gp-role {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .42em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.gp-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--charcoal);
}
.gp-sep {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--rose);
  font-size: 20px;
}
.gp-sep::before,
.gp-sep::after { content: ''; width: 1px; height: 18px; background: rgba(201,169,97,.35); }

.story-date { margin-top: 28px; }

/* ═══════════════════════════════════════════════════════════════
   LOCATION SECTION (dark)
   ═══════════════════════════════════════════════════════════════ */
#locations {
  background: linear-gradient(150deg, #faf8f2 0%, #faf8f2 45%, #f3ede2 100%);
  padding: 90px 24px;
  position: relative;
}
.loc-label   { color: rgba(157,126,82,.6); }
.loc-heading { color: #7a6650; }

.loc-card {
  background: linear-gradient(135deg, #fff 0%, #faf7f2 100%);
  border: 1px solid rgba(201,169,97,.15);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 20px;
  transition: border-color .2s;
}
.loc-card:hover { border-color: rgba(201,169,97,.25); transform: translateY(-4px); box-shadow: 0 12px 36px rgba(157,126,82,.12); }

.loc-card-top {
  padding: 24px 24px 16px;
}
.loc-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
.loc-icon {
  width: 48px; height: 48px; border-radius: 16px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.loc-icon.church { background: linear-gradient(135deg, var(--sage-dark), var(--sage)); }
.loc-icon.venue  { background: linear-gradient(135deg, var(--rose), var(--gold)); }

.loc-step  { font-size: 9px; font-weight: 700; letter-spacing: .35em; text-transform: uppercase; margin-bottom: 4px; }
.loc-name  { font-family: var(--font-serif); font-size: 1.5rem; color: #7a6650; margin-bottom: 4px; }
.loc-addr  { font-size: 13px; color: rgba(122,102,80,.5); }
.loc-time-pill {
  margin-left: auto; flex-shrink: 0;
  padding: 6px 16px; border-radius: 100px;
  font-size: 13px; font-weight: 700;
}
.loc-time-pill.church  { background: rgba(136,168,136,.15); color: var(--sage); border: 1px solid rgba(136,168,136,.3); }
.loc-time-pill.venue   { background: rgba(157,126,82,.15);  color: var(--gold); border: 1px solid rgba(157,126,82,.3); }

.loc-desc { font-size: 13px; line-height: 1.7; color: rgba(74,63,61,.55); margin: 12px 0; }

.loc-map-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.map-btn {
  flex: 1; min-width: 110px;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 13px; font-weight: 700;
  transition: transform .15s ease, filter .15s ease;
  cursor: pointer;
}
.map-btn:hover { transform: scale(1.03); filter: brightness(1.1); }
.map-btn.waze  {
  background: rgba(51,204,255,.15); color: #33ccff;
  border: 2px solid rgba(51,204,255,.4);
}
.map-btn.gmap  {
  background: rgba(66,133,244,.15); color: #7aabff;
  border: 2px solid rgba(66,133,244,.4);
}

/* Venue features */
.venue-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0;
}
.feat-pill {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; padding: 14px 8px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(201,169,97,.12), rgba(157,126,82,.05));
  border: 1px solid rgba(212,160,122,.18);
  font-size: 11px; font-weight: 600; text-align: center;
  color: #8a7470; line-height: 1.3;
}
.feat-pill span { font-size: 20px; }

/* Menu grid */
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.menu-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 16px;
  font-size: 13px; font-weight: 600; color: #f5ede8;
  font-size: 13px; font-weight: 600; color: #7a6650;
}

/* Parking note */
.parking-note {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; border-radius: 14px; margin-top: 8px;
  background: rgba(255,165,0,.14);
  border: 2px solid rgba(255,200,50,.45);
  font-size: 13px; font-weight: 500; line-height: 1.5;
  color: #ffe08a;
}

/* Connector between locations */
.loc-connector {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 0;
  font-size: 13px; font-weight: 600;
  color: var(--gold);
}
.loc-connector::before,
.loc-connector::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(to right, transparent, rgba(212,160,122,.25));
}
.loc-connector::after {
  background: linear-gradient(to left, transparent, rgba(212,160,122,.25));
}
.loc-connector-pill {
  padding: 8px 18px; border-radius: 100px;
  background: rgba(212,160,122,.1);
  border: 1px solid rgba(212,160,122,.25);
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════
   RSVP SECTION
   ═══════════════════════════════════════════════════════════════ */
#rsvp {
  position: relative;
  overflow: hidden;
  background: linear-gradient(#faf8f2, #f4eee3);
}
.rsvp-label   { color: rgba(157,126,82,.6); }
.rsvp-heading { color: var(--charcoal); }
.rsvp-sub { font-size: 15px; color: rgba(61,43,43,.5); max-width: 400px; margin: 0 auto 24px; text-align: center; }

.rsvp-deadline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 100px; margin-bottom: 40px;
  background: rgba(201,169,97,.1);
  border: 2px solid rgba(201,169,97,.3);
  font-size: 13px; font-weight: 600; color: var(--rose);
}

/* RSVP Form */
.rsvp-form-wrap {
  max-width: 540px; margin: 0 auto;
  background: white;
  border-radius: 28px;
  padding: 40px 32px;
  box-shadow: 0 24px 70px rgba(0,0,0,.07);
  border: 1px solid rgba(201,169,97,.15);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 10px; font-weight: 700; letter-spacing: .3em;
  text-transform: uppercase; color: rgba(61,43,43,.5);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(212,160,184,.3);
  border-radius: 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--charcoal);
  background: rgba(255,255,255,.9);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,97,.12);
}
.form-group textarea { resize: vertical; min-height: 90px; }

/* Attendance toggles */
.attend-group { margin-bottom: 20px; }
.attend-group label {
  display: block;
  font-size: 10px; font-weight: 700; letter-spacing: .3em;
  text-transform: uppercase; color: rgba(61,43,43,.5);
  margin-bottom: 10px;
}
.attend-btns { display: flex; gap: 12px; }
.attend-btn {
  flex: 1; padding: 14px;
  border-radius: 18px;
  border: 2px solid rgba(212,160,184,.3);
  background: rgba(255,255,255,.7);
  font-size: 14px; font-weight: 600; color: rgba(61,43,43,.5);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  cursor: pointer;
  transition: all .2s ease;
}
.attend-btn .att-icon { font-size: 26px; }
.attend-btn:hover { border-color: var(--gold); }
.attend-btn.selected.yes { border-color: #22c55e; background: rgba(34,197,94,.08); color: #16a34a; }
.attend-btn.selected.no  { border-color: #ef4444; background: rgba(239,68,68,.08);  color: #dc2626; }

#guests-group { display: none; }
#guests-group.visible { display: block; }

/* Submit button */
.submit-btn {
  width: 100%; padding: 16px;
  background: linear-gradient(135deg, #9d7e52, #c9a961);
  color: white; border-radius: 16px;
  font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  box-shadow: 0 8px 26px rgba(157,126,82,.3);
  transition: transform .2s ease, box-shadow .2s, opacity .2s;
  margin-top: 8px;
}
.submit-btn:hover  { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(157,126,82,.4); }
.submit-btn:active { transform: translateY(0); }
.submit-btn:disabled { opacity: .6; pointer-events: none; }

/* Form messages */
.form-success, .form-error { display: none; padding: 16px; border-radius: 14px; font-size: 14px; text-align: center; margin-top: 16px; }
.form-success { background: rgba(34,197,94,.1); border: 1.5px solid rgba(34,197,94,.3); color: #15803d; }
.form-error   { background: rgba(239,68,68,.1); border: 1.5px solid rgba(239,68,68,.3); color: #dc2626; }
.form-success.show, .form-error.show { display: block; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
footer {
  background: linear-gradient(180deg, #f1ebdf 0%, #e8dfd0 100%);
  color: rgba(74,63,61,.72);
  padding: 70px 24px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--champagne), transparent);
}
.footer-heart { color: var(--gold); font-size: 28px; display: block; margin: 0 auto 16px; }
.footer-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: var(--charcoal);
  font-weight: 400;
  margin-bottom: 28px;
  line-height: 1.4;
}
.footer-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 32px;
}
.footer-contacts {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 40px;
  font-size: 13px; margin-bottom: 40px;
}
.footer-contact {
  display: flex; align-items: center; gap: 8px;
  color: rgba(74,63,61,.55);
  transition: color .2s;
}
.footer-contact:hover { color: var(--gold); }
.footer-copy { font-size: 11px; color: rgba(74,63,61,.35); padding-top: 28px; border-top: 1px solid rgba(157,126,82,.12); }

/* ═══════════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .65s var(--ease-smooth), transform .65s var(--ease-smooth);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ═══════════════════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════════════════ */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .section { padding: 70px 20px; }
  #countdown { padding: 70px 20px; }
  #locations { padding: 70px 20px; }
  .venue-features { grid-template-columns: repeat(2, 1fr); }
  .godparents-card { flex-direction: column; gap: 16px; text-align: center; padding: 24px; }
  .gp-sep { flex-direction: row; }
  .gp-sep::before, .gp-sep::after { width: 18px; height: 1px; }
  .loc-card-header { flex-wrap: wrap; }
  .loc-time-pill { margin-left: 0; }
  .rsvp-form-wrap { padding: 28px 20px; }
}
