/* =========================================================
   Sarah & Putra — Wedding Invitation
   Slate-blue editorial layout with large rounded section corners
   ========================================================= */
:root {
  --slate: #6c8796;
  --slate-d: #587381;
  --slate-l: #dfe7ec;
  --paper: #f6f8fa;
  --white: #ffffff;
  --ink: #4b5058;
  --ink-2: #2f343b;
  --muted: #868d95;
  --line: rgba(75, 80, 88, .16);

  --display: 'Gilda Display', 'Times New Roman', serif;
  --italic: 'Playfair Display', Georgia, serif;
  --script: 'Mrs Saint Delafield', cursive;
  --sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --curve: 120px;
  --col: 480px;
  --ease: cubic-bezier(.22, .8, .25, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --shadow: 0 18px 40px -24px rgba(40, 55, 65, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 14px/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; height: 100vh; height: 100dvh; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
html[data-lang="id"] .l-en, html[data-lang="en"] .l-id { display: none !important; }
.center { text-align: center; }
.muted { color: var(--muted); }
.is-hidden { display: none !important; }

.eyebrow { font: 400 11px/1.5 var(--sans); letter-spacing: .35em; text-transform: uppercase; margin: 0 0 6px; }

/* ---------- pills (buttons) ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 11px 24px;
  font: 500 13px/1 var(--sans); letter-spacing: .08em; text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  -webkit-tap-highlight-color: transparent;
}
.pill:active { transform: scale(.96); }
.pill--slate { background: var(--slate); color: #fff; }
.pill--slate:hover { background: var(--slate-d); }
.pill--light { background: #fff; color: var(--slate-d); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .5); }
.pill--sm { padding: 8px 18px; font-size: 12.5px; }
.pill--block { width: 100%; padding: 14px; }
.pill:disabled { opacity: .6; pointer-events: none; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
.reveal--zoom { transform: scale(.92); }
.reveal--left { transform: translateX(-60px); }
.reveal--right { transform: translateX(60px); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- monogram ---------- */
.mono {
  width: 104px; height: 104px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--slate);
  box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .35);
}
.mono span { font: 400 40px/1 var(--display); letter-spacing: -.04em; }
.mono--light { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); margin: 0 auto 18px; width: 88px; height: 88px; box-shadow: none; }
.mono--light span { font-size: 34px; }

/* ---------- section title: CAPS + script ---------- */
.stitle { position: relative; display: table; margin: 0 auto 26px; text-align: center; color: var(--slate); font-weight: 400; }
.stitle__caps { display: block; font: 400 clamp(44px, 13vw, 58px)/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.stitle__script { position: absolute; right: -34px; bottom: -26px; font: 400 clamp(36px, 11vw, 48px)/1 var(--script); white-space: nowrap; transform: rotate(-6deg); }
.stitle--light { color: #fff; }
.stitle--sm .stitle__caps { font-size: clamp(38px, 11vw, 50px); }
.stitle--xs .stitle__caps { font-size: clamp(30px, 9vw, 42px); }
.stitle--sm .stitle__script, .stitle--xs .stitle__script { right: -12px; }

/* =========================================================
   COVER
   ========================================================= */
.cover { position: fixed; inset: 0; z-index: 60; display: grid; place-items: end center; color: #fff; text-align: center; overflow: hidden; clip-path: circle(150% at 50% 82%); transition: clip-path 1.5s cubic-bezier(.76, 0, .2, 1); }
.cover.is-open { clip-path: circle(0% at 50% 82%); }
.cover.is-open .cover__inner { opacity: 0; transform: scale(.94); transition: opacity .6s ease, transform .6s ease; }
.cover.is-gone { display: none; }
.cover__bg, .cover__bg img, .cover__bg picture { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover__bg img { object-fit: cover; object-position: center 30%; animation: kenburns 22s ease-in-out infinite alternate; }
.cover__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40, 52, 60, .25) 0%, rgba(40, 52, 60, 0) 30%, rgba(56, 74, 86, .55) 62%, rgba(56, 74, 86, .95) 100%); }
.cover__inner { position: relative; width: 100%; max-width: 480px; padding: 0 26px calc(40px + var(--safe-b)); }
.cover .eyebrow { opacity: .9; }
.cover__names { font: 400 clamp(46px, 13vw, 64px)/1.05 var(--display); margin: 4px 0 22px; text-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.cover__names em, .side__text em, .closing__names em { font: 400 1.1em/0 var(--script); font-style: normal; padding: 0 .08em; }
.cover__guest { margin: 0 auto 20px; }
.cover__to { font-size: 12px; margin: 0; opacity: .85; }
.cover__guestname { font: 400 26px/1.3 var(--display); margin: 4px 0 0; }
.cover__note { font-size: 10.5px; opacity: .7; margin: 16px 0 0; }
.cv-anim { opacity: 0; transform: translateY(18px); animation: rise 1.2s var(--ease) var(--d, 0s) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.14) translate(-1%, -1%); } }

/* =========================================================
   LAYOUT
   ========================================================= */
.side { display: none; }
.main { position: relative; width: 100%; max-width: var(--col); margin: 0 auto; background: var(--paper); overflow: hidden; padding-bottom: calc(70px + var(--safe-b)); }

@media (min-width: 1024px) {
  body { background: #3f505a; }
  .side { display: block; position: fixed; inset: 0 var(--col) 0 0; overflow: hidden; color: #fff; }
  .side__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.06); transition: opacity 2s ease, transform 9s linear; }
  .side__slide.is-active { opacity: 1; transform: scale(1.14); }
  .side__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(56, 74, 86, .9) 0%, rgba(56, 74, 86, 0) 55%); }
  .side__text { position: absolute; left: 7vw; right: 7vw; bottom: 9vh; }
  .side__text h2 { font: 400 clamp(60px, 6.5vw, 100px)/1.05 var(--display); margin: 0; }
  .side__date { letter-spacing: .3em; text-transform: uppercase; font-size: 12px; margin: 14px 0 0; opacity: .9; }
  .main { margin: 0 0 0 auto; min-height: 100vh; box-shadow: -30px 0 60px rgba(0, 0, 0, .25); padding-bottom: 0; }
  .dock { display: none !important; }
  .fab { right: calc(var(--col) + 20px) !important; bottom: 24px !important; }
}

