:root {
  --red: #c8261b;
  --red-deep: #a11d14;
  --green: #3f6a34;
  --green-deep: #233a1f;
  --gold: #b08a35;
  --gold-light: #e2c27a;
  --gold-line: rgba(176, 138, 53, 0.45);
  --burgundy: #440e12;
  --champagne: #eadcbd;
  --cream: #f6f1e7;
  --paper: #fcf9f2;
  --ink: #2a1d17;
  --muted: #6b5b50;
  --line: rgba(42, 29, 23, 0.18);
  --brown: #64271a;
  --brown-deep: #4e1d13;
  --ivory: #faf1e1;
  --script: "Pinyon Script", "Snell Roundhand", "Apple Chancery", cursive;
  --display: "Calgary", "Italiana", Didot, "Times New Roman", serif;
  --serif: var(--display);
  --sans: var(--display);
  --lejour: "Le Jour Serif", "Bodoni Moda", Didot, "Times New Roman", serif;
  --italic: "Inria Serif", Georgia, serif;
  --nav-h: 56px;
  --gutter: clamp(16px, 5vw, 56px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--red) var(--cream);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(17px, 0.45vw + 15px, 20px);
  line-height: 1.65;
  caret-color: var(--red);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--red);
  color: var(--cream);
}

body.menu-open {
  overflow: hidden;
}

