/* --- Variables --- */
:root {
  --color-cream: #faf8f5;
  --color-ivory: #f5f2ed;
  --color-sidebar: #f0ede8;
  --color-charcoal: #2c2a28;
  --color-soft-charcoal: #4a4744;
  --color-warm-gray: #6b6560;
  --color-muted: #8a8580;
  --color-white: #ffffff;
  --font-script: "Great Vibes", cursive;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Source Sans 3", -apple-system, BlinkMacSystemFont, sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 5rem;
  --max-width: 56rem;
  --radius: 4px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-charcoal);
  background: var(--color-white);
  overflow-x: hidden;
}

/* ========== LOADER ========== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-white);
  background-image: url("Engagement Photos/06F8FFD5-AC1F-4AFD-85A7-91CCFC0D44D7_1_105_c.jpeg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 22%;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, transparent 35%, transparent 70%, rgba(0, 0, 0, 0.15) 100%);
  z-index: 0;
}

.loader.loader--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__logo-wrap {
  position: relative;
  z-index: 1;
  padding: 1.5rem 2rem;
  max-width: 90vw;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loader__password-wrap {
  margin-top: 0.5rem;
  width: 100%;
  max-width: 16rem;
}

.loader__password-wrap--hidden {
  display: none;
}

.loader__password-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
}

.loader__password-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.98);
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}

.loader__password-input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.loader__password-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.22);
}

@media (max-width: 480px) {
  .loader__password-input {
    min-height: 44px;
    font-size: 16px; /* Prevents iOS zoom on focus */
  }
}

.loader__password-btn {
  padding: 0.45rem 1.25rem;
  min-height: 44px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.95);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.loader__password-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
}

.loader__password-error {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  text-align: center;
  min-height: 1.25rem;
}

/* M&D in the sky – soft shadow so it reads against sky */
.loader__logo {
  font-family: var(--font-script);
  font-size: clamp(2.5rem, 10vw, 4rem);
  color: rgba(255, 255, 255, 0.98);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.2),
    0 2px 8px rgba(0, 0, 0, 0.15);
  display: inline-block;
  animation: loader-scribe 2s cubic-bezier(0.33, 0.1, 0.2, 1) forwards;
  clip-path: inset(0 100% 0 0);
  transform-origin: left center;
  letter-spacing: 0.02em;
}

@keyframes loader-scribe {
  0% {
    clip-path: inset(0 100% 0 0);
  }
  100% {
    clip-path: inset(0 0 0 0);
  }
}

/* ========== LAYOUT: Top nav + Main ========== */
.topnav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-tap-highlight-color: transparent;
}

body.nav-open .topnav-backdrop {
  display: block;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

.topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  min-height: 72px;
  background: none;
  background-color: rgba(255, 255, 255, 0);
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.topnav:not(.topnav--scrolled) {
  background: none !important;
  background-color: transparent !important;
}

.topnav--scrolled {
  background: var(--color-white);
  background-color: var(--color-white);
  border-bottom-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.topnav__logo {
  font-family: var(--font-script);
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  line-height: 1.1;
  transition: color 0.25s ease;
}

.topnav--scrolled .topnav__logo {
  color: var(--color-charcoal);
}

.topnav__nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.75rem;
}

.topnav__link {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.topnav__link:hover {
  color: var(--color-white);
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.topnav__link--active {
  color: var(--color-white);
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

.topnav--scrolled .topnav__link {
  color: var(--color-muted);
}

.topnav--scrolled .topnav__link:hover,
.topnav--scrolled .topnav__link--active {
  color: var(--color-charcoal);
  border-bottom-color: var(--color-soft-charcoal);
}

.topnav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.95);
  transition: color 0.25s ease;
}

.topnav--scrolled .topnav__toggle {
  color: var(--color-charcoal);
}

.topnav__toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s, opacity 0.2s;
}

.topnav__close {
  display: none;
}

.main {
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}

/* Responsive images in content: prevent overflow on mobile (exclude full-bleed/containers) */
.main .event-day__venue-logo-img,
.main .event-day__rmr-logo-img,
.main .travel__drive-map-img {
  max-width: 100%;
  height: auto;
}

.footer {
  position: relative;
  min-height: 32rem;
  padding: 0 var(--space-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 24%;
  background-image: url("Engagement Photos/0B85159F-1E8F-4A89-8F78-6ADA09A29DF7_1_105_c.jpeg");
  background-size: cover;
  background-position: center 18%;
  background-repeat: no-repeat;
  border-top: none;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  z-index: 0;
}

.footer__inner {
  position: relative;
  z-index: 1;
  padding: var(--space-2xl) 0;
}

.footer__logo {
  display: block;
  font-family: var(--font-script);
  font-size: 2.5rem;
  color: var(--color-white);
  text-decoration: none;
  margin: 0 0 var(--space-md);
  line-height: 1.1;
  transition: color 0.2s;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.footer__logo:hover {
  color: rgba(255, 255, 255, 0.92);
}

.footer__text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 var(--space-sm);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.footer__names {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--color-white);
  margin: 0 0 var(--space-xs);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.footer__date {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 var(--space-sm);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.footer__credit {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  font-style: italic;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  height: calc(100vh + 72px);
  margin-top: -72px;
  padding-top: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
}

.hero__image {
  position: absolute;
  inset: 0;
  background: url("assets/hero.jpg") center/cover no-repeat;
  background-position: center center;
}

.hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.hero__overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-md) var(--space-lg);
  align-self: flex-end;
  margin-bottom: 11vh;
  color: var(--color-white);
  max-width: 90vw;
}

.hero__title {
  font-family: var(--font-script);
  font-size: clamp(2.75rem, 9vw, 5rem);
  font-weight: 400;
  margin: 0 0 var(--space-xs);
  line-height: 1.1;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
}

.hero__subtitle {
  font-size: clamp(0.7rem, 2vw, 0.85rem);
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 0.15rem;
}

.hero__subtitle--dates {
  margin: 0 0 var(--space-xs);
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  margin-top: 0;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10.5rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
  border-radius: 2px;
  border: 1px solid transparent;
  box-sizing: border-box;
}

.hero__btn:hover {
  transform: translateY(-1px);
}

.hero__btn--primary {
  background: var(--color-white);
  color: var(--color-charcoal);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.hero__btn--primary:hover {
  background: var(--color-ivory);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.hero__btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.85);
}

.hero__btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-white);
}

