.invitation {
  overflow: hidden;
}
.hero {
  padding-top: 70px;
  padding-bottom: 0;
  text-align: center;
}
.hero__monogram {
  width: 100px;
  margin: 0 auto 45px;
}
.hero__date {
  margin: 0 0 25px;
  font: 12px/1.2 var(--serif);
  font-size: clamp(13px, 1.5vw, 22px);
}
.hero__names {
  margin: 0;
  color: var(--orange);
  font: 48px/0.95 var(--serif);
  font-size: clamp(40px, 7vw, 130px);
  text-transform: uppercase;
  font-weight: 400;
}
.hero__names span {
  display: inline;
}
.hero__names b {
  padding: 0 8px;
  font: 45px/1 var(--script);
  text-transform: none;
}
.hero__place {
  margin: 25px 0 3px;
  font-size: 29px;
}
.hero__garden {
  --parallax-shift: 0px;
  width: calc(100vw + 320px);
  max-width: none;
  margin: 4px 0 0 50%;
  transform: translateX(-50%) translateY(calc(-100px + var(--parallax-shift)));
  will-change: transform;
  overflow: hidden;
}
.hero__garden img {
  width: 100%;
  max-width: none;
  height: auto;
}

.announcement {
  min-height: 980px;
  display: grid;
  place-items: center;
  padding-block: 80px;
}
.announcement__composition {
  position: relative;
  width: min(900px, 100%);
  height: 820px;
}
.announcement__envelope {
  --parallax-shift: 0px;
  position: absolute;
  z-index: 1;
  left: 4%;
  left: -5%;
  top: 50%;
  width: 58%;
  transform: translateY(calc(-50% + var(--parallax-shift))) rotate(-15deg);
  filter: drop-shadow(0 12px 16px rgba(62, 45, 28, 0.34));
  will-change: transform;
}
.announcement__card {
  --parallax-shift: 0px;
  position: absolute;
  z-index: 3;
  left: 30%;
  top: 50%;
  width: min(499px, 80%);
  min-height: 740px;
  transform: translateY(calc(-50% + var(--parallax-shift)));
  padding: 30px 26px 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: center;
  background: rgba(253, 250, 243, 0.97);
  box-shadow: var(--shadow);
  will-change: transform;
}
.announcement__card::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(142, 90, 25, 0.45);
  pointer-events: none;
}
.small-monogram {
  width: 100px;
  height: auto;
  flex-shrink: 0;
}
.announcement__parents {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  color: var(--brown);
}
.announcement__parent-group {
  min-width: 0;
}
.announcement__parent-group h3 {
  margin: 0 0 14px;
  font: italic 14px/1.2 var(--sans);
  font-weight: 300;
}
.announcement__parent-group p {
  margin: 0;
  font: italic 13px/1.2 var(--sans);
  font-weight: 300;
}
.announcement__parent-group p span {
  display: block;
  overflow-wrap: normal;
}
.announcement__card h2 {
  margin: 0;
  color: var(--orange);
  font: 42px/1 var(--serif);
  text-transform: uppercase;
  font-weight: 400;
  white-space: nowrap;
}
.announcement__story {
  width: 100%;
  max-width: 390px;
  color: var(--brown);
}
.announcement__story p {
  margin: 0 0 18px;
  font: italic 13.5px/1.3 var(--sans);
  font-weight: 300;
}
.announcement__story p:last-child {
  margin-bottom: 0;
}
.announcement__signature {
  width: 100%;
}
.announcement__names {
  margin: 0 0 12px;
  color: var(--orange);
  font: 33px/1.05 var(--serif);
  white-space: nowrap;
}
.announcement__names span {
  font: 33px/1 var(--ampersand);
}
.announcement__date {
  margin: 0;
  color: var(--brown);
  font: 15px/1.2 var(--serif);
}
.announcement__timer {
  width: 100%;
}
.announcement__countdown-label {
  margin: 0 0 14px;
  color: var(--brown);
  font: 31px/1 var(--script);
  font-style: normal;
}
.countdown {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-top: 0;
  color: var(--aqua);
  font-style: normal;
  gap: 30px;
}
.countdown span {
  display: grid;
  min-width: 54px;
}
.countdown b {
  font: 28px/1 var(--serif);
  font-weight: 400;
  font-size: clamp(18px, 5.5vw, 40px);
}
.countdown b.countdown-change {
  animation: countdown-fade 0.32s ease-out both;
}
@keyframes countdown-fade {
  from {
    opacity: 0.2;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.countdown small {
  margin-top: 7px;
  color: var(--brown);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.where {
  min-height: 580px;
  display: grid;
  grid-template-columns: 1fr minmax(270px, 420px) 1fr;
  align-items: center;
  gap: clamp(20px, 4vw, 70px);
  text-align: center;
}
.where__church img {
  width: 100%;
}
.where__item {
  display: grid;
  justify-items: center;
  gap: 5px;
}
.where__item > img {
  width: 105px;
  height: 58px;
  object-fit: contain;
}
.where__item strong {
  color: var(--brown);
  font: 17px/1.2 var(--serif);
  font-size: clamp(15px, 1.8vw, 30px);
  text-transform: uppercase;
  font-weight: 400;
}
.where__item span {
  font-size: 14px;
}
.where__item .button {
  margin-top: 15px;
}

.timeline {
  --timeline-cream: #fbf5ef;
  --timeline-stripe-light: #c9cb72;
  --timeline-stripe-dark: #b3b75e;
  padding: clamp(44px, 7vw, 120px) clamp(24px, 9vw, 120px);
  background: repeating-linear-gradient(
    90deg,
    var(--timeline-stripe-light) 0 20px,
    var(--timeline-stripe-dark) 20px 40px
  );
}
.timeline__card {
  --parallax-shift: 0px;
  width: min(1200px, 100%);
  margin-inline: auto;
  padding: clamp(42px, 5vw, 72px) clamp(28px, 5vw, 72px) clamp(46px, 5vw, 72px);
  background: var(--timeline-cream);
  text-align: center;
  transform: translateY(var(--parallax-shift));
  will-change: transform;
}
.timeline__title {
  display: block;
  width: min(230px, 80%);
  height: auto;
  margin: 0 auto clamp(48px, 5vw, 70px);
}
.timeline__list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 28px);
  align-items: start;
}
.timeline__event {
  display: grid;
  gap: clamp(14px, 1vw, 24px);
  justify-items: center;
}
.timeline__event h3,
.timeline__event time {
  margin: 0;
  font-weight: 400;
}
.timeline__event h3 {
  color: var(--brown);
  font: clamp(14px, 1.5vw, 28px)/1.05 var(--serif);
  text-transform: uppercase;
}
.timeline__event time {
  color: var(--aqua);
  font: clamp(16px, 1.45vw, 24px)/1 var(--serif);
}

.dress {
  min-height: 830px;
  padding-block: 75px 95px;
  text-align: center;
}
.section-title {
  width: 240px;
  max-height: 100px;
  object-fit: contain;
  margin: 0 auto 28px;
}
.section-title--left {
  margin-left: 0;
}
.dress__title {
  width: min(200px, 70%);
  max-height: none;
  margin-bottom: 100px;
  margin-top: 20px;
}
.dress__codes {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(230px, 1fr);
  grid-template-areas:
    "women men"
    "outfits outfits";
  width: min(900px, 50%);
  margin-inline: auto;
  align-items: start;
  justify-content: center;
  row-gap: clamp(16px, 2vw, 30px);
  column-gap: clamp(80px, 16vw, 260px);
}
.dress__code--women {
  grid-area: women;
}
.dress__code--men {
  grid-area: men;
}
.dress__code span {
  color: var(--orange);
  font: clamp(15px, 2.5vw, 40px)/1 var(--serif);
  text-transform: uppercase;
}
.dress__code p {
  margin: 12px 0 0;
  color: var(--brown);
  line-height: 1.35;
  font-size: 13px;
}
.dress__outfits {
  grid-area: outfits;
  display: grid;
  grid-template-columns: minmax(100px, 1fr) minmax(100px, 1fr);
  width: 100%;
  margin-inline: auto;
  align-items: end;
  column-gap: clamp(80px, 16vw, 260px);
}
.dress__outfit {
  display: block;
  width: auto;
  height: clamp(150px, 15vw, 220px);
  max-width: 100%;
  margin-inline: auto;
  object-fit: contain;
}
.weather-title {
  margin: 50px 0 -40px;
  color: var(--brown);
  font: 20px/1 var(--serif);
  font-weight: 400;
  text-align: center;
}
.weather-placeholder {
  width: min(900px, calc(100% - 16px));
  min-height: 180px;
  margin: 55px auto 0;
  display: block;
  overflow: hidden;
  position: relative;
  left: -18px;
}
.weather-placeholder .weatherwidget-io {
  display: block;
  width: 100%;
}
.weather-placeholder iframe {
  width: 100% !important;
  max-width: 100% !important;
  border: 0 !important;
}

.gifts {
  position: relative;
  display: grid;
  place-items: center;
  overflow: visible;
}
.gifts__venue {
  --parallax-shift: 0px;
  grid-area: 1 / 1;
  width: calc(100vw + 100px);
  max-width: none;
  margin-top: -280px;
  margin-inline: -50px;
  overflow: visible;
  transform: translateY(var(--parallax-shift));
  will-change: transform;
}
.gifts__venue img {
  width: 100%;
  height: auto;
  max-width: none;
}
.gifts__card {
  --parallax-shift: 0px;
  grid-area: 1 / 1;
  gap: 2rem;
  position: relative;
  z-index: 2;
  align-self: center;
  width: 470px;
  aspect-ratio: 451 / 515;
  min-height: 0px;
  margin-top: 400px;
  padding: 96px 66px 54px;
  display: grid;
  justify-items: center;
  align-content: start;
  background: url("/assets/images/gifts-card.png") center/100% auto no-repeat;
  filter: drop-shadow(0 12px 12px rgba(57, 41, 25, 0.16));
  transform: translateY(var(--parallax-shift));
  will-change: transform;
}
.gifts__card > img {
  position: relative;
  width: 220px;
  height: auto;
  left: -13px;
  margin-top: 50px;
  margin-bottom: 15px;
  object-fit: contain;
}
.gifts__card p {
  margin: 8px 0 5px;
  font: 14px/1 var(--serif);
  font-size: clamp(12px, 1.5vw, 40px);
}
.gifts__card .button {
  min-width: 82px;
  min-height: 24px;
  margin-top: -20px;
}

.lodging {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(300px, 520px) minmax(360px, 600px);
  align-items: center;
  justify-content: center;
  gap: 55px;
  padding-block: 100px;
}
.lodging__copy > p {
  max-width: 450px;
  margin-bottom: 34px;
  font-size: 13px;
  line-height: 1.5;
}
.lodging__copy article {
  margin: 30px 0;
}
.lodging__copy h3 {
  margin: 0;
  color: var(--aqua);
  font: 18px/1 var(--serif);
  font-size: clamp(15px, 2vw, 30px);
  text-transform: uppercase;
}
.lodging__copy article p {
  max-width: 420px;
  margin: 8px 0 12px;
  font-size: 13px;
}
.lodging__art img {
  width: 115%;
}

.rsvp-scene {
  min-height: 920px;
  margin-top: -50px;
  position: relative;
  display: grid;
  place-items: center;
  padding-block: 140px 110px;
}
.rsvp-scene__garden {
  --parallax-shift: 0px;
  position: absolute;
  inset: 0;
  display: grid;
  align-content: start;
  transform: translateY(var(--parallax-shift));
  will-change: transform;
}
.rsvp-scene__garden img {
  width: calc(100% + 160px);
  max-width: none;
  margin-left: -80px;
}
.rsvp-mount {
  --parallax-shift: 0px;
  position: relative;
  z-index: 3;
  width: min(570px, calc(100% - 36px));
  transform: translateY(var(--parallax-shift));
  will-change: transform;
}

.closing {
  min-height: 0;
  position: relative;
  padding-top: 125px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-content: start;
  text-align: center;
  overflow: hidden;
}
.closing > p {
  margin: 0;
  color: var(--orange);
  font: 13px/1.2 var(--serif);
  font-size: clamp(12px, 1.2vw, 20px);
  text-transform: uppercase;
}
.closing > em {
  margin-top: 9px;
  font: 28px/1 var(--script);
}
.closing h2 {
  margin: 65px 0 12px;
  color: var(--orange);
  font: 44px/1 var(--serif);
  font-size: clamp(40px, 6vw, 90px);
  text-transform: uppercase;
  font-weight: 400;
}
.closing h2 b {
  font: 38px/1 var(--script);
  text-transform: none;
}
.closing > span {
  margin-top: 20px;
  font: 12px/1 var(--serif);
  font-size: clamp(11px, 1.5vw, 18px);
}
.closing > span.script {
  font: 25px/1 var(--script);
  font-size: clamp(22px, 3vw, 50px);
  margin-top: 20px;
}
.closing > a {
  margin-top: 100px;
  font: 10px/1 var(--serif);
  font-size: clamp(9px, 1.5vw, 18px);
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 5px;
  position: relative;
  z-index: 2;
  display: inline-block;
  justify-self: center;
}
.closing__venue {
  --parallax-shift: 0px;
  justify-self: start;
  width: calc(100vw + 100px);
  max-width: none;
  height: clamp(290px, 22vw, 590px);
  margin-top: 36px;
  overflow: visible;
  transform: translateX(calc(-1 * clamp(24px, 8vw, 130px) - 50px)) translateY(var(--parallax-shift));
  pointer-events: none;
  will-change: transform;
}

.closing__venue img {
  width: 100%;
  margin-top: -200px;
  max-width: none;
  height: auto;
}
.hero__names b,
.closing h2 b {
  font-family: var(--ampersand);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(38px, 4vw, 90px);
  text-transform: none;
}

@media (max-width: 699px) {
  .hero {
    min-height: 0;
    padding-top: 30px;
  }
  .hero__monogram {
    width: 75px;
    margin-bottom: 30px;
  }
  .hero__date {
    margin-bottom: 12px;
    font-size: 13px;
  }
  .hero__names {
    font-size: 50px;
    line-height: 0.98;
  }
  .hero__names span {
    display: block;
    width: auto;
    margin-bottom: 6px;
  }
  .hero__names b {
    display: block;
    height: 20px;
    font-size: 25px;
    margin-bottom: 10px;
  }
  .hero__place {
    margin-top: 8px;
    font-size: 25px;
  }
  .hero__garden {
    width: calc(100vw + 700px);
    margin-left: 50%;
    transform: translateX(-50%) translateY(var(--parallax-shift));
    margin-top: -90px;
  }

  .announcement {
    min-height: 0;
    padding-block: 45px;
    margin-bottom: 40px;
  }
  .announcement__composition {
    width: 100%;
    height: 890px;
  }
  .announcement__envelope {
    width: 285px;
    left: 30px;
    top: 20.5%;
    transform: translateY(calc(-50% + var(--parallax-shift))) rotate(-10deg);
  }
  .announcement__card {
    width: 97%;
    min-height: 675px;
    left: 2%;
    top: 70%;
    transform: translateY(calc(-50% + var(--parallax-shift)));
    padding: 23px 15px 28px;
    gap: 17px;
  }
  .small-monogram {
    width: 78px;
  }
  .announcement__parents {
    gap: 8px;
  }
  .announcement__parent-group h3 {
    font-size: 10px;
    margin-bottom: 8px;
  }
  .announcement__parent-group p {
    font-size: 10px;
    line-height: 1.24;
  }
  .announcement__card h2 {
    font-size: clamp(26px, 8vw, 34px);
  }
  .announcement__story p {
    font-size: 11px;
    line-height: 1.35;
    margin-bottom: 12px;
  }
  .announcement__names,
  .announcement__names span {
    font-size: clamp(19px, 6.7vw, 27px);
  }
  .announcement__date {
    font-size: 11px;
  }
  .announcement__countdown-label {
    font-size: 27px;
    margin-bottom: 13px;
  }
  .countdown {
    gap: clamp(12px, 4vw, 20px);
  }
  .countdown span {
    min-width: 36px;
  }
  .countdown b {
    font-size: 25px;
  }
  .countdown small {
    margin-top: 4px;
    font-size: 10px;
  }

  .where {
    min-height: 720px;
    grid-template-columns: 1fr;
    gap: 26px;
    padding-block: 65px;
  }
  .where__item {
    gap: 3px;
  }
  .where__item > img {
    width: 110px;
    height: 48px;
    margin-bottom: 10px;
  }
  .where__item strong {
    font-size: 20px;
  }
  .where__item span {
    font-size: 15px;
  }
  .where__church {
    grid-row: 2;
    width: min(300px, 88vw);
    margin: -8px auto;
  }
  .where__church img {
    width: 100%;
    margin: 20px 0 20px;
  }
  .where__item:first-child {
    grid-row: 1;
    margin-top: 70px;
  }
  .where__item:last-child {
    grid-row: 3;
  }

  .timeline {
    padding: 50px 24px;
  }
  .timeline__card {
    width: 80%;
    padding: 52px 24px 58px;
  }
  .timeline__title {
    width: min(210px, 88%);
    margin-bottom: 38px;
  }
  .timeline__list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .timeline__event {
    gap: 3px;
  }
  .timeline__event h3 {
    font-size: clamp(12px, 4vw, 30px);
  }
  .timeline__event time {
    font-size: clamp(12px, 4vw, 30px);
  }

  .dress {
    min-height: 0;
    padding-block: 65px 75px;
  }
  .section-title {
    width: 130px;
  }
  .dress__title {
    width: 40%;
    margin-bottom: 65px;
  }
  .dress__codes {
    grid-template-columns: 1fr;
    grid-template-areas:
      "women"
      "outfits"
      "men";
    width: 100%;
    row-gap: 65px;
  }
  .dress__code span {
    font-size: clamp(10px, 6vw, 48px);
  }
  .dress__code p {
    margin-top: 12px;
    font-size: 13px;
  }
  .dress__outfits {
    width: min(200px, 100%);
    gap: 12px;
  }
  .dress__outfit {
    height: clamp(190px, 55vw, 280px);
  }

  .weather-title {
    margin-top: 55px;
    margin-bottom: -55px;
    font-size: 18px;
  }
  .weather-placeholder {
    width: calc(100vw - 150px);
    min-height: 180px;
    margin: 80px auto 30px;
    left: 0;
  }

  .gifts {
    min-height: 0;
  }
  .gifts__venue {
    width: calc(100vw + 50px);
    margin-inline: -25px;
  }
  .gifts__venue img {
    position: relative;
    width: calc(100vw + 135px);
    height: auto;
    left: -10%;
  }
  .gifts__card {
    width: 255px;
    gap: 1rem;
    aspect-ratio: 451 / 515;
    min-height: 0;
    margin-top: 35px;
    padding: 61px 44px 35px;
  }
  .gifts__card > img {
    width: 130px;
    height: 64px;
    left: -5px;
    margin-top: -5px;
    margin-bottom: -20px;
  }
  .gifts__card p {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .lodging {
    min-height: 800px;
    grid-template-columns: 1fr;
    gap: 0;
    padding-block: 70px 85px;
  }
  .lodging__copy {
    text-align: center;
    padding-inline: 50px;
  }
  .lodging__copy .section-title {
    margin-inline: auto;
  }
  .lodging__copy > p,
  .lodging__copy article p {
    margin-inline: auto;
  }
  .lodging__copy h3 {
    font-size: 20px;
  }
  .lodging__art {
    position: relative;
    grid-row: 1;
    width: 85%;
    left: 2%;
    margin-bottom: 45px;
  }

  .rsvp-scene {
    min-height: 850px;
    padding-block: 170px 85px;
    overflow: visible;
  }
  .rsvp-scene__garden img {
    width: calc(250vw + 100px);
    max-width: none;
    margin-left: -32%;
    margin-top: -125px;
  }
  .closing {
    min-height: 0;
    margin-top: -150px;
  }
  .closing > p {
    margin-top: 60px;
  }
  .closing h2 {
    margin-top: 54px;
    font-size: 50px;
    line-height: 0.98;
  }

  .closing h2 span {
    display: block;
    margin-bottom: 6px;
  }

  .closing h2 b {
    display: block;
    height: 20px;
    padding: 0;
    font-size: 25px;
    margin-bottom: 10px;
  }
  .closing__venue {
    width: calc(100vw + 350px);
    height: 150px;
    margin-top: 24px;
    overflow: visible;
    transform: translateX(-128px) translateY(var(--parallax-shift));
  }

  .closing > a {
    margin-top: 50px;
    font: 10px / 1 var(--serif);
    font-size: clamp(9px, 4vw, 48px);
    text-transform: uppercase;
    text-decoration: none;
  }
  .closing > span {
    margin-top: 20px;
    font: 12px / 1 var(--serif);
    font-size: clamp(11px, 4vw, 18px);
  }

  .closing__venue img {
    position: relative;
    width: 100%;
    margin-top: -90px;
    max-width: none;
    height: auto;
    top: -30%;
  }
}
