@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Montserrat:wght@200;300;400;500&display=swap');

/* ============================================================
   WEDDING WEBSITE — STYLES
   Font: Cormorant Garamond (serif, elegant) +
         Montserrat (sans-serif, modern nav)
   ============================================================ */

/* ── SPLASH SCREEN ──────────────────────────────────────────── */

#splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0d0c0b;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: opacity 0.9s ease 0.3s, visibility 0.9s ease 0.3s;
}

#splash.splash-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#splash-logo {
  width: clamp(160px, 28vw, 280px);
  height: auto;
  overflow: visible;
}

#splash-tagline {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: clamp(9px, 1vw, 11px);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0);
  animation: fadeInTagline 0.8s ease 2.4s forwards;
}

/* ── Draw animation ──────────────────────────────────────────── */

#splash-logo .draw-path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000;
  animation:
    drawPath 2.2s cubic-bezier(0.4, 0, 0.2, 1) forwards,
    fillFade 0.6s ease 2s forwards;
}

#splash-logo .draw-path:nth-child(2) {
  animation:
    drawPath 2.2s cubic-bezier(0.4, 0, 0.2, 1) 0.25s forwards,
    fillFade 0.6s ease 2.25s forwards;
}

@keyframes drawPath {
  to {
    stroke-dashoffset: 0;
  }
}

/* Fill ends at 100% white — element opacity:0.25 gives exactly 25% apparent */
@keyframes fillFade {
  to {
    fill: rgba(255, 255, 255, 1);
    stroke: rgba(255, 255, 255, 0);
  }
}

@keyframes fadeInTagline {
  to {
    color: rgba(255, 255, 255, 0.45);
  }
}

/* Prevent page scroll while splash overlay is active */
body.splash-active {
  overflow: hidden;
}


/* ── Reset ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  width: 100%;
}

body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  background: #0d0c0b;
  color: #f5f0ea;
  min-height: 100vh;
  min-height: 100dvh;
}

/* ── NAVIGATION ─────────────────────────────────────────────
   Style: Frosted Pill
   ─────────────────────────────────────────────────────────── */

nav.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 28px 40px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.18) 0%, transparent 100%);
  pointer-events: none;
  /* let clicks through the bar itself */
}

nav.site-nav ul {
  list-style: none;
  display: flex;
  gap: clamp(20px, 4vw, 60px);
  pointer-events: auto;
}

nav.site-nav ul li a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: clamp(10px, 1.1vw, 13px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: #1a3560;
  padding: 9px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

nav.site-nav ul li a:hover,
nav.site-nav ul li a.active {
  background: rgba(255, 255, 255, 0.80);
  color: #0f2040;
  border-color: rgba(255, 255, 255, 0.9);
}

nav.site-nav ul li a::after {
  display: none;
}

/* ── Nav logo (top-left, inline with pills) ── */
.nav-logo {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  pointer-events: auto;
  text-decoration: none;
}

.nav-logo img {
  height: 36px;
  width: auto;
  /* SVG has black paths — invert to white for the dark nav context */
  filter: invert(1);
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.nav-logo:hover img {
  opacity: 1;
}

/* On inner pages (scrolled dark nav), keep logo visible */
nav.site-nav.scrolled .nav-logo img {
  opacity: 0.65;
}

nav.site-nav.scrolled .nav-logo:hover img {
  opacity: 0.9;
}

@media (max-width: 600px) {
  nav.site-nav {
    flex-direction: column;
    padding: 16px 4px;
    gap: 12px;
  }

  .nav-logo {
    position: static;
    transform: none;
    margin-bottom: 4px;
  }

  .nav-logo img {
    height: 28px;
  }

  nav.site-nav ul {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 12px;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
  }

  nav.site-nav ul li a {
    font-size: 9px;
    letter-spacing: 0.12em;
    padding: 6px 12px;
    white-space: nowrap;
  }
}

/* ── HOME PAGE — HERO ───────────────────────────────────────── */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/media/website_background_full.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  /* Subtle vignette — darker at the bottom to lift the names */
  filter: none;
  z-index: 0;
}

/* Gradient overlay — heavier at bottom, invisible at top */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      transparent 0%,
      transparent 45%,
      rgba(10, 9, 8, 0.35) 70%,
      rgba(10, 9, 8, 0.72) 100%);
}

