/* ══════════════════════════════════════════
   BUSIE & IAN — WEDDING WEBSITE
   Complete stylesheet — accessibility edition
   Larger text, high contrast, readable fonts
══════════════════════════════════════════ */

:root {
  --burgundy:      #9E5A6B;      /* lighter burgundy */
  --burgundy-deep: #7C4A5A;      /* medium-light burgundy */
  --burgundy-mid:  #B86B7E;      /* even lighter for hover effects */
  --gold:          #C9A84C;
  --gold-light:    #e8c97a;
  --cream:         #F5F0E8;
  --cream-dark:    #EDE5D6;
  --white:         #FFFFFF;
  --text-dark:     #1a0a05;
  --text-mid:      #4a2a1a;

  /* Font stacks */
  --font-script:  'Great Vibes', cursive;           /* decorative only */
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'Lato', 'Segoe UI', Arial, sans-serif;

  --radius:     4px;
  --shadow:     0 8px 40px rgba(107, 25, 41, 0.18);
  --transition: 0.35s ease;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 19px; }
body {
  background: var(--cream);
  color: var(--text-dark);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.85;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(58, 10, 18, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
  transition: padding var(--transition), box-shadow var(--transition);
}
.site-nav.scrolled {
  padding: 12px 48px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.35);
}
.nav-brand {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.1em;
}
.nav-amp { color: var(--gold); }
.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}
.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.9;
  transition: opacity var(--transition), color var(--transition);
}
.nav-links a:hover { opacity: 1; color: var(--gold-light); }
.nav-rsvp {
  border: 1.5px solid var(--gold) !important;
  padding: 8px 22px !important;
  opacity: 1 !important;
  color: var(--gold) !important;
  transition: background var(--transition), color var(--transition) !important;
}
.nav-rsvp:hover {
  background: var(--gold) !important;
  color: var(--burgundy-deep) !important;
}
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ── HERO (base – the detailed hero styles are now inside index.html) ── */
.hero {
  min-height: 100vh;
  background: #4a0f1e;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}

/* ensure other pages' hero elements still look good */
.page-hero {
  background: var(--burgundy-deep);
  padding: 120px 48px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 12px;
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.page-hero-sub {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--cream);
  opacity: 0.8;
  line-height: 1.8;
  margin: 0 auto;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 40px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.btn-gold {
  background: var(--gold);
  color: var(--burgundy-deep);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--burgundy-deep);
  border-color: rgba(107, 25, 41, 0.4);
}
.btn-outline:hover {
  border-color: var(--burgundy);
  background: rgba(107, 25, 41, 0.05);
  transform: translateY(-2px);
}
.btn-burgundy {
  background: var(--burgundy);
  color: var(--cream);
  border-color: var(--burgundy);
}
.btn-burgundy:hover {
  background: var(--burgundy-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ── ORNAMENT DIVIDERS ── */
.ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 32px 48px;
  background: var(--cream);
}
.ornament-divider--dark { background: var(--burgundy-deep); }
.ornament-line {
  flex: 1;
  max-width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}
.ornament-line--light {
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.6), transparent);
}
.ornament-diamond { font-size: 0.6rem; color: var(--gold); opacity: 0.6; }
.ornament-diamond--light { opacity: 0.8; }

/* ── SECTION BASE ── */
.section {
  padding: 90px 48px;
  max-width: 1100px;
  margin: 0 auto;
}
.section-dark {
  background: var(--burgundy-deep);
  padding: 90px 48px;
}
.section-dark .section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--burgundy-deep);
}
.section-title--light { color: var(--cream); }
.section-script {
  font-family: var(--font-script);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gold);
  margin-bottom: 8px;
}
.section-divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 20px 0;
}
.section-divider--center { margin: 20px auto; }

/* ── SAVE THE DATE ── */
.std-date {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--burgundy-deep);
  margin: 8px 0 20px;
}
.std-body {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-mid);
  font-style: italic;
  line-height: 1.85;
  max-width: 480px;
  margin: 0 auto 40px;
}
.std-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── PHOTO BAND ── */
.photo-band {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  height: 320px;
  overflow: hidden;
}
.photo-band-img {
  background-size: cover;
  background-position: center;
  background-color: var(--cream-dark);
  transition: transform 0.6s ease;
}
.photo-band-img:hover { transform: scale(1.03); }

