* {
  box-sizing: border-box;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/sections/cormorant-garamond-v21-cyrillic_latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/sections/cormorant-garamond-v21-cyrillic_latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Caravan";
  src: url("assets/sections/Caravan.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

html,
body {
  width: 100%;
  margin: 0;
  scrollbar-width: none;
}

html.sections-snap {
  scroll-snap-type: y mandatory;
}

@media (hover: hover) and (pointer: fine) {
  html.sections-snap {
    scroll-snap-type: y proximity;
  }
}

body {
  overflow-x: hidden;
  overflow-y: auto;
  background: #ffffff;
  --hero-animation-scroll: 1700px;
  --frame-scale: 1;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

.debug-switch {
  position: fixed;
  z-index: 20;
  left: calc(50% - 227px);
  top: 12px;
  display: none;
  gap: 8px;
  translate: -100% 0;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  background: rgba(30, 24, 27, 0.8);
  color: #ffffff;
  font: 13px/1.2 Arial, sans-serif;
}

body.debug-mode .debug-switch {
  display: grid;
}

.debug-switch label {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.page-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero-stage {
  position: relative;
  width: 100%;
  height: calc(var(--hero-animation-scroll) + 100vh);
  min-height: 100vh;
  flex: none;
}

.hero-final {
  position: fixed;
  left: var(--hero-left, 0);
  top: var(--hero-top, 0);
  transform: scale(var(--hero-scale, 1));
  transform-origin: 0 0;
  width: 430px;
  height: 932px;
  overflow: hidden;
  flex: none;
  background: #ffffff;
  isolation: isolate;
}

body.static-state {
  min-height: 100vh;
  overflow: hidden;
}

.hero-final.is-preparing {
  visibility: hidden;
  animation: revealHeroFallback 0s linear 5s forwards;
}

@keyframes revealHeroFallback {
  to {
    visibility: visible;
  }
}

body.past-hero .hero-final {
  opacity: 0;
  pointer-events: none;
}

.layer,
.moon-wrap,
.curtain-right-wrap,
.curtain-left-wrap,
.candle-glows,
.blocks-transition {
  position: absolute;
}

.hero-final img,
.section-bg,
.map-button img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.content-frame {
  position: relative;
  width: calc(430px * var(--frame-scale));
  height: calc(932px * var(--frame-scale));
  flex: none;
  overflow: hidden;
  background: #ffffff;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

@media (hover: hover) and (pointer: fine) {
  .content-frame {
    scroll-snap-stop: normal;
  }
}

.section-canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 430px;
  height: 932px;
  overflow: hidden;
  transform: scale(var(--frame-scale));
  transform-origin: 0 0;
}

.section-text {
  position: absolute;
  inset: 0;
  width: 430px;
  height: 932px;
  color: #70272a;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-style: normal;
  font-weight: 400;
  text-align: center;
  word-break: break-word;
}

.section-text p {
  margin: 0;
}

.section-heading {
  position: absolute;
  margin: 0;
  color: #70272a;
  font-family: "Caravan", "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 400;
  font-style: normal;
  line-height: 30px;
  text-align: center;
}

.section-heading span {
  display: block;
}

@media (hover: hover) and (pointer: fine) {
  .section-heading {
    translate: 0 -0.25em;
  }
}

.figurine {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.hero-final picture {
  display: contents;
}

.hero-final img.asset-error {
  display: none;
}

.figurine img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.invitation-text > p {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.invitation-eyebrow,
.invitation-date,
.venue-name,
.venue-address {
  width: 280px;
}

.invitation-eyebrow {
  top: 199px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.5px;
}

.invitation-heading {
  left: calc(50% + 13px);
  top: 245px;
  width: 210px;
  height: 96px;
  transform: translateX(-50%);
  font-size: 68px;
  line-height: 30px;
  letter-spacing: -1px;
  white-space: nowrap;
  text-align: left;
}

.invitation-heading span {
  position: absolute;
  display: block;
  top: 0;
}

.invitation-heading-anna {
  left: 0;
  width: 87px;
  text-align: center;
}

.invitation-heading-and {
  left: 71px;
  top: 25px !important;
}

.invitation-heading-max {
  left: 78px;
  top: 50px !important;
}

.invitation-date {
  top: 352px;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 1.5px;
}

.invitation-message {
  position: absolute;
  left: 215px;
  top: 444px;
  width: 300px;
  height: 96px;
  transform: translateX(-50%);
  font-size: 18px;
  line-height: 25px;
}

.invitation-message p,
.gift-intro p {
  margin: 0;
}

.invitation-emphasis {
  font-weight: 600;
}

.venue-name {
  top: 594px;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0.5px;
}

.venue-address {
  top: 625px;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0.2px;
}

.invitation-groom-figurine {
  left: -5px;
  top: 691px;
  width: 132.911px;
  height: 174.644px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.invitation-bride-figurine {
  left: 279px;
  top: 283px;
  width: 192.694px;
  height: 210.856px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.invitation-groom-figurine img,
.invitation-bride-figurine img {
  position: relative;
  inset: auto;
  width: 128px;
  height: 171px;
  flex: none;
}

.invitation-groom-figurine img {
  transform: rotate(-1.66deg);
}

.invitation-bride-figurine img {
  transform: rotate(-27.62deg);
}

.invitation-decor-garland {
  position: absolute;
  left: 137px;
  top: 91px;
  width: 152px;
  height: 109px;
  overflow: hidden;
  filter:
    drop-shadow(0 2px 20px #fff0c3)
    drop-shadow(0 4px 4px rgba(0, 0, 0, 0.09));
  pointer-events: none;
}

.invitation-decor-garland img {
  position: absolute;
  left: -47.86%;
  top: -22.9%;
  width: 179.92%;
  height: 141.21%;
  max-width: none;
  pointer-events: none;
}

.map-button {
  position: absolute;
  left: 89px;
  top: 620px;
  width: 251px;
  height: 188px;
  display: block;
  z-index: 2;
  transform-origin: 50% 50%;
  transition:
    filter 120ms ease,
    transform 120ms ease;
  -webkit-tap-highlight-color: transparent;
}

.map-button img {
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.5));
}

.map-button:hover {
  filter: brightness(0.96) saturate(1.04);
}

.map-button:active {
  filter: brightness(0.82) saturate(0.94);
  transform: translateY(2px) scale(0.985);
}

.map-button:focus-visible {
  outline: 2px solid rgba(112, 39, 42, 0.68);
  outline-offset: -56px;
}

.schedule-text {
  inset: auto;
  left: 14px;
  top: -7px;
  width: 430px;
  height: 932px;
  font-size: 18px;
  line-height: 26px;
}

.schedule-times,
.schedule-events {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.schedule-times {
  left: 77px;
  top: 348px;
  width: 53px;
  height: 411px;
  gap: 64.5px;
  align-items: flex-start;
}

.schedule-times p {
  width: 53px;
}

.schedule-events {
  left: 216px;
  top: 339px;
  width: 90px;
  gap: 64px;
}

.schedule-events p {
  width: 90px;
}

.schedule-end {
  position: absolute;
  left: 261px;
  top: 698px;
  width: 90px;
  margin: 0;
  transform: translateX(-50%);
}

.schedule-heading {
  left: 0;
  top: 183px;
  width: 429px;
  font-size: 51px;
}

.schedule-groom-figurine,
.confirmation-groom-figurine,
.confirmation-bride-figurine {
  width: 128px;
  height: 171px;
}

.schedule-groom-figurine {
  left: -13px;
  top: 759px;
}

.section-block-transition {
  position: absolute;
  left: 0;
  top: 0;
  width: 430px;
  height: 26px;
  z-index: 3;
  background: #db9968;
  filter: blur(33.65px);
  opacity: 0.55;
  pointer-events: none;
}

.style-heading {
  left: calc(50% + 42px);
  top: 256px;
  width: 204px;
  height: 118px;
  transform: translateX(-50%);
  font-size: 64px;
  white-space: nowrap;
  text-align: left;
}

.style-heading span {
  position: absolute;
  display: block;
}

.style-heading span:nth-child(1) {
  left: -15px;
  top: -1px;
}

.style-heading span:nth-child(2) {
  left: 47px;
  top: 29px;
  width: 15px;
  text-align: center;
}

.style-heading span:nth-child(3) {
  left: 33px;
  top: 59px;
  width: 114px;
  text-align: center;
}

.palette-labels {
  position: absolute;
  left: 49px;
  top: 440px;
  width: 381px;
  height: 52px;
  font-size: 12px;
  line-height: 26px;
  white-space: nowrap;
}

.palette-labels span {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
}

.palette-labels span:nth-child(1) {
  left: 46.5px;
}

.palette-labels span:nth-child(2) {
  left: 106px;
}

.palette-labels span:nth-child(3) {
  left: 165.5px;
  top: 7px;
  line-height: 12px;
}

.palette-labels span:nth-child(4) {
  left: 225.5px;
}

.palette-labels span:nth-child(5) {
  left: 287.5px;
}

.style-palette,
.style-comfort {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  transform: translateY(-50%);
  font-size: 18px;
}

.style-palette {
  left: 195px;
  top: 600.5px;
  width: 148px;
  height: 141px;
  line-height: 24px;
}

.style-comfort {
  left: 195px;
  top: 776.5px;
  width: 148px;
  height: 113px;
  line-height: 25px;
}

.gift-heading {
  left: 216.5px;
  top: 188px;
  width: 433px;
  transform: translateX(-50%);
  font-size: 68px;
}

.gift-intro {
  position: absolute;
  left: 215px;
  top: 326px;
  width: 280px;
  transform: translateX(-50%);
  font-size: 20px;
  font-weight: 600;
  line-height: 26px;
  text-align: center;
}

.gift-copy {
  position: absolute;
  left: 89px;
  width: 257px;
  margin: 0;
  font-size: 18px;
  line-height: 25px;
  text-align: left;
}

.gift-copy-primary {
  top: 412px;
}

.gift-copy-secondary {
  top: 548px;
}

.confirmation-form {
  position: absolute;
  inset: 0;
  width: 430px;
  height: 932px;
  color: #401819;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 400;
  font-style: normal;
}

.confirmation-heading {
  left: 216.5px;
  top: 201px;
  width: 433px;
  transform: translateX(-50%);
  font-size: 44px;
}

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

.form-label {
  position: absolute;
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
}

.name-label {
  left: 91px;
  top: 373px;
}

.comment-label {
  left: 91px;
  top: 519px;
}

.name-field,
.confirmation-form textarea {
  position: absolute;
  left: 91px;
  width: 248px;
  border: 1.2px solid rgba(157, 95, 52, 0.56);
  border-radius: 7px;
  background: rgba(255, 224, 189, 0.16);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.34),
    0 1px 1px rgba(92, 46, 20, 0.08);
}

.name-field {
  top: 399px;
  height: 48px;
}

.name-icon {
  position: absolute;
  left: 18px;
  top: 17px;
  width: 18px;
  height: 18px;
  color: rgba(158, 100, 55, 0.72);
  pointer-events: none;
}

.name-icon::before,
.name-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: currentColor;
}

.name-icon::before {
  top: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.name-icon::after {
  top: 8px;
  width: 18px;
  height: 10px;
  border-radius: 10px 10px 2px 2px;
}

.confirmation-form input[type="text"],
.confirmation-form textarea {
  color: #401819;
  font: 17px/24px "Cormorant Garamond", "Times New Roman", serif;
  letter-spacing: 0;
}

.confirmation-form input[type="text"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 10px 14px 10px 51px;
  border: 0;
  border-radius: inherit;
  outline: 0;
  background: transparent;
}

.confirmation-form textarea {
  top: 546px;
  height: 83px;
  resize: none;
  padding: 10px 14px;
  outline: 0;
}

.confirmation-form input[type="text"]:focus,
.confirmation-form textarea:focus {
  box-shadow:
    0 0 0 2px rgba(122, 42, 43, 0.18),
    inset 0 1px 1px rgba(255, 255, 255, 0.34);
}

.attendance-field {
  position: absolute;
  left: 100px;
  top: 469px;
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  border: 0;
}

.radio-choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #401819;
  font-size: 21px;
  font-weight: 600;
  line-height: 28px;
  cursor: pointer;
  user-select: none;
}

.radio-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-mark {
  width: 21px;
  height: 21px;
  border: 1.5px solid rgba(135, 84, 40, 0.82);
  border-radius: 50%;
  background: rgba(255, 228, 197, 0.08);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.42),
    0 1px 1px rgba(83, 39, 18, 0.1);
}

.radio-choice input:checked + .radio-mark::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  margin: 3.5px;
  border-radius: 50%;
  background: #7b272a;
  box-shadow: 0 1px 2px rgba(60, 18, 18, 0.22);
}

.confirm-button {
  position: absolute;
  left: 70px;
  top: 634px;
  width: 290px;
  height: 97px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform-origin: 50% 50%;
  transition:
    filter 120ms ease,
    opacity 120ms ease,
    transform 120ms ease;
  -webkit-tap-highlight-color: transparent;
}

.confirm-button img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.5));
}

.confirmation-groom-figurine {
  left: 292px;
  top: 13px;
  z-index: 4;
}

.confirmation-bride-figurine {
  left: -18px;
  top: 30px;
  z-index: 4;
}

.confirm-button:active:not(:disabled) {
  filter: brightness(0.78) saturate(0.95);
  transform: translateY(2px) scale(0.985);
}

.confirm-button:disabled {
  cursor: default;
  filter: grayscale(0.18) brightness(0.82);
  opacity: 0.54;
}

.confirm-button.is-hidden {
  display: none;
}

.confirmation-message {
  position: absolute;
  left: 60px;
  top: 742px;
  width: 310px;
  margin: 0;
  color: #70272a;
  font-size: 24px;
  line-height: 29px;
  text-align: center;
  text-shadow: 0 1px 1px rgba(255, 230, 199, 0.78);
}

.confirm-button.is-hidden + .confirmation-message {
  top: 654px;
}

.bg {
  left: 0;
  top: 0;
  width: 430px;
  height: 932px;
  z-index: 0;
}

.landscape-light,
.landscape-dark {
  left: -2px;
  top: 46px;
  width: 432px;
  height: 648px;
  z-index: 1;
  transform:
    translate3d(0, var(--landscape-depth-y, 0), 0)
    scale(var(--landscape-depth-scale, 1));
  transform-origin: 50% 56%;
  filter: blur(var(--landscape-depth-blur, 0));
}

.landscape-light::after,
.landscape-dark::after {
  content: "";
  position: absolute;
  left: 0;
  top: calc(100% - 2px);
  width: 100%;
  height: 220px;
  pointer-events: none;
}

.landscape-light::after {
  background: #250904;
}

.landscape-dark::after {
  background: #040509;
}

.landscape-light {
  opacity: var(--landscape-light-opacity, 1);
}

.landscape-dark {
  opacity: var(--landscape-dark-opacity, 1);
}

.moon-wrap {
  left: var(--moon-x, 198.32px);
  top: var(--moon-y, 150px);
  width: 91.847px;
  height: 91.847px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: var(--moon-opacity, 1);
  transform:
    translateY(var(--moon-depth-y, 0))
    scale(var(--moon-depth-scale, 1));
  transform-origin: 50% 50%;
}

.moon {
  position: relative;
  width: 82.808px;
  height: 82.808px;
  flex: none;
  rotate: -6.66deg;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.65));
}

