:root {
  --navy: #0d1b2e;
  --navy-mid: #1a2f4a;
  --navy-light: #2a4a6e;
  --gold: #e8a020;
  --gold-light: #f5c458;
  --gold-pale: #faebd0;
  --sky: #5a8fba;
  --sky-light: #8ab4d4;
  --cream: #fdf6e8;
  --white: #ffffff;
  --text-dark: #0d1b2e;
  --text-muted: #4a6080;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Josefin Sans', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ─── NAV ─────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13,27,46,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(232,160,32,0.3);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-brand {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  color: var(--sky-light);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: 2px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--gold); background: rgba(232,160,32,0.1); }

.nav-rsvp-btn {
  background: var(--gold) !important;
  color: var(--navy) !important;
  border-radius: 3px !important;
  font-weight: 700 !important;
}
.nav-rsvp-btn:hover { background: var(--gold-light) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  /* Replace with your engagement photo — name the file hero_photo.jpg */
  background-image: url('hero_photo.png');
  background-size: cover;
  background-position: center 28%;
}

.hero-sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0) 50%,
    rgba(6,13,26,0.5) 80%,
    rgba(6,13,26,0.85) 95%
  );
}


.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  text-align: center;
  padding: 1.25rem 2rem 1.75rem;
  background: transparent;
}

.hero-save-the-date {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--sky-light);
  margin-bottom: 0.6rem;
  text-shadow: 0 1px 4px rgba(0,0,0,1), 0 4px 16px rgba(0,0,0,0.9);
}

.hero-names {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 8px rgba(0,0,0,1), 0 4px 24px rgba(0,0,0,0.95), 0 8px 40px rgba(0,0,0,0.8);
  white-space: nowrap;
}
.hero-and {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.7em;
  color: var(--white);
  display: inline;
  margin: 0 0.2em;
  letter-spacing: 0.05em;
}

.hero-date-location {
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-shadow: 0 1px 4px rgba(0,0,0,1), 0 3px 14px rgba(0,0,0,0.95);
}
.hero-date-location span { color: var(--gold); }

.hero-scroll {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: pulse 2s ease-in-out infinite;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 30px;
  background: rgba(255,255,255,0.3);
}
@keyframes pulse { 0%,100%{opacity:0.5} 50%{opacity:1} }

/* ─── SECTIONS ────────────────────────────────────────── */
section { padding: 5rem 2rem; }

.section-inner {
  max-width: 900px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 2rem;
}

.section-title em {
  font-style: italic;
  color: var(--sky);
}

.divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 2rem;
}

/* ─── SCHEDULE ────────────────────────────────────────── */
#schedule { background: var(--cream); }

.schedule-day { margin-bottom: 4rem; }
.schedule-day:last-child { margin-bottom: 0; }

/* Full-width day header */
.sched-day-header { margin-bottom: 1.25rem; }

.sched-day-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.35rem;
}
.sched-day-dow {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.sched-day-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(232,160,32,0.45), transparent);
}

/* Events */
.sched-event {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  column-gap: 2.5rem;
  margin-bottom: 1.25rem;
  align-items: start;
  position: relative;
  background: var(--white);
  border: 1px solid rgba(232,160,32,0.18);
  border-radius: 6px;
  padding: 1.75rem 2rem;
  box-shadow: 0 2px 14px rgba(6,13,26,0.05);
}
.sched-event:last-child { margin-bottom: 0; }

