/* ═════════════════════════════════════════════
   ROMANTIC EDITORIAL — wedding one-page
   palette: ivory / blush / rose / gold / ink
   ═════════════════════════════════════════════ */
:root {
  --ivory: #fffdf8;
  --cream: #fbf5ec;
  --blush: #f8e3de;
  --blush-2: #f3d3cc;
  --rose: #d98e8e;
  --rose-deep: #b96a6e;
  --gold: #c2a15b;
  --gold-soft: #e3d3ae;
  --ink: #443a35;
  --ink-soft: #857468;
  --white: #ffffff;
  --shadow-s: 0 6px 24px rgba(68, 58, 53, .08);
  --shadow-m: 0 14px 44px rgba(68, 58, 53, .13);
  --script: "Great Vibes", cursive;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Be Vietnam Pro", "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.75;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; }

::selection { background: var(--blush-2); }
[hidden] { display: none !important; }

/* ── thanh tiến trình đọc ── */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 300; pointer-events: none; }
.progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--rose), var(--gold)); transition: width .1s linear; }

/* ═══════════ INTRO — CONSTELLATION OF LOVE ═══════════ */
.intro {
  position: fixed; inset: 0; z-index: 250; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(48% 42% at 16% 18%, rgba(248, 168, 190, .4), transparent 70%),
    radial-gradient(40% 36% at 86% 14%, rgba(250, 214, 130, .42), transparent 70%),
    radial-gradient(46% 42% at 80% 88%, rgba(190, 160, 250, .3), transparent 70%),
    radial-gradient(42% 38% at 14% 86%, rgba(140, 220, 240, .3), transparent 70%),
    linear-gradient(160deg, #fff8ef, #fdeadf 55%, #fbe3d4);
  transition: opacity .95s var(--ease), transform .95s var(--ease);
}
#introFx { position: absolute; inset: 0; }
.intro-frame { position: absolute; inset: 16px; border: 1px solid rgba(194, 161, 91, .4); pointer-events: none; }
.intro-frame::before, .intro-frame::after {
  content: ""; position: absolute; width: 28px; height: 28px;
  border: 1.5px solid rgba(185, 130, 80, .75);
}
.intro-frame::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.intro-frame::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
/* ── HỒI 1: PHONG BÌ THƯ 3D ── */
.intro { perspective: 1500px; }
.env-stage {
  position: absolute; inset: 0; z-index: 4;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.7rem;
  animation: envFloat 5s ease-in-out infinite;
}
@keyframes envFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.envelope {
  position: relative; width: min(520px, 92vw); aspect-ratio: 10 / 6.4;
  transform-style: preserve-3d; cursor: pointer;
  filter: drop-shadow(0 32px 54px rgba(190, 100, 110, .4));
  transition: transform .25s ease;
}
.envelope::after { /* độ dày phong bì */
  content: ""; position: absolute; left: 5px; right: 5px; bottom: -7px; height: 12px;
  border-radius: 0 0 12px 12px; background: linear-gradient(180deg, #d98a97, #c4707f);
  z-index: 0;
}
.env-back { position: absolute; inset: 0; border-radius: 12px; background: linear-gradient(160deg, #fbdde2, #f4c3cc); }
.env-letter {
  position: absolute; left: 6%; right: 6%; top: 6%; bottom: 12%;
  background: #fffcf6; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 -4px 16px rgba(150, 70, 85, .2);
  transition: transform .7s var(--ease) .5s;
}
.letter-mini { text-align: center; }
.letter-mini b {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: 1.05rem; letter-spacing: 2px; color: var(--rose-deep); line-height: 1.3;
}
.letter-mini i { display: block; font-style: normal; color: var(--rose); margin-top: .15rem; }
.env-front {
  position: absolute; inset: 0; border-radius: 12px; z-index: 2;
  background:
    linear-gradient(115deg, transparent 49.6%, rgba(190, 90, 105, .18) 50%, transparent 50.5%),
    linear-gradient(245deg, transparent 49.6%, rgba(190, 90, 105, .18) 50%, transparent 50.5%),
    linear-gradient(200deg, #fde9ec, #f7ccd4);
  clip-path: polygon(0 22%, 50% 60%, 100% 22%, 100% 100%, 0 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .65);
}
/* tem thư chibi + dấu bưu điện + dòng gửi */
.env-stamp {
  position: absolute; right: 18px; bottom: 16px; z-index: 3;
  width: 66px; padding: 4px 4px 7px; background: #fff;
  outline: 2px dashed rgba(194, 130, 140, .55); outline-offset: -5px;
  transform: rotate(4deg); box-shadow: 0 3px 10px rgba(150, 70, 85, .28);
}
.env-stamp img { width: 100%; aspect-ratio: 3 / 3.6; object-fit: cover; object-position: center 8%; display: block; background: #fdf3ee; }
.env-postmark {
  position: absolute; right: 78px; bottom: 30px; z-index: 4;
  width: 76px; height: 76px; border: 2px solid rgba(170, 85, 95, .5); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font: 600 .52rem/1.5 var(--sans); letter-spacing: 1.5px; color: rgba(170, 85, 95, .75);
  transform: rotate(-13deg); padding: 8px;
}
.env-addr { position: absolute; left: 26px; bottom: 26px; z-index: 3; text-align: left; }
.env-addr span { display: block; font-size: .68rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(170, 85, 95, .8); }
.env-addr b {
  font-family: var(--script); font-weight: 400; font-size: 1.35rem; color: var(--rose-deep);
  border-bottom: 1.5px dashed rgba(194, 130, 140, .5); padding-bottom: 2px;
}
.env-flap {
  position: absolute; left: 0; right: 0; top: 0; height: 60%; z-index: 5;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background:
    radial-gradient(rgba(255, 255, 255, .4) 1.5px, transparent 2.2px) 0 0 / 16px 16px,
    linear-gradient(180deg, #f6c3cd, #eba4b3);
  box-shadow: inset 0 -4px 10px rgba(150, 60, 80, .22);
  transform-origin: top center;
  transition: transform .85s var(--ease) .16s;
  backface-visibility: visible;
}
/* confetti bung từ miệng phong bì */
.env-confetti {
  position: absolute; left: 50%; top: 54%; z-index: 6;
  width: 9px; height: 9px; border-radius: 2px; pointer-events: none; opacity: 0;
  animation: confettiPop 1s ease-out forwards;
}
@keyframes confettiPop {
  0% { transform: translate(-50%, 0) rotate(0); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translate(calc(-50% + var(--cx, 0px)), var(--cy, -140px)) rotate(var(--cr, 360deg)); opacity: 0; }
}
/* tim pastel trôi trong nền intro */
.intro-drift { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.intro-drift i {
  position: absolute; bottom: -8vh; font-style: normal; filter: blur(1.5px); opacity: 0;
  animation: driftUp var(--dd, 15s) linear var(--dl, 0s) infinite;
}
.intro-drift i:nth-child(1) { left: 8%; font-size: 3.4rem; color: rgba(248, 150, 175, .3); --dd: 17s; }
.intro-drift i:nth-child(2) { left: 24%; font-size: 2.2rem; color: rgba(250, 200, 120, .32); --dd: 13s; --dl: 3s; }
.intro-drift i:nth-child(3) { left: 46%; font-size: 4.2rem; color: rgba(200, 165, 250, .26); --dd: 20s; --dl: 6s; }
.intro-drift i:nth-child(4) { left: 64%; font-size: 2.6rem; color: rgba(248, 150, 175, .3); --dd: 14s; --dl: 1.5s; }
.intro-drift i:nth-child(5) { left: 80%; font-size: 3.2rem; color: rgba(150, 215, 240, .3); --dd: 18s; --dl: 8s; }
.intro-drift i:nth-child(6) { left: 92%; font-size: 2rem; color: rgba(250, 200, 120, .32); --dd: 12s; --dl: 5s; }
@keyframes driftUp {
  0% { transform: translateY(0) rotate(-8deg); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translateY(-118vh) rotate(14deg); opacity: 0; }
}
.env-seal {
  position: absolute; left: 50%; top: 54%; transform: translate(-50%, -50%); z-index: 4;
  width: 66px; height: 66px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, #dd9d97, #9d5a5e);
  color: #fff5ec; font-family: var(--serif); font-size: .88rem; letter-spacing: 1px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .4), inset 0 2px 5px rgba(255, 255, 255, .35), 0 0 0 5px rgba(157, 90, 94, .35);
  animation: sealGlow 2.4s ease-in-out infinite; pointer-events: none;
}
@keyframes sealGlow {
  0%, 100% { box-shadow: 0 6px 18px rgba(0, 0, 0, .4), inset 0 2px 5px rgba(255, 255, 255, .35), 0 0 0 5px rgba(157, 90, 94, .35), 0 0 18px rgba(217, 142, 142, .3); }
  50% { box-shadow: 0 6px 18px rgba(0, 0, 0, .4), inset 0 2px 5px rgba(255, 255, 255, .35), 0 0 0 5px rgba(157, 90, 94, .35), 0 0 40px rgba(217, 142, 142, .65); }
}
.env-hint { color: var(--rose-deep); letter-spacing: 3px; font-size: .74rem; text-transform: uppercase; font-weight: 500; animation: hintPulse 2.2s ease-in-out infinite; }
@keyframes hintPulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
/* mở phong bì */
.intro.env-opening .env-flap { transform: rotateX(-178deg); z-index: 1; }
.intro.env-opening .env-seal { animation: sealPop .5s ease forwards; }
@keyframes sealPop {
  40% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
}
.intro.env-opening .env-letter { transform: translateY(-48px) rotate(-1.5deg); }
.intro.env-opened .env-stage { animation: envAway 1s var(--ease) .1s forwards; pointer-events: none; }
@keyframes envAway { to { transform: translateY(48vh) rotateX(40deg) scale(.7); opacity: 0; } }
/* vé chờ trong phong bì — mọi animation tạm dừng tới khi mở */
.intro:not(.env-opened) .intro-card.tk { pointer-events: none; }
.intro:not(.env-opened) .intro-card.tk,
.intro:not(.env-opened) .intro-card.tk * { animation-play-state: paused !important; }

/* ── VÉ MỜI CƯỚI — FULL PAGE ── */
.intro-card.tk {
  position: relative; z-index: 2; display: flex;
  width: calc(100vw - 32px); height: calc(100svh - 32px);
  border-radius: 26px; overflow: hidden;
  background:
    radial-gradient(40% 34% at 10% 12%, rgba(244, 180, 196, .3), transparent 70%),
    radial-gradient(36% 30% at 92% 8%, rgba(240, 206, 138, .28), transparent 70%),
    radial-gradient(44% 40% at 86% 94%, rgba(196, 170, 248, .22), transparent 70%),
    radial-gradient(rgba(194, 161, 91, .09) 1px, transparent 1.4px),
    #fffcf6;
  background-size: auto, auto, auto, 24px 24px, auto;
  box-shadow: 0 36px 100px rgba(165, 100, 80, .4), 0 0 0 1px rgba(194, 161, 91, .25);
  opacity: 0;
  animation: tkZoom 1.3s cubic-bezier(.2, .75, .25, 1) forwards;
  transition: opacity .45s ease, transform .45s ease;
}
/* vé bay ra từ miệng phong bì rồi zoom tràn màn hình */
@keyframes tkZoom {
  from { opacity: 0; transform: translateY(33vh) scale(.13) rotateX(28deg); }
  45% { opacity: 1; }
  to { opacity: 1; transform: translateY(0) scale(1) rotateX(0); }
}
.intro-card.tk::before {
  content: ""; position: absolute; inset: 11px; border: 1.5px solid rgba(194, 161, 91, .55);
  border-radius: 18px; pointer-events: none; z-index: 5;
}
.intro-card.tk::after { /* khung kép nét đứt */
  content: ""; position: absolute; inset: 17px; border: 1px dashed rgba(217, 142, 142, .4);
  border-radius: 13px; pointer-events: none; z-index: 5;
}
.tk-center::before { /* quầng watercolor sau tên */
  content: ""; position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  width: min(420px, 80%); height: 240px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(248, 170, 190, .3), rgba(250, 214, 150, .18) 55%, transparent 75%);
  filter: blur(16px); z-index: -1; pointer-events: none;
}
.intro-names { text-shadow: 0 3px 18px rgba(217, 142, 142, .3); }
.tk-vip {
  position: absolute; top: 13px; right: 13px; z-index: 2;
  background: linear-gradient(120deg, var(--rose-deep), var(--rose)); color: #fff8f2;
  font-size: .58rem; font-weight: 600; letter-spacing: 2.5px;
  padding: .32rem .7rem; border-radius: 5px; transform: rotate(5deg);
  box-shadow: 0 3px 10px rgba(185, 106, 110, .4);
}
.tk-sheen {
  position: absolute; top: -20%; bottom: -20%; width: 34%; left: -40%; z-index: 6;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-14deg); pointer-events: none;
  animation: sheenSweep 6.5s ease-in-out 2s infinite;
}
@keyframes sheenSweep { 0%, 55%, 100% { left: -40%; } 25% { left: 110%; } }
.tk-main { flex: 1.85; position: relative; display: flex; flex-direction: column; padding: 2.1rem 2.6rem; min-width: 0; }
/* hoa văn line-art tự vẽ ở hai góc — tình yêu nảy nở */
.tk-flor { position: absolute; width: 152px; color: #c2a15b; opacity: .9; pointer-events: none; z-index: 1; }
.tf-tl { top: 16px; left: 16px; animation: floralSway 6.5s ease-in-out 3s infinite; transform-origin: bottom left; }
.tf-br { bottom: 16px; right: 16px; rotate: 180deg; animation: floralSway 7.5s ease-in-out 3.4s infinite; transform-origin: bottom left; }
.tk-flor .fp { stroke-dasharray: 460; stroke-dashoffset: 460; animation: drawPath 2s ease forwards; }
.tk-flor .fp:nth-child(1) { animation-delay: .5s; }
.tk-flor .fp:nth-child(2) { animation-delay: 1s; }
.tk-flor .fp:nth-child(3) { animation-delay: 1.3s; }
.tk-flor .fp:nth-child(4) { animation-delay: 1.6s; }
.tk-flor .fp:nth-child(5) { animation-delay: 1.9s; }
.tk-flor .fp:nth-child(6) { animation-delay: 2.3s; }
.tk-flor .fp:nth-child(7) { animation-delay: 2.5s; }
@keyframes floralSway { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(1.8deg); } }
/* tim nhỏ bay lên trong lòng vé */
.tk-hearts { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.tk-hearts i { position: absolute; bottom: 6%; font-style: normal; color: rgba(217, 142, 142, .65); opacity: 0; animation: tkRise 7.5s ease-in infinite; }
.tk-hearts i:nth-child(1) { left: 12%; font-size: .8rem; animation-delay: 0s; }
.tk-hearts i:nth-child(2) { left: 26%; font-size: 1.05rem; animation-delay: 2.6s; }
.tk-hearts i:nth-child(3) { left: 46%; font-size: .7rem; animation-delay: 4.8s; }
.tk-hearts i:nth-child(4) { left: 62%; font-size: .95rem; animation-delay: 1.4s; }
.tk-hearts i:nth-child(5) { left: 78%; font-size: .75rem; animation-delay: 3.7s; }
.tk-hearts i:nth-child(6) { left: 90%; font-size: 1.1rem; animation-delay: 5.9s; }
@keyframes tkRise {
  0% { transform: translateY(0) scale(.5) rotate(0); opacity: 0; }
  12% { opacity: .8; }
  100% { transform: translateY(-52vh) scale(1.3) rotate(18deg); opacity: 0; }
}
/* ảnh vòm + flourish dưới tên */
.tk-arch {
  width: 136px; border-radius: 999px 999px 14px 14px; overflow: hidden;
  outline: 1.5px solid rgba(194, 161, 91, .6); outline-offset: 5px;
  box-shadow: var(--shadow-m); margin-bottom: .5rem;
}
.tk-arch img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 22%; display: block; }
.tk-flourish { width: min(230px, 56vw); color: var(--gold); margin: 0 auto .2rem; display: block; }
.tk-flourish path:first-child { stroke-dasharray: 740; stroke-dashoffset: 740; animation: drawPath 2s ease 1.1s forwards; }
.tk-flourish .fl-heart { opacity: 0; animation: fadeUp .6s var(--ease) 2.7s forwards; }
.tk-center { position: relative; z-index: 2; }
@media (max-height: 780px) { .tk-arch { width: 104px; } }
@media (max-height: 660px) { .tk-arch, .tk-flourish { display: none; } }
.tk-head { display: flex; align-items: center; gap: 1rem; }
.tk-mono {
  width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid var(--gold); background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: .92rem; letter-spacing: 1px; color: var(--rose-deep);
  box-shadow: var(--shadow-s);
}
.tk-title { text-transform: uppercase; letter-spacing: 6px; font-size: .72rem; color: var(--ink-soft); }
.tk-no { margin-left: auto; font-family: var(--serif); font-weight: 600; font-size: .82rem; letter-spacing: 2px; color: var(--gold); }
.tk-center {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: .5rem; min-height: 0;
}
.tk-admit {
  position: absolute; left: 26px; top: 50%; transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl; letter-spacing: 8px; font-size: .66rem; font-weight: 600;
  color: rgba(194, 161, 91, .5); text-transform: uppercase; pointer-events: none;
}
.tk-greet { position: absolute; right: 2.3rem; bottom: 1.5rem; width: 150px; }
.tk-perf { position: relative; width: 0; border-left: 2px dashed #e2d3bd; margin: 16px 0; }
.tk-perf::before, .tk-perf::after {
  content: ""; position: absolute; left: -14px; width: 26px; height: 26px; border-radius: 50%;
  background: #fbe4d3; box-shadow: inset 0 2px 5px rgba(160, 100, 75, .35);
}
.tk-perf::before { top: -28px; }
.tk-perf::after { bottom: -28px; }
.tk-stub {
  flex: 1; max-width: 360px; min-width: 285px; position: relative;
  display: flex; flex-direction: column; justify-content: center; gap: .8rem;
  padding: 2rem 1.9rem; text-align: center;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .45) 0 11px, transparent 11px 22px),
    linear-gradient(180deg, #fdf1e4, #f8e2d2);
}
.tk-stub .stub-cell { text-align: center; }
.tk-photo { border-radius: 14px; overflow: hidden; border: 4px solid #fff; box-shadow: var(--shadow-s); transform: rotate(-1.2deg); }
.tk-photo img { width: 100%; height: 148px; object-fit: cover; object-position: center 26%; display: block; }
.intro-kicker { font-size: .78rem; letter-spacing: 1px; color: var(--ink-soft); }
.intro-names {
  font-family: var(--script); font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: 1.15; margin: .2rem 0 .3rem;
  background: linear-gradient(100deg, var(--rose-deep) 25%, #e0a35e 50%, var(--rose-deep) 75%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 4.5s linear infinite;
}
.intro-guest { margin: 0 0 .55rem; font-size: .92rem; color: var(--ink-soft); }
.intro-guest b { color: var(--rose-deep); font-weight: 600; }
.ticket-info {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .7rem;
  width: min(560px, 100%); margin-top: .8rem;
}
.ticket-info > div {
  background: #fff; border: 1px solid rgba(194, 161, 91, .35);
  border-radius: 14px; padding: .7rem .3rem .6rem;
  box-shadow: var(--shadow-s);
}
.ticket-info > div::before { display: block; font-size: 1.05rem; margin-bottom: .1rem; }
.ticket-info > div:nth-child(1)::before { content: "📅"; }
.ticket-info > div:nth-child(2)::before { content: "🕐"; }
.ticket-info > div:nth-child(3)::before { content: "📍"; }
.ticket-info small { display: block; font-size: .58rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.ticket-info span { font-family: var(--serif); font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.stub-cell { text-align: left; }
.stub-cell small { display: block; font-size: .56rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.stub-cell b { font-size: .78rem; color: var(--ink); font-weight: 600; line-height: 1.3; }
.barcode { text-align: center; }
.barcode-lines {
  display: block; height: 30px; border-radius: 2px;
  background: repeating-linear-gradient(90deg,
    var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 9px,
    var(--ink) 9px 12px, transparent 12px 14px);
}
.barcode-label { font: 500 .6rem/1.6 ui-monospace, Consolas, monospace; letter-spacing: 3px; color: var(--ink-soft); }
.tk-hy { /* dấu mộc song hỷ */
  position: absolute; right: 2.6rem; top: 6.2rem; z-index: 3;
  font-family: "SimSun", "Noto Serif CJK SC", serif;
  font-size: 2.3rem; line-height: 1; color: #c23b3b;
  border: 3px solid #c23b3b; border-radius: 10px; padding: .4rem .45rem;
  transform: rotate(9deg); opacity: .78; mix-blend-mode: multiply;
  box-shadow: inset 0 0 8px rgba(194, 59, 59, .25);
}
.btn-open {
  width: auto; align-self: center; margin-top: 1.4rem;
  border: none; cursor: pointer;
  padding: .85rem 2.8rem; border-radius: 40px;
  background: linear-gradient(120deg, var(--rose-deep), var(--rose));
  color: #fffaf3; font-family: var(--sans); font-size: .82rem; letter-spacing: 2.5px; text-transform: uppercase;
  box-shadow: 0 10px 26px rgba(185, 106, 110, .45);
  animation: btnPulse 2s ease-in-out infinite;
  transition: transform .2s var(--ease);
}
.btn-open:hover { transform: translateY(-2px); }
.btn-open:active { transform: scale(.96); }
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 10px 26px rgba(185, 106, 110, .45); }
  50% { box-shadow: 0 10px 40px rgba(185, 106, 110, .75); }
}
.intro-boot {
  margin-top: .7rem; min-height: 1.4em;
  font: 400 .66rem/1.5 ui-monospace, "Cascadia Code", Consolas, monospace;
  color: #a8988a; letter-spacing: .4px;
}
.intro-boot .ok { color: var(--gold); }
.cursor { color: var(--gold); animation: blink 1s steps(1) infinite; font-size: .66rem; }
@keyframes blink { 50% { opacity: 0; } }
/* đôi nhân vật ảo chào khách bên ngoài thiệp */
.intro-greeters {
  position: absolute; left: 50%; top: calc(50% + 250px); transform: translateX(-50%);
  width: 156px; text-align: center; z-index: 3;
}
.intro-greeters .couple-svg, .intro-greeters img.greeter-img { width: 100%; display: block; }
.intro-greeters img.greeter-img {
  width: 74px; height: 74px; border-radius: 50%; object-fit: cover;
  border: 2.5px solid #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .4);
  display: inline-block; margin: 0 4px;
}
.greeter-bubble {
  position: absolute; left: 50%; top: -36px; transform: translateX(-50%);
  background: #fff; border: 1.5px solid var(--ink); border-radius: 14px;
  padding: .35rem .8rem; font-size: .76rem; font-weight: 500; color: var(--ink);
  white-space: nowrap; box-shadow: 2px 2px 0 rgba(0, 0, 0, .25);
  transition: opacity .35s ease, transform .35s var(--ease);
  transform-origin: bottom center;
}
.greeter-bubble.fade { opacity: 0; transform: translateX(-50%) scale(.6); }
.greeter-bubble::after {
  content: ""; position: absolute; left: 50%; bottom: -6px; width: 8px; height: 8px;
  background: #fff; transform: translateX(-50%) rotate(45deg);
  border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
}
/* greeters đứng trong slot trên vé */
#greeterSlot .intro-greeters { position: static; transform: none; width: 100%; }
@media (max-height: 560px) { .tk-greet { display: none; } }
/* vé full-page trên mobile: xếp dọc, cuộn được */
@media (max-width: 860px) {
  .intro { overflow-y: auto; align-items: flex-start; }
  .intro-card.tk {
    flex-direction: column; height: auto; min-height: calc(100svh - 24px);
    width: calc(100vw - 24px); margin: 12px 0;
  }
  .tk-main { padding: 1.5rem 1.2rem 1.2rem; }
  .tk-center { padding: 1rem 0; }
  .tk-admit { display: none; }
  .tk-greet { position: static; width: 132px; margin: .8rem auto 0; }
  .tk-perf { width: auto; height: 0; border-left: none; border-top: 2px dashed #e2d3bd; margin: 0 18px; }
  .tk-perf::before { top: -13px; left: -30px; }
  .tk-perf::after { top: -13px; bottom: auto; left: auto; right: -30px; }
  .tk-stub { max-width: none; padding: 1.4rem 1.2rem 1.6rem; }
  .tk-photo img { height: 120px; }
  .ticket-info span { font-size: .9rem; }
  .env-stamp { width: 50px; right: 10px; bottom: 10px; }
  .env-postmark { width: 56px; height: 56px; right: 58px; bottom: 20px; font-size: .42rem; }
  .env-addr { left: 14px; bottom: 16px; max-width: 46%; }
  .env-addr b { font-size: .98rem; }
  /* vé mobile: nội dung thở đều */
  .ticket-info { gap: .5rem; }
  .ticket-info > div { padding: .55rem .25rem .5rem; border-radius: 11px; }
  .tk-stub { gap: .65rem; }
  .tk-vip { top: 10px; right: 10px; font-size: .52rem; }
  #flipbook .page .page-content { padding: 16px 16px 48px; }
  #flipbook .page-cap { bottom: 16px; font-size: 1.05rem; }
  .couple-card .bio { font-size: .95rem; max-width: 320px; }
  .walk-label { font-size: 1.15rem; }
  .countdown-quote { font-size: .95rem; }
  .love-jar { width: 138px; height: 172px; }
  .rsvp-wrap { padding: 1.8rem 1.4rem; gap: 2rem; }
  .footer { padding: 3.4rem 1.25rem 2.8rem; }
}

.intro.opening .intro-card { opacity: 0; transform: scale(.93); pointer-events: none; animation: none; }
.intro.opening .intro-greeters { opacity: 0; transition: opacity .4s ease; }
.intro.open { opacity: 0; transform: translateY(-14px); pointer-events: none; }

/* hero chỉ diễn hoạt cảnh sau khi mở thiệp */
body.locked .hero, body.locked .hero * { animation-play-state: paused !important; }

/* ═══════════ HERO "DEPTH POSTER" (bật khi có hero.cutout) ═══════════ */
.hero-bg, .hero-giant, .hero-cutout-wrap, .hero-pill, .hero-bar { display: none; }
.hero-depth .hero-slides, .hero-depth .hero-veil, .hero-depth .hero-content { display: none; }
.hero-depth .scroll-hint {
  display: block; bottom: 7.2rem; z-index: 4;
  border-color: rgba(255, 250, 240, .95);
  filter: drop-shadow(0 2px 8px rgba(30, 16, 10, .4));
}
.hero-depth .scroll-hint span { background: #fff; }
.hero-depth .hero-aurora { opacity: .85; z-index: 1; }
.hero-depth .hero-bg {
  display: block; position: absolute; inset: 0; z-index: 0; opacity: 0;
  background:
    radial-gradient(52% 44% at 18% 20%, rgba(244, 180, 196, .55), transparent 70%),
    radial-gradient(44% 40% at 84% 16%, rgba(240, 206, 138, .48), transparent 70%),
    radial-gradient(50% 46% at 72% 88%, rgba(196, 170, 248, .36), transparent 70%),
    radial-gradient(46% 42% at 22% 86%, rgba(150, 214, 232, .32), transparent 70%),
    linear-gradient(165deg, #fffaf2, #fdeee6 55%, #f9e7dd);
  animation: heroFadeIn 1.1s ease forwards;
}
@keyframes heroFadeIn { to { opacity: 1; } }
/* tên cô dâu chú rể bố cục 2 BÊN — nhẹ nhàng, không che ảnh */
.hero-depth .hero-giant {
  display: block; position: absolute; inset: 0; z-index: 2; pointer-events: none;
}
.hg-name {
  position: absolute;
  font-family: var(--script); line-height: 1.1;
  font-size: clamp(2.1rem, 4.6vw, 4.2rem);
  color: #fffaf0; text-shadow: 0 2px 16px rgba(30, 16, 10, .5), 0 0 40px rgba(255, 230, 190, .3);
  opacity: 0;
}
.hg-l { left: 5.5%; top: 31%; animation: nameInL 1.1s var(--ease) .5s forwards, floatY 6.5s ease-in-out 2.6s infinite; }
.hg-r { right: 5.5%; top: 41%; animation: nameInR 1.1s var(--ease) .85s forwards, floatY 7.5s ease-in-out 3.1s infinite; }
@keyframes nameInL { from { opacity: 0; transform: translateX(-44px); } to { opacity: 1; transform: none; } }
@keyframes nameInR { from { opacity: 0; transform: translateX(44px); } to { opacity: 1; transform: none; } }
.hg-amp2 {
  position: absolute; left: 50%; top: 27%; transform: translateX(-50%);
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.7rem); color: #f4dfb4;
  text-shadow: 0 2px 10px rgba(30, 16, 10, .5);
  opacity: 0; animation: fadeUp 1s var(--ease) 1.3s forwards;
}
/* ảnh nền thật: desktop dùng ảnh NGANG, mobile dùng ảnh DỌC */
.hero-photo { display: none; }
.hero-depth .hero-photo {
  display: block; position: absolute; inset: 0; z-index: 0;
  opacity: 0; animation: heroFadeIn 1.3s ease .1s forwards;
}
.hp-set { position: absolute; inset: 0; }
.hp-slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 38%; filter: saturate(1.06);
  opacity: 0; transition: opacity 1.8s ease;
}
.hp-slide.on { opacity: 1; animation: bgZoom 9s ease-out forwards; }
@keyframes bgZoom { from { transform: scale(1.07); } to { transform: scale(1.005); } }
.hero-photo::after { /* overlay TRONG SUỐT kiểu điện ảnh: chỉ tối nhẹ mép trên/dưới */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(24, 14, 10, .34) 0%,
    rgba(24, 14, 10, .06) 26%,
    transparent 48%,
    rgba(24, 14, 10, .12) 74%,
    rgba(24, 14, 10, .48) 100%);
}
.hero-photo img { will-change: transform; }
.hero-depth.no-cutout .hero-cutout-wrap { display: none; }
.hero-depth.no-cutout .hero-orbit { top: 44%; width: min(72vh, 82vw); border-color: rgba(255, 236, 200, .5); opacity: 0; }
.hero-depth.no-cutout .orbit-heart { background: #fff8ee; }
.hero-depth.no-cutout .hero-aurora { opacity: .5; }
.hpl-set { display: block; }
.hpp-set { display: none; }
@media (max-width: 860px) {
  .hpl-set { display: none; }
  .hpp-set { display: block; }
}
/* tia sáng tỏa sau lưng cặp đôi */
.hero-rays { display: none; }
.hero-depth .hero-rays {
  display: block; position: absolute; left: 50%; top: 54%; z-index: 1;
  width: 130vh; aspect-ratio: 1; pointer-events: none; opacity: 0;
  background: repeating-conic-gradient(from 0deg,
    rgba(240, 200, 140, .17) 0deg 6deg, transparent 6deg 15deg);
  -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, .8), transparent 60%);
  mask-image: radial-gradient(circle, rgba(0, 0, 0, .8), transparent 60%);
  animation: heroFadeIn 1.4s ease .9s forwards, raysSpin 46s linear infinite;
}
@keyframes raysSpin {
  from { transform: translate(-50%, -52%) rotate(0); }
  to { transform: translate(-50%, -52%) rotate(360deg); }
}
/* vignette + light leak + grain phim */
.hero-vignette { display: none; }
.hero-depth .hero-vignette {
  display: block; position: absolute; inset: 0; z-index: 6; pointer-events: none;
  background:
    radial-gradient(125% 95% at 50% 42%, transparent 56%, rgba(120, 70, 60, .16) 100%),
    radial-gradient(42% 30% at 10% 4%, rgba(255, 222, 172, .3), transparent 70%),
    radial-gradient(34% 26% at 94% 90%, rgba(217, 142, 142, .14), transparent 70%);
}
.hero-depth .hero-vignette::after {
  content: ""; position: absolute; inset: 0; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-depth .hero-cutout-wrap {
  display: block; position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  text-align: center; pointer-events: none;
  opacity: 0; transform: translateY(6%) scale(.97);
  animation: cutIn 1.2s var(--ease) .5s forwards;
}
@keyframes cutIn { to { opacity: 1; transform: translateY(0) scale(1); } }
.hero-cutout {
  max-height: 86vh; max-width: 94vw; width: auto; height: auto;
  display: inline-block; vertical-align: bottom;
  filter: drop-shadow(0 26px 46px rgba(90, 60, 50, .3));
}
.hero-depth .hero-pill {
  display: inline-block; position: absolute; top: 2.6rem; left: 50%; transform: translateX(-50%); z-index: 4;
  background: rgba(255, 253, 248, .72); backdrop-filter: blur(10px);
  border: 1px solid rgba(194, 161, 91, .4); border-radius: 30px;
  padding: .45rem 1.2rem; font-size: .72rem; letter-spacing: 3px; text-transform: uppercase; color: var(--rose-deep);
  box-shadow: var(--shadow-s);
  opacity: 0; animation: pillDrop .8s var(--ease) 1s forwards;
}
@keyframes pillDrop { from { opacity: 0; transform: translate(-50%, -26px); } to { opacity: 1; transform: translate(-50%, 0); } }
.hero-depth .hero-bar {
  display: flex; position: absolute; bottom: 2.1rem; left: 50%; z-index: 4;
  align-items: center; gap: 1.1rem;
  background: rgba(255, 253, 248, .62); backdrop-filter: blur(14px);
  border: 1px solid rgba(194, 161, 91, .38); border-radius: 60px;
  padding: .7rem .9rem .7rem 1.6rem;
  box-shadow: 0 16px 44px rgba(90, 60, 50, .18);
  opacity: 0; transform: translate(-50%, 34px);
  animation: barRise .85s var(--ease) 1.2s forwards;
}
@keyframes barRise { to { opacity: 1; transform: translate(-50%, 0); } }
.hb-date { font-family: var(--serif); font-weight: 600; letter-spacing: 2px; color: var(--ink); font-size: 1.02rem; white-space: nowrap; }
.hb-dot { color: var(--rose); font-style: normal; }
.hb-city { color: var(--ink-soft); font-size: .92rem; white-space: nowrap; }
/* vành đai gold + tim quay quanh cặp đôi */
.hero-depth .hero-orbit {
  display: block; position: absolute; left: 50%; top: 58%; z-index: 2; pointer-events: none;
  width: min(84vh, 92vw); aspect-ratio: 1.75 / 1;
  border: 1px solid rgba(194, 161, 91, .5); border-radius: 50%;
  opacity: 0;
  animation: heroFadeIn 1.2s ease 1.3s forwards, orbitSpin 26s linear infinite;
}
.hero-depth .hero-orbit::before {
  content: ""; position: absolute; inset: 9%;
  border: 1px dashed rgba(217, 142, 142, .4); border-radius: 50%;
}
@keyframes orbitSpin {
  from { transform: translate(-50%, -50%) rotateX(66deg) rotate(0); }
  to { transform: translate(-50%, -50%) rotateX(66deg) rotate(360deg); }
}
.orbit-heart {
  position: absolute; left: 50%; top: -13px; margin-left: -13px;
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff; color: var(--rose-deep); font-style: normal; font-size: .8rem;
  box-shadow: 0 4px 14px rgba(185, 106, 110, .5);
}
/* bokeh màu trôi ở tiền cảnh */
.hero-depth .hero-bokeh { display: block; position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.hero-bokeh i {
  position: absolute; border-radius: 50%; filter: blur(16px); opacity: 0;
  animation: heroFadeIn 1.4s ease 1.6s forwards, bokehDrift 11s ease-in-out infinite alternate;
}
.hero-bokeh i:nth-child(1) { width: 120px; height: 120px; left: 6%; top: 22%; background: rgba(244, 170, 188, .4); animation-delay: 1.6s, 0s; }
.hero-bokeh i:nth-child(2) { width: 70px; height: 70px; left: 16%; top: 66%; background: rgba(240, 206, 138, .42); animation-delay: 1.7s, 1.4s; }
.hero-bokeh i:nth-child(3) { width: 95px; height: 95px; right: 8%; top: 30%; background: rgba(196, 170, 248, .38); animation-delay: 1.8s, .7s; }
.hero-bokeh i:nth-child(4) { width: 55px; height: 55px; right: 18%; top: 70%; background: rgba(244, 170, 188, .42); animation-delay: 1.9s, 2s; }
.hero-bokeh i:nth-child(5) { width: 85px; height: 85px; left: 42%; top: 12%; background: rgba(240, 206, 138, .32); animation-delay: 2s, 2.8s; }
.hero-bokeh i:nth-child(6) { width: 65px; height: 65px; right: 38%; top: 82%; background: rgba(150, 214, 232, .36); animation-delay: 2.1s, 3.4s; }
@keyframes bokehDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(26px, -34px) scale(1.18); }
}
/* cặp đôi "thở" nhẹ */
.hero-depth .hero-cutout { animation: breathe 6s ease-in-out 2.2s infinite; transform-origin: bottom center; }
@keyframes breathe { 0%, 100% { scale: 1; } 50% { scale: 1.008; } }

/* ═══════════ CÁNH HOA RƠI ═══════════ */
#petals { position: fixed; inset: 0; z-index: 90; pointer-events: none; }

/* ═══════════ HERO ═══════════ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide {
  background-size: cover; background-position: center 28%;
  opacity: 0; transition: opacity 1.8s ease;
  transform: scale(1.08);
}
.hero-slide.active { opacity: 1; animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.14);} to { transform: scale(1.02);} }
.hero-aurora {
  position: absolute; inset: -12%; pointer-events: none; z-index: 1;
  mix-blend-mode: screen; opacity: .75; filter: blur(14px);
  background:
    radial-gradient(36% 30% at 20% 28%, rgba(255, 158, 181, .5), transparent 70%),
    radial-gradient(28% 26% at 80% 22%, rgba(255, 214, 140, .48), transparent 70%),
    radial-gradient(34% 32% at 64% 80%, rgba(186, 156, 255, .38), transparent 70%),
    radial-gradient(26% 24% at 34% 74%, rgba(140, 220, 255, .3), transparent 70%);
  animation: aurora 17s ease-in-out infinite alternate;
}
@keyframes aurora {
  0% { transform: translate(-2%, 0) scale(1) rotate(0); }
  50% { transform: translate(2.5%, 3%) scale(1.09) rotate(1.2deg); }
  100% { transform: translate(-1.5%, -2%) scale(1.04) rotate(-1deg); }
}
/* vầng sáng yêu thương khi mở thiệp */
.open-bloom {
  position: fixed; left: 50%; top: 50%; z-index: 255;
  width: 70px; height: 70px; border-radius: 50%; pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  background: radial-gradient(circle,
    #ffffff 0%, #ffeef2 28%, rgba(255, 200, 214, .9) 52%, rgba(255, 185, 195, 0) 72%);
  animation: bloomOut 1.15s ease-out forwards;
}
@keyframes bloomOut {
  18% { opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(42); opacity: 0; }
}
/* mưa tim hồng chào trang chính */
.love-pop {
  position: absolute; bottom: -4vh; z-index: 6; pointer-events: none;
  font-size: var(--fs, 1.4rem); color: #ff8fa5; opacity: 0;
  text-shadow: 0 0 16px rgba(255, 150, 170, .85);
  animation: lovePop var(--d, 2.4s) ease-out var(--dl, 0s) forwards;
}
@keyframes lovePop {
  8% { opacity: 1; }
  100% { transform: translateY(-108vh) translateX(var(--dx, 0)) rotate(var(--rr, 20deg)); opacity: 0; }
}
.hero-burst-ring {
  position: absolute; left: 50%; top: 52%; width: 12px; height: 12px;
  transform: translate(-50%, -50%); border-radius: 50%;
  border: 3px solid rgba(227, 180, 120, .9); pointer-events: none; z-index: 5;
  animation: ringOut 1.1s ease-out forwards;
}
@keyframes ringOut { to { width: 165vmax; height: 165vmax; opacity: 0; border-width: 1px; } }
.hero-veil { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(180deg,
    rgba(255, 253, 248, .30) 0%,
    rgba(255, 253, 248, .04) 32%,
    rgba(255, 253, 248, .08) 60%,
    rgba(255, 253, 248, .58) 100%); }
.hero-content { filter: drop-shadow(0 2px 22px rgba(255, 251, 244, .95)) drop-shadow(0 0 46px rgba(255, 251, 244, .55)); }
.hero-content { position: relative; z-index: 2; text-align: center; padding: 6rem 1.5rem 4rem; }
.hero-kicker {
  font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ink-soft);
  opacity: 0; animation: fadeUp 1s var(--ease) .4s forwards;
}
.hero-flourish {
  width: min(300px, 68vw); color: var(--gold); margin: .3rem auto 0; display: block;
  opacity: 0; animation: fadeUp .9s var(--ease) .55s forwards;
}
.hero-flourish path:first-child { stroke-dasharray: 740; stroke-dashoffset: 740; animation: drawPath 2.4s ease 1.05s forwards; }
.hero-flourish .fl-heart { opacity: 0; animation: fadeUp .7s var(--ease) 2.6s forwards; }
@keyframes drawPath { to { stroke-dashoffset: 0; } }
.hero-names {
  display: flex; flex-direction: column; align-items: center; line-height: 1.05; margin: .4rem 0 1rem;
  animation: floatY 5.5s ease-in-out 3.2s infinite;
}
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.hero-names .line {
  font-family: var(--script); font-weight: 400;
  font-size: clamp(3.2rem, 11vw, 6.8rem);
  background: linear-gradient(105deg, #3f3733 32%, #96683f 46%, #cfa05f 50%, #96683f 54%, #3f3733 68%);
  background-size: 260% auto; background-position: 100% center;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; filter: blur(8px);
}
.hero-names .l1 { animation: blurIn 1.2s var(--ease) .7s forwards, inkShine 7s linear 3.4s infinite; }
.hero-names .l2 { animation: blurIn 1.2s var(--ease) 1.15s forwards, inkShine 7s linear 3.9s infinite; }
@keyframes inkShine { 0% { background-position: 130% center; } 55%, 100% { background-position: -130% center; } }
.hero-amp {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.4rem, 4vw, 2.2rem); margin: .2em 0;
  background: linear-gradient(100deg, var(--gold) 20%, #f0e3bc 40%, var(--gold) 60%);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 3.2s linear infinite, fadeUp 1s var(--ease) 1s forwards;
  opacity: 0;
}
@keyframes shimmer { to { background-position: 200% center; } }
.hero-rule { display: flex; align-items: center; justify-content: center; gap: .9rem; color: var(--rose); opacity: 0; animation: fadeUp 1s var(--ease) 1.5s forwards; }
.hero-rule i { display: block; width: 72px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.hero-rule i:last-child { transform: scaleX(-1); }
.hero-date { margin: .9rem 0 2rem; letter-spacing: 2.5px; font-size: .95rem; color: var(--ink); opacity: 0; animation: fadeUp 1s var(--ease) 1.7s forwards; }
.hero .btn-gold { opacity: 0; animation: fadeUp 1s var(--ease) 1.95s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px);} to { opacity: 1; transform: none;} }
@keyframes blurIn { from { opacity: 0; filter: blur(8px); transform: translateY(20px);} to { opacity: 1; filter: blur(0); transform: none;} }
.scroll-hint {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid var(--ink-soft); border-radius: 14px; z-index: 2;
}
.scroll-hint span {
  position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 3px; background: var(--rose); animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel { 0% { transform: translateY(0); opacity: 1;} 70% { transform: translateY(16px); opacity: 0;} 100% { opacity: 0;} }

/* ═══════════ BUTTONS ═══════════ */
.btn {
  display: inline-block; padding: .8rem 2.3rem; border-radius: 60px;
  font-family: var(--sans); font-size: .82rem; letter-spacing: 2.5px; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: none; transition: all .35s var(--ease);
}
.btn-gold {
  color: #fffaf3; background: linear-gradient(120deg, var(--rose-deep), var(--rose));
  box-shadow: 0 10px 26px rgba(185, 106, 110, .38);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(185, 106, 110, .5); }
.btn-line { background: none; border: 1px solid var(--gold); color: var(--ink); padding: .55rem 1.6rem; font-size: .72rem; }
.btn-line:hover { background: var(--gold); color: #fff; }

/* ═══════════ RIBBON MARQUEE ═══════════ */
.ribbon { overflow: hidden; background: linear-gradient(90deg, var(--rose-deep), var(--rose) 50%, var(--rose-deep)); padding: .65rem 0; }
.ribbon-track { display: flex; white-space: nowrap; width: max-content; animation: marquee 26s linear infinite; }
.ribbon-track span {
  font-family: var(--serif); font-style: italic; letter-spacing: 4px; font-size: .92rem; color: #fff5ef;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ═══════════ SECTION COMMON ═══════════ */
section { padding: 7.5rem 1.5rem; max-width: 1160px; margin: 0 auto; }
.eyebrow {
  text-align: center; font-family: var(--script); font-size: 1.9rem; color: var(--rose); margin-bottom: .3rem;
}
.section-title { text-align: center; font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: 1px; margin-bottom: 1rem; perspective: 520px; }
.section-title.left { text-align: left; }
.section-title .w { display: inline-block; white-space: nowrap; }
.section-title .ch { display: inline-block; transform-origin: 50% 100%; backface-visibility: hidden; }
.section-sub { text-align: center; color: var(--ink-soft); font-size: .98rem; margin-bottom: 3.6rem; }

/* ── hiệu ứng xuất hiện ── */
[data-reveal] { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); will-change: transform; }
[data-reveal="up"] { transform: translateY(36px); }
[data-reveal="left"] { transform: translateX(-46px); }
[data-reveal="right"] { transform: translateX(46px); }
[data-reveal="zoom"] { transform: scale(.82); }
[data-reveal="blur"] { filter: blur(10px); }
[data-reveal].in { opacity: 1; transform: none; filter: none; }

/* ═══════════ COUNTDOWN — NHẪN THỜI GIAN ═══════════ */
.countdown-section { text-align: center; position: relative; }
.countdown-section::before, .countdown-section::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none; z-index: -1;
}
.countdown-section::before {
  width: 380px; height: 380px; top: -70px; left: -110px;
  background: radial-gradient(circle, rgba(217, 142, 142, .16), transparent 68%);
  animation: blobFloat 12s ease-in-out infinite;
}
.countdown-section::after {
  width: 300px; height: 300px; bottom: -50px; right: -80px;
  background: radial-gradient(circle, rgba(194, 161, 91, .15), transparent 68%);
  animation: blobFloat 10s ease-in-out infinite reverse;
}
@keyframes blobFloat { 0%,100% { transform: translate(0,0) scale(1);} 50% { transform: translate(26px, -20px) scale(1.12);} }

.countdown { display: flex; justify-content: center; gap: 2.3rem; flex-wrap: wrap; margin-top: 3.4rem; }
.ring { position: relative; width: 152px; height: 152px; perspective: 340px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 5.5; }
.ring .ring-bg { stroke: #f1e6d9; }
.ring .ring-fg {
  stroke: url(#ringGrad); stroke-linecap: round;
  stroke-dasharray: 327; stroke-dashoffset: 327;
  transition: stroke-dashoffset .8s var(--ease);
  filter: drop-shadow(0 2px 6px rgba(194, 161, 91, .4));
}
.ring-val { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-val span { font-family: var(--serif); font-size: 2.5rem; font-weight: 600; color: var(--rose-deep); line-height: 1; backface-visibility: hidden; }
.ring-val span.flip { animation: numFlip .55s var(--ease); }
@keyframes numFlip {
  0% { transform: rotateX(0); }
  45% { transform: rotateX(-88deg); opacity: .35; }
  55% { transform: rotateX(88deg); opacity: .35; }
  100% { transform: rotateX(0); }
}
.ring-val small { margin-top: .4rem; text-transform: uppercase; letter-spacing: 3px; font-size: .62rem; color: var(--ink-soft); }
.countdown-quote { margin-top: 2.4rem; font-family: var(--serif); font-style: italic; color: var(--ink-soft); font-size: 1.02rem; }

/* ── đôi uyên ương hoạt hình đi tới lễ đường ── */
.walk { position: relative; max-width: 720px; height: 118px; margin: 3.2rem auto 0; }
.walk-path {
  position: absolute; left: 0; right: 34px; bottom: 12px; height: 0;
  border-bottom: 2px dotted rgba(194, 161, 91, .55);
}
.walk-goal {
  position: absolute; right: 0; bottom: 4px; font-size: 2rem;
  animation: goalBob 2.4s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(194, 161, 91, .35));
}
@keyframes goalBob { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-5px);} }
.walk-couple {
  position: absolute; bottom: 6px; left: 0; width: 108px;
  transition: left 1.2s var(--ease);
  animation: coupleSway 1.15s ease-in-out infinite;
}
@keyframes coupleSway { 0%,100% { transform: translateY(0) rotate(0);} 50% { transform: translateY(-3.5px) rotate(.6deg);} }
.couple-svg { width: 100%; display: block; }
.g-bride { animation: charBob .58s ease-in-out infinite; transform-origin: 38px 78px; }
.g-groom { animation: charBob .58s ease-in-out .29s infinite; transform-origin: 83px 78px; }
@keyframes charBob { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-2.4px);} }
.couple-svg .leg { animation: legStep .58s ease-in-out infinite; }
.couple-svg .leg-b { animation-delay: .29s; }
@keyframes legStep { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-2.6px);} }
.walk-hearts { position: absolute; top: -14px; left: 50%; width: 0; }
.walk-hearts i {
  position: absolute; font-style: normal; color: var(--rose); font-size: .85rem;
  animation: heartRise 2.7s ease-in infinite; opacity: 0;
}
.walk-hearts i:nth-child(1) { left: -16px; animation-delay: 0s; }
.walk-hearts i:nth-child(2) { left: 2px; animation-delay: .9s; font-size: 1.05rem; }
.walk-hearts i:nth-child(3) { left: 16px; animation-delay: 1.8s; }
@keyframes heartRise {
  0% { transform: translateY(0) scale(.6); opacity: 0; }
  18% { opacity: .95; }
  100% { transform: translateY(-46px) scale(1.15); opacity: 0; }
}
.walk-label { text-align: center; margin-top: .9rem; font-family: var(--script); font-size: 1.35rem; color: var(--rose-deep); min-height: 1.6em; transition: opacity .5s ease; }
.walk-label.fade { opacity: 0; }
/* bong bóng chat trên đầu hai nhân vật */
.walk-bubble {
  position: absolute; top: -34px; max-width: 190px; white-space: nowrap;
  background: #fff; border: 1.5px solid var(--ink); border-radius: 12px;
  padding: .28rem .65rem; font-size: .74rem; font-weight: 500; color: var(--ink);
  box-shadow: 2px 2px 0 rgba(68, 58, 53, .14);
  opacity: 0; transform: scale(.4); transform-origin: bottom center;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  z-index: 3; pointer-events: none;
}
.walk-bubble.show { opacity: 1; transform: scale(1); }
.wb-bride { left: -22px; border-radius: 12px 12px 12px 2px; }
.wb-groom { right: -22px; border-radius: 12px 12px 2px 12px; }
.wb-bride::after, .wb-groom::after {
  content: ""; position: absolute; bottom: -6px; width: 8px; height: 8px; background: #fff;
}
.wb-bride::after { left: 12px; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: skewY(20deg); }
.wb-groom::after { right: 12px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: skewY(-20deg); }
/* tới nhà: nhảy ăn mừng */
.walk-couple.arrived { animation: arriveJump .55s var(--ease) infinite alternate; }
@keyframes arriveJump { from { transform: translateY(0); } to { transform: translateY(-10px); } }

/* ═══════════ CẶP ĐÔI ═══════════ */
.couple-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 3.2rem; align-items: start; margin-top: 3.2rem; }
.couple-card { text-align: center; }
.arch-frame {
  position: relative; overflow: hidden;
  border-radius: 999px 999px 18px 18px;
  box-shadow: var(--shadow-m);
  outline: 1px solid var(--gold-soft); outline-offset: 7px;
}
.arch-frame img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 1.2s var(--ease); }
.arch-frame:hover img { transform: scale(1.06); }
.couple-card h3 { margin-top: 1.6rem; font-size: 1.65rem; }
.couple-card .role { font-family: var(--script); color: var(--gold); font-size: 1.35rem; margin: .1rem 0 .6rem; }
.couple-card .bio { color: var(--ink-soft); font-size: .92rem; max-width: 340px; margin: 0 auto; }
.couple-amp { align-self: center; }
.couple-amp span {
  font-family: var(--script); font-size: clamp(3rem, 6vw, 4.6rem);
  background: linear-gradient(100deg, var(--gold) 20%, #f0e3bc 40%, var(--gold) 60%);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 3.2s linear infinite;
}

/* ═══════════ TIMELINE ═══════════ */
.timeline { position: relative; max-width: 880px; margin: 3rem auto 0; }
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(var(--blush-2), var(--gold), var(--blush-2));
}
.tl-item { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-bottom: 4rem; position: relative; }
.tl-item::after {
  content: "❦"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  color: var(--rose); background: var(--ivory); padding: .3rem 0; font-size: 1.1rem;
}
.tl-item figure { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-m); }
.tl-item figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.tl-item:nth-child(even) figure { order: 2; }
.tl-item:nth-child(even) .tl-text { order: 1; text-align: right; }
.tl-date { font-family: var(--script); font-size: 1.5rem; color: var(--gold); }
.tl-text h3 { font-size: 1.55rem; margin: .2rem 0 .5rem; }
.tl-text p { color: var(--ink-soft); font-size: .93rem; }

/* ═══════════ CHUYỆN TÌNH — BẢN ĐỒ HÀNH TRÌNH (desktop) ═══════════ */
.journey { position: relative; display: none; margin-top: 4.5rem; aspect-ratio: 1200 / 430; }
#story.jy-active { max-width: 1240px; }
.journey-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.jy-base { stroke: rgba(194, 161, 91, .45); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; fill: none; }
.jy-ink { stroke: url(#ringGrad); stroke-width: 2.5; stroke-linecap: round; fill: none; }
.jy-stop { position: absolute; transform: translate(-50%, -50%); text-align: center; z-index: 2; }
.jy-ping, .jy-ping.p2 {
  position: absolute; left: 50%; top: 50%; width: 70px; height: 70px; margin: -35px;
  border-radius: 50%; border: 2px solid rgba(217, 142, 142, .55);
  animation: ping 2.6s ease-out infinite; pointer-events: none;
}
.jy-ping.p2 { animation-delay: 1.3s; }
@keyframes ping { 0% { transform: scale(.35); opacity: .95; } 100% { transform: scale(1.8); opacity: 0; } }
.jy-photo {
  position: relative; width: 80px; height: 80px; margin: 0 auto;
  border-radius: 50%; overflow: hidden; border: 3px solid #fff;
  animation: photoGlow 2.6s ease-in-out infinite;
}
.jy-photo img { width: 100%; height: 100%; object-fit: cover; }
.jy-photo.future { outline: 2px dashed var(--gold); outline-offset: 3px; }
@keyframes photoGlow {
  0%, 100% { box-shadow: 0 8px 22px rgba(68, 58, 53, .3), 0 0 0 0 rgba(217, 142, 142, .45); transform: scale(1); }
  50% { box-shadow: 0 8px 22px rgba(68, 58, 53, .3), 0 0 26px 5px rgba(217, 142, 142, .55); transform: scale(1.045); }
}
.jy-card {
  position: absolute; left: 50%; transform: translateX(-50%); width: 210px;
  background: #fff; border-radius: 14px; padding: .75rem .9rem; text-align: center;
  border: 1px solid rgba(194, 161, 91, .25); box-shadow: var(--shadow-m);
}
.jy-stop.card-down .jy-card { top: calc(100% + 14px); }
.jy-stop.card-up .jy-card { bottom: calc(100% + 14px); }
.jy-coord { display: block; font: 600 .62rem/1.4 var(--sans); letter-spacing: 1.5px; color: var(--gold); text-transform: uppercase; }
.jy-card h3 { font-size: 1rem; margin: .15rem 0 .25rem; }
.jy-card p { font-size: .75rem; color: var(--ink-soft); line-height: 1.55; }
.jy-traveler {
  position: absolute; width: 32px; height: 32px; margin: -16px; z-index: 4;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 50%; color: var(--rose-deep); font-size: .95rem;
  box-shadow: 0 6px 18px rgba(185, 106, 110, .45);
}
@media (min-width: 861px) {
  .journey { display: block; }
  #story.jy-active .timeline { display: none; }
}

/* ═══════════ FILM STRIP ═══════════ */
.filmstrip { overflow: hidden; padding: 2rem 0; background: #fdf7ef; }
.film-track { display: flex; gap: 1rem; width: max-content; animation: marquee 48s linear infinite; }
.filmstrip:hover .film-track { animation-play-state: paused; }
.film-track.js-marquee { animation: none; }
.film-track img {
  height: 190px; width: auto; border-radius: 12px;
  box-shadow: var(--shadow-s);
  transition: transform .5s var(--ease);
}
.film-track img:hover { transform: translateY(-6px) rotate(-1deg); }

/* ═══════════ ALBUM — SÁCH LẬT 3D ═══════════ */
.book-stage { max-width: 940px; margin: 2.4rem auto 0; position: relative; }
.book-stage::after {
  content: ""; position: absolute; left: 8%; right: 8%; bottom: -26px; height: 44px;
  background: radial-gradient(ellipse, rgba(68, 58, 53, .28), transparent 70%);
  filter: blur(6px); z-index: -1;
}
#flipbook { margin: 0 auto; }
#flipbook .page {
  background: linear-gradient(115deg, #fffdf8 0%, #faf3e8 100%);
  border: 1px solid #eee0cd;
  overflow: hidden;
}
#flipbook .page .page-content { width: 100%; height: 100%; padding: 26px 26px 58px; position: relative; }
#flipbook .bp { height: 100%; position: relative; }
/* ảnh dạng "bản in" lồng khung mat trắng — KHÔNG crop (tỉ lệ gốc 2:3) */
#flipbook .bp-ph {
  margin: 0; background: #fff; padding: 7px 7px 9px; border-radius: 3px;
  box-shadow: 0 7px 20px rgba(68, 58, 53, .2);
}
#flipbook .bp-ph img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; display: block; cursor: zoom-in; }
/* 1 ảnh — chân dung lớn giữa trang, lề rộng thoáng */
#flipbook .bp-single { display: flex; align-items: center; justify-content: center; }
#flipbook .bp-single .bp-ph { width: 66%; transform: rotate(-.8deg); }
/* 2 ảnh — song song lệch nhịp */
#flipbook .bp-double { display: flex; align-items: center; justify-content: center; gap: 7%; }
#flipbook .bp-double .bp-ph { width: 42%; }
#flipbook .bp-double .bp-ph:first-child { transform: translateY(-5%) rotate(-2deg); }
#flipbook .bp-double .bp-ph:last-child { transform: translateY(5%) rotate(1.6deg); }
/* 3 ảnh — 1 lớn + 2 nhỏ xếp nghệ thuật */
#flipbook .bp-trio .bp-ph { position: absolute; }
#flipbook .bp-trio .bp-ph:nth-child(1) { width: 52%; top: 2%; left: 4%; transform: rotate(-2.4deg); }
#flipbook .bp-trio .bp-ph:nth-child(2) { width: 38%; top: 10%; right: 3%; transform: rotate(3deg); z-index: 2; }
#flipbook .bp-trio .bp-ph:nth-child(3) { width: 36%; bottom: 1%; left: 30%; transform: rotate(-1.2deg); z-index: 3; }
/* chữ trang trí mỗi trang */
#flipbook .page-cap {
  position: absolute; bottom: 22px; left: 0; right: 0; text-align: center;
  font-family: var(--script); font-size: 1.2rem; color: var(--gold); line-height: 1.2;
}
#flipbook .page-cap::before {
  content: "— ❦ —"; display: block;
  font-family: var(--serif); font-size: .6rem; letter-spacing: 3px; color: rgba(194, 161, 91, .65);
  margin-bottom: .2rem;
}
#flipbook .page-no {
  position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
  font-family: var(--serif); font-size: .66rem; color: rgba(194, 161, 91, .8); letter-spacing: 2px;
}
/* bìa cứng — vải linen kem, khung ép kim, cửa sổ ảnh vòm */
#flipbook .page-cover {
  background:
    repeating-linear-gradient(0deg, rgba(226, 204, 175, .3) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(226, 204, 175, .2) 0 1px, transparent 1px 3px),
    linear-gradient(160deg, #fdf5e8, #f4e3cd);
  border: none;
}
#flipbook .page-cover .cover-inner {
  position: absolute; inset: 13px; border: 1.5px solid rgba(194, 161, 91, .75); border-radius: 6px;
  outline: 1px solid rgba(194, 161, 91, .4); outline-offset: 4px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  color: var(--ink); padding: 1rem;
}
#flipbook .cover-hy {
  font-family: "SimSun", "Noto Serif CJK SC", serif; font-size: 1.15rem; color: #c23b3b;
  border: 2px solid #c23b3b; border-radius: 6px; padding: .2rem .3rem; line-height: 1;
  margin-bottom: .7rem; opacity: .85;
}
#flipbook .cover-arch {
  width: 45%; border-radius: 999px 999px 12px 12px; overflow: hidden;
  border: 4px solid #fff; outline: 1px solid rgba(194, 161, 91, .6); outline-offset: 3px;
  box-shadow: 0 8px 22px rgba(140, 95, 60, .25); margin: .5rem 0 .8rem;
}
#flipbook .cover-arch img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
#flipbook .cover-kicker { text-transform: uppercase; letter-spacing: 5px; font-size: .62rem; color: var(--gold); }
#flipbook .cover-names {
  font-family: var(--script); font-size: clamp(1.8rem, 5vw, 2.5rem); margin: .1rem 0 .2rem;
  background: linear-gradient(100deg, var(--rose-deep) 25%, #dfa763 55%, var(--rose-deep) 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
#flipbook .cover-date { font-family: var(--serif); letter-spacing: 4px; font-size: .9rem; color: var(--ink-soft); }
#flipbook .cover-orn { font-size: 1.15rem; margin-top: .7rem; color: var(--rose); }
.book-controls { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 2.4rem; }
.book-page { font-family: var(--serif); letter-spacing: 2px; color: var(--ink-soft); font-size: .9rem; min-width: 64px; text-align: center; }
/* fallback khi lib không tải được */
.book-fallback { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .8rem; }
.book-fallback img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; cursor: zoom-in; }

