/* =====================================================================
   Fariha & Ahmed — Baraat invitation
   Palette and ornament drawn from the printed floral invitation.
   ===================================================================== */

:root {
  --paper: #F2E7D6;
  --paper-deep: #E9DAC3;
  --card: #FFFBF4;
  --champagne: #E3CDAA;
  --blush: #F1D4CB;
  --rose: #C4918B;
  --sage: #8E9C7F;
  --teal: #6F948F;
  --teal-deep: #52766F;
  --gold: #A9814E;
  --gold-soft: #C9A878;
  --gold-line: rgba(169, 129, 78, .62);
  --ink: #32231B;
  --ink-2: #543A2C;
  --ink-3: #74584A;

  --f-display: "Cormorant Garamond", "Cormorant", Garamond, Georgia, serif;
  --f-name: "Pinyon Script", "Great Vibes", "Snell Roundhand", cursive;
  --f-body: "EB Garamond", Garamond, Georgia, serif;
  --f-script: "Great Vibes", "Snell Roundhand", "Apple Chancery", cursive;
  --f-arabic: "Amiri Quran", "Amiri", "Scheherazade New", "Traditional Arabic", serif;
  --f-urdu: "Gulzar", "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "Urdu Typesetting", serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-soft: cubic-bezier(.45, .05, .25, 1);
  --paper-tex: url("assets/paper.jpg");

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper) var(--paper-tex) 0 0 / 512px repeat;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-sealed { overflow: hidden; height: 100vh; height: 100dvh; }

img { display: block; max-width: 100%; height: auto; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: inherit; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--teal-deep); outline-offset: 4px; border-radius: 6px; }

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

/* shared gem divider used in the intro hint and hero */
.gem { display: block; width: 100%; height: auto; overflow: visible; }
.gem__line { fill: none; stroke: var(--gold-line); stroke-width: 1.2; }
.gem__fill { fill: var(--gold); }

/* =====================================================================
   Desktop backdrop
   ===================================================================== */
.backdrop { display: none; }

@media (min-width: 760px) {
  body { background: #E8D9C3; }
  .backdrop {
    display: block; position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
    background: #EADCC6 var(--paper-tex) 0 0 / 512px repeat;
  }
  .backdrop::before {
    content: ""; position: absolute; inset: -60px;
    background: url("assets/scene-blank.webp") center / cover no-repeat;
    filter: blur(26px) saturate(.9); opacity: .5;
  }
  .backdrop::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 45%, rgba(242, 231, 214, .2), rgba(214, 192, 160, .35) 80%);
  }
  .backdrop__floral { position: absolute; width: clamp(240px, 26vw, 420px); opacity: .95; }
  .backdrop__floral--tl { top: 0; left: 0; }
  .backdrop__floral--tr { top: 0; right: 0; transform: scaleX(-1); }
  .backdrop__floral--bl { bottom: 0; left: 0; }
  .backdrop__floral--br { bottom: 0; right: 0; transform: scaleX(-1); }
}

/* =====================================================================
   EnvelopeIntro
   ===================================================================== */
.intro {
  position: fixed; inset: 0; z-index: 60;
  display: grid; place-items: center;
  overflow: hidden;
  background: #EFE2CE;
  touch-action: none;
  transition: opacity .95s var(--ease) .15s, visibility 0s linear 1.2s;
}
.intro[hidden] { display: none; }

