@font-face {
  font-family: "Medea";
  src: url(fonts/DM-Medea-Mkhedruli.ttf) format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: "Nino";
  src: url(fonts/bpg_nino_mtavruli_book-50137711009.otf) format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: "Nino";
  src: url(fonts/bpg_nino_mtavruli_normal-50137711009.otf) format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: "Nino";
  src: url(fonts/bpg_nino_mtavruli_bold-50137711009.otf) format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: block;
}
:root {
  --vh: 1vh;
  --ivory: #f7f2e9;
  --ivory-2: #f1e9da;
  --ivory-3: #eae0cd;
  --ivory-line: #ddd0b7;
  --burgundy: #4a1220;
  --burgundy-2: #3a0d19;
  --burgundy-lt: #8a4152;
  --olive: #6f7d55;
  --olive-2: #56633e;
  --olive-lt: #9aa680;
  --olive-tint: #e6e7d6;
  --ink: #3c2b25;
  --ink-soft: #6d5a4e;
  --ink-dim: #91806f;
  --on-dark: #f4efe6;
  --on-dark-soft: #d8c5c2;
  --on-dark-dim: #b096a0;
  --f-display:
    "Medea",
    "Nino",
    Georgia,
    serif;
  --f-body:
    "Nino",
    "Noto Serif Georgian",
    Georgia,
    serif;
  --env-w: 82vw;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  overscroll-behavior-y: none;
}
body {
  background-color: var(--ivory);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
body.is-locked {
  overflow: hidden;
  height: 100%;
}
h1,
h2,
h3,
p,
ul,
figure,
fieldset,
legend {
  margin: 0;
  padding: 0;
}
ul {
  list-style: none;
}
fieldset {
  border: 0;
}
img {
  display: block;
  max-width: 100%;
}
button,
input {
  font: inherit;
  color: inherit;
}
html {
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
  transition: scrollbar-color 1.4s ease;
}
html.is-open {
  scrollbar-color: var(--burgundy-lt) var(--ivory-3);
}
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background-color: transparent;
  transition: background-color 1.4s ease;
}
::-webkit-scrollbar-thumb {
  background-color: transparent;
  border-radius: 6px;
  transition: background-color 1.4s ease;
}
html.is-open ::-webkit-scrollbar-track {
  background-color: var(--ivory-3);
}
html.is-open ::-webkit-scrollbar-thumb {
  background-color: var(--burgundy-lt);
}
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background-color: var(--burgundy);
  background-image:
    radial-gradient(
      126% 82% at 50% 34%,
      rgba(255, 240, 232, 0.06),
      rgba(0, 0, 0, 0.24) 100%);
  transition: opacity 0.7s ease;
}
.loader.is-gone {
  opacity: 0;
}
.loader.is-done {
  display: none;
}
.loader__ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(244, 239, 230, 0.22);
  border-top-color: var(--on-dark);
  border-radius: 50%;
  animation: spin 0.95s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.loader__bar {
  width: 108px;
  height: 1px;
  background-color: rgba(244, 239, 230, 0.2);
  overflow: hidden;
}
.loader__fill {
  display: block;
  width: 0;
  height: 100%;
  background-color: var(--on-dark);
  transition: width 0.35s ease;
}
.entry {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  background-color: var(--burgundy);
  background-image:
    radial-gradient(
      126% 82% at 50% 34%,
      rgba(255, 240, 232, 0.06),
      rgba(0, 0, 0, 0.24) 100%);
  transition: opacity 1.1s ease, visibility 0s linear 1.1s;
}
.entry.is-gone {
  opacity: 0;
  visibility: hidden;
}
.entry__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.entry__eyebrow {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.34em;
  color: var(--on-dark-dim);
  text-indent: 0.34em;
  transition: opacity 0.5s ease, transform 0.6s ease;
}
.entry__names {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 26px;
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: var(--on-dark);
  transition: opacity 0.5s ease, transform 0.6s ease;
}
.entry__name {
  font-size: 31px;
}
.entry__amp {
  font-family: var(--f-display);
  font-size: 17px;
  color: var(--olive-lt);
  margin: -30px 0 -26px;
  margin-left: 1.6rem;
}
.entry__hint {
  margin-top: 22px;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-indent: 0.26em;
  color: var(--on-dark-soft);
  animation: hint-breathe 2.6s ease-in-out infinite;
}
.entry__hint.is-gone {
  opacity: 0;
  animation: none;
  transition: opacity 0.5s ease;
}
@keyframes hint-breathe {
  0%, 100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}
