:root {
  --ivory: #f5f0e7;
  --ivory-deep: #ebe2d5;
  --paper: #faf7f0;
  --paper-warm: #f2ebdf;
  --champagne: #b39871;
  --champagne-dark: #806b4f;
  --olive: #78745e;
  --olive-deep: #5f6250;
  --ink: #675d51;
  --ink-deep: #4e473d;
  --ink-soft: #918477;
  --shadow: rgba(69, 55, 39, 0.16);
  --serif: Baskerville, "Iowan Old Style", "Palatino Linotype", Palatino,
    Georgia, serif;
  --script: "Snell Roundhand", "Apple Chancery", "URW Chancery L",
    "Brush Script MT", cursive;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
}

body.intro-active {
  overflow: hidden;
}

button,
a {
  color: inherit;
  font: inherit;
}

img,
canvas {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border: 1px solid rgba(128, 107, 79, 0.34);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.experience {
  min-height: 100vh;
}

/* Continuous envelope film */
.envelope-scene {
  position: fixed;
  z-index: 20;
  inset: 0;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.92), transparent 48%),
    #eee7dd;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 950ms ease,
    visibility 0s linear 0s;
}

.envelope-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: repeating-linear-gradient(
    16deg,
    transparent 0 7px,
    rgba(98, 78, 55, 0.05) 8px,
    transparent 9px 16px
  );
  pointer-events: none;
}

.motion-frame {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: min(100vw, 66.6667vh);
  height: 100vh;
  margin: auto;
  overflow: hidden;
  background: #f4efe6 url("assets/envelope-closed-pointed.jpg") center / cover no-repeat;
  box-shadow: 0 0 84px rgba(79, 65, 48, 0.12);
  perspective: 1600px;
}

.motion-frame::after {
  content: "";
  position: absolute;
  z-index: 8;
  inset: 0;
  border-right: 1px solid rgba(120, 98, 73, 0.08);
  border-left: 1px solid rgba(120, 98, 73, 0.08);
  pointer-events: none;
}

.envelope-canvas {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
}

.motion-card {
  position: absolute;
  z-index: 3;
  top: 55%;
  left: 50%;
  width: 59%;
  aspect-ratio: 0.72;
  padding: clamp(26px, 4.6vh, 52px) clamp(17px, 3vw, 36px);
  transform: translate(-50%, 12%) scale(0.91);
  border: 1px solid rgba(151, 124, 86, 0.32);
  background:
    linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.22)),
    repeating-linear-gradient(
      12deg,
      transparent 0 5px,
      rgba(128, 103, 73, 0.025) 6px,
      transparent 7px 13px
    ),
    #faf4e9;
  box-shadow: 0 24px 52px rgba(72, 57, 40, 0.24);
  text-align: center;
  opacity: 0;
}

.motion-card::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(179, 152, 113, 0.36);
  pointer-events: none;
}

.motion-card p,
.motion-card h2,
.motion-card time {
  position: relative;
  z-index: 1;
}

.motion-card p {
  margin: 0 0 1.4rem;
  color: #71685c;
  font-size: clamp(0.42rem, 1.1vh, 0.68rem);
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

.motion-card h2 {
  margin: 0;
  color: #5d5144;
  font-size: clamp(1.55rem, 4.25vh, 3.18rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
}

.motion-card h2 span {
  display: block;
  margin: 0.5em 0;
  color: var(--champagne);
  font-size: 0.5em;
  font-style: normal;
}

.motion-card time {
  display: block;
  margin-top: 1.6rem;
  color: #6f573b;
  font-size: clamp(0.55rem, 1.35vh, 0.82rem);
  letter-spacing: 0.22em;
}

.motion-card.is-rising {
  animation: card-rising 2.12s cubic-bezier(0.16, 0.78, 0.18, 1) forwards;
}

.motion-pocket {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(0 31.8%, 50% 60.2%, 100% 31.8%, 100% 100%, 0 100%);
  opacity: 0;
  transform: scale(1.07);
  transform-origin: 50% 56%;
  pointer-events: none;
}

.experience.is-opening .motion-pocket {
  animation: pocket-settle 1.28s cubic-bezier(0.2, 0.72, 0.2, 1) 2.05s forwards;
}

.cinematic-light {
  position: absolute;
  z-index: 7;
  inset: -20%;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.22) 46%,
    transparent 62%
  );
  opacity: 0;
  transform: translateX(-35%);
  pointer-events: none;
}

