/* =========================================================================
   DENISE & ADESINA — LUXURY TROPICAL WEDDING SITE
   Design system: quiet luxury / botanical spa resort / editorial warmth
   ========================================================================= */

/* -------------------------------------------------------------------------
   0. FONT LOADING
   -------------------------------------------------------------------------
   Headings: Cormorant Garamond (editorial serif, close relative of many
   luxury logo serifs). Body: Montserrat (clean, warm sans). Script accent:
   Parisienne (romantic script placeholder — swap via LOGO_FONT_FAMILY once
   the real logo font is known; see README).
------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Montserrat:wght@300;400;500;600&family=WindSong:wght@400;500&family=Parisienne&display=swap');

:root {
  /* Palette */
  --hunter: #263A2E;
  --olive: #4B5438;
  --sage: #87957A;
  --soft-sage: #AEB8A2;
  --cream: #F7F1E5;
  --ivory: #FFFDF7;
  --champagne: #D8C5A5;
  --gold: #C6A15B;
  --text-dark: #273029;
  --text-soft: #55604F;
  --white: #ffffff;

  /* Typography */
  --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body: 'Montserrat', 'Lato', sans-serif;
  --font-script: var(--logo-font, 'Parisienne', cursive);

  /* Spacing / rhythm */
  --section-pad: clamp(4rem, 9vw, 8rem);
  --container-max: 1200px;
  --radius-soft: 28px;

  --shadow-soft: 0 20px 60px -20px rgba(38, 58, 46, 0.25);
  --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 0.25s ease;
}

/* Applies LOGO_FONT_FAMILY from config at runtime via inline style on :root */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--ivory);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--hunter);
  margin: 0;
  letter-spacing: 0.02em;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  display: block;
  margin-bottom: 0.9rem;
}

.script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.01em;
}

.story-subheading {
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  margin-top: 0.6rem;
}

.section-heading {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  text-align: center;
  margin-bottom: 1.2rem;
}

.section-sub {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3.5rem;
  color: var(--text-soft);
  font-size: 1rem;
  font-weight: 300;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

section { padding: var(--section-pad) 0; position: relative; }

.divider-gold {
  width: 64px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem auto;
  position: relative;
}
.divider-gold::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 6px; height: 6px;
  background: var(--gold);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--transition-slow), transform 1s var(--transition-slow);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Botanical decorative SVG helper */
.botanical {
  position: absolute;
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
}
.botanical svg { width: 100%; height: 100%; }

/* -------------------------------------------------------------------------
   1. NAVIGATION
------------------------------------------------------------------------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem clamp(1.25rem, 5vw, 3rem);
  transition: padding var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
  background: transparent;
}
.site-nav.scrolled {
  padding: 0.85rem clamp(1.25rem, 5vw, 3rem);
  background: rgba(255, 253, 247, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(38,58,46,0.08);
}
/* backdrop-filter makes .site-nav a containing block for its position:fixed
   mobile-menu child, which breaks the menu's full-viewport inset:0 and
   squashes it into just the nav bar's height. Drop the filter while the
   menu is open so the menu panel covers the full screen as intended. */
.site-nav:has(.nav-links.open) {
  backdrop-filter: none;
  background: var(--ivory);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--ivory);
  transition: color var(--transition-fast);
}
.site-nav.scrolled .nav-logo { color: var(--hunter); }
.nav-logo img { height: 42px; width: auto; object-fit: contain; }
.site-nav.scrolled .nav-logo img { height: 34px; }

.nav-links {
  display: flex;
  gap: clamp(1rem, 2.4vw, 2.2rem);
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory);
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition-fast);
}
.site-nav.scrolled .nav-links a { color: var(--hunter); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition-fast);
}
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1100;
}
.nav-toggle span {
  width: 26px; height: 1.5px;
  background: var(--ivory);
  transition: all var(--transition-fast);
}
.site-nav.scrolled .nav-toggle span { background: var(--hunter); }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav-toggle.open span { background: var(--hunter) !important; }

