:root {
  color-scheme: light;
  --ink: #173b2d;
  --muted: #687368;
  --paper: #f5f0e3;
  --white: #fffaf0;
  --sage: #e5ebe1;
  --accent: #426747;
  --serif: "Iowan Old Style", "Baskerville", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header {
  position: absolute;
  z-index: 2;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(24px, 7vw, 100px);
}

.wordmark {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 25px;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.wordmark span,
.ornament-mark span {
  color: var(--accent);
  font-style: italic;
}

.site-navigation {
  display: flex;
  gap: 34px;
}

.site-navigation a,
.text-link {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-navigation a {
  color: var(--ink);
  transition: color 160ms ease;
}

.site-navigation a:hover,
.text-link:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: flex;
  min-height: 760px;
  min-height: min(860px, 100svh);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 125px 24px 90px;
  text-align: center;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: 0;
  width: min(36vw, 440px);
  height: min(36vw, 440px);
  border: 1px solid rgba(66, 103, 71, 0.16);
  border-radius: 50%;
  content: "";
}

.hero::before {
  top: 7%;
  left: -21%;
}

.hero::after {
  right: -21%;
  bottom: 5%;
}

.hero > :not(.hero-flower) {
  position: relative;
  z-index: 1;
}

.hero-ornament {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 32px;
}

.ornament-line {
  width: 46px;
  height: 1px;
  background: rgba(66, 103, 71, 0.35);
}

.ornament-mark {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.12em;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(62px, 9.8vw, 132px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.91;
}

.ampersand {
  color: var(--accent);
  font-size: 0.64em;
  font-style: italic;
  letter-spacing: 0;
}

.hero-message {
  margin: 35px 0 10px;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
}

.hero-note,
.section-copy {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;
}

.hero-note {
  margin: 0;
}

.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 40px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(66, 103, 71, 0.35);
  font-size: 10px;
  transition: color 160ms ease;
}

.hero-flower {
  position: absolute;
  color: rgba(66, 103, 71, 0.3);
  font-family: var(--serif);
  font-size: 40px;
}

.flower-one {
  top: 26%;
  left: 16%;
}

.flower-two {
  right: 17%;
  bottom: 24%;
  font-size: 30px;
}

.section-wrap {
  padding: 135px 24px;
  text-align: center;
}

.intro {
  background: var(--white);
}

.section-wrap h2,
.celebration h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.section-wrap h2 em {
  color: var(--accent);
  font-weight: 400;
}

.section-copy {
  max-width: 460px;
  margin: 24px auto 0;
}

.little-flower {
  display: inline-block;
  margin-top: 35px;
  color: var(--accent);
  font-size: 20px;
}

.celebration {
  padding: 125px 24px;
  background: var(--sage);
  text-align: center;
}

.celebration-inner {
  max-width: 640px;
  margin: 0 auto;
}

.detail-rule {
  width: 42px;
  height: 1px;
  margin: 28px auto;
  background: var(--accent);
}

.rsvp {
  background: var(--paper);
}

.site-footer {
  display: flex;
  min-height: 100px;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(24px, 7vw, 100px);
  border-top: 1px solid rgba(23, 59, 45, 0.12);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
}

@media (max-width: 640px) {
  .site-header {
    padding: 21px 24px;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0 8px 8px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .menu-icon,
  .menu-icon::after {
    display: block;
    width: 17px;
    height: 1px;
    background: currentColor;
  }

  .menu-icon {
    position: relative;
  }

  .menu-icon::after {
    position: absolute;
    top: 5px;
    content: "";
  }

  .site-navigation {
    position: absolute;
    top: 68px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 20px;
    background: var(--white);
    box-shadow: 0 12px 30px rgba(23, 59, 45, 0.1);
  }

  .site-navigation.is-open {
    display: flex;
  }

  .site-navigation a {
    padding: 15px 0;
  }

  .site-navigation a + a {
    border-top: 1px solid rgba(40, 57, 47, 0.1);
  }

  .hero {
    min-height: 700px;
    min-height: 100svh;
  }

  .hero-ornament {
    margin-bottom: 27px;
  }

  .hero h1 {
    font-size: clamp(56px, 13vw, 82px);
  }

  .flower-one {
    top: 22%;
    left: 8%;
  }

  .flower-two {
    right: 9%;
    bottom: 17%;
  }

  .section-wrap,
  .celebration {
    padding: 100px 24px;
  }

  .site-footer {
    min-height: 90px;
    padding: 20px 24px;
  }

  .site-footer p {
    max-width: 180px;
    text-align: right;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
