@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;
}

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;
  background-color: #fff;
  background-image: url("../assets/hero-background.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero.watercolor::before,
.hero.watercolor::after {
  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);
}

.hero.watercolor::after {
  top: 44%;
  right: -199px;
  bottom: auto;
  transform: 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(14px, env(safe-area-inset-top));
  left: 50%;
  width: calc(100% - 64px);
  margin: 0;
  transform: translateX(-50%);
  color: rgba(17, 18, 15, .82);
  font: 300 10px/1.35 var(--display);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-frame {
  position: relative;
  z-index: 4;
  left: 50%;
  width: min(115.4vw, 496px);
  aspect-ratio: 752 / 900;
  margin: 0 auto;
  padding: min(17vw, 73px) min(14vw, 60px) min(11vw, 47px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  justify-self: start;
  transform: translateX(-50%);
  background: url("../assets/botanical-frame-clean.jpg") center / 100% 100% no-repeat;
}

.monogram {
  position: relative;
  width: min(47vw, 202px);
  height: min(24vw, 103px);
  margin: 0 0 min(1vw, 4px);
  color: var(--ink);
  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: var(--ink);
  font: 300 clamp(28px, 8.75vw, 38px)/.92 var(--display);
  letter-spacing: .055em;
  text-transform: uppercase;
}

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

.hero-frame > p {
  margin: 25px 0 0;
  color: #8f918d;
  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;
  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: var(--ink);
  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: #fbf8f1;
}

.ornament::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 310px;
  height: 96px;
  transform: translate(-50%, -50%);
  opacity: .9;
  background: url("../assets/botanical-divider-clean.jpg") center / contain no-repeat;
}

.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: 625px;
  padding: 115px 29px 95px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.invitation-section::before {
  top: 0;
  left: -85px;
  width: 210px;
  height: 330px;
  opacity: .52;
}

.invitation-section::after {
  right: -93px;
  bottom: -27px;
  width: 210px;
  height: 330px;
  opacity: .48;
}

.invitation-section .script-title {
  max-width: 390px;
  margin-bottom: 58px;
  font-size: clamp(40px, 11vw, 47px);
  line-height: 1.55;
}

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

.calligraphy-date {
  margin-top: 20px !important;
  display: grid;
  row-gap: 20px;
  color: var(--gold);
  font: 600 clamp(40px, 11vw, 47px)/1.18 var(--display);
}

.calligraphy-date span {
  display: block;
}

.venue-section {
  min-height: 390px;
  padding: 56px 28px 58px;
}

.venue-section::before {
  top: -115px;
  left: -106px;
}

.venue-section::after {
  right: -115px;
  bottom: -126px;
}

.venue-section .script-title {
  margin-bottom: 26px;
  font-size: clamp(32px, 8.5vw, 37px);
  line-height: 1.55;
}

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

.venue-copy {
  margin: 0 auto;
  display: grid;
  gap: 11px;
}

.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);
}

.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: 67px 30px 58px;
}

.route::before {
  top: -117px;
  left: -113px;
}

.route::after {
  right: -105px;
  bottom: 235px;
}

.route .script-title {
  margin-bottom: 35px;
  font-size: clamp(40px, 10.7vw, 47px);
  line-height: 1.32;
}

.route .uppercase-copy {
  max-width: 342px;
}

.map-card {
  position: relative;
  height: 365px;
  margin: 52px -30px 30px;
  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;
}

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

.calendar-section {
  min-height: 424px;
  padding: 50px 31px 45px;
}

.calendar-section::before {
  top: -114px;
  left: -123px;
}

.calendar-section::after {
  right: -112px;
  bottom: -125px;
}

.calendar-section .script-title {
  margin-bottom: 27px;
}

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

.calendar b {
  padding-bottom: 6px;
  color: #656c62;
  font: 600 8px/1 var(--body);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.calendar span {
  position: relative;
  height: 24px;
  display: grid;
  place-items: center;
  font: 300 14px/1 var(--display);
}

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

.calendar .chosen::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold);
}

.calendar .chosen::after {
  content: "♡";
  position: absolute;
  top: -17px;
  right: -2px;
  color: var(--gold);
  font-size: 13px;
}

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

.schedule {
  min-height: 1105px;
  padding: 69px 24px 72px;
}

.schedule::before {
  top: -95px;
  left: -118px;
}

.schedule::after {
  right: -124px;
  bottom: -99px;
}

.schedule .script-title {
  margin-bottom: 44px;
  line-height: 1.3;
}

.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(17, 18, 15, .42);
}

.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(211, 161, 73, .5);
  border-radius: 50%;
  background: url("../assets/hero-background.webp") center / 260% auto no-repeat;
  box-shadow: 0 8px 20px rgba(74, 82, 70, .08);
}

.moment span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(114, 133, 111, .8);
  font: 600 10px/1 var(--body);
}

.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: 7px;
  height: 7px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--gold);
}

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

.timeline h3 {
  margin: 9px 0 7px;
  font: 600 11px/1.25 var(--body);
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

.countdown {
  min-height: 330px;
  padding: 52px 20px 56px;
}

.countdown::before {
  top: -122px;
  left: -122px;
}

.countdown::after {
  right: -130px;
  bottom: -132px;
}

.countdown .script-title {
  margin-bottom: 45px;
  font-size: clamp(40px, 10.8vw, 47px);
  line-height: 1.36;
}

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

.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) {
  .personal-hello {
    font-size: 9px;
  }

  .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;
  }

  .scroll-cue {
    animation: none;
  }
}