@media (max-width: 880px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--ivory);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform var(--transition-slow);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { color: var(--hunter); font-size: 1rem; }
  .nav-toggle { display: flex; }
}

/* -------------------------------------------------------------------------
   2. HERO
------------------------------------------------------------------------- */
.hero {
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,30,22,0.45) 0%, rgba(20,30,22,0.55) 50%, rgba(20,30,22,0.75) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--ivory);
  padding: 0 1.5rem;
  /* Inherits down to all hero text so everything stays legible against
     busy/bright photo areas the dark overlay doesn't fully mute. */
  text-shadow: 0 2px 14px rgba(15, 22, 17, 0.6);
}
.hero-mark {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  letter-spacing: 0.03em;
  color: var(--ivory);
  margin-bottom: 1rem;
}
.hero-names {
  font-size: clamp(3rem, 9vw, 6.5rem);
  letter-spacing: 0.05em;
  font-weight: 400;
  color: var(--ivory);
  text-transform: uppercase;
}
.hero-names .amp {
  font-family: var(--font-script);
  text-transform: none;
  color: var(--gold);
  font-size: 0.7em;
  padding: 0 0.15em;
}
.hero-divider {
  width: 70px; height: 1px;
  background: var(--gold);
  margin: 1.6rem auto;
}
.hero-save-the-date {
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--champagne);
}
.hero-tagline {
  margin-top: 1.6rem;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--soft-sage);
}
.scroll-indicator {
  position: absolute;
  bottom: 2.4rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  gap: 0.5rem;
  color: var(--ivory);
  opacity: 0.85;
}
.scroll-indicator span {
  font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { transform: scaleY(1); opacity: 0.8; }
  50% { transform: scaleY(0.55); opacity: 0.4; }
}

/* -------------------------------------------------------------------------
   3. COUPLE PHOTO SECTION
------------------------------------------------------------------------- */
.couple-section {
  background: var(--cream);
  padding: var(--section-pad) 0;
  text-align: center;
}
.couple-frame {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}
.couple-frame-inner {
  border-radius: 200px 200px 40px 40px;
  overflow: hidden;
  border: 2px solid var(--gold);
  padding: 10px;
  background: var(--ivory);
  box-shadow: var(--shadow-soft);
}
.couple-frame-inner img {
  border-radius: 190px 190px 30px 30px;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 30%;
}
.couple-caption {
  margin-top: 2rem;
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--olive);
}

/* -------------------------------------------------------------------------
   4. WELCOME
------------------------------------------------------------------------- */
.welcome-section {
  background: var(--ivory);
  text-align: center;
}
.welcome-copy {
  max-width: 680px;
  margin: 0 auto;
}
.welcome-copy p {
  margin: 0 0 1.4rem;
  color: var(--text-soft);
  font-size: 1.02rem;
  font-weight: 300;
}
.welcome-signature {
  margin-top: 2rem;
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--gold);
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  margin: 3rem auto 0;
  flex-wrap: wrap;
}
.countdown-unit {
  text-align: center;
  min-width: 80px;
}
.countdown-num {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--hunter);
  font-weight: 500;
}
.countdown-label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 0.3rem;
}
.countdown-complete {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--gold);
}

/* -------------------------------------------------------------------------
   5. OUR STORY
------------------------------------------------------------------------- */
.story-section { background: var(--cream); }
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.story-photo-wrap { position: relative; }
.story-photo-wrap img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center 15%; /* keeps faces in frame on tall full-length photos */
  border-radius: var(--radius-soft) 8px var(--radius-soft) 8px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(198,161,91,0.4);
}
.story-text p {
  color: var(--text-soft);
  margin-bottom: 1.2rem;
  font-size: 0.98rem;
}