.moon::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 227, 171, 0.42) 0 28%, rgba(255, 204, 134, 0.16) 45%, rgba(255, 204, 134, 0) 72%);
  opacity: 0;
}

.pedestal-light {
  left: 96px;
  top: 416px;
  width: 240px;
  height: 427px;
  z-index: 3;
  filter: drop-shadow(-9px 27px 5.9px rgba(0, 0, 0, 0.25));
  opacity: var(--pedestal-light-opacity, 1);
  transform:
    translate3d(0, var(--pedestal-depth-y, 0), 0)
    scale(var(--pedestal-depth-scale, 1));
  transform-origin: 50% 100%;
}

.pedestal-dark {
  left: 96px;
  top: 416px;
  width: 240px;
  height: 426px;
  z-index: 3;
  opacity: var(--pedestal-dark-opacity, 1);
  transform:
    translate3d(0, var(--pedestal-depth-y, 0), 0)
    scale(var(--pedestal-depth-scale, 1));
  transform-origin: 50% 100%;
}

.couple {
  left: var(--couple-x, 151px);
  top: 543px;
  width: 128px;
  height: 171px;
  z-index: 4;
  filter:
    brightness(var(--foreground-brightness, 0.42))
    saturate(var(--foreground-saturation, 0.72))
    sepia(var(--foreground-sepia, 0.02))
    drop-shadow(-3px -3px 8px rgba(0, 0, 0, 0.4));
  opacity: var(--couple-opacity, 1);
  transform:
    translateY(var(--couple-depth-y, 0))
    scale(var(--couple-depth-scale, 1));
  transform-origin: 50% 100%;
}