.intro__scene {
  position: absolute; top: 50%; left: 50%;
  width: max(100vw, 56.28vh);
  aspect-ratio: 941 / 1672;
  transform: translate(-50%, -50%);
  background: url("assets/scene-blank.webp") center / 100% 100% no-repeat;
  transition: transform 2.4s var(--ease-soft), filter 1.4s var(--ease);
}
@media (min-aspect-ratio: 4 / 5) {
  .intro { background: #E9DBC4; }
  .intro::before {
    content: ""; position: absolute; inset: -60px;
    background: url("assets/scene-blank.webp") center / cover no-repeat;
    filter: blur(26px) saturate(.9); opacity: .55;
  }
  .intro__scene {
    width: auto; height: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
  }
}

.intro__stage {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(20px, 4.5vh, 40px);
  padding: env(safe-area-inset-top) 16px env(safe-area-inset-bottom);
  animation: stage-in 1.3s var(--ease) backwards;
  transition: transform 1.1s var(--ease-soft), opacity .9s var(--ease);
}
@keyframes stage-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.envelope {
  --env-w: min(86vw, 460px, calc((100vh - 230px) * 1.336));
  --env-w: min(86vw, 460px, calc((100dvh - 230px) * 1.336));
  position: relative;
  width: var(--env-w);
  aspect-ratio: 1196 / 895;
  container-type: inline-size;
  cursor: pointer;
}
.envelope::before { /* soft cast shadow */
  content: ""; position: absolute; left: 4%; right: 4%; bottom: -5%; height: 26%;
  background: radial-gradient(ellipse at 50% 50%, rgba(92, 62, 40, .34), rgba(92, 62, 40, 0) 70%);
  filter: blur(6px); z-index: 0;
  transition: opacity .8s var(--ease);
}

.envelope__back {
  position: absolute; inset: .6% .3% .4%; z-index: 1;
  border-radius: 1.4% / 1.9%;
  background: linear-gradient(180deg, #E4D2B6, #EADCC6 40%);
  overflow: hidden;
}
.envelope__back::before { /* teal pin-dot liner, visible once the flap lifts */
  content: ""; position: absolute; left: 3%; right: 3%; top: 2.4%; height: 74%;
  background:
    radial-gradient(circle, rgba(232, 204, 156, .55) 0 1.1px, transparent 1.7px) 0 0 / 13px 13px,
    radial-gradient(circle, rgba(232, 204, 156, .3) 0 .8px, transparent 1.3px) 6.5px 6.5px / 13px 13px,
    linear-gradient(180deg, #6F918C, #5B7D78);
  clip-path: polygon(0 0, 100% 0, 100% 21%, 50% 92%, 0 22%);
}
.envelope__back::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 16px 24px -10px rgba(48, 32, 20, .45);
}

.envelope__card {
  position: absolute; left: 7%; right: 7%; top: 6%; height: 88%; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  padding-top: 5.5cqw;
  text-align: center;
  background: var(--card) var(--paper-tex) 0 0 / 300px;
  border-radius: 2px;
  box-shadow:
    inset 0 0 0 2.4cqw var(--card),
    inset 0 0 0 calc(2.4cqw + 1px) var(--gold-soft),
    inset 0 0 0 3.4cqw var(--card),
    inset 0 0 0 calc(3.4cqw + .6px) rgba(169, 129, 78, .45),
    0 1px 3px rgba(60, 40, 25, .25);
  transition: transform 1s cubic-bezier(.25, .7, .2, 1) .95s;
}
.envelope__card-fleur { width: 13cqw; opacity: .9; }
.envelope__card-kicker {
  margin-top: 1.4cqw;
  font: 600 2.5cqw/1 var(--f-display); letter-spacing: .32em; text-transform: uppercase; color: var(--ink-3);
}
.envelope__card-names { margin-top: 1cqw; font: 6.6cqw/1.4 var(--f-name); color: var(--ink-2); padding: 0 6%; }
.envelope__card-date { margin-top: .6cqw; font: 600 2.6cqw/1 var(--f-display); letter-spacing: .28em; color: var(--gold); }

.envelope__pocket {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  filter: drop-shadow(0 -1px 2px rgba(60, 40, 25, .18));
}
.envelope__pocket-face {
  position: absolute; inset: 0;
  background: url("assets/envelope.webp") 0 0 / 100% 100% no-repeat;
  clip-path: polygon(0 16.6%, 49.75% 68.9%, 100% 16.1%, 100% 100%, 0 100%);
}

.envelope__flap {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  transform-origin: 50% 0;
  transform-style: preserve-3d;
  transform: perspective(1100px) rotateX(0deg);
}
.envelope__flap-face, .envelope__flap-inner {
  position: absolute; inset: 0;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.envelope__flap-face { filter: drop-shadow(0 2px 2.5px rgba(60, 40, 25, .24)); }
.envelope__flap-face::before {
  content: ""; position: absolute; inset: 0;
  background: url("assets/envelope.webp") 0 0 / 100% 100% no-repeat;
  clip-path: polygon(0 0, 100% 0, 100% 18.8%, 49.75% 72.2%, 0 19.3%);
}
.envelope__flap-inner { transform: rotateY(180deg); }
.envelope__flap-inner::before, .envelope__flap-inner::after { content: ""; position: absolute; inset: 0; }
.envelope__flap-inner::before {
  background: linear-gradient(0deg, #E6D6BD, #EFE3D0);
  clip-path: polygon(0 0, 100% 0, 100% 18.8%, 49.75% 72.2%, 0 19.3%);
}
.envelope__flap-inner::after {
  background:
    radial-gradient(circle, rgba(232, 204, 156, .55) 0 1.1px, transparent 1.7px) 0 0 / 13px 13px,
    radial-gradient(circle, rgba(232, 204, 156, .3) 0 .8px, transparent 1.3px) 6.5px 6.5px / 13px 13px,
    linear-gradient(0deg, #6F918C, #5B7D78);
  clip-path: polygon(3% 2.5%, 97% 2.5%, 97% 17.6%, 49.75% 64%, 3% 18%);
}

/* wax seal */
.seal {
  position: absolute; z-index: 5;
  left: 49.75%; top: 59.2%;
  width: 30.1%; aspect-ratio: 1;
  padding: 0; border: 0; background: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.seal:focus-visible { outline-offset: 2px; border-radius: 50%; }
.seal::after { /* one gentle glow to invite the tap, then it rests */
  content: ""; position: absolute; inset: 8%; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 236, 200, .0);
  animation: seal-hint 2.6s ease-in-out 1.8s 2;
  pointer-events: none;
}
@keyframes seal-hint {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 238, 205, 0); }
  50% { box-shadow: 0 0 18px 6px rgba(255, 238, 205, .55); }
}
.seal__body { position: absolute; inset: 0; transition: transform .18s var(--ease); }
.seal:hover .seal__body { transform: scale(1.025); }
.seal:active .seal__body { transform: scale(.955); }
.seal__half {
  position: absolute; inset: 0;
  background: url("assets/seal.webp") center / 100% 100% no-repeat;
  filter: drop-shadow(0 2px 3px rgba(60, 35, 20, .28));
}
.seal__half--l { clip-path: polygon(0 0, 53.4% 0, 49.6% 15%, 55.4% 30%, 47.6% 46%, 54.6% 61%, 46.6% 77%, 52.6% 90%, 49.6% 100%, 0 100%); }
.seal__half--r { clip-path: polygon(53% 0, 100% 0, 100% 100%, 49.2% 100%, 52.2% 90%, 46.2% 77%, 54.2% 61%, 47.2% 46%, 55% 30%, 49.2% 15%); }

.intro__hint {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  width: 190px;
  font: italic 400 18px/1 var(--f-body);
  letter-spacing: .06em;
  color: var(--ink-3);
  opacity: 0;
  animation: fade-in 1.2s var(--ease) .9s forwards;
  transition: opacity .4s var(--ease);
}
.intro__hint .gem { width: 150px; }
@keyframes fade-in { to { opacity: 1; } }

.intro__veil {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0;
  background: radial-gradient(ellipse at 50% 42%, rgba(255, 251, 243, .96), rgba(250, 240, 226, .8) 55%, rgba(242, 231, 214, .55));
  transition: opacity .7s var(--ease);
}

/* ---- opening choreography (≈2.4s) ---- */
.intro.is-opening { cursor: default; }
.intro.is-opening .seal { pointer-events: none; }
.intro.is-opening .seal::after { animation: none; }
.intro.is-opening .intro__hint { opacity: 0; animation: none; }
.intro.is-opening .seal__body { animation: seal-press .3s cubic-bezier(.3, 0, .3, 1) both; }
.intro.is-opening .seal__half--l { animation: seal-fall-l .8s cubic-bezier(.45, 0, .7, .45) .24s both; }
.intro.is-opening .seal__half--r { animation: seal-fall-r .8s cubic-bezier(.45, 0, .7, .45) .24s both; }
.intro.is-opening .envelope__flap {
  animation:
    flap-open .9s cubic-bezier(.65, 0, .35, 1) .4s both,
    flap-depth .9s steps(1, end) .4s both;
}
.intro.is-opening .envelope__card { transform: translateY(-57%); }
.intro.is-opening .intro__stage { transform: translateY(13%); transition-delay: .85s; }

@keyframes seal-press {
  0% { transform: scale(1); }
  45% { transform: scale(.92); }
  100% { transform: scale(1.01); }
}
@keyframes seal-fall-l {
  0% { transform: none; opacity: 1; }
  20% { transform: translate(-3%, 1%) rotate(-5deg); opacity: 1; }
  100% { transform: translate(-26%, 78%) rotate(-32deg); opacity: 0; }
}
@keyframes seal-fall-r {
  0% { transform: none; opacity: 1; }
  20% { transform: translate(3%, 1%) rotate(5deg); opacity: 1; }
  100% { transform: translate(26%, 84%) rotate(30deg); opacity: 0; }
}
@keyframes flap-open {
  from { transform: perspective(1100px) rotateX(0deg); }
  to { transform: perspective(1100px) rotateX(180deg); }
}
@keyframes flap-depth {
  0% { z-index: 4; }
  50% { z-index: 1; }
  100% { z-index: 1; }
}

.intro.is-revealing { opacity: 0; visibility: hidden; pointer-events: none; }
.intro.is-revealing .intro__veil { opacity: 1; }
.intro.is-revealing .intro__stage { transform: translateY(8%) scale(1.16); opacity: 0; transition: transform 1.2s var(--ease-soft), opacity .8s var(--ease) .1s; }
.intro.is-revealing .intro__scene { transform: translate(-50%, -50%) scale(1.06); filter: blur(2px); }

/* =====================================================================
   The invitation column
   ===================================================================== */
.invite {
  position: relative; z-index: 1;
  width: 100%; max-width: 600px;
  margin: 0 auto;
  background: var(--paper) var(--paper-tex) 0 0 / 512px repeat;
  overflow: hidden;
  padding-bottom: env(safe-area-inset-bottom);
}
@media (min-width: 760px) {
  .invite {
    margin: 48px auto;
    border-radius: 6px;
    box-shadow:
      0 0 0 1px rgba(169, 129, 78, .32),
      0 50px 100px -40px rgba(70, 45, 28, .55),
      0 12px 36px -14px rgba(70, 45, 28, .3);
  }
}

.sec {
  position: relative;
  padding: 96px 24px;
  text-align: center;
}

.deco { position: absolute; pointer-events: none; user-select: none; z-index: 0; }
/* painted clusters bleed off their source canvas; soften those edges into the paper */
.deco--tl, .deco--tr, .deco--flow-tr, .deco--rsvp-tr {
  -webkit-mask-image: linear-gradient(transparent, #000 24%);
  mask-image: linear-gradient(transparent, #000 24%);
}
.deco--bl, .deco--br, .deco--flow-bl, .deco--close-l, .deco--close-r, .visual__fg {
  -webkit-mask-image: linear-gradient(#000 72%, transparent);
  mask-image: linear-gradient(#000 72%, transparent);
}
.deco--drape-l, .deco--drape-r, .deco--venue-l {
  -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 70%, transparent);
  mask-image: linear-gradient(transparent, #000 14%, #000 70%, transparent);
}

/* ---- reveal system ---- */
.js [data-reveal] {
  opacity: 0;
  transition: opacity 1s var(--ease), transform 1.15s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal="up"] { transform: translate3d(0, 22px, 0); }
.js [data-reveal="fade"] { transform: scale(.985); }
.js [data-reveal="bloom-l"] { transform: translate3d(-16px, 6px, 0) scale(.97); transition-duration: 1.6s, 1.8s; }
.js [data-reveal="bloom-r"] { transform: translate3d(16px, 6px, 0) scale(.97) scaleX(-1); transition-duration: 1.6s, 1.8s; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="bloom-r"].is-in { transform: scaleX(-1); }

.js [data-reveal="line"] { opacity: 0; transition: opacity .8s var(--ease); }
.js [data-reveal="line"].is-in { opacity: 1; }
.js [data-reveal="line"] .rule__line,
.js [data-reveal="line"] .lined__line { transform: scaleX(0); transition: transform 1.3s var(--ease) .1s; }
.js [data-reveal="line"] .rule__line:first-child,
.js [data-reveal="line"] .lined__line:first-child { transform-origin: 100% 50%; }
.js [data-reveal="line"] .rule__line:last-child,
.js [data-reveal="line"] .lined__line:last-child { transform-origin: 0 50%; }
.js [data-reveal="line"].is-in .rule__line,
.js [data-reveal="line"].is-in .lined__line { transform: none; }

.js [data-reveal="draw"] { opacity: 1; transform: none; }
.js [data-reveal="draw"] .arch__path { stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease-soft); }
.js [data-reveal="draw"] .arch__path--inner { transition-delay: .25s; }
.js [data-reveal="draw"] .arch__sides::before,
.js [data-reveal="draw"] .arch__sides::after { transform: scaleY(0); transition: transform 2.2s var(--ease-soft) .9s; }
.js [data-reveal="draw"].is-in .arch__path { stroke-dashoffset: 0; }
.js [data-reveal="draw"].is-in .arch__sides::before,
.js [data-reveal="draw"].is-in .arch__sides::after { transform: none; }

/* ---- shared typographic pieces ---- */
.rule {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: min(100%, 300px); margin: 18px auto;
}
.rule--narrow { width: min(100%, 220px); }
.rule__line { flex: 1; height: 1px; background: var(--gold-line); }
.rule__gem { width: 34px; height: 12px; flex: none; fill: var(--gold); }

.lined {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: min(100%, 300px); margin: 4px auto 2px;
}
.lined__line { flex: 1; height: 1px; background: var(--gold-line); }

.script { font-family: var(--f-script); font-weight: 400; color: var(--ink-2); }

.kicker, .eyebrow {
  font-family: var(--f-display); font-weight: 600;
  text-transform: uppercase;
  color: var(--ink);
}
.kicker { font-size: clamp(12px, 3.5vw, 15px); letter-spacing: .2em; text-wrap: balance; }
.eyebrow { font-size: clamp(12.5px, 3.4vw, 14px); letter-spacing: .38em; color: var(--ink-2); padding-left: .38em; }

.section-title {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(34px, 10vw, 46px); line-height: 1.1;
  font-variant-caps: small-caps; letter-spacing: .06em;
  color: var(--ink);
}

.fleur { width: 88px; margin: 0 auto 10px; }

/* =====================================================================
   BaraatHero
   ===================================================================== */
.hero {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 560px;
  overflow: hidden;
  container-type: size;
  background: #EEE0CB;
}
.hero__art {
  position: absolute; left: 50%; top: 0;
  width: max(100cqw, 56.28cqh);
  aspect-ratio: 941 / 1672;
  translate: -50% 0;
  container-type: inline-size;
  transform: translate3d(0, var(--py, 0px), 0);
  will-change: transform;
}
.hero__img {
  width: 100%; height: 100%;
  transform: scale(1.08);
  transform-origin: 50% 30%;
  transition: transform 3.2s var(--ease-soft);
}
.is-open .hero__img { transform: none; }

.hero__text {
  position: absolute; left: 20%; right: 20%; top: 26%;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.hero__title { display: flex; flex-direction: column; align-items: center; }
.hero__title:focus { outline: none; }
.hero__urdu {
  display: block;
  font-family: var(--f-urdu);
  font-size: 17.5cqw;
  line-height: 1.75;
  color: #6A4A33;
  text-shadow: 0 1px 0 rgba(255, 248, 236, .5);
  margin-top: -3cqw;
}
.hero__rule { display: block; width: 58cqw; margin-top: -1cqw; }
.hero__rule--short { width: 44cqw; margin-top: 3.2cqw; }
.hero__latin {
  display: block;
  margin-top: 3cqw;
  padding-left: .42em;
  font-family: var(--f-display); font-weight: 600;
  font-size: 7.6cqw; line-height: 1;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--ink);
}

.js .hero__urdu, .js .hero__rule, .js .hero__latin {
  opacity: 0; transform: translate3d(0, 18px, 0);
  transition: opacity 1.3s var(--ease), transform 1.5s var(--ease);
}
.js .hero__rule { transform: scaleX(.4); }
.is-open .hero__urdu { opacity: 1; transform: none; transition-delay: .55s; }
.is-open .hero__title .hero__rule { opacity: 1; transform: none; transition-delay: .95s; }
.is-open .hero__latin { opacity: 1; transform: none; transition-delay: 1.15s; }
.is-open .hero__rule--short { opacity: 1; transform: none; transition-delay: 1.4s; }

.hero__cue {
  position: absolute; left: 50%; bottom: calc(58px + env(safe-area-inset-bottom));
  width: 44px; height: 44px; margin-left: -22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 250, 241, .72);
  box-shadow: 0 0 0 1px rgba(169, 129, 78, .45), 0 6px 16px -6px rgba(70, 45, 28, .35);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; transition: opacity 1s var(--ease) 2s;
}
.is-open .hero__cue { opacity: 1; }
.hero__cue svg { width: 20px; height: 20px; fill: none; stroke: var(--ink-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hero {
  -webkit-mask-image: linear-gradient(#000 calc(100% - 90px), transparent);
  mask-image: linear-gradient(#000 calc(100% - 90px), transparent);
}

/* =====================================================================
   Bismillah + formal invitation + names
   ===================================================================== */
.formal { padding: 0 12px 150px; }

.arch {
  position: absolute; left: 14px; right: 14px; top: 56px; bottom: 70px;
  display: flex; flex-direction: column;
  pointer-events: none;
}
.arch__crown { display: block; width: 100%; height: auto; flex: none; overflow: visible; }
.arch__path {
  fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 0;
  vector-effect: non-scaling-stroke;
}
.arch__path--inner { stroke: var(--gold-line); stroke-width: 1; }
.arch__sides { position: relative; flex: 1; margin-top: -1px; }
.arch__sides::before, .arch__sides::after {
  content: ""; position: absolute; top: 0; bottom: 0; transform-origin: 50% 0;
  -webkit-mask-image: linear-gradient(#000 70%, transparent);
  mask-image: linear-gradient(#000 70%, transparent);
}
.arch__sides::before { left: 1%; right: 1%; border-left: 1.5px solid var(--gold); border-right: 1.5px solid var(--gold); }
.arch__sides::after { left: 3.25%; right: 3.25%; border-left: 1px solid var(--gold-line); border-right: 1px solid var(--gold-line); }

.deco--tl, .deco--tr { top: -8px; width: clamp(150px, 42vw, 240px); }
.deco--tl { left: -10px; }
.deco--tr { right: -10px; transform: scaleX(-1); }
.deco--bl, .deco--br { bottom: -6px; width: clamp(150px, 44vw, 250px); }
.deco--bl { left: -14px; }
.deco--br { right: -14px; transform: scaleX(-1); }

.formal__inner {
  position: relative; z-index: 1;
  max-width: 440px; margin: 0 auto;
  padding: calc(56px + min(26vw, 150px)) 24px 0;
}
.bismillah {
  font-family: var(--f-arabic);
  font-size: clamp(25px, 7.4vw, 34px);
  line-height: 2.1;
  color: var(--ink-2);
  word-spacing: .06em;
}
.formal .rule { margin: 4px auto 22px; }
.lede {
  margin-top: 14px;
  font-style: italic; font-size: clamp(18px, 5vw, 21px); line-height: 1.45;
  color: var(--ink-2);
}
.lede span { display: block; }

.names { margin-top: 30px; }
.name {
  font-family: var(--f-name); font-weight: 400;
  /* sized so the full name holds one line from 360px up */
  font-size: clamp(42px, 13.2vw, 66px); line-height: 1.3;
  letter-spacing: .005em;
  color: var(--ink);
  text-wrap: balance;
}
.names .lined .script {
  font-family: var(--f-body); font-style: italic;
  font-size: clamp(17px, 4.8vw, 20px); line-height: 1.4;
  letter-spacing: .06em; padding: 0 .2em;
  color: var(--ink-3);
}
.parent {
  font-size: clamp(19px, 5.4vw, 23px); line-height: 1.3;
  letter-spacing: .02em;
  color: var(--ink);
}
.and {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin: 18px 0 10px;
}
.and__word { font-family: var(--f-name); font-size: clamp(42px, 12.5vw, 58px); line-height: 1.3; color: var(--gold); padding: 0 10px; }
.and__sprig { width: 50px; opacity: .95; }
.and__sprig--r { transform: scaleX(-1); }
.formal .fleur { margin-top: 34px; width: 96px; }

/* =====================================================================
   WeddingVisual
   ===================================================================== */
.visual { position: relative; margin-top: -40px; }
.visual__frame {
  position: relative;
  height: clamp(520px, 150vw, 760px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 80%, transparent);
  mask-image: linear-gradient(transparent, #000 12%, #000 80%, transparent);
}
.visual__img {
  position: absolute; left: 0; top: -9%;
  width: 100%; height: 118%;
  object-fit: cover; object-position: 50% 30%;
  transform: translate3d(0, var(--py, 0px), 0);
  will-change: transform;
}
.visual__fg {
  position: absolute; bottom: -30px; width: clamp(140px, 40vw, 230px); z-index: 2;
  transform: translate3d(0, var(--py, 0px), 0);
}
.visual__fg--l { left: -18px; }
.visual__fg--r { right: -18px; transform: translate3d(0, var(--py, 0px), 0) scaleX(-1); }
.visual__caption {
  position: absolute; left: 50%; bottom: 6%; z-index: 3;
  width: min(92%, 420px); padding: 26px 0 30px;
  transform: translateX(-50%);
  text-align: center;
}
.visual__caption::before { /* candle-lit haze so the words read over the aisle */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255, 248, 236, .92), rgba(255, 246, 232, .6) 55%, rgba(255, 246, 232, 0) 100%);
}
.visual__script { font-family: var(--f-script); font-size: clamp(46px, 13vw, 64px); line-height: 1.1; color: #4E3526; text-shadow: 0 0 22px rgba(255, 246, 232, .95), 0 0 6px rgba(255, 246, 232, .9); }
.visual__caps {
  margin-top: 2px; padding-left: .5em;
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(14px, 4vw, 18px); letter-spacing: .5em; text-transform: uppercase;
  color: var(--ink); text-shadow: 0 0 14px rgba(255, 246, 232, .95);
}

/* =====================================================================
   DateSection
   ===================================================================== */
.date { padding-top: 70px; padding-bottom: 56px; }
.deco--drape-l, .deco--drape-r { top: -40px; width: clamp(40px, 11vw, 66px); }
.deco--drape-l { left: 0; }
.deco--drape-r { right: 0; transform: scaleX(-1); }
.date__medallion { width: 84px; margin: 0 auto; }
.icon-cal { width: 100%; height: auto; display: block; }
.icon-cal__frame { fill: none; stroke: var(--ink-2); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.icon-cal__day { fill: var(--ink-3); opacity: .55; }
.icon-cal__heart { fill: var(--rose); }
.date__title { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 6px 0; }
.date__day {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(40px, 12vw, 56px); line-height: 1; letter-spacing: .16em; padding-left: .16em;
  text-transform: uppercase; color: var(--ink);
}
.date__full {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(30px, 9.2vw, 44px); line-height: 1.1; letter-spacing: .05em;
  text-transform: uppercase; color: var(--ink);
  font-variant-numeric: lining-nums;
}
.date__script { font-family: var(--f-script); font-size: clamp(40px, 11.5vw, 54px); line-height: 1.2; color: var(--ink-2); }

/* =====================================================================
   CountdownTimer
   ===================================================================== */
.countdown { padding-top: 40px; padding-bottom: 36px; }
.countdown__title { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.countdown__script { font-family: var(--f-script); font-size: clamp(36px, 10vw, 48px); line-height: 1.15; color: var(--ink-2); }
.countdown__caps {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(36px, 11vw, 54px); line-height: 1; letter-spacing: .04em;
  font-variant-caps: small-caps;
  color: var(--ink);
}
.countdown__timer {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 2.6vw, 16px);
  max-width: 460px; margin: 30px auto 0;
}
.tile {
  position: relative;
  aspect-ratio: 80 / 120;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding-top: 22%;
}
.tile__arch { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tile__arch path {
  fill: rgba(255, 251, 244, .72);
  stroke: var(--gold); stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 0;
}
.js .countdown__timer[data-reveal] .tile__arch path { stroke-dashoffset: 1; transition: stroke-dashoffset 2s var(--ease-soft) .2s; }
.js .countdown__timer.is-in .tile__arch path { stroke-dashoffset: 0; }
.tile::before { /* inner hairline */
  content: ""; position: absolute; left: 9%; right: 9%; bottom: 5%; height: 1px; background: var(--gold-line);
}
.tile__num {
  position: relative;
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(30px, 8.6vw, 46px); line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--ink);
}
.tile__label {
  position: relative; margin-top: 8px;
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(9.5px, 2.6vw, 12px); letter-spacing: .16em; padding-left: .16em;
  text-transform: uppercase; color: var(--ink-2);
}
.countdown__done { display: flex; flex-direction: column; align-items: center; margin-top: 26px; animation: fade-up 1.2s var(--ease) both; }
.countdown__done[hidden] { display: none; }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.countdown__note { margin-top: 22px; font-style: italic; font-size: clamp(15.5px, 4.3vw, 18px); color: var(--ink-3); }
.garland { width: min(88%, 420px); margin: 16px auto 0; }

/* =====================================================================
   EventTimeline
   ===================================================================== */
.flow { padding-top: 64px; padding-bottom: 150px; }
.deco--flow-tr { top: -30px; right: -20px; width: clamp(130px, 36vw, 210px); }
.js .deco--flow-tr[data-reveal] { transform: translate3d(16px, 6px, 0) scale(.97) scaleX(-1); }
.deco--flow-tr, .js .deco--flow-tr.is-in { transform: scaleX(-1); }
.deco--flow-bl { bottom: -10px; left: -16px; width: clamp(140px, 40vw, 230px); }

.flow__list { list-style: none; margin: 26px auto 0; padding: 0; max-width: 420px; }
.flow__item { display: flex; flex-direction: column; align-items: center; }
.flow__art { display: flex; align-items: center; justify-content: center; gap: clamp(4px, 2vw, 14px); }
.flow__sprig { width: clamp(46px, 13vw, 60px); }
.flow__sprig--r { transform: scaleX(-1); }
.flow__icon { height: clamp(78px, 22vw, 100px); width: auto; }
.flow__icon--dinner { height: clamp(64px, 18vw, 82px); margin: 7px 0; }
.flow__icon--rukhsati { height: clamp(64px, 18vw, 82px); margin: 7px 0; }
.flow__name {
  margin-top: 12px;
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(27px, 7.8vw, 34px); line-height: 1.1;
  letter-spacing: .12em; padding-left: .12em;
  text-transform: uppercase; color: var(--ink);
}
.flow__time {
  margin-top: 4px;
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(21px, 6vw, 26px); letter-spacing: .08em;
  font-variant-numeric: lining-nums; color: var(--ink-2);
}
.flow__note { margin-top: 2px; font-style: italic; font-size: 16.5px; color: var(--ink-3); }
.flow__link {
  position: relative; height: 96px; margin: 18px auto;
  display: flex; align-items: center; justify-content: center;
}
.flow__line {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; margin-left: -.5px;
  background: linear-gradient(var(--gold-line), var(--gold) 50%, var(--gold-line));
  transform: scaleY(var(--progress, 1)); transform-origin: 50% 0;
}
.js .flow__line { --progress: 0; }
.flow__gem {
  position: relative; width: 12px; height: 12px; fill: var(--gold);
  opacity: calc(var(--progress, 1) * 2 - .6);
}

/* =====================================================================
   VenueSection + MapAndQR
   ===================================================================== */
.venue { padding-top: 50px; padding-bottom: 110px; }
.deco--venue-l { top: 0; left: 0; width: clamp(40px, 11vw, 66px); }
.venue .eyebrow { margin-bottom: 10px; }
.venue__pin { display: flex; align-items: center; justify-content: center; gap: 10px; }
.venue__sprig { width: 56px; transform: rotate(-58deg); }
.venue__sprig--r { transform: scaleX(-1) rotate(-58deg); }
.icon-pin { width: 40px; height: auto; }
.icon-pin__body { fill: var(--ink-2); }
.icon-pin__dot { fill: var(--paper); }
.venue__name {
  margin-top: 14px;
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(32px, 9.6vw, 46px); line-height: 1.08;
  letter-spacing: .05em;
  text-transform: uppercase; text-wrap: balance; color: var(--ink);
}
.venue .rule { margin: 14px auto; }
.venue__address { font-size: clamp(19px, 5.4vw, 23px); line-height: 1.35; color: var(--ink); text-wrap: balance; }

.venue__scene {
  margin: 30px -24px 0;
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 52%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 70% at 50% 52%, #000 55%, transparent 100%);
}
.venue__scene img { width: 100%; }

.btn-location {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; margin-top: 18px; padding: 0 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, #5E4232, #3E2A1F);
  color: #FBF1E2;
  font-family: var(--f-display); font-weight: 600;
  font-size: 17px; letter-spacing: .26em; text-transform: uppercase;
  box-shadow:
    inset 0 0 0 3px #4A3226,
    inset 0 0 0 4px rgba(214, 180, 128, .75),
    0 10px 24px -12px rgba(62, 42, 31, .7);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.btn-location:hover { transform: translateY(-1px); background: linear-gradient(180deg, #684A38, #452F23); }
.btn-location:active { transform: translateY(1px) scale(.99); }
.btn-location__icon { width: 18px; height: 18px; fill: #E9CFA4; flex: none; }

.locate {
  display: grid; grid-template-columns: 1fr; gap: 30px;
  max-width: 420px; margin: 44px auto 0;
}

.map-card {
  position: relative; display: block;
  border-radius: 16px;
  padding: 7px;
  background: var(--card);
  box-shadow: 0 0 0 1px rgba(169, 129, 78, .55), inset 0 0 0 1px rgba(169, 129, 78, .25), 0 16px 34px -20px rgba(70, 45, 28, .55);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.map-card:hover { transform: translateY(-2px); }
.map { display: block; width: 100%; height: auto; border-radius: 11px; }
.map__bg { fill: #EEE2CD; }
.map__blocks rect { fill: #E6D6BD; }
.map__streets path { fill: none; stroke: #FAF3E7; stroke-width: 5; stroke-linecap: round; }
.map__highway { fill: none; stroke: #D2B282; stroke-width: 17; stroke-linecap: round; }
.map__highway-line { fill: none; stroke: #FBF1DF; stroke-width: 1.3; stroke-dasharray: 7 6; }
.map__road { font: 600 8px var(--f-display); letter-spacing: .24em; fill: #7A5B3E; }
.map__poi circle { fill: var(--teal); }
.map__poi path { fill: none; stroke: #FBF3E6; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.map__poi-label { font: italic 500 12px var(--f-body); fill: var(--ink-2); text-anchor: end; }
.map__compass circle { fill: rgba(255, 251, 244, .7); stroke: var(--gold); stroke-width: .8; }
.map__compass path { fill: var(--gold); }
.map__compass text { font: 600 8px var(--f-display); fill: var(--gold); text-anchor: middle; }
.map__label-bg { fill: #FFFBF4; stroke: rgba(169, 129, 78, .6); stroke-width: .8; }
.map__label { font: 700 10.5px var(--f-display); letter-spacing: .12em; fill: var(--ink); text-anchor: middle; }
.map__pin ellipse { fill: rgba(50, 35, 27, .25); }
.map__pin path { fill: var(--ink-2); }
.map__pin circle { fill: #FBF1E2; }
.map-card__cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding-top: 6px;
  font-family: var(--f-display); font-weight: 600;
  font-size: 13.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2);
}
.map-card__cta svg { width: 16px; height: 16px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.qr {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  width: min(100%, 250px); margin: 0 auto;
  padding: 20px 20px 16px;
  border-radius: 10px;
  background: var(--card);
  box-shadow:
    0 0 0 1px rgba(169, 129, 78, .7),
    inset 0 0 0 6px var(--card),
    inset 0 0 0 7px rgba(169, 129, 78, .45),
    0 16px 34px -20px rgba(70, 45, 28, .55);
}
.qr__frame { display: block; width: 100%; background: #FFFCF6; }
.qr__code { width: 100%; height: auto; image-rendering: pixelated; }
.qr__caption { position: relative; z-index: 1; margin-top: 8px; font-family: var(--f-script); font-size: 30px; line-height: 1.2; color: var(--ink-2); }
.qr__sprig { position: absolute; width: 46px; pointer-events: none; }
.qr__sprig--tl { top: -24px; left: -26px; transform: rotate(-20deg); }
.qr__sprig--br { bottom: -30px; right: -30px; transform: rotate(160deg); }

@media (min-width: 560px) {
  .locate { grid-template-columns: 1.45fr 1fr; align-items: center; max-width: 520px; gap: 26px; }
  .qr { padding: 16px 16px 12px; }
  .qr__caption { font-size: 26px; }
}

/* =====================================================================
   RSVPContacts
   ===================================================================== */
.rsvp { padding-top: 40px; padding-bottom: 60px; }
.deco--rsvp-tr { top: -40px; right: -24px; width: clamp(130px, 36vw, 210px); }
.js .deco--rsvp-tr[data-reveal] { transform: translate3d(16px, 6px, 0) scale(.97) scaleX(-1); }
.deco--rsvp-tr, .js .deco--rsvp-tr.is-in { transform: scaleX(-1); }
.rsvp__title {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(46px, 14vw, 64px); line-height: 1;
  letter-spacing: .16em; padding-left: .16em;
  color: var(--ink);
}
.rsvp .eyebrow { margin-top: 12px; }

.contacts { list-style: none; margin: 34px auto 0; padding: 0; max-width: 420px; }
.contact {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 18px 2px;
  text-align: left;
}
.contact + .contact::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line) 12%, var(--gold-line) calc(50% - 12px), transparent calc(50% - 12px) calc(50% + 12px), var(--gold-line) calc(50% + 12px), var(--gold-line) 88%, transparent);
}
.contact + .contact::after {
  content: ""; position: absolute; top: -3.5px; left: 50%; width: 7px; height: 7px; margin-left: -3.5px;
  background: var(--gold); transform: rotate(45deg);
}
.contact__info { flex: 1; min-width: 0; }
.contact__name { font-size: clamp(19px, 5.4vw, 22px); line-height: 1.25; font-weight: 500; color: var(--ink); }
.contact__phone {
  margin-top: 3px;
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(18px, 5vw, 21px); letter-spacing: .12em;
  font-variant-numeric: lining-nums tabular-nums; color: var(--ink-2);
}
.contact__sep { align-self: stretch; width: 1px; margin: 6px 0; background: var(--gold-line); }
.contact__actions { display: flex; gap: 10px; }
.btn-round {
  display: grid; place-items: center;
  width: 50px; height: 50px; border-radius: 50%;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.btn-round svg { width: 21px; height: 21px; }
.btn-round:hover { transform: translateY(-2px); }
.btn-round:active { transform: scale(.95); }
.btn-round--call {
  background: var(--card);
  box-shadow: inset 0 0 0 1.2px var(--gold), 0 6px 14px -8px rgba(70, 45, 28, .5);
}
.btn-round--call svg { fill: none; stroke: var(--ink-2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.btn-round--wa {
  background: linear-gradient(180deg, #769B95, #587D77);
  box-shadow: inset 0 0 0 1.2px rgba(233, 207, 164, .8), 0 6px 14px -8px rgba(50, 80, 74, .6);
}
.btn-round--wa svg { fill: #FBF3E6; }

/* =====================================================================
   ClosingSection
   ===================================================================== */
.closing {
  position: relative;
  padding: 44px 24px 0;
  text-align: center;
}
.deco--close-l, .deco--close-r { bottom: 0; width: clamp(104px, 29vw, 190px); z-index: 1; }
.deco--close-l { left: -16px; }
.deco--close-r { right: -16px; transform: scaleX(-1); }
.closing__msg { position: relative; z-index: 2; font-style: italic; font-size: clamp(20px, 5.8vw, 25px); line-height: 1.45; color: var(--ink-2); }
.closing__msg span { display: block; }
.closing__heart {
  display: flex; align-items: center; gap: 12px;
  width: min(100%, 230px); margin: 22px auto 6px;
}
.closing__heart .rule__line { flex: 1; height: 1px; background: var(--gold-line); }
.closing__heart svg { width: 18px; height: 17px; fill: var(--rose); flex: none; }
.js .closing__heart[data-reveal="line"] .rule__line { transform: scaleX(0); transition: transform 1.3s var(--ease) .1s; }
.js .closing__heart .rule__line:first-child { transform-origin: 100% 50%; }
.js .closing__heart .rule__line:last-child { transform-origin: 0 50%; }
.js .closing__heart.is-in .rule__line { transform: none; }
.closing__names {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  font-family: var(--f-name); font-size: clamp(40px, 12.6vw, 60px); line-height: 1.22;
  color: var(--ink-2);
}
.closing__name { display: block; }
.closing__amp { display: block; font-size: .56em; line-height: 1.5; color: var(--gold); }
.closing__fleur { width: 110px; margin: 2px auto 0; transform: rotate(180deg); }
.js .closing__fleur[data-reveal] { transform: translate3d(0, 22px, 0) rotate(180deg); }
.js .closing__fleur.is-in { transform: rotate(180deg); }
.closing__tag {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  margin-top: 14px;
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(11.5px, 3.2vw, 13px); letter-spacing: .3em; text-transform: uppercase; color: var(--ink-3);
}
.closing__tag span { padding-left: .3em; }
.closing__tag-dot { display: none; }
@media (min-width: 560px) {
  .closing__tag { flex-direction: row; gap: .45em; }
  .closing__tag-dot { display: inline; }
}
.closing__lanterns {
  position: relative; z-index: 0;
  width: calc(100% + 48px); max-width: none; margin: 34px -24px 0;
  -webkit-mask-image: linear-gradient(transparent, #000 35%);
  mask-image: linear-gradient(transparent, #000 35%);
}

/* =====================================================================
   Wider screens: a composed card rather than a stretched phone
   ===================================================================== */
@media (min-width: 560px) {
  .sec { padding-left: 40px; padding-right: 40px; }
  .formal { padding-left: 12px; padding-right: 12px; }
  .arch { left: 26px; right: 26px; }
  .formal__inner { max-width: 520px; padding-top: 220px; }
  .name { font-size: clamp(48px, 12.4vw, 74px); }
}

/* =====================================================================
   Reduced motion
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-reveal] * { transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js [data-reveal="bloom-r"], .js .deco--flow-tr, .js .deco--rsvp-tr { transform: scaleX(-1); }
  .js .closing__fleur { transform: rotate(180deg); }
  .js [data-reveal="draw"] .arch__path { stroke-dashoffset: 0; }
  .js [data-reveal="draw"] .arch__sides::before, .js [data-reveal="draw"] .arch__sides::after,
  .js [data-reveal="line"] .rule__line, .js [data-reveal="line"] .lined__line { transform: none; }
  .js .flow__line { --progress: 1; }
  .js .hero__urdu, .js .hero__rule, .js .hero__latin { opacity: 1; transform: none; transition: none; }
  .hero__img { transform: none; transition: none; }
  .hero__cue { opacity: 1; transition: none; }
  .intro, .intro__stage, .intro__scene, .intro__veil { transition-duration: .35s !important; transition-delay: 0s !important; }
  .intro.is-revealing .intro__stage { transform: none; }
  .intro.is-revealing .intro__scene { transform: translate(-50%, -50%); filter: none; }
}
