:root {
  --ink: #202428;
  --paper: #f4f0e8;
  --white: #fffaf3;
  --mist: #cbd7df;
  --sky: #dce5e9;
  --slate: #5f707d;
  --line: rgba(32, 36, 40, 0.17);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
}
body.loading { overflow: hidden; }
a { color: inherit; }
img { display: block; width: 100%; }
button { font: inherit; }

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--white);
  background: var(--slate);
  font: 400 32px/1 var(--serif);
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.loader i { width: 0; height: 1px; background: var(--white); animation: load 1s ease forwards; }
.loader.is-hidden { opacity: 0; visibility: hidden; }
@keyframes load { to { width: 54px; } }

.hero {
  position: relative;
  min-height: 100svh;
  color: white;
  background: #0d0d0d;
  isolation: isolate;
}
.hero__image, .hero__veil { position: absolute; inset: 0; height: 100%; }
.hero__image {
  object-fit: cover;
  object-position: center 38%;
  filter: saturate(.88) contrast(1.02) brightness(.94);
  z-index: -2;
}
.hero__veil {
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.03) 42%, rgba(0,0,0,.7));
}
.nav {
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 4vw;
  border-bottom: 1px solid rgba(255,255,255,.32);
  z-index: 2;
}
.monogram, .nav__date { text-decoration: none; letter-spacing: .18em; text-transform: uppercase; }
.monogram { font: 500 20px/1 var(--serif); }
.nav__date { font-size: 12px; font-weight: 500; }
.hero__content {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14vh 4vw 7vh;
}
.eyebrow {
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.eyebrow.dark { color: #656561; }
.hero h1 {
  display: flex;
  align-items: baseline;
  gap: 2.5vw;
  margin: 0 0 7vh;
  font: 400 clamp(65px, 13vw, 190px)/.72 var(--serif);
  letter-spacing: -.06em;
}
.hero h1 em { font-size: .52em; font-weight: 400; }
.hero__footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.45);
  text-transform: uppercase;
}
.hero__footer p { margin: 0; font-size: 12px; font-weight: 500; letter-spacing: .2em; }
.hero__footer p:last-child { text-align: right; }
.hero__footer .hero__bigdate {
  display: flex;
  align-items: baseline;
  gap: .12em;
  font: 400 clamp(50px, 6.5vw, 96px)/.72 var(--serif);
  letter-spacing: -.04em;
}
.hero__bigdate i { font-size: .42em; font-style: normal; }
.scroll-cue {
  position: absolute;
  right: 26px;
  top: 48%;
  display: flex;
  align-items: center;
  gap: 14px;
  color: white;
  text-decoration: none;
  transform: rotate(90deg) translateX(50%);
  transform-origin: right center;
}
.scroll-cue span { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.scroll-cue i { display: block; width: 55px; height: 1px; background: white; }

.ticker { overflow: hidden; color: var(--ink); background: var(--mist); border-bottom: 1px solid var(--ink); }
.ticker > div {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 42px;
  padding: 17px 0;
  animation: ticker 24s linear infinite;
  font: italic 400 23px/1 var(--serif);
}
.ticker i { font-style: normal; font-size: 9px; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section { padding: 120px 5vw; }
.section-index {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.welcome {
  display: grid;
  grid-template-columns: .5fr 1.15fr 1fr;
  gap: 5vw;
  align-items: start;
  background: var(--paper);
}
.welcome__copy { padding-top: 55px; }
h2 {
  margin: 0;
  font: 400 clamp(58px, 7vw, 108px)/.84 var(--serif);
  letter-spacing: -.045em;
}
h2 em { font-weight: 400; color: #747474; }
.lead { max-width: 650px; margin: 48px 0 0; font-size: 21px; line-height: 1.75; }
.signature { margin: 44px 0 0; font: italic 400 30px/1 var(--serif); }
.welcome__photo { margin: 0; }
.welcome__photo img {
  height: min(68vw, 780px);
  object-fit: cover;
  object-position: 50% center;
  filter: saturate(.92) contrast(1.01);
}
.welcome__photo figcaption { padding-top: 12px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }

.countdown {
  padding: 110px 5vw;
  color: var(--white);
  background: var(--slate);
  text-align: center;
}
.countdown h2 { font-size: clamp(52px, 6vw, 94px); }
.countdown__date {
  margin: 48px 0 0;
  color: var(--white);
  font: 400 clamp(62px, 9vw, 138px)/.75 var(--serif);
  letter-spacing: -.025em;
}
.countdown__grid {
  max-width: 1050px;
  margin: 70px auto 55px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.3);
  border-bottom: 1px solid rgba(255,255,255,.3);
}
.countdown__grid div { padding: 38px 10px; border-right: 1px solid rgba(255,255,255,.3); }
.countdown__grid div:last-child { border: 0; }
.countdown__grid strong { display: block; font: 400 clamp(46px, 6vw, 90px)/1 var(--serif); }
.countdown__grid span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 29px;
  border: 1px solid currentColor;
  border-radius: 0;
  color: inherit;
  background: transparent;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .25s ease, background .25s ease;
}
.button--light:hover { color: var(--ink); background: var(--white); }

.details {
  display: grid;
  grid-template-columns: .5fr 1fr 1.4fr;
  gap: 5vw;
  background: #fbf8f1;
}
.details__heading { padding-top: 55px; }
.details__heading h2 { font-size: clamp(58px, 6.4vw, 100px); }
.details__date { margin: 0 0 55px; font-family: var(--serif); line-height: .68; letter-spacing: -.055em; }
.details__date span { display: block; font-size: clamp(70px, 8vw, 126px); }
.details__date small {
  display: block;
  margin: 17px 0 0 .08em;
  color: #777773;
  font-size: clamp(27px, 3vw, 44px);
  font-weight: 400;
  letter-spacing: .18em;
}
.timeline { padding-top: 48px; }
.timeline__item { display: grid; grid-template-columns: 110px 1fr; gap: 30px; padding: 0 0 70px; }
.timeline__item + .timeline__item { padding-top: 65px; border-top: 1px solid var(--line); }
.timeline time { font: 400 42px/1 var(--serif); }
.timeline h3, .dress__rules h3, .wish h3 { margin: 0 0 20px; font: 400 37px/1.05 var(--serif); }
.timeline p { margin: 0 0 22px; }
.timeline .address { font-weight: 500; }
.text-link { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-underline-offset: 7px; }

.venue {
  min-height: 850px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  color: var(--ink);
  background: var(--sky);
}
.venue__image { min-height: 700px; overflow: hidden; }
.venue__image img {
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  filter: saturate(.9) contrast(1.02);
}
.venue__copy { display: flex; flex-direction: column; justify-content: center; padding: 10vw; }
.venue__copy h2 { margin-bottom: 50px; }
.venue__copy h2 em { color: var(--slate); }
.venue__copy > p:not(.eyebrow) { margin: 0 0 45px; font-size: 21px; }
.venue__copy > p.venue__date {
  margin-bottom: 32px;
  padding: 22px 0;
  border-top: 1px solid rgba(32,36,40,.24);
  border-bottom: 1px solid rgba(32,36,40,.24);
  font: 400 clamp(27px, 3vw, 45px)/1.05 var(--serif);
}
.venue__date span {
  display: inline-block;
  margin-top: 10px;
  color: #344550;
  font-size: .72em;
  font-weight: 500;
  letter-spacing: .08em;
}
.venue__copy .button { align-self: flex-start; }

.dress { display: grid; grid-template-columns: .5fr 1fr 1.4fr; gap: 5vw; align-items: start; }
.dress { background: #e5ebee; }
.dress__intro { padding-top: 52px; }
.dress__intro h2 { margin-bottom: 40px; }
.dress__intro .lead { margin: 0; font-size: 19px; }
.dress__rules { padding-top: 50px; }
.dress__rules article { padding: 0 0 45px; }
.dress__rules article + article { padding-top: 45px; border-top: 1px solid var(--line); }
.dress__rules span { display: block; margin-bottom: 20px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.dress__rules p { margin: 0; }
.palette { grid-column: 2 / -1; display: grid; grid-template-columns: repeat(4, 1fr); height: 155px; margin-top: 30px; }
.palette span:nth-child(1) { background: #0b0b0b; }
.palette span:nth-child(2) { background: #3e4144; }
.palette span:nth-child(3) { background: #aeb5bd; }
.palette span:nth-child(4) { background: #f6f3eb; border: 1px solid #ddd9cf; }

.wishes { display: grid; grid-template-columns: .5fr 1fr 1.4fr; gap: 5vw; padding-top: 30px; }
.wishes { background: var(--paper); }
.wishes__heading { padding-top: 50px; }
.wishes__heading h2 { font-size: clamp(58px, 6vw, 92px); }
.wishes__grid { padding-top: 45px; }
.wish { position: relative; padding: 0 0 55px 72px; }
.wish + .wish { padding-top: 52px; border-top: 1px solid var(--line); }
.wish__number { position: absolute; left: 0; top: 5px; font: italic 400 18px/1 var(--serif); }
.wish + .wish .wish__number { top: 57px; }
.wish p { margin: 0; }

.rsvp {
  display: grid;
  grid-template-columns: .5fr 1fr 1.4fr;
  gap: 5vw;
  color: var(--white);
  background: #5f707d;
}
.rsvp__heading { padding-top: 50px; }
.rsvp__heading h2 { font-size: clamp(56px, 5.8vw, 90px); }
.rsvp__heading h2 em { color: var(--white); }
.rsvp__heading > p:last-child { max-width: 520px; margin: 38px 0 0; color: var(--white); }
.rsvp__form { padding-top: 48px; }
.field { display: block; margin-bottom: 34px; }
.field > span, .choice legend {
  display: block;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.68);
  border-radius: 0;
  outline: 0;
  color: white;
  background: transparent;
  font: 300 18px/1.5 var(--sans);
  transition: border-color .2s ease;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: white; }
.field select option { color: var(--ink); background: white; }
.field input::placeholder, .field textarea::placeholder { color: #edf1f2; }
.choice { display: grid; gap: 10px; margin: 0 0 34px; padding: 0; border: 0; }
.choice label { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.choice input, .check input { width: 15px; height: 15px; accent-color: var(--mist); }
.choice label span, .check span { font-size: 17px; }
.check { display: flex; align-items: center; gap: 12px; margin: -8px 0 34px; cursor: pointer; }
.form-status { min-height: 24px; margin: 18px 0 0; color: var(--white); font-size: 15px; }

.finale { position: relative; min-height: 90svh; display: grid; place-items: center; color: white; text-align: center; overflow: hidden; isolation: isolate; }
.finale > img, .finale__veil { position: absolute; inset: 0; height: 100%; z-index: -2; }
.finale > img {
  object-fit: cover;
  filter: saturate(.9) contrast(1.02) brightness(.9);
  transform: scale(1.03);
}
.finale__veil {
  z-index: -1;
  background: linear-gradient(180deg, rgba(48,62,72,.44), rgba(40,52,61,.68));
}
.finale__content { padding: 90px 24px; }
.finale h2 { margin: 0 0 45px; font-size: clamp(64px, 9vw, 138px); }
.finale h2 em { color: white; }
.finale__content > p:not(.eyebrow) { margin: 0; font-size: 14px; letter-spacing: .17em; text-transform: uppercase; }
.finale__content > p.finale__date {
  font: 400 clamp(52px, 7vw, 104px)/.85 var(--serif);
  letter-spacing: -.025em;
}
.finale__content > p.finale__time { margin-top: 24px; }
.finale__names { margin-top: 48px !important; font: italic 400 34px/1 var(--serif) !important; letter-spacing: 0 !important; text-transform: none !important; }

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 4vw;
  color: white;
  background: #657581;
  border-top: 1px solid rgba(255,255,255,.24);
}
footer span, footer button { font-size: 11px; letter-spacing: .17em; text-transform: uppercase; }
footer button { color: white; background: none; border: 0; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(35px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero h1 { flex-direction: column; gap: 0; font-size: clamp(80px, 16vw, 150px); }
  .hero h1 em { position: absolute; right: 10vw; }
  .welcome, .details, .dress, .wishes { grid-template-columns: 1fr 2fr; }
  .welcome__copy, .details__heading, .dress__intro, .wishes__heading { padding-top: 0; }
  .welcome__photo, .timeline, .dress__rules, .wishes__grid { grid-column: 2; }
  .welcome__photo img { height: 90vw; }
  .palette { grid-column: 2; }
  .rsvp { grid-template-columns: 1fr 2fr; }
  .rsvp__heading { padding-top: 0; }
  .rsvp__form { grid-column: 2; }
  .venue { min-height: 700px; }
  .venue__copy { padding: 7vw; }
}

@media (max-width: 680px) {
  body { font-size: 18px; }
  .nav { padding: 22px 20px; }
  .hero__image { object-position: 58% center; }
  .hero__content { padding: 120px 20px 45px; }
  .hero h1 { align-items: flex-start; gap: 4px; width: 100%; margin-bottom: 12vh; font-size: clamp(68px, 21vw, 90px); line-height: .72; }
  .hero h1 span:last-child { margin-left: 13vw; }
  .hero h1 em { position: static; margin: -6px 0 -5px 42%; font-size: .38em; }
  .hero__footer { grid-template-columns: 1fr auto; gap: 8px; }
  .hero__footer p:first-child { display: none; }
  .hero__footer .hero__bigdate { font-size: 44px; }
  .scroll-cue { display: none; }
  .section { padding: 82px 20px; }
  .welcome, .details, .dress, .wishes, .rsvp { display: block; }
  .section-index { margin-bottom: 62px; }
  h2 { font-size: clamp(51px, 16vw, 72px); }
  .lead { margin-top: 36px; font-size: 19px; }
  .welcome__photo { margin-top: 60px; }
  .welcome__photo img { height: 128vw; max-height: 680px; object-position: center; }
  .countdown { padding: 80px 20px; }
  .countdown h2 { font-size: 48px; }
  .countdown__date { margin-top: 35px; font-size: 58px; }
  .countdown__grid { grid-template-columns: repeat(2, 1fr); margin: 44px auto 42px; }
  .countdown__grid div { padding: 25px 5px; }
  .countdown__grid div:nth-child(2) { border-right: 0; }
  .countdown__grid div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.3); }
  .countdown__grid strong { font-size: 54px; }
  .details__heading, .dress__intro, .wishes__heading { margin-bottom: 60px; }
  .details__date { margin-bottom: 45px; }
  .details__date span { font-size: 91px; }
  .details__date small { font-size: 31px; }
  .timeline { padding: 0; }
  .timeline__item { display: block; padding-bottom: 56px; }
  .timeline time { display: block; margin-bottom: 28px; font-size: 48px; }
  .timeline__item + .timeline__item { padding-top: 50px; }
  .timeline h3, .dress__rules h3, .wish h3 { font-size: 34px; }
  .venue { display: block; min-height: 0; }
  .venue__image { min-height: 120vw; }
  .venue__copy { padding: 85px 20px; }
  .venue__copy h2 { font-size: 68px; }
  .venue__copy > p.venue__date { font-size: 34px; }
  .dress__rules { padding-top: 0; }
  .palette { height: 90px; margin-top: 50px; }
  .wishes { padding-top: 0; }
  .wishes__grid { padding-top: 0; }
  .wish { padding-left: 48px; }
  .rsvp__heading { margin-bottom: 48px; }
  .rsvp__form { padding-top: 0; }
  .finale { min-height: 82svh; }
  .finale > img { object-position: 50% center; }
  .finale h2 { font-size: 61px; }
  .finale__content > p.finale__date { font-size: 53px; }
  footer { padding: 24px 20px; }
  footer span { display: none; }
}

@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 { opacity: 1; transform: none; }
}
