:root {
  --milk: #f4ecdf;
  --paper: #fff9ee;
  --ink: #16140f;
  --olive: #20281f;
  --wine: #6e1f23;
  --gold: #b79859;
  --sage: #8e9a7d;
  --shadow: 0 24px 60px rgba(37, 26, 12, 0.18);
  --section-min: 920px;
}

@font-face {
  font-family: "Maya Wedding";
  src: url("./wedding-icons-stylish/ofont.ru_Maya.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 18%, rgba(183, 152, 89, 0.16), transparent 24rem),
    radial-gradient(circle at 84% 8%, rgba(110, 31, 35, 0.12), transparent 20rem),
    var(--milk);
  font-family: "Cormorant Garamond", Georgia, serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

.story {
  overflow: hidden;
}

.opening {
  min-height: 100svh;
  display: grid;
  justify-items: center;
  align-content: start;
  padding: 0 18px 32px;
  position: relative;
  isolation: isolate;
}

.opening-decor {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 1s ease, filter 1s ease;
}

.decor-chandelier {
  position: absolute;
  left: clamp(0px, 11.2vw, 178px);
  top: clamp(-34px, -1.8vw, -10px);
  width: clamp(162px, 20.8vw, 335px);
  height: auto;
  transform: rotate(-1deg);
}

.decor-flowers {
  position: absolute;
  right: clamp(-74px, 8.8vw, 140px);
  top: clamp(-52px, -2.2vw, -14px);
  width: clamp(350px, 39vw, 625px);
  height: auto;
  transform: rotate(2deg);
}

.decor-star {
  position: absolute;
  width: clamp(18px, 2.4vw, 30px);
  height: auto;
  opacity: 0.9;
  animation: floaty 5.4s ease-in-out infinite;
}

.decor-star-1 {
  left: 43%;
  top: clamp(145px, 21svh, 250px);
}

.decor-star-2 {
  right: clamp(52px, 19vw, 305px);
  top: clamp(380px, 52svh, 540px);
  animation-delay: -1.8s;
}

.decor-star-3 {
  left: clamp(82px, 28vw, 420px);
  top: clamp(690px, 83svh, 880px);
  animation-delay: -3.1s;
}

.decor-star-4 {
  right: clamp(72px, 21vw, 340px);
  top: clamp(780px, 90svh, 940px);
  animation-delay: -4.1s;
}

.opening-names {
  position: absolute;
  z-index: 2;
  top: clamp(295px, 43svh, 485px);
  left: 50.5%;
  width: clamp(250px, 31.5vw, 505px);
  height: auto;
  transform: translateX(-50%) rotate(-1deg);
  pointer-events: none;
  transition: opacity 1s ease, filter 1s ease;
}

.envelope-button {
  z-index: 3;
  margin-top: clamp(455px, 56svh, 635px);
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  justify-items: center;
  gap: 28px;
  perspective: 1200px;
  transition:
    opacity 1.15s ease,
    filter 1.15s ease,
    transform 1.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.envelope {
  width: min(86vw, 560px);
  aspect-ratio: 1.42;
  position: relative;
  animation: breathe 3.8s ease-in-out infinite;
  filter: drop-shadow(0 28px 34px rgba(51, 35, 17, 0.18));
}

.floating-parts {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  perspective: 1200px;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.floating-parts:focus-visible {
  outline: 0;
}

.floating-part {
  position: absolute;
  width: min(72vw, 410px);
  max-height: 78svh;
  object-fit: contain;
  opacity: 0;
  filter: drop-shadow(0 22px 28px rgba(42, 31, 15, 0.18));
  transform: translate3d(0, 22vh, 0) scale(0.22) rotate(var(--start-rotate));
  transform-origin: 50% 72%;
  will-change: transform, opacity;
  transition:
    opacity 0.82s ease,
    filter 0.55s ease,
    transform 1.05s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-card {
  aspect-ratio: 1680 / 2380;
}

.floating-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.card-guest-names {
  position: absolute;
  top: 40.2%;
  left: 28.5%;
  width: 47%;
  color: var(--ink);
  font-family: "Marck Script", "Great Vibes", cursive;
  font-size: clamp(16px, 3.4vw, 25px);
  line-height: 1.02;
  text-align: center;
  transform: rotate(-1deg);
  transform-origin: 50% 50%;
  opacity: 0;
  filter: blur(4px);
  transition: opacity 0.7s ease 0.5s, filter 0.7s ease 0.5s;
  pointer-events: none;
}

.story.stack-ready .card-guest-names {
  opacity: 1;
  filter: blur(0);
}

.part-light {
  --delay: 0.35s;
  --start-rotate: -4deg;
  --end-rotate: -1.4deg;
  --active-rotate: -1.4deg;
  z-index: 1;
  width: min(82vw, 520px);
}

.part-dark {
  --delay: 0.58s;
  --start-rotate: 4deg;
  --end-rotate: 1.2deg;
  --active-rotate: 1.2deg;
  z-index: 2;
  width: min(86vw, 520px);
}

.part-couple {
  --delay: 0.88s;
  --start-rotate: -2deg;
  --end-rotate: 2.2deg;
  --active-rotate: 2.2deg;
  z-index: 3;
  width: min(56vw, 330px);
  filter: drop-shadow(0 22px 26px rgba(42, 31, 15, 0.2));
}

.envelope-back,
.envelope-front,
.envelope-flap {
  position: absolute;
  inset: 0;
}

.envelope-back {
  background: #eadbc5;
  clip-path: polygon(4% 9%, 96% 5%, 94% 93%, 6% 96%);
}

.envelope-front {
  z-index: 3;
  background:
    linear-gradient(145deg, transparent 49.5%, rgba(80, 57, 32, 0.28) 50%, transparent 50.5%),
    linear-gradient(35deg, transparent 49.5%, rgba(80, 57, 32, 0.24) 50%, transparent 50.5%),
    #efe2cf;
  clip-path: polygon(5% 28%, 50% 62%, 95% 27%, 94% 94%, 6% 96%);
}

.envelope-flap {
  z-index: 4;
  transform-origin: 50% 10%;
  background: #e3d1b8;
  clip-path: polygon(5% 10%, 95% 7%, 50% 62%);
  transition:
    filter 0.8s ease,
    transform 1.05s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.envelope-card {
  position: absolute;
  z-index: 2;
  left: 17%;
  bottom: 18%;
  width: 66%;
  aspect-ratio: 0.72;
  display: grid;
  place-items: center;
  padding: 22px;
  border-radius: 4px;
  background: var(--paper);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(35%) rotate(-1.6deg);
  transition:
    opacity 0.45s ease 0.38s,
    transform 1.35s cubic-bezier(0.16, 1, 0.3, 1) 0.42s;
}

.couple-art {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0;
  filter: contrast(1.1);
  transition: opacity 0.8s ease 1.15s, filter 0.8s ease 1.15s;
}

.seal {
  z-index: 5;
  position: absolute;
  left: 50%;
  top: 52%;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff6e7;
  background:
    radial-gradient(circle at 35% 32%, #9d3834, var(--wine) 62%, #4f1418);
  transform: translate(-50%, -50%) rotate(-7deg);
  font-family: "Marck Script", cursive;
  font-size: 26px;
  box-shadow: 0 8px 18px rgba(79, 20, 24, 0.28);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.envelope-title,
.envelope-date {
  z-index: 5;
  position: absolute;
  left: 0;
  width: 100%;
  text-align: center;
  pointer-events: none;
}

.envelope-title {
  top: 27%;
  font-family: "Great Vibes", cursive;
  font-size: clamp(34px, 7vw, 62px);
}

.envelope-date {
  top: 64%;
  font-size: clamp(30px, 7vw, 48px);
  letter-spacing: 0;
}

.open-hint {
  font-size: 18px;
  opacity: 0.72;
}

.continue-hint {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 26px;
  width: min(82vw, 520px);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  text-decoration: none;
  transform: translate(-50%, 10px);
  transition: opacity 0.45s ease 0.35s, transform 0.45s ease 0.35s;
}

.continue-chevron {
  width: 10px;
  height: 10px;
  display: none;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  animation: chevronDown 1.35s ease-in-out infinite;
}

.story.opened .seal {
  opacity: 0;
  transform: translate(-50%, -50%) scale(1.55) rotate(12deg);
}

.story.opened .opening-decor,
.story.opened .opening-names {
  opacity: 0.16;
  filter: blur(0.6px);
}

.story.opened .envelope-flap {
  z-index: 1;
  filter: brightness(1.01);
  transform: translateY(1%) rotateX(163deg) scaleY(0.98);
}

.story.opened .envelope-card {
  opacity: 0;
  transform: translateY(-26%) rotate(1.8deg);
}

.story.opened .couple-art {
  opacity: 0;
  filter: contrast(1);
}

.story.opened .envelope-button {
  pointer-events: none;
  cursor: default;
}

.story.envelope-away .envelope-button {
  opacity: 0.06;
  filter: blur(1.6px) saturate(0.72);
  transform: translateY(62vh) scale(0.76) rotate(-3deg);
}

.story.opened .open-hint {
  opacity: 0;
}

.story.stack-settled .floating-parts {
  pointer-events: auto;
  cursor: grab;
}

.story.stack-settled .floating-parts.is-dragging {
  cursor: grabbing;
}

.story.stack-ready .floating-part {
  opacity: 1;
  transition:
    opacity 0.55s ease,
    filter 0.55s ease,
    transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
}

.story.stack-ready:not(.stack-settled) .floating-part {
  transition-duration: 0.95s, 0.95s, 1.35s;
}

.story.stack-ready:not(.stack-settled) .part-light {
  transition-delay: 0.02s;
}

.story.stack-ready:not(.stack-settled) .part-dark {
  transition-delay: 0.2s;
}

.story.stack-ready:not(.stack-settled) .part-couple {
  transition-delay: 0.38s;
}

.story.stack-ready .floating-part.is-active {
  z-index: 6;
  opacity: 1;
  filter: drop-shadow(0 28px 34px rgba(42, 31, 15, 0.24));
  transform: translate3d(var(--drag-x, 0px), 6px, 0) scale(1) rotate(var(--active-rotate, 1deg));
  animation: levitateActive 5.6s ease-in-out 0.8s infinite;
}

.story.stack-ready .floating-part.is-next {
  z-index: 5;
  opacity: 0.96;
  filter: drop-shadow(0 20px 25px rgba(42, 31, 15, 0.16));
  transform: translate3d(18px, -22px, 0) scale(1) rotate(1.5deg);
  animation: levitateNext 6.3s ease-in-out 1s infinite;
}

.story.stack-ready .floating-part.is-back {
  z-index: 4;
  opacity: 0.92;
  filter: drop-shadow(0 16px 22px rgba(42, 31, 15, 0.12));
  transform: translate3d(-10px, -42px, 0) scale(1) rotate(-1.2deg);
  animation: levitateBack 6.8s ease-in-out 1.2s infinite;
}

.story.stack-ready .part-couple.is-active {
  transform: translate3d(var(--drag-x, 0px), 6px, 0) scale(1) rotate(1.4deg);
}

.story.stack-ready .part-dark.is-next {
  transform: translate3d(18px, -22px, 0) scale(1) rotate(1.5deg);
}

.story.stack-ready .part-light.is-back {
  transform: translate3d(-10px, -42px, 0) scale(1) rotate(-1.1deg);
}

.story.stack-ready:not(.stack-settled) .floating-part {
  animation: none;
}

.story.stack-settled .floating-parts.is-dragging .floating-part {
  animation: none;
  transition-duration: 0.12s;
}

.story.stack-settled .floating-parts.is-dragging .floating-part.is-active {
  transform: translate3d(var(--drag-x, 0px), calc(6px + var(--drag-y-small, 0px)), 0) scale(1) rotate(calc(var(--active-rotate, 1deg) + var(--drag-rotate, 0deg)));
}

.story.stack-ready .continue-hint,
.story.stack-settled .continue-hint {
  opacity: 0.72;
  pointer-events: none;
  transform: translate(-50%, 0);
}

.story.cards-viewed .continue-hint {
  pointer-events: auto;
}

.story.cards-viewed .continue-chevron {
  display: inline-block;
}

.spark {
  position: absolute;
  width: 18px;
  height: auto;
}

.paper-section,
.timer-section,
.final-section,
.dark-section {
  min-height: var(--section-min);
  padding: clamp(58px, 9vw, 120px) 18px;
}

.paper-section,
.final-section,
.dark-section {
  display: grid;
  align-content: center;
}

.paper {
  width: min(920px, 100%);
  min-height: 680px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 8vw, 96px) clamp(24px, 7vw, 86px);
  text-align: center;
  background: var(--paper);
  border: 1px solid rgba(61, 42, 20, 0.14);
  border-radius: 4px;
  box-shadow: var(--shadow);
  transform: rotate(-0.5deg);
}

.paper::before,
.letter-form::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(22, 20, 15, 0.18);
  border-radius: 3px;
  pointer-events: none;
}

.paper > :not(.paper-art) {
  position: relative;
  z-index: 1;
}

.script {
  margin: 0;
  font-family: "Great Vibes", cursive;
  font-size: clamp(42px, 9vw, 78px);
  line-height: 1;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-size: clamp(42px, 8vw, 84px);
  line-height: 0.95;
  font-weight: 600;
}

.lead {
  font-size: clamp(28px, 5vw, 54px);
  line-height: 1.15;
}

.names {
  margin-top: 44px;
  font-family: "Great Vibes", cursive;
  font-size: clamp(52px, 10vw, 104px);
}

.date-mark {
  font-size: clamp(34px, 7vw, 66px);
}

.paper-art {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.42;
}

.paper-art-top {
  width: min(46vw, 360px);
  top: -70px;
  right: -40px;
  transform: rotate(8deg);
}

.paper-art-bottom {
  width: min(48vw, 380px);
  left: 50%;
  bottom: -220px;
  transform: translateX(-50%) rotate(-2deg);
}

.dark-section {
  background: var(--milk);
}

.ink-card {
  width: min(720px, 94vw);
  aspect-ratio: 420 / 646;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background:
    url("./wedding-icons-stylish/info_back1.svg") center / contain no-repeat,
    var(--milk);
  border: 0;
  box-shadow: none;
  transform: none;
}

.info-card {
  --info-lift: 3%;
  --info-bg-extra: 1.2%;
  background-position: 48% calc(50% - var(--info-lift) - var(--info-bg-extra));
}

.ink-card::before,
.ink-card::after,
.dark-frame {
  display: none;
}

.dark-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  padding: 0;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.28;
  text-shadow: none;
}

.dark-content p {
  margin: 0;
}

.dark-content .script {
  margin-bottom: 14px;
  font-size: clamp(48px, 5.4vw, 74px);
  line-height: 0.85;
}

.info-copy {
  position: absolute;
  top: calc(9% - var(--info-lift, 0%));
  left: 16%;
  width: 74%;
  text-align: left;
  white-space: normal;
}

.info-copy-time {
  margin-top: 40%;
  margin-left: 34%;
}

.info-wishes {
  margin-top: 30%;
  margin-left: 0;
  width: 72%;
}

.info-wishes .script {
  margin-bottom: 12px;
}

.info-place {
  position: absolute;
  top: 11%;
  left: 27%;
  width: 56%;
  text-align: left;
}

.info-time {
  position: absolute;
  top: 30.5%;
  left: 43%;
  width: 45%;
  text-align: left;
}

.spark {
  z-index: 2;
  animation: blink 2.8s ease-in-out infinite;
}

.s1 { left: 20%; top: 22%; }
.s2 { right: 18%; top: 54%; animation-delay: -1s; }
.s3 { left: 64%; bottom: 18%; animation-delay: -1.8s; }

.section-heading {
  width: min(920px, 100%);
  margin: 0 auto 30px;
  text-align: center;
}

.dress-section {
  background: #fff;
}

.dress-layout {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: center;
  padding: clamp(18px, 3vw, 28px);
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.dress-photo-wrap {
  margin: 0;
}

.dress-photo {
  display: block;
  width: 100%;
  max-height: 640px;
  object-fit: contain;
  filter: contrast(1.03);
}

.dress-copy {
  color: var(--ink);
  font-size: clamp(22px, 2.35vw, 32px);
  line-height: 1.2;
}

.dress-copy p {
  margin: 0;
}

.dress-copy p + p {
  margin-top: 24px;
}

.dress-lead {
  max-width: none;
  font-family: "Great Vibes", "Marck Script", cursive;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 0.92;
  color: var(--ink);
}

.note,
.letter-form {
  position: relative;
  background: var(--paper);
  border: 1px solid rgba(61, 42, 20, 0.16);
  border-radius: 5px;
  box-shadow: 0 18px 38px rgba(37, 26, 12, 0.12);
}

.note {
  min-height: 260px;
  padding: 34px;
  font-size: clamp(23px, 3vw, 34px);
}

.note:nth-child(1) {
  transform: rotate(-1.7deg);
}

.note:nth-child(2) {
  transform: rotate(1.4deg);
}

.note h3 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 12px;
}

.icon {
  float: right;
  font-size: 36px;
  color: var(--wine);
}

.accent {
  color: var(--wine);
  font-weight: 700;
}

.rsvp-section {
  position: relative;
  min-height: max(var(--section-min), 1080px);
  align-content: start;
  padding-top: clamp(250px, 28vw, 340px);
  background:
    linear-gradient(rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.62)),
    url("./wedding-icons-stylish/image_1414_141414141414x2000.svg") center top / 100% auto no-repeat,
    #fff;
}

.letter-form {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: clamp(30px, 6vw, 58px);
  display: grid;
  gap: 18px;
  transform: rotate(-0.35deg);
}

.rsvp-section .letter-form {
  width: min(1040px, 82vw);
  aspect-ratio: 1.56;
  height: auto;
  min-height: 0;
  display: block;
  padding: 0;
  overflow: hidden;
  background: rgba(255, 249, 238, 0.94);
  border: 2px solid var(--ink);
  border-radius: 0;
  box-shadow: 0 22px 52px rgba(37, 26, 12, 0.14);
  transform: none;
}

.rsvp-section .letter-form::before {
  inset: 18px;
  border: 2px solid var(--ink);
  border-radius: 0;
}

.rsvp-flowers {
  position: absolute;
  top: 7.5%;
  right: 7.5%;
  width: 34%;
  height: auto;
  z-index: 0;
  pointer-events: none;
}

.guest-selector {
  position: static;
}

.rsvp-subtitle {
  position: absolute;
  top: 13.5%;
  left: 8.8%;
  z-index: 1;
  margin: 0;
  font-family: "Maya Wedding", "Great Vibes", cursive;
  font-size: clamp(56px, 5.9vw, 82px);
  line-height: 0.86;
  font-weight: 400;
}

.guest-chips {
  position: absolute;
  top: 43%;
  left: 8.8%;
  right: 47%;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
}

.guest-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid rgba(22, 20, 15, 0.26);
  border-radius: 999px;
  padding: 8px 14px 8px 24px;
  background: rgba(255, 255, 255, 0.38);
  color: rgba(22, 20, 15, 0.62);
  font: inherit;
  font-size: clamp(26px, 2.7vw, 36px);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease,
    background 0.18s ease;
}

.guest-chip:hover {
  transform: translateY(-1px) rotate(-0.5deg);
}

.guest-chip.is-selected {
  border-color: rgba(22, 20, 15, 0.42);
  background: rgba(255, 249, 238, 0.88);
  color: var(--ink);
}

.chip-state {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid currentColor;
}

.chip-state::after {
  content: "";
  width: 54%;
  height: 54%;
  border-radius: 50%;
  background: currentColor;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.guest-chip.is-selected .chip-state::after {
  opacity: 1;
}

.rsvp-actions {
  position: absolute;
  left: 50%;
  bottom: max(0px, calc(clamp(28px, 6.2%, 58px) - 50px));
  z-index: 1;
  width: min(62%, 680px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transform: translateX(-50%);
}

.rsvp-section .submit-btn {
  position: static;
  min-width: min(100%, 540px);
  margin: 0;
  padding: 0 0 12px;
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  box-shadow: inset 0 -2px 0 var(--ink);
  font-family: "Maya Wedding", "Great Vibes", cursive;
  font-size: clamp(34px, 3.9vw, 52px);
  line-height: 1;
  transform: none;
}

.rsvp-section .submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 -2px 0 var(--ink);
}

.rsvp-selection {
  position: static;
  width: 100%;
  margin: 0;
  color: var(--ink);
  font-size: clamp(17px, 1.35vw, 23px);
  line-height: 1.15;
  text-align: center;
}

.letter-form.sent .rsvp-selection {
  display: none;
}

.rsvp-section .letter-form.sent .rsvp-actions {
  bottom: 54px;
}

.rsvp-section .thanks {
  position: static;
  width: 100%;
  margin: 0;
  color: var(--ink);
  font-family: "Maya Wedding", "Great Vibes", cursive;
  font-size: clamp(34px, 3.9vw, 52px);
  font-weight: 400;
  line-height: 1;
  text-align: center;
  opacity: 0;
  pointer-events: none;
}

.rsvp-section .letter-form.sent .thanks {
  opacity: 1;
}

.rsvp-deadline {
  width: min(760px, 100%);
  margin: clamp(112px, 12vw, 150px) auto 0;
  font-size: clamp(28px, 3.8vw, 42px);
  line-height: 1.08;
  font-weight: 700;
}

label,
legend {
  font-size: 24px;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid rgba(22, 20, 15, 0.32);
  border-radius: 4px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--ink);
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 8px 8px 0 0;
  cursor: pointer;
}

.choice input {
  width: auto;
  margin: 0;
}

.choice span {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid rgba(22, 20, 15, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.choice input:checked + span {
  color: #fffaf0;
  background: var(--olive);
  border-color: var(--olive);
}

.drink-grid {
  display: flex;
  flex-wrap: wrap;
}

.submit-btn {
  justify-self: start;
  border: 0;
  border-radius: 999px;
  padding: 13px 24px;
  color: #fffaf0;
  background: var(--wine);
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(110, 31, 35, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.submit-btn:hover {
  transform: translateY(-2px) rotate(-1deg);
  box-shadow: 0 16px 28px rgba(110, 31, 35, 0.28);
}

.thanks {
  min-height: 34px;
  margin: 0;
  color: var(--wine);
  font-size: 28px;
  font-weight: 700;
}

.timer-section {
  position: relative;
  min-height: var(--section-min);
  padding: 118px 0 60px;
  overflow: hidden;
  text-align: center;
}

.timer-florals {
  position: absolute;
  top: -166px;
  left: 57%;
  width: 185px;
  height: auto;
  transform: translateX(-50%) rotate(270deg);
  transform-origin: center;
  z-index: 1;
}

.timer-star {
  position: absolute;
  width: 34px;
  height: 34px;
  object-fit: contain;
  z-index: 2;
}

.timer-star-top {
  top: 118px;
  left: 32%;
  transform: rotate(-10deg);
}

.timer-star-right {
  top: 360px;
  right: 12%;
  width: 38px;
  height: 38px;
  transform: rotate(18deg);
}

.timer-star-left {
  left: 18%;
  bottom: 170px;
  width: 31px;
  height: 31px;
  transform: rotate(12deg);
}

.timer-title {
  position: relative;
  z-index: 3;
  width: max-content;
  max-width: 94vw;
  margin: 84px auto 0;
  font-size: clamp(44px, 6.3vw, 76px);
  line-height: 0.92;
  white-space: nowrap;
}

.timer-scene {
  position: relative;
  z-index: 3;
  width: min(760px, 100%);
  height: 590px;
  margin: 34px auto 0;
}

.timer-waiter {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(560px, 82vw);
  height: auto;
  transform: translateX(-50%) rotate(-1deg);
  transform-origin: 45% 70%;
  z-index: 2;
}

.timer-glass {
  position: absolute;
  width: 56px;
  height: 78px;
  object-fit: fill;
  z-index: 4;
  animation: fallingGlass 4.8s ease-in-out infinite;
}

.timer-glass-one {
  right: 22%;
  top: 220px;
  transform: rotate(4deg);
}

.timer-glass-two {
  right: 12%;
  top: 342px;
  transform: rotate(58deg);
  animation-delay: -1.7s;
}

.timer {
  position: absolute;
  top: 82px;
  left: 50%;
  width: min(420px, 58vw);
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: clamp(10px, 1.8vw, 20px);
  transform: translateX(-42%);
  z-index: 5;
}

.timer-item {
  position: static;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  min-height: 58px;
  padding: 0 12px;
  color: var(--ink);
  text-align: center;
  white-space: nowrap;
  z-index: 4;
}

.timer-item::before {
  content: none;
}

.timer-days {
  width: auto;
}

.timer-hours {
  width: auto;
}

.timer-minutes {
  width: auto;
}

.timer strong {
  display: inline-block;
  margin-bottom: 0;
  font-size: clamp(28px, 4.2vw, 46px);
  line-height: 0.86;
  font-weight: 500;
  text-shadow: 0 2px 0 rgba(255, 249, 238, 0.66);
}

.timer span {
  display: inline-block;
  margin-top: 0;
  font-size: clamp(17px, 2.4vw, 24px);
  line-height: 1;
  text-shadow: 0 2px 0 rgba(255, 249, 238, 0.66);
}

@media (min-width: 761px) {
  .info-section {
    min-height: 1040px;
    align-content: start;
    padding-top: 34px;
    padding-bottom: 40px;
  }

  .info-card {
    width: min(640px, 48vw);
  }

  .dark-content {
    font-size: clamp(19px, 1.45vw, 27px);
    line-height: 1.24;
  }

  .dark-content .script {
    margin-bottom: 10px;
    font-size: clamp(42px, 3.8vw, 62px);
  }

  .info-copy {
    top: calc(6% - var(--info-lift, 0%));
    left: 16%;
    width: 76%;
  }

  .info-copy-time {
    margin-top: 40%;
    margin-left: 34%;
  }

  .rsvp-section {
    min-height: 900px;
    padding-top: clamp(170px, 16vw, 230px);
    background-size: 100% auto;
  }

  .rsvp-section .letter-form {
    width: min(960px, 72vw);
    aspect-ratio: 1.74;
  }

  .rsvp-section .letter-form::before {
    inset: 20px;
  }

  .rsvp-flowers {
    top: 8%;
    right: 8%;
    width: min(300px, 34%);
  }

  .rsvp-subtitle {
    top: 10.5%;
    left: 8.2%;
    font-size: clamp(54px, 5vw, 78px);
  }

  .guest-chips {
    top: 24%;
    left: 8.4%;
    right: 46%;
  }

  .guest-chip {
    padding: 7px 13px 7px 22px;
    font-size: clamp(22px, 2vw, 30px);
  }

  .chip-state {
    width: 28px;
    height: 28px;
  }

  .rsvp-actions {
    bottom: max(0px, calc(clamp(26px, 5.8%, 50px) - 70px));
    width: min(64%, 620px);
    gap: 16px;
  }

  .rsvp-section .submit-btn {
    min-width: min(100%, 480px);
    font-size: clamp(31px, 3.1vw, 48px);
  }

  .rsvp-selection {
    font-size: clamp(15px, 1.7vw, 20px);
  }

  .rsvp-section .thanks {
    font-size: clamp(31px, 3.1vw, 48px);
  }

  .rsvp-section .letter-form.sent .rsvp-actions {
    bottom: 44px;
  }

  .rsvp-deadline {
    width: min(760px, 58vw);
    margin-top: clamp(82px, 8vw, 120px);
    font-size: clamp(27px, 3vw, 38px);
  }

  .timer-section {
    min-height: 820px;
    padding-top: 88px;
  }

  .timer-title {
    margin-top: 80px;
    font-size: clamp(44px, 5.2vw, 70px);
  }

  .timer-scene {
    width: min(700px, 58vw);
    height: 500px;
    margin-top: -4px;
  }

  .timer-waiter {
    width: min(440px, 36vw);
    left: 43%;
  }

  .timer {
    top: 42px;
    left: 50%;
    width: min(430px, 42vw);
    transform: translateX(-50%);
  }

  .timer strong {
    font-size: clamp(26px, 2.7vw, 38px);
  }

  .timer span {
    font-size: clamp(16px, 1.45vw, 21px);
  }

  .timer-glass-one {
    right: 17%;
    top: 205px;
  }

  .timer-glass-two {
    right: 5%;
    top: 315px;
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  .rsvp-actions {
    bottom: 0;
  }
}

.final-section {
  min-height: var(--section-min);
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  gap: 12px;
  background: #fff;
}

.final-section p {
  margin: 0;
  font-size: 30px;
}

.final-section h2 {
  margin: 0;
  font-family: "Maya Wedding", "Great Vibes", cursive;
  font-size: clamp(52px, 8vw, 82px);
  line-height: 0.9;
  font-weight: 400;
}

.final-art {
  width: min(360px, 68vw);
  opacity: 0.92;
}

.final-contact {
  width: min(620px, 88vw);
  margin-top: clamp(90px, 12vw, 150px);
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.16;
}

.final-contact p {
  margin: 0;
  font-size: inherit;
}

.final-contact p + p {
  margin-top: 12px;
}

.final-contact span {
  font-weight: 700;
}

.final-contact a {
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.admin-body {
  background: #f7f1e8;
}

.admin-page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 70px;
}

.admin-header {
  margin-bottom: 28px;
}

.admin-header .script {
  margin: 0;
  font-size: clamp(48px, 8vw, 82px);
  line-height: 0.85;
}

.admin-header h1,
.admin-panel h2 {
  margin: 0;
}

.admin-header h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.admin-panel {
  margin-top: 22px;
  padding: clamp(18px, 3vw, 30px);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(22, 20, 15, 0.18);
}

.admin-login-panel {
  width: min(520px, 100%);
}

.admin-app[hidden],
.admin-login-panel[hidden] {
  display: none;
}

.admin-session {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-bottom: 8px;
  font-size: 20px;
}

.admin-form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.admin-form label {
  display: grid;
  gap: 8px;
  font-size: 24px;
}

.admin-form input,
.admin-form textarea {
  width: 100%;
  border: 1px solid rgba(22, 20, 15, 0.26);
  border-radius: 0;
  padding: 12px 14px;
  background: #fffaf2;
  color: var(--ink);
}

.admin-form input[readonly] {
  color: rgba(22, 20, 15, 0.62);
  background: rgba(255, 250, 242, 0.64);
}

.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-button,
.admin-secondary {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  cursor: pointer;
}

.admin-button {
  justify-self: start;
  padding: 12px 18px;
  font-size: 24px;
}

.admin-secondary {
  padding: 8px 12px;
  background: transparent;
  color: var(--ink);
  font-size: 18px;
}

.admin-secondary.admin-danger {
  border-color: rgba(110, 31, 35, 0.72);
  color: var(--wine);
}

.admin-secondary.admin-danger:hover,
.admin-secondary.admin-danger:focus-visible {
  background: var(--wine);
  color: #fff;
}

.admin-secondary:disabled {
  cursor: wait;
  opacity: 0.62;
}

.admin-message {
  min-height: 28px;
  margin: 16px 0 0;
  font-size: 22px;
}

.admin-edit-note {
  margin: -4px 0 0;
  color: rgba(22, 20, 15, 0.62);
  font-size: 18px;
}

.admin-message.is-error {
  color: var(--wine);
}

.admin-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-list-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.admin-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.admin-card {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 12px 18px;
  padding: 16px;
  background: #fffaf2;
  border: 1px solid rgba(22, 20, 15, 0.16);
}

.admin-card h3 {
  margin: 0;
  font-size: 30px;
}

.admin-muted {
  margin: 0;
  color: rgba(22, 20, 15, 0.68);
  font-size: 20px;
}

.admin-status {
  align-self: start;
  padding: 6px 10px;
  border: 1px solid rgba(22, 20, 15, 0.22);
  font-size: 18px;
}

.admin-status.is-done {
  background: #20281f;
  color: #fff;
}

.admin-link-row,
.admin-rsvp {
  grid-column: 1 / -1;
}

.admin-link-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.admin-link-row a {
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-rsvp {
  display: grid;
  gap: 4px;
}

.admin-rsvp p {
  margin: 0;
  font-size: 21px;
}

.admin-rsvp span {
  font-weight: 700;
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.admin-nav .admin-secondary.is-active {
  background: var(--ink);
  color: #fff;
}

.admin-table-page {
  width: min(100%, 1400px);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.admin-stat {
  padding: 14px 16px;
  background: #fffaf2;
  border: 1px solid rgba(22, 20, 15, 0.16);
}

.admin-stat-wide {
  grid-column: 1 / -1;
}

.admin-stat-label {
  margin: 0;
  color: rgba(22, 20, 15, 0.68);
  font-size: 18px;
}

.admin-stat-value {
  margin: 6px 0 0;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 600;
  line-height: 1;
}

.admin-table-panel h2 {
  margin-bottom: 14px;
}

.admin-table-wrap {
  overflow-x: auto;
  margin-top: 8px;
  border: 1px solid rgba(22, 20, 15, 0.16);
  background: #fffaf2;
}

.admin-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  font-size: clamp(17px, 1.5vw, 22px);
}

.admin-table th,
.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(22, 20, 15, 0.12);
  text-align: left;
  vertical-align: top;
}

.admin-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #efe6d6;
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 600;
}

.admin-table tbody th[scope="row"] {
  font-weight: 600;
  min-width: 140px;
}

.admin-table tbody tr.is-answered {
  background: rgba(32, 40, 31, 0.04);
}

.admin-table tbody tr.is-waiting {
  background: rgba(110, 31, 35, 0.04);
}

.admin-table-badge {
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid rgba(22, 20, 15, 0.22);
  font-size: 0.92em;
  white-space: nowrap;
}

.admin-table-badge.is-done {
  background: #20281f;
  color: #fff;
}

.admin-table a {
  color: var(--ink);
  word-break: break-all;
}

.admin-table-note {
  margin-top: 14px;
}

@media (max-width: 760px) {
  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-stat-wide {
    grid-column: 1 / -1;
  }
}

.reveal-line,
.paper,
.ink-card,
.sticker,
.letter-form,
.timer > div,
.final-art {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.is-visible .reveal-line,
.is-visible.paper,
.is-visible.ink-card,
.is-visible.sticker,
.is-visible.letter-form,
.timer.is-visible > div,
.final-art.is-visible {
  opacity: 1;
  transform: translateY(0) rotate(var(--r, 0deg));
}

.note:nth-child(1).is-visible { --r: -1.7deg; }
.note:nth-child(2).is-visible { --r: 1.4deg; }

@keyframes breathe {
  0%, 100% { transform: scale(0.985) rotate(-0.4deg); }
  50% { transform: scale(1) rotate(0.35deg); }
}

@keyframes floaty {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0.46; }
  50% { transform: translate3d(8px, -10px, 0) rotate(18deg); opacity: 0.9; }
}

@keyframes levitateActive {
  0%, 100% { transform: translate3d(0, 6px, 0) scale(1) rotate(var(--active-rotate, 1deg)); }
  50% { transform: translate3d(0, -6px, 0) scale(1) rotate(calc(var(--active-rotate, 1deg) - 0.8deg)); }
}

@keyframes levitateNext {
  0%, 100% { transform: translate3d(18px, -22px, 0) scale(1) rotate(1.5deg); }
  50% { transform: translate3d(22px, -34px, 0) scale(1) rotate(0.8deg); }
}

@keyframes levitateBack {
  0%, 100% { transform: translate3d(-10px, -42px, 0) scale(1) rotate(-1.1deg); }
  50% { transform: translate3d(-14px, -54px, 0) scale(1) rotate(-0.4deg); }
}

@keyframes blink {
  0%, 100% { opacity: 0.25; transform: scale(0.78) rotate(0deg); }
  50% { opacity: 0.9; transform: scale(1.05) rotate(15deg); }
}

@keyframes chevronDown {
  0%, 100% { transform: translateY(-2px) rotate(45deg); opacity: 0.45; }
  50% { transform: translateY(4px) rotate(45deg); opacity: 1; }
}

@keyframes candleSway {
  0%, 100% { transform: rotate(-1deg); opacity: 0.72; }
  50% { transform: rotate(1.3deg); opacity: 0.95; }
}

@keyframes pourGlow {
  0%, 100% { transform: translateY(0) rotate(1deg); opacity: 0.74; }
  50% { transform: translateY(-5px) rotate(-0.5deg); opacity: 0.96; }
}

@keyframes fallingGlass {
  0%, 100% { translate: 0 0; opacity: 0.92; }
  45% { translate: 8px 16px; opacity: 1; }
  70% { translate: -2px 9px; opacity: 0.96; }
}

@media (max-width: 760px) {
  :root {
    --section-min: 820px;
  }

  .opening {
    align-content: start;
    padding-top: 0;
  }

  .decor-chandelier {
    left: -2px;
    top: -18px;
    width: 156px;
  }

  .decor-flowers {
    right: -62px;
    top: 8px;
    width: 292px;
  }

  .opening-names {
    top: 218px;
    width: 260px;
  }

  .decor-star-1 {
    left: 52%;
    top: 150px;
  }

  .decor-star-2 {
    right: 58px;
    top: 326px;
  }

  .decor-star-3 {
    left: 27%;
    top: 670px;
  }

  .decor-star-4 {
    right: 28px;
    top: 760px;
  }

  .envelope-button {
    margin-top: 350px;
  }

  .seal {
    width: 62px;
    height: 62px;
    font-size: 20px;
  }

  .paper {
    min-height: 590px;
  }

  .dark-content {
    position: absolute;
    inset: 0;
    min-height: 0;
    padding: 0;
    font-size: clamp(17px, 4.3vw, 24px);
    line-height: 1.25;
  }

  .ink-card::before {
    display: none;
    animation: none;
  }

  .ink-card::after {
    display: none;
  }

  .dark-content .script {
    margin-bottom: 8px;
    font-size: clamp(38px, 10vw, 54px);
  }

  .info-card {
    --info-lift: 4.5%;
    --info-bg-extra: 14%;
    aspect-ratio: 420 / 692;
    background-position: 48% calc(46% - var(--info-lift) - var(--info-bg-extra));
  }

  .info-copy {
    top: calc(9% - var(--info-lift, 0%));
    left: 13%;
    width: 78%;
    font-size: clamp(16px, 3.85vw, 21px);
    line-height: 1.14;
  }

  .info-copy-time {
    margin-top: 16%;
    margin-left: 30%;
  }

  .info-wishes {
    margin-top: 19%;
    margin-left: 0;
    width: 78%;
  }

  .info-place {
    top: 7%;
    left: 23%;
    width: 62%;
  }

  .info-time {
    top: 31%;
    left: 40%;
    width: 50%;
  }

  .dress-layout {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 16px;
  }

  .dress-photo {
    max-height: 520px;
  }

  .dress-copy {
    font-size: 23px;
    line-height: 1.18;
  }

  .dress-lead {
    max-width: none;
    font-size: 42px;
  }

  .rsvp-section {
    min-height: 1040px;
    padding-top: 260px;
    background-size: auto 780px;
  }

  .rsvp-section .letter-form {
    width: min(390px, 91vw);
    aspect-ratio: auto;
    height: 430px;
    padding: 0;
  }

  .rsvp-section .letter-form::before {
    inset: 12px;
  }

  .rsvp-flowers {
    top: 40px;
    right: 24px;
    width: min(156px, 38%);
    opacity: 0.95;
  }

  .rsvp-subtitle {
    top: 66px;
    left: 7.8%;
    max-width: 56%;
    font-size: clamp(38px, 10.5vw, 50px);
  }

  .guest-chips {
    top: 148px;
    left: 8%;
    right: 8%;
    gap: 8px;
  }

  .guest-chip {
    padding: 5px 8px 5px 15px;
    font-size: clamp(20px, 5.6vw, 23px);
  }

  .chip-state {
    width: 28px;
    height: 28px;
  }

  .rsvp-actions {
    bottom: 0;
    width: min(330px, 78%);
    gap: 12px;
  }

  .rsvp-section .submit-btn {
    min-width: 100%;
    font-size: clamp(25px, 6.8vw, 31px);
  }

  .rsvp-selection {
    font-size: clamp(14px, 3.7vw, 16px);
  }

  .rsvp-section .thanks {
    font-size: clamp(25px, 6.8vw, 31px);
  }

  .rsvp-section .letter-form.sent .rsvp-actions {
    bottom: 28px;
  }

  .rsvp-deadline {
    margin-top: 92px;
    padding-left: clamp(18px, 8vw, 52px);
    font-size: clamp(27px, 7.4vw, 32px);
  }

  .timer-section {
    min-height: var(--section-min);
    padding-top: 96px;
  }

  .timer-florals {
    top: -142px;
    left: 59%;
    width: 138px;
    height: auto;
  }

  .timer-star-top {
    top: 106px;
    left: 26%;
    width: 28px;
    height: 28px;
  }

  .timer-star-right {
    top: 292px;
    right: 9%;
    width: 31px;
    height: 31px;
  }

  .timer-star-left {
    left: 15%;
    bottom: 128px;
    width: 27px;
    height: 27px;
  }

  .timer-title {
    width: max-content;
    max-width: none;
    margin-top: 56px;
    font-size: clamp(34px, 9.6vw, 46px);
    white-space: nowrap;
  }

  .timer-scene {
    height: 520px;
    margin-top: 28px;
  }

  .timer-waiter {
    left: 50%;
    bottom: 10px;
    width: min(440px, 98vw);
    transform: translateX(-50%) rotate(-1deg);
  }

  .timer-glass {
    width: 42px;
    height: 59px;
  }

  .timer-glass-one {
    right: 20%;
    top: 210px;
  }

  .timer-glass-two {
    right: 8%;
    top: 304px;
  }

  .timer {
    top: 76px;
    left: 50%;
    width: min(310px, 74vw);
    gap: 8px;
    transform: translateX(-50%);
  }

  .timer-item {
    gap: 6px;
    min-height: 50px;
    padding: 0;
  }

  .timer-days {
    width: auto;
  }

  .timer-hours {
    width: auto;
  }

  .timer-minutes {
    width: auto;
  }

  .timer strong {
    font-size: clamp(24px, 6.6vw, 34px);
  }

  .timer span {
    font-size: clamp(14px, 3.7vw, 18px);
  }

  .note:nth-child(1),
  .note:nth-child(2),
  .letter-form,
  .ink-card,
  .paper {
    transform: none;
  }

  .choice span {
    padding: 7px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