/* ── DETAILS RIBBON ── */
.details-ribbon {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid rgba(201,168,76,0.2);
}
.detail-tile {
  flex: 1;
  min-width: 160px;
  padding: 40px 20px;
  text-align: center;
}
.detail-tile-divider {
  width: 1px;
  background: rgba(201,168,76,0.2);
  align-self: stretch;
  flex-shrink: 0;
}
.detail-tile-icon { font-size: 1.8rem; margin-bottom: 12px; display: block; }
.detail-tile-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}
.detail-tile-body {
  font-size: 0.88rem;
  color: var(--cream);
  opacity: 0.8;
  line-height: 1.7;
}
.detail-tile-body strong { color: var(--cream); opacity: 1; font-weight: 700; }
.detail-tile-link { color: var(--gold) !important; text-decoration: underline; font-size: 0.85rem; }

/* ── TRANSPORT NOTE ── */
.transport-note {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--cream-dark);
  border-left: 4px solid var(--gold);
  padding: 24px 32px;
  max-width: 680px;
  margin: 0 auto;
}
.transport-icon { font-size: 2rem; flex-shrink: 0; }
.transport-text {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text-mid);
  font-style: italic;
  line-height: 1.8;
  text-align: left;
}

/* ── CLOSING CTA SECTION ── */
.closing-cta-section {
  position: relative;
  background: var(--burgundy-deep);
  padding: 100px 24px;
  text-align: center;
  overflow: hidden;
}
.closing-cta-bg {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.closing-cta-inner { position: relative; z-index: 1; }
.closing-script {
  font-family: var(--font-script);
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--cream);
  margin: 8px 0 24px;
}

/* ── DETAILS CARDS ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  padding: 36px 28px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.card-icon { font-size: 1.8rem; margin-bottom: 16px; }
.card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 10px;
}
.card-body { font-size: 0.95rem; color: var(--text-mid); line-height: 1.75; }
.card-body strong { color: var(--text-dark); font-weight: 700; }

/* ── RSVP FORM ── */
.rsvp-wrap {
  min-height: 100vh;
  background: var(--burgundy-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
}
.rsvp-ornament {
  text-align: center;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.8s ease both;
}
.rsvp-card {
  background: var(--white);
  max-width: 600px;
  width: 100%;
  position: relative;
  box-shadow: 0 32px 100px rgba(0,0,0,0.4);
  overflow: hidden;
}
.rsvp-card-header-bar {
  background: var(--burgundy-deep);
  padding: 44px 48px 36px;
  position: relative;
}
.rsvp-card-header-bar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--burgundy), var(--gold), var(--burgundy));
}
.rsvp-card-body { padding: 40px 48px 48px; }
.rsvp-header { text-align: center; }
.form-group { margin-bottom: 26px; }
.form-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 10px;
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--cream-dark);
  background: var(--cream);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  border-radius: 2px;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(107, 25, 41, 0.1);
}
.form-textarea { resize: vertical; min-height: 100px; }

/* Pill RSVP toggle */
.rsvp-pill-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.rsvp-pill-toggle input { display: none; }
.rsvp-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 12px;
  border: 1.5px solid var(--cream-dark);
  background: var(--cream);
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-mid);
  transition: all var(--transition);
  text-align: center;
}
.rsvp-pill:hover { border-color: var(--burgundy-mid); background: white; }
.rsvp-pill-toggle input#yes:checked + label { background: var(--burgundy); border-color: var(--burgundy); color: var(--cream); }
.rsvp-pill-toggle input#no:checked + label { background: var(--text-mid); border-color: var(--text-mid); color: var(--cream); }
.pill-icon { font-style: normal; font-size: 1.1rem; }