.timeline {
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
  position: relative;
  gap: 1rem;
  flex-wrap: wrap;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 8px; left: 0; right: 0;
  height: 1px;
  background: var(--soft-sage);
}
.timeline-item {
  text-align: center;
  position: relative;
  flex: 1;
  min-width: 90px;
}
.timeline-dot {
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--cream);
  margin: 0 auto 0.8rem;
  position: relative;
  z-index: 1;
}
.timeline-label {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--hunter);
}
.timeline-detail {
  font-size: 0.72rem;
  color: var(--text-soft);
  margin-top: 0.3rem;
  padding: 0 0.4rem;
}

@media (max-width: 800px) {
  .story-grid { grid-template-columns: 1fr; }
  .timeline { flex-direction: column; gap: 1.6rem; }
  .timeline::before { left: 7px; top: 0; bottom: 0; right: auto; width: 1px; height: auto; }
  .timeline-item { display: flex; align-items: flex-start; gap: 1rem; text-align: left; }
  .timeline-dot { margin: 3px 0 0; }
}

/* -------------------------------------------------------------------------
   BUTTONS
------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border: 1px solid var(--gold);
  color: var(--hunter);
  background: transparent;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-body);
  font-weight: 500;
}
.btn:hover { background: var(--gold); color: var(--ivory); }
.btn-solid {
  background: var(--hunter);
  color: var(--ivory);
  border-color: var(--hunter);
}
.btn-solid:hover { background: var(--olive); border-color: var(--olive); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-disabled {
  border-style: dashed;
  border-color: var(--soft-sage);
  color: var(--text-soft);
  background: transparent;
}
.btn-disabled:hover { background: transparent; color: var(--text-soft); }

/* -------------------------------------------------------------------------
   7. WEEKEND / ITINERARY
------------------------------------------------------------------------- */
.weekend-section { background: var(--hunter); color: var(--ivory); }
.weekend-section .section-heading { color: var(--ivory); }
.weekend-section .section-sub { color: var(--soft-sage); }
.itinerary-venue-note {
  margin: 1.6rem 0 0;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  letter-spacing: 0.02em;
  color: var(--gold);
  font-style: italic;
  font-weight: 500;
  font-family: var(--font-heading);
}

.itinerary {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  padding-left: 2.5rem;
}
.itinerary::before {
  content: '';
  position: absolute;
  left: 8px; top: 6px; bottom: 6px;
  width: 1px;
  background: rgba(198,161,91,0.4);
}
.itinerary-item {
  position: relative;
  padding-bottom: 2.6rem;
}
.itinerary-item:last-child { padding-bottom: 0; }
.itinerary-item::before {
  content: '';
  position: absolute;
  left: -2.5rem; top: 4px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--hunter);
}
.itinerary-time {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.itinerary-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--ivory);
  margin-bottom: 0.3rem;
}
.itinerary-detail { color: var(--soft-sage); font-size: 0.9rem; }

