/* VBadg invitations — one stylesheet for every theme. Colours: --iv-bg, --iv-bg2, --iv-ink, --iv-p, --iv-a, --iv-g. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.iv { margin: 0; background: var(--iv-bg); color: var(--iv-ink); font-family: "Jost", system-ui, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.iv.locked { overflow: hidden; height: 100vh; }
.iv img { max-width: 100%; display: block; }
.iv a { color: inherit; }
.iv svg { display: block; }
.iv-script { font-family: var(--iv-fs); font-weight: 400; }
.iv-pbar { position: fixed; top: 0; left: 0; right: 0; z-index: 90; background: #0b1530; color: #fff; text-align: center; font: 600 12px/1 system-ui, sans-serif; padding: 7px; letter-spacing: .02em; }
.iv-dark { --iv-card: rgba(255, 255, 255, .06); --iv-line: rgba(255, 255, 255, .16); --iv-soft: rgba(255, 255, 255, .72); }
body:not(.iv-dark) { --iv-card: rgba(255, 255, 255, .72); --iv-line: color-mix(in srgb, var(--iv-g) 35%, transparent); --iv-soft: color-mix(in srgb, var(--iv-ink) 72%, transparent); }

/* ---------- Opening screen ---------- */
.iv-open { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; cursor: pointer; overflow: hidden; perspective: 1400px; -webkit-tap-highlight-color: transparent; }
.iv-open-bg { position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 40%, var(--iv-bg), var(--iv-bg2)); transition: opacity 1s ease .6s; }
.iv-open-txt { position: relative; z-index: 5; text-align: center; padding: 24px; transition: opacity .6s, transform .8s; }
.iv-open-k { font-family: var(--iv-fh); letter-spacing: .28em; text-transform: uppercase; font-size: 12px; margin: 0 0 8px; color: var(--iv-g); }
.iv-open-n { font-family: var(--iv-fs); font-weight: 400; font-size: clamp(42px, 12vw, 78px); line-height: 1.05; margin: 0 0 22px; color: var(--iv-ink); }
.iv-open-n span { display: inline-block; }
.iv-open-n .iv-amp { display: block; font-size: .55em; color: var(--iv-g); margin: 2px 0; }
.iv-tap { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; padding: 10px 20px; border-radius: 99px; border: 1px solid var(--iv-line); color: var(--iv-ink); animation: ivPulse 2s ease-in-out infinite; background: color-mix(in srgb, var(--iv-bg) 70%, transparent); }
@keyframes ivPulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--iv-g) 45%, transparent) } 50% { box-shadow: 0 0 0 12px transparent } }
.iv-open.opened { pointer-events: none; }
.iv-open.opened .iv-open-bg { opacity: 0; }
.iv-open.opened .iv-open-txt { opacity: 0; transform: scale(.94); }
.iv-open.gone { display: none; }

/* Doors */
.iv-door { position: absolute; top: 0; bottom: 0; width: 50.5%; z-index: 3; transition: transform 1.7s cubic-bezier(.6, .05, .25, 1); }
.iv-door.l { left: 0; transform-origin: left center; }
.iv-door.r { right: 0; transform-origin: right center; }
.iv-door-in { position: absolute; inset: 0; background: linear-gradient(90deg, var(--iv-bg2), var(--iv-bg) 50%, var(--iv-bg2)); border: 6px solid var(--iv-g); overflow: hidden; box-shadow: inset 0 0 0 10px color-mix(in srgb, var(--iv-g) 25%, transparent); }
.iv-door.r .iv-door-in { border-left-width: 3px; } .iv-door.l .iv-door-in { border-right-width: 3px; }
.iv-door-art { position: absolute; width: 150%; top: 50%; color: var(--iv-g); opacity: .55; }
.iv-door.l .iv-door-art { right: -75%; transform: translateY(-50%); }
.iv-door.r .iv-door-art { left: -75%; transform: translateY(-50%); }
.iv-knob { position: absolute; top: 50%; width: 22px; height: 22px; border-radius: 50%; border: 4px solid var(--iv-g); }
.iv-door.l .iv-knob { right: 14px; } .iv-door.r .iv-knob { left: 14px; }
.op-doors .iv-open-txt { background: radial-gradient(closest-side, var(--iv-bg) 60%, transparent); border-radius: 50%; padding: 50px 30px; }
.op-doors.opened .iv-door.l { transform: rotateY(-105deg); }
.op-doors.opened .iv-door.r { transform: rotateY(105deg); }