/* Names + details block */
.hero-caption {
  position: relative;
  z-index: 2;
  text-align: center;
  /* Adjust padding-bottom to keep it near the bottom edge */
  padding: 0 20px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hero-names {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(58px, 9vw, 116px);
  color: #ffffff;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}

.hero-ampersand {
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  padding: 0 0.3em;
}

.hero-divider {
  width: 60px;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
  margin: 4px auto;
}

.hero-details {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: clamp(10px, 1.2vw, 13px);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.hero-details span {
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.35);
}


/* ── INNER PAGES ─────────────────────────────────────────────── */

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Simple header bar for inner pages */
.page-header {
  height: 90px;
  /* room for fixed nav */
  /* Optional: subtle background if you want the header solid */
  background: #0d0c0b;
}

.page-hero {
  background: #0d0c0b;
  text-align: center;
  padding: 60px 20px 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(32px, 5vw, 56px);
  color: #f5f0ea;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.page-hero .page-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(245, 240, 234, 0.45);
}

/* Inner page nav — same component, but with dark backdrop on scroll */
nav.site-nav.scrolled {
  background: rgba(13, 12, 11, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

nav.site-nav.scrolled ul li a {
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  text-shadow: none;
}

nav.site-nav.scrolled ul li a:hover {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  text-shadow: none;
}

nav.site-nav.scrolled ul li a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
}

/* Content area */
.page-content {
  flex: 1;
  max-width: 840px;
  margin: 0 auto;
  padding: 60px 24px 100px;
  width: 100%;
}

.page-content.schedule-page {
  max-width: 1440px;
}

@media (max-width: 900px) {
  .page-content.schedule-page {
    max-width: 100%;
  }
}

/* Placeholder content styling */
.placeholder-block {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  padding: 48px 32px;
  text-align: center;
  color: rgba(245, 240, 234, 0.35);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Info Card (e.g. for Hotels/Schedule) */
.info-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 28px;
  color: #f5f0ea;
  letter-spacing: 0.02em;
}

.info-card p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(245, 240, 234, 0.85);
}

.info-card .btn {
  display: inline-block;
  align-self: flex-start;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: #0d0c0b;
  background: #f5f0ea;
  padding: 14px 28px;
  border-radius: 999px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.info-card .btn:hover {
  background: #ffffff;
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .info-card {
    padding: 32px 24px;
  }
}

/* ── PHOTO GRID ─────────────────────────────────────────────── */

.photo-grid {
  /* Masonry layout using CSS columns */
  column-count: 3;
  column-gap: 24px;
  width: 100%;
}

@media (max-width: 900px) {
  .photo-grid {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .photo-grid {
    column-count: 1;
  }
}

.photo-item {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  /* Prevent items from breaking across columns */
  break-inside: avoid;
  margin-bottom: 24px;
  /* subtle shadow to lift the photos from the dark background */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  /* smooth zoom effect on hover */
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.photo-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.photo-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.photo-item:hover img {
  transform: scale(1.05);
}

/* ── SCHEDULE INTERACTIVE FLOW ──────────────────────────────── */

.auth-section {
  max-width: 500px;
  margin: 0 auto;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
}

.auth-input {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 14px 18px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.auth-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.4);
}

.error-msg {
  color: #ff6b6b !important;
  font-size: 12px !important;
  margin-top: 8px;
}

.schedule-intro {
  text-align: center;
  margin-bottom: 48px;
}

.schedule-intro h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 36px;
  color: #f5f0ea;
  margin-bottom: 12px;
}

.schedule-timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

/* Vertical line connecting events */
.schedule-timeline::before {
  content: '';
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 32px;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 0;
}

.schedule-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 28px 28px 28px 60px;
  z-index: 1;
  transition: border-color 0.25s ease;
}

.schedule-card:has(.rsvp-toggle.selected) {
  border-color: rgba(255, 255, 255, 0.12);
}

/* Inner two-column layout: info left, RSVP right */
.schedule-card-body {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.schedule-card-info {
  flex: 1;
  min-width: 0;
}

/* Timeline dot */
.schedule-card::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 28px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f5f0ea;
  box-shadow: 0 0 0 4px rgba(13, 12, 11, 1);
}

.schedule-date {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(201, 169, 110, 0.85);
  margin-bottom: 14px;
}

.schedule-time {
  display: block;
  font-size: 10px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

.schedule-content h3 {
  margin: 0 0 10px 0;
  font-family: 'Karnak', serif;
  font-weight: normal;
  font-size: 32px;
  color: #fff;
  letter-spacing: 0.05em;
}

.schedule-description {
  margin-top: 10px;
  margin-bottom: 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.schedule-description p {
  margin: 0 0 8px 0;
}

.schedule-description p:last-child {
  margin-bottom: 0;
}

.schedule-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.schedule-location svg {
  opacity: 0.6;
}

.schedule-address-link {
  display: block;
  margin-top: 6px;
  margin-left: 24px;
  /* Align with text after the SVG */
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 12px;
  color: #f5f0ea;
  text-decoration: underline;
  text-decoration-color: rgba(245, 240, 234, 0.3);
  text-underline-offset: 4px;
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.schedule-address-link:hover {
  color: #fff;
  text-decoration-color: #fff;
}

.event-calendar-links {
  margin-top: 18px;
  margin-left: 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.event-calendar-links a {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  color: #f5f0ea;
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.event-calendar-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.no-events-msg {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  color: rgba(255, 255, 255, 0.6);
  padding: 40px;
}

.outline-btn {
  background: transparent !important;
  color: #f5f0ea !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.outline-btn:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: #f5f0ea !important;
}

@media (max-width: 600px) {
  .schedule-timeline::before {
    left: 20px;
  }

  .schedule-card {
    padding: 20px 16px 20px 40px;
  }

  .schedule-card::before {
    left: 16px;
    top: 28px;
  }

  /* Stack RSVP col below event info on mobile */
  .schedule-card-body {
    flex-direction: column;
    gap: 20px;
  }

  .card-rsvp-col {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 0 0 0;
    gap: 10px;
  }

  .card-rsvp-col .rsvp-toggle {
    width: auto;
    flex: 1;
    text-align: center;
    font-size: 9px;
    padding: 10px 12px;
  }
}

/* ── CONTACT STRIP ───────────────────────────────────────────── */

.contact-strip {
  text-align: center;
  padding: 40px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(245, 240, 234, 0.55);
}

.contact-strip a {
  color: rgba(245, 240, 234, 0.85);
  text-decoration: underline;
  text-decoration-color: rgba(245, 240, 234, 0.25);
  text-underline-offset: 3px;
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
  white-space: nowrap;
}

.contact-strip a:hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.6);
}

/* ── FOOTER ─────────────────────────────────────────────────── */

footer.site-footer {
  text-align: center;
  padding: 32px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 240, 234, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer.site-footer a {
  color: rgba(245, 240, 234, 0.58);
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer.site-footer a:hover,
footer.site-footer a:focus-visible {
  color: #fff;
}

.policy-content {
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: 72px;
  color: rgba(245, 240, 234, 0.8);
  font-size: 19px;
  line-height: 1.65;
}

.policy-content h2 {
  margin: 34px 0 10px;
  color: #f5f0ea;
  font-size: 30px;
  font-weight: 400;
}

.policy-content p { margin: 0 0 18px; }
.policy-content a { color: #e0c07e; text-underline-offset: 3px; }

@media (max-width: 600px) {
  .policy-content { font-size: 17px; padding-bottom: 48px; }
  .policy-content h2 { font-size: 26px; }
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */

@media (max-width: 600px) {
  .hero-caption {
    padding-bottom: 48px;
  }
}

/* ── RSVP REMINDER & PILL BUTTON ────────────────────────────── */

.rsvp-reminder-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 32px 24px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.rsvp-reminder-box h3 {
  font-family: 'Karnak', serif;
  font-size: 20px;
  font-weight: normal;
  color: #fff;
  margin: 0 0 12px 0;
  letter-spacing: 0.02em;
}

.rsvp-reminder-box p {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0 0 24px 0;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 999px;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  border: none;
}

/* Loading spinner inside the button */
@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

.btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(13, 12, 11, 0.3);
  border-top-color: #0d0c0b;
  border-radius: 50%;
  animation: btn-spin 0.7s linear infinite;
  flex-shrink: 0;
}

.btn-spinner-label {
  /* inherits pill-btn font */
}

.pill-btn.primary {
  background: #f5f0ea;
  color: #0d0c0b;
}

.pill-btn.primary:hover {
  background: #ffffff;
  transform: translateY(-2px);
}

.pill-btn.outline {
  background: transparent;
  color: #f5f0ea;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.pill-btn.outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/* ── RSVP SYSTEM ────────────────────────────────────────────── */

/* Party info text */
.party-info-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 240, 234, 0.5);
  margin-top: 4px;
}

/* ── PARTY ROSTER (Step 3) ───────────────────────────────── */

.party-roster-header {
  text-align: center;
  margin-bottom: 36px;
}

.party-roster-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 36px;
  color: #f5f0ea;
  margin-bottom: 6px;
}

.party-roster-hint {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 13px;
  color: rgba(245, 240, 234, 0.5);
  margin-top: 16px;
}

.party-roster {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
}

/* Each member card is a button for full keyboard/touch accessibility */
.party-roster-card {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 18px 20px;
  cursor: pointer;
  text-align: left;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.party-roster-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.party-roster-card:active {
  transform: translateY(0);
}

.roster-card-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.roster-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.15);
  border: 1px solid rgba(201, 169, 110, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: #c9a96e;
  flex-shrink: 0;
}

.roster-card-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.roster-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: #f5f0ea;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.roster-event-count {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(245, 240, 234, 0.4);
}

.roster-card-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ── Roster status badges ────────────────────────────────── */

.roster-badge {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid;
}

.roster-badge.pending {
  color: rgba(245, 240, 234, 0.45);
  border-color: rgba(255, 255, 255, 0.12);
  background: transparent;
}

.roster-badge.attending {
  color: #8fbc8f;
  border-color: rgba(143, 188, 143, 0.3);
  background: rgba(143, 188, 143, 0.08);
}

.roster-badge.attending-some {
  color: #c9a96e;
  border-color: rgba(201, 169, 110, 0.35);
  background: rgba(201, 169, 110, 0.1);
}

.roster-badge.not-attending {
  color: #c97a7a;
  border-color: rgba(201, 122, 122, 0.35);
  background: rgba(201, 122, 122, 0.08);
}

.roster-badge.declined {
  color: rgba(245, 240, 234, 0.4);
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.roster-badge.partial {
  color: rgba(245, 240, 234, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.roster-chevron {
  color: rgba(255, 255, 255, 0.25);
  transition: color 0.25s ease, transform 0.25s ease;
}

.party-roster-card:hover .roster-chevron {
  color: rgba(255, 255, 255, 0.6);
  transform: translateX(3px);
}

/* ── INDIVIDUAL SCHEDULE HEADER (Step 4) ─────────────────── */

.member-schedule-header {
  margin-bottom: 36px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 8px 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 240, 234, 0.55);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  margin-bottom: 20px;
}

.back-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 240, 234, 0.85);
  border-color: rgba(255, 255, 255, 0.25);
}

.back-btn svg {
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.back-btn:hover svg {
  transform: translateX(-2px);
}

.member-schedule-name-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.member-schedule-name-wrap h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 36px;
  color: #f5f0ea;
}

/* Badge on the individual schedule view header */
.member-rsvp-badge {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid;
  align-self: center;
}

.member-rsvp-badge.pending {
  color: rgba(245, 240, 234, 0.45);
  border-color: rgba(255, 255, 255, 0.12);
  background: transparent;
}

.member-rsvp-badge.attending {
  color: #8fbc8f;
  border-color: rgba(143, 188, 143, 0.3);
  background: rgba(143, 188, 143, 0.08);
}

.member-rsvp-badge.attending-some {
  color: #c9a96e;
  border-color: rgba(201, 169, 110, 0.35);
  background: rgba(201, 169, 110, 0.1);
}

.member-rsvp-badge.not-attending {
  color: #c97a7a;
  border-color: rgba(201, 122, 122, 0.35);
  background: rgba(201, 122, 122, 0.08);
}

.member-rsvp-badge.declined {
  color: rgba(245, 240, 234, 0.4);
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.member-rsvp-badge.partial {
  color: rgba(245, 240, 234, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

/* ── Mobile responsive ─────────────────────────────────────── */

@media (max-width: 600px) {
  .party-roster-header h2 {
    font-size: 28px;
  }

  .party-roster-card {
    padding: 14px 16px;
  }

  .roster-badge {
    display: none; /* shown via chevron on mobile, saves space */
  }

  .member-schedule-name-wrap h2 {
    font-size: 28px;
  }
}

/* ── RSVP Section within Event Card ────────────────────────── */

.rsvp-section {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.rsvp-member-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 0;
  transition: background 0.3s ease;
  border-radius: 6px;
}

.rsvp-member-row + .rsvp-member-row {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.rsvp-member-row.rsvp-incomplete {
  animation: shakeIncomplete 0.4s ease;
}

@keyframes shakeIncomplete {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}

.rsvp-member-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  min-width: 120px;
}

.rsvp-toggle-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.rsvp-toggle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Hover only on pointer devices — prevents stuck-highlight on mobile tap */
@media (hover: hover) {
  .rsvp-toggle:hover {
    border-color: rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.8);
  }
}

/* Accept — warm gold accent (more opaque so it reads clearly) */
.rsvp-toggle.accept.selected {
  background: rgba(201, 169, 110, 0.35);
  border-color: rgba(201, 169, 110, 0.85);
  color: #e0c07e;
}

/* Decline — muted rose/red so it's clearly distinct from unselected */
.rsvp-toggle.decline.selected {
  background: rgba(200, 70, 70, 0.18);
  border-color: rgba(220, 100, 100, 0.55);
  color: rgba(240, 160, 160, 0.9);
}


/* ── Supplemental Questions ────────────────────────────────── */

.rsvp-questions-container {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.rsvp-questions-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 28px;
  color: #f5f0ea;
  text-align: center;
  margin-bottom: 32px;
}

.rsvp-member-questions {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 20px;
}

.rsvp-member-questions-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.rsvp-field {
  margin-bottom: 20px;
}

.rsvp-field:last-child {
  margin-bottom: 0;
}

.rsvp-field > label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 240, 234, 0.5);
  margin-bottom: 8px;
}

.rsvp-required {
  color: rgba(201, 169, 110, 0.9);
  font-style: normal;
  margin-left: 2px;
}

.rsvp-optional {
  color: rgba(255, 255, 255, 0.4);
  font-style: normal;
  font-size: 0.85em;
  margin-left: 4px;
}

.rsvp-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 12px 16px;
  color: #f5f0ea;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 300;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.rsvp-input:focus {
  outline: none;
  border-color: rgba(201, 169, 110, 0.5);
  background: rgba(0, 0, 0, 0.35);
}

.rsvp-input.rsvp-input-error {
  border-color: rgba(220, 80, 80, 0.7);
  background: rgba(220, 80, 80, 0.06);
}

.rsvp-input.rsvp-input-error:focus {
  border-color: rgba(220, 80, 80, 0.9);
}

.rsvp-field-error {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: rgba(220, 100, 100, 0.9);
  margin-top: 6px;
  min-height: 0;             /* collapses when empty */
  transition: opacity 0.2s ease;
}

.sms-consent {
  margin: 28px 0 0;
  padding: 18px;
  border: 1px solid rgba(201, 169, 110, 0.34);
  border-radius: 6px;
}

.sms-consent legend {
  padding: 0 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 240, 234, 0.78);
}

.sms-consent-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(245, 240, 234, 0.82);
}

.sms-consent-label input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #c9a96e;
  flex: 0 0 auto;
}

.sms-consent-help {
  margin: 12px 0 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  line-height: 1.65;
  color: rgba(245, 240, 234, 0.62);
}

.sms-consent-help a { color: #e0c07e; }

.rsvp-input::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

/* Radio group (for Yes/No questions) */
.rsvp-radio-group {
  display: flex;
  gap: 16px;
}

.rsvp-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: rgba(245, 240, 234, 0.75);
}

.rsvp-radio input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: border-color 0.3s ease;
}

