:root {
  --paper: #fffdf9;
  --wine: #4a2832;
  --olive: #5f6c3d;
  --coral: #e77a72;
  --text: #493f42;
  --muted: #827875;
  --line: #e8ddd7;
  --soft: #fbf5f0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 7%, rgba(245,198,193,.13), transparent 22rem),
    radial-gradient(circle at 90% 45%, rgba(125,139,82,.08), transparent 28rem),
    var(--paper);
  font-family: "Montserrat", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100dvh;
}

.hero {
  min-height: 92svh;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 26px 20px 42px;
  text-align: center;
}

.flowers {
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.hero-flowers {
  width: min(56vw, 285px);
  max-height: 380px;
  margin-bottom: 22px;
}

.hero-copy h1,
h2,
h3,
.footer-names {
  font-family: "Bodoni Moda", Georgia, serif;
}

.hero-copy h1 {
  margin: 0;
  color: var(--wine);
  font-size: clamp(48px, 11vw, 92px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: .95;
}

.date {
  margin: 13px 0 0;
  color: var(--coral);
  font-size: clamp(17px, 3vw, 24px);
  font-weight: 600;
}

.scroll-note {
  margin-top: 38px;
  color: var(--olive);
  font-family: Georgia, serif;
  font-size: 27px;
}

.section {
  padding: 74px 20px;
}

.section-inner {
  width: min(100%, 900px);
  margin: 0 auto;
}

.narrow {
  max-width: 660px;
}

.intro-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.42);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  text-align: center;
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 27px;
  font-weight: 600;
}

.intro {
  margin: 0;
  color: var(--olive);
  text-align: center;
  font-size: 16px;
  line-height: 1.8;
}

h2 {
  margin: 0 0 34px;
  color: var(--wine);
  text-align: center;
  font-size: clamp(37px, 7vw, 55px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.05;
}

.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 76px;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: var(--line);
}

.event-card {
  position: relative;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 25px;
  padding: 20px 0;
}

.time {
  position: relative;
  z-index: 1;
  align-self: start;
  padding: 7px 0;
  background: var(--paper);
  color: var(--coral);
  font-size: 15px;
  font-weight: 700;
}

.time::after {
  content: "";
  position: absolute;
  top: 13px;
  right: -6px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--olive);
}

.event-copy {
  padding-left: 5px;
}

.event-copy h3 {
  margin: 0;
  color: var(--wine);
  font-size: 28px;
  font-weight: 600;
}

.event-copy p {
  margin: 4px 0 0;
  color: var(--olive);
  font-size: 14px;
  line-height: 1.5;
}

.event-copy .address {
  color: var(--muted);
  font-size: 12px;
}

.gift {
  background: var(--soft);
  text-align: center;
}

.heart {
  display: block;
  margin-bottom: 5px;
  color: var(--coral);
  font-family: Georgia, serif;
  font-size: 34px;
}

.gift h2,
.photos h2 {
  margin-bottom: 14px;
}

.gift p,
.photos p {
  margin: 0 auto;
  color: var(--olive);
  text-align: center;
  font-size: 15px;
  line-height: 1.7;
}

.photos {
  text-align: center;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 27px;
  flex-wrap: wrap;
}

.button {
  min-width: 180px;
  padding: 14px 20px;
  border-radius: 9px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.button.primary {
  background: var(--wine);
  color: #fff;
  box-shadow: 0 8px 22px rgba(74,40,50,.11);
}

.button.secondary {
  border: 1px solid #d8cac5;
  color: var(--wine);
  background: rgba(255,255,255,.75);
}

footer {
  padding: 30px 20px 46px;
  text-align: center;
}

.footer-flowers {
  width: 105px;
  max-height: 145px;
  margin: 0 auto 10px;
}

.footer-names {
  margin: 0;
  color: var(--wine);
  font-size: 26px;
  font-weight: 600;
}

.footer-date {
  margin: 4px 0 0;
  color: var(--coral);
  font-size: 11px;
  font-weight: 700;
}

.footer-note {
  margin: 14px 0 0;
  color: var(--olive);
  font-size: 11px;
}

@media (max-width: 600px) {
  .hero {
    min-height: 84svh;
    padding-top: 14px;
  }

  .hero-flowers {
    width: min(55vw, 210px);
    max-height: 275px;
    margin-bottom: 16px;
  }

  .hero-copy h1 {
    font-size: clamp(44px, 14vw, 62px);
  }

  .section {
    padding: 52px 16px;
  }

  .intro {
    font-size: 14px;
    line-height: 1.65;
  }

  h2 {
    margin-bottom: 25px;
    font-size: clamp(34px, 10vw, 44px);
  }

  .timeline::before {
    left: 63px;
  }

  .event-card {
    grid-template-columns: 63px 1fr;
    gap: 18px;
    padding: 17px 0;
  }

  .time {
    font-size: 13px;
  }

  .time::after {
    right: -6px;
  }

  .event-copy h3 {
    font-size: 24px;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
