/* V7: four services at a time on mobile, paired return controls and contact choice. */
.home-scroll-cue{display:none}
.header .top-return{margin-left:auto}
.top-return{flex-shrink:0}
.top-return svg{width:19px;height:19px;flex-shrink:0}
.px-backbar .client-paths{display:flex;position:static;inset:auto;order:2;margin-left:auto}
.px-backbar>details{order:1}
.demo-dialog .sample-returnbar{display:flex;justify-content:space-between;min-height:48px;padding:7px 18px;gap:14px}
.demo-dialog .sample-returnbar .invitation-return-nav{display:flex;position:static;inset:auto;width:auto;height:auto;min-height:0;padding:0;background:transparent;border:0;box-shadow:none;order:2;margin-left:auto;flex:0 0 auto}
.demo-dialog .sample-returnbar .invitation-sample-label{order:1;text-align:left}
.sample-returnbar .top-return{margin-left:auto}
.lightbox-top{justify-content:flex-end}
.gallery-return.top-return{margin-left:auto}
.demo-dialog .demo-cover .premium-envelope .cover-hint{order:initial;position:absolute;z-index:8;top:calc(38% + 76px + 14px);left:50%;transform:translateX(-50%) rotate(3deg);width:max-content;max-width:calc(100% - 24px);box-sizing:border-box;margin:0!important;padding:7px 12px!important;border-radius:20px;border:1px solid #bda97970;background:#fffdf3ed;color:#59472e;font:10px/1.5 Arial,sans-serif!important;letter-spacing:.01em;text-align:center;pointer-events:none;box-shadow:0 2px 8px #0000000d}
#demo-dialog #demo-cover>.cover-hint{order:initial;position:absolute;z-index:20;top:var(--px-seal-hint-top,400px);left:var(--px-seal-hint-left,50%);transform:translateX(-50%);width:max-content;max-width:calc(100% - 34px);box-sizing:border-box;margin:0!important;padding:7px 12px!important;border-radius:20px;border:1px solid #bda97970;background:#fffdf3f5;color:#59472e;font:10px/1.5 Arial,sans-serif!important;letter-spacing:.01em;text-align:center;pointer-events:none;box-shadow:0 2px 8px #0000000d}
.demo-dialog .premium-envelope .premium-pocket>span{visibility:hidden}
/* The contact choice is a separate, accessible native dialog. */
#contact-choice{box-sizing:border-box;position:fixed;inset:auto;top:50%;left:50%;transform:translate(-50%,-50%);width:min(450px,calc(100vw - 36px));max-width:450px;max-height:calc(100dvh - 36px);height:auto;margin:0;padding:32px;border:1px solid #cbd7e6;border-radius:28px;overflow:auto;background:#fbfcff;color:#1b2b41;box-shadow:0 28px 90px #03102060;text-align:left;font-family:Arial,sans-serif}
body.contact-choice-open{overflow:hidden!important}
#contact-choice::backdrop{background:#071120b8;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
#contact-choice .contact-choice-close{position:absolute;top:12px;right:12px;display:grid;place-items:center;min-width:36px;min-height:36px;padding:0;border-radius:50%;border:1px solid #dce5ef;background:#eff3f8;color:#5a6e85;cursor:pointer}
#contact-choice .contact-choice-close svg{width:15px;height:15px}
#contact-choice .contact-choice-kicker{margin:0 32px 12px 0;font-size:9px;font-weight:500;letter-spacing:.16em;color:#59728f;line-height:1.4}
#contact-choice h2{margin:0 0 13px;font-size:30px;font-weight:550;line-height:1.13;letter-spacing:-.045em;color:#192b43}
#contact-choice .contact-choice-intro{margin:0 0 24px;font-size:13px;line-height:1.7;color:#6b7b90}
#contact-choice .contact-choice-options{display:grid;gap:12px}
#contact-choice .contact-choice-option{display:grid;grid-template-columns:34px minmax(0,1fr) 15px;align-items:center;gap:13px;min-height:94px;box-sizing:border-box;padding:17px 15px;border:1px solid #d8e2ee;border-radius:19px;background:white;color:#243b58;text-decoration:none;box-shadow:0 3px 12px #152e4f06;transition:background .2s,border-color .2s,transform .2s}
#contact-choice .contact-choice-option>svg{width:25px;height:25px;stroke-width:1.5}
#contact-choice .contact-choice-option>svg:last-child{width:15px;height:15px;color:#8a9cb2}
#contact-choice .contact-choice-option strong{display:block;font-size:14px;font-weight:550;line-height:1.35;letter-spacing:-.02em;color:#213650}
#contact-choice .contact-choice-option span span{display:block;margin-top:6px;font-size:11px;line-height:1.6;color:#718096}
#contact-choice .contact-choice-quote{border-color:#afc7e9;background:#f0f6ff;color:#3d6fae}
#contact-choice .contact-choice-chat>svg:first-child{color:#2b7762}
#contact-choice .contact-choice-option:hover{background:#edf4fc;border-color:#a3bad8;transform:translateY(-1px)}
#contact-choice :focus-visible{outline:3px solid #448ae3;outline-offset:4px}
@media(max-width:700px){
 :root{--px-dock-height:94px;--shell-dock:94px}
 .header .page-return,.px-backbar .client-paths{display:flex}
 .header .page-return,.px-backbar .client-paths a,.sample-returnbar .top-return,.gallery-return.top-return{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-width:43px;min-height:43px;width:43px;height:43px;padding:0;border-radius:14px;font-size:11px;gap:0}
 .header .top-return svg,.px-backbar .top-return svg,.sample-returnbar .top-return svg,.gallery-return.top-return svg{width:19px;height:19px}
 .top-return .top-return-label,.gallery-return.top-return>span{display:none}
 .px-backbar{flex-wrap:nowrap!important;align-items:center!important;min-height:58px;box-sizing:border-box}
 .px-backbar .client-paths{flex:0 0 auto}
 .demo-dialog .sample-returnbar{min-height:53px;padding:6px 14px;position:sticky;top:0}
 .demo-dialog .sample-returnbar .invitation-return-nav{gap:0;flex:0 0 auto}
 .demo-dialog .sample-returnbar .invitation-sample-label{font-size:8px;max-width:170px;line-height:1.5}
 .gallery-dialog>.sample-returnbar{display:flex;justify-content:flex-end}
 #lightbox.px-dock-host .lightbox-top{display:flex;margin-bottom:12px;justify-content:flex-end}
 #lightbox.px-dock-host #lightbox-image{max-height:calc(100dvh - 280px)}
 .demo-dialog .demo-cover .premium-envelope .cover-hint{top:calc(38% + 65px + 14px);font-size:9px!important;padding:7px 10px!important;max-width:calc(100% - 16px)}
 /* Two generous rows form the first view. The next two remain below the fold. */
 .home-mode{height:auto;min-height:100svh;overflow-x:clip;overflow-y:auto;padding-bottom:calc(var(--px-dock-height) + env(safe-area-inset-bottom));background:#080e19}
 .home-mode main{height:auto;min-height:0}
 .home-dashboard{height:auto;min-height:0}
 .home-mode .dashboard-container{display:block;height:auto;max-width:520px;margin:0 auto;padding:22px 20px 32px;--px-home-grid-top:190px;--px-home-gap:20px;--px-home-row:max(145px,calc((100svh - var(--px-home-grid-top) - var(--px-dock-height) - env(safe-area-inset-bottom) - 74px)/2))}
 .home-mode .dashboard-intro{margin:0 auto 23px;max-width:420px}
 .home-mode .dashboard-intro .eyebrow{font-size:7px;letter-spacing:.16em;margin-bottom:10px}
 .home-mode .dashboard-intro h1{font-size:27px;line-height:1.1;letter-spacing:-.045em}
 .home-dashboard .premium-services{height:auto;min-height:0;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,var(--px-home-row)) 22px repeat(2,var(--px-home-row));gap:var(--px-home-gap)}
 .home-dashboard .visual-service{height:auto;min-height:0;aspect-ratio:auto;border-radius:30px;clip-path:inset(0 round 30px);box-shadow:0 3px 8px #0005,0 16px 28px -12px #0009;border:1px solid #c0d8fc25;isolation:isolate}
 .home-dashboard .visual-service-image,.home-dashboard .visual-service-image img,.home-dashboard .visual-shade{border-radius:inherit}
 .home-dashboard .visual-service-image img{height:100%;width:100%;object-fit:cover;object-position:center 42%}
 .home-dashboard .visual-service-copy{left:16px;right:13px;bottom:20px}
 .home-dashboard .visual-service-copy h3{font-size:18px;line-height:1.16;letter-spacing:-.035em;margin:0;max-width:100%;text-wrap:balance}
 .home-dashboard .visual-shade{background:linear-gradient(180deg,#030a1400 15%,#030a1410 35%,#030a14ca 80%,#030a14eb 100%)}
 .home-scroll-cue{grid-column:1/-1;height:22px;margin:0;display:flex;align-items:center;justify-content:center;gap:8px;color:#97acc8;font:9px/1.4 Arial,sans-serif;letter-spacing:.015em}
 .home-scroll-cue svg{width:13px;height:13px;flex-shrink:0}
 .home-mode .contact-dock .quick-contacts{gap:3px;max-width:380px}
 #contact-choice{padding:31px 23px 24px;border-radius:25px}
 #contact-choice h2{font-size:28px}
 #contact-choice .contact-choice-option{padding:16px 13px;gap:10px}
}
@media(max-width:360px){.home-mode .dashboard-container{padding-left:16px;padding-right:16px;--px-home-gap:16px}.home-mode .dashboard-intro h1{font-size:25px}.home-dashboard .visual-service{border-radius:26px;clip-path:inset(0 round 26px)}.home-dashboard .visual-service-copy{left:13px;right:10px;bottom:17px}.home-dashboard .visual-service-copy h3{font-size:16px}}
@media(max-width:700px) and (max-height:670px){.home-mode .dashboard-container{padding-top:12px;--px-home-gap:16px}.home-mode .dashboard-intro{margin-bottom:17px}.home-mode .dashboard-intro h1{font-size:23px}.home-mode .dashboard-intro .eyebrow{margin-bottom:7px;font-size:6px}.home-dashboard .visual-service-copy h3{font-size:16px}}
@media(prefers-reduced-motion:reduce){#contact-choice .contact-choice-option{transition:none}}