.cloud-right-up {
  left: var(--cloud-right-up-x, 208px);
  top: var(--cloud-right-up-y, 114px);
  width: 169px;
  height: 127px;
  z-index: 5;
  filter:
    brightness(var(--foreground-brightness, 0.42))
    saturate(var(--foreground-saturation, 0.72))
    sepia(var(--foreground-sepia, 0.02))
    drop-shadow(0 6px 4px rgba(0, 0, 0, 0.69));
  transform:
    translateY(var(--cloud-depth-y, 0))
    scale(var(--cloud-depth-scale, 1));
  transform-origin: 50% 50%;
}

.cloud-right-bottom {
  left: var(--cloud-right-bottom-x, 217px);
  top: var(--cloud-right-bottom-y, 206px);
  width: 195px;
  height: 146px;
  z-index: 5;
  filter:
    brightness(var(--foreground-brightness, 0.42))
    saturate(var(--foreground-saturation, 0.72))
    sepia(var(--foreground-sepia, 0.02))
    drop-shadow(0 6px 4px rgba(0, 0, 0, 0.69));
  transform:
    translateY(var(--cloud-depth-y, 0))
    scale(var(--cloud-depth-scale, 1));
  transform-origin: 50% 50%;
}

.cloud-left-up {
  left: var(--cloud-left-up-x, 55px);
  top: var(--cloud-left-up-y, 74px);
  width: 173px;
  height: 130px;
  z-index: 5;
  filter:
    brightness(var(--foreground-brightness, 0.42))
    saturate(var(--foreground-saturation, 0.72))
    sepia(var(--foreground-sepia, 0.02))
    drop-shadow(0 6px 4px rgba(0, 0, 0, 0.69));
  transform:
    translateY(var(--cloud-depth-y, 0))
    scale(var(--cloud-depth-scale, 1));
  transform-origin: 50% 50%;
}