/* Curtains */
.iv-curt { position: absolute; top: 0; bottom: 0; width: 52%; z-index: 3; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--iv-a) 70%, #000) 0 14px, var(--iv-a) 22px 34px, color-mix(in srgb, var(--iv-a) 80%, #000) 46px 52px); box-shadow: inset 0 -60px 80px -40px rgba(0, 0, 0, .5); transition: transform 1.8s cubic-bezier(.65, .02, .25, 1); }
.iv-curt.l { left: 0; border-right: 3px solid var(--iv-g); } .iv-curt.r { right: 0; border-left: 3px solid var(--iv-g); }
.iv-valance { position: absolute; top: 0; left: 0; right: 0; height: 64px; z-index: 4; background: radial-gradient(circle at 50% 0, var(--iv-a) 60%, transparent 62%) 0 0 / 60px 64px repeat-x; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .3)); transition: transform 1.4s ease .5s; }
.iv-valance::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--iv-g); }
.op-curtain .iv-open-txt { background: color-mix(in srgb, var(--iv-bg) 88%, transparent); border: 1px solid var(--iv-g); border-radius: 18px; padding: 26px 22px; backdrop-filter: blur(4px); }
.op-curtain.opened .iv-curt.l { transform: translateX(-104%) skewX(-4deg); }
.op-curtain.opened .iv-curt.r { transform: translateX(104%) skewX(4deg); }
.op-curtain.opened .iv-valance { transform: translateY(-110%); }

