/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; margin: 0; padding: 0; }
body {
  font-family: 'Poppins', sans-serif; line-height: 1.8;
  color: #1a1a1a; background: #fffaf5; margin: 0; padding: 0;
  -webkit-font-smoothing: antialiased;
}
body.home {
  background: linear-gradient(to bottom, #ffffff 0%, #f0f5f1 40%, #dde9e1 100%);
}
body.home .hero-card,
body.home .hero-tagline,
body.home .page-buttons,
body.home .countdown-section,
body.home .countdown-separator,
body.home .story { background: transparent; }
main { margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }

/* === CSS Variables === */
:root {
  --bg: #fffaf5;
  --fg: #1a1a1a;
  --primary: #5a8a80;
  --secondary: #924e58;
  --accent: #c9a96e;
  --muted: #f2ece4;
  --muted-fg: #6b6259;
  --border: #e8e0d6;
  --font-display: 'Cinzel Decorative', serif;
  --font-sc: 'Alegreya SC', serif;
  --font-body: 'Poppins', sans-serif;
  --font-script: 'Caveat', cursive;
}

.min-h-screen { min-height: 100vh; }

/* === Animations === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

[data-animate] { opacity: 0; }
[data-animate].visible {
  animation-duration: 1s;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
[data-animate="fade-up"].visible { animation-name: fadeUp; }
[data-animate="fade-right"].visible { animation-name: fadeRight; }
[data-animate="fade-left"].visible { animation-name: fadeLeft; }
[data-animate="scale-in"].visible { animation-name: scaleIn; }

/* === Nav Bar === */
.nav-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 1rem;
}
.nav-logo {
  font-family: var(--font-sc); color: rgba(255,255,255,0.9);
  font-size: 1rem; font-weight: 400;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
  text-decoration: none; transition: color 0.3s;
  display: inline-flex; align-items: center; gap: 0.15em;
}
.nav-logo img {
  height: 32px; width: auto; display: block;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.25));
}
.nav-bar-solid .nav-logo img,
.nav-bar-light .nav-logo img { filter: none; }
.logo-amp {
  font-family: var(--font-script); font-style: normal; font-weight: 400;
  color: var(--secondary); font-size: 1.3em;
}
.nav-link {
  color: rgba(255,255,255,0.85); font-family: var(--font-sc);
  font-size: 0.75rem; letter-spacing: 0.08em;
  font-weight: 400; text-decoration: none; transition: color 0.2s;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.nav-links { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: flex-end; }
@media (min-width: 768px) { .nav-links { gap: 2rem; } }
.nav-link:hover { color: #fff; }

/* Mobile nav toggle (hamburger) — hidden on desktop */
.nav-toggle {
  display: none;
  background: none; border: none; padding: 0.4rem;
  cursor: pointer;
  width: 32px; height: 32px;
  flex-direction: column; justify-content: center; gap: 5px;
  color: rgba(255,255,255,0.9);
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.25));
}
.nav-bar-solid .nav-toggle,
.nav-bar-light .nav-toggle { color: var(--fg); filter: none; }
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: currentColor; border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-bar { position: fixed; }
  /* Mobile (non-home pages): title left, K&M logo absolute-centered, menu right */
  .nav-bar .nav-center-title {
    position: static;
    left: auto;
    transform: none;
    flex: 1;
    text-align: left;
    order: -1;
  }
  .nav-bar:has(.nav-center-title) .nav-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
  }
  .nav-bar .nav-center-title { font-size: 0.78rem; letter-spacing: 0.08em; }
  /* Hide the decorative line on the welcome-drinks cards on mobile */
  .drinks-pair .drink-card .drink-line { display: none; }
  /* Coral drink names on mobile for warmth */
  .drinks-pair .drink-card h4 { color: var(--secondary); }
  /* Hide lucide tab icons on mobile — labels only */
  .travel-tab svg { display: none; }
  .nav-bar .nav-links {
    position: absolute; top: 100%; right: 0.5rem; left: auto;
    background: var(--bg);
    border: 1px solid var(--border);
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
    flex-direction: column; align-items: stretch;
    padding: 0.75rem 0;
    gap: 0;
    display: none;
    min-width: 12rem;
    z-index: 60;
  }
  .nav-bar.nav-open .nav-links { display: flex; }
  .nav-bar .nav-links .nav-link {
    padding: 0.65rem 1.25rem;
    color: var(--fg);
    text-shadow: none;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    border-bottom: 1px solid hsla(30,15%,90%,0.6);
  }
  .nav-bar .nav-links .nav-link:last-child { border-bottom: none; }
  .nav-bar .nav-links .nav-link:hover { background: hsla(163,25%,45%,0.06); color: var(--fg); }
  .nav-center-title { font-size: 0.95rem; }
}

/* Light background nav */
.nav-bar-light .nav-logo { color: var(--fg); text-shadow: none; }
.nav-bar-light .nav-link { color: var(--muted-fg); text-shadow: none; }
.nav-bar-light .nav-link:hover { color: var(--fg); }
.nav-bar-solid .logo-amp, .nav-bar-light .logo-amp { color: var(--secondary); }

.nav-center-title {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 0.05em;
}

