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

/* ============================================================
   Design Tokens
   ============================================================ */
:root {
  --color-burgundy: #6E302E;
  --color-cream:    #F5F1EC;
  --color-tan:      #A89B88;
  --color-dark:     #3D2B1E;
  --font:           'Tenor Sans', sans-serif;
  --body-font:      'Cormorant Garamond', Georgia, serif;
  --nav-height:     80px;

  /* Shared title style */
  --title-transform:  uppercase;
  --title-spacing:    0.01em;
  --title-weight:     500;

  /* Section padding */
  --pad-v: 90px;
  --pad-h: 60px;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 18px; }
body { font-family: var(--body-font); font-weight: 500; -webkit-font-smoothing: antialiased; }
/* Tenor Sans for all headings, nav, labels, buttons */
h1, h2, h3, h4, h5, h6 { font-family: var(--font); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ============================================================
   Navigation
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.35s ease, backdrop-filter 0.35s ease;
}

/* On scroll: dark glass so white text stays legible on any background */
.site-nav.scrolled {
  background: rgba(30, 18, 12, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-logo img {
  height: 58px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.88;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}

.nav-menu a {
  color: white;
  font-size: 1rem;
  letter-spacing: 0.13em;
  font-weight: 400;
  font-family: var(--body-font);
  transition: opacity 0.2s;
}
.nav-menu a:hover { opacity: 0.65; }

.nav-rsvp {
  border: 1px solid rgba(255,255,255,0.75) !important;
  padding: 10px 22px !important;
  border-radius: 4px;
  font-family: var(--body-font) !important;
  font-size: 1.1rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em !important;
  line-height: 1 !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1200;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: white; transition: all 0.3s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Remove backdrop-filter stacking context when mobile menu is open (iOS touch fix) */
.site-nav.menu-open {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: none;
}

/* Light-background nav variant (Our Story, Additional Info) */
.nav-light .nav-logo img   { filter: none; opacity: 0.65; }
.nav-light .nav-menu a     { color: var(--color-dark); }
.nav-light .nav-toggle span { background: var(--color-dark); }
.nav-light .nav-rsvp        { border-color: var(--color-dark) !important; }
/* When scrolled on a light page, keep dark text (glass still clear) */
.nav-light.scrolled .nav-logo img   { filter: none; opacity: 0.65; }
.nav-light.scrolled .nav-menu a     { color: var(--color-dark); }
.nav-light.scrolled .nav-toggle span { background: var(--color-dark); }
.nav-light.scrolled .nav-rsvp       { border-color: var(--color-dark) !important; }

/* ============================================================
   HOME — Hero
   ============================================================ */
.hero {
  height: 100vh;
  min-height: 600px;
  background-image: url('../Website Assets/Beige Limewash Background.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 80px 24px 40px;
}
.hero-eyebrow {
  font-family: var(--font);
  font-size: 1rem;
  letter-spacing: 0.32em;
  font-weight: 400;
  opacity: 0.88;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.hero-names {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: var(--title-spacing);
  margin-bottom: 44px;
  text-transform: uppercase;
}
.hero-emblem { width: clamp(100px, 10vw, 145px); margin: 0 auto 28px; }
.hero-date   { font-family: var(--font); font-size: clamp(1rem, 2vw, 1rem); letter-spacing: 0.32em; font-weight: 400; margin-bottom: 6px; }
.hero-place  { font-family: var(--font); font-size: 1rem; letter-spacing: 0.22em; font-weight: 400; opacity: 0.82; text-transform: uppercase; }
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 36px;
  border: 1.5px solid rgba(255,255,255,0.65);
  color: white;
  padding: 12px 44px;
  font-family: var(--font);
  font-size: 1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 0.2s;
}
.hero-cta:hover { background: rgba(255,255,255,0.1); }

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

/* Page entrance fade — all non-home pages */
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page-header,
.accommodations-body,
.travel-body,
.additional-body,
.story-page-title {
  animation: pageFadeIn 0.7s ease 0.1s both;
}
/* Hero elements start invisible; animations fire when JS adds .page-ready to body */
.hero-eyebrow,
.hero-names,
.hero-emblem,
.hero-date,
.hero-place { opacity: 0; }

.page-ready .hero-eyebrow { animation: heroFadeUp 1.1s ease 0.2s forwards; }
.page-ready .hero-names   { animation: heroFadeUp 1.1s ease 0.5s forwards; }
.page-ready .hero-emblem  { animation: heroFadeUp 1.1s ease 0.9s forwards; }
.page-ready .hero-date    { animation: heroFadeUp 1.1s ease 1.2s forwards; }
.page-ready .hero-place   { animation: heroFadeUp 1.1s ease 1.4s forwards; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* HOME — Countdown */
.countdown-section {
  background-color: var(--color-cream);
  padding: 72px var(--pad-h);
  text-align: center;
}
.countdown-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-tan);
  margin: 0 0 20px;
}
.countdown-display {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
}
.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.countdown-number {
  font-family: var(--font-title);
  font-size: clamp(52px, 8vw, 88px);
  font-weight: 500;
  color: var(--color-burgundy);
  line-height: 1;
}
.countdown-label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-tan);
  margin-top: 10px;
}
.countdown-dot {
  font-family: var(--font-title);
  font-size: 60px;
  color: var(--color-tan);
  line-height: 1;
  padding-top: 10px;
}
.countdown-divider {
  width: 120px;
  border: none;
  border-top: 1.5px solid var(--color-tan);
  opacity: 0.7;
  margin: 48px auto 0;
}

/* HOME — A Note From Us */
.note-section {
  background-color: var(--color-cream);
  padding: var(--pad-v) var(--pad-h) calc(var(--pad-v) + 48px);
}
.note-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: center;
}
.note-photo-wrap { display: flex; justify-content: center; }
.note-photo-wrap img {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 50%;
}
.note-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-burgundy);
  font-weight: var(--title-weight);
  letter-spacing: var(--title-spacing);
  line-height: 1.1;
  margin-bottom: 26px;
  text-transform: var(--title-transform);
}
.note-text p       { font-size: 1rem; color: var(--color-dark); line-height: 1.5; margin-bottom: 14px; }
.note-signature    { font-size: clamp(2rem, 4vw, 3rem); color: var(--color-burgundy); font-weight: var(--title-weight); letter-spacing: var(--title-spacing); margin-top: 28px; font-family: var(--font); }