.hero__scroll {
  display: inline-block;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  margin-top: var(--space-lg);
}

.hero__scroll-icon {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid currentColor;
  border-radius: 12px;
  margin: 0 auto;
  position: relative;
}

.hero__scroll-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: currentColor;
  border-radius: 2px;
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.5; transform: translateX(-50%) translateY(6px); }
}

/* ========== SECTIONS (shared) ========== */
.section {
  padding: var(--space-3xl) var(--space-md);
  background: var(--color-white);
}

.section:nth-child(even) {
  background: var(--color-ivory);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.container--wide { max-width: 64rem; }
.container--narrow { max-width: 38rem; }

.section__kicker {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
  text-align: center;
  margin: 0 0 0.15em;
}

.section__script {
  font-family: var(--font-script);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 400;
  color: var(--color-charcoal);
  text-align: center;
  margin: 0 0 var(--space-sm);
  line-height: 1.1;
}

.section__script--alone {
  margin-top: 0;
}

.section__events-date {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-muted);
  text-align: center;
  margin: 0.25rem 0 var(--space-md);
  letter-spacing: 0.02em;
}

.section__line {
  width: 40px;
  height: 1px;
  background: var(--color-muted);
  margin: 0 auto var(--space-xl);
}

.section__intro {
  text-align: center;
  color: var(--color-soft-charcoal);
  margin: 0 0 var(--space-xl);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ========== OUR STORY ========== */
.section--story .section__line { margin-bottom: var(--space-lg); }

.story__content {
  color: var(--color-soft-charcoal);
  max-width: 42rem;
  margin: 0 auto var(--space-md);
}

.story__content p {
  margin: 0 0 var(--space-md);
  line-height: 1.7;
  font-size: 1rem;
}

.story__image {
  margin: 0 auto;
  max-width: 42rem;
  margin-top: 0;
}

.story__image--revelstoke {
  margin-top: 0;
}

.story__caption {
  margin: var(--space-lg) auto;
  max-width: 42rem;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-soft-charcoal);
}