.cloud-left-bottom {
  left: var(--cloud-left-bottom-x, -7px);
  top: var(--cloud-left-bottom-y, 146px);
  width: 235px;
  height: 176px;
  z-index: 5;
  filter:
    brightness(var(--foreground-brightness, 0.42))
    saturate(var(--foreground-saturation, 0.72))
    sepia(var(--foreground-sepia, 0.02))
    drop-shadow(0 6px 4px rgba(0, 0, 0, 0.69));
  transform:
    translateY(var(--cloud-depth-y, 0))
    scale(var(--cloud-depth-scale, 1));
  transform-origin: 50% 50%;
}

.garland-on {
  left: 47px;
  top: 226px;
  width: 338px;
  height: 190px;
  z-index: 6;
  filter:
    brightness(var(--foreground-brightness, 0.42))
    saturate(var(--foreground-saturation, 0.72))
    sepia(var(--foreground-sepia, 0.02))
    drop-shadow(0 2px 20px #fff0c3)
    drop-shadow(0 4px 4px rgba(0, 0, 0, 0.1));
  opacity: var(--garland-on-opacity, 1);
  transform:
    translate3d(0, var(--garland-depth-y, 0), 0)
    scale(var(--garland-depth-scale, 1));
  transform-origin: 50% 50%;
}

.garland-off {
  left: 47px;
  top: 226px;
  width: 338px;
  height: 190px;
  z-index: 6;
  filter:
    brightness(var(--foreground-brightness, 0.42))
    saturate(var(--foreground-saturation, 0.72))
    sepia(var(--foreground-sepia, 0.02));
  opacity: var(--garland-off-opacity, 1);
  transform:
    translate3d(0, var(--garland-depth-y, 0), 0)
    scale(var(--garland-depth-scale, 1));
  transform-origin: 50% 50%;
}

.candle-glows {
  left: 0;
  top: 0;
  width: 430px;
  height: 932px;
  z-index: 8;
  pointer-events: none;
  opacity: var(--candle-glows-opacity, 1);
  mix-blend-mode: screen;
}

.curtain-right-wrap {
  left: var(--curtain-right-x, 50px);
  top: var(--curtain-right-y, -100px);
  width: var(--curtain-right-width, 759.484px);
  height: var(--curtain-right-height, 812.878px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 8;
}

.curtain-right {
  position: relative;
  width: 451.096px;
  height: 676.644px;
  flex: none;
  rotate: var(--curtain-right-rotate, -35.36deg);
  filter: drop-shadow(0 30px 13.5px rgba(0, 0, 0, 0.5));
}

.curtain-left-wrap {
  left: var(--curtain-left-x, -381px);
  top: var(--curtain-left-y, -95px);
  width: var(--curtain-left-width, 790.918px);
  height: var(--curtain-left-height, 788.72px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 8;
}

.curtain-left {
  position: relative;
  width: 447px;
  height: 670px;
  flex: none;
  rotate: var(--curtain-left-rotate, 45.4deg);
  filter: drop-shadow(0 30px 13px rgba(0, 0, 0, 0.5));
}

.front-frame {
  left: 0;
  top: 0;
  width: 430px;
  height: 932px;
  z-index: 9;
  filter: drop-shadow(0 25px 30px rgba(0, 0, 0, 0.6));
}

.blocks-transition {
  left: 0;
  top: 880px;
  width: 430px;
  height: 52px;
  z-index: 10;
  background: #e7c1a3;
  opacity: var(--blocks-transition-opacity, 0.22);
  mix-blend-mode: color-dodge;
}

.scroll-hint {
  position: absolute;
  z-index: 11;
  left: 50%;
  top: calc(var(--hero-visible-height, 932px) - 140px);
  width: 34px;
  height: 58px;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, 7px, 0);
  transition: opacity 600ms ease, transform 600ms ease;
}

.hero-final.show-scroll-hint .scroll-hint {
  opacity: 0.58;
  transform: translate3d(-50%, 0, 0);
}

.scroll-hint-mouse {
  position: absolute;
  left: 7px;
  top: 0;
  width: 20px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 1px 7px rgba(53, 24, 30, 0.28);
}

.scroll-hint-mouse::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 2px;
  height: 6px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(-50%);
}

.scroll-hint-mouse::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 39px;
  width: 9px;
  height: 9px;
  border-right: 1px solid rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.85);
  transform: translateX(-50%) rotate(45deg);
}

