:root {
  --blue: #1269a2;
  --blue-deep: #0b4268;
  --blue-soft: #8fc8d4;
  --white: #f9f6e9;
  --paper: #f0ead9;
  --yellow: #f0ce3d;
  --coral: #e7483f;
  --green: #3d6c50;
  --pink: #d9a5bd;
  --ink: #173c34;
  --line-blue: rgba(18, 105, 162, .25);
  --line-white: rgba(249, 246, 233, .4);
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
}

body,
button,
input,
select,
textarea {
  font: inherit;
}

button,
input,
select,
textarea {
  border-radius: 0;
}

button,
a,
summary,
select {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: none;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 72px;
  padding: 0 4.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease, color .3s ease;
}

.site-header.is-solid,
.site-header.is-open {
  background: rgba(249, 246, 233, .97);
  color: var(--blue-deep);
  border-color: var(--line-blue);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: currentColor;
  font-family: var(--serif);
  font-size: 1.1rem;
}

.logo span {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
}

.logo b {
  color: var(--yellow);
  font-style: italic;
}

.site-header.is-solid .logo b,
.site-header.is-open .logo b {
  color: var(--coral);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: .69rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s ease;
}

.site-nav a:hover::before,
.site-nav a:focus-visible::before {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
}

.menu-button i {
  width: 20px;
  height: 1px;
  display: block;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.site-header.is-open .menu-button i:nth-of-type(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-open .menu-button i:nth-of-type(2) {
  opacity: 0;
}

.site-header.is-open .menu-button i:nth-of-type(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 88svh;
  height: 830px;
  max-height: 940px;
  padding: 112px 7% 46px;
  display: grid;
  align-content: space-between;
  overflow: hidden;
  isolation: isolate;
  background: var(--blue);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 22px;
  border: 1px solid rgba(249, 246, 233, .66);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: .18;
  background:
    linear-gradient(45deg, transparent 47%, var(--white) 48% 52%, transparent 53%) 0 0 / 52px 52px,
    linear-gradient(-45deg, transparent 47%, var(--white) 48% 52%, transparent 53%) 0 0 / 52px 52px;
}

.tile-field {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}

.tile-field::before,
.tile-field::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(249, 246, 233, .7);
  transform: rotate(45deg);
}

.tile-field::before {
  width: 230px;
  height: 230px;
  left: -90px;
  top: 145px;
  box-shadow:
    0 0 0 24px rgba(240, 206, 61, .28),
    0 0 0 26px rgba(249, 246, 233, .68);
}

.tile-field::after {
  width: 185px;
  height: 185px;
  right: -58px;
  bottom: 98px;
  box-shadow:
    0 0 0 19px rgba(231, 72, 63, .34),
    0 0 0 21px rgba(249, 246, 233, .66);
}

.tile-flower {
  position: absolute;
  width: 90px;
  height: 90px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--yellow) 0 10%, transparent 11%),
    conic-gradient(from 45deg, transparent 0 12.5%, rgba(249, 246, 233, .86) 12.8% 24.8%, transparent 25% 37.5%, rgba(249, 246, 233, .86) 37.8% 49.8%, transparent 50% 62.5%, rgba(249, 246, 233, .86) 62.8% 74.8%, transparent 75% 87.5%, rgba(249, 246, 233, .86) 87.8% 99.8%);
}

.tile-flower-one {
  top: 19%;
  right: 18%;
}

.tile-flower-two {
  left: 22%;
  bottom: 12%;
  width: 62px;
  height: 62px;
  opacity: .6;
}

.tile-lemon {
  position: absolute;
  top: 16%;
  left: 17%;
  width: 84px;
  height: 54px;
  border: 3px solid var(--white);
  border-radius: 65% 35% 65% 35%;
  background: var(--yellow);
  transform: rotate(-18deg);
}

.tile-lemon::after {
  content: "";
  position: absolute;
  top: -24px;
  right: 3px;
  width: 30px;
  height: 18px;
  border-radius: 60% 10% 60% 10%;
  background: var(--green);
  transform: rotate(22deg);
}

