/* ==========================================================
   Jade Envelope — wedding invitation
   ========================================================== */

:root {
  --teal: #174B49;
  --teal-2: #233F3B;
  --ink: #23403C;
  --gold: #A8915E;
  --muted: #6A7C75;
  --paper: #F0F1E7;
  --card: #F8F8F1;
  --line: #CDBF98;
  --champagne: #C2AB7A;
  --white: #FFFFFF;

  --serif: "Cormorant Garamond", Georgia, serif;
  --script: "Imperial Script", "Parisienne", cursive;

  --col: min(100vw, 480px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .25, 1);

  /* Where the envelope flaps meet (the seal sits here) */
  --cx: 50%;
  --cy: 50%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: radial-gradient(ellipse at 50% 0%, #F4F5EC, #DCE1D2 70%) fixed;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; height: 100vh; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
.defs { position: absolute; width: 0; height: 0; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--teal); color: #fff; padding: 8px 14px; border-radius: 4px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

/* ---------- Shared type ---------- */
.eyebrow {
  font-size: 12px; letter-spacing: .26em; text-transform: uppercase;
  font-weight: 500; color: var(--ink);
}
.script { font-family: var(--script); font-weight: 400; }
.script-title {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(38px, 10vw, 50px);
  line-height: 1.15;
  color: var(--teal);
}
.muted { color: var(--muted); font-size: 16px; }
.lead { font-size: 20px; margin-bottom: 14px; }
.divider {
  position: relative; display: block; width: 72px; height: 1px; margin: 22px auto;
  background: linear-gradient(90deg, transparent, var(--champagne), transparent);
}
.divider::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px;
  border-radius: 50%; background: var(--champagne); transform: translate(-50%, -50%);
}

/* ==========================================================
   Envelope opening
   ========================================================== */
.opening {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--teal-2);
  transition: opacity 1s var(--ease), visibility 0s 1s;
}
.opening.is-gone { opacity: 0; visibility: hidden; }

.envelope {
  position: relative;
  width: var(--col); height: 100vh; height: 100svh;
  perspective: 1400px;
  overflow: hidden;
  background: #F6F6EE;
}

/* Light that leaks out once the seal breaks */
.glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--cx) var(--cy), #fff 0%, #F6F6EE 30%, #DCE2D2 70%);
  opacity: 0;
  transition: opacity .8s ease;
}
.is-split .glow { opacity: 1; }

/* Each flap is the full envelope size clipped to a triangle, so the
   embossed pattern lines up across all four. */
.flap {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  filter: drop-shadow(0 0 .6px rgba(236, 232, 212, .9)) drop-shadow(0 6px 10px rgba(3, 18, 16, .65));
  transition: transform 1.6s var(--ease-io), opacity 1.3s ease .3s;
}
.flap__face {
  position: absolute; inset: 0;
  background: var(--shade), url("img/envelope-texture.webp") center / cover;
}
.flap--top    { transform-origin: 50% 0;    z-index: 4; }
.flap--bottom { transform-origin: 50% 100%; z-index: 3; }
.flap--left   { transform-origin: 0 50%;    z-index: 2; }
.flap--right  { transform-origin: 100% 50%; z-index: 2; }

.flap--top .flap__face    { clip-path: polygon(0 0, 100% 0, var(--cx) var(--cy)); --shade: linear-gradient(to bottom, rgba(255,255,255,.08), rgba(255,255,255,.02)); }
.flap--bottom .flap__face { clip-path: polygon(0 100%, var(--cx) var(--cy), 100% 100%); --shade: linear-gradient(to top, rgba(3,18,16,.12), rgba(3,18,16,.34)); }
.flap--left .flap__face   { clip-path: polygon(0 0, var(--cx) var(--cy), 0 100%); --shade: linear-gradient(to right, rgba(3,18,16,.18), rgba(3,18,16,.45)); }
.flap--right .flap__face  { clip-path: polygon(100% 0, 100% 100%, var(--cx) var(--cy)); --shade: linear-gradient(to left, rgba(3,18,16,.18), rgba(3,18,16,.45)); }

.is-opening .flap--top    { transform: rotateX(125deg); opacity: 0; }
.is-opening .flap--bottom { transform: rotateX(-125deg); opacity: 0; transition-delay: .12s, .42s; }
.is-opening .flap--left   { transform: rotateY(-125deg); opacity: 0; transition-delay: .06s, .36s; }
.is-opening .flap--right  { transform: rotateY(125deg); opacity: 0; transition-delay: .06s, .36s; }