.entry.is-opening .entry__eyebrow,
.entry.is-opening .entry__names {
  opacity: 0;
  transform: translateY(-10px);
}
.env {
  position: relative;
  width: var(--env-w);
  height: calc(var(--env-w) * 1.21584);
  margin-top: calc(var(--env-w) * -0.38);
  cursor: pointer;
  isolation: isolate;
  opacity: 0;
  transform: translateY(26px) scale(0.9);
  transition: opacity 1.1s ease, transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.env:focus-visible {
  outline: 1px solid var(--olive-lt);
  outline-offset: 10px;
}
.env.is-in {
  opacity: 1;
  transform: none;
}
.env.is-out {
  transform: translateY(calc(var(--env-w) * 0.03));
  transition: transform 1.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.env-sprig {
  position: absolute;
  z-index: 5;
  width: calc(var(--env-w) * 0.40);
  height: auto;
  right: calc(var(--env-w) * -0.10);
  bottom: calc(var(--env-w) * 0.02);
  pointer-events: none;
  rotate: 6deg;
  filter: drop-shadow(-6px 8px 10px rgba(40, 12, 20, 0.34));
  opacity: 0;
  transform: translate(10px, 12px);
  transition: opacity 1.1s ease 0.45s, transform 1.3s cubic-bezier(0.22, 0.61, 0.36, 1) 0.45s;
}
.env.is-in .env-sprig {
  opacity: 1;
  transform: none;
}
.env-layer {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}
.env-inner {
  z-index: 1;
  opacity: 0;
  transform-origin: 50% 100%;
  transform: scale(0.955);
  transition: opacity 0.75s ease 0.1s, transform 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}
.env.is-open .env-inner {
  opacity: 1;
  transform: none;
}
.env-front {
  z-index: 3;
}
.env-closed {
  z-index: 4;
  transform: translate(-0.099%, 0.570%) scale(1.01512, 0.96541);
  transition: opacity 0.75s ease, visibility 0s linear 0.75s;
}
.env.is-open .env-closed {
  opacity: 0;
  visibility: hidden;
}
.env-slot {
  position: absolute;
  z-index: 2;
  left: 50%;
  width: calc(var(--env-w) * 0.96);
  margin-left: calc(var(--env-w) * -0.48);
  bottom: calc(var(--env-w) * 0.0871);
  top: calc(var(--env-w) * -0.9);
  overflow: hidden;
}
.env-card {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: calc(var(--env-w) * 0.76);
  height: calc(var(--env-w) * 0.608);
  margin-left: calc(var(--env-w) * -0.38);
  transform: translateY(calc(var(--env-w) * 0.32));
  transition: transform 1.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.env.is-out .env-card {
  transform: translateY(calc(var(--env-w) * -0.24));
}
.env-card__face {
  position: absolute;
  inset: 0;
  border-radius: 2px;
  background-color: var(--ivory);
  box-shadow: 0 12px 22px rgba(40, 12, 20, 0.34);
}
.env-card__frame {
  position: absolute;
  inset: 7px;
  border: 1px solid var(--ivory-line);
}
.env-card__text {
  position: absolute;
  left: 9%;
  right: 9%;
  top: 7%;
  bottom: 28%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.env-card__text.is-lit {
  opacity: 1;
}
.env-card__kicker {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  color: var(--ink-dim);
}
.env-card__date {
  margin-top: 9px;
  font-family: var(--f-display);
  font-size: 16px;
  line-height: 2.1;
  color: var(--burgundy);
}
.env-card__rule {
  display: block;
  width: 44px;
  height: 1px;
  margin: 9px 0 8px;
  background-color: var(--olive-lt);
}
.env-card__year {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  color: var(--ink-soft);
}
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 74px 22px 122px;
  overflow: hidden;
  background-color: #0b0d09;
}
.vh-lock .hero {
  min-height: calc(var(--vh) * 100);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url(second-bg.jpg);
  background-size: cover;
  background-position: center center;
  transform: scale(1.1);
  transition: transform 7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.is-open .hero__bg {
  transform: scale(1);
}
.hero__veil {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      to bottom,
      rgba(10, 12, 8, 0.62) 0%,
      rgba(10, 12, 8, 0.24) 34%,
      rgba(10, 12, 8, 0.34) 66%,
      rgba(10, 12, 8, 0.78) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__seal {
  width: 74%;
  height: auto;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  transition: opacity 1.5s ease 0.5s, transform 1.6s cubic-bezier(0.22, 0.61, 0.36, 1) 0.5s;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.5));
}
.is-open .hero__seal {
  opacity: 1;
  transform: none;
}
.hero__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 26px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1.4s ease 1.1s, transform 1.4s ease 1.1s;
}
.is-open .hero__meta {
  opacity: 1;
  transform: none;
}
.hero__place {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-indent: 0.32em;
  color: var(--on-dark);
}
.hero__dot {
  width: 3px;
  height: 3px;
  margin: 12px 0;
  border-radius: 50%;
  background-color: var(--olive-lt);
}
.hero__date {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  color: var(--on-dark-soft);
}
.hero__cue {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 52px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 1.2s ease 1.7s;
}
.is-open .hero__cue {
  opacity: 1;
}
.hero__cue.is-gone {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.hero__cue-word {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  color: var(--on-dark-soft);
}
.hero__cue-rail {
  position: relative;
  width: 1px;
  height: 40px;
  background-color: rgba(244, 239, 230, 0.22);
  overflow: hidden;
}
.hero__cue-bead {
  position: absolute;
  left: -1px;
  width: 3px;
  height: 12px;
  border-radius: 2px;
  background-color: var(--on-dark);
  animation: bead 2.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}
@keyframes bead {
  0% {
    top: -14px;
    opacity: 0;
  }
  22% {
    opacity: 1;
  }
  78% {
    opacity: 1;
  }
  100% {
    top: 40px;
    opacity: 0;
  }
}
.sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 540px;
  margin-top: -34px;
  border-top-left-radius: 34px;
  border-top-right-radius: 34px;
  background-color: var(--ivory);
  background-image:
    radial-gradient(
      128% 78% at 50% 30%,
      rgba(255, 252, 245, 0.5),
      rgba(120, 96, 62, 0.07) 100%);
  box-shadow: 0 -16px 38px rgba(74, 18, 32, 0.17);
  overflow: hidden;
}
.sheet::before {
  content: "";
  position: absolute;
  top: 0;
  left: 13%;
  right: 13%;
  height: 1px;
  z-index: 3;
  background-color: var(--ivory-line);
}
.sheet--alt {
  background-color: var(--ivory-2);
}
.sheet--deep {
  background-color: var(--burgundy);
  background-image:
    radial-gradient(
      126% 82% at 50% 34%,
      rgba(255, 240, 232, 0.07),
      rgba(0, 0, 0, 0.26) 100%);
  color: var(--on-dark);
}
.sheet--deep::before {
  background-color: rgba(244, 239, 230, 0.16);
}
.sheet__body {
  position: relative;
  z-index: 2;
  width: 100%;
  transform: translate3d(0, var(--drift-y, 0px), 0);
  will-change: transform;
}
.wrap {
  padding: 66px 26px 70px;
  text-align: center;
}
.petal {
  position: absolute;
  z-index: 0;
  width: 118px;
  height: auto;
  opacity: 0.52;
  pointer-events: none;
  transform: translate3d(0, var(--drift-y, 0px), 0);
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.9)) drop-shadow(0 -1px 2px rgba(124, 102, 70, 0.3));
}
.petal--l1 {
  top: 24px;
  left: -62px;
  rotate: -10deg;
}
.petal--l2 {
  top: 50%;
  left: -58px;
  translate: 0 -50%;
  rotate: 8deg;
}
.petal--l3 {
  bottom: 24px;
  left: -60px;
  rotate: 7deg;
}
.petal--r0 {
  top: 44%;
  right: -66px;
  rotate: 9deg;
  scale: -1 1;
}
.petal--r1 {
  top: 24%;
  right: -66px;
  rotate: -7deg;
  scale: -1 1;
}
.petal--r2 {
  top: 71%;
  right: -62px;
  rotate: 10deg;
  scale: -1 1;
}
.sheet--deep .petal {
  opacity: 0.07;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.5));
}
.orn {
  display: block;
  width: 78px;
  height: 7px;
  margin: 0 auto 26px;
  background-image:
    linear-gradient(
      to right,
      transparent,
      var(--olive-lt) 20%,
      var(--olive-lt) 80%,
      transparent),
    linear-gradient(var(--olive), var(--olive));
  background-size: 78px 1px, 7px 7px;
  background-position: center center, center center;
  background-repeat: no-repeat;
  border-radius: 1px;
}
.orn--sm {
  width: 52px;
  background-size: 52px 1px, 5px 5px;
  margin: 26px auto;
}
.orn--light {
  background-image:
    linear-gradient(
      to right,
      transparent,
      rgba(154, 166, 128, 0.75) 20%,
      rgba(154, 166, 128, 0.75) 80%,
      transparent),
    linear-gradient(var(--olive-lt), var(--olive-lt));
}
.sec-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  color: var(--burgundy);
}
.sec-title--light {
  color: var(--on-dark);
}
.sec-note {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  color: var(--ink-dim);
}
.sec-note--light {
  color: var(--on-dark-dim);
}
.sec-title,
.entry__name,
.entry__amp,
.tl__title,
.inv__lead,
.inv__body,
.inv__names,
.inv__when,
.inv__close,
.foot__names,
.rsvp__done-title,
.cd__num {
  padding-top: 0.78em;
  padding-bottom: 0.92em;
}
.cd__num {
  padding-top: 0.1em;
  padding-bottom: 0.16em;
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.95s ease, transform 0.95s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.cd {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 34px;
}
.cd__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 4px 14px;
  border: 1px solid var(--ivory-line);
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.42);
}
.cd__num {
  font-family: var(--f-display);
  font-size: 19px;
  line-height: 1;
  color: var(--olive-2);
  min-width: 2ch;
  text-align: center;
}
.cd__lbl {
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
}
.cd__foot {
  margin-top: 26px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  color: var(--ink-soft);
}
.inv {
  font-family: var(--f-display);
  color: var(--burgundy);
}
.inv__lead {
  font-size: 15px;
  line-height: 2.8;
}
.inv__body {
  margin-top: 12px;
  font-size: 13px;
  line-height: 2.8;
}
.inv__names {
  margin-top: 14px;
  font-size: 26px;
  line-height: 1.3;
}
.inv__amp {
  font-size: 15px;
  margin: 0 8px;
}
.inv__await {
  font-size: 13px;
}
.inv__when {
  margin-top: 4px;
  font-size: 17px;
  line-height: 1.4;
}
.inv__close {
  margin-top: 16px;
  font-size: 13px;
  line-height: 2.8;
}
.inv__heart {
  font-size: 15px;
}
.tl {
  position: relative;
  margin-top: 36px;
  padding-left: 40px;
  text-align: left;
}
.tl__rail,
.tl__rail-fill {
  position: absolute;
  left: 9px;
  top: 10px;
  width: 2px;
  border-radius: 2px;
}
.tl__rail {
  bottom: 30px;
  background-color: var(--ivory-line);
}
.tl__rail-fill {
  height: 0;
  background-color: var(--olive);
  transition: height 0.25s linear;
}
.tl__stop {
  position: relative;
  padding-bottom: 40px;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.95s ease, transform 1s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.tl__stop:last-child {
  padding-bottom: 0;
}
.tl__stop.is-lit {
  opacity: 1;
  transform: none;
}
.tl__dot {
  position: absolute;
  left: -35px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid var(--ivory-line);
  background-color: var(--ivory);
  transition: background-color 0.5s ease 0.15s, border-color 0.5s ease 0.15s;
}
.tl__stop.is-lit .tl__dot {
  background-color: var(--olive);
  border-color: var(--olive);
}
.tl__dot::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid var(--olive-lt);
  opacity: 0;
}
.tl__stop.is-lit .tl__dot::after {
  animation: bloom 1.2s ease-out 0.2s 1 both;
}
@keyframes bloom {
  0% {
    opacity: 0.85;
    transform: scale(0.45);
  }
  100% {
    opacity: 0;
    transform: scale(1.55);
  }
}
.tl__time {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background-color: var(--olive-tint);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--olive-2);
}
.tl__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.2;
  color: var(--burgundy);
}
.tl__place {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 9px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.tl__icon {
  font-size: 15px;
  opacity: 0.85;
}
.tl__pin {
  font-size: 12px;
  opacity: 0.8;
  flex: 0 0 auto;
}
.tl__link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(109, 90, 78, 0.35);
  text-underline-offset: 3px;
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
}
.tl__link:hover,
.tl__link:focus-visible {
  color: var(--burgundy-lt);
  text-decoration-color: var(--burgundy-lt);
}
.tl__art {
  width: 100%;
  height: auto;
  margin-top: 16px;
  opacity: 0;
  transform: translateY(16px) scale(0.94);
  transition: opacity 1.1s ease 0.3s, transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) 0.3s;
}
.tl__stop.is-lit .tl__art {
  opacity: 1;
  transform: none;
  animation: floaty 7.5s ease-in-out 1.6s infinite;
}
@keyframes floaty {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
.tl__sub {
  margin-top: 18px;
  padding-left: 14px;
  border-left: 1px solid var(--ivory-line);
}
.tl__sub li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 0;
}
.tl__sub-time {
  flex: 0 0 42px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--olive-2);
}
.tl__sub-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.rsvp {
  margin-top: 34px;
  text-align: left;
}
.field {
  margin-bottom: 22px;
}
.field__lbl {
  display: block;
  margin-bottom: 9px;
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--on-dark-dim);
}
.field__in {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(244, 239, 230, 0.24);
  border-radius: 3px;
  background-color: rgba(244, 239, 230, 0.06);
  color: var(--on-dark);
  font-size: 14px;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.field__in:focus {
  outline: none;
  border-color: var(--olive-lt);
  background-color: rgba(244, 239, 230, 0.1);
}
.opts {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.opts--row {
  flex-direction: row;
}
.opt {
  position: relative;
  flex: 1 1 auto;
  cursor: pointer;
}
.opt input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.opt__box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 12px;
  border: 1px solid rgba(244, 239, 230, 0.24);
  border-radius: 3px;
  background-color: rgba(244, 239, 230, 0.06);
  font-size: 13px;
  color: var(--on-dark-soft);
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease;
}
.opt__box--sm {
  padding: 12px 4px;
  font-size: 13px;
}
.opt input:checked + .opt__box {
  border-color: var(--olive-lt);
  background-color: rgba(154, 166, 128, 0.2);
  color: var(--on-dark);
}
.opt input:focus-visible + .opt__box {
  outline: 1px solid var(--olive-lt);
  outline-offset: 2px;
}
.field.is-hidden {
  display: none;
}
.btn {
  width: 100%;
  margin-top: 8px;
  padding: 15px 18px;
  border: 1px solid var(--olive-lt);
  border-radius: 3px;
  background-color: var(--olive);
  color: var(--on-dark);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  cursor: pointer;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}
.btn:active {
  background-color: var(--olive-2);
}
.btn[disabled] {
  opacity: 0.55;
  cursor: default;
}
.rsvp__status {
  margin-top: 14px;
  min-height: 18px;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
  color: var(--on-dark-soft);
}
.rsvp__done {
  margin-top: 40px;
  text-align: center;
}
.rsvp__done-title {
  font-family: var(--f-display);
  font-size: 25px;
  color: var(--on-dark);
}
.rsvp__done-text {
  margin-top: 14px;
  font-size: 13px;
  line-height: 2;
  color: var(--on-dark-soft);
}
.rsvp__closed {
  margin-top: 40px;
  font-size: 13px;
  line-height: 2;
  color: var(--on-dark-soft);
}
.foot {
  position: relative;
  margin-top: -34px;
  padding: 60px 26px 44px;
  border-top-left-radius: 34px;
  border-top-right-radius: 34px;
  background-color: var(--burgundy-2);
  background-image:
    radial-gradient(
      126% 82% at 50% 34%,
      rgba(255, 240, 232, 0.07),
      rgba(0, 0, 0, 0.26) 100%);
  text-align: center;
}
.foot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 13%;
  right: 13%;
  height: 1px;
  background-color: rgba(244, 239, 230, 0.14);
}
.foot__names {
  font-family: var(--f-display);
  font-size: 22px;
  color: var(--on-dark);
}
.foot__amp {
  font-size: 13px;
  color: var(--olive-lt);
  margin: 0 7px;
}
.foot__rule {
  display: block;
  width: 54px;
  height: 1px;
  margin: 22px auto 24px;
  background-color: rgba(244, 239, 230, 0.2);
}
.foot__credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.3;
  color: var(--on-dark);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: opacity 0.35s ease;
}
.foot__credit:hover {
  opacity: 0.72;
}
.foot__logo {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}
.music-toggle {
  position: fixed;
  z-index: 60;
  top: calc(14px + env(safe-area-inset-top, 0px));
  right: calc(14px + env(safe-area-inset-right, 0px));
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(244, 239, 230, 0.5);
  border-radius: 50%;
  background-color: rgba(74, 18, 32, 0.34);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  box-shadow: 0 3px 14px rgba(20, 6, 10, 0.32);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease,
    visibility 0s linear 0.9s,
    background-color 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}
