@font-face {
  font-family: "BPG Ucnobi";
  src: url(bpg_ucnobi.otf) format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: "Alk Life";
  src: url(alk_life.otf) format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
:root {
  --vh: 1vh;
  --paper: #f6f0e6;
  --paper-2: #ede5d7;
  --paper-3: #e2d8c6;
  --cream: #fdfaf4;
  --deep: #6a6455;
  --deep-soft: #8d8676;
  --gold: #b08d55;
  --gold-lt: #d6c19a;
  --gold-rich: #c09a45;
  --blush: #bfa09c;
  --green: #6f9855;
  --green-lt: #9dbb84;
  --sage: #8fa47e;
  --sky: #bcd4ea;
  --line: #ddd0b8;
  --ink: #6b6459;
  --ink-soft: #8d8578;
  --lip: 30px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
  transition:
    scrollbar-color 1.2s ease,
    background-color 1.1s ease,
    color 1.1s ease,
    border-color 1.1s ease;
}
html.is-open {
  scrollbar-color: var(--gold) var(--paper-2);
}
html::-webkit-scrollbar {
  width: 7px;
}
html::-webkit-scrollbar-track {
  background-color: var(--paper-2);
}
html::-webkit-scrollbar-thumb {
  border-radius: 7px;
  background-color: transparent;
  transition: background-color 1.2s ease;
}
html.is-open::-webkit-scrollbar-thumb {
  background-color: var(--gold);
}
html,
body {
  overscroll-behavior-y: none;
}
body {
  background-color: var(--paper);
  color: var(--ink);
  font-family:
    "BPG Ucnobi",
    "Alk Life",
    Georgia,
    serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
html.is-locked,
body.is-locked {
  overscroll-behavior: none;
  touch-action: none;
}
img {
  display: block;
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
button,
input {
  font: inherit;
  color: inherit;
}
*,
*::before,
*::after {
  transition:
    background-color 1.1s ease,
    color 1.1s ease,
    border-color 1.1s ease,
    text-shadow 1.1s ease,
    filter 1.1s ease;
}
.music-toggle {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(176, 141, 85, 0.5);
  border-radius: 50%;
  background-color: rgba(253, 250, 244, 0.86);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 3px 14px rgba(106, 100, 85, 0.16);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition:
    opacity 1s ease,
    transform 1s ease,
    box-shadow 1.1s ease,
    background-color 1.1s ease,
    color 1.1s ease,
    border-color 1.1s ease;
  -webkit-tap-highlight-color: transparent;
}
body.is-open .music-toggle {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.music-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.music-toggle__bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 15px;
}
.music-toggle__bars span {
  width: 2.5px;
  height: 100%;
  border-radius: 1px;
  background-color: var(--deep);
  transform-origin: bottom center;
  transform: scaleY(0.32);
  transition:
    transform 0.3s ease,
    background-color 1.1s ease,
    color 1.1s ease,
    border-color 1.1s ease;
}
.music-toggle.playing .music-toggle__bars span {
  animation: eq 1.15s ease-in-out infinite;
}
.music-toggle.playing .music-toggle__bars span:nth-child(2) {
  animation-delay: -0.76s;
}
.music-toggle.playing .music-toggle__bars span:nth-child(3) {
  animation-delay: -0.38s;
}
.music-toggle.playing .music-toggle__bars span:nth-child(4) {
  animation-delay: -0.95s;
}
@keyframes eq {
  0%, 100% {
    transform: scaleY(0.3);
  }
  50% {
    transform: scaleY(1);
  }
}
.night-toggle {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(176, 141, 85, 0.5);
  border-radius: 50%;
  background-color: rgba(253, 250, 244, 0.86);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 3px 14px rgba(106, 100, 85, 0.16);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition:
    opacity 1s ease,
    transform 1s ease,
    box-shadow 1.1s ease,
    background-color 1.1s ease,
    color 1.1s ease,
    border-color 1.1s ease;
  -webkit-tap-highlight-color: transparent;
}
body.is-open .night-toggle {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.night-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.night-toggle__orb {
  position: relative;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: var(--deep);
  box-shadow: inset 0 0 0 0 rgba(0, 0, 0, 0);
  transition: background-color 1.1s ease, box-shadow 1.1s ease;
}
.night-toggle__orb::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 2px;
  margin: -1px 0 0 -1px;
  border-radius: 50%;
  color: var(--deep);
  box-shadow:
    0 -10px currentColor,
    0 10px currentColor,
    -10px 0 currentColor,
    10px 0 currentColor,
    -7px -7px currentColor,
    7px -7px currentColor,
    -7px 7px currentColor,
    7px 7px currentColor;
  transition:
    opacity 0.7s ease,
    transform 0.7s ease,
    color 1.1s ease;
}
body.night .night-toggle__orb {
  background-color: transparent;
  box-shadow: inset -4.5px 2.5px 0 0 var(--deep);
}
body.night .night-toggle__orb::before {
  opacity: 0;
  transform: scale(0.3);
}
.mobile-prompt {
  display: none;
}
.loader {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background-color: var(--paper);
  transition: opacity 0.9s ease;
}
.loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.loader.is-removed {
  display: none;
}
.loader__mark {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-size: 40px;
  line-height: 1;
  color: var(--deep);
  animation: mark-breathe 3.6s ease-in-out infinite;
}
.loader__amp {
  font-family:
    "Alk Life",
    Georgia,
    serif;
  font-size: 22px;
  color: var(--gold);
}
@keyframes mark-breathe {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}
.loader__track {
  position: relative;
  width: 168px;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background-color: var(--line);
}
.loader__bar {
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: left center;
  background-color: var(--gold);
  transition: transform 0.2s linear;
}
.loader__pct {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
}
.entry {
  position: fixed;
  inset: 0;
  z-index: 10000;
  overflow: hidden;
  background-color: var(--paper);
  cursor: pointer;
  transition: opacity 1.1s ease;
}
.entry.is-gone {
  opacity: 0;
  pointer-events: none;
}
.entry.is-removed {
  display: none;
}
.entry__poster,
.entry__clip {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.entry__poster {
  z-index: 1;
  transition: opacity 0.6s ease;
}
.entry__clip {
  z-index: 2;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.entry__clip.is-playing {
  z-index: 3;
  opacity: 1;
}
.entry.is-rolling .entry__poster {
  opacity: 0;
}
.entry__hint {
  position: absolute;
  left: 50%;
  bottom: 14%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 20px;
  border-radius: 999px;
  background-color: rgba(253, 250, 244, 0.72);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  box-shadow: 0 3px 20px rgba(106, 100, 85, 0.15);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--deep);
  white-space: nowrap;
  transform: translateX(-50%);
  pointer-events: none;
  animation: hint-breathe 3.4s ease-in-out infinite;
  transition: opacity 0.5s ease;
}
.entry__hint-line {
  display: block;
  width: 22px;
  height: 1px;
  background-color: var(--gold-lt);
}
@keyframes hint-breathe {
  0%, 100% {
    opacity: 0.72;
  }
  50% {
    opacity: 1;
  }
}
.entry__tap {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  width: 96px;
  height: 96px;
  margin: -48px 0 0 -48px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  animation: seal-ping 3.4s ease-out infinite;
}
@keyframes seal-ping {
  0% {
    opacity: 0.55;
    transform: scale(0.82);
  }
  70% {
    opacity: 0;
    transform: scale(1.5);
  }
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}
.entry.is-rolling .entry__hint,
.entry.is-rolling .entry__tap {
  opacity: 0;
  animation: none;
}
.entry.is-stalled .entry__poster {
  opacity: 1;
}
.entry.is-stalled .entry__hint {
  opacity: 1;
  animation: hint-breathe 3.4s ease-in-out infinite;
}
.page {
  position: relative;
  overflow: hidden;
}
.hero {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background-color: var(--sky);
}
.vh-lock .hero {
  min-height: calc(var(--vh) * 100);
}
.hero__still {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 9s cubic-bezier(0.16, 0.8, 0.3, 1), opacity 1.1s ease;
}
.is-open .hero__still {
  transform: scale(1);
}
.hero__still--night {
  z-index: 1;
  opacity: 0;
}
body.night .hero__still--night {
  opacity: 1;
}
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.hero__veil::before,
.hero__veil::after {
  content: "";
  position: absolute;
  inset: 0;
  transition: opacity 1.1s ease;
}
.hero__veil::before {
  background-image:
    radial-gradient(
      ellipse 88% 33% at 50% 29%,
      rgba(253, 250, 244, 0.80) 0%,
      rgba(253, 250, 244, 0.40) 58%,
      rgba(253, 250, 244, 0) 86%),
    radial-gradient(
      ellipse 86% 14% at 50% 96%,
      rgba(253, 250, 244, 0.38) 0%,
      rgba(253, 250, 244, 0) 82%);
}
.hero__veil::after {
  opacity: 0;
  background-image:
    radial-gradient(
      ellipse 88% 33% at 50% 29%,
      rgba(6, 13, 26, 0.72) 0%,
      rgba(6, 13, 26, 0.34) 58%,
      rgba(6, 13, 26, 0) 86%),
    radial-gradient(
      ellipse 86% 14% at 50% 96%,
      rgba(6, 13, 26, 0.34) 0%,
      rgba(6, 13, 26, 0) 82%);
}
body.night .hero__veil::before {
  opacity: 0;
}
body.night .hero__veil::after {
  opacity: 1;
}
.hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: calc(var(--vh) * 11) 26px 0;
  text-align: center;
}
.hero__eyebrow,
.hero__names,
.hero__rule,
.hero__invite,
.hero__place {
  opacity: 0;
}
.is-open .hero__eyebrow {
  animation: rise 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}
.is-open .hero__names {
  animation: rise 1.7s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}
.is-open .hero__rule {
  animation: rule-in 1.6s cubic-bezier(0.22, 1, 0.36, 1) 1.45s both;
}
.is-open .hero__invite {
  animation: rise 1.6s cubic-bezier(0.22, 1, 0.36, 1) 1.8s both;
}
.is-open .hero__place {
  animation: rise 1.6s cubic-bezier(0.22, 1, 0.36, 1) 2.15s both;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes rule-in {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}
.hero__eyebrow {
  font-size: 14.5px;
  letter-spacing: 0.3em;
  font-weight: 900;
  color: var(--gold-rich);
}
.hero__names {
  margin-top: 12px;
  font-size: 48px;
  font-weight: normal;
  line-height: 1.06;
  color: var(--green);
  text-shadow: 0 2px 16px rgba(253, 250, 244, 0.9), 0 0 8px rgba(253, 250, 244, 0.85);
}
.hero__name {
  display: block;
}
.hero__amp {
  display: block;
  margin: 2px 0;
  font-family:
    "Alk Life",
    Georgia,
    serif;
  font-size: 26px;
  color: var(--gold-rich);
  text-shadow: 0 0 10px rgba(253, 250, 244, 0.85);
}
.hero__rule {
  display: block;
  width: 70px;
  height: 1px;
  margin: 18px auto 0;
  background-color: var(--gold);
}
.hero__invite {
  position: relative;
  margin: 16px auto 0;
  max-width: 300px;
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: var(--green);
  text-shadow:
    0 0 9px rgba(253, 250, 244, 0.95),
    0 0 22px rgba(253, 250, 244, 0.85),
    0 1px 2px rgba(253, 250, 244, 0.9);
}
.hero__invite::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: 132%;
  height: 200%;
  transform: translate(-50%, -50%);
  background-image:
    radial-gradient(
      ellipse at center,
      rgba(253, 250, 244, 0.88) 0%,
      rgba(253, 250, 244, 0.6) 44%,
      rgba(253, 250, 244, 0) 73%);
  pointer-events: none;
  transition: opacity 1.1s ease;
}
.hero__invite::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: 132%;
  height: 200%;
  opacity: 0;
  transform: translate(-50%, -50%);
  background-image:
    radial-gradient(
      ellipse at center,
      rgba(6, 13, 26, 0.82) 0%,
      rgba(6, 13, 26, 0.55) 44%,
      rgba(6, 13, 26, 0) 73%);
  pointer-events: none;
  transition: opacity 1.1s ease;
}
body.night .hero__invite::before {
  opacity: 0;
}
body.night .hero__invite::after {
  opacity: 1;
}
.hero__place {
  margin-top: 9px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.32em;
  color: var(--deep-soft);
  text-shadow: 0 1px 10px rgba(253, 250, 244, 0.9);
}
.cue {
  position: absolute;
  left: 50%;
  bottom: 46px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  opacity: 0;
  transform: translateX(-50%);
  pointer-events: none;
  transition: opacity 1.1s ease;
}
.is-open .cue {
  opacity: 1;
  transition-delay: 2.7s;
}
.is-open.is-scrolled .cue {
  opacity: 0;
  transition-delay: 0s;
}
.cue__label {
  padding: 5px 15px;
  border-radius: 999px;
  background-color: rgba(253, 250, 244, 0.84);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  box-shadow: 0 2px 18px rgba(106, 100, 85, 0.16);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--deep);
  transition:
    background-color 1.1s ease,
    color 1.1s ease,
    border-color 1.1s ease,
    box-shadow 1.1s ease;
}
.cue__ring {
  position: relative;
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(253, 250, 244, 0.84);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  box-shadow: 0 2px 18px rgba(106, 100, 85, 0.16);
  animation: cue-bob 2.6s ease-in-out infinite;
  transition:
    background-color 1.1s ease,
    color 1.1s ease,
    border-color 1.1s ease,
    box-shadow 1.1s ease;
}
.cue__ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--deep-soft);
  border-radius: 50%;
  animation: cue-ping 2.6s ease-out infinite;
}
.cue__chev {
  position: absolute;
  left: 50%;
  top: 12px;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-right: 2px solid var(--deep);
  border-bottom: 2px solid var(--deep);
  transform: rotate(45deg);
  animation: chev-fade 2.6s ease-in-out infinite;
}
.cue__chev--2 {
  top: 19px;
  opacity: 0.45;
  animation-delay: 0.32s;
}
@keyframes cue-bob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(7px);
  }
}
@keyframes cue-ping {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }
  70% {
    opacity: 0;
    transform: scale(1.85);
  }
  100% {
    opacity: 0;
    transform: scale(1.85);
  }
}
@keyframes chev-fade {
  0%, 100% {
    opacity: 0.35;
  }
  45% {
    opacity: 1;
  }
}
.sheet {
  position: relative;
  z-index: 2;
  margin-top: calc(var(--lip) * -1);
  padding: 54px 24px 46px;
  border-top-left-radius: var(--lip);
  border-top-right-radius: var(--lip);
  background-color: var(--paper);
  box-shadow: 0 -14px 32px rgba(106, 100, 85, 0.16);
}
.sheet::before {
  content: "";
  position: absolute;
  top: 0;
  left: 11%;
  right: 11%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.8);
}
.sheet--alt {
  background-color: var(--paper-2);
}
.sheet--letter {
  background-color: var(--cream);
}
.sheet--rsvp {
  background-color: var(--cream);
}
.sheet--foot {
  padding-top: 40px;
  padding-bottom: 36px;
  background-color: var(--paper-3);
  text-align: center;
}
.sheet__inner {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  text-align: center;
}
.sheet__eyebrow {
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--ink-soft);
}
.sheet__title {
  margin-top: 8px;
  font-size: 32px;
  font-weight: normal;
  line-height: 1.15;
  color: var(--deep);
}
.sheet__title--green {
  color: var(--green);
}
.sheet__rule {
  display: block;
  width: 64px;
  height: 1px;
  margin: 16px auto 0;
  transform: scaleX(0);
  background-color: var(--gold);
  transition:
    transform 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.3s,
    background-color 1.1s ease,
    color 1.1s ease,
    border-color 1.1s ease;
}
.sheet__rule.is-in {
  transform: scaleX(1);
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 1.3s ease,
    transform 1.3s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 1.1s ease,
    color 1.1s ease,
    border-color 1.1s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.sheet__rule.reveal {
  transform: scaleX(0);
}
.sheet__rule.reveal.is-in {
  transform: scaleX(1);
}
.pond {
  position: relative;
  height: 132px;
  margin-top: 26px;
  overflow: hidden;
  border-radius: 20px;
  background-color: #dfe9e2;
  box-shadow: 0 4px 16px rgba(106, 100, 85, 0.12);
}
.pond::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(253, 250, 244, 0.55);
  border-radius: 13px;
  pointer-events: none;
}
.pond__band {
  position: absolute;
  left: -50%;
  width: 200%;
  height: 100%;
  background-repeat: repeat-x;
  background-position: center;
}
.pond__band--1 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='132' viewBox='0 0 120 132'%3E%3Cpath d='M0 34c15 0 15-8 30-8s15 8 30 8 15-8 30-8 15 8 30 8' fill='none' stroke='%23ffffff' stroke-opacity='.6' stroke-width='1.4'/%3E%3C/svg%3E");
  animation: drift 17s linear infinite;
}
.pond__band--2 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='132' viewBox='0 0 160 132'%3E%3Cpath d='M0 112c20 0 20-7 40-7s20 7 40 7 20-7 40-7 20 7 40 7' fill='none' stroke='%238fa47e' stroke-opacity='.32' stroke-width='1.3'/%3E%3C/svg%3E");
  animation: drift 26s linear infinite reverse;
}
.pond__band--3 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='132' viewBox='0 0 200 132'%3E%3Cpath d='M0 18c25 0 25-6 50-6s25 6 50 6 25-6 50-6 25 6 50 6' fill='none' stroke='%23b08d55' stroke-opacity='.26' stroke-width='1.2'/%3E%3C/svg%3E");
  animation: drift 34s linear infinite;
}
.pond__glow {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      ellipse 68% 46% at 50% 76%,
      rgba(214, 193, 154, 0.5) 0%,
      rgba(214, 193, 154, 0) 78%);
}
@keyframes drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(25%);
  }
}
.swan {
  position: absolute;
  left: 50%;
  bottom: 42px;
  z-index: 2;
  width: 82px;
  margin-left: -41px;
  animation: swan-glide 26s ease-in-out infinite alternate;
}
.swan__bob {
  position: relative;
  animation: swan-bob 7s ease-in-out infinite;
}
.swan__img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 3px 5px rgba(106, 100, 85, 0.22));
}
.swan__mirror {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0.22;
  transform: scaleY(-0.5) translateY(-100%);
  transform-origin: top center;
  filter: blur(1.2px);
  pointer-events: none;
}
@keyframes swan-glide {
  from {
    transform: translateX(-26px);
  }
  to {
    transform: translateX(26px);
  }
}
@keyframes swan-bob {
  0%, 100% {
    transform: translateY(0) rotate(-0.7deg);
  }
  50% {
    transform: translateY(-3px) rotate(0.7deg);
  }
}
.cd {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 26px;
}
.cd__unit {
  padding: 14px 4px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background-color: var(--cream);
}
.cd__num {
  display: block;
  font-size: 27px;
  line-height: 1;
  color: var(--deep);
}
.cd__label {
  display: block;
  margin-top: 7px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}
