/* TheWedLink invite themes */
.wl {
  --bg: #fff; --page: #fff; --outer: #eee; --ink: #222; --muted: #666; --acc: #a8821a; --acc2: var(--acc);
  --card: rgba(255,255,255,.7); --line: rgba(0,0,0,.14);
  --fs: serif; --ft: serif; --fh: serif; --names: clamp(2.6rem, 15vw, 4.6rem); --tsize: 1.02rem;
  --btn: var(--acc); --btnInk: #fff; --photo-r: 999px 999px 18px 18px;
  --foilG: linear-gradient(100deg, #B8902F, #FFF0C2 30%, #D9B35A 50%, #FBE7A8 72%, #A07A22);
  --foilD: linear-gradient(100deg, #6E5212, #C9A44A 30%, #84651A 52%, #DDBB66 76%, #6E5212);
  --foil: linear-gradient(var(--acc2), var(--acc2)); --grain: .07; --grain-mode: multiply; --veil: rgba(255,255,255,.45);
  position: relative; min-height: 100vh; background: var(--outer); color: var(--ink);
  font-family: var(--ft), 'Noto Serif Malayalam', 'Noto Serif Devanagari', 'Noto Serif Kannada', 'Noto Serif Tamil', 'Noto Serif Telugu', 'Noto Serif Gurmukhi', 'Amiri', Georgia, serif;
  font-size: var(--tsize); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
.wl *, .wl *::before, .wl *::after { box-sizing: border-box; }
.wl-body { position: relative; max-width: 560px; margin: 0 auto; background: var(--page); min-height: 100vh; overflow: clip; }
@media (min-width: 600px) { .wl-body { box-shadow: 0 0 0 1px var(--line), 0 30px 80px rgba(0,0,0,.18); } }
.wl.is-closed .wl-body { height: 100vh; }
.wl-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
/* paper grain */
.wl-body::before { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: var(--grain); mix-blend-mode: var(--grain-mode);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
/* gold foil lettering */
.wl-names > span:not(.wl-amp), .wl-fam h3, .wl-sign, .wl-mono span, .wl-date-d, .wl-cd b {
  background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding: 0 .1em; }
.wl-names > span:not(.wl-amp) { background-size: 200% 100%; }
.wl.revealed .wl-names > span:not(.wl-amp) { animation: wlFoilShift 6s ease-in-out 1s infinite alternate; }
@keyframes wlFoilShift { from { background-position: 0 0; } to { background-position: 100% 0; } }
/* optional photo backdrop (Admin → Images) */
.wl.has-bg .wl-hero::before { content: ''; position: absolute; inset: 0; z-index: 0; background: var(--bgimg) center / cover no-repeat; opacity: var(--bg-o, .55); }
.wl.has-bg .wl-hero::after { content: ''; position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse 70% 45% at 50% 52%, var(--veil) 0, transparent 100%), linear-gradient(to bottom, transparent 62%, var(--page) 100%); }
.wl.has-bg .wl-door { background-image: linear-gradient(var(--veil), var(--veil)), var(--bgimg); background-size: auto, 200% 100%; background-repeat: no-repeat; }
.wl.has-bg .wl-door.l { background-position: 0 0, left center; }
.wl.has-bg .wl-door.r { background-position: 0 0, right center; }
.wl-hd { z-index: 1; }
.wl-hero-in { z-index: 2; }
.wl-cover-photo, .wl-end { position: relative; }
.wl-frame { position: absolute; inset: 16px; border: 1px solid var(--line); }
.wl-frame svg { position: absolute; width: 36px; height: 36px; }
.wl-frame .tl { top: -6px; left: -6px; } .wl-frame .tr { top: -6px; right: -6px; transform: scaleX(-1); }
.wl-frame .bl { bottom: -6px; left: -6px; transform: scaleY(-1); } .wl-frame .br { bottom: -6px; right: -6px; transform: scale(-1); }
.wl-bokeh { position: absolute; inset: 0; width: 100%; height: 100%; }
.wl-hd-top, .wl-hd-bot { position: absolute; left: 0; right: 0; }
.wl-hd-top { top: 0; } .wl-hd-bot { bottom: 0; }
.wl-band { display: block; width: 100%; height: 24px; }

:where(.wl) :where(h1, h2, h3, p, figure) { margin: 0; }
.wl a { color: inherit; }

/* hero */
.wl-hero { position: relative; min-height: 100vh; min-height: min(100svh, 900px); display: flex; align-items: center; justify-content: center; text-align: center; padding: 150px 28px 72px; }
.wl-hd { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.wl-hero-in { position: relative; z-index: 1; width: 100%; }
.wl-intro { color: var(--muted); letter-spacing: .04em; font-size: .95em; }
.wl-names { font-family: var(--fs); font-weight: 400; font-size: var(--names); line-height: 1.08; color: var(--acc2); display: flex; flex-direction: column; align-items: center; margin: 18px 0 14px; overflow-wrap: break-word; }
.wl-amp { font-size: .5em; line-height: 1.2; color: var(--acc); }
.wl-line { font-style: italic; color: var(--ink); max-width: 30ch; margin: 0 auto; }
.wl-date { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; max-width: 330px; margin: 30px auto 8px; }
.wl-date-a { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 7px 0; font-size: .82em; letter-spacing: .06em; }
@media (max-width: 360px) { .wl-date { gap: 8px; max-width: 100%; } .wl-date-a { font-size: .74em; letter-spacing: .02em; } }
.wl-date-d { font-family: var(--fh); font-size: 3.4rem; line-height: 1; color: var(--acc); }
.wl-time { font-size: .95em; color: var(--muted); }
.wl-venue { margin-top: 6px; font-weight: 600; }

.wl.revealed .wl-hero-in > * { animation: wlRise .9s cubic-bezier(.2,.7,.2,1) both; }
.wl.revealed .wl-hero-in > :nth-child(2) { animation-delay: .12s; }
.wl.revealed .wl-hero-in > :nth-child(3) { animation-delay: .24s; }
.wl.revealed .wl-hero-in > :nth-child(n+4) { animation-delay: .36s; }
@keyframes wlRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* sections */
.wl-sec { position: relative; padding: 52px 28px; text-align: center; }
.wl h2 { font-family: var(--fh); font-weight: 400; font-size: 1.65rem; color: var(--acc); line-height: 1.2; }
.wl-div { display: block; width: 170px; height: 18px; margin: 12px auto 26px; }
.wl-msg p { max-width: 34ch; margin: 0 auto; font-style: italic; }
.wl-msg .wl-div { margin-top: 0; }

.wl-cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 380px; margin: 0 auto; }
.wl-cd div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 2px 10px; }
.wl-cd b { display: block; font-family: var(--fh); font-weight: 400; font-size: 1.75rem; line-height: 1.1; color: var(--acc); font-variant-numeric: tabular-nums; }
.wl-cd span { font-size: .7rem; color: var(--muted); letter-spacing: .04em; }
.wl-cd-done { font-style: italic; }
.wl-count { padding-top: 8px; }

.wl-cover-photo { margin: 0 32px; padding: 8px; border: 1px solid var(--line); border-radius: var(--photo-r); }
.wl-cover-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--photo-r); }

.wl-fam-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: start; }
@media (max-width: 420px) {
  .wl-fam-grid { grid-template-columns: 1fr; gap: 6px; }
  .wl-fam-amp { padding-top: 0; }
  .wl-fam h3 { font-size: 1.9rem; }
}
.wl-fam h3 { font-family: var(--fs); font-weight: 400; font-size: 2.1rem; line-height: 1.15; color: var(--acc2); overflow-wrap: break-word; }
.wl-fam p { font-size: .9em; color: var(--muted); margin-top: 6px; }
.wl-fam-amp { font-family: var(--fs); font-size: 1.6rem; color: var(--acc); padding-top: 6px; }

.wl-ev { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px 22px 24px; max-width: 420px; margin: 0 auto 16px; }
.wl-ev h3 { font-family: var(--fh); font-weight: 400; font-size: 1.4rem; color: var(--acc); margin-bottom: 8px; }
.wl-ev-when { color: var(--ink); }
.wl-ev-venue { font-weight: 600; margin-top: 10px; }
.wl-ev-addr { color: var(--muted); font-size: .92em; }
.wl-ev-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.wl-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--btn); background: var(--btn); color: var(--btnInk) !important; text-decoration: none; font: inherit; font-size: .9em; cursor: pointer; }
.wl-btn.ghost { background: transparent; color: var(--acc) !important; border-color: var(--acc); }
.wl-btn:focus-visible, .wl-open:focus-visible, .wl input:focus-visible, .wl select:focus-visible, .wl textarea:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }

