:root {
  --chalk: #f8faf6;
  --paper: #ffffff;
  --ink: #17241d;
  --olive: #344c3d;
  --olive-light: #dce5d9;
  --wine: #76283a;
  --wine-dark: #4f1724;
  --sea: #0f7188;
  --sun: #e9b949;
  --line: #c9d2ca;
  --shadow: 0 18px 55px rgba(23, 36, 29, 0.16);
  --content: 74rem;
  --text: 44rem;
  --header-height: 4.75rem;
  color-scheme: light;
  font-family: "Aptos", "Trebuchet MS", sans-serif;
  font-size: 100%;
  line-height: 1.6;
  color: var(--ink);
  background: var(--chalk);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 0.75rem);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--chalk);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:focus-visible,
button:focus-visible {
  outline: 0.2rem solid var(--sun);
  outline-offset: 0.25rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
a,
address {
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
.brand-mark,
.day-number,
.gift-number,
.closing-mark {
  font-family: "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: 2.6rem;
  line-height: 1.08;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.45rem;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--paper);
  background: var(--wine-dark);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem max(1rem, calc((100% - var(--content)) / 2));
  color: var(--paper);
  background: rgba(23, 36, 29, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .site-header {
    background: rgba(23, 36, 29, 0.55);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
  }
}

.brand {
  display: flex;
  flex: 0 0 auto;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: flex;
  width: 2.65rem;
  height: 2.65rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  overflow-wrap: normal;
  white-space: nowrap;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.9rem;
}

.brand-plus {
  color: var(--sun);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  min-height: 2.75rem;
  padding-block: 0.6rem;
  font-size: 0.91rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover {
  text-decoration: underline;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: inherit;
  border: 1px solid currentColor;
  border-radius: 0.2rem;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 200ms ease, opacity 200ms ease, top 200ms ease;
}

.nav-toggle-icon {
  position: relative;
}

.nav-toggle-icon::before {
  position: absolute;
  top: -0.4rem;
}

.nav-toggle-icon::after {
  position: absolute;
  top: 0.4rem;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(90svh, 58rem);
  align-items: end;
  overflow: hidden;
  color: var(--paper);
  background: var(--olive);
}

.hero-image,
.place-image {
  position: absolute;
  top: -9rem;
  right: 0;
  bottom: -9rem;
  left: 0;
  width: 100%;
  height: calc(100% + 18rem);
  object-fit: cover;
  transform: translate3d(0, var(--parallax-offset, 0), 0);
  will-change: transform;
}

.hero-shade,
.place-shade {
  position: absolute;
  inset: 0;
  background: rgba(13, 29, 20, 0.66);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
  padding: 10rem 0 7.5rem;
}

.eyebrow {
  margin-bottom: 1rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  font-size: 0.92rem;
}

.eyebrow.dark {
  color: var(--wine);
}

.eyebrow.light {
  color: #f6d780;
}

.hero h1 {
  max-width: 62rem;
  margin-bottom: 1.4rem;
  font-size: clamp(1.35rem, 7.45vw - 0.2rem, 4.5rem);
  line-height: 0.96;
  text-wrap: balance;
}

.hero h1 > span:not(.ampersand) {
  display: block;
  overflow-wrap: normal;
  white-space: nowrap;
}

.ampersand {
  display: block;
  margin-block: 0.25rem;
  color: var(--sun);
  font-size: 0.66em;
  font-style: italic;
}

.hero-location {
  margin-bottom: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  right: max(1rem, calc((100% - var(--content)) / 2));
  bottom: 1.5rem;
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  text-decoration: none;
}

.section-cue {
  display: flex;
  width: fit-content;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.5rem;
  margin-left: auto;
  font-weight: 700;
  text-decoration: none;
}

.section-cue:hover {
  text-decoration: underline;
}

.intro-grid > .section-cue,
.wedding-grid > .section-cue {
  grid-column: 1 / -1;
}

.section {
  position: relative;
  padding-block: 6rem;
}

.section-inner {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
}

.section-heading {
  max-width: var(--text);
  margin-bottom: 3rem;
}

.section-heading > p:last-child,
.lead {
  font-size: 1.18rem;
}

.intro {
  overflow: hidden;
  background-color: var(--paper);
  background-image: repeating-linear-gradient(90deg, transparent 0, transparent 4.9rem, rgba(52, 76, 61, 0.055) 5rem);
}

.intro-grid,
.split-layout,
.wedding-grid {
  display: grid;
  align-items: center;
  gap: 4rem;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.78fr);
}

.intro-copy {
  max-width: var(--text);
}

.couple-portrait {
  margin: 0;
}

.couple-photo-frame {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--olive);
  background: var(--olive-light);
}

.couple-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.couple-portrait figcaption {
  margin-top: 1.75rem;
  font-size: 0.9rem;
  font-style: italic;
}

.weekend {
  background: var(--chalk);
}

.day-list,
.schedule,
.gift-list,
.stay-options {
  margin: 0;
  padding: 0;
  list-style: none;
}

.day-list {
  display: grid;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.day {
  min-height: 21rem;
  padding: 2rem;
  border-right: 1px solid var(--line);
}

.day:last-child {
  border-right: 0;
}

.day.featured {
  color: var(--paper);
  background: var(--wine);
}

.day-number {
  margin-bottom: 3rem;
  color: var(--sea);
  font-size: 4.25rem;
  line-height: 1;
}

.featured .day-number {
  color: #f6d780;
}

.day-label {
  margin-bottom: 0.65rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.activities {
  color: var(--ink);
  background: var(--olive-light);
}

.activity-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.activity {
  overflow: hidden;
  border-radius: 0.25rem;
  background: var(--paper);
  box-shadow: 0 0.5rem 1.75rem rgba(23, 36, 29, 0.08);
}

.activity img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--olive);
}

.activity-copy {
  padding: 1.5rem;
}

.activity-index {
  margin-bottom: 1.25rem;
  color: var(--wine);
  font-size: 0.8rem;
  font-weight: 800;
}

.provisional-note {
  max-width: var(--text);
  margin: 2rem 0 0;
  padding-left: 1rem;
  border-left: 0.25rem solid var(--sea);
}

.wedding {
  color: var(--paper);
  background-color: var(--wine-dark);
  background-image: repeating-linear-gradient(135deg, transparent 0, transparent 2.95rem, rgba(255, 255, 255, 0.045) 3rem);
}

.wedding-grid {
  align-items: start;
  grid-template-columns: minmax(16rem, 0.8fr) minmax(0, 1.2fr);
}

.wedding-intro {
  position: sticky;
  top: 6rem;
}

.schedule li {
  display: grid;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  grid-template-columns: 7rem minmax(0, 1fr);
}

.schedule li:first-child {
  padding-top: 0;
}

.schedule time,
.schedule-mark {
  color: #f6d780;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.schedule p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.stay {
  background: var(--paper);
}

.media-frame {
  overflow: hidden;
  min-height: 34rem;
  background: var(--olive);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 34rem;
  object-fit: cover;
}

.split-layout {
  grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1.1fr);
}