/* Envelope */
.iv-env { position: relative; z-index: 4; width: min(86vw, 360px); aspect-ratio: 1.45; margin-bottom: 140px; transition: transform 1.4s ease .9s, opacity .8s ease 1.4s; }
.iv-env-back, .iv-env-front { position: absolute; inset: 0; border-radius: 10px; }
.st-floral .iv-env, .st-pastel .iv-env, .st-minimal .iv-env, .st-tropical .iv-env { --iv-a: var(--iv-p); }
.iv-env-back { background: color-mix(in srgb, var(--iv-a) 85%, #000); }
.iv-env-front { background: linear-gradient(to top right, transparent 49.6%, color-mix(in srgb, var(--iv-a) 92%, #fff) 50%) left / 50.5% 100% no-repeat, linear-gradient(to top left, transparent 49.6%, color-mix(in srgb, var(--iv-a) 92%, #fff) 50%) right / 50.5% 100% no-repeat, linear-gradient(to top, var(--iv-a) 0, var(--iv-a) 52%, transparent 52%); z-index: 3; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.iv-env-flap { position: absolute; left: 0; right: 0; top: 0; height: 58%; z-index: 4; transform-origin: top; background: linear-gradient(to bottom right, color-mix(in srgb, var(--iv-a) 80%, #000) 49.5%, transparent 50%) left / 50.5% 100% no-repeat, linear-gradient(to bottom left, color-mix(in srgb, var(--iv-a) 80%, #000) 49.5%, transparent 50%) right / 50.5% 100% no-repeat; transition: transform .9s ease, z-index 0s .45s; }
.iv-env-card { position: absolute; left: 6%; right: 6%; top: 8%; height: 84%; z-index: 2; background: var(--iv-bg); border: 1px solid var(--iv-g); border-radius: 6px; display: grid; place-content: center; text-align: center; padding: 10px; transition: transform 1.2s cubic-bezier(.3, .7, .2, 1) .7s; }
.iv-env-card small { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--iv-g); }
.iv-env-card b { font-family: var(--iv-fs); font-weight: 400; font-size: 30px; line-height: 1.1; color: var(--iv-ink); }
.iv-env-card .iv-amp { margin: 0 6px; color: var(--iv-g); }
.iv-seal { position: absolute; z-index: 6; left: 50%; top: 50%; width: 74px; height: 74px; margin: -30px 0 0 -37px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--iv-g) 70%, #fff), var(--iv-g) 45%, color-mix(in srgb, var(--iv-g) 60%, #000)); box-shadow: 0 6px 16px rgba(0, 0, 0, .35), inset 0 0 0 5px color-mix(in srgb, var(--iv-g) 70%, #000); color: color-mix(in srgb, var(--iv-g) 30%, #000); font-family: var(--iv-fs); font-size: 24px; transition: transform .5s, opacity .4s; animation: ivPulse 2s ease-in-out infinite; }
.iv-seal span { transform: translateY(2px); }
.iv-seal.big { position: relative; left: auto; top: auto; margin: 0 auto 22px; width: 120px; height: 120px; font-size: 38px; }
.op-envelope .iv-open-txt { position: absolute; bottom: 9%; left: 0; right: 0; }
.op-envelope.opened .iv-seal { transform: scale(1.6); opacity: 0; }
.op-envelope.opened .iv-env-flap { transform: rotateX(180deg); z-index: 1; }
.op-envelope.opened .iv-env-card { transform: translateY(-62%); }
.op-envelope.opened .iv-env { transform: translateY(40px) scale(1.12); opacity: 0; }
.op-seal.opened .iv-seal.big { transform: scale(3); opacity: 0; }

/* ---------- Floating extras ---------- */
.iv-music { position: fixed; right: 14px; bottom: 14px; z-index: 70; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--iv-line); background: color-mix(in srgb, var(--iv-bg) 85%, transparent); backdrop-filter: blur(6px); display: flex; align-items: flex-end; justify-content: center; gap: 3px; padding: 14px 0; cursor: pointer; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .45); }
.iv-music span { width: 3px; height: 30%; background: var(--iv-g); border-radius: 2px; }
.iv-music.on span { animation: ivEq 1s ease-in-out infinite; }
.iv-music.on span:nth-child(2) { animation-delay: -.3s; } .iv-music.on span:nth-child(3) { animation-delay: -.6s; } .iv-music.on span:nth-child(4) { animation-delay: -.15s; }
@keyframes ivEq { 0%, 100% { height: 25% } 50% { height: 90% } }
.iv-fx { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.iv-fx i { position: absolute; top: -40px; display: block; will-change: transform; animation: ivFall linear infinite; }
.iv-fx .petal { width: 12px; height: 16px; border-radius: 80% 0 80% 0; background: linear-gradient(135deg, var(--iv-p), color-mix(in srgb, var(--iv-p) 60%, #fff)); opacity: .8; }
.iv-fx .mari { width: 10px; height: 10px; border-radius: 50% 50% 50% 0; background: #ffb703; opacity: .9; }
.iv-fx .mari:nth-child(2n) { background: var(--iv-p); }
.iv-fx .heart { width: 14px; height: 14px; color: var(--iv-p); opacity: .7; animation-name: ivRise; top: auto; bottom: -30px; }
.iv-fx .bub { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--iv-a) 70%, #fff); background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .7), transparent 60%); animation-name: ivRise; top: auto; bottom: -30px; }
.iv-fx .star, .iv-fx .spark { width: 3px; height: 3px; border-radius: 50%; background: var(--iv-g); box-shadow: 0 0 6px 2px color-mix(in srgb, var(--iv-g) 60%, transparent); animation-name: ivTwinkle; }
.iv-fx .spark { animation-name: ivSpark; }
@keyframes ivFall { 0% { transform: translate3d(0, -40px, 0) rotate(0) } 100% { transform: translate3d(var(--dx, 60px), 110vh, 0) rotate(540deg) } }
@keyframes ivRise { 0% { transform: translate3d(0, 0, 0); opacity: 0 } 15% { opacity: .8 } 100% { transform: translate3d(var(--dx, 30px), -110vh, 0); opacity: 0 } }
@keyframes ivTwinkle { 0%, 100% { opacity: .1; transform: scale(.6) } 50% { opacity: 1; transform: scale(1.4) } }
@keyframes ivSpark { 0% { opacity: 0; transform: translateY(0) scale(.4) } 40% { opacity: 1 } 100% { opacity: 0; transform: translateY(-60px) scale(1.2) } }

/* ---------- Hero ---------- */
.iv-main { position: relative; z-index: 1; }
.iv-hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 80px 22px 90px; overflow: hidden; background: radial-gradient(70% 55% at 50% 35%, var(--iv-bg), var(--iv-bg2)); }
.iv-hero.has-bg { color: var(--iv-ink); }
.iv-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.08); animation: ivKen 22s ease-in-out infinite alternate; }
.iv-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--iv-bg) 55%, transparent), color-mix(in srgb, var(--iv-bg) 82%, transparent) 60%, var(--iv-bg)); }
@keyframes ivKen { to { transform: scale(1.18) translateY(-2%) } }
.iv-hero-in { position: relative; z-index: 2; max-width: 640px; width: 100%; }
.iv-bless { font-family: var(--iv-fh); font-size: 13px; letter-spacing: .16em; color: var(--iv-g); margin: 0 0 6px; }
.iv-host { font-family: var(--iv-fh); font-size: 14px; letter-spacing: .3em; text-transform: uppercase; margin: 0 0 18px; color: var(--iv-soft); }
.iv-photo { width: min(62vw, 250px); aspect-ratio: 4/5; margin: 4px auto 20px; border-radius: 999px 999px 18px 18px; overflow: hidden; border: 3px solid var(--iv-g); box-shadow: 0 0 0 8px color-mix(in srgb, var(--iv-g) 18%, transparent), 0 30px 60px -30px rgba(0, 0, 0, .6); }
.iv-photo img { width: 100%; height: 100%; object-fit: cover; }
.iv-names { font-family: var(--iv-fs); font-weight: 400; font-size: clamp(54px, 15vw, 112px); line-height: 1; margin: 0; color: var(--iv-ink); text-shadow: 0 2px 30px color-mix(in srgb, var(--iv-g) 30%, transparent); }
.iv-names > span { display: block; }
.iv-names .iv-amp { font-size: .42em; color: var(--iv-g); margin: 6px 0; font-family: var(--iv-fh); font-style: italic; }
.iv-names .ch { display: inline-block; opacity: 0; transform: translateY(.4em) rotate(6deg); filter: blur(6px); transition: opacity .7s ease, transform .9s cubic-bezier(.2, .8, .2, 1), filter .7s; }
.iv-names.go .ch { opacity: 1; transform: none; filter: none; }
.iv-head { font-family: var(--iv-fh); font-size: clamp(16px, 4vw, 20px); letter-spacing: .14em; text-transform: uppercase; margin: 18px 0 10px; }
.iv-div { width: 200px; margin: 8px auto 18px; color: var(--iv-g); }
.iv-date { display: flex; align-items: center; justify-content: center; gap: 16px; font-family: var(--iv-fh); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; }
.iv-date span { padding: 8px 0; border-block: 1px solid var(--iv-line); min-width: 92px; }
.iv-date b { font-size: 54px; font-weight: 500; line-height: 1; letter-spacing: 0; color: var(--iv-g); }
.iv-date sup { font-size: 16px; }
.iv-when { margin: 16px 0 0; font-size: 15px; color: var(--iv-soft); }
.iv-scroll { display: inline-block; margin-top: 30px; width: 26px; height: 42px; border: 1.5px solid var(--iv-line); border-radius: 20px; position: relative; }
.iv-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--iv-g); animation: ivScroll 1.8s ease-in-out infinite; }
@keyframes ivScroll { 0% { transform: translateY(0); opacity: 1 } 100% { transform: translateY(16px); opacity: 0 } }
.iv-up { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform 1s cubic-bezier(.2, .8, .2, 1); }
.iv-ready .iv-up { opacity: 1; transform: none; }
.iv-ready .iv-up:nth-child(2) { transition-delay: .15s; } .iv-ready .iv-up:nth-child(3) { transition-delay: .3s; }
.iv-ready .iv-head { transition-delay: 1.1s; } .iv-ready .iv-div { transition-delay: 1.25s; } .iv-ready .iv-date { transition-delay: 1.4s; } .iv-ready .iv-when { transition-delay: 1.55s; } .iv-ready .iv-scroll { transition-delay: 1.8s; }