/* ---------- Wax seal ---------- */
.seal {
  position: absolute; z-index: 10;
  left: var(--cx); top: var(--cy);
  width: min(42vw, 190px); aspect-ratio: 1;
  translate: -50% -50%;
  padding: 0; border: 0; background: none;
  border-radius: 50%;
  filter: drop-shadow(0 10px 14px rgba(5, 26, 24, .5));
  animation: seal-float 4s ease-in-out infinite;
}
.seal:hover { scale: 1.04; }
.seal:focus-visible { outline-offset: 10px; }
@keyframes seal-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

.seal__half {
  position: absolute; inset: 0; width: 100%; height: 100%;
  transition: transform 1.2s cubic-bezier(.45, 0, .7, .4), opacity 1.1s ease .15s;
}
/* The jagged edge matches the crack path drawn in the SVG */
.seal__half--a { clip-path: polygon(0 0, 49% 0, 49% 2%, 54% 14%, 47% 24%, 55% 35%, 46% 47%, 56% 58%, 48% 69%, 54% 80%, 47% 90%, 51% 98%, 51% 100%, 0 100%); }
.seal__half--b { clip-path: polygon(49% 0, 100% 0, 100% 100%, 51% 100%, 51% 98%, 47% 90%, 54% 80%, 48% 69%, 56% 58%, 46% 47%, 55% 35%, 47% 24%, 54% 14%, 49% 2%); }

.seal__crack { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.seal__crack path {
  fill: none; stroke: #8C7A55; stroke-width: 1.4; stroke-linejoin: round;
  stroke-dasharray: 120; stroke-dashoffset: 120;
  filter: drop-shadow(0 0 1px rgba(255,255,255,.8));
}

.is-cracking .seal { animation: seal-shake .55s ease-in-out; }
.is-cracking .seal__crack path { transition: stroke-dashoffset .45s ease-in .15s; stroke-dashoffset: 0; }
@keyframes seal-shake {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-4deg) scale(1.03); }
  40% { transform: rotate(3deg); }
  60% { transform: rotate(-2deg) scale(1.02); }
  80% { transform: rotate(1deg); }
}
.is-split .seal { animation: none; filter: none; }
.is-split .seal__crack { opacity: 0; transition: opacity .2s; }
.is-split .seal__half--a { transform: translate(-70%, 140%) rotate(-38deg); opacity: 0; }
.is-split .seal__half--b { transform: translate(70%, 150%) rotate(42deg); opacity: 0; }

/* ---------- "Open your invitation" label ---------- */
.open-label {
  position: absolute; z-index: 9; left: 50%; bottom: 13%;
  translate: -50% 0;
  display: grid; gap: 4px; justify-items: center;
  min-width: 220px; padding: 14px 26px;
  background: rgba(248, 248, 241, .94);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 10px 30px rgba(5, 26, 24, .35);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink);
  transition: opacity .5s ease, transform .5s ease;
  animation: label-in 1.2s .4s var(--ease) both;
}
.open-label span { font-size: 13px; white-space: nowrap; }
.open-label small { font-size: 12px; color: var(--muted); }
@keyframes label-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.is-cracking .open-label { animation: none; opacity: 0; transform: translateY(20px); pointer-events: none; }

/* ==========================================================
   Invite column
   ========================================================== */
.invite {
  position: relative;
  width: var(--col); margin: 0 auto;
  background: var(--paper);
  box-shadow: 0 0 60px rgba(23, 75, 73, .12);
  overflow: hidden;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 620px;
  overflow: hidden;
  text-align: center;
}
.hero__scene, .closing__scene {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 60%;
}
.hero__scene { animation: drift 30s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.12) translateY(-1%); } }

.hero__text {
  position: absolute; z-index: 6; left: 0; right: 0; top: 11%;
  display: grid; justify-items: center; gap: 8px;
  padding: 0 40px;
  text-shadow: 0 0 10px rgba(248, 248, 241, .95), 0 0 22px rgba(248, 248, 241, .7);
}
.hero__text::before {
  content: ""; position: absolute; inset: -8% 10% -12%; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(248, 248, 241, .82), rgba(248, 248, 241, 0) 70%);
}
.hero__date { font-size: 16px; letter-spacing: .3em; color: var(--ink); }
.hero__names { display: grid; justify-items: center; line-height: .95; margin: 10px 0 6px; }
.hero__names .script { font-size: clamp(70px, 21vw, 96px); color: var(--teal); }
.hero__amp { font-size: 30px; color: var(--gold); margin: 2px 0; }
.hero__fam { font-size: 18px; font-style: italic; margin-bottom: 4px; }