/* ---------- blocks with big rounded corners ---------- */
.blk { position: relative; z-index: var(--z, 1); padding: 80px 26px; }
.blk--slate { background: var(--slate); color: #fff; }
.blk--paper { background: var(--paper); color: var(--ink); }
.rtr { border-top-right-radius: var(--curve); margin-top: calc(var(--curve) * -1); padding-top: calc(var(--curve) + 10px); }
.rbl { border-bottom-left-radius: var(--curve); }
.under { margin-top: calc(var(--curve) * -1); padding-top: calc(var(--curve) + 40px); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; z-index: 1; height: 100vh; height: 100svh; min-height: 560px; display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40, 52, 60, .2), rgba(40, 52, 60, .45) 60%, rgba(40, 52, 60, .55)); }
.hero__inner { position: relative; padding: 0 24px 120px; }
.hero__names { font: 400 clamp(54px, 15vw, 74px)/1 var(--display); margin: 6px 0 8px; text-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.hero__names > span:not(.ch) { display: block; font: 400 .9em/1.1 var(--script); margin: 4px 0; }
.hero__date { letter-spacing: .45em; font-size: 12px; margin: 14px 0 0; }

/* =========================================================
   QUOTE
   ========================================================= */
.quote { text-align: center; padding-bottom: calc(var(--curve) + 60px); overflow: hidden; border-top-right-radius: var(--curve); }
.quote { overflow: visible; }
/* pleated-fan motif (moodboard backdrop) faintly in the background */
.quote::before {
  content: ''; position: absolute; left: 50%; bottom: calc(var(--curve) - 30px); width: 560px; height: 280px; transform: translateX(-50%);
  border-radius: 280px 280px 0 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, .10) 0 28%, transparent 28.4%),
    repeating-conic-gradient(from -90deg at 50% 100%, rgba(255, 255, 255, .075) 0 1.6deg, transparent 1.6deg 4.5deg);
  -webkit-mask: linear-gradient(0deg, #000 30%, transparent 100%); mask: linear-gradient(0deg, #000 30%, transparent 100%);
}
.quote::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0; border-top-right-radius: inherit;
  background: radial-gradient(90% 60% at 50% 20%, rgba(255, 255, 255, .10), transparent 70%); }
.quote > * { position: relative; z-index: 1; }
.quote > .orn { position: absolute; z-index: 2; }