/* ---------- Decorations per style ---------- */
.iv-deco { position: absolute; inset: 0; pointer-events: none; z-index: 1; color: var(--iv-g); }
.iv-d-mandala { position: absolute; left: 50%; top: 46%; width: min(150vw, 760px); transform: translate(-50%, -50%); opacity: .14; }
.iv-d-mandala svg { animation: ivSpin 90s linear infinite; }
@keyframes ivSpin { to { transform: rotate(360deg) } }
.iv-d-arch { position: absolute; left: 50%; top: 4%; bottom: 0; width: min(92vw, 520px); transform: translateX(-50%); opacity: .8; }
.iv-d-arch svg { width: 100%; height: 100%; }
.iv-d-corner { position: absolute; width: 90px; opacity: .8; }
.iv-d-corner.tl { left: 10px; top: 10px; } .iv-d-corner.tr { right: 10px; top: 10px; transform: scaleX(-1); }
.iv-d-corner.bl { left: 10px; bottom: 10px; transform: scaleY(-1); } .iv-d-corner.br { right: 10px; bottom: 10px; transform: scale(-1); }
.iv-d-fc { position: absolute; width: min(48vw, 300px); }
.iv-d-fc svg { animation: ivSway 7s ease-in-out infinite; transform-origin: 0 0; }
.iv-d-fc.tl { left: -20px; top: -20px; } .iv-d-fc.br { right: -20px; bottom: -20px; transform: rotate(180deg); }
.iv-d-fc.tr { right: -16px; top: -16px; transform: scaleX(-1); width: min(30vw, 190px); } .iv-d-fc.bl { left: -16px; bottom: -16px; transform: scaleY(-1); width: min(30vw, 190px); }
@keyframes ivSway { 0%, 100% { transform: rotate(0) } 50% { transform: rotate(2.5deg) } }
.iv-d-bells { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; padding: 0 6%; }
.iv-d-bells span { width: 34px; color: var(--iv-g); transform-origin: 50% 0; animation: ivSwing 3.2s ease-in-out infinite; }
.iv-d-bells span:nth-child(2) { width: 26px; animation-delay: -.8s; margin-top: -10px; } .iv-d-bells span:nth-child(3) { width: 26px; animation-delay: -1.6s; margin-top: -10px; } .iv-d-bells span:nth-child(4) { animation-delay: -2.4s; }
@keyframes ivSwing { 0%, 100% { transform: rotate(7deg) } 50% { transform: rotate(-7deg) } }
.iv-d-temple { position: absolute; left: 50%; bottom: -4px; width: min(120vw, 760px); transform: translateX(-50%); color: color-mix(in srgb, var(--iv-p) 45%, var(--iv-bg2)); opacity: .55; }
.iv-d-feather { position: absolute; bottom: -30px; width: min(26vw, 150px); }
.iv-d-feather.l { left: -10px; transform: rotate(-14deg); transform-origin: bottom; animation: ivFeather 6s ease-in-out infinite; }
.iv-d-feather.r { right: -10px; transform: scaleX(-1) rotate(-14deg); transform-origin: bottom; animation: ivFeatherR 6s ease-in-out infinite; }
@keyframes ivFeather { 0%, 100% { transform: rotate(-14deg) } 50% { transform: rotate(-9deg) } }
@keyframes ivFeatherR { 0%, 100% { transform: scaleX(-1) rotate(-14deg) } 50% { transform: scaleX(-1) rotate(-9deg) } }
.iv-d-lotus { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; align-items: flex-end; gap: 0; }
.iv-d-lotus span { width: min(34vw, 200px); animation: ivBob 5s ease-in-out infinite; }
.iv-d-lotus span:nth-child(1), .iv-d-lotus span:nth-child(3) { width: min(24vw, 140px); animation-delay: -2s; opacity: .8; }
@keyframes ivBob { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-6px) } }
.iv-d-frame { position: absolute; inset: 16px; border: 1px solid var(--iv-line); }
.iv-d-frame::after { content: ""; position: absolute; inset: 6px; border: 1px solid var(--iv-line); }
.iv-d-moon { position: absolute; right: 8%; top: 9%; width: min(20vw, 110px); filter: drop-shadow(0 0 30px color-mix(in srgb, var(--iv-g) 60%, transparent)); animation: ivBob 8s ease-in-out infinite; }
.iv-d-blobs i { position: absolute; border-radius: 50%; filter: blur(30px); opacity: .45; animation: ivBlob 12s ease-in-out infinite; }
.iv-d-blobs i:nth-child(1) { width: 260px; height: 260px; left: -80px; top: 10%; background: var(--iv-p); }
.iv-d-blobs i:nth-child(2) { width: 220px; height: 220px; right: -60px; bottom: 12%; background: var(--iv-a); animation-delay: -4s; }
.iv-d-blobs i:nth-child(3) { width: 160px; height: 160px; left: 40%; top: -40px; background: var(--iv-g); animation-delay: -8s; }
@keyframes ivBlob { 0%, 100% { transform: translate(0, 0) scale(1) } 50% { transform: translate(30px, -20px) scale(1.15) } }
.iv-d-hearts span { position: absolute; width: 30px; color: var(--iv-p); opacity: .6; animation: ivBob 4s ease-in-out infinite; }
.iv-d-hearts span:nth-child(1) { left: 12%; top: 18%; } .iv-d-hearts span:nth-child(2) { right: 14%; top: 30%; width: 22px; animation-delay: -1.5s; } .iv-d-hearts span:nth-child(3) { left: 20%; bottom: 16%; width: 18px; animation-delay: -3s; }
.iv-d-toran { position: absolute; top: 0; left: 0; right: 0; height: 110px; animation: ivSwayY 5s ease-in-out infinite; transform-origin: top; }
.iv-d-toran svg { width: 100%; height: 100%; }
@keyframes ivSwayY { 0%, 100% { transform: skewX(0) } 50% { transform: skewX(1.5deg) } }
.iv-d-palm { position: absolute; top: -20px; width: min(46vw, 280px); animation: ivSway 6s ease-in-out infinite; }
.iv-d-palm.l { left: -30px; transform-origin: 0 0; } .iv-d-palm.r { right: -30px; transform: scaleX(-1); }
.iv-d-waves { position: absolute; left: 0; right: 0; bottom: 0; height: 90px; }
.iv-d-waves svg { width: 200%; height: 100%; animation: ivWave 14s linear infinite; }
@keyframes ivWave { to { transform: translateX(-50%) } }