/* Solid nav bar */
.nav-bar-solid {
  position: sticky; background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nav-bar-solid .nav-logo { color: var(--fg); text-shadow: none; }
.nav-bar-solid .nav-link { color: var(--muted-fg); text-shadow: none; }
.nav-bar-solid .nav-link:hover { color: var(--fg); }
.nav-bar-solid .nav-center-title { color: #1a3a4a; }

/* === Hero === */
/* Hero Card (invitation filling the full page width) */
.hero-card {
  display: block; padding: 0;
  position: relative; overflow: hidden;
  /* Push hero below the fixed nav so the logo and links stay visible at top */
  padding-top: 4.5rem;
}
@media (min-width: 768px) {
  .hero-card { padding-top: 5.5rem; }
}
/* Homepage: nav sits on top of the hero image (overlay) rather than pushing it down */
body.home .nav-bar-solid { position: fixed; }
@media (min-width: 768px) {
  body.home .hero-card { padding-top: 0; }
}
.hero-card-frame {
  display: block; max-width: 100%; width: 100%; margin: 0;
}
.hero-card-frame img {
  width: 100%; height: auto; max-width: none;
  display: block;
  border-bottom: 1px solid #000;
}
.hero-card-frame img.hero-img-mobile { display: none; }
@media (max-width: 768px) {
  .hero-card-frame img.hero-img-desktop { display: none; }
  .hero-card-frame img.hero-img-mobile { display: block; }
}

/* Tagline below the invitation */
.hero-tagline {
  text-align: center; padding: 2.5rem 1.5rem 1rem;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center;
  gap: 0.4rem;
}
.hero-tagline-script {
  font-family: var(--font-display); font-size: 0.95rem; color: var(--secondary);
  font-weight: 700; line-height: 1.3; letter-spacing: 0.04em;
}
.hero-tagline-text {
  font-family: 'Cabin Sketch', serif; font-weight: 700;
  font-size: 1.85rem; letter-spacing: 0.05em;
  color: var(--fg); line-height: 1.3;
}
.hero-tagline-flourish { color: var(--accent); margin-top: 0.5rem; }

/* Mobile-only RSVP CTA inside the hero tagline block */
.home-mobile-rsvp-btn { display: none; }
@media (max-width: 768px) {
  .home-mobile-rsvp-btn {
    display: inline-block;
    margin: 1rem auto 0.5rem;
    padding: 0.9rem 3rem;
    background: var(--primary); color: #fff;
    text-decoration: none;
    font-family: var(--font-sc);
    letter-spacing: 0.15em;
    font-size: 1.05rem;
    text-align: center;
    align-self: center;
    border: 1px solid var(--primary);
    transition: background 0.2s, color 0.2s;
  }
  .home-mobile-rsvp-btn:hover { background: transparent; color: var(--primary); }
}

@media (min-width: 768px) {
  .hero-tagline { padding: 3rem 2rem 1rem; gap: 0.5rem; }
  .hero-tagline-script { font-size: 1.6rem; }
  .hero-tagline-text { font-size: 2.2rem; }
}

/* Hero Buttons */
.hero-buttons {
  display: flex; align-items: center; justify-content: center;
  gap: 1.25rem; margin-bottom: 3.5rem; flex-wrap: wrap;
}
.hero-btn {
  padding: 0.7rem 2rem; border: 1px solid rgba(255,255,255,0.25);
  border-radius: 0; background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: #fff; font-family: var(--font-sc); font-size: 0.7rem;
  letter-spacing: 0.12em; font-weight: 400;
  text-decoration: none; transition: all 0.4s ease;
  min-width: 10rem; text-align: center;
}
.hero-btn:hover {
  background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.5);
}

/* Countdown */
.countdown {
  display: flex; align-items: center; justify-content: center;
  gap: 2.5rem;
}
.countdown-item { display: flex; flex-direction: column; align-items: center; }
.countdown-amp {
  font-family: var(--font-script); color: var(--secondary);
  font-size: 4rem; font-weight: 500; line-height: 1;
  align-self: center; padding-bottom: 1.2rem;
}
@media (min-width: 768px) {
  .countdown-amp { font-size: 5rem; }
}
@media (min-width: 1024px) {
  .countdown-amp { font-size: 5.5rem; }
}
.countdown-value {
  font-family: var(--font-display); font-size: 2.4rem; color: var(--accent);
  margin-bottom: 0.5rem; letter-spacing: 0.02em; font-weight: 400;
}
.countdown-label {
  font-family: var(--font-script); font-weight: 500;
  font-size: 1.2rem; letter-spacing: 0.02em;
  color: var(--accent); opacity: 0.85;
  text-transform: lowercase;
}
@media (max-width: 480px) {
  .countdown { gap: 0.6rem; }
  .countdown-value { font-size: 1.5rem; }
  .countdown-label { font-size: 0.6rem; letter-spacing: 0.12em; }
  .countdown-amp { font-size: 2.2rem; padding-bottom: 0.6rem; }
  .countdown-section { padding: 1.5rem 0.5rem 0.5rem; }
}

/* === Countdown Section (below illustrations, sits above footer) === */
.countdown-section {
  display: flex; justify-content: center;
  padding: 2rem 2rem 3.5rem; background: transparent;
}

/* === Page Buttons (below hero) === */
.page-buttons {
  display: flex; align-items: stretch; justify-content: center;
  gap: 1.25rem; padding: 2.5rem 2rem 3rem; background: var(--bg);
  max-width: 72rem; margin: 0 auto;
  flex-wrap: wrap;
}
.page-btn {
  flex: 1 1 0; min-width: 8rem; max-width: 13rem;
  padding: 1.25rem 1.5rem; border: 1px solid #b8cdc1;
  background: #dde8e1; color: var(--fg);
  font-family: var(--font-sc); font-size: 1.25rem;
  letter-spacing: 0.1em; font-weight: 500;
  text-decoration: none; transition: all 0.3s ease;
  text-align: center;
  display: flex; align-items: center; justify-content: center;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .page-btn { font-size: 1.4rem; padding: 1.5rem 2rem; }
  .page-buttons { gap: 1.5rem; }
}
.page-btn:hover {
  background: #cdddd3; border-color: #9ebbac;
}

/* === Home illustration (desktop) — full-bleed scene above the dark footer === */
.home-illus-desktop {
  display: block;
  width: 100vw;
  margin: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
  background: transparent;
  overflow: hidden;
  line-height: 0;
}
.home-illus-desktop img {
  width: 100%; max-width: none; height: auto;
  display: block;
  mix-blend-mode: multiply;
}

/* === Sections === */
.section { padding: 8rem 2rem; position: relative; overflow: hidden; }

.section-label {
  font-family: var(--font-script); font-size: 1.5rem;
  color: var(--secondary); font-weight: 400; margin-bottom: 0.5rem;
}
.section-label.accent { color: var(--accent); }

.section-heading {
  font-family: var(--font-display); font-size: 2rem; color: var(--fg);
  margin-bottom: 2rem; font-weight: 400; line-height: 1.3;
  letter-spacing: 0.02em;
}
.section-heading.white { color: #fff; }

.section-desc {
  font-size: 0.95rem; color: var(--muted-fg); font-weight: 300;
  max-width: 40rem; margin: 0 auto; line-height: 1.9;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }

/* Section Divider */
.section-divider {
  text-align: center; padding: 3rem 0; color: var(--muted-fg);
}

/* Countdown separator (between countdown & story) */
.countdown-separator {
  text-align: center; padding: 0.25rem 0 0; background: var(--bg);
}

/* === Hearts Separator === */
.hearts-separator {
  width: 100vw; padding: 1.5rem 0; position: relative;
  margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  overflow: hidden;
}
.hearts-svg {
  display: block; width: 100%; height: 70px;
}
@media (min-width: 768px) {
  .hearts-svg { height: 90px; }
  .hearts-separator { padding: 2rem 0; }
}

/* === Story === */
.story { background: var(--bg); }
.story.story-tight { padding-top: 1rem; padding-bottom: 3rem; }
@media (min-width: 768px) {
  .story.story-tight { padding-top: 1.5rem; }
}
.story-info-only {
  max-width: 48rem; margin: 0 auto; text-align: left;
}
.story-info-only .section-label,
.story-info-only .section-heading { text-align: left; }
.story-text { color: var(--muted-fg); font-weight: 300; line-height: 1.9; font-size: 0.95rem; }
.story-text p { margin-bottom: 1.5rem; }
.story-text p:last-child { margin-bottom: 0; }
.story-info { text-align: left; }
.story .section-heading {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  font-size: 1.4rem;
}
@media (min-width: 1024px) {
  .story .section-heading { font-size: 1.75rem; }
}
.story-image { order: 1; }
.story-illus {
  order: 1; display: flex; align-items: flex-start; justify-content: center;
  padding: 0;
}
.story-illus img {
  max-width: 100%; width: auto; height: auto; max-height: 400px;
  background: none; box-shadow: none; border-radius: 0;
}
.story-footer-img {
  text-align: center; padding: 3rem 2rem 0;
}
.story-footer-img img {
  max-width: 720px; width: 100%; height: auto; display: block; margin: 0 auto;
}

/* Editorial photo mosaic of the couple */
.story-mosaic {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem; padding: 3rem 1rem 0; max-width: 1200px; margin: 0 auto;
}
.story-mosaic img {
  width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1;
  display: block; background: var(--muted);
  /* Editorial warm-cream tone that ties photos to the wedding palette */
  filter: sepia(0.18) saturate(0.88) contrast(0.96) brightness(1.02);
  transition: filter 0.4s ease;
}
.story-mosaic img:hover {
  filter: sepia(0) saturate(1) contrast(1) brightness(1);
}
@media (min-width: 768px) {
  .story-mosaic { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; padding: 4rem 2rem 0; }
  .story-mosaic img.span-2 { grid-column: span 2; aspect-ratio: 2 / 1; }
}

/* === Pepper's Story === */
.pepper {
  background: #f5f1e8;
  padding: 7rem 2rem;
}
.pepper-inner {
  max-width: 42rem; margin: 0 auto; text-align: center;
}
.pepper-text {
  max-width: 36rem; margin: 0 auto;
}
.pepper-text p { margin-bottom: 1.5rem; }
.pepper-signoff {
  font-family: var(--font-script); font-size: 1.8rem; color: var(--secondary);
  margin-top: 1rem !important;
}

/* === Schedule Timeline === */
.schedule-timeline { background: var(--bg); padding: 5rem 2rem 3rem; }
.schedule-timeline-inner {
  max-width: 56rem; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
.schedule-event {
  text-align: center; padding: 3rem 2rem;
  background: rgba(255,255,255,0.5); border: 1px solid var(--border);
  transition: all 0.4s ease;
}
.schedule-event:hover {
  border-color: var(--primary); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}
.schedule-eventdate {
  font-family: var(--font-script); font-size: 1.4rem; color: var(--secondary);
  margin-bottom: 0.5rem;
}
.schedule-eventname {
  font-family: var(--font-display); font-size: 1.5rem; color: var(--fg);
  margin-bottom: 1rem; letter-spacing: 0.02em; font-weight: 400;
}
.schedule-coming {
  font-family: var(--font-sc); font-size: 0.75rem; letter-spacing: 0.2em;
  color: var(--muted-fg);
}

@media (min-width: 768px) {
  .schedule-timeline-inner { grid-template-columns: 1fr 1fr; }
}

/* Wedding Day illustration row */
.wedding-illus-row {
  display: flex; align-items: flex-end; justify-content: center;
  gap: 2rem; padding: 4rem 1rem 1rem; flex-wrap: wrap;
  max-width: 72rem; margin: 0 auto;
}
.wedding-illus-item {
  flex: 0 1 auto; display: flex; align-items: flex-end; justify-content: center;
}
.wedding-illus-item img {
  max-height: 200px; width: auto; height: auto; max-width: 100%;
}
@media (max-width: 640px) {
  .wedding-illus-row { gap: 1rem; padding: 2.5rem 1rem 1rem; }
  .wedding-illus-item img { max-height: 130px; }
}

/* Schedule details (no icons) */
.schedule-details > div { margin-bottom: 1.25rem; }
.schedule-details > div:last-child { margin-bottom: 0; }
.schedule-details h4 { font-family: var(--font-sc); font-size: 1rem; color: var(--fg); margin-bottom: 0.2rem; }
.schedule-details p { color: var(--muted-fg); font-size: 0.85rem; line-height: 1.7; }

/* === Schedule Page Layout === */
.schedule-coming-soon {
  text-align: center; padding: 2rem 2rem 1rem;
  background: #e3ece6;
}
.schedule-coming-soon p {
  font-family: var(--font-script); font-size: 1.8rem; color: var(--secondary);
  letter-spacing: 0.02em;
}
@media (min-width: 768px) {
  .schedule-coming-soon { padding: 2.5rem 2rem 1rem; }
}

/* Each schedule section becomes a positioning context for peppered illustrations */
section.schedule-section { position: relative; overflow: visible; padding-top: 1.25rem; padding-bottom: 1.5rem; }
section.schedule-section .venue-inner { position: relative; padding-top: 0; }
/* Last section (with bottom-bleed image) has no bottom padding */
section.schedule-section:has(.schedule-bottom-bleed) { padding-bottom: 0; }
@media (min-width: 768px) {
  section.schedule-section { padding-top: 1.75rem; padding-bottom: 2rem; }
  section.schedule-section:has(.schedule-bottom-bleed) { padding-bottom: 0; }
}

/* Peppered illustrations - decorative accents */
.schedule-illus {
  position: absolute; pointer-events: none; z-index: 0;
  opacity: 0.95;
}
.schedule-illus-hendrix {
  top: 1rem; right: 1rem; width: 80px;
}
.schedule-illus-tini {
  top: 6rem; right: 1rem; width: 100px;
}
.schedule-illus-champs {
  top: -0.5rem; left: 1rem; width: 90px;
}
.schedule-illus-music {
  display: none;
}
.schedule-illus-cigar {
  top: 4rem; right: 1rem; width: 110px;
}

@media (min-width: 768px) {
  .schedule-coming-soon p { font-size: 2.2rem; }
  .schedule-illus-hendrix { top: 2rem; right: 4rem; width: 110px; }
  .schedule-illus-tini { top: 14rem; right: 6rem; width: 150px; }
  .schedule-illus-champs { top: 0.5rem; left: 4rem; width: 140px; }
  .schedule-illus-music {
    display: block; bottom: 6rem; left: 4rem; width: 200px;
  }
  .schedule-illus-cigar {
    display: block; top: 6rem; right: 4rem; width: 170px;
  }
}

/* Wedding Day content wrapper */
.wedding-day-content {
  display: flex; flex-direction: column; gap: 2rem;
  position: relative;
}

/* Hide old wedding-illus-row since images are peppered now */
.wedding-illus-row { display: none; }

/* Row of drink illustrations under the drink cards — grid aligned with .drinks-row */
.drinks-illus-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem; margin-top: 1.5rem; align-items: end;
}
.drinks-illus-item {
  display: flex; align-items: flex-end; justify-content: center;
}
.drinks-illus-item img {
  max-height: 110px; width: auto; height: auto; max-width: 100%;
}
@media (min-width: 768px) {
  .drinks-illus-row { gap: 1.5rem; margin-top: 3rem; }
  .drinks-illus-item img { max-height: 200px; }
}

/* Card + illustration pair: image right of card on mobile, image below card on desktop */
.drinks-pair-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-top: 2.5rem;
  align-items: stretch;
}
.drinks-pair {
  display: flex; flex-direction: column; align-items: stretch; gap: 0.75rem;
  height: 100%;
}
.drinks-pair .drink-card {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: 0.5rem 0.4rem;
}
.drinks-pair .drink-card h4 { font-size: 0.78rem; }
.drinks-pair .drink-card p { font-size: 0.7rem; line-height: 1.5; }
.drinks-pair .drinks-illus-item { flex: none; justify-content: center; align-items: center; }
.drinks-pair .drinks-illus-item img { max-height: 80px; max-width: 80px; }
@media (max-width: 767px) {
  .drinks-pair .drinks-illus-item { height: 90px; }
  .drinks-pair .drink-card { min-height: 130px; }
}
@media (min-width: 768px) {
  .drinks-pair-row {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 4rem;
    align-items: stretch;
  }
  .drinks-pair { flex-direction: column; align-items: stretch; gap: 2rem; height: 100%; }
  .drinks-pair .drink-card { flex: 1; padding: initial; }
  .drinks-pair .drink-card h4 { font-size: inherit; }
  .drinks-pair .drink-card p { font-size: 0.8rem; line-height: 1.8; }
  .drinks-pair .drinks-illus-item { flex: none; justify-content: center; }
  .drinks-pair .drinks-illus-item img { max-height: 200px; max-width: 100%; }
}

/* Full-width image bleed (villa photo under Wedding Day) */
.schedule-bleed-img {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 3rem;
  overflow: hidden;
}
.schedule-bleed-img img {
  width: 100%; height: auto; display: block;
  max-height: 480px; object-fit: cover; object-position: center;
}

/* Full-width bottom illustration bleed */
.schedule-bottom-bleed,
.schedule-top-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
  overflow: hidden;
}
.schedule-bottom-bleed { margin-top: 0; background: #e3ece6; }
.schedule-top-bleed { margin-top: 0; }
.schedule-bottom-bleed img,
.schedule-top-bleed img {
  width: 100%; height: auto; display: block; max-width: none;
}
.schedule-bottom-bleed img { mix-blend-mode: multiply; }

/* Top bleed when used as a photograph — explicit crop:
   image top is shifted up so the first splash droplet aligns with container top,
   container is taller than the cropped image so the bottom has empty room
   (for the caption to sit in). */
.schedule-top-bleed-photo {
  background: var(--bg);
  aspect-ratio: 3 / 2;
  /* fit within one viewport so the page doesn't need to scroll just for the hero image */
  max-height: calc(100vh - 60px);
  margin-left: auto; margin-right: auto;
  position: relative;
  overflow: hidden;
}
.schedule-top-bleed-photo img {
  width: 100%; height: auto; max-width: none;
  display: block;
  margin-top: -30%; /* tighter top crop — skip the upper splash whitespace */
  mix-blend-mode: multiply;
}
.schedule-top-caption {
  position: absolute;
  right: 1rem; bottom: 0.75rem;
  max-width: 90%;
  margin: 0;
  font-family: var(--font-script);
  font-size: 1.2rem;
  color: var(--secondary);
  text-align: right;
  line-height: 1.2;
  display: flex; flex-direction: column; gap: 0.35rem;
}
.schedule-top-caption-cta {
  font-size: 0.95rem;
  color: var(--fg);
  opacity: 0.85;
}
.schedule-top-caption-cta a {
  color: var(--secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.schedule-top-caption-cta a:hover { color: var(--fg); }
@media (min-width: 768px) {
  .schedule-top-caption {
    right: 2.5rem; bottom: 1.5rem;
    font-size: 1.6rem;
    max-width: 60%;
    gap: 0.5rem;
  }
  .schedule-top-caption-cta { font-size: 1.2rem; }
}

/* Disco image floated inside Wedding Day section — flush with top border */
.wedding-float-img {
  float: right;
  width: 45%;
  max-width: 360px;
  margin: 0 0 1rem 1.5rem;
  /* Pull up to start exactly at section's top border */
  margin-top: -1.25rem;
  border-radius: 0;
  shape-outside: margin-box;
  mix-blend-mode: multiply;
}
@media (min-width: 768px) {
  .wedding-float-img {
    width: 38%; max-width: 420px;
    margin: -1.75rem 0 1.25rem 2rem;
  }
}
@media (max-width: 480px) {
  .wedding-float-img {
    width: 50%;
    margin: -1.25rem 0 0.75rem 1rem;
  }
}

/* === Welcome Drinks === */
.welcome-drinks { background: #ffffff; }

.venue-icon.accent-icon { background: hsla(40,50%,60%,0.15); color: var(--accent); }

.drinks-row {
  display: grid; grid-template-columns: 1fr;
  gap: 1.5rem; margin-top: 4rem;
}
.drink-card {
  text-align: center; padding: 2.5rem 2rem;
  background: rgba(255,255,255,0.6); border: 1px solid var(--border);
  transition: all 0.4s ease;
}
.drink-card:hover {
  border-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}
.drink-line { width: 2rem; height: 1px; background: var(--secondary); margin: 0 auto 1.5rem; }
.drink-card h4 {
  font-family: var(--font-display); font-size: 1rem; color: var(--fg);
  margin-bottom: 0.75rem; font-weight: 400; letter-spacing: 0.02em;
}
.drink-card p { color: var(--muted-fg); font-size: 0.8rem; line-height: 1.8; font-weight: 300; }

.venue-detail a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.venue-detail a:hover { color: var(--fg); }

/* === Venue === */
.venue { background: var(--bg); padding: 8rem 2rem; }
.venue.schedule-section { background: #e3ece6; }
.venue-inner { max-width: 72rem; margin: 0 auto; }
.venue-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; }
.venue-info { order: 2; }
.venue-desc { font-size: 0.95rem; color: var(--muted-fg); font-weight: 300; line-height: 1.9; margin-bottom: 2.5rem; }
.venue-details { display: flex; flex-direction: column; gap: 2rem; }
.venue-detail { display: flex; align-items: flex-start; gap: 1rem; }
.venue-icon {
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 0.1rem;
}
.venue-icon.primary { background: hsla(163,25%,45%,0.1); color: var(--primary); }
.venue-icon.secondary { background: hsla(352,30%,44%,0.12); color: var(--secondary); }
.venue-detail h4 { font-family: var(--font-sc); font-size: 1rem; color: var(--fg); margin-bottom: 0.2rem; }
.venue-detail p { color: var(--muted-fg); font-size: 0.85rem; line-height: 1.7; }
.venue-image {
  order: 1; position: relative; height: 400px; width: 100%;
  overflow: hidden; box-shadow: 0 20px 60px -15px rgba(0,0,0,0.15);
}
.venue-image img { width: 100%; height: 100%; object-fit: cover; }
.venue-image-border {
  position: absolute; inset: 0.75rem; border: 1px solid rgba(255,255,255,0.2);
  pointer-events: none; z-index: 1;
}

/* === Gallery === */
.gallery {
  padding: 8rem 2rem; background: var(--fg); color: var(--bg);
  position: relative; overflow: hidden;
}
.gallery-bg { position: absolute; inset: 0; opacity: 0.15; }
.gallery-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(4px); }
.gallery-bg-overlay { position: absolute; inset: 0; background: hsla(20,10%,10%,0.92); z-index: 0; }
.gallery-inner { max-width: 80rem; margin: 0 auto; padding: 0 1rem; position: relative; z-index: 1; }

.gallery-grid-two {
  display: grid; grid-template-columns: 1fr;
  gap: 1rem; margin-top: 4rem;
}
.gallery-left, .gallery-right {
  overflow: hidden; position: relative;
}
.gallery-left { height: 350px; display: flex; align-items: center; justify-content: center; }
.gallery-right { height: 350px; }
.gallery-left img, .gallery-right img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s ease;
}
.gallery-left:hover img, .gallery-right:hover img { transform: scale(1.04); }
.gallery-quote-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.15);
  transition: background 0.3s;
}
.gallery-quote {
  position: absolute; z-index: 1; text-align: center; padding: 2rem;
}
.gallery-quote p {
  font-family: var(--font-script); font-size: 2.2rem; color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* === Footer === */
.site-footer {
  background: var(--fg); color: var(--bg); padding: 6rem 2rem; text-align: center;
}
.footer-inner {
  max-width: 56rem; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
}
.footer-inner h2 {
  font-family: var(--font-display); font-size: 1.8rem;
  font-weight: 400; margin-bottom: 0.5rem;
  color: var(--bg); letter-spacing: 0.03em;
  display: inline-flex; align-items: center; gap: 0.15em;
}
.footer-logo { padding: 0; }
.footer-logo img {
  height: 70px; width: auto; display: block;
}
.footer-inner h2 .logo-amp {
  font-family: var(--font-script); font-weight: 400;
  color: var(--accent); font-size: 1.2em;
}
.footer-script {
  font-family: var(--font-script); font-size: 1.4rem; color: var(--accent);
  margin-bottom: 1rem;
}
.footer-date {
  font-family: var(--font-sc); color: hsla(30,20%,70%,0.5);
  letter-spacing: 0.15em; font-size: 0.7rem; margin-bottom: 2rem;
}
.footer-flourish { color: hsla(30,20%,70%,0.3); margin-bottom: 2rem; }
.footer-line { display: none; }
.footer-note { color: hsla(30,20%,70%,0.35); font-size: 0.75rem; font-weight: 300; }

/* === RSVP Page === */
.rsvp-container { max-width: 36rem; margin: 0 auto; padding: 3.5rem 2rem 1.5rem; }
.rsvp-header { text-align: center; margin-bottom: 3rem; }
.rsvp-title {
  font-family: var(--font-display); font-size: 1.75rem; color: var(--fg);
  margin-bottom: 0.75rem; letter-spacing: 0.02em;
}
@media (max-width: 480px) {
  .rsvp-title { font-size: 1.25rem; line-height: 1.3; }
  .rsvp-container { padding: 2.5rem 1.25rem 1rem; }
}
.rsvp-subtitle { color: var(--muted-fg); font-size: 0.85rem; font-weight: 300; }

.rsvp-form { display: flex; flex-direction: column; gap: 2rem; }

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group > label:first-child {
  font-family: var(--font-sc); font-size: 0.8rem; letter-spacing: 0.05em;
  font-weight: 400; color: var(--fg);
}

/* RSVP page — use stylized small-caps font across the whole form */
.rsvp-container .radio-label,
.rsvp-container .radio-label span,
.rsvp-container select,
.rsvp-container input[type="text"] {
  font-family: var(--font-sc); letter-spacing: 0.04em;
}
.optional { font-family: var(--font-body); font-weight: 300; color: var(--muted-fg); }

.form-group input[type="text"],
.form-group select {
  padding: 0.875rem 1.25rem; border: 1px solid var(--border);
  font-family: var(--font-body); font-size: 0.9rem; color: var(--fg);
  background: #fff; transition: border-color 0.3s; outline: none;
  width: 100%;
}
.form-group input[type="text"]:focus,
.form-group select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px hsla(163,25%,45%,0.08); }
.form-group input::placeholder { color: var(--muted-fg); opacity: 0.5; }

