:root {
  --ink: #17231f;
  --palm: #28483a;
  --leaf: #4e7152;
  --sea: #2f7f78;
  --sky: #dff4ef;
  --paper: #fff9f1;
  --shell: #f5e2cf;
  --orchid: #fffdf8;
  --flamingo: #e8757f;
  --coral: #c9584e;
  --rattan: #a9784a;
  --muted: #6c766d;
  --line: rgba(23, 35, 31, 0.14);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::selection {
  background: var(--flamingo);
  color: var(--orchid);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 44px;
  color: var(--orchid);
  background: rgba(23, 35, 31, 0.18);
  border-bottom: 1px solid rgba(255, 253, 248, 0.16);
  backdrop-filter: blur(16px);
}

.brand {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.45rem;
  font-style: italic;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

nav a {
  opacity: 0.88;
}

nav a:hover,
nav a:focus-visible {
  opacity: 1;
}

.nav-rsvp {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 253, 248, 0.64);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--orchid);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 28, 24, 0.82), rgba(18, 28, 24, 0.5) 38%, rgba(18, 28, 24, 0.14) 72%),
    linear-gradient(0deg, rgba(18, 28, 24, 0.22), rgba(18, 28, 24, 0) 46%);
}

.hero-content {
  position: relative;
  width: min(720px, calc(100% - 48px));
  margin-left: 72px;
  padding-top: 72px;
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  color: var(--flamingo);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffc7b4;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 9rem;
  font-weight: 400;
  line-height: 0.82;
}

h1 span {
  display: block;
}

.hero-copy {
  max-width: 520px;
  margin-bottom: 34px;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-actions p {
  margin: 0;
  color: rgba(255, 253, 248, 0.78);
  font-size: 0.92rem;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--orchid);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

.intro,
.section,
.rsvp {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.intro {
  padding: 94px 0 88px;
}

.intro p {
  max-width: 930px;
  margin-bottom: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 4.25rem;
  line-height: 1.02;
}

.section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 88px;
  padding: 86px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  position: sticky;
  top: 104px;
  align-self: start;
}

h2 {
  margin-bottom: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 4.35rem;
  font-weight: 400;
  line-height: 1.03;
}

.detail-grid {
  display: grid;
}

.detail-grid article,
.timeline li {
  border-top: 1px solid var(--line);
}

.detail-grid article {
  padding: 26px 0;
}

.detail-grid article:last-child,
.timeline li:last-child {
  border-bottom: 1px solid var(--line);
}

.detail-grid span,
time {
  display: block;
  margin-bottom: 10px;
  color: var(--sea);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-grid strong {
  display: block;
  max-width: 520px;
  color: var(--palm);
  font-size: 1.9rem;
  line-height: 1.25;
}

.timeline {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  padding: 28px 0;
}

h3 {
  margin-bottom: 8px;
  color: var(--palm);
  font-size: 1.25rem;
}

.timeline p,
.section-copy,
.rsvp p {
  color: var(--muted);
  line-height: 1.75;
}

.section-copy {
  max-width: 580px;
  margin: 8px 0 0;
  font-size: 1.08rem;
}

.travel {
  border-bottom: 1px solid var(--line);
}

.rsvp {
  margin-top: 84px;
  margin-bottom: 88px;
  padding: 72px 0;
  border-top: 1px solid var(--flamingo);
  border-bottom: 1px solid var(--flamingo);
}

.rsvp h2 {
  max-width: 820px;
  margin-bottom: 22px;
}

.rsvp p:last-child {
  max-width: 660px;
  margin-bottom: 0;
  font-size: 1.08rem;
}

footer {
  padding: 30px 20px 48px;
  color: var(--muted);
  text-align: center;
}

footer p {
  margin-bottom: 0;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 920px) {
  .site-header {
    padding: 16px 22px;
  }

  nav {
    gap: 16px;
    font-size: 0.76rem;
  }

  .hero-content {
    margin-left: 28px;
  }

  h1 {
    font-size: 6.3rem;
  }

  .intro p,
  h2 {
    font-size: 3.25rem;
  }

  .section {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 68px 0;
  }

  .section-heading {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
  }

  .brand {
    font-size: 1.28rem;
  }

  nav {
    max-width: 210px;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 14px;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-content {
    width: min(460px, calc(100% - 32px));
    margin-left: 16px;
  }

  h1 {
    font-size: 4.65rem;
  }

  .hero-copy {
    font-size: 1.06rem;
  }

  .intro {
    padding: 68px 0 58px;
  }

  .intro p,
  h2 {
    font-size: 2.55rem;
  }

  .detail-grid strong {
    font-size: 1.38rem;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .rsvp {
    margin-top: 58px;
    padding: 54px 0;
  }
}