/* ---------- Sections ---------- */
.iv-sec { position: relative; padding: 70px 20px; text-align: center; }
.iv-sec:nth-of-type(even) { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--iv-bg2) 55%, transparent), transparent); }
.iv-h { font-family: var(--iv-fs); font-weight: 400; font-size: clamp(40px, 11vw, 64px); line-height: 1.1; margin: 0 0 6px; color: var(--iv-g); }
.iv-sub { margin: 0 0 28px; color: var(--iv-soft); font-size: 15px; letter-spacing: .04em; }
.iv-k { font-family: var(--iv-fh); letter-spacing: .26em; text-transform: uppercase; font-size: 12.5px; color: var(--iv-g); margin: 0 0 14px; }
.iv-card { position: relative; max-width: 620px; margin: 0 auto; padding: 34px 24px; background: var(--iv-card); border: 1px solid var(--iv-line); border-radius: 22px; backdrop-filter: blur(6px); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .45); }
.iv-cf { position: absolute; width: 54px; color: var(--iv-g); opacity: .8; }
.iv-cf.tl { left: 10px; top: 10px; } .iv-cf.br { right: 10px; bottom: 10px; transform: scale(-1); }
.iv-text { font-family: var(--iv-fh); font-size: 18px; line-height: 1.75; margin: 0 0 14px; }
/* Cinzel / Marcellus / Yeseva are display faces (all caps or heavy): keep long text readable */
.iv[style*="Cinzel"] .iv-text, .iv[style*="Marcellus"] .iv-text, .iv[style*="Yeseva"] .iv-text { font-family: "Jost", system-ui, sans-serif; font-size: 17px; font-weight: 300; }
.iv-fam { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-top: 18px; }
.iv-fam b { display: block; font-size: 34px; line-height: 1.1; color: var(--iv-ink); }
.iv-fam span { display: block; font-size: 13.5px; color: var(--iv-soft); line-height: 1.45; margin-top: 4px; }
.iv-fam i { font-family: var(--iv-fh); font-style: italic; font-size: 26px; color: var(--iv-g); }
.iv-pair { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; max-width: 680px; margin: 26px auto 0; }
.iv-pair figure { margin: 0; flex: 1; min-width: 140px; max-width: 250px; }
.iv-port { aspect-ratio: 3/4; border-radius: 999px 999px 16px 16px; overflow: hidden; border: 3px solid var(--iv-g); box-shadow: 0 0 0 6px color-mix(in srgb, var(--iv-g) 16%, transparent); display: grid; place-items: center; background: var(--iv-bg2); }
.iv-port img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s; }
.iv-pair figure:hover img { transform: scale(1.06); }
.iv-port span { font-family: var(--iv-fs); font-size: 70px; color: var(--iv-g); }
.iv-pair figcaption b { display: block; font-size: 36px; margin-top: 12px; line-height: 1.1; }
.iv-pair figcaption span { font-size: 13.5px; color: var(--iv-soft); }
.iv-heart-mid { width: 34px; color: var(--iv-p); animation: ivBeat 1.4s ease-in-out infinite; }
@keyframes ivBeat { 0%, 100% { transform: scale(1) } 15% { transform: scale(1.25) } 30% { transform: scale(1) } 45% { transform: scale(1.15) } }
.iv-cd { display: flex; justify-content: center; gap: 10px; margin: 24px auto 16px; max-width: 520px; }
.iv-cd div { flex: 1; padding: 16px 4px; border-radius: 16px; background: var(--iv-card); border: 1px solid var(--iv-line); }
.iv-cd b { display: block; font-family: var(--iv-fh); font-size: clamp(28px, 8vw, 44px); font-weight: 500; line-height: 1.1; color: var(--iv-g); font-variant-numeric: tabular-nums; }
.iv-cd span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--iv-soft); }
.iv-tl { position: relative; max-width: 620px; margin: 0 auto; display: grid; gap: 18px; text-align: left; }
.iv-tl::before { content: ""; position: absolute; left: 31px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--iv-g), color-mix(in srgb, var(--iv-g) 20%, transparent)); }
.iv-ev { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; }
.iv-ev-ic { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--iv-bg); border: 2px solid var(--iv-g); color: var(--iv-g); box-shadow: 0 0 0 6px color-mix(in srgb, var(--iv-g) 12%, transparent); }
.iv-ev-b { padding: 16px 18px; border-radius: 18px; background: var(--iv-card); border: 1px solid var(--iv-line); }
.iv-ev h3 { font-family: var(--iv-fh); font-size: 21px; margin: 0 0 4px; font-weight: 600; letter-spacing: .02em; }
.iv-ev-when { margin: 0; font-weight: 600; color: var(--iv-g); font-size: 14.5px; }
.iv-ev-where, .iv-ev-note { margin: 4px 0 0; font-size: 14.5px; color: var(--iv-soft); }
.iv-ev-a { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.iv-ev-a a { font-size: 12.5px; font-weight: 600; text-decoration: none; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--iv-line); }
.iv-ev-a a:hover { background: var(--iv-g); color: var(--iv-bg); }
.iv-gal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 860px; margin: 26px auto 0; }
.iv-pol { padding: 8px 8px 26px; border: 0; background: #fff; border-radius: 4px; box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .5); cursor: zoom-in; transform: rotate(var(--rt)); transition: transform .4s; }
.iv-pol:hover { transform: rotate(0) scale(1.04); z-index: 2; }
.iv-pol img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.iv-vn { font-family: var(--iv-fh); font-size: 24px; font-weight: 600; margin: 0 0 6px; }
.iv-dress { font-size: 14.5px; color: var(--iv-soft); }
.iv-map { margin: 18px 0 4px; border-radius: 16px; overflow: hidden; border: 1px solid var(--iv-line); }
.iv-map iframe { display: block; width: 100%; height: 260px; border: 0; }
.iv-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.iv-btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 24px; border-radius: 99px; border: 1px solid var(--iv-g); background: var(--iv-g); color: var(--iv-bg) !important; font: 600 14.5px "Jost", system-ui, sans-serif; letter-spacing: .06em; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.iv-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px var(--iv-g); }
.iv-btn.ghost { background: transparent; color: var(--iv-ink) !important; border-color: var(--iv-line); }
.iv-form { display: grid; gap: 10px; text-align: left; }
.iv-form input, .iv-form select, .iv-form textarea { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--iv-line); background: color-mix(in srgb, var(--iv-bg) 80%, transparent); color: var(--iv-ink); font: inherit; font-size: 16px; outline: none; }
.iv-form input:focus, .iv-form select:focus, .iv-form textarea:focus { border-color: var(--iv-g); }
.iv-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.iv-seg input { position: absolute; opacity: 0; }
.iv-seg span { display: block; text-align: center; padding: 11px 6px; border-radius: 12px; border: 1px solid var(--iv-line); font-size: 14px; cursor: pointer; }
.iv-seg input:checked + span { background: var(--iv-g); color: var(--iv-bg); border-color: var(--iv-g); }
.iv-form .iv-btn { width: 100%; }
.iv-hp { position: absolute; left: -9999px; }
.iv-form-msg { margin: 4px 0 0; text-align: center; font-weight: 600; }
.iv-foot { padding: 50px 20px 70px; text-align: center; }
.iv-thanks { font-size: 52px; color: var(--iv-g); margin: 0; line-height: 1.1; }
.iv-tag { font-family: var(--iv-fh); letter-spacing: .14em; font-size: 16px; margin: 6px 0; }
.iv-note { color: var(--iv-soft); font-size: 14px; margin: 4px 0; }
.iv-made { display: inline-block; margin-top: 22px; font-size: 12px; opacity: .6; text-decoration: none; }
.iv-lb { position: fixed; inset: 0; z-index: 95; background: rgba(0, 0, 0, .88); display: grid; place-items: center; padding: 20px; }
.iv-lb[hidden] { display: none; }
.iv-lb img { max-height: 88vh; border-radius: 8px; }
.iv-lb button { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; font-size: 24px; cursor: pointer; }
.iv-rv { opacity: 0; transform: translateY(26px) scale(.98); transition: opacity .9s ease, transform 1s cubic-bezier(.2, .8, .2, 1); }
.iv-rv.in { opacity: 1; transform: none; }
.iv-pol.iv-rv.in { transform: rotate(var(--rt)); }
.iv-embed .iv-up, .iv-embed .iv-rv, .iv-embed .iv-names .ch { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }

