@font-face {
  font-family: "Zviadi";
  src: url(fonts/dm-zviadi.ttf) format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: "Gordeziani";
  src: url(fonts/gl-gordeziani-ultralight.ttf) format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: "Gordeziani";
  src: url(fonts/gl-gordeziani-light.ttf) format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: "Gordeziani";
  src: url(fonts/gl-gordeziani-regular.ttf) format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: "Gordeziani";
  src: url(fonts/gl-gordeziani-medium.ttf) format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: "Gordeziani";
  src: url(fonts/gl-gordeziani-bold.ttf) format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: block;
}
:root {
  --vh: 1vh;
  --sky: #dceaf6;
  --ink: #2e4a61;
  --ink-soft: #6d90a8;
  --ink-faint: #a6c2d5;
  --paper: #f3f9fd;
  --paper-deep: #e3eef8;
  --card: rgba(255, 255, 255, 0.62);
  --line: rgba(166, 194, 213, 0.55);
  --scenery-w: 142%;
  --scenery-x: -45%;
  --col-h: 60;
  --col-ar: 0.32881;
  --col-w: calc(var(--col-h) * var(--col-ar) * 1vh);
  --waiter-h: 68;
  --waiter-from: 105vw;
  --waiter-to: -95vw;
  --villa-h: 62;
  --villa-bottom: 0%;
  --door-x: 52.7%;
  --door-y: 83.6%;
  --villa-lift-x: -2.7%;
  --villa-lift-y: -33.6%;
  --villa-zoom: 8;
  --couple-h: 42;
  --couple-bottom: 2.5%;
  --couple-x: -4vw;
  --couple-zoom: 1.5;
  --t-eyebrow: 0.35s;
  --t-names: 0.7s;
  --t-sub: 1.15s;
  --t-waiter: 1.3s;
  --d-waiter: 8s;
  --t-scene2: 8.7s;
  --d-dolly: 4.6s;
  --t-couple: 11.8s;
  --d-couple: 2.1s;
  --t-scene1-out: 11.7s;
  --d-scene1-out: 1.6s;
  --t-finale: 12.9s;
  --ease-dolly: cubic-bezier(0.5, 0.04, 0.3, 1);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  overscroll-behavior-y: none;
  background-color: var(--sky);
}
body {
  font-family:
    "Gordeziani",
    "Noto Serif Georgian",
    sans-serif;
  color: var(--ink);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
html.can-scroll body {
  overflow-x: hidden;
  overflow-y: auto;
}
img {
  display: block;
  max-width: 100%;
  -webkit-user-drag: none;
  user-select: none;
}
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: var(--sky);
}
::-webkit-scrollbar-thumb {
  background: var(--ink-faint);
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--ink-soft);
}
html {
  scrollbar-width: thin;
  scrollbar-color: var(--ink-faint) var(--sky);
}
.loader {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--sky);
  transition: opacity 0.7s ease;
}
.loader.is-hidden {
  opacity: 0;
}
.loader.is-gone {
  display: none;
}
.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.loader__bar {
  display: flex;
  gap: 4px;
}
.loader__bar i {
  width: 9px;
  height: 4px;
  border-radius: 2px;
  background-color: rgba(109, 144, 168, 0.22);
  transform: scaleY(1);
  transition: background-color 0.12s steps(1, end), transform 0.12s steps(1, end);
}
.loader__bar i.is-on {
  background-color: var(--ink-soft);
  transform: scaleY(1.9);
}
.loader__bar i.is-on.is-settled {
  background-color: var(--ink);
  transform: scaleY(1);
}
.loader__pct {
  font-family: "Gordeziani", sans-serif;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  min-width: 56px;
  text-align: center;
}
.stage {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background-color: var(--sky);
  opacity: 1;
  transition: opacity 0.9s ease;
}
.vh-lock {
  --col-w: calc(var(--col-h) * var(--col-ar) * var(--vh));
}
.vh-lock .stage {
  min-height: calc(var(--vh) * 100);
  height: calc(var(--vh) * 100);
}
html.is-loading .stage {
  opacity: 0;
}
html.is-loading .stage *,
html.is-loading .titlecard {
  animation-play-state: paused !important;
}
.doorview {
  position: absolute;
  inset: 0;
  z-index: 2;
  transform-origin: 50% 50%;
  will-change: transform;
  animation: doorview-dolly var(--d-dolly) var(--ease-dolly) var(--t-scene2) both;
}
@keyframes doorview-dolly {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(calc(-1 * var(--villa-lift-x)), calc(-1 * var(--villa-lift-y))) scale(calc(1 / var(--villa-zoom)));
  }
}
.doorview__sky {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url(bg.jpg);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.camera {
  position: absolute;
  inset: 0;
  z-index: 2;
  will-change: opacity;
  animation: scene1-out var(--d-scene1-out) ease-in var(--t-scene1-out) both;
}
@keyframes scene1-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    visibility: hidden;
  }
}
.sky {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url(bg.jpg);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.clouds {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.clouds--drift {
  z-index: 1;
  animation: scene1-out var(--d-scene1-out) ease-in var(--t-scene1-out) both;
}
.clouds--park {
  z-index: 1;
  animation: clouds-park-in 1.6s ease-out calc(var(--t-scene2) + var(--d-dolly) - 1.2s) both;
}
@keyframes clouds-park-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.cloud {
  position: absolute;
}
.cloud img {
  width: 100%;
  height: auto;
  opacity: 0.92;
}
.cloud__inner {
  animation-name: cloud-idle;
  animation-timing-function: steps(1, end);
  animation-iteration-count: infinite;
}
.clouds--drift .cloud {
  animation-name: cloud-drift;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.clouds--drift .cloud--1 {
  top: 26%;
  left: -46%;
  width: 44%;
  animation-duration: 84s;
  animation-delay: -14s;
}
.clouds--drift .cloud--2 {
  top: 36%;
  left: -40%;
  width: 32%;
  animation-duration: 108s;
  animation-delay: -62s;
}
.clouds--drift .cloud--3 {
  top: 3%;
  left: -34%;
  width: 26%;
  animation-duration: 126s;
  animation-delay: -96s;
}
.clouds--drift .cloud--4 {
  top: 22%;
  left: -42%;
  width: 35%;
  animation-duration: 96s;
  animation-delay: -38s;
}
.clouds--park .cloud--1 {
  top: 5%;
  left: -13%;
  width: 43%;
}
.clouds--park .cloud--2 {
  top: 25.5%;
  left: 75%;
  width: 50%;
}
.clouds--park .cloud--3 {
  top: 7.5%;
  left: 79%;
  width: 35%;
}
.clouds--park .cloud--4 {
  top: 33%;
  left: -7%;
  width: 40%;
}
.cloud--1 .cloud__inner {
  animation-duration: 2.6s;
}
.cloud--2 .cloud__inner {
  animation-duration: 3.1s;
  animation-delay: -0.9s;
}
.cloud--3 .cloud__inner {
  animation-duration: 2.2s;
  animation-delay: -1.4s;
}
.cloud--4 .cloud__inner {
  animation-duration: 2.9s;
  animation-delay: -2.1s;
}
@keyframes cloud-drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(190vw);
  }
}
@keyframes cloud-idle {
  0% {
    transform: translateY(0) scale(1);
  }
  25% {
    transform: translateY(-5px) scale(1.014);
  }
  50% {
    transform: translateY(2px) scale(0.992);
  }
  75% {
    transform: translateY(-3px) scale(1.007);
  }
}
.scenery {
  position: absolute;
  left: 50%;
  bottom: -2.2%;
  z-index: 2;
  width: var(--scenery-w);
  transform: translateX(var(--scenery-x));
  pointer-events: none;
}
.scenery img {
  width: 100%;
  height: auto;
}
.waiter {
  position: absolute;
  left: 0;
  z-index: 3;
  height: calc(var(--waiter-h) * 1svh);
  bottom: calc(var(--waiter-h) * 1svh);
  animation: waiter-walk var(--d-waiter) linear var(--t-waiter) 1 both;
  pointer-events: none;
}
.vh-lock .waiter {
  height: calc(var(--vh) * var(--waiter-h));
  bottom: calc(var(--vh) * var(--waiter-h) * -0.5);
}
.waiter__bob {
  height: 100%;
  animation: waiter-bob 2.4s ease-in-out infinite;
}
.waiter img {
  height: 100%;
  width: auto;
}
@keyframes waiter-walk {
  from {
    transform: translateX(var(--waiter-from));
  }
  to {
    transform: translateX(var(--waiter-to));
  }
}
@keyframes waiter-bob {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-7px) rotate(0.35deg);
  }
}
.gate {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
.gate__col {
  position: absolute;
  bottom: 0;
  width: var(--col-w);
}
.gate__col img {
  width: 100%;
  height: auto;
}
.gate__col--left {
  left: calc(var(--col-w) * -0.4);
}
.gate__col--right {
  right: calc(var(--col-w) * -0.4);
}
.gate__col--right img {
  transform: scaleX(-1);
}
.villa {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  transform-origin: var(--door-x) var(--door-y);
  will-change: transform, opacity;
  animation: villa-dolly var(--d-dolly) var(--ease-dolly) var(--t-scene2) both, villa-in 0.9s ease-out var(--t-scene2) both;
}
.villa img {
  position: absolute;
  left: 50%;
  bottom: var(--villa-bottom);
  height: calc(var(--villa-h) * 1vh);
  width: auto;
  max-width: none;
  transform: translateX(-50%) translateY(var(--par, 0px));
}
.vh-lock .villa img {
  height: calc(var(--vh) * var(--villa-h));
}
@keyframes villa-dolly {
  from {
    transform: translate(var(--villa-lift-x), var(--villa-lift-y)) scale(var(--villa-zoom));
  }
  to {
    transform: translate(0, 0) scale(1);
  }
}
@keyframes villa-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.couple {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  transform-origin: 50% 100%;
  will-change: transform, opacity;
  animation: couple-in var(--d-couple) var(--ease-dolly) var(--t-couple) both;
}
.couple img {
  position: absolute;
  left: 50%;
  bottom: var(--couple-bottom);
  height: calc(var(--couple-h) * 1vh);
  width: auto;
  max-width: none;
  transform: translateX(calc(-40% + var(--couple-x))) translateY(var(--par, 0px));
}
.vh-lock .couple img {
  height: calc(var(--vh) * var(--couple-h));
}
@keyframes couple-in {
  from {
    opacity: 0;
    transform: scale(var(--couple-zoom));
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.titlecard {
  position: absolute;
  top: 8.5%;
  left: 0;
  right: 0;
  z-index: 3;
  text-align: center;
  padding: 0 24px;
  pointer-events: none;
  animation: titlecard-out 1.5s ease-in calc(var(--t-scene2) + 0.8s) both;
}
@keyframes titlecard-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    visibility: hidden;
  }
}
.titlecard__line {
  font-family: "Zviadi", cursive;
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 2.4;
  color: var(--ink);
  white-space: nowrap;
  padding: 4px 0 14px;
  animation: fade-rise 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) var(--t-names) 1 both;
}
.titlecard__rule {
  display: block;
  width: 46px;
  height: 1px;
  margin: 6px auto 0;
  background-color: var(--ink-faint);
  transform-origin: center;
  animation: rule-in 1s ease var(--t-sub) 1 both;
}
.finale {
  position: absolute;
  top: 20.5%;
  left: 0;
  right: 0;
  z-index: 5;
  text-align: center;
  padding: 0 20px;
  pointer-events: none;
  will-change: transform;
}
.finale__inner {
  animation: fade-rise 1.4s cubic-bezier(0.22, 0.61, 0.36, 1) var(--t-finale) 1 both;
}
.finale__names {
  font-family: "Zviadi", cursive;
  font-weight: 400;
  font-size: 2.15rem;
  line-height: 1.1;
  color: var(--ink);
  white-space: nowrap;
  padding: 4px 0 12px;
}
.finale__and {
  font-size: 0.86em;
  color: var(--ink-soft);
}
.finale__rule {
  display: block;
  width: 52px;
  height: 1px;
  margin: 5px auto 13px;
  background-color: var(--ink-faint);
}
.finale__date {
  font-family: "Gordeziani", sans-serif;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.16em;
  color: var(--ink);
}
.finale__place {
  font-family: "Gordeziani", sans-serif;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--ink-soft);
  margin-top: 5px;
}
@keyframes fade-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes rule-in {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}
.startgate {
  position: fixed;
  inset: 0;
  z-index: 10040;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
  cursor: pointer;
  background-color: var(--sky);
  background-image: url(bg.jpg);
  background-size: cover;
  background-position: center top;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.startgate.is-ready {
  opacity: 1;
}
.startgate:not(.is-ready) .startgate__inner,
.startgate:not(.is-ready) .startgate__text,
.startgate:not(.is-ready) .startgate__note,
.startgate:not(.is-ready) .startgate__ring::before {
  animation-play-state: paused;
}
.startgate.is-off {
  opacity: 0;
  pointer-events: none;
}
.startgate.is-gone {
  display: none;
}
.startgate__inner {
  position: relative;
  padding: 44px 34px 38px;
  border-radius: 26px;
  background-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 60px rgba(46, 74, 97, 0.14);
  animation: gate-pop 0.62s steps(4, end) both, gate-breathe 3.4s ease-in-out 0.62s infinite;
}
@keyframes gate-pop {
  0% {
    opacity: 0;
    transform: scale(0.82) translateY(14px);
  }
  60% {
    opacity: 1;
    transform: scale(1.05) translateY(-4px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes gate-breathe {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.024) rotate(-0.35deg);
  }
}
.startgate__ring {
  position: relative;
  display: block;
  width: 74px;
  height: 74px;
  margin: 0 auto 22px;
  border: 1px solid var(--ink-soft);
  border-radius: 50%;
}
.startgate__ring::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid var(--ink-faint);
  border-radius: 50%;
  animation: ring-echo 2.4s ease-out infinite;
}
.startgate__ring::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 18px solid var(--ink);
  transform: translate(-40%, -50%);
}
@keyframes ring-echo {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.85);
    opacity: 0;
  }
}
.startgate__text {
  font-family: "Zviadi", cursive;
  font-weight: 400;
  font-size: 1.85rem;
  line-height: 1.2;
  color: var(--ink);
  padding: 2px 0 6px;
  white-space: nowrap;
  animation: hint-bob 2.9s ease-in-out 0.9s infinite;
}
@keyframes hint-bob {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  40% {
    transform: translateY(-4px) rotate(0.5deg);
  }
  70% {
    transform: translateY(1px) rotate(-0.25deg);
  }
}
.startgate__rule {
  display: block;
  width: 44px;
  height: 1px;
  margin: 8px auto 10px;
  background-color: var(--ink-faint);
}
.startgate__note {
  font-family: "Gordeziani", sans-serif;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.26em;
  color: var(--ink);
  animation: hint-blink 2.4s ease-in-out 1.2s infinite;
}
@keyframes hint-blink {
  0%, 100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}
