/* ═══════════════════════════════════════════════════════════════
   BON VOYAGE — Flight of Love
   Pastel sky, passport, boarding pass & postcards
═══════════════════════════════════════════════════════════════ */
:root {
    --sky: #bfe3f7;
    --sky-deep: #8fcbee;
    --sky-soft: #e6f4fc;
    --cream: #fff8ec;
    --paper: #fffdf8;
    --coral: #ff8a73;
    --coral-deep: #e8644d;
    --pink: #ffc4cf;
    --pink-soft: #ffe6eb;
    --mustard: #f4c95d;
    --mustard-soft: #fff1cc;
    --navy: #2d3a5a;
    --navy-deep: #22304d;
    --ink-soft: #6b7590;
    --line: #eadfcb;
    --display: 'Fraunces', Georgia, serif;
    --mono: 'Space Mono', ui-monospace, monospace;
    --script: 'Pacifico', cursive;
    --hand: 'Caveat', cursive;
    --sans: 'Nunito', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--sans);
    color: var(--navy);
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, .7) 0 60px, transparent 61px),
        radial-gradient(circle at 85% 70%, rgba(255, 255, 255, .55) 0 80px, transparent 81px),
        linear-gradient(180deg, #cfe9f8 0%, #eaf5fc 55%, #fde9e4 100%) fixed;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; height: 100vh; }
img { max-width: 100%; display: block; }
button { font: inherit; }
.mono { font-family: var(--mono); }
.script { font-family: var(--script); font-weight: 400; }

/* ════════════════════════════
   SHARED BITS
════════════════════════════ */
.cl { position: absolute; width: 120px; height: 60px; filter: drop-shadow(0 6px 10px rgba(143, 203, 238, .35)); pointer-events: none; }

.btn-board {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 28px; border: 0; border-radius: 100px; cursor: pointer;
    font-family: var(--sans); font-weight: 800; font-size: 15px; letter-spacing: .02em;
    color: #fff; text-decoration: none;
    background: linear-gradient(180deg, #ff9d88, var(--coral));
    box-shadow: 0 5px 0 var(--coral-deep), 0 12px 24px rgba(232, 100, 77, .3);
    transition: transform .15s, box-shadow .15s;
    -webkit-tap-highlight-color: transparent;
}
.btn-board svg use { filter: brightness(10); }
.btn-board:hover { transform: translateY(-1px); }
.btn-board:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--coral-deep), 0 4px 10px rgba(232, 100, 77, .3); }
.btn-board.small { padding: 11px 22px; font-size: 14px; margin-top: 16px; }
.btn-board.full { width: 100%; }
.btn-board.sent { background: linear-gradient(180deg, #6fd0b4, #3fb495); box-shadow: 0 5px 0 #2f957a, 0 12px 24px rgba(47, 149, 122, .3); }
.btn-board:disabled { cursor: default; }

/* ════════════════════════════
   COVER — PASSPORT
════════════════════════════ */
.intro {
    position: fixed; inset: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(180deg, #a9dbf6 0%, #d4edfb 52%, #ffe3dc 100%);
    overflow: hidden;
    transition: opacity .7s ease .35s;
}
.intro.takeoff { opacity: 0; pointer-events: none; }
.intro.gone { display: none; }

.intro-sky .c1 { top: 9%; left: -30px; width: 150px; height: 75px; animation: drift 26s linear infinite; }
.intro-sky .c2 { top: 22%; right: -20px; width: 110px; height: 55px; animation: drift 32s linear infinite reverse; opacity: .9; }
.intro-sky .c3 { bottom: 14%; left: 6%; width: 130px; height: 65px; animation: drift 38s linear infinite; opacity: .95; }
.intro-sky .c4 { bottom: 4%; right: 4%; width: 170px; height: 85px; animation: drift 30s linear infinite reverse; }
@keyframes drift { 0% { translate: -30px 0; } 50% { translate: 30px 0; } 100% { translate: -30px 0; } }

.intro-mini-plane {
    position: absolute; top: 15%; left: -60px; width: 52px; height: 26px;
    animation: miniFly 11s linear infinite;
}
@keyframes miniFly {
    0% { transform: translate(0, 0) rotate(-4deg); }
    50% { transform: translate(60vw, -18px) rotate(2deg); }
    100% { transform: translate(120vw, 6px) rotate(-4deg); }
}

.intro-stage {
    position: relative; z-index: 2; width: 100%; max-width: 420px;
    padding: 24px 20px; text-align: center;
    display: flex; flex-direction: column; align-items: center;
    transition: transform .85s cubic-bezier(.55, 0, .7, .4);
}
.intro.takeoff .intro-stage { transform: translateY(-115vh) rotate(-8deg); }

.intro-kicker {
    font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--navy);
    background: rgba(255, 255, 255, .7); padding: 6px 14px; border-radius: 100px; margin-bottom: 22px;
}

/* passport */
.passport-wrap {
    --ppw: 220px; --pph: 300px;
    width: var(--ppw); height: var(--pph);
    perspective: 1400px;
    transition: transform 1.1s cubic-bezier(.45, .05, .2, 1);
    animation: ppFloat 4s ease-in-out infinite;
}
@keyframes ppFloat { 0%, 100% { translate: 0 0; rotate: -2deg; } 50% { translate: 0 -8px; rotate: 1deg; } }
.intro.opening .passport-wrap { animation: none; transform: translateX(calc(var(--ppw) * .39)) scale(.78); }
.intro.stamped .passport-wrap { animation: thud .35s ease-out; }
@keyframes thud { 0% { translate: 0 0; } 30% { translate: 0 6px; } 60% { translate: -3px -2px; } 100% { translate: 0 0; } }

.passport { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }

.pp-page {
    position: absolute; inset: 0; border-radius: 6px 14px 14px 6px;
    background:
        repeating-radial-gradient(circle at 70% 40%, rgba(255, 138, 115, .07) 0 2px, transparent 2px 9px),
        linear-gradient(160deg, #fffaf0, #fdeef2);
    box-shadow: 0 18px 36px rgba(45, 58, 90, .22), inset 0 0 0 1px #f0dccf;
    padding: 14px 12px; text-align: left; overflow: hidden;
}
.pp-page-head { display: flex; justify-content: space-between; font-size: 8.5px; letter-spacing: .1em; color: var(--coral-deep); border-bottom: 1px dashed #efcfc6; padding-bottom: 6px; }
.pp-page-body { display: flex; gap: 10px; margin-top: 12px; }
.pp-photo {
    flex: 0 0 66px; height: 84px; border-radius: 8px;
    background: linear-gradient(160deg, var(--sky), var(--pink));
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    border: 2px solid #fff; box-shadow: 0 3px 8px rgba(45, 58, 90, .15);
}
.pp-photo span { font-family: var(--display); font-weight: 700; font-size: 17px; color: #fff; text-shadow: 0 1px 3px rgba(45, 58, 90, .3); }
.pp-fields { min-width: 0; flex: 1; }
.pp-fields dt { font-family: var(--mono); font-size: 7.5px; letter-spacing: .08em; color: var(--ink-soft); text-transform: uppercase; }
.pp-fields dd { font-weight: 800; font-size: 12px; line-height: 1.25; margin-bottom: 6px; overflow-wrap: anywhere; }
.pp-fields dd.pp-guest { font-family: var(--display); font-size: 14px; color: var(--coral-deep); }
.pp-mrz { position: absolute; left: 12px; right: 12px; bottom: 12px; font-size: 9px; letter-spacing: .12em; color: #8a90a6; white-space: nowrap; overflow: hidden; }

.pp-stamp {
    position: absolute; right: 14px; bottom: 44px;
    width: 132px; padding: 8px 6px; text-align: center;
    border: 3px double #e2546f; border-radius: 12px;
    color: #e2546f; transform: rotate(-14deg) scale(2.4); opacity: 0;
    display: flex; flex-direction: column; gap: 1px;
    mix-blend-mode: multiply;
}
.pp-stamp b { font-family: var(--display); font-size: 17px; letter-spacing: .04em; }
.pp-stamp span { font-size: 8px; letter-spacing: .14em; }
.intro.stamped .pp-stamp { animation: stampIn .45s cubic-bezier(.2, 1.4, .4, 1) forwards; }
@keyframes stampIn {
    0% { opacity: 0; transform: rotate(-14deg) scale(2.4); }
    60% { opacity: .95; transform: rotate(-14deg) scale(.92); }
    100% { opacity: .9; transform: rotate(-14deg) scale(1); }
}

.pp-cover {
    position: absolute; inset: 0; transform-origin: left center; transform-style: preserve-3d;
    transition: transform 1.15s cubic-bezier(.5, .05, .25, 1);
}
.intro.opening .pp-cover { transform: rotateY(-168deg); }
.pp-cover-front, .pp-cover-back {
    position: absolute; inset: 0; border-radius: 6px 14px 14px 6px;
    -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.pp-cover-front {
    background:
        radial-gradient(120% 80% at 30% 10%, rgba(255, 255, 255, .22), transparent 60%),
        linear-gradient(160deg, #f59a88, #e9786a);
    box-shadow: 0 18px 36px rgba(45, 58, 90, .28), inset 6px 0 0 rgba(0, 0, 0, .06);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: #fbe7a6; padding: 20px 16px;
}
.pp-cover-front::before {
    content: ''; position: absolute; inset: 9px; border-radius: 4px 10px 10px 4px;
    border: 1.5px dashed rgba(255, 241, 204, .75);
}
.pp-c-top { font-family: var(--mono); font-size: 10px; letter-spacing: .3em; }
.pp-emblem { width: 92px; height: 64px; color: #f7d987; margin: 18px 0 14px; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .15)); }
.pp-c-title { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: .14em; line-height: 1.15; text-align: center; text-shadow: 0 1px 0 rgba(0, 0, 0, .12); }
.pp-c-title small { font-family: var(--script); font-size: 18px; letter-spacing: 0; font-weight: 400; }
.pp-c-names { font-family: var(--script); font-size: 15px; margin-top: 14px; color: #fff8ec; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-chip { position: absolute; bottom: 20px; width: 26px; height: 16px; border-radius: 4px; border: 1.5px solid #f7d987; }
.pp-chip::before { content: ''; position: absolute; inset: 3px 7px; border: 1.5px solid #f7d987; border-radius: 2px; }
.pp-cover-back {
    transform: rotateY(180deg);
    background:
        radial-gradient(circle, rgba(255, 138, 115, .25) 1.5px, transparent 2px) 0 0 / 14px 14px,
        linear-gradient(160deg, #fff3ec, #ffe3dc);
    box-shadow: 0 18px 36px rgba(45, 58, 90, .18), inset 0 0 0 1px #f3d2c7;
}

.intro-guest {
    margin-top: 26px; background: #fff; padding: 12px 22px 14px; border-radius: 16px;
    box-shadow: 0 10px 24px rgba(45, 58, 90, .12); position: relative; max-width: 100%;
    transition: opacity .4s;
}
.intro-guest::before { content: '✈'; position: absolute; top: -12px; left: 50%; translate: -50% 0; width: 24px; height: 24px; line-height: 24px; border-radius: 50%; background: var(--mustard); font-size: 12px; color: var(--navy); }
.intro-guest span { font-size: 12px; color: var(--ink-soft); }
.intro-guest h2 { font-family: var(--display); font-size: 21px; line-height: 1.3; color: var(--navy); overflow-wrap: anywhere; }
.intro.opening .intro-guest, .intro.opening .btn-board, .intro.opening .intro-kicker { opacity: 0; transition: opacity .35s; }

#openBtn { margin-top: 22px; }

/* ════════════════════════════
   MUSIC
════════════════════════════ */
.music-toggle-btn {
    position: fixed; top: calc(16px + env(safe-area-inset-top)); right: 16px; z-index: 1001;
    width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    background: #fff; color: var(--coral-deep); border: 2px solid var(--sky);
    box-shadow: 0 6px 16px rgba(45, 58, 90, .16);
    transition: transform .2s;
}
.music-toggle-btn svg { width: 20px; height: 20px; }
.music-toggle-btn:hover { transform: scale(1.08); }
.music-toggle-btn.playing { box-shadow: none; }
/* pulse ring: compositor-only (transform/opacity) instead of animating box-shadow spread.
   ::after repaints the button face (bg + border) over the ring, ::before is the ring. */
.music-toggle-btn.playing::before,
.music-toggle-btn.playing::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; pointer-events: none; }
.music-toggle-btn.playing::before { inset: -12px; background: rgba(255, 138, 115, .45); opacity: 0; animation: pulse 2s ease-in-out infinite; }
.music-toggle-btn.playing::after { inset: -2px; box-sizing: border-box; background: #fff; border: 2px solid var(--sky); }
@keyframes pulse { 0%, 100% { transform: scale(.697); opacity: 1; } 50% { transform: none; opacity: 0; } }

/* ════════════════════════════
   LAYOUT
════════════════════════════ */
.journey {
    max-width: 520px; margin: 0 auto; background: var(--cream);
    overflow-x: clip; position: relative;
    box-shadow: 0 0 60px rgba(45, 58, 90, .12);
}
section { position: relative; padding: 76px 22px; }
.paper {
    background:
        radial-gradient(rgba(45, 58, 90, .07) 1px, transparent 1.4px) 0 0 / 18px 18px,
        var(--cream);
}

.section-head { text-align: center; margin-bottom: 34px; padding: 0 30px; }
.kicker {
    display: inline-block; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase;
    color: var(--coral-deep); background: #fff; border: 1.5px dashed #ffc2b6;
    padding: 4px 12px; border-radius: 100px; margin-bottom: 12px;
}
.section-title { font-family: var(--display); font-weight: 600; font-size: clamp(27px, 7.6vw, 32px); line-height: 1.15; color: var(--navy); }
.section-title em { font-style: italic; color: var(--coral); font-weight: 600; }
.section-sub { color: var(--ink-soft); font-size: 14px; margin-top: 6px; }

/* reveal */
[data-reveal] { opacity: 0; translate: 0 28px; transition: opacity .8s ease, translate .9s cubic-bezier(.2, .8, .2, 1); }
[data-reveal].in { opacity: 1; translate: 0 0; }

/* ════════════════════════════
   HERO
════════════════════════════ */
.hero {
    min-height: 100vh; min-height: 100svh; padding: 0 22px 90px;
    display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
    background: linear-gradient(180deg, #9fd4f3 0%, #c8e8fa 45%, #fde4df 100%);
    overflow: hidden; text-align: center;
}
.hero-sky { position: absolute; inset: 0; pointer-events: none; }
.sun { position: absolute; top: 5%; left: 12%; width: 74px; height: 74px; border-radius: 50%; background: radial-gradient(circle, #fff6cf 0 45%, #ffe39a 70%, rgba(255, 227, 154, 0) 72%); box-shadow: 0 0 60px 20px rgba(255, 233, 170, .55); }
.hc1 { top: 10%; left: -34px; width: 140px; height: 70px; animation: drift 22s ease-in-out infinite; }
.hc2 { top: 30%; right: -30px; width: 160px; height: 80px; animation: drift 28s ease-in-out infinite reverse; }
.hc3 { top: 47%; left: 8%; width: 90px; height: 45px; opacity: .85; animation: drift 34s ease-in-out infinite; }
.hc4 { top: 41%; left: 36%; width: 90px; height: 45px; opacity: .8; animation: drift 26s ease-in-out infinite; }
.balloon { position: absolute; width: 54px; height: 81px; filter: drop-shadow(0 8px 12px rgba(45, 58, 90, .15)); }
.balloon.b1 { top: 36%; right: 12%; animation: bob 5s ease-in-out infinite; }
.balloon.b2 { top: 50%; left: 9%; width: 34px; height: 51px; opacity: .85; animation: bob 6.5s ease-in-out infinite reverse; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(3deg); } }

.sky-banner {
    position: absolute; top: 19%; left: 50%; z-index: 2;
    display: flex; align-items: center;
    transform: translateX(-50%);
}
body.opened .sky-banner { animation: bannerIn 2.6s cubic-bezier(.25, .8, .3, 1) both; }
.sky-banner > * { flex-shrink: 0; }
.banner-cloth {
    position: relative;
    max-width: 56vw;
    background: linear-gradient(180deg, #ffd3db, var(--pink));
    padding: 8px 18px 9px 26px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 12px 50%);
    animation: cloth 1.6s ease-in-out infinite;
    transform-origin: right center;
}
.banner-cloth span { display: block; font-family: var(--script); font-size: 17px; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.banner-cloth i { font-style: normal; color: #e2546f; }
@keyframes cloth { 0%, 100% { transform: skewY(0deg); } 50% { transform: skewY(-2deg); } }
.banner-rope { width: 34px; height: 18px; margin-left: -1px; }
.banner-plane { width: 92px; height: 46px; margin-left: -4px; animation: planeBob 2.4s ease-in-out infinite; }
@keyframes planeBob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-6px) rotate(2deg); } }
@keyframes bannerIn {
    0% { transform: translateX(-160vw) translateY(40px) rotate(-6deg); }
    100% { transform: translateX(-50%) translateY(0) rotate(0); }
}

.hero-text { position: relative; z-index: 3; }
.hero-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); opacity: .75; }
.hero-title { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 12vw, 54px); line-height: 1.05; margin-top: 10px; color: var(--navy); }
.hero-title em { color: var(--coral); font-style: italic; }
.hero-names { font-size: clamp(24px, 7.4vw, 32px); color: #e2546f; margin-top: 8px; line-height: 1.4; overflow-wrap: anywhere; }
.flight-chip {
    display: inline-block; margin-top: 16px; padding: 7px 14px; border-radius: 100px;
    font-size: 10px; letter-spacing: .1em; background: rgba(255, 255, 255, .85);
    border: 1.5px dashed var(--sky-deep);
}
.hero-date { margin-top: 12px; font-weight: 800; font-size: 15px; }

body.opened .hero-text > * { animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; }
body.opened .hero-text > :nth-child(1) { animation-delay: .5s; }
body.opened .hero-text > :nth-child(2) { animation-delay: .62s; }
body.opened .hero-text > :nth-child(3) { animation-delay: .74s; }
body.opened .hero-text > :nth-child(4) { animation-delay: .86s; }
body.opened .hero-text > :nth-child(5) { animation-delay: .98s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.scroll-hint { position: absolute; bottom: 44px; left: 50%; translate: -50% 0; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.scroll-hint i { width: 18px; height: 28px; border: 2px solid var(--navy); border-radius: 12px; position: relative; }
.scroll-hint i::after { content: ''; position: absolute; top: 5px; left: 50%; width: 4px; height: 6px; margin-left: -2px; border-radius: 2px; background: var(--coral); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }
.hero { padding-bottom: 130px; }
.cloud-edge { position: absolute; left: 0; bottom: -1px; width: 100%; height: 40px; z-index: 2; }

/* ════════════════════════════
   ROUTE & COUPLE
════════════════════════════ */
.route-card {
    background: #fff; border-radius: 22px; padding: 18px 16px 10px;
    box-shadow: 0 14px 30px rgba(45, 58, 90, .08);
    border: 1.5px solid #f1e6d4;
}
.route-codes { display: flex; justify-content: space-between; align-items: flex-start; }
.apt b { display: block; font-size: 30px; line-height: 1; color: var(--navy); }
.apt small { display: block; font-size: 12px; color: var(--ink-soft); margin-top: 4px; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.apt.right { text-align: right; }
.route-meta { font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); text-align: center; padding-top: 4px; }
.route-meta b { font-family: var(--script); text-transform: none; letter-spacing: 0; color: var(--coral); font-weight: 400; font-size: 15px; }
.route-svg { display: block; width: 100%; height: auto; margin-top: -8px; overflow: visible; }

.announce {
    margin-top: 22px; padding: 18px 18px 16px; border-radius: 18px;
    background: var(--mustard-soft); border: 2px dashed #ecc66a; position: relative;
}
.announce-head { display: flex; align-items: center; gap: 8px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #a07a1e; }
.ding { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; font-size: 14px; animation: ding 3s ease-in-out infinite; }
@keyframes ding { 0%, 85%, 100% { rotate: 0deg; } 88% { rotate: 16deg; } 92% { rotate: -14deg; } 96% { rotate: 8deg; } }
.announce-text { font-family: var(--display); font-style: italic; font-size: 15.5px; line-height: 1.65; margin-top: 10px; color: var(--navy); }
.announce-src { font-size: 11px; margin-top: 8px; color: #a07a1e; }

.passports { margin-top: 30px; display: flex; flex-direction: column; align-items: stretch; }
.pp-card {
    position: relative; border-radius: 16px; overflow: hidden;
    background:
        repeating-radial-gradient(circle at 85% 30%, rgba(255, 138, 115, .08) 0 2px, transparent 2px 10px),
        linear-gradient(160deg, #fffaf2, #fdecf0);
    border: 1.5px solid #f3d7d0;
    box-shadow: 0 14px 30px rgba(45, 58, 90, .09);
    padding: 0 0 12px;
}
.pp-card.bride {
    background:
        repeating-radial-gradient(circle at 15% 30%, rgba(143, 203, 238, .14) 0 2px, transparent 2px 10px),
        linear-gradient(160deg, #f7fbff, #e3f2fc);
    border-color: #cde6f5;
}
.pp-card-head { display: flex; justify-content: space-between; gap: 8px; padding: 10px 14px; font-size: 9px; letter-spacing: .12em; color: #fff; background: var(--coral); }
.pp-card.bride .pp-card-head { background: var(--sky-deep); }
.pp-card-body { display: flex; gap: 14px; padding: 16px 14px 8px; }
.pp-card-photo {
    flex: 0 0 86px; height: 108px; border-radius: 10px; border: 3px solid #fff;
    background: linear-gradient(160deg, var(--pink), var(--mustard));
    display: grid; place-items: center; box-shadow: 0 4px 10px rgba(45, 58, 90, .14);
}
.pp-card.bride .pp-card-photo { background: linear-gradient(160deg, var(--sky), var(--pink)); }
.pp-card-photo span { font-family: var(--script); font-size: 44px; color: #fff; text-shadow: 0 2px 6px rgba(45, 58, 90, .25); line-height: 1; }
.pp-card dl { min-width: 0; padding-right: 60px; }
.pp-card dt { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.pp-card dd { font-size: 13.5px; line-height: 1.45; margin-bottom: 8px; }
.pp-card dd.pp-card-name { font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.2; overflow-wrap: anywhere; }
.pp-card-mrz { margin: 6px 14px 0; font-size: 10px; letter-spacing: .12em; color: #9aa0b4; white-space: nowrap; overflow: hidden; }

.visa {
    position: absolute; right: 12px; bottom: 34px; width: 74px; height: 74px; border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    border: 3px double; rotate: -16deg; opacity: .85; mix-blend-mode: multiply;
}
.visa b { font-family: var(--display); font-size: 14px; letter-spacing: .06em; }
.visa span { font-size: 9px; letter-spacing: .1em; }
.visa.v1 { color: #e2546f; }
.visa.v2 { color: #3e8fc4; rotate: 12deg; border-radius: 14px; }
.pp-card.in .visa { animation: visaIn .5s cubic-bezier(.2, 1.4, .4, 1) .45s both; }
@keyframes visaIn { from { opacity: 0; scale: 2; } to { opacity: .85; scale: 1; } }

.pp-and { align-self: center; width: 46px; height: 46px; margin: -10px 0; z-index: 2; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(45, 58, 90, .14); border: 2px solid var(--pink); }
.pp-and svg { width: 22px; height: 22px; fill: #e2546f; animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 0%, 100% { scale: 1; } 15% { scale: 1.25; } 30% { scale: 1; } 45% { scale: 1.15; } }

/* ════════════════════════════
   DEPARTURE BOARD
════════════════════════════ */
.board-section { background: linear-gradient(180deg, #c6e7f9, #e9f6fd); overflow: hidden; }
.bs1 { top: 30px; left: -40px; width: 150px; height: 75px; animation: drift 24s ease-in-out infinite; }
.bs2 { bottom: 20px; right: -30px; width: 130px; height: 65px; animation: drift 30s ease-in-out infinite reverse; }
.board {
    position: relative; z-index: 1;
    background: linear-gradient(180deg, #2a3961, var(--navy-deep));
    border-radius: 20px; padding: 16px 18px 18px; color: #fff8ec;
    box-shadow: 0 18px 36px rgba(34, 48, 77, .3), inset 0 0 0 2px #3a4b75;
}
.board::before, .board::after { content: ''; position: absolute; top: -26px; width: 3px; height: 28px; background: #9aa6c4; }
.board::before { left: 22%; } .board::after { right: 22%; }
.board-top { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .14em; color: var(--mustard); padding-bottom: 10px; border-bottom: 1px solid #3a4b75; }
.board-clock { color: #fff8ec; }
.board-row { display: grid; grid-template-columns: 1.3fr 1fr .6fr; gap: 6px; font-size: 12px; padding: 8px 0; border-bottom: 1px dashed #3a4b75; }
.board-row.head { font-size: 9.5px; letter-spacing: .14em; color: #8f9cc0; padding-bottom: 4px; }
.board-row span:last-child { text-align: right; }

.flaps { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 12px; margin: 22px 0 16px; }
.flap-unit { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.flap-unit small { font-size: 9px; letter-spacing: .16em; color: #8f9cc0; }
.flap-digits { display: flex; gap: 3px; }
.flap {
    position: relative; display: inline-block; width: 26px; height: 40px;
    perspective: 220px; font-family: var(--mono); font-weight: 700; font-size: 25px; color: #fff8ec;
}
.flap > span { position: absolute; left: 0; right: 0; height: 50%; overflow: hidden; background: #3a4c78; }
.flap i { display: block; height: 40px; line-height: 40px; text-align: center; font-style: normal; }
.f-top, .f-flip-top { top: 0; border-radius: 5px 5px 0 0; }
.f-bot, .f-flip-bot { bottom: 0; border-radius: 0 0 5px 5px; background: #34456e !important; }
.f-bot i, .f-flip-bot i { margin-top: -20px; }
.f-flip-top, .f-flip-bot { visibility: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; z-index: 2; }
.f-flip-top { transform-origin: 50% 100%; }
.f-flip-bot { transform-origin: 50% 0; transform: rotateX(90deg); }
.flap.flipping .f-flip-top { visibility: visible; animation: flipTop .28s ease-in forwards; }
.flap.flipping .f-flip-bot { visibility: visible; animation: flipBot .28s ease-out .28s forwards; }
@keyframes flipTop { from { transform: rotateX(0); } to { transform: rotateX(-90deg); } }
@keyframes flipBot { from { transform: rotateX(90deg); } to { transform: rotateX(0); } }
.flap::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: #1a2440; z-index: 3; }

.board-status { text-align: center; font-size: 12px; letter-spacing: .12em; color: #8f9cc0; }
.board-status b { color: #7ee2a8; }
.blink { animation: blink 1.4s steps(2, start) infinite; }
@keyframes blink { 50% { opacity: .35; } }

/* ════════════════════════════
   BOARDING PASSES
════════════════════════════ */
.printer { position: relative; margin-bottom: 34px; }
.printer[data-reveal] { translate: none; }
.printer-slot {
    position: relative; z-index: 3; height: 16px; margin: 0 -6px; border-radius: 10px;
    background: linear-gradient(180deg, #4a5a80, var(--navy));
    box-shadow: 0 6px 12px rgba(45, 58, 90, .2);
}
.printer-slot::after { content: ''; position: absolute; left: 14px; right: 14px; top: 9px; height: 3px; border-radius: 2px; background: #141c30; }
.bpass {
    position: relative; margin: -6px 6px 0; background: #fff; border-radius: 0 0 20px 20px;
    box-shadow: 0 16px 30px rgba(45, 58, 90, .12);
    clip-path: inset(0 -30px 100% -30px);
}
.printer.in .bpass { animation: printOut 1.5s cubic-bezier(.3, .7, .3, 1) .15s both; }
@keyframes printOut {
    from { clip-path: inset(0 -30px 100% -30px); transform: translateY(-60px); }
    to { clip-path: inset(0 -30px -60px -30px); transform: translateY(0); }
}
.bpass-head {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 18px 12px; color: #fff; font-size: 10px; letter-spacing: .14em;
    background: linear-gradient(120deg, var(--coral), #ff9fb0);
}
.bpass.alt .bpass-head { background: linear-gradient(120deg, #74bfe9, #a3a6f0); }
.airline { display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .06em; }
.bpass-main { padding: 14px 18px 8px; }
.bpass-type { font-family: var(--script); font-size: 26px; color: var(--coral); line-height: 1.3; }
.bpass.alt .bpass-type { color: #5a9fd6; }
.bpass-route { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0 14px; }
.bpass-route b { display: block; font-size: 32px; line-height: 1; }
.bpass-route small { display: block; font-size: 11.5px; color: var(--ink-soft); max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bpass-route .right { text-align: right; }
.bpass-plane { flex: 1; display: flex; align-items: center; gap: 4px; }
.bpass-plane i { flex: 1; border-top: 2px dashed #d7cbb8; }
.bpass-plane svg { width: 40px; height: 20px; flex-shrink: 0; }
.bpass-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 10px; }
.bpass-grid .wide { grid-column: 1 / -1; }
.bpass-grid .span2 { grid-column: span 2; }
.bpass-grid dt { font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.bpass-grid dd { font-weight: 800; font-size: 14px; line-height: 1.35; }
.bpass-grid dd small { font-size: 10px; font-weight: 700; color: var(--ink-soft); }
.bpass-perf {
    position: relative; height: 26px; margin: 8px 0 0;
    background: linear-gradient(90deg, #d7cbb8 55%, transparent 0) center / 12px 2px repeat-x;
    background-origin: content-box; padding: 0 18px;
}
.bpass-perf::before, .bpass-perf::after { content: ''; position: absolute; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--cream); box-shadow: inset 0 0 0 1px #f1e6d4; }
.bpass-perf::before { left: -13px; } .bpass-perf::after { right: -13px; }
.bpass-stub { padding: 8px 18px 20px; display: flex; flex-direction: column; gap: 14px; align-items: stretch; transform-origin: 0 0; }
.barcode {
    height: 46px; border-radius: 4px;
    background:
        repeating-linear-gradient(90deg, var(--navy) 0 2px, transparent 2px 5px, var(--navy) 5px 6px, transparent 6px 9px, var(--navy) 9px 12px, transparent 12px 14px, var(--navy) 14px 15px, transparent 15px 19px);
    opacity: .85;
}
.stub-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 16px; border-radius: 14px; cursor: pointer;
    background: var(--pink-soft); color: #d84a63; border: 2px dashed #ffa9b9;
    font-weight: 800; font-size: 14px; transition: background .2s, transform .15s;
}
.bpass.alt .stub-btn { background: #e7f4fd; color: #3e8fc4; border-color: #9fd0ef; }
.stub-btn:active { transform: scale(.97); }
.bpass.torn .bpass-stub { animation: tear .5s ease-in-out; }
@keyframes tear { 0% { rotate: 0deg; } 30% { rotate: 3deg; translate: 0 6px; } 60% { rotate: -2deg; translate: 0 3px; } 100% { rotate: 0deg; translate: 0 0; } }

/* ════════════════════════════
   LOCATION — LUGGAGE TAG
════════════════════════════ */
.location-section { background: linear-gradient(180deg, var(--cream), #fdeee8); }
.tag-wrap { position: relative; padding-top: 52px; filter: drop-shadow(0 16px 24px rgba(45, 58, 90, .14)); }
.tag-string { position: absolute; top: 0; left: 50%; width: 120px; height: 70px; translate: -50% 0; z-index: 2; overflow: visible; }
.tag {
    position: relative; text-align: center;
    background:
        radial-gradient(rgba(160, 122, 30, .08) 1px, transparent 1.4px) 0 0 / 10px 10px,
        #fde7b0;
    padding: 46px 18px 22px;
    clip-path: polygon(20% 0, 80% 0, 100% 8%, 100% 100%, 0 100%, 0 8%);
    border-radius: 0 0 18px 18px;
}
.tag-eyelet { position: absolute; top: 14px; left: 50%; translate: -50% 0; width: 24px; height: 24px; border-radius: 50%; background: var(--cream); box-shadow: 0 0 0 5px #e9c46a, inset 0 2px 3px rgba(0, 0, 0, .15); }
.tag-label { font-size: 10px; letter-spacing: .2em; color: #a07a1e; }
.tag-code { font-size: 40px; font-weight: 700; line-height: 1.1; margin-top: 4px; letter-spacing: .04em; }
.tag-code span { color: #e2546f; font-size: 26px; margin: 0 8px; vertical-align: middle; }
.tag-place { font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.3; margin-top: 10px; }
.tag-address { font-size: 13.5px; color: #6c5a3a; margin-top: 6px; }
.leaflet-map { height: 220px; border-radius: 14px; margin-top: 16px; border: 4px solid #fff; z-index: 1; }
.map-embed-placeholder { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 16px; padding: 30px; border-radius: 14px; background: #fff8ec; color: var(--navy); text-decoration: none; border: 2px dashed #e9c46a; font-weight: 700; }
.tag-barcode { height: 26px; margin: 20px 20px 0; background: repeating-linear-gradient(90deg, #6c5a3a 0 2px, transparent 2px 4px, #6c5a3a 4px 7px, transparent 7px 9px); opacity: .5; border-radius: 3px; }
.bv-pin span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--coral); color: #fff; font-size: 16px; box-shadow: 0 4px 10px rgba(232, 100, 77, .45); border: 2px solid #fff; }
.bv-pin span i { rotate: 45deg; font-style: normal; }

/* ════════════════════════════
   GALLERY — POSTCARDS
════════════════════════════ */
.postcards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 16px; padding: 0 4px; }
.postcard {
    position: relative; padding: 7px 7px 32px; border-radius: 6px; cursor: pointer;
    background: repeating-linear-gradient(-45deg, var(--coral) 0 9px, #fff 9px 16px, var(--sky-deep) 16px 25px, #fff 25px 32px);
    box-shadow: 0 10px 22px rgba(45, 58, 90, .13);
    rotate: -3deg; transition: opacity .8s, translate .9s cubic-bezier(.2, .8, .2, 1), rotate .4s, scale .3s;
}
.postcard:nth-child(2n) { rotate: 2.5deg; margin-top: 18px; margin-bottom: -18px; }
.postcard:nth-child(3n) { rotate: 1.5deg; }
.postcard:hover { scale: 1.03; rotate: 0deg; }
.postcard.placeholder { cursor: default; }
.pc-cap { position: absolute; left: 50%; bottom: 7px; translate: -50% 0; background: #fff; padding: 2px 10px; border-radius: 100px; font-size: 9px; letter-spacing: .16em; color: var(--navy); white-space: nowrap; }
.pc-photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px; border: 4px solid #fff; background: var(--sky-soft); position: relative; display: grid; place-items: center; }
.pc-photo img { width: 100%; height: 100%; object-fit: cover; }
.pc-stamp {
    position: absolute; top: 17px; right: 17px; width: 34px; height: 40px; display: grid; place-items: center;
    background: #fff;
    -webkit-mask: radial-gradient(circle 2.6px at 50% 50%, transparent 98%, #000) -3px -3px / 6px 6px, linear-gradient(#000 0 0) 3px 3px / calc(100% - 6px) calc(100% - 6px) no-repeat;
    mask: radial-gradient(circle 2.6px at 50% 50%, transparent 98%, #000) -3px -3px / 6px 6px, linear-gradient(#000 0 0) 3px 3px / calc(100% - 6px) calc(100% - 6px) no-repeat;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
}
.pc-stamp svg { width: 16px; height: 16px; fill: var(--coral); }
.pc-postmark {
    position: absolute; top: 30px; right: 40px; width: 46px; height: 46px; border-radius: 50%;
    border: 1.5px solid rgba(45, 58, 90, .45); opacity: .7; pointer-events: none;
}
.pc-postmark::after {
    content: ''; position: absolute; top: 12px; left: 20px; width: 50px; height: 22px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 22'%3E%3Cpath d='M0 3 q6 -4 12 0 t12 0 t12 0 t12 0 M0 11 q6 -4 12 0 t12 0 t12 0 t12 0 M0 19 q6 -4 12 0 t12 0 t12 0 t12 0' fill='none' stroke='%232d3a5a' stroke-opacity='.45' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat;
}
.postcard.placeholder .pc-photo span { position: relative; z-index: 1; font-size: 17px; color: #fff; text-shadow: 0 2px 6px rgba(45, 58, 90, .25); text-align: center; padding: 0 6px; }
.ph-cloud { position: absolute; width: 74px; height: 37px; top: 22%; left: 12%; opacity: .9; }
.ph0 .pc-photo { background: linear-gradient(160deg, #ffc4cf, #ffe3c2); }
.ph1 .pc-photo { background: linear-gradient(160deg, #a9dbf6, #d8d4fb); }
.ph2 .pc-photo { background: linear-gradient(160deg, #fbd78a, #ffb3a6); }
.ph3 .pc-photo { background: linear-gradient(160deg, #bfe8d6, #a9dbf6); }
.ph4 .pc-photo { background: linear-gradient(160deg, #d8c7fb, #ffc4cf); }
.ph5 .pc-photo { background: linear-gradient(160deg, #ff9f8c, #fbd78a); }

.gallery-lightbox { position: fixed; inset: 0; z-index: 3000; display: none; align-items: center; justify-content: center; background: rgba(34, 48, 77, .92); opacity: 0; transition: opacity .3s; }
.lb-img-wrap { max-width: 92vw; max-height: 80vh; background: #fff; padding: 10px 10px 36px; border-radius: 4px; box-shadow: 0 20px 50px rgba(0, 0, 0, .4); }
.lb-img-wrap img { max-width: calc(92vw - 20px); max-height: calc(80vh - 46px); object-fit: contain; }
.lb-close, .lb-prev, .lb-next { position: absolute; border: 0; cursor: pointer; background: rgba(255, 255, 255, .15); color: #fff; border-radius: 50%; width: 44px; height: 44px; font-size: 22px; display: grid; place-items: center; }
.lb-close { top: 18px; right: 18px; font-size: 18px; }
.lb-prev { left: 12px; top: 50%; translate: 0 -50%; font-size: 30px; }
.lb-next { right: 12px; top: 50%; translate: 0 -50%; font-size: 30px; }
.lb-counter { position: absolute; bottom: 22px; color: #fff; font-size: 12px; letter-spacing: .14em; }

/* ════════════════════════════
   GIFT (injected partial)
════════════════════════════ */
.gift-wrap { background: linear-gradient(180deg, #fdeee8, var(--sky-soft)); }
.gift-wrap #gift-section { background: transparent !important; }

/* ════════════════════════════
   RSVP — CHECK-IN COUNTER
════════════════════════════ */
.rsvp-section { padding-bottom: 30px; background: linear-gradient(180deg, var(--sky-soft), var(--cream) 40%); }
.counter { position: relative; background: #fff; border-radius: 22px; box-shadow: 0 18px 36px rgba(45, 58, 90, .1); overflow: hidden; border: 1.5px solid #e5eef5; }
.counter-sign { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: var(--navy); color: var(--mustard); font-size: 12px; letter-spacing: .2em; }
.counter-light { width: 10px; height: 10px; border-radius: 50%; background: #7ee2a8; box-shadow: 0 0 10px #7ee2a8; animation: blink 1.6s steps(2, start) infinite; }
.checkin-form { padding: 20px 18px 22px; display: flex; flex-direction: column; gap: 16px; }
.field > label { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 7px; }
.field input[type=text], .field textarea {
    width: 100%; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--line);
    background: var(--cream); color: var(--navy); font-family: var(--sans); font-size: 15px; resize: vertical;
    transition: border-color .2s, box-shadow .2s;
}
.field input[type=text]:focus, .field textarea:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 4px rgba(255, 138, 115, .18); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 15px; border-radius: 100px; border: 2px solid var(--line); font-weight: 700; font-size: 13.5px; background: #fff; transition: all .2s; }
.chip input:checked + span { background: var(--coral); border-color: var(--coral); color: #fff; box-shadow: 0 4px 10px rgba(255, 138, 115, .35); }
.chip input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }

.checkin-stamp {
    position: absolute; top: 46%; left: 50%; width: 236px; white-space: nowrap; padding: 10px; text-align: center;
    border: 4px double #2f9d8a; border-radius: 14px; color: #2f9d8a; background: rgba(255, 255, 255, .7);
    display: flex; flex-direction: column; opacity: 0; pointer-events: none;
    transform: translate(-50%, -50%) rotate(-12deg) scale(2.2);
}
.checkin-stamp b { font-family: var(--display); font-size: 25px; letter-spacing: .06em; }
.checkin-stamp span { font-size: 10px; letter-spacing: .16em; }
.checkin-stamp.show { animation: checkin 2.8s cubic-bezier(.2, 1.3, .4, 1) forwards; }
@keyframes checkin {
    0% { opacity: 0; transform: translate(-50%, -50%) rotate(-12deg) scale(2.2); }
    14% { opacity: 1; transform: translate(-50%, -50%) rotate(-12deg) scale(.94); }
    20%, 80% { opacity: 1; transform: translate(-50%, -50%) rotate(-12deg) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) rotate(-12deg) scale(1); }
}

.wishes-head { text-align: center; margin: 44px 0 18px; padding: 0 30px; }
.wishes-head h3 { font-size: 23px; color: var(--navy); font-weight: 400; }
.wishes-list { display: flex; flex-direction: column; gap: 16px; max-height: 620px; overflow-y: auto; padding: 4px 4px 10px; scrollbar-width: thin; }
.wish-item {
    display: grid; grid-template-columns: 1fr 104px; gap: 0; flex-shrink: 0;
    background: var(--paper); border-radius: 6px; border: 1px solid #efe4d2;
    box-shadow: 0 6px 14px rgba(45, 58, 90, .07);
    position: relative; overflow: hidden;
}
.wish-item::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; background: repeating-linear-gradient(-45deg, #ff8a73 0 8px, #fff 8px 16px, #8fcbee 16px 24px, #fff 24px 32px); }
.wish-item.new { animation: wishIn .6s cubic-bezier(.2, 1.2, .4, 1); }
@keyframes wishIn { from { opacity: 0; transform: translateY(-14px) rotate(-2deg); } to { opacity: 1; transform: none; } }
.wish-body { padding: 18px 14px 14px; border-right: 1.5px dashed #e3d6c0; }
.wish-message {
    font-family: var(--hand); font-size: 20px; line-height: 26px; color: var(--navy);
    background: repeating-linear-gradient(180deg, transparent 0 25px, #ece2d0 25px 26px);
    overflow-wrap: anywhere;
}
.wish-side { padding: 16px 10px 12px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.wish-avatar {
    width: 40px; height: 46px; display: grid; place-items: center; margin-bottom: 4px;
    font-family: var(--script); font-size: 20px; color: #fff;
    background: linear-gradient(160deg, var(--coral), #ffb3c1);
    -webkit-mask: radial-gradient(circle 2.6px at 50% 50%, transparent 98%, #000) -3px -3px / 6px 6px, linear-gradient(#000 0 0) 3px 3px / calc(100% - 6px) calc(100% - 6px) no-repeat;
    mask: radial-gradient(circle 2.6px at 50% 50%, transparent 98%, #000) -3px -3px / 6px 6px, linear-gradient(#000 0 0) 3px 3px / calc(100% - 6px) calc(100% - 6px) no-repeat;
}
.wish-item:nth-child(3n+2) .wish-avatar { background: linear-gradient(160deg, #74bfe9, #a3a6f0); }
.wish-item:nth-child(3n+3) .wish-avatar { background: linear-gradient(160deg, #f4c95d, #ff9f8c); }
.wish-name { font-weight: 800; font-size: 13px; line-height: 1.25; overflow-wrap: anywhere; }
.wish-badge { font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 100px; }
.wish-badge.hadir { background: #dff5ea; color: #2f9d8a; }
.wish-badge.tidak { background: #ffe4e4; color: #d84a63; }
.wish-badge.ragu { background: var(--mustard-soft); color: #a07a1e; }
.wish-time { font-size: 9.5px; color: var(--ink-soft); }
.wish-empty { text-align: center; padding: 26px 16px; border: 2px dashed var(--line); border-radius: 16px; color: var(--ink-soft); font-size: 14px; display: flex; flex-direction: column; align-items: center; gap: 8px; }

/* ════════════════════════════
   FOOTER
════════════════════════════ */
.footer {
    position: relative; text-align: center; padding: 0 24px 46px; overflow: hidden;
    background: linear-gradient(180deg, var(--cream) 0%, #ffe1d6 35%, #fbd3dc 70%, #d8c7fb 100%);
}
.footer-sky { position: relative; height: 170px; margin: 0 -24px; }
.fc1 { top: 30px; left: 6%; width: 110px; height: 55px; animation: drift 24s ease-in-out infinite; }
.fc2 { top: 80px; right: 4%; width: 140px; height: 70px; animation: drift 28s ease-in-out infinite reverse; }
.contrail { position: absolute; inset: 0; pointer-events: none; }
.contrail .ch { position: absolute; width: 12px; height: 12px; fill: #ff6f8f; animation: trailFade 2.6s ease-out forwards; }
@keyframes trailFade { 0% { opacity: .95; scale: .4; } 25% { scale: 1; } 100% { opacity: 0; scale: .7; translate: 0 10px; } }
.footer-plane { position: absolute; left: -90px; top: 120px; width: 80px; height: 40px; rotate: -12deg; }
.footer.in .footer-plane { animation: flyOff 3.6s cubic-bezier(.45, .1, .55, .9) forwards; }
@keyframes flyOff {
    0% { left: -90px; top: 130px; rotate: -10deg; }
    100% { left: calc(100% + 40px); top: 6px; rotate: -16deg; }
}
.footer-thanks { font-size: 38px; color: #e2546f; line-height: 1.3; }
.footer-sub { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--coral-deep); margin-top: 2px; }
.footer-copy { font-size: 14px; color: var(--navy); max-width: 380px; margin: 10px auto 0; opacity: .85; }
.footer-names { font-family: var(--display); font-weight: 700; font-size: 28px; margin-top: 22px; line-height: 1.2; overflow-wrap: anywhere; }
.footer-names em { color: var(--coral); }
.footer-flight { font-size: 11px; letter-spacing: .16em; margin-top: 10px; color: var(--ink-soft); }
.footer-credit { font-size: 12px; margin-top: 30px; color: var(--navy); opacity: .7; }
body.has-qr .footer { padding-bottom: 110px; }

/* ════════════════════════════
   DESKTOP & MOTION
════════════════════════════ */
@media (min-width: 600px) {
    .passport-wrap { --ppw: 250px; --pph: 340px; }
    section { padding: 88px 34px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    [data-reveal] { opacity: 1; translate: none; }
    .bpass { clip-path: none; }
}