/* HOME — The Overview */
.overview {
  background-image: url('../Website Assets/Red Limewash Background.PNG');
  background-color: #68382c;
  background-blend-mode: luminosity;
  background-size: cover;
  background-position: center;
  padding: 130px var(--pad-h);
  text-align: center;
}
.overview-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: white;
  font-weight: var(--title-weight);
  letter-spacing: var(--title-spacing);
  margin-bottom: 80px;
  text-transform: var(--title-transform);
}
.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  justify-items: center;
}
.overview-item {
  padding: 0 24px;
}
.overview-item .ov-emblem { width: clamp(60px, 6vw, 88px); margin: 0 auto 24px; filter: brightness(0) invert(1); opacity: 0.88; }
.ov-label { font-family: var(--font); color: white; font-size: clamp(1rem, 1.1vw, 1rem); letter-spacing: 0.2em; font-weight: 600; margin-bottom: 8px; text-transform: uppercase; }
.ov-value { font-family: var(--body-font); color: white; font-size: clamp(1rem, 1.2vw, 1.1rem); }

/* HOME — The Schedule */
.schedule-section {
  background-color: var(--color-cream);
  padding: var(--pad-v) var(--pad-h);
  display: flex;
  justify-content: center;
}
.schedule-card {
  border: 1.5px solid var(--color-burgundy);
  border-radius: 6px;
  padding: 64px 80px;
  max-width: 640px;
  width: 100%;
  text-align: center;
}
.schedule-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--color-burgundy);
  font-weight: var(--title-weight);
  letter-spacing: var(--title-spacing);
  margin-bottom: 48px;
  text-transform: var(--title-transform);
  white-space: nowrap;
}
.schedule-event    { margin-bottom: 20px; }
.event-date        { font-family: var(--font); font-size: 1rem; letter-spacing: 0.2em; font-weight: 600; color: var(--color-burgundy); margin-bottom: 6px; text-transform: uppercase; }
.event-details     { font-family: var(--body-font); font-size: 1rem; color: var(--color-dark); line-height: 1.75; }
.schedule-rule     { border: none; border-top: 1px solid var(--color-tan); width: 48px; margin: 30px auto; opacity: 0.5; }