.rsvp-radio input[type="radio"]:checked {
  border-color: #c9a96e;
}

.rsvp-radio input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c9a96e;
}

.rsvp-radio input[type="radio"]:focus {
  outline: none;
  border-color: rgba(201, 169, 110, 0.5);
}


/* ── Submit Section ────────────────────────────────────────── */

.rsvp-submit-section {
  text-align: center;
  margin-top: 40px;
  padding-top: 32px;
}

.submit-rsvp-btn {
  font-size: 12px;
  letter-spacing: 0.22em;
  padding: 16px 48px;
  min-width: 200px;
}

.submit-rsvp-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}


/* ── Loading State ─────────────────────────────────────────── */

.rsvp-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 48px 24px;
}

.rsvp-loading p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 13px;
  color: rgba(245, 240, 234, 0.5);
  letter-spacing: 0.1em;
}

.rsvp-spinner {
  width: 32px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top-color: rgba(201, 169, 110, 0.6);
  border-radius: 50%;
  animation: rsvpSpin 0.8s linear infinite;
}

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


/* ── Success State ─────────────────────────────────────────── */

.rsvp-success {
  text-align: center;
  padding: 32px;
  margin-bottom: 32px;
  background: rgba(143, 188, 143, 0.08);
  border: 1px solid rgba(143, 188, 143, 0.2);
  border-radius: 8px;
  animation: fadeInUp 0.5s ease;
}

