/* ==========================================================================
   Dentv Thiệp Cưới – online invitation engine
   ========================================================================== */

:root {
	--tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .42 0 0 0 0 .38 0 0 0 .11 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	--fiber: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .38 0 0 0 0 .35 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
	--c1: #9b2a2a;
	--c2: #511921;
	--c3: #b98c5a;
	--ink: #3a302b;
	--bg: #fffdfb;
	--paper: #f7f5f1;
	--btn: var(--c1);
	--btn-ink: #fff;
	--line: color-mix(in srgb, var(--c1) 55%, transparent);
	--seal: #8e1c24;
	--seal-hi: #c9505a;
	--seal-lo: #4a0a10;
	--seal-mono: #ffd95e;
	--env: #5b1622;
	--ph-a: #9b1c1c;
	--ph-b: #5c0b0b;
	--ph-fg: rgba(250, 243, 235, .92);
	--ph-hl: rgba(255, 255, 255, .7);
	--f-script: 'Great Vibes', cursive;
	--f-serif: 'Playfair Display', Georgia, serif;
	--f-display: 'Yeseva One', Georgia, serif;
	--f-body: 'Literata', Georgia, serif;
	--f-sans: 'Inter', system-ui, sans-serif;
	--f-alt: 'Playball', cursive;
	--f-title: var(--f-script);
}

*, *::before, *::after { box-sizing: border-box; }
.iv-html { -webkit-text-size-adjust: 100%; }
.iv-body {
	/* Derived tokens must resolve on the element carrying the skin class, not on :root. */
	--btn: var(--c1);
	--line: color-mix(in srgb, var(--c1) 55%, transparent);
	--f-title: var(--f-script);
	margin: 0;
	min-height: 100vh;
	color: var(--ink);
	font-family: var(--f-body);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	background: #ebe7e2;
}
.iv-locked, .iv-locked body { overflow: hidden; height: 100%; }
:where(.iv-body) p { margin: 0; }
:where(.iv-body) img { max-width: 100%; display: block; }
:where(.iv-body) button { font: inherit; color: inherit; }
.iv-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.iv-ico { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.8; fill: none; flex: none; }

.iv-backdrop {
	position: fixed; inset: 0; z-index: 0;
	background:
		radial-gradient(60% 50% at 20% 20%, color-mix(in srgb, var(--c1) 16%, transparent), transparent 70%),
		radial-gradient(50% 60% at 85% 80%, color-mix(in srgb, var(--c3) 20%, transparent), transparent 70%),
		var(--paper);
}
.iv-backdrop::after { content: ""; position: absolute; inset: 0; background: var(--tex); opacity: .6; }
.iv-page {
	position: relative; z-index: 1;
	width: 100%; max-width: 500px; min-height: 100vh;
	margin: 0 auto;
	background: var(--bg);
	box-shadow: 0 0 80px rgba(40, 20, 10, .14);
	overflow: hidden;
}
.iv-content { position: relative; }
.iv-sec { position: relative; text-align: center; overflow: hidden; }

/* Scroll reveal ---------------------------------------------------------- */
[data-aos] { opacity: 0; transition: opacity 1s ease, transform 1s cubic-bezier(.2, .7, .2, 1); will-change: opacity, transform; }
[data-aos="fade-up"] { transform: translate3d(0, 44px, 0); }
[data-aos="fade-down"] { transform: translate3d(0, -44px, 0); }
[data-aos="fade-left"] { transform: translate3d(44px, 0, 0); }
[data-aos="fade-right"] { transform: translate3d(-44px, 0, 0); }
[data-aos="zoom-in"] { transform: scale(.82); }
[data-aos].aos-animate { opacity: 1; transform: none; }
.iv-preview [data-aos] { opacity: 1; transform: none; transition: none; }

/* Photos ------------------------------------------------------------------ */
.iv-photo { position: relative; overflow: hidden; background: linear-gradient(165deg, var(--ph-a), var(--ph-b)); }
.iv-photo img { width: 100%; height: 100%; object-fit: cover; }
.iv-photo--ph::before {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(70% 45% at 50% 18%, rgba(255, 255, 255, .28), transparent 70%), var(--tex);
}
.iv-photo--ph svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.iv-photo--ph .ph-g { fill: var(--ph-fg); }
.iv-photo--ph .ph-l { fill: var(--ph-hl); stroke: var(--ph-hl); }
.iv-photo--flip svg { transform: scaleX(-1); }
.iv-ph-1 { background: linear-gradient(200deg, var(--ph-a), var(--ph-b)); }
.iv-ph-2 { background: linear-gradient(135deg, var(--ph-b), var(--ph-a) 70%); }
.iv-ph-3 { background: radial-gradient(90% 70% at 30% 20%, var(--ph-a), var(--ph-b)); }