.hero-stamp {
  position: absolute;
  top: 15%;
  right: 8%;
  width: 112px;
  height: 138px;
  padding: 14px;
  display: grid;
  place-items: center;
  border: 8px dotted var(--white);
  background: var(--coral);
  color: var(--white);
  font-family: var(--serif);
  text-align: center;
  transform: rotate(7deg);
}

.hero-stamp::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(249, 246, 233, .65);
}

.hero-stamp span {
  font-size: 2rem;
  line-height: 1;
}

.hero-stamp b {
  font-size: 1rem;
  font-style: italic;
}

.hero-stamp small {
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.hero-postmark {
  position: absolute;
  right: 4%;
  top: 37%;
  width: 230px;
  height: 100px;
  opacity: .65;
  transform: rotate(8deg);
}

.hero-postmark i {
  width: 100%;
  height: 1px;
  margin: 13px 0;
  display: block;
  background: var(--white);
}

.hero-postmark span {
  position: absolute;
  top: 22px;
  left: 30px;
  padding: 8px 12px;
  border: 1px solid var(--white);
  border-radius: 50%;
  font-size: .53rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.hero-copy {
  position: relative;
  width: min(940px, 100%);
  margin: auto;
  text-align: center;
}

.eyebrow,
.section-number {
  margin: 0;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.eyebrow {
  color: var(--yellow);
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: 11rem;
  font-style: italic;
  font-weight: 400;
  line-height: .85;
}

.hero-names {
  margin: 16px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.hero-names i {
  color: var(--yellow);
  font-family: var(--serif);
  font-size: 1.65rem;
  text-transform: lowercase;
}

.hero-note {
  max-width: 470px;
  margin: 28px auto 0;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-style: italic;
}

.hero-date {
  width: min(860px, 74%);
  margin: 0 auto;
  padding: 14px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  background: var(--white);
  color: var(--blue-deep);
  font-size: .66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
  transform: rotate(-1deg);
  box-shadow: 7px 7px 0 var(--yellow);
}

.hero-date strong {
  color: var(--coral);
  font-size: .82rem;
}

.hero-date span:last-child {
  text-align: right;
}

.hero-link {
  position: absolute;
  right: 7%;
  bottom: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .63rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.hero-link b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--white);
  transition: background-color .2s ease, color .2s ease;
}

.hero-link:hover b {
  background: var(--yellow);
  color: var(--blue-deep);
}

.postcard-section,
.sun-section,
.blue-section,
.coral-section,
.white-section {
  position: relative;
  padding: 108px max(6%, 64px);
}

.postcard-section {
  background:
    repeating-linear-gradient(0deg, transparent 0 5px, rgba(23, 60, 52, .018) 6px);
  background-color: var(--paper);
}

.sun-section {
  background: var(--yellow);
  color: var(--ink);
}

.blue-section {
  background: var(--blue);
  color: var(--white);
}

.coral-section {
  background: var(--coral);
  color: var(--white);
}

.white-section {
  background: var(--white);
  color: var(--ink);
}

.section-heading h2,
.postcard-message h2,
.places h2,
.travel h2,
.rsvp h2 {
  margin: 15px 0 0;
  font-family: var(--serif);
  font-size: 5.5rem;
  font-style: italic;
  font-weight: 400;
  line-height: .9;
}

.section-heading > p:last-child {
  max-width: 500px;
  margin: 27px 0 0;
  font-family: var(--serif);
  font-size: 1.08rem;
}

.invitation {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(260px, .65fr) minmax(0, 1.35fr);
  gap: 10%;
  overflow: hidden;
}

.invitation::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid var(--line-blue);
  pointer-events: none;
}

.postcard-address {
  padding-right: 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 42px;
  border-right: 1px solid var(--line-blue);
}

.postcard-address > span {
  width: fit-content;
  padding: 6px 9px;
  border: 2px solid var(--blue);
  color: var(--blue);
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .14em;
  transform: rotate(-3deg);
}

.address-lines {
  display: grid;
  gap: 28px;
}

.address-lines i {
  display: block;
  height: 1px;
  background: var(--line-blue);
}

.postcard-address strong {
  color: var(--coral);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 400;
  text-align: right;
}

.postcard-message {
  align-self: center;
}

.postcard-message .section-number {
  color: var(--blue);
}

.letter-copy {
  max-width: 720px;
  margin: 42px 0 0;
  columns: 2;
  column-gap: 44px;
  column-rule: 1px solid var(--line-blue);
  font-family: var(--serif);
  font-size: 1.08rem;
}

.letter-copy p {
  margin: 0;
  break-inside: avoid;
}

.letter-copy p + p {
  margin-top: 20px;
}

.signature {
  margin: 48px 0 0;
  color: var(--coral);
  font-family: var(--serif);
  font-size: 1.65rem;
  font-style: italic;
  transform: rotate(-2deg);
}

.weekend {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
  gap: 9%;
  overflow: hidden;
}

.weekend::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  left: -150px;
  bottom: -190px;
  border: 2px solid var(--coral);
  border-radius: 50%;
  box-shadow:
    0 0 0 26px var(--yellow),
    0 0 0 28px var(--blue);
}

.schedule {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
}

.schedule li {
  position: relative;
  min-height: 180px;
  padding: 28px 0;
  display: grid;
  grid-template-columns: 62px 82px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  overflow: hidden;
  border-bottom: 1px solid rgba(23, 60, 52, .35);
}

.schedule-day {
  width: 58px;
  height: 67px;
  display: grid;
  place-items: center;
  align-content: center;
  background: var(--white);
  color: var(--blue);
  border: 1px solid var(--blue);
  box-shadow: 4px 4px 0 var(--coral);
}

.schedule-day span {
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1;
}

.schedule-day b {
  font-size: .55rem;
  text-transform: uppercase;
}

.schedule time {
  padding-top: 8px;
  color: var(--blue-deep);
  font-size: 1.2rem;
  font-weight: 900;
}

.schedule h3 {
  margin: 4px 0 8px;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-style: italic;
  font-weight: 400;
}

.schedule p {
  max-width: 510px;
  margin: 0;
}

.schedule-mark {
  position: absolute;
  right: 0;
  bottom: -7px;
  color: rgba(231, 72, 63, .2);
  font-family: var(--serif);
  font-size: 4.5rem;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  transform: rotate(-7deg);
  pointer-events: none;
}

.places {
  overflow: hidden;
}

.places::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .11;
  background:
    conic-gradient(from 45deg, transparent 0 25%, var(--white) 0 50%, transparent 0 75%, var(--white) 0) 0 0 / 72px 72px;
  pointer-events: none;
}