.music {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(3px);
  cursor: pointer;
  opacity: 0;
  transform: translateX(-50%) translateY(-8px);
  pointer-events: none;
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    background-color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}
.music.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.music:active {
  transform: translateX(-50%) scale(0.94);
}
.music__icon {
  font-size: 16px;
  line-height: 1;
  filter: grayscale(1);
  opacity: 0.45;
  transition: filter 0.35s ease, opacity 0.35s ease;
}
.music.is-playing {
  background-color: rgba(255, 255, 255, 0.92);
  border-color: var(--ink-soft);
  box-shadow: 0 4px 16px rgba(46, 74, 97, 0.16);
}
.music.is-playing .music__icon {
  filter: none;
  opacity: 1;
}
.stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  height: 90px;
  background-image:
    linear-gradient(
      180deg,
      rgba(220, 234, 246, 0),
      var(--sky));
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
}
html.can-scroll .stage::after {
  opacity: 1;
}
.scrollcue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  opacity: 0;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: none;
}
.scrollcue.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.scrollcue.is-off {
  opacity: 0;
}
.scrollcue__line {
  display: block;
  width: 1px;
  height: 26px;
  background:
    linear-gradient(
      180deg,
      transparent,
      var(--ink-faint));
}
.scrollcue__chev {
  display: block;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--ink-soft);
  border-bottom: 1px solid var(--ink-soft);
  transform: rotate(45deg);
  animation: cue-hop 1.8s steps(1, end) infinite;
}
@keyframes cue-hop {
  0%, 100% {
    transform: rotate(45deg) translate(0, 0);
  }
  30% {
    transform: rotate(45deg) translate(2px, 2px);
  }
  60% {
    transform: rotate(45deg) translate(-1px, -1px);
  }
}
.page {
  position: relative;
  z-index: 1;
  background-image:
    linear-gradient(
      180deg,
      var(--sky) 0%,
      var(--paper) 16%,
      var(--paper) 60%,
      var(--paper-deep) 100%);
}
.deco {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.deco__cloud {
  position: absolute;
  opacity: 0.26;
  will-change: transform;
}
.deco__cloud img {
  width: 100%;
  height: auto;
}
.deco__bob {
  animation-name: cloud-idle;
  animation-timing-function: steps(1, end);
  animation-iteration-count: infinite;
}
.deco__cloud--a {
  top: 6%;
  left: -18%;
  width: 58%;
}
.deco__cloud--a .deco__bob {
  animation-duration: 3.4s;
}
.deco__cloud--b {
  top: 34%;
  left: 68%;
  width: 52%;
  opacity: 0.2;
}
.deco__cloud--b .deco__bob {
  animation-duration: 2.7s;
  animation-delay: -1.1s;
}
.deco__cloud--c {
  top: 64%;
  left: -22%;
  width: 62%;
  opacity: 0.17;
}
.deco__cloud--c .deco__bob {
  animation-duration: 3.9s;
  animation-delay: -2.4s;
}
.deco__cloud--d {
  top: 88%;
  left: 58%;
  width: 56%;
  opacity: 0.21;
}
.deco__cloud--d .deco__bob {
  animation-duration: 3.1s;
  animation-delay: -0.6s;
}
.sec {
  position: relative;
  z-index: 1;
  max-width: 460px;
  margin: 0 auto;
  padding: 64px 22px 12px;
  text-align: center;
}
.eyebrow {
  font-family: "Gordeziani", sans-serif;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--ink-soft);
}
.sec__title {
  font-family: "Zviadi", cursive;
  font-weight: 400;
  font-size: 1.72rem;
  line-height: 1.15;
  color: var(--ink);
  padding: 8px 0 2px;
}
.sec__lead {
  font-family: "Gordeziani", sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-top: 12px;
}
.rule {
  display: block;
  width: 46px;
  height: 1px;
  margin: 12px auto 0;
  background-color: var(--ink-faint);
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s ease calc(var(--i, 0) * 0.1s), transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1) calc(var(--i, 0) * 0.1s);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
.count {
  display: flex;
  gap: 7px;
  margin-top: 26px;
}
.count__unit {
  flex: 1 1 0;
  padding: 13px 4px 11px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background-color: var(--card);
  backdrop-filter: blur(2px);
}
.count__num {
  display: block;
  font-family: "Gordeziani", sans-serif;
  font-weight: 400;
  font-size: 25px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.count__lbl {
  display: block;
  margin-top: 7px;
  font-family: "Gordeziani", sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}
.count__num.is-tick {
  animation: num-tick 0.36s steps(3, end) 1;
}
@keyframes num-tick {
  0% {
    transform: translateY(0) scale(1);
  }
  34% {
    transform: translateY(-4px) scale(1.09);
  }
  67% {
    transform: translateY(1px) scale(0.98);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}
.count__note {
  font-family: "Gordeziani", sans-serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-top: 20px;
}
.tl {
  position: relative;
  margin-top: 34px;
  padding-left: 44px;
  text-align: left;
}
.tl__line {
  position: absolute;
  left: 13px;
  top: 6px;
  bottom: 34px;
  width: 1px;
  background-color: var(--ink-faint);
  transform: scaleY(0);
  transform-origin: 50% 0;
  transition: transform 1.1s cubic-bezier(0.22, 0.61, 0.36, 1) 0.15s;
}
.tl.is-in .tl__line {
  transform: scaleY(1);
}
.tl__step {
  position: relative;
  padding-bottom: 30px;
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 0.7s ease calc(0.5s + var(--s) * 0.3s), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) calc(0.5s + var(--s) * 0.3s);
}
.tl__step:last-child {
  padding-bottom: 0;
}
.tl.is-in .tl__step {
  opacity: 1;
  transform: translateX(0);
}
.tl__dot {
  position: absolute;
  left: -36px;
  top: 4px;
  width: 11px;
  height: 11px;
  border: 1px solid var(--ink-soft);
  border-radius: 50%;
  background-color: var(--paper);
  transform: scale(0);
  transition: transform 0.24s steps(2, end) calc(0.62s + var(--s) * 0.3s);
}
.tl.is-in .tl__dot {
  transform: scale(1);
}
.tl__dot::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background-color: var(--ink-soft);
}
.tl__time {
  font-family: "Gordeziani", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.tl__name {
  font-family: "Zviadi", cursive;
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--ink);
  padding: 4px 0 2px;
}
.tl__place {
  font-family: "Gordeziani", sans-serif;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.07em;
  color: var(--ink-soft);
}
.sec--rsvp {
  padding-bottom: 56px;
}
.form {
  margin-top: 26px;
  text-align: left;
}
.field {
  margin-bottom: 14px;
}
.field__lbl {
  display: block;
  margin-bottom: 7px;
  font-family: "Gordeziani", sans-serif;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
}
.field__lbl--block {
  margin-top: 18px;
}
.field__in {
  width: 100%;
  padding: 13px 15px;
  font-family: "Gordeziani", sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: var(--ink);
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: none;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.field__in:focus {
  border-color: var(--ink-soft);
  background-color: rgba(255, 255, 255, 0.86);
}
.opts {
  display: flex;
  gap: 8px;
}
.opt {
  flex: 1 1 0;
  cursor: pointer;
}
.opt input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.opt__box {
  display: block;
  padding: 13px 8px;
  text-align: center;
  font-family: "Gordeziani", sans-serif;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--ink);
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: 13px;
  transition:
    background-color 0.28s ease,
    border-color 0.28s ease,
    color 0.28s ease;
}
.opt input:checked + .opt__box {
  background-color: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}