.rsvp-success-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(143, 188, 143, 0.15);
  color: #8fbc8f;
  font-size: 24px;
}

.rsvp-success h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 28px;
  color: #f5f0ea;
  margin-bottom: 8px;
}

.rsvp-success p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: rgba(245, 240, 234, 0.75);
  line-height: 1.6;
}

.rsvp-success-sub {
  font-size: 12px !important;
  color: rgba(245, 240, 234, 0.45) !important;
  margin-top: 8px;
}

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


/* ── Error Banner ──────────────────────────────────────────── */

.rsvp-error-banner {
  text-align: center;
  padding: 24px;
  margin-bottom: 24px;
  background: rgba(255, 107, 107, 0.06);
  border: 1px solid rgba(255, 107, 107, 0.15);
  border-radius: 8px;
}

.rsvp-error-banner p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 13px;
  color: rgba(245, 240, 234, 0.7);
  line-height: 1.6;
  margin-bottom: 8px;
}

.rsvp-error-banner p:last-child {
  margin-bottom: 0;
}

.rsvp-error-banner a {
  color: #f5f0ea;
  text-decoration: underline;
  text-decoration-color: rgba(245, 240, 234, 0.3);
}


/* ── Toast Notification ────────────────────────────────────── */

.rsvp-toast {
  position: fixed;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(30, 28, 26, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: rgba(245, 240, 234, 0.85);
  z-index: 10000;
  transition: bottom 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  max-width: 90vw;
  text-align: center;
}

.rsvp-toast.show {
  bottom: 32px;
}


/* ── RSVP Mobile Responsive ────────────────────────────────── */

@media (max-width: 600px) {
  .rsvp-member-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .rsvp-toggle-group {
    width: 100%;
  }

  .rsvp-toggle {
    flex: 1;
    text-align: center;
    font-size: 9px;
    padding: 7px 12px;
  }

  .rsvp-member-questions {
    padding: 24px 18px;
  }

  .rsvp-questions-title {
    font-size: 24px;
  }

  .submit-rsvp-btn {
    width: 100%;
    max-width: 320px;
  }

  .rsvp-toast {
    left: 16px;
    right: 16px;
    transform: none;
    max-width: none;
  }
}


/* ═══════════════════════════════════════════════════════════════
   INDIVIDUAL SCHEDULE — TWO-COLUMN LAYOUT
   ═══════════════════════════════════════════════════════════════ */

/* Outer grid: sidebar (questions) left, schedule right */
.member-schedule-grid {
  display: block;
  margin-top: 32px;
}

.schedule-personal-info {
  width: 100%;
  max-width: 860px;
  margin-top: 32px;
  margin-right: auto;
  margin-left: auto;
}

.schedule-personal-info .rsvp-questions-container {
  width: 100%;
  margin-top: 0;
  padding: 0;
  border-top: none;
}

.schedule-personal-info .rsvp-member-questions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
}

