@font-face {
  font-family: Prata;
  src: url("../assets/fonts/7a820720491a53d2.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Quicksand;
  src: url("../assets/fonts/a74fb1607b845cb0.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
:root {
  --navy: #101b3a;
  --blue: #1c2b55;
  --porcelain: #9db3da;
  --gold: #d6be8e;
  --ivory: #f4ebd4;
  --body: #e1dacb;
  --serif: Prata, Georgia, serif;
  --sans: Quicksand, sans-serif;
  --phone-height: min(870px, calc(100dvh - 112px));
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  background: var(--navy);
  color: var(--ivory);
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font: 500 15px/1.8 var(--sans);
  background: var(--navy);
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: -50px;
  background:
    linear-gradient(#0d183651, #0d1836aa),
    url("../assets/images/theme/desktop-cover.webp") center/cover;
  filter: blur(36px);
  opacity: 0.72;
  pointer-events: none;
  z-index: 0;
}
button,
input,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}
img {
  display: block;
  width: 100%;
  height: auto;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h2,
h3,
h4 {
  font-weight: 400;
}
button {
  color: inherit;
}
.preview-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 28px;
  background: #fbf8ef;
  color: #302d25;
  border-bottom: 1px solid #d6be8e66;
}
.preview-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.preview-title h1 {
  font: 400 18px/1.3 var(--serif);
}
.moon-mark {
  font-size: 28px;
  color: #827b51;
}
.replay {
  width: 36px;
  height: 36px;
  border: 1px solid #aaa48966;
  border-radius: 50%;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  transition: transform 0.3s;
}
.replay:hover {
  transform: rotate(-35deg);
}
.preview-stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100dvh - 64px);
  padding: 24px 80px;
}
.phone-shell {
  position: relative;
  width: 390px;
  padding: 6px;
  border-radius: 34px;
  background: #292923;
  box-shadow:
    0 0 0 1px #a49a6555,
    inset 0 0 0 2px #5d533655,
    0 28px 80px #03081588;
  flex-shrink: 0;
}
.phone-shell::before,
.phone-shell::after {
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 3px;
  background: #554d3c;
  left: -3px;
  top: 126px;
  height: 35px;
}
.phone-shell::after {
  top: 174px;
  height: 60px;
}
.invitation {
  position: relative;
  isolation: isolate;
  height: var(--phone-height);
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 28px;
  background: var(--navy);
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior: contain;
  container-type: inline-size;
}
.invitation::-webkit-scrollbar {
  display: none;
}
.photo-switch {
  position: absolute;
  z-index: 5;
  left: calc(50% - 286px);
  display: flex;
  flex-direction: column;
  border-radius: 35px;
  background: #fbf8ef;
  padding: 4px;
  box-shadow: 0 7px 20px #030c2b33;
  color: #6d6a52;
  width: 64px;
  border: 1px solid #d6be8e55;
}
.photo-switch button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  min-height: 91px;
  width: 100%;
  border: 0;
  border-radius: 30px;
  background: transparent;
  font: 600 11px/1.4 var(--sans);
}
.photo-switch button[aria-pressed="true"] {
  background: #73734e;
  color: #fbf8ef;
  box-shadow: 0 4px 8px #37372420;
}
.photo-switch svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.cover,
.page-content {
  background-color: var(--navy);
  background-image:
    radial-gradient(circle at 23% 31%, #f4ebd48c 0 1px, transparent 1.5px),
    radial-gradient(circle at 71% 64%, #f4ebd459 0 1px, transparent 1.5px),
    radial-gradient(circle at 44% 82%, #9db3da80 0 1.5px, transparent 2px),
    linear-gradient(#0f1936 0%, #101b3a 30%, #13204a 100%);
  background-size:
    300px 220px,
    190px 260px,
    410px 330px,
    100% 100%;
  background-repeat: repeat, repeat, repeat, no-repeat;
}
.cover {
  position: relative;
  min-height: var(--phone-height);
  overflow: hidden;
  isolation: isolate;
}
.cover-content {
  position: relative;
  z-index: 2;
  padding: 40px 24px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.eyebrow {
  font: 600 10.5px/1.4 var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--porcelain);
}
.cover-content > .eyebrow {
  margin-bottom: 20px;
  letter-spacing: 0.3em;
  font-size: 10px;
  color: #e1dacb;
}
.cover-photo-stage {
  position: relative;
  width: min(280px, 78cqw);
  margin-bottom: 122px;
  flex-shrink: 0;
}
.round-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--blue);
  box-shadow:
    0 0 0 1.5px #d6be8ec7,
    0 0 32px #9db3da30;
}
.round-photo > img {
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}
.cover-bank {
  position: absolute;
  width: 200px;
  max-width: none;
  left: calc(100% - 180px);
  top: calc(100% - 165px);
  animation: flowerSway 13s ease-in-out infinite alternate;
  transform-origin: 100% 100%;
}
.cover-sprig {
  position: absolute;
  width: 110px;
  max-width: none;
  left: -50px;
  top: calc(100% - 140px);
  animation: flowerSway 11s ease-in-out infinite alternate;
  transform-origin: 57% 100%;
}
.cover-petal {
  position: absolute;
  width: 28px;
  left: -30px;
  top: calc(100% - 14px);
  opacity: 0.8;
  animation: petalDrift 14s ease-in-out infinite alternate;
}
.names {
  font: 400 44px/1.15 var(--serif);
  color: var(--ivory);
  text-align: center;
  text-shadow: 0 0 16px #d6be8e33;
}
.names > span {
  display: block;
  font:
    700 28px/1.4 Georgia,
    serif;
  color: var(--porcelain);
}
.cover-date {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 20px;
  font: 700 12px/1.4 var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
}
.cover-date::before,
.cover-date::after {
  content: "";
  width: 35px;
  height: 1px;
  background: #d6be8e88;
}
.guest-card {
  padding: 12px 22px;
  border: 1px solid #9db3da40;
  border-radius: 25px;
  background: #1c2b55bf;
  box-shadow: inset 0 1px 0 #f4ebd414;
  margin-bottom: 18px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.guest-card p {
  font: 600 9px/1.5 var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--porcelain);
}
.guest-card strong {
  display: block;
  font: 700 16px/1.5 var(--sans);
  margin-top: 3px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 30px;
  padding: 12px 27px;
  border: 1px solid transparent;
  font: 700 11px/1.5 var(--sans);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    transform 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 22px #02081744;
}
.button:active {
  transform: scale(0.97);
}
.gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 6px 20px #040b232f;
}
.outline {
  background: #1c2b5555;
  border-color: #9db3da55;
  color: var(--ivory);
}
.scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow-x: clip;
  pointer-events: none;
}
.scene > img {
  position: absolute;
  max-width: none;
}
.cover-strand {
  width: 28px;
  left: 4px;
  top: 0;
  transform-origin: top;
  animation: swing 11s ease-in-out infinite alternate;
}
.cover-lantern {
  width: 28px;
  right: 4px;
  top: 0;
  transform-origin: top;
  animation: swing 12s ease-in-out infinite alternate;
}
.star {
  position: absolute;
  width: 8px;
  aspect-ratio: 1;
  background: var(--ivory);
  clip-path: polygon(
    50% 0,
    58% 42%,
    100% 50%,
    58% 58%,
    50% 100%,
    42% 58%,
    0 50%,
    42% 42%
  );
  animation: twinkle 5s ease-in-out infinite alternate;
  opacity: 0.5;
}
.scene .petal {
  animation: petalDrift 24s ease-in-out infinite alternate;
  animation-delay: var(--petal-delay, 0s);
  opacity: 0.55;
}
.band {
  position: relative;
  isolation: isolate;
  /* Ornaments may hang past the section edge so no straight cut shows between sections. */
  overflow-x: clip;
  padding: 96px 24px 128px;
}
.radial {
  background: radial-gradient(90% 60% at 50% 42%, #1c2b55d9, transparent 72%);
}
.section-content {
  position: relative;
  z-index: 2;
}
.section-heading {
  text-align: center;
  margin-bottom: 36px;
}
.section-heading h2,
.band h2:not(.names) {
  font: 400 31px/1.25 var(--serif);
  color: var(--ivory);
}
.section-heading > .eyebrow {
  margin-bottom: 16px;
}
.section-heading p:not(.eyebrow) {
  margin-top: 28px;
}
.section-content p {
  color: var(--body);
}
.section-content p.eyebrow {
  color: var(--porcelain);
}
.crescent-rule {
  width: 174px;
  max-width: 90%;
  margin: 14px auto 0;
}
.moon-rule {
  width: 220px;
  max-width: 90%;
  margin: 22px auto;
}
.hashtag {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--porcelain) !important;
}
.moon {
  --size: 40px;
  --face:
    radial-gradient(circle at 62% 38%, #9db3da47 0 12%, transparent 13%),
    radial-gradient(circle at 70% 66%, #9db3da38 0 9%, transparent 10%),
    radial-gradient(circle at 54% 72%, #9db3da2e 0 7%, transparent 8%),
    var(--ivory);
  position: relative;
  display: block;
  flex: none;
  width: var(--size);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--blue);
  box-shadow:
    0 0 0 1px #9db3da73,
    0 0 0 8px #f4ebd40a,
    0 0 26px 4px #f4ebd424;
}
.moon > i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}
.moon > .moon-lit {
  background: var(--face);
  clip-path: inset(0 0 0 50%);
}
.moon > .moon-shadow {
  background: var(--blue);
  transform: scaleX(max(0, calc(1 - 2 * var(--k, 0.5))));
}
.moon > .moon-fill {
  background: var(--face);
  transform: scaleX(max(0, calc(2 * var(--k, 0.5) - 1)));
}
.moon-seam {
  position: absolute;
  z-index: 2;
  top: 34px;
  left: 50%;
  translate: -50% 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.moon-seam .moon {
  --size: 38px;
}
.moon-seam::before,
.moon-seam::after {
  content: "";
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, #d6be8e00, #d6be8e99);
}
.moon-seam::after {
  background: linear-gradient(270deg, #d6be8e00, #d6be8e99);
}
.splash {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  min-height: 870px;
  padding: 108px 24px 24px;
  text-align: center;
  outline: none;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.hero-copy .eyebrow {
  margin-bottom: 17px;
}
.hero-copy .names {
  font-size: 47px;
}
.hero-names > .name-word {
  font: inherit;
  color: inherit;
}
.hero-date {
  margin: 22px -2px 32px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.hero-date::before,
.hero-date::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 35px;
  height: 1px;
  background: #d6be8e99;
  margin: 0 10px;
}
.hero-photo-stage {
  position: relative;
  width: min(320px, 86cqw);
  margin: 0 auto 130px;
  z-index: 2;
}
.hero-horizon {
  position: absolute;
  width: 140%;
  max-width: none;
  left: -20%;
  bottom: -80px;
  opacity: 0.15;
}
.hero-bank {
  position: absolute;
  max-width: none;
  width: 230px;
  right: -50px;
  bottom: -105px;
  animation: flowerSway 13s ease-in-out infinite alternate;
  transform-origin: bottom right;
}
.hero-sprig {
  position: absolute;
  width: 175px;
  left: -68px;
  bottom: -109px;
  animation: flowerSway 11s ease-in-out infinite alternate;
  transform-origin: bottom left;
}
.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 34px;
  left: 0;
  right: 0;
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 0.18em;
  opacity: 0.65;
}
.scroll-cue svg {
  display: block;
  width: 20px;
  height: 20px;
  margin: 4px auto 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: cueMove 2s ease-in-out infinite;
}
.hero-photo-stage {
  aspect-ratio: 1/1.34;
  margin: 32px auto 0;
}
.hero-photo-stage .round-photo {
  z-index: 1;
  mask-image: linear-gradient(#000 calc(100% - 36px), transparent);
}
.hero-horizon {
  width: 151.7%;
  left: -32.27%;
  top: 7.07%;
  bottom: auto;
  opacity: 1;
}
.hero-bank {
  z-index: 2;
  width: 160px;
  left: calc(50% - 209px);
  right: auto;
  top: calc(50% / 1.34 + 90px);
  bottom: auto;
  scale: -1 1;
}
.hero-sprig {
  z-index: 2;
  width: 123px;
  left: calc(50% + 81.5px);
  top: calc(50% / 1.34 + 82px);
  bottom: auto;
  scale: -1 1;
}
.quote {
  min-height: 574px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.quote .section-content {
  padding-inline: 22px;
}
.quote-crest {
  width: 150px;
  margin: 0 auto 26px;
  filter: drop-shadow(0 8px 24px #02081766);
}
.quote blockquote {
  font: 400 19px/1.72 var(--serif);
  margin: 0 0 26px;
  text-wrap: balance;
}
.couple {
  min-height: 1530px;
}
.person {
  text-align: left;
}
.person h3 {
  font: 400 38px/1.2 var(--serif);
  margin-bottom: 10px;
}
.full-name {
  text-transform: uppercase;
  color: var(--porcelain) !important;
  font: 600 12.5px/1.5 var(--sans);
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}
.person > p:not(.full-name) {
  margin: 0 0 12px;
}
.instagram svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}
.instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #9db3da66;
  background: #1c2b5544;
  border-radius: 25px;
  padding: 5px 15px;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.5;
}
.groom {
  text-align: right;
}
.couple-portraits {
  position: relative;
  aspect-ratio: 354 / 520;
  margin: 32px -12px 30px;
}
.couple-portraits .round-photo {
  position: absolute;
  width: 78%;
}
.bride-photo {
  left: 0;
  top: 0;
}
.groom-photo {
  right: 0;
  bottom: 0;
}
.portrait-wreath {
  position: absolute;
  width: 110%;
  left: -5%;
  top: 17.3%;
  opacity: 0.3;
}
.portrait-crest {
  position: absolute;
  width: 17%;
  left: 65%;
  top: 43%;
  z-index: 2;
}
.countdown-band {
  min-height: 923px;
  text-align: center;
}
.countdown-date {
  margin-top: 12px;
  font: 400 19px/1.4 var(--serif);
  letter-spacing: 0.02em;
  color: var(--ivory) !important;
}
.oval-date {
  position: relative;
  min-height: 458px;
  margin: 18px auto 20px;
  display: grid;
  place-items: center;
  max-width: 314px;
}
.orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  aspect-ratio: 1;
  border: 1px dotted #9db3da70;
  border-radius: 50%;
  translate: -50% -50%;
  animation: orbitTurn 90s linear infinite;
  pointer-events: none;
}
.orbit-inner {
  width: 420px;
}
.orbit-outer {
  width: 520px;
  animation-direction: reverse;
  animation-duration: 140s;
  opacity: 0.6;
}
.oval-date > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.oval-date p {
  position: relative;
  font: 400 30px/1.6 var(--serif);
  text-transform: uppercase;
  max-width: 225px;
}
.countdown {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 88px);
  gap: 12px;
}
.countdown > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 88px;
  aspect-ratio: 1;
  border: 1px solid #d6be8e42;
  border-radius: 50%;
  background: #1c2b55c7;
  box-shadow:
    inset 0 1px 0 #f4ebd412,
    0 10px 24px #02081740;
}
.countdown strong {
  font: 400 30px/1 var(--serif);
  font-variant-numeric: tabular-nums;
  color: var(--ivory);
}
.countdown span {
  display: block;
  margin-top: 6px;
  color: var(--porcelain);
  font: 600 9.5px/1.4 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.countdown-note {
  margin: 25px auto 0;
  font-size: 13px;
  max-width: 270px;
}
.events {
  min-height: 1445px;
  text-align: center;
}
.venue-label {
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.event {
  position: relative;
  padding: 76px 24px 30px;
  border: 1px solid #d6be8e42;
  border-radius: 999px 999px 26px 26px;
  background: #1c2b55c7;
  box-shadow:
    inset 0 1px 0 #f4ebd412,
    0 18px 40px #02081740;
}
.event-moon {
  position: absolute;
  top: 22px;
  left: 50%;
  translate: -50% 0;
}
.event h3 {
  font: 400 26px/1.25 var(--serif);
}
.event h3::after {
  content: "";
  display: block;
  width: 46px;
  height: 1px;
  margin: 14px auto;
  background: var(--gold);
}
.event-day {
  font: 400 44px/1 var(--serif);
  margin: 6px 0;
  color: var(--gold);
}
.event-month {
  font: 600 10.5px/1.4 var(--sans);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--porcelain) !important;
}
.event-time {
  margin-top: 12px;
}
.event h4 {
  font: 700 15px/1.55 var(--sans);
  color: var(--ivory);
  margin: 12px 0 6px;
}
.event .button {
  margin-top: 18px;
  min-height: 40px;
  padding: 9px 22px;
}
.event-divider {
  margin: 26px auto;
}
.dress-code {
  min-height: 568px;
  text-align: center;
}
.swatches {
  display: flex;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  margin: 0 auto 26px;
  padding: 14px 20px;
  border: 1px solid #d6be8e42;
  border-radius: 999px;
  background: #1c2b55c7;
  box-shadow: inset 0 1px 0 #f4ebd412;
}
.swatches > span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow:
    0 0 0 1px #d6be8e66,
    0 0 0 4px #d6be8e0d;
}
.live-stream {
  min-height: 770px;
  text-align: center;
}
.video-preview {
  position: relative;
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid #d6be8e80;
}
.video-preview img {
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: brightness(0.65);
}
.live-garland {
  margin: 4px -24px 22px;
  width: calc(100% + 48px);
  max-width: none;
}
.play-badge {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.play-badge svg {
  width: 58px;
  height: 58px;
  padding: 15px 13px 15px 17px;
  border: 1px solid #f4ebd480;
  border-radius: 50%;
  background: #101b3a8c;
  backdrop-filter: blur(4px);
  fill: var(--ivory);
  transition: scale 0.3s;
}
.video-preview:hover .play-badge svg {
  scale: 1.08;
}
.live-stream .hashtag {
  margin: 23px 0 20px;
}
.gallery {
  min-height: 1074px;
}
.gallery-grid {
  display: flex;
  flex-direction: column;
  margin-inline: -12px;
}
.gallery-item {
  display: block;
  width: 52%;
  position: relative;
  border: 1px solid #d6be8eb3;
  border-radius: 50%;
  aspect-ratio: 1;
  background: var(--blue);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 0 22px #9db3da26;
  transition: transform 0.3s;
}
.gallery-item + .gallery-item {
  margin-top: -24%;
}
.gallery-item:nth-child(even) {
  align-self: flex-end;
}
.gallery-item:hover {
  z-index: 1;
}
.gallery-item img {
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  transition: transform 0.5s;
}
.gallery-item:hover img {
  transform: scale(1.07);
}
.story {
  min-height: 0;
}
.story-line {
  margin-top: 48px;
  text-align: center;
}
.story-entry {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.story-entry + .story-entry {
  margin-top: 22px;
}
.story-entry + .story-entry::before {
  content: "";
  width: 1px;
  height: 44px;
  margin-bottom: 22px;
  background: linear-gradient(#d6be8e00, #d6be8e80, #d6be8e00);
}
.story-moon {
  --size: 48px;
  margin-bottom: 16px;
}
.story-entry h3 {
  font: 400 22px/1.3 var(--serif);
  color: var(--ivory);
  margin: 6px 0 10px;
}
.story-entry > p:not(.eyebrow) {
  max-width: 300px;
}
.family {
  min-height: 623px;
  text-align: center;
}
.family-member {
  margin-top: 26px;
}
.family-member > p:not(.eyebrow) {
  margin-top: 11px;
  font-size: 14px;
}
.gift {
  min-height: 1167px;
  text-align: center;
}
.bank-card {
  padding: 26px 18px;
  margin: 22px 0;
  border: 1px solid #d6be8e42;
  border-radius: 22px;
  background: #1c2b55c7;
  box-shadow:
    inset 0 1px 0 #f4ebd412,
    0 14px 34px #02081738;
}
.bank-card strong {
  display: block;
  font: 400 25px/1.4 var(--serif);
  letter-spacing: 0.06em;
  margin: 14px 0 8px;
}
.bank-card > p:not(.eyebrow) {
  font-size: 13px;
}
.bank-card .button {
  margin-top: 18px;
  min-height: 38px;
  padding: 9px 18px;
  font-size: 10px;
}
.gift-address {
  margin-top: 38px;
}
.gift-address > p:not(.eyebrow) {
  margin-top: 16px;
}
.gift-address .small {
  font-size: 12px;
}
.gift-address .button {
  margin-top: 22px;
}
.rsvp {
  min-height: 1176px;
}
.rsvp-form {
  padding: 22px 18px;
  background: #1c2b5566;
  border: 1px solid #9db3da3b;
  border-radius: 15px;
}
.rsvp-form > label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  color: var(--porcelain);
}
.rsvp-form > label > span {
  font-size: 10px;
}
.rsvp-form > input,
.rsvp-form > textarea {
  display: block;
  width: 100%;
  margin-bottom: 18px;
  min-height: 44px;
  padding: 10px 12px;
  background: #0f193688;
  border: 1px solid #9db3da40;
  border-radius: 7px;
  color: var(--ivory);
  font-size: 13px;
}
.rsvp-form input::placeholder,
.rsvp-form textarea::placeholder {
  color: #9db3da99;
}
.rsvp-form textarea {
  resize: vertical;
  min-height: 110px;
}
.rsvp-form fieldset {
  padding: 0;
  margin: 0 0 20px;
  border: 0;
  display: flex;
  gap: 9px;
}
.rsvp-form legend {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--porcelain);
  margin-bottom: 9px;
}
.attendance-option {
  position: relative;
  flex: 1;
}
.attendance-option input {
  position: absolute;
  opacity: 0;
}
.attendance-option span {
  display: block;
  padding: 9px;
  text-align: center;
  background: #0f193644;
  border: 1px solid #9db3da44;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
}
.attendance-option input:checked + span {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  font-weight: 700;
}
.attendance-option input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.guest-counter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 20px;
  font-size: 12px;
}
.guest-counter > div {
  display: flex;
  align-items: center;
  gap: 14px;
}
.guest-counter button {
  width: 30px;
  height: 30px;
  border: 1px solid #9db3da55;
  border-radius: 50%;
  background: transparent;
  font-size: 18px;
  line-height: 1;
}
.guest-counter button:disabled {
  opacity: 0.35;
  cursor: default;
}
.rsvp-form > .button {
  width: 100%;
}
.rsvp-form .local-note {
  font-size: 9px;
  color: var(--porcelain);
  margin-top: 12px;
  text-align: center;
}
.wish-list {
  margin-top: 30px;
}
.wish {
  padding: 20px 0;
  border-bottom: 1px solid #9db3da33;
  overflow-wrap: anywhere;
}
.wish > strong {
  font-size: 13px;
  color: var(--ivory);
}
.wish p {
  font-size: 12px;
  margin-top: 8px;
}
.wish small {
  display: block;
  color: var(--porcelain);
  font-size: 10px;
  margin-top: 2px;
}
.closing {
  min-height: 1155px;
  text-align: center;
  padding-top: 136px;
  padding-bottom: 300px;
}
.closing-portrait {
  position: relative;
  width: 230px;
  margin: 40px auto 38px;
}
.closing-ring {
  position: absolute;
  inset: -18px;
  width: calc(100% + 36px);
  height: calc(100% + 36px);
  object-fit: contain;
}
.closing .names {
  margin-top: 20px;
}
.closing .hashtag {
  margin-top: 20px;
}
.invitation-footer {
  position: relative;
  text-align: center;
  padding: 28px 24px 35px;
  background: #0b1430;
  font-size: 11px;
  color: var(--porcelain);
}
.invitation-footer a {
  color: var(--ivory);
  text-decoration: none;
}
.invitation-footer span {
  font-size: 9px;
  opacity: 0.6;
}
.music-toggle {
  position: absolute;
  z-index: 8;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  background: #0a1238b3;
  backdrop-filter: blur(6px);
  border: 1px solid #f4ebd440;
  color: var(--ivory);
  box-shadow: 0 4px 12px #040b2344;
}
.music-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 12px;
}
.music-bars > i {
  width: 2px;
  height: 100%;
  border-radius: 1px;
  background: currentColor;
  transform-origin: bottom;
  scale: 1 0.35;
}
.music-toggle[aria-pressed="true"] .music-bars > i {
  animation: musicBar 1.1s ease-in-out infinite alternate;
}
.music-toggle[aria-pressed="true"] .music-bars > i:nth-child(2) {
  animation-delay: -0.4s;
}
.music-toggle[aria-pressed="true"] .music-bars > i:nth-child(3) {
  animation-delay: -0.8s;
}
.music-toggle[aria-pressed="false"] {
  opacity: 0.75;
}
.no-photo-medallion {
  display: none;
  position: relative;
  aspect-ratio: 1;
}
.no-photo-medallion > img {
  height: 100%;
  object-fit: contain;
}
.no-photo-medallion > span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: 400 40px var(--serif);
  /* Engraved into the moon's face rather than floating over it. */
  color: var(--blue);
  text-shadow:
    0 1px 0 #f4ebd4cc,
    0 0 14px #f4ebd4;
  translate: 5% -5%;
}
.no-photo-medallion > span > span {
  font:
    400 24px Georgia,
    serif;
  color: #4a6196;
}
.no-photo .round-photo,
.no-photo .portrait-crest,
.no-photo .portrait-wreath,
.no-photo .gallery-grid,
.no-photo .closing-ring {
  display: none;
}
.no-photo .no-photo-medallion {
  display: block;
}
.no-photo .couple-portraits {
  aspect-ratio: auto;
  min-height: 300px;
  margin: 36px auto;
}
.no-photo .couple-portraits .no-photo-medallion {
  width: 280px;
  max-width: 100%;
  margin: auto;
}
.no-photo .gallery {
  min-height: 400px;
}
.no-photo .couple {
  min-height: 1270px;
}
.no-photo .video-preview {
  display: none;
}
.lightbox {
  position: fixed;
  width: min(94vw, 650px);
  max-height: 94dvh;
  border: 0;
  padding: 16px;
  background: #101b3a;
  color: var(--ivory);
  border-radius: 12px;
  overflow: visible;
  box-shadow: 0 20px 100px #0008;
}
.lightbox::backdrop {
  background: #050b20eb;
  backdrop-filter: blur(8px);
}
.lightbox > img {
  max-height: 77dvh;
  width: auto;
  max-width: 100%;
  margin: auto;
  object-fit: contain;
  border-radius: 6px;
}
.lightbox > #closeLightbox {
  position: absolute;
  right: 8px;
  top: 8px;
  border: 1px solid #d6be8e66;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #101b3acc;
  color: var(--ivory);
  font-size: 26px;
  line-height: 1;
  z-index: 2;
}
.lightbox-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 12px;
  font-size: 12px;
}
.lightbox-controls button {
  width: 36px;
  height: 30px;
  border: 0;
  background: transparent;
  color: var(--gold);
  font-size: 22px;
}
.toast {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 12px);
  opacity: 0;
  visibility: hidden;
  padding: 12px 20px;
  max-width: 90vw;
  background: var(--ivory);
  color: var(--navy);
  border-radius: 25px;
  box-shadow: 0 10px 40px #02081766;
  font-size: 12px;
  text-align: center;
  transition:
    opacity 0.25s,
    transform 0.25s,
    visibility 0.25s;
}
.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.noscript-note {
  position: fixed;
  bottom: 0;
  background: var(--ivory);
  color: var(--navy);
  padding: 10px;
  z-index: 50;
}
.reveal {
  opacity: 1;
  transform: none;
}
.motion-ready .reveal {
  opacity: 0;
  transform: var(--reveal-from, translateY(30px));
}
.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
  animation: sectionReveal 1.6s cubic-bezier(0.42, 0.1, 0.32, 1) both;
}
.quote {
  --reveal-from: scale(1.1);
}
.countdown-band {
  --reveal-from: scale(0.86);
}
.events {
  --reveal-from: translateY(34px) rotate(-1.5deg);
}
.dress-code {
  --reveal-from: scale(0.9);
}
.live-stream {
  --reveal-from: translateY(-30px);
}
.gallery {
  --reveal-from: translateY(40px) scale(0.92);
}
.family {
  --reveal-from: scale(1.06);
}
.gift {
  --reveal-from: scale(0.92);
}
.closing {
  --reveal-from: translateY(36px);
}
@keyframes sectionReveal {
  from {
    opacity: 0;
    transform: var(--reveal-from, translateY(30px));
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* Opening choreography measured from the reference: photo first, then names. */
.opening-motion {
  --opening-ease: cubic-bezier(0.42, 0.1, 0.32, 1);
  animation: openingFade 1.3s both;
}
.opening-motion .hero-photo-stage .round-photo,
.opening-motion .hero-photo-stage .no-photo-medallion {
  animation: openingPhotoRise 3s var(--opening-ease) both;
}
.opening-motion .hero-photo-stage .round-photo > img {
  animation: photoBreathe 22s ease-in-out infinite alternate;
}
.opening-motion .hero-bank,
.opening-motion .hero-sprig {
  animation:
    openingFlower 2.2s var(--opening-ease) 0.4s both,
    flowerSway 13s ease-in-out infinite alternate;
}
.opening-motion .hero-copy > .eyebrow {
  animation: openingEyebrow 1.2s var(--opening-ease) 2.6s both;
}
.opening-motion .name-bride {
  animation: openingName 1.3s var(--opening-ease) 3.3s both;
}
.opening-motion .name-amp {
  animation: openingAmpersand 1.1s var(--opening-ease) 4.1s both;
}
.opening-motion .name-groom {
  animation: openingName 1.3s var(--opening-ease) 4.8s both;
}
.opening-motion .hero-date::before,
.opening-motion .hero-date::after {
  animation: openingRule 1s var(--opening-ease) 5.8s both;
}
.opening-motion .hero-date::before {
  transform-origin: right;
}
.opening-motion .hero-date::after {
  transform-origin: left;
}
.opening-motion .hero-date-label {
  display: inline-block;
  animation: openingDate 1.2s var(--opening-ease) 6.2s both;
}
.opening-motion #home > .scene > [data-ornament="fringe"],
.opening-motion #home > .scene > [data-ornament="tassel"] {
  animation: openingFade 1s var(--opening-ease) 6.4s both;
}
.opening-motion #home > .scene > .petal {
  animation:
    openingFade 1s var(--opening-ease) 6.4s both,
    petalDrift 24s ease-in-out 6.4s infinite alternate;
}
.opening-motion .scroll-cue {
  animation: openingCue 1s var(--opening-ease) 7.4s both;
}
@keyframes openingFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes openingPhotoRise {
  from {
    transform: translateY(78px);
  }
  to {
    transform: none;
  }
}
@keyframes openingFlower {
  from {
    transform: rotate(-5deg);
  }
  to {
    transform: none;
  }
}
@keyframes openingEyebrow {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes openingName {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes openingAmpersand {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes openingRule {
  from {
    transform: scaleX(0);
  }
  to {
    transform: none;
  }
}
@keyframes openingDate {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes openingCue {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.65;
  }
}
@keyframes photoBreathe {
  from {
    scale: 1;
  }
  to {
    scale: 1.05;
  }
}
.cover-content > * {
  animation: coverIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.cover-content > :nth-child(2) {
  animation-delay: 0.12s;
}
.cover-content > :nth-child(3) {
  animation-delay: 0.3s;
}
.cover-content > :nth-child(4) {
  animation-delay: 0.45s;
}
.cover-content > :nth-child(5) {
  animation-delay: 0.6s;
}
.cover-content > :nth-child(6) {
  animation-delay: 0.75s;
}
@keyframes coverIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes flowerSway {
  from {
    rotate: -1.5deg;
  }
  to {
    rotate: 1.5deg;
  }
}
@keyframes swing {
  from {
    rotate: -3deg;
  }
  to {
    rotate: 3deg;
  }
}
@keyframes petalDrift {
  from {
    translate: 0 0;
    rotate: -8deg;
  }
  to {
    translate: 9px 16px;
    rotate: 8deg;
  }
}
@keyframes twinkle {
  from {
    opacity: 0.2;
    scale: 0.7;
  }
  to {
    opacity: 0.85;
    scale: 1.15;
  }
}
@keyframes cueMove {
  50% {
    transform: translateY(7px);
  }
}
@keyframes musicBar {
  from {
    scale: 1 0.3;
  }
  to {
    scale: 1 1;
  }
}
@keyframes orbitTurn {
  to {
    rotate: 360deg;
  }
}
@media (min-width: 601px) and (max-height: 930px) {
  .cover-content {
    padding-top: 28px;
    padding-bottom: 30px;
  }
  .cover-photo-stage {
    width: clamp(180px, calc(var(--phone-height) - 500px), 280px);
    margin-bottom: 106px;
  }
  .cover-content > .eyebrow {
    margin-bottom: 15px;
  }
  .cover .names {
    font-size: 38px;
  }
  .cover .names > span {
    font-size: 24px;
  }
  .cover-date {
    margin: 15px 0;
  }
  .guest-card {
    padding: 9px 20px;
    margin-bottom: 16px;
  }
}
@media (max-width: 600px) {
  :root {
    --phone-height: calc(100dvh - 66px);
  }
  .preview-header {
    display: none;
  }
  .preview-stage {
    min-height: 100dvh;
    padding: 0;
  }
  .phone-shell {
    width: 100%;
    max-width: 500px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .phone-shell::before,
  .phone-shell::after {
    display: none;
  }
  .invitation {
    border-radius: 0;
  }
  .photo-switch {
    position: fixed;
    left: auto;
    right: 12px;
    bottom: 18px;
    flex-direction: row;
    width: auto;
    border-radius: 25px;
    opacity: 0.93;
  }
  .photo-switch button {
    min-height: 38px;
    width: 70px;
    flex-direction: row;
    gap: 5px;
    font-size: 9px;
  }
  .photo-switch button br {
    display: none;
  }
  .photo-switch svg {
    width: 13px;
    height: 13px;
  }
  .cover-content {
    min-height: var(--phone-height);
    justify-content: center;
    padding: 35px 24px 82px;
  }
  .cover-photo-stage {
    width: min(280px, calc(var(--phone-height) - 520px), 78cqw);
    min-width: 180px;
    margin-bottom: 112px;
  }
  .cover .names {
    font-size: clamp(36px, 11cqw, 44px);
  }
  .cover .names > span {
    font-size: 25px;
  }
  .cover-date {
    font-size: 11px;
  }
  .splash {
    min-height: var(--phone-height);
  }
  .band {
    padding-left: clamp(20px, 6cqw, 32px);
    padding-right: clamp(20px, 6cqw, 32px);
  }
  .music-toggle {
    top: 12px;
    right: 12px;
  }
  .closing {
    padding-bottom: 300px;
  }
  .invitation-footer {
    padding-bottom: 85px;
  }
}
@media (max-width: 360px) {
  .cover-date {
    letter-spacing: 0.16em;
    gap: 8px;
  }
  .cover-date::before,
  .cover-date::after {
    width: 22px;
  }
  .hero-date {
    font-size: 13px;
  }
  .hero-date::before,
  .hero-date::after {
    width: 20px;
  }
  .section-heading h2,
  .band h2:not(.names) {
    font-size: 28px;
  }
  .countdown strong {
    font-size: 28px;
  }
}
@media (max-width: 600px) {
  .cover-content {
    padding-bottom: 100px;
  }
  .cover-photo-stage {
    width: min(260px, calc(var(--phone-height) - 540px), 78cqw);
    margin-bottom: 98px;
  }
}
@media (max-width: 600px) and (max-height: 780px) {
  .cover-content {
    padding-top: 22px;
    padding-bottom: 94px;
  }
  .cover-photo-stage {
    width: 150px;
    min-width: 0;
    margin-bottom: 68px;
  }
  .cover-bank {
    width: 145px;
    left: calc(100% - 126px);
    top: calc(100% - 116px);
  }
  .cover-sprig {
    width: 80px;
    left: -40px;
    top: calc(100% - 95px);
  }
  .cover .names {
    font-size: 32px;
  }
  .cover .names > span {
    font-size: 22px;
  }
  .cover-date {
    margin: 10px 0;
  }
  .guest-card {
    padding: 8px 20px;
    margin-bottom: 14px;
  }
  .guest-card strong {
    font-size: 14px;
  }
  .cover-content > .eyebrow {
    margin-bottom: 12px;
  }
}
@media (min-width: 601px) and (max-height: 780px) {
  .cover-content {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .cover-photo-stage {
    width: 140px;
    margin-bottom: 82px;
  }
  .cover-bank {
    width: 145px;
    left: calc(100% - 126px);
    top: calc(100% - 116px);
  }
  .cover-sprig {
    width: 80px;
    left: -40px;
    top: calc(100% - 95px);
  }
  .cover .names {
    font-size: 34px;
  }
  .cover .names > span {
    font-size: 22px;
  }
  .cover-content > .eyebrow {
    margin-bottom: 12px;
  }
  .cover-date {
    margin: 13px 0;
  }
  .guest-card {
    padding: 8px 20px;
    margin-bottom: 14px;
  }
  .guest-card strong {
    font-size: 14px;
  }
  .cover .button {
    min-height: 40px;
    padding: 10px 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