/* HOME — Accommodations Preview */
.home-accom {
  background-image: url('../Website Assets/Red Limewash Background.PNG');
  background-color: #68382c;
  background-blend-mode: luminosity;
  background-size: cover;
  background-position: center;
  padding: 130px var(--pad-h);
  color: white;
}
.home-accom-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.home-accom-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: var(--title-weight);
  letter-spacing: var(--title-spacing);
  color: white;
  margin-bottom: 72px;
  text-transform: var(--title-transform);
}
.home-accom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.home-accom-col {
  display: flex;
  flex-direction: column;
}
.home-accom-col h3 {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: white;
  margin-bottom: 28px;
  text-transform: uppercase;
}
.home-accom-col p { font-size: 1rem; color: rgba(255,255,255,0.85); line-height: 1.7; margin-bottom: 20px; }
.accom-code-inline { font-size: 1rem; color: rgba(255,255,255,0.82); margin-bottom: 80px; }
.accom-code-inline strong { color: white; font-weight: 700; letter-spacing: 0.04em; }
.home-accom-col .btn-ghost {
  margin-top: auto;
  align-self: flex-start;
  min-width: 200px;
}

/* Shared ghost button */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.75);
  color: white;
  padding: 14px;
  font-family: var(--body-font);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.2s;
  border-radius: 4px;
  line-height: 1;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

/* HOME — Footer */
.site-footer {
  background-image: url('../Website Assets/Beige Limewash Background.jpg');
  background-size: cover;
  background-position: center;
  height: 180px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 2px solid rgba(255, 255, 255, 0.55);
}
.footer-logo img {
  height: 58px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.88;
}
.footer-rsvp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 4px;
  color: white;
  padding: 14px;
  font-family: var(--body-font);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  transition: background 0.2s;
}
.footer-rsvp-btn:hover { background: rgba(255,255,255,0.12); }

/* ============================================================
   OUR STORY PAGE
   ============================================================ */
.story-page {
  background-image: url('../Website Assets/Cream_Limewash_HD.JPG');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  min-height: 100vh;
}

.story-page-title {
  text-align: center;
  padding: calc(var(--nav-height) + 60px) 40px 40px;
  font-size: clamp(2.5rem, 6vw, 6rem);
  font-weight: var(--title-weight);
  color: var(--color-tan);
  letter-spacing: var(--title-spacing);
  text-transform: var(--title-transform);
}
.timeline-chapter-label {
  text-align: center;
  font-family: var(--font);
  font-size: clamp(1.1rem, 2.5vw, 1.8rem);
  color: var(--color-tan);
  letter-spacing: 0.22em;
  font-weight: 400;
  padding: 0 40px 20px;
  text-transform: uppercase;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 60px 80px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 90px;
  transform: translateX(-50%);
  background-color: var(--color-tan);
  opacity: 0.5;
  z-index: 0;
}
.tl-row {
  display: grid;
  grid-template-columns: 1fr 90px 1fr;
  gap: 0 24px;
  margin-bottom: 72px;
  position: relative;
  z-index: 1;
}
.tl-left  { text-align: right; padding-right: 22px; padding-top: 2px; }
.tl-center { display: flex; align-items: flex-start; justify-content: center; padding-top: 2px; }
.tl-year    { font-family: var(--body-font); font-size: 1.15rem; font-weight: 600; color: white; letter-spacing: 0.06em; line-height: 1; }
.tl-chapter { font-family: var(--body-font); font-size: 1.15rem; color: white; font-style: italic; font-weight: 400; letter-spacing: 0.04em; text-align: center; line-height: 1.4; }
/* Vertically center the chapter label when it spans multiple photos */
.tl-center--mid { align-items: center; }
.tl-right { padding-left: 22px; padding-top: 2px; }