/* Reminders */
.rsvp-reminders {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  padding: 18px 20px;
  margin-bottom: 26px;
}
.rsvp-reminders-title {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 10px;
}
.rsvp-reminders-list { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.rsvp-reminder-item { font-size: 0.9rem; color: var(--text-mid); font-family: var(--font-sans); }
.rsvp-submit-btn { width: 100%; font-size: 0.9rem; letter-spacing: 0.2em; padding: 18px; }

/* ── THANK YOU ── */
.thankyou-wrap {
  min-height: 100vh;
  background: var(--burgundy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px;
}
.thankyou-card { max-width: 560px; color: var(--cream); }
.thankyou-icon { font-size: 3.5rem; margin-bottom: 24px; }
.thankyou-script {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
}
.thankyou-body {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  font-style: italic;
  opacity: 0.9;
  line-height: 1.85;
}

/* ── VENUE PAGE ── */
.venue-hero {
  min-height: 55vh;
  background: var(--burgundy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 140px 24px 80px;
  position: relative;
}
.venue-map {
  width: 100%;
  height: 420px;
  border: none;
  display: block;
  filter: grayscale(20%) contrast(1.05);
}
.map-section { position: relative; }
.map-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  background: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-mid);
}

/* Venue split */
.venue-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.venue-info-list { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.venue-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.6;
}
.venue-info-icon { font-size: 1.2rem; flex-shrink: 0; }
.venue-img-frame {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 1px solid var(--cream-dark);
}
.venue-img-frame::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(201,168,76,0.35);
  z-index: 1;
  pointer-events: none;
}
.venue-img-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.venue-img-frame:hover img { transform: scale(1.03); }
.venue-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-dark);
}
.venue-img-placeholder p {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-mid);
  text-align: center;
  opacity: 0.6;
  font-size: 1rem;
}

/* ── TIMELINE v2 ── */
.timeline-v2 { max-width: 560px; margin: 0 auto; }
.tl-item {
  display: grid;
  grid-template-columns: 72px 40px 1fr;
  gap: 0 20px;
  align-items: start;
}
.tl-time {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  text-align: right;
  padding-top: 10px;
}
.tl-connector { display: flex; flex-direction: column; align-items: center; }
.tl-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--burgundy-deep);
  box-shadow: 0 0 0 2px var(--gold);
  flex-shrink: 0;
  margin-top: 8px;
}
.tl-dot--last { box-shadow: 0 0 0 2px rgba(201,168,76,0.4); background: var(--burgundy-mid); }
.tl-line {
  width: 1px;
  flex: 1;
  min-height: 48px;
  background: linear-gradient(to bottom, var(--gold), rgba(201,168,76,0.15));
  margin: 4px 0;
}
.tl-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.15);
  border-left: 2px solid var(--gold);
  padding: 16px 20px;
  margin-bottom: 16px;
}
.tl-card-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 6px;
}
.tl-card-desc { font-size: 0.9rem; color: var(--cream); opacity: 0.6; line-height: 1.65; }

/* ── STAY PAGE ── */
.stay-cards-premium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--cream-dark);
}
.stay-premium-card {
  padding: 44px 32px;
  border-right: 1px solid var(--cream-dark);
  position: relative;
  transition: background var(--transition), transform var(--transition);
  background: var(--white);
}
.stay-premium-card:last-child { border-right: none; }
.stay-premium-card:hover {
  background: #fdfaf7;
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(107,25,41,0.1);
  z-index: 1;
}
.stay-premium-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.18;
  line-height: 1;
  margin-bottom: 12px;
}
.stay-premium-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--burgundy-deep);
  margin-bottom: 12px;
}
.stay-premium-divider { width: 40px; height: 2px; background: var(--gold); margin-bottom: 14px; opacity: 0.6; }
.stay-premium-desc { font-size: 0.95rem; color: var(--text-mid); line-height: 1.75; margin-bottom: 24px; }
.stay-premium-link {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--burgundy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition), color var(--transition);
}
.stay-premium-link:hover { gap: 10px; color: var(--burgundy-mid); }
.stay-premium-link span { transition: transform var(--transition); }
.stay-premium-link:hover span { transform: translateX(3px); }