/* ═══════════ SỰ KIỆN ═══════════ */
.events { background:
  radial-gradient(ellipse at 15% 10%, rgba(217, 142, 142, .05), transparent 55%),
  radial-gradient(ellipse at 85% 90%, rgba(194, 161, 91, .06), transparent 55%);
  max-width: none;
}
.events > * { max-width: 1140px; margin-left: auto; margin-right: auto; }
.event-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 2.2rem; margin-top: 3.4rem; max-width: 820px; margin-left: auto; margin-right: auto; }
.event-card {
  background: #fff; text-align: center; padding: 3.1rem 2.2rem 2.7rem;
  border-radius: 999px 999px 22px 22px;
  border: 1px solid rgba(194, 161, 91, .28);
  box-shadow: var(--shadow-s);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.event-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-m); }
.event-card.featured { border-width: 2px; background: linear-gradient(175deg, #fff, var(--blush) 160%); }
.event-badge {
  width: 66px; height: 66px; margin: 0 auto 1.1rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem;
  background: var(--cream); border: 1px dashed var(--gold);
}
.event-card h3 { font-size: 1.5rem; margin-bottom: .7rem; }
.event-time { color: var(--rose-deep); font-size: .9rem; line-height: 1.5; margin-bottom: .7rem; }
.event-time b { font-family: var(--serif); font-size: 1.15rem; letter-spacing: 2px; }
.event-address { color: var(--ink-soft); font-size: .88rem; margin-bottom: 1.4rem; }

/* ═══════════ RSVP ═══════════ */
.rsvp-wrap {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 3.4rem; align-items: center;
  background: #fff; border-radius: 28px; box-shadow: var(--shadow-m);
  padding: 3.2rem;
  border: 1px solid rgba(194, 161, 91, .2);
}
.rsvp-photo img { aspect-ratio: 3 / 4.4; }
.rsvp-note { color: var(--ink-soft); font-size: .93rem; margin: .4rem 0 1.6rem; }
.rsvp-form { display: flex; flex-direction: column; gap: .9rem; }
.rsvp-form .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.rsvp-form input, .rsvp-form select, .rsvp-form textarea {
  width: 100%; padding: .85rem 1.1rem; border-radius: 12px;
  border: 1px solid #eadfd2; background: var(--ivory);
  font-family: var(--sans); font-weight: 300; font-size: .92rem; color: var(--ink);
  outline: none; transition: border-color .25s, box-shadow .25s;
}
.rsvp-form input:focus, .rsvp-form select:focus, .rsvp-form textarea:focus {
  border-color: var(--rose); box-shadow: 0 0 0 3px rgba(217, 142, 142, .15);
}
.rsvp-thanks { margin-top: 1.2rem; color: var(--rose-deep); font-weight: 500; }
.wishes { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.2rem; margin-top: 2.6rem; }
.wish {
  background: var(--cream); border-radius: 14px; padding: 1.25rem 1.45rem;
  border-left: 3px solid var(--rose); box-shadow: var(--shadow-s);
  animation: fadeUp .7s var(--ease);
}
.wish b { font-weight: 500; color: var(--rose-deep); font-size: .88rem; }
.wish p { font-size: .88rem; color: var(--ink-soft); margin-top: .2rem; }

/* ═══════════ HỘP YÊU THƯƠNG ═══════════ */
.gift { text-align: center; }
.love-box {
  position: relative; max-width: 860px; margin: 1rem auto 0;
  display: grid; grid-template-columns: 260px 1fr; gap: 2.2rem; align-items: center;
  background:
    radial-gradient(circle at 12% 20%, rgba(248, 190, 205, .25) 0 8px, transparent 9px),
    radial-gradient(circle at 88% 30%, rgba(250, 220, 150, .3) 0 6px, transparent 7px),
    radial-gradient(circle at 20% 85%, rgba(190, 220, 250, .3) 0 7px, transparent 8px),
    radial-gradient(circle at 78% 88%, rgba(200, 240, 200, .3) 0 5px, transparent 6px),
    #fff;
  border-radius: 26px; padding: 3rem 2.4rem 2.6rem;
  border: 1px solid rgba(194, 161, 91, .25); box-shadow: var(--shadow-m);
}
.washi {
  position: absolute; width: 120px; height: 30px; opacity: .85;
  background: repeating-linear-gradient(45deg, rgba(217, 142, 142, .55) 0 8px, rgba(255, 214, 170, .55) 8px 16px);
  box-shadow: 0 2px 6px rgba(68, 58, 53, .12);
}
.washi.w1 { top: -12px; left: 8%; transform: rotate(-8deg); }
.washi.w2 { top: -12px; right: 8%; transform: rotate(6deg); }
.love-left { text-align: center; }
.love-right { text-align: center; }
/* hũ tim thủy tinh — đầy dần theo số tim */
.love-jar {
  position: relative; width: 158px; height: 196px; margin: 0 auto 1.2rem;
  border: 3px solid #d9c5b2; border-top-width: 0;
  border-radius: 18px 18px 30px 30px;
  background: linear-gradient(105deg, rgba(255, 255, 255, .5), rgba(240, 230, 220, .35));
  overflow: hidden;
}
.jar-lip {
  position: absolute; top: 0; left: -6px; right: -6px; height: 12px;
  border: 3px solid #d9c5b2; border-radius: 8px; background: #fdf6ec; z-index: 3;
}
.jar-fill {
  position: absolute; left: 0; right: 0; bottom: 0; height: 8%;
  background: linear-gradient(180deg, #ffb9c8, #f08fa5);
  transition: height .7s cubic-bezier(.34, 1.56, .5, 1);
  border-radius: 0 0 26px 26px;
}
.jar-fill::before { /* mặt "nước tim" gợn */
  content: ""; position: absolute; top: -7px; left: -12%; right: -12%; height: 14px;
  background: #ffc6d2; border-radius: 50%;
}
.jar-fill i {
  position: absolute; font-style: normal; color: rgba(255, 255, 255, .8); font-size: .8rem;
  animation: jarFloat 3.4s ease-in-out infinite;
}
.jar-fill i:nth-child(1) { left: 16%; bottom: 12%; animation-delay: 0s; }
.jar-fill i:nth-child(2) { left: 46%; bottom: 34%; animation-delay: .9s; font-size: 1rem; }
.jar-fill i:nth-child(3) { left: 70%; bottom: 18%; animation-delay: 1.7s; }
.jar-fill i:nth-child(4) { left: 32%; bottom: 55%; animation-delay: 2.4s; font-size: .65rem; }
@keyframes jarFloat { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-7px) rotate(7deg); } }
.jar-shine {
  position: absolute; top: 12px; bottom: 14px; left: 12px; width: 13px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, .06));
  border-radius: 8px; pointer-events: none; z-index: 2;
}
.jar-drop {
  position: absolute; top: -18px; left: 50%; z-index: 4; font-size: 1.15rem; color: #f0718d;
  animation: jarDrop .7s cubic-bezier(.5, 0, .8, .6) forwards; pointer-events: none;
}
@keyframes jarDrop {
  0% { transform: translate(-50%, 0) scale(.7); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: translate(calc(-50% + var(--jx, 0px)), 150px) scale(1); opacity: .9; }
}
.love-heart {
  width: 118px; height: 118px; border: none; border-radius: 50%; cursor: pointer;
  background: radial-gradient(circle at 35% 30%, #e5a2a2, var(--rose-deep));
  color: #fff6ef; font-size: 3rem; line-height: 1;
  box-shadow: 0 14px 36px rgba(185, 106, 110, .45);
  transition: transform .18s var(--ease);
  animation: heartIdle 1.8s ease-in-out infinite;
}
@keyframes heartIdle { 0%,100% { transform: scale(1);} 12% { transform: scale(1.07);} 24% { transform: scale(1);} 36% { transform: scale(1.05);} 48% { transform: scale(1);} }
.love-heart:active { transform: scale(.86); animation: none; }
.love-count { margin-top: 1.2rem; color: var(--ink-soft); font-size: .95rem; }
.love-count b { font-family: var(--serif); font-size: 1.5rem; color: var(--rose-deep); margin-right: .25rem; }
/* bảng hoạt động LIVE */
.love-live {
  position: relative; text-align: left;
  background: #fff; border: 1px solid rgba(194, 161, 91, .3); border-radius: 16px;
  padding: .9rem 1.1rem .7rem; margin-bottom: 1.4rem;
  box-shadow: var(--shadow-s); min-height: 118px;
}
.live-badge {
  position: absolute; top: -11px; left: 14px;
  display: inline-flex; align-items: center; gap: .35rem;
  background: #e5484d; color: #fff; font-size: .62rem; font-weight: 700; letter-spacing: 2px;
  padding: .22rem .6rem; border-radius: 20px; box-shadow: 0 3px 10px rgba(229, 72, 77, .4);
}
.live-badge i {
  width: 6px; height: 6px; border-radius: 50%; background: #fff;
  animation: liveDot 1.1s ease-in-out infinite;
}
@keyframes liveDot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
.live-item {
  font-size: .84rem; color: var(--ink-soft); padding: .28rem 0;
  border-bottom: 1px dashed rgba(194, 161, 91, .2);
  animation: liveIn .45s var(--ease);
}
.live-item:last-child { border-bottom: none; }
.live-item b { color: var(--ink); font-weight: 500; }
@keyframes liveIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.love-count b { display: inline-block; transition: transform .2s var(--ease); }
.love-count b.bump, .bump { animation: countBump .45s var(--ease); }
@keyframes countBump { 40% { transform: scale(1.35); color: var(--rose); } }
.love-chips { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.8rem; }
.love-chip {
  border: 1px solid var(--gold); background: var(--ivory); color: var(--ink);
  padding: .55rem 1.15rem; border-radius: 40px; cursor: pointer;
  font-family: var(--sans); font-size: .86rem; transition: all .3s var(--ease);
}
/* pastel xoay vòng + nghiêng nhẹ kiểu sticker */
.love-chip:nth-child(4n+1) { background: #fdeef1; border-color: #eeb7c2; transform: rotate(-1.2deg); }
.love-chip:nth-child(4n+2) { background: #fdf6e4; border-color: #e6cf94; transform: rotate(1deg); }
.love-chip:nth-child(4n+3) { background: #eef5fd; border-color: #b7cfee; transform: rotate(-.6deg); }
.love-chip:nth-child(4n+4) { background: #eefdf0; border-color: #b3dfba; transform: rotate(1.4deg); }
.love-chip:hover { background: var(--rose); border-color: var(--rose); color: #fff; transform: translateY(-2px); }
.love-chip.sent { background: var(--rose-deep); border-color: var(--rose-deep); color: #fff; }
.love-form { margin-top: 2rem; display: flex; flex-direction: column; gap: .7rem; text-align: left; }
.love-form-title { text-align: center; font-size: .92rem; color: var(--ink-soft); margin-bottom: .2rem; }
.love-form-title em { color: var(--rose-deep); font-style: normal; font-weight: 500; }
.love-form input {
  width: 100%; padding: .8rem 1.05rem; border-radius: 12px;
  border: 1px solid #eadfd2; background: var(--ivory);
  font-family: var(--sans); font-weight: 300; font-size: .92rem; color: var(--ink);
  outline: none; transition: border-color .25s, box-shadow .25s;
}
.love-form input:focus { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(217, 142, 142, .15); }
.love-form .btn { align-self: center; }
.fly-heart {
  position: absolute; bottom: 45%; left: 50%; pointer-events: none;
  font-size: 1.4rem; color: var(--rose);
  animation: flyUp 1.5s ease-out forwards;
}
@keyframes flyUp {
  0% { transform: translate(-50%, 0) scale(.6); opacity: 1; }
  100% { transform: translate(calc(-50% + var(--fx, 0px)), -220px) scale(var(--fs, 1.3)) rotate(var(--fr, 0deg)); opacity: 0; }
}

/* ═══════════ MOMENTS — MEMORY THEATER 3D ═══════════ */
.moments { max-width: none; padding-left: 0; padding-right: 0; }
.theater {
  position: relative; width: min(1520px, calc(100% - 2.4rem)); height: 90vh; min-height: 540px;
  margin: 1.6rem auto 0; border-radius: 34px; overflow: hidden;
  background:
    radial-gradient(58% 46% at 50% 22%, rgba(126, 86, 70, .55), transparent 72%),
    radial-gradient(80% 55% at 50% 112%, rgba(185, 106, 110, .2), transparent 62%),
    linear-gradient(180deg, #251712, #150d0b);
  box-shadow: 0 32px 90px rgba(60, 40, 30, .38);
}
.theater::before { /* cột sáng spotlight */
  content: ""; position: absolute; left: 50%; top: -12%; width: 78%; height: 72%;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(50% 62% at 50% 0%, rgba(255, 214, 160, .22), transparent 72%);
}
.theater::after { /* quầng sáng sàn */
  content: ""; position: absolute; left: 10%; right: 10%; bottom: 5%; height: 17%;
  background: radial-gradient(ellipse, rgba(255, 190, 150, .16), transparent 70%);
  filter: blur(9px); pointer-events: none;
}
.th-dust { position: absolute; inset: 0; pointer-events: none; }
.th-ghost {
  position: absolute; left: 50%; top: 5.5%; transform: translateX(-50%);
  font-family: var(--script); font-size: clamp(3.2rem, 8.5vw, 7rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(227, 211, 174, .32);
  white-space: nowrap; pointer-events: none; user-select: none;
}
.th-stage {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  perspective: 1700px; cursor: grab; touch-action: pan-y; user-select: none;
}
.th-stage:active { cursor: grabbing; }
.th-ring { position: relative; transform-style: preserve-3d; }
.th-card {
  position: absolute; width: var(--cw, 260px); aspect-ratio: 2 / 3;
  left: calc(var(--cw, 260px) / -2); top: calc(var(--cw, 260px) * -.75);
  border-radius: 14px; overflow: hidden; cursor: pointer;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
  filter: brightness(calc(.28 + .82 * var(--f, .5))) saturate(calc(.55 + .55 * var(--f, .5)));
  outline: 1px solid rgba(255, 235, 210, calc(.1 + .55 * var(--f, .5)));
  -webkit-box-reflect: below 10px linear-gradient(transparent 60%, rgba(255, 255, 255, .17));
}
.th-card img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.th-hud {
  position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); z-index: 10;
  display: flex; align-items: center; gap: .75rem;
  background: rgba(30, 18, 14, .58); backdrop-filter: blur(12px);
  border: 1px solid rgba(227, 211, 174, .28); border-radius: 44px; padding: .5rem .7rem;
}
.th-btn {
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(227, 211, 174, .35); background: rgba(255, 245, 230, .08);
  color: #f3e2c8; font-size: 1.05rem; line-height: 1; transition: all .25s var(--ease);
}
.th-btn:hover { background: var(--rose-deep); border-color: var(--rose-deep); }
.th-meta { display: flex; flex-direction: column; align-items: center; min-width: 168px; }
.th-count { font: 600 .7rem/1.5 var(--serif); letter-spacing: 3px; color: #d8c2a2; }
.th-cap { font-family: var(--script); font-size: 1.3rem; color: #f0d9b8; line-height: 1.15; }

/* ═══════════ QUOTE PARALLAX ═══════════ */
.quote-band {
  position: relative; max-width: none; padding: 0; margin: 3rem 0;
  height: min(72vh, 620px); overflow: hidden;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.quote-bg { position: absolute; inset: -18% 0; }
.quote-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.quote-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(43, 31, 27, .35), rgba(43, 31, 27, .55));
}
.quote-inner { position: relative; z-index: 2; padding: 0 1.5rem; color: #fff8f2; }
.quote-script { font-family: var(--script); font-size: clamp(2.2rem, 6vw, 3.4rem); color: #f6d9c8; text-shadow: 0 3px 18px rgba(0,0,0,.35); }
.quote-text {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.15rem, 3vw, 1.7rem); line-height: 1.6;
  text-shadow: 0 2px 14px rgba(0,0,0,.4); margin-top: .6rem;
}

/* ═══════════ LỚP HOẠT HÌNH — "HAI THẾ GIỚI" ═══════════ */
/* sticker người dẫn chuyện đầu section */
.sticker {
  width: max-content; max-width: 92vw;
  display: flex; align-items: center; gap: 1rem;
  margin: 0 auto 1.6rem;
}
.sticker-img {
  position: relative; width: 112px; height: 112px; flex-shrink: 0;
  border-radius: 50%; background: #fff; border: 3px solid #fff;
  box-shadow: var(--shadow-m);
  outline: 1.5px dashed var(--rose); outline-offset: 5px;
  overflow: hidden; transform: rotate(-5deg);
  animation: stickerFloat 3.6s ease-in-out infinite;
}
.sticker-img img, .sticker-img svg { width: 100%; height: 100%; object-fit: cover; display: block; }
/* chibi PNG trong suốt: neo mặt lên trên + nền kem cho khung tròn */
.sticker-img img, .love-mascot, .greeter-img, .jy-photo.future img { object-position: center 8%; background: #fdf6ee; }
.flip-back .arch-frame { background: linear-gradient(165deg, #fdf2ec, #f6ddd2); }
.flip-back .arch-frame img { object-position: center 10%; }
@keyframes stickerFloat {
  0%, 100% { transform: rotate(-5deg) translateY(0); }
  50% { transform: rotate(-2.5deg) translateY(-6px); }
}
.sticker-tape {
  position: absolute; top: -8px; left: 50%; z-index: 2;
  width: 54px; height: 17px; transform: translateX(-50%) rotate(7deg);
  background: rgba(227, 211, 174, .9); border-radius: 2px;
  box-shadow: 0 1px 3px rgba(68, 58, 53, .15);
}
.sticker-bubble {
  position: relative; background: #fff; border: 1.5px solid var(--ink);
  border-radius: 16px 16px 16px 3px; padding: .5rem .95rem;
  font-size: .84rem; font-weight: 500; color: var(--ink);
  box-shadow: 3px 3px 0 rgba(68, 58, 53, .14);
}
.sticker-bubble::after {
  content: ""; position: absolute; left: -7px; bottom: 6px;
  width: 10px; height: 10px; background: #fff;
  border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  transform: skewY(24deg) rotate(18deg);
}
/* thẻ lật thật ↔ hoạt hình (điểm giao thoa) */
.flip-wrap { perspective: 1300px; cursor: pointer; }
.flip-inner { position: relative; transform-style: preserve-3d; transition: transform .85s var(--ease); }
.flip-wrap.flipped .flip-inner { transform: rotateY(180deg); }
.flip-face { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip-back { position: absolute; inset: 0; transform: rotateY(180deg); }
.flip-back .arch-frame { outline-style: dashed; }
.flip-tag {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%) rotate(-2deg);
  background: var(--ink); color: #fff; font-size: .68rem; letter-spacing: 1.5px;
  padding: .3rem .8rem; border-radius: 20px; white-space: nowrap;
}
.flip-hint {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: .9rem;
  border: 1.5px dashed var(--rose); background: #fff; color: var(--rose-deep);
  font-size: .74rem; letter-spacing: 1px; padding: .35rem .95rem; border-radius: 20px;
  cursor: pointer; transition: all .3s var(--ease);
}
.flip-hint:hover { background: var(--rose); color: #fff; border-style: solid; }
/* mốc tương lai trên timeline — "tranh vẽ" */
.tl-item .tl-future {
  background: #fff; padding: 9px; transform: rotate(-1.6deg);
  outline: 2px dashed var(--gold); outline-offset: 6px;
  border-radius: 12px;
}
.tl-future-label {
  position: absolute; top: -12px; right: 10px; z-index: 2;
  background: var(--gold); color: #fff; font-size: .66rem; letter-spacing: 2px;
  padding: .25rem .7rem; border-radius: 16px; transform: rotate(2deg);
}
/* mascot ở hộp yêu thương */
.love-mascot {
  width: 116px; height: 116px; object-fit: cover;
  border-radius: 50%; border: 3px solid #fff; box-shadow: var(--shadow-m);
  outline: 1.5px dashed var(--rose); outline-offset: 5px;
  margin: -4.8rem auto 1rem; display: block; position: relative;
  animation: stickerFloat 3.2s ease-in-out infinite;
}

/* ═══════════ FOOTER ═══════════ */
.footer {
  text-align: center; padding: 4.5rem 1.5rem 3.5rem; margin-top: 3rem;
  background: linear-gradient(180deg, var(--ivory), var(--blush) 140%);
  border-top: 1px solid rgba(194, 161, 91, .2);
}
.footer-script { font-family: var(--script); font-size: clamp(2.4rem, 7vw, 3.6rem); color: var(--ink); }
.footer-script span { color: var(--rose); animation: heartbeat 1.6s ease-in-out infinite; display: inline-block; }
@keyframes heartbeat { 0%,100% { transform: scale(1);} 25% { transform: scale(1.25);} 40% { transform: scale(1);} 55% { transform: scale(1.18);} }
.footer-date { letter-spacing: 4px; font-size: .85rem; color: var(--ink-soft); margin: .4rem 0 1rem; }
.footer-thanks { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--ink-soft); }
.footer-credit { margin-top: 1.6rem; font: 400 .72rem/1 ui-monospace, "Cascadia Code", Consolas, monospace; color: #a08e82; letter-spacing: 1px; }

/* ═══════════ TO TOP ═══════════ */
.to-top {
  position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 110;
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: #fff; color: var(--rose); font-size: 1.15rem;
  box-shadow: var(--shadow-m); opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: all .4s var(--ease);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { color: var(--rose-deep); transform: translateY(-3px); }

/* ═══════════ GLIGHTBOX SKIN ═══════════ */
.glightbox-clean .gslide-media { box-shadow: 0 24px 80px rgba(0,0,0,.55); border-radius: 10px; overflow: hidden; }
.goverlay { background: rgba(30, 22, 19, .94); }
.glightbox-clean .gnext, .glightbox-clean .gprev, .glightbox-clean .gclose {
  background: rgba(255, 253, 248, .1); border-radius: 50%;
}
.glightbox-clean .gnext:hover, .glightbox-clean .gprev:hover, .glightbox-clean .gclose:hover { background: rgba(217, 142, 142, .55); }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 860px) {
  section { padding: 5.2rem 1.25rem; }
  .eyebrow { font-size: 1.6rem; }
  .section-sub { margin-bottom: 2.6rem; }
  .couple-grid { grid-template-columns: 1fr; gap: 3.2rem; margin-top: 2.4rem; }
  /* memory theater mobile */
  .theater { height: 72vh; min-height: 450px; width: calc(100% - 1.2rem); border-radius: 22px; }
  .th-ghost { top: 4%; }
  .th-meta { min-width: 108px; }
  .th-cap { font-size: 1rem; }
  .th-btn { width: 36px; height: 36px; }
  .th-hud { gap: .5rem; padding: .4rem .55rem; max-width: 94%; }
  .walk { max-width: 92vw; }
  .love-heart { width: 96px; height: 96px; font-size: 2.4rem; }
  .sticker { flex-direction: column; gap: .7rem; text-align: center; }
  .sticker-bubble { border-radius: 16px 16px 16px 16px; max-width: 78vw; white-space: normal; }
  .sticker-bubble::after { left: 50%; bottom: -7px; transform: translateX(-50%) rotate(-45deg); border-left: none; border-right: 1.5px solid var(--ink); }
  .couple-amp { display: none; }
  .arch-frame { max-width: 340px; margin: 0 auto; }
  .timeline::before { left: 8px; }
  .tl-item { grid-template-columns: 1fr; gap: 1.1rem; padding-left: 2rem; margin-bottom: 3rem; }
  .tl-item::after { left: 8px; top: 8px; transform: translate(-50%, 0); }
  .tl-item:nth-child(even) figure { order: 0; }
  .tl-item:nth-child(even) .tl-text { order: 0; text-align: left; }
  .tl-item figure img { aspect-ratio: 16 / 11; }
  .rsvp-wrap { grid-template-columns: 1fr; padding: 1.6rem; }
  .rsvp-photo { max-width: 300px; margin: 0 auto; }
  .countdown { gap: .9rem; }
  .ring { width: 108px; height: 108px; }
  .ring-val span { font-size: 1.65rem; }
  .ring-val small { font-size: .54rem; letter-spacing: 2px; }
  .rsvp-form .two-col { grid-template-columns: 1fr; }
  .film-track img { height: 130px; }
  .book-controls .btn { padding: .5rem 1rem; font-size: .66rem; }
  .quote-band { height: 52vh; min-height: 340px; margin: 1.5rem 0; }
  .quote-bg img { object-position: center 22%; }
  .quote-text { font-size: 1.05rem; }

  /* ── gói tinh chỉnh mobile toàn trang ── */
  .sticker-img { width: 96px; height: 96px; }
  .hero-content { padding: 4.5rem 1.2rem 3rem; }
  .hero-flourish { width: min(240px, 62vw); }
  .hero-aurora { filter: blur(9px); opacity: .6; }
  /* depth hero mobile: tên 2 bên so le phía trên */
  .hg-name { font-size: clamp(1.75rem, 8vw, 2.7rem); }
  .hg-l { left: 6%; top: 14%; }
  .hg-r { right: 6%; top: 21.5%; }
  .hg-amp2 { top: 17.5%; }
  .hero-cutout { max-height: 74vh; }
  .hero-depth .hero-bar {
    flex-wrap: wrap; justify-content: center; gap: .4rem .8rem;
    width: 92vw; border-radius: 26px; padding: .75rem 1rem; bottom: 1.1rem;
  }
  .hb-date { font-size: .9rem; }
  .hb-city { font-size: .8rem; }
  .hero-depth .hero-bar .btn { padding: .6rem 1.5rem; font-size: .72rem; }
  .hero-depth .hero-pill { top: 1.6rem; white-space: nowrap; }
  .walk { height: 132px; }
  .walk-bubble { white-space: normal; max-width: 148px; font-size: .68rem; }
  .walk-goal { font-size: 1.6rem; }
  .ticket-info span { font-size: .8rem; }
  .stub-cell b { font-size: .7rem; }
  .event-grid { gap: 1rem; }
  .event-card { padding: 2.2rem 1.4rem 2rem; }
  .love-box { grid-template-columns: 1fr; gap: 1.6rem; padding: 2.6rem 1.3rem 2.2rem; }
  .love-chips { gap: .45rem; }
  .love-chip { font-size: .8rem; padding: .5rem .95rem; }
  .wishes { grid-template-columns: 1fr; }
  .footer-script { font-size: 2.1rem; }
  .to-top { width: 42px; height: 42px; }
  /* chống iOS tự zoom khi focus input */
  .rsvp-form input, .rsvp-form select, .rsvp-form textarea,
  .love-form input { font-size: 16px; }
}

/* ═══════════ REDUCED MOTION ═══════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .2s !important; }
  .hero-slide.active { animation: none; transform: none; }
  #petals { display: none; }
}