.schedule-personal-info .rsvp-field {
  margin: 0;
}

.schedule-personal-info .rsvp-field > label {
  min-height: 30px;
  line-height: 1.35;
}

.schedule-personal-info .rsvp-radio-group {
  gap: 5px;
}

.schedule-personal-info .rsvp-radio {
  padding: 8px 9px;
  font-size: 10px;
}

.schedule-personal-info .sms-consent {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  padding: 14px;
}

/* LEFT column — Additional Information */
.member-schedule-sidebar {
  position: sticky;
  top: 96px;  /* clears the fixed nav */
}

/* RIGHT column — Event cards */
.member-schedule-main {
  width: 100%;
  min-width: 0;
}

.schedule-carousel {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 10px;
}

.schedule-carousel-btn {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  color: #f5f0ea;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.schedule-carousel-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.schedule-carousel-btn:hover:not(:disabled) {
  color: #e4c787;
  background: rgba(201, 169, 110, 0.13);
  border-color: rgba(201, 169, 110, 0.55);
  transform: scale(1.05);
}

.schedule-carousel-btn:disabled {
  opacity: 0.28;
  cursor: default;
}

/* Confirmed-event rail: easy to scan without a long vertical page. */
.member-schedule-main .schedule-timeline {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 8px 22px;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.member-schedule-main .schedule-timeline::-webkit-scrollbar {
  display: none;
}

.member-schedule-main .schedule-timeline::before,
.member-schedule-main .schedule-card::before {
  display: none;
}

.member-schedule-main .schedule-card {
  flex: 0 0 300px;
  min-height: 100%;
  padding: 22px;
  scroll-snap-align: start;
  border-radius: 12px;
  cursor: pointer;
  transition: flex-basis 0.3s ease, transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.member-schedule-main .schedule-card.is-expanded {
  flex-basis: min(560px, 72vw);
  border-color: rgba(201, 169, 110, 0.42);
  background: rgba(255, 255, 255, 0.055);
}

.member-schedule-main .schedule-card.is-muted {
  flex-basis: 260px;
  opacity: 0.38;
  transform: scale(0.94);
}

.member-schedule-main .schedule-card:focus-visible {
  outline: 2px solid #c9a96e;
  outline-offset: 3px;
}

@media (hover: hover) {
  .member-schedule-main .schedule-card:hover {
    transform: translateY(-3px) scale(1.025);
    border-color: rgba(201, 169, 110, 0.48);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 16px 28px -24px rgba(0, 0, 0, 0.9);
  }
}

.member-schedule-main .schedule-card-heading {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
}

.member-schedule-main .schedule-card-body {
  display: block;
}

.member-schedule-main .schedule-date {
  display: block;
  margin: 4px 0 2px;
  font-size: 10px;
  letter-spacing: 0.15em;
}

.member-schedule-main .schedule-time {
  display: block;
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #e4c787;
}

.member-schedule-main .schedule-card h3 {
  margin-bottom: 6px;
  font-size: 34px;
  line-height: 1.05;
}

.member-schedule-main .schedule-description {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.55;
}

.member-schedule-main .schedule-description p {
  margin-bottom: 7px;
}

.member-schedule-main .schedule-location {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 12px;
  padding: 0;
  color: #f5f0ea;
  text-decoration: none;
  background: transparent;
  border: 0;
}

.member-schedule-main .schedule-location:hover {
  color: #e4c787;
}

.member-schedule-main .schedule-location svg {
  flex: none;
  margin-top: 2px;
  width: 17px;
  height: 17px;
  color: #c9a96e;
}

.member-schedule-main .schedule-location strong,
.member-schedule-main .schedule-location small {
  display: block;
}

.member-schedule-main .schedule-location strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.member-schedule-main .schedule-location small {
  margin-top: 3px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  line-height: 1.4;
  color: rgba(245, 240, 234, 0.72);
}

.schedule-key-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 10px;
  font-family: 'Montserrat', sans-serif;
}

.schedule-key-icon {
  display: grid;
  flex: none;
  width: 17px;
  height: 17px;
  place-items: center;
  color: #c9a96e;
}

.schedule-key-icon svg {
  width: 17px;
  height: 17px;
}

.schedule-key-item b,
.schedule-key-item strong {
  display: block;
}

.schedule-key-item b {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c9a96e;
}

.schedule-key-item strong {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  color: #f5f0ea;
}

.schedule-attire {
  margin-top: 10px;
}

.schedule-card-details {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.schedule-card-details[hidden] {
  display: none;
}

.member-schedule-main .event-calendar-links {
  margin: 16px 0 0;
  gap: 7px;
  font-size: 8px;
}

.member-schedule-main .event-calendar-links a {
  padding: 5px 8px;
}

.schedule-chat {
  max-width: 720px;
  margin: 64px auto 0;
}

/* Adjust questions container when inside the sidebar (no top border separation needed) */
.member-schedule-sidebar .rsvp-questions-container {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

/* Mobile: single column, sidebar comes first (HTML order) */
@media (max-width: 900px) {
  .member-schedule-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .member-schedule-sidebar {
    position: static;
  }

  .schedule-personal-info .rsvp-member-questions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .member-schedule-main .schedule-card {
    flex-basis: 78vw;
  }

  .member-schedule-main .schedule-card.is-expanded {
    flex-basis: 90vw;
  }

  .member-schedule-main .schedule-card.is-muted {
    flex-basis: 62vw;
  }
}

@media (max-width: 600px) {
  .schedule-carousel {
    display: block;
  }

  .schedule-carousel-btn {
    display: none;
  }

  .member-schedule-main .schedule-timeline {
    flex-direction: column;
    overflow: visible;
    padding: 0;
  }

  .member-schedule-main .schedule-card,
  .member-schedule-main .schedule-card.is-expanded,
  .member-schedule-main .schedule-card.is-muted {
    flex-basis: auto;
    width: 100%;
  }

  .member-schedule-main .schedule-card.is-muted {
    opacity: 0.55;
    transform: none;
  }

  .schedule-personal-info .rsvp-member-questions {
    grid-template-columns: 1fr;
  }

  .member-schedule-main .schedule-card {
    padding: 20px;
  }

  .member-schedule-main .schedule-card h3 {
    font-size: 30px;
  }

  .schedule-chat {
    margin-top: 48px;
  }
}


/* ═══════════════════════════════════════════════════════════════
   EVENT CARD — RIGHT-SIDE RSVP COLUMN
   ═══════════════════════════════════════════════════════════════ */

/* Vertical RSVP column on the right of each card */
.card-rsvp-col {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  flex-shrink: 0;
  width: 160px;
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  justify-content: center;
  min-height: 80px;
}

/* Override base rsvp-toggle to be more prominent in vertical layout */
.card-rsvp-col .rsvp-toggle {
  font-size: 10px;
  padding: 12px 16px;
  border-radius: 8px;         /* softer rect instead of pill */
  text-align: center;
  letter-spacing: 0.1em;
  width: 100%;
  white-space: normal;
  line-height: 1.4;
}

/* Gold highlight for Accept in this layout */
.card-rsvp-col .rsvp-toggle.accept {
  border-color: rgba(201, 169, 110, 0.25);
  color: rgba(245, 240, 234, 0.7);
}

/* Hover only on pointer devices — prevents stuck-highlight on mobile after deselect */
@media (hover: hover) {
  .card-rsvp-col .rsvp-toggle.accept:hover {
    background: rgba(201, 169, 110, 0.18);
    border-color: rgba(201, 169, 110, 0.55);
    color: #c9a96e;
  }
}

.card-rsvp-col .rsvp-toggle.accept.selected {
  background: rgba(201, 169, 110, 0.35);
  border-color: rgba(201, 169, 110, 0.85);
  color: #e0c07e;
  box-shadow: 0 0 0 1px rgba(201, 169, 110, 0.25);
}

/* Decline */
.card-rsvp-col .rsvp-toggle.decline {
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(245, 240, 234, 0.35);
}

@media (hover: hover) {
  .card-rsvp-col .rsvp-toggle.decline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(245, 240, 234, 0.6);
  }
}

.card-rsvp-col .rsvp-toggle.decline.selected {
  background: rgba(200, 70, 70, 0.2);
  border-color: rgba(220, 100, 100, 0.6);
  color: rgba(240, 160, 160, 0.9);
  box-shadow: 0 0 0 1px rgba(200, 70, 70, 0.15);
}


/* ── Read-only RSVP status labels (RSVPs closed) ─────────────── */

.rsvp-status-label {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.rsvp-status-accepted {
  background: rgba(80, 180, 100, 0.15);
  color: rgba(120, 220, 140, 0.95);
  border: 1px solid rgba(80, 180, 100, 0.3);
}

.rsvp-status-declined {
  background: rgba(200, 70, 70, 0.15);
  color: rgba(240, 160, 160, 0.9);
  border: 1px solid rgba(200, 70, 70, 0.3);
}

.rsvp-status-pending {
  background: rgba(180, 160, 120, 0.12);
  color: rgba(200, 180, 140, 0.8);
  border: 1px solid rgba(180, 160, 120, 0.25);
}

/* ── RSVP Closed Notice Banner ───────────────────────────────── */

.rsvp-closed-notice {
  background: rgba(180, 140, 80, 0.1);
  border: 1px solid rgba(180, 140, 80, 0.25);
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 24px;
  text-align: center;
}

.rsvp-closed-notice p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(220, 200, 160, 0.9);
  line-height: 1.5;
}

.rsvp-closed-notice a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.rsvp-closed-notice a:hover {
  color: var(--gold-light, #e8d5a0);
}


/* ═══════════════════════════════════════════════════════════════
   STICKY SAVE BAR
   ═══════════════════════════════════════════════════════════════ */

/* ── Full-page saving overlay ─────────────────────────────────── */
/* Blocks all interaction while RSVP is submitting. Sits just     */
/* below the save bar (z-index 499 vs 500) so the saving label   */
/* is still visible but nothing else is clickable.               */
.rsvp-saving-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 499;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  cursor: wait;
  transition: opacity 0.2s ease;
}

.rsvp-saving-overlay.active {
  display: block;
}

.rsvp-save-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: rgba(120, 85, 20, 0.55);   /* transparent gold tint — invites action */
  border-top: 1px solid rgba(201, 169, 110, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 24px;
  display: flex;             /* display:flex is set via JS, toggled by .visible */
  align-items: center;
  justify-content: center;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.4s ease, border-color 0.4s ease;
  overflow: hidden;
}

.rsvp-save-bar.visible {
  transform: translateY(0);
}

/* ── Loading State — whole bar becomes a gold shimmer indicator ── */

@keyframes saveBarShimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes saveBarPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.7; }
}