.radio-group { display: flex; flex-direction: column; gap: 0.85rem; }
.radio-label {
  display: flex; align-items: center; gap: 0.75rem; cursor: pointer;
  font-size: 0.9rem; color: var(--fg);
}
.radio-label input[type="radio"] { display: none; }
.radio-custom {
  width: 1.25rem; height: 1.25rem; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid var(--border); transition: all 0.2s; position: relative;
}
.radio-label input[type="radio"]:checked + .radio-custom { border-color: var(--primary); }
.radio-label input[type="radio"]:checked + .radio-custom::after {
  content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--primary);
}

.attending-details { display: none; }

/* Search / Autocomplete */
.search-wrapper { position: relative; }
.search-results {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 20;
  background: #fff; border: 1px solid var(--border); border-top: none;
  max-height: 16rem; overflow-y: auto;
  box-shadow: 0 12px 32px rgba(0,0,0,0.06); display: none;
}
.search-item {
  padding: 0.875rem 1.25rem; cursor: pointer; font-size: 0.9rem;
  color: var(--fg); transition: background 0.15s; border-bottom: 1px solid hsla(30,15%,85%,0.5);
}
.search-item:last-child { border-bottom: none; }
.search-item:hover { background: hsla(163,25%,45%,0.05); }
.search-empty { color: var(--muted-fg); cursor: default; font-style: italic; }
.search-empty:hover { background: none; }
.search-hint { margin-top: 1rem; font-size: 0.75rem; color: var(--muted-fg); }