/* Shared typography ------------------------------------------------------- */
.iv-title { margin: 0 0 12px; font-family: var(--f-title); font-weight: 400; font-size: 42px; line-height: 1.25; color: var(--c1); }
.iv-kicker { font: 600 12px/1.4 var(--f-sans); letter-spacing: .25em; text-transform: uppercase; color: var(--c3); margin-bottom: 6px !important; }
.iv-kicker--light { color: rgba(255, 255, 255, .85); position: relative; }
.iv-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-height: 40px; padding: 10px 24px;
	border: 0; border-radius: 8px;
	background: var(--btn); color: var(--btn-ink);
	font: 600 13px/1 var(--f-sans); letter-spacing: .06em; text-transform: uppercase;
	text-decoration: none; cursor: pointer;
	transition: transform .2s, box-shadow .2s, filter .2s;
	box-shadow: 0 6px 18px color-mix(in srgb, var(--btn) 30%, transparent);
}
.iv-btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.iv-btn--block { width: 100%; }
.iv-btn--map { margin-top: 18px; }
.iv-btn--pill { border-radius: 999px; min-height: 34px; padding: 8px 20px; font-size: 12px; }
.iv-bar { background: var(--c1); padding: 14px 16px; margin-bottom: 22px; }
.iv-bar span { font: 600 20px/1.2 var(--f-serif); letter-spacing: .06em; text-transform: uppercase; color: var(--bar-ink, #ecdfd6); }
.iv-divider { display: block; width: 88%; height: 40px; margin: 18px auto 0; stroke: var(--c3); stroke-width: 1.2; fill: none; opacity: .8; }

/* Decorations -------------------------------------------------------------- */
.iv-deco { position: absolute; pointer-events: none; overflow: visible; }
.iv-deco--lily { color: var(--c1); stroke: currentColor; stroke-width: 1.15; fill: var(--lily-fill, var(--bg)); }
.iv-deco--flower { filter: drop-shadow(0 6px 10px rgba(60, 50, 30, .16)); }
.iv-deco--firework { color: var(--fw, #f08b8b); stroke: currentColor; stroke-width: 1.2; opacity: .7; }
.iv-seal { display: block; overflow: visible; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .28)); }
.iv-seal__mono { font-family: var(--f-script); font-size: 30px; fill: var(--seal-mono); }

/* ==========================================================================
   Intro scenes
   ========================================================================== */
.iv-intro {
	position: fixed; z-index: 50; top: 0; left: 50%;
	width: 100%; max-width: 500px; height: 100%;
	transform: translateX(-50%);
	overflow: hidden; cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	outline: none;
}
.iv-intro__hint {
	position: absolute; left: 0; right: 0; bottom: 7%;
	font: 500 12px/1 var(--f-sans); letter-spacing: .28em; text-transform: uppercase;
	color: var(--c1); opacity: .85; text-align: center;
	animation: iv-pulse 1.8s ease-in-out infinite;
	transition: opacity .4s;
}
.iv-opening .iv-intro__hint { opacity: 0; animation: none; }
@keyframes iv-pulse { 50% { opacity: .35; } }
@keyframes iv-float { 50% { transform: translateY(-6px); } }
@keyframes iv-wiggle { 0%, 100% { transform: rotate(-12deg); } 50% { transform: rotate(-8deg) scale(1.03); } }

/* Doors */
.iv-door {
	position: absolute; top: 0; bottom: 0; width: 50%; overflow: hidden;
	background: var(--tex), var(--fiber), var(--paper);
	transition: transform 1.5s cubic-bezier(.75, 0, .25, 1);
}
.iv-door--left { left: 0; box-shadow: inset -1px 0 0 rgba(0, 0, 0, .06); }
.iv-door--right { right: 0; box-shadow: inset 1px 0 0 rgba(255, 255, 255, .6), -6px 0 16px rgba(0, 0, 0, .06); }
.iv-door__art { position: absolute; top: 0; bottom: 0; width: 200%; }
.iv-door--left .iv-door__art { left: 0; }
.iv-door--right .iv-door__art { right: 0; }
.iv-door__deco { top: 50%; left: 50%; width: 118%; transform: translate(-50%, -58%); }
.iv-door__deco.iv-deco--flower { width: 52%; transform: translate(-112%, -40%) rotate(-8deg); }
.iv-door__deco--2.iv-deco--flower { transform: translate(8%, -62%) scaleX(-1) rotate(-6deg); }
.iv-door__seal { position: absolute; top: 50%; left: 50%; width: 104px; height: 104px; transform: translate(-50%, -50%); }
.iv-opening .iv-door--left { transform: translateX(-104%); }
.iv-opening .iv-door--right { transform: translateX(104%); }

/* Envelope */
.iv-intro--envelope { background: var(--intro-bg, #fbf6f4); transition: opacity .9s ease 1s; }
.iv-intro__wash {
	position: absolute; inset: 0;
	background:
		radial-gradient(40% 30% at 12% 8%, var(--wash, rgba(236, 160, 170, .35)), transparent 70%),
		radial-gradient(35% 28% at 92% 90%, var(--wash, rgba(236, 160, 170, .35)), transparent 70%),
		radial-gradient(30% 22% at 8% 92%, var(--wash, rgba(236, 160, 170, .25)), transparent 70%),
		var(--tex);
}
.iv-intro__fw { width: 130px; height: 130px; }
.iv-intro__fw--1 { top: -20px; right: -20px; }
.iv-intro__fw--2 { bottom: 40px; left: -30px; }
.iv-intro__text { position: absolute; top: 31%; left: 24px; right: 24px; text-align: center; color: var(--c1); transition: opacity .6s, transform .8s; }
.iv-intro__kicker { font: 500 15px/1.4 var(--f-serif); letter-spacing: .06em; text-transform: uppercase; }
.iv-intro__guest { font: 400 40px/1.3 var(--f-script); margin: 6px 0 !important; text-shadow: 0 2px 6px rgba(0, 0, 0, .08); }
.iv-intro__sub { font: 500 14px/1.5 var(--f-serif); text-transform: uppercase; letter-spacing: .04em; }
.iv-env { position: absolute; top: 52%; left: 50%; width: 250px; height: 178px; margin-left: -125px; perspective: 800px; animation: iv-float 3s ease-in-out infinite; }
.iv-env__body { position: absolute; inset: 0; background: var(--env); box-shadow: 0 18px 40px rgba(0, 0, 0, .18); }
.iv-env__body::before, .iv-env__body::after { content: ""; position: absolute; bottom: 0; width: 52%; height: 100%; }
.iv-env__body::before { left: 0; background: linear-gradient(to top right, rgba(0, 0, 0, .1) 49.5%, transparent 50%); }
.iv-env__body::after { right: 0; background: linear-gradient(to top left, rgba(0, 0, 0, .08) 49.5%, transparent 50%); }
.iv-env__flap {
	position: absolute; left: 0; right: 0; top: 0; height: 62%;
	background: var(--env); filter: brightness(1.04);
	clip-path: polygon(0 0, 100% 0, 50% 100%);
	transform-origin: top; transition: transform .8s ease;
	box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .2);
	z-index: 3;
}
.iv-env__flap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(0, 0, 0, .12)); }
.iv-env__card {
	position: absolute; left: 12px; right: 12px; top: 12px; bottom: 12px; z-index: 1;
	background: #fffdf8; display: flex; align-items: center; justify-content: center;
	font: 400 24px/1.2 var(--f-script); color: var(--c1);
	opacity: 0;
	transition: transform .9s ease .5s, opacity .4s ease .45s;
}
.iv-env__seal { position: absolute; z-index: 4; top: 62%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; transition: opacity .3s; }
.iv-env__tap { position: absolute; z-index: 5; top: 70%; left: 55%; width: 26px; height: 26px; stroke: #fff; stroke-width: 1.6; fill: rgba(0, 0, 0, .15); animation: iv-pulse 1.4s infinite; }
.iv-opening .iv-env { animation: none; }
.iv-opening .iv-env__flap { transform: rotateX(180deg); z-index: 0; }
.iv-opening .iv-env__seal, .iv-opening .iv-env__tap { opacity: 0; }
.iv-opening .iv-env__card { transform: translateY(-70%); z-index: 2; opacity: 1; }
.iv-opening .iv-intro--envelope { opacity: 0; }
.iv-opening .iv-intro__text { opacity: 0; transform: translateY(-20px); }

/* Card */
.iv-intro--card { background: var(--tex), var(--fiber), var(--paper); display: flex; align-items: center; justify-content: center; transition: opacity 1s ease .4s; }
.iv-intro__card { position: relative; z-index: 2; text-align: center; color: var(--c1); padding: 20px; transition: transform 1s ease, opacity .8s; }
.iv-intro--card .iv-intro__kicker { font: 700 10px/1 var(--f-sans); letter-spacing: .3em; color: var(--c3); }
.iv-intro__names { display: flex; flex-direction: column; align-items: center; margin: 14px 0 16px !important; font: 400 46px/1.15 var(--f-script); color: var(--c2); }
.iv-intro__names em { font-style: normal; font-size: .8em; }
.iv-intro__invite { font: italic 400 15px/1.4 'Cormorant Garamond', var(--f-serif); color: #5b4a36; }
.iv-intro--card .iv-intro__guest { font-size: 32px; color: var(--c2); }
.iv-intro__date { font: 500 14px/1.4 var(--f-serif); color: var(--c1); margin: 4px 0 18px !important; }
.iv-intro__btn { margin-top: 10px; min-height: 34px; padding: 8px 22px; font-size: 11px; border-radius: 6px; animation: iv-pulse 2.2s infinite; }
.iv-foil { position: absolute; width: 210px; height: 150px; z-index: 1; border-radius: 58% 42% 64% 36% / 46% 58% 42% 54%; filter: blur(.2px); }
.iv-foil::before, .iv-foil::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.iv-foil { background: radial-gradient(60% 60% at 40% 40%, rgba(184, 219, 245, .75), rgba(184, 219, 245, 0) 70%); }
.iv-foil::before {
	inset: 12% 8% 22% 28%;
	background: conic-gradient(from 30deg, #b8872b, #f3dc8a, #9c6f1d, #e8c96a, #c69a3b, #f7e7a8, #b8872b);
	border-radius: 40% 60% 30% 70% / 60% 40% 60% 40%;
	-webkit-mask: var(--tex), linear-gradient(#000, #000);
	box-shadow: 0 0 0 1px rgba(160, 120, 40, .3);
}
.iv-foil--tl { top: -46px; left: -52px; transform: rotate(-28deg); }
.iv-foil--br { bottom: -46px; right: -52px; transform: rotate(152deg); }
.iv-intro__corner { width: 220px; height: 170px; z-index: 1; }
.iv-intro__corner--tr { top: -30px; right: -50px; transform: rotate(200deg); }
.iv-intro__corner--bl { bottom: -30px; left: -50px; transform: rotate(20deg); }
.iv-opening .iv-intro--card { opacity: 0; }
.iv-opening .iv-intro__card { transform: scale(1.08); opacity: 0; }

/* 囍 pattern */
.iv-intro--xi { background: var(--c1); display: flex; align-items: center; justify-content: center; transition: opacity 1s ease .5s; }
.iv-xi-pattern { position: absolute; inset: -20px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; padding: 10px; font: 400 40px/1 var(--f-serif); color: rgba(233, 199, 128, .16); text-align: center; }
.iv-xi-pattern span:nth-child(2n) { transform: translateY(26px); }
.iv-xi-half { display: none; }
.iv-intro--xi .iv-intro__card {
	width: 290px; padding: 34px 24px 30px; background: #f7ecdf var(--tex);
	border-radius: 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, .3), inset 0 0 0 6px #f7ecdf, inset 0 0 0 7px #c9a35a;
}
.iv-intro__xi { display: inline-flex; width: 64px; height: 64px; align-items: center; justify-content: center; border-radius: 50%; background: var(--c1); color: #e9c780; font: 400 34px/1 var(--f-serif); box-shadow: 0 0 0 3px #e9c780; }
.iv-intro--xi .iv-intro__kicker { margin-top: 14px !important; font: italic 400 20px/1.2 var(--f-serif); color: var(--c1); }
.iv-intro--xi .iv-intro__names { font: 400 26px/1.3 var(--f-serif); color: var(--c1); margin: 10px 0 !important; letter-spacing: .04em; }
.iv-intro--xi .iv-intro__names em { font-family: 'Cormorant', serif; font-size: 22px; }
.iv-intro--xi .iv-intro__date { font: 500 14px/1 'Montserrat', sans-serif; letter-spacing: .2em; }
.iv-opening .iv-intro--xi { opacity: 0; }
.iv-opening .iv-intro--xi .iv-intro__card { transform: translateY(-30px) scale(.95); opacity: 0; }

/* Flap envelope */
.iv-intro--flap { background: var(--paper); perspective: 1200px; transition: transform 1.2s cubic-bezier(.7, 0, .3, 1) .7s, opacity .8s ease 1.1s; }
.iv-flap__paper { position: absolute; inset: 0; background: var(--tex), var(--fiber), var(--paper); }
.iv-flap__top {
	position: absolute; left: -2px; right: -2px; top: 0; height: 40%; z-index: 3;
	background: var(--tex), linear-gradient(180deg, var(--flap), color-mix(in srgb, var(--flap) 85%, #000));
	clip-path: polygon(0 0, 100% 0, 100% 34%, 50% 100%, 0 34%);
	transform-origin: top; transition: transform 1s ease;
	filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .18));
}
.iv-flap__sprig { position: absolute; width: 280px; height: 84px; color: var(--c1); stroke: currentColor; stroke-width: 1.1; fill: var(--paper); opacity: .75; }
.iv-flap__sprig--1 { top: 44%; left: -40px; transform: rotate(-22deg); }
.iv-flap__sprig--2 { bottom: 12%; right: -40px; transform: rotate(158deg); }
.iv-flap__names { position: absolute; top: 47%; left: 0; right: 0; text-align: center; color: var(--c1); }
.iv-flap__of { font: italic 400 16px/1.3 var(--f-serif); }
.iv-flap__n { font: 400 40px/1.15 var(--f-serif); letter-spacing: .02em; }
.iv-flap__amp { font: 400 30px/1.2 var(--f-alt); }
.iv-flap__date { font: 400 16px/1 var(--f-display); letter-spacing: .12em; margin-top: 14px !important; }
.iv-flap__seal { position: absolute; z-index: 4; top: 40%; left: 50%; width: 76px; height: 76px; margin: -46px 0 0 -38px; transition: opacity .4s; }
.iv-opening .iv-flap__top { transform: rotateX(180deg); }
.iv-opening .iv-flap__seal { opacity: 0; }
.iv-opening .iv-intro--flap { transform: translateX(-50%) translateY(100%); opacity: 0; }

.iv-opened .iv-intro { pointer-events: none; }

/* ==========================================================================
   Sections
   ========================================================================== */

/* Hero ------------------------------------------------------------------- */
.iv-hero { height: 650px; color: #fff; }
.iv-hero__img, .iv-poster__img, .iv-banner__img, .iv-thanks__img, .iv-tl__bg { position: absolute; inset: 0; }
.iv-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .28), transparent 28%, transparent 52%, rgba(0, 0, 0, .5)); }
.iv-hero__wd { position: absolute; top: 34px; left: 0; right: 0; font: 400 60px/1 var(--f-script); text-shadow: 0 3px 14px rgba(0, 0, 0, .35); }
.iv-hero__names { position: absolute; left: 0; right: 0; bottom: 64px; display: flex; flex-direction: column; align-items: center; }
.iv-hero__n { position: relative; z-index: 1; font: 400 42px/1.05 var(--f-serif); letter-spacing: .02em; text-shadow: 0 3px 14px rgba(0, 0, 0, .35); }
.iv-hero__amp { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -58%); font: 400 144px/1 var(--f-script); opacity: .45; }
.iv-hero__date { margin-top: 14px; font: 400 21px/1 var(--f-body); letter-spacing: .08em; text-shadow: 0 2px 8px rgba(0, 0, 0, .35); }

.iv-hero--t10 { height: auto; background: #fff; }
.iv-hero__bar { height: 46px; display: flex; align-items: center; justify-content: center; font: 400 20px/1 var(--f-display); letter-spacing: .42em; text-transform: uppercase; color: var(--accent, #a00219); }
.iv-hero__frame { position: relative; height: 474px; }
.iv-hero__frame .iv-hero__img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 36%; background: rgba(255, 255, 255, .22); backdrop-filter: blur(1px); }
.iv-hero--t10 .iv-hero__script { position: absolute; left: 0; right: 0; bottom: 60px; font: 400 37px/1.1 var(--f-script); color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.iv-hero--t10 .iv-hero__script span:first-child { display: block; transform: translateX(-60px); }
.iv-hero--t10 .iv-hero__script em { font-style: normal; font-size: 30px; margin-right: 12px; }
.iv-hero--t10 .iv-hero__date { position: absolute; left: 20px; bottom: 20px; margin: 0; font: 400 22px/1 var(--f-display); letter-spacing: .06em; }

.iv-hero--evergreen { height: 592px; }
.iv-hero__top { position: absolute; top: 30px; left: 0; right: 0; }
.iv-hero__kicker { font: 600 12px/1 'Lora', serif; letter-spacing: .3em; text-transform: uppercase; }
.iv-hero__small { font: 400 12px/1 'Lora', serif; letter-spacing: .2em; margin-top: 8px !important; }
.iv-hero--evergreen .iv-hero__script { position: absolute; top: 86px; left: 0; right: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 30px; font: 400 42px/1.05 var(--f-script); text-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
.iv-hero--evergreen .iv-hero__script em { font-style: normal; font-size: 36px; padding: 0 10px; }
.iv-hero__edge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; fill: var(--bg); }
.iv-hero__flowers { width: 230px; height: 176px; bottom: -40px; }
.iv-hero__flowers--l { left: -60px; transform: rotate(8deg); }
.iv-hero__flowers--r { right: -60px; transform: scaleX(-1) rotate(8deg); }

.iv-hero--moc .iv-hero__names { bottom: 60px; }
.iv-hero__of { font: italic 400 17px/1.3 var(--f-serif); }
.iv-hero--moc .iv-hero__n { font-size: 40px; }
.iv-hero--moc .iv-hero__amp { position: static; transform: none; font: 400 30px/1.2 var(--f-alt); opacity: 1; }
.iv-hero--moc .iv-hero__date { font-family: var(--f-display); font-size: 16px; letter-spacing: .14em; }

/* Poster (Mẫu 12) */
.iv-poster { height: 1050px; color: #fff; }
.iv-poster__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .45), transparent 32%, transparent 70%, rgba(0, 0, 0, .35)); }
.iv-poster__text { position: absolute; top: 70px; left: 0; right: 0; }
.iv-poster__we { font: 500 42px/1 'Lora', serif; letter-spacing: .18em; }
.iv-poster__married { font: 400 92px/1 'Mea Culpa', var(--f-script); margin-top: -2px !important; }
.iv-poster__names { font: 600 27.5px/1.2 var(--f-serif); letter-spacing: .08em; margin-top: 4px !important; }

/* Countdown ---------------------------------------------------------------- */
.iv-countdown { display: flex; justify-content: center; align-items: flex-start; gap: 4px; color: var(--c1); }
.iv-countdown__unit { display: flex; flex-direction: column; align-items: center; min-width: 58px; }
.iv-countdown__unit b { font: 500 32px/1.1 var(--f-display); }
.iv-countdown__unit small { font: 500 9px/1.4 var(--f-serif); letter-spacing: .12em; text-transform: uppercase; opacity: .85; margin-top: 4px; }
.iv-countdown__sep { font: 400 18px/1 var(--f-serif); padding-top: 10px; opacity: .7; }
.iv-cd { padding: 56px 20px 26px; }
.iv-cd__title { font: 500 15px/1.6 var(--f-serif); letter-spacing: .14em; text-transform: uppercase; color: var(--c1); margin-bottom: 16px !important; }
.iv-cd--olive .iv-cd__title { font: 400 23.6px/1.2 'Philosopher', sans-serif; letter-spacing: .08em; }
.iv-cd--olive .iv-countdown__unit b { font: 300 32px/1.1 'Josefin Sans', sans-serif; }
.iv-cd--olive .iv-countdown__unit small { font: 400 11.8px/1.4 'Josefin Sans', sans-serif; opacity: .8; }
.iv-cd--bar { padding: 0 0 34px; }
.iv-cd--bar .iv-countdown__unit b { font-size: 28px; }
.iv-cd--bar .iv-countdown__unit small { font: 400 10px/1.4 var(--f-sans); }
.iv-countdown--boxes { gap: 10px; }
.iv-countdown--boxes .iv-countdown__sep { display: none; }
.iv-countdown--boxes .iv-countdown__unit { width: 68px; height: 72px; justify-content: center; border-radius: 14px; background: var(--c1); color: #fff; box-shadow: 0 8px 18px color-mix(in srgb, var(--c1) 35%, transparent); }
.iv-countdown--boxes .iv-countdown__unit b { font: 700 26px/1 'Lora', serif; }
.iv-countdown--boxes .iv-countdown__unit small { font: 500 11px/1 'Lora', serif; letter-spacing: .04em; text-transform: none; }

/* Envelope cover (Hỷ Mộng / Olive) ---------------------------------------- */
.iv-envcover { padding: 20px 0 30px; min-height: 520px; }
.iv-envcover__lily { position: absolute; top: 4px; left: 50%; width: 330px; height: 248px; margin-left: -150px; color: var(--c1); stroke: currentColor; stroke-width: 1.05; fill: var(--bg); opacity: .9; }
.iv-envcover__stage { position: relative; width: 310px; height: 410px; margin: 40px auto 0; }
.iv-envcover__back { position: absolute; left: 0; right: 0; bottom: 0; height: 250px; background: color-mix(in srgb, var(--env) 88%, #000); }
.iv-envcover__pola { position: absolute; width: 150px; height: 188px; padding: 8px 8px 26px; background: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .22); }
.iv-envcover__pola .iv-photo { width: 100%; height: 100%; }
.iv-envcover__pola--1 { left: -6px; top: 40px; transform: rotate(-8deg); }
.iv-envcover__pola--2 { right: -4px; top: 0; transform: rotate(7deg); }
.iv-envcover__ticket {
	position: absolute; z-index: 2; left: 70px; top: 128px; width: 180px; height: 110px; padding: 14px 10px 10px 32px;
	background: #fbf8ee var(--tex); color: var(--c1); transform: rotate(-2deg);
	-webkit-mask: radial-gradient(circle 7px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 7px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
	box-shadow: 0 6px 16px rgba(0, 0, 0, .15);
}
.iv-envcover__side { position: absolute; left: 6px; top: 8px; bottom: 8px; writing-mode: vertical-rl; transform: rotate(180deg); font: 600 10px/1 'Cormorant', var(--f-serif); letter-spacing: .12em; border-left: 1px dashed currentColor; padding-left: 4px; text-align: center; }
.iv-envcover__save { font: 400 17px/1 var(--f-script); }
.iv-envcover__date { font: 400 19.8px/1.4 var(--f-display); letter-spacing: .04em; margin: 4px 0 !important; }
.iv-envcover__getting { font: 400 13px/1 var(--f-script); }
.iv-envcover__front {
	position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 200px;
	background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 5px), linear-gradient(180deg, color-mix(in srgb, var(--env) 90%, #fff), var(--env));
	clip-path: polygon(0 0, 50% 46%, 100% 0, 100% 100%, 0 100%);
	box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
}
.iv-envcover__front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top right, rgba(0, 0, 0, .12) 50%, transparent 50%) left / 50% 100% no-repeat, linear-gradient(to top left, rgba(0, 0, 0, .08) 50%, transparent 50%) right / 50% 100% no-repeat; }
.iv-envcover__seal { position: absolute; z-index: 4; left: 50%; bottom: 82px; width: 60px; height: 60px; margin-left: -30px; }
.iv-envcover--olive { padding-top: 24px; }
.iv-envcover__got { position: absolute; top: 18px; left: 20px; z-index: 2; font: 400 34px/1 var(--f-script); color: var(--c1); transform: rotate(-9deg); }
.iv-envcover--olive .iv-envcover__lily { top: 36px; }
.iv-envcover__names { margin-top: 20px !important; font: 400 30px/1.2 var(--f-script); color: var(--c1); }

/* Ivory envelope (Hoa Ngọc Lan) ------------------------------------------- */
.iv-ivory { padding-top: 0; }
.iv-ivory__stage { position: relative; height: 470px; }
.iv-ivory__back { position: absolute; left: 50%; bottom: 40px; width: 360px; height: 230px; margin-left: -180px; background: #ebe3cf; box-shadow: 0 16px 40px rgba(80, 60, 20, .12); }
.iv-ivory__back::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 120px; background: #e5dcc6; clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.iv-ivory__card {
	position: absolute; left: 50%; top: 0; width: 250px; height: 320px; margin-left: -125px; padding: 34px 18px 20px;
	background: var(--tex), var(--fiber), #f8f4e9; color: var(--c1);
	clip-path: polygon(0 1%, 4% 0, 9% 1%, 15% 0, 22% 1%, 30% 0, 38% 1%, 46% 0, 55% 1%, 63% 0, 71% 1%, 79% 0, 87% 1%, 94% 0, 100% 1%, 99% 8%, 100% 16%, 99% 25%, 100% 34%, 99% 44%, 100% 54%, 99% 64%, 100% 74%, 99% 84%, 100% 100%, 0 100%, 1% 88%, 0 76%, 1% 64%, 0 52%, 1% 40%, 0 28%, 1% 16%);
}
.iv-ivory__kicker { font: 700 10.5px/1.4 var(--f-serif); letter-spacing: .12em; text-transform: uppercase; }
.iv-ivory__names { display: flex; flex-direction: column; font: 400 34px/1.1 var(--f-script); margin: 12px 0 !important; }
.iv-ivory__names em { font-style: normal; font-size: 22px; }
.iv-ivory__date { font: 400 14px/1 var(--f-body); letter-spacing: .06em; }
.iv-ivory__seal { width: 56px; height: 56px; margin: 18px auto 0; }
.iv-ivory__front { position: absolute; left: 50%; bottom: 40px; width: 360px; height: 150px; margin-left: -180px; background: linear-gradient(180deg, #f3ecdb, #ece3cd); clip-path: polygon(0 0, 50% 40%, 100% 0, 100% 100%, 0 100%); box-shadow: 0 -2px 0 rgba(0, 0, 0, .02); }
.iv-ivory__fl { width: 200px; height: 154px; }
.iv-ivory__fl--l { left: -34px; bottom: 50px; transform: rotate(-12deg); }
.iv-ivory__fl--r { right: -40px; bottom: 30px; transform: scaleX(-1) rotate(-6deg); }
.iv-ivory__band { position: relative; height: 290px; }
.iv-ivory__photo { position: absolute; inset: 0; }
.iv-ivory__fl--band { right: -36px; bottom: -40px; width: 180px; height: 140px; transform: scaleX(-1) rotate(-20deg); }

/* Monogram cover (Son Vân) */
.iv-mono { padding: 50px 20px 10px; }
.iv-mono__letters { position: relative; height: 170px; font: 400 130px/1 var(--f-script); color: var(--c1); }
.iv-mono__letters span:first-child { position: absolute; left: 50%; top: 0; margin-left: -90px; }
.iv-mono__letters span:last-child { position: absolute; left: 50%; top: 40px; margin-left: -10px; opacity: .8; }
.iv-mono .iv-cd { padding-top: 10px; }

/* Photo grid ---------------------------------------------------------------- */
.iv-pgrid { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 190px 190px; gap: 8px; padding: 18px 20px; }
.iv-pgrid > div { overflow: hidden; border-radius: 4px; box-shadow: 0 8px 20px rgba(0, 0, 0, .1); }
.iv-pgrid .iv-photo { width: 100%; height: 100%; }
.iv-pgrid__a { grid-row: span 2; }

/* Families ------------------------------------------------------------------- */
.iv-fam { padding: 28px 22px; color: var(--c1); }
.iv-fam__grid { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 14px; align-items: stretch; }
.iv-fam__div { background: var(--line); }
.iv-fam__label { font: 700 16px/1.4 var(--f-serif); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px !important; }
.iv-fam__p, .iv-fam__addr { font: 400 14px/1.75 var(--f-serif); }
.iv-fam--bar { padding: 0 0 26px; }
.iv-fam--bar .iv-fam__grid { padding: 0 20px; }
.iv-fam--bar .iv-fam__label { font: 400 12px/1.4 var(--f-body); letter-spacing: .18em; color: var(--c2); }
.iv-fam--bar .iv-fam__p { font: 500 14px/1.7 var(--f-serif); color: var(--c2); }
.iv-fam--bar .iv-fam__addr { font: 400 11px/1.7 var(--f-body); color: var(--c2); }
.iv-fam--tag { padding: 20px 20px 30px; min-height: 250px; text-align: left; }
.iv-fam__house { position: absolute; left: 18px; top: 12px; display: flex; flex-direction: column; font: 500 30px/1 'Dancing Script', cursive; color: var(--c2); }
.iv-fam__house span:nth-child(2) { margin-left: 12px; }
.iv-fam__house span:nth-child(3) { margin-left: 6px; }
.iv-fam__list { margin: 104px 70px 0 30px; padding-left: 14px; border-left: 2px solid var(--c2); }
.iv-fam--tag .iv-fam__label { font: 500 19px/1.3 'Quicksand', sans-serif; color: #25293b; margin: 0 0 6px !important; }
.iv-fam--tag .iv-fam__label + .iv-fam__p { margin-top: 2px !important; }
.iv-fam--tag .iv-fam__p { font: 600 14px/1.55 'Quicksand', sans-serif; color: #111; }
.iv-fam--tag .iv-fam__addr { font: 400 14px/1.55 'Quicksand', sans-serif; color: #555; margin-bottom: 16px !important; }
.iv-fam__tag { position: absolute; right: 26px; top: 70px; width: 50px; height: 212px; background: var(--c2); display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 10px 0 12px; box-shadow: 0 8px 16px rgba(0, 0, 0, .18); }
.iv-fam__tag i { width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.iv-fam__tag span { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 35% 30%, #f3d88f, #b9892f); color: var(--c2); font: 700 20px/1 serif; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); }
.iv-fam__fw { top: -10px; right: 6px; width: 90px; height: 90px; }

/* Invitation -------------------------------------------------------------- */
.iv-inv { padding: 26px 24px 34px; color: var(--c1); }
.iv-inv__kicker { font: 500 14px/1.4 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; }
.iv-inv__guest { font: 400 34px/1.3 var(--f-alt); opacity: .85; margin-top: 4px !important; }
.iv-inv__guest::after { content: ""; display: block; width: 72%; margin: 6px auto 10px; border-top: 1px dashed var(--line); }
.iv-inv__text { font: 400 14px/1.6 var(--f-sans); opacity: .78; max-width: 380px; margin: 0 auto !important; }
.iv-inv__names { display: flex; flex-direction: column; margin-top: 34px !important; font: 500 38px/1.2 var(--f-script); text-shadow: 0 3px 6px color-mix(in srgb, var(--c1) 22%, transparent); }
.iv-inv__names em { font: 500 36px/1.1 var(--f-alt); font-style: normal; }
.iv-inv__line { display: block; height: 1px; }
.iv-inv--big .iv-inv__kicker { font: 400 22px/1.3 'Philosopher', sans-serif; letter-spacing: .03em; }
.iv-inv--big .iv-inv__guest { font-family: var(--f-script); font-size: 34px; }
.iv-inv--big .iv-inv__text { font: 400 16px/1.5 'Philosopher', sans-serif; opacity: 1; }
.iv-inv--olive .iv-inv__kicker { font: 500 14px/1.4 'Cormorant Garamond', serif; letter-spacing: .3em; color: #35302f; }
.iv-inv--olive .iv-inv__guest { font: 400 22px/1.3 var(--f-serif); opacity: 1; }
.iv-inv--olive .iv-inv__guest::after { display: none; }
.iv-inv--olive .iv-inv__text { font: 500 18px/1.45 'Cormorant Garamond', serif; color: #30352c; opacity: 1; }
.iv-inv__pair { position: relative; height: 170px; margin-top: 26px; }
.iv-inv__g, .iv-inv__b { position: absolute; font: 500 34px/1 'Cormorant', serif; color: var(--c1); z-index: 1; }
.iv-inv__g { left: 4px; top: 10px; }
.iv-inv__b { right: 4px; bottom: 10px; }
.iv-inv__amp { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -52%); font: 400 120px/1 var(--f-script); color: #35302f; opacity: .9; }
.iv-inv--kim { padding-top: 20px; }
.iv-inv__mono { display: inline-flex; gap: 2px; width: 70px; height: 70px; align-items: center; justify-content: center; border: 1px solid var(--c1); border-radius: 50%; font: 500 18px/1 'Lexend', sans-serif; margin-bottom: 14px !important; }
.iv-inv__mono span:last-child::before { content: "&"; font-size: 12px; margin: 0 2px; opacity: .6; }
.iv-inv--kim .iv-inv__kicker, .iv-inv--kim .iv-inv__text { font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 500; letter-spacing: .16em; color: var(--c2); }
.iv-inv--kim .iv-inv__text { letter-spacing: .02em; text-transform: none; }
.iv-inv--kim .iv-inv__guest { font: 600 22px/1.4 var(--f-serif); color: var(--c2); opacity: 1; }
.iv-inv__names--caps { font: 400 28px/1.3 var(--f-serif); color: var(--c2); text-shadow: none; }
.iv-inv__names--caps em { font: 400 20px/1.3 'Cormorant', serif; }
.iv-inv--t10 { padding: 30px 20px 40px; }
.iv-inv--t10 .iv-inv__kicker { font: 400 19px/1.3 'Philosopher', sans-serif; letter-spacing: .02em; }
.iv-inv--t10 .iv-inv__guest { font: 400 38px/1.4 var(--f-script); opacity: 1; }
.iv-inv--t10 .iv-inv__guest::after { width: 40%; }
.iv-inv--t10 .iv-inv__text { font: 400 13px/1.6 'Philosopher', sans-serif; letter-spacing: .02em; opacity: 1; }
.iv-inv--t10 .iv-inv__names { flex-direction: row; justify-content: center; align-items: baseline; gap: 18px; font: 400 44px/1.3 var(--f-script); margin-top: 24px !important; text-shadow: none; }
.iv-inv--t10 .iv-inv__names em { font: 400 32px/1 var(--f-script); }
.iv-inv__when { font: 400 19px/1.4 'Josefin Sans', sans-serif; letter-spacing: .2em; color: #3d3b39; text-transform: uppercase; margin-top: 18px !important; }
.iv-inv--t10 .iv-ev__side, .iv-inv--t10 .iv-ev__day { font-family: 'Lexend', sans-serif; font-weight: 400; }
.iv-inv--t10 .iv-ev__day { font-size: 44px; }
.iv-inv--t10 .iv-ev__venue { font: 500 22px/1.3 'Lexend', sans-serif; letter-spacing: .04em; }
.iv-inv--t10 .iv-ev__addr { font: 400 11px/1.5 'Lexend', sans-serif; letter-spacing: .02em; font-style: normal; color: #555; }
.iv-inv--t10 .iv-btn--map { background: transparent; color: var(--c1); border: 1px solid var(--c1); box-shadow: none; text-transform: none; font-weight: 500; letter-spacing: 0; min-height: 32px; padding: 6px 14px; border-radius: 4px; font-size: 12px; }
.iv-inv__fw { top: 150px; left: -24px; width: 110px; height: 110px; }

/* Event ------------------------------------------------------------------- */
.iv-ev { padding: 20px 24px 60px; color: var(--c1); }
.iv-ev__time { font: 600 22px/1.3 var(--f-display); letter-spacing: .02em; }
.iv-ev__row { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 12px 0 10px; color: var(--c1); }
.iv-ev__side { width: 86px; padding: 7px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 400 16px/1 var(--f-display); text-transform: uppercase; }
.iv-ev__day { font: 400 48px/1 var(--f-display); }
.iv-ev__lunar { font: italic 400 14px/1.5 'Lexend', var(--f-sans); opacity: .9; }
.iv-ev__at { font: 400 16px/1.4 var(--f-body); margin-top: 22px !important; }
.iv-ev__at::after { content: ""; display: block; width: 40px; height: 1px; margin: 6px auto 0; background: var(--line); }
.iv-ev__venue { font: 400 24px/1.3 var(--f-display); margin-top: 8px !important; letter-spacing: .02em; }
.iv-ev__addr { font: italic 400 15px/1.6 var(--f-body); max-width: 380px; margin: 4px auto 0 !important; }
.iv-ev__corner { bottom: -8px; width: 200px; height: 150px; opacity: .55; }
.iv-ev__corner--l { left: -70px; transform: rotate(18deg); }
.iv-ev__corner--r { right: -70px; transform: scaleX(-1) rotate(18deg); }
.iv-ev__corner.iv-deco--flower { opacity: 1; width: 170px; height: 130px; bottom: -30px; }
.iv-ev--photo { padding: 16px 20px 50px; }
.iv-ev__card { position: relative; border-radius: 16px; background: #fffcf5; box-shadow: 0 16px 40px rgba(80, 60, 20, .1); }
.iv-ev--photo .iv-ev__card { overflow: visible; }
.iv-ev__img { height: 230px; border-radius: 16px 16px 0 0; }
.iv-ev__img::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 10px; }
.iv-ev__body { padding: 22px 16px 34px; }
.iv-ev__fl { width: 150px; height: 116px; bottom: -44px; }
.iv-ev__fl--l { left: -44px; transform: rotate(8deg); }
.iv-ev__fl--r { right: -44px; transform: scaleX(-1) rotate(8deg); }
.iv-ev--card { padding: 10px 16px 30px; }
.iv-ev--card .iv-ev__card { background: var(--c2); color: #fff; padding: 26px 18px 30px; }
.iv-ev--card .iv-ev__card * { color: #fff; border-color: rgba(255, 255, 255, .7); }
.iv-ev--card .iv-ev__at::after { background: rgba(255, 255, 255, .6); }
.iv-ev__kicker { font: 600 18px/1.3 'Cormorant Garamond', serif; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px !important; }
.iv-ev--card .iv-ev__time { font-size: 18px; opacity: .85; }
.iv-ev--card .iv-ev__day { font-size: 60px; }
.iv-ev--card .iv-btn--map { background: #fff; color: var(--c2) !important; box-shadow: none; min-height: 32px; font-size: 11px; border-radius: 999px; }

/* Party (Evergreen) */
.iv-party { padding: 40px 24px 50px; }
.iv-party__kicker { font: 600 12px/1 var(--f-sans); letter-spacing: .28em; text-transform: uppercase; color: var(--c3); }
.iv-party__venue { font: 500 30px/1.3 var(--f-sans); color: #1e1b15; margin: 10px 0 18px !important; }
.iv-party__grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(169, 130, 69, .35); border-bottom: 1px solid rgba(169, 130, 69, .35); }
.iv-party__grid div { display: flex; flex-direction: column; gap: 4px; padding: 18px 8px; }
.iv-party__grid div + div { border-left: 1px solid rgba(169, 130, 69, .35); }
.iv-party__grid small { font: 400 13px/1 'Lexend', sans-serif; letter-spacing: .1em; color: #7e7666; text-transform: uppercase; }
.iv-party__grid b { font: 700 32px/1.1 var(--f-sans); color: #1e1b15; }
.iv-party__lunar { font: italic 400 14px/1.5 var(--f-sans); color: #7e7666; margin-top: 12px !important; }
.iv-party__addr { display: flex; justify-content: center; gap: 6px; font: 400 14px/1.5 var(--f-sans); color: #4d4638; margin-top: 10px !important; }
.iv-party__addr .iv-ico { color: var(--c3); margin-top: 2px; }

/* Banner */
.iv-banner { height: 281px; }
.iv-banner--plain { height: 538px; }
.iv-banner__text { position: absolute; left: 22px; bottom: 22px; display: flex; flex-direction: column; align-items: flex-start; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.iv-banner__text span { font: 400 36px/.8 var(--f-script); transform: rotate(-6deg); margin-left: 6px; }
.iv-banner__text b { font: 400 30px/1.2 var(--f-display); letter-spacing: .04em; }

/* Calendar ------------------------------------------------------------------- */
.iv-cal { padding: 34px 26px; color: var(--c1); }
.iv-cal__month { font: 400 44px/1.2 var(--f-script); margin-bottom: 12px !important; }
.iv-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 6px; max-width: 360px; margin: 0 auto; }
.iv-cal__w { font: 600 12px/1 var(--f-body); letter-spacing: .06em; padding: 6px 0; text-transform: uppercase; }
.iv-cal__d { position: relative; height: 32px; display: flex; align-items: center; justify-content: center; font: 400 15px/1 var(--f-body); }
.iv-cal__d i { position: relative; z-index: 1; font-style: normal; }
.iv-cal__heart { position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; transform: translate(-50%, -50%); fill: none; stroke: currentColor; stroke-width: 1.3; animation: iv-beat 1.6s ease-in-out infinite; }
.iv-cal__d.is-mark i { font-weight: 700; }
@keyframes iv-beat { 50% { transform: translate(-50%, -50%) scale(1.12); } }
.iv-cal--paper { height: 520px; padding: 0; }
.iv-cal__lily { width: 250px; height: 190px; opacity: .3; }
.iv-cal__lily--tl { top: -20px; left: -40px; }
.iv-cal__lily--br { bottom: -10px; right: -60px; transform: scaleX(-1); }
.iv-cal__env { position: absolute; top: 90px; right: 22px; width: 280px; height: 180px; background: linear-gradient(160deg, color-mix(in srgb, var(--env) 85%, #fff), var(--env)); box-shadow: 0 16px 30px rgba(0, 0, 0, .2); }
.iv-cal__env::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom right, transparent 49.6%, rgba(0, 0, 0, .18) 50%, transparent 51%), linear-gradient(to bottom left, transparent 49.6%, rgba(0, 0, 0, .18) 50%, transparent 51%); background-size: 100% 100%; clip-path: polygon(0 0, 100% 0, 50% 60%); }
.iv-cal__seal { position: absolute; left: 50%; top: 60%; width: 64px; height: 64px; margin: -32px 0 0 -32px; }
.iv-cal__paper {
	position: absolute; left: 20px; top: 175px; width: 330px; padding: 22px 16px 18px;
	background: var(--tex), var(--fiber), #f4f1e6;
	clip-path: polygon(0 2%, 6% 0, 13% 2%, 21% 0, 29% 1.5%, 37% 0, 46% 2%, 55% 0, 63% 1.5%, 72% 0, 80% 2%, 88% 0, 95% 1.5%, 100% 0, 99% 12%, 100% 25%, 98.5% 38%, 100% 50%, 99% 63%, 100% 76%, 98.5% 88%, 100% 100%, 92% 98.5%, 84% 100%, 75% 98%, 66% 100%, 57% 98.5%, 48% 100%, 39% 98%, 30% 100%, 21% 98.5%, 12% 100%, 4% 98%, 0 100%, 1.5% 86%, 0 72%, 1% 58%, 0 44%, 1.5% 30%, 0 16%);
	filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .16));
}
.iv-cal--paper .iv-cal__month { font-size: 35px; margin-bottom: 4px !important; }
.iv-cal--paper .iv-cal__w { font-size: 10.5px; }
.iv-cal--paper .iv-cal__d { height: 28px; font-size: 13px; }
.iv-cal--paper .iv-cal__heart { fill: var(--c1); stroke: none; width: 30px; height: 30px; }
.iv-cal--paper .is-mark i { color: #fff; }
.iv-cal--card { padding: 14px 16px 26px; }
.iv-cal__card { display: flex; gap: 12px; align-items: center; padding: 16px 12px; border-radius: 14px; background: var(--c2); color: #fff; box-shadow: 0 16px 30px color-mix(in srgb, var(--c2) 30%, transparent); }
.iv-cal__pola { flex: 0 0 40%; padding: 6px 6px 28px; background: #fff; position: relative; transform: rotate(-1.5deg); }
.iv-cal__pola .iv-photo { height: 170px; }
.iv-cal__pola span { position: absolute; left: 0; right: 0; bottom: 4px; font: 400 18px/1 var(--f-script); color: var(--c2); }
.iv-cal__right { flex: 1; }
.iv-cal--card .iv-cal__month { font: 400 18px/1.2 'Cormorant Garamond', var(--f-serif); text-align: right; margin-bottom: 6px !important; }
.iv-cal__slider { display: block; position: relative; height: 1px; margin: 0 0 8px; background: rgba(255, 255, 255, .7); }
.iv-cal__slider::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.iv-cal--card .iv-cal__w { font: 700 9px/1 var(--f-sans); padding: 4px 0; opacity: .85; }
.iv-cal--card .iv-cal__d { height: 21px; font: 600 10px/1 var(--f-sans); }
.iv-cal--card .iv-cal__heart { width: 24px; height: 24px; }

/* Couple ------------------------------------------------------------------- */
.iv-couple { padding: 20px 20px 30px; color: var(--c1); }
.iv-couple__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.iv-couple__row--2 { margin-top: -80px; align-items: end; }
.iv-couple__ph { height: 230px; box-shadow: 0 14px 30px rgba(0, 0, 0, .14); }
.iv-couple__ph .iv-photo { height: 100%; }
.iv-couple__label { display: flex; flex-direction: column; padding-top: 18px; }
.iv-couple__row--2 .iv-couple__label { padding: 0 0 20px; }
.iv-couple__label small { font: 400 30px/1.2 var(--f-script); }
.iv-couple__label b { font: 500 26px/1.2 var(--f-serif); text-shadow: 0 2px 4px color-mix(in srgb, var(--c1) 25%, transparent); }
.iv-couple--labels .iv-couple__label b { font: 400 32px/1.2 var(--f-script); }

/* Love story ------------------------------------------------------------------ */
.iv-story { padding: 50px 20px 30px; color: var(--c1); }
.iv-story__stage { position: relative; height: 510px; margin-top: 16px; }
.iv-story__item { position: absolute; width: 100%; }
.iv-story__item--g { top: 0; left: 0; }
.iv-story__item--b { top: 240px; left: 0; }
.iv-story__pola { position: absolute; width: 190px; height: 230px; padding: 10px; background: #fff; box-shadow: 0 16px 30px rgba(0, 0, 0, .14); }
.iv-story__pola .iv-photo { height: 100%; }
.iv-story__item--g .iv-story__pola { left: 12px; top: 0; transform: rotate(-14deg); }
.iv-story__item--b .iv-story__pola { right: 14px; top: 0; transform: rotate(9deg); }
.iv-story__who { position: absolute; display: flex; flex-direction: column; }
.iv-story__item--g .iv-story__who { right: 34px; top: 12px; }
.iv-story__item--b .iv-story__who { left: 30px; top: 110px; text-align: left; }
.iv-story__who small { font: 300 28px/1.1 var(--f-script); }
.iv-story__who b { font: 500 22px/1.3 var(--f-serif); letter-spacing: .03em; }
.iv-story__seal { position: absolute; z-index: 2; left: 50%; top: 208px; width: 64px; height: 64px; margin-left: -20px; }
.iv-story__text { font: 400 16px/1.6 var(--f-body); padding: 0 34px; color: var(--c1); }
.iv-story__fl { width: 160px; height: 124px; }
.iv-story__fl--tl { top: -20px; left: -40px; transform: rotate(160deg) scaleX(-1); }
.iv-story__fl--r { top: 250px; right: -60px; transform: rotate(-90deg); }
.iv-story--evergreen { padding-top: 40px; }
.iv-story__heart { width: 18px; height: 18px; fill: var(--c3); margin: 0 auto 4px; display: block; }
.iv-story--evergreen .iv-story__text { font: 400 16px/1.6 var(--f-sans); color: #1e1b15; margin-bottom: 20px !important; }
.iv-story--evergreen .iv-story__stage { height: 380px; }
.iv-story--evergreen .iv-story__who { display: none; }
.iv-story--evergreen .iv-story__item--b { top: 40px; }
.iv-story--evergreen .iv-story__item--g .iv-story__pola { left: 40px; transform: rotate(-6deg); height: 260px; }
.iv-story--evergreen .iv-story__item--b .iv-story__pola { right: 40px; transform: rotate(6deg); top: 40px; height: 250px; }
.iv-story--evergreen .iv-story__fl--r { top: auto; bottom: -30px; left: -50px; right: auto; transform: rotate(20deg); }
.iv-storytext { padding: 10px 0 24px; }

/* Photo band, full names, pair */
.iv-band { height: 280px; overflow: visible; margin-bottom: 30px; }
.iv-band__img { position: absolute; inset: 0; }
.iv-band__fl { right: -40px; bottom: -56px; width: 190px; height: 146px; transform: scaleX(-1) rotate(-14deg); }
.iv-fullnames { padding: 18px 20px 26px; }
.iv-fullnames p { display: flex; flex-direction: column; font: 400 28px/1.25 var(--f-serif); color: var(--c1); letter-spacing: .02em; }
.iv-fullnames em { font: 400 26px/1.2 var(--f-alt); font-style: normal; }
.iv-ppair { height: 470px; }
.iv-ppair > div { position: absolute; width: 230px; border: 8px solid #fff; box-shadow: 0 16px 34px rgba(0, 0, 0, .16); }
.iv-ppair .iv-photo { height: 100%; }
.iv-ppair__a { left: 12px; top: 6px; height: 300px; transform: rotate(-2deg); }
.iv-ppair__b { right: 12px; top: 110px; height: 330px; transform: rotate(2deg); z-index: 1; }

/* Monogram (Nhà Có Hỷ) */
.iv-monogram { padding: 10px 20px 20px; color: var(--c2); }
.iv-monogram__mark { position: relative; width: 150px; height: 120px; margin: 0 auto; }
.iv-monogram__heart { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #efcfcf; stroke-width: .8; }
.iv-monogram__mark span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 400 46px/1 'Cormorant', serif; letter-spacing: -.06em; }
.iv-monogram__text { font: 400 13.5px/1.7 'Quicksand', sans-serif; letter-spacing: .04em; margin-top: 14px !important; }
.iv-monogram .iv-cd { padding: 24px 0 10px; }
.iv-monogram .iv-cd__title { font: 400 26px/1 'Philosopher', sans-serif; color: var(--c2); }
.iv-monogram .iv-countdown { color: var(--c2); }
.iv-monogram .iv-countdown__unit small { font: 500 11px/1.4 'Quicksand', sans-serif; color: #8e473e; }

/* With you */
.iv-withyou { height: 610px; }
.iv-withyou__wide { position: absolute; left: 30px; right: 30px; top: 30px; height: 260px; }
.iv-withyou__wide .iv-photo, .iv-withyou__a .iv-photo, .iv-withyou__b .iv-photo { height: 100%; }
.iv-withyou__txt { position: absolute; left: 44px; top: 300px; font: 300 35px/1 'Cormorant', serif; color: #e7caca; letter-spacing: .06em; text-transform: uppercase; }
.iv-withyou__a { position: absolute; left: 24px; top: 348px; width: 48%; height: 230px; }
.iv-withyou__b { position: absolute; right: 24px; top: 300px; width: 42%; height: 260px; }

/* Timeline ----------------------------------------------------------------------- */
.iv-tl { color: var(--c1); }
.iv-tl__list { list-style: none; margin: 0; padding: 0; }
.iv-tl--photo { min-height: 620px; padding: 60px 30px 50px; color: #fff; }
.iv-tl__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .42) 50%, rgba(0, 0, 0, .6)); }
.iv-tl--photo > *:not(.iv-tl__bg):not(.iv-tl__shade) { position: relative; }
.iv-tl--photo .iv-title { color: #fff; }
.iv-tl--photo .iv-tl__list { margin: 26px 0 0 44%; padding-left: 28px; border-left: 1.5px solid rgba(255, 255, 255, .85); text-align: left; }
.iv-tl--photo .iv-tl__item { position: relative; padding-bottom: 22px; }
.iv-tl--photo .iv-tl__item:last-child { padding-bottom: 4px; }
.iv-tl--photo .iv-tl__dot { position: absolute; left: -36px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .25); }
.iv-tl__time { display: block; font: 400 24px/1.2 var(--f-display); }
.iv-tl__label { display: block; font: 300 16px/1.4 var(--f-body); color: #fdf8f2; }
.iv-dress--in { margin-top: 40px; }
.iv-dress--in .iv-title { font-size: 48px; color: #fff; }
.iv-tl--strip { min-height: 277px; padding: 34px 26px 36px; background: var(--c2); color: #fff; }
.iv-tl--strip .iv-tl__bg { opacity: .42; }
.iv-tl--strip .iv-tl__shade { background: linear-gradient(90deg, color-mix(in srgb, var(--c2) 60%, transparent), transparent 60%); }
.iv-tl--strip .iv-title { position: relative; font: 500 32px/1.2 'Cormorant Garamond', serif; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.iv-tl--strip .iv-tl__list { position: relative; display: flex; justify-content: space-between; margin-top: 30px; }
.iv-tl--strip .iv-tl__list::before { content: ""; position: absolute; left: 6%; right: 6%; top: 9px; height: 2px; background: #fff; }
.iv-tl--strip .iv-tl__item { position: relative; display: flex; flex-direction: column; align-items: center; flex: 1; }
.iv-tl--strip .iv-tl__dot { width: 20px; height: 20px; border-radius: 50%; background: #fff; margin-bottom: 12px; }
.iv-tl--strip .iv-tl__time { font-size: 18px; font-weight: 500; }
.iv-tl--strip .iv-tl__label { font: 500 10px/1.4 var(--f-body); letter-spacing: .1em; text-transform: uppercase; }
.iv-tl--icons { padding: 20px 14px 34px; background: #fff; }
.iv-tl--icons .iv-title { font: 400 30px/1.2 var(--f-title); }
.iv-tl--icons .iv-tl__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
.iv-tl--icons .iv-tl__item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.iv-tl__icon { width: 44px; height: 44px; stroke: var(--c1); stroke-width: 1.4; fill: none; }
.iv-tl--icons .iv-tl__dot { display: none; }
.iv-tl--icons .iv-tl__time { font-size: 15px; }
.iv-tl--icons .iv-tl__label { font: 600 10px/1.3 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: #30352c; }
.iv-tl--zigzag { padding: 40px 20px 30px; background: #fff; }
.iv-tl--zigzag .iv-title { font-size: 50px; color: var(--c2); }
.iv-tl--zigzag .iv-tl__list { position: relative; width: 84%; margin: 18px auto 0; }
.iv-tl--zigzag .iv-tl__list::before { content: ""; position: absolute; left: 50%; top: 8px; bottom: 30px; width: 1px; background: #3a3a3a; }
.iv-tl--zigzag .iv-tl__item { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; column-gap: 34px; min-height: 76px; }
.iv-tl--zigzag .iv-tl__dot { position: absolute; left: 50%; top: 6px; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--c2); }
.iv-tl--zigzag .iv-tl__icon { grid-row: span 2; width: 46px; height: 46px; stroke: #222; stroke-width: 1.3; }
.iv-tl--zigzag .iv-tl__time { font: 700 14px/1.4 'Quicksand', sans-serif; color: var(--c2); }
.iv-tl--zigzag .iv-tl__label { font: 600 14px/1.3 'Quicksand', sans-serif; color: #322e2b; text-transform: uppercase; }
.iv-tl--zigzag .iv-tl__item:nth-child(odd) .iv-tl__icon { grid-column: 2; grid-row: 1 / span 2; justify-self: start; }
.iv-tl--zigzag .iv-tl__item:nth-child(odd) .iv-tl__time, .iv-tl--zigzag .iv-tl__item:nth-child(odd) .iv-tl__label { grid-column: 1; text-align: right; }
.iv-tl--zigzag .iv-tl__item:nth-child(odd) .iv-tl__time { grid-row: 1; }
.iv-tl--zigzag .iv-tl__item:nth-child(odd) .iv-tl__label { grid-row: 2; }
.iv-tl--zigzag .iv-tl__item:nth-child(even) .iv-tl__icon { grid-column: 1; grid-row: 1 / span 2; justify-self: end; }
.iv-tl--zigzag .iv-tl__item:nth-child(even) .iv-tl__time, .iv-tl--zigzag .iv-tl__item:nth-child(even) .iv-tl__label { grid-column: 2; text-align: left; }
.iv-tl--kim { padding: 20px 26px 30px; }
.iv-tl--kim .iv-title { font: 600 20px/1.3 var(--f-serif); letter-spacing: .08em; text-transform: uppercase; }
.iv-tl--kim .iv-tl__list { position: relative; width: 260px; margin: 12px auto 0; }
.iv-tl--kim .iv-tl__list::before { content: ""; position: absolute; left: 92px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.iv-tl--kim .iv-tl__item { position: relative; display: flex; align-items: center; gap: 30px; padding: 10px 0; }
.iv-tl--kim .iv-tl__dot { position: absolute; left: 88px; width: 9px; height: 9px; border-radius: 50%; background: var(--c1); }
.iv-tl--kim .iv-tl__time { width: 70px; text-align: right; font: 700 14.5px/1 var(--f-sans); }
.iv-tl--kim .iv-tl__label { font: 600 14.5px/1.3 var(--f-serif); color: var(--c2); }

/* Dresscode */
.iv-dress { padding: 30px 20px; }
.iv-dress__note { font: italic 400 16px/1.6 var(--f-sans); color: #4d4638; padding: 0 30px; margin-bottom: 18px !important; }
.iv-dress__dots { display: flex; justify-content: center; }
.iv-dress__dots span { width: 46px; height: 46px; border-radius: 50%; margin-left: -12px; border: 2px solid #fff; box-shadow: 0 6px 14px rgba(0, 0, 0, .18); }
.iv-dress__dots span:first-child { margin-left: 0; }
.iv-dress--white { background: #fff; padding: 26px 20px 36px; }
.iv-dress--white .iv-title { font-size: 44px; }
.iv-dress--t10 { background: #fff; padding: 10px 20px 30px; }
.iv-dress--t10 .iv-title { font-size: 40px; color: var(--c2); }
.iv-dress--t10 .iv-dress__dots { gap: 30px; }
.iv-dress--t10 .iv-dress__dots span { width: 24px; height: 24px; margin: 0; border: 1px solid #555; box-shadow: none; }

/* RSVP ----------------------------------------------------------------------- */
.iv-rsvp { padding: 40px 20px 44px; color: var(--c1); }
.iv-rsvp__note { font: 400 14px/1.6 var(--f-body); margin-bottom: 18px !important; padding: 0 10px; }
.iv-form { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.iv-label { font: 600 13px/1.3 'Lexend', var(--f-sans); color: var(--label, #4b382a); margin-bottom: -4px; }
.iv-input {
	width: 100%; min-height: 44px; padding: 10px 14px;
	border: 1px solid color-mix(in srgb, var(--c1) 45%, transparent); border-radius: 12px;
	background: #fff; color: var(--ink);
	font: 400 14px/1.4 var(--f-sans);
	outline: none; transition: border-color .2s, box-shadow .2s;
	-webkit-appearance: none; appearance: none;
}
.iv-input:focus { border-color: var(--c1); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c1) 14%, transparent); }
select.iv-input { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23888' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; }
textarea.iv-input { resize: vertical; min-height: 90px; }
.iv-radios { display: flex; flex-direction: column; gap: 8px; }
.iv-radios label { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid #eadfca; border-radius: 10px; background: #fffdf8; cursor: pointer; font: 600 12.5px/1.3 var(--f-sans); color: #7b6959; }
.iv-radios input { accent-color: var(--c1); width: 16px; height: 16px; margin: 0; }
.iv-count { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.iv-count .iv-label { margin: 0; }
.iv-count__box { display: flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid color-mix(in srgb, var(--c1) 45%, transparent); border-radius: 10px; background: #fff; }
.iv-count__box button { width: 28px; height: 28px; border: 0; border-radius: 7px; background: color-mix(in srgb, var(--c1) 10%, #fff); color: var(--c1); font: 500 18px/1 var(--f-sans); cursor: pointer; }
.iv-count__box input { width: 34px; border: 0; text-align: center; font: 600 14px/1 var(--f-sans); color: var(--ink); background: transparent; -moz-appearance: textfield; }
.iv-count__box input::-webkit-inner-spin-button { -webkit-appearance: none; }
.iv-form .iv-btn { margin-top: 4px; min-height: 46px; }
.iv-form__msg { min-height: 1em; font: 500 13px/1.4 var(--f-sans); text-align: center; color: var(--c1); }
.iv-rsvp--simple .iv-title { font-size: 34px; }
.iv-rsvp--simple .iv-input { border-radius: 12px; }
.iv-rsvp--simple .iv-btn { border-radius: 999px; }
.iv-rsvp--card .iv-rsvp__inner, .iv-modal__box { background: #fff; border-radius: 18px; padding: 28px 18px 22px; box-shadow: 0 16px 44px rgba(60, 40, 20, .1); border: 1px solid rgba(0, 0, 0, .04); }
.iv-rsvp--card .iv-rsvp__note { font: 400 13px/1.6 var(--f-sans); color: #8f7b67; }
.iv-rsvp--card .iv-input { border-color: #eadfca; background: #fffdf7; border-radius: 10px; }
.iv-rsvp--card .iv-btn { border-radius: 8px; }
.iv-rsvp--modal .iv-rsvp__inner .iv-btn { border-radius: 999px; min-height: 36px; font-size: 11px; font-weight: 500; }
.iv-rsvp__fl { width: 130px; height: 100px; right: -30px; top: -20px; transform: rotate(200deg); }
.iv-rsvp__fl.iv-deco--lily { opacity: .35; width: 220px; height: 170px; right: -60px; top: -40px; transform: none; }

/* Modals */
.iv-modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(20, 12, 8, .55); opacity: 0; transition: opacity .25s; }
.iv-modal[hidden] { display: none; }
.iv-modal.is-open { opacity: 1; }
.iv-modal__box { position: relative; width: min(100%, 440px); max-height: 90vh; overflow: auto; color: var(--c1); text-align: center; transform: translateY(16px); transition: transform .25s; }
.iv-modal.is-open .iv-modal__box { transform: none; }
.iv-modal__x { position: absolute; right: 10px; top: 10px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .05); cursor: pointer; }

/* Album --------------------------------------------------------------------- */
.iv-album { padding: 40px 16px 44px; }
.iv-album__grid { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 10px; gap: 10px; }
.iv-album__item { position: relative; padding: 0; border: 0; border-radius: 6px; overflow: hidden; cursor: zoom-in; background: none; box-shadow: 0 10px 24px rgba(0, 0, 0, .12); }
.iv-album__item .iv-photo { width: 100%; height: 100%; transition: transform .6s; }
.iv-album__item:hover .iv-photo { transform: scale(1.04); }
.iv-album__item--1 { grid-row: span 26; }
.iv-album__item--2 { grid-row: span 20; margin-top: 20px; }
.iv-album__item--3 { grid-row: span 20; }
.iv-album__item--4 { grid-row: span 26; margin-top: -20px; }
.iv-album__item--5 { grid-row: span 22; }
.iv-album__item--6 { grid-row: span 22; }
.iv-album__more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .45); color: #fff; font: 400 20px/1 'Cormorant Garamond', serif; }
.iv-album--dark { background: var(--album-bg, var(--c2)); padding: 44px 14px 60px; }
.iv-album__golden { margin: 0 0 12px; font: 400 26px/1.3 var(--f-body); color: #fff8ee; letter-spacing: .04em; }
.iv-album__golden em { font: 400 28px/1 var(--f-script); color: #ead0aa; font-style: normal; padding: 0 8px; }
.iv-album__text { font: 400 14px/1.6 var(--f-sans); color: rgba(255, 248, 238, .88); padding: 0 20px; margin-bottom: 26px !important; }
.iv-album--grid .iv-album__text, .iv-album--bar .iv-album__text { color: #8f7b67; }
.iv-album--frames { padding: 0 4px; }
.iv-album--frames .iv-album__grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 214px; gap: 4px; }
.iv-album--frames .iv-album__item { grid-row: auto; margin: 0; border-radius: 0; box-shadow: none; border: 1.5px solid var(--c1); padding: 2px; background: #fff; }
.iv-album--frames .iv-album__item--4 { grid-column: span 3; }
.iv-album--collage12 .iv-album__grid, .iv-album--tint .iv-album__grid { grid-auto-rows: 120px; }
.iv-album--collage12 .iv-album__item, .iv-album--tint .iv-album__item { grid-row: auto; margin: 0; }
.iv-album--collage12 .iv-album__item--1, .iv-album--tint .iv-album__item--1 { grid-row: span 2; }
.iv-album--collage12 .iv-album__item--4, .iv-album--tint .iv-album__item--4 { grid-row: span 2; }
.iv-album--collage12 .iv-album__item--5, .iv-album--tint .iv-album__item--5 { grid-column: span 2; grid-row: span 2; }
.iv-album--collage12 .iv-album__item--6, .iv-album--tint .iv-album__item--6 { display: none; }
.iv-album--collage12 .iv-title { font-size: 50px; }
.iv-album--tint { background: var(--tint); }
.iv-album--tint .iv-title { color: #fff; }
.iv-album--carousel { height: 480px; padding: 20px 0; background: #fff; }
.iv-album--carousel .iv-album__grid { display: block; position: relative; height: 420px; perspective: 1000px; }
.iv-album--carousel .iv-album__item { position: absolute; left: 50%; top: 10px; width: 62%; height: 400px; margin: 0 0 0 -31%; border-radius: 16px; transform: translateX(calc(var(--off, 0) * 58%)) scale(calc(1 - var(--abs, 0) * .16)) rotateY(calc(var(--off, 0) * -22deg)); transition: transform .7s cubic-bezier(.2, .7, .2, 1), opacity .5s; cursor: pointer; }
.iv-album--carousel .iv-album__item.is-active { cursor: zoom-in; box-shadow: 0 20px 40px rgba(0, 0, 0, .25); }
.iv-album__nav { position: absolute; z-index: 20; bottom: 44px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .8); box-shadow: 0 4px 12px rgba(0, 0, 0, .15); cursor: pointer; }
.iv-album__nav--prev { left: 20px; }
.iv-album__nav--next { right: 20px; }
.iv-album--bar { padding: 0 16px 34px; }
.iv-album--bar .iv-bar { margin: 0 -16px 22px; }

/* Lightbox */
.iv-lightbox { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; background: rgba(10, 8, 6, .92); opacity: 0; transition: opacity .25s; }
.iv-lightbox[hidden] { display: none; }
.iv-lightbox.is-open { opacity: 1; }
.iv-lightbox__stage { width: min(92vw, 520px); height: min(80vh, 720px); }
.iv-lightbox__photo { width: 100%; height: 100%; border-radius: 8px; animation: iv-fade .4s ease; }
.iv-lightbox__photo img { object-fit: contain; background: #000; }
@keyframes iv-fade { from { opacity: 0; transform: scale(.98); } }
.iv-lightbox__x, .iv-lightbox__nav { position: absolute; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.iv-lightbox__x { top: 16px; right: 16px; }
.iv-lightbox__nav--prev { left: 12px; }
.iv-lightbox__nav--next { right: 12px; }
.iv-lightbox__count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .8); font: 500 13px/1 var(--f-sans); }

/* Guestbook ------------------------------------------------------------------ */
.iv-gb { padding: 40px 16px 44px; color: var(--c1); }
.iv-gb__note { font: 400 14px/1.6 var(--f-body); padding: 0 20px; margin-bottom: 16px !important; }
.iv-gb__form { background: #fff; border-radius: 16px; padding: 18px 16px 12px; box-shadow: 0 16px 40px rgba(60, 40, 20, .08); }
.iv-gb__form .iv-input { border: 0; border-bottom: 1px solid color-mix(in srgb, var(--c1) 22%, transparent); border-radius: 0; background: transparent; padding-left: 8px; }
.iv-wishes { position: relative; max-height: 280px; overflow: hidden; margin-top: 22px; text-align: left; padding-right: 12px; }
.iv-wishes::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 3px; border-radius: 3px; background: var(--c1); opacity: .9; }
.iv-wish { padding: 0 0 14px 12px; }
.iv-wish b { display: block; font: 700 15px/1.3 var(--f-sans); color: var(--c1); }
.iv-wish p { font: italic 400 14px/1.5 var(--f-sans); color: var(--c1); opacity: .85; }
.iv-wish.is-new { animation: iv-fade .6s ease; }
.iv-gb__fl { width: 150px; height: 116px; top: -20px; left: -40px; transform: rotate(150deg); opacity: .9; }
.iv-gb__fl.iv-deco--lily { opacity: .3; width: 230px; height: 176px; }
.iv-gb--inline { padding-top: 0; }
.iv-gb--inline .iv-wishes::after { display: none; }
.iv-gb--inline .iv-wish { background: #fff; border-left: 4px solid var(--c1); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; box-shadow: 0 6px 16px rgba(0, 0, 0, .06); }
.iv-gb--bar { padding-top: 0; }
.iv-gb--bar .iv-bar { margin: 0 -16px 18px; }

/* Gift ------------------------------------------------------------------------ */
.iv-gift { padding: 40px 18px 50px; color: var(--c1); }
.iv-gift__note { font: 400 14px/1.6 var(--f-sans); padding: 0 16px; margin-bottom: 14px !important; }
.iv-gift__env { position: relative; display: block; width: 250px; height: 230px; margin: 10px auto 0; border: 0; background: none; cursor: pointer; }
.iv-gift__wreath { position: absolute; left: 50%; top: 50%; width: 190px; height: 58px; color: var(--c1); stroke: currentColor; stroke-width: 1.1; fill: var(--bg); opacity: .9; }
.iv-gift__wreath--1 { transform: translate(-50%, -50%) translateY(-76px) rotate(-10deg); }
.iv-gift__wreath--2 { transform: translate(-50%, -50%) translate(-64px, 44px) rotate(-120deg); }
.iv-gift__wreath--3 { transform: translate(-50%, -50%) translate(64px, 44px) rotate(115deg); }
.iv-gift__envelope { position: absolute; left: 50%; top: 50%; width: 150px; height: 104px; margin: -52px 0 0 -75px; background: linear-gradient(160deg, color-mix(in srgb, var(--c1) 80%, #fff), var(--c1)); box-shadow: 0 14px 28px rgba(0, 0, 0, .25); animation: iv-wiggle 2.6s ease-in-out infinite; }
.iv-gift__envelope::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom right, transparent 49%, rgba(0, 0, 0, .2) 50%, transparent 52%), linear-gradient(to bottom left, transparent 49%, rgba(0, 0, 0, .2) 50%, transparent 52%); clip-path: polygon(0 0, 100% 0, 50% 58%); }
.iv-gift__seal { position: absolute; left: 50%; top: 58%; width: 36px; height: 36px; margin: -18px 0 0 -18px; }
.iv-gift__box { position: relative; display: block; width: 150px; height: 150px; margin: 14px auto 0; border: 0; background: none; cursor: pointer; animation: iv-float 2.6s ease-in-out infinite; }
.iv-gift__base { position: absolute; left: 18px; right: 18px; bottom: 0; height: 90px; border-radius: 4px; background: linear-gradient(90deg, color-mix(in srgb, var(--c1) 86%, #000), var(--c1), color-mix(in srgb, var(--c1) 80%, #000)); }
.iv-gift__lid { position: absolute; left: 8px; right: 8px; top: 38px; height: 28px; border-radius: 4px; background: color-mix(in srgb, var(--c1) 88%, #fff); box-shadow: 0 6px 10px rgba(0, 0, 0, .18); z-index: 1; }
.iv-gift__ribbon { position: absolute; left: 50%; top: 38px; bottom: 0; width: 18px; margin-left: -9px; background: #f3e3c3; z-index: 2; }
.iv-gift__ribbon::before, .iv-gift__ribbon::after { content: ""; position: absolute; top: -26px; width: 34px; height: 26px; border: 5px solid #f3e3c3; border-radius: 50% 50% 0 50%; }
.iv-gift__ribbon::before { right: 8px; transform: rotate(-20deg); }
.iv-gift__ribbon::after { left: 8px; border-radius: 50% 50% 50% 0; transform: rotate(20deg); }
.iv-gift__tap { font: 500 12px/1 var(--f-sans); letter-spacing: .2em; text-transform: uppercase; margin-top: 16px !important; opacity: .7; }
.iv-qr { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.iv-qr__tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 10px 14px; background: #fff; border-radius: 14px; box-shadow: 0 10px 26px rgba(0, 0, 0, .08); color: #9b2a2a; color: var(--c1); }
.iv-qr__img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 8px; background: #f6f6f6; }
.iv-qr__img { display: block; overflow: hidden; background: #fff; }
.iv-qr__svg { display: block; width: 100%; height: 100%; }
.iv-qr__img--none { display: flex; align-items: center; justify-content: center; text-align: center; font: 400 11px/1.4 'Lexend', sans-serif; color: #888; background: #f6f6f6; }
.iv-qr__dl { background: none; cursor: pointer; }
.iv-qr__dl { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border: 1px solid currentColor; border-radius: 999px; font: 600 11px/1 'Lexend', sans-serif; color: inherit; text-decoration: none; }
.iv-qr__dl .iv-ico { width: 12px; height: 12px; }
.iv-qr__bank { font: 500 13px/1.2 'Lexend', sans-serif; }
.iv-qr__stk { display: inline-flex; align-items: center; gap: 4px; padding: 5px 8px; border: 1px dashed currentColor; border-radius: 6px; background: none; font: 600 11px/1 'Lexend', sans-serif; color: inherit; cursor: pointer; }
.iv-qr__stk .iv-ico { width: 12px; height: 12px; }
.iv-qr__name { font: 400 11px/1.3 'Lexend', sans-serif; opacity: .85; }
.iv-gift--bar { padding-top: 0; }
.iv-gift--bar .iv-bar { margin: 0 -18px 18px; }

/* Thanks -------------------------------------------------------------------- */
.iv-thanks { height: 500px; color: #fff; }
.iv-thanks__shade { position: absolute; inset: 0; background: linear-gradient(0deg, var(--thanks-shade, rgba(0, 0, 0, .7)) 0%, transparent 60%); }
.iv-thanks__content { position: absolute; left: 0; right: 0; bottom: 30px; padding: 0 34px; }
.iv-thanks__names { font: 400 30px/1.2 var(--f-script); }
.iv-thanks__big { font: 400 70px/1 var(--f-script); }
.iv-thanks__text { font: 400 13px/1.6 var(--f-body); margin-top: 8px !important; }
.iv-thanks__brand { font: 300 12px/1 'Lexend', sans-serif; opacity: .8; margin-top: 18px !important; letter-spacing: .04em; }
.iv-thanks--white { height: auto; padding: 30px 26px 60px; background: #fff; color: var(--c1); }
.iv-thanks--white .iv-thanks__img { position: relative; height: 300px; margin-bottom: 26px; }
.iv-thanks--white .iv-thanks__text { color: #6d6360; font-size: 15px; }
.iv-thanks--kim { height: auto; padding: 16px 24px 30px; color: rgba(68, 47, 43, .94); }
.iv-thanks--kim .iv-thanks__text { font: 400 15px/1.6 var(--f-sans); }

/* Kim Hỷ / Hoa Hồng Trắng top ------------------------------------------------- */
.iv-kimtop { padding-bottom: 20px; }
.iv-kimtop__bar { height: 80px; display: flex; align-items: center; justify-content: center; gap: 10px; overflow: hidden; background: var(--c1); color: rgba(233, 199, 128, .35); font: 400 26px/1 var(--f-serif); white-space: nowrap; }
.iv-kimtop__pair { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 12px; padding: 24px 26px 0; }
.iv-kimtop__p { display: flex; flex-direction: column; align-items: center; }
.iv-kimtop__img { width: 100%; height: 190px; border-radius: 100px 100px 10px 10px; border: 3px solid #d8c7a3; box-shadow: 0 10px 24px rgba(0, 0, 0, .12); }
.iv-kimtop__p small { font: 400 12px/1 var(--f-sans); color: #4f4f4f; margin-top: 12px; letter-spacing: .1em; text-transform: uppercase; }
.iv-kimtop__p b { font: 400 21px/1.4 var(--f-serif); color: var(--c1); }
.iv-kimtop__xi { font: 400 34px/1 var(--f-serif); color: var(--c1); padding-bottom: 60px; }
.iv-kimtop__fl { width: 150px; height: 116px; top: 50px; z-index: 1; }
.iv-kimtop__fl--l { left: -40px; transform: rotate(150deg) scaleX(-1); }
.iv-kimtop__fl--r { right: -40px; transform: rotate(210deg); }

/* Announce / formal (Hoa Hồng Trắng) */
.iv-announce, .iv-formal { padding: 20px 26px 34px; color: var(--c1); }
.iv-formal { padding-top: 0; }
.iv-formal .iv-bar { margin: 0 -26px 20px; }
.iv-announce__kicker { font: 600 14px/1.4 var(--f-body); letter-spacing: .26em; text-transform: uppercase; }
.iv-announce__sub { font: italic 400 17px/1.4 var(--f-serif); color: #4a4a4a; margin: 6px 0 18px !important; }
.iv-announce__name { display: flex; flex-direction: column; font: 500 28px/1.2 'Cormorant Garamond', var(--f-serif); }
.iv-announce__name small { font: 500 11px/1.8 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: #4a4a4a; }
.iv-announce__amp { font: 400 36px/1.2 var(--f-script); }
.iv-announce__at { font: 500 12px/1.4 var(--f-body); letter-spacing: .18em; text-transform: uppercase; margin-top: 20px !important; color: #4a4a4a; }
.iv-announce__time { font: 500 34px/1.3 var(--f-serif); }
.iv-announce__date { display: flex; align-items: center; justify-content: center; margin: 8px 0 10px; }
.iv-announce__date span { width: 100px; padding: 8px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 500 13px/1.3 var(--f-body); text-transform: uppercase; letter-spacing: .08em; }
.iv-announce__date b { font: 400 54px/1 var(--f-serif); padding: 0 16px; }
.iv-formal .iv-cal { padding: 20px 0; }

/* Arch card (Evergreen) */
.iv-arch { padding: 30px 26px 80px; background: linear-gradient(180deg, var(--bg), #faf4e8); }
.iv-arch__card { position: relative; z-index: 1; padding: 70px 22px 210px; border-radius: 220px 220px 0 0; background: #fffdf9; box-shadow: 0 0 0 1px rgba(169, 130, 69, .22), 0 20px 50px rgba(120, 90, 40, .08); color: var(--c2); }
.iv-arch__kicker { font: 500 11px/1 'Lora', serif; letter-spacing: .32em; text-transform: uppercase; color: var(--c1); }
.iv-arch__the { font: 400 16px/1 var(--f-script); color: var(--c1); margin-top: 10px !important; }
.iv-arch__wedding { font: 600 13px/1 'Lora', serif; letter-spacing: .5em; text-transform: uppercase; color: var(--c1); margin-top: 8px !important; }
.iv-arch__names { position: relative; height: 140px; margin: 20px 0 10px !important; font: 400 42px/1 var(--f-script); color: var(--c1); }
.iv-arch__names span:first-child { position: absolute; left: 14%; top: 8px; }
.iv-arch__names span:last-child { position: absolute; right: 12%; bottom: 8px; }
.iv-arch__names::before { content: "&"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font: 400 120px/1 var(--f-script); color: rgba(169, 130, 69, .14); }
.iv-arch__happening { font: 600 12px/1 var(--f-sans); letter-spacing: .12em; text-transform: uppercase; color: #4d4638; margin-bottom: 8px !important; }
.iv-arch .iv-countdown__unit b { font: 700 20px/1.2 var(--f-sans); color: #725906; }
.iv-arch .iv-countdown__unit small { font: 600 12px/1.2 var(--f-sans); letter-spacing: 0; text-transform: none; color: #4d4638; }
.iv-arch .iv-countdown__sep { font: 500 20px/1 var(--f-sans); color: #725906; padding-top: 2px; }
.iv-arch .iv-countdown__unit { min-width: 44px; }
.iv-arch .iv-countdown__unit:last-child, .iv-arch .iv-countdown__sep:nth-last-child(2) { display: none; }
.iv-arch__fl { width: 170px; height: 130px; z-index: 2; }
.iv-arch__fl--l { left: -40px; top: 320px; transform: rotate(-20deg); }
.iv-arch__fl--r { right: -40px; top: 310px; transform: scaleX(-1) rotate(-20deg); }
.iv-arch__fl--b { left: 50%; bottom: -40px; width: 360px; height: 270px; margin-left: -180px; }

/* Dock (Nhà Có Hỷ) */
.iv-dock { position: fixed; z-index: 40; left: 50%; bottom: 14px; width: min(92%, 440px); transform: translateX(-50%); display: flex; flex-direction: row; align-items: center; gap: 8px; }
.iv-dock__input { flex: 1; height: 38px; padding: 0 44px 0 16px; border: 1px solid #eee; border-radius: 999px; background: rgba(255, 255, 255, .94); font: 400 13px/1 'Lexend', sans-serif; color: #5d6778; box-shadow: 0 6px 18px rgba(0, 0, 0, .1); outline: none; }
.iv-dock__send { position: absolute; left: calc(100% - 96px); width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: var(--c2); color: #fff; cursor: pointer; }
.iv-dock__send .iv-ico { width: 14px; height: 14px; }
.iv-dock__btn { position: relative; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: 1px solid #eee; border-radius: 50%; background: #fff; color: var(--c2); cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .1); }
.iv-dock__tip { position: absolute; bottom: calc(100% + 8px); right: -4px; white-space: nowrap; padding: 6px 10px; border-radius: 8px; background: #3b1d1a; color: #fff; font: 600 10px/1 'Lexend', sans-serif; animation: iv-tip 6s ease forwards; pointer-events: none; }
@keyframes iv-tip { 0%, 80% { opacity: 1; } 100% { opacity: 0; } }
.iv-dock__msg { position: absolute; bottom: calc(100% + 6px); left: 0; right: 50px; font-size: 11px; }
.iv-dock__msg:empty { display: none; }

/* Fixed UI -------------------------------------------------------------------------- */
.iv-particles { position: fixed; z-index: 30; top: 0; left: 50%; width: 100%; max-width: 500px; height: 100%; transform: translateX(-50%); pointer-events: none; }
.iv-particles.is-demo { z-index: 2147483002; }
.iv-music { position: fixed; z-index: 45; right: max(16px, calc(50% - 234px)); bottom: 20px; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: var(--c1); color: #fff; cursor: pointer; box-shadow: 0 0 0 4px color-mix(in srgb, var(--c1) 22%, transparent), 0 8px 18px rgba(0, 0, 0, .2); }
.iv-music__bars { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.iv-music__bars i { width: 2.5px; height: 30%; background: currentColor; border-radius: 2px; }
.iv-music.is-playing .iv-music__bars i { animation: iv-bars .9s ease-in-out infinite; }
.iv-music.is-playing .iv-music__bars i:nth-child(2) { animation-delay: -.3s; }
.iv-music.is-playing .iv-music__bars i:nth-child(3) { animation-delay: -.6s; }
.iv-music.is-playing .iv-music__bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes iv-bars { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.iv-locked .iv-music { opacity: 0; pointer-events: none; }
.iv-demobar { position: fixed; z-index: 70; left: 50%; bottom: 20px; width: 100%; max-width: 500px; padding: 0 70px 0 16px; transform: translateX(-50%); display: flex; gap: 8px; pointer-events: none; }
.iv-demobar a { pointer-events: auto; display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 14px; border-radius: 999px; font: 500 12.5px/1 'Lexend', system-ui, sans-serif; text-decoration: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .15); }
.iv-demobar__back { background: rgba(255, 255, 255, .92); color: #222; backdrop-filter: blur(8px); }
.iv-demobar__back .iv-ico { width: 14px; height: 14px; }
.iv-demobar__use { background: #4550e6; color: #fff; }
.iv-toast { position: fixed; z-index: 95; left: 50%; bottom: 80px; transform: translate(-50%, 20px); padding: 10px 16px; border-radius: 999px; background: rgba(20, 20, 20, .88); color: #fff; font: 500 13px/1 var(--f-sans); opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; }
.iv-toast.is-show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .2s !important; }
}