.rsvp-save-bar.loading {
  background: linear-gradient(
    90deg,
    rgba(140, 100, 40, 0.85) 0%,
    rgba(201, 169, 110, 0.95) 30%,
    rgba(230, 200, 140, 1) 50%,
    rgba(201, 169, 110, 0.95) 70%,
    rgba(140, 100, 40, 0.85) 100%
  );
  background-size: 200% auto;
  animation: saveBarShimmer 1.8s linear infinite;
  border-top-color: rgba(201, 169, 110, 0.5);
  pointer-events: none;   /* prevent double-clicks */
}

.rsvp-save-bar.loading .rsvp-save-bar-inner {
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

/* Loading label that appears centered in the bar */
.rsvp-save-bar-loading-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(13, 12, 11, 0.85);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease 0.1s;
}

.rsvp-save-bar-loading-label .save-bar-mini-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(13, 12, 11, 0.25);
  border-top-color: rgba(13, 12, 11, 0.75);
  border-radius: 50%;
  animation: rsvpSpin 0.7s linear infinite;
  flex-shrink: 0;
}

.rsvp-save-bar.loading .rsvp-save-bar-loading-label {
  opacity: 1;
}

.rsvp-save-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 720px;
  transition: opacity 0.2s ease;
}

.rsvp-save-bar-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 13px;
  color: rgba(245, 240, 234, 0.6);
  flex: 1;
}