.story__image-inner {
  aspect-ratio: 4 / 3;
  background: var(--color-ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 4px;
}

.story__image-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ========== EVENTS (Envelopes) ========== */
.envelopes {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 64rem;
  margin: 0 auto;
}

.envelope {
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

/* Paper texture – add to envelope and flap (keeps existing background-color) */
.envelope__closed.envelope-paper,
.envelope__flap.envelope-paper {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.055'/%3E%3C/svg%3E");
}

.envelope__closed {
  width: 100%;
  min-height: 280px;
  padding: 0;
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
  transition: box-shadow 0.25s ease;
  font-family: var(--font-display);
  border: 1px solid rgba(0, 0, 0, 0.07);
  text-align: center;
  position: relative;
  overflow: hidden;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* One consistent colour, no white strip – paper texture */
.envelope--1 .envelope__closed {
  background-color: #f0ebe3;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 20px rgba(0, 0, 0, 0.07);
}

.envelope--2 .envelope__closed {
  background-color: #ebe5dc;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 20px rgba(0, 0, 0, 0.07);
}

.envelope--3 .envelope__closed {
  background-color: #e8e2d9;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 20px rgba(0, 0, 0, 0.07);
}

.envelope__closed:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06), 0 10px 28px rgba(0, 0, 0, 0.1);
}

.envelope--1 .envelope__closed:hover { background-color: #ebe6de; }
.envelope--2 .envelope__closed:hover { background-color: #e6e0d7; }
.envelope--3 .envelope__closed:hover { background-color: #e3ddd4; }

/* Triangle flap – point at bottom; taller so long titles aren’t cut off */
.envelope__flap {
  position: relative;
  width: 100%;
  min-height: 165px;
  flex-shrink: 0;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: var(--space-lg) var(--space-xl) 3rem;
  box-sizing: border-box;
  transition: min-height 0.25s ease, padding 0.25s ease;
}

.envelope__closed:hover .envelope__flap {
  min-height: 200px;
  padding-bottom: 3.75rem;
}

.envelope--1 .envelope__flap { background-color: #f0ebe3; }
.envelope--2 .envelope__flap { background-color: #ebe5dc; }
.envelope--3 .envelope__flap { background-color: #e8e2d9; }

.envelope__flap .envelope__day {
  margin-top: 0;
  margin-bottom: 0.25em;
}

.envelope__flap .envelope__event {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.envelope__flap .envelope__hint {
  margin-bottom: 0;
}

/* Body: same beige as envelope – no white strip */
.envelope__body {
  flex: 1;
  min-height: 2.5rem;
  box-sizing: border-box;
}

.envelope--1 .envelope__body { background-color: #f0ebe3; }
.envelope--2 .envelope__body { background-color: #ebe5dc; }
.envelope--3 .envelope__body { background-color: #e8e2d9; }

.envelope__closed.envelope-paper .envelope__body {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.055'/%3E%3C/svg%3E");
}

.envelope--1 .envelope__closed:hover .envelope__body { background-color: #ebe6de; }
.envelope--2 .envelope__closed:hover .envelope__body { background-color: #e6e0d7; }
.envelope--3 .envelope__closed:hover .envelope__body { background-color: #e3ddd4; }

/* Sequence: THE DAY, THE TITLE, CLICK TO OPEN – slightly larger text */
.envelope__day {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-charcoal);
  position: relative;
  z-index: 1;
}

.envelope__event {
  font-family: var(--font-script);
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 400;
  color: var(--color-charcoal);
  line-height: 1.2;
  position: relative;
  z-index: 1;
  max-width: 100%;
  padding: 0 var(--space-sm);
  text-align: center;
}

.envelope__hint {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-soft-charcoal);
  opacity: 0.92;
  position: relative;
  z-index: 1;
}

.envelope__content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s ease;
}

.envelope--open .envelope__content {
  grid-template-rows: 1fr;
}

.envelope__content-inner {
  min-height: 0;
  overflow: hidden;
  padding: var(--space-md) var(--space-lg) var(--space-xl);
}

.envelope--open .envelope__closed {
  display: none;
}

.envelope__header {
  padding: var(--space-sm) 0 var(--space-md);
  flex-shrink: 0;
}

.envelope__close {
  display: none;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 0;
  margin: 0;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: color 0.2s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.envelope__close:hover {
  color: var(--color-charcoal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.envelope--open .envelope__close {
  display: inline-flex;
}

.envelope__letter {
  transform: translateY(24px);
  opacity: 0.98;
  transition: transform 0.5s ease, opacity 0.45s ease;
}

.envelope--open .envelope__letter {
  transform: translateY(0);
  opacity: 1;
}

.envelope__content .event-day {
  border-radius: 0;
  box-shadow: none;
}

/* ========== EVENTS (Day content) ========== */
.events-days {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.event-day {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.event-day__label {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin: 0;
  padding: var(--space-md) var(--space-md);
  background: var(--color-ivory);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
}

.event-day__date {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--color-soft-charcoal);
  margin: 0;
  padding: var(--space-md) var(--space-md);
  background: var(--color-ivory);
  text-align: center;
}

.event-day__content {
  padding: var(--space-lg) var(--space-md) var(--space-xl);
}

.event {
  margin-bottom: var(--space-2xl);
}

.event:last-child { margin-bottom: 0; }

.event__title {
  font-family: var(--font-script);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 400;
  color: var(--color-charcoal);
  text-align: center;
  margin: 0 0 var(--space-md);
}

.event__block {
  background: var(--color-ivory);
  padding: var(--space-lg);
  border-radius: var(--radius);
  margin-bottom: var(--space-lg);
}

.event__block--sub {
  margin-bottom: var(--space-md);
  padding: var(--space-lg);
  border-radius: var(--radius);
  background: var(--color-ivory);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
}

.event__block--sub:last-child { margin-bottom: 0; }

.event__block--sub {
  text-align: center;
}

.event__block--sub .event__meta {
  margin-bottom: var(--space-md);
}

.event__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: var(--space-lg);
  margin-bottom: var(--space-md);
}

.event__meta--top {
  justify-content: center;
  margin-bottom: var(--space-md);
}

.event__meta-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.event__meta-item p {
  margin: 0;
  font-size: 1rem;
  color: var(--color-soft-charcoal);
  line-height: 1.5;
  min-width: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.event__meta-divider {
  width: 1px;
  min-height: 40px;
  background: rgba(0, 0, 0, 0.12);
}

.event__icon {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--color-warm-gray);
  opacity: 0.85;
}

.event__icon svg {
  display: block;
}

.event__desc {
  margin: 0;
  font-size: 1rem;
  color: var(--color-soft-charcoal);
  line-height: 1.65;
  text-align: center;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.event__blocks {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.event__subtitle {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-charcoal);
  margin: 0 0 var(--space-xs);
  text-align: center;
}

.event__time {
  font-size: 1rem;
  color: var(--color-warm-gray);
  margin: 0 0 var(--space-sm);
  text-align: center;
}

.hikes {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.hike {
  background: var(--color-ivory);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--color-soft-charcoal);
  line-height: 1.5;
}

.event-day__rmr-logo {
  text-align: center;
  margin: 0 0 var(--space-lg);
}

.event-day__rmr-logo-img {
  max-width: 200px;
  height: auto;
  display: inline-block;
}

.event-day__venue-logo {
  text-align: center;
  margin: 0 0 var(--space-md);
}

.event-day__venue-logo-img {
  max-width: 180px;
  width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 2px;
  object-fit: contain;
  object-position: center;
}

.event-day__venue-logo-img--large {
  max-width: 340px;
  width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

.event-day__venue-logo--photo {
  margin-bottom: var(--space-xl);
}

.rsvp__meal-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-muted);
  margin-top: var(--space-sm);
  margin-bottom: 0.25rem;
}

.rsvp__meal-options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.trail-groups {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin-top: var(--space-md);
}

.trail-group__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 var(--space-sm);
  letter-spacing: 0.04em;
}

.trail-group__meet {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-sm);
  font-size: 1.05rem;
  color: var(--color-soft-charcoal);
}

.trail-group__meet .event__icon {
  flex-shrink: 0;
}

.trail-group__meet-time {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-charcoal);
}

.trail-group__led {
  margin: var(--space-sm) 0 0;
  font-size: 0.9rem;
  color: var(--color-soft-charcoal);
  font-style: italic;
}

.trail-group__title--black { color: #1a1a1a; }
.trail-group__title--blue { color: #2c5282; }
.trail-group__title--green { color: #276749; }

.trail-group .trail-list {
  margin: 0;
}

.trail-list {
  list-style: none;
  margin: var(--space-lg) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.trail-list__item {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.trail-list__item--black {
  background: #1a1a1a;
  color: var(--color-white);
}

.trail-list__item--blue {
  background: #2c5282;
  color: var(--color-white);
}

.trail-list__item--green {
  background: #276749;
  color: var(--color-white);
}

.trail-list__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.trail-list__meta {
  font-size: 0.85rem;
  opacity: 0.95;
}

.trail-map-wrap {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  background: var(--color-ivory);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.trail-map__img--preview {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  object-position: top;
  display: block;
  border-radius: var(--radius);
  cursor: pointer;
}

.trail-map__expand {
  display: block;
  width: 100%;
  margin-top: var(--space-sm);
  padding: 0.6rem 1rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-charcoal);
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, border-color 0.2s;
}

.trail-map__expand:hover {
  background: var(--color-ivory);
  border-color: var(--color-soft-charcoal);
}

.trail-map__fallback {
  display: none;
  padding: var(--space-md) 0;
}

.trail-map__fallback--visible {
  display: block;
}

.trail-map__fallback--visible ~ .trail-map__expand {
  display: none;
}

.trail-map__lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.trail-map__lightbox[aria-hidden="false"] {
  display: flex;
}

.trail-map__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  line-height: 1;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s;
}

.trail-map__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.trail-map__lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.trail-map__label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin: 0 0 var(--space-xs);
}

.trail-map__desc {
  font-size: 0.9375rem;
  color: var(--color-soft-charcoal);
  margin: 0 0 var(--space-sm);
}

.trail-map__link {
  display: inline-block;
  font-size: 0.95rem;
  color: var(--color-charcoal);
  text-decoration: none;
  border-bottom: 1px solid var(--color-soft-charcoal);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.trail-map__link:hover {
  color: var(--color-warm-gray);
  border-bottom-color: var(--color-charcoal);
}

.trail-map__embed {
  margin: var(--space-md) 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-ivory);
  border: 1px solid rgba(0, 0, 0, 0.06);
  max-height: 540px;
  min-height: 360px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.trail-map__pdf {
  width: 100%;
  height: 540px;
  min-height: 360px;
  display: block;
  border: none;
}

.trail-map__hint {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-muted);
}

@media (max-width: 640px) {
  .trail-map__embed { max-height: 340px; min-height: 260px; }
  .trail-map__pdf { height: 340px; min-height: 260px; }
}

/* ========== TRAVEL ========== */
.travel__question {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-soft-charcoal);
  text-align: center;
  margin: 0 0 var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.travel__city-picker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.city-btn {
  padding: 0.6rem 1.25rem;
  min-height: 44px;
  min-width: 44px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-soft-charcoal);
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.city-btn:hover {
  color: var(--color-charcoal);
  border-color: var(--color-charcoal);
}

.city-btn--active {
  color: var(--color-white);
  background: var(--color-charcoal);
  border-color: var(--color-charcoal);
}

.travel__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-charcoal);
  opacity: 0.85;
}

.travel__icon svg {
  width: 100%;
  height: 100%;
}

.travel__airline-logo {
  margin-bottom: var(--space-md);
}

.travel__option > * + * {
  margin-top: var(--space-md);
}

.travel__airline-logo img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 240px;
  min-width: 180px;
  object-fit: contain;
  object-position: left center;
  background: transparent;
  mix-blend-mode: multiply;
}

.travel__panel {
  margin-bottom: var(--space-lg);
}

.travel__panel--hidden {
  display: none !important;
}

.travel__option {
  color: var(--color-soft-charcoal);
  line-height: 1.7;
}

.travel__option h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin: 0 0 var(--space-md);
}

.travel__option p {
  margin: 0;
  font-size: 1rem;
}

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

.travel__timeline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
  margin: 0;
}

.travel__timeline-segment {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  max-width: 11rem;
}

.travel__timeline-leg {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.travel__timeline-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  color: var(--color-charcoal);
  opacity: 0.9;
}

.travel__timeline-icon svg {
  width: 100%;
  height: 100%;
}

.travel__timeline-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-charcoal);
}

.travel__timeline-arrow {
  font-size: 1.1rem;
  color: var(--color-muted);
  font-weight: 600;
}

.travel__timeline-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin: 0;
}

@media (max-width: 600px) {
  .travel__timeline-row {
    grid-template-columns: 1fr;
  }
}

.travel__timeline-route {
  padding: var(--space-sm) var(--space-md);
  background: var(--color-ivory);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.travel__timeline-route-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin: 0 0 var(--space-md);
}

.travel__timeline-route .travel__timeline {
  margin: 0;
}

/* David block */
.david-block {
  margin-top: var(--space-2xl);
  padding: var(--space-2xl) var(--space-md);
  background: var(--color-charcoal);
  border-radius: var(--radius);
  color: var(--color-cream);
  text-align: center;
}

.david-block__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 var(--space-sm);
}

.david-block__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--color-white);
  margin: 0 0 var(--space-md);
}

.david-block__story {
  max-width: 32rem;
  margin: 0 auto var(--space-lg);
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.david-block__cta {
  margin: 0;
  font-size: 0.95rem;
}

.david-block__cta a {
  color: var(--color-white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.david-block__cta a:hover { border-bottom-color: var(--color-white); }

.travel__driving {
  margin-top: 0;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.travel__driving-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin: 0 0 var(--space-md);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.travel__driving-title + p,
.travel__driving p + p {
  margin-top: 0;
}

.travel__driving-title .travel__icon {
  width: 1.2rem;
  height: 1.2rem;
}

.travel__drive-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-bottom: 0;
  align-items: start;
}

.travel__drive-hero-text-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.travel__drive-hero-text-wrap .travel__drive-hero-text + .travel__drive-hero-text {
  margin-top: 0;
}

@media (min-width: 640px) {
  .travel__drive-hero {
    grid-template-columns: 1fr 1.4fr;
  }
}

.travel__drive-hero-text {
  margin: 0 !important;
}

.travel__drive-map-wrap {
  margin: 0;
  margin-top: -0.25rem;
  background: transparent;
  border-radius: var(--radius);
  padding: 0;
  min-height: 280px;
}

@media (min-width: 768px) {
  .travel__drive-map-wrap {
    min-height: 380px;
  }
}

.travel__drive-map-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  background: transparent;
  mix-blend-mode: multiply;
  opacity: 0.92;
}

.travel__driving p {
  margin: 0 0 var(--space-md);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-soft-charcoal);
  max-width: 42rem;
}

.travel__driving p:last-of-type {
  margin-bottom: 0;
}

.travel__drive-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

.travel__drive-card {
  padding: var(--space-lg);
  background: var(--color-ivory);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.travel__drive-route {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-sm);
}

.travel__drive-origin,
.travel__drive-dest {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-charcoal);
  flex-shrink: 0;
}

.travel__drive-line {
  flex: 1;
  height: 0;
  border-bottom: 2px dashed rgba(0, 0, 0, 0.2);
  min-width: 2rem;
}

.travel__drive-stats {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin: 0 0 0.25rem;
}

.travel__drive-waypoints {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 540px) {
  .travel__drive-cards {
    grid-template-columns: 1fr;
  }
}

.travel__contact {
  margin-top: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  max-width: 42rem;
  background: var(--color-ivory);
  border-radius: var(--radius);
  border-left: 4px solid var(--color-charcoal);
}

.travel__contact p {
  margin: 0;
  font-size: 1rem;
  color: var(--color-charcoal);
  line-height: 1.65;
}

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

.travel__contact strong {
  display: block;
  margin-bottom: 0.4em;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-charcoal);
}

/* ========== ACCOMMODATION ========== */
.accommodation__logo {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.accommodation__logo-img {
  max-width: 340px;
  width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

.room-list {
  list-style: none;
  margin: 0 auto var(--space-xl);
  padding: 0;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.room-list__item {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-md) var(--space-xl);
}

.room-list__btn {
  flex-shrink: 0;
  margin-left: auto;
  white-space: nowrap;
}

.room-list__item:last-child {
  border-bottom: none;
}

.room-list__floorplan {
  flex-shrink: 0;
  width: 120px;
  height: 84px;
  color: var(--color-charcoal);
  opacity: 0.85;
  background: var(--color-ivory);
  border-radius: 4px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.room-list__floorplan svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.room-list__floorplan--studio svg {
  max-width: 80px;
  max-height: 56px;
}

.room-list__floorplan--1br svg {
  max-width: 80px;
  max-height: 56px;
}

.room-list__floorplan--2br svg {
  max-width: 80px;
  max-height: 56px;
}

.room-list__floorplan--3br svg {
  max-width: 80px;
  max-height: 56px;
}

.room-list__text {
  flex: 1 1 240px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem 1rem;
  text-align: center;
}

.room-list__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-charcoal);
  width: 100%;
}

.room-list__details {
  font-size: 1rem;
  color: var(--color-soft-charcoal);
  flex: 1 1 100%;
  line-height: 1.5;
}

@media (min-width: 480px) {
  .room-list__details {
    flex: 1 1 auto;
  }
}

.room-list__rate {
  width: 100%;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-top: 0.25rem;
}

.accommodation__preferred {
  margin-bottom: var(--space-lg);
}

.accommodation__premium-hint {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-muted);
  font-style: italic;
  margin: 0 0 var(--space-md);
}

.accommodation__note {
  text-align: center;
  margin: 0 0 var(--space-lg);
  font-size: 0.9375rem;
  color: var(--color-soft-charcoal);
}

.accommodation__cta {
  text-align: center;
  margin: var(--space-lg) 0;
  font-size: 0.9375rem;
  color: var(--color-soft-charcoal);
}

.accommodation__contact {
  text-align: center;
  margin: var(--space-lg) 0 0;
  font-size: 0.9375rem;
  color: var(--color-soft-charcoal);
}

.accommodation__cta .btn {
  background: var(--color-charcoal);
  color: var(--color-white);
  border-color: var(--color-charcoal);
}

.accommodation__cta .btn:hover {
  background: var(--color-soft-charcoal);
  border-color: var(--color-soft-charcoal);
}

/* ========== GALLERY ========== */
.section--gallery .container--gallery {
  max-width: 72rem;
}

.gallery__collage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 0.6rem;
  grid-auto-flow: dense;
  margin-top: var(--space-xl);
}

.gallery__item {
  overflow: hidden;
  background: var(--color-ivory);
  cursor: pointer;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.gallery__item:hover img {
  transform: scale(1.03);
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__item--tall {
  grid-row: span 2;
}

.gallery__item--large {
  grid-column: span 2;
  grid-row: span 2;
}

@media (min-width: 640px) {
  .gallery__collage {
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: 180px;
    gap: 0.65rem;
  }
}

@media (min-width: 900px) {
  .gallery__collage {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 170px;
    gap: 0.6rem;
  }
}

/* Gallery lightbox – click to expand, scroll with prev/next or arrows */
.gallery-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  padding: 3rem 4rem;
  box-sizing: border-box;
}

.gallery-lightbox[aria-hidden="false"] {
  display: flex;
}

.gallery-lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}

.gallery-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  font-size: 2.25rem;
  line-height: 1;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s;
}