/* -------------------------------------------------------------------------
   8. GALLERY
------------------------------------------------------------------------- */
.gallery-section { background: var(--cream); }
.gallery-grid {
  columns: 3 260px;
  column-gap: 1.4rem;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.4rem;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(198,161,91,0.25);
  background: var(--ivory);
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.9s var(--transition-slow), opacity 0.6s ease;
  opacity: 0;
}
.gallery-item img.loaded { opacity: 1; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item.feature { }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.2rem 1rem 0.8rem;
  background: linear-gradient(0deg, rgba(20,30,22,0.65), transparent);
  color: var(--ivory);
  font-size: 0.8rem;
  font-family: var(--font-heading);
  font-style: italic;
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.gallery-item:hover .gallery-caption { opacity: 1; }

@media (max-width: 700px) {
  .gallery-grid { columns: 2 160px; }
}
@media (max-width: 420px) {
  .gallery-grid { columns: 1 100%; }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(20,28,22,0.94);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox-img-wrap {
  max-width: 90vw; max-height: 82vh;
  position: relative;
  text-align: center;
}
.lightbox-img-wrap img {
  max-width: 90vw; max-height: 78vh;
  object-fit: contain;
  border: 1px solid rgba(198,161,91,0.5);
  border-radius: 6px;
  animation: lightboxFade 0.4s ease;
}
@keyframes lightboxFade { from { opacity: 0; transform: scale(0.97);} to { opacity: 1; transform: scale(1);} }
.lightbox-caption {
  color: var(--champagne);
  font-family: var(--font-heading);
  font-style: italic;
  margin-top: 1rem;
  font-size: 1rem;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: transparent;
  border: 1px solid rgba(216,197,165,0.5);
  color: var(--ivory);
  border-radius: 50%;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: var(--gold); border-color: var(--gold);
}
.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) {
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
  .lightbox-close { top: 0.8rem; right: 0.8rem; }
}

/* -------------------------------------------------------------------------
   9. FAQ
------------------------------------------------------------------------- */
.faq-section { background: var(--ivory); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(198,161,91,0.3);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.4rem 0;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--hunter);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-icon {
  width: 22px; height: 22px;
  flex-shrink: 0;
  position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--gold);
  transition: transform var(--transition-fast);
}
.faq-icon::before { width: 100%; height: 1px; top: 50%; left: 0; }
.faq-icon::after { height: 100%; width: 1px; left: 50%; top: 0; }
.faq-item.open .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--transition-slow), padding var(--transition-fast);
}
.faq-item.open .faq-answer { padding-bottom: 1.4rem; }
.faq-answer p { margin: 0; color: var(--text-soft); font-size: 0.92rem; }

/* -------------------------------------------------------------------------
   10. REGISTRY
------------------------------------------------------------------------- */
.registry-section { background: var(--cream); text-align: center; }
.registry-intro {
  max-width: 560px; margin: 0 auto 3rem;
  color: var(--text-soft); font-style: italic;
  font-family: var(--font-heading); font-size: 1.2rem;
}
.registry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.6rem;
}
/* When there's only one card in the grid, cap its width and center it so
   it doesn't stretch full-width — multiple cards fill the row as normal. */
.registry-grid:has(.registry-card:only-child) {
  max-width: 420px;
  margin: 0 auto;
}
.registry-card {
  background: var(--ivory);
  border: 1px solid rgba(198,161,91,0.3);
  border-radius: 18px;
  padding: 2.2rem 1.5rem;
  text-align: center;
}
.registry-card h4 { margin-bottom: 0.7rem; font-size: 1.2rem; }
.registry-card p { font-size: 0.85rem; color: var(--text-soft); margin-bottom: 1.4rem; }
.registry-details {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s var(--transition-slow);
}
.registry-details-inner {
  border-top: 1px solid rgba(198,161,91,0.25);
  padding-top: 1rem;
  margin-top: 1rem;
}
.registry-details p {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  color: var(--hunter);
  font-weight: 500;
}
.registry-details p:last-child { margin-bottom: 0; }

/* -------------------------------------------------------------------------
   11. RSVP
------------------------------------------------------------------------- */
.rsvp-section {
  background: var(--olive);
  color: var(--ivory);
  text-align: center;
}
.rsvp-section .section-heading { color: var(--ivory); }
.rsvp-section .section-sub { color: var(--champagne); }
.rsvp-form {
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
}
.form-group { margin-bottom: 1.6rem; }
.form-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  color: var(--champagne);
}
.form-input {
  width: 100%;
  padding: 0.9rem 1rem;
  background: rgba(255,253,247,0.08);
  border: 1px solid rgba(216,197,165,0.4);
  border-radius: 8px;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}
.form-input:focus {
  outline: none;
  border-color: var(--gold);
}
.form-input::placeholder { color: rgba(255,253,247,0.4); }