.wl-gal-sub { font-size: .8em; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: -6px 0 16px; }
/* gallery: a large lead photo, then a two-column mosaic with every third photo wide */
.wl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wl-ph { border: 0; padding: 0; background: none; cursor: zoom-in; border-radius: var(--photo-r, 12px); overflow: hidden; position: relative; }
.wl-ph img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .5s ease; }
.wl-ph:hover img { transform: scale(1.04); }
.wl-ph:first-child { grid-column: span 2; }
.wl-ph:first-child img { aspect-ratio: 4 / 3; }
.wl-ph:nth-child(3n+4) { grid-column: span 2; }
.wl-ph:nth-child(3n+4) img { aspect-ratio: 16 / 10; }
.wl-ph:last-child:nth-child(even) { grid-column: span 2; }
.wl-ph:last-child:nth-child(even) img { aspect-ratio: 16 / 10; }
/* film */
.wl-video-box { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line), 0 24px 44px -26px rgba(0,0,0,.5); }
.wl-video-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* photo viewer */
.wl-lb { position: fixed; inset: 0; z-index: 60; background: rgba(12,10,10,.94); display: flex; align-items: center; justify-content: center; padding: 56px 12px 84px; }
.wl-lb[hidden] { display: none; }
.wl-lb img { max-width: 100%; max-height: 100%; border-radius: 6px; object-fit: contain; }
.wl-lb-b { position: absolute; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 1.9rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.wl-lb-x { top: 10px; right: 12px; }
.wl-lb-p { left: 8px; top: 50%; transform: translateY(-50%); }
.wl-lb-n { right: 8px; top: 50%; transform: translateY(-50%); }
.wl-lb-bar { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; align-items: center; gap: 16px; color: #ddd; font: 500 .85rem system-ui, sans-serif; }
.wl-lb-d { color: #2a2024 !important; background: #fff; padding: 11px 20px; border-radius: 99px; text-decoration: none; font-weight: 600; }

.wl-form { max-width: 400px; margin: 0 auto; text-align: left; display: grid; gap: 14px; }
.wl-form label { display: grid; gap: 6px; font-size: .9em; }
.wl-form input:not([type=radio]), .wl-form select, .wl-form textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.wl-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.wl-form legend { font-size: .9em; margin-bottom: 6px; }
.wl-form .wl-radio { display: flex; align-items: center; gap: 10px; font-size: 1em; }
.wl-form .wl-radio input { width: 20px; height: 20px; accent-color: var(--acc); }
.wl-form .wl-btn { justify-self: center; min-width: 200px; margin-top: 4px; }
.wl-form-msg { text-align: center; font-size: .9em; color: var(--muted); min-height: 1.2em; }
.wl-thanks { text-align: center; font-style: italic; }
.wl [hidden] { display: none !important; }

.wl-contact p { color: var(--muted); }
.wl-end { text-align: center; padding: 40px 28px 96px; }
.wl-closing { font-style: italic; max-width: 30ch; margin: 0 auto; }
.wl-sign { font-family: var(--fs); font-size: 2.3rem; color: var(--acc2); margin-top: 10px; line-height: 1.2; }
.wl-badge { display: inline-block; margin-top: 8px; font-size: .78rem; color: var(--muted) !important; text-underline-offset: 3px; font-family: system-ui, sans-serif; }

/* cover / doors */
.wl-cover { position: fixed; inset: 0; z-index: 50; display: flex; }
.wl-door { position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--page); transition: transform 1.15s cubic-bezier(.7,0,.25,1); }
.wl-door.l { left: 0; }
.wl-door.r { right: 0; }
.wl-door::after { content: ''; position: absolute; inset: 18px; border: 1px solid var(--line); }
.wl-door.l::after { right: 10px; border-right: 0; }
.wl-door.r::after { left: 10px; border-left: 0; }
.wl-cover.open .wl-door.l { transform: translateX(-101%); }
.wl-cover.open .wl-door.r { transform: translateX(101%); }
.wl-cover-in { position: relative; z-index: 1; margin: auto; text-align: center; padding: 24px; transition: opacity .35s; }
.wl-cover.open .wl-cover-in { opacity: 0; }
.wl-cover-k { color: var(--muted); letter-spacing: .06em; font-size: .9em; }
.wl-mono { width: 190px; height: 190px; margin: 22px auto; border-radius: 50%; border: 1px solid var(--acc); outline: 1px solid var(--line); outline-offset: 7px; display: flex; align-items: center; justify-content: center; gap: 6px; font-family: var(--fs); font-size: 4.2rem; line-height: 1; color: var(--acc2); }
.wl-mono i { font-style: normal; font-size: .5em; color: var(--acc); }
.wl-cover-n { font-family: var(--fh); font-size: 1.3rem; color: var(--acc); }
.wl-cover-d { color: var(--muted); font-size: .9em; margin-top: 4px; }
.wl-open { margin-top: 30px; min-height: 50px; padding: 12px 30px; border-radius: 999px; border: 0; background: var(--btn); color: var(--btnInk); font: inherit; font-size: 1rem; cursor: pointer; box-shadow: 0 0 0 0 var(--acc); animation: wlBreath 2.4s ease-in-out infinite; }
@keyframes wlBreath { 50% { box-shadow: 0 0 0 10px transparent, 0 0 0 0 transparent; transform: scale(1.03); } }

.wl-music { position: fixed; right: 16px; bottom: 18px; z-index: 30; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--btn); color: var(--btnInk); display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.wl-music svg { width: 22px; height: 22px; }
.wl-music:not(.on) { opacity: .85; }
.wl-music:not(.on)::after { content: ''; position: absolute; width: 26px; height: 2px; background: currentColor; transform: rotate(-45deg); }
.wl-music.on { animation: wlSpin 6s linear infinite; }
@keyframes wlSpin { to { transform: rotate(360deg); } }

.wl-wm { position: fixed; inset: 0; z-index: 25; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='180'%3E%3Ctext x='30' y='110' transform='rotate(-28 120 90)' font-family='Arial,sans-serif' font-size='30' font-weight='700' letter-spacing='4' fill='%23808080' fill-opacity='.2'%3EPREVIEW%3C/text%3E%3C/svg%3E"); }


/* ---------- Kasavu ---------- */
.wl[data-theme=kasavu] {
  --page: #FBF7EC; --outer: #EDE3C8; --ink: #3B2F1A; --muted: #76664A; --acc: #9E7A14; --acc2: #9E7A14;
  --card: rgba(255,255,255,.75); --line: rgba(168,130,26,.35);
  --fs: 'Great Vibes'; --ft: 'Marcellus'; --fh: 'Marcellus'; --names: clamp(2.6rem, 16vw, 4.8rem); --btn: #9E7A14; --foil: var(--foilD); --veil: rgba(251,247,236,.5);
}
.wl[data-theme=kasavu] .wl-body { background: radial-gradient(90% 40% at 50% 18%, #FFFDF6 0, transparent 70%), linear-gradient(#FBF7EC, #F6EEDC); }
.wl[data-theme=kasavu] .wl-body { box-shadow: inset 8px 0 0 #C9A227, inset 11px 0 0 #FBF7EC, inset 13px 0 0 #C9A227, inset -8px 0 0 #C9A227, inset -11px 0 0 #FBF7EC, inset -13px 0 0 #C9A227; }
@media (min-width: 600px) { .wl[data-theme=kasavu] .wl-body { box-shadow: inset 8px 0 0 #C9A227, inset 11px 0 0 #FBF7EC, inset 13px 0 0 #C9A227, inset -8px 0 0 #C9A227, inset -11px 0 0 #FBF7EC, inset -13px 0 0 #C9A227, 0 30px 80px rgba(80,60,10,.2); } }
.wl[data-theme=kasavu] .wl-hd-top { position: absolute; left: 0; right: 0; top: 0; }
.wl[data-theme=kasavu] .wl-band { display: block; }
.wl[data-theme=kasavu] .wl-lamp { position: absolute; top: 46px; left: 50%; width: 62px; transform: translateX(-50%); }
.wl[data-theme=kasavu] .wl-hero { padding-top: 220px; }
.wl[data-theme=kasavu] .wl-end { box-shadow: inset 0 -5px 0 #C9A227, inset 0 -8px 0 #FBF7EC, inset 0 -10px 0 #C9A227; }
.wl[data-theme=kasavu] .wl-names { font-size: var(--names); }

/* ---------- Sindoor ---------- */
.wl[data-theme=sindoor] {
  --page: #6E0B1D; --outer: #3B0410; --ink: #FBEAD2; --muted: #E9C9A6; --acc: #E9C46A; --acc2: #F3D99A;
  --card: rgba(255,232,196,.07); --line: rgba(233,196,106,.38);
  --fs: 'Rozha One'; --ft: 'Cormorant Garamond'; --fh: 'Rozha One'; --names: clamp(2.3rem, 13vw, 4.1rem); --tsize: 1.12rem;
  --btn: #E9C46A; --btnInk: #4E0614; --foil: var(--foilG); --grain: .16; --grain-mode: overlay; --veil: rgba(82,7,22,.45);
}
.wl[data-theme=sindoor] .wl-body { background: radial-gradient(130% 55% at 50% 0%, #9C1A33 0%, #6E0B1D 55%, #520716 100%); }
.wl[data-theme=sindoor] .wl-door, .wl[data-theme=sindoor] .wl-op-bg, .wl[data-theme=sindoor] .wl-strip, .wl[data-theme=sindoor] .wl-fold { background: radial-gradient(120% 80% at 50% 50%, #8E1530, #520716); }
.wl[data-theme=sindoor] .wl-mandala { position: absolute; width: 150%; max-width: 760px; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .3; animation: wlSpin 240s linear infinite; }
.wl[data-theme=sindoor] .wl-hero { padding-top: 96px; }
.wl[data-theme=sindoor] .wl-names { letter-spacing: .01em; }
.wl[data-theme=sindoor] .wl-mono { font-size: 3.6rem; }

/* ---------- Marigold ---------- */
.wl[data-theme=marigold] {
  --page: #FFF7E0; --outer: #F6DFA6; --ink: #4A2108; --muted: #87562A; --acc: #C2410C; --acc2: #A3134F;
  --card: rgba(255,255,255,.8); --line: rgba(194,65,12,.25);
  --fs: 'Yatra One'; --ft: 'Mukta'; --fh: 'Yatra One'; --names: clamp(2.3rem, 13vw, 4.1rem); --btn: #A3134F;
  --foil: linear-gradient(100deg, #7E0E3E, #D63C7A 40%, #9E1350 60%, #E46A98 80%, #7E0E3E); --veil: rgba(255,247,224,.55);
}
.wl[data-theme=marigold] .wl-body { background: linear-gradient(#FFEFC2, #FFF9EA 38%, #FFF7E0); }
.wl[data-theme=marigold] .wl-door, .wl[data-theme=marigold] .wl-op-bg, .wl[data-theme=marigold] .wl-strip, .wl[data-theme=marigold] .wl-fold { background: #FFEFC2; }
.wl[data-theme=marigold] .wl-toran { position: absolute; top: 0; left: 0; width: 100%; }
.wl[data-theme=marigold] .wl-hero { padding-top: 180px; }
.wl[data-theme=marigold] .wl-mono { font-size: 3.6rem; }

/* ---------- Nilavu ---------- */
.wl[data-theme=nilavu] {
  --page: #13214A; --outer: #0A1330; --ink: #F2EAD3; --muted: #BEC6DE; --acc: #E8C77A; --acc2: #F4DFA6;
  --card: rgba(255,255,255,.06); --line: rgba(232,199,122,.3);
  --fs: 'Pinyon Script'; --ft: 'EB Garamond'; --fh: 'Cinzel'; --names: clamp(2.6rem, 15vw, 4.6rem); --tsize: 1.08rem;
  --btn: #E8C77A; --btnInk: #13214A; --foil: var(--foilG); --grain: .14; --grain-mode: overlay; --veil: rgba(11,21,51,.45);
}
.wl[data-theme=nilavu] .wl-body { background: linear-gradient(#0B1533, #172A5C 45%, #13214A); }
.wl[data-theme=nilavu] .wl-door, .wl[data-theme=nilavu] .wl-op-bg, .wl[data-theme=nilavu] .wl-strip, .wl[data-theme=nilavu] .wl-fold { background: linear-gradient(#0B1533, #172A5C); }
.wl[data-theme=nilavu] .wl-stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.wl[data-theme=nilavu] .wl-stars .tw { animation: wlTw 3.2s ease-in-out infinite; }
@keyframes wlTw { 50% { opacity: .25; } }
.wl[data-theme=nilavu] .wl-moon { position: absolute; top: 120px; right: 34px; width: 44px; }
.wl[data-theme=nilavu] .wl-diyas { position: absolute; top: 0; left: 0; width: 100%; }
.wl[data-theme=nilavu] .wl-hero { padding-top: 180px; }
.wl[data-theme=nilavu] h2, .wl[data-theme=nilavu] .wl-ev h3, .wl[data-theme=nilavu] .wl-cover-n { font-size: 1.3rem; letter-spacing: .06em; }

/* ---------- Mullappoo ---------- */
.wl[data-theme=mullappoo] {
  --page: #FFFFFF; --outer: #E4EEE6; --ink: #1F3B2D; --muted: #587063; --acc: #2E6B4A; --acc2: #1F4D36;
  --card: #F3F8F4; --line: rgba(46,107,74,.22);
  --fs: 'Italiana'; --ft: 'Cormorant Garamond'; --fh: 'Italiana'; --names: clamp(2.6rem, 14vw, 4.3rem); --tsize: 1.12rem;
  --btn: #2E6B4A; --photo-r: 18px; --foil: linear-gradient(100deg, #163D2A, #4E9A72 40%, #1F4D36 60%, #5FAE85 85%, #163D2A); --veil: rgba(255,255,255,.55);
}
.wl[data-theme=mullappoo] .wl-body { background: linear-gradient(#F2F8F3, #FFFFFF 30%); }
.wl[data-theme=mullappoo] .wl-jasmine { position: absolute; top: -4px; width: 46px; height: auto; }
.wl[data-theme=mullappoo] .wl-jasmine.l { left: 6px; }
.wl[data-theme=mullappoo] .wl-jasmine.r { right: 6px; }
.wl[data-theme=mullappoo] .wl-hero { padding: 110px 56px 72px; }
.wl[data-theme=mullappoo] .wl-names { letter-spacing: .02em; }
.wl[data-theme=mullappoo] .wl-mono { font-size: 3.4rem; }

/* ---------- Thamara ---------- */
.wl[data-theme=thamara] {
  --page: #FDEEF1; --outer: #F3CBD4; --ink: #4E1A2A; --muted: #87505F; --acc: #A3405A; --acc2: #8E2F49;
  --card: rgba(255,255,255,.72); --line: rgba(163,64,90,.25);
  --fs: 'Parisienne'; --ft: 'Lora'; --fh: 'Lora'; --names: clamp(2.6rem, 15vw, 4.5rem); --tsize: .98rem;
  --btn: #A3405A; --foil: linear-gradient(100deg, #7E2A40, #D88A9C 35%, #9E3B55 60%, #E7A9B6 82%, #7E2A40); --veil: rgba(253,238,241,.55);
}
.wl[data-theme=thamara] .wl-body { background: linear-gradient(#FADDE3, #FFF5F7 40%, #FDEEF1); }
.wl[data-theme=thamara] .wl-door, .wl[data-theme=thamara] .wl-op-bg, .wl[data-theme=thamara] .wl-strip, .wl[data-theme=thamara] .wl-fold { background: #FADDE3; }
.wl[data-theme=thamara] .wl-lotus-top { position: absolute; top: 60px; left: 50%; width: 180px; transform: translateX(-50%); }
.wl[data-theme=thamara] .wl-hero { padding-top: 200px; }
.wl[data-theme=thamara] h2, .wl[data-theme=thamara] .wl-ev h3 { font-style: italic; }


/* ---------- Champagne ---------- */
.wl[data-theme=champagne] {
  --page: #FFF8F3; --outer: #EFDCD3; --ink: #3C2A22; --muted: #8A6F62; --acc: #8E6C30; --acc2: #7A5A2A;
  --card: rgba(255,255,255,.72); --line: rgba(155,122,60,.3);
  --fs: 'Bodoni Moda'; --ft: 'Jost'; --fh: 'Bodoni Moda'; --names: clamp(2.3rem, 13.5vw, 4.2rem); --tsize: .98rem;
  --btn: #7A5A2A; --photo-r: 2px; --foil: var(--foilD); --veil: rgba(255,248,243,.55);
}
.wl[data-theme=champagne] .wl-body { background: radial-gradient(70% 35% at 85% 8%, #F8DCDC 0, transparent 70%), radial-gradient(70% 40% at 10% 40%, #F5E6CC 0, transparent 70%), linear-gradient(165deg, #FFF9F4, #FBEAE6 40%, #F6E7D4 75%, #FFF8F0); }
.wl[data-theme=champagne] .wl-door, .wl[data-theme=champagne] .wl-op-bg, .wl[data-theme=champagne] .wl-strip, .wl[data-theme=champagne] .wl-fold { background: linear-gradient(165deg, #FFF9F4, #FBEAE6 50%, #F6E7D4); }
.wl[data-theme=champagne] .wl-names, .wl[data-theme=champagne] .wl-mono, .wl[data-theme=champagne] .wl-sign, .wl[data-theme=champagne] .wl-fam h3 { font-style: italic; }
.wl[data-theme=champagne] .wl-hero { padding: 110px 32px 80px; }
.wl[data-theme=champagne] .wl-bokeh { opacity: .75; }
.wl[data-theme=champagne] .wl-intro, .wl[data-theme=champagne] .wl-date-a { letter-spacing: .14em; font-size: .78em; }

/* ---------- Noor ---------- */
.wl[data-theme=noor] {
  --page: #0E3B2E; --outer: #06231B; --ink: #F1E9D2; --muted: #C9D8CC; --acc: #E3C26E; --acc2: #F1DB9A;
  --card: rgba(255,255,255,.05); --line: rgba(227,194,110,.3);
  --fs: 'Cormorant Upright'; --ft: 'Cormorant Garamond'; --fh: 'Cormorant Upright'; --names: clamp(2.6rem, 15vw, 4.6rem); --tsize: 1.1rem;
  --btn: #E3C26E; --btnInk: #0E3B2E; --foil: var(--foilG); --grain: .16; --grain-mode: overlay; --veil: rgba(8,42,32,.45); --photo-r: 999px 999px 12px 12px;
}
.wl[data-theme=noor] .wl-body { background: radial-gradient(120% 55% at 50% 0%, #1B6E54 0%, #0E3B2E 55%, #082A20 100%); }
.wl[data-theme=noor] .wl-door, .wl[data-theme=noor] .wl-op-bg, .wl[data-theme=noor] .wl-strip, .wl[data-theme=noor] .wl-fold { background: radial-gradient(100% 70% at 50% 40%, #17614A, #082A20); }
.wl[data-theme=noor] .wl-names { font-weight: 600; }
.wl[data-theme=noor] .wl-mihrab { position: absolute; top: 40px; left: 50%; width: 86%; height: calc(100% - 44px); transform: translateX(-50%); }
.wl[data-theme=noor] .wl-hero { padding: 150px 48px 80px; }
.wl[data-theme=noor] .wl-intro, .wl[data-theme=qamar] .wl-intro { font-family: 'Amiri', var(--ft), serif; font-size: 1.35em; color: var(--acc); letter-spacing: 0; }

/* ---------- Qamar ---------- */
.wl[data-theme=qamar] {
  --page: #1B1440; --outer: #0C0922; --ink: #F1E8D8; --muted: #C7BEDD; --acc: #E8C87A; --acc2: #F5DFA8;
  --card: rgba(255,255,255,.06); --line: rgba(232,200,122,.28);
  --fs: 'Italianno'; --ft: 'Cormorant Garamond'; --fh: 'Cormorant Garamond'; --names: clamp(2.6rem, 17vw, 5.3rem); --tsize: 1.1rem;
  --btn: #E8C87A; --btnInk: #1B1440; --foil: var(--foilG); --grain: .14; --grain-mode: overlay; --veil: rgba(18,14,46,.45);
}
.wl[data-theme=qamar] .wl-body { background: linear-gradient(#120E2E, #2A1B57 42%, #1B1440); }
.wl[data-theme=qamar] .wl-door, .wl[data-theme=qamar] .wl-op-bg, .wl[data-theme=qamar] .wl-strip, .wl[data-theme=qamar] .wl-fold { background: linear-gradient(#120E2E, #2A1B57); }
.wl[data-theme=qamar] .wl-stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.wl[data-theme=qamar] .wl-lanterns { position: absolute; top: 0; left: 0; width: 100%; }
.wl[data-theme=qamar] .wl-moon-q { position: absolute; top: 210px; right: 30px; width: 40px; }
.wl[data-theme=qamar] .wl-hero { padding-top: 220px; }
.wl[data-theme=qamar] h2, .wl[data-theme=qamar] .wl-ev h3 { letter-spacing: .05em; font-weight: 600; }

/* ---------- Chapel ---------- */
.wl[data-theme=chapel] {
  --page: #FDFBF6; --outer: #E9E2D6; --ink: #33302B; --muted: #7A7266; --acc: #8C6A28; --acc2: #6E5212;
  --card: rgba(255,255,255,.82); --line: rgba(140,106,40,.25);
  --fs: 'Allura'; --ft: 'Cormorant Garamond'; --fh: 'Cormorant Garamond'; --names: clamp(2.6rem, 16.5vw, 5.1rem); --tsize: 1.12rem;
  --btn: #6E5212; --foil: var(--foilD); --veil: rgba(253,251,246,.55); --photo-r: 999px 999px 0 0;
}
.wl[data-theme=chapel] .wl-body { background: radial-gradient(80% 32% at 50% 14%, #FFF2D6 0, transparent 75%), linear-gradient(#FDFBF6, #F3ECE1); }
.wl[data-theme=chapel] .wl-window { position: absolute; top: 0; left: 50%; width: 300px; transform: translateX(-50%); }
.wl[data-theme=chapel] .wl-hero { padding-top: 330px; }
.wl[data-theme=chapel] h2, .wl[data-theme=chapel] .wl-ev h3 { font-style: italic; font-weight: 600; }

/* ---------- Grace ---------- */
.wl[data-theme=grace] {
  --page: #EEF3F6; --outer: #D3DEE6; --ink: #2C3A48; --muted: #5D6F80; --acc: #4F6A82; --acc2: #3B5268;
  --card: rgba(255,255,255,.72); --line: rgba(79,106,130,.25);
  --fs: 'Alex Brush'; --ft: 'EB Garamond'; --fh: 'EB Garamond'; --names: clamp(2.6rem, 15vw, 4.7rem); --tsize: 1.06rem;
  --btn: #3B5268; --foil: linear-gradient(100deg, #2F4256, #8EA3B6 35%, #3E556B 58%, #A9BBCB 80%, #2F4256); --veil: rgba(238,243,246,.55); --photo-r: 18px;
}
.wl[data-theme=grace] .wl-body { background: radial-gradient(80% 30% at 50% 10%, #FFFFFF 0, transparent 70%), linear-gradient(#DCE6EE, #EEF3F6 40%, #F7FAFB); }
.wl[data-theme=grace] .wl-wreath { position: absolute; top: 52px; left: 50%; width: 180px; transform: translateX(-50%); }
.wl[data-theme=grace] .wl-hero { padding-top: 250px; }
.wl[data-theme=grace] h2, .wl[data-theme=grace] .wl-ev h3 { font-style: italic; }

/* ---------- Kesar ---------- */
.wl[data-theme=kesar] {
  --page: #172C6E; --outer: #0C1840; --ink: #F6EFE1; --muted: #C9D2EC; --acc: #F4B942; --acc2: #FFD98A;
  --card: rgba(255,255,255,.06); --line: rgba(244,185,66,.3);
  --fs: 'Yeseva One'; --ft: 'Mukta'; --fh: 'Yeseva One'; --names: clamp(2.3rem, 12.5vw, 4rem);
  --btn: #F4B942; --btnInk: #172C6E; --foil: var(--foilG); --grain: .14; --grain-mode: overlay; --veil: rgba(15,31,82,.45);
}
.wl[data-theme=kesar] .wl-body { background: radial-gradient(120% 55% at 50% 0%, #2547A3 0%, #172C6E 55%, #0F1F52 100%); }
.wl[data-theme=kesar] .wl-door, .wl[data-theme=kesar] .wl-op-bg, .wl[data-theme=kesar] .wl-strip, .wl[data-theme=kesar] .wl-fold { background: radial-gradient(100% 70% at 50% 40%, #22409A, #0F1F52); }
.wl[data-theme=kesar] .wl-onkar { position: absolute; top: 54px; left: 50%; width: 96px; height: 96px; transform: translateX(-50%); display: grid; place-items: center; }
.wl-onkar svg { position: absolute; inset: 0; }
.wl-onkar span { font-family: 'Noto Serif Gurmukhi', serif; font-weight: 600; font-size: 44px; line-height: 1; background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wl[data-theme=kesar] .wl-hero { padding-top: 190px; }

/* ---------- Gopuram ---------- */
.wl[data-theme=gopuram] {
  --page: #5E1020; --outer: #2E0610; --ink: #F8E9D2; --muted: #E5C6A6; --acc: #E8C26A; --acc2: #F6DC9C;
  --card: rgba(255,230,190,.06); --line: rgba(232,194,106,.3);
  --fs: 'Cinzel Decorative'; --ft: 'Marcellus'; --fh: 'Cinzel Decorative'; --names: clamp(2.3rem, 10.5vw, 3.3rem);
  --btn: #E8C26A; --btnInk: #4A0B16; --foil: var(--foilG); --grain: .16; --grain-mode: overlay; --veil: rgba(67,10,22,.45);
}
.wl[data-theme=gopuram] .wl-body { background: radial-gradient(130% 55% at 50% 0%, #8A1A30 0%, #5E1020 55%, #430A16 100%); }
.wl[data-theme=gopuram] .wl-door, .wl[data-theme=gopuram] .wl-op-bg, .wl[data-theme=gopuram] .wl-strip, .wl[data-theme=gopuram] .wl-fold { background: radial-gradient(100% 70% at 50% 40%, #7A1528, #430A16); }
.wl[data-theme=gopuram] .wl-names { font-weight: 700; }
.wl[data-theme=gopuram] .wl-gopuram { position: absolute; top: 28px; left: 50%; width: 170px; transform: translateX(-50%); }
.wl[data-theme=gopuram] .wl-kolam { display: block; width: 100%; height: 16px; margin-bottom: 18px; }
.wl[data-theme=gopuram] .wl-hero { padding-top: 300px; }
.wl[data-theme=gopuram] .wl-mono { font-size: 3rem; }

/* ---------- Velvet ---------- */
.wl[data-theme=velvet] {
  --page: #4A0A22; --outer: #22030F; --ink: #F7E6E9; --muted: #E2BCC6; --acc: #E5C37A; --acc2: #F6DFA6;
  --card: rgba(255,255,255,.05); --line: rgba(229,195,122,.3);
  --fs: 'Limelight'; --ft: 'Cormorant Garamond'; --fh: 'Limelight'; --names: clamp(2.3rem, 11vw, 3.4rem); --tsize: 1.1rem;
  --btn: #E5C37A; --btnInk: #4A0A22; --foil: var(--foilG); --grain: .18; --grain-mode: overlay; --veil: rgba(46,6,20,.45); --photo-r: 999px 999px 0 0;
}
.wl[data-theme=velvet] .wl-body { background: radial-gradient(110% 60% at 50% 25%, #7E1840 0%, #4A0A22 55%, #2E0614 100%); }
.wl[data-theme=velvet] .wl-door, .wl[data-theme=velvet] .wl-op-bg, .wl[data-theme=velvet] .wl-strip, .wl[data-theme=velvet] .wl-fold { background: radial-gradient(100% 70% at 50% 40%, #6E1438, #2E0614); }
.wl[data-theme=velvet] .wl-deco { position: absolute; top: 30px; left: 50%; width: 300px; transform: translateX(-50%); }
.wl[data-theme=velvet] .wl-hero { padding: 200px 44px 80px; }
.wl[data-theme=velvet] .wl-names { letter-spacing: .03em; }
.wl[data-theme=velvet] h2, .wl[data-theme=velvet] .wl-ev h3 { font-size: 1.3rem; letter-spacing: .06em; }
.wl[data-theme=velvet] .wl-mono { font-size: 3.2rem; }

/* ---------- Mayil ---------- */
.wl[data-theme=mayil] {
  --page: #0D4651; --outer: #05232A; --ink: #EAF4F1; --muted: #B7D6D2; --acc: #E2C46F; --acc2: #F2DC9B;
  --card: rgba(255,255,255,.06); --line: rgba(226,196,111,.3);
  --fs: 'Rouge Script'; --ft: 'EB Garamond'; --fh: 'EB Garamond'; --names: clamp(2.6rem, 17vw, 5.2rem); --tsize: 1.06rem;
  --btn: #E2C46F; --btnInk: #0D4651; --foil: var(--foilG); --grain: .14; --grain-mode: overlay; --veil: rgba(7,47,55,.45);
}
.wl[data-theme=mayil] .wl-body { background: radial-gradient(120% 55% at 50% 0%, #137080 0%, #0D4651 55%, #072F37 100%); }
.wl[data-theme=mayil] .wl-door, .wl[data-theme=mayil] .wl-op-bg, .wl[data-theme=mayil] .wl-strip, .wl[data-theme=mayil] .wl-fold { background: radial-gradient(100% 70% at 50% 40%, #11606D, #072F37); }
.wl[data-theme=mayil] .wl-peacock { position: absolute; top: 14px; left: 50%; width: 320px; transform: translateX(-50%); }
.wl[data-theme=mayil] .wl-bokeh { opacity: .4; }
.wl[data-theme=mayil] .wl-hero { padding-top: 240px; }
.wl[data-theme=mayil] h2, .wl[data-theme=mayil] .wl-ev h3 { font-style: italic; }

/* ---------- Jaipur ---------- */
.wl[data-theme=jaipur] {
  --page: #F7DCD1; --outer: #E3AE9D; --ink: #4B1E1A; --muted: #85453B; --acc: #8A4A1E; --acc2: #6F2C1A;
  --card: rgba(255,248,244,.72); --line: rgba(138,74,30,.25);
  --fs: 'Gloock'; --ft: 'Lora'; --fh: 'Gloock'; --names: clamp(2.3rem, 13vw, 4rem); --tsize: .98rem;
  --btn: #8E3B2A; --foil: linear-gradient(100deg, #6B3A12, #C98E4A 35%, #7E4A1A 58%, #E0AE6A 80%, #6B3A12); --veil: rgba(251,234,226,.55);
}
.wl[data-theme=jaipur] .wl-body { background: linear-gradient(#EFB9A8, #F7DCD1 38%, #FBEAE2); }
.wl[data-theme=jaipur] .wl-door, .wl[data-theme=jaipur] .wl-op-bg, .wl[data-theme=jaipur] .wl-strip, .wl[data-theme=jaipur] .wl-fold { background: linear-gradient(#EFB9A8, #F7DCD1); }
.wl[data-theme=jaipur] .wl-jharokha { position: absolute; top: 8px; left: 0; width: 100%; }
.wl[data-theme=jaipur] .wl-hero { padding-top: 220px; }

/* ---------- Gulmohar ---------- */
.wl[data-theme=gulmohar] {
  --page: #FFF8EF; --outer: #F2DFC9; --ink: #3E2416; --muted: #85614A; --acc: #B8401C; --acc2: #9A2F12;
  --card: rgba(255,255,255,.76); --line: rgba(184,64,28,.22);
  --fs: 'Tangerine'; --ft: 'Lora'; --fh: 'Lora'; --names: clamp(2.6rem, 19vw, 5.8rem); --tsize: .98rem;
  --btn: #B8401C; --foil: linear-gradient(100deg, #8A2A10, #E2603A 35%, #A33416 58%, #EE8458 80%, #8A2A10); --veil: rgba(255,248,239,.55); --photo-r: 18px;
}
.wl[data-theme=gulmohar] .wl-body { background: radial-gradient(80% 30% at 50% 30%, #FFFDF8 0, transparent 70%), linear-gradient(#FFF4E6, #FFF8EF 40%, #FBEFE2); }
.wl[data-theme=gulmohar] .wl-names, .wl[data-theme=gulmohar] .wl-sign, .wl[data-theme=gulmohar] .wl-fam h3, .wl[data-theme=gulmohar] .wl-mono { font-weight: 700; }
.wl[data-theme=gulmohar] .wl-gulmohar { position: absolute; top: -6px; left: -8px; width: 62%; }
.wl[data-theme=gulmohar] .wl-gulmohar.r { left: auto; right: -8px; top: 40px; width: 48%; transform: scaleX(-1) rotate(-6deg); }
.wl[data-theme=gulmohar] .wl-hero { padding-top: 200px; }
.wl[data-theme=gulmohar] h2, .wl[data-theme=gulmohar] .wl-ev h3 { font-style: italic; }

/* ---------- Gift list ---------- */
.wl-gift-note { max-width: 30em; margin: 0 auto 6px; color: var(--muted); }
.wl-gift-left { font-size: .82em; letter-spacing: .06em; text-transform: uppercase; color: var(--acc); margin: 0 0 18px; }
.wl-gift-list { list-style: none; padding: 0; margin: 0 auto; max-width: 440px; display: grid; gap: 10px; text-align: left; }
.wl-gift { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 14px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.wl-gift.chosen { box-shadow: 0 0 0 2px var(--acc); }
.wl-gift-t { display: grid; gap: 2px; min-width: 0; }
.wl-gift-t b { font-weight: 600; }
.wl-gift-t span { font-size: .85em; color: var(--muted); }
.wl-gift-t a { font-size: .8em; color: var(--acc); }
.wl-gift .wl-btn { flex: none; min-height: 38px; padding: 6px 14px; font-size: .82em; }
.wl-gift.taken { opacity: .55; }
.wl-gift.taken b { text-decoration: line-through; text-decoration-thickness: 1px; }
.wl-gift-tag { flex: none; font-style: normal; font-size: .78em; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.wl-gift-form { margin: 4px 0 8px; padding: 16px; border-radius: 14px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.wl-gift-form[hidden] { display: none; }
.wl-gift-chosen { margin: 0; font-weight: 600; text-align: center; }
.wl-gift-list .wl-thanks { padding: 6px 4px 10px; }

/* ---------- shared premium pieces: timeline events and calendar ---------- */
.wl-tl .wl-ev { position: relative; background: none; border: 0; border-radius: 0; text-align: left; padding: 0 0 30px 64px; margin: 0 auto; max-width: 400px; }
.wl-tl .wl-ev::before { content: ''; position: absolute; left: 21px; top: 44px; bottom: 0; width: 1px; background: var(--line); }
.wl-tl .wl-ev:last-child::before { display: none; }
.wl-tl .wl-ev-ic { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--card); box-shadow: 0 0 0 1px var(--line); color: var(--acc); }
.wl-tl .wl-ev-ic svg { width: 24px; height: 24px; }
.wl-tl .wl-ev-t { font-size: .82em; letter-spacing: .1em; text-transform: uppercase; color: var(--acc); margin: 0; }
.wl-tl .wl-ev h3 { margin-bottom: 4px; }
.wl-tl .wl-ev-acts { justify-content: flex-start; margin-top: 12px; }
.wl-cal-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px 2px; max-width: 330px; margin: 18px auto 0; font-size: .95em; }
.wl-cal-g span { display: grid; place-items: center; height: 36px; position: relative; }
.wl-cal-g .wl-cal-h { font-size: .7em; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); height: 22px; }
.wl-cal-g .on { color: #fff; font-weight: 600; z-index: 0; }
.wl-cal-g .on::before { content: ''; position: absolute; inset: 1px 3px; z-index: -1; border-radius: 50%; background: var(--acc); }

/* ---------- Sage (premium): olive and ivory watercolour ---------- */
.wl[data-theme=sage] {
  --page: #F6F3EA; --outer: #DDD9C8; --ink: #3D4233; --muted: #6E7462; --acc: #5F6E4A; --acc2: #4D5A3B;
  --card: rgba(255,255,255,.7); --line: rgba(95,110,74,.28);
  --fs: 'Italianno'; --ft: 'Cormorant Garamond'; --fh: 'Cormorant Garamond'; --names: clamp(3rem, 19vw, 5.6rem); --tsize: 1.12rem;
  --btn: #5F6E4A; --foil: linear-gradient(100deg, #4D5A3B, #8E9B74 40%, #5F6E4A 62%, #A3AE8B 85%, #4D5A3B); --veil: rgba(246,243,234,.6); --photo-r: 999px 999px 14px 14px;
}
.wl[data-theme=sage] .wl-body { background: linear-gradient(#F6F3EA, #F1EDE0 60%, #F6F3EA); }
.wl[data-theme=sage] .wl-door, .wl[data-theme=sage] .wl-op-bg, .wl[data-theme=sage] .wl-strip, .wl[data-theme=sage] .wl-fold { background: radial-gradient(60% 40% at 0 0, rgba(125,139,102,.35), transparent 70%), radial-gradient(60% 40% at 100% 100%, rgba(125,139,102,.3), transparent 70%), #F6F3EA; }
.wl[data-theme=sage] .wl-wash { position: absolute; border-radius: 50%; filter: blur(26px); opacity: .55; }
.wl[data-theme=sage] .wl-wash.a { width: 260px; height: 200px; top: -70px; left: -80px; background: #8E9B74; }
.wl[data-theme=sage] .wl-wash.b { width: 220px; height: 180px; top: -40px; right: -90px; background: #B9C2A4; }
.wl[data-theme=sage] .wl-wash.c { width: 300px; height: 160px; bottom: -60px; left: 20%; background: #CBD1BC; opacity: .45; }
.wl[data-theme=sage] .wl-sprig { position: absolute; top: 30px; width: 120px; }
.wl[data-theme=sage] .wl-sprig.l { left: 6px; transform: scaleY(-1) rotate(180deg); }
.wl[data-theme=sage] .wl-sprig.r { right: 6px; transform: scaleY(-1); }
.wl[data-theme=sage] .wl-hero { padding-top: 170px; }
.wl[data-theme=sage] .wl-intro, .wl[data-theme=sage] .wl-date-a { letter-spacing: .18em; text-transform: uppercase; font-size: .74em; font-family: 'Jost', sans-serif; }
.wl[data-theme=sage] h2 { letter-spacing: .14em; text-transform: uppercase; font-size: 1.25rem; }
.wl[data-theme=sage] .wl-events { background: #5F6E4A; color: #F3F1E6; --ink: #F3F1E6; --card: rgba(255,255,255,.12); --line: rgba(243,241,230,.35); --acc: #F3F1E6; --muted: #D9DCCB; }
.wl[data-theme=sage] .wl-events .wl-btn { --btn: #F3F1E6; --btnInk: #4D5A3B; }
.wl[data-theme=sage] .wl-events .wl-btn.ghost { color: #F3F1E6 !important; border-color: #F3F1E6; }

/* ---------- Wax Seal (premium): champagne envelope ---------- */
.wl[data-theme=seal] {
  --page: #FAF6EF; --outer: #E9DFCF; --ink: #4A3E30; --muted: #8A7A64; --acc: #9C7E52; --acc2: #7E6440;
  --card: rgba(255,255,255,.75); --line: rgba(156,126,82,.28);
  --fs: 'Pinyon Script'; --ft: 'Cormorant Garamond'; --fh: 'Cormorant Garamond'; --names: clamp(2.8rem, 16vw, 5rem); --tsize: 1.1rem;
  --btn: #9C7E52; --foil: linear-gradient(100deg, #7E6440, #CFB284 35%, #9C7E52 58%, #E2CBA3 80%, #7E6440); --veil: rgba(250,246,239,.6); --photo-r: 6px;
}
.wl[data-theme=seal] .wl-body { background: radial-gradient(70% 30% at 50% 0%, #FFFFFF 0, transparent 70%), linear-gradient(#F4EDE1, #FAF6EF 40%, #F6EFE3); }
.wl[data-theme=seal] .wl-blooms { position: absolute; top: 0; left: 0; width: 100%; }
.wl[data-theme=seal] .wl-frame-2 { inset: 18px; border: 1px solid rgba(156,126,82,.4); }
.wl[data-theme=seal] .wl-hero { padding-top: 150px; }
.wl[data-theme=seal] .wl-intro, .wl[data-theme=seal] .wl-date-a, .wl[data-theme=seal] h2 { letter-spacing: .16em; text-transform: uppercase; font-size: .78em; font-family: 'Jost', sans-serif; }
.wl[data-theme=seal] h2 { font-size: 1rem; }
.wl-cover-env .wl-door { background: #EFE6D7; }
.wl-cover-env .wl-door::after { display: none; }
.wl-cover-env .wl-cover-k { font-family: 'Pinyon Script', cursive; font-size: 2.4rem; letter-spacing: 0; color: #9C7E52; }
.wl-env { position: relative; width: 280px; height: 190px; margin: 26px auto 18px; perspective: 900px; }
.wl-env-back { position: absolute; inset: 0; background: #BFA47E; border-radius: 6px; }
.wl-env-card { position: absolute; left: 14px; right: 14px; top: 12px; height: 160px; background: #FFFDF8; border-radius: 4px; display: grid; place-items: center; transition: transform .9s .35s cubic-bezier(.4,0,.2,1); box-shadow: 0 2px 8px rgba(0,0,0,.08); z-index: 1; }
.wl-env-card span { font-family: 'Pinyon Script', cursive; font-size: 1.7rem; color: #7E6440; padding: 0 10px; }
.wl-env-front { position: absolute; inset: 0; z-index: 2; border-radius: 6px; background: linear-gradient(160deg, #DCC7A6, #CDB592); clip-path: polygon(0 0, 50% 58%, 100% 0, 100% 100%, 0 100%); }
.wl-env-flap { position: absolute; left: 0; right: 0; top: 0; height: 100%; z-index: 3; transform-origin: top; transition: transform .6s cubic-bezier(.4,0,.2,1), z-index 0s .3s;
  background: linear-gradient(180deg, #E3D0B1, #D2BB97); clip-path: polygon(0 0, 100% 0, 50% 60%); }
.wl-seal.wl-open { position: absolute; left: calc(50% - 33px); top: 82px; z-index: 4; width: 66px; height: 66px; min-height: 0; margin: 0; padding: 0; border-radius: 50%; animation: wlBreath 2.4s ease-in-out infinite; border: 0;
  background: radial-gradient(circle at 35% 30%, #F3DFA9, #C9A24A 45%, #8C6A1C 100%); box-shadow: inset 0 0 0 4px rgba(140,106,28,.55), 0 4px 10px rgba(0,0,0,.25); color: #6B4E0E; display: grid; place-items: center; transition: opacity .3s; }
.wl-seal span { font-family: 'Pinyon Script', cursive; font-size: 1.5rem; line-height: 1; }
.wl-seal i { font-style: normal; font-size: .6em; margin: 0 1px; }
.wl-env-tap { font-size: .8em; letter-spacing: .14em; text-transform: uppercase; color: #8A7A64; margin-top: 10px; font-family: 'Jost', sans-serif; }
.wl-cover-env.open .wl-env-flap { transform: rotateX(180deg); z-index: 0; }
.wl-cover-env.open .wl-env-card { z-index: 2; }
.wl-cover-env.open .wl-seal { opacity: 0; }
.wl-cover-env.open .wl-env-card { transform: translateY(-90px); }
.wl-cover-env.open .wl-cover-in { opacity: 0; transition: opacity .4s .8s; }
.wl-cover-env .wl-door { transition-delay: .9s; }

/* ---------- Ink (premium): handwritten ivory letter ---------- */
.wl[data-theme=ink] {
  --page: #F7F2EA; --outer: #E6DED1; --ink: #3A2A26; --muted: #7A6A62; --acc: #5A2E2A; --acc2: #3A1E1B;
  --card: rgba(255,255,255,.55); --line: rgba(90,46,42,.22);
  --fs: 'Mrs Saint Delafield'; --ft: 'Cormorant Garamond'; --fh: 'Cormorant SC'; --names: clamp(3.2rem, 19vw, 5.8rem); --tsize: 1.12rem;
  --btn: #3A1E1B; --foil: linear-gradient(#3A1E1B, #3A1E1B); --veil: rgba(247,242,234,.6); --photo-r: 2px; --grain: .1;
}
.wl[data-theme=ink] .wl-door, .wl[data-theme=ink] .wl-op-bg, .wl[data-theme=ink] .wl-strip, .wl[data-theme=ink] .wl-fold { background: #F7F2EA; }
.wl[data-theme=ink] .wl-hero { padding-top: 120px; }
.wl[data-theme=ink] .wl-names > span:not(.wl-amp) { animation: none !important; }
.wl[data-theme=ink] .wl-heartline { display: block; width: 100%; max-width: 380px; margin: 22px auto 0; }
.wl[data-theme=ink] h2, .wl[data-theme=ink] .wl-ev h3 { letter-spacing: .08em; }
.wl[data-theme=ink] .wl-cal-g .on { color: #fff; }
.wl[data-theme=ink] .wl-cal-g .on::before { border-radius: 0; inset: 3px 5px; background: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 21C5 15 1 11 1 6.5 1 3 3.7 1 6.5 1 9 1 11 2.6 12 4.6 13 2.6 15 1 17.5 1 20.3 1 23 3 23 6.5 23 11 19 15 12 21Z' fill='%235A2E2A'/%3E%3C/svg%3E"); background-size: contain; background-repeat: no-repeat; background-position: center; }
.wl[data-theme=ink] .wl-tl .wl-ev::before { border-left: 1px dashed var(--acc); background: none; }
.wl[data-theme=ink] .wl-btn { border-radius: 2px; }

/* ---------- Toile (premium): navy line drawings ---------- */
.wl[data-theme=toile] {
  --page: #F8F6F0; --outer: #DDE2EA; --ink: #24365A; --muted: #5A6A88; --acc: #2F4A7A; --acc2: #1F3560;
  --card: rgba(255,255,255,.7); --line: rgba(47,74,122,.25);
  --fs: 'Parisienne'; --ft: 'Jost'; --fh: 'Cormorant Garamond'; --names: clamp(2.6rem, 15vw, 4.6rem); --tsize: .98rem;
  --btn: #2F4A7A; --foil: linear-gradient(#2F4A7A, #2F4A7A); --veil: rgba(248,246,240,.6); --photo-r: 2px;
}
.wl[data-theme=toile] .wl-door, .wl[data-theme=toile] .wl-op-bg, .wl[data-theme=toile] .wl-strip, .wl[data-theme=toile] .wl-fold { background: #F8F6F0; }
.wl[data-theme=toile] .wl-gazebo { position: absolute; top: 40px; left: 50%; width: 190px; transform: translateX(-50%); }
.wl[data-theme=toile] .wl-tf { position: absolute; bottom: 0; width: 120px; }
.wl[data-theme=toile] .wl-tf.l { left: 0; }
.wl[data-theme=toile] .wl-tf.r { right: 0; transform: scaleX(-1); }
.wl[data-theme=toile] .wl-hero { padding-top: 260px; }
.wl[data-theme=toile] .wl-names > span:not(.wl-amp) { animation: none !important; }
.wl[data-theme=toile] .wl-intro, .wl[data-theme=toile] h2 { letter-spacing: .14em; text-transform: uppercase; font-family: 'Jost', sans-serif; font-weight: 400; font-size: .82em; }
.wl[data-theme=toile] h2 { font-size: 1.1rem; }
.wl[data-theme=toile] .wl-cal-g { border: 1px solid var(--line); padding: 12px; }
.wl[data-theme=toile] .wl-cal-g .on::before { background: none; border: 1.5px solid var(--acc); }
.wl[data-theme=toile] .wl-cal-g .on { color: var(--acc); }
.wl[data-theme=toile] .wl-btn { border-radius: 8px; }

/* ---------- Classic (free) ---------- */
.wl[data-theme=classic] {
  --page: #FBF8F2; --outer: #E7E1D6; --ink: #1E1E1E; --muted: #5E5A53; --acc: #2B2B2B; --acc2: #1E1E1E;
  --card: #FFFFFF; --line: rgba(30,30,30,.16);
  --fs: 'Playfair Display'; --ft: 'Lora'; --fh: 'Playfair Display'; --names: clamp(2.4rem, 13vw, 4rem); --tsize: 1rem;
  --btn: #1E1E1E; --foil: linear-gradient(#1E1E1E, #1E1E1E); --veil: rgba(251,248,242,.6); --photo-r: 4px; --grain: .05;
}
.wl[data-theme=classic] .wl-door, .wl[data-theme=classic] .wl-op-bg, .wl[data-theme=classic] .wl-strip, .wl[data-theme=classic] .wl-fold { background: #FBF8F2; }
.wl[data-theme=classic] .wl-names, .wl[data-theme=classic] .wl-sign, .wl[data-theme=classic] .wl-fam h3 { font-style: italic; }
.wl[data-theme=classic] .wl-frame-2 { inset: 18px; border: 1px solid rgba(30,30,30,.55); }
.wl[data-theme=classic] .wl-frame-2::after { content: ''; position: absolute; inset: 5px; border: 1px solid rgba(30,30,30,.2); }
.wl[data-theme=classic] .wl-hero { padding: 120px 44px 84px; }
.wl[data-theme=classic] .wl-intro, .wl[data-theme=classic] .wl-date-a { letter-spacing: .16em; font-size: .76em; text-transform: uppercase; }
.wl[data-theme=classic] .wl-names > span:not(.wl-amp) { animation: none !important; }

/* ---------- Blush (free) ---------- */
.wl[data-theme=blush] {
  --page: #FDF1F2; --outer: #F1D9DC; --ink: #4A2C31; --muted: #8A646A; --acc: #B4606E; --acc2: #9C4C5A;
  --card: rgba(255,255,255,.78); --line: rgba(180,96,110,.24);
  --fs: 'Corinthia'; --ft: 'Cormorant Garamond'; --fh: 'Cormorant Garamond'; --names: clamp(3rem, 20vw, 6rem); --tsize: 1.1rem;
  --btn: #B4606E; --foil: linear-gradient(100deg, #8E3E4C, #D98C99 40%, #A44E5D 62%, #E7A5AF 85%, #8E3E4C); --veil: rgba(253,241,242,.55); --photo-r: 999px 999px 18px 18px;
}
.wl[data-theme=blush] .wl-body { background: radial-gradient(70% 30% at 50% 10%, #FFFFFF 0, transparent 70%), linear-gradient(#FBE4E7, #FDF1F2 40%, #FFF8F8); }
.wl[data-theme=blush] .wl-door, .wl[data-theme=blush] .wl-op-bg, .wl[data-theme=blush] .wl-strip, .wl[data-theme=blush] .wl-fold { background: linear-gradient(#FBE4E7, #FDF1F2); }
.wl[data-theme=blush] .wl-names, .wl[data-theme=blush] .wl-sign, .wl[data-theme=blush] .wl-fam h3, .wl[data-theme=blush] .wl-mono { font-weight: 700; }
.wl[data-theme=blush] .wl-rose { position: absolute; top: 56px; left: 50%; width: 220px; transform: translateX(-50%); }
.wl[data-theme=blush] .wl-hero { padding-top: 170px; }
.wl[data-theme=blush] h2, .wl[data-theme=blush] .wl-ev h3 { font-style: italic; font-weight: 600; }

/* ---------- photo-led hero (Lumière, Journal, Vogue) ---------- */
.wl-pl { padding: 0 !important; min-height: 0; display: block; text-align: center; }
.wl-pl-img { position: relative; overflow: hidden; }
.wl-pl-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wl-pl-img.none { display: grid; place-items: center; }
.wl-pl-img:not(.none) .wl-pl-add { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 4; white-space: nowrap; font-size: .72rem; }
.wl-pl-add { position: relative; z-index: 2; padding: 9px 16px; border-radius: 99px; background: rgba(255,255,255,.85); color: #444; font: 500 .8rem system-ui, sans-serif; letter-spacing: .02em; }
.wl-pl .wl-names { line-height: 1.02; }
.wl-pl-date { font-size: .82em; letter-spacing: .14em; text-transform: uppercase; margin: 16px 0 0; }
.wl.revealed .wl-pl-img img { animation: wlKen 14s ease-out both; }
@keyframes wlKen { from { transform: scale(1.08); } to { transform: scale(1); } }

/* Lumière: full-screen photo, white names over a soft fade */
.wl[data-theme=lumiere] {
  --page: #FBF8F3; --outer: #E9E2D6; --ink: #3A322B; --muted: #857868; --acc: #A8875A; --acc2: #8C6D46;
  --card: #FFFFFF; --line: rgba(168,135,90,.28);
  --fs: 'Cormorant Garamond'; --ft: 'Jost'; --fh: 'Cormorant Garamond'; --names: clamp(3rem, 16vw, 5.4rem); --tsize: .98rem;
  --btn: #A8875A; --foil: linear-gradient(100deg, #8C6D46, #C9A979 40%, #9C7B4E 62%, #D8BC8E 85%, #8C6D46); --photo-r: 4px; --grain: .04; --veil: rgba(251,248,243,.6);
}
.wl[data-theme=lumiere] .wl-pl { position: relative; height: calc(100svh - 50px); min-height: 560px; }
.wl[data-theme=lumiere] .wl-pl-img { position: absolute; inset: 0; }
.wl[data-theme=lumiere] .wl-pl-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,14,8,0) 35%, rgba(20,14,8,.25) 55%, rgba(20,14,8,.72) 100%); }
.wl[data-theme=lumiere] .wl-pl-img.none { background: radial-gradient(120% 80% at 30% 20%, #E9D6BE, #B89A72 60%, #7E6345); }
.wl[data-theme=lumiere] .wl-pl-in { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0 24px 46px; color: #fff; }
.wl[data-theme=lumiere] .wl-pl .wl-intro { color: rgba(255,255,255,.85); letter-spacing: .22em; text-transform: uppercase; font-size: .72em; }
.wl[data-theme=lumiere] .wl-pl .wl-names { font-style: italic; font-weight: 500; color: #fff; }
.wl[data-theme=lumiere] .wl-pl .wl-names > span:not(.wl-amp) { -webkit-text-fill-color: #fff; background: none; }
.wl[data-theme=lumiere] .wl-pl .wl-amp { color: #F0DDB8; }
.wl[data-theme=lumiere] .wl-pl .wl-line { color: rgba(255,255,255,.9); font-style: italic; }
.wl[data-theme=lumiere] .wl-pl-date { color: #F0DDB8; }
.wl[data-theme=lumiere] h2 { font-style: italic; font-size: 1.9rem; }

/* Journal: photo on top, cream paper and handwritten names below */
.wl[data-theme=journal] {
  --page: #FBF6EE; --outer: #EADFCF; --ink: #4A3B35; --muted: #8C7A70; --acc: #B07A7E; --acc2: #95606A;
  --card: rgba(255,255,255,.75); --line: rgba(176,122,126,.28);
  --fs: 'Allura'; --ft: 'Jost'; --fh: 'Cormorant Garamond'; --names: clamp(3.2rem, 19vw, 5.8rem); --tsize: .98rem;
  --btn: #B07A7E; --foil: linear-gradient(100deg, #8E5560, #C9939A 40%, #9C6470 62%, #D8AAB0 85%, #8E5560); --photo-r: 6px; --grain: .08; --veil: rgba(251,246,238,.6);
}
.wl[data-theme=journal] .wl-pl-img { height: 62svh; min-height: 380px; margin: 14px 14px 0; border-radius: 6px; box-shadow: 0 18px 40px -24px rgba(74,59,53,.6); transform: rotate(-1.2deg); }
.wl[data-theme=journal] .wl-pl-img::before, .wl[data-theme=journal] .wl-pl-img::after { content: ''; position: absolute; top: -6px; width: 90px; height: 26px; background: rgba(240,226,206,.85); z-index: 2; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.wl[data-theme=journal] .wl-pl-img::before { left: 18px; transform: rotate(-8deg); }
.wl[data-theme=journal] .wl-pl-img::after { right: 18px; transform: rotate(7deg); }
.wl[data-theme=journal] .wl-pl-img.none { background: linear-gradient(160deg, #F1DCD8, #E2C3BF 50%, #CFA6A4); }
.wl[data-theme=journal] .wl-pl-in { padding: 34px 26px 56px; }
.wl[data-theme=journal] .wl-pl .wl-intro { letter-spacing: .18em; text-transform: uppercase; font-size: .72em; color: var(--muted); }
.wl[data-theme=journal] .wl-pl-date { color: var(--acc2); }
.wl[data-theme=journal] h2 { font-style: italic; font-size: 1.8rem; }

/* Vogue: editorial magazine cover */
.wl[data-theme=vogue] {
  --page: #F7F5F1; --outer: #DDD8CF; --ink: #1E1C1A; --muted: #6F6A62; --acc: #8C6D46; --acc2: #1E1C1A;
  --card: #FFFFFF; --line: rgba(30,28,26,.16);
  --fs: 'Bodoni Moda'; --ft: 'Jost'; --fh: 'Bodoni Moda'; --names: clamp(2.8rem, 15vw, 5rem); --tsize: .96rem;
  --btn: #1E1C1A; --foil: linear-gradient(#1E1C1A, #1E1C1A); --photo-r: 0; --grain: .03; --veil: rgba(247,245,241,.6);
}
.wl[data-theme=vogue] .wl-pl { position: relative; height: calc(100svh - 50px); min-height: 580px; text-align: left; }
.wl[data-theme=vogue] .wl-pl-img { position: absolute; inset: 0; }
.wl[data-theme=vogue] .wl-pl-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 50%, rgba(0,0,0,.65) 100%); }
.wl[data-theme=vogue] .wl-pl-img.none { background: linear-gradient(170deg, #D9CFC2, #A99883 55%, #6E6152); }
.wl[data-theme=vogue] .wl-pl-in { position: absolute; inset: 0; z-index: 2; padding: 26px 24px 40px; color: #fff; display: flex; flex-direction: column; }
.wl[data-theme=vogue] .wl-pl-kick { margin: 0; font-size: .74em; letter-spacing: .32em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 10px; }
.wl[data-theme=vogue] .wl-pl .wl-names { margin-top: auto; text-transform: uppercase; letter-spacing: .02em; font-weight: 400; display: flex; flex-direction: column; color: #fff; }
.wl[data-theme=vogue] .wl-pl .wl-names > span:not(.wl-amp) { -webkit-text-fill-color: #fff; background: none; padding: 0; }
.wl[data-theme=vogue] .wl-pl .wl-amp { font-style: italic; text-transform: none; font-size: .5em; color: #E7D3AE; margin: -.1em 0; }
.wl[data-theme=vogue] .wl-pl-num { margin: 14px 0 0; font-family: 'Bodoni Moda', serif; font-size: clamp(2rem, 11vw, 3.4rem); line-height: 1; letter-spacing: .02em; }
.wl[data-theme=vogue] .wl-pl-num i { font-style: normal; color: #E7D3AE; margin: 0 .12em; }
.wl[data-theme=vogue] .wl-pl-date { color: rgba(255,255,255,.85); }
.wl[data-theme=vogue] h2 { text-transform: uppercase; letter-spacing: .14em; font-size: 1.15rem; }
.wl[data-theme=vogue] .wl-btn { border-radius: 0; }

/* ---------- website header inside every invite ---------- */
.wl-nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px;
  background: color-mix(in srgb, var(--page) 88%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.wl.is-closed .wl-nav { visibility: hidden; }
.wl-nav button { border: 0; background: none; cursor: pointer; color: var(--acc); font: inherit; }
.wl-nav-mono { font-family: var(--fs) !important; font-size: 1.5rem !important; line-height: 1; padding: 2px 4px; white-space: nowrap; }
.wl-nav-mono i { font-style: normal; font-size: .6em; margin: 0 2px; opacity: .8; }
.wl-nav-l { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.wl-nav-l::-webkit-scrollbar { display: none; }
.wl-nav-l button { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; padding: 8px 9px; border-radius: 99px; white-space: nowrap; font-family: var(--ft); }
.wl-nav-l button:hover { background: var(--card); }

/* ---------- couple photo in the hero ---------- */
.wl-hero-photo { margin: 26px auto 6px; width: min(78%, 330px); padding: 7px; border: 1px solid var(--line); border-radius: var(--photo-r); position: relative; z-index: 2; background: var(--card); box-shadow: 0 24px 44px -26px rgba(0,0,0,.45); }
.wl-hero-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--photo-r); }
.wl-ph-empty { display: grid; place-items: center; aspect-ratio: 4 / 5.2; color: var(--acc); background: linear-gradient(160deg, var(--card), transparent); }
.wl-ph-empty svg { width: 42%; fill: none; stroke: currentColor; stroke-width: 2; opacity: .45; }
.wl-ph-empty figcaption { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: -10%; }

/* ---------- event icons on every design ---------- */
.wl-events:not(.wl-tl) .wl-ev-ic { width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; color: var(--acc); box-shadow: 0 0 0 1px var(--line); background: var(--card); }
.wl-events:not(.wl-tl) .wl-ev-ic svg { width: 24px; height: 24px; }

/* ---------- couple photo as a full-screen cover on every design ---------- */
.wl-cv { position: relative; height: calc(100svh - 50px); min-height: 560px; padding: 0 !important; display: block; overflow: hidden; text-align: center; }
.wl-cv::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.08) 55%, rgba(0,0,0,.72) 100%); }
.wl-cv-in { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 0 22px 54px; color: #fff; }
.wl-cv .wl-intro { color: rgba(255,255,255,.88); letter-spacing: .2em; text-transform: uppercase; font-size: .7em; font-family: var(--ft); }
.wl-cv .wl-names { color: #fff; }
.wl-cv .wl-names > span:not(.wl-amp) { background: none; -webkit-text-fill-color: #fff; color: #fff; animation: none !important; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.wl-cv .wl-amp { color: var(--acc2); filter: brightness(1.6); }
.wl-cv .wl-pl-date { color: rgba(255,255,255,.9); }
.wl-cv-down { display: block; width: 22px; height: 34px; margin: 22px auto 0; border: 1.5px solid rgba(255,255,255,.7); border-radius: 12px; position: relative; }
.wl-cv-down::after { content: ''; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: wlScrollDot 1.8s ease-in-out infinite; }
@keyframes wlScrollDot { 0% { opacity: 0; transform: translateY(-2px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }
.wl-card-hero { min-height: 0 !important; }

/* photos coming in: slow zoom and cross-fade */
.wl-slides { position: absolute; inset: 0; z-index: 0; }
.wl-pl-img .wl-slides { position: absolute; inset: 0; }
.wl-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; transform: scale(1.06); }
.wl-slides img.on { opacity: 1; animation: wlKen 9s ease-out both; }
.wl[data-theme=journal] .wl-pl-img { height: 62svh; }

/* opening animation: names and date glide in */
.wl.revealed .wl-cv-in > *, .wl.revealed .wl-pl-in > * { animation: wlRise 1.1s cubic-bezier(.2,.7,.2,1) both; }
.wl.revealed .wl-cv-in > :nth-child(2), .wl.revealed .wl-pl-in > :nth-child(2) { animation-delay: .25s; }
.wl.revealed .wl-cv-in > :nth-child(3), .wl.revealed .wl-pl-in > :nth-child(3) { animation-delay: .5s; }
.wl.revealed .wl-cv-in > :nth-child(4), .wl.revealed .wl-pl-in > :nth-child(4) { animation-delay: .75s; }
.wl.revealed .wl-hero:not(.wl-cv):not(.wl-pl) .wl-hero-in > * { animation: wlRise 1s cubic-bezier(.2,.7,.2,1) both; }
.wl.revealed .wl-hero:not(.wl-cv):not(.wl-pl) .wl-hero-in > :nth-child(2) { animation-delay: .2s; }
.wl.revealed .wl-hero:not(.wl-cv):not(.wl-pl) .wl-hero-in > :nth-child(3) { animation-delay: .4s; }
.wl.revealed .wl-hero:not(.wl-cv):not(.wl-pl) .wl-hero-in > :nth-child(n+4) { animation-delay: .6s; }
@keyframes wlRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* sections rise into view on scroll */
.wl-rv { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.wl-rv.wl-in { opacity: 1; transform: none; }
.wl-ev.wl-rv:nth-child(odd) { transition-delay: .08s; }

/* moving decor for Premium designs */
.wl-fx { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.wl-fx i { position: absolute; top: -6%; display: block; animation-name: wlFall; animation-timing-function: linear; animation-iteration-count: infinite; }
.wl-fx-petals i { width: calc(14px * var(--s)); height: calc(10px * var(--s)); border-radius: 80% 0 80% 0; background: linear-gradient(135deg, #FBD3DA, #E79AA8); opacity: .85; box-shadow: 0 1px 2px rgba(150,60,80,.18); }
.wl-fx-petals i:nth-child(3n) { background: linear-gradient(135deg, #FFF6F0, #F3D9C9); }
@keyframes wlFall { 0% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(var(--x), 55vh) rotate(200deg); } 100% { transform: translate(calc(var(--x) * -.5), 112vh) rotate(380deg); } }
.wl-fx-sparkle i { top: auto; bottom: -4%; width: calc(5px * var(--s)); height: calc(5px * var(--s)); border-radius: 50%; background: radial-gradient(circle, #FFF6D8 0, #F2D38A 45%, rgba(242,211,138,0) 70%); box-shadow: 0 0 10px 2px rgba(242,211,138,.55); animation-name: wlRiseFx; }
.wl-fx-lanterns i { top: auto; bottom: -6%; width: calc(10px * var(--s)); height: calc(14px * var(--s)); border-radius: 40% 40% 45% 45%; background: radial-gradient(circle at 50% 60%, #FFE9A8, #F2A93B 70%); box-shadow: 0 0 16px 4px rgba(242,169,59,.45); animation-name: wlRiseFx; }
@keyframes wlRiseFx { 0% { transform: translate(0, 0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: .9; } 100% { transform: translate(var(--x), -112vh); opacity: 0; } }
.wl[data-mode=editor] .wl-fx i { animation-duration: 14s !important; }

@media (prefers-reduced-motion: reduce) {
  .wl *, .wl *::before, .wl *::after { animation: none !important; transition-duration: .01ms !important; }
  .wl-rv { opacity: 1 !important; transform: none !important; }
  .wl-fx { display: none; }
}
.wl.has-bg .wl-pl::before, .wl.has-bg .wl-pl::after { display: none; }
/* previews shown inside a phone mockup: keep the header clear of the phone's notch */
.wl[data-mode=demo] .wl-nav, .wl[data-mode=preview] .wl-nav, .wl[data-mode=editor] .wl-nav { padding-top: 34px; }
/* photo cover: never wash the photo with a design backdrop; keep names readable on bright photos */
.wl.has-bg .wl-cv::before { display: none; }
.wl-cv::after, .wl.has-bg .wl-cv::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,.12) 48%, rgba(20,12,10,.62) 72%, rgba(20,12,10,.82) 100%); }
.wl-cv-in .wl-intro, .wl-cv-in .wl-pl-date { text-shadow: 0 1px 8px rgba(0,0,0,.45); }

/* Free plan: 'Crafted by TheWedLink' seal, styled in the design's own colours */
.wl-crafted { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 6px auto; padding: 12px 20px; max-width: 340px; text-decoration: none; color: var(--acc); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.wl-crafted-seal { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--card); box-shadow: 0 0 0 1px var(--line), inset 0 0 0 4px var(--page), inset 0 0 0 5px var(--line); }
.wl-crafted-seal svg { width: 26px; height: 26px; }
.wl-crafted-t { display: grid; text-align: left; line-height: 1.15; }
.wl-crafted-t small { font-size: .66em; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.wl-crafted-t b { font-family: var(--fh); font-weight: 600; font-size: 1.25em; color: var(--acc2); }
.wl-crafted-t em { font-style: normal; font-size: .72em; letter-spacing: .08em; color: var(--muted); }
.wl-crafted-end { flex-wrap: wrap; margin-top: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.wl-crafted-cta { flex-basis: 100%; text-align: center; font-size: .78em; letter-spacing: .06em; text-transform: uppercase; color: var(--acc); padding-top: 4px; }

/* ---------- Lavender (Standard) ---------- */
.wl[data-theme=lavender] {
  --page: #FAF7FD; --outer: #E7E0F1; --ink: #3D3550; --muted: #776D8C; --acc: #7A64A8; --acc2: #5E4A8C;
  --card: rgba(255,255,255,.75); --line: rgba(122,100,168,.25);
  --fs: 'Great Vibes'; --ft: 'Cormorant Garamond'; --fh: 'Cormorant Garamond'; --names: clamp(2.8rem, 17vw, 5.2rem); --tsize: 1.1rem;
  --btn: #7A64A8; --foil: linear-gradient(100deg, #5E4A8C, #A68CCF 40%, #6E58A0 62%, #C3B2E2 85%, #5E4A8C); --veil: rgba(250,247,253,.6); --photo-r: 18px;
}
.wl[data-theme=lavender] .wl-body { background: radial-gradient(70% 30% at 50% 10%, #fff 0, transparent 70%), linear-gradient(#F1EBF9, #FAF7FD 40%, #FDFBFF); }
.wl[data-theme=lavender] .wl-door, .wl[data-theme=lavender] .wl-op-bg, .wl[data-theme=lavender] .wl-strip, .wl[data-theme=lavender] .wl-fold { background: linear-gradient(#F1EBF9, #FAF7FD); }
.wl[data-theme=lavender] .wl-lil { position: absolute; top: 0; width: 120px; }
.wl[data-theme=lavender] .wl-lil.l { left: -6px; } .wl[data-theme=lavender] .wl-lil.r { right: -6px; transform: scaleX(-1); }
.wl[data-theme=lavender] .wl-hero { padding-top: 170px; }
.wl[data-theme=lavender] h2 { font-style: italic; }

/* ---------- Mehndi (Standard) ---------- */
.wl[data-theme=mehndi] {
  --page: #1E4A35; --outer: #10291D; --ink: #F3ECD8; --muted: #CFD8C4; --acc: #DDBB66; --acc2: #F1DB9A;
  --card: rgba(255,255,255,.06); --line: rgba(221,187,102,.3);
  --fs: 'Rozha One'; --ft: 'Cormorant Garamond'; --fh: 'Rozha One'; --names: clamp(2.4rem, 13vw, 4.2rem); --tsize: 1.1rem;
  --btn: #DDBB66; --btnInk: #1E4A35; --foil: var(--foilG); --grain: .14; --grain-mode: overlay; --veil: rgba(16,41,29,.45);
}
.wl[data-theme=mehndi] .wl-body { background: radial-gradient(120% 55% at 50% 0%, #2B6B4C 0%, #1E4A35 55%, #143524 100%); }
.wl[data-theme=mehndi] .wl-door, .wl[data-theme=mehndi] .wl-op-bg, .wl[data-theme=mehndi] .wl-strip, .wl[data-theme=mehndi] .wl-fold { background: radial-gradient(100% 70% at 50% 40%, #276045, #143524); }
.wl[data-theme=mehndi] .wl-pai { position: absolute; left: 0; width: 100%; }
.wl[data-theme=mehndi] .wl-pai.t { top: 18px; } .wl[data-theme=mehndi] .wl-pai.b { bottom: 18px; transform: scaleY(-1); }
.wl[data-theme=mehndi] .wl-hero { padding-top: 130px; }

/* ---------- Mughal (Premium) ---------- */
.wl[data-theme=mughal] {
  --page: #FBF6EA; --outer: #EADFC8; --ink: #3E2F1C; --muted: #86735A; --acc: #9A7535; --acc2: #7A5A22;
  --card: rgba(255,255,255,.7); --line: rgba(154,117,53,.3);
  --fs: 'Pinyon Script'; --ft: 'Cormorant Garamond'; --fh: 'Cinzel'; --names: clamp(2.8rem, 16vw, 5rem); --tsize: 1.1rem;
  --btn: #9A7535; --foil: var(--foilD); --veil: rgba(251,246,234,.6); --photo-r: 999px 999px 12px 12px;
}
.wl[data-theme=mughal] .wl-body { background: radial-gradient(80% 35% at 50% 14%, #FFFDF5 0, transparent 70%), linear-gradient(#F6EDD8, #FBF6EA 45%, #F6EEDC); }
.wl[data-theme=mughal] .wl-door, .wl[data-theme=mughal] .wl-op-bg, .wl[data-theme=mughal] .wl-strip, .wl[data-theme=mughal] .wl-fold { background: linear-gradient(#F6EDD8, #FBF6EA); }
.wl[data-theme=mughal] .wl-mihrab { position: absolute; top: 60px; left: 50%; width: 86%; height: calc(100% - 64px); transform: translateX(-50%); }
.wl[data-theme=mughal] .wl-mg-dome { position: absolute; top: 34px; left: 50%; width: 120px; transform: translateX(-50%); overflow: visible; }
.wl[data-theme=mughal] .wl-hero { padding: 190px 48px 80px; }
.wl[data-theme=mughal] h2, .wl[data-theme=mughal] .wl-ev h3 { letter-spacing: .08em; font-size: 1.25rem; }

/* ---------- Bloom (Premium, photo-led): photo in a floral arch window ---------- */
.wl[data-theme=bloom] {
  --page: #FDF3F4; --outer: #F1DADD; --ink: #4A3036; --muted: #8C6A70; --acc: #B4606E; --acc2: #94485A;
  --card: rgba(255,255,255,.78); --line: rgba(180,96,110,.25);
  --fs: 'Pinyon Script'; --ft: 'Cormorant Garamond'; --fh: 'Cormorant Garamond'; --names: clamp(3rem, 17vw, 5.4rem); --tsize: 1.1rem;
  --btn: #B4606E; --foil: linear-gradient(100deg, #8E3E4C, #D98C99 40%, #A44E5D 62%, #E7A5AF 85%, #8E3E4C); --veil: rgba(253,243,244,.6); --photo-r: 999px 999px 18px 18px;
}
.wl[data-theme=bloom] .wl-body { background: radial-gradient(70% 30% at 50% 6%, #fff 0, transparent 70%), linear-gradient(#FBE4E7, #FDF3F4 40%, #FFF9F9); }
.wl[data-theme=bloom] .wl-pl-img { width: 78%; height: 56svh; min-height: 360px; margin: 26px auto 0; border-radius: 999px 999px 16px 16px; box-shadow: 0 0 0 6px #fff, 0 0 0 7px #E7B5BD, 0 26px 50px -26px rgba(148,72,90,.6); }
.wl[data-theme=bloom] .wl-pl-img.none { background: linear-gradient(170deg, #F6D3D9, #E7A5AF); }
.wl[data-theme=bloom] .wl-pl-in { padding: 30px 24px 52px; }
.wl[data-theme=bloom] .wl-pl .wl-intro { letter-spacing: .18em; text-transform: uppercase; font-size: .72em; color: var(--muted); }
.wl[data-theme=bloom] .wl-pl-date { color: var(--acc2); }
.wl[data-theme=bloom] h2 { font-style: italic; font-size: 1.8rem; }
.wl-crafted-top { margin-top: 28px; }

/* ===== photo cover belongs to the design: fades into the design's own paper, names in its own lettering ===== */
.wl-cv { height: auto !important; min-height: 0 !important; display: flex !important; flex-direction: column; background: var(--page); }
.wl-cv .wl-slides { position: relative; inset: auto; width: 100%; align-self: stretch; height: 72svh; min-height: 440px; flex: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%); }
.wl-cv::after, .wl.has-bg .wl-cv::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 22%; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.22), transparent); }
.wl-cv-frame { position: absolute; inset: 14px 14px auto; height: calc(72svh - 40px); min-height: 410px; z-index: 2; pointer-events: none;
  border: 1px solid color-mix(in srgb, var(--acc) 70%, #fff); border-bottom: 0; border-radius: var(--photo-r, 4px) var(--photo-r, 4px) 0 0; opacity: .85;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
.wl-cv-in { position: relative !important; left: auto; right: auto; bottom: auto; margin-top: -110px; padding: 0 24px 40px !important; color: var(--ink) !important; z-index: 3; }
.wl-cv .wl-intro { color: var(--muted) !important; text-shadow: none !important; }
.wl-cv .wl-names { color: var(--acc2) !important; }
.wl-cv .wl-names > span:not(.wl-amp) { background: var(--foil) !important; -webkit-background-clip: text !important; background-clip: text !important; -webkit-text-fill-color: transparent !important; color: transparent !important; text-shadow: none !important; }
.wl-cv .wl-amp { color: var(--acc) !important; filter: none !important; }
.wl-cv .wl-pl-date { color: var(--muted) !important; text-shadow: none !important; }
.wl-cv .wl-div { margin: 10px auto 2px; }
.wl-cv-down { border-color: var(--line) !important; }
.wl-cv-down::after { background: var(--acc) !important; }
.wl-cv-in { align-self: stretch; }
/* cover photo keeps its own shape (4:5) so the couple is never zoomed in; gentle zoom only */
.wl-cv .wl-slides { height: auto !important; min-height: 0 !important; aspect-ratio: 4 / 5; }
.wl-cv-frame { height: auto !important; min-height: 0 !important; aspect-ratio: 4 / 5.3; }
.wl-cv .wl-slides img { transform: none; }
.wl-cv .wl-slides img.on { animation: wlKenSoft 9s ease-out both; }
@keyframes wlKenSoft { from { transform: scale(1.025); } to { transform: scale(1); } }
.wl-cv-in { margin-top: -80px; }
/* Bloom: the arch shows the couple, not the soft misty bottom of the photo */
.wl[data-theme=bloom] .wl-pl-img .wl-slides { bottom: -34%; }

/* ===================== each design opens in its own way ===================== */
.wl-cv-arch::after, .wl-cv-circle::after, .wl-cv-polaroid::after, .wl-cv-split::after { display: none !important; }
.wl-cv-arch .wl-slides, .wl-cv-circle .wl-slides, .wl-cv-polaroid .wl-slides, .wl-cv-split .wl-slides { -webkit-mask-image: none !important; mask-image: none !important; overflow: hidden; }

/* arch window: a mihrab / palace / chapel arch */
.wl-cv-arch { padding: 38px 0 0 !important; }
.wl-cv-arch .wl-slides { width: 72% !important; align-self: center !important; aspect-ratio: 3 / 4.2 !important; border-radius: 999px 999px 8px 8px;
  box-shadow: 0 0 0 6px var(--page), 0 0 0 7px var(--acc), 0 34px 50px -30px rgba(0,0,0,.55); }
.wl-cv-arch .wl-cv-frame { inset: 18px auto auto 50% !important; width: calc(72% + 40px); height: auto !important; aspect-ratio: 3 / 4.05 !important; transform: translateX(-50%);
  border: 1px solid var(--acc) !important; border-radius: 999px 999px 12px 12px !important; -webkit-mask-image: none !important; mask-image: none !important; opacity: .55 !important; }
.wl-cv-arch .wl-cv-in { margin-top: 34px !important; }

/* circle medallion with a slowly turning dotted ring */
.wl-cv-circle { padding: 52px 0 0 !important; }
.wl-cv-circle .wl-slides { width: 68% !important; align-self: center !important; aspect-ratio: 1 !important; border-radius: 50%;
  box-shadow: 0 0 0 7px var(--page), 0 0 0 8px var(--acc), 0 34px 50px -30px rgba(0,0,0,.5); }
.wl-cv-circle .wl-slides img { object-position: 50% 18%; }
.wl-cv-circle .wl-cv-frame { inset: 26px auto auto 50% !important; width: calc(68% + 52px); height: auto !important; aspect-ratio: 1 !important; margin-left: calc((68% + 52px) / -2);
  border: 1.5px dashed var(--acc) !important; border-radius: 50% !important; -webkit-mask-image: none !important; mask-image: none !important; opacity: .6 !important; animation: wlTurn 60s linear infinite; }
@keyframes wlTurn { to { transform: rotate(360deg); } }
.wl-cv-circle .wl-cv-in { margin-top: 40px !important; }

/* full screen: photo fills the phone, names in white over it */
.wl-cv-full { display: block !important; height: 100svh !important; min-height: 600px !important; }
.wl-cv-full .wl-slides { position: absolute !important; inset: 0 !important; height: 100% !important; aspect-ratio: auto !important; -webkit-mask-image: none !important; mask-image: none !important; }
.wl-cv-full .wl-slides img { object-position: 50% 22%; }
.wl-cv-full::after { top: 0 !important; bottom: 0 !important; height: auto !important; background: linear-gradient(180deg, rgba(0,0,0,.3) 0%, transparent 26%, transparent 42%, rgba(0,0,0,.5) 66%, rgba(0,0,0,.86) 100%) !important; }
.wl-cv-full .wl-cv-frame { inset: 14px !important; height: auto !important; aspect-ratio: auto !important; border: 1px solid rgba(255,255,255,.5) !important; border-radius: 4px !important; -webkit-mask-image: none !important; mask-image: none !important; }
.wl-cv-full .wl-cv-in { position: absolute !important; left: 0 !important; right: 0 !important; bottom: 0 !important; margin: 0 !important; padding: 0 26px 48px !important; }
.wl-cv-full .wl-names > span:not(.wl-amp) { background: none !important; -webkit-text-fill-color: #fff !important; color: #fff !important; text-shadow: 0 2px 22px rgba(0,0,0,.4) !important; }
.wl-cv-full .wl-intro, .wl-cv-full .wl-pl-date { color: rgba(255,255,255,.92) !important; text-shadow: 0 1px 8px rgba(0,0,0,.5) !important; }
.wl-cv-full .wl-amp { color: #fff !important; opacity: .85; }
.wl-cv-full .wl-div { filter: brightness(0) invert(1); opacity: .8; }
.wl-cv-full .wl-cv-down { border-color: rgba(255,255,255,.75) !important; }
.wl-cv-full .wl-cv-down::after { background: #fff !important; }

/* polaroid: a tilted print with tape, names written underneath */
.wl-cv-polaroid { padding: 46px 0 0 !important; }
.wl-cv-polaroid .wl-slides { width: 76% !important; align-self: center !important; aspect-ratio: 4 / 4.7 !important; transform: rotate(-2.5deg); margin-bottom: 52px;
  box-shadow: 0 0 0 12px #fff, 0 46px 0 12px #fff, 0 50px 40px -8px rgba(0,0,0,.28); }
.wl-cv-polaroid .wl-cv-frame { inset: 30px auto auto 50% !important; width: 120px; height: 32px !important; aspect-ratio: auto !important; margin-left: -60px; transform: rotate(4deg);
  background: rgba(255,248,226,.78); border: 0 !important; border-radius: 2px !important; box-shadow: 0 1px 4px rgba(0,0,0,.18); -webkit-mask-image: none !important; mask-image: none !important; opacity: 1 !important; z-index: 4; }
.wl-cv-polaroid .wl-cv-in { margin-top: 18px !important; }

/* split: names first, photo below with a colour block behind it */
.wl-cv-split { padding: 44px 0 40px !important; }
.wl-cv-split .wl-cv-in { order: -1; margin-top: 0 !important; padding-bottom: 26px !important; }
.wl-cv-split .wl-cv-down { display: none; }
.wl-cv-split .wl-slides { width: 80% !important; align-self: flex-end !important; aspect-ratio: 4 / 5 !important; border-radius: 180px 0 0 0; z-index: 1; }
.wl-cv-split .wl-cv-frame { inset: auto auto 18px 0 !important; width: 58%; height: 46% !important; aspect-ratio: auto !important; background: color-mix(in srgb, var(--acc) 26%, var(--page));
  border: 0 !important; border-radius: 0 !important; -webkit-mask-image: none !important; mask-image: none !important; opacity: 1 !important; z-index: 0; }

/* ===================== celebrations: ticket and band styles ===================== */
.wl-ev-ticket .wl-ev, .wl-ev-band .wl-ev { text-align: left !important; }
.wl-ev-ticket .wl-ev-ic, .wl-ev-band .wl-ev-ic { display: none !important; }
.wl-ev-ticket .wl-ev-acts, .wl-ev-band .wl-ev-acts { justify-content: flex-start !important; }
.wl-ev-stub { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1.1; }
.wl-ev-stub span { font-size: .66em; letter-spacing: .18em; text-transform: uppercase; }
.wl-ev-stub b { font-family: var(--fh); font-size: 2.3em; font-weight: 500; margin: 2px 0; }
.wl-ev-ticket .wl-ev { display: flex !important; padding: 0 !important; overflow: visible; border-radius: 12px !important; }
.wl-ev-ticket .wl-ev-stub { flex: 0 0 82px; position: relative; padding: 16px 4px; background: var(--acc2); color: var(--btnInk, #fff); border-radius: 12px 0 0 12px; border-right: 2px dashed color-mix(in srgb, #fff 55%, transparent); }
.wl-ev-ticket .wl-ev-stub::before, .wl-ev-ticket .wl-ev-stub::after { content: ''; position: absolute; right: -9px; width: 16px; height: 16px; border-radius: 50%; background: var(--page); }
.wl-ev-ticket .wl-ev-stub::before { top: -8px; } .wl-ev-ticket .wl-ev-stub::after { bottom: -8px; }
.wl-ev-ticket .wl-ev-main { flex: 1; min-width: 0; padding: 18px 18px 20px; }
.wl-ev-band .wl-ev { display: grid !important; grid-template-columns: 74px 1fr; gap: 16px; align-items: start; background: none !important; border: 0 !important; border-top: 1px solid var(--line) !important; border-radius: 0 !important; box-shadow: none !important; padding: 22px 2px !important; margin: 0 !important; }
.wl-ev-band .wl-ev:last-of-type { border-bottom: 1px solid var(--line) !important; }
.wl-ev-band .wl-ev-stub { width: 74px; height: 92px; padding-top: 10px; border-radius: 40px 40px 6px 6px; background: var(--acc); color: var(--btnInk, #fff); box-shadow: 0 12px 24px -14px rgba(0,0,0,.5); }

/* ===================== Monochrome: black and white editorial ===================== */
.wl[data-theme=mono] {
  --page: #FAFAF7; --outer: #E6E6E2; --ink: #151515; --muted: #6E6E6A; --acc: #1A1A1A; --acc2: #0E0E0E;
  --card: #FFFFFF; --line: rgba(0,0,0,.16);
  --fs: 'Playfair Display'; --ft: 'Manrope'; --fh: 'Playfair Display'; --names: clamp(2.9rem, 14.5vw, 5rem); --tsize: .98rem;
  --btn: #111; --btnInk: #fff; --foil: linear-gradient(#111, #111); --grain: .05; --photo-r: 0; --veil: rgba(250,250,247,.6);
}
.wl[data-theme=mono] .wl-slides img, .wl[data-theme=mono] .wl-ph img, .wl[data-theme=mono] .wl-pl-img img { filter: grayscale(1) contrast(1.1); }
.wl[data-theme=mono] .wl-names { font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.wl[data-theme=mono] .wl-names .wl-amp { font-style: normal; font-family: 'Manrope'; font-weight: 300; font-size: .32em; letter-spacing: .4em; text-transform: uppercase; }
.wl[data-theme=mono] .wl-intro { font-family: 'Manrope'; letter-spacing: .34em; text-transform: uppercase; font-size: .68em; font-weight: 500; }
.wl[data-theme=mono] h2 { font-style: italic; font-weight: 400; font-size: 2rem; }
.wl[data-theme=mono] .wl-sec { border-top: 1px solid var(--line); }
.wl[data-theme=mono] .wl-btn { border-radius: 0 !important; letter-spacing: .16em; text-transform: uppercase; font-size: .74em; font-weight: 600; }
.wl[data-theme=mono] .wl-ev, .wl[data-theme=mono] .wl-cd > div, .wl[data-theme=mono] .wl-ph { border-radius: 0 !important; }
.wl[data-theme=mono] .wl-ev-ticket .wl-ev-stub { border-radius: 0; }
.wl[data-theme=mono] .wl-date-d { font-style: italic; }
.wl-mono-rules i { position: absolute; left: 22px; right: 22px; height: 1px; background: #151515; }
.wl-mono-rules i:first-child { top: 26px; } .wl-mono-rules i:last-child { top: 32px; }
/* film cover: the video plays silently, cropped to fill the cover shape */
.wl-film { overflow: hidden; background: #111; }
.wl-film iframe { position: absolute; top: 50%; left: 50%; width: 400%; aspect-ratio: 16 / 9; height: auto; border: 0; transform: translate(-50%, -50%); pointer-events: none; }
.wl-cv-frame + .wl-film, .wl-pl-img .wl-film { opacity: 1; }
.wl-cv-full .wl-cv-in { background: none !important; }
.wl-cv-full .wl-cv-in::before, .wl-cv-full .wl-cv-in::after { display: none !important; }
.wl-film img { animation: none !important; } .wl-film iframe { z-index: 1; }

/* ======================= every design opens in its own way ======================= */
.wl-op { overflow: hidden; perspective: 1400px; }
.wl-op-bg, .wl-strip, .wl-fold { background: var(--page); }
.wl-op-bg { position: absolute; inset: 0; transition: transform 1.2s cubic-bezier(.7,0,.25,1), opacity 1.2s ease, clip-path 1.3s cubic-bezier(.7,0,.25,1), filter 1.2s; }
.wl-op .wl-cover-in { z-index: 5; }
.wl-op-art { position: relative; width: 150px; margin: 0 auto 16px; }
.wl-op-art > svg, .wl-op-art > div:not(.wl-op-fan):not(.wl-op-reel), .wl-op-art > div > svg { position: relative !important; inset: auto !important; left: auto !important; top: auto !important; display: block; width: 100% !important; height: auto !important; margin: 0 auto !important; transform: none; }
.wl-op-art:empty { display: none; }

/* card: two doors slide apart (Classic) */
/* rise: the cover lifts like a page (Blush) */
.wl-op-rise.open .wl-op-bg { transform: translateY(-102%); }
.wl-op-rise .wl-op-art { width: 200px; }

/* scratch: scratch the gold foil to reveal the date (Champagne) */
.wl-scratch { position: relative; display: inline-block; margin-top: 12px; padding: 14px 26px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); }
.wl-scratch canvas { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 10px; touch-action: none; cursor: grab; }
.wl-op-scratch .wl-cover-d { margin: 0; font-size: 1.05rem; color: var(--acc2); }
.wl-op-scratch.open .wl-op-bg { transform: scale(1.15); opacity: 0; }

/* lamp: tap to light the nilavilakku, then the cover rises (Kasavu) */
.wl-op-lamp .wl-op-art { width: 92px; }
.wl-op-lamp .wl-op-art svg > circle, .wl-op-lamp .wl-op-art svg > path { opacity: 0; transition: opacity .35s; }
.wl-op-lamp.act .wl-op-art svg > circle, .wl-op-lamp.act .wl-op-art svg > path { opacity: 1; animation: wlFlick .5s ease-in-out infinite alternate; }
.wl-op-lamp.act .wl-op-art svg > :nth-child(3), .wl-op-lamp.act .wl-op-art svg > :nth-child(4) { transition-delay: .25s; }
.wl-op-lamp.act .wl-op-art svg > :nth-child(5), .wl-op-lamp.act .wl-op-art svg > :nth-child(6) { transition-delay: .5s; }
.wl-op-lamp.act .wl-op-art svg > :nth-child(n+7) { transition-delay: .75s; }
.wl-op-lamp.act .wl-op-art { filter: drop-shadow(0 0 18px rgba(255,190,80,.7)); }
@keyframes wlFlick { from { transform: translateY(0) scaleY(1); } to { transform: translateY(-.6px) scaleY(1.06); } }
.wl-op-lamp.open .wl-op-bg { transform: translateY(-102%); }

/* mihrab: emerald doors with arched panels slide apart (Noor) */
.wl-op-mihrab .wl-door::after { inset: 70px 26px 40px; border: 1.5px solid #D9B25A; border-radius: 999px 999px 0 0; }
.wl-op-mihrab .wl-door.l::after { right: 18px; border-right: 1.5px solid #D9B25A; } .wl-op-mihrab .wl-door.r::after { left: 18px; border-left: 1.5px solid #D9B25A; }
.wl-op-mihrab .wl-door { transition-duration: 1.7s; }
.wl-op-mihrab .wl-op-art { width: 100%; position: absolute; top: 0; left: 0; }

/* gate: carved palace doors swing open towards you (Mughal) */
.wl-op-gate .wl-door { transition: transform 1.9s cubic-bezier(.6,0,.2,1); background-image: radial-gradient(circle at 50% 50%, rgba(201,162,74,.28) 0 3px, transparent 4px), linear-gradient(#FBF6EC, #F1E6D2) !important; background-size: 22px 22px, auto !important; }
.wl-op-gate .wl-door.l { transform-origin: left center; } .wl-op-gate .wl-door.r { transform-origin: right center; }
.wl-op-gate .wl-door::after { border: 2px solid #C9A24A; border-radius: 999px 999px 0 0; inset: 60px 22px 30px; }
.wl-op-gate.open .wl-door.l { transform: rotateY(-108deg); } .wl-op-gate.open .wl-door.r { transform: rotateY(108deg); }
.wl-op-gate .wl-op-art { width: 120px; }

/* jharokha: pink palace window shutters swing inwards (Jaipur) */
.wl-op-jharokha .wl-door { transition: transform 1.9s cubic-bezier(.6,0,.2,1); background: repeating-linear-gradient(90deg, #E9A893 0 2px, transparent 2px 18px), linear-gradient(#EFB9A8, #F4CDBF) !important; }
.wl-op-jharokha .wl-door.l { transform-origin: left center; } .wl-op-jharokha .wl-door.r { transform-origin: right center; }
.wl-op-jharokha .wl-door::after { border: 3px double #B8586A; border-radius: 50% 50% 0 0 / 30% 30% 0 0; inset: 40px 16px; }
.wl-op-jharokha.open .wl-door.l { transform: rotateY(105deg); } .wl-op-jharokha.open .wl-door.r { transform: rotateY(-105deg); }

/* bell: ring the temple bell, then the doors part up and down (Gopuram) */
.wl-op-bell .wl-op-art { width: 130px; }
.wl-bell { position: absolute !important; width: 36px !important; left: calc(50% - 18px) !important; top: auto !important; bottom: -30px; transform-origin: 50% 0; }
.wl-op-bell.act .wl-bell { animation: wlRing .32s ease-in-out 4 alternate; }
@keyframes wlRing { from { transform: rotate(-20deg); } to { transform: rotate(20deg); } }
.wl-op-bell .wl-door { transition-duration: 1.3s; }
.wl-op-bell.open .wl-door.l { transform: translateY(-101%); } .wl-op-bell.open .wl-door.r { transform: translateY(101%); }

/* phulkari: the embroidered border splits top and bottom (Kesar) */
.wl-op-phulkari .wl-door { width: 100%; height: 50.5%; left: 0; right: 0; }
.wl-op-phulkari .wl-door.l { top: 0; bottom: auto; } .wl-op-phulkari .wl-door.r { top: auto; bottom: 0; }
.wl-op-phulkari .wl-door::after { display: none; }
.wl-op-band { position: absolute; left: 0; right: 0; height: 46px; z-index: 2; transition: transform 1.15s cubic-bezier(.7,0,.25,1); }
.wl-op-band svg { width: 100%; height: 100%; display: block; }
.wl-op-band.t { top: calc(50% - 46px); } .wl-op-band.b { top: 50%; }
.wl-op-phulkari.open .wl-door.l, .wl-op-phulkari.open .wl-op-band.t { transform: translateY(-110vh); }
.wl-op-phulkari.open .wl-door.r, .wl-op-phulkari.open .wl-op-band.b { transform: translateY(110vh); }

/* jasmine: curtains of jasmine strings part (Mullappoo) */
.wl-op-jasmine .wl-door { background: #FCFDFB; transition-duration: 1.8s; overflow: hidden; }
.wl-op-jasmine .wl-door::after { display: none; }
.wl-op-jasmine .wl-door svg { position: relative; display: inline-block; width: 26%; height: 100%; animation: wlSway 4s ease-in-out infinite alternate; transform-origin: 50% 0; }
.wl-op-jasmine.open .wl-door { opacity: .2; }

/* mandala: the mandala spins and grows through the screen (Sindoor) */
.wl-op-mandala .wl-op-art { width: 190px; }
.wl-op-mandala .wl-op-art svg { animation: wlTurn 30s linear infinite; transition: transform 1.3s cubic-bezier(.6,0,.3,1), opacity 1.3s; }
.wl-op-mandala.open .wl-op-art svg { transform: scale(7) rotate(120deg); opacity: 0; }
.wl-op-mandala.open .wl-op-bg { opacity: 0; transition-delay: .3s; }

/* wreath: the olive wreath turns in, then soft light washes it away (Grace) */
.wl-op-wreath .wl-op-art { width: 170px; animation: wlWreathIn 1.6s cubic-bezier(.2,.8,.2,1) both; }
@keyframes wlWreathIn { from { transform: rotate(-60deg) scale(.6); opacity: 0; } }
.wl-op-wreath .wl-op-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle, #fff 0, rgba(255,255,255,0) 70%); opacity: 0; transition: opacity .6s; }
.wl-op-wreath.open .wl-op-bg::after { opacity: 1; }
.wl-op-wreath.open .wl-op-bg { opacity: 0; transition-delay: .4s; }

/* toran: the marigold garlands swing and the cover drops (Marigold) */
.wl-op-toran .wl-op-art { position: absolute; top: 0; left: 0; width: 100%; }
.wl-op-toran .wl-op-art svg { animation: wlSway 2.6s ease-in-out infinite alternate; transform-origin: 50% 0; }
.wl-op-toran { align-items: flex-end; }
.wl-op-toran.open .wl-op-bg { transform: translateY(104%); transition: transform 1.1s cubic-bezier(.5,-.3,.6,1.2); }
@keyframes wlSway { from { transform: rotate(-1.5deg); } to { transform: rotate(1.5deg); } }

/* diyas: tap and the diyas light one by one under the moon (Nilavu) */
.wl-op-diyas .wl-op-art { width: 100%; position: absolute; left: 0; bottom: 0; top: auto; }
.wl-op-diyas .wl-op-art > * { position: absolute !important; }
.wl-op-diyas .wl-op-art [class*="diya"], .wl-op-diyas .wl-op-art .wl-diyas { opacity: .35; transition: opacity .5s, filter .5s; }
.wl-op-diyas.act .wl-op-art [class*="diya"], .wl-op-diyas.act .wl-op-art .wl-diyas { opacity: 1; filter: drop-shadow(0 0 10px rgba(255,190,90,.9)); }
.wl-op-diyas .wl-moon { transition: transform 1.6s ease; }
.wl-op-diyas.act .wl-moon { transform: translateY(-30px); }
.wl-op-diyas.open .wl-op-bg { opacity: 0; transform: translateY(40px); }

/* lotus: the bud opens and the petals carry you in (Thamara) */
.wl-op-lotus .wl-op-art { width: 160px; transition: transform .9s cubic-bezier(.2,.8,.2,1); transform: scale(.7); }
.wl-op-lotus.act .wl-op-art { transform: scale(1.15); }
.wl-op-lotus.open .wl-op-art { transform: scale(5); opacity: 0; transition: transform 1.2s, opacity 1s; }
.wl-op-lotus.open .wl-op-bg { opacity: 0; }

/* breeze: the cover is carried away to the side (Lavender) */
.wl-op-breeze .wl-op-art { width: 120px; }
.wl-op-breeze .wl-op-bg { transform-origin: 0 100%; }
.wl-op-breeze.open .wl-op-bg { transform: translateX(120%) rotate(18deg); }

/* henna: the paisley draws itself, then the cover melts away (Mehndi) */
.wl-op-henna .wl-op-art { width: 240px; animation: wlDraw 2.2s ease both; }
@keyframes wlDraw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.wl-op-henna.open .wl-op-bg { filter: blur(14px); opacity: 0; transform: scale(1.1); }

/* branch: the gulmohar cover falls like a petal (Gulmohar) */
.wl-op-branch .wl-op-art { width: 200px; animation: wlSway 3s ease-in-out infinite alternate; }
.wl-op-branch .wl-op-bg { transform-origin: 100% 0; }
.wl-op-branch.open .wl-op-bg { transform: translateY(115%) rotate(-10deg); }

/* arch: step through the floral arch (Bloom) */
.wl-op-arch .wl-op-art { width: 200px; }
.wl-op-arch .wl-op-archsvg { width: 200px !important; }
.wl-op-arch .wl-op-art .wl-rose { position: absolute !important; bottom: -8px !important; left: 0; }
.wl-op-arch.open .wl-op-bg, .wl-op-arch.open .wl-cover-in { transform: scale(2.8); opacity: 0; transition: transform 1.3s cubic-bezier(.6,0,.3,1), opacity 1.1s; }

/* projector: a 3-2-1 film countdown, then the light comes up (Lumiere) */
.wl-op-projector .wl-op-bg { background: #120E0C !important; }
.wl-op-projector .wl-cover-in { color: #F4E9DA; }
.wl-op-projector .wl-cover-k, .wl-op-projector .wl-cover-d { color: rgba(244,233,218,.75); }
.wl-op-projector .wl-cover-n { color: #F0D9A8; }
.wl-op-reel { position: relative; width: 120px; height: 120px; margin: 0 auto; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(240,217,168,.7), inset 0 0 0 14px rgba(240,217,168,.08); }
.wl-op-reel::before, .wl-op-reel::after { content: ''; position: absolute; background: rgba(240,217,168,.4); }
.wl-op-reel::before { left: 50%; top: 6px; bottom: 6px; width: 1px; } .wl-op-reel::after { top: 50%; left: 6px; right: 6px; height: 1px; }
.wl-op-reel span { position: absolute; inset: 0; display: grid; place-items: center; font: 400 3.4rem/1 var(--fh); color: #F0D9A8; opacity: 0; }
.wl-op-reel span:first-child { opacity: 1; }
.wl-op-reel i { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(rgba(240,217,168,.35) 0deg, transparent 0deg); }
.wl-op-projector.act .wl-op-reel i { animation: wlSweep .85s linear 3; }
@keyframes wlSweep { from { background: conic-gradient(rgba(240,217,168,.35) 0deg, transparent 0deg); } 25% { background: conic-gradient(rgba(240,217,168,.35) 90deg, transparent 90deg); } 50% { background: conic-gradient(rgba(240,217,168,.35) 180deg, transparent 180deg); } 75% { background: conic-gradient(rgba(240,217,168,.35) 270deg, transparent 270deg); } to { background: conic-gradient(rgba(240,217,168,.35) 360deg, transparent 360deg); } }
.wl-op-projector.act .wl-op-reel span { animation: wlCount 2.55s steps(1) both; }
.wl-op-projector.act .wl-op-reel span:nth-child(1) { animation-name: wlC1; } .wl-op-projector.act .wl-op-reel span:nth-child(2) { animation-name: wlC2; } .wl-op-projector.act .wl-op-reel span:nth-child(3) { animation-name: wlC3; }
@keyframes wlC1 { 0% { opacity: 1; } 33% { opacity: 0; } 100% { opacity: 0; } }
@keyframes wlC2 { 0% { opacity: 0; } 33% { opacity: 1; } 66% { opacity: 0; } 100% { opacity: 0; } }
@keyframes wlC3 { 0% { opacity: 0; } 66% { opacity: 1; } 100% { opacity: 1; } }
.wl-op-projector.open .wl-op-bg { opacity: 0; transition: opacity 1.3s; }
.wl-op-projector.open::after { content: ''; position: absolute; inset: 0; z-index: 6; pointer-events: none; background: #FFF6E4; animation: wlFlash 1.2s ease both; }
@keyframes wlFlash { 0% { opacity: 0; } 25% { opacity: .9; } 100% { opacity: 0; } }

/* album: a stitched album cover opens like a book (Journal) */
.wl-op-album .wl-op-bg { background: linear-gradient(135deg, #8A5A44, #6D4535) !important; transform-origin: left center; box-shadow: inset 0 0 0 14px #7B4F3D, inset 0 0 0 15px rgba(255,236,210,.6); transition: transform 1.8s cubic-bezier(.6,0,.2,1); }
.wl-op-album .wl-op-bg::before { content: ''; position: absolute; inset: 22px; border: 1.5px dashed rgba(255,236,210,.55); border-radius: 6px; }
.wl-op-album .wl-cover-in { color: #FBEFE0; background: #FFF9EE; color: #4A3B35; padding: 30px 26px 26px; transform: rotate(-2deg); box-shadow: 0 20px 40px -18px rgba(0,0,0,.6); margin: auto 30px; }
.wl-op-tape { display: block; width: 90px; height: 24px; margin: -42px auto 8px; background: rgba(255,244,214,.85); transform: rotate(-4deg); box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.wl-op-album .wl-op-art { margin-bottom: 0; }
.wl-op-album.open .wl-op-bg { transform: rotateY(-115deg); }
.wl-op-album.open .wl-cover-in { transform: translateY(40px) rotate(4deg); opacity: 0; transition: all .7s; }

/* magazine: the cover slides apart in bold strips (Vogue) */
.wl-strip { position: absolute; left: 0; right: 0; height: 33.5%; transition: transform 1.1s cubic-bezier(.7,0,.25,1); }
.wl-strip.s1 { top: 0; } .wl-strip.s2 { top: 33.3%; transition-delay: .12s; } .wl-strip.s3 { bottom: 0; transition-delay: .24s; }
.wl-op-magazine.open .wl-strip.s1, .wl-op-magazine.open .wl-strip.s3 { transform: translateX(-102%); }
.wl-op-magazine.open .wl-strip.s2 { transform: translateX(102%); }
.wl-op-mast { font: 400 3rem/0.9 var(--fh); letter-spacing: .02em; text-transform: uppercase; color: var(--acc2); margin: 0; }
.wl-op-magazine .wl-op-art { width: 100%; }
.wl-op-magazine .wl-cover-in::after { content: 'No. 01 · Limited edition'; display: block; margin-top: 18px; font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }

/* watercolour: the paint pulls back into a single drop (Sage) */
.wl-op-watercolour .wl-op-art { position: absolute; inset: 0; width: auto; margin: 0; }
.wl-op-watercolour .wl-op-art .wl-wash { position: absolute !important; animation: wlWash 6s ease-in-out infinite alternate; }
@keyframes wlWash { to { transform: scale(1.15) rotate(6deg); } }
.wl-op-watercolour .wl-op-bg { clip-path: circle(150% at 50% 50%); }
.wl-op-watercolour.open .wl-op-bg { clip-path: circle(0% at 50% 50%); }

/* letter: a folded letter opens up and down (Ink) */
.wl-fold { position: absolute; left: 0; right: 0; height: 50.5%; transition: transform 1.5s cubic-bezier(.6,0,.2,1); background-image: repeating-linear-gradient(transparent 0 31px, rgba(60,80,120,.12) 31px 32px) !important; }
.wl-fold.t { top: 0; transform-origin: top center; box-shadow: inset 0 -12px 18px -12px rgba(0,0,0,.18); }
.wl-fold.b { bottom: 0; transform-origin: bottom center; box-shadow: inset 0 12px 18px -12px rgba(0,0,0,.18); }
.wl-op-letter.open .wl-fold.t { transform: rotateX(-100deg); } .wl-op-letter.open .wl-fold.b { transform: rotateX(100deg); }
.wl-op-letter .wl-cover-k { font-style: italic; font-size: 1.3rem; }

/* sketch: the gazebo draws itself in ink (Toile) */
.wl-op-sketch .wl-op-art { width: 180px; animation: wlSketch 2.4s ease both; }
@keyframes wlSketch { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
.wl-op-sketch.open .wl-op-bg { opacity: 0; transform: scale(.9); }

/* curtain: heavy velvet curtains gather to the sides (Velvet) */
.wl-curt { position: absolute; top: 0; bottom: 0; width: 51%; z-index: 1; background: repeating-linear-gradient(90deg, #4A0A20 0, #7A1636 18px, #5C0E28 34px, #3A0718 46px); box-shadow: inset 0 -40px 60px rgba(0,0,0,.45); transition: transform 1.9s cubic-bezier(.6,0,.2,1); }
.wl-curt.l { left: 0; transform-origin: left top; } .wl-curt.r { right: 0; transform-origin: right top; }
.wl-curt-top { position: absolute; left: 0; right: 0; top: 0; height: 56px; z-index: 2; background: repeating-radial-gradient(circle at 30px -10px, #7A1636 0 30px, #4A0A20 30px 34px); background-size: 60px 60px; box-shadow: 0 6px 14px rgba(0,0,0,.4); border-bottom: 2px solid #D4AF5F; transition: transform 1.4s .5s ease; }
.wl-op-curtain .wl-cover-in { color: #F6E7C8; } .wl-op-curtain .wl-cover-k, .wl-op-curtain .wl-cover-d { color: rgba(246,231,200,.8); }
.wl-op-curtain .wl-op-art { width: 120px; }
.wl-op-curtain.open .wl-curt.l { transform: scaleX(.12) skewY(4deg); } .wl-op-curtain.open .wl-curt.r { transform: scaleX(.12) skewY(-4deg); }
.wl-op-curtain.open .wl-curt-top { transform: translateY(-110%); }
.wl-op-curtain.open .wl-curt { opacity: 0; transition: transform 1.9s cubic-bezier(.6,0,.2,1), opacity .5s 1.5s; }

/* feathers: peacock feathers fan open, then sweep up and away (Mayil) */
.wl-op-feathers .wl-op-art { width: 220px; height: 150px; }
.wl-op-fan { position: absolute; inset: 0; }
.wl-op-fan i { position: absolute; left: calc(50% - 22px); bottom: 0; width: 44px; transform-origin: 50% 100%; transform: rotate(0); animation: wlFan 1.4s cubic-bezier(.2,.8,.2,1) .2s forwards; }
.wl-op-fan i svg { width: 100% !important; height: auto; position: static !important; }
@keyframes wlFan { to { transform: rotate(var(--a)); } }
.wl-op-feathers.open .wl-op-fan i { transform: rotate(var(--a)) translateY(-140%); opacity: 0; transition: transform 1s, opacity .8s; animation: none; }
.wl-op-feathers.open .wl-op-bg { opacity: 0; }

/* lanterns: the lanterns are released and float up into the night (Qamar) */
.wl-op-lanterns .wl-op-art { position: absolute; inset: 0; width: auto; margin: 0; }
.wl-op-lanterns .wl-op-art > svg:first-child, .wl-op-lanterns .wl-op-art .wl-lanterns { position: absolute !important; top: 0 !important; transition: transform 1.9s cubic-bezier(.5,0,.6,1); }
.wl-op-lanterns .wl-moon-q { position: absolute !important; top: 40px !important; right: 30px !important; left: auto !important; width: 54px !important; }
.wl-op-lanterns.open .wl-op-art > svg:first-child, .wl-op-lanterns.open .wl-op-art .wl-lanterns { transform: translateY(-120vh); }
.wl-op-lanterns.open .wl-op-bg { opacity: 0; transition-delay: .6s; }

/* window: light floods through the stained glass (Chapel) */
.wl-op-window .wl-op-art { width: 150px; }
.wl-op-window .wl-op-bg::after { content: ''; position: absolute; inset: -50%; background: repeating-conic-gradient(from 0deg at 50% 30%, rgba(255,236,190,.22) 0 6deg, transparent 6deg 18deg); animation: wlTurn 80s linear infinite; }
.wl-op-window.open .wl-op-bg { background: #FFFDF7 !important; opacity: 0; transition: opacity 1.4s .5s, background .5s; }

/* shutter: a camera shutter closes with a flash and opens on the picture (Monochrome) */
.wl-op-shutter { background: transparent; }
.wl-blade { position: absolute; left: 50%; top: 50%; width: 160vmax; height: 160vmax; z-index: 1; background: linear-gradient(135deg, #1D1D1D, #0D0D0D); box-shadow: 0 0 0 1px #2C2C2C; transform-origin: 0 0; transform: rotate(var(--r)) translate(-14px, -14px); transition: transform 1.2s cubic-bezier(.7,0,.25,1); }
.wl-op-shutter.open .wl-blade { transform: rotate(calc(var(--r) + 50deg)) translate(40vmax, 10vmax); }
.wl-flash { position: absolute; inset: 0; z-index: 6; background: #fff; opacity: 0; pointer-events: none; }
.wl-op-shutter.act .wl-flash { animation: wlFlash .7s ease both; }
.wl-op-shutter .wl-cover-in { color: #F2F2EE; } .wl-op-shutter .wl-cover-k, .wl-op-shutter .wl-cover-d { color: rgba(242,242,238,.7) !important; }
.wl-op-shutter .wl-mono span { background: none !important; -webkit-text-fill-color: #fff !important; color: #fff !important; }
.wl-op-shutter .wl-open { background: #fff !important; color: #111 !important; border-radius: 0 !important; letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; }

.wl-op.open .wl-cover-in { opacity: 0; transition: opacity .4s; }
@media (prefers-reduced-motion: reduce) { .wl-op * { animation: none !important; transition-duration: .3s !important; } }
.wl-op-band.t { top: 0; } .wl-op-band.b { top: auto; bottom: 0; }
.wl-op-art > svg.wl-bell { position: absolute !important; width: 34px !important; left: calc(50% - 17px) !important; top: auto !important; bottom: -26px !important; margin: 0 !important; }
.wl-op-bell .wl-op-art { width: 110px; margin-bottom: 38px; }
.wl-op-diyas .wl-moon { position: absolute !important; width: 64px !important; top: -70vh !important; right: 34px !important; left: auto !important; }
.wl-op-toran .wl-cover-in { padding-top: 110px; }
.wl-op-jasmine .wl-cover-in { background: radial-gradient(closest-side, rgba(252,253,251,.95), rgba(252,253,251,.85) 70%, transparent); padding: 40px; }

/* ======================= a moving signature for each design ======================= */
.wl-fx-up i, .wl-fx-bokeh i, .wl-fx-bubbles i, .wl-fx-dust i, .wl-fx-light i, .wl-fx-kites i, .wl-fx-butterflies i { top: auto; bottom: -8%; animation-name: wlRiseFx; }
.wl-fx-stars i, .wl-fx-flash i, .wl-fx-fireflies i, .wl-fx-grain i { top: var(--y); animation-name: wlTwinkle; animation-timing-function: ease-in-out; }
@keyframes wlTwinkle { 0%, 100% { opacity: 0; transform: scale(.4) translate(0, 0); } 50% { opacity: 1; transform: scale(1) translate(calc(var(--x) * .2), -6px); } }
/* Lumiere: soft golden bokeh drifting up */
.wl-fx-bokeh i { width: calc(26px * var(--s)); height: calc(26px * var(--s)); border-radius: 50%; background: radial-gradient(circle, rgba(255,226,160,.55), rgba(255,226,160,.08) 65%, transparent 70%); filter: blur(1px); animation-duration: 16s !important; }
/* Journal: confetti */
.wl-fx-confetti i { width: calc(6px * var(--s)); height: calc(10px * var(--s)); border-radius: 1px; background: hsl(calc(var(--h) * 1deg), 70%, 66%); opacity: .9; }
/* Vogue: camera flashes */
.wl-fx-flash i { width: 26px; height: 26px; background: radial-gradient(circle, #fff 0 8%, rgba(255,255,255,.6) 16%, transparent 60%); clip-path: polygon(50% 0, 56% 44%, 100% 50%, 56% 56%, 50% 100%, 44% 56%, 0 50%, 44% 44%); animation-duration: 4s !important; }
/* Mughal: twinkling stars */
.wl-fx-stars i { width: calc(9px * var(--s)); height: calc(9px * var(--s)); background: #F3D98E; clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); filter: drop-shadow(0 0 3px rgba(243,217,142,.9)); }
/* Sage: olive leaves */
.wl-fx-leaves i { width: calc(14px * var(--s)); height: calc(7px * var(--s)); border-radius: 100% 0; background: linear-gradient(135deg, #A7B293, #6B7A55); opacity: .8; }
/* Wax Seal: white blossoms */
.wl-fx-blossom i { width: calc(12px * var(--s)); height: calc(12px * var(--s)); background: radial-gradient(circle, #F3D9A8 0 18%, #fff 20%); clip-path: polygon(50% 0, 62% 32%, 98% 35%, 70% 58%, 79% 92%, 50% 74%, 21% 92%, 30% 58%, 2% 35%, 38% 32%); opacity: .95; }
/* Ink: little hearts */
.wl-fx-hearts i { width: calc(13px * var(--s)); height: calc(12px * var(--s)); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 18'%3E%3Cpath d='M10 17C-4 8 2-3 10 3c8-6 14 5 0 14z' fill='%23B0475E'/%3E%3C/svg%3E") center/contain no-repeat; opacity: .75; }
/* Toile: navy butterflies fluttering up */
.wl-fx-butterflies i { width: calc(18px * var(--s)); height: calc(14px * var(--s)); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18'%3E%3Cpath d='M12 9C8 0 0 0 1 6c1 4 6 4 11 3zm0 0c4-9 12-9 11-3-1 4-6 4-11 3zm0 0c-3 3-8 8-5 9 2 0 4-5 5-9zm0 0c3 3 8 8 5 9-2 0-4-5-5-9z' fill='%232E3F6E'/%3E%3C/svg%3E") center/contain no-repeat; }
.wl-fx-butterflies i::after { content: ''; }
/* Velvet: swirling gold dust */
.wl-fx-dust i { width: calc(3px * var(--s)); height: calc(3px * var(--s)); border-radius: 50%; background: #F1D48C; box-shadow: 0 0 6px 1px rgba(241,212,140,.8); }
/* Gopuram: marigold flowers falling */
.wl-fx-marigolds i { width: calc(14px * var(--s)); height: calc(14px * var(--s)); border-radius: 50%; background: radial-gradient(circle, #FFB347 0 30%, #F07B0A 32% 60%, #E86A00 62%); box-shadow: inset 0 0 0 2px rgba(255,200,80,.6); }
/* Mayil: peacock feathers drifting down */
.wl-fx-feathers i { width: calc(12px * var(--s)); height: calc(30px * var(--s)); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 30'%3E%3Cpath d='M6 30V12' stroke='%23C9A24A'/%3E%3Cellipse cx='6' cy='8' rx='5.5' ry='7.5' fill='%230F9AA0'/%3E%3Cellipse cx='6' cy='8' rx='3.4' ry='4.6' fill='%23E2C46F'/%3E%3Cellipse cx='6' cy='8' rx='2' ry='2.8' fill='%23173E8C'/%3E%3C/svg%3E") center/contain no-repeat; animation-duration: 20s !important; }
/* Chapel: motes of light rising through the window */
.wl-fx-light i { width: calc(4px * var(--s)); height: calc(4px * var(--s)); border-radius: 50%; background: #FFF4D6; box-shadow: 0 0 10px 3px rgba(255,236,190,.8); }
/* Jaipur: kites flying up */
.wl-fx-kites i { width: calc(14px * var(--s)); height: calc(16px * var(--s)); background: linear-gradient(135deg, hsl(calc(var(--h) * 1deg), 75%, 60%) 50%, hsl(calc(var(--h) * 1deg + 40deg), 75%, 55%) 50%); clip-path: polygon(50% 0, 100% 45%, 50% 100%, 0 45%); animation-duration: 18s !important; }
/* Monochrome: film grain specks */
.wl-fx-grain i { width: 2px; height: calc(6px * var(--s)); background: rgba(255,255,255,.7); animation-duration: 1.4s !important; }
/* Champagne: bubbles */
.wl-fx-bubbles i { width: calc(10px * var(--s)); height: calc(10px * var(--s)); border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(201,162,74,.6), inset 2px 2px 3px rgba(255,255,255,.9); }
/* Nilavu: fireflies */
.wl-fx-fireflies i { width: 5px; height: 5px; border-radius: 50%; background: #FFE89A; box-shadow: 0 0 10px 3px rgba(255,220,120,.7); animation-duration: 5s !important; }
.wl-fx-grain i { background: rgba(20,20,20,.35); }
/* never cut a face: covers keep the photo's full width */
.wl-cv-full { height: auto !important; min-height: 0 !important; aspect-ratio: 9 / 16; max-height: none; }
.wl-cv-full .wl-slides img { object-position: 50% 30%; }
.wl-cv-split .wl-slides { width: 88% !important; aspect-ratio: 9 / 12 !important; border-radius: 10px 0 0 10px; }
.wl-cv-split .wl-slides img { object-position: 50% 20%; }
.wl-cv-circle .wl-slides { width: 74% !important; aspect-ratio: 3 / 4 !important; border-radius: 50% / 50%; }
.wl-cv-circle .wl-slides img { object-position: 50% 22%; }
.wl-cv-circle .wl-cv-frame { width: calc(74% + 44px); aspect-ratio: 3 / 4 !important; margin-left: calc((74% + 44px) / -2); }
/* fizz: soft gold bubbles rise and carry the card up (Champagne) */
.wl-op-fizz .wl-op-art { position: absolute; inset: 0; width: auto; margin: 0; overflow: hidden; }
.wl-op-fizz .wl-op-art > * { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; animation: wlFizz 9s linear infinite; }
@keyframes wlFizz { from { transform: translateY(0); } to { transform: translateY(-40%); } }
.wl-op-fizz .wl-op-bg { box-shadow: inset 0 0 0 14px rgba(255,255,255,.5), inset 0 0 0 15px rgba(201,162,74,.5); }
.wl-op-fizz.open .wl-op-bg, .wl-op-fizz.open .wl-op-art { transform: translateY(-104%); transition: transform 1.3s cubic-bezier(.7,0,.25,1); }
/* faces live in the top part of every couple photo: covers only ever trim the bottom, never the top */
.wl-cv .wl-slides img, .wl-pl-img .wl-slides img, .wl-pl-img img, .wl-film img { object-position: 50% 0% !important; }
.wl-cv-polaroid .wl-cv-frame { top: 24px !important; }
.wl-cv-polaroid .wl-slides { margin-top: 10px; }
/* Lumiere and Vogue: the first screen keeps the photo's own shape, so no one is trimmed at the sides */
.wl[data-theme=lumiere] .wl-pl, .wl[data-theme=vogue] .wl-pl { height: auto !important; min-height: 0 !important; aspect-ratio: 9 / 16; }
/* Bloom: the arch window is never taller than the photo */
.wl[data-theme=bloom] .wl-pl-img { height: auto !important; min-height: 0 !important; aspect-ratio: 9 / 15; }
.wl[data-theme=bloom] .wl-pl-img .wl-slides { bottom: 0 !important; }
/* the couple, our story, good to know */
.wl-cp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 8px; }
.wl-cp { text-align: center; }
.wl-cp-ph { width: 112px; height: 112px; margin: 0 auto 12px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 0 0 6px var(--page), 0 0 0 7px var(--acc); }
.wl-cp-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.wl-cp-ph span { font-family: var(--fs); font-size: 3rem; color: var(--acc); line-height: 1; }
.wl-cp h3 { font-family: var(--fh); font-size: 1.35rem; margin: 0 0 6px; color: var(--acc2); }
.wl-cp p { font-size: .9em; color: var(--muted); margin: 0; }
.wl-story p, .wl-notes p { max-width: 30em; margin: 0 auto; }
.wl-story p::first-letter { font-family: var(--fs); font-size: 3.2em; float: left; line-height: .8; margin: .08em .1em 0 0; color: var(--acc); }
.wl-notes p { padding: 16px 18px; border-radius: 12px; background: var(--card); box-shadow: 0 0 0 1px var(--line); text-align: left; }
@media (max-width: 340px) { .wl-cp-grid { grid-template-columns: 1fr; } }
.wl[data-theme=mono] .wl-cp-ph img { filter: grayscale(1) contrast(1.1); }

/* ===================== Reel: the couple's film plays behind their names ===================== */
.wl[data-theme=reel] {
  --page: #0F0D0C; --outer: #000; --ink: #F3EADB; --muted: rgba(243,234,219,.68); --acc: #D9B76A; --acc2: #E8CF94;
  --card: rgba(255,255,255,.05); --line: rgba(217,183,106,.28);
  --fs: 'Bodoni Moda'; --ft: 'Jost'; --fh: 'Bodoni Moda'; --names: clamp(2.8rem, 14vw, 4.8rem); --tsize: .98rem;
  --btn: #D9B76A; --btnInk: #15110C; --foil: linear-gradient(100deg, #B8902F, #FFF0C2 30%, #D9B35A 50%, #FBE7A8 72%, #A07A22); --grain: .12; --grain-mode: screen; --photo-r: 0;
}
.wl[data-theme=reel] .wl-body { background: radial-gradient(90% 40% at 50% 0, #2A211A 0, transparent 70%), #0F0D0C; }
.wl[data-theme=reel] .wl-names { font-style: italic; }
.wl[data-theme=reel] .wl-intro { letter-spacing: .4em; text-transform: uppercase; font-size: .66em; }
.wl[data-theme=reel] .wl-cv-full::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 18px; z-index: 3; background: repeating-linear-gradient(90deg, #000 0 10px, transparent 10px 22px), #000; -webkit-mask: linear-gradient(#000, #000); opacity: .85; }
.wl[data-theme=reel] .wl-cv-full .wl-cv-frame { border-color: rgba(217,183,106,.55) !important; }
.wl[data-theme=reel] .wl-btn { border-radius: 2px; letter-spacing: .12em; text-transform: uppercase; font-size: .76em; }
.wl[data-theme=reel] .wl-door, .wl[data-theme=reel] .wl-op-bg { background: #0F0D0C; }
.wl[data-theme=reel] .wl-cover-in { color: #F3EADB; }

/* tv: a play button, then the screen switches on like an old television (Reel) */
.wl-op-tv .wl-op-bg { background: radial-gradient(70% 50% at 50% 45%, #2A211A, #0B0908) !important; transform-origin: 50% 50%; }
.wl-op-tv .wl-cover-k { letter-spacing: .4em; text-transform: uppercase; font-size: .7rem; color: #D9B76A !important; }
.wl-op-play { display: block; width: 92px; height: 92px; margin: 0 auto; border-radius: 50%; box-shadow: inset 0 0 0 2px #D9B76A; position: relative; animation: wlPlayPulse 2.4s ease-in-out infinite; }
@keyframes wlPlayPulse { 50% { transform: scale(1.06); box-shadow: inset 0 0 0 2px #D9B76A, 0 0 0 10px rgba(217,183,106,.12); } }
.wl-op-play::after { content: ''; position: absolute; left: 38px; top: 30px; border-left: 24px solid #D9B76A; border-top: 16px solid transparent; border-bottom: 16px solid transparent; }
.wl-op-tv.act .wl-op-play { animation: none; transform: scale(1.2); opacity: 0; transition: all .5s; }
.wl-op-tv.open .wl-op-bg { animation: wlTvOn .9s cubic-bezier(.7,0,.3,1) both; }
@keyframes wlTvOn { 0% { transform: scale(1); filter: brightness(1); } 45% { transform: scale(1, .006); filter: brightness(4); } 100% { transform: scale(0, .006); filter: brightness(6); } }
.wl[data-theme=reel] .wl-fx { display: none; }
.wl-film-ph { display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding-bottom: 38%; background: radial-gradient(60% 40% at 50% 38%, #3A2C20, #0F0D0C 75%) !important; }
.wl-film-ph p { margin: 0; padding: 0 30px; color: rgba(243,234,219,.6); font-size: .78rem; letter-spacing: .26em; text-transform: uppercase; text-align: center; }