.rsvp-save-bar-hint svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.rsvp-save-bar-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* Keep save bar above page footer */
@media (max-width: 600px) {
  .rsvp-save-bar-inner {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .rsvp-save-bar-hint {
    justify-content: center;
  }

  .rsvp-save-bar-actions {
    justify-content: center;
  }

  .rsvp-save-bar {
    padding: 16px 20px;
  }
}


/* ═══════════════════════════════════════════════════════════════
   TRAVEL PAGE — Interactive Map
   ═══════════════════════════════════════════════════════════════ */

/* ── Section wrapper ──────────────────────────────────────────── */
.travel-map-section {
  margin-top: 48px;
}

.travel-map-header {
  margin-bottom: 24px;
}

.travel-map-title {
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 600;
  color: var(--clr-cream, #f5f0ea);
  letter-spacing: 0.02em;
  margin: 0 0 6px;
}

.travel-map-subtitle {
  font-size: 15px;
  color: rgba(245, 240, 234, 0.5);
  margin: 0;
  line-height: 1.5;
}

/* ── Filter tabs ──────────────────────────────────────────────── */
.map-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.map-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(245, 240, 234, 0.55);
  font-size: 13px;
  font-family: inherit;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.map-filter-btn:hover {
  border-color: rgba(201, 169, 110, 0.35);
  color: rgba(245, 240, 234, 0.8);
  background: rgba(201, 169, 110, 0.07);
}

.map-filter-btn.active {
  border-color: rgba(201, 169, 110, 0.5);
  background: rgba(201, 169, 110, 0.12);
  color: #c9a96e;
}

.filter-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.filter-dot--venue      { background: #c9a96e; }
.filter-dot--airport    { background: #7ab8c9; }
.filter-dot--restaurant { background: #c97a7a; }
.filter-dot--hotel      { background: #8fbc8f; }

/* ── Map container ────────────────────────────────────────────── */
.travel-map-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}

#travel-map {
  height: 520px;
  width: 100%;
  background: #0e0e0e;
}

/* Strip Leaflet's branded default div-icon background */
.leaflet-div-icon {
  background: none !important;
  border: none !important;
}

/* ── Custom map markers ───────────────────────────────────────── */
.travel-marker-wrap {
  /* Leaflet outer wrapper — keep clean */
}

.t-marker {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), 0 0 0 4px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.2s ease;
}

.t-marker:hover {
  transform: scale(1.2);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6), 0 0 0 6px rgba(0, 0, 0, 0.15);
}

.t-marker--venue {
  background: rgba(201, 169, 110, 0.22);
  border-color: rgba(201, 169, 110, 0.75);
  color: #c9a96e;
}

.t-marker--airport {
  background: rgba(122, 184, 201, 0.22);
  border-color: rgba(122, 184, 201, 0.75);
  color: #7ab8c9;
}

.t-marker--restaurant {
  background: rgba(201, 122, 122, 0.22);
  border-color: rgba(201, 122, 122, 0.75);
  color: #c97a7a;
}

.t-marker--hotel {
  background: rgba(143, 188, 143, 0.22);
  border-color: rgba(143, 188, 143, 0.75);
  color: #8fbc8f;
}

/* ── Popup overrides ──────────────────────────────────────────── */
.travel-popup .leaflet-popup-content-wrapper {
  background: rgba(12, 10, 8, 0.96) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 169, 110, 0.2) !important;
  border-radius: 14px !important;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.7) !important;
  padding: 0 !important;
  color: #f5f0ea;
}