.is-open .music-toggle {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition:
    opacity 0.9s ease 0.7s,
    transform 0.9s ease 0.7s,
    visibility 0s linear 0s,
    background-color 0.3s ease;
}
.music-toggle:active {
  background-color: rgba(74, 18, 32, 0.52);
}
.music-toggle__wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 16px;
}
.music-toggle__wave span {
  display: block;
  width: 2.5px;
  height: 100%;
  border-radius: 2px;
  background-color: var(--on-dark);
  transform: scaleY(0.22);
  transform-origin: 50% 50%;
  transition: transform 0.35s ease;
}
.music-toggle.is-playing .music-toggle__wave span {
  animation: musicBar 1.05s ease-in-out infinite alternate;
}
.music-toggle.is-playing .music-toggle__wave span:nth-child(1) {
  animation-duration: 0.86s;
}
.music-toggle.is-playing .music-toggle__wave span:nth-child(2) {
  animation-duration: 1.24s;
  animation-delay: -0.4s;
}
.music-toggle.is-playing .music-toggle__wave span:nth-child(3) {
  animation-duration: 0.98s;
  animation-delay: -0.72s;
}
.music-toggle.is-playing .music-toggle__wave span:nth-child(4) {
  animation-duration: 1.36s;
  animation-delay: -0.2s;
}
@keyframes musicBar {
  from {
    transform: scaleY(0.22);
  }
  to {
    transform: scaleY(1);
  }
}
#desktop-notice {
  display: none;
}
@media (min-width: 481px) {
  :root {
    --env-w: 340px;
  }
  .sheet {
    min-height: 620px;
  }
  .entry__name {
    font-size: 36px;
  }
  .entry__amp {
    font-size: 23px;
  }
  .hero__seal {
    width: 300px;
  }
  .wrap {
    padding: 76px 34px 80px;
  }
  .petal {
    width: 136px;
  }
  .sec-title {
    font-size: 28px;
  }
  .cd__num {
    font-size: 22px;
  }
  .inv__lead {
    font-size: 17px;
  }
  .inv__body,
  .inv__await,
  .inv__close {
    font-size: 15px;
  }
  .inv__when {
    font-size: 19px;
  }
  .inv__names {
    font-size: 29px;
  }
  .tl__title {
    font-size: 21px;
  }
  .foot__names {
    font-size: 24px;
  }
}
@media (min-width: 769px) {
  body > *:not(#desktop-notice) {
    display: none !important;
  }
  body {
    overflow: auto;
    height: auto;
  }
  #desktop-notice {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 40px;
    background-color: var(--burgundy);
    background-image:
      radial-gradient(
        126% 82% at 50% 34%,
        rgba(255, 240, 232, 0.07),
        rgba(0, 0, 0, 0.26) 100%);
    text-align: center;
  }
  .desktop-notice__logo {
    width: 52px;
    height: 52px;
    margin-bottom: 26px;
    opacity: 0.8;
  }
  .desktop-notice__ka {
    font-size: 15px;
    line-height: 1.9;
    color: var(--on-dark);
  }
  .desktop-notice__en {
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--on-dark-dim);
  }
  .desktop-notice__sub {
    margin-top: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sheet__body,
  .petal {
    transform: none !important;
  }
  .hero__cue-bead,
  .tl__dot::after,
  .entry__hint {
    animation: none !important;
  }
  .tl__stop.is-lit .tl__art {
    animation: none !important;
  }
  .loader__ring {
    animation-duration: 2.4s;
  }
  .music-toggle.is-playing .music-toggle__wave span {
    animation: none !important;
    transform: scaleY(1);
  }
}