/* ── RULES GRID ── */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(201,168,76,0.12);
}
.rule-card {
  background: rgba(255,255,255,0.03);
  padding: 36px 28px;
  transition: background var(--transition);
}
.rule-card:hover { background: rgba(255,255,255,0.06); }
.rule-icon { font-size: 2rem; margin-bottom: 16px; display: block; }
.rule-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
}
.rule-divider { width: 32px; height: 2px; background: var(--gold); opacity: 0.4; margin-bottom: 12px; }
.rule-body { font-size: 0.95rem; color: var(--cream); opacity: 0.75; line-height: 1.75; }
.rule-body strong { color: var(--gold); opacity: 1; font-weight: 700; }

/* ── GIFTS PAGE ── */
.gifts-hero {
  min-height: 45vh;
  background: var(--burgundy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 140px 24px 80px;
  position: relative;
}
.gifts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.gift-card {
  background: var(--white);
  border: 1.5px solid var(--cream-dark);
  padding: 32px 28px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.gift-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.gift-card--full {
  border-color: #ddd;
  opacity: 0.65;
}
.gift-card--full:hover { transform: none; box-shadow: none; }
.gift-icon { font-size: 2.2rem; margin-bottom: 14px; display: block; }
.gift-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--burgundy-deep);
  margin-bottom: 8px;
}
.gift-desc { font-size: 0.9rem; color: var(--text-mid); line-height: 1.65; margin-bottom: 16px; }
.gift-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.gift-remaining {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}
.gift-remaining--available {
  background: #eaf5ee;
  color: #2a6e40;
}
.gift-remaining--low {
  background: #fff5e0;
  color: #8a5e00;
}
.gift-remaining--full {
  background: #fdecea;
  color: #9b2020;
}
.gift-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.gift-option-link {
  font-size: 0.82rem;
  color: var(--burgundy);
  text-decoration: underline;
  font-family: var(--font-sans);
  font-weight: 600;
}
.gift-option-link:hover { color: var(--burgundy-mid); }
.gift-claim-form { margin-top: 4px; }
.gift-claim-form input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--cream-dark);
  background: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 8px;
  border-radius: 2px;
  outline: none;
  transition: border-color var(--transition);
}
.gift-claim-form input:focus { border-color: var(--burgundy); }
.gift-claim-btn {
  width: 100%;
  padding: 12px;
  background: var(--burgundy);
  color: var(--cream);
  border: none;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition);
  border-radius: 2px;
}
.gift-claim-btn:hover { background: var(--burgundy-mid); }
.gift-claimed-label {
  text-align: center;
  padding: 12px;
  background: #f0f0f0;
  color: #888;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Cash gift card */
.cash-gift-card {
  background: var(--burgundy-deep);
  border: 1.5px solid rgba(201,168,76,0.4);
  padding: 40px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cash-gift-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.cash-gift-card > * { position: relative; z-index: 1; }
.cash-gift-icon { font-size: 2.8rem; margin-bottom: 12px; }
.cash-gift-title {
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 12px;
}
.cash-gift-desc {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--cream);
  opacity: 0.8;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.banking-details {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 24px 28px;
  text-align: left;
  max-width: 380px;
  margin: 0 auto;
}
.banking-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(201,168,76,0.12);
  gap: 20px;
}
.banking-row:last-child { border-bottom: none; }
.banking-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
  flex-shrink: 0;
}
.banking-value {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--cream);
  font-weight: 700;
  text-align: right;
}