.experience.is-opening .cinematic-light {
  animation: light-pass 2.8s ease-in-out 420ms forwards;
}

.open-controls {
  position: absolute;
  z-index: 12;
  right: 0;
  bottom: clamp(34px, 8vh, 112px);
  left: 0;
  display: grid;
  justify-items: center;
  gap: 9px;
  padding: 0 20px;
  text-align: center;
}

.open-button {
  min-height: 52px;
  padding: 13px 18px;
  border: 0;
  background: rgba(247, 242, 233, 0.12);
  color: #987650;
  font-size: clamp(0.92rem, 2.2vw, 1.18rem);
  letter-spacing: 0.2em;
  line-height: 1.45;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.94);
  cursor: pointer;
  transition:
    color 180ms ease,
    transform 180ms ease,
    background-color 180ms ease;
}

.open-button:hover {
  color: #785a3c;
  transform: translateY(-2px);
  background: rgba(247, 242, 233, 0.3);
}

.open-button:disabled {
  cursor: default;
}

.open-button:focus-visible,
.replay-button:focus-visible,
.outline-button:focus-visible,
.rsvp-button:focus-visible,
.scroll-cue:focus-visible {
  outline: 2px solid var(--champagne-dark);
  outline-offset: 5px;
}

.experience.is-opening .open-controls {
  animation: controls-out 480ms ease forwards;
  pointer-events: none;
}

.experience.is-revealed .envelope-scene {
  opacity: 0;
  visibility: hidden;
  transition-delay: 0s, 950ms;
  pointer-events: none;
}

@keyframes card-rising {
  0% {
    top: 55%;
    opacity: 0;
    transform: translate(-50%, 12%) scale(0.91);
  }
  12% {
    opacity: 1;
  }
  72% {
    opacity: 1;
  }
  100% {
    top: 5%;
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

@keyframes pocket-settle {
  0% {
    opacity: 0;
    transform: scale(1.07);
  }
  28% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes light-pass {
  0% {
    opacity: 0;
    transform: translateX(-35%);
  }
  24% {
    opacity: 0.54;
  }
  75% {
    opacity: 0.2;
  }
  100% {
    opacity: 0;
    transform: translateX(35%);
  }
}

@keyframes controls-out {
  to {
    opacity: 0;
    transform: translateY(12px);
  }
}

/* Scrolling invitation */
.invitation-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  background: var(--paper);
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px);
  transition:
    opacity 1s ease 120ms,
    transform 1.15s cubic-bezier(0.2, 0.72, 0.2, 1) 80ms,
    visibility 0s linear 1.1s;
}

.experience.is-revealed .invitation-page {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 120ms, 80ms, 0s;
}

.page-section {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
}

.invitation-hero {
  min-height: max(100vh, 960px);
  padding: clamp(72px, 12vw, 138px) 24px;
  background:
    linear-gradient(rgba(246, 240, 231, 0.07), rgba(246, 240, 231, 0.07)),
    url("assets/floral-frame.jpg") center / cover no-repeat;
}

.invitation-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(247, 241, 232, 0.36) 0%,
    rgba(247, 241, 232, 0.14) 46%,
    transparent 72%
  );
  pointer-events: none;
}

.invitation-hero__content {
  position: relative;
  z-index: 2;
  width: min(700px, 92vw);
  padding: clamp(42px, 7vw, 72px) clamp(24px, 7vw, 72px);
  border: 1px solid rgba(128, 107, 79, 0.2);
  background: rgba(250, 246, 238, 0.9);
  box-shadow: 0 26px 70px rgba(73, 58, 40, 0.14);
  text-align: center;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.invitation-hero__content::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(179, 152, 113, 0.28);
  pointer-events: none;
}