.places-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 30px;
}

.places-heading .section-number,
.places-heading h2 {
  grid-column: 1;
}

.carousel-controls {
  grid-column: 2;
  grid-row: 1 / 3;
  display: grid;
  grid-template-columns: 50px 72px 50px;
  align-items: center;
  border: 1px solid var(--line-white);
}

.carousel-controls button {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

.carousel-controls button:hover {
  background: var(--yellow);
  color: var(--ink);
}

.carousel-controls span {
  height: 50px;
  display: grid;
  place-items: center;
  border-inline: 1px solid var(--line-white);
  font-size: .68rem;
  font-weight: 900;
}

.carousel {
  position: relative;
  z-index: 1;
  margin-top: 68px;
}

.carousel:focus-visible {
  outline-offset: 10px;
}

.carousel-track {
  min-height: 560px;
  display: grid;
  align-items: stretch;
}

.place-card {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr);
  background: var(--white);
  color: var(--ink);
  box-shadow: 12px 12px 0 var(--yellow);
}

.place-card[hidden] {
  display: none;
}

.place-card.is-entering {
  animation: postcard-in .55s cubic-bezier(.2, .8, .2, 1) both;
}

.place-art {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--blue-deep);
  background-image: url("places.webp");
  background-repeat: no-repeat;
  background-size: 300% auto;
}

.place-art::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 18px;
  border: 1px solid rgba(249, 246, 233, .75);
  pointer-events: none;
}