.tl-text    { font-size: 1rem; color: var(--color-tan); font-style: italic; font-weight: 400; line-height: 1.75; text-wrap: pretty; }
.tl-subhead { font-size: 1rem; color: var(--color-tan); font-style: italic; font-weight: 400; margin-bottom: 4px; display: block; }
.tl-list    { list-style: none; padding: 0; }
.tl-list li { font-size: 1rem; color: var(--color-tan); font-style: italic; font-weight: 400; line-height: 1.75; }
.tl-list li::before { content: '. '; }

/* Photo scroll-activation effect */
.tl-photo {
  margin-top: 14px;
  border-radius: 3px;
  cursor: pointer;
  opacity: 0.06;
  filter: saturate(0) brightness(0.5);
  transition: opacity 0.55s ease, filter 0.55s ease;
}
.tl-photo.is-active {
  opacity: 1;
  filter: saturate(1.05) brightness(1.02);
}
.tl-left  .tl-photo { margin-left: auto; max-width: 300px; }
.tl-right .tl-photo { max-width: 320px; }
/* Second photo in same cell */
.tl-photo + .tl-photo { margin-top: 12px; }

/* Early Years — desktop: Harry left col, Victoria right col */
.tl-row--early { grid-template-rows: auto auto; gap: 16px 24px; }
.tl-row--early .tl-center { grid-column: 2; grid-row: 1 / 3; }
.tl-row--early .tl-photo  { margin-top: 0; }
.early-h1 { grid-column: 1; grid-row: 1; margin-left: auto; max-width: 300px; }
.early-v1 { grid-column: 3; grid-row: 1; max-width: 320px; }
.early-h2 { grid-column: 1; grid-row: 2; margin-left: auto; max-width: 300px; }
.early-v2 { grid-column: 3; grid-row: 2; max-width: 320px; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  align-items: center;
  justify-content: center;
}
.lightbox.is-open { display: flex; }
.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.90);
}
.lightbox-img {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.55);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: white;
  font-size: 2.8rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  z-index: 1;
  font-family: var(--font);
  transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }

.story-end { text-align: center; padding: 40px 40px 100px; }
.story-end h2 {
  font-size: clamp(2.5rem, 6vw, 6rem);
  color: var(--color-tan);
  font-weight: var(--title-weight);
  letter-spacing: var(--title-spacing);
  line-height: 1.1;
  margin-bottom: 14px;
  text-transform: var(--title-transform);
}
.story-end p { font-size: 1rem; letter-spacing: 0.28em; color: var(--color-tan); font-weight: 400; text-transform: uppercase; }

/* ============================================================
   ACCOMMODATIONS PAGE
   ============================================================ */
.accommodations-page {
  background-image: url('../Website Assets/Beige Limewash Background.jpg');
  background-size: cover;
  background-attachment: fixed;
  min-height: 100vh;
}
.page-header { text-align: center; padding: calc(var(--nav-height) + 70px) 40px 60px; }
.page-title {
  font-size: clamp(2.2rem, 6vw, 5rem);
  font-weight: var(--title-weight);
  letter-spacing: var(--title-spacing);
  color: white;
  text-transform: var(--title-transform);
}
.accommodations-body { max-width: 1080px; margin: 0 auto; padding: 10px var(--pad-h) 120px; display: flex; flex-direction: column; align-items: center; }
.accom-item { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; align-items: start; width: 100%; }
.accom-name { font-size: clamp(1.3rem, 2.2vw, 2rem); font-weight: var(--title-weight); letter-spacing: var(--title-spacing); text-transform: var(--title-transform); color: white; line-height: 1.25; white-space: nowrap; }
.accom-details p   { font-size: 1.05rem; color: white; font-weight: 700; line-height: 1.9; margin-bottom: 18px; }
.accom-code        { font-size: 1rem; color: rgba(255,255,255,0.88); font-weight: 500; line-height: 1.85; margin-bottom: 30px; }
.accom-code strong { color: white; font-weight: 700; letter-spacing: 0.06em; }
.accom-tag         { font-size: 1rem; color: rgba(255,255,255,0.9); font-family: var(--font-body); font-weight: 600; letter-spacing: 0.04em; margin-top: 10px; }
.accom-other-header { margin: 80px 0 88px; text-align: center; }
.accom-section-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: var(--title-weight); letter-spacing: var(--title-spacing); text-transform: var(--title-transform); color: white; margin-bottom: 20px; }
.accom-other-intro { font-size: 1.05rem; color: white; font-weight: 700; line-height: 1.9; max-width: 780px; margin: 0 auto; text-align: center; }
.accom-other-header ~ .accom-item { margin: 0 auto 100px; gap: 120px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); text-align: left; }