/* monogram badge */
.mbadge { position: relative !important; width: min(270px, 78%); margin: 0 auto 6px; z-index: 3 !important; }
#quote.rtr { padding-top: 64px; }
#quote > .orn--tl { width: 118px; }
.mbadge__svg { display: block; width: 100%; height: auto; fill: none; stroke: #ffffff; stroke-width: 1.8; filter: drop-shadow(0 2px 6px rgba(20, 35, 50, .25)); }
.mbadge__ring { font: 600 7.2px/1 var(--sans); fill: var(--slate-d); letter-spacing: .5px; }
.mbadge__init { font: 400 33px/1 var(--display); fill: var(--slate); }
.mbadge__amp { font-family: var(--script); font-size: 34px; fill: #b9a789; }
.orn--mono { left: -58px; bottom: -14px; width: 92px; transform: rotate(-12deg); }

/* arched double-line frame around the verse */
.qframe { margin: 0 2px 0; padding: 88px 22px 34px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 200px 200px 22px 22px; }
.qframe::before { content: ''; position: absolute; inset: 6px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 194px 194px 17px 17px; pointer-events: none; }
.qframe__gem { position: absolute; left: 50%; bottom: -7px; width: 13px; height: 13px; transform: translateX(-50%) rotate(45deg); background: var(--slate); border: 1px solid rgba(255, 255, 255, .6); }
.qframe__gem::after { content: ''; position: absolute; inset: 3px; background: #d8ccb8; }
.arabic { font: 400 21px/2.1 'Amiri', serif; margin: 6px auto 16px; max-width: 88%; opacity: .95; }
.quote__text { font: italic 400 14px/1.9 var(--sans); margin: 0 auto 18px; max-width: 380px; }
.quote__src { font: italic 400 22px/1.2 var(--italic); margin: 0; }

/* =========================================================
   COUPLE
   ========================================================= */
.couple { text-align: center; }
#couple.rtr { padding-top: calc(var(--curve) - 30px); }
.salam { font-weight: 600; color: var(--ink); margin: 20px 0 12px; }
.intro { margin: 0 auto 34px; max-width: 360px; }
.blk--slate .intro { color: rgba(255, 255, 255, .92); }
.person { text-align: left; }
.pframe { position: relative; width: 82%; aspect-ratio: 3 / 4; overflow: hidden; box-shadow: var(--shadow); background: var(--slate-l); }
.pframe--left { margin-left: -26px; border-radius: 0 var(--curve) var(--curve) 0; }
.pframe--right { margin-left: auto; margin-right: -26px; border-radius: var(--curve) 0 0 var(--curve); }
.pslider { display: flex; height: 100%; transition: transform 1.2s var(--ease); }
.pslider img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.person__info { padding: 26px 4px 6px; }
.person--right .person__info { text-align: right; }
.person__name { font: italic 400 28px/1.25 var(--italic); color: var(--slate-d); margin: 0 0 12px; white-space: nowrap; }
.blk--slate .person__name { color: #fff; }
.person__info { position: relative; z-index: 2; }
.person__nick { margin: -64px 0 2px; font: 400 clamp(64px, 19vw, 84px)/1 var(--script); color: #4f6876; text-shadow: 0 0 2px #fff, 0 0 10px #fff, 0 0 22px rgba(255, 255, 255, .95); }
.blk--slate .person__nick { color: #fff; text-shadow: 0 0 2px rgba(40, 60, 75, .9), 0 0 12px rgba(40, 60, 75, .8), 0 0 24px rgba(40, 60, 75, .6); }
.person__rule { display: flex; align-items: center; gap: 8px; margin: 2px 0 14px; color: #b9a789; }
.person__rule::before, .person__rule::after { content: ''; height: 1px; width: 46px; background: currentColor; opacity: .7; }
.person__rule::after { width: 18px; }
.person__rule i { width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid currentColor; }
.person--right .person__rule { justify-content: flex-end; }
.person--right .person__rule::before { width: 18px; }
.person--right .person__rule::after { width: 46px; }
.blk--slate .person__rule { color: #e3d6bf; }
.person__order { margin: 0 0 6px; font-size: 11px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.person__parents { margin: 0 0 16px; font: italic 400 19px/1.35 var(--italic); color: var(--ink-2); }
.person__parents span { display: block; }
.person__parents em { display: block; font: 400 30px/.9 var(--script); color: #b9a789; margin: 2px 0 0 18px; }
.person--right .person__parents em { margin: 2px 18px 0 0; }
.blk--slate .person__order { color: rgba(255, 255, 255, .75); }
.blk--slate .person__parents { color: #fff; }
.blk--slate .person__parents em { color: #e3d6bf; }
.couple--2 { padding-bottom: 90px; }
.amp { font: 400 92px/1 var(--script); text-align: center; margin: 10px 0 20px; opacity: .9; }

/* birds */
.birds { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.birds i { position: absolute; left: -40px; width: 22px; color: #2f343b; opacity: .75; animation: fly 16s linear infinite; }
.blk--slate .birds i { color: #fff; opacity: .7; }
.birds i:nth-child(1) { top: 18%; animation-delay: 0s; }
.birds i:nth-child(2) { top: 22%; width: 16px; animation-delay: 1.2s; animation-duration: 19s; }
.birds i:nth-child(3) { top: 14%; width: 13px; animation-delay: 2.1s; animation-duration: 22s; }
.birds svg { width: 100%; height: auto; fill: currentColor; stroke: none; animation: flap .5s ease-in-out infinite alternate; transform-origin: 50% 60%; }
@keyframes fly { 0% { transform: translate(0, 0); } 50% { transform: translate(260px, -30px); } 100% { transform: translate(560px, 10px); } }
@keyframes flap { from { transform: scaleY(1); } to { transform: scaleY(.35); } }

/* =========================================================
   EVENTS
   ========================================================= */
.events { position: relative; z-index: var(--z, 4); padding: 80px 22px calc(var(--curve) + 70px); color: #fff; overflow: hidden; }
.events__bg, .events__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.events__bg img { object-fit: cover; filter: grayscale(.35) brightness(.55) blur(1px); transform: scale(1.05); }
.events__inner { position: relative; }
.etitle { text-align: center; margin: 0 0 30px; font-weight: 400; }
.etitle__script { display: block; font: 400 64px/.9 var(--script); }
.etitle__caps { display: block; font: italic 400 26px/1.3 var(--italic); letter-spacing: .5em; text-transform: uppercase; margin-left: .5em; }
.ecard { background: transparent; color: var(--ink); margin: 0 6px 34px; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .3)); }
.ecard__body { background: var(--paper); }
.ecard__photo { aspect-ratio: 16 / 10; overflow: hidden; border-top-right-radius: var(--curve); }
.ecard--r .ecard__photo { border-top-right-radius: 0; border-top-left-radius: var(--curve); }
.ecard__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.ecard__body { position: relative; display: grid; grid-template-columns: 70px 1fr; }
.ecard--r .ecard__body { grid-template-columns: 1fr 70px; }
.ecard--r .ecard__strip { order: 2; }
.ecard__strip { background: var(--slate); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 22px 0; }
.ecard__badge { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .45); }
.ecard__badge svg { width: 22px; height: 22px; stroke-width: 1.4; }
.ecard__title { writing-mode: vertical-rl; transform: rotate(180deg); font: 400 clamp(26px, 8vw, 34px)/1 var(--display); white-space: nowrap; }
.ecard--r .ecard__title { transform: none; }
.ecard:not(.ecard--r) .ecard__strip { flex-direction: column-reverse; }
.ecard__content { padding: 26px 22px 26px; }
.edate { display: flex; align-items: center; gap: 16px; padding: 0 0 14px 6px; border-bottom: 1px solid #6d7178; margin-bottom: 16px; }
.edate__num { font: 400 64px/1 var(--display); color: var(--slate); }
.edate__txt { font-size: 15px; line-height: 1.55; letter-spacing: .12em; color: var(--ink); }
.erow { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 16px; }
.eico { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--slate-l); color: var(--slate-d); }
.eico svg { width: 19px; height: 19px; }
.erow small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
.erow b { display: block; font-weight: 600; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.erow div > span { display: block; font-size: 13px; line-height: 1.5; }
.ebtns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pill--ghost { background: transparent; color: var(--slate-d); border: 1px solid var(--slate); }

/* =========================================================
   COUNTDOWN / FILM / GALLERY
   ========================================================= */
.countdown { text-align: center; padding-bottom: calc(var(--curve) + 60px); }
.countdown .stitle { margin-bottom: 44px; }
/* widget-style countdown */
@media (max-width: 370px) {
  .wg__week > div > span { width: 17px; height: 17px; font-size: 9.5px; }
  .wg__week small { font-size: 9px; }
  .wg__month { font-size: 12.5px; padding: 12px 10px 2px; }
  .wg__agenda { padding: 8px 10px; }
  .wg__pill b { font-size: 10.5px; }
}
.widgets { --dark: #1d2731; --accent: #7f9dbf; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 26px; text-align: left; }
.wg { position: relative; border-radius: 26px; overflow: hidden; box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .55); min-height: 200px; }
.wg--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.wg--photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .25)); }
.wg__big { position: absolute; left: 0; right: 0; top: 14%; z-index: 1; text-align: center; color: #fff; font: 600 clamp(46px, 15vw, 64px)/1 var(--sans); letter-spacing: -.04em; text-shadow: 0 4px 18px rgba(0, 0, 0, .25); }
.wg__h { font-size: .5em; font-weight: 500; vertical-align: .55em; margin-right: 2px; letter-spacing: 0; }
.wg__pill { position: absolute; left: 7%; right: 7%; bottom: 8%; z-index: 1; background: #fff; border-radius: 999px; padding: 7px 10px; text-align: center; line-height: 1.2; color: var(--ink-2); }
.wg__pill b { display: block; font-size: 11.5px; font-weight: 600; }
.wg__pill span { font-size: 10.5px; color: var(--muted); }
.wg--cal { background: var(--dark); color: #fff; display: flex; flex-direction: column; }
.wg__month { margin: 0; padding: 14px 14px 4px; font-size: 14px; font-weight: 600; }
.wg__week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); padding: 0 6px; text-align: center; }
.wg__week small { display: block; font-size: 10px; opacity: .55; line-height: 1.8; }
.wg__week > div > span { display: grid; place-items: center; width: 20px; height: 20px; margin: 0 auto; border-radius: 50%; font-size: 11px; opacity: .8; }
.wg__week .on > span { background: var(--accent); opacity: 1; font-weight: 600; box-shadow: 0 0 12px rgba(127, 157, 191, .9); }
.wg__agenda { margin-top: auto; background: #fff; color: var(--ink-2); border-radius: 22px 22px 0 0; padding: 10px 14px 10px; }
.wg__agenda div { padding: 3px 0; }
.wg__agenda div + div { border-top: 1px solid var(--line); }
.wg__agenda b { display: block; font-size: 12.5px; font-weight: 600; color: var(--slate-d); line-height: 1.35; }
.wg__agenda span { font-size: 10.5px; color: var(--muted); }
.wg--count { grid-column: 1 / -1; aspect-ratio: auto; min-height: 0; background: #fff; color: var(--ink-2); border-radius: 28px; }
.wg__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 8px; padding: 16px 18px 14px; }
.wg__top > div { display: contents; }
.wg__label { grid-column: 1; grid-row: 1; }
.wg__date { grid-column: 2; grid-row: 1; }
.wg__days { grid-column: 1 / -1; grid-row: 2; }
.wg__label { margin: 0; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wg__days { margin: 2px 0 0; font: 600 clamp(22px, 6.8vw, 30px)/1.2 var(--sans); letter-spacing: -.02em; white-space: nowrap; }
.wg__date { flex: none; white-space: nowrap; background: linear-gradient(135deg, var(--slate), var(--accent)); color: #fff; font-size: 11px; font-weight: 500; padding: 4px 11px; border-radius: 999px; box-shadow: 0 6px 16px -6px rgba(108, 135, 150, .9); }
.dotclock { --dot: clamp(4.5px, 1.45vw, 6.4px); display: flex; justify-content: center; gap: calc(var(--dot) * 1.1); background: var(--dark); padding: 18px 12px 8px; border-radius: 26px 26px 0 0; }
.dc { display: grid; gap: calc(var(--dot) * .35); }
.dc i { width: var(--dot); height: var(--dot); border-radius: 1.5px; background: rgba(255, 255, 255, .08); transition: background .25s, box-shadow .25s; }
.dc i.on { background: #fff; box-shadow: 0 0 6px rgba(255, 255, 255, .55); }
.dotclock__units { display: flex; justify-content: space-around; background: var(--dark); color: rgba(255, 255, 255, .55); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; padding: 0 12px 14px; }

.film { text-align: center; padding-bottom: calc(var(--curve) + 60px); }
.film .stitle { margin-bottom: 50px; }
.film__frame { position: relative; z-index: 1; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 9; background: #222; }
.film__frame video { width: 100%; height: 100%; object-fit: cover; }
.film__play { position: absolute; inset: 0; margin: auto; width: 66px; height: 66px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--slate); display: grid; place-items: center; transition: opacity .3s; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); }
.film__play::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .7); animation: pulse 2.2s ease-out infinite; }
.film__play svg { width: 24px; height: 24px; margin-left: 3px; }
.film__frame.is-playing .film__play { opacity: 0; pointer-events: none; }
@keyframes pulse { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }

.gallery { padding-bottom: calc(var(--curve) + 60px); }
.gallery .stitle { margin-bottom: 50px; }
/* bento grid gallery */
.bento { --gap: 8px; --u: calc((min(100vw, var(--col)) - 52px - 3 * var(--gap)) / 4); display: grid; gap: var(--gap); }
.bento__blk { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: var(--u); gap: var(--gap); }
.bento__blk--a { grid-template-areas: "a b c d" "e e c d" "e e c f"; }
.bento__blk--b { grid-template-areas: "a b c d" "a e e d" "f e e g"; }
.bento__blk--c { grid-template-areas: "a a b c" "a a d d" "e f d d"; }
.gal__item { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; overflow: hidden; border-radius: 14px; background: rgba(255, 255, 255, .15); box-shadow: 0 8px 18px -12px rgba(0, 0, 0, .5); }
.gal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gal__item:hover img { transform: scale(1.07); }
.gal__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(36, 57, 90, .55); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); color: #fff; font: 600 20px/1 var(--sans); letter-spacing: .02em; }
.gal__item--hidden { display: none; }
@media (max-width: 360px) { .bento { --u: calc((100vw - 36px - 3 * var(--gap)) / 4); } }

/* =========================================================
   FLORAL ORNAMENTS
   ========================================================= */
.orn { position: absolute; pointer-events: none; user-select: none; z-index: 2; height: auto; }
.orn--tl { top: 0; left: 0; width: 150px; }
.orn--cover-tl, .orn--cover-tr { top: 0; width: min(46vw, 220px); z-index: 1; opacity: .96; }
.orn--cover-tl { left: 0; }
.orn--cover-tr { right: 0; transform: scaleX(-1); }
.orn--div { position: relative; display: block; width: 230px; margin: 34px auto 0; z-index: 1; }
.orn--closing { width: 210px; margin: 0 auto 10px; }
.orn--tall-l, .orn--tall-r { top: 26px; width: 72px; opacity: .85; z-index: 1; }
.orn--tall-l { left: -14px; transform-origin: 50% 100%; animation: sway 7s ease-in-out infinite alternate; }
.orn--tall-r { right: -14px; transform: scaleX(-1); transform-origin: 50% 100%; animation: swayR 8s ease-in-out infinite alternate; }
.orn--card { top: -66px; left: -24px; width: 132px; z-index: 3; transform-origin: 30% 60%; animation: sway 6s ease-in-out infinite alternate; }
.ecard { position: relative; }
.ecard--r .orn--card { left: auto; right: -24px; transform: scaleX(-1); transform-origin: 50% 50%; animation-name: swayR; }
.ticket .pass { position: relative; overflow: visible; }
.pass__top { border-radius: 26px 80px 0 0; }
.orn--pass { top: -70px; right: -34px; width: 92px; transform: scaleX(-1); }
@keyframes sway { from { transform: rotate(-1.5deg); } to { transform: rotate(2deg); } }
@keyframes swayR { from { transform: scaleX(-1) rotate(-1.5deg); } to { transform: scaleX(-1) rotate(2deg); } }

/* =========================================================
   FORMS
   ========================================================= */
.rsvp { text-align: center; padding-bottom: calc(var(--curve) + 60px); }
.rsvp .stitle, .wishes .stitle, .ticket .stitle, .gift .stitle { margin-bottom: 46px; }
.form { text-align: left; }
.form--card { background: var(--paper); color: var(--ink); border-radius: 26px 70px 26px 26px; padding: 26px 20px; box-shadow: var(--shadow); }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-d); margin-bottom: 7px; }
.field input[type=text], .field textarea, .stepper input {
  width: 100%; padding: 12px 18px; border-radius: 22px; border: 1px solid var(--line); background: #fff;
  font: 400 14.5px/1.5 var(--sans); color: var(--ink-2); -webkit-appearance: none; appearance: none; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--slate); box-shadow: 0 0 0 4px rgba(108, 135, 150, .18); }
.field input[readonly] { color: var(--slate-d); font-weight: 500; background: var(--slate-l); }
.hint { display: block; margin-top: 7px; font-size: 12px; color: var(--muted); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg label > span { display: block; text-align: center; padding: 11px 6px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; transition: all .25s; }
.seg label > input:checked + span { background: var(--slate); color: #fff; border-color: var(--slate); }
.stepper { display: grid; grid-template-columns: 48px 1fr 48px; gap: 8px; }
.stepper button { border: 1px solid var(--line); background: #fff; border-radius: 50%; height: 48px; font-size: 22px; line-height: 1; color: var(--slate-d); }
.stepper input { text-align: center; font-weight: 600; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.form__msg { margin: 12px 0 0; text-align: center; font-size: 13.5px; min-height: 1em; }
.form__msg.ok { color: #4f7a52; }
.form__msg.err { color: #b4544a; }

/* entry pass */
.ticket { text-align: center; padding-bottom: calc(var(--curve) + 60px); }
.pass { margin: 0 auto 22px; max-width: 310px; border-radius: 26px 80px 26px 26px; background: #fff; color: var(--ink); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6); overflow: hidden; }
.pass__top { padding: 22px 20px 16px; border-bottom: 1px dashed var(--line); }
.pass__names { font: 400 30px/1.1 var(--display); color: var(--slate); margin: 0; }
.pass__date { margin: 6px 0 0; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.pass__qr { width: 210px; height: 210px; margin: 18px auto 4px; padding: 10px; border-radius: 18px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; }
.pass__qr img, .pass__qr canvas { width: 100% !important; height: auto !important; }
.pass__bottom { padding: 8px 20px 22px; }
.pass__label { margin: 8px 0 0; font-size: 10.5px; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }
.pass__guest { font: 400 24px/1.25 var(--display); color: var(--ink-2); margin: 2px 0 10px; }
.pass__meta { display: flex; justify-content: center; gap: 16px; font-size: 12px; color: var(--muted); }
.pass__meta b { color: var(--ink-2); font-weight: 600; letter-spacing: .06em; }

/* gift */
.gift { text-align: center; padding-bottom: calc(var(--curve) + 60px); }
.bank { position: relative; padding: 24px 22px 22px; margin: 0 0 16px; text-align: left; border-radius: 22px 70px 22px 22px; background: linear-gradient(135deg, var(--slate-d), var(--slate) 60%, #8fa7b4); color: #fff; overflow: hidden; box-shadow: var(--shadow); }
.bank::after { content: ''; position: absolute; right: -50px; bottom: -70px; width: 180px; height: 180px; border-radius: 50%; border: 26px solid rgba(255, 255, 255, .08); }
.bank__chip { width: 38px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #f1e3c6, #c9ab7d); margin-bottom: 16px; }
.bank__name { margin: 0; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; opacity: .9; }
.bank__no { margin: 4px 0; font: 400 28px/1.2 var(--display); letter-spacing: .06em; }
.bank__holder { margin: 0 0 16px; font-size: 13px; opacity: .95; }

/* realistic bank cards */
.card3d { perspective: 900px; margin: 0 auto 18px; max-width: 360px; }
.bcard {
  position: relative; aspect-ratio: 1.586; border-radius: 18px; padding: 18px 20px; overflow: hidden; text-align: left; color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(135deg, var(--slate-d), var(--slate));
  box-shadow: 0 22px 40px -18px rgba(10, 25, 45, .65), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .6s var(--ease);
}
.card3d:hover .bcard { transform: rotateX(4deg) rotateY(-6deg); }
.bcard::before { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .18) 45%, transparent 60%); transform: translateX(-100%); animation: shine 6s ease-in-out infinite; pointer-events: none; }
@keyframes shine { 0%, 60% { transform: translateX(-100%); } 85%, 100% { transform: translateX(100%); } }
.bcard > * { position: relative; z-index: 1; }
.bcard__top { display: flex; justify-content: space-between; align-items: flex-start; }
.bcard__brand { font: 800 24px/1 var(--sans); letter-spacing: -.02em; }
.bcard__type { font-size: 10px; font-weight: 600; letter-spacing: .22em; opacity: .85; margin-top: 4px; }
.bcard__mid { display: flex; align-items: center; gap: 10px; }
.bcard__chip { position: relative; width: 44px; height: 33px; border-radius: 7px; background: linear-gradient(135deg, #f3e2b4 0%, #d2b06a 45%, #f0d999 70%, #b8924c 100%); box-shadow: inset 0 0 0 1px rgba(120, 90, 30, .35); }
.bcard__chip::before, .bcard__chip::after, .bcard__chip i { content: ''; position: absolute; border: 1px solid rgba(110, 80, 25, .45); }
.bcard__chip::before { left: 30%; right: 30%; top: -1px; bottom: -1px; border-top: 0; border-bottom: 0; }
.bcard__chip::after { top: 33%; bottom: 33%; left: -1px; right: -1px; border-left: 0; border-right: 0; }
.bcard__chip i { inset: 28% 34%; border-radius: 3px; }
.bcard__nfc { width: 22px; height: 22px; stroke-width: 1.8; opacity: .85; }
.bcard__no { margin: 0; font: 500 clamp(17px, 5.6vw, 21px)/1 var(--sans); letter-spacing: .14em; text-shadow: 0 1px 0 rgba(0, 0, 0, .35), 0 -1px 0 rgba(255, 255, 255, .15); white-space: nowrap; }
.bcard__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.bcard__bottom small { display: block; font-size: 8.5px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.bcard__bottom > div { min-width: 0; }
.bcard__bottom b { display: block; font-size: clamp(10px, 3vw, 12px); font-weight: 600; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bcard__copy { flex: none; display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .16); color: #fff; border-radius: 999px; padding: 7px 13px; font: 500 11.5px/1 var(--sans); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.bcard__copy svg { width: 14px; height: 14px; }
@media (max-width: 360px) {
  .bcard__copy { padding: 9px; }
  .bcard__copy > span { display: none !important; }
}

/* BCA: bright corporate blue */
.bcard--bca { background: radial-gradient(120% 140% at 100% 0%, #2b84d6 0%, #0b5fb4 40%, #08449a 75%, #062f73 100%); }
.bcard--bca::after { content: ''; position: absolute; right: -40%; bottom: -70%; width: 120%; height: 120%; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .06); pointer-events: none; }
.bcard--bca .bcard__brand { font-style: italic; font-size: 30px; letter-spacing: -.04em; }
/* Mandiri: deep navy with golden wave */
.bcard--mandiri { background: linear-gradient(140deg, #0d4f96 0%, #003d79 45%, #002a57 100%); }
.bcard--mandiri { padding-bottom: 26px; }
.bcard--mandiri::after { content: ''; position: absolute; left: -15%; right: -15%; top: calc(100% - 13px); height: 300%; border-radius: 50%; border-top: 7px solid #f5b324; pointer-events: none; }
.bcard--mandiri .bcard__brand { text-transform: lowercase; font-size: 27px; letter-spacing: -.03em; }
.bcard--mandiri .bcard__brand::after { content: ''; display: inline-block; width: 22px; height: 9px; margin-left: 5px; border-radius: 0 0 22px 22px; border-bottom: 3px solid #f5b324; vertical-align: middle; }
/* BNI / BRI / BSI fallbacks */
.bcard--bni { background: linear-gradient(135deg, #0a8a8a, #005e6a); }
.bcard--bri { background: linear-gradient(135deg, #1a5fb4, #00337a); }
.bcard--bsi { background: linear-gradient(135deg, #12a39a, #00706b); }

/* wishes */
.wishes { text-align: center; padding-bottom: calc(var(--curve) + 60px); }
.wish-form { margin-bottom: 18px; }
.wishes__list { text-align: left; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); border-radius: 26px; padding: 6px 18px; max-height: 460px; overflow-y: auto; overscroll-behavior: contain; }
.wish { padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.wish:last-child { border-bottom: 0; }
.wish__head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.wish__av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--slate); font: 400 16px/1 var(--display); flex: none; }
.wish__name { font-weight: 600; font-size: 14px; }
.wish__badge { font-size: 10.5px; padding: 2px 9px; border-radius: 999px; background: rgba(255, 255, 255, .2); margin-left: auto; white-space: nowrap; }
.wish__badge.no { opacity: .7; }
.wish__msg { margin: 0 0 2px; font-size: 13.5px; white-space: pre-line; overflow-wrap: anywhere; }
.wish__time { font-size: 11px; opacity: .75; }
.wishes__list .muted { color: rgba(255, 255, 255, .8); padding: 16px 0; }

/* closing */
.closing { position: relative; z-index: var(--z, 12); min-height: 680px; display: grid; align-items: end; color: #fff; text-align: center; overflow: hidden; border-top-right-radius: var(--curve); margin-top: calc(var(--curve) * -1); }
.closing__bg, .closing__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.closing__bg img { object-fit: cover; }
.closing__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(56, 74, 86, .05) 0%, rgba(56, 74, 86, .55) 45%, rgba(56, 74, 86, .96) 100%); }
.closing__inner { position: relative; padding: 60px 26px calc(50px + var(--safe-b)); }
.closing__inner .stitle { margin-bottom: 48px; }
.closing__text { margin: 0 auto 14px; max-width: 360px; }
.closing__salam { font-weight: 600; margin: 0 0 26px; }
.closing__with { font-size: 12px; letter-spacing: .25em; text-transform: uppercase; margin: 0; opacity: .9; }
.closing__names { font: 400 46px/1.15 var(--display); margin: 8px 0 4px; }
.closing__family { margin: 0; opacity: .9; }

/* =========================================================
   FLOATING UI
   ========================================================= */
.fab { position: fixed; right: 14px; bottom: calc(86px + var(--safe-b)); z-index: 40; display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0; pointer-events: none; transition: opacity .6s; }
body.is-open .fab { opacity: 1; pointer-events: auto; }
.fab__lang { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .92); color: var(--slate-d); font-size: 11.5px; font-weight: 600; letter-spacing: .06em; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .4); }
.disc { width: 54px; height: 54px; border-radius: 50%; border: 0; padding: 0; display: grid; place-items: center; background: repeating-radial-gradient(circle at 50% 50%, #1b1d20 0 2px, #26292d 2px 4px); box-shadow: 0 10px 22px -8px rgba(0, 0, 0, .6), inset 0 0 0 2px #0f1012; animation: spin 5s linear infinite; }
.disc.is-paused { animation-play-state: paused; }
.disc__label { width: 24px; height: 24px; border-radius: 50%; background: var(--slate); color: #fff; display: grid; place-items: center; }
.disc__label svg { width: 13px; height: 13px; }
.disc .ic-off { display: none; }
.disc.is-paused .ic-on { display: none; }
.disc.is-paused .ic-off { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.dock {
  position: fixed; left: 50%; bottom: calc(10px + var(--safe-b)); z-index: 40; transform: translate(-50%, 140%);
  width: min(calc(100% - 20px), 460px); display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 14px 30px -12px rgba(40, 55, 65, .45); transition: transform .8s var(--ease) .3s;
}
body.is-open .dock { transform: translate(-50%, 0); }
.dock a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 2px 5px; border-radius: 999px; text-decoration: none; color: var(--muted); font-size: 9.5px; transition: background .3s, color .3s; -webkit-tap-highlight-color: transparent; }
.dock a svg { width: 19px; height: 19px; }
.dock a.is-active { color: #fff; background: var(--slate); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(30, 38, 44, .95); display: grid; place-items: center; padding: 20px; animation: fade .35s ease; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: 14px; animation: zoomIn .5s var(--ease); }
.lightbox__close, .lightbox__nav { position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); color: #fff; font-size: 26px; line-height: 1; }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav.prev { left: 12px; }
.lightbox__nav.next { right: 12px; }
@keyframes fade { from { opacity: 0; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } }

.toast { position: fixed; left: 50%; bottom: calc(90px + var(--safe-b)); transform: translate(-50%, 20px); z-index: 90; padding: 11px 20px; border-radius: 999px; background: var(--ink-2); color: #fff; font-size: 13px; opacity: 0; pointer-events: none; transition: all .4s var(--ease); white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 1024px) {
  .toast { left: auto; right: calc(var(--col) / 2); transform: translate(50%, 20px); bottom: 30px; }
  .toast.show { transform: translate(50%, 0); }
}

@media (max-width: 360px) {
  :root { --curve: 96px; }
  .blk { padding-left: 18px; padding-right: 18px; }
  .pframe--left { margin-left: -18px; }
  .pframe--right { margin-right: -18px; }
  .ecard__content { padding: 22px 16px; }
  .edate__num { font-size: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* =========================================================
   LUXURY MOTION
   ========================================================= */
/* split letters */
.split .ch { display: inline-block; white-space: pre; opacity: 0; transform: translateY(.45em); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i) * 40ms + var(--d, 0s)); }
.is-in .split .ch, .split.is-in .ch, .is-in.split .ch { opacity: 1; transform: none; }
.cover .split .ch { animation: chIn 1.1s var(--ease) forwards; animation-delay: calc(var(--i) * 55ms + .5s); transition: none; }
@keyframes chIn { to { opacity: 1; transform: none; } }

/* script words "written" left to right */
.stitle__script, .etitle__script { clip-path: inset(0 100% 0 0); transition: clip-path 1.6s cubic-bezier(.65, 0, .35, 1) .55s; }
.stitle.is-in .stitle__script, .etitle.is-in .etitle__script { clip-path: inset(-20% -10% -20% -10%); }
.hero__names > span:not(.ch) { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s cubic-bezier(.65, 0, .35, 1); transition-delay: 1.5s; }
.hero__names.is-in > span:not(.ch) { clip-path: inset(-20% -10% -20% -10%); }

/* hero waits for the iris opening */
.hero .reveal { transition-delay: calc(var(--d, 0s) + .9s); }
.hero .split .ch { transition-delay: calc(var(--i) * 60ms + 1s); }
.hero__video { transform: scale(1.18); transition: transform 3.2s cubic-bezier(.2, .8, .2, 1); }
body.is-open .hero__video { transform: scale(1); }
.hero__date { position: relative; }
.hero__date::before, .hero__date::after { content: ''; position: absolute; top: 50%; width: 0; height: 1px; background: rgba(255, 255, 255, .7); transition: width 1.4s var(--ease) 2.2s; }
.hero__date::before { right: 100%; margin-right: 14px; }
.hero__date::after { left: 100%; margin-left: 14px; }
.hero__date.is-in::before, .hero__date.is-in::after { width: 46px; }

/* monogram draws itself */
.mbadge.is-draw .mbadge__svg path { animation: draw 2.4s cubic-bezier(.6, 0, .3, 1) forwards; }
.mbadge .mbadge__svg path { stroke-dasharray: var(--len, 600); stroke-dashoffset: var(--len, 600); }
.mbadge .mbadge__svg text { opacity: 0; transition: opacity 1.2s ease 1.4s; }
.mbadge.is-draw .mbadge__svg text { opacity: 1; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* flowers bloom in */
.js-motion .orn { opacity: 0; scale: .7; }
.js-motion .orn.is-in { animation: bloom 1.8s cubic-bezier(.2, .9, .25, 1.15) forwards; }
@keyframes bloom { to { opacity: 1; scale: 1; } }
.cover .orn { animation: bloom 2s cubic-bezier(.2, .9, .25, 1.15) .2s forwards !important; }

/* photos unveil with a soft wipe */
.ecard__photo img, .gal__item img { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s cubic-bezier(.65, 0, .35, 1) .2s, transform 1.2s var(--ease); }
.is-in .ecard__photo img, .gal__item.is-in img { clip-path: inset(0 0 0 0); }
.gal__item img { transform: scale(1.15); }
.gal__item.is-in img { transform: scale(1); }

/* shimmer on the open button */
.cover .pill { position: relative; overflow: hidden; }
.cover .pill::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(185, 167, 137, .45), transparent); transform: skewX(-20deg); animation: shimmer 3.2s ease-in-out 2s infinite; }
@keyframes shimmer { 0% { left: -60%; } 55%, 100% { left: 130%; } }

/* sparkle canvas */
#sparkles { position: fixed; inset: 0; z-index: 61; pointer-events: none; }
body.is-open #sparkles { z-index: 35; }

@media (prefers-reduced-motion: reduce) {
  .split .ch, .cover .split .ch { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; }
  .stitle__script, .etitle__script, .hero__names > span:not(.ch), .ecard__photo img, .pframe .pslider, .gal__item img { clip-path: none !important; }
  .js-motion .orn { opacity: 1; scale: 1; filter: none; }
  #sparkles { display: none; }
}
.cover__names em { display: inline-block; opacity: 0; animation: chIn 1.2s var(--ease) 1.1s forwards; transform: scale(.6); }
/* perf: stop hidden work */
.cover.is-open .cover__bg img { animation: none; }

.mbadge__ini { font-family: 'Biancha', 'Ernest Payton', 'Great Vibes', cursive; }

/* logo: initials only */
.mbadge__logo { margin: 0; text-align: center; color: #fff; font: 400 clamp(76px, 24vw, 104px)/1 'Biancha', 'Ernest Payton', 'Great Vibes', cursive; text-shadow: 0 4px 18px rgba(20, 35, 50, .25); opacity: 0; transform: translateY(14px) scale(.96); transition: opacity 1.4s var(--ease), transform 1.6s var(--ease); }
.mbadge__logo span { color: #e3d6bf; font-size: .72em; margin: 0 .04em; }
.mbadge.is-in .mbadge__logo { opacity: 1; transform: none; }

/* logo: serif S & P with calligraphic ampersand (editorial monogram) */
.mlogo { text-align: center; color: #fff; opacity: 0; transform: translateY(14px); transition: opacity 1.4s var(--ease), transform 1.6s var(--ease); }
.mbadge.is-in .mlogo { opacity: 1; transform: none; }
.mlogo__mark { position: relative; display: inline-flex; align-items: flex-end; margin: 0; line-height: 1; }
.mlogo__l, .mlogo__r { font: 500 clamp(78px, 24vw, 104px)/.9 'Bodoni Moda', 'Playfair Display', serif; letter-spacing: -.02em; }
.mlogo__l { margin-right: -.14em; }
.mlogo__r { margin-left: -.1em; }
.mlogo__amp { position: relative; z-index: 2; margin: 0 -.02em -.32em; font: 400 clamp(96px, 30vw, 130px)/1 'Biancha', 'Mrs Saint Delafield', 'Great Vibes', cursive; color: #e3d6bf; transform: rotate(-4deg); }
.mlogo__names { margin: 22px 0 2px; font: 400 13px/1.4 'Gilda Display', serif; letter-spacing: .32em; }
.mlogo__date { margin: 0; font: 400 11px/1.4 var(--sans); letter-spacing: .3em; opacity: .85; }

/* cover monogram (same style as the main logo, smaller) */
.mlogo--cover { margin: 0 auto 30px; color: #fff; text-shadow: 0 4px 18px rgba(0, 0, 0, .25); }
.mlogo--cover .mlogo__l, .mlogo--cover .mlogo__r { font-size: clamp(54px, 15vw, 70px); }
.mlogo--cover .mlogo__amp { font-size: clamp(66px, 19vw, 88px); }

/* countdown flowers */
.countdown > * { position: relative; z-index: 1; }
.countdown > .orn--tl { position: absolute; z-index: 2; width: 132px; }
.widgets { position: relative; }
.orn--wg1, .orn--wg2 { position: absolute; z-index: 5; width: 104px; pointer-events: none; }
.orn--wg1 { top: -64px; right: -30px; width: 84px; transform: scaleX(-1); }
.orn--wg2 { bottom: -70px; left: -34px; width: 80px; }

/* painted ornaments sizing */
.orn--cover-tl, .orn--cover-tr { width: min(36vw, 190px); }
#quote > .orn--tl, .countdown > .orn--tl { width: 128px; }
.orn--div { width: 200px; }
.orn--card { width: 104px; top: -96px; left: -30px; }
.ecard--r .orn--card { right: -30px; }

/* hydrangea SVG sizing */
.orn--cover-tl, .orn--cover-tr { width: min(34vw, 180px); }
#quote > .orn--tl, .countdown > .orn--tl { width: 112px; }
.orn--div { width: 210px; }