.art-caption {
  position: absolute;
  z-index: 2;
  left: 30px;
  bottom: 30px;
  padding: 8px 11px;
  background: var(--white);
  color: var(--blue-deep);
  font-size: .62rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.place-art-garden {
  background-position: left center;
}

.place-art-terrace {
  background-position: center;
}

.place-art-beach {
  background-position: right center;
}

.place-copy {
  padding: 68px 11%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.place-copy > span {
  color: var(--coral);
  font-size: .65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.place-copy h3 {
  margin: 18px 0 24px;
  font-family: var(--serif);
  font-size: 3.1rem;
  font-style: italic;
  font-weight: 400;
  line-height: .95;
}

.place-copy p {
  margin: 0 0 35px;
  font-family: var(--serif);
  font-size: 1.08rem;
}

.place-copy a {
  width: fit-content;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--blue);
  color: var(--blue);
  font-size: .65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.carousel-dots {
  position: relative;
  z-index: 1;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 13px;
}

.carousel-dots button {
  width: 16px;
  height: 16px;
  padding: 0;
  border: 1px solid var(--white);
  background: transparent;
  transform: rotate(45deg);
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}

.carousel-dots button.is-active {
  background: var(--yellow);
  transform: rotate(45deg) scale(1.18);
}

.travel {
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr);
  gap: 8%;
  overflow: hidden;
}

.travel::after {
  content: "";
  position: absolute;
  right: -75px;
  top: -75px;
  width: 210px;
  height: 210px;
  border: 2px dashed var(--coral);
  border-radius: 50%;
}

.travel-stamp {
  position: absolute;
  right: 35px;
  top: 35px;
  width: 125px;
  height: 125px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 2px solid var(--coral);
  border-radius: 50%;
  color: var(--coral);
  font-family: var(--serif);
  transform: rotate(8deg);
}

.travel-stamp span {
  font-size: 2rem;
  line-height: 1;
}

.travel-stamp b {
  font-size: .65rem;
  letter-spacing: .12em;
}

.travel-heading .section-number {
  color: var(--blue);
}

.travel-grid {
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-blue);
  border-bottom: 1px solid var(--line-blue);
}

.travel-grid article {
  min-width: 0;
  padding: 34px 25px;
  border-right: 1px solid var(--line-blue);
}

.travel-grid article:last-child {
  border-right: 0;
}

.travel-grid article > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: var(--white);
  font-size: 1.25rem;
}

.travel-grid h3 {
  margin: 24px 0 12px;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-style: italic;
  font-weight: 400;
}

.travel-grid p {
  margin: 0;
  font-size: .9rem;
}

.dress {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
  gap: 9%;
}

.dress .section-number {
  color: var(--yellow);
}

.tile-palette {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.tile-palette div {
  position: relative;
  min-height: 190px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    conic-gradient(from 45deg, transparent 0 12.5%, rgba(255, 255, 255, .18) 12.8% 24.8%, transparent 25% 37.5%, rgba(255, 255, 255, .18) 37.8% 49.8%, transparent 50% 62.5%, rgba(255, 255, 255, .18) 62.8% 74.8%, transparent 75% 87.5%, rgba(255, 255, 255, .18) 87.8% 99.8%),
    var(--tile);
  color: var(--ink-tile);
  border: 1px solid rgba(249, 246, 233, .7);
}

.tile-palette div::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid currentColor;
  opacity: .5;
}

.tile-palette span {
  position: relative;
  z-index: 1;
  max-width: 120px;
  font-size: .64rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  text-align: center;
}

.dress-note {
  grid-column: 2;
  max-width: 680px;
  margin: 28px 0 0;
  padding-left: 18px;
  border-left: 4px solid var(--yellow);
  font-family: var(--serif);
  font-style: italic;
}

.notes {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
  gap: 9%;
}

.notes .section-number {
  color: var(--blue);
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line-blue);
}

.notes-grid article {
  min-width: 0;
  padding: 35px 24px;
  border-right: 1px solid var(--line-blue);
}

.notes-grid article:last-child {
  border-right: 0;
}

.notes-grid span {
  color: var(--coral);
  font-size: .7rem;
  font-weight: 900;
}

.notes-grid h3 {
  margin: 32px 0 14px;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-style: italic;
  font-weight: 400;
}