.gallery-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.gallery-lightbox__prev,
.gallery-lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.12);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox__prev { left: 1.5rem; }
.gallery-lightbox__next { right: 1.5rem; }

.gallery-lightbox__prev:hover,
.gallery-lightbox__next:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ========== THINGS TO DO ========== */
.section--things {
  background: var(--color-cream);
}

.things__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  max-width: 42rem;
  margin: 0 auto;
}

.things__card {
  padding: var(--space-lg);
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.things__card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin: 0 0 var(--space-sm);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.things__card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  color: var(--color-charcoal);
  opacity: 0.88;
}

.things__card-icon svg {
  width: 100%;
  height: 100%;
}

.things__card-desc {
  margin: 0 0 var(--space-sm);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-soft-charcoal);
}

.things__card-desc + .things__card-desc {
  margin-top: 0;
}

.things__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-lg);
  margin: var(--space-sm) 0 var(--space-md);
  padding: 0;
  list-style: none;
}

.things__stat {
  display: flex;
  gap: 0.35rem;
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-soft-charcoal);
}

.things__stat dt {
  font-weight: 600;
  color: var(--color-charcoal);
  margin: 0;
}

.things__stat dd {
  margin: 0;
}

.things__btn {
  margin-top: var(--space-sm);
}

/* ========== RSVP ========== */
.container--rsvp {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.section--rsvp {
  background: var(--color-white);
}

.rsvp__kicker {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
  text-align: center;
  margin: 0 0 0.15em;
}

.rsvp__title {
  font-family: var(--font-script);
  font-size: clamp(3rem, 10vw, 4rem);
  font-weight: 400;
  color: var(--color-charcoal);
  text-align: center;
  margin: 0 0 var(--space-sm);
  line-height: 1.1;
}

.section--rsvp .section__line { margin-bottom: var(--space-sm); }

.rsvp__deadline {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--color-soft-charcoal);
  text-align: center;
  margin: 0 0 var(--space-xl);
}