.travel-popup .leaflet-popup-tip-container {
  margin-top: -1px;
}

.travel-popup .leaflet-popup-tip {
  background: rgba(12, 10, 8, 0.96) !important;
  box-shadow: none !important;
}

.travel-popup .leaflet-popup-content {
  margin: 0 !important;
  width: auto !important;
  font-family: inherit;
}

.travel-popup .leaflet-popup-close-button {
  color: rgba(245, 240, 234, 0.4) !important;
  font-size: 18px !important;
  top: 10px !important;
  right: 12px !important;
  padding: 0 !important;
  transition: color 0.15s ease;
}

.travel-popup .leaflet-popup-close-button:hover {
  color: rgba(245, 240, 234, 0.85) !important;
}

/* Override Leaflet attribution to blend with dark map */
.leaflet-control-attribution {
  background: rgba(0, 0, 0, 0.55) !important;
  color: rgba(255, 255, 255, 0.4) !important;
  font-size: 10px !important;
}

.leaflet-control-attribution a {
  color: rgba(201, 169, 110, 0.7) !important;
}

/* Zoom control styling */
.leaflet-control-zoom a {
  background: rgba(15, 12, 10, 0.9) !important;
  color: rgba(245, 240, 234, 0.7) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  transition: background 0.15s ease, color 0.15s ease;
}

.leaflet-control-zoom a:hover {
  background: rgba(30, 25, 20, 0.95) !important;
  color: #c9a96e !important;
}

/* ── Popup inner content ──────────────────────────────────────── */
.popup-inner {
  padding: 18px 20px 16px;
  min-width: 220px;
}

.popup-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
  opacity: 0.85;
}

.popup-cat--venue      { color: #c9a96e; }
.popup-cat--airport    { color: #7ab8c9; }
.popup-cat--restaurant { color: #c97a7a; }
.popup-cat--hotel      { color: #8fbc8f; }

.popup-name {
  font-size: 16px;
  font-weight: 600;
  color: #f5f0ea;
  line-height: 1.3;
  margin-bottom: 3px;
}

.popup-subtitle {
  font-size: 13px;
  color: rgba(245, 240, 234, 0.55);
  margin-bottom: 10px;
  font-style: italic;
}

.popup-address {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  font-size: 12px;
  color: rgba(245, 240, 234, 0.45);
  line-height: 1.45;
  margin-bottom: 8px;
}

.popup-note {
  font-size: 12.5px;
  color: rgba(245, 240, 234, 0.6);
  line-height: 1.5;
  margin-bottom: 14px;
  padding-top: 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 10px;
}

.popup-directions {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: #c9a96e;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: gap 0.15s ease, opacity 0.15s ease;
}

.popup-directions:hover {
  gap: 8px;
  opacity: 0.85;
}

/* ── Legend ───────────────────────────────────────────────────── */
.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(245, 240, 234, 0.55);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid;
  flex-shrink: 0;
}

.legend-dot--venue      { background: rgba(201, 169, 110, 0.22); border-color: rgba(201, 169, 110, 0.75); }
.legend-dot--airport    { background: rgba(122, 184, 201, 0.22); border-color: rgba(122, 184, 201, 0.75); }
.legend-dot--restaurant { background: rgba(201, 122, 122, 0.22); border-color: rgba(201, 122, 122, 0.75); }
.legend-dot--hotel      { background: rgba(143, 188, 143, 0.22); border-color: rgba(143, 188, 143, 0.75); }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 600px) {
  #travel-map {
    height: 380px;
  }

  .map-filter-tabs {
    gap: 6px;
  }

  .map-filter-btn {
    font-size: 12px;
    padding: 6px 12px;
  }

  .popup-inner {
    padding: 14px 16px 12px;
    min-width: 180px;
  }

  .popup-name {
    font-size: 14px;
  }
}


/* ── LIVE NAV PILL (added by main.js on Nov 20–21 only) ─────── */
nav.site-nav ul li a.nav-live,
nav.site-nav.scrolled ul li a.nav-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  background: linear-gradient(135deg, #ff7a6b, #e5484d);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 18px rgba(229, 72, 77, 0.4);
}

nav.site-nav ul li a.nav-live:hover { filter: brightness(1.08); }

.nav-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: navLivePulse 1.4s ease-in-out infinite;
}

@keyframes navLivePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

@media (max-width: 600px) {
  nav.site-nav ul li a.nav-live { gap: 5px; padding: 6px 10px; }
}