/* ============================================================
   TRAVEL INFO PAGE
   ============================================================ */
.travel-page {
  background-image: url('../Website Assets/Red Limewash Background.PNG');
  background-color: #68382c;
  background-blend-mode: luminosity;
  background-size: cover;
  background-attachment: fixed;
  min-height: 100vh;
}
.travel-body {
  max-width: 780px;
  margin: calc(var(--nav-height) + 48px) auto 72px;
  padding: 72px 64px 80px;
  text-align: justify;
  background-image: url('../Website Assets/Cream_Limewash.PNG');
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.28);
}
.travel-body .page-title { color: var(--color-burgundy); margin-bottom: 56px; font-size: clamp(1.5rem, 3.5vw, 2.8rem); text-align: center; }
.travel-section          { margin-bottom: 56px; }
.travel-section-title    { font-size: clamp(1.3rem, 2.5vw, 1.9rem); color: var(--color-burgundy); font-weight: var(--title-weight); letter-spacing: var(--title-spacing); margin-bottom: 22px; text-transform: var(--title-transform); white-space: nowrap; text-align: center; }
.travel-section p        { font-size: 1rem; color: var(--color-dark); font-weight: 500; line-height: 1.95; margin-bottom: 8px; text-wrap: pretty; }
.travel-section a        { color: var(--color-burgundy); text-decoration: underline; text-underline-offset: 3px; }
.travel-section ul       { list-style: disc; padding-left: 20px; }
.travel-section ul li    { font-size: 1rem; color: var(--color-dark); font-weight: 500; line-height: 1.95; text-wrap: pretty; margin-bottom: 8px; }
.travel-section ul li::marker { font-size: 0.6rem; }
.travel-divider { border: none; border-top: 1px solid var(--color-tan); opacity: 0.35; margin: 56px 0; }
.travel-doc-item { margin: 24px 0; text-align: left; }
.travel-doc-item p { margin-bottom: 6px; }
.travel-note { font-style: italic; font-weight: 700 !important; color: var(--color-burgundy) !important; }
.travel-note--bold { font-weight: 700 !important; margin-top: 32px; }

/* ============================================================
   ADDITIONAL INFO PAGE
   ============================================================ */
.additional-page {
  background-image: url('../Website Assets/Cream_Limewash_HD.JPG');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  min-height: 100vh;
}
.additional-body {
  max-width: 820px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 70px) 40px 120px;
  text-align: center;
}
.additional-body .page-title { color: var(--color-tan); margin-bottom: 70px; }
.info-section                { margin-bottom: 56px; }
.info-section-title          { font-size: clamp(1.3rem, 2.5vw, 1.9rem); color: var(--color-tan); font-weight: var(--title-weight); letter-spacing: var(--title-spacing); margin-bottom: 16px; text-transform: var(--title-transform); }
.info-section p              { font-size: 1rem; color: var(--color-dark); font-weight: 400; line-height: 1.95; opacity: 0.78; margin-bottom: 6px; }
.info-section ul             { list-style: none; padding: 0; }
.info-section ul li          { display: block; width: fit-content; margin: 0 auto 4px; text-align: left; font-size: 1rem; color: var(--color-dark); font-weight: 400; line-height: 1.95; opacity: 0.78; }
.info-section ul li::before  { content: '• '; font-size: 0.6rem; vertical-align: middle; }