.rsvp__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md) var(--space-lg);
  margin: 0 auto;
}

.rsvp__row--two {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.rsvp__field {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.rsvp__row--two .rsvp__field {
  grid-column: span 1;
}

.rsvp__label-inline {
  display: block;
  margin-top: var(--space-md);
}

.rsvp__field--dietary {
  grid-column: 1 / -1;
}

.rsvp__field--narrow {
  max-width: 10rem;
}

.rsvp__field-hint {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 0.15rem;
}

.rsvp__form label {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-charcoal);
}

.rsvp__form input[type="text"],
.rsvp__form input[type="email"],
.rsvp__form input[type="number"],
.rsvp__form textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.75rem 1rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-charcoal);
  -webkit-appearance: none;
  appearance: none;
}

.rsvp__form textarea {
  min-height: 88px;
}

.rsvp__form input::placeholder,
.rsvp__form textarea::placeholder {
  color: var(--color-muted);
}

.rsvp__attend {
  grid-column: 1 / -1;
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.rsvp__attend legend {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-charcoal);
}

.rsvp__attend-options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.radio-label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--color-charcoal);
  min-height: 44px;
  padding: 0.25rem 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.radio-label input { accent-color: var(--color-charcoal); min-width: 20px; min-height: 20px; }

.rsvp__events {
  grid-column: 1 / -1;
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.rsvp__events legend {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-charcoal);
}