.notes-grid p {
  margin: 0;
  color: rgba(23, 60, 52, .78);
  font-size: .88rem;
}

.rsvp {
  display: grid;
  grid-template-columns: minmax(300px, .7fr) minmax(0, 1.3fr);
  gap: 9%;
  overflow: hidden;
}

.rsvp::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(249, 246, 233, .5);
  pointer-events: none;
}

.rsvp-heading {
  position: relative;
  z-index: 1;
}

.rsvp-heading .section-number {
  color: var(--yellow);
}

.rsvp-heading > p:not(.section-number) {
  max-width: 430px;
  margin: 28px 0 0;
  font-family: var(--serif);
  font-size: 1.05rem;
}

.rsvp-sun {
  position: relative;
  width: 145px;
  height: 145px;
  margin: 55px 0 0 20px;
  border: 1px solid var(--white);
  border-radius: 50%;
  animation: sun-turn 18s linear infinite;
}

.rsvp-sun::before,
.rsvp-sun::after,
.rsvp-sun span::before,
.rsvp-sun span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -28px;
  width: 200px;
  height: 1px;
  background: var(--yellow);
}

.rsvp-sun::after {
  transform: rotate(45deg);
}

.rsvp-sun span::before {
  transform: rotate(90deg);
}

.rsvp-sun span::after {
  transform: rotate(135deg);
}

.rsvp-sun span {
  position: absolute;
  inset: 28px;
  z-index: 1;
  display: block;
  border-radius: 50%;
  background: var(--yellow);
  border: 1px solid var(--white);
}

.rsvp-form {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;
}

.rsvp-form label:not(.check-field) {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.rsvp-form label > span {
  font-size: .63rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  width: 100%;
  min-width: 0;
  padding: 13px 0;
  border: 0;
  border-bottom: 2px solid var(--white);
  background: transparent;
  color: var(--white);
  outline: 0;
}

.rsvp-form select {
  color-scheme: dark;
}

.rsvp-form textarea {
  resize: vertical;
}

.rsvp-form input::placeholder,
.rsvp-form textarea::placeholder {
  color: rgba(249, 246, 233, .65);
  opacity: 1;
}

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

.check-field {
  grid-column: 1 / -1;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.check-field input {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  accent-color: var(--yellow);
}

.field-wide,
.rsvp-form button,
.form-status {
  grid-column: 1 / -1;
}

.rsvp-form button {
  min-height: 58px;
  margin-top: 8px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 2px solid var(--white);
  background: var(--yellow);
  color: var(--ink);
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  cursor: pointer;
  box-shadow: 6px 6px 0 var(--coral);
  transition: background-color .2s ease, box-shadow .2s ease;
}

.rsvp-form button:hover {
  background: var(--white);
  box-shadow: 3px 3px 0 var(--coral);
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-size: .85rem;
}

.finale {
  position: relative;
  min-height: 690px;
  padding: 90px 6%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--white);
  color: var(--blue-deep);
  text-align: center;
}

.finale::before,
.finale::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border: 2px solid var(--blue);
  transform: rotate(45deg);
}

.finale::before {
  left: -135px;
  top: -70px;
  box-shadow: 0 0 0 20px var(--yellow), 0 0 0 22px var(--coral);
}

.finale::after {
  right: -135px;
  bottom: -70px;
  box-shadow: 0 0 0 20px var(--blue-soft), 0 0 0 22px var(--green);
}

.finale > p {
  color: var(--coral);
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.finale h2 {
  margin: 25px 0 0;
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--serif);
  font-size: 5.6rem;
  font-style: italic;
  font-weight: 400;
  line-height: .9;
}

.finale h2 i {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--coral);
  font-size: 2rem;
}

.countdown {
  width: min(800px, 100%);
  margin-top: 66px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line-blue);
}

.countdown div {
  padding: 25px 16px;
  border-right: 1px solid var(--line-blue);
}

.countdown div:last-child {
  border-right: 0;
}

.countdown strong {
  display: block;
  color: var(--blue);
  font-family: var(--serif);
  font-size: 4.8rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
}

.countdown span {
  color: var(--green);
  font-size: .62rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}