/* ── PERSONALIZED INVITE ── */
.personal-wrap {
  min-height: 100vh;
  background: var(--burgundy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
}
.personal-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* ── ALREADY RSVP'D ── */
.thankyou-wrap .thankyou-card { padding: 20px; }

/* ── FLASH ── */
.flash-container { position: fixed; top: 80px; right: 24px; z-index: 1000; display: flex; flex-direction: column; gap: 10px; max-width: 380px; }
.flash {
  padding: 16px 24px;
  font-size: 1rem;
  font-family: var(--font-sans);
  border-left: 4px solid;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  line-height: 1.5;
}
.flash--success { background: #f0faf5; border-color: #2d7a4f; color: #1a4d30; }
.flash--error   { background: #fef0ef; border-color: #c0392b; color: #7b1f1a; }

/* ── MUSIC PLAYER ── */
.music-player {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.music-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--burgundy);
  border: 2px solid var(--gold);
  color: var(--gold);
  font-size: 1.3rem;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(107, 25, 41, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}
.music-btn:hover { background: var(--burgundy-mid); transform: scale(1.08); }
.music-btn.playing { animation: pulse 2s infinite; }
.music-label {
  font-size: 0.65rem;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy-deep);
  opacity: 0.6;
}
.is-playing .music-label { color: var(--burgundy); opacity: 1; }

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── FOOTER ── */
.site-footer {
  background: var(--burgundy-deep);
  text-align: center;
  padding: 64px 24px;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.site-footer > * { position: relative; z-index: 1; }
.footer-ornament { font-size: 0.65rem; color: var(--gold); letter-spacing: 0.4em; margin-bottom: 20px; opacity: 0.5; }
.footer-names { font-family: var(--font-script); font-size: 2.6rem; color: var(--cream); margin-bottom: 8px; }
.footer-amp { color: var(--gold); }
.footer-date { font-family: var(--font-serif); font-size: 1rem; font-weight: 700; letter-spacing: 0.2em; color: var(--gold); margin-bottom: 6px; }
.footer-location { font-family: var(--font-sans); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream); opacity: 0.4; }
.footer-contact { margin-top: 20px; font-family: var(--font-sans); font-size: 0.85rem; color: var(--cream); opacity: 0.45; letter-spacing: 0.08em; }
.footer-contact a { color: var(--gold); opacity: 0.9; text-decoration: underline; }
.footer-contact a:hover { opacity: 1; }

/* ── ADMIN ── */
.admin-wrap { min-height: 100vh; background: #f7f4f1; padding: 80px 32px 60px; }
.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; flex-wrap: wrap; gap: 16px; }
.admin-title { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; color: var(--burgundy-deep); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin-bottom: 48px; }
.stat-card { background: var(--white); padding: 28px 24px; border-left: 4px solid var(--burgundy); box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.stat-card.gold { border-left-color: var(--gold); }
.stat-card.green { border-left-color: #2d7a4f; }
.stat-card.red { border-left-color: #c0392b; }
.stat-number { font-family: var(--font-serif); font-size: 2.4rem; font-weight: 700; color: var(--burgundy-deep); line-height: 1; }
.stat-label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mid); margin-top: 8px; }
.admin-table-wrap { overflow-x: auto; background: var(--white); box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.admin-table th { background: var(--burgundy-deep); color: var(--cream); padding: 14px 18px; text-align: left; font-family: var(--font-sans); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
.admin-table td { padding: 14px 18px; border-bottom: 1px solid #f0ebe6; color: var(--text-dark); font-size: 0.92rem; }
.admin-table tr:hover td { background: #faf7f4; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 2px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; }
.badge-yes { background: #e8f5ee; color: #2d7a4f; }
.badge-no  { background: #fdecea; color: #c0392b; }
.create-invite-form { background: var(--white); padding: 36px; margin-bottom: 36px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.invite-row { display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; }
.invite-row .form-group { flex: 1; min-width: 240px; margin-bottom: 0; }

/* ── KEYFRAMES ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollLine {
  0%    { transform: scaleY(0); transform-origin: top; }
  50%   { transform: scaleY(1); transform-origin: top; }
  50.1% { transform: scaleY(1); transform-origin: bottom; }
  100%  { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(107,25,41,0.45), 0 0 0 0 rgba(201,168,76,0.4); }
  50%       { box-shadow: 0 4px 20px rgba(107,25,41,0.45), 0 0 0 12px rgba(201,168,76,0); }
}
@keyframes gentleZoom {
  0%   { transform: scale(1); }
  100% { transform: scale(1.05); }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .site-nav.scrolled { padding: 12px 24px; }
  .details-ribbon { display: grid; grid-template-columns: 1fr 1fr; }
  .detail-tile-divider { display: none; }
  .detail-tile { border-bottom: 1px solid rgba(201,168,76,0.15); }
  .stay-cards-premium { grid-template-columns: 1fr; }
  .stay-premium-card { border-right: none; border-bottom: 1px solid var(--cream-dark); }
  .rules-grid { grid-template-columns: 1fr 1fr; }
  .venue-split { grid-template-columns: 1fr; gap: 40px; }
  .venue-split-image { order: -1; }
  .photo-band { height: 200px; }
}

@media (max-width: 768px) {
  html { font-size: 17px; }
  .site-nav { padding: 16px 20px; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--burgundy-deep);
    padding: 24px;
    gap: 20px;
  }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: block; }
  .section { padding: 64px 20px; }
  .section-dark { padding: 64px 20px; }
  .rsvp-card-header-bar { padding: 36px 24px 28px; }
  .rsvp-card-body { padding: 28px 24px 36px; }
  .admin-wrap { padding: 80px 16px 40px; }
  .hero-photos { height: 160px; }
  .gifts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  html { font-size: 16px; }
  .countdown-wrap { gap: 0; }
  .countdown-item { padding: 0 10px; }
  .countdown-num { font-size: 1.8rem; }
  .details-ribbon { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
  .photo-band { grid-template-columns: 1fr; height: auto; }
  .photo-band-img { height: 180px; }
  .tl-item { grid-template-columns: 56px 32px 1fr; gap: 0 10px; }
  .transport-note { flex-direction: column; text-align: center; }
  .banking-details { padding: 18px 16px; }
}

/* Page section spacing */
.page-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 48px;
}

/* Improved gift card styling */
.gift-card {
  background: var(--white);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 4px;
  padding: 0;
  transition: all 0.3s ease;
  overflow: hidden;
}
.gift-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -12px rgba(0,0,0,0.15);
  border-color: var(--gold);
}
.gift-card-inner {
  padding: 32px 28px;
}
.gift-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: inline-block;
  background: rgba(201, 168, 76, 0.1);
  padding: 12px;
  border-radius: 50%;
  line-height: 1;
}
.gift-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--burgundy-deep);
  margin: 16px 0 8px;
}
.gift-desc {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 20px;
}
.gift-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.gift-option-link {
  font-size: 0.8rem;
  color: var(--burgundy);
  text-decoration: none;
  border-bottom: 1px dotted var(--gold);
  padding-bottom: 2px;
  transition: color 0.2s;
}
.gift-option-link:hover {
  color: var(--gold);
  border-bottom-color: var(--burgundy);
}
.gift-claim-form input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 10px;
  border: 1px solid var(--cream-dark);
  border-radius: 4px;
  font-family: var(--font-sans);
  transition: border 0.2s;
}
.gift-claim-form input:focus {
  border-color: var(--gold);
  outline: none;
}
.gift-claim-btn {
  width: 100%;
  background: var(--burgundy);
  color: white;
  border: none;
  padding: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.gift-claim-btn:hover {
  background: var(--burgundy-mid);
}
.gift-claimed-label {
  text-align: center;
  padding: 12px;
  background: #f5f0e8;
  color: #a0813b;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 4px;
}
/* Cash gift card enhancements */
.cash-gift-card {
  background: linear-gradient(135deg, var(--burgundy-deep) 0%, #2c0a12 100%);
  border: 1px solid var(--gold);
}
.cash-gift-icon {
  font-size: 3rem;
  background: rgba(201,168,76,0.15);
  padding: 16px;
  border-radius: 60px;
  display: inline-block;
}
.cash-gift-title {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--gold);
  margin: 12px 0 8px;
}
.cash-gift-desc {
  color: var(--cream);
  opacity: 0.9;
  margin-bottom: 28px;
}
.banking-details {
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  padding: 20px;
}
.banking-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}
.banking-row:last-child {
  border-bottom: none;
}
.banking-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
}
.banking-value {
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--cream);
  font-weight: 600;
}

/* Accommodation card images */
.stay-card-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 20px;
  background: var(--cream-dark);
}

.stay-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.stay-premium-card:hover .stay-card-image img {
  transform: scale(1.03);
}