/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-size: 16px;
  color: #0C0E1D;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== LAYOUT ===== */
.layout {
  display: flex;
  height: 100vh;
  height: 100dvh;
  width: 100%;
}

/* ===== LEFT: HERO PANEL ===== */
.hero-panel {
  position: relative;
  width: 60%;
  height: 100%;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #c8d8e4;
  transition: transform 0.5s ease;
}

.hero-panel:hover .hero-image {
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.306) 13%,
    rgba(0, 0, 0, 0.227) 26%,
    rgba(0, 0, 0, 0.165) 37%,
    rgba(0, 0, 0, 0.114) 48%,
    rgba(0, 0, 0, 0.075) 58%,
    rgba(0, 0, 0, 0.043) 67%,
    rgba(0, 0, 0, 0.02) 76%,
    rgba(0, 0, 0, 0.006) 85%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* Menu Button */
.menu-btn,
.site-header .menu-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #fff;
  border: 1.6px solid #0C0E1D;
  border-radius: 28px;
  cursor: pointer;
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #333;
  transition: all 0.3s ease;
}

.menu-btn:hover {
  background: #f5f5f5;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.menu-icon {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 18px;
}

.menu-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background: #333;
  border-radius: 1px;
  transition: all 0.3s ease;
}

.menu-text {
  font-size: 13px;
}

/* Hero Content */
.hero-content {
  position: absolute;
  bottom: 100px;
  left: 0;
  right: 0;
  padding: 0 10%;
  z-index: 10;
}

.hero-title {
  font-family: 'Lobster', cursive;
  font-size: 56px;
  font-weight: 400;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
  margin-bottom: 16px;
  animation: fadeInUp 1s ease 0.3s both;
}

.hero-subtitle {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
  animation: fadeInUp 1s ease 0.5s both;
}

/* Bottom Bar */
.hero-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 0.8px solid rgba(255, 255, 255, 0.5);
  border-radius: 9999px;
  margin: 0 20px 16px;
  z-index: 10;
  animation: fadeInUp 1s ease 0.7s both;
}

.bottom-bar-date {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.btn-dark {
  padding: 10px 24px;
  background: #0C0E1D;
  color: #fff;
  border: none;
  border-radius: 9999px;
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-dark:hover {
  background: #1a1d33;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ===== RIGHT: CONTENT PANEL ===== */
.content-panel {
  position: relative;
  width: 40%;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  scroll-behavior: smooth;
}

/* Custom scrollbar */
.content-panel::-webkit-scrollbar {
  width: 4px;
}
.content-panel::-webkit-scrollbar-track {
  background: transparent;
}
.content-panel::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.15);
  border-radius: 2px;
}

/* Watercolor decorations */
.watercolor-top {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 200px;
  z-index: 1;
  pointer-events: none;
}

.watercolor-svg-top {
  width: 100%;
  height: 100%;
}

.watercolor-bottom {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 200px;
  z-index: 1;
  pointer-events: none;
}

.watercolor-svg-bottom {
  width: 100%;
  height: 100%;
}

/* Pages */
.page {
  display: none;
  position: relative;
  z-index: 2;
}

.page.active {
  display: block;
}

/* Sections */
.section {
  padding: 40px 48px;
  text-align: center;
}

.section-date {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 200px;
  padding-bottom: 200px;
}

.event-date {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 28px;
  font-weight: 400;
  color: #1D5A7D;
  margin-bottom: 32px;
  line-height: 1.4;
  animation: fadeIn 1s ease 0.3s both;
}

.eyebrow,
.section-kicker {
  color: #9A7B3B;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.event-place {
  max-width: 310px;
  margin: -20px auto 32px;
  color: #42533F;
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  line-height: 1.45;
}

.countdown {
  font-size: 14px;
  color: #8B9DAF;
  margin-bottom: 48px;
  line-height: 1.5;
  letter-spacing: 0.3px;
  animation: fadeIn 1s ease 0.5s both;
}

/* Buttons */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  background: transparent;
  border: 1.6px solid #0C0E1D;
  border-radius: 9999px;
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #0C0E1D;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.btn-outline:hover {
  background: #0C0E1D;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-outline.btn-primary {
  border-color: #1D5A7D;
  color: #1D5A7D;
  animation: fadeIn 1s ease 0.6s both;
}

.btn-outline.btn-primary:hover {
  background: #1D5A7D;
  color: #fff;
}

.view-details-link {
  display: block;
  margin-top: 40px;
  color: #1D5A7D;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
  animation: fadeIn 1s ease 0.7s both;
}

.view-details-link:hover {
  color: #0C0E1D;
}

.scroll-indicator {
  margin-top: 32px;
  padding: 8px;
  border: 0;
  background: none;
  cursor: pointer;
  animation: bounce 2s infinite;
}

/* Section titles */
.section-title {
  font-family: 'Lobster', cursive;
  font-size: 36px;
  font-weight: 400;
  color: #0C0E1D;
  margin-bottom: 28px;
}

.section-copy {
  max-width: 420px;
  margin: 0 auto 28px;
  color: #4B4B43;
  font-size: 15px;
  line-height: 1.75;
}

.story-section {
  background: #F1EBDD;
}

.section-photo {
  display: block;
  width: min(100%, 310px);
  margin: 0 auto 28px;
  object-fit: cover;
  box-shadow: 0 18px 45px rgba(24, 24, 19, 0.16);
}