.stay-options {
  display: grid;
  gap: 0.7rem;
  margin-top: 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stay-options li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.75rem;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.stay-options li::before {
  position: absolute;
  top: 0.9rem;
  left: 0;
  color: var(--sea);
  content: "✓";
}

.place {
  display: grid;
  min-height: 38rem;
  align-items: center;
  overflow: hidden;
  color: var(--paper);
  background: var(--olive);
}

.place-shade {
  background: rgba(18, 42, 34, 0.67);
}

.place-content {
  position: relative;
  z-index: 1;
  margin-block: auto;
}

.place-content > * {
  max-width: 38rem;
}

.place-content address {
  margin: 1.5rem 0;
  font-size: 1.08rem;
  font-style: normal;
  font-weight: 800;
}

.map-link {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1rem;
  color: var(--ink);
  border-radius: 0.2rem;
  background: var(--sun);
  font-weight: 800;
  text-decoration: none;
}

.map-link:hover {
  background: var(--paper);
}

.gifts {
  background-color: var(--chalk);
  background-image: repeating-linear-gradient(0deg, transparent 0, transparent 4.9rem, rgba(118, 40, 58, 0.05) 5rem);
}

.gifts-heading {
  margin-inline: auto;
  text-align: center;
}

.gift-list {
  max-width: 56rem;
  margin-inline: auto;
  counter-reset: gift;
}

.gift-list li {
  display: grid;
  align-items: start;
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 4rem minmax(0, 1fr);
}

.gift-number {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  color: var(--paper);
  border-radius: 50%;
  background: var(--sea);
  font-size: 1.65rem;
}

.serious-note {
  max-width: 56rem;
  margin: 2rem auto 0;
  padding: 1.5rem;
  color: var(--paper);
  border-left: 0.35rem solid var(--sun);
  background: var(--wine);
}

.closing {
  padding-block: 7rem;
  color: var(--paper);
  background: var(--olive);
  text-align: center;
}

.closing-mark {
  margin-bottom: 1rem;
  color: #f6d780;
  font-size: 1.4rem;
}

.closing h2 {
  font-size: 3.4rem;
}

.closing a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem max(1rem, calc((100% - var(--content)) / 2));
  color: var(--ink);
  background: var(--sun);
  font-size: 0.88rem;
  font-weight: 800;
}