.attend-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.attend-choice {
  position: relative;
}
.attend-choice input { position: absolute; opacity: 0; }
.attend-choice label {
  display: block;
  text-align: center;
  padding: 1.1rem 0.6rem;
  border: 1px solid rgba(216,197,165,0.4);
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  transition: all var(--transition-fast);
}
.attend-choice input:checked + label {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--hunter);
  font-weight: 500;
}
@media (max-width: 480px) {
  .attend-choices { grid-template-columns: 1fr; }
}

.rsvp-status {
  margin-top: 1.4rem;
  font-size: 0.95rem;
  min-height: 1.4em;
}
.rsvp-status.success { color: var(--champagne); }
.rsvp-status.error { color: #e3b3a3; }

.rsvp-check {
  width: 56px; height: 56px;
  margin: 1rem auto 0;
  display: none;
}
.rsvp-check.show { display: block; }
.rsvp-check circle {
  stroke: var(--gold);
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: circleDraw 0.6s ease forwards;
}
.rsvp-check path {
  stroke: var(--gold);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: checkDraw 0.4s 0.5s ease forwards;
}
@keyframes circleDraw { to { stroke-dashoffset: 0; } }
@keyframes checkDraw { to { stroke-dashoffset: 0; } }

.rsvp-done {
  text-align: center;
}
.rsvp-done p {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--champagne);
  font-family: var(--font-heading);
  font-style: italic;
}

.rsvp-coming-soon {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}
.rsvp-coming-soon p {
  font-size: 1.15rem;
  color: var(--champagne);
  font-family: var(--font-heading);
  font-style: italic;
  line-height: 1.6;
}

/* -------------------------------------------------------------------------
   12. FOOTER
------------------------------------------------------------------------- */
.site-footer {
  background: var(--hunter);
  color: var(--ivory);
  text-align: center;
  padding: 4rem 1.5rem 2.5rem;
  position: relative;
}
.footer-names {
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: var(--champagne);
  margin-bottom: 0.6rem;
}
.footer-logo-full {
  max-width: 260px;
  width: 60%;
  height: auto;
  margin: 0 auto;
  /* the source PNG is black linework on a transparent background;
     invert to white-ivory so it reads clearly on the dark footer */
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.footer-date { font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--soft-sage); }
.footer-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.3rem;
  margin: 1.4rem 0 1.8rem;
  color: var(--ivory);
}
.footer-closing { font-size: 0.85rem; color: var(--soft-sage); margin-top: 1.2rem; }

/* -------------------------------------------------------------------------
   Focus visibility (accessibility)
------------------------------------------------------------------------- */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Utility */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* -------------------------------------------------------------------------
   Scripture citations
   -------------------------------------------------------------------
   A plain reference (not verse text) shown at the end of each section.
   Default styling suits light backgrounds; dark sections (Wedding Day,
   RSVP, Footer) override to a lighter tone below.
------------------------------------------------------------------------- */
.scripture-citation {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(198,161,91,0.3);
}
.scripture-reference {
  display: block;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--gold);
}
.scripture-note {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
}
.scripture-citation-group {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 6vw, 4rem);
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(198,161,91,0.3);
}
.scripture-citation-group .scripture-citation {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

/* Dark-background sections: lighten the citation to stay legible */
.weekend-section .scripture-reference,
.rsvp-section .scripture-reference,
.footer-scripture .scripture-reference {
  color: var(--champagne);
}
.weekend-section .scripture-citation,
.rsvp-section .scripture-citation {
  border-top-color: rgba(216,197,165,0.3);
}
.weekend-section .scripture-note,
.rsvp-section .scripture-note {
  color: var(--soft-sage);
}
.footer-scripture {
  border-top: 1px solid rgba(216,197,165,0.25);
  margin-top: 1.6rem;
  padding-top: 1.4rem;
}
.footer-scripture .scripture-note {
  color: var(--soft-sage);
}