.sched-event-time-col {
  text-align: right;
  padding-right: 1rem;
  padding-top: 0.3rem;
  position: relative;
}
.sched-event-hr {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.sched-event-ampm {
  display: block;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.6;
  margin-top: 0.1rem;
}

.sched-event-body {
  border-left: 1px solid rgba(232,160,32,0.2);
  padding-left: 1.75rem;
}
.sched-event-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.sched-event-icon { font-size: 0.72em; flex-shrink: 0; }
.sched-event-venue {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  line-height: 2;
}
.sched-event-venue a {
  color: var(--sky);
  text-decoration: none;
  border-bottom: 1px solid rgba(90,143,186,0.3);
  transition: color 0.2s, border-color 0.2s;
}
.sched-event-venue a:hover { color: var(--navy); border-color: var(--navy); }
.sched-event-desc {
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-style: italic;
  color: #2a3a4e;
  line-height: 1.85;
  margin-bottom: 1.5rem;
  max-width: 560px;
}
.sched-event-meta {
  display: flex;
  align-items: baseline;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.sched-event-attire-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.sched-detail-label {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
}
.sched-event-attire {
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--text-muted);
}
.sched-cal-link {
  display: inline-flex;
  align-items: center;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(74,96,128,0.25);
  padding-bottom: 1px;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.sched-cal-link::before { content: '▸'; color: var(--gold); margin-right: 0.35rem; font-size: 0.65rem; }
.sched-cal-link:hover { color: var(--gold); border-color: rgba(232,160,32,0.4); }

/* ─── TRAVEL ──────────────────────────────────────────── */
#travel { background: var(--white); }

/* Hotel hero card (full-width, 2-col) */
.hotel-hero {
  display: grid;
  grid-template-columns: 1fr 260px;
  border: 1px solid rgba(13,27,46,0.12);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.hotel-hero-content {
  padding: 2.5rem 2.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hotel-hero-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 0.2rem;
}
.hotel-hero-location {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.hotel-hero-body {
  font-family: 'Lora', serif;
  font-size: 0.9rem;
  line-height: 1.8;
  color: #2a3a4e;
  margin-bottom: 1.25rem;
}
.hotel-hero-link {
  display: inline-flex;
  align-items: center;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(232,160,32,0.4);
  padding-bottom: 1px;
  width: fit-content;
  transition: color 0.2s, border-color 0.2s;
}
.hotel-hero-link:hover { color: var(--navy); border-color: var(--navy); }

.hotel-hero-visual {
  background: var(--navy) center/cover no-repeat;
  position: relative;
  overflow: hidden;
  min-height: 320px;
}
.hotel-hero-motif {
  font-size: 3.5rem;
  color: var(--gold);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 0.75rem;
  font-family: 'Josefin Sans', sans-serif;
}
.hotel-hero-visual-label {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  text-align: center;
  line-height: 2;
}

/* hotel-badge reused for hero card */
.hotel-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}

/* Three info cards below hero */
.travel-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.travel-info-card {
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(13,27,46,0.09);
  border-radius: 4px;
  background: var(--white);
}
.travel-info-card::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1rem;
}
.travel-info-icon { font-size: 1.25rem; margin-bottom: 0.65rem; line-height: 1; }
.travel-info-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}
.travel-info-body {
  font-family: 'Lora', serif;
  font-size: 0.82rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}
.travel-info-body:last-child { margin-bottom: 0; }
.travel-info-body strong, .travel-info-note strong {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--navy);
}
.travel-info-note {
  font-family: 'Lora', serif;
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--text-muted);
  border-top: 1px solid rgba(13,27,46,0.07);
  padding-top: 0.6rem;
}

/* ─── FAQ ─────────────────────────────────────────────── */
#faq { background: var(--cream); }

.faq-list { margin-top: 0.5rem; }

.faq-item {
  border-bottom: 1px solid rgba(13,27,46,0.1);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--navy);
}
.faq-q:hover { color: var(--sky); }
.faq-chevron {
  font-size: 0.8rem;
  transition: transform 0.2s;
  color: var(--gold);
  flex-shrink: 0;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  font-family: 'Lora', serif;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-muted);
  padding: 0;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 1.25rem; }

/* ─── RSVP SECTION ────────────────────────────────────── */
#rsvp {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
#rsvp::before {
  content: '';
  position: absolute;
  top: -80px; left: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(90,143,186,0.06);
  pointer-events: none;
}
#rsvp .section-label { color: var(--sky-light); }
#rsvp .section-title { color: var(--white); }
#rsvp .section-title em { color: var(--gold); }

.rsvp-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(232,160,32,0.2);
  border-radius: 6px;
  padding: 2.5rem;
  max-width: 640px;
}

/* Search step */
.rsvp-step { display: none; }
.rsvp-step.active { display: block; }

.rsvp-field-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky-light);
  margin-bottom: 0.5rem;
  display: block;
}