.rise { opacity: 0; transform: translateY(20px); }
.is-open .rise { animation: rise 1.4s var(--ease) calc(var(--d, 0s) + 1.2s) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Chiffon panels (closed → part open) ---------- */
.chiffon {
  position: absolute; z-index: 5; top: -2%; bottom: -2%; width: 54%;
  background:
    linear-gradient(to bottom, rgba(255,255,255,.35), rgba(255,255,255,0) 30%, rgba(255,255,255,.2)),
    repeating-linear-gradient(90deg,
      rgba(226, 228, 210, .55) 0 10px,
      rgba(246, 246, 236, .35) 10px 24px,
      rgba(208, 214, 192, .5) 24px 33px,
      rgba(250, 250, 242, .3) 33px 48px);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  filter: url(#ripple);
  transition: transform 2.6s var(--ease-io), opacity 2.2s ease .5s;
}
.chiffon--left  { left: -2%;  transform-origin: left center;  -webkit-mask-image: linear-gradient(to right, #000 75%, transparent); mask-image: linear-gradient(to right, #000 75%, transparent); }
.chiffon--right { right: -2%; transform-origin: right center; -webkit-mask-image: linear-gradient(to left, #000 75%, transparent);  mask-image: linear-gradient(to left, #000 75%, transparent); }
.hero:not(.is-closed) .chiffon--left  { transform: translateX(-85%) scaleX(.5); opacity: 0; }
.hero:not(.is-closed) .chiffon--right { transform: translateX(85%) scaleX(.5); opacity: 0; }

/* ---------- Tied-back curtains that billow ---------- */
.curtain {
  position: absolute; z-index: 4; top: -3%; height: 106%; width: 32%;
  pointer-events: none;
  transition: transform 2.4s var(--ease) .9s, opacity 1.8s ease .9s;
}
/* The panel image is a full-width sheet, so fade its inner edge and let the scene show through */
.curtain img { width: 100%; height: 100%; object-fit: fill; filter: url(#ripple); opacity: .82; }
.curtain--left  { left: -8%;  transform-origin: 0 0;    -webkit-mask-image: linear-gradient(to right, #000 55%, transparent); mask-image: linear-gradient(to right, #000 55%, transparent); }
.curtain--right { right: -8%; transform-origin: 100% 0; -webkit-mask-image: linear-gradient(to left, #000 55%, transparent);  mask-image: linear-gradient(to left, #000 55%, transparent); }
.curtain--right img { transform: scaleX(-1); }
.hero.is-closed .curtain { opacity: 0; }
.hero.is-closed .curtain--left  { transform: translateX(30%) scaleX(1.4); }
.hero.is-closed .curtain--right { transform: translateX(-30%) scaleX(1.4); }

/* The billow runs on the image so it doesn't fight the wrapper's open transition */
.curtain img { animation: billow 7s ease-in-out infinite alternate; }
.curtain--left img  { transform-origin: 0 0; }
.curtain--right img { transform-origin: 50% 0; animation-name: billow-r; animation-duration: 8s; animation-delay: -2s; }
@keyframes billow {
  0%   { transform: skewX(0deg) scaleX(1); }
  35%  { transform: skewX(2.2deg) scaleX(1.05); }
  70%  { transform: skewX(-1deg) scaleX(.97); }
  100% { transform: skewX(1.4deg) scaleX(1.03); }
}
@keyframes billow-r {
  0%   { transform: scaleX(-1) skewX(0deg); }
  35%  { transform: scaleX(-1.05) skewX(2.2deg); }
  70%  { transform: scaleX(-.97) skewX(-1deg); }
  100% { transform: scaleX(-1.03) skewX(1.4deg); }
}

/* ==========================================================
   Panels
   ========================================================== */
.panel {
  position: relative;
  padding: 96px 30px;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid rgba(205, 191, 152, .35);
}
.panel:nth-of-type(odd) { background: var(--card); }
.panel__inner { position: relative; z-index: 2; max-width: 380px; margin: 0 auto; }
/* Soft wash behind the text so it stays readable over the florals */
.panel__inner::before {
  content: ""; position: absolute; inset: -30px -40px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(248, 248, 241, .85) 35%, rgba(248, 248, 241, 0) 72%);
}
.panel p + p { margin-top: 12px; }

.deco { position: absolute; z-index: 1; pointer-events: none; opacity: .55; }
/* The corner art grows from its top-left, so mirror it into the top-right */
.deco--corner { top: -30px; right: -70px; width: 78%; transform: scaleX(-1); }
.deco--spray  { bottom: -40px; left: -80px; width: 40%; }
.deco--low    { opacity: .45; }

/* ---------- Countdown ---------- */
.countdown {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: 30px 0 22px;
}
.countdown span { display: block; font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; color: var(--teal); }
.countdown small { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 36px 0 26px; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 18px; bottom: 18px; width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold) 12%, var(--gold) 88%, transparent);
  opacity: .5;
}
.timeline li {
  position: relative;
  display: grid; grid-template-columns: 1fr 44px 1fr; align-items: center; gap: 14px;
  padding: 12px 0;
}
.timeline time { text-align: right; font-size: 22px; }
.timeline img { width: 34px; height: 36px; object-fit: contain; justify-self: center; background: var(--paper); border-radius: 50%; padding: 2px; }
.timeline span { text-align: left; font-size: 19px; }

/* ---------- Venue ---------- */
.venue__arch {
  margin: 30px auto 0;
  width: 100%; aspect-ratio: 4 / 3;
  border-radius: 50% 50% 0 0 / 38% 38% 0 0;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(23, 75, 73, .18);
}
.venue__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }

.venue__card {
  position: relative;
  margin: -46px 6px 0;
  padding: 58px 26px 30px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 170px 170px 14px 14px;
  display: grid; gap: 10px; justify-items: center;
}
.venue__card::before {
  content: ""; position: absolute; inset: 6px; pointer-events: none;
  border: 1px solid rgba(205, 191, 152, .45);
  border-radius: 164px 164px 10px 10px;
}
.venue__card h3 { font-size: 30px; font-weight: 500; color: var(--teal); }
.venue__card .divider { margin: 6px auto; }
.venue__when { font-size: 20px; margin: 4px 0 10px; }
.venue__sprig { position: absolute; left: -16px; top: 70px; width: 64px; rotate: -18deg; opacity: .9; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; max-width: 260px; padding: 13px 22px;
  border-radius: 999px;
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  cursor: pointer;
  transition: background .3s, color .3s, transform .3s;
}
.btn:hover { transform: translateY(-1px); }
.btn--solid { background: var(--teal); color: #fff; border: 1px solid var(--teal); }
.btn--solid:hover { background: var(--teal-2); }
.btn--ghost { background: transparent; color: var(--teal); border: 1px solid var(--teal); }
.btn--ghost:hover { background: var(--teal); color: #fff; }
.btn--pill {
  width: auto; letter-spacing: .06em; text-transform: none; font-size: 17px;
  color: var(--teal); border: 1px solid rgba(23, 75, 73, .5);
  background: rgba(248, 248, 241, .7);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}

/* ---------- Notes ---------- */
.notes .script-title { margin-bottom: 12px; }
.notes .deco { opacity: .4; }
.notes .deco--corner { width: 62%; top: -40px; }
.notes .divider { margin: 38px auto; }

/* ---------- RSVP ---------- */
.rsvp { padding: 80px 22px; background: var(--paper); }
.rsvp__card {
  position: relative; z-index: 2;
  padding: 50px 22px 30px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 150px 150px 14px 14px;
  box-shadow: 0 20px 50px rgba(23, 75, 73, .08);
}
.rsvp__icon { width: 30px; height: 30px; margin: 14px auto 6px; fill: none; stroke: var(--teal); stroke-width: 1.2; }
.rsvp__card .script-title { font-size: clamp(34px, 9vw, 42px); margin-bottom: 10px; }
#rsvp-form { display: grid; gap: 8px; margin-top: 26px; text-align: left; }
#rsvp-form label { font-size: 16px; margin-top: 6px; }
#rsvp-form input, #rsvp-form select {
  width: 100%; padding: 12px 14px;
  background: #fff; border: 1px solid #CED3C3; border-radius: 4px;
  font-size: 17px; color: var(--ink);
}
#rsvp-form input:focus, #rsvp-form select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(168, 145, 94, .18); }
#rsvp-form .btn { justify-self: center; margin-top: 18px; }
.form-note { text-align: center; font-size: 14px; color: var(--muted); margin-top: 6px; }

/* ---------- Closing ---------- */
.closing {
  position: relative; height: 100vh; height: 100svh; min-height: 640px;
  overflow: hidden; text-align: center;
}
.closing::after {
  content: ""; position: absolute; inset: 0; z-index: 3;
  background: radial-gradient(ellipse at 50% 40%, rgba(248, 248, 241, .75), rgba(248, 248, 241, .15) 60%, transparent 80%);
}
.closing .curtain { opacity: 1; }
.closing__text {
  position: absolute; z-index: 6; left: 0; right: 0; top: 12%;
  display: grid; justify-items: center; gap: 10px; padding: 0 40px;
}
.closing__love { font-family: var(--script); font-size: 46px; line-height: 1.05; color: var(--teal); margin-top: 6px; }
.closing__names { font-size: 58px; line-height: 1; color: var(--teal); }
.closing__names span { font-family: var(--serif); font-size: 26px; margin: 0 8px; color: var(--gold); }
.closing__line { font-size: 19px; font-style: italic; margin: 6px 0 12px; }

/* ---------- Footer ---------- */
.foot { padding: 50px 30px 120px; text-align: center; display: grid; gap: 18px; justify-items: center; }
.replay {
  background: none; border: 0; border-bottom: 1px solid rgba(23, 75, 73, .3);
  padding: 4px 2px; font-size: 17px; color: var(--teal);
}
.replay:hover { border-color: var(--teal); }
.foot__mark { font-size: 36px; color: var(--teal); margin-top: 8px; }

/* ==========================================================
   Petals
   ========================================================== */
.petals {
  position: fixed; z-index: 30; top: 0; left: 50%;
  width: var(--col); height: 100vh;
  translate: -50% 0;
  pointer-events: none; overflow: hidden;
}
.petal {
  position: absolute; top: 0; left: var(--x); width: var(--size);
  will-change: transform;
  animation: fall var(--dur) linear var(--delay) infinite;
  opacity: 0;
}
.petal img {
  width: 100%;
  animation: flutter var(--sway) ease-in-out infinite alternate;
  filter: drop-shadow(0 3px 4px rgba(23, 75, 73, .18));
}
@keyframes fall {
  0%   { transform: translate3d(0, -12vh, 0) rotate(0deg); opacity: 0; }
  8%   { opacity: var(--alpha); }
  90%  { opacity: var(--alpha); }
  100% { transform: translate3d(var(--drift), 110vh, 0) rotate(var(--rot)); opacity: 0; }
}
@keyframes flutter {
  from { transform: translateX(-18px) rotateY(0deg) rotateZ(-12deg); }
  to   { transform: translateX(18px) rotateY(60deg) rotateZ(12deg); }
}

/* ==========================================================
   Controls + toast
   ========================================================== */
.controls {
  position: fixed; z-index: 40; bottom: 16px;
  right: max(14px, calc(50vw - 240px + 14px));
  display: flex; gap: 8px;
}
.controls[hidden] { display: none; }
.controls button {
  padding: 9px 16px; border-radius: 999px;
  background: var(--teal); color: #fff; border: 0;
  font-size: 14px; letter-spacing: .02em;
  box-shadow: 0 6px 18px rgba(23, 75, 73, .3);
}
.controls button:hover { background: var(--teal-2); }

.toast {
  position: fixed; left: 50%; bottom: 72px; z-index: 60;
  transform: translate(-50%, 16px);
  max-width: calc(var(--col) - 40px);
  padding: 10px 18px; border-radius: 999px;
  background: var(--teal); color: #fff; font-size: 15px; text-align: center;
  opacity: 0; pointer-events: none;
  transition: opacity .35s, transform .35s var(--ease);
}
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================
   Scroll reveals
   ========================================================== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.timeline li.reveal:nth-child(2) { transition-delay: .08s; }
.timeline li.reveal:nth-child(3) { transition-delay: .16s; }
.timeline li.reveal:nth-child(4) { transition-delay: .24s; }
.timeline li.reveal:nth-child(5) { transition-delay: .32s; }

/* ---------- Pause motion ---------- */
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .petals { display: none; }
  .chiffon, .curtain img { filter: none; }
  html { scroll-behavior: auto; }
}
