/* ============================================================
   WEDPLANNER LANDING — TEST 2
   Layers on top of landing-test.css. Two deltas vs test.php:
     1. the phone screens are the CURRENT app design (.mk2*)
     2. the phone frames sit in real 3D (perspective + rotateY)
   Plus scroll parallax on the blobs, shapes, phones and cards.
   ============================================================ */

/* ------------------------------------------------------------
   3D PHONE STAGE
   ------------------------------------------------------------ */

.lpt2-3d{
    perspective:1500px;
    perspective-origin:50% 45%;
}

.lpt2-3d .lp-phone{
    transform-style:preserve-3d;
    transform:
        scale(var(--phone-scale))
        rotateX(var(--rx, 4deg))
        rotateY(var(--ry, -19deg))
        rotateZ(var(--rz, 16deg));
    transition:none;
    box-shadow:
        0 0 0 1.5px rgba(255,255,255,.07) inset,
        0 0 0 2px #0a0912,
        /* the "thickness" of the case, thrown toward the far edge */
        -6px 4px 0 -1px #14131c,
        -11px 8px 0 -3px #1a1825,
        40px 60px 90px rgba(38,36,60,.30),
        14px 22px 40px rgba(38,36,60,.20);
}

/* Glass sheen across the screen — sells the tilt more than the rotation does. */
.lpt2-3d .lp-phone-screen::after{
    content:'';
    position:absolute;
    inset:0;
    z-index:5;
    pointer-events:none;
    background:linear-gradient(118deg,
        rgba(255,255,255,.42) 0%,
        rgba(255,255,255,.10) 26%,
        rgba(255,255,255,0) 46%,
        rgba(52,50,73,.05) 100%);
}

/* Statement phone: bigger, and the parallax var nudges it as you scroll. */
/* The rotation makes the PAINTED box much wider than the layout box that
   .lp-phone collapses to, so pinning an edge pushed the frame off-screen and
   the section's overflow:hidden sliced it. Give the phone its own centred
   column instead and the spill stays symmetric inside it. */
.lpt2-statement-phone{
    position:absolute;
    z-index:2;
    inset-block-start:16px;
    inset-inline-end:0;
    width:60%;
    display:flex;
    justify-content:center;
    pointer-events:none;
    will-change:transform;
    transform:translate3d(0, var(--py, 0px), 0);
}
.lpt2-statement-phone .lp-phone{--phone-scale:.46;--rz:12deg;--ry:-17deg;}

/* the hero statement doesn't need as much air under a smaller phone */
.lpt2 .lpt-arrow{margin-block-start:200px;}

/* ------------------------------------------------------------
   PARALLAX
   Every layer just reads --py, which the scroll loop writes.
   ------------------------------------------------------------ */

.lpt-blob,
.lpt-deck-shape,
.lpt-finale-ring{
    will-change:transform;
    transform:translate3d(0, var(--py, 0px), 0);
}

/* Cards drift up a touch slower than the page, and scale in on reveal. */
.lpt2-card{
    will-change:transform;
    transform:translate3d(0, var(--py, 0px), 0);
}
.lpt2-card > .lpt-card{
    transition:opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
}
.lpt2-card:not(.is-in) > .lpt-card{opacity:0;transform:translateY(38px) scale(.97);}
.lpt2-card.is-in > .lpt-card{opacity:1;transform:none;}

/* Card phones get their own tilt + float. */
.lpt2-cardphone{
    display:flex;
    justify-content:center;
    margin-block-start:4px;
}
.lpt2-cardphone .lp-phone{--phone-scale:.52;}

/* ------------------------------------------------------------
   REAL APP SCREENSHOTS (assets/mockups/*.webp)
   Framed device renders with the tilt + shadow baked into the
   image (transparent background), so no 3D stage is needed —
   they replace the CSS .lp-phone mocks in the cards + statement.
   ------------------------------------------------------------ */