.hero-final.show-scroll-hint .scroll-hint-mouse::before {
  animation: scrollHintWheel 1.65s ease-in-out infinite;
}

.hero-final.show-scroll-hint .scroll-hint-mouse::after {
  animation: scrollHintArrow 1.65s ease-in-out infinite;
}

@keyframes scrollHintWheel {
  0%, 100% {
    opacity: 0.25;
    transform: translate3d(-50%, -1px, 0);
  }
  42% {
    opacity: 1;
  }
  68% {
    opacity: 0;
    transform: translate3d(-50%, 7px, 0);
  }
}

@keyframes scrollHintArrow {
  0%, 100% {
    opacity: 0.25;
    transform: translate3d(-50%, -2px, 0) rotate(45deg);
  }
  55% {
    opacity: 0.9;
    transform: translate3d(-50%, 3px, 0) rotate(45deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-final.show-scroll-hint .scroll-hint-mouse::before,
  .hero-final.show-scroll-hint .scroll-hint-mouse::after {
    animation: none;
  }
}

.hero-final[data-state="light"] .landscape-dark,
.hero-final[data-state="light"] .pedestal-dark,
.hero-final[data-state="light"] .garland-off {
  opacity: 0;
}

.hero-final[data-state="light"] {
  --foreground-brightness: 1;
  --foreground-saturation: 0.96;
  --foreground-sepia: 0.08;
}

.hero-final[data-state="dark"] .landscape-light,
.hero-final[data-state="dark"] .pedestal-light,
.hero-final[data-state="dark"] .garland-on,
.hero-final[data-state="dark"] .candle-glows {
  opacity: 0;
}

.hero-final[data-state="dark"] .landscape-dark,
.hero-final[data-state="dark"] .pedestal-dark,
.hero-final[data-state="dark"] .garland-off {
  opacity: 1;
}

.hero-final[data-state="dark"] {
  --foreground-brightness: 0.42;
  --foreground-saturation: 0.72;
  --foreground-sepia: 0.02;
}

.hero-final[data-state="dark"] .blocks-transition {
  opacity: 0.22;
}

.hero-final[data-state="dark"] .moon-wrap {
  left: 258.32px;
  top: 80px;
}

.hero-final[data-state="dark"] .couple {
  left: 361px;
  top: 543px;
}

.hero-final[data-state="dark"] .cloud-right-up {
  left: 288px;
  top: 114px;
}

.hero-final[data-state="dark"] .cloud-right-bottom {
  left: 297px;
  top: 206px;
}

.hero-final[data-state="dark"] .cloud-left-up {
  left: -15px;
  top: 74px;
}

.hero-final[data-state="dark"] .cloud-left-bottom {
  left: -77px;
  top: 146px;
}

.hero-final[data-state="dark"] .blocks-transition {
  filter: none;
}

.hero-final.idle-active .moon {
  animation: moonGlowIdle 4.8s ease-in-out infinite;
}

.hero-final.idle-active .moon::before {
  animation: moonAuraIdle 4.8s ease-in-out infinite;
}

.hero-final.idle-active .garland-on {
  animation: garlandGlowIdle 2.8s ease-in-out infinite;
}

.hero-final.idle-active .cloud-right-up img {
  animation: cloudFloatRightUp 15s ease-in-out infinite;
}

.hero-final.idle-active .cloud-right-bottom img {
  animation: cloudFloatRightBottom 18s ease-in-out 0.8s infinite;
}

.hero-final.idle-active .cloud-left-up img {
  animation: cloudFloatLeftUp 16s ease-in-out 0.3s infinite;
}

.hero-final.idle-active .cloud-left-bottom img {
  animation: cloudFloatLeftBottom 20s ease-in-out 1.1s infinite;
}

@keyframes cloudFloatRightUp {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(8px, -4px, 0);
  }
}

@keyframes cloudFloatRightBottom {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-7px, 5px, 0);
  }
}