.overline {
  margin: 0 0 clamp(24px, 4vw, 38px);
  color: var(--olive-deep);
  font-size: clamp(0.67rem, 1.5vw, 0.82rem);
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.hero-emblem {
  width: clamp(76px, 12vw, 112px);
  margin: 0 auto 26px;
  opacity: 0.88;
}

.script-title {
  margin: 0 0 -0.08em;
  color: #666451;
  font-family: var(--script);
  font-size: clamp(4.2rem, 14vw, 8.8rem);
  font-weight: 400;
  line-height: 0.9;
}

.invitation-hero h1 {
  margin: 24px 0 18px;
  color: var(--ink-deep);
  font-size: clamp(2rem, 7vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.invitation-hero h1 span {
  color: var(--champagne-dark);
  font-size: 0.7em;
}

.hero-copy {
  max-width: 430px;
  margin: 0 auto;
  color: #5e574d;
  font-size: clamp(0.94rem, 2.4vw, 1.12rem);
  letter-spacing: 0.06em;
  line-height: 1.7;
}

.event-date {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin: clamp(42px, 8vw, 72px) 0 38px;
  color: #5f594c;
}

.event-date > span {
  padding: 12px 8px;
  border-top: 1px solid rgba(120, 116, 94, 0.5);
  border-bottom: 1px solid rgba(120, 116, 94, 0.5);
  font-size: clamp(0.69rem, 1.8vw, 0.86rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-date time {
  padding: 0 clamp(12px, 4vw, 30px);
  color: #5b5547;
  font-family: var(--script);
  font-size: clamp(1.65rem, 5.5vw, 3.2rem);
  line-height: 1;
  white-space: nowrap;
}

.event-date time b {
  font-weight: 400;
}

.ornament {
  display: flex;
  width: min(220px, 72%);
  align-items: center;
  margin: 0 auto 38px;
  color: var(--olive);
}

.ornament span {
  flex: 1;
  height: 1px;
  background: rgba(120, 116, 94, 0.55);
}

.ornament i {
  margin: 0 10px;
  font-style: normal;
}

.invitation-hero address {
  display: grid;
  gap: 8px;
  color: #514d41;
  font-style: normal;
  text-transform: uppercase;
}

.invitation-hero address strong {
  font-size: clamp(0.95rem, 2.4vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 0.18em;
}

.invitation-hero address span {
  font-size: clamp(0.72rem, 1.8vw, 0.9rem);
  letter-spacing: 0.14em;
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  bottom: 22px;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 9px;
  transform: translateX(-50%);
  color: rgba(102, 96, 78, 0.72);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue i {
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  animation: scroll-pulse 1.8s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%,
  100% {
    transform: translateY(0) rotate(45deg);
    opacity: 0.45;
  }
  50% {
    transform: translateY(7px) rotate(45deg);
    opacity: 1;
  }
}

.countdown-section {
  min-height: 100vh;
  align-content: center;
  gap: clamp(50px, 9vw, 90px);
  padding: clamp(88px, 14vw, 154px) 22px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.86), transparent 52%),
    #faf8f3;
}

.section-heading {
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  color: #71695d;
  font-family: var(--script);
  font-size: clamp(4.4rem, 14vw, 8rem);
  font-weight: 400;
  line-height: 0.92;
}

.section-heading p {
  margin: 22px 0 0;
  color: #9b8e80;
  font-size: clamp(0.82rem, 2vw, 1rem);
  letter-spacing: 0.25em;
}

.countdown-layout {
  display: grid;
  grid-template-columns: minmax(82px, 1fr) minmax(170px, 280px) minmax(82px, 1fr);
  grid-template-rows: 1fr 1fr;
  width: min(850px, 100%);
  min-height: 480px;
  align-items: center;
  gap: 24px clamp(8px, 3vw, 36px);
}

.countdown-unit {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #776d61;
  text-align: center;
}

.countdown-unit strong {
  font-size: clamp(2.7rem, 9vw, 5.2rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1;
}

.countdown-unit span {
  color: #9b8d80;
  font-size: clamp(0.7rem, 1.8vw, 0.92rem);
  letter-spacing: 0.2em;
  text-transform: lowercase;
}

.countdown-unit--days {
  grid-column: 1;
  grid-row: 1;
}

.countdown-unit--hours {
  grid-column: 3;
  grid-row: 1;
}

.countdown-unit--minutes {
  grid-column: 1;
  grid-row: 2;
}

.countdown-unit--seconds {
  grid-column: 3;
  grid-row: 2;
}

.countdown-crest {
  grid-column: 2;
  grid-row: 1 / 3;
  width: min(240px, 100%);
  justify-self: center;
  opacity: 0.76;
}

.location-section {
  min-height: 110vh;
  align-content: center;
  gap: clamp(38px, 7vw, 70px);
  padding: clamp(88px, 14vw, 150px) 20px;
  background:
    linear-gradient(rgba(250, 248, 243, 0.95), rgba(250, 248, 243, 0.95)),
    repeating-linear-gradient(
      12deg,
      transparent 0 6px,
      rgba(108, 91, 68, 0.03) 7px,
      transparent 8px 15px
    );
}

.venue-figure {
  display: grid;
  width: min(880px, 94vw);
  justify-items: center;
  gap: 20px;
  margin: 0;
}

.venue-figure img {
  width: min(780px, 100%);
  filter: grayscale(1) sepia(0.18) opacity(0.76);
}

.venue-figure figcaption {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #716b5a;
  text-align: center;
  text-transform: uppercase;
}

.venue-figure figcaption strong {
  font-size: clamp(1.1rem, 3vw, 1.45rem);
  font-weight: 400;
  letter-spacing: 0.18em;
}

.venue-figure figcaption span {
  color: #928578;
  font-size: 0.8rem;
  letter-spacing: 0.17em;
}

.outline-button {
  min-width: 210px;
  padding: 14px 22px;
  border: 1px solid rgba(128, 107, 79, 0.3);
  color: #84745f;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.outline-button:hover {
  transform: translateY(-2px);
  border-color: rgba(128, 107, 79, 0.56);
  background: rgba(179, 152, 113, 0.08);
}

.celebration-section {
  min-height: 110vh;
  padding: clamp(78px, 12vw, 132px) 20px;
  background: #eee6d8;
}

.celebration-paper {
  position: relative;
  display: grid;
  width: min(720px, 92vw);
  justify-items: center;
  gap: clamp(38px, 7vw, 68px);
  padding: clamp(58px, 10vw, 105px) clamp(28px, 8vw, 78px)
    clamp(40px, 8vw, 78px);
  border: 1px solid rgba(128, 107, 79, 0.12);
  background:
    linear-gradient(rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02)),
    repeating-linear-gradient(
      13deg,
      transparent 0 6px,
      rgba(108, 91, 68, 0.025) 7px,
      transparent 8px 15px
    ),
    #f4eee4;
  box-shadow: 0 24px 60px rgba(73, 58, 40, 0.08);
  text-align: center;
}

.celebration-paper p {
  max-width: 540px;
  margin: 0;
  color: #6f6959;
  font-family: var(--script);
  font-size: clamp(2.15rem, 7vw, 4.1rem);
  line-height: 1.34;
}

.celebration-paper p:nth-child(2) {
  font-size: clamp(1.85rem, 6vw, 3.55rem);
}

.celebration-paper img {
  width: min(370px, 82%);
  margin-top: -12px;
  filter: grayscale(1) sepia(0.18) opacity(0.72);
}

.rsvp-section {
  min-height: 100vh;
  padding: clamp(82px, 13vw, 144px) 20px;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.88), transparent 48%),
    repeating-linear-gradient(
      14deg,
      transparent 0 7px,
      rgba(108, 91, 68, 0.024) 8px,
      transparent 9px 16px
    ),
    #f2ebdf;
}

.rsvp-card {
  position: relative;
  display: grid;
  width: min(740px, 92vw);
  justify-items: center;
  padding: clamp(58px, 10vw, 98px) clamp(28px, 8vw, 86px);
  border: 1px solid rgba(128, 107, 79, 0.22);
  background: rgba(250, 247, 240, 0.94);
  box-shadow: 0 28px 76px rgba(73, 58, 40, 0.13);
  text-align: center;
}

.rsvp-card::before {
  content: "";
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(179, 152, 113, 0.3);
  pointer-events: none;
}

.rsvp-emblem {
  width: 88px;
  margin-bottom: 22px;
  opacity: 0.76;
}

.rsvp-kicker {
  margin: 0;
  color: var(--olive-deep);
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.rsvp-card h2 {
  margin: 20px 0 24px;
  color: var(--ink-deep);
  font-family: var(--script);
  font-size: clamp(3.6rem, 11vw, 6.7rem);
  font-weight: 400;
  line-height: 0.98;
}

.rsvp-copy {
  max-width: 500px;
  margin: 0;
  color: #615a50;
  font-size: clamp(1rem, 2.4vw, 1.16rem);
  letter-spacing: 0.035em;
  line-height: 1.75;
}

.rsvp-button {
  min-width: min(280px, 100%);
  margin-top: 38px;
  padding: 16px 24px;
  border: 1px solid var(--olive-deep);
  background: var(--olive-deep);
  color: #fffaf1;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.rsvp-button:hover {
  transform: translateY(-2px);
  background: #4f5243;
}

.rsvp-number {
  margin: 17px 0 0;
  color: #8b7c6d;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 70px 22px max(70px, env(safe-area-inset-bottom));
  background: #f8f4ec;
  color: #817664;
  text-align: center;
}

.footer-emblem {
  width: 48px;
  opacity: 0.68;
}

.site-footer p {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.replay-button {
  margin-top: 8px;
  padding: 9px 10px;
  border: 0;
  border-bottom: 1px solid rgba(128, 107, 79, 0.4);
  background: transparent;
  color: var(--champagne-dark);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 900ms ease,
    transform 1.05s cubic-bezier(0.2, 0.72, 0.2, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}

.noscript-message {
  position: fixed;
  z-index: 200;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 16px;
  border: 1px solid rgba(128, 107, 79, 0.32);
  background: var(--paper);
  text-align: center;
}

@media (max-width: 600px) {
  .open-controls {
    bottom: max(30px, 6.5vh);
  }

  .open-button {
    max-width: 330px;
    font-size: 0.9rem;
    letter-spacing: 0.16em;
  }

  .invitation-hero {
    min-height: max(100vh, 900px);
    padding-right: 16px;
    padding-left: 16px;
  }

  .invitation-hero__content {
    width: min(570px, 94vw);
    padding-right: 20px;
    padding-left: 20px;
  }

  .invitation-hero h1 {
    letter-spacing: 0.1em;
  }

  .event-date > span {
    padding-right: 4px;
    padding-left: 4px;
    letter-spacing: 0.08em;
  }

  .event-date time {
    padding-right: 10px;
    padding-left: 10px;
  }

  .countdown-layout {
    grid-template-columns: minmax(76px, 1fr) minmax(126px, 1.35fr) minmax(76px, 1fr);
    min-height: 390px;
    gap: 14px 4px;
  }

  .countdown-unit strong {
    font-size: clamp(2.35rem, 11.5vw, 3.1rem);
  }

  .countdown-unit span {
    font-size: 0.64rem;
  }

  .location-section {
    min-height: 100vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
  }
}

@supports (height: 100dvh) {
  .motion-frame,
  .envelope-scene {
    height: 100dvh;
    min-height: 100dvh;
  }

  .motion-frame {
    width: min(100vw, 66.6667dvh);
  }

  .page-section {
    min-height: 100dvh;
  }

  .invitation-hero {
    min-height: max(100dvh, 960px);
  }
}