img,
video,
iframe {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-weight: 400;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

main:focus {
  outline: none;
}

section {
  scroll-margin-top: var(--nav-h);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 8px 14px;
  background: var(--cream);
  color: var(--red);
  font-family: var(--sans);
  font-size: 14px;
}

.skip-link:focus {
  top: 12px;
}

.noscript {
  padding: 120px 24px;
  text-align: center;
}

.page {
  animation: page-in 0.6s var(--ease) both;
}

.reveal {
  opacity: 0;
}

.reveal.is-visible {
  opacity: 1;
  animation: reveal 1s var(--ease) backwards;
  animation-delay: var(--delay, 0s);
}

@keyframes page-in {
  from {
    opacity: 0;
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    translate: 0 28px;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes slow-zoom {
  from {
    transform: scale(1.12);
  }
  to {
    transform: scale(1);
  }
}

@keyframes bob {
  0%,
  100% {
    translate: -50% 0;
  }
  50% {
    translate: -50% 8px;
  }
}

.section--red {
  background: var(--red);
  color: var(--cream);
}

.section--green {
  background: var(--green);
  color: var(--cream);
}

.section--cream {
  background: var(--cream);
  color: var(--red);
}

.media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-placeholder {
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(135deg, rgba(200, 38, 27, 0.05) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #d9d5ce, #b9b3ab);
  color: rgba(200, 38, 27, 0.55);
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.photo-placeholder--dark {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, #4a4545, #262222);
  color: rgba(255, 255, 255, 0.4);
}

.monogram {
  position: relative;
  display: block;
  width: 1.3em;
  height: 1.05em;
  margin: 0 auto;
  font-family: var(--script);
  font-size: 76px;
  line-height: 1;
}

.monogram span {
  position: absolute;
}

.monogram span:first-child {
  left: 0;
  top: -0.1em;
}

.monogram span:last-child {
  right: 0;
  bottom: -0.14em;
}

.monogram--nav {
  font-size: 34px;
  color: var(--gold-light);
}

.monogram--sm {
  font-size: 52px;
}

.title-caps {
  font-family: var(--display);
  font-size: clamp(38px, 6vw, 80px);
  line-height: 1.02;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.title-caps--sm {
  font-size: clamp(30px, 3.6vw, 44px);
}

.script-title {
  color: var(--green);
  font-family: var(--script);
  font-size: clamp(64px, 9vw, 128px);
  line-height: 1.1;
}

.script-title--red {
  color: var(--red);
}

.script-title--light {
  color: var(--cream);
}

.caps-sub {
  font-family: var(--display);
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose--center {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.8em 2em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--display);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    translate 0.3s var(--ease);
}

.btn:hover {
  translate: 0 -2px;
}

.btn--red {
  background: var(--red);
  border-color: var(--red);
  color: var(--cream);
}

.btn--red:hover {
  background: var(--red-deep);
  border-color: var(--red-deep);
}

.btn--outline-light {
  background: transparent;
  border-color: rgba(246, 241, 231, 0.8);
  color: var(--cream);
}

.btn--outline-light:hover {
  background: var(--cream);
  color: var(--red);
}

.btn--sm {
  padding: 0.75em 1.6em;
  font-size: 16px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 24px;
  height: var(--nav-h);
  padding: 0 var(--gutter);
  background: var(--brown);
  color: var(--ivory);
  box-shadow: 0 1px 0 rgba(250, 241, 225, 0.12);
}

.brand {
  display: none;
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  position: relative;
  z-index: 2;
  text-decoration: none;
}

.nav {
  grid-column: 1 / -1;
  grid-row: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: clamp(24px, 3vw, 48px);
}

.nav__list--left {
  justify-content: flex-end;
}

.nav__list--right {
  justify-content: flex-start;
}

.nav__item--home {
  display: none;
}

.nav__brand {
  display: block;
  text-decoration: none;
}

.header__tools {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  color: rgba(250, 241, 225, 0.82);
  font-family: var(--display);
  font-size: 14.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--ivory);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.lang {
  display: inline-flex;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
}

.lang__btn {
  padding: 6px 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 0.25s,
    color 0.25s;
}

.lang__btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.lang__btn[aria-pressed="true"] {
  background: var(--ivory);
  color: var(--brown);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.35s var(--ease);
}

.site-header.is-open .nav-toggle span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.hero {
  --frame: clamp(14px, 2.4vw, 32px);
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: calc(var(--nav-h) + var(--frame)) var(--frame) var(--frame);
  background: var(--brown) var(--hero-ground) center / cover no-repeat;
  color: var(--ivory);
  text-align: center;
}

.hero__frame {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  box-shadow: 0 24px 48px -28px rgba(20, 6, 3, 0.8);
}

.hero .media {
  z-index: -2;
  animation: slow-zoom 16s var(--ease) both;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(24, 14, 8, 0.1) 40%, rgba(24, 14, 8, 0.55) 100%),
    radial-gradient(ellipse at 50% 45%, rgba(24, 14, 8, 0.5) 0%, rgba(24, 14, 8, 0.2) 70%);
}

.hero__content {
  grid-column: 1 / -1;
  align-self: center;
  padding: clamp(40px, 8vh, 96px) var(--gutter) 24px;
  text-shadow: 0 2px 24px rgba(20, 8, 4, 0.45);
}

.hero__content > * {
  animation: rise 1.4s var(--ease) both;
}

.hero__content > :nth-child(2) {
  animation-delay: 0.15s;
}

.hero__kicker {
  margin: 0;
  font-family: var(--script);
  font-size: clamp(44px, 6.4vw, 92px);
  line-height: 1.1;
}

.hero__names {
  font-family: var(--script);
  line-height: 1;
}

.hero__name {
  display: block;
  font-size: clamp(76px, 12vw, 168px);
  line-height: 1;
}

.hero__name--first {
  transform: translateX(-4%);
}

.hero__name--second {
  transform: translateX(8%);
}

.hero__and {
  font-size: 0.72em;
}

.hero__meta {
  align-self: end;
  margin: 0;
  padding: 0 clamp(18px, 3vw, 44px) clamp(18px, 3vw, 36px);
  font-family: var(--display);
  font-size: clamp(14px, 1.5vw, 20px);
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
  animation: rise 1.4s var(--ease) 0.35s both;
}

.hero__meta--place {
  text-align: left;
}

.hero__meta--date {
  text-align: right;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 20px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: none;
  color: var(--ivory);
  cursor: pointer;
  translate: -50% 0;
  animation: bob 2.4s ease-in-out infinite;
}

.countdown-section {
  padding: clamp(72px, 10vw, 128px) var(--gutter);
  text-align: center;
}

.countdown-section .monogram {
  margin-bottom: 18px;
  color: var(--gold-light);
}

.countdown {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(6px, 2vw, 26px);
  margin: clamp(28px, 4vw, 44px) auto clamp(32px, 4vw, 48px);
}

.countdown__unit {
  display: grid;
  justify-items: center;
  min-width: clamp(56px, 12vw, 150px);
}

.countdown__value {
  font-family: var(--display);
  font-size: clamp(54px, 9.5vw, 128px);
  line-height: 1;
}

.countdown__sep {
  font-family: var(--display);
  font-size: clamp(40px, 7vw, 96px);
  line-height: 1.05;
  color: var(--gold-light);
}

.countdown__label {
  margin-top: 12px;
  font-family: var(--display);
  font-size: clamp(13px, 1.4vw, 19px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.countdown__done {
  margin: 0;
  font-family: var(--script);
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.2;
}

.lead {
  max-width: 44ch;
  margin: 0 auto 36px;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.7;
}

.std {
  background: var(--brown);
}

.std__stage {
  container-type: inline-size;
  position: relative;
  width: 100%;
  aspect-ratio: 1024 / 576;
  margin-inline: auto;
  overflow: hidden;
  color: var(--ivory);
}

.std__stage img {
  position: absolute;
  top: 0;
  height: 100%;
  object-fit: cover;
}

.std__painting {
  left: 0;
  width: 58.76%;
}

.std__couple {
  left: 44.47%;
  width: 55.53%;
}

.std__flowers {
  left: 0;
  width: 57.34%;
}

.std__line {
  position: absolute;
  left: 77.4%;
  margin: 0;
  line-height: 1;
  white-space: nowrap;
  translate: -50% -50%;
}

.std__line--first,
.std__line--last {
  font-family: var(--lejour);
  font-size: 11.7cqw;
  text-transform: uppercase;
}

.std__line--first {
  top: 25.29cqw;
}

.std__line--the {
  top: 29.98cqw;
  font-family: var(--italic);
  font-size: 4.34cqw;
  font-style: italic;
}

.std__line--date {
  top: 37.11cqw;
  font-family: var(--display);
  font-size: 5.07cqw;
  text-transform: uppercase;
}

.std__line--last {
  top: 49.71cqw;
}

.thanks {
  padding: clamp(80px, 11vw, 140px) var(--gutter);
  text-align: center;
}

.thanks__text {
  max-width: 620px;
  margin: 28px auto 0;
  color: var(--ink);
  font-size: clamp(18px, 1.5vw, 21px);
}

.signature {
  margin: 12px 0 0;
  color: var(--red);
  font-family: var(--script);
  font-size: clamp(38px, 4.4vw, 56px);
  line-height: 1.2;
  text-align: right;
}

.booth {
  padding: clamp(72px, 9vw, 120px) 0 clamp(48px, 6vw, 88px);
  text-align: center;
}

.booth__kicker {
  margin: 0;
  color: var(--green);
  font-family: var(--display);
  font-size: clamp(15px, 1.4vw, 18px);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.booth__title {
  margin-bottom: clamp(20px, 3vw, 36px);
}

.booth__hint {
  max-width: 40ch;
  margin: 0 auto clamp(28px, 4vw, 40px);
  padding: 0 var(--gutter);
  color: var(--ink);
  font-size: clamp(18px, 1.5vw, 21px);
}

.booth__game {
  --strip-w: clamp(84px, 22vw, 116px);
  display: grid;
  justify-items: center;
  gap: 24px;
  padding: 0 var(--gutter);
}

.booth__window {
  position: relative;
  width: min(100%, 640px);
  height: calc((var(--strip-w) - 10px) * 5.14 + 96px);
  overflow: hidden;
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.32)),
    repeating-linear-gradient(90deg, #8f1810 0 6px, #c8261b 22px, #b01f15 34px, #8f1810 46px);
  box-shadow:
    inset 0 0 40px rgba(20, 0, 0, 0.45),
    0 24px 50px rgba(42, 29, 23, 0.22);
  outline: 1px solid var(--gold-line);
  outline-offset: 8px;
}

.booth__window::before,
.booth__window::after {
  content: "";
  position: absolute;
  left: 50%;
  z-index: 2;
  border: 11px solid transparent;
  translate: -50% 0;
}

.booth__window::before {
  top: 0;
  border-top-color: var(--gold-light);
}

.booth__window::after {
  bottom: 0;
  border-bottom-color: var(--gold-light);
}

.booth__track {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 26%, #000 74%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 26%, #000 74%, transparent);
}

.booth__reel {
  position: absolute;
  top: 48px;
  left: 0;
  display: flex;
  gap: 22px;
  will-change: transform;
}

.reel__item {
  flex: 0 0 var(--strip-w);
  padding: 5px;
  background: #fbf8f1;
  box-shadow: 0 10px 22px rgba(20, 0, 0, 0.35);
  transition:
    filter 0.45s var(--ease),
    scale 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}

.reel__item img {
  width: 100%;
  height: auto;
}

.reel__item,
.has-pick .reel__item {
  filter: blur(3px) brightness(0.6) saturate(0.6);
}

.has-pick .reel__item.is-picked {
  filter: none;
  scale: 1.07;
  box-shadow: 0 18px 40px rgba(20, 0, 0, 0.5);
  cursor: zoom-in;
}

.booth__flash {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: #fff;
  opacity: 0;
  pointer-events: none;
}

.booth__status {
  min-height: 1.7em;
  margin: 0;
  color: var(--red);
  font-size: clamp(19px, 1.6vw, 22px);
  font-style: italic;
}

.booth__open {
  margin-left: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--green);
  font-family: var(--sans);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.thanks--booth {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
  padding-inline: max(var(--gutter), calc((100% - 1240px) / 2));
  padding-top: clamp(64px, 8vw, 112px);
  overflow: hidden;
  background: var(--brown);
  text-align: left;
}

.thanks__prints {
  position: relative;
  justify-self: center;
  width: min(100%, 440px);
  aspect-ratio: 3 / 4;
}

.print {
  position: absolute;
  width: 76%;
  height: auto;
  padding: 10px;
  background: #fbf8f1;
  box-shadow: 0 22px 50px rgba(20, 6, 3, 0.45);
}

.print--behind {
  top: 0;
  right: 0;
  rotate: 6deg;
}

.print--front {
  bottom: 0;
  left: 0;
  rotate: -4deg;
}

.thanks-card {
  --cut: clamp(36px, 5vw, 93px);
  padding: clamp(32px, 4vw, 52px) clamp(28px, 6vw, 92px) clamp(28px, 3vw, 40px);
  background: rgba(250, 241, 225, 0.86);
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
  color: var(--brown);
  text-align: center;
}

.thanks-card .heart {
  display: inline-block;
  width: 0.58em;
  height: auto;
  fill: currentColor;
  vertical-align: 0.02em;
}

.thanks-card__title {
  font-family: var(--lejour);
  font-size: clamp(34px, 4.6vw, 84px);
  line-height: 1.1;
  white-space: nowrap;
  text-transform: uppercase;
}

.thanks-card__text {
  margin: 0.6em 0 0;
  font-family: var(--lejour);
  font-size: clamp(15px, 1.6vw, 24px);
  line-height: 1.1;
  text-transform: uppercase;
}

.thanks-card__signature {
  margin: 1.1em 0 0;
  font-family: var(--display);
  font-size: clamp(15px, 1.5vw, 20px);
  letter-spacing: 0.06em;
  text-align: right;
  text-transform: uppercase;
}

.thanks-card__signature .heart {
  width: 0.7em;
}

.reveal--side.is-visible {
  animation-name: reveal-side;
  animation-duration: 1.2s;
}

@keyframes reveal-side {
  from {
    opacity: 0;
    translate: 18% 0;
  }
}

.stay-canva {
  container-type: inline-size;
  width: min(100%, 1024px);
  margin-inline: auto;
  padding-top: var(--nav-h);
  background: var(--ivory);
}

.stay-canva__art {
  display: block;
  width: 81.54cqw;
  height: auto;
  aspect-ratio: 835 / 743;
  object-fit: cover;
}

.stay-canva__art--top {
  margin-inline: auto;
}

.stay-canva__art--bottom {
  width: 81.1cqw;
  aspect-ratio: 830 / 743;
  margin-left: 3.02cqw;
}

.stay-canva__title {
  padding: 1.4cqw 0 4.6cqw;
  color: var(--brown);
  font-family: var(--lejour);
  font-size: max(30px, 5.47cqw);
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.page-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: clamp(440px, 74vh, 780px);
  padding: calc(var(--nav-h) + 40px) var(--gutter) 56px;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.page-hero .media {
  z-index: -2;
  filter: grayscale(1) contrast(1.02);
  animation: slow-zoom 14s var(--ease) both;
}

.page-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(28, 12, 12, 0.42);
}

.page-hero--light .page-hero__veil {
  background: rgba(28, 12, 12, 0.3);
}

.page-hero__content > * {
  animation: rise 1.3s var(--ease) both;
}

.page-hero__content > :nth-child(2) {
  animation-delay: 0.18s;
}

.page-hero__script {
  font-family: var(--script);
  font-size: clamp(64px, 10vw, 150px);
  line-height: 1.1;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
}

.page-hero__caps {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(22px, 3.2vw, 46px);
  line-height: 1.1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-hero__caps:first-child {
  font-size: clamp(44px, 7.5vw, 110px);
  letter-spacing: 0.02em;
}

.page-hero__caps:first-child + .page-hero__script {
  margin-top: -0.3em;
}

.title-block {
  padding: calc(var(--nav-h) + clamp(40px, 7vw, 88px)) var(--gutter) clamp(24px, 3vw, 40px);
  overflow: hidden;
  text-align: center;
}

.stacked-title {
  display: grid;
  justify-items: center;
}

.stacked-title__script {
  font-family: var(--script);
  font-size: clamp(84px, 13vw, 190px);
  line-height: 0.95;
  transform: translateX(-6%);
}

.stacked-title__caps {
  margin-top: -0.22em;
  font-family: var(--display);
  font-size: clamp(64px, 10vw, 150px);
  line-height: 0.85;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transform: translateX(8%);
}

.story {
  padding: clamp(24px, 4vw, 48px) var(--gutter) clamp(80px, 10vw, 136px);
  overflow: hidden;
}

.story__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(36px, 6vw, 96px);
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}

.story__text {
  color: var(--ink);
  font-size: clamp(18px, 1.5vw, 21px);
}

.story__text p:first-child::first-letter {
  float: left;
  padding: 0.12em 0.2em 0 0;
  color: var(--red);
  font-family: var(--script);
  font-size: 3.6em;
  line-height: 0.8;
}

.story__photos {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.story__photos::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 20%;
  bottom: -12%;
  left: 24%;
  right: -50vw;
  background: var(--green);
}

.story__photo {
  width: 100%;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(30, 5, 5, 0.28);
}

.story__photo:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 4 / 3;
}

.story__photo:not(:first-child) {
  aspect-ratio: 3 / 4;
}

.timeline {
  padding: clamp(72px, 9vw, 120px) var(--gutter);
  overflow: hidden;
}

.timeline .stacked-title {
  margin-bottom: clamp(48px, 7vw, 88px);
}

.polaroids {
  max-width: 1120px;
  margin: 0 auto;
  columns: 3 240px;
  column-gap: clamp(18px, 3vw, 40px);
}

.polaroid {
  break-inside: avoid;
  margin: 0 0 clamp(24px, 3.4vw, 40px);
  padding: 12px 12px 14px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
  rotate: var(--tilt, 0deg);
  transition:
    rotate 0.5s var(--ease),
    scale 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}

.polaroid:hover {
  rotate: 0deg;
  scale: 1.02;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
}

.polaroid__photos {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: 6px;
}

.polaroid__photo {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #ddd;
  cursor: zoom-in;
}

.polaroid__photo img,
.polaroid__photo .photo-placeholder {
  width: 100%;
  aspect-ratio: var(--ratio, 4 / 5);
  object-fit: cover;
  filter: saturate(0.9) sepia(0.08);
}

.polaroid figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 4px 0;
}

.polaroid__caption {
  font-family: var(--script);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
}

.polaroid__date {
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
  white-space: nowrap;
}

.finale {
  max-width: 680px;
  margin: clamp(48px, 7vw, 96px) auto 0;
  text-align: center;
}

.finale__title {
  margin: 0 0 12px;
  font-family: var(--script);
  font-size: clamp(50px, 7vw, 92px);
  line-height: 1.15;
  text-wrap: balance;
}

.finale__date {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: 0.14em;
  opacity: 0.8;
}

.days {
  padding: clamp(72px, 9vw, 120px) var(--gutter);
}

.day {
  max-width: 880px;
  margin: 0 auto;
}

.soon {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.soon__icon {
  width: clamp(64px, 8vw, 88px);
  margin: 0 auto 8px;
  color: var(--gold-light);
}

.soon__icon svg {
  width: 100%;
  height: auto;
}

.soon__title {
  font-family: var(--script);
  font-size: clamp(64px, 9vw, 124px);
  line-height: 1.1;
}

.soon__text {
  max-width: 44ch;
  margin: 8px auto 0;
  font-size: clamp(18px, 1.5vw, 21px);
}

.soon .divider {
  margin: clamp(32px, 5vw, 56px) auto;
}

.soon__date {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.soon__venue {
  margin: 0;
}

.soon-note {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.soon-note__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 16px);
  margin-bottom: 12px;
  color: var(--red);
  font-family: var(--display);
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.soon-note__title::before,
.soon-note__title::after {
  content: "";
  flex: 0 1 40px;
  min-width: 12px;
  height: 1px;
  background: var(--gold);
}

.soon-note__text {
  margin: 0;
  color: var(--ink);
}

.stay .soon-note {
  margin-top: 20px;
}

.ttd__intro .soon-note {
  margin-top: 28px;
}

.day__head {
  margin-bottom: clamp(36px, 5vw, 60px);
  text-align: center;
}

.day__title {
  font-family: var(--script);
  font-size: clamp(64px, 9vw, 124px);
  line-height: 1.1;
}

.day__date {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 38px);
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.event {
  display: grid;
  grid-template-columns: clamp(96px, 14vw, 150px) 1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
  max-width: 720px;
  margin: 0 auto clamp(40px, 5vw, 64px);
}

.event__icon {
  color: var(--gold-light);
}

.event__icon svg {
  width: 100%;
  height: auto;
}

.event__name {
  font-family: var(--display);
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.event__host {
  margin: 6px 0 14px;
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
}

.event__when {
  margin: 0 0 4px;
  font-family: var(--sans);
  font-size: 16px;
  letter-spacing: 0.02em;
}

.event__venue {
  margin: 0;
}

.event__address {
  display: inline-block;
  margin: 0 0 12px;
}

.event__desc {
  max-width: 52ch;
}

.event__venue + .event__desc {
  margin-top: 12px;
}

.event__attire {
  font-style: italic;
  opacity: 0.85;
}

.divider {
  width: 180px;
  margin: clamp(40px, 6vw, 80px) auto;
  color: var(--gold-light);
}

.divider svg {
  width: 100%;
  height: auto;
}

.schedule {
  max-width: 520px;
  margin: 0 auto clamp(24px, 4vw, 48px);
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid rgba(226, 194, 122, 0.6);
  text-align: center;
}

.schedule__title {
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.schedule__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.schedule__list li {
  display: grid;
  grid-template-columns: 1fr 14px 1fr;
  align-items: center;
  gap: 16px;
}

.schedule__time {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: 0.04em;
  text-align: right;
}

.schedule__dot {
  justify-self: center;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-light);
}

.schedule__label {
  text-align: left;
}

.getting-there {
  padding: clamp(72px, 9vw, 120px) var(--gutter);
}

.getting-there .title-caps {
  margin-bottom: clamp(32px, 5vw, 56px);
  text-align: center;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.map {
  aspect-ratio: 4 / 3;
  border: 6px solid var(--cream);
  background: var(--cream);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.4) sepia(0.15);
}

.arrivals {
  position: relative;
  isolation: isolate;
  padding: clamp(72px, 9vw, 120px) var(--gutter);
  overflow: hidden;
}

.arrivals .media {
  z-index: -2;
  filter: grayscale(1);
}

.arrivals__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(20, 10, 10, 0.35);
}

.arrivals__title {
  margin-bottom: clamp(28px, 4vw, 48px);
  color: #fff;
  text-align: center;
}

.arrivals__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(18px, 3vw, 32px);
  max-width: 1120px;
  margin: 0 auto;
}

.glass-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: clamp(28px, 3vw, 40px) clamp(22px, 2.6vw, 32px);
  background: rgba(251, 250, 246, 0.86);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--red);
  text-align: center;
}

.glass-card__title {
  margin-bottom: 4px;
  font-family: var(--display);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.glass-card p {
  flex: 1;
  margin: 6px 0 12px;
  color: var(--ink);
}

.glass-card__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.stay {
  padding: clamp(72px, 9vw, 120px) var(--gutter);
  text-align: center;
}

.stay .prose {
  margin-top: 12px;
  margin-bottom: clamp(44px, 5vw, 68px);
  color: var(--ink);
}

.hotels {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(22px, 2.5vw, 30px);
  max-width: 1120px;
  margin: 0 auto;
  text-align: left;
}

.hotel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 34px 28px 28px;
  border: 1px solid var(--gold-line);
  background: var(--paper);
  transition:
    box-shadow 0.5s var(--ease),
    border-color 0.5s var(--ease);
}

.hotel:hover {
  border-color: var(--gold);
  box-shadow: 0 18px 40px rgba(42, 29, 23, 0.12);
}

.hotel__perk {
  position: absolute;
  top: -13px;
  left: 24px;
  margin: 0;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--green);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

.hotel__name {
  color: var(--red);
  font-family: var(--script);
  font-size: clamp(30px, 2.6vw, 38px);
  line-height: 1.15;
}

.hotel__desc {
  flex: 1;
  margin: 0;
  color: var(--ink);
}

.hotel__meta {
  display: grid;
  gap: 2px;
  color: var(--muted);
  font-size: 16px;
}

.hotel__meta a {
  text-decoration: none;
}

.hotel__meta a:hover {
  text-decoration: underline;
}

.hotel .btn {
  align-self: flex-start;
  margin-top: 8px;
}

.ttd {
  padding: clamp(56px, 8vw, 104px) var(--gutter) clamp(72px, 9vw, 120px);
}

.card {
  padding: clamp(32px, 5vw, 56px) clamp(22px, 5vw, 64px);
  background: var(--paper);
  color: var(--red);
}

.card p,
.card li {
  color: var(--ink);
}

.ttd__intro {
  max-width: 980px;
  margin: 0 auto clamp(28px, 4vw, 44px);
  text-align: center;
}

.ttd__intro .script-title {
  margin-bottom: 12px;
}

.ttd__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(20px, 3vw, 40px);
  max-width: 980px;
  margin: 0 auto;
}

.fav {
  text-align: center;
}

.fav__head {
  display: grid;
  justify-items: center;
  margin-bottom: 12px;
}

.fav__caps {
  font-family: var(--display);
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fav__who {
  color: var(--green);
  font-family: var(--script);
  font-size: clamp(58px, 6vw, 86px);
  line-height: 1.1;
}

.fav__cat {
  margin: 24px 0 6px;
  font-family: var(--display);
  font-size: clamp(26px, 2.6vw, 34px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.fav__items {
  margin: 0;
  line-height: 1.9;
}

.fav__items a {
  white-space: nowrap;
}

.fav__sep {
  margin: 0 0.3em;
  opacity: 0.55;
}

.rsvp {
  --stripe: clamp(26px, 3.2vw, 44px);
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 40px) var(--gutter) 64px;
  background: repeating-linear-gradient(
    90deg,
    var(--champagne) 0 var(--stripe),
    var(--paper) var(--stripe) calc(var(--stripe) * 2)
  );
}

.rsvp__oval {
  position: relative;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: clamp(8px, 1.4vw, 16px);
  width: min(880px, 100%);
  aspect-ratio: 1.6;
  padding: 8% 13%;
  border: clamp(5px, 0.8vw, 8px) solid var(--cream);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 30px 80px rgba(20, 0, 0, 0.35);
  color: var(--cream);
  text-align: center;
  animation: rise 1.2s var(--ease) both;
}

.rsvp__oval::before {
  content: "";
  position: absolute;
  inset: clamp(10px, 1.6vw, 16px);
  border: 1px solid rgba(226, 194, 122, 0.85);
  border-radius: 50%;
  pointer-events: none;
}

.rsvp__ornament {
  width: clamp(64px, 8vw, 96px);
  color: var(--gold-light);
}

.rsvp__ornament svg {
  width: 100%;
  height: auto;
}

.rsvp__title {
  font-family: var(--script);
  font-size: clamp(40px, 6.2vw, 84px);
  line-height: 1.12;
}

.rsvp__deadline {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: clamp(15px, 1.8vw, 22px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dress {
  padding: clamp(64px, 8vw, 110px) var(--gutter) clamp(72px, 9vw, 120px);
  background: var(--brown);
}

.dress__layout {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
  max-width: 1180px;
  margin: 0 auto;
}

.dress__message {
  color: var(--cream);
  font-size: clamp(18px, 1.5vw, 21px);
}

.dress__eyebrow {
  margin: 0;
  color: var(--gold-light);
  font-family: var(--display);
  font-size: clamp(15px, 1.4vw, 18px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.dress__heading {
  margin: 0.1em 0 0.35em;
  font-family: var(--script);
  font-size: clamp(56px, 7.4vw, 108px);
  line-height: 1.05;
}

.dress__message p {
  max-width: 34em;
}

.dress__signoff {
  margin-top: 0.6em;
  color: var(--gold-light);
  font-family: var(--script);
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.1;
}

.dress__board {
  margin: 0;
  justify-self: center;
  width: min(100%, 480px);
  rotate: 2deg;
}

.dress__board-btn {
  display: block;
  width: 100%;
  padding: 12px;
  border: 0;
  background: var(--paper);
  box-shadow: 0 28px 60px -20px rgba(20, 6, 3, 0.6);
  cursor: zoom-in;
  transition: translate 0.4s var(--ease);
}

.dress__board-btn:hover {
  translate: 0 -4px;
}

.dress__board-btn img {
  width: 100%;
  height: auto;
  aspect-ratio: 1094 / 1600;
}

.dress__board figcaption {
  margin-top: 14px;
  color: var(--cream);
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.faq {
  padding: calc(var(--nav-h) + clamp(48px, 7vw, 88px)) var(--gutter) clamp(72px, 9vw, 120px);
  text-align: center;
}

.faq__title {
  margin-bottom: clamp(32px, 5vw, 60px);
  font-size: clamp(56px, 8.5vw, 124px);
}

.faq__list {
  display: grid;
  gap: clamp(36px, 5vw, 56px);
  max-width: 720px;
  margin: 0 auto;
}

.faq__q {
  margin-bottom: 14px;
  color: var(--red);
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.faq__a {
  max-width: 54ch;
  margin: 0 auto;
  color: var(--ink);
}

.faq__lines {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  color: var(--ink);
  list-style: none;
}

.not-found {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  min-height: 80svh;
  padding: calc(var(--nav-h) + 48px) var(--gutter) 72px;
  text-align: center;
}

.site-footer {
  padding: 56px var(--gutter) 44px;
  background: var(--green-deep);
  color: var(--cream);
  text-align: center;
}

.site-footer .monogram {
  color: var(--gold-light);
}

.footer__names {
  margin: 10px 0 4px;
  font-family: var(--script);
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.15;
}

.footer__meta {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}

.footer__link {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.06em;
  opacity: 0.85;
}

dialog {
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
}

dialog::backdrop {
  background: rgba(26, 6, 6, 0.78);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.lightbox {
  width: 100vw;
  height: 100vh;
  background: transparent;
  overflow: hidden;
}

.lightbox[open] {
  display: grid;
  place-items: center;
}

.lightbox__figure {
  display: grid;
  justify-items: center;
  gap: 10px;
  max-width: min(90vw, 1400px);
  margin: 0;
}

.lightbox__figure img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox__figure figcaption {
  color: var(--cream);
  font-family: var(--script);
  font-size: 32px;
  line-height: 1.2;
}

.lightbox__btn {
  position: fixed;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid rgba(246, 241, 231, 0.35);
  border-radius: 50%;
  background: rgba(26, 6, 6, 0.4);
  color: var(--cream);
  cursor: pointer;
  transition: background-color 0.25s;
}

.lightbox__btn:hover {
  background: rgba(246, 241, 231, 0.15);
}

.lightbox__btn svg {
  width: 20px;
  height: 20px;
}

.lightbox__close {
  top: 18px;
  right: 18px;
}

.lightbox__prev,
.lightbox__next {
  top: 50%;
  translate: 0 -50%;
}

.lightbox__prev {
  left: 18px;
}

.lightbox__next {
  right: 18px;
}

.lightbox.is-single .lightbox__prev,
.lightbox.is-single .lightbox__next,
.lightbox.is-single .lightbox__count {
  display: none;
}

.lightbox__count {
  position: fixed;
  left: 50%;
  bottom: 18px;
  margin: 0;
  color: var(--cream);
  font-family: var(--display);
  letter-spacing: 0.12em;
  translate: -50% 0;
}

.rsvp-dialog {
  width: min(560px, calc(100vw - 24px));
  max-height: calc(100svh - 24px);
  background: var(--cream);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  color: var(--red);
}

.rsvp-dialog[open] {
  animation: rise 0.6s var(--ease) both;
}

.rsvp-dialog__inner {
  position: relative;
  padding: clamp(28px, 5vw, 44px);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--red);
  cursor: pointer;
}

.dialog-close:hover {
  background: rgba(200, 38, 27, 0.08);
}

.dialog-close svg {
  width: 20px;
  height: 20px;
}

.rsvp-form {
  display: grid;
  gap: 18px;
}

.rsvp-form__title,
.rsvp-done__title {
  font-family: var(--script);
  font-size: clamp(44px, 7vw, 60px);
  line-height: 1.1;
  text-align: center;
}

.rsvp-form__deadline {
  margin: -8px 0 4px;
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.rsvp-form__hint {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field > span,
.field legend {
  padding: 0;
  margin-bottom: 6px;
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field input[type="text"],
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
}

.field input[type="text"]:focus,
.field textarea:focus {
  border-color: transparent;
  outline: 2px solid var(--red);
  outline-offset: 0;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.choice span {
  display: inline-block;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-family: var(--sans);
  font-size: 15px;
  transition:
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.choice input:checked + span {
  background: var(--red);
  border-color: var(--red);
  color: var(--cream);
}

.choice input:focus-visible + span {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.guests {
  display: grid;
  gap: 14px;
}

.guest {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px 12px;
}

.guest + .guest {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.guest__name {
  grid-column: 1 / -1;
}

.guest__remove {
  padding: 6px 2px;
  border: 0;
  background: none;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.add-guest {
  justify-self: start;
  margin-top: 4px;
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--red);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.rsvp-form__status {
  margin: -6px 0 0;
  color: var(--red);
  font-size: 15px;
  text-align: center;
}

.rsvp-form__status:empty {
  display: none;
}

.rsvp-form__trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn:disabled {
  cursor: progress;
  opacity: 0.7;
  translate: none;
}

.rsvp-done {
  padding: 24px 0 8px;
  text-align: center;
}

@media (max-width: 1440px) {
  .nav__link {
    font-size: 13.5px;
  }

  .nav {
    padding-right: 72px;
    padding-left: 72px;
  }
}

@media (max-width: 1240px) {
  .nav-toggle {
    display: inline-flex;
  }

  .brand {
    display: block;
  }

  .nav__brand {
    display: none;
  }

  .nav__item--home {
    display: list-item;
  }

  .nav__list--left,
  .nav__list--right {
    justify-content: center;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(4px, 1.4vh, 12px);
    padding: calc(var(--nav-h) + 24px) var(--gutter) 40px;
    overflow-y: auto;
    background: var(--brown);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.35s var(--ease),
      visibility 0s linear 0.35s;
  }

  .site-header.is-open .nav {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s var(--ease);
  }

  .nav__list {
    flex-direction: column;
    gap: clamp(4px, 1.4vh, 12px);
    text-align: center;
  }

  .nav__link {
    font-family: var(--display);
    font-size: clamp(26px, 7vw, 34px);
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .story__grid,
  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .thanks--booth {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }

  .thanks__prints {
    width: min(82vw, 380px);
  }

  .thanks--booth {
    padding-bottom: 56px;
  }
}

@media (max-width: 760px) {
  .hero__frame {
    grid-template-columns: 1fr;
  }

  .hero__meta,
  .hero__meta--place,
  .hero__meta--date {
    text-align: center;
  }

  .hero__meta--place {
    padding-bottom: 4px;
  }

  .hero__meta--date {
    padding-bottom: 64px;
  }

  .event {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .event__icon {
    width: 92px;
  }

  .dress__layout {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }

  .dress__message p {
    margin-inline: auto;
  }

  .rsvp__oval {
    aspect-ratio: 0.72;
    padding: 20% 12%;
  }

}

@media (max-width: 420px) {
  .countdown {
    gap: 12px;
  }

  .countdown__sep {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
  }
}