@keyframes cloudFloatLeftUp {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(7px, 4px, 0);
  }
}

@keyframes cloudFloatLeftBottom {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-8px, -3px, 0);
  }
}

@keyframes moonGlowIdle {
  0%, 100% {
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 7px rgba(255, 219, 153, 0.22));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 17px rgba(255, 225, 166, 0.46));
    transform: scale(1.012);
  }
}

@keyframes moonAuraIdle {
  0%, 100% {
    opacity: 0.18;
    transform: scale(0.95);
  }
  50% {
    opacity: 0.38;
    transform: scale(1.04);
  }
}

@keyframes garlandGlowIdle {
  0%, 100% {
    filter:
      drop-shadow(0 2px 16px rgba(255, 240, 195, 0.74))
      drop-shadow(0 4px 4px rgba(0, 0, 0, 0.1));
  }
  36% {
    filter:
      drop-shadow(0 2px 25px rgba(255, 247, 214, 0.96))
      drop-shadow(0 0 7px rgba(255, 226, 154, 0.55))
      drop-shadow(0 4px 4px rgba(0, 0, 0, 0.1));
  }
  64% {
    filter:
      drop-shadow(0 2px 19px rgba(255, 236, 179, 0.82))
      drop-shadow(0 0 4px rgba(255, 226, 154, 0.36))
      drop-shadow(0 4px 4px rgba(0, 0, 0, 0.1));
  }
}
