@font-face {
  font-family: "Mix";
  src: url("../assets/trajan.woff") format("woff");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Mix";
  src: url("../assets/playfair.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Mix";
  src: url("../assets/agonia.woff") format("woff");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Mix";
  src: url("../assets/cormorant.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Circe Rounded";
  src: url("../assets/circe-rounded-300.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Circe Rounded";
  src: url("../assets/circe-rounded-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Circe Rounded";
  src: url("../assets/circe-rounded-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --white: #fff;
  --paper: #f7f7f4;
  --ink: #11120f;
  --gold: #d3a149;
  --gold-soft: #ddb75e;
  --sage: #d1d8c9;
  --sage-deep: #7f9180;
  --line: rgba(17, 18, 15, .25);
  --display: "Mix", Georgia, serif;
  --body: "Circe Rounded", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #e8ece6;
}

body {
  margin: 0;
  color: var(--ink);
  background: #e8ece6;
  font-family: var(--body);
  font-weight: 300;
}

body.is-loading {
  overflow: hidden;
}

.preloader {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background-color: #0c0f0c;
  background-image:
    linear-gradient(rgba(5, 8, 5, .42), rgba(5, 8, 5, .58)),
    url("../assets/hero-background-v2.jpg");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  transition: opacity .42s ease, visibility .42s ease;
}

.js-loading .preloader {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-dots {
  display: flex;
  gap: 11px;
}

.preloader-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .88);
  animation: preloader-dot 1s ease-in-out infinite;
}

.preloader-dots i:nth-child(2) {
  animation-delay: .14s;
}

.preloader-dots i:nth-child(3) {
  animation-delay: .28s;
}

@keyframes preloader-dot {
  0%,
  100% {
    opacity: .4;
    transform: scale(.72);
  }
  50% {
    opacity: 1;
    transform: scale(1.24);
  }
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transition:
    opacity .85s ease var(--reveal-delay, 0s),
    transform 1.45s cubic-bezier(.18, .7, .18, 1) var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.reveal-ready [data-reveal="zoom"] {
  transform: scale(.84);
}

.reveal-ready [data-reveal="left"] {
  transform: translateX(-72px);
}

.reveal-ready [data-reveal="right"] {
  transform: translateX(72px);
}

.reveal-ready [data-reveal="fade"] {
  transform: none;
  transition-property: opacity;
  will-change: opacity;
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

.reveal-ready .button[data-reveal].is-visible:active,
.reveal-ready .calendar-chip[data-reveal].is-visible:active {
  transform: translateY(1px);
}

button,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.invite {
  width: min(100%, 430px);
  margin: 0 auto;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 0 42px rgba(56, 66, 55, .12);
}

.watercolor {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--white);
}

.watercolor::before,
.watercolor::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 184px;
  height: 260px;
  opacity: .34;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
}

.watercolor::before {
  top: -96px;
  left: -94px;
  background-image: url("../assets/foliage-left.webp");
}

.watercolor::after {
  right: -96px;
  bottom: -110px;
  background-image: url("../assets/foliage-right.webp");
}

.hero {
  height: 100svh;
  min-height: 550px;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  text-align: center;
  color: #fff;
  background-color: #0c0f0c;
  background-image:
    linear-gradient(rgba(5, 8, 5, .14), rgba(5, 8, 5, .24)),
    url("../assets/hero-background-v2.jpg");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero.watercolor::before,
.hero.watercolor::after {
  display: none;
  z-index: 0;
  width: 269px;
  height: 430px;
  opacity: .45;
  background-image: url("../assets/hero-side.webp");
  background-position: center;
  background-size: contain;
  transform-origin: 50% 50%;
}

.hero.watercolor::before {
  top: 42%;
  left: -193px;
  transform: rotate(126deg);
  animation: hero-leaf-left 7s ease-in-out infinite;
}

.hero.watercolor::after {
  top: 44%;
  right: -199px;
  bottom: auto;
  transform: rotate(67deg);
  animation: hero-leaf-right 7s ease-in-out -3.5s infinite;
}

@keyframes hero-leaf-left {
  0%,
  100% {
    transform: translateY(0) rotate(126deg);
  }
  50% {
    transform: translateY(-10px) rotate(126deg);
  }
}

@keyframes hero-leaf-right {
  0%,
  100% {
    transform: translateY(0) rotate(67deg);
  }
  50% {
    transform: translateY(-10px) rotate(67deg);
  }
}

.admin-corner-link {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  opacity: 0;
}

.personal-hello {
  position: absolute;
  z-index: 8;
  top: max(12px, env(safe-area-inset-top));
  left: 50%;
  width: calc(100% - 48px);
  max-width: 360px;
  margin: 0;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .92);
  font: 300 clamp(17px, 4.6vw, 19px)/1.22 var(--display);
  letter-spacing: .045em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  -webkit-text-stroke: .22px currentColor;
}

.personal-hello span {
  display: block;
}

.personal-hello .guest-greeting-name {
  margin-top: 3px;
  font-size: 1em;
  line-height: 1.18;
  letter-spacing: .035em;
}

.hero-frame {
  position: relative;
  z-index: 4;
  left: 50%;
  width: min(115.4vw, 496px);
  aspect-ratio: 752 / 900;
  margin: 0 auto clamp(60px, 8svh, 72px);
  padding: min(17vw, 73px) min(14vw, 60px) min(11vw, 47px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  align-self: end;
  justify-self: start;
  transform: translateX(-50%);
  isolation: isolate;
}

.hero-frame::before {
  display: none;
}

.hero-frame.hero-load {
  opacity: 0;
  transform: translateX(-50%) scale(.86);
  transition: opacity 1.05s ease .08s, transform 2.6s cubic-bezier(.18, .72, .12, 1) .08s;
}

.page-ready .hero-frame.hero-load {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.monogram {
  position: relative;
  width: min(47vw, 202px);
  height: min(24vw, 103px);
  margin: 0 0 min(1vw, 4px);
  color: #fff;
  font-family: var(--display);
  font-size: clamp(21px, 6.7vw, 29px);
  font-weight: 600;
  line-height: .82;
}

.monogram span {
  position: absolute;
  top: 0;
}

.monogram span:first-child {
  top: 0;
  left: min(8.5vw, 37px);
  transform: rotate(-6deg);
}

.monogram span:last-child {
  top: min(8vw, 34px);
  right: min(7.5vw, 32px);
  transform: rotate(7deg);
}

.hero h1 {
  width: 100%;
  margin: 0;
  display: grid;
  gap: 3px;
  color: #fff;
  font: 300 clamp(28px, 8.75vw, 38px)/.92 var(--display);
  letter-spacing: .055em;
  text-transform: uppercase;
}

.hero h1 i {
  color: rgba(255, 255, 255, .58);
  font-style: normal;
  font-size: clamp(19px, 5.95vw, 26px);
  line-height: 1;
}

.hero-frame > p {
  margin: 25px 0 0;
  color: rgba(255, 255, 255, .64);
  font: 400 clamp(12px, 3.75vw, 16px)/1.35 Georgia, "Times New Roman", serif;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.hero-frame time {
  margin-top: 17px;
  color: #fff;
  font: 300 clamp(21px, 6.55vw, 28px)/1 var(--display);
  letter-spacing: .08em;
}

.scroll-cue {
  position: absolute;
  z-index: 8;
  right: 0;
  bottom: max(10px, env(safe-area-inset-bottom));
  left: 0;
  color: #fff;
  font-size: 0;
  text-decoration: none;
  animation: cue 1.8s ease-in-out infinite;
}

.scroll-cue::before {
  content: "⌄\A⌄";
  display: inline-block;
  white-space: pre;
  font: 600 21px/.34 var(--body);
}

@keyframes cue {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

.ornament {
  position: relative;
  height: 105px;
  overflow: hidden;
  background: #fff;
}

.ornament::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 310px;
  height: 96px;
  transform: translate(-50%, -50%);
  opacity: .9;
  background: url("../assets/divider-reference-style.png") center / contain no-repeat;
  animation: ornament-glow 6s ease-in-out infinite;
}

@keyframes ornament-glow {
  0%,
  100% {
    opacity: .82;
  }
  50% {
    opacity: 1;
  }
}

.ornament-small {
  height: 80px;
}

.ornament-small::before {
  width: 260px;
  height: 72px;
}

.ornament-wide {
  height: 120px;
}

.ornament-mirror::before {
  transform: translate(-50%, -50%) scaleX(-1);
}

.section {
  position: relative;
  padding: 60px 30px;
  scroll-margin-top: 12px;
  text-align: center;
}

.section p {
  max-width: 338px;
  margin: 0 auto;
}

.leaf-mark {
  display: none;
}

.script-title {
  margin: 0 auto 30px;
  color: var(--ink);
  font: 600 clamp(42px, 12vw, 52px)/1.25 var(--display);
  letter-spacing: 0;
}

.uppercase-copy {
  font: 300 13px/1.65 var(--display);
  letter-spacing: .045em;
  text-transform: uppercase;
}

.invitation-section {
  min-height: 100svh;
  aspect-ratio: 841 / 1870;
  padding: 5svh 29px 105px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  color: #fff;
  background-color: #0c0f0c;
  background-image: url("../assets/invitation-background-v3.jpg");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.invitation-section .leaf-mark {
  display: none;
}

.invitation-rule {
  width: min(46vw, 198px);
  height: 1px;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, .34);
}

.hero + .ornament-small {
  background-color: #0c0f0c;
}

.hero + .ornament-small::before {
  opacity: .72;
  filter: brightness(.5) saturate(.72);
}

.invitation-section::before,
.invitation-section::after {
  display: none;
}

.invitation-section .script-title {
  width: 100%;
  max-width: 360px;
  margin-top: 15svh;
  margin-bottom: 152px;
  color: #fff;
  font: 600 clamp(20px, calc(8.4vw - 9px), 27px)/2 var(--display);
  overflow-wrap: break-word;
}

.section-kicker {
  margin-top: 55px !important;
  font: 300 12px/1 var(--display);
  letter-spacing: .2em;
  text-transform: uppercase;
}

.invitation-section .section-kicker,
.invitation-section .uppercase-copy {
  color: rgba(255, 255, 255, .92);
}

.calligraphy-date {
  width: 100%;
  max-width: 338px !important;
  margin-top: 25px !important;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3%;
  color: var(--gold);
  font: 600 clamp(20px, calc(8.4vw - 9px), 27px)/1.35 var(--display);
  white-space: nowrap;
}

.invitation-section .calligraphy-date {
  color: #fff;
}

.calligraphy-date span {
  display: inline;
}

.invitation-support {
  max-width: 350px !important;
  margin-top: 53px !important;
  color: rgba(255, 255, 255, .94);
  font: 300 12px/1.65 var(--display);
  letter-spacing: .045em;
  text-transform: uppercase;
}

.venue-section {
  min-height: 100svh;
  aspect-ratio: 841 / 1870;
  padding: clamp(52px, 8svh, 82px) 28px 0;
  color: #fff;
  background-color: #0c0f0c;
  background-image: url("../assets/ceremony-background-v3.jpg");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.invitation-section + .ornament-wide {
  display: none;
}

.venue-section::before,
.venue-section::after {
  display: none;
}

.venue-section .script-title {
  margin-bottom: 26px;
  color: #fff;
  font: 600 clamp(20px, calc(8.4vw - 9px), 27px)/2 var(--display);
}

.venue-time {
  display: block;
  margin: 0 auto 27px;
  color: #fff;
  font: 300 30px/1 var(--display);
  letter-spacing: .06em;
}

.venue-copy {
  margin: 0 auto;
  display: grid;
  gap: 11px;
  color: rgba(255, 255, 255, .94);
}

.venue-copy strong {
  font: 300 25px/1 var(--display);
  letter-spacing: .06em;
}

.venue-copy span {
  font: 300 12px/1.6 var(--display);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.couple-photo {
  position: relative;
  height: 520px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  color: var(--ink);
  background: #eef1eb;
}

.photo-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: column;
  gap: 8px;
  padding: 42px 10px;
  overflow: hidden;
  isolation: isolate;
}

.photo-placeholder::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: .76;
  background: url("../assets/hero-background.webp") center / auto 100% no-repeat;
  filter: saturate(.72);
  transition: transform 7s ease;
}

.photo-placeholder:hover::before {
  transform: scale(1.05);
}

.photo-placeholder::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .15) 35%, rgba(247, 247, 244, .92));
}

.bride-placeholder {
  border-left: 1px solid rgba(17, 18, 15, .12);
}

.photo-placeholder span {
  font: 300 10px/1 var(--display);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.photo-placeholder strong {
  font: 600 34px/1 var(--display);
}

.couple-photo > b {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 45px;
  height: 45px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border: 1px solid rgba(211, 161, 73, .72);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(255, 255, 255, .88);
  font: 300 20px/1 var(--display);
}

.route {
  padding: 18px 30px 48px;
  color: #fff;
  background-color: #0c0f0c;
}

.route::before {
  top: -117px;
  left: -113px;
  opacity: .12;
  filter: brightness(.5) saturate(.72);
}

.route::after {
  right: -105px;
  bottom: 235px;
  opacity: .12;
  filter: brightness(.5) saturate(.72);
}

.route-title {
  margin: 0 0 14px;
  font: 400 20px/1.3 var(--body);
  letter-spacing: .02em;
}

.route .uppercase-copy {
  max-width: 330px;
  font-family: var(--body);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .035em;
  color: rgba(255, 255, 255, .86);
}

.route .button {
  border-color: rgba(255, 255, 255, .58);
  color: #fff;
  background: rgba(12, 15, 12, .72);
}

.celebration-section {
  min-height: 100svh;
  padding: 21svh 27px 34svh;
  display: flex;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
  color: #fff;
  background-color: #0c0f0c;
  background-image: url("../assets/celebration-background-v2.jpg");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.celebration-title {
  width: 100%;
  max-width: 360px;
  margin: 0 auto 24px;
  display: grid;
  color: #fff;
  font: 600 clamp(20px, calc(8.4vw - 9px), 27px)/2 var(--display);
  letter-spacing: 0;
}

.celebration-title span {
  display: block;
}

.celebration-time {
  display: block;
  margin: 0 auto 29px;
  color: #fff;
  font: 300 clamp(29px, 8vw, 34px)/1 var(--display);
  letter-spacing: .04em;
}

.celebration-copy {
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  display: grid;
  gap: 11px;
  color: rgba(255, 255, 255, .94);
  text-transform: uppercase;
}

.celebration-copy strong,
.celebration-copy span {
  font-family: var(--display);
  font-weight: 300;
  letter-spacing: .08em;
}

.celebration-copy strong {
  font-size: 15px;
  line-height: 1.35;
}

.celebration-copy span {
  font-size: 12px;
  line-height: 1.65;
}

.map-card {
  position: relative;
  height: 340px;
  margin: 24px -30px 26px;
  overflow: hidden;
  border-top: 1px solid rgba(17, 18, 15, .1);
  border-bottom: 1px solid rgba(17, 18, 15, .1);
  background: #e8ebe5;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.button,
.calendar-chip {
  min-width: 218px;
  min-height: 48px;
  padding: 13px 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17, 18, 15, .34);
  border-radius: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, .86);
  font: 300 10px/1 var(--display);
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .3s ease, background .3s ease, transform .2s ease;
}

.button:hover,
.calendar-chip:hover {
  color: #fff;
  background: var(--sage-deep);
}

.button:active,
.calendar-chip:active {
  transform: translateY(1px);
}

.calendar-section {
  min-height: 100svh;
  aspect-ratio: 840 / 1871;
  padding: 24svh 31px 58px;
  color: #fff;
  background-color: #0c0f0c;
  background-image: url("../assets/calendar-background-v2.jpg");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.calendar-section::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 12%;
  left: 50%;
  width: min(46vw, 198px);
  height: 1px;
  transform: translateX(-50%);
  opacity: 1;
  background: rgba(255, 255, 255, .28);
}

.calendar-section::after {
  display: none;
}

.calendar-section .script-title {
  width: calc(100% + 20px);
  max-width: 380px;
  margin: -28px auto 34px;
  padding: 28px 10px 24px;
  overflow: visible;
  color: #fff;
  font: 600 clamp(20px, calc(8.4vw - 9px), 27px)/2.25 var(--display);
  letter-spacing: .035em;
}

.calendar {
  max-width: 330px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px 4px;
  align-items: center;
}

.calendar b {
  display: none;
}

.calendar span {
  position: relative;
  height: 30px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .95);
  font: 300 17px/1 var(--display);
}

.calendar .chosen {
  z-index: 1;
  color: #fff;
}

.calendar .chosen::before {
  content: "♡";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  color: #718b6f;
  font: 300 54px/.8 Georgia, serif;
  transform: translate(-50%, -50%);
  animation: chosen-pulse 2.4s ease-in-out infinite;
}

@keyframes chosen-pulse {
  0%,
  100% {
    opacity: .82;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.06);
  }
}

.calendar .chosen::after {
  display: none;
}

.calendar-chip {
  min-width: 196px;
  min-height: 40px;
  margin-top: 42px;
  padding: 11px 17px;
}

.calendar-section .calendar-chip {
  border-color: rgba(255, 255, 255, .42);
  color: #fff;
  background: rgba(9, 12, 9, .42);
}

.schedule {
  min-height: 1105px;
  padding: 69px 24px 72px;
  color: #fff;
  background-color: #0c0f0c;
  background-image: url("../assets/program-background-v3.jpg");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.schedule::before,
.schedule::after {
  display: none;
}

.schedule .script-title {
  width: calc(100% + 20px);
  max-width: 380px;
  margin: -28px auto 20px;
  padding: 28px 10px 24px;
  overflow: visible;
  color: #fff;
  font: 600 clamp(20px, calc(8.4vw - 9px), 27px)/2.25 var(--display);
  letter-spacing: .035em;
}

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

.timeline::before {
  content: "";
  position: absolute;
  top: 43px;
  bottom: 43px;
  left: 50%;
  border-left: 1px solid rgba(211, 161, 73, .38);
}

.timeline article {
  position: relative;
  min-height: 174px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.moment {
  position: relative;
  z-index: 2;
  width: 118px;
  height: 118px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background-image: url("../assets/program-moments-v3.jpg");
  background-position: center 0;
  background-repeat: no-repeat;
  background-size: auto 500%;
  box-shadow: inset 0 0 0 999px rgba(12, 15, 12, .13), 0 8px 20px rgba(0, 0, 0, .22);
}

.moment span {
  display: none;
}

.timeline article:nth-child(1) .moment {
  background-position: center 0;
}

.timeline article:nth-child(2) .moment {
  background-position: center 25%;
}

.timeline article:nth-child(3) .moment {
  background-position: center 50%;
}

.timeline article:nth-child(4) .moment {
  background-position: center 75%;
}

.timeline article:nth-child(5) .moment {
  background-position: center 100%;
}

.timeline article > div:last-child {
  padding: 7px 0 7px 20px;
  text-align: left;
}

.timeline article:nth-child(even) .moment {
  grid-column: 2;
}

.timeline article:nth-child(even) > div:last-child {
  grid-column: 1;
  grid-row: 1;
  padding: 7px 20px 7px 0;
  text-align: right;
}

.timeline article::after {
  content: "♥";
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  color: rgba(211, 161, 73, .82);
  background: none;
  font-size: 15px;
  line-height: 1;
}

.timeline time {
  color: #fff;
  font: 300 22px/1 var(--display);
}

.timeline h3 {
  margin: 9px 0 7px;
  color: rgba(255, 255, 255, .96);
  font: 300 11px/1.35 var(--display);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.timeline p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font: 300 13px/1.35 var(--body);
}

.countdown {
  min-height: 100svh;
  padding: 92px 20px 56px;
  display: flex;
  align-items: center;
  flex-direction: column;
  color: #fff;
  background-color: #0c0f0c;
  background-image: url("../assets/countdown-background-v2.jpg");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.countdown > * {
  position: relative;
  z-index: 2;
}

.countdown::before,
.countdown::after {
  display: none;
}

.countdown-promise {
  width: 100%;
  max-width: 340px !important;
  margin: 58px auto 0 !important;
  padding: 0 6px;
  color: #fff;
  font: 600 clamp(20px, calc(8.4vw - 9px), 27px)/2 var(--display);
}

.countdown-promise span {
  display: block;
  white-space: nowrap;
}

.countdown-heading {
  width: 100%;
  margin: auto 0 52px;
  color: #fff;
  font: 300 clamp(15px, 4.2vw, 18px)/1.35 var(--display);
  letter-spacing: .17em;
  text-transform: uppercase;
}

.timer {
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.countdown .timer {
  margin-bottom: 8px;
  color: #fff;
}

.countdown .timer div + div::before {
  border-left-color: rgba(255, 255, 255, .7);
}

.countdown .timer strong {
  color: #fff;
  font-size: clamp(31px, 9vw, 39px);
}

.countdown .timer span {
  color: rgba(255, 255, 255, .9);
}

.timer div {
  position: relative;
  display: grid;
  gap: 8px;
}

.timer div + div::before {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  border-left: 1px solid rgba(17, 18, 15, .32);
}

.timer strong {
  font: 400 31px/1 var(--display);
}

.timer span {
  font: 300 8px/1 var(--display);
  letter-spacing: .05em;
  text-transform: lowercase;
}

.wishes {
  min-height: 384px;
  padding: 82px 31px 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.wishes::before {
  top: -93px;
  left: -105px;
}

.wishes::after {
  right: -103px;
  bottom: -96px;
}

.wishes .script-title {
  margin-bottom: 42px;
  line-height: 1.28;
}

.rsvp .script-title {
  line-height: 1.32;
}

.rsvp {
  min-height: 600px;
  padding: 80px 28px 82px;
}

.rsvp::before {
  top: -101px;
  left: -113px;
}

.rsvp::after {
  right: -113px;
  bottom: -114px;
}

.rsvp > .uppercase-copy {
  max-width: 340px;
}

.rsvp form {
  max-width: 365px;
  margin: 43px auto 0;
  padding: 36px 24px;
  display: grid;
  gap: 25px;
  border: 1px solid rgba(17, 18, 15, .17);
  background: rgba(255, 255, 255, .9);
  text-align: left;
}

.rsvp label,
.rsvp legend {
  font: 300 14px/1.45 var(--body);
}

.rsvp input[type="text"],
.rsvp input:not([type]),
.rsvp textarea {
  width: 100%;
  margin-top: 8px;
  padding: 11px 1px;
  border: 0;
  border-bottom: 1px solid rgba(17, 18, 15, .42);
  border-radius: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font: 300 13px/1.4 var(--body);
}

.rsvp textarea {
  resize: vertical;
}

.rsvp input:focus,
.rsvp textarea:focus {
  border-color: var(--gold);
}

.rsvp fieldset {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
  border: 0;
}

.rsvp legend {
  margin-bottom: 10px;
  font-size: 18px;
}

.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 7px;
}

.rsvp input[type="radio"],
.rsvp input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-right: 6px;
  vertical-align: middle;
  accent-color: var(--sage-deep);
}

.rsvp .button {
  justify-self: center;
  margin-top: 5px;
}

.form-status {
  margin: 0 !important;
  color: #6a2d2d;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

.success {
  max-width: 330px;
  margin: 42px auto 0;
  padding: 31px 20px;
  display: grid;
  gap: 9px;
  border: 1px solid rgba(17, 18, 15, .2);
  background: rgba(255, 255, 255, .9);
}

.success strong {
  font: 600 45px/1 var(--display);
}

.success span {
  font-size: 14px;
}

footer {
  position: relative;
  height: 540px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  isolation: isolate;
  background:
    linear-gradient(rgba(54, 68, 54, .45), rgba(36, 50, 36, .72)),
    url("../assets/hero-background.webp") center / cover no-repeat;
}

footer::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(28, 38, 28, .22));
}

footer > div {
  padding: 35px 22px;
}

footer p {
  margin: 0 0 35px;
  font: 300 12px/1.6 var(--display);
  letter-spacing: .09em;
  text-transform: uppercase;
}

footer h2 {
  margin: 0;
  font: 300 41px/.95 var(--display);
  letter-spacing: .05em;
  text-transform: uppercase;
}

footer h2 i {
  color: var(--gold-soft);
  font-style: normal;
  font-size: .65em;
}

footer time {
  margin-top: 29px;
  display: block;
  font: 300 19px/1 var(--display);
  letter-spacing: .13em;
}

@media (max-width: 360px) {
  .script-title {
    font-size: clamp(38px, 12vw, 43px);
  }

  .timeline p {
    font-size: 12px;
  }

  .checks {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 700px) {
  body {
    padding: 28px 0;
  }

  .invite {
    border-radius: 2px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