.rsvp-input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(232,160,32,0.25);
  border-radius: 3px;
  color: var(--white);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s;
}
.rsvp-input:focus { border-color: var(--gold); }
.rsvp-input::placeholder { color: rgba(255,255,255,0.25); }

.rsvp-search-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.rsvp-btn {
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 3px;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.rsvp-btn:hover { background: var(--gold-light); }
.rsvp-btn:active { transform: scale(0.98); }
.rsvp-btn-secondary {
  background: transparent;
  color: var(--sky-light);
  border: 1px solid rgba(90,143,186,0.4);
  margin-right: 1rem;
}
.rsvp-btn-secondary:hover { background: rgba(90,143,186,0.1); color: var(--white); }

.rsvp-error {
  color: #f08080;
  font-size: 0.8rem;
  margin-top: 0.5rem;
  display: none;
}

/* Disambiguation step */
.disambig-list { list-style: none; margin: 1rem 0; }
.disambig-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(232,160,32,0.15);
  border-radius: 3px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.disambig-item:hover { background: rgba(232,160,32,0.1); border-color: rgba(232,160,32,0.4); }
.disambig-name { font-weight: 700; color: var(--white); font-size: 0.95rem; }
.disambig-detail { font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-top: 0.2rem; }

/* Form step */
.rsvp-party-names {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.rsvp-party-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.rsvp-section-head {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sky-light);
  margin: 1.5rem 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(90,143,186,0.2);
}

.event-rsvp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}
.event-rsvp-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 3px;
  padding: 0.75rem 1rem;
}
.event-rsvp-item-name {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.event-rsvp-item-date {
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}
.toggle-group { display: flex; gap: 0.4rem; }
.toggle-btn {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  color: rgba(255,255,255,0.5);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.25rem;
  cursor: pointer;
  transition: all 0.15s;
}
.toggle-btn.yes.selected { background: rgba(90,180,100,0.2); border-color: rgba(90,180,100,0.5); color: #90d490; }
.toggle-btn.no.selected { background: rgba(180,80,80,0.2); border-color: rgba(180,80,80,0.4); color: #e09090; }
.toggle-btn.maybe.selected { background: rgba(232,160,32,0.18); border-color: rgba(232,160,32,0.5); color: var(--gold-light); }

.event-person-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
}
.event-person-name {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.45);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.event-person-row .toggle-btn { padding: 0.3rem 0.35rem; font-size: 0.58rem; }

.rsvp-textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(232,160,32,0.25);
  border-radius: 3px;
  color: var(--white);
  font-family: 'Lora', serif;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  outline: none;
  resize: vertical;
  min-height: 80px;
  transition: border-color 0.2s;
}
.rsvp-textarea:focus { border-color: var(--gold); }
.rsvp-textarea::placeholder { color: rgba(255,255,255,0.25); }

.plus-one-section {
  background: rgba(90,143,186,0.08);
  border: 1px solid rgba(90,143,186,0.2);
  border-radius: 3px;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
}
.plus-one-toggle { display: flex; align-items: center; gap: 0.75rem; cursor: pointer; }
.plus-one-checkbox {
  width: 18px; height: 18px;
  border: 1.5px solid rgba(90,143,186,0.5);
  border-radius: 2px;
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--sky-light);
  font-size: 0.75rem;
  transition: all 0.15s;
}
.plus-one-checkbox.checked {
  background: rgba(90,143,186,0.3);
  border-color: var(--sky-light);
}
.plus-one-label { font-size: 0.8rem; color: rgba(255,255,255,0.7); }
.plus-one-fields { margin-top: 1rem; display: none; }
.plus-one-fields.show { display: block; }
.plus-one-name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

.rsvp-email-row { margin-bottom: 1rem; }

/* Success */
.rsvp-success { text-align: center; padding: 2rem 0; }
.rsvp-success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.rsvp-success h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.rsvp-success p { color: rgba(255,255,255,0.6); font-family: 'Lora', serif; font-size: 0.9rem; line-height: 1.7; }