.sheet--letter {
  padding-top: 50px;
  padding-bottom: 50px;
}
.letter__mark {
  position: relative;
  display: block;
  width: 88px;
  height: 1px;
  margin: 0 auto;
  background-color: var(--gold-lt);
}
.letter__mark::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 7px;
  height: 7px;
  margin-left: -4px;
  border: 1px solid var(--gold);
  background-color: var(--cream);
  transform: rotate(45deg);
}
.letter__salut {
  margin-top: 26px;
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--green);
}
.letter__body {
  margin-top: 20px;
}
.letter__body p {
  font-size: 15.5px;
  line-height: 1.95;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
}
.letter__body p + p {
  margin-top: 18px;
}
.letter__rule {
  display: block;
  width: 40px;
  height: 1px;
  margin: 28px auto 0;
  background-color: var(--gold-lt);
}
.letter__sign {
  margin-top: 20px;
  font-size: 21px;
  line-height: 1.4;
  color: var(--green);
}
.tl {
  margin-top: 30px;
  text-align: center;
}
.day-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}
.day-head::before,
.day-head::after {
  content: "";
  width: 26px;
  height: 1px;
  background-color: var(--gold-lt);
}
.day-head__date {
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--gold-rich);
}
.ev {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding: 0 22px 26px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background-color: var(--cream);
  box-shadow: 0 4px 18px rgba(106, 100, 85, 0.1);
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 1.15s ease,
    transform 1.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 1.1s ease,
    background-color 1.1s ease,
    color 1.1s ease,
    border-color 1.1s ease;
}
.ev + .ev {
  margin-top: 34px;
}
.ev.is-lit {
  opacity: 1;
  transform: none;
}
.ev__img {
  position: relative;
  width: calc(100% + 44px);
  margin: 0 -22px 22px;
}
.ev__img-night {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
}
body.night .ev__img-night {
  opacity: 1;
}
.ev__img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 30%;
}
.ev--church .ev__img img {
  object-position: center 32%;
}
.ev--villa .ev__img img {
  object-position: center 30%;
}
.ev--dinner .ev__img img {
  object-position: center 18%;
}
.ev__img::before,
.ev__img::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  z-index: 2;
  height: 28%;
  pointer-events: none;
  transition: opacity 1.1s ease;
}
.ev__img::after {
  background-image:
    linear-gradient(
      to bottom,
      rgba(253, 250, 244, 0),
      #fdfaf4);
}
.ev__img::before {
  opacity: 0;
  background-image:
    linear-gradient(
      to bottom,
      rgba(22, 36, 59, 0),
      #16243b);
}
body.night .ev__img::after {
  opacity: 0;
}
body.night .ev__img::before {
  opacity: 1;
}
.ev__label {
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--gold);
}
.ev__venue {
  margin-top: 12px;
  font-size: 18px;
  font-weight: normal;
  line-height: 1.55;
  color: var(--green);
}
.ev__addr {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.ev__rule {
  display: block;
  width: 40px;
  height: 1px;
  margin-top: 20px;
  background-color: var(--gold-lt);
}
.ev__time {
  margin-top: 16px;
  font-size: 32px;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--green);
}
.ev__time--tbc {
  padding: 4px 14px;
  border: 1px dashed var(--line);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}
.ev__map {
  margin-top: 20px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--gold-lt);
  font-size: 11px;
  letter-spacing: 0.26em;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.ev__map:hover,
.ev__map:focus-visible {
  color: var(--green);
  border-color: var(--green);
}
.rsvp {
  margin-top: 28px;
  text-align: left;
}
.field {
  margin-bottom: 16px;
}
.field__label {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
}
.field__input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background-color: var(--paper);
  font-size: 15px;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease,
    color 1.1s ease;
}
.field__input::placeholder {
  color: #b4ab9d;
}
.field__input:focus {
  outline: none;
  border-color: var(--gold);
  background-color: #fff;
}
.choice {
  margin-bottom: 16px;
  border: 0;
}
.choice__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 3px;
}
.choice__row--four {
  grid-template-columns: repeat(4, 1fr);
}
.choice__opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choice__box {
  display: block;
  padding: 12px 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background-color: var(--paper);
  font-size: 14px;
  text-align: center;
  cursor: pointer;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease;
}
.choice__opt input:checked + .choice__box {
  border-color: var(--deep);
  background-color: var(--deep);
  color: var(--cream);
}
.choice__opt input:focus-visible + .choice__box {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
#guest-count-group.is-hidden {
  display: none;
}
.rsvp__submit {
  width: 100%;
  margin-top: 6px;
  padding: 14px;
  border: 0;
  border-radius: 12px;
  background-color: var(--deep);
  color: var(--cream);
  font-size: 17px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    opacity 0.3s ease,
    color 1.1s ease;
}
.rsvp__submit:active {
  background-color: var(--deep-soft);
}
.rsvp__submit:disabled {
  opacity: 0.55;
  cursor: default;
}
.rsvp__status {
  min-height: 20px;
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--ink-soft);
  text-align: center;
}
.rsvp__thanks {
  margin-top: 26px;
  padding: 26px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background-color: var(--paper);
  text-align: center;
}
.rsvp__thanks-title {
  font-size: 26px;
  color: var(--deep);
}
.rsvp__thanks-body {
  margin-top: 8px;
  font-size: 15px;
  color: var(--ink-soft);
}
.sheet--sign {
  padding-top: 50px;
  padding-bottom: 52px;
  background-color: var(--paper);
}
.sign__mark {
  position: relative;
  display: block;
  width: 88px;
  height: 1px;
  margin: 0 auto;
  background-color: var(--gold-lt);
}
.sign__mark::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 7px;
  height: 7px;
  margin-left: -4px;
  border: 1px solid var(--gold);
  background-color: var(--paper);
  transform: rotate(45deg);
}
.sign__mark--end {
  margin-top: 26px;
}
.sign__lead {
  margin-top: 26px;
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--gold);
}
.sign__hosts {
  margin-top: 10px;
  font-size: 23px;
  line-height: 1.4;
  color: var(--deep);
}
.foot__names {
  font-size: 26px;
  color: var(--deep);
}
.foot__date {
  margin-top: 5px;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
}
.credit {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  font-size: 12px;
  color: var(--ink-soft);
  text-decoration: none;
  opacity: 0.3;
  transition: opacity 0.3s ease, color 1.1s ease;
}
.credit:hover,
.credit:focus-visible {
  opacity: 0.75;
}
.credit__logo {
  width: 32px;
  height: auto;
  margin: 0 auto;
}
html.night {
  --paper: #121e33;
  --paper-2: #0d1728;
  --paper-3: #091120;
  --cream: #16243b;
  --deep: #e7eef7;
  --deep-soft: #93a9c4;
  --gold: #cfa963;
  --gold-lt: #8a6f42;
  --gold-rich: #e0bb72;
  --blush: #c2a6a2;
  --green: #a9d98a;
  --green-lt: #cbe6b4;
  --sage: #8fa47e;
  --sky: #14213a;
  --line: #2b3d59;
  --ink: #cdd9e7;
  --ink-soft: #8da1b8;
}
body.night .music-toggle,
body.night .night-toggle {
  border-color: rgba(207, 169, 99, 0.45);
  background-color: rgba(18, 30, 51, 0.86);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.42);
}
body.night .cue__label,
body.night .cue__ring {
  background-color: rgba(18, 30, 51, 0.86);
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}
body.night .hero__names {
  text-shadow: 0 2px 16px rgba(6, 13, 26, 0.92), 0 0 8px rgba(6, 13, 26, 0.88);
}
body.night .hero__amp {
  text-shadow: 0 0 10px rgba(6, 13, 26, 0.88);
}
body.night .hero__invite {
  text-shadow:
    0 0 9px rgba(6, 13, 26, 0.95),
    0 0 22px rgba(6, 13, 26, 0.88),
    0 1px 2px rgba(6, 13, 26, 0.9);
}
body.night .hero__eyebrow,
body.night .hero__place {
  text-shadow: 0 1px 10px rgba(6, 13, 26, 0.9);
}
body.night .sheet {
  box-shadow: 0 -14px 32px rgba(0, 0, 0, 0.5);
}
body.night .sheet::before {
  background-color: rgba(255, 255, 255, 0.08);
}
body.night .pond {
  background-color: #122437;
}
body.night .pond::after {
  border-color: rgba(207, 169, 99, 0.28);
}
body.night .swan__img {
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5));
}
body.night .swan__mirror {
  opacity: 0.3;
}
body.night .ev {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}
body.night .field__input::placeholder {
  color: #6d8098;
}
body.night .field__input:focus {
  background-color: #1c2c47;
}
body.night .choice__opt input:checked + .choice__box,
body.night .rsvp__submit {
  border-color: var(--gold);
  background-color: var(--gold);
  color: #101b2d;
}
body.night .rsvp__submit:active {
  background-color: var(--gold-rich);
}
@media (min-width: 481px) {
  .hero__names {
    font-size: 56px;
  }
  .hero__amp {
    font-size: 29px;
  }
  .hero__invite {
    max-width: 330px;
    font-size: 16px;
  }
  .sheet__title {
    font-size: 36px;
  }
  .letter__salut {
    font-size: 24px;
  }
  .letter__body p {
    font-size: 16.5px;
  }
  .letter__sign {
    font-size: 22px;
  }
  .ev__venue {
    font-size: 19px;
  }
  .ev__time {
    font-size: 34px;
  }
  .sign__hosts {
    font-size: 25px;
  }
  .sheet__inner {
    max-width: 400px;
  }
  .cd__num {
    font-size: 30px;
  }
  .cd__label {
    font-size: 11.5px;
  }
  .pond {
    height: 146px;
  }
}
@media (min-width: 769px) {
  .mobile-prompt {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 30px;
    background-color: var(--paper);
    text-align: center;
  }
  .mobile-prompt__icon {
    width: 52px;
    height: auto;
    opacity: 0.8;
  }
  .mobile-prompt p {
    font-size: 17px;
    letter-spacing: 0.06em;
    color: var(--ink-soft);
  }
}
@media (prefers-reduced-motion: reduce) {
  .loader__mark,
  .entry__hint,
  .entry__tap,
  .pond__band,
  .swan,
  .swan__bob,
  .cue__ring,
  .cue__chev {
    animation: none !important;
  }
  .entry__tap,
  .cue__ring::after {
    display: none;
  }
  .is-open .hero__eyebrow,
  .is-open .hero__names,
  .is-open .hero__rule,
  .is-open .hero__invite,
  .is-open .hero__place {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
  .hero__still {
    transition-duration: 1.2s !important;
  }
  .reveal,
  .ev,
  .sheet__rule {
    transition-duration: 0.01ms !important;
  }
}