.section-photo.portrait { aspect-ratio: 4 / 5; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.photo-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Schedule section */
.section-schedule {
  padding-top: 60px;
  padding-bottom: 60px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.section-schedule-detail {
  padding-top: 180px;
  padding-bottom: 60px;
}

/* App section */
.section-app {
  padding-top: 60px;
  padding-bottom: 60px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.app-description {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  max-width: 400px;
  margin: 0 auto 28px;
}

.app-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-app {
  font-size: 13px;
  padding: 10px 24px;
  text-decoration: none;
}

.btn-app svg {
  width: 18px;
  height: 18px;
}

/* Footer */
.site-footer {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 32px 24px;
  border-top: 1px solid rgba(0,0,0,0.06);
  flex-wrap: wrap;
}

.footer-link {
  font-size: 13px;
  color: #8B9DAF;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #0C0E1D;
}

.footer-brand {
  font-family: 'Lobster', cursive;
  font-size: 18px;
  color: #1D5A7D;
}

/* Palette confirmed in the project brief: champagne, black, almond and green. */
.content-panel { background: #FBF8F1; }
.event-date, .btn-outline.btn-primary, .view-details-link, .footer-brand { color: #42533F; }
.btn-outline.btn-primary { border-color: #42533F; }
.btn-outline.btn-primary:hover { background: #42533F; }
.section-title { color: #202018; }
.hero-overlay { background: linear-gradient(0deg, rgba(20, 24, 18, 0.55) 0%, rgba(20, 24, 18, 0.2) 52%, rgba(20, 24, 18, 0) 100%); }
.watercolor-top, .watercolor-bottom { opacity: 0.25; filter: sepia(0.7) hue-rotate(330deg) saturate(0.65); }

@media (max-width: 600px) {
  .photo-grid img { height: 170px; }
}

/* ===== SIDE NAVIGATION ===== */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.side-nav {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100%;
  background: #fff;
  z-index: 999;
  padding: 80px 40px 40px;
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
}

.side-nav.active {
  left: 0;
}

.nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  font-size: 28px;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.nav-close:hover {
  background: #f5f5f5;
}

.nav-link {
  display: block;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 500;
  color: #0C0E1D;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.nav-link:hover {
  color: #1D5A7D;
  padding-left: 8px;
}

/* ===== RSVP MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 48px;
  max-width: 420px;
  width: 90%;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  text-align: center;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
}

.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: #0C0E1D;
  margin-bottom: 12px;
}

.modal-text {
  font-size: 14px;
  color: #666;
  margin-bottom: 24px;
  line-height: 1.5;
}

.modal-input {
  width: 100%;
  padding: 14px 20px;
  border: 1.6px solid #ddd;
  border-radius: 12px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  margin-bottom: 16px;
  outline: none;
  transition: border-color 0.3s ease;
}

.modal-input:focus {
  border-color: #1D5A7D;
}

.btn-modal-submit {
  width: 100%;
  padding: 14px;
  font-size: 15px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-6px); }
  60% { transform: translateY(-3px); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  html, body {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .layout {
    flex-direction: column;
    height: auto;
    min-height: 100dvh;
  }

  .hero-panel {
    width: 100%;
    height: 50vh;
    min-height: 350px;
  }

  .content-panel {
    width: 100%;
    height: auto;
    flex: none;
    overflow: visible;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-content {
    bottom: 86px;
    padding: 0 24px;
  }

  .hero-bottom-bar {
    margin: 0 12px 10px;
    padding: 10px 16px;
  }

  .section {
    padding: 32px 24px;
  }

  .section-date {
    min-height: 50dvh;
    padding-top: 140px;
    padding-bottom: 140px;
  }

  .event-date {
    font-size: 22px;
  }

  .section-title {
    font-size: 28px;
  }
}

body.modal-open {
  overflow: hidden;
}

/* Refine the hero frame: the portrait stays complete without the oversized oval surround. */
@media (min-width: 901px) {
  .hero-image,
  .hero-overlay {
    inset: 24px 22% 40px;
    border-radius: 28px;
  }
}

@media (max-width: 900px) {
  .hero-image,
  .hero-overlay {
    border-radius: 28px;
  }
}

@media (max-width: 600px) {
  .hero-panel {
    height: 45vh;
    min-height: 300px;
  }

  .content-panel {
    height: auto;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 13px;
  }

  .bottom-bar-date {
    font-size: 12px;
  }

  .btn-dark {
    font-size: 12px;
    padding: 8px 18px;
  }

  .menu-btn {
    padding: 8px 12px;
  }

  .menu-text {
    font-size: 11px;
  }

  .section-date {
    min-height: 55dvh;
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .app-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* Reveal sections after JavaScript has initialized; retain content without JS. */
.js .page.active .section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .page.active .section.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 360px) {
  .hero-bottom-bar { gap: 8px; padding: 10px; }
  .hero-bottom-bar .btn-dark { padding: 8px 12px; }
  .modal { padding: 40px 24px 28px; }
}

/* Keep the scrollable content usable on short landscape screens. */
@media (max-width: 900px) and (max-height: 500px) {
  .hero-panel { height: 55dvh; min-height: 0; }
  .hero-content { bottom: 70px; }
  .hero-title { font-size: 28px; margin-bottom: 10px; }
  .hero-subtitle { font-size: 12px; line-height: 1.4; }
  .hero-bottom-bar { padding: 8px 16px; margin-bottom: 8px; }
  .menu-btn { top: 12px; padding: 8px 12px; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.modal-status {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.modal-status:empty { display: none; }

/* Long-form, distraction-free story reading. */
.story-overlay {
  position: fixed;
  z-index: 1500;
  inset: 0;
  overflow-y: auto;
  padding: clamp(24px, 5vw, 74px);
  background: #F1EBDD;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}

.story-overlay.active { opacity: 1; visibility: visible; }
.story-overlay-inner { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.35fr); gap: clamp(34px, 7vw, 110px); width: min(100%, 1280px); min-height: 100%; margin: 0 auto; align-items: center; }
.story-portrait-wrap { position: relative; align-self: center; }
.story-portrait-wrap::before { content: ''; position: absolute; inset: -18px 16px 18px -18px; border: 1px solid #C4A36A; }
.story-portrait-wrap img { position: relative; display: block; width: 100%; height: auto; max-height: 74vh; object-fit: contain; object-position: center; box-shadow: 0 22px 55px rgba(43, 43, 30, .16); }
.story-reading { max-width: 670px; padding: 16px 0 30px; color: #31362d; }
.story-reading h2 { margin: 4px 0 18px; color: #202018; font: 400 clamp(48px, 6vw, 84px)/.95 'Lobster', cursive; }
.story-reading p { max-width: 660px; margin: 0 0 21px; font-size: 17px; line-height: 1.9; }
.story-reading .story-lead { color: #961616; font: italic clamp(20px, 2.2vw, 30px)/1.45 'Playfair Display', serif; }
.story-placeholder { color: #6d695e; }
.story-rule { width: 78px; height: 1px; margin: 25px 0 28px; background: #C4A36A; }
.story-close { position: fixed; z-index: 2; top: clamp(17px, 3vw, 38px); right: clamp(20px, 4vw, 58px); display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 1px solid #42533F; border-radius: 50%; color: #42533F; background: rgba(251, 248, 241, .88); font: 400 42px/1 'Inter', sans-serif; cursor: pointer; transition: background .22s ease, color .22s ease, transform .22s ease; }
.story-close:hover { color: #D8B86F; background: #42533F; transform: rotate(90deg); }
body.story-open { overflow: hidden; }
.story-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2.5vw, 30px); width: min(100%, 1100px); margin: 42px auto 0; padding-bottom: 24px; }
.story-gallery img { display: block; width: 100%; height: auto; object-fit: contain; box-shadow: 0 18px 42px rgba(43, 43, 30, .12); }

/* Story layout from the client's reference: photos frame the copy without covering it. */
@media (min-width: 761px) {
  .story-overlay-inner {
    grid-template-columns: minmax(220px, .72fr) minmax(420px, 1.4fr) minmax(220px, .72fr);
    gap: clamp(24px, 3.5vw, 58px);
    align-items: start;
    min-height: 0;
    width: min(100%, 1380px);
  }

  .story-portrait-wrap {
    width: 100%;
    align-self: start;
  }

  .story-photo-left img {
    max-height: 66vh;
  }

  .story-photo-right {
    margin-top: 38px;
  }

  .story-photo-right img {
    max-height: 54vh;
  }

  .story-reading {
    max-width: none;
    padding: 18px 0 30px;
    text-align: center;
  }

  .story-reading p {
    margin-right: auto;
    margin-left: auto;
  }

  .story-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: center;
    width: min(100%, 900px);
    margin-top: 28px;
    gap: clamp(18px, 2.5vw, 30px);
    align-items: start;
  }

  .story-gallery img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 760px) {
  .story-photo-right {
    width: min(88%, 360px);
    margin: 0 auto 30px;
  }
}

/* Shared action language: almond surface, green border, gold on green hover. */
.btn-dark, .btn-outline, .hero-welcome, .btn-modal-submit {
  color: #42533F;
  background: #FBF8F1;
  border: 1.5px solid #42533F;
  box-shadow: none;
}

.btn-dark:hover, .btn-outline:hover, .hero-welcome:hover, .btn-modal-submit:hover {
  color: #D8B86F;
  background: #42533F;
  border-color: #42533F;
  box-shadow: 0 10px 22px rgba(48, 70, 53, .17);
}

.hero-welcome span, .hero-welcome:hover span { color: inherit; }

/* Editorial hero: a centered portrait, with the wedding details held inside it. */
.hero-panel {
  background: #e9e1d1;
  padding: 34px 7% 112px;
}

.hero-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(200, 169, 108, 0.36), transparent 31%),
    radial-gradient(circle at 84% 73%, rgba(66, 83, 63, 0.26), transparent 32%),
    #e9e1d1;
}

.hero-image,
.hero-overlay {
  inset: 34px 15% 112px;
  border-radius: 180px 180px 8px 8px;
}

.hero-image {
  z-index: 1;
  background-position: center;
  box-shadow: 0 24px 60px rgba(37, 42, 30, 0.23);
  will-change: opacity, transform, filter;
}

.hero-venue {
  opacity: 0;
  background-image: url('assets/venue/lac-carling-officiel.jpg');
  background-position: center;
  animation: coupleFrame 16s cubic-bezier(.5,0,.5,1) infinite;
}

.hero-couple {
  z-index: 2;
  opacity: 1;
  /* sp-1-wide.jpg: sp-1.jpg with the canvas extended on each side (blurred fill)
     so the wide frame can be filled with "cover" at the same zoom level the
     client approved, without re-cropping down to just head/shoulders. */
  background-image: url('assets/source-photos/story-seated.jpg');
  background-size: contain;
  background-position: center;
  background-color: transparent;
  background-repeat: no-repeat;
  animation: venueFrame 16s cubic-bezier(.5,0,.5,1) infinite;
}

.hero-floral {
  position: absolute;
  z-index: 4;
  left: -6%;
  bottom: 58px;
  width: min(43%, 330px);
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 10px 14px rgba(32, 37, 25, 0.18));
  animation: floralFloat 5s ease-in-out infinite;
}

.hero-overlay {
  z-index: 3;
  background: linear-gradient(0deg, rgba(20, 24, 18, 0.7) 0%, rgba(20, 24, 18, 0.14) 58%, rgba(20, 24, 18, 0) 100%);
}

.menu-btn { z-index: 5; }

.hero-content {
  z-index: 4;
  bottom: 142px;
  padding: 0 15%;
  text-align: center;
  animation: invitationLift 1s cubic-bezier(.2,.74,.22,1) .18s both;
}

.hero-kicker {
  margin: 0 0 9px;
  color: #f7ebcc;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-title { margin-bottom: 8px; }

.hero-date {
  margin: 0;
  color: #f7e0ab;
  font: 400 17px 'Playfair Display', serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-details {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 11px;
  margin-top: 9px;
  color: #fff4d9;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-welcome {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 18px;
  padding: 10px 21px 9px;
  color: #42533F;
  background: rgba(255, 252, 244, 0.93);
  border: 1px solid rgba(220, 191, 132, 0.9);
  box-shadow: 0 8px 20px rgba(10, 15, 10, 0.14);
  text-decoration: none;
  transition: transform .25s ease, background .25s ease;
}

.hero-welcome:hover { transform: translateY(-2px); background: #fffaf0; }
.hero-welcome strong { font: 400 17px 'Playfair Display', serif; }
.hero-welcome span { color: #8a744b; font-size: 8px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

.hero-details i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d7b677;
}

.hero-bottom-bar {
  z-index: 5;
  left: 12%;
  right: 12%;
  margin: 0 0 20px;
  background: rgba(253, 249, 239, 0.9);
  border: 1px solid rgba(191, 160, 102, 0.55);
  box-shadow: 0 10px 30px rgba(45, 43, 31, 0.12);
}

.hero-bottom-bar .btn-dark { background: #42533F; }
.hero-bottom-bar .btn-dark:hover { background: #263b2a; }

.photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.photo-grid img:first-child { object-position: center 24%; }

/* Layered venue image and portrait. */
.venue-editorial {
  position: relative;
  width: min(100%, 490px);
  min-height: 335px;
  margin: 4px auto 30px;
  padding: 18px 0 0;
}

.venue-exterior {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 150px 150px 6px 6px;
  box-shadow: 0 18px 42px rgba(37, 42, 30, 0.17);
}

.venue-ceremony {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 37%;
  height: 185px;
  object-fit: cover;
  border: 7px solid #FBF8F1;
  box-shadow: 0 15px 34px rgba(37, 42, 30, 0.17);
}

.venue-note {
  position: absolute;
  right: 2%;
  bottom: 12px;
  z-index: 1;
  min-width: 122px;
  padding: 14px 17px 13px;
  color: #42533F;
  background: rgba(251, 248, 241, 0.94);
  border: 1px solid rgba(196, 163, 106, 0.65);
  text-align: left;
}

.venue-title-card {
  position: absolute;
  z-index: 2;
  top: 42px;
  left: 2%;
  padding: 15px 18px 14px;
  color: #fffaf0;
  background: rgba(49, 70, 53, 0.9);
  text-align: left;
  box-shadow: 0 10px 24px rgba(37, 42, 30, 0.18);
}

.venue-title-card span { display: block; margin-bottom: 3px; color: #e6cb96; font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.venue-title-card strong { font: 400 23px/0.93 'Playfair Display', serif; }

.venue-note span { display: block; font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.venue-note strong { display: block; margin-top: 2px; font: 400 21px 'Playfair Display', serif; }
.venue-note i { display: block; width: 28px; height: 1px; margin-top: 8px; background: #C4A36A; }
.venue-caption { margin: 18px auto 0; color: #827d70; font-size: 10px; font-style: italic; }

.photo-grid figure { position: relative; min-width: 0; margin: 0; overflow: hidden; background: #42533F; }
.photo-grid img { display: block; transition: transform .8s cubic-bezier(.2,.65,.25,1); }
.photo-grid figure::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(23, 29, 20, .72), transparent 48%); pointer-events: none; }
.photo-grid figure:hover img { transform: scale(1.06); }
.photo-grid figcaption { position: absolute; z-index: 1; right: 12px; bottom: 11px; left: 12px; color: #fffaf0; font: italic 15px/1.15 'Playfair Display', serif; text-align: left; }
.photo-grid figcaption span { display: block; margin-top: 3px; color: #f0d9a7; font: 700 8px 'Inter', sans-serif; letter-spacing: .14em; text-transform: uppercase; }

@keyframes floralFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, -8px, 0) rotate(-1deg); }
}

@keyframes venueFrame {
  0%, 43% { opacity: 1; filter: saturate(1.03) sepia(0) brightness(1); transform: translateY(0) scale(1); }
  50%, 93% { opacity: 0; filter: saturate(.72) sepia(.16) brightness(.9); transform: translateY(-16px) scale(1.035); }
  100% { opacity: 1; filter: saturate(1.03) sepia(0) brightness(1); transform: translateY(0) scale(1); }
}

@keyframes coupleFrame {
  0%, 43% { opacity: 0; filter: saturate(.68) sepia(.18) brightness(.88); transform: translateY(20px) scale(.98); }
  50%, 93% { opacity: 1; filter: saturate(1.04) sepia(0) brightness(1); transform: translateY(0) scale(1); }
  100% { opacity: 0; filter: saturate(.7) sepia(.15) brightness(.9); transform: translateY(-18px) scale(1.035); }
}

@keyframes heroFrameIn {
  from { opacity: 0; transform: translateY(28px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

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

@media (max-width: 900px) {
  .hero-panel { padding: 18px 8% 92px; }
  .hero-image, .hero-overlay { inset: 18px 8% 92px; border-radius: 130px 130px 6px 6px; }
  .hero-content { bottom: 118px; padding: 0 13%; }
  .hero-floral { bottom: 48px; width: min(37%, 260px); }
  .hero-kicker { font-size: 9px; }
  .hero-date { font-size: 15px; }
  .hero-details { margin-top: 8px; font-size: 9px; }
  .hero-welcome { margin-top: 14px; padding: 9px 17px 8px; }
  .hero-bottom-bar { left: 8%; right: 8%; margin-bottom: 13px; }
  .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .venue-editorial { min-height: 315px; }
  .venue-exterior { height: 278px; }
  .venue-ceremony { height: 170px; }
}

@media (max-width: 600px) {
  .hero-panel { padding: 14px 9% 78px; }
  .hero-image, .hero-overlay { inset: 14px 9% 78px; border-radius: 100px 100px 5px 5px; }
  .hero-content { bottom: 94px; padding: 0 13%; }
  .hero-floral { left: -11%; bottom: 30px; width: 45%; }
  .hero-title { font-size: 34px; }
  .hero-date { font-size: 13px; }
  .hero-details { gap: 7px; font-size: 8px; white-space: nowrap; }
  .hero-welcome { margin-top: 11px; padding: 8px 14px 7px; }
  .hero-welcome strong { font-size: 14px; }
  .hero-bottom-bar { left: 9%; right: 9%; margin-bottom: 10px; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-grid figure:last-child { grid-column: 1 / -1; }
  .photo-grid figure:last-child img { height: 230px; }
  .venue-editorial { min-height: 275px; padding-left: 0; }
  .venue-exterior { width: 100%; height: 242px; border-radius: 115px 115px 5px 5px; }
  .venue-ceremony { width: 40%; height: 145px; border-width: 5px; }
  .venue-note { right: 0; bottom: 4px; min-width: 108px; padding: 11px 13px; }
  .venue-title-card { top: 29px; left: 0; padding: 11px 13px; }
  .venue-title-card strong { font-size: 19px; }
  .venue-note strong { font-size: 18px; }
}

/* Keep the shared button treatment consistent, including the hero bar. */
.hero-bottom-bar .btn-dark { color: #42533F; background: #FBF8F1; border: 1.5px solid #42533F; }
.hero-bottom-bar .btn-dark:hover { color: #D8B86F; background: #42533F; border-color: #42533F; }
.hero-welcome { color: #42533F; background: #FBF8F1; border: 1.5px solid #42533F; }
.hero-welcome:hover { color: #D8B86F; background: #42533F; border-color: #42533F; }

@media (max-width: 760px) {
  .story-overlay { padding: 84px 24px 34px; }
  .story-overlay-inner { display: block; }
  .story-portrait-wrap { width: min(74%, 340px); margin: 0 auto 42px; }
  .story-portrait-wrap img { max-height: none; aspect-ratio: auto; object-fit: contain; }
  .story-reading { margin: 0 auto; }
  .story-reading h2 { font-size: 54px; }
  .story-reading p { font-size: 16px; line-height: 1.8; }
  .story-close { width: 45px; height: 45px; font-size: 36px; }
  .story-gallery { grid-template-columns: 1fr; margin-top: 20px; }
}

/* The two hero actions now share one aligned invitation bar. */
.hero-bottom-bar {
  justify-content: center;
  gap: 10px;
}

.hero-bottom-bar .hero-action {
  flex: 1 1 0;
  max-width: 260px;
  min-height: 46px;
  padding: 11px 14px;
  font-size: 12px;
  letter-spacing: .035em;
}

.story-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.story-section .section-title { margin-bottom: 20px; }
.story-discover { margin: 0 0 34px; }
.story-preview-photo { margin: 0 auto; }

/* Primary RSVP actions keep the richer green invitation colour. */
.btn-outline.btn-primary {
  color: #fff;
  background: #42533F;
  border-color: #42533F;
  box-shadow: 0 11px 23px rgba(48, 70, 53, .18);
}

.btn-outline.btn-primary:hover {
  color: #D8B86F;
  background: #42533F;
  border-color: #42533F;
}

/* Venue details use the same full-screen language as the story. */
.venue-overlay {
  position: fixed;
  z-index: 1500;
  inset: 0;
  overflow-y: auto;
  padding: clamp(24px, 5vw, 74px);
  background: #F1EBDD;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}

.venue-overlay.active { opacity: 1; visibility: visible; }
.venue-overlay-inner { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.35fr); gap: clamp(34px, 7vw, 110px); width: min(100%, 1280px); min-height: 100%; margin: 0 auto; align-items: center; }
.venue-portrait-wrap { position: relative; align-self: center; }
.venue-portrait-wrap::before { content: ''; position: absolute; inset: -18px 16px 18px -18px; border: 1px solid #C4A36A; }
.venue-portrait-wrap img { position: relative; display: block; width: 100%; max-height: 74vh; object-fit: cover; box-shadow: 0 22px 55px rgba(43, 43, 30, .16); }
.venue-reading { max-width: 670px; padding: 16px 0 30px; color: #31362d; }
.venue-reading h2 { margin: 4px 0 18px; color: #202018; font: 400 clamp(48px, 6vw, 84px)/.95 'Lobster', cursive; }
.venue-lead { max-width: 620px; margin: 0 0 25px; color: #51604d; font: italic clamp(20px, 2.2vw, 30px)/1.45 'Playfair Display', serif; }
.venue-rule { width: 78px; height: 1px; margin: 25px 0 28px; background: #C4A36A; }
.venue-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; margin: 0 0 27px; padding: 20px 0; border-top: 1px solid rgba(196, 163, 106, .8); border-bottom: 1px solid rgba(196, 163, 106, .8); }
.venue-facts div { min-width: 0; }
.venue-facts dt { margin-bottom: 7px; color: #927643; font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.venue-facts dd { margin: 0; color: #303a30; font: 400 18px/1.35 'Playfair Display', serif; }
.venue-note-detail { max-width: 630px; margin: 0 0 25px; font-size: 16px; line-height: 1.75; }
.venue-close { position: fixed; z-index: 2; top: clamp(17px, 3vw, 38px); right: clamp(20px, 4vw, 58px); display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 1px solid #42533F; border-radius: 50%; color: #42533F; background: rgba(251, 248, 241, .88); font: 400 42px/1 'Inter', sans-serif; cursor: pointer; transition: background .22s ease, color .22s ease, transform .22s ease; }
.venue-close:hover { color: #D8B86F; background: #42533F; transform: rotate(90deg); }
body.venue-open { overflow: hidden; }

/* Reservation has the same full-screen, editorial treatment as the story. */
.rsvp-overlay {
  position: fixed;
  z-index: 1500;
  inset: 0;
  overflow-y: auto;
  padding: clamp(24px, 5vw, 74px);
  background: #F1EBDD;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}

.rsvp-overlay.active { opacity: 1; visibility: visible; }
.rsvp-overlay-inner {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.35fr);
  gap: clamp(34px, 7vw, 110px);
  width: min(100%, 1280px);
  min-height: 100%;
  margin: 0 auto;
  align-items: center;
}

.rsvp-image-wrap { position: relative; margin: 0; }
.rsvp-image-wrap::before { content: ''; position: absolute; inset: -18px 16px 18px -18px; border: 1px solid #C4A36A; }
.rsvp-image-wrap img { position: relative; display: block; width: 100%; max-height: 74vh; object-fit: cover; box-shadow: 0 22px 55px rgba(43, 43, 30, .16); }
.rsvp-reading { max-width: 670px; padding: 16px 0 30px; color: #31362d; }
.rsvp-reading h2 { margin: 4px 0 18px; color: #202018; font: 400 clamp(48px, 6vw, 84px)/.95 'Lobster', cursive; }
.rsvp-lead { max-width: 620px; margin: 0 0 25px; color: #51604d; font: italic clamp(20px, 2.2vw, 30px)/1.45 'Playfair Display', serif; }
.rsvp-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; margin: 0 0 27px; padding: 20px 0; border-top: 1px solid rgba(196, 163, 106, .8); border-bottom: 1px solid rgba(196, 163, 106, .8); }
.rsvp-facts div { min-width: 0; }
.rsvp-facts dt { margin-bottom: 7px; color: #927643; font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.rsvp-facts dd { margin: 0; color: #303a30; font: 400 18px/1.35 'Playfair Display', serif; }
.rsvp-note { max-width: 630px; margin: 0 0 21px; font-size: 16px; line-height: 1.75; }
.rsvp-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: start; max-width: 630px; }
.rsvp-form .modal-input { width: 100%; min-height: 48px; }
.rsvp-form .btn-modal-submit { min-height: 48px; padding-inline: 19px; white-space: nowrap; }
.rsvp-form .modal-status { grid-column: 1 / -1; margin: 0; }
.rsvp-close { position: fixed; z-index: 2; top: clamp(17px, 3vw, 38px); right: clamp(20px, 4vw, 58px); display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 1px solid #42533F; border-radius: 50%; color: #42533F; background: rgba(251, 248, 241, .88); font: 400 42px/1 'Inter', sans-serif; cursor: pointer; transition: background .22s ease, color .22s ease, transform .22s ease; }
.rsvp-close:hover { color: #D8B86F; background: #42533F; transform: rotate(90deg); }
body.rsvp-open { overflow: hidden; }

@media (max-width: 760px) {
  .hero-bottom-bar { gap: 7px; padding: 9px; }
  .hero-bottom-bar .hero-action { min-height: 40px; padding: 8px 9px; font-size: 10px; line-height: 1.2; }
  .rsvp-overlay { padding: 84px 24px 34px; }
  .rsvp-overlay-inner { display: block; }
  .rsvp-image-wrap { width: min(74%, 340px); margin: 0 auto 42px; }
  .rsvp-image-wrap img { max-height: none; aspect-ratio: 4 / 5; }
  .rsvp-reading { margin: 0 auto; }
  .rsvp-reading h2 { font-size: 54px; }
  .rsvp-facts { grid-template-columns: 1fr; gap: 14px; }
  .rsvp-facts dd { font-size: 18px; }
  .rsvp-form { grid-template-columns: 1fr; }
  .rsvp-form .btn-modal-submit { width: 100%; }
  .rsvp-close { width: 45px; height: 45px; font-size: 36px; }
  .venue-overlay { padding: 84px 24px 34px; }
  .venue-overlay-inner { display: block; }
  .venue-portrait-wrap { width: min(74%, 340px); margin: 0 auto 42px; }
  .venue-portrait-wrap img { max-height: none; aspect-ratio: 4 / 5; }
  .venue-reading { margin: 0 auto; }
  .venue-reading h2 { font-size: 54px; }
  .venue-facts { grid-template-columns: 1fr; gap: 14px; }
  .venue-facts dd { font-size: 18px; }
  .venue-close { width: 45px; height: 45px; font-size: 36px; }
}

:focus-visible {
  outline: 2px solid #1D5A7D;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* The original split invitation remains intact; navigation lives above it. */
.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  height: 76px;
  padding: 0 clamp(20px, 3vw, 54px);
  background: #fbf8f1;
  border-bottom: 1px solid rgba(66, 83, 63, .18);
}

.desktop-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr);
  align-items: center;
  gap: clamp(13px, 1.6vw, 28px);
  width: 100%;
  max-width: 1450px;
  margin: auto;
}

.nav-group { display: flex; align-items: center; justify-content: space-around; gap: 10px; }
.nav-group a {
  color: #42533f;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .07em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}
.nav-group a:hover, .nav-group a:focus-visible { color: #a88138; }
.header-brand { display: block; width: 58px; height: 58px; }
.header-brand img { display: block; width: 100%; height: 100%; object-fit: contain; }
.mobile-brand, .site-header .menu-btn { display: none; }
.layout { height: calc(100vh - 76px); height: calc(100dvh - 76px); }
.venue-ceremony { object-position: center 25%; }
.venue-exterior { object-position: center; }
.side-nav { overflow: hidden; }
body.menu-open { overflow: hidden; }

/* The desktop home panel is a fixed presentation; menu pages own their scrolling. */
@media (min-width: 901px) {
  .content-panel { overflow: hidden; }
  #page-home { height: 100%; }
  #page-home > .section:not(.section-schedule),
  #page-home > .site-footer { display: none; }
  .section-schedule {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 28px;
    padding-bottom: 28px;
  }
}

/* Additional sections use the same full-screen presentation as story and venue. */
.info-overlay {
  position: fixed;
  z-index: 1500;
  inset: 0;
  overflow-y: auto;
  padding: clamp(24px, 5vw, 74px);
  background: #f1ebdd;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}
.info-overlay.active { opacity: 1; visibility: visible; }
.info-overlay-inner {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.35fr);
  gap: clamp(34px, 7vw, 110px);
  align-items: center;
  width: min(100%, 1280px);
  min-height: 100%;
  margin: 0 auto;
}
.info-cover {
  display: block;
  width: 100%;
  max-height: 74vh;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: 0 22px 55px rgba(43, 43, 30, .16);
}
.info-floral { display: grid; place-items: center; min-height: 420px; }
.info-floral img { display: block; width: min(100%, 420px); filter: drop-shadow(0 15px 24px rgba(43,43,30,.12)); }
.info-reading { max-width: 670px; padding: 16px 0 30px; color: #31362d; }
.info-reading h2 {
  margin: 4px 0 18px;
  color: #202018;
  font: 400 clamp(48px, 6vw, 84px)/.95 'Lobster', cursive;
}
.info-reading p { max-width: 640px; margin: 0 0 21px; font-size: 17px; line-height: 1.85; }
.info-reading .info-lead {
  color: #51604d;
  font: italic clamp(20px, 2.2vw, 30px)/1.45 'Playfair Display', serif;
}
#programmeOverlay .section-kicker {
  display: inline-block;
  padding-bottom: 7px;
  border-bottom: 1px solid #c4a36a;
}
.info-rule { width: 78px; height: 1px; margin: 25px 0 28px; background: #c4a36a; }
.overlay-close {
  position: fixed;
  z-index: 2;
  top: clamp(17px, 3vw, 38px);
  right: clamp(20px, 4vw, 58px);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  color: #42533f;
  background: rgba(251, 248, 241, .9);
  border: 1px solid #42533f;
  border-radius: 50%;
  font: 400 42px/1 'Inter', sans-serif;
  cursor: pointer;
  transition: background .22s ease, color .22s ease, transform .22s ease;
}
.overlay-close:hover { color: #d8b86f; background: #42533f; transform: rotate(90deg); }
body.overlay-open { overflow: hidden; }

@media (max-width: 1180px) {
  .desktop-nav { display: none; }
  .mobile-brand { display: flex; align-items: center; gap: 8px; color: #42533f; font: 400 22px 'Lobster', cursive; text-decoration: none; }
  .mobile-brand img { width: 48px; height: 48px; object-fit: contain; }
  .site-header .menu-btn { position: static; display: flex; margin-left: auto; color: #42533f; border-color: #42533f; }
  .site-header .menu-icon span { background: #42533f; }
}

@media (max-width: 900px) {
  .layout { height: auto; min-height: calc(100dvh - 76px); }
}

@media (max-width: 760px) {
  .site-header { height: 66px; padding: 0 16px; }
  .mobile-brand { font-size: 20px; }
  .mobile-brand img { width: 42px; height: 42px; }
  .info-overlay { padding: 84px 24px 34px; }
  .info-overlay-inner { display: block; }
  .info-cover { width: 100%; max-height: none; aspect-ratio: 16 / 10; margin: 0 auto 40px; }
  .info-floral { min-height: 0; width: min(70%, 280px); margin: 0 auto 30px; }
  .info-reading { margin: 0 auto; }
  .info-reading h2 { font-size: 54px; }
  .info-reading p { font-size: 16px; line-height: 1.8; }
  .overlay-close { width: 45px; height: 45px; font-size: 36px; }
}

/* Canonical wedding actions: beige and green, then green and gold on hover. */
:root {
  --action-beige: #FBF8F1;
  --action-green: #004C22;
  --action-gold: #A47D00;
}

.btn-dark,
.btn-outline,
.btn-outline.btn-primary,
.btn-modal-submit {
  color: var(--action-green);
  background: var(--action-beige);
  border: 1.5px solid var(--action-green);
  box-shadow: none;
}

.btn-dark:hover,
.btn-outline:hover,
.btn-outline.btn-primary:hover,
.btn-modal-submit:hover {
  color: var(--action-gold);
  background: var(--action-green);
  border-color: var(--action-green);
  box-shadow: 0 10px 22px rgba(0, 76, 34, .18);
}

.menu-btn {
  color: var(--action-green);
  background: var(--action-beige);
  border-color: var(--action-green);
}

.menu-icon span,
.site-header .menu-icon span { background: var(--action-green); }
.menu-btn:hover,
.site-header .menu-btn:hover { color: var(--action-gold); background: var(--action-green); border-color: var(--action-green); }
.menu-btn:hover .menu-icon span,
.site-header .menu-btn:hover .menu-icon span { background: var(--action-gold); }

.story-close,
.venue-close,
.rsvp-close,
.overlay-close {
  color: var(--action-green);
  background: rgba(251, 248, 241, .94);
  border-color: var(--action-green);
}

.story-close:hover,
.venue-close:hover,
.rsvp-close:hover,
.overlay-close:hover {
  color: var(--action-gold);
  background: var(--action-green);
  border-color: var(--action-green);
}

/* The single hero action is a button, without a second pill around it. */
.hero-bottom-bar {
  left: 0;
  right: 0;
  bottom: 20px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  pointer-events: none;
}

.hero-bottom-bar .hero-action {
  flex: 0 0 auto;
  width: auto;
  min-width: 230px;
  max-width: none;
  min-height: 48px;
  padding: 12px 30px;
  color: var(--action-green);
  background: var(--action-beige);
  border: 1.5px solid var(--action-green);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  pointer-events: auto;
}

.hero-bottom-bar .hero-action:hover {
  color: var(--action-gold);
  background: var(--action-green);
  border-color: var(--action-green);
}

@media (max-width: 760px) {
  .hero-bottom-bar { bottom: 17px; padding: 0; }
  .hero-bottom-bar .hero-action {
    min-width: 210px;
    min-height: 44px;
    padding: 10px 24px;
    font-size: 12px;
  }
}

/* Client-approved invitation colours and wording. */
.hero-title,
.story-section .section-title {
  color: var(--action-green);
}

.story-section .section-title {
  color: #961616;
}

.hero-title {
  text-shadow:
    0 1px 0 rgba(251, 248, 241, .92),
    0 2px 14px rgba(251, 248, 241, .78);
}

.hero-ampersand,
.hero-kicker {
  color: #F0C95A;
  text-shadow: 0 2px 12px rgba(20, 24, 18, .56);
}

.hero-details {
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(20, 24, 18, .72);
}

/* Keep the complete invitation on the Lac Carling photograph. */
.hero-image,
.hero-overlay {
  inset: 18px 15% 72px;
}

.hero-content {
  bottom: clamp(136px, 17vh, 166px);
}

.hero-invitation {
  display: block;
  max-width: 410px;
  margin: 0 auto;
  padding: 0;
  color: var(--action-green);
  background: transparent;
  box-shadow: none;
  font: italic 15px/1.45 'Playfair Display', serif;
}

.hero-bottom-bar {
  left: 9%;
  right: 9%;
  bottom: 22px;
  flex-direction: column;
  gap: 8px;
}

.hero-bottom-bar .hero-action {
  display: flex;
  min-width: 230px;
  min-height: 46px;
  margin: 0 auto;
  justify-content: center;
  color: var(--action-green);
  background: var(--action-beige);
  border-color: var(--action-green);
  font-weight: 600;
}

.hero-bottom-bar .hero-action:hover {
  color: var(--action-gold);
  background: var(--action-green);
  border-color: var(--action-green);
}

@media (min-width: 901px) {
  /* Restore the larger hero image presentation. */
  .hero-image,
  .hero-overlay {
    bottom: 40px;
  }

  .hero-invitation {
    color: #f7e0ab;
    text-shadow: 0 1px 5px rgba(20, 24, 18, .92);
  }
}

@media (max-width: 900px) {
  .hero-panel {
    height: calc(100svh - 76px);
    min-height: 650px;
  }

  .hero-image,
  .hero-overlay {
    inset: 18px 8% 70px;
  }

  .hero-content {
    bottom: 116px;
    padding: 0 13%;
  }

  .hero-bottom-bar { bottom: 18px; }
}

@media (max-width: 600px) {
  .hero-panel {
    height: clamp(650px, calc(100svh - 66px), 760px);
    min-height: 650px;
    padding: 8px 2.5% 10px;
  }

  .hero-image,
  .hero-overlay {
    inset: 4px 1.5% 56px;
    border-radius: 76px 76px 6px 6px;
  }

  .hero-content {
    bottom: 104px;
    padding: 0 9%;
  }

  .hero-floral { bottom: 72px; }

  .hero-bottom-bar {
    left: 2.5%;
    right: 2.5%;
    bottom: 12px;
  }

  .hero-venue { background-position: center 48%; }

  .hero-couple {
    background-size: contain;
    background-position: center;
  }

  .hero-invitation {
    max-width: 310px;
    margin: 0 auto;
    padding: 0;
    color: #f7e0ab;
    text-shadow: 0 1px 5px rgba(20, 24, 18, .92);
    font-size: 13px;
  }

  .hero-bottom-bar .hero-action {
    min-width: 215px;
    min-height: 44px;
    padding: 10px 22px;
    font-size: 12px;
  }
}

@media (max-width: 900px) and (max-height: 500px) {
  .hero-panel { height: 500px; min-height: 500px; }
  .hero-content { bottom: 102px; }
  .hero-invitation { margin: 9px auto 8px; padding-block: 4px; }
}

@media (max-width: 600px) {
  .hero-image,
  .hero-overlay {
    border-radius: 28px;
  }
}

/* Client-approved button language: venue-card green, white serif text, gold hover. */
.btn-dark,
.btn-outline,
.btn-outline.btn-primary,
.btn-modal-submit,
.hero-bottom-bar .hero-action {
  min-height: 46px;
  padding: 11px 25px;
  color: #fffaf0;
  background: #314635;
  border: 1px solid #314635;
  border-radius: 0;
  box-shadow: none;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .01em;
  text-decoration: none;
  transition: color .22s ease, background .22s ease, border-color .22s ease;
}

.btn-dark:hover,
.btn-outline:hover,
.btn-outline.btn-primary:hover,
.btn-modal-submit:hover,
.hero-bottom-bar .hero-action:hover {
  color: #314635;
  background: #c4a36a;
  border-color: #c4a36a;
  box-shadow: none;
  transform: none;
}

.menu-btn,
.site-header .menu-btn {
  color: #fffaf0;
  background: #314635;
  border-color: #314635;
  border-radius: 0;
  font-family: 'Playfair Display', serif;
  font-weight: 400;
}

.menu-btn .menu-icon span,
.site-header .menu-btn .menu-icon span { background: #fffaf0; }

.menu-btn:hover,
.site-header .menu-btn:hover {
  color: #314635;
  background: #c4a36a;
  border-color: #c4a36a;
}

.menu-btn:hover .menu-icon span,
.site-header .menu-btn:hover .menu-icon span { background: #314635; }

.story-close:hover,
.venue-close:hover,
.rsvp-close:hover,
.overlay-close:hover,
.nav-close:hover,
.modal-close:hover {
  color: #314635;
  background: #c4a36a;
  border-color: #c4a36a;
}

/* Navigation controls are black, then gold on hover. */
.nav-group a,
.nav-link {
  color: #0c0e1d;
}

.nav-group a:hover,
.nav-group a:focus-visible,
.nav-link:hover,
.nav-link:focus-visible {
  color: #a47d00;
}

.menu-btn,
.site-header .menu-btn {
  color: #fffaf0;
  background: #0c0e1d;
  border-color: #0c0e1d;
}

.menu-btn:hover,
.menu-btn:focus-visible,
.site-header .menu-btn:hover,
.site-header .menu-btn:focus-visible {
  color: #0c0e1d;
  background: #c4a36a;
  border-color: #c4a36a;
}

.menu-btn:hover .menu-icon span,
.menu-btn:focus-visible .menu-icon span,
.site-header .menu-btn:hover .menu-icon span,
.site-header .menu-btn:focus-visible .menu-icon span { background: #0c0e1d; }

/* Menu pages — centered editorial layout based on the final client copy. */
.venue-overlay,
.rsvp-overlay,
.info-overlay {
  padding-top: clamp(86px, 8vw, 116px);
  padding-bottom: clamp(48px, 7vw, 92px);
}

.venue-overlay-inner.menu-detail-page,
.rsvp-overlay-inner.menu-detail-page,
.info-overlay-inner.menu-detail-page {
  display: block;
  width: min(100%, 1040px);
  min-height: 0;
  margin: 0 auto;
}

.menu-detail-reading,
.venue-reading.menu-detail-reading,
.rsvp-reading.menu-detail-reading,
.info-reading.menu-detail-reading {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0;
  color: #31362d;
  text-align: center;
}

.menu-detail-reading > .section-kicker {
  display: inline-block;
  margin: 0 auto 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid #c4a36a;
}

.menu-detail-reading > h2,
.venue-reading.menu-detail-reading h2,
.rsvp-reading.menu-detail-reading h2,
.info-reading.menu-detail-reading h2 {
  margin: 0 0 clamp(30px, 5vw, 52px);
  color: #202018;
  font: 400 clamp(52px, 7vw, 88px)/.95 'Lobster', cursive;
  text-align: center;
}

.menu-detail-image {
  width: min(100%, 860px);
  margin: 0 auto clamp(30px, 5vw, 52px);
  overflow: hidden;
  background: #e9e1d2;
  box-shadow: 0 22px 55px rgba(43, 43, 30, .16);
}

.menu-detail-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-detail-image--wide {
  aspect-ratio: 3 / 2;
  border-radius: 180px 180px 6px 6px;
}

#rsvpOverlay .menu-detail-image--wide {
  width: min(100%, 720px);
}

.menu-detail-image--square {
  width: min(70vw, 390px);
  aspect-ratio: 1;
  box-shadow: 0 18px 44px rgba(43, 43, 30, .13);
}

#giftsOverlay .menu-detail-image--square {
  width: min(46vw, 285px);
}

.menu-detail-image--floral {
  width: min(72vw, 390px);
  aspect-ratio: 577 / 532;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.menu-detail-copy {
  width: min(100%, 820px);
  margin: 0 auto clamp(34px, 5vw, 56px);
  text-align: center;
}

.menu-detail-copy p,
.info-reading.menu-detail-reading .menu-detail-copy p {
  max-width: 820px;
  margin: 0 auto 18px;
  font-size: 17px;
  line-height: 1.8;
}

.menu-detail-copy h3,
.menu-detail-card h3 {
  margin: 0 auto 24px;
  color: #202018;
  font: 400 clamp(27px, 3.6vw, 40px)/1.15 'Playfair Display', serif;
}

.menu-detail-card {
  width: min(100%, 900px);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 54px);
  background: rgba(251, 248, 241, .78);
  border: 1px solid rgba(196, 163, 106, .65);
  box-shadow: 0 18px 48px rgba(43, 43, 30, .08);
  text-align: center;
}

.menu-detail-card > .section-kicker {
  margin-bottom: 10px;
}

.menu-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 28px;
  border-top: 1px solid rgba(196, 163, 106, .55);
}

.menu-detail-list > div {
  padding: 22px 18px;
  border-bottom: 1px solid rgba(196, 163, 106, .55);
}

.menu-detail-list > div:nth-child(odd) {
  border-right: 1px solid rgba(196, 163, 106, .55);
}

.menu-detail-list dt {
  margin-bottom: 8px;
  color: #927643;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.menu-detail-list dd {
  margin: 0;
  color: #303a30;
  font: 400 17px/1.6 'Playfair Display', serif;
}

.menu-detail-note {
  max-width: 760px;
  margin: 0 auto 26px;
  color: #202018;
  font-size: 15px;
  line-height: 1.7;
}

.rsvp-price {
  width: fit-content;
  margin: 28px auto !important;
  padding: 14px 24px;
  color: #314635;
  background: #fbf8f1;
  border: 1px solid #c4a36a;
  font-family: 'Playfair Display', serif;
}

.reservation-steps {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .75fr);
  gap: 24px;
  align-items: start;
  width: min(100%, 980px);
  margin: 0 auto;
}

.reservation-step {
  width: 100%;
  min-height: 100%;
}

.step-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 16px;
  color: #fffaf0;
  background: #314635;
  border-radius: 50%;
  font: 700 17px 'Playfair Display', serif;
}

.reservation-step > p,
.payment-or {
  margin: 0 auto 15px;
  font-size: 16px;
  line-height: 1.65;
}

.reservation-step .menu-email {
  font-size: clamp(15px, 1.4vw, 19px);
  white-space: nowrap;
  overflow-wrap: normal;
}

.reservation-form-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.menu-email {
  display: inline-block;
  max-width: 100%;
  margin: 0 auto 18px;
  color: #314635;
  font: 700 clamp(16px, 2.5vw, 22px)/1.4 'Playfair Display', serif;
  overflow-wrap: anywhere;
  text-underline-offset: 5px;
}

.detail-link-placeholder {
  color: #a47d00;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.menu-thank-you {
  margin-top: 28px !important;
  color: #51604d;
  font: italic clamp(20px, 2.6vw, 28px)/1.5 'Playfair Display', serif !important;
}

/* Contact: floral composition on the left, information on the right. */
#contactOverlay .menu-detail-reading {
  display: grid;
  grid-template-columns: minmax(280px, 390px) minmax(360px, 1fr);
  gap: clamp(46px, 7vw, 90px);
  align-items: center;
  text-align: left;
}

#contactOverlay .menu-detail-image--floral {
  width: 100%;
  margin: 0;
}

#contactOverlay .contact-content {
  min-width: 0;
}

#contactOverlay .contact-content > .section-kicker {
  display: inline-block;
  margin: 0 0 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid #c4a36a;
}

#contactOverlay .contact-content > h2 {
  margin: 0 0 34px;
  color: #202018;
  font: 400 clamp(38px, 4.8vw, 68px)/1 'Lobster', cursive;
  text-align: left;
}

#contactOverlay .menu-detail-copy,
#contactOverlay .menu-detail-copy p,
#contactOverlay .info-reading.menu-detail-reading .menu-detail-copy p {
  margin-left: 0;
  text-align: left;
}

@media (max-width: 760px) {
  .venue-overlay,
  .rsvp-overlay,
  .info-overlay {
    padding: 84px 18px 42px;
  }

  .menu-detail-reading > h2,
  .venue-reading.menu-detail-reading h2,
  .rsvp-reading.menu-detail-reading h2,
  .info-reading.menu-detail-reading h2 {
    margin-bottom: 30px;
    font-size: clamp(48px, 15vw, 62px);
  }

  #contactOverlay .menu-detail-reading {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
  }

  #contactOverlay .menu-detail-image--floral {
    width: min(64%, 240px);
    margin: 0;
  }

  #contactOverlay .contact-content {
    text-align: left;
  }

  .menu-detail-image--wide {
    aspect-ratio: 4 / 3;
    border-radius: 90px 90px 5px 5px;
  }

  #rsvpOverlay .menu-detail-image--wide {
    width: min(90%, 420px);
  }

  #giftsOverlay .menu-detail-image--square {
    width: min(58vw, 220px);
  }

  .menu-detail-copy p,
  .info-reading.menu-detail-reading .menu-detail-copy p {
    font-size: 16px;
    line-height: 1.72;
  }

  .menu-detail-card {
    padding: 28px 18px;
  }

  .menu-detail-list,
  .reservation-steps {
    grid-template-columns: 1fr;
  }

  .menu-detail-list > div:nth-child(odd) {
    border-right: 0;
  }

  .reservation-step + .reservation-step {
    margin-top: 0;
  }
}

/* Official copy and programme from the client's final presentation. */
.story-verse {
  margin-top: -12px !important;
  color: #961616;
  font: 400 15px/1.4 'Playfair Display', serif !important;
}

#programmeOverlay .programme-layout {
  grid-template-columns: minmax(250px, 360px) minmax(0, 1fr);
  gap: clamp(42px, 6vw, 86px);
  align-items: start;
}

#programmeOverlay .programme-cover {
  position: sticky;
  top: 20px;
  aspect-ratio: 2 / 3;
  object-fit: contain;
  background: #fff;
}

#programmeOverlay .programme-reading {
  max-width: 760px;
  padding-top: 0;
}

#programmeOverlay .programme-intro {
  max-width: 680px;
  color: #51604d;
  font: italic clamp(18px, 2vw, 24px)/1.5 'Playfair Display', serif;
}

.programme-timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(196, 163, 106, .65);
}

.programme-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(135px, .42fr) minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0 20px 22px;
  border-bottom: 1px solid rgba(196, 163, 106, .65);
}

.programme-timeline li::before {
  content: '';
  position: absolute;
  top: 26px;
  left: 0;
  width: 7px;
  height: 7px;
  background: #c4a36a;
  border-radius: 50%;
}

.programme-timeline time {
  color: #927643;
  font: 700 13px/1.55 'Inter', sans-serif;
  letter-spacing: .03em;
}

.programme-timeline h3 {
  margin: 0 0 5px;
  color: #202018;
  font: 700 17px/1.35 'Playfair Display', serif;
}

#programmeOverlay .programme-timeline p {
  margin: 0;
  color: #31362d;
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 760px) {
  #programmeOverlay .programme-layout {
    display: block;
  }

  #programmeOverlay .programme-cover {
    position: static;
    width: min(72%, 260px);
    aspect-ratio: 2 / 3;
    margin: 0 auto 36px;
    object-fit: contain;
  }

  #programmeOverlay .programme-reading h2 {
    font-size: 54px;
  }

  .programme-timeline li {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 0 18px 20px;
  }
}

/* Mobile home: every section previews its content before opening the overlay. */
@media (max-width: 900px) {
  #page-home > .section {
    padding: 64px 24px;
    background: #fbf8f1;
    border-top: 1px solid rgba(196, 163, 106, .35);
  }

  #page-home > .section:first-child {
    border-top: 0;
  }

  #page-home .section-kicker {
    margin-bottom: 12px;
  }

  #page-home .section-title {
    margin: 0 auto 28px;
    line-height: 1.08;
  }

  #page-home .home-info-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #page-home .home-section-image {
    display: block;
    width: min(100%, 340px);
    height: auto;
    margin: 0 auto 28px;
    object-fit: contain;
    background: transparent;
    box-shadow: 0 18px 42px rgba(43, 43, 30, .13);
  }

  #page-home .story-preview-photo {
    aspect-ratio: auto;
  }

  #page-home .home-programme-image {
    width: min(72vw, 280px);
  }

  #page-home .home-reservation-image {
    width: min(100%, 360px);
  }

  #page-home .home-gift-image,
  #page-home .home-contact-image {
    width: min(60vw, 230px);
    box-shadow: 0 16px 36px rgba(43, 43, 30, .1);
  }

  #page-home .home-contact-image {
    box-shadow: none;
  }

  #page-home .home-info-section .btn-outline {
    width: min(100%, 310px);
    margin: 0 auto;
    justify-content: center;
    text-align: center;
  }

  #page-home .section-schedule .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 310px);
    margin: 0 auto;
    text-align: center;
  }

  #page-home .home-contact-image {
    width: min(100%, 330px);
    height: min(56vw, 220px);
    object-fit: cover;
    object-position: left bottom;
  }

  #page-home .site-footer {
    padding: 34px 24px 42px;
    border-top: 1px solid rgba(196, 163, 106, .35);
  }
}