/* ─── RSVP MODAL ─────────────────────────────────────── */
.rsvp-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6,13,26,0.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.rsvp-modal-overlay.open { display: flex; }
.rsvp-modal {
  background: var(--navy);
  border: 1px solid rgba(232,160,32,0.25);
  border-radius: 6px;
  width: 100%;
  max-width: 660px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
}
.rsvp-modal-header {
  padding: 1.75rem 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: sticky;
  top: 0;
  background: var(--navy);
  z-index: 1;
  border-bottom: 1px solid rgba(232,160,32,0.12);
  padding-bottom: 1rem;
  margin-bottom: 0.25rem;
}
.rsvp-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--white);
}
.rsvp-modal-title em { font-style: italic; color: var(--gold); }
.rsvp-modal-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.15s;
  margin-top: -0.2rem;
}
.rsvp-modal-close:hover { color: var(--white); }
.rsvp-modal-body { padding: 1.25rem 2rem 2rem; }

/* ─── CALENDAR BUTTON ─────────────────────────────────── */
.cal-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 1px solid rgba(13,27,46,0.18);
  border-radius: 3px;
  color: var(--text-muted);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.cal-btn:hover { background: var(--navy); color: var(--gold); border-color: var(--navy); }

/* ─── EVENT ICON ──────────────────────────────────────── */
.event-icon { font-size: 1.3rem; display: block; margin-bottom: 0.35rem; }

/* ─── PLUS-ONE CHECKBOX FIX ───────────────────────────── */
.plus-one-checkbox::after { content: ''; }
.plus-one-checkbox.checked { background: rgba(90,143,186,0.3); border-color: var(--sky-light); }
.plus-one-checkbox.checked::after { content: '✓'; color: var(--sky-light); font-size: 11px; line-height: 1; }

/* ─── RENTAL CAR ──────────────────────────────────────── */
.rental-car-row {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 3px;
  padding: 0.85rem 1rem;
}
.rental-car-q {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.rental-car-hint {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  font-family: 'Lora', serif;
  margin-bottom: 0.65rem;
}

/* ─── FOOTER ──────────────────────────────────────────── */
footer {
  background: #070f1c;
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(232,160,32,0.2);
}
.footer-names {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.footer-date {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

/* ─── HERO RSVP BUTTON ────────────────────────────────── */
.hero-rsvp-btn {
  margin-top: 0.9rem;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 3px;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 0.9rem 2.5rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-shadow: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.hero-rsvp-btn:hover { background: var(--gold-light); }
.hero-rsvp-btn:active { transform: scale(0.98); }

/* ─── NAV ACTIVE ──────────────────────────────────────── */
.nav-links a.nav-active {
  color: var(--gold);
  background: rgba(232,160,32,0.08);
}

/* ─── PAGE HEADER (sub-pages) ─────────────────────────── */
.page-header {
  background: var(--navy);
  padding: 7rem 2rem 3.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(232,160,32,0.15);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -80px; left: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(90,143,186,0.05);
  pointer-events: none;
}
.page-header-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--sky-light);
  margin-bottom: 0.6rem;
}
.page-header-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  line-height: 1.1;
}
.page-header-title em { color: var(--gold); font-style: italic; }

/* ─── STORY TIMELINE ──────────────────────────────────── */
#story {
  background: var(--white);
  border-top: 1px solid rgba(13,27,46,0.08);
  border-bottom: 1px solid rgba(13,27,46,0.08);
}
.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.story-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.story-prose p {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  line-height: 1.9;
  color: #2a3a4e;
  margin-bottom: 1.4rem;
}
.story-prose p:last-child { margin-bottom: 0; }