footer {
  min-height: 112px;
  padding: 24px 4.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--blue-deep);
  color: var(--white);
}

footer p,
footer > a:last-child {
  font-size: .64rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.has-js [data-invite-block]:not(.hero):not(.finale) {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1);
}

.has-js [data-invite-block]:not(.hero):not(.finale).is-visible {
  opacity: 1;
  transform: none;
}

@keyframes postcard-in {
  from { opacity: 0; transform: translateX(42px) rotate(1deg); }
  to { opacity: 1; transform: translateX(0) rotate(0); }
}

@keyframes sun-turn {
  to { transform: rotate(360deg); }
}

@media (max-width: 1100px) {
  .hero h1 {
    font-size: 8.5rem;
  }

  .hero-stamp {
    right: 5%;
  }

  .section-heading h2,
  .postcard-message h2,
  .places h2,
  .travel h2,
  .rsvp h2 {
    font-size: 4.5rem;
  }

  .schedule li {
    grid-template-columns: 58px 72px minmax(0, 1fr);
    gap: 16px;
  }

  .place-copy h3 {
    font-size: 2.6rem;
  }

  .travel-grid article,
  .notes-grid article {
    padding-inline: 17px;
  }
}

@media (max-width: 850px) {
  html {
    scroll-padding-top: 64px;
  }

  .site-header {
    min-height: 64px;
    padding-inline: 22px;
  }

  .menu-button {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 18px 22px 24px;
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    background: rgba(249, 246, 233, .98);
    color: var(--blue-deep);
    border-top: 1px solid var(--line-blue);
    border-bottom: 1px solid var(--line-blue);
  }

  .site-header.is-open .site-nav {
    display: grid;
  }

  .site-nav a {
    padding: 14px 8px;
    border-bottom: 1px solid var(--line-blue);
  }

  .hero {
    height: auto;
    min-height: 770px;
    padding: 98px 7% 40px;
  }

  .hero-stamp {
    top: 13%;
    right: 6%;
    width: 92px;
    height: 112px;
  }

  .hero-postmark {
    display: none;
  }

  .hero h1 {
    font-size: 7rem;
  }

  .hero-date {
    width: min(600px, 84%);
  }

  .hero-link {
    position: static;
    margin: 26px 0 0 auto;
  }

  .postcard-section,
  .sun-section,
  .blue-section,
  .coral-section,
  .white-section {
    padding: 88px 7%;
  }

  .invitation,
  .weekend,
  .travel,
  .dress,
  .notes,
  .rsvp {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .invitation {
    min-height: 0;
  }

  .postcard-address {
    min-height: 220px;
    padding: 0 0 42px;
    border-right: 0;
    border-bottom: 1px solid var(--line-blue);
  }

  .weekend::after {
    display: none;
  }

  .places-heading {
    align-items: center;
  }

  .place-card {
    grid-template-columns: 1fr;
  }

  .place-art {
    min-height: 420px;
  }

  .place-copy {
    padding: 55px 8%;
  }

  .travel {
    min-height: 0;
  }

  .travel-grid {
    align-self: auto;
  }

  .dress-note {
    grid-column: auto;
  }

  .rsvp-sun {
    position: absolute;
    top: -10px;
    right: 20px;
    width: 95px;
    height: 95px;
    margin: 0;
    opacity: .7;
  }

  .rsvp-sun::before,
  .rsvp-sun::after,
  .rsvp-sun span::before,
  .rsvp-sun span::after {
    left: -19px;
    width: 130px;
  }

  .rsvp-sun span {
    inset: 20px;
  }

  .finale h2 {
    font-size: 4.6rem;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 710px;
    padding-inline: 28px;
  }

  .hero::before {
    inset: 12px;
  }

  .tile-field::before {
    width: 150px;
    height: 150px;
    left: -75px;
  }

  .tile-field::after {
    width: 130px;
    height: 130px;
    right: -65px;
  }

  .tile-lemon {
    top: 20%;
    left: 12%;
    width: 62px;
    height: 40px;
  }

  .tile-flower-one {
    right: 8%;
    top: 30%;
    width: 64px;
    height: 64px;
  }

  .tile-flower-two {
    display: none;
  }

  .hero-stamp {
    top: 340px;
    right: 26px;
    width: 66px;
    height: 78px;
    padding: 8px;
    border-width: 5px;
  }

  .hero-stamp span {
    font-size: 1.45rem;
  }

  .hero-stamp b {
    font-size: .74rem;
  }

  .eyebrow {
    max-width: 230px;
    margin-inline: auto;
    font-size: .58rem;
  }

  .hero h1 {
    margin-top: 8px;
    font-size: 5.1rem;
  }

  .hero-names {
    gap: 10px;
    font-size: .88rem;
  }

  .hero-note {
    max-width: 300px;
    font-size: 1rem;
  }

  .hero-date {
    width: 100%;
    padding: 12px;
    grid-template-columns: 1fr;
    gap: 4px;
    text-align: center;
  }

  .hero-date span:last-child {
    text-align: center;
  }

  .hero-link {
    margin-inline: auto;
  }

  .postcard-section,
  .sun-section,
  .blue-section,
  .coral-section,
  .white-section {
    padding: 72px 22px;
  }

  .invitation::before,
  .rsvp::before {
    inset: 10px;
  }

  .section-heading h2,
  .postcard-message h2,
  .places h2,
  .travel h2,
  .rsvp h2 {
    font-size: 3.35rem;
  }

  .letter-copy {
    columns: 1;
  }

  .letter-copy p + p {
    margin-top: 18px;
  }

  .schedule li {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .schedule time {
    grid-column: 1;
    grid-row: 2;
  }

  .schedule li > div:nth-of-type(2) {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .schedule-mark {
    font-size: 3.4rem;
  }

  .places-heading {
    grid-template-columns: 1fr;
  }

  .places-heading .section-number,
  .places-heading h2,
  .carousel-controls {
    grid-column: 1;
  }

  .carousel-controls {
    grid-row: auto;
    margin-top: 20px;
  }

  .carousel {
    margin-top: 42px;
  }

  .carousel-track,
  .place-card {
    min-height: 0;
  }

  .place-card {
    box-shadow: 7px 7px 0 var(--yellow);
  }

  .place-art {
    min-height: 330px;
  }

  .arch {
    gap: 4%;
  }

  .parasols i {
    width: 74px;
    height: 38px;
  }

  .parasols i:nth-child(2) {
    width: 64px;
    height: 34px;
  }

  .place-copy {
    padding: 45px 24px;
  }

  .place-copy h3 {
    font-size: 2.35rem;
  }

  .travel-stamp {
    display: none;
  }

  .travel-grid,
  .notes-grid {
    grid-template-columns: 1fr;
  }

  .travel-grid article,
  .notes-grid article {
    padding: 28px 4px;
    border-right: 0;
    border-bottom: 1px solid var(--line-blue);
  }

  .travel-grid article:last-child,
  .notes-grid article:last-child {
    border-bottom: 0;
  }

  .tile-palette {
    grid-template-columns: repeat(2, 1fr);
  }

  .tile-palette div {
    min-height: 145px;
  }

  .rsvp-heading {
    padding-right: 0;
  }

  .rsvp-sun {
    display: none;
  }

  .rsvp-form {
    grid-template-columns: 1fr;
  }

  .check-field,
  .field-wide,
  .rsvp-form button,
  .form-status {
    grid-column: auto;
  }

  .finale {
    min-height: 590px;
    padding-inline: 22px;
  }

  .finale::before,
  .finale::after {
    width: 150px;
    height: 150px;
  }

  .finale h2 {
    flex-direction: column;
    gap: 12px;
    font-size: 3.55rem;
  }

  .finale h2 i {
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
  }

  .countdown {
    margin-top: 45px;
  }

  .countdown div {
    padding: 20px 5px;
  }

  .countdown strong {
    font-size: 2.8rem;
  }

  footer {
    padding: 28px 22px;
    flex-direction: column;
    text-align: center;
  }
}

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

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

  .has-js [data-invite-block]:not(.hero):not(.finale) {
    opacity: 1;
    transform: none;
  }
}