.opt input:focus-visible + .opt__box {
  border-color: var(--ink-soft);
}
.btn {
  display: block;
  width: 100%;
  margin-top: 24px;
  padding: 15px;
  font-family: "Gordeziani", sans-serif;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.2em;
  color: #ffffff;
  background-color: var(--ink);
  border: none;
  border-radius: 13px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.25s ease;
}
.btn:active {
  transform: scale(0.985);
}
.btn:disabled {
  opacity: 0.55;
  cursor: default;
}
.form__status {
  min-height: 18px;
  margin-top: 11px;
  text-align: center;
  font-family: "Gordeziani", sans-serif;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.thanks,
.closed {
  margin-top: 26px;
  padding: 30px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background-color: var(--card);
}
.thanks__mark {
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  border: 1px solid var(--ink-soft);
  border-radius: 50%;
  position: relative;
  animation: mark-pop 0.5s steps(3, end) 1;
}
.thanks__mark::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 8px;
  width: 11px;
  height: 19px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  transform: rotate(45deg);
}
@keyframes mark-pop {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  60% {
    transform: scale(1.12);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.thanks__text,
.closed__text {
  font-family: "Gordeziani", sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-align: center;
}
.foot {
  position: relative;
  z-index: 1;
  padding: 44px 22px 36px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.foot__names {
  font-family: "Zviadi", cursive;
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--ink);
  padding: 4px 0 2px;
}
.foot__date {
  margin-top: 12px;
  font-family: "Gordeziani", sans-serif;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
}
.foot__credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-family: "Gordeziani", sans-serif;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink);
  text-decoration: none;
  opacity: 0.3;
  transition: opacity 0.35s ease;
}
.foot__credit:hover,
.foot__credit:active {
  opacity: 0.7;
}
.foot__logo {
  width: 22px;
  height: 22px;
}
.desktop-notice {
  display: none;
}
@media (min-width: 481px) {
  :root {
    --scenery-w: 128%;
    --scenery-x: -47%;
    --col-h: 58;
    --waiter-h: 74;
    --villa-h: 58;
    --door-x: 52.2%;
    --door-y: 84.6%;
    --villa-lift-x: -2.2%;
    --villa-lift-y: -34.6%;
    --couple-h: 38;
  }
  .titlecard__line {
    font-size: 2.4rem;
  }
  .finale__names {
    font-size: 2.6rem;
  }
  .finale__date {
    font-size: 16px;
  }
  .finale__place {
    font-size: 13px;
  }
}
@media (min-width: 769px) {
  .stage,
  .page,
  .loader,
  .startgate,
  .music {
    display: none;
  }
  .desktop-notice {
    position: fixed;
    inset: 0;
    z-index: 10100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 40px;
    text-align: center;
    background-color: var(--sky);
    background-image: url(bg.jpg);
    background-size: cover;
    background-position: center;
  }
  .desktop-notice__icon {
    width: 52px;
    height: auto;
    opacity: 0.8;
  }
  .desktop-notice__text {
    font-family: "Gordeziani", sans-serif;
    font-weight: 300;
    font-size: 17px;
    line-height: 1.85;
    letter-spacing: 0.14em;
    color: var(--ink);
  }
}
@media (min-width: 481px) {
  .sec {
    max-width: 520px;
    padding: 86px 26px 12px;
  }
  .sec__title {
    font-size: 2.15rem;
  }
  .count {
    gap: 10px;
  }
  .count__num {
    font-size: 30px;
  }
  .count__lbl {
    font-size: 12px;
  }
  .tl__name {
    font-size: 1.55rem;
  }
  .foot__names {
    font-size: 1.75rem;
  }
  .startgate__text {
    font-size: 2.2rem;
  }
  .startgate__ring {
    width: 84px;
    height: 84px;
  }
}