.story-timeline {
  position: relative;
  margin-top: 2rem;
}
.story-timeline::before {
  content: '';
  position: absolute;
  left: 4.5rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 1px;
  background: linear-gradient(to bottom,
    rgba(232,160,32,0.12) 0%,
    rgba(232,160,32,0.4) 12%,
    rgba(232,160,32,0.4) 88%,
    rgba(232,160,32,0.12) 100%);
}
.story-milestone {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  column-gap: 1.75rem;
  position: relative;
  margin-bottom: 2.75rem;
  align-items: start;
}
.story-milestone:last-child { margin-bottom: 0; }
.story-milestone-year {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: right;
  padding-right: 0.6rem;
  padding-top: 0.1rem;
  line-height: 1.4;
}
.story-milestone-dot {
  position: absolute;
  left: calc(4.5rem - 5px);
  top: 0.25rem;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--white);
}
.story-milestone-label {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
  line-height: 1.2;
}
.story-milestone-desc {
  font-family: 'Lora', serif;
  font-size: 0.9rem;
  line-height: 1.8;
  color: #2a3a4e;
}
.story-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky);
  text-decoration: none;
  border-bottom: 1px solid rgba(90,143,186,0.35);
  padding-bottom: 1px;
  margin-top: 2.5rem;
  margin-left: calc(4.5rem + 1.75rem);
  transition: color 0.2s, border-color 0.2s;
}
.story-more-link:hover { color: var(--gold); border-color: rgba(232,160,32,0.4); }
.story-more-link::after { content: '→'; }

/* ─── GALLERY ─────────────────────────────────────────── */
#gallery { background: var(--cream); }
.gallery-grid {
  columns: 3;
  column-gap: 1rem;
  margin-top: 2rem;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
}
.gallery-item img {
  width: 100%;
  display: block;
  border-radius: 3px;
  transition: opacity 0.2s;
}
.gallery-item img:hover { opacity: 0.88; }
.gallery-empty {
  text-align: center;
  padding: 4rem 2rem;
  font-family: 'Lora', serif;
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ─── THINGS TO DO ────────────────────────────────────── */
#things-to-do { background: var(--cream); }
.ttd-intro {
  font-family: 'Lora', serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #2a3a4e;
  margin-bottom: 0.5rem;
}
.ttd-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.ttd-card {
  border: 1px solid rgba(13,27,46,0.1);
  border-radius: 4px;
  padding: 2rem 1.75rem;
  background: var(--white);
}
.ttd-card::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1rem;
}
.ttd-card-type {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.4rem;
}
.ttd-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}
.ttd-card-desc {
  font-family: 'Lora', serif;
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}
.ttd-card-note {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding-top: 0.6rem;
  border-top: 1px solid rgba(13,27,46,0.07);
}
.ttd-more {
  font-family: 'Lora', serif;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 2rem;
  text-align: center;
}

/* ─── TABLET + MOBILE NAV ─────────────────────────────── */
@media (max-width: 1024px) {
  .nav-hamburger { display: flex; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0; right: 0;
    background: rgba(13,27,46,0.97);
    padding: 0.75rem 0 1rem;
    border-bottom: 1px solid rgba(232,160,32,0.3);
  }
  .nav-links.open a { padding: 0.65rem 1.5rem; font-size: 0.75rem; }
  .nav-links.open .nav-rsvp-btn {
    background: none !important;
    color: var(--gold) !important;
    border-radius: 0 !important;
    font-weight: 700 !important;
  }
  .nav-links.open .nav-rsvp-btn:hover { background: rgba(232,160,32,0.1) !important; }
}

/* ─── MOBILE ──────────────────────────────────────────── */
@media (max-width: 700px) {
  .rsvp-search-row, .event-rsvp-grid, .plus-one-name-row { grid-template-columns: 1fr; }
  .hero-names { font-size: clamp(2rem, 8vw, 2.8rem); white-space: nowrap; }
  .sched-event { grid-template-columns: 3.75rem 1fr; column-gap: 1.5rem; }
  .sched-event-hr { font-size: 1.5rem; }
  .sched-event-body { padding-left: 1.25rem; }
  .sched-event-name { font-size: 1.4rem; }
  .hotel-hero { grid-template-columns: 1fr; }
  .hotel-hero-visual { min-height: 140px; }
  .travel-info-grid { grid-template-columns: 1fr; gap: 1rem; }
  .gallery-grid { columns: 2; }
  .ttd-grid { grid-template-columns: 1fr; }
  .story-layout { grid-template-columns: 1fr; gap: 2rem; }
  .story-milestone { grid-template-columns: 3.5rem 1fr; column-gap: 1.25rem; }
  .story-timeline::before { left: 3.5rem; }
  .story-milestone-dot { left: calc(3.5rem - 5px); }
  .story-more-link { margin-left: calc(3.5rem + 1.25rem); }
}