/* ============================================================
   RSVP PAGE
   ============================================================ */
.rsvp-page {
  background-image: url('../Website Assets/Beige Limewash Background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.rsvp-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 30px) 20px 60px;
}
.rsvp-card {
  background-image: url('../Website Assets/Cream_Limewash.PNG');
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.28);
  padding: 64px 72px;
  max-width: 660px;
  width: 100%;
}
.rsvp-heading  { font-size: clamp(3.5rem, 10vw, 5.5rem); color: var(--color-tan); font-weight: var(--title-weight); letter-spacing: var(--title-spacing); text-align: center; margin-bottom: 8px; text-transform: var(--title-transform); }
.rsvp-deadline { text-align: center; color: var(--color-dark); opacity: 0.65; font-size: 1rem; font-weight: 400; letter-spacing: 0.04em; margin-bottom: 48px; }

.form-group    { margin-bottom: 26px; }
.form-label    { display: block; color: var(--color-dark); font-size: 1rem; letter-spacing: 0.14em; font-weight: 500; margin-bottom: 12px; font-family: var(--font); text-transform: uppercase; }
.form-row      { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form-sub      { display: flex; flex-direction: column; }
.form-sublabel { color: rgba(61, 43, 30, 0.65); font-size: 1rem; font-weight: 400; margin-bottom: 5px; font-family: var(--font); letter-spacing: 0.06em; }

.form-input {
  width: 100%;
  background: rgba(61, 43, 30, 0.07);
  border: 1px solid rgba(61, 43, 30, 0.14);
  border-radius: 7px;
  padding: 12px 15px;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--color-dark);
  outline: none;
  transition: background 0.2s, border-color 0.2s;
}
.form-input::placeholder { color: rgba(61, 43, 30, 0.32); }
.form-input:focus        { background: rgba(61, 43, 30, 0.11); border-color: rgba(61, 43, 30, 0.28); }

select.form-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%2368382c90' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 10px;
  padding-right: 36px;
}
select.form-input option { background: var(--color-cream); color: var(--color-dark); }
textarea.form-input      { resize: vertical; min-height: 88px; }

.radio-group  { display: flex; gap: 28px; flex-wrap: wrap; }
.radio-option { display: flex; align-items: center; gap: 9px; cursor: pointer; }
.radio-option input[type="radio"] { width: 15px; height: 15px; accent-color: var(--color-burgundy); cursor: pointer; }
.radio-option span { color: var(--color-dark); font-size: 1rem; font-weight: 400; font-family: var(--font); }

