/* ═══════════════════════════════════════════════════════════════
   SWEET PATISSERIE — Pâtisserie de l'Amour
   A dreamy Parisian cake shop; the wedding cake builds as you scroll.
═══════════════════════════════════════════════════════════════ */
:root {
    --pink: #f6c9d0;
    --pink-deep: #e0889b;
    --pink-soft: #fde9ec;
    --pista: #c9dfb8;
    --pista-deep: #86ab77;
    --pista-soft: #edf5e6;
    --vanilla: #fff8ec;
    --cream: #fdf2e3;
    --lav: #d9cbf2;
    --lav-deep: #a68fd9;
    --lav-soft: #f2ecfc;
    --butter: #f8e19a;
    --butter-soft: #fdf4d6;
    --choco: #5a3a31;
    --choco-soft: #8a6458;
    --gold: #c9a35a;
    --gold-light: #ead39c;
    --foil: linear-gradient(120deg, #b8893e 0%, #f3e0a6 38%, #c9a35a 58%, #f6e7b8 82%, #c9a35a 100%);
    --display: 'Fraunces', Georgia, serif;
    --script: 'Parisienne', cursive;
    --sans: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow: 0 18px 38px -20px rgba(90, 58, 49, .45);
    --shadow-soft: 0 10px 24px -16px rgba(90, 58, 49, .4);
    --sprinkles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg stroke-linecap='round' stroke-width='3.2' opacity='.55'%3E%3Cpath d='M14 18l7 4' stroke='%23f2b4c0'/%3E%3Cpath d='M62 12l-3 7' stroke='%23c9dfb8'/%3E%3Cpath d='M98 30l6 5' stroke='%23d9cbf2'/%3E%3Cpath d='M30 62l-6 4' stroke='%23f8e19a'/%3E%3Cpath d='M80 70l3 7' stroke='%23f2b4c0'/%3E%3Cpath d='M108 92l-7 2' stroke='%23c9dfb8'/%3E%3Cpath d='M46 100l7-3' stroke='%23d9cbf2'/%3E%3Cpath d='M10 104l4 6' stroke='%23f2b4c0'/%3E%3C/g%3E%3Cg fill='%23e8cf94' opacity='.6'%3E%3Ccircle cx='40' cy='34' r='1.6'/%3E%3Ccircle cx='90' cy='52' r='1.6'/%3E%3Ccircle cx='66' cy='92' r='1.6'/%3E%3C/g%3E%3C/svg%3E");
    --doily: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50.00 6.00A6.20 6.20 0 0 1 61.39 7.50A6.20 6.20 0 0 1 72.00 11.89A6.20 6.20 0 0 1 81.11 18.89A6.20 6.20 0 0 1 88.11 28.00A6.20 6.20 0 0 1 92.50 38.61A6.20 6.20 0 0 1 94.00 50.00A6.20 6.20 0 0 1 92.50 61.39A6.20 6.20 0 0 1 88.11 72.00A6.20 6.20 0 0 1 81.11 81.11A6.20 6.20 0 0 1 72.00 88.11A6.20 6.20 0 0 1 61.39 92.50A6.20 6.20 0 0 1 50.00 94.00A6.20 6.20 0 0 1 38.61 92.50A6.20 6.20 0 0 1 28.00 88.11A6.20 6.20 0 0 1 18.89 81.11A6.20 6.20 0 0 1 11.89 72.00A6.20 6.20 0 0 1 7.50 61.39A6.20 6.20 0 0 1 6.00 50.00A6.20 6.20 0 0 1 7.50 38.61A6.20 6.20 0 0 1 11.89 28.00A6.20 6.20 0 0 1 18.89 18.89A6.20 6.20 0 0 1 28.00 11.89A6.20 6.20 0 0 1 38.61 7.50A6.20 6.20 0 0 1 50.00 6.00Z' fill='%23fff'/%3E%3Cg fill='%23f6dfe3'%3E%3Ccircle cx='55.16' cy='10.84' r='1.7'/%3E%3Ccircle cx='65.12' cy='13.51' r='1.7'/%3E%3Ccircle cx='74.05' cy='18.66' r='1.7'/%3E%3Ccircle cx='81.34' cy='25.95' r='1.7'/%3E%3Ccircle cx='86.49' cy='34.88' r='1.7'/%3E%3Ccircle cx='89.16' cy='44.84' r='1.7'/%3E%3Ccircle cx='89.16' cy='55.16' r='1.7'/%3E%3Ccircle cx='86.49' cy='65.12' r='1.7'/%3E%3Ccircle cx='81.34' cy='74.05' r='1.7'/%3E%3Ccircle cx='74.05' cy='81.34' r='1.7'/%3E%3Ccircle cx='65.12' cy='86.49' r='1.7'/%3E%3Ccircle cx='55.16' cy='89.16' r='1.7'/%3E%3Ccircle cx='44.84' cy='89.16' r='1.7'/%3E%3Ccircle cx='34.88' cy='86.49' r='1.7'/%3E%3Ccircle cx='25.95' cy='81.34' r='1.7'/%3E%3Ccircle cx='18.66' cy='74.05' r='1.7'/%3E%3Ccircle cx='13.51' cy='65.12' r='1.7'/%3E%3Ccircle cx='10.84' cy='55.16' r='1.7'/%3E%3Ccircle cx='10.84' cy='44.84' r='1.7'/%3E%3Ccircle cx='13.51' cy='34.88' r='1.7'/%3E%3Ccircle cx='18.66' cy='25.95' r='1.7'/%3E%3Ccircle cx='25.95' cy='18.66' r='1.7'/%3E%3Ccircle cx='34.88' cy='13.51' r='1.7'/%3E%3Ccircle cx='44.84' cy='10.84' r='1.7'/%3E%3C/g%3E%3Ccircle cx='50' cy='50' r='35.5' fill='none' stroke='%23f2cdd4' stroke-width='.8' stroke-dasharray='1.6 1.6'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--sans);
    color: var(--choco);
    background-color: #fbe3e8;
    background-image:
        var(--sprinkles),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .55) 0 22px, transparent 22px 44px);
    background-size: 240px 240px, auto;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-variation-settings: 'SOFT' 100;
}
body.no-scroll { overflow: hidden; height: 100vh; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.script { font-family: var(--script); font-weight: 400; }
.foil-text {
    background: var(--foil);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}

/* ════════════════════════════
   BUTTONS
════════════════════════════ */
.btn-sweet {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 15px 30px; border: none; border-radius: 999px; cursor: pointer;
    font-family: var(--sans); font-weight: 500; font-size: 15px; letter-spacing: .06em;
    color: #fff; text-decoration: none;
    background: linear-gradient(180deg, #ec9fb0, #dc8396);
    box-shadow: 0 5px 0 #c26d81, 0 14px 24px -10px rgba(194, 109, 129, .7);
    transition: transform .2s;
    -webkit-tap-highlight-color: transparent;
}
.btn-sweet:hover { transform: translateY(-2px); }
.btn-sweet:active { transform: translateY(3px); }
.btn-sweet.small { padding: 11px 22px; font-size: 13.5px; }
.btn-sweet.full { width: 100%; }
.btn-sweet:disabled { opacity: .8; cursor: default; }
.btn-sweet.sent { background: linear-gradient(180deg, #a9c99a, #86ab77); box-shadow: 0 5px 0 #6f9461, 0 14px 24px -10px rgba(111, 148, 97, .7); }

.btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 18px; border-radius: 999px; cursor: pointer;
    font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .04em;
    color: var(--pink-deep); background: var(--pink-soft);
    border: 1.5px dashed #eeb0bd;
    transition: transform .2s;
}
.btn-ghost:hover { transform: translateY(-2px); }

/* ════════════════════════════
   FX LAYER (sprinkle bursts)
════════════════════════════ */
.fx-layer { position: fixed; inset: 0; pointer-events: none; z-index: 3000; overflow: hidden; }
.fx-sprinkle {
    position: absolute; width: 4px; height: 12px; border-radius: 3px;
}
.fx-star {
    position: absolute; width: 12px; height: 12px;
    background: var(--foil);
    clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}

/* ════════════════════════════
   COVER — SHOP FRONT
════════════════════════════ */
.intro {
    position: fixed; inset: 0; z-index: 2000; overflow: hidden;
    background-color: #fbe6ea;
    background-image:
        var(--sprinkles),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .6) 0 26px, transparent 26px 52px);
    background-size: 240px 240px, auto;
    transition: opacity .7s ease, transform .9s ease;
}
.intro.s4 { opacity: 0; transform: scale(1.06); }
.intro.gone { display: none; }
.intro-street {
    position: absolute; left: 0; right: 0; bottom: 0; height: 24%;
    background:
        linear-gradient(180deg, #e9d6b8 0 6px, transparent 6px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .45) 0 2px, transparent 2px 46px),
        linear-gradient(180deg, #f6eadb, #f1e0cb);
}
.intro-stage {
    --fit: 1;
    position: absolute; left: 50%; top: 0;
    width: 390px; height: 830px;
    transform: translateX(-50%) scale(var(--fit));
    transform-origin: 50% 0;
    display: flex; flex-direction: column; align-items: center;
}

/* awning */
.shop { position: relative; width: 362px; }
.awning-rod {
    position: absolute; top: 16px; left: -6px; right: -6px; height: 8px; border-radius: 4px; z-index: 2;
    background: var(--foil);
}
.awning {
    position: relative; margin-top: 20px; height: 78px; z-index: 1;
    background: repeating-linear-gradient(90deg, #f2adbd 0 26px, #fff8ec 26px 52px);
    border-radius: 4px 4px 0 0;
}
.awning::after {
    content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 16px;
    background:
        radial-gradient(circle at 13px 0, #f2adbd 13px, transparent 13.5px) 0 0 / 52px 16px repeat-x,
        radial-gradient(circle at 13px 0, #fff8ec 13px, transparent 13.5px) 26px 0 / 52px 16px repeat-x;
}
.awning-shade {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(90, 58, 49, .18), transparent 45%, rgba(255, 255, 255, .25) 100%);
}

/* facade */
.facade {
    position: relative; margin: 0 12px; padding: 30px 18px 22px;
    background: linear-gradient(180deg, #e7f1de, #d6e8c8);
    border: 3px solid #fff8ec; border-top: none;
    border-radius: 0 0 6px 6px;
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    box-shadow: inset 0 0 0 1px rgba(134, 171, 119, .35);
}
.shop-sign {
    display: flex; flex-direction: column; align-items: center;
    padding: 8px 22px 9px; min-width: 250px;
    background: var(--vanilla);
    border: 1.5px solid var(--gold);
    border-radius: 10px;
    box-shadow: 0 0 0 4px var(--vanilla), 0 0 0 5.5px var(--gold-light), var(--shadow-soft);
}
.sign-small { font-size: 9.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--choco-soft); }
.sign-name { white-space: nowrap; font-family: var(--script); font-size: 31px; line-height: 1.15; color: var(--pink-deep); }
.sign-est { font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }

.shop-window {
    position: relative; width: 290px; height: 178px; overflow: hidden;
    border-radius: 145px 145px 8px 8px;
    background: linear-gradient(180deg, #fff 0%, #fdf2f4 60%, #fbeee0 100%);
    border: 7px solid #fff8ec;
    box-shadow: 0 0 0 2px #e6c7a8, inset 0 -10px 18px rgba(233, 214, 184, .5);
}
.window-art { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; }
.window-glare {
    position: absolute; inset: 0;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .7) 38%, transparent 46%, transparent 60%, rgba(255, 255, 255, .45) 64%, transparent 68%);
}

/* cake box */
.box-stage { position: relative; width: 390px; height: 236px; margin-top: -58px; z-index: 3; }
.box-stage::before {
    content: ''; position: absolute; left: 50%; top: -30px; width: 300px; height: 300px; margin-left: -175px;
    background: radial-gradient(circle, rgba(255, 245, 210, .95), rgba(255, 245, 210, 0) 65%);
    opacity: 0; transition: opacity .8s ease;
}
.intro.s3 .box-stage::before { opacity: 1; }
.cake-box { position: absolute; left: 62px; top: 0; width: 226px; height: 236px; }
.box-front {
    position: absolute; left: 0; right: 0; top: 92px; height: 138px; z-index: 2;
    border-radius: 4px 4px 12px 12px;
    background:
        repeating-linear-gradient(90deg, rgba(242, 173, 189, .18) 0 14px, transparent 14px 28px),
        linear-gradient(180deg, #fffaf2, #fbeee2);
    box-shadow: 0 22px 30px -18px rgba(90, 58, 49, .55), inset 0 -6px 0 rgba(233, 214, 184, .55);
}
.box-lid {
    position: absolute; left: -9px; right: -9px; top: 52px; height: 44px; z-index: 3;
    border-radius: 6px;
    background:
        repeating-linear-gradient(90deg, #f6bfcb 0 14px, #fde4ea 14px 28px);
    box-shadow: 0 8px 12px -8px rgba(90, 58, 49, .45), inset 0 -4px 0 rgba(224, 136, 155, .35);
    transform-origin: 70% 100%;
    transition: transform .8s cubic-bezier(.5, -0.3, .4, 1), opacity .5s ease .3s;
}
.ribbon-v {
    position: absolute; top: 0; bottom: 0; left: 50%; width: 24px; margin-left: -12px;
    background: linear-gradient(90deg, #e889a0, #f4a9ba 50%, #e889a0);
    transform-origin: 50% 0;
    transition: transform .5s ease .25s;
}
.ribbon-h {
    position: absolute; left: 0; right: 0; top: 54px; height: 22px;
    background: linear-gradient(180deg, #e889a0, #f4a9ba 50%, #e889a0);
    transform-origin: 50% 50%;
    transition: transform .5s ease .25s;
}
.box-seal {
    position: absolute; left: 18px; bottom: 16px; width: 50px; height: 50px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; gap: 1px;
    background: var(--foil); color: #7a5520;
    font-family: var(--display); font-style: italic; font-size: 13px; font-weight: 600;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .75);
    transform: rotate(-10deg);
}
.box-seal i { font-style: normal; font-size: 10px; color: #c2416f; }
.box-bow {
    position: absolute; left: 53px; top: 12px; width: 120px; height: 70px; z-index: 4;
    overflow: visible;
}
.box-bow g { transform-box: fill-box; transform-origin: 50% 50%; transition: transform .7s cubic-bezier(.4, 0, .2, 1), opacity .6s ease; }
.box-bow .bow-loop.l { transform-origin: 100% 60%; }
.box-bow .bow-loop.r { transform-origin: 0% 60%; }
.box-bow .bow-tail { transform-origin: 50% 0; }

.gift-tag {
    position: absolute; left: 178px; top: 112px; z-index: 5; width: 156px;
    padding: 12px 12px 12px 22px;
    background: #fffdf8;
    border: 1px solid #ecd8bd;
    clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 calc(100% - 14px), 0 14px);
    transform: rotate(7deg); transform-origin: 0 0;
    box-shadow: var(--shadow-soft);
    display: flex; flex-direction: column;
    transition: transform .7s cubic-bezier(.5, -0.3, .4, 1), opacity .5s ease .2s;
}
.gift-tag::before {
    content: ''; position: absolute; inset: 4px 4px 4px 12px;
    border: 1px dashed #efc4cd; border-radius: 3px; pointer-events: none;
}
.tag-hole { position: absolute; left: 7px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #f2d7dd; box-shadow: inset 0 1px 2px rgba(90, 58, 49, .3); }
.tag-string { display: none; }
.tag-pour { font-family: var(--script); font-size: 24px; line-height: 1; color: var(--pink-deep); }
.tag-to { font-size: 8.5px; letter-spacing: .04em; color: var(--choco-soft); margin-top: 4px; }
.tag-name { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 17px; line-height: 1.25; color: var(--choco); margin-top: 2px; word-break: break-word; }

.mini-cake {
    position: absolute; left: 175px; top: 98px; width: 130px; height: 130px; margin-left: -65px; z-index: 1;
    transition: transform 1s cubic-bezier(.34, 1.45, .64, 1);
}
.mini-cake svg { width: 100%; height: 100%; display: block; }

.intro-text { text-align: center; margin-top: 40px; }
.intro-kicker { font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: var(--choco-soft); }
.intro-names {
    font-family: var(--script); font-weight: 400; font-size: 46px; line-height: 1.15; color: var(--choco);
    margin-top: 2px;
}
.intro-names em { font-style: normal; color: var(--pink-deep); }
.intro-btn { margin-top: 18px; }

/* opening sequence */
.intro.s1 .bow-loop.l { transform: translate(-36px, -16px) rotate(-60deg) scale(.6); opacity: 0; }
.intro.s1 .bow-loop.r { transform: translate(36px, -16px) rotate(60deg) scale(.6); opacity: 0; }
.intro.s1 .bow-knot { transform: scale(0) rotate(140deg); opacity: 0; }
.intro.s1 .bow-tail.l { transform: translate(-20px, 90px) rotate(-40deg); opacity: 0; }
.intro.s1 .bow-tail.r { transform: translate(20px, 90px) rotate(40deg); opacity: 0; }
.intro.s1 .ribbon-v { transform: scaleY(0); }
.intro.s1 .ribbon-h { transform: scaleX(0); }
.intro.s1 .gift-tag { transform: translate(30px, 70px) rotate(32deg); opacity: 0; }
.intro.s2 .box-lid { transform: translate(90px, -190px) rotate(38deg); opacity: 0; }
.intro.s3 .mini-cake { transform: translateY(-128px) scale(1.08); }
.intro.s1 .intro-btn, .intro.s1 .intro-text { opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .4s; }

/* ════════════════════════════
   MUSIC BUTTON
════════════════════════════ */
.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: #fff8ec; color: var(--pink-deep); border: 2px solid #eeb0bd;
    box-shadow: 0 6px 16px rgba(90, 58, 49, .18);
    transition: transform .2s;
}
.music-toggle-btn svg { width: 20px; height: 20px; }
.music-toggle-btn:hover { transform: scale(1.08); }
.music-toggle-btn::after {
    content: ''; position: absolute; inset: -2px; border-radius: 50%;
    border: 2px solid #eeb0bd; opacity: 0; pointer-events: none;
}
.music-toggle-btn.playing::after { animation: ring 2.2s ease-out infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }

/* ════════════════════════════
   MAIN COLUMN
════════════════════════════ */
main {
    position: relative; max-width: 520px; margin: 0 auto;
    background: var(--vanilla);
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(234, 211, 156, .4), 0 30px 80px -30px rgba(90, 58, 49, .35);
}
section, .footer { position: relative; }

.sec-head { text-align: center; margin-bottom: 30px; }
.kicker {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--pink-deep);
}
.kicker::before, .kicker::after { content: ''; width: 22px; height: 1px; background: currentColor; opacity: .6; }
.sec-title {
    font-family: var(--display); font-weight: 500; font-size: 34px; line-height: 1.15;
    color: var(--choco); margin-top: 8px;
}
.sec-title em { font-family: var(--script); font-style: normal; font-weight: 400; font-size: 40px; color: var(--pink-deep); }
.sec-sub { font-size: 14.5px; color: var(--choco-soft); margin-top: 6px; }

/* scalloped top edges between sections */
.scallop-top::before,
.vitrine-sec::before, .timer-sec::before, .menu-sec::before, .bag-sec::before,
.shelf-sec::before, .order-sec::before, .footer::before {
    content: ''; position: absolute; left: 0; right: 0; top: -13px; height: 14px; z-index: 2;
    background: radial-gradient(circle at 12px 14px, var(--bg) 12px, transparent 12.6px) 0 0 / 24px 14px repeat-x;
}

/* reveals */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .9s cubic-bezier(.22, 1, .36, 1); }
[data-reveal].in { opacity: 1; transform: none; }

/* ════════════════════════════
   HERO — INSIDE THE SHOP
════════════════════════════ */
.hero {
    min-height: 100vh; min-height: 100svh;
    padding: 0 0 26px;
    display: flex; flex-direction: column; align-items: center;
    background:
        linear-gradient(180deg, rgba(255, 248, 236, 0) 55%, var(--vanilla) 100%),
        repeating-linear-gradient(90deg, #fde4ea 0 18px, #fff3f5 18px 36px);
    overflow: hidden;
}
.valance {
    position: relative; width: 100%; height: 34px; flex-shrink: 0;
    background: repeating-linear-gradient(90deg, #f2adbd 0 22px, #fff8ec 22px 44px);
}
.valance::after {
    content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 13px;
    background:
        radial-gradient(circle at 11px 0, #f2adbd 11px, transparent 11.5px) 0 0 / 44px 13px repeat-x,
        radial-gradient(circle at 11px 0, #fff8ec 11px, transparent 11.5px) 22px 0 / 44px 13px repeat-x;
}
.valance.flip { position: absolute; top: 0; left: 0; }

.hero-float { position: absolute; inset: 0; pointer-events: none; }
.hf { position: absolute; animation: floaty 7s ease-in-out infinite; }
.hf.m1 { width: 46px; height: 34px; left: 7%; top: 30%; animation-delay: -1s; }
.hf.m2 { width: 38px; height: 28px; right: 8%; top: 24%; animation-delay: -3s; animation-duration: 8s; }
.hf.m3 { width: 34px; height: 25px; left: 12%; top: 58%; animation-delay: -5s; animation-duration: 9s; }
.hf.m4 { width: 42px; height: 31px; right: 10%; top: 54%; animation-delay: -2s; }
.hf.s1, .hf.s2, .hf.s3 { color: var(--gold-light); fill: var(--gold); animation-name: twinkle; animation-duration: 3.2s; }
.hf.s1 { width: 16px; height: 16px; left: 12%; top: 22%; }
.hf.s2 { width: 12px; height: 12px; right: 24%; top: 40%; animation-delay: -1.2s; }
.hf.s3 { width: 14px; height: 14px; left: 30%; top: 66%; animation-delay: -2.2s; }
.sprinkle { position: absolute; width: 4px; height: 13px; border-radius: 3px; animation: floaty 6s ease-in-out infinite; }
.sprinkle.p1 { left: 16%; top: 42%; background: #f2b4c0; transform: rotate(30deg); }
.sprinkle.p2 { right: 18%; top: 33%; background: #c9dfb8; animation-delay: -2s; }
.sprinkle.p3 { left: 40%; top: 22%; background: #d9cbf2; animation-delay: -4s; }
.sprinkle.p4 { right: 30%; top: 62%; background: #f8e19a; animation-delay: -1s; }
.sprinkle.p5 { left: 6%; top: 72%; background: #d9cbf2; animation-delay: -3s; }
.sprinkle.p6 { right: 6%; top: 76%; background: #f2b4c0; animation-delay: -5s; }
@keyframes floaty {
    0%, 100% { transform: translateY(0) rotate(-8deg); }
    50% { transform: translateY(-14px) rotate(8deg); }
}
@keyframes twinkle {
    0%, 100% { transform: scale(.6) rotate(0); opacity: .4; }
    50% { transform: scale(1.1) rotate(45deg); opacity: 1; }
}

.door-sign { position: absolute; left: 22px; top: 34px; z-index: 2; transform-origin: 50% 0; animation: swing 4.5s ease-in-out infinite; }
.ds-string {
    display: block; width: 46px; height: 26px; margin: 0 auto;
    border: 1.5px solid var(--gold); border-bottom: none; border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    transform: translateY(2px);
}
.ds-string::before {
    content: ''; position: absolute; left: 50%; top: -5px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%;
    background: var(--foil);
}
.ds-board {
    display: flex; flex-direction: column; align-items: center;
    padding: 6px 14px 7px; border-radius: 10px;
    background: #fff8ec; border: 1.5px solid var(--gold-light);
    box-shadow: var(--shadow-soft);
}
.ds-fr { font-family: var(--script); font-size: 22px; line-height: 1.1; color: var(--pink-deep); }
.ds-id { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--choco-soft); }
@keyframes swing { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }

.hero-inner { position: relative; z-index: 1; text-align: center; padding: 118px 26px 0; }
.hero-kicker { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--pink-deep); }
.hero-label { font-family: var(--display); font-style: italic; font-size: 17px; color: var(--choco-soft); margin-top: 18px; }
.hero-names { font-family: var(--script); font-weight: 400; color: var(--choco); line-height: 1.02; margin-top: 4px; }
.hero-names span { display: block; font-size: clamp(54px, 16vw, 70px); }
.hero-names em { display: block; font-family: var(--display); font-style: italic; font-size: 28px; color: var(--pink-deep); margin: 2px 0; }
.hero-est {
    display: inline-block; margin-top: 16px;
    font-family: var(--display); font-weight: 500; font-size: 15px; letter-spacing: .22em; text-transform: uppercase;
    background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { max-width: 320px; margin: 14px auto 0; font-size: 14.5px; color: var(--choco-soft); }

.reveal-hero { opacity: 0; }
body.opened .reveal-hero { animation: heroIn 1s cubic-bezier(.22, 1, .36, 1) both; }
body.opened .reveal-hero:nth-child(2) { animation-delay: .12s; }
body.opened .reveal-hero:nth-child(3) { animation-delay: .24s; }
body.opened .reveal-hero:nth-child(4) { animation-delay: .4s; }
body.opened .reveal-hero:nth-child(5) { animation-delay: .52s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(22px) scale(.97); } to { opacity: 1; transform: none; } }

.counter { position: relative; width: calc(100% - 36px); max-width: 380px; margin-top: auto; padding-top: 24px; }
.counter-glass {
    position: relative; overflow: hidden;
    border: 2px solid #fff; border-bottom: none;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .25));
}
.counter-art { display: block; width: 100%; height: auto; }
.counter-glare {
    position: absolute; inset: 0;
    background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, .7) 32%, transparent 40%);
}
.counter-base {
    height: 46px; border-radius: 0 0 10px 10px;
    background: linear-gradient(180deg, #e7f1de, #cfe2c0);
    border-top: 6px solid var(--gold-light);
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow);
}
.counter-base span { font-family: var(--script); font-size: 22px; color: var(--pista-deep); }
.scroll-cue { margin-top: 20px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--choco-soft); }
.scroll-cue i { width: 2px; height: 26px; border-radius: 2px; background: var(--pink-deep); transform-origin: 50% 0; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ════════════════════════════
   COUPLE — LA VITRINE
════════════════════════════ */
.vitrine-sec {
    --bg: #fffaf2;
    padding: 70px 22px 76px;
    background: var(--bg);
}
.vitrine {
    position: relative;
    padding: 26px 12px 20px;
    border-radius: 28px;
    background: linear-gradient(180deg, #fdf3f5, #fff8ee);
    border: 2px solid #f1dcc2;
    box-shadow: inset 0 0 0 6px #fffaf2, inset 0 0 0 7px #f1dcc2;
}
.cloche-row { display: flex; align-items: flex-start; justify-content: center; gap: 4px; }
.cloche { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.cloche-and { flex: 0 0 22px; align-self: center; margin-top: -90px; color: var(--pink-deep); }
.cloche-and svg { width: 22px; height: 22px; fill: currentColor; display: block; animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(1); } 45% { transform: scale(1.12); } }
.dome { position: relative; width: 100%; max-width: 150px; aspect-ratio: 140 / 130; }
.dome-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.dome-treat {
    position: absolute; left: 50%; bottom: 6%; width: 54%; height: 44%; transform: translateX(-50%); z-index: 1;
    border-radius: 12px 12px 6px 6px;
    display: flex; align-items: center; justify-content: center;
}
.dome-treat::before {
    content: ''; position: absolute; left: -2px; right: -2px; top: -7px; height: 14px;
    background: radial-gradient(circle at 7px 7px, #fff 6.4px, transparent 7px) 0 0 / 14px 14px repeat-x;
}
.dome-treat::after {
    content: ''; position: absolute; left: 50%; top: -22px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ff8aa2, #d94a68);
}
.dome-treat.groom { background: linear-gradient(180deg, #dcebd0, #b9d4a7); }
.dome-treat.bride { background: linear-gradient(180deg, #fbd7dd, #f0aebb); }
.monogram { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 28px; color: #fff; text-shadow: 0 2px 0 rgba(90, 58, 49, .18); }
.cake-stand-mini {
    position: relative; width: 82%; max-width: 132px; height: 22px; margin-top: -4px;
}
.cake-stand-mini::before {
    content: ''; position: absolute; left: 0; right: 0; top: 0; height: 7px; border-radius: 4px;
    background: var(--foil);
}
.cake-stand-mini::after {
    content: ''; position: absolute; left: 50%; top: 7px; width: 34%; height: 14px; transform: translateX(-50%);
    background:
        linear-gradient(90deg, transparent 38%, #e2c99f 38% 62%, transparent 62%) top / 100% 9px no-repeat,
        linear-gradient(#e2c99f, #d6b880) bottom / 100% 5px no-repeat;
    border-radius: 0 0 3px 3px;
}
.tent-card {
    position: relative; width: 100%; margin-top: 10px; padding: 14px 8px 14px; text-align: center;
    background: #fff;
    border-radius: 6px;
    border-top: 4px solid var(--pink);
    box-shadow: var(--shadow-soft);
}
.cloche:first-child .tent-card { border-top-color: var(--pista); }
.tc-fr { display: block; font-family: var(--script); font-size: 21px; line-height: 1.1; color: var(--choco-soft); }
.tc-flavor { display: block; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--pink-deep); line-height: 1.45; }
.cloche:first-child .tc-flavor { color: var(--pista-deep); }
.tc-name { font-family: var(--display); font-weight: 500; font-size: 21px; line-height: 1.2; color: var(--choco); margin: 6px 0; word-break: break-word; }
.tc-parents { font-size: 12.5px; line-height: 1.55; color: var(--choco-soft); }

/* recipe card */
.recipe {
    position: relative; margin-top: 46px; padding: 34px 22px 26px 34px;
    background:
        linear-gradient(90deg, transparent 22px, rgba(224, 136, 155, .45) 22px 23.5px, transparent 23.5px),
        repeating-linear-gradient(180deg, transparent 0 27px, rgba(166, 143, 217, .18) 27px 28px),
        #fffdf8;
    border-radius: 6px;
    box-shadow: var(--shadow);
}
.recipe[data-reveal].in { transform: rotate(-1deg); }
.recipe-pin {
    position: absolute; top: -12px; left: 50%; width: 96px; height: 26px; margin-left: -48px;
    background: repeating-linear-gradient(45deg, rgba(246, 201, 208, .85) 0 7px, rgba(255, 248, 236, .85) 7px 14px);
    transform: rotate(-3deg);
    box-shadow: 0 2px 6px rgba(90, 58, 49, .12);
}
.recipe-head { text-align: center; margin-bottom: 14px; }
.recipe-no { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.recipe-head h3 { font-family: var(--script); font-weight: 400; font-size: 40px; line-height: 1.15; color: var(--pink-deep); }
.recipe-serves { font-family: var(--display); font-style: italic; font-size: 13px; color: var(--choco-soft); }
.recipe h4 { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--pista-deep); margin-bottom: 6px; }
.recipe-ing ul { list-style: none; }
.recipe-ing li { position: relative; padding-left: 20px; font-family: var(--display); font-size: 15px; line-height: 28px; }
.recipe-ing li::before { content: '♥'; position: absolute; left: 0; font-size: 11px; color: var(--pink-deep); }
.recipe-ing li b { font-weight: 600; color: var(--pink-deep); }
.recipe-steps { margin-top: 16px; }
.recipe-verse { font-family: var(--display); font-style: italic; font-size: 15px; line-height: 28px; color: var(--choco); }
.recipe-src { margin-top: 8px; text-align: right; font-size: 12.5px; letter-spacing: .1em; color: var(--gold); font-weight: 500; }
.recipe-stain {
    position: absolute; right: 12px; top: 16px; width: 54px; height: 54px; border-radius: 50%;
    border: 3px solid rgba(200, 160, 110, .18);
    box-shadow: inset 0 0 0 6px rgba(200, 160, 110, .05);
    pointer-events: none;
}

/* ════════════════════════════
   COUNTDOWN — MACARONS
════════════════════════════ */
.timer-sec {
    --bg: #fde9ec;
    padding: 70px 20px 78px;
    background: var(--bg);
    text-align: center;
}
.oven-timer { width: 140px; margin: 0 auto 26px; }
.oven-timer svg { width: 140px; height: 140px; display: block; filter: drop-shadow(0 10px 14px rgba(224, 136, 155, .3)); }
.timer-arc { transition: stroke-dashoffset 1s linear; }
#timerHand { transition: transform .3s ease; }
.timer-label { display: block; margin-top: 8px; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--choco-soft); }

.macarons { display: flex; justify-content: center; gap: 12px; }
.mac { --mc: #f4b9c5; --md: #e897a8; width: 74px; display: flex; flex-direction: column; align-items: center; }
.mac.m-pista { --mc: #c9dfb8; --md: #a5c591; }
.mac.m-lav { --mc: #d9cbf2; --md: #b8a2e6; }
.mac.m-butter { --mc: #f8e19a; --md: #e9c766; }
.mac-shell { width: 100%; background: var(--mc); position: relative; }
.mac-shell.top {
    height: 38px; border-radius: 37px 37px 12px 12px / 30px 30px 10px 10px;
    display: flex; align-items: center; justify-content: center;
    background: radial-gradient(ellipse at 35% 25%, rgba(255, 255, 255, .55), transparent 45%), var(--mc);
}
.mac-shell.top b { font-family: var(--display); font-weight: 600; font-size: 22px; color: var(--choco); font-variant-numeric: tabular-nums; }
.mac-shell.top::after, .mac-shell.bottom::before {
    content: ''; position: absolute; left: 3px; right: 3px; height: 5px;
    background: radial-gradient(circle at 2.5px 2.5px, var(--md) 2.2px, transparent 2.6px) 0 0 / 6px 5px repeat-x;
}
.mac-shell.top::after { bottom: -2px; }
.mac-shell.bottom { height: 20px; border-radius: 12px 12px 37px 37px / 10px 10px 30px 30px; }
.mac-shell.bottom::before { top: -2px; }
.mac-fill { width: 90%; height: 10px; background: linear-gradient(180deg, #fffaf2, #fbeedd); border-radius: 5px; position: relative; z-index: 1; }
.mac > span { margin-top: 10px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--choco-soft); }
.timer-done { margin-top: 18px; font-family: var(--script); font-size: 26px; color: var(--pink-deep); }

/* ════════════════════════════
   EVENTS — LE MENU DU JOUR
════════════════════════════ */
.menu-sec {
    --bg: #edf5e6;
    padding: 82px 20px 76px;
    background: var(--bg);
}
.menu-board {
    position: relative;
    padding: 64px 22px 32px;
    background: #fffaf0;
    border: 1.5px solid #e2c99f;
    border-radius: 190px 190px 18px 18px;
    box-shadow: 0 0 0 7px #fffaf0, 0 0 0 8.5px #e2c99f, var(--shadow);
    text-align: center;
}
.menu-arch {
    position: absolute; top: -26px; left: 50%; width: 52px; height: 52px; margin-left: -26px; border-radius: 50%;
    background: var(--foil);
    box-shadow: 0 0 0 4px #fffaf0, 0 6px 14px rgba(90, 58, 49, .2);
}
.menu-arch::after { content: '♥'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; }
.menu-kicker { font-family: var(--script); font-size: 30px; line-height: 1; color: var(--pink-deep); }
.menu-title { font-family: var(--display); font-weight: 500; font-size: 30px; margin-top: 6px; color: var(--choco); }
.menu-title em { font-style: italic; color: var(--pista-deep); }
.menu-date { font-family: var(--display); font-style: italic; font-size: 14.5px; color: var(--choco-soft); margin-top: 4px; }
.menu-flourish { display: block; margin: 14px 0 6px; color: var(--gold); letter-spacing: .5em; font-size: 12px; }
.course { text-align: left; padding: 20px 0; border-bottom: 1.5px dashed #ecd8bd; }
.course:last-of-type { border-bottom: none; }
.course-type { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--pink-deep); }
.course-line { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.course-line h3 { font-family: var(--display); font-weight: 500; font-size: 23px; color: var(--choco); white-space: nowrap; }
.course-line .dots { flex: 1; min-width: 12px; border-bottom: 2.5px dotted var(--gold-light); transform: translateY(-5px); }
.course-time { font-weight: 500; font-size: 14.5px; color: var(--choco); white-space: nowrap; font-variant-numeric: tabular-nums; }
.course-desc { font-size: 13.5px; color: var(--choco-soft); margin-top: 6px; }
.course-loc { display: flex; align-items: flex-start; gap: 6px; font-size: 13.5px; color: var(--choco); margin: 4px 0 12px; }
.course-loc svg { flex-shrink: 0; margin-top: 3px; color: var(--pink-deep); }
.course.dessert h3 { font-style: italic; font-size: 20px; }
.course.dessert .course-time { color: var(--pink-deep); font-size: 18px; }
.menu-foot { font-family: var(--script); font-size: 24px; color: var(--pista-deep); margin-top: 10px; }

/* ════════════════════════════
   LOCATION — PÂTISSERIE BAG
════════════════════════════ */
.bag-sec {
    --bg: #f2ecfc;
    padding: 70px 22px 80px;
    background: var(--bg);
}
.bag { position: relative; max-width: 370px; margin: 0 auto; padding-top: 52px; }
.bag-handle { position: absolute; top: 0; left: 50%; width: 160px; height: 70px; margin-left: -80px; z-index: 2; }
.bag-body {
    position: relative; padding: 54px 22px 30px; text-align: center;
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 16px, transparent 16px 32px),
        linear-gradient(180deg, #f7c4cf, #f3b3c1);
    border-radius: 4px 4px 20px 20px;
    box-shadow: var(--shadow), inset 0 -8px 0 rgba(224, 136, 155, .35);
}
.bag-fold {
    position: absolute; left: 0; right: 0; top: 0; height: 22px;
    background: #f2a9b9;
    border-radius: 4px 4px 0 0;
}
.bag-fold::after {
    content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 9px;
    background: linear-gradient(135deg, #f2a9b9 50%, transparent 50%) 0 0 / 14px 9px repeat-x,
                linear-gradient(225deg, #f2a9b9 50%, transparent 50%) 0 0 / 14px 9px repeat-x;
}
.bag-seal {
    position: absolute; top: 4px; left: 50%; width: 58px; height: 58px; margin-left: -29px; border-radius: 50%; z-index: 3;
    display: flex; align-items: center; justify-content: center; gap: 1px;
    background: var(--foil); color: #7a5520;
    font-family: var(--display); font-style: italic; font-weight: 600; font-size: 15px;
    box-shadow: 0 0 0 3px #fff8ec, 0 6px 12px rgba(90, 58, 49, .25);
    transform: rotate(-8deg);
}
.bag-seal i { font-style: normal; font-size: 11px; color: #c2416f; }
.bag-kicker { display: block; margin-top: 18px; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: #8d4f5e; }
.bag-guest { display: block; font-family: var(--display); font-style: italic; font-weight: 500; font-size: 19px; color: var(--choco); }
.bag-venue {
    margin: 14px -4px 0; padding: 12px 10px;
    background: #fff8ec; border-radius: 12px;
    font-family: var(--display); font-weight: 500; font-size: 22px; line-height: 1.25; color: var(--choco);
}
.bag-date { font-size: 13.5px; color: #7a4652; margin-top: 10px; }
.map-frame { margin-top: 16px; padding: 6px; background: #fff8ec; border-radius: 16px; box-shadow: var(--shadow-soft); }
.leaflet-map { height: 210px; border-radius: 11px; overflow: hidden; z-index: 1; }
.map-embed-placeholder {
    display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 16px; padding: 30px 16px;
    background: #fff8ec; border-radius: 16px; color: var(--pink-deep); text-decoration: none; font-size: 13.5px;
}
.bag-address { margin: 14px 0 16px; font-size: 13.5px; color: #6d3d49; }
.bag-fragile {
    display: inline-block; margin-top: 20px; padding: 5px 12px;
    border: 1.5px dashed rgba(122, 70, 82, .45); border-radius: 6px;
    font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: #7a4652;
    transform: rotate(-3deg);
}
.sp-pin span {
    display: flex; align-items: center; justify-content: center; width: 38px; height: 38px;
    border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
    background: var(--pink-deep); box-shadow: 0 4px 10px rgba(90, 58, 49, .35); border: 2px solid #fff;
}
.sp-pin i { transform: rotate(45deg); color: #fff; font-style: normal; font-size: 16px; }

/* ════════════════════════════
   GALLERY — DISPLAY SHELF
════════════════════════════ */
.shelf-sec {
    --bg: #fffaf2;
    padding: 70px 20px 76px;
    background: var(--bg);
}
.cabinet {
    position: relative; padding: 46px 18px 8px;
    background: linear-gradient(180deg, #fff5f6, #fff9f0);
    border: 2px solid #ecd5b0;
    border-radius: 120px 120px 16px 16px;
    box-shadow: inset 0 0 0 6px #fffaf2, inset 0 0 0 7px #f1dcc2, var(--shadow-soft);
}
.cabinet-top {
    position: absolute; top: 14px; left: 50%; width: 110px; margin-left: -55px; text-align: center;
    font-family: var(--script); font-size: 20px; line-height: 1; color: var(--gold);
}
.cabinet-top::before { content: 'Vitrine'; }
.shelf-row {
    position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
    padding: 0 6px 20px; margin-bottom: 26px;
}
.shelf-row::after {
    content: ''; position: absolute; left: -18px; right: -18px; bottom: 0; height: 10px;
    background: linear-gradient(180deg, #f0dcb8, #e2c99f);
    box-shadow: 0 8px 10px -6px rgba(90, 58, 49, .35);
}
.shelf-row:last-child { margin-bottom: 0; }
.treat { display: flex; flex-direction: column; align-items: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.treat.placeholder { cursor: default; }
.doily {
    position: relative; width: 100%; aspect-ratio: 1; padding: 10%;
    background: var(--doily) center / 100% 100% no-repeat;
    filter: drop-shadow(0 6px 8px rgba(90, 58, 49, .14));
    transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
}
.treat:hover .doily { transform: translateY(-4px) rotate(-3deg); }
.doily img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.ph-art {
    width: 100%; height: 100%; border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .7), transparent 50%), var(--ph, #f6c9d0);
}
.ph-art svg { width: 22px; height: 22px; fill: #fff; }
.ph-art span { font-family: var(--script); font-size: 21px; line-height: 1.1; color: var(--choco); text-align: center; padding: 0 6px; }
.treat.f1 { --ph: #f6c9d0; }
.treat.f2 { --ph: #c9dfb8; }
.treat.f3 { --ph: #d9cbf2; }
.treat.f4 { --ph: #f8e19a; }
.treat-stand { position: relative; display: block; width: 74%; height: 22px; margin-top: -2px; }
.treat-stand::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: 3px; background: var(--foil); }
.treat-stand::after {
    content: ''; position: absolute; left: 50%; top: 6px; width: 36%; height: 14px; transform: translateX(-50%);
    background:
        linear-gradient(90deg, transparent 40%, #e2c99f 40% 60%, transparent 60%) top / 100% 9px no-repeat,
        linear-gradient(#e2c99f, #d6b880) bottom / 100% 5px no-repeat;
    border-radius: 0 0 3px 3px;
}

.gallery-lightbox {
    position: fixed; inset: 0; z-index: 5000; display: none; opacity: 0;
    align-items: center; justify-content: center;
    background: rgba(70, 42, 36, .9);
    transition: opacity .3s;
}
.lb-img-wrap { max-width: 92vw; max-height: 80vh; padding: 8px; background: #fff8ec; border-radius: 14px; }
.lb-img-wrap img { max-width: calc(92vw - 16px); max-height: calc(80vh - 16px); border-radius: 8px; object-fit: contain; }
.lb-close, .lb-prev, .lb-next {
    position: absolute; border: none; cursor: pointer; color: #fff; background: rgba(255, 255, 255, .15);
    width: 44px; height: 44px; border-radius: 50%; font-size: 22px; display: flex; align-items: center; justify-content: center;
}
.lb-close { top: 18px; right: 18px; font-size: 18px; }
.lb-prev { left: 12px; top: 50%; margin-top: -22px; font-size: 30px; }
.lb-next { right: 12px; top: 50%; margin-top: -22px; font-size: 30px; }
.lb-counter { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #fff; font-size: 13px; letter-spacing: .2em; }

.gift-wrap { background: var(--butter-soft); }
.gift-wrap #gift-section { background: transparent !important; }

/* ════════════════════════════
   RSVP — ORDER SLIP
════════════════════════════ */
.order-sec {
    --bg: #fdf4d6;
    padding: 70px 20px 80px;
    background: var(--bg);
}
.slip {
    position: relative; max-width: 390px; margin: 0 auto; padding: 32px 22px 30px;
    background: #fff;
    -webkit-mask:
        radial-gradient(circle 6px at 10px 0, transparent 6px, #000 6.5px) 0 0 / 20px 51% repeat-x,
        radial-gradient(circle 6px at 10px 100%, transparent 6px, #000 6.5px) 0 100% / 20px 51% repeat-x;
            mask:
        radial-gradient(circle 6px at 10px 0, transparent 6px, #000 6.5px) 0 0 / 20px 51% repeat-x,
        radial-gradient(circle 6px at 10px 100%, transparent 6px, #000 6.5px) 0 100% / 20px 51% repeat-x;
}
.slip-head { text-align: center; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1.5px dashed #ecd8bd; }
.slip-shop { display: block; font-family: var(--script); font-size: 32px; line-height: 1.2; color: var(--pink-deep); }
.slip-no { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--choco-soft); }
.field { margin-bottom: 18px; }
.field > label { display: block; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--choco-soft); margin-bottom: 6px; }
.field input[type=text], .field textarea {
    width: 100%; border: none; outline: none; background: transparent;
    font-family: var(--display); font-style: italic; font-size: 17px; color: var(--choco);
    border-bottom: 1.5px dashed #e2c99f; padding: 6px 2px;
}
.field textarea {
    resize: vertical; line-height: 30px; padding-top: 2px;
    border-bottom: none;
    background: repeating-linear-gradient(180deg, transparent 0 29px, #f0dfc6 29px 30px);
}
.field input::placeholder, .field textarea::placeholder { color: #c7ac9f; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
    display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; cursor: pointer;
    border: 1.5px solid #f2c3cd; font-size: 13.5px; color: var(--choco);
    transition: background .25s, border-color .25s;
}
.chip span i {
    width: 13px; height: 13px; border-radius: 4px; border: 1.5px solid var(--pink-deep);
    display: inline-flex; align-items: center; justify-content: center;
}
.chip input:checked + span { background: var(--pink-soft); border-color: var(--pink-deep); }
.chip input:checked + span i { background: var(--pink-deep); }
.chip input:checked + span i::after { content: '✓'; color: #fff; font-size: 9px; font-style: normal; line-height: 1; }
.chip input:focus-visible + span { outline: 2px solid var(--lav-deep); outline-offset: 2px; }
.slip-total { display: flex; align-items: baseline; gap: 8px; margin: 4px 0 20px; font-size: 12.5px; color: var(--choco-soft); }
.slip-total span:first-child { letter-spacing: .2em; text-transform: uppercase; }
.slip-total .dots { flex: 1; border-bottom: 2px dotted #e2c99f; }
.slip-total b { font-weight: 500; color: var(--pink-deep); }
.slip-stamp {
    position: absolute; right: 14px; bottom: 96px; width: 100px; height: 100px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; text-align: center;
    border: 3px double var(--pink-deep); color: var(--pink-deep);
    font-family: var(--script); font-size: 23px; line-height: 1.05;
    background: rgba(255, 255, 255, .85);
    opacity: 0; transform: rotate(-16deg) scale(2.2); pointer-events: none;
    transition: opacity .25s ease, transform .45s cubic-bezier(.34, 1.56, .64, 1);
}
.slip.stamped .slip-stamp { opacity: .92; transform: rotate(-16deg) scale(1); }

.tags-head { text-align: center; margin: 46px 0 18px; }
.tags-head h3 { font-size: 40px; line-height: 1.1; color: var(--pink-deep); }
.tags-head p { font-size: 13.5px; color: var(--choco-soft); }
.wishes-list { display: flex; flex-direction: column; gap: 14px; max-width: 420px; margin: 0 auto; }
.wish-item {
    --wc: #f4b9c5;
    position: relative; display: flex; gap: 12px; align-items: flex-start;
    padding: 15px 16px 14px;
    background: #fff;
    border-radius: 18px;
    border-left: 5px solid var(--wc);
    box-shadow: var(--shadow-soft);
}
.wish-item:nth-child(4n+2) { --wc: #c9dfb8; }
.wish-item:nth-child(4n+3) { --wc: #d9cbf2; }
.wish-item:nth-child(4n+4) { --wc: #f8e19a; }
.wish-item.new { animation: wishIn .6s cubic-bezier(.34, 1.56, .64, 1) both; }
@keyframes wishIn { from { opacity: 0; transform: translateY(-14px) scale(.96); } to { opacity: 1; transform: none; } }
.wish-avatar {
    flex: 0 0 44px; width: 44px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50% 50% 46% 46% / 55% 55% 45% 45%;
    background: linear-gradient(180deg, var(--wc) 0 41%, #fff6e6 41% 59%, var(--wc) 59%);
    font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--choco);
    text-transform: uppercase;
}
.wish-body { flex: 1; min-width: 0; }
.wish-header { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; }
.wish-name { font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--choco); word-break: break-word; }
.wish-badge { font-size: 10.5px; letter-spacing: .06em; padding: 2px 9px; border-radius: 999px; font-weight: 500; }
.wish-badge.hadir { background: var(--pista-soft); color: #5e8a4f; }
.wish-badge.tidak { background: var(--pink-soft); color: #c2566e; }
.wish-badge.ragu { background: var(--butter-soft); color: #a88324; }
.wish-message { font-size: 14px; color: var(--choco); margin-top: 4px; word-break: break-word; }
.wish-time { display: block; margin-top: 4px; font-size: 11.5px; font-style: italic; color: #b39486; }
.wish-empty { text-align: center; padding: 26px 16px; background: #fff; border-radius: 18px; color: var(--choco-soft); font-size: 14px; }
.wish-empty svg { width: 52px; height: 38px; display: block; margin: 0 auto 8px; }

/* ════════════════════════════
   FOOTER — MERCI
════════════════════════════ */
.footer {
    --bg: #fde9ec;
    padding: 80px 24px 54px;
    background: var(--bg);
    text-align: center;
}
.footer .valance.flip { display: none; }
.footer-merci { font-family: var(--script); font-size: 52px; line-height: 1.1; color: var(--pink-deep); }
.footer-cake { width: 230px; margin: 14px auto 6px; }
.footer-copy { max-width: 340px; margin: 10px auto 0; font-size: 14px; color: var(--choco-soft); }
.footer-names { font-family: var(--display); font-weight: 500; font-size: 30px; margin-top: 18px; color: var(--choco); }
.footer-names em { font-family: var(--script); font-style: normal; font-weight: 400; color: var(--pink-deep); }
.footer-label { margin-top: 6px; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.footer-credit { margin-top: 24px; font-size: 12px; color: #b39486; }
body.has-qr .footer { padding-bottom: 110px; }

/* ════════════════════════════
   THE CAKE (builds in stages)
════════════════════════════ */
svg.cake { display: block; width: 100%; height: auto; overflow: visible; }
.cake .ck-tier, .cake .ck-drip path, .cake .ck-roses, .cake .ck-topper {
    transform-box: fill-box;
    transition: transform .85s cubic-bezier(.34, 1.56, .64, 1), opacity .5s ease;
}
.cake .ck-tier { opacity: 0; transform: translateY(-70px); transform-origin: 50% 100%; }
.cake .ck-drip path { opacity: 0; transform: scaleY(.15); transform-origin: 50% 0; }
.cake .ck-roses { opacity: 0; transform: scale(.5); transform-origin: 50% 50%; }
.cake .ck-topper { opacity: 0; transform: translateY(-110px); transform-origin: 50% 100%; }

.cake:is(.stage-1, .stage-2, .stage-3, .stage-4, .stage-5) .ck-t1,
.cake:is(.stage-2, .stage-3, .stage-4, .stage-5) .ck-t2,
.cake:is(.stage-3, .stage-4, .stage-5) .ck-t3 { opacity: 1; transform: none; }
.cake:is(.stage-4, .stage-5) .ck-drip path { opacity: 1; transform: none; }
.cake:is(.stage-4, .stage-5) .ck-drip .d2 { transition-delay: .12s; }
.cake:is(.stage-4, .stage-5) .ck-drip .d3 { transition-delay: .24s; }
.cake:is(.stage-4, .stage-5) .ck-roses { opacity: 1; transform: none; transition-delay: .35s; }
.cake.stage-5 .ck-topper { opacity: 1; animation: topperDrop 1s cubic-bezier(.3, 0, .3, 1) both; }
.cake.stage-5 .topper-heart { transform-box: fill-box; transform-origin: 50% 50%; animation: beat 1.6s ease-in-out 1s infinite; }
@keyframes topperDrop {
    0% { transform: translateY(-110px); opacity: 0; }
    45% { transform: translateY(0); opacity: 1; }
    62% { transform: translateY(-16px); }
    78% { transform: translateY(0); }
    88% { transform: translateY(-5px); }
    100% { transform: translateY(0); opacity: 1; }
}

/* ════════════════════════════
   CAKE DOCK
════════════════════════════ */
.cake-dock {
    position: fixed; left: 0; bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 900;
    opacity: 0; pointer-events: none; transition: opacity .4s ease;
}
.cake-dock.ready { opacity: 1; pointer-events: auto; }
.dock-tab {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
    width: 40px; height: 54px; padding-right: 2px; border: none; cursor: pointer;
    border-radius: 0 16px 16px 0;
    background: linear-gradient(180deg, #ec9fb0, #dc8396); color: #fff;
    box-shadow: 0 8px 18px -8px rgba(194, 109, 129, .8);
    transition: transform .35s ease, opacity .3s ease;
    -webkit-tap-highlight-color: transparent;
}
.dock-tab svg { width: 20px; height: 20px; }
.dock-count { font-size: 10px; font-weight: 500; letter-spacing: .04em; }
.dock-card {
    position: absolute; left: 10px; bottom: 0; width: 222px;
    display: flex; align-items: center; gap: 10px;
    padding: 8px 14px 8px 8px;
    background: #fffaf2;
    border: 1.5px solid #f1dcc2;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transform: translateX(-120%);
    transition: transform .5s cubic-bezier(.34, 1.3, .64, 1);
}
.cake-dock.show .dock-card { transform: none; }
.cake-dock.show .dock-tab { transform: translateX(-100%); opacity: 0; }
.dock-cake { flex: 0 0 62px; width: 62px; }
.dock-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dock-kicker { font-size: 9px; letter-spacing: .12em; white-space: nowrap; text-transform: uppercase; color: var(--pink-deep); }
.dock-msg { font-family: var(--display); font-weight: 500; font-size: 13.5px; line-height: 1.25; color: var(--choco); margin: 2px 0 7px; }
.dock-bar { display: block; height: 6px; border-radius: 3px; background: var(--pink-soft); overflow: hidden; }
.dock-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #f4b9c5, #e0889b); transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s cubic-bezier(.22, 1, .36, 1); }

/* desktop: cake sits beside the column, always visible */
@media (min-width: 1100px) {
    .cake-dock {
        left: calc(50% - 260px - 300px); bottom: auto; top: 50%;
        transform: translateY(-50%);
        width: 250px;
    }
    body.opened .cake-dock { opacity: 1; pointer-events: auto; }
    .dock-tab { display: none; }
    .dock-card {
        position: static; width: 250px; transform: none;
        flex-direction: column; text-align: center; padding: 22px 20px 20px; gap: 14px;
        background: rgba(255, 250, 242, .92);
    }
    .dock-cake { flex: none; width: 190px; }
    .dock-msg { font-size: 16px; }
}

/* ════════════════════════════
   DESKTOP TOUCHES
════════════════════════════ */
@media (min-width: 560px) {
    main { margin: 24px auto; border-radius: 28px; }
    .hero { min-height: 860px; }
}

@media (max-width: 360px) {
    .macarons { gap: 8px; }
    .mac { width: 64px; }
    .mac-shell.top b { font-size: 19px; }
    .tc-name { font-size: 18px; }
}

/* ════════════════════════════
   REDUCED MOTION
════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    html { scroll-behavior: auto; }
    [data-reveal], .reveal-hero { opacity: 1 !important; transform: none !important; }
}