.rsvp__events-options {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.check-label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--color-charcoal);
  min-height: 44px;
  padding: 0.25rem 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.check-label input { accent-color: var(--color-charcoal); min-width: 20px; min-height: 20px; }

.rsvp__gift-note {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--color-soft-charcoal);
  text-align: center;
  margin: 0 auto var(--space-md);
  max-width: 28rem;
  line-height: 1.5;
}

.rsvp__submit-wrap {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: var(--space-sm);
}

.rsvp__success {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.rsvp__success-title {
  font-family: var(--font-script);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 400;
  color: var(--color-charcoal);
  margin: 0 0 var(--space-sm);
}

.rsvp__success-text {
  font-size: 1.1rem;
  color: var(--color-soft-charcoal);
  margin: 0;
  line-height: 1.6;
}

.rsvp__error {
  text-align: center;
  padding: var(--space-md);
  font-size: 0.95rem;
  color: #b33;
  margin: 0;
}

/* Stack RSVP two-column layout on tablet and mobile */
@media (max-width: 640px) {
  .rsvp__form {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .rsvp__row--two {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

@media (max-width: 540px) {
  .rsvp__form {
    grid-template-columns: 1fr;
    padding: 0 0.25rem;
  }

  .rsvp__row--two {
    grid-template-columns: 1fr;
  }

  .rsvp__field--narrow {
    max-width: none;
  }

  .rsvp__form input[type="text"],
  .rsvp__form input[type="email"],
  .rsvp__form input[type="number"] {
    font-size: 16px; /* Prevents iOS zoom on focus */
  }

  .rsvp__submit-wrap .btn {
    width: 100%;
    min-height: 48px;
    padding: 0.85rem 1.5rem;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  min-height: 44px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn--outline {
  background: transparent;
  color: var(--color-charcoal);
  border-color: var(--color-charcoal);
}

.btn--outline:hover {
  background: var(--color-charcoal);
  color: var(--color-white);
}

.btn--rsvp {
  margin-top: var(--space-md);
  background: var(--color-charcoal);
  color: var(--color-white);
  padding: 1rem 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn--rsvp:hover {
  background: var(--color-soft-charcoal);
}

.btn__heart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn__heart svg {
  display: block;
  stroke: currentColor;
}

/* ========== Responsive: hamburger overlay on small screens ========== */
@media (max-width: 960px) {
  .topnav__toggle {
    display: flex;
  }

  .topnav__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(280px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: var(--color-white);
    flex-direction: column;
    justify-content: flex-start;
    padding: 5rem 1.5rem 1.5rem;
    gap: 0;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 99;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    overflow-y: auto;
  }

  .topnav--open .topnav__nav {
    transform: translateX(0);
  }

  .topnav__close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 1.25rem;
    right: 1rem;
    width: 48px;
    min-height: 48px;
    padding: 0.75rem;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-charcoal);
    background: var(--color-ivory);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .topnav__close:hover {
    background: var(--color-sidebar);
  }

  .topnav__link {
    display: block;
    padding: 0.75rem 0 0.75rem 0.75rem;
    padding-left: 0.75rem;
    min-height: 48px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--color-muted);
  }

  .topnav__link:hover,
  .topnav__link--active {
    color: var(--color-charcoal);
    border-bottom-color: rgba(0, 0, 0, 0.06);
  }

  .topnav__link:last-child {
    border-bottom: none;
  }

  .topnav--open .topnav__toggle {
    color: var(--color-charcoal);
  }

  .topnav--open .topnav__toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .topnav--open .topnav__toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .topnav--open .topnav__toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ========== Mobile stacking: single-column and padding ========== */
@media (max-width: 960px) {
  .section {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .travel__drive-hero {
    grid-template-columns: 1fr;
  }

  .travel__drive-cards {
    grid-template-columns: 1fr;
  }

  .travel__timeline-row {
    grid-template-columns: 1fr;
  }

  .travel__timeline-row .travel__timeline-route:first-child {
    margin-bottom: var(--space-sm);
  }

  .hero__overlay {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: var(--space-sm);
    padding-bottom: var(--space-sm);
    margin-bottom: 10vh;
  }

  .hero__title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin-bottom: 0.2rem;
  }

  .hero__subtitle {
    font-size: 0.75rem;
  }

  .hero__buttons {
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
  }

  .hero__btn {
    min-width: 9rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.65rem;
  }

  /* Keep hero and loader background images centered on mobile */
  .hero__image {
    background-position: center center;
  }
}

@media (max-width: 768px) {
  .hero__overlay {
    margin-bottom: 8vh;
  }

  .hero__title {
    font-size: clamp(2.25rem, 7vw, 3.5rem);
  }

  .hero__subtitle,
  .hero__subtitle--dates {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
  }
  .loader {
    background-position: center center;
  }

  .footer {
    background-position: center center;
  }

  /* Event time & place: stack and center on small screens */
  .event__meta {
    flex-direction: column;
    align-items: center;
  }

  .event__meta-divider {
    display: none;
  }

  .event__block,
  .event__block--sub {
    padding: var(--space-md);
  }

  .event-day__content {
    padding: var(--space-md) var(--space-sm) var(--space-lg);
  }

  .event__desc {
    font-size: 1rem;
  }

  .section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .rsvp__form {
    grid-template-columns: 1fr;
  }

  .rsvp__row--two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .topnav__nav {
    width: 100%;
  }

  .section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .footer {
    padding-left: 1rem;
    padding-right: 1rem;
    background-position: center center;
  }

  .hero__overlay {
    margin-bottom: 6vh;
    padding: var(--space-sm) 1rem;
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: 0.15rem;
  }

  .hero__subtitle,
  .hero__subtitle--dates {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
  }

  .hero__buttons {
    gap: 0.5rem;
    margin-bottom: var(--space-md);
  }

  .hero__btn {
    min-width: 8rem;
    padding: 0.65rem 1.25rem;
    font-size: 0.6rem;
  }

  .event-day__venue-logo-img--large {
    max-width: 100%;
  }

  .event__block,
  .event__block--sub {
    padding: var(--space-md) var(--space-sm);
  }

  .event-day__content {
    padding: var(--space-md) var(--space-sm) var(--space-lg);
  }

  .event__meta-item p,
  .event__desc {
    font-size: 0.9375rem;
  }
}