.submit-btn {
  width: 100%;
  padding: 15px;
  background: transparent;
  border: 1.5px solid var(--color-tan);
  color: var(--color-tan);
  font-family: var(--body-font);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s;
  border-radius: 4px;
  line-height: 1;
}
.submit-btn:hover    { background: rgba(168, 155, 136, 0.12); }
.submit-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.form-message { text-align: center; color: var(--color-dark); font-size: 1rem; font-family: var(--font); margin-top: 14px; min-height: 20px; }

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 768px) {
  :root { --nav-height: 64px; --pad-v: 60px; --pad-h: 24px; }

  /* Fix background-attachment: fixed — broken on iOS Safari */
  .additional-page,
  .travel-page,
  .accommodations-page,
  .rsvp-page { background-attachment: scroll; }

  .site-nav { padding: 0 20px; }
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(30, 18, 12, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 36px;
    z-index: 1100;
  }
  .nav-menu.is-open { display: flex; animation: navFadeIn 0.2s ease; }
  @keyframes navFadeIn { from { opacity: 0; } to { opacity: 1; } }
  .nav-menu a { font-size: 1.1rem; letter-spacing: 0.15em; color: white !important; }
  .nav-rsvp   { border-color: rgba(255,255,255,0.75) !important; }

  /* Countdown */
  .countdown-section { padding: 48px var(--pad-h); }
  .countdown-display { gap: 12px; }
  .countdown-dot { font-size: 40px; padding-top: 8px; }

  /* Home */
  .overview-grid { grid-template-columns: 1fr; gap: 80px; max-width: 280px; margin: 0 auto; }
  .overview-item .ov-emblem { height: 75px; width: auto; }
  .overview-item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0; }
  .note-inner    { grid-template-columns: 1fr; gap: 36px; }
  .note-photo-wrap { justify-content: center; }
  .note-photo-wrap img { max-width: 260px; }
  .schedule-card  { padding: 44px 28px; }
  .home-accom-grid { grid-template-columns: 1fr; gap: 40px; }
  .home-accom-col .btn-ghost { min-width: 0; width: 100%; }
  .accom-code-inline { margin-bottom: 36px; }

  /* Footer */
  .site-footer { padding: 0 20px; }

  /* Story */
  .story-page-title { padding-top: calc(var(--nav-height) + 36px); }
  .timeline-chapter-label { padding: 0 16px 20px; }
  .timeline { padding: 20px 16px 60px; }
  .timeline::before { left: 20px; width: 38px; transform: none; }

  /* Timeline rows: block flow, year absolutely anchored on left */
  .tl-row { display: block; position: relative; padding-left: 48px; padding-right: 0; margin-bottom: 56px; }
  .tl-center { position: absolute; left: 4px; top: 0; bottom: 0; width: 38px; display: flex; align-items: flex-start; justify-content: center; padding: 3px 0 0; }
  .tl-center--mid { align-items: center; }
  .tl-year    { writing-mode: vertical-rl; font-size: 1.05rem; letter-spacing: 0.1em; }
  .tl-chapter { writing-mode: vertical-rl; font-size: 1.05rem; }
  .tl-left, .tl-right { text-align: center; padding: 0 0 0 10px; }
  .tl-left .tl-photo, .tl-right .tl-photo { max-width: 100%; cursor: pointer; margin-left: auto; margin-right: auto; }
  .story-end { padding: 32px 24px 80px; }

  /* Lightbox — larger tap target for close button */
  .lightbox-close { top: 8px; right: 8px; padding: 14px; font-size: 2.2rem; }

  /* Early Years — restore grid for H1→V1→H2→V2 ordering */
  .tl-row--early { display: grid; grid-template-columns: 38px 1fr; grid-template-rows: repeat(4, auto); padding-left: 4px; padding-right: 0; margin-bottom: 72px; }
  .tl-row--early .tl-center { position: static; width: auto; grid-column: 1; grid-row: 1 / 5; align-items: flex-start; }
  .early-h1 { grid-column: 2; grid-row: 1; max-width: 100%; margin: 0; }
  .early-v1 { grid-column: 2; grid-row: 2; max-width: 100%; margin: 0; }
  .early-h2 { grid-column: 2; grid-row: 3; max-width: 100%; margin: 0; }
  .early-v2 { grid-column: 2; grid-row: 4; max-width: 100%; margin: 0; }

  /* Accommodations + shared page header */
  .page-header { padding: calc(var(--nav-height) + 40px) var(--pad-h) 40px; }
  .page-title  { font-size: clamp(1.4rem, 7vw, 2.2rem); }
  .accommodations-body { padding: 16px 24px 80px; }
  .accom-item { grid-template-columns: 1fr; gap: 24px; }
  .accom-other-header ~ .accom-item { grid-template-columns: 1fr; gap: 24px; margin-bottom: 60px; }
  .accom-name { white-space: normal; font-size: clamp(1.4rem, 5vw, 1.8rem); }

  /* Travel */
  .travel-body { margin: calc(var(--nav-height) + 20px) 12px 48px; padding: 48px 24px 60px; border-radius: 14px; text-align: left; }
  .travel-section-title { white-space: normal; }

  /* Additional */
  .additional-body { padding: calc(var(--nav-height) + 36px) 24px 80px; }

  /* RSVP */
  .rsvp-main { padding: calc(var(--nav-height) + 20px) 12px 40px; }
  .rsvp-card { padding: 44px 24px; border-radius: 14px; }
  .form-row  { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-names    { font-size: clamp(2.4rem, 13vw, 3.2rem); }
}