.lpt2-shotwrap{
    display:flex;
    justify-content:center;
    margin-block-start:4px;
}
.lpt2-shot{
    display:block;
    height:400px;
    width:auto;
    max-width:100%;
    object-fit:contain;
}
.lpt2-shot-statement{height:330px;}

@media (prefers-reduced-motion:reduce){
    .lpt-blob,.lpt-deck-shape,.lpt-finale-ring,.lpt2-card,.lpt2-statement-phone{transform:none !important;}
    .lpt2-card:not(.is-in) > .lpt-card{opacity:1;transform:none;}
}

/* ============================================================
   MK2 — the CURRENT wedplanner app screen, in miniature
   ============================================================ */

.mk2{
    width:100%;
    height:100%;
    position:relative;
    overflow:hidden;
    background:#fff;
    font-family:'TelAviv Modernist',sans-serif;
    color:#343249;
    direction:rtl;
    display:flex;
    flex-direction:column;
    font-size:11px;
}

/* status bar */
.mk2-sb{
    position:absolute;inset-block-start:0;inset-inline:0;
    height:34px;
    display:flex;align-items:center;justify-content:space-between;
    padding:0 20px;
    font-size:10px;font-weight:700;color:#343249;
    z-index:6;
    direction:ltr;
}
.mk2-sb-t{order:2;}
.mk2-sb-i{order:1;display:flex;align-items:center;gap:4px;}
.mk2-sig{width:13px;height:9px;background:
    linear-gradient(to top,#343249 0 100%) 0 100%/2px 4px no-repeat,
    linear-gradient(to top,#343249 0 100%) 4px 100%/2px 6px no-repeat,
    linear-gradient(to top,#343249 0 100%) 8px 100%/2px 8px no-repeat;}
.mk2-bat{width:16px;height:8px;border:1.2px solid #343249;border-radius:2.5px;position:relative;}
.mk2-bat::after{content:'';position:absolute;inset:1.4px;background:#343249;border-radius:1px;}

/* cover band */
.mk2-cover{
    position:relative;
    flex:0 0 auto;
    height:132px;
    padding:38px 16px 12px;
    box-sizing:border-box;
    display:flex;flex-direction:column;align-items:center;justify-content:center;
    text-align:center;
    color:#fff;
    background:
        linear-gradient(180deg, rgba(52,50,73,.34) 0%, rgba(52,50,73,.18) 45%, rgba(52,50,73,.46) 100%),
        url('/wedplanner/landing/assets/faces/cover.jpg') center 38% / cover no-repeat;
}
.mk2-cover-names{
    font-family:'Great Vibes','Libre Baskerville',cursive;
    font-size:27px;line-height:1.05;
    display:flex;align-items:baseline;gap:7px;
    text-shadow:0 2px 12px rgba(20,18,32,.4);
}
.mk2-cover-names em{font-size:19px;font-style:normal;opacity:.85;}
.mk2-cover-meta{margin-top:3px;font-size:9.5px;font-weight:600;letter-spacing:.2px;opacity:.94;text-shadow:0 1px 8px rgba(20,18,32,.5);}
.mk2-cover-page{margin-top:6px;font-size:15px;font-weight:700;letter-spacing:-.3px;text-shadow:0 2px 10px rgba(20,18,32,.45);}

/* scrollable body */
.mk2-body{
    flex:1 1 auto;
    padding:12px 13px 8px;
    overflow:hidden;
    background:#fff;
}
.mk2-body.is-plain{padding-top:40px;}

/* countdown + stats */
.mk2-countdown{
    display:flex;align-items:baseline;justify-content:center;gap:5px;
    font-size:10.5px;color:#8b8698;font-weight:600;
    margin:2px 0 12px;
}
.mk2-countdown b{
    font-family:'Libre Baskerville',serif;font-style:italic;
    font-size:26px;color:#343249;font-weight:400;letter-spacing:-.5px;
}
.mk2-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:2px;margin-bottom:12px;}
.mk2-stat{text-align:center;}
.mk2-stat b{
    display:block;
    font-family:'Libre Baskerville',serif;font-style:italic;font-weight:400;
    font-size:17px;color:#343249;
}
.mk2-stat i{display:block;font-style:normal;font-size:8.5px;color:#8b8698;font-weight:600;margin-top:1px;}

.mk2-split{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:13px;}
.mk2-split-c{
    background:#fff;border:1px solid #eeecf6;border-radius:12px;padding:9px 10px;
}
.mk2-split-c b{
    display:block;
    font-family:'Libre Baskerville',serif;font-style:italic;font-weight:400;
    font-size:15px;color:#343249;
}
.mk2-split-c i{display:block;font-style:normal;font-size:8.5px;color:#8b8698;font-weight:600;margin:1px 0 6px;}

.mk2-bar{display:block;height:3.5px;border-radius:3px;background:#eeecf6;overflow:hidden;}
.mk2-bar u{display:block;height:100%;background:#8e87f5;border-radius:3px;}

.mk2-sec{font-size:12px;font-weight:700;margin:2px 0 7px;}

/* supplier messages */
.mk2-msg{
    display:flex;align-items:center;gap:8px;
    padding:8px 4px;
    border-bottom:1px solid #f3f1fa;
}
.mk2-msg:last-child{border-bottom:0;}
.mk2-msg-t{flex:1;min-width:0;}
.mk2-msg-t b{display:block;font-size:10.5px;}
.mk2-msg-t i{display:block;font-style:normal;font-size:9.5px;color:#8b8698;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.mk2-msg > u{
    flex:0 0 auto;width:16px;height:16px;border-radius:50%;
    background:#8e87f5;color:#fff;font-size:9px;font-weight:700;
    display:flex;align-items:center;justify-content:center;text-decoration:none;
}

/* photo avatar */
.mk2-face{
    flex:0 0 auto;
    width:30px;height:30px;
    border-radius:50%;
    background-size:cover;
    background-position:center;
    box-shadow:0 0 0 1.5px #fff, 0 1px 5px rgba(52,50,73,.16);
}
.mk2-face.is-lg{width:46px;height:46px;}

/* progress block */
.mk2-progress{margin-bottom:11px;}
.mk2-progress-h{display:flex;align-items:baseline;justify-content:flex-start;gap:6px;margin-bottom:5px;}
.mk2-progress-h b{font-family:'Libre Baskerville',serif;font-style:italic;font-weight:400;font-size:20px;}
.mk2-progress-h i{font-style:normal;font-size:9.5px;color:#8b8698;font-weight:600;}

/* tab row */
.mk2-tabs{
    display:flex;gap:12px;
    border-bottom:1px solid #f0eef8;
    margin-bottom:11px;
    font-size:10px;font-weight:600;color:#9a95aa;
}
.mk2-tabs span{padding-bottom:7px;position:relative;white-space:nowrap;}
.mk2-tabs span.is-on{color:#343249;font-weight:700;}
.mk2-tabs span.is-on::after{
    content:'';position:absolute;inset-inline:0;bottom:-1px;height:2.5px;border-radius:2px;background:#8e87f5;
}

/* search field */
.mk2-search{
    display:flex;align-items:center;gap:7px;
    border:1px solid #eae7f4;border-radius:11px;
    padding:8px 11px;margin-bottom:11px;
    color:#a49fb4;font-size:10px;font-weight:600;
}
.mk2-search svg{width:13px;height:13px;flex:0 0 auto;}

/* group header */
.mk2-group{display:flex;align-items:center;justify-content:space-between;margin:2px 0 7px;}
.mk2-group b{font-size:11px;}
.mk2-group i{font-style:normal;font-size:9px;color:#8b8698;font-weight:600;}

/* list card */
.mk2-card{border:1px solid #eeecf6;border-radius:14px;overflow:hidden;background:#fff;}

.mk2-task{display:flex;align-items:flex-start;gap:9px;padding:9px 11px;border-bottom:1px solid #f4f2fb;}
.mk2-task:last-child{border-bottom:0;}
.mk2-task b{display:block;font-size:10.5px;}
.mk2-task i{display:block;font-style:normal;font-size:9px;color:#9a95aa;line-height:1.4;margin-top:1px;}
.mk2-task.is-done b,.mk2-task.is-done i{text-decoration:line-through;color:#b4afc2;}
.mk2-check{
    flex:0 0 auto;width:17px;height:17px;border-radius:6px;
    border:1.6px solid #e2ddf3;background:#fff;
    display:flex;align-items:center;justify-content:center;
    font-size:10px;color:#fff;line-height:1;
}
.mk2-check.is-on{background:#8e87f5;border-color:#8e87f5;}

.mk2-guest,.mk2-exp{display:flex;align-items:center;gap:9px;padding:8px 11px;border-bottom:1px solid #f4f2fb;}
.mk2-guest:last-child,.mk2-exp:last-child{border-bottom:0;}
.mk2-guest > div,.mk2-exp > div{flex:1;min-width:0;}
.mk2-guest b,.mk2-exp b{display:block;font-size:10.5px;}
.mk2-guest i,.mk2-exp i{display:block;font-style:normal;font-size:9px;color:#9a95aa;margin-top:1px;}

.mk2-pill{
    flex:0 0 auto;text-decoration:none;
    border-radius:999px;padding:3px 9px;
    font-size:8.5px;font-weight:700;
}
.mk2-pill.is-ok{background:#e9f6ef;color:#3d8f68;}
.mk2-pill.is-wait{background:#f3f1fa;color:#8b8698;}
.mk2-pill.is-part{background:#fdf1e4;color:#b5793a;}

.mk2-dot{flex:0 0 auto;width:9px;height:9px;border-radius:50%;background:#8e87f5;}
.mk2-dot.is-2{background:#ADA9FF;}
.mk2-dot.is-3{background:#f0c69a;}
.mk2-dot.is-4{background:#9ed8bd;}

/* budget total */
.mk2-total{border:1px solid #eeecf6;border-radius:14px;padding:11px 12px;margin-bottom:11px;}
.mk2-total i{display:block;font-style:normal;font-size:9px;color:#8b8698;font-weight:600;}
.mk2-total b{
    display:block;margin:1px 0 8px;
    font-family:'Libre Baskerville',serif;font-style:italic;font-weight:400;font-size:20px;
}
.mk2-total-legend{display:flex;justify-content:space-between;margin-top:6px;font-size:8.5px;font-weight:600;color:#8b8698;}

/* seating hall */
.mk2-hall{
    display:grid;grid-template-columns:repeat(3,1fr);gap:9px;
    background:#faf9ff;border:1px solid #f0eef8;border-radius:14px;
    padding:12px;margin-bottom:10px;
}
.mk2-table{
    aspect-ratio:1;border-radius:50%;
    background:#fff;border:1.5px solid #e6e2f6;
    display:flex;flex-direction:column;align-items:center;justify-content:center;
}
.mk2-table b{font-size:12px;}
.mk2-table i{font-style:normal;font-size:8px;color:#9a95aa;}

/* wishes */
.mk2-wish-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
.mk2-wish{
    position:relative;
    border:1px solid #eeecf6;border-radius:13px;
    padding:9px 10px 22px;
    background:#fff;
}
.mk2-wish-h{display:flex;align-items:center;gap:6px;margin-bottom:5px;}
.mk2-wish-h .mk2-face{width:20px;height:20px;}
.mk2-wish b{font-size:9.5px;color:#6f66cf;}
.mk2-wish i{display:block;font-style:normal;font-size:9px;line-height:1.45;color:#5f5b70;}
.mk2-wish u{position:absolute;inset-inline-start:9px;inset-block-end:7px;text-decoration:none;font-size:10px;color:#ADA9FF;}

/* invitation */
.mk2-invite-head{font-size:13px;font-weight:700;text-align:center;margin-bottom:10px;}
.mk2-invite{
    border:1px solid #eeecf6;border-radius:16px;
    padding:16px 14px 18px;text-align:center;
    background:linear-gradient(180deg,#FBF7F1 0%,#F6F3FF 100%);
}
.mk2-invite-pair{display:flex;justify-content:center;margin-bottom:9px;}
.mk2-invite-pair .mk2-face.is-over{margin-inline-start:-14px;}
.mk2-invite-eyebrow{font-size:8px;letter-spacing:3px;color:#8e87f5;font-weight:700;}
.mk2-invite-names{
    font-family:'Great Vibes','Libre Baskerville',cursive;
    font-size:26px;line-height:1.25;margin:2px 0 0;
}
.mk2-invite-names em{font-style:normal;opacity:.6;font-size:19px;}
.mk2-invite-rule{width:38px;height:1.5px;background:#ADA9FF;margin:8px auto;}
.mk2-invite-date{font-size:10px;font-weight:700;}
.mk2-invite-place{font-size:9px;color:#8b8698;font-weight:600;margin-top:2px;}
.mk2-invite-cta{
    margin:12px auto 0;max-width:150px;
    background:#443F58;color:#fff;border-radius:999px;
    padding:8px 0;font-size:10px;font-weight:700;
}
.mk2-swatches{display:flex;justify-content:center;gap:8px;margin:11px 0;}
.mk2-swatches span{width:19px;height:19px;border-radius:50%;background:#FBF7F1;box-shadow:0 0 0 1px #eae7f4;}
.mk2-swatches span.is-on{background:#ADA9FF;box-shadow:0 0 0 2px #fff,0 0 0 3.5px #8e87f5;}
.mk2-swatches span.is-2{background:#F1E4D6;}
.mk2-swatches span.is-3{background:#CFE3DA;}
.mk2-swatches span.is-4{background:#343249;}
.mk2-sendrow{
    display:flex;align-items:baseline;justify-content:space-between;
    border:1px solid #eeecf6;border-radius:12px;padding:9px 11px;
}
.mk2-sendrow b{font-size:11px;}
.mk2-sendrow i{font-style:normal;font-size:9px;color:#8b8698;font-weight:600;}

/* bottom nav */
.mk2-nav{
    flex:0 0 auto;
    display:flex;justify-content:space-around;align-items:center;
    padding:7px 4px 9px;
    border-top:1px solid #f1eff9;
    background:#fff;
}
.mk2-nav-i{display:flex;flex-direction:column;align-items:center;gap:3px;color:#a49fb4;}
.mk2-nav-i svg{width:17px;height:17px;}
.mk2-nav-i i{font-style:normal;font-size:7.5px;font-weight:600;}
.mk2-nav-i.is-on{color:#8e87f5;}

@media (max-width:480px){
    .mk2{font-size:10.5px;}
}

/* Desktop: the statement phone can afford to be larger again. */
@media (min-width:820px){
    .lpt2-statement-phone{inset-block-start:0;width:52%;}
    .lpt2-statement-phone .lp-phone{--phone-scale:.66;}
    .lpt2-cardphone .lp-phone{--phone-scale:.6;}
    .lpt2-shot{height:450px;}
    .lpt2-shot-statement{height:440px;}
}

/* A second dark title line (only the wishes card uses one so far). */
.lpt-card-title b{display:block;font-weight:700;}

/* The fixed bottom nav reserves a strip below .phone; body paints it, so give
   it the finale's lavender instead of ending the page on a white band. */
body.lpt-body{background:#ADA9FF;}