/* Style accents */
.st-minimal .iv-names { font-size: clamp(48px, 13vw, 96px); }
.st-minimal .iv-card { border-radius: 2px; box-shadow: none; }
.st-minimal .iv-photo, .st-minimal .iv-port { border-radius: 2px; box-shadow: none; border-width: 1px; }
.st-royal .iv-card, .st-temple .iv-card { border-width: 2px; box-shadow: inset 0 0 0 6px color-mix(in srgb, var(--iv-g) 12%, transparent), 0 30px 60px -40px rgba(0, 0, 0, .45); }
.st-pastel .iv-card, .st-pastel .iv-ev-b, .st-pastel .iv-cd div { border-radius: 28px; }
.st-marigold .iv-hero { padding-top: 130px; }
.st-tropical .iv-hero { padding-bottom: 120px; }
.st-celestial .iv-hero { background: radial-gradient(90% 70% at 50% 110%, color-mix(in srgb, var(--iv-a) 25%, transparent), transparent 60%), radial-gradient(70% 55% at 50% 35%, var(--iv-bg), var(--iv-bg2)); }

@media (min-width: 720px) {
  .iv-gal { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .iv-card { padding: 44px 40px; }
  .iv-sec { padding: 96px 24px; }
  .iv-d-corner { width: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  .iv *, .iv *::before, .iv *::after { animation: none !important; transition-duration: .01s !important; }
  .iv-fx { display: none; }
}