.selected-guest { margin-bottom: 2rem; }
.selected-name {
  font-family: var(--font-display); font-size: 1.3rem; color: var(--fg);
  margin-bottom: 0.5rem; letter-spacing: 0.02em;
}
.change-guest {
  background: none; border: none; color: var(--primary); font-size: 0.75rem;
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 0;
}
.change-guest:hover { color: var(--fg); }

.form-divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

.rsvp-submit {
  padding: 1rem 2.5rem; background: var(--fg); color: var(--bg);
  border: none; font-family: var(--font-sc); font-size: 0.8rem;
  letter-spacing: 0.1em; cursor: pointer; transition: all 0.3s;
  margin-top: 0.5rem;
}
.rsvp-submit:hover { background: #333; }
.rsvp-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.rsvp-message { text-align: center; padding: 2.5rem; margin-top: 1.5rem; }
.rsvp-message h3 {
  font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}
.rsvp-message p { color: var(--muted-fg); font-size: 0.9rem; line-height: 1.8; }
.rsvp-success { background: hsla(163, 25%, 45%, 0.06); }
.rsvp-success h3 { color: var(--primary); }
.rsvp-decline { background: hsla(352, 30%, 44%, 0.08); }
.rsvp-decline h3 { color: var(--secondary); }
.rsvp-error { background: hsla(0, 60%, 55%, 0.06); }

/* === Travel Page === */
.travel-page { background: #f0f5f1; }

.travel-tabs-wrapper {
  position: sticky; top: 52px; background: #f0f5f1; z-index: 9;
  border-bottom: 1px solid var(--border);
}
.travel-tabs {
  display: flex; max-width: 48rem; margin: 0 auto;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.travel-tab {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 1rem 0.75rem; font-family: var(--font-sc); font-size: 0.7rem;
  letter-spacing: 0.08em; font-weight: 400; color: var(--muted-fg);
  border-bottom: 2px solid transparent; transition: all 0.2s;
  cursor: pointer; background: none; border-top: none; border-left: none; border-right: none;
  white-space: nowrap;
}
.travel-tab:hover { color: var(--fg); }
.travel-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.travel-tab svg { flex-shrink: 0; }
.travel-tab[data-tab="0"] svg { color: #4a8ba8; } /* ocean blue - transportation */
.travel-tab[data-tab="1"] svg { color: #c8705a; } /* coral - where to stay */
.travel-tab[data-tab="2"] svg { color: #b5628a; } /* hibiscus pink - what to wear */
.travel-tab[data-tab="3"] svg { color: #4a9a6a; } /* palm green - island tips */
@media (max-width: 480px) {
  .travel-tab { padding: 0.75rem 0.25rem; gap: 0.3rem; font-size: 0.55rem; letter-spacing: 0.03em; }
}

.travel-content { max-width: 56rem; margin: 0 auto; padding: 0 2rem; }
.travel-panel { display: none; }
.travel-panel.active { display: block; animation: fadeUp 0.25s ease; }

.travel-panel-header {
  padding: 3.5rem 0 2rem; border-bottom: 1px solid var(--border); margin-bottom: 2.5rem;
}
.travel-panel-header-illus {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.travel-panel-header-text { min-width: 0; flex: 1; }
.travel-panel-header-image {
  max-width: 110px; width: 100%; height: auto; flex-shrink: 0;
  margin-left: auto; mix-blend-mode: multiply;
}
@media (min-width: 768px) {
  .travel-panel-header-image { max-width: 130px; }
}
@media (max-width: 480px) {
  .travel-panel-header-image { max-width: 80px; }
}

.island-tips-footer {
  text-align: center; padding: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  overflow: hidden;
}

/* Island Tips bottom decorative cluster — palm in right corner overlapping
   the section border, mango + fruit illustrations to its left. */
.island-tips-decor {
  position: relative;
  width: 100%;
  height: 0;
  margin-top: -3rem;
  pointer-events: none;
}
.island-tips-decor img {
  position: absolute;
  bottom: 0;
  mix-blend-mode: multiply;
}
.island-tips-decor-palm {
  right: -5rem;
  bottom: -1rem;
  width: 280px;
  height: auto;
  transform: translateY(-60px);
  z-index: 2;
}
@media (min-width: 768px) {
  .island-tips-decor-palm { width: 360px; transform: translateY(-90px); right: -3rem; }
}
.island-map {
  margin: 0;
  display: flex;
  justify-content: center;
}
.island-map-img {
  width: 100%;
  max-width: 720px;
  height: auto;
  display: block;
  filter: sepia(0.12) saturate(0.95);
}
.island-tips-footer img {
  width: 100%; height: auto; display: block; max-width: none;
  mix-blend-mode: multiply;
}
.island-tips-footer-small {
  width: auto; margin-left: 0; margin-right: 0; overflow: visible;
  display: flex; justify-content: center;
}
.island-tips-footer-small img { width: 100%; max-width: 640px; }
.travel-panel-header h2 {
  font-family: var(--font-display); font-size: 1.75rem; color: #1a3a4a;
  margin-bottom: 0.3rem; letter-spacing: 0.02em;
}
.travel-panel-header p {
  font-family: var(--font-script); font-size: 1.2rem; color: var(--muted-fg);
}

.travel-info-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem; padding-bottom: 3rem;
}
.travel-info-card {
  border-left: 1.5px solid hsla(163,25%,45%,0.25); padding: 1rem 0 1rem 1.5rem;
}
.travel-info-card a {
  color: var(--secondary); text-decoration: underline; text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.travel-info-card a:hover { color: var(--fg); }
.hotel-tag {
  display: inline-block; margin-left: 0.5rem;
  font-family: var(--font-sc); font-size: 0.6rem; letter-spacing: 0.1em;
  background: var(--secondary); color: #fff;
  padding: 2px 8px; border-radius: 2px;
  vertical-align: middle; font-weight: 400;
  text-transform: uppercase;
}
.hotel-star,
.villa-star {
  height: 1.1em; width: auto; vertical-align: -0.15em;
  margin-left: 0.25rem; display: inline-block;
  mix-blend-mode: multiply;
}
.villa-star { height: 1em; }

/* === Villa Cards === */
.villa-category {
  font-family: var(--font-display); font-size: 1.4rem; color: var(--fg);
  margin: 3rem 0 1.5rem; letter-spacing: 0.02em; font-weight: 400;
  text-align: center; padding-bottom: 0.75rem;
  position: relative;
}
.villa-category::after {
  content: ''; display: block;
  width: 60px; height: 1px; margin: 0.75rem auto 0;
  background: var(--secondary); opacity: 0.5;
}
.villa-card {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid hsla(195, 15%, 88%, 0.8);
  border-radius: 4px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.villa-card:hover {
  border-color: hsla(163, 25%, 50%, 0.4);
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.villa-header { margin-bottom: 1.25rem; }
.villa-name {
  font-family: var(--font-display); font-size: 1.35rem; color: var(--fg);
  margin: 0 0 0.25rem; font-weight: 400; letter-spacing: 0.02em;
  line-height: 1.2;
}
.villa-name a {
  color: var(--secondary);
  text-decoration: underline;
  text-decoration-color: rgba(200, 112, 90, 0.4);
  text-underline-offset: 5px;
  text-decoration-thickness: 1.5px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.villa-name a:hover {
  color: var(--fg);
  text-decoration-color: var(--fg);
}
.villa-meta {
  font-family: var(--font-sc); font-size: 0.7rem;
  color: var(--secondary); letter-spacing: 0.15em;
  margin: 0 0 0.85rem; font-weight: 400; text-transform: uppercase;
}
.villa-desc {
  color: var(--muted-fg); font-size: 0.9rem; line-height: 1.7;
  margin: 0 0 0.85rem; font-weight: 300;
}
.villa-options {
  font-size: 0.85rem; color: var(--fg); line-height: 1.5;
  margin: 0; padding: 0.65rem 0.85rem;
  background: rgba(200, 112, 90, 0.08);
  border-left: 2px solid var(--secondary);
  border-radius: 2px;
}
.villa-options-label {
  font-family: var(--font-sc); font-size: 0.7rem;
  letter-spacing: 0.1em; color: var(--secondary);
  text-transform: uppercase; margin-right: 0.4rem;
}

/* Side-by-side dropdowns on desktop */
.villa-dropdowns {
  display: grid; grid-template-columns: 1fr; gap: 0.5rem;
}
@media (min-width: 768px) {
  .villa-dropdowns { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
}

.villa-section {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid hsla(195, 15%, 88%, 0.6);
  border-radius: 3px;
  overflow: hidden;
  align-self: start;
}
.villa-section[open] {
  border-color: hsla(163, 25%, 50%, 0.4);
  background: #fff;
}
.villa-section summary {
  cursor: pointer; user-select: none;
  font-family: var(--font-sc); font-size: 0.8rem;
  letter-spacing: 0.12em; color: var(--fg);
  padding: 0.85rem 1rem;
  display: flex; align-items: center; justify-content: space-between;
  list-style: none;
  transition: background 0.2s;
}
.villa-section summary:hover {
  background: rgba(163, 209, 196, 0.06);
}
.villa-section summary::-webkit-details-marker { display: none; }
.villa-section summary::after {
  content: '+';
  font-family: var(--font-display); font-size: 1.1rem;
  color: var(--secondary);
  transition: transform 0.3s;
  margin-left: 0.5rem;
}
.villa-section[open] summary::after {
  content: '−';
}
.villa-section-body {
  padding: 0 1rem 1.25rem;
  border-top: 1px solid hsla(195, 15%, 88%, 0.6);
  margin-top: -1px;
  padding-top: 1rem;
  animation: villaFadeIn 0.3s ease-out;
}
@keyframes villaFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Pricing list inside Cost dropdown */
.villa-pricing {
  list-style: none; padding: 0; margin: 0;
}
.villa-pricing li {
  display: grid; grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.15rem 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px dashed hsla(195, 15%, 80%, 0.6);
}
.villa-pricing li:first-child { padding-top: 0; }
.villa-pricing li:last-child { border-bottom: none; padding-bottom: 0; }
.villa-pricing-label {
  font-family: var(--font-sc); font-size: 0.75rem; letter-spacing: 0.08em;
  color: var(--fg); font-weight: 400;
  grid-column: 1; grid-row: 1;
}
.villa-pricing-value {
  font-family: var(--font-display); font-size: 1.05rem;
  color: var(--primary); font-weight: 400; letter-spacing: 0.02em;
  grid-column: 2; grid-row: 1; text-align: right;
}
.villa-pricing-detail {
  font-size: 0.75rem; color: var(--muted-fg); font-weight: 300;
  grid-column: 1 / -1; grid-row: 2;
}

/* Amenities + policy lists */
.villa-amenities-label {
  font-family: var(--font-sc); font-size: 0.7rem;
  letter-spacing: 0.12em; color: var(--fg);
  margin: 0.25rem 0 0.5rem; text-transform: uppercase;
}
.villa-amenities,
.villa-policy-list {
  list-style: none; padding: 0; margin: 0;
}
.villa-amenities li,
.villa-policy-list li {
  font-size: 0.85rem; color: var(--muted-fg); line-height: 1.6;
  padding: 0.3rem 0 0.3rem 1.1rem; position: relative; font-weight: 300;
}
.villa-amenities li::before,
.villa-policy-list li::before {
  content: '·'; position: absolute; left: 0.3rem; top: -0.15rem;
  color: var(--secondary); font-size: 1.3rem; line-height: 1;
}
@media (min-width: 768px) {
  .villa-category { font-size: 1.6rem; margin-top: 3.5rem; }
  .villa-card { padding: 2rem; }
  .villa-name { font-size: 1.5rem; }
}

.travel-venue-block {
  margin-bottom: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--border);
}
.pinterest-embed-wrap { display: flex; justify-content: center; }
.travel-illus-block { display: block; position: relative; }
.travel-illus { position: absolute; top: -10px; right: -20px; width: 180px; height: 140px; pointer-events: none; display: flex; align-items: center; justify-content: flex-end; }
.travel-illus img { max-width: 180px; max-height: 140px; width: auto; height: auto; display: block; object-fit: contain; mix-blend-mode: multiply; }
.travel-illus-content { min-width: 0; }
.travel-illus-block .travel-venue-name { padding-right: 150px; min-height: 130px; display: flex; align-items: center; font-size: 1.1rem; }

@media (min-width: 768px) {
  .travel-illus-block { display: grid; grid-template-columns: 260px 1fr; gap: 3rem; align-items: start; position: static; }
  .travel-illus { position: static; width: auto; display: flex; align-items: center; justify-content: center; }
  .travel-illus img { max-width: 260px; }
  .travel-illus-block .travel-venue-name { padding-right: 0; min-height: 0; display: block; }
  .things-to-do-header { grid-template-columns: 150px 1fr; gap: 1.75rem; align-items: center; }
  .things-to-do-illus img { max-width: 130px; }
}
.things-to-do-illus img { mix-blend-mode: normal; max-width: 110px; max-height: 110px; }
.travel-venue-block:last-child { border-bottom: none; }

/* Outfit Inspiration: narrower shell column so text shifts left and overlaps the illustration's negative space */
@media (min-width: 768px) {
  .outfit-illus-block {
    grid-template-columns: 150px 1fr;
    gap: 2.5rem;
    align-items: center;
  }
  .outfit-illus-block .travel-illus img { max-width: 180px; }
}
.travel-venue-name {
  font-family: var(--font-display); font-size: 1.25rem; color: var(--fg);
  margin-bottom: 0.5rem; letter-spacing: 0.02em;
}
.travel-venue-detail { color: var(--muted-fg); font-size: 0.85rem; margin-bottom: 0.25rem; }
.travel-map { margin: 1.5rem 0 1rem; }
.travel-map-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--primary); font-size: 0.8rem; font-weight: 400;
  text-decoration: none; transition: color 0.2s;
  font-family: var(--font-sc);
}
.travel-map-link:hover { color: var(--fg); }

.travel-footer {
  text-align: center; padding: 3rem 2rem; border-top: 1px solid var(--border); margin-top: 0;
}
.travel-venue-block:has(+ .island-tips-footer) {
  margin-bottom: 0;
}
/* Swap What-to-Wear bottom illustration between mobile and desktop */
.island-tips-footer .footer-img-mobile { display: none; }
/* On mobile, the footer illustrations sit flush against the lines above/below */
@media (max-width: 768px) {
  .island-tips-footer { padding-top: 0; }
  .travel-venue-block:has(+ .island-tips-footer) { margin-bottom: 0; }
  .travel-footer { margin-top: 0; }
  .island-tips-footer .footer-img-desktop { display: none; }
  .island-tips-footer .footer-img-mobile { display: block; }
  /* Pull the Transportation tab's Flights / Island Travel illustrations
     a bit further from the right edge (i.e., shift them leftward). */
  .travel-panel[data-panel="0"] .travel-illus {
    right: 30px;
  }
  .travel-illus img[src*="CRAB"] {
    max-width: 110px; max-height: 90px;
  }
  .travel-illus-block:has(img[src*="CRAB"]) .travel-illus {
    width: 130px; height: 100px;
    right: 12px;
  }
  .travel-illus-block:has(img[src*="CRAB"]) .travel-venue-name {
    padding-right: 130px; min-height: 100px;
  }
}

/* Registry page — tighter vertical rhythm than the Guide panels */
.registry-panel .travel-panel-header {
  padding: 2rem 0 1.25rem;
  margin-bottom: 1.25rem;
}
.registry-panel .travel-venue-block {
  margin-bottom: 1.5rem; padding-bottom: 1.5rem;
}
.registry-panel .travel-info-grid {
  padding-bottom: 0;
}
.registry-panel .travel-info-card {
  padding: 0.5rem 0 0.5rem 1.25rem;
}
.registry-panel + .travel-footer,
.travel-page:has(.registry-panel) .travel-footer {
  margin-top: 0; padding: 1.75rem 2rem;
}
.travel-footer p { font-size: 0.75rem; color: var(--muted-fg); }

/* === Responsive === */
@media (min-width: 640px) {
  .countdown { gap: 3rem; }
  .countdown-value { font-size: 2.8rem; }
  .countdown-label { font-size: 0.95rem; }
  .hero-date { font-size: 2.25rem; }
  .hero-location { font-size: 1.2rem; }
  .hero-script { font-size: 1.8rem; }
}

@media (min-width: 768px) {
  .section { padding: 10rem 2rem; }
  .hero-title { font-size: 5rem; }
  .hero-date { font-size: 2.75rem; }
  .hero-location { font-size: 1.35rem; }
  .hero-script { font-size: 2rem; }
  .countdown { gap: 4rem; }
  .countdown-value { font-size: 3.2rem; }
  .countdown-label { font-size: 1rem; }
  .section-heading { font-size: 2.5rem; }
  .section-label { font-size: 1.7rem; }
  .drinks-row { grid-template-columns: repeat(3, 1fr); }
  .travel-info-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid-two { grid-template-columns: 7fr 3fr; }
  .gallery-left { height: 450px; }
  .gallery-right { height: 450px; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 6.5rem; }
  .venue-grid { grid-template-columns: 1fr 1fr; }
  .venue-info { order: 1; }
  .venue-image { order: 2; height: 600px; }
  .story-image { order: 1; height: 600px; }
  .story-illus { order: 1; }
  .story-info { order: 2; }
}

/* Menu hero image — sits flush on top of the menu card, blends with page bg */
.menu-hero-img {
  max-width: 36rem; width: calc(100% - 2rem);
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  background: transparent;
}
.menu-hero-img img {
  width: 100%; height: auto; display: block;
  max-height: 360px; object-fit: cover; object-position: center;
  mix-blend-mode: multiply;
}
@media (min-width: 768px) {
  .menu-hero-img { max-width: 40rem; }
  .menu-hero-img img { max-height: 460px; }
}
.menu-card-attached {
  margin-top: 0 !important;
  border-top: none;
}
.menu-card-attached::before { display: none; }

/* === Mobile-only homepage tweaks === */
.home-illus-mobile { display: none; }
@media (max-width: 768px) {
  /* Hide the page-buttons row entirely on mobile homepage — the prominent
     RSVP CTA in .hero-tagline is the single mobile entry point. */
  body.home .page-buttons { display: none; }
  /* Swap countdown and RSVP button on mobile only — RSVP comes first */
  body.home main { display: flex; flex-direction: column; }
  body.home .nav-bar { order: 0; }
  body.home .hero-card { order: 1; }
  body.home .hero-tagline { order: 2; padding-top: 1rem; padding-bottom: 1rem; }
  body.home .page-buttons { order: 3; }
  body.home .countdown-section { order: 4; padding-top: 1rem; padding-bottom: 2rem; }
  body.home .home-illus-desktop { order: 5; display: none; }
  body.home .home-illus-mobile { order: 6; }
  body.home .travel-footer { order: 7; }
  /* Swap the desktop illustration row for a single illustration on mobile */
  .home-illus-row { display: none; }
  .home-illus-mobile {
    display: block;
    padding: 0;
    margin: 0;
    background: transparent;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: visible;
    position: relative;
    z-index: 1;
  }
  .home-illus-mobile-bg {
    width: 100%; max-width: none; height: auto;
    display: block;
    mix-blend-mode: multiply;
  }
  .home-illus-mobile-plane { display: none; }
}

/* === Mobile guide-page tightening === */
@media (max-width: 768px) {
  .travel-content { padding: 0 1rem; }
  .travel-panel-header { padding: 2.5rem 0 1.25rem; margin-bottom: 1.5rem; }
  .travel-panel-header h2 { font-size: 1.4rem; }
  .travel-panel-header p { font-size: 1rem; }
  .travel-info-grid { gap: 1rem; padding-bottom: 2rem; }
  .travel-info-card { padding: 0.5rem 0 0.5rem 1rem; }
  .travel-venue-block { margin-bottom: 2rem; padding-bottom: 2rem; }
  .travel-venue-name { font-size: 1.05rem; }
  .info-label { font-size: 0.85rem; }
  .info-text { font-size: 0.85rem; }
  .villa-card { padding: 1.25rem; }
  .villa-name { font-size: 1.15rem; }
  .villa-desc { font-size: 0.85rem; }
  .villa-meta { font-size: 0.65rem; }
}

/* === Wedding Dinner Menu (on RSVP page) === */
.menu-card {
  max-width: 36rem; width: calc(100% - 2rem);
  margin: 4rem auto 3rem;
  padding: 2.25rem 1.25rem 2.75rem;
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
}
.menu-card::before,
.menu-card::after {
  content: ''; position: absolute; left: 0.75rem; right: 0.75rem; height: 1px;
  background: var(--secondary); opacity: 0.35;
  pointer-events: none;
}
.menu-card::before { top: 0.75rem; }
.menu-card::after { bottom: 0.75rem; }
.menu-header { margin-bottom: 2rem; }
.menu-eyebrow {
  font-family: var(--font-sc); font-size: 0.65rem; letter-spacing: 0.25em;
  color: var(--secondary); text-transform: uppercase;
  margin: 0 0 0.9rem; font-weight: 500;
}
.menu-title {
  font-family: var(--font-display); font-size: 1.85rem;
  color: var(--fg); letter-spacing: 0.03em; font-weight: 400;
  line-height: 1.15;
}
.menu-flourish {
  font-family: var(--font-script); font-size: 1.3rem;
  color: var(--secondary); margin-top: 0.5rem; line-height: 1.1;
  font-weight: 500;
}
.menu-course { padding: 1.1rem 0.25rem; }
.menu-course-label {
  font-family: var(--font-sc); font-size: 0.75rem;
  letter-spacing: 0.28em; color: var(--secondary);
  text-transform: uppercase; font-weight: 500;
  margin: 0 0 0.3rem;
}
.menu-course-sub {
  font-family: var(--font-script); color: var(--muted-fg);
  font-size: 1.1rem; margin: 0 0 1rem; line-height: 1;
}
.menu-dishes { list-style: none; padding: 0; margin: 0; }
.menu-dish { padding: 0.75rem 0; }
.menu-dish + .menu-dish {
  border-top: 1px dashed hsla(352, 30%, 44%, 0.25);
}
.menu-dish-name {
  font-family: var(--font-display); font-size: 0.98rem;
  color: var(--fg); font-weight: 400; letter-spacing: 0.015em;
  margin: 0 0 0.45rem; line-height: 1.3;
  word-spacing: 0.02em;
}
.menu-dish-desc {
  font-family: var(--font-body); font-style: italic;
  color: var(--muted-fg); font-size: 0.8rem;
  line-height: 1.6; max-width: 28rem; margin: 0 auto;
  font-weight: 300;
}
.menu-divider {
  position: relative; width: 60%; max-width: 12rem;
  margin: 0.85rem auto 0.65rem; height: 1px;
  background: linear-gradient(to right, transparent, var(--secondary), transparent);
  opacity: 0.45;
}
.menu-divider::after {
  content: '\2766'; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg); padding: 0 0.5rem;
  color: var(--secondary); font-size: 0.7rem; opacity: 0.85;
  line-height: 1;
}

@media (min-width: 480px) {
  .menu-card { padding: 2.5rem 1.75rem 3rem; }
  .menu-title { font-size: 2.15rem; }
  .menu-dish-name { font-size: 1.05rem; letter-spacing: 0.02em; }
}
@media (min-width: 768px) {
  .menu-card { padding: 3.25rem 3rem 3.5rem; max-width: 40rem; }
  .menu-header { margin-bottom: 2.5rem; }
  .menu-eyebrow { font-size: 0.75rem; letter-spacing: 0.3em; margin-bottom: 1rem; }
  .menu-title { font-size: 2.75rem; letter-spacing: 0.04em; }
  .menu-flourish { font-size: 1.4rem; }
  .menu-course { padding: 1.25rem 0.25rem; }
  .menu-course-label { font-size: 0.8rem; letter-spacing: 0.3em; }
  .menu-course-sub { font-size: 1.25rem; margin-bottom: 1.25rem; }
  .menu-dish-name { font-size: 1.15rem; }
  .menu-dish-desc { font-size: 0.88rem; }
}

/* Good to Know — feature row with starfish */
.good-to-know-feature {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1rem;
}
.good-to-know-star { display: flex; justify-content: center; align-items: center; }
.good-to-know-star img { max-width: 120px; width: 100%; height: auto; display: block; }
.good-to-know-island { border-left: none; padding-left: 0; }
@media (min-width: 768px) {
  .good-to-know-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .good-to-know-feature {
    display: block;
  }
  .good-to-know-star {
    float: left;
    margin: 0 0.75rem 0.25rem 0;
    width: 56px;
  }
  .good-to-know-star img { max-width: 56px; }
  .good-to-know-island { overflow: hidden; }
}

/* Schedule icon list (cocktails / dinner / dancing) */
.schedule-icon-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.schedule-icon-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 0.75rem;
}
.schedule-icon-list li span {
  color: var(--muted-fg);
  font-size: 0.85rem;
  line-height: 1.7;
}
.schedule-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  justify-self: center;
  mix-blend-mode: multiply;
}
.schedule-icon-lg {
  width: 58px;
  height: 58px;
}

/* Mobile: soften the info-card left bar */
@media (max-width: 768px) {
  .travel-panel .travel-info-card {
    border-left: 1px solid hsla(163,25%,45%,0.12);
  }
  .travel-panel .travel-info-card.good-to-know-island {
    border-left: none;
  }
  /* Flights: swap Direct from U.S. and Book Early on mobile */
  .flights-grid { display: flex; flex-direction: column; }
  .flights-grid > .travel-info-card:nth-child(1) { order: 1; }
  .flights-grid > .travel-info-card:nth-child(3) { order: 2; } /* Book Early */
  .flights-grid > .travel-info-card:nth-child(2) { order: 3; } /* Direct from U.S. */
  .flights-grid > .travel-info-card:nth-child(4) { order: 4; }
}

/* Desktop: lighten Island Tips info-card bars */
@media (min-width: 769px) {
  .travel-panel[data-panel="3"] .travel-info-card {
    border-left: 1px solid hsla(163,25%,45%,0.12);
  }
  .travel-panel[data-panel="3"] .travel-info-card.good-to-know-island {
    border-left: none;
  }
  /* Equalize homepage spacing between tagline, RSVP buttons, and countdown */
  body.home .page-buttons { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  body.home .countdown-section { padding-top: 1rem; }
}
