:root {
  --stripe-a: #e3e5d6;
  --stripe-b: #d3d8c3;
  --ink: #3b3d2c;
  --paper: #f5f6f1;
  /* --olive: #697259; */
  --olive:#405438;
--header-stripes: repeating-linear-gradient(90deg, #efeee4 0 2.2px, #c0c5b8 2.2px 4.4px);
  --stripes: repeating-linear-gradient(90deg, #e9e7df 0 4.7px, #d8d9cd 4.7px 9.4px);
  --footer-stripes: repeating-linear-gradient(90deg, #f0efe8 0 8px, #d8e2d4 8px 16px);                                      
  /* Wave height, and how far each wave strip bleeds past the section edge */
  --curve-h: clamp(20px, 5.6vw, 80px);
  --bleed: calc(var(--curve-h) / 6);
  --curve-full: calc(var(--curve-h) * 7 / 6);

  /* Wave masks: 70 units tall = 60 of wave + 10 of flat bleed */
  --curve-below: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1080 70' preserveAspectRatio='none'><path d='M0 30 C 100 18, 170 0, 270 0 C 540 0, 540 60, 810 60 C 900 60, 990 40, 1080 30 L1080 70 L0 70 Z'/></svg>");
  --curve-above: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -10 1080 70' preserveAspectRatio='none'><path d='M0 30 C 100 18, 170 0, 270 0 C 540 0, 540 60, 810 60 C 900 60, 990 40, 1080 30 L1080 -10 L0 -10 Z'/></svg>");
}

* { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
 font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--olive);
  /* color: var(--ink); */
  font-weight: 600;
  
  
}

/* ===================== HEADER ===================== */
.top {
  position: relative; z-index: 100;
  height: 110px;
  background: var(--header-stripes);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s;
}
.pendant-link { display: block; line-height: 0; }
.pendant { height: 84px; width: auto; }
.pendant .line { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pendant text { font-family: 'Great Vibes', cursive; font-size: 120px; fill: var(--ink); }

/* Burger (2 lines) -> X */
.burger {
  position: absolute; right: 20px; top: 50%;
  width: 44px; height: 30px; margin-top: -15px;
  background: none; border: 0; cursor: pointer; padding: 0;
}
.burger span {
  position: absolute; left: 0; width: 100%; height: 3px;
  background: #3b3d2c; border-radius: 2px;
  transition: transform .3s, top .3s;
}
.burger span:nth-child(1) { top: 7px; }
.burger span:nth-child(2) { top: 20px; }
.menu-open .burger span:nth-child(1) { top: 13px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 13px; transform: rotate(-45deg); }

/* Full-screen menu (phone) */
.menu {
  position: fixed; inset: 0; z-index: 90;
  background: #fff;
  padding-top: 110px;
  padding-bottom: 40px;
  overflow-y: auto;
  display: flex; flex-direction: column; align-items: center;
  justify-content: safe center;
  gap: 22px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.menu a:not(.pill-btn) {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(40px, 9vw, 60px);
  color: var(--olive); text-decoration: none;
}
.menu .pill-btn { margin-top: 14px; }
.menu-open .menu { opacity: 1; visibility: visible; }
.menu-open .top  { background: #fff; }
.menu-open       { overflow: hidden; }

/* ===================== WAVE STRIPS (all sections) ===================== */
.hero::before, .green::before, .schedule::before, .location::before, .foot-info::before,
.hero::after,  .schedule::after, .gallery::after,  .location::after,  .foot-info::after {
  content: "";
  position: absolute; left: 0; right: 0;
  height: var(--curve-full);
  pointer-events: none;
}

/* strips at the TOP of a section: reach a little above the edge */
.hero::before, .green::before, .schedule::before, .location::before, .foot-info::before {
  top: calc(var(--bleed) * -1);
  -webkit-mask: var(--curve-above) center/100% 100% no-repeat;
          mask: var(--curve-above) center/100% 100% no-repeat;
}

/* strips at the BOTTOM of a section: reach a little below the edge */
.hero::after, .schedule::after, .gallery::after, .location::after, .foot-info::after {
  bottom: calc(var(--bleed) * -1);
  -webkit-mask: var(--curve-below) center/100% 100% no-repeat;
          mask: var(--curve-below) center/100% 100% no-repeat;
}

/* strip colors (same color as the neighbour they bleed into) */
.hero::before     { background: var(--header-stripes); z-index: 2; }
.hero::after      { background: var(--paper);          z-index: 2; }
.green::before    { background: var(--paper); }
.schedule::before { background: var(--olive); }
.schedule::after  { background: var(--olive); }
.gallery::after   { background: var(--paper); }
.location::before,
.location::after  { background: var(--paper); }
.foot-info::before,
.foot-info::after { background: var(--paper); }

/* ===================== HERO (video) ===================== */
.hero {
  position: relative;
  height: 70vh; min-height: 420px;
}
.hero video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.88);
}
.hero h1 {
  position: absolute; z-index: 1; inset: 0;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 0 24px;
  font-family: 'Great Vibes', cursive; font-weight: 400;
  font-size: clamp(44px, 9vw, 96px); color: #fff; line-height: 1.3;
}

/* ===================== NAMES ===================== */
.names { padding: 90px 24px 100px; text-align: center; }
.names .name {
  font-family: 'Great Vibes', cursive; font-weight: 400;
  font-size: clamp(50px, 10vw, 84px);
  line-height: 1.25;
  /* color: var(--olive); */
  color: var(--ink);
}
.names .amp {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(36px, 7vw, 64px);
  margin: 28px 0;
}
.names .place { margin-top: 22px; font-size: clamp(22px, 4vw, 30px); letter-spacing: .02em; }
.names .date  { margin-top: 22px; font-size: clamp(20px, 3.6vw, 28px); letter-spacing: .02em; }

/* ===================== GREEN (place) ===================== */
.green {
  position: relative;
  background: var(--olive);
  padding: calc(var(--curve-h) + 70px) 24px 100px;
  text-align: center;
  color: var(--paper);
}
.green h2 {
  font-family: 'Great Vibes', cursive; font-weight: 400;
  font-size: clamp(44px, 9vw, 72px);
  margin-bottom: 12px;
}
.green-place {
  font-size: clamp(22px, 4vw, 30px);
  letter-spacing: .02em;
  margin-bottom: 36px;
}
.place-photo {
  display: block;
  width: min(100%, 520px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin: 0 auto;
  border-radius: 14px;
  background: #8a9279;
}

/* ===================== SCHEDULE ===================== */
.schedule {
  position: relative;
  background: var(--stripes);
  padding: calc(var(--curve-h) + 80px) 24px calc(var(--curve-h) + 100px);
  text-align: center;
  color: #010f02d5;
}
.schedule h2 {
  font-family: 'Great Vibes', cursive; font-weight: 400;
  font-size: clamp(44px, 9vw, 72px);
  margin-bottom: 16px;
}
.schedule p {
  max-width: 520px; margin: 0 auto 36px;
  font-size: clamp(22px, 4vw, 28px); line-height: 1.4;
}
.btn {
  position: relative; z-index: 2;
  display: inline-block;
  padding: 18px 48px;
  border: 1.5px solid #000; border-radius: 12px;
  font-family: inherit; font-weight: 500;
  font-size: clamp(42px, 50vw, 28px);
  color: #020901; text-decoration: none; cursor: pointer;
  transition: background .25s, color .25s;
}
.btn:hover, .btn:focus-visible { background: #010f02d5; color: #fff; }



/* ===================== GALLERY (green) ===================== */
.gallery {
  position: relative;
  background: var(--olive);
  padding: 70px 24px calc(var(--curve-h) + 90px);
  text-align: center;
}
.gallery-photo { display: block; width: min(100%, 520px); margin: 0 auto 60px; }
.gallery-photo img {
  display: block; width: 100%;
  aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 14px; background: #8a9279;
}
.gallery-link {
  display: inline-block;
  padding: 0 40px 18px;
  border-bottom: 1px solid var(--paper);
  font-family: 'Great Vibes', cursive;
  font-size: clamp(36px, 7vw, 52px);
  color: var(--paper); text-decoration: none;
}

/* ===================== RSVP + TRAVEL BUTTONS (white) ===================== */
.actions {
  padding: 70px 24px 110px;
  display: flex; flex-direction: column; align-items: center; gap: 36px;
}
.pill-btn {
  display: inline-block;
  padding: 22px 56px;
  border: 1.5px solid var(--olive); border-radius: 12px;
  background: none; cursor: pointer;
  font-family: inherit; font-weight: 500;
  font-size: clamp(26px, 5vw, 34px);
  color: var(--olive); text-decoration: none;
  transition: background .25s, color .25s;
}
.pill-btn:hover, .pill-btn:focus-visible { background: var(--olive); color: var(--paper); }


/* ===================== FOOTER ===================== */
.site-footer { text-align: center; }

.foot-info {
  position: relative;
  background: var(--footer-stripes);
  color: #000000;
  padding: calc(var(--curve-h) + 60px) 24px calc(var(--curve-h) + 60px);
}
.foot-info h2 {
  font-family: 'Great Vibes', cursive; font-weight: 400;
  font-size: clamp(44px, 9vw, 64px);
  color: var(--ink);
  margin: 0 0 14px;
}
.foot-col + .foot-col { margin-top: 40px; }
.foot-info p {
  max-width: 520px; margin: 0 auto;
  font-size: clamp(22px, 4vw, 28px); line-height: 1.4;
}
.foot-link {
  display: inline-block; margin-top: 22px;
  font-size: clamp(22px, 4vw, 28px); font-weight: 500;
  color: #000; text-decoration: none; border-bottom: 2px solid #000;
}

.foot-initials {
  background: var(--paper);
  padding: 50px 24px 90px;
  font-family: 'Great Vibes', cursive;
  font-size: clamp(72px, 16vw, 120px);
  line-height: 1.1;
  color: var(--olive);
}

/* ===================== INNER PAGES ===================== */
.schedule-page {
  background: var(--stripes);
  color: #000;

  padding: 40px 24px 80px;
  text-align: center;
}
.schedule-page .back {
  display: inline-block; margin-bottom: 30px;
  color: var(--olive); text-decoration: none; font-size: 22px;
}
.schedule-page h1 {
  font-family: 'Great Vibes', cursive; font-weight: 400;
  font-size: clamp(48px, 10vw, 80px);
  margin-bottom: 40px;
}
.schedule-page .day {
  max-width: 560px; margin: 0 auto 28px; padding: 24px;
  background: var(--paper); border: 1.5px solid #000; border-radius: 14px;
}
.schedule-page .day h2 {
  font-family: 'Great Vibes', cursive; font-weight: 400;
  font-size: 40px; color: var(--olive); margin-bottom: 12px;
}
.schedule-page .event {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 8px 0; font-size: 22px; border-top: 1px solid #c9ccbb;
}
.schedule-page .event:first-of-type { border-top: 0; }
.schedule-page .event span:first-child { font-weight: 500; }

.sub-page {
  background: var(--paper);
  color: var(--olive);

  padding: 40px 24px 80px;
  text-align: center;
}
.sub-page .back {
  display: inline-block; margin-bottom: 30px;
  color: var(--olive); text-decoration: none; font-size: 22px;
}
.sub-page h1 {
  font-family: 'Great Vibes', cursive; font-weight: 400;
  font-size: clamp(48px, 10vw, 80px);
  margin-bottom: 40px;
}
.gallery-grid {
  max-width: 1000px; margin: 0 auto;
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.gallery-grid img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 12px; background: #dcded3;
}
.rsvp-form {
  max-width: 520px; margin: 0 auto;
  display: grid; gap: 18px; text-align: left;
}
.rsvp-form label { font-size: 22px; }
.rsvp-form input, .rsvp-form select, .rsvp-form textarea {
  width: 100%; margin-top: 6px; padding: 14px;
  font-family: inherit; font-size: 22px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--olive); border-radius: 12px;
}
.rsvp-form .pill-btn { justify-self: center; margin-top: 10px; }
.info-card {
  max-width: 560px; margin: 0 auto 24px; padding: 24px; text-align: left;
  border: 1.5px solid var(--olive); border-radius: 14px;
}
.info-card h2 {
  font-family: 'Great Vibes', cursive; font-weight: 400;
  font-size: 38px; margin-bottom: 10px;
}
.info-card p { font-size: 22px; line-height: 1.45; }

/* ===================== RESPONSIVE ===================== */

/* Short screens (landscape phones) */
@media (max-height: 640px) {
  .menu { gap: 10px; }
  .menu a:not(.pill-btn) { font-size: 34px; }
  .menu .pill-btn { padding: 14px 40px; margin-top: 6px; }
}

/* Small phones: slimmer header */
@media (max-width: 480px) {
  .top { height: 90px; }
  .menu { padding-top: 90px; }
  .pendant { height: 68px; }
  .burger { right: 16px; }
}

/* LAPTOP / DESKTOP (900px and wider) - keep this block last */
@media (min-width: 900px) {

  /* Header: pendant on the left, menu on the right, no burger */
  .top {
    justify-content: flex-start;
    padding: 0 clamp(32px, 5vw, 80px);
  }
  .burger { display: none; }

  /* Menu becomes a horizontal bar at the top of the page */
  .menu {
    position: absolute; top: 0; right: clamp(32px, 5vw, 80px); left: auto; bottom: auto;
    height: 110px; width: auto;
    z-index: 101;
    padding: 0; background: none; overflow: visible;
    flex-direction: row; align-items: center; justify-content: flex-end;
    gap: clamp(20px, 3vw, 44px);
    opacity: 1; visibility: visible;
  }
  .menu a:not(.pill-btn) { font-size: 34px; line-height: 1; }
  .menu a:not(.pill-btn):hover { color: var(--ink); }
  .menu .pill-btn {
    margin: 0; padding: 10px 30px;
    font-size: 24px;
  }

  /* Page sections laid out horizontally */
  .actions {
    flex-direction: row; justify-content: center; gap: 48px;
  }

  .location {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 520px));
    justify-content: center;
    gap: 32px;
  }
  .location h2 { grid-column: 1 / -1; }
  .venue { margin: 0; }

  /* Footer: Location | Date | RSVP in one row */
  .foot-info {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
    align-items: start;
    padding-left: clamp(32px, 6vw, 120px);
    padding-right: clamp(32px, 6vw, 120px);
  }
  .foot-col + .foot-col { margin-top: 0; }
  .foot-info h2 { font-size: 52px; }
  .foot-info p { font-size: 24px; }
}
@media (min-width: 900px) {
  .foot-info {
    padding-top: calc(var(--curve-h) + 30px);
    padding-bottom: calc(var(--curve-h) + 30px);
  }
  .foot-info h2 { font-size: 44px; margin-bottom: 8px; }
  .foot-info p { font-size: 22px; }
  .foot-initials { padding: 30px 24px 50px; font-size: 90px; }
}

/* Smaller information text, closer to the original */
.names .place,
.names .date,
.green-place,
.schedule p,
.venue p,
.venue a,
.foot-info p,
.foot-link,
.info-card p,
.schedule-page .event,
.rsvp-form label,
.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  font-size: clamp(16px, 4.2vw, 20px);
  line-height: 1.5;
}

.pill-btn,
.btn {
  font-size: clamp(18px, 4.6vw, 22px);
  padding: 14px 40px;
}
/* Pendant letters: thin script like the original */
.pendant text { font-family: 'Allura', cursive; font-size: 130px; fill: var(--ink); }

/* ===== Photo section (RSVP page) ===== */
.hero img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: brightness(.75);
}
.hero--photo { background: #4a4f3f; }
.hero--short { height: min(52vh, 320px); min-height: 260px; }
.hero--green::after { background: var(--olive); }

.hero-text {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 24px; color: #fff;
}
.hero-text h1 {
  position: static; inset: auto; display: block; padding: 0;
  font-family: 'Great Vibes', cursive; font-weight: 400;
  font-size: clamp(20px, 3vw, 40px); line-height: 1.2; color: #fff;
}
.hero-text p {
  margin-top: 10px;
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500;
  font-size: clamp(16px, 4.2vw, 20px);
}

/* ===== Green section variants ===== */
.green h1 {
  font-family: 'Great Vibes', cursive; font-weight: 400;
  font-size: clamp(44px, 9vw, 72px); line-height: 1.2;
  margin-bottom: 14px; color: var(--paper);
}
.green-text {
  max-width: 560px; margin: 0 auto;
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500;
  font-size: clamp(16px, 4.2vw, 20px); line-height: 1.5;
}
.green--top-stripes::before { background: var(--header-stripes); }
.green--flat-top { padding-top: 70px; }
.green--flat-top::before { display: none; }
.green--wave-bottom { padding-bottom: calc(var(--curve-h) + 70px); }
.green--wave-bottom::after {
  content: "";
  position: absolute; left: 0; right: 0;
  bottom: calc(var(--bleed) * -1);
  height: var(--curve-full);
  background: var(--paper);
  pointer-events: none;
  -webkit-mask: var(--curve-below) center/100% 100% no-repeat;
          mask: var(--curve-below) center/100% 100% no-repeat;
}

/* Schedule list sits on the plain paper background */
.schedule-page { background: var(--paper); }
/* Home hero: show the whole video, no cropping */
.hero--full {
  height: auto;
  min-height: 0;
  aspect-ratio: 848 / 478;
}
.hero--full video { object-fit: cover; }
/* Smaller "We're Getting Married" text on the video */
.hero--full h1 {
  font-size: clamp(30px, 6.5vw, 64px);
  line-height: 1.2;
}
/* Move the text lower on the video */
.hero--full h1 {
  padding: 30% 24px 0;
}
/* Footer monogram size */
.monogram {
  display: block;
  margin: 0 auto;
  width: min(100px, 42vw);
  height: auto;
}


/* ===== Schedule: day sections ===== */
.schedule-page { padding: 10px 0 30px; text-align: center; }

.day-section {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: 70px 24px 60px;
  text-align: center;
  color: #000;
}

/* wavy line between days, in a soft color */
.day-section + .day-section::before {
  content: "";
  position: absolute; top: 0;
  left: -50vw; right: -50vw;
  height: 18px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1080 20' preserveAspectRatio='none'><path d='M0 12 C 120 8, 200 2, 300 2 C 540 2, 540 18, 780 18 C 900 18, 1000 12, 1080 8' fill='none' stroke='%23e3dcdc' stroke-width='2' vector-effect='non-scaling-stroke'/></svg>") center / 100% 100% no-repeat;

}


.day-section h2 {
  font-family: 'Great Vibes', cursive; font-weight: 400;
  font-size: clamp(40px, 9vw, 64px); line-height: 1.2;
  color: #000; margin-bottom: 14px;
}
.day-note {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic; font-size: clamp(17px, 4.4vw, 21px);
  margin-bottom: 18px;
}
.day-event { margin-top: 18px; }
.day-event h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700; font-size: clamp(18px, 4.6vw, 22px);
  color: #000; margin-bottom: 6px;
}
.day-event p {
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500;
  font-size: clamp(16px, 4.2vw, 20px); line-height: 1.5;
  max-width: 520px; margin: 0 auto 8px;
}
/* Stop the wavy lines from making the page wider than the screen */
.schedule-page {
  overflow-x: hidden;
  overflow-x: clip;
}

/* ===== Gallery page ===== */
/* plain header, no stripes, like the original */
.page-gallery .top { background: var(--paper); }
.page-gallery.menu-open .top { background: #fff; }

.page-gallery .sub-page { padding-top: 60px; }
.page-gallery .sub-page h1 {
  font-family: 'Great Vibes', cursive; font-weight: 400;
  font-size: clamp(44px, 10vw, 72px);
  margin-bottom: 50px;
}

/* tight 2-column photo grid */
.page-gallery .gallery-grid {
  max-width: 1100px;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.page-gallery .gallery-grid img {
  aspect-ratio: 2 / 3;
  border-radius: 0;
}