.site-footer p {
  margin: 0;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 600ms ease, transform 600ms ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 52rem) {
  .hero-image,
  .place-image {
    animation: none;
    top: 0;
    bottom: 0;
    height: 100%;
    transform: none;
    will-change: auto;
  }

  .site-header {
    flex-wrap: wrap;
    padding-inline: 1rem;
  }

  .brand {
    width: max-content;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
  }

  .hero-content {
    padding-top: 11.5rem;
  }

  .intro-grid,
  .split-layout,
  .wedding-grid {
    gap: 3rem;
    grid-template-columns: 1fr;
  }

  .couple-portrait {
    max-width: 30rem;
    margin-inline: auto;
  }

  .couple-portrait figcaption {
    text-align: center;
  }

  .day-list,
  .activity-grid {
    grid-template-columns: 1fr;
  }

  .day {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .day-number {
    margin-bottom: 1.5rem;
  }

  .wedding-intro {
    position: static;
  }

  .wedding-grid > * {
    min-width: 0;
  }

  .split-layout .media-frame {
    order: 2;
  }

  .split-layout .split-copy {
    order: 1;
  }
}

@media (max-width: 35rem) {
  h2 {
    font-size: 2.15rem;
  }

  .section {
    padding-block: 4.5rem;
  }

  .hero {
    min-height: 48rem;
  }

  .hero-location {
    font-size: 1.25rem;
  }

  .scroll-cue {
    right: auto;
    left: 1rem;
  }

  .schedule li {
    gap: 0.75rem;
    grid-template-columns: minmax(0, 1fr);
  }

  .stay-options {
    grid-template-columns: 1fr;
  }

  .media-frame,
  .media-frame img {
    min-height: 25rem;
  }

  .gift-list li {
    gap: 1rem;
    grid-template-columns: 3.5rem minmax(0, 1fr);
  }

  .gift-number {
    width: 3rem;
    height: 3rem;
  }

  .closing h2 {
    font-size: 2.7rem;
  }

  .site-footer {
    display: block;
    text-align: center;
  }
}

@media (max-height: 40rem) {
  .hero {
    min-height: 85svh;
  }

  .hero-content {
    padding-top: 7.5rem;
    padding-bottom: 2.25rem;
  }

  .hero h1 {
    margin-bottom: 0.85rem;
    line-height: 1;
  }

  .hero-location {
    font-size: 1.1rem;
  }

  .scroll-cue {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero-image,
  .place-image {
    animation: none;
    top: 0;
    bottom: 0;
    height: 100%;
    transform: none;
    will-change: auto;
  }
}

@media print {
  .site-header,
  .scroll-cue,
  .closing a {
    display: none;
  }

  .hero,
  .place,
  .wedding,
  .closing {
    min-height: auto;
    color: var(--ink);
    background: var(--paper);
  }

  .hero-image,
  .hero-shade,
  .place-image,
  .place-shade {
    display: none;
  }

  .section {
    padding-block: 2rem;
  }
}