
/* Photo stories enter like a small scrapbook. */
.hero-slide.active .hero-landscape{animation:photo-arrive .95s cubic-bezier(.2,.75,.2,1) both}.hero-slide.active .hero-device,.hero-slide.active .hero-browser{animation:device-arrive 1.1s .15s cubic-bezier(.16,1,.3,1) both}.hero-slide.active .opening-copy{animation:words-arrive .7s .2s ease both}.hero-slide.active .hero-art{animation:person-arrive 1s .32s cubic-bezier(.2,.8,.2,1) both}
@keyframes photo-arrive{from{opacity:0;translate:45px 20px;rotate:2deg;scale:.96;clip-path:inset(0 0 100% 0 round 30px)}to{opacity:1;translate:0 0;rotate:0deg;scale:1;clip-path:inset(0 round 0px)}}
@keyframes device-arrive{from{opacity:0;translate:10px 65px;rotate:8deg}to{opacity:1;translate:0 0;rotate:0deg}}
@keyframes words-arrive{from{opacity:0;translate:0 16px}to{opacity:1;translate:0 0}}
@keyframes person-arrive{from{opacity:0;translate:-35px 30px;rotate:-8deg}to{opacity:1;translate:0 0;rotate:0deg}}
.hero-slide[data-slide="1"] .hero-landscape{object-position:67% 53%}.hero-slide[data-slide="1"] .hero-browser{width:45%;top:63%;right:-2%}.hero-slide[data-slide="2"] .hero-landscape{object-position:70% 50%}.hero-slide[data-slide="2"] .hero-device{right:-2%;top:26%;width:29%}.hero-slide[data-slide="3"] .hero-landscape{object-position:center;filter:none}.hero-slide[data-slide="2"] .hero-art{width:24%;max-width:270px;left:28%;bottom:13%}.hero-slide[data-slide="3"] .hero-art{width:20%;max-width:230px;left:31%;bottom:12%}
.app-preview-switch{display:flex;justify-content:center;gap:5px;margin-top:15px}.app-preview-switch button{border:1px solid #d6cebb;border-radius:30px;background:#fff9;padding:7px 10px;font-size:10px;color:var(--ink);cursor:pointer}.app-preview-switch button[aria-pressed="true"]{background:var(--ink);color:#fff;border-color:var(--ink)}.app-preview-switch button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.app-preview-switch+.hero-device-label{margin-top:6px}
/* A rounded paper sheet for each product. */
.product-modal{position:fixed;inset:auto 0 0;width:min(1050px,calc(100% - 48px));max-width:none;height:92dvh;max-height:92dvh;margin:0 auto;padding:0;border:0;border-radius:38px 38px 0 0;background:#fbf8f0;color:var(--ink);box-shadow:0 -20px 90px #26302830;overflow:auto;overscroll-behavior:contain}.product-modal:modal{overscroll-behavior:contain}.product-modal::backdrop{background:#28362e80;backdrop-filter:blur(8px);overflow:hidden;overscroll-behavior:contain}.product-modal[open]{animation:sheet-up .65s cubic-bezier(.16,1,.3,1) both}.product-modal.closing{animation:sheet-down .3s ease-in both}.modal-grip{height:5px;width:45px;border-radius:8px;background:#c7c1b3;margin:15px auto}.modal-close{position:sticky;float:right;top:20px;margin:0 25px 0 0;z-index:5;border:1px solid #d7d0c1;border-radius:50%;width:43px;height:43px;font-size:28px;line-height:1;background:#fbf8f0;cursor:pointer}.product-modal-content{clear:both;padding:0 7% 65px}.product-modal .actual-detail{padding:15px 0 30px;border:0}.product-modal .actual-detail>h2{font-size:clamp(26px,3vw,38px);padding-right:5%}.product-modal .actual-detail>.label{color:var(--accent);font-size:10px}.modal-art{display:block;width:130px;height:auto;margin:5px 0 20px;transform:rotate(-4deg)}.product-modal .detail-description{font-size:14px;max-width:630px}.product-modal .device-3d{--device-width:270px}.product-modal .detail-screen.wide{max-height:700px;object-fit:contain;border-radius:17px;border:8px solid #fff}.product-modal .futo-start{gap:30px;max-width:530px;padding:25px;background:#f1e9cf;border-radius:28px}.product-modal .app-showcase{border-radius:25px;background:#eee9dc!important;padding:35px 15px}.product-modal .day-reels{gap:25px}.product-modal .caption{font-size:11px}.modal-page-link{display:inline-block;margin-top:0;font-size:12px;text-decoration:underline;text-underline-offset:7px}.product-modal .device-3d{margin:25px auto}.product-modal-content>p{padding:30px 0}
@keyframes sheet-up{from{transform:translateY(105%);opacity:.6}to{transform:translateY(0);opacity:1}}@keyframes sheet-down{to{transform:translateY(105%);opacity:0}}
/* Full-page entries use the same quiet, rounded treatment. */
body:has(.case-opening) .actual-detail{border-radius:34px;background:#f7f2e6;margin:35px 5vw;padding:60px 6vw;border:0}body:has(.case-opening) .case-opening{padding-bottom:35px}
@media(max-width:760px){
.opening.carousel{height:960px;min-height:960px;max-height:none}.opening-header>.brand{top:25px;left:7vw;width:205px}.business-identity{position:absolute;top:94px;left:7vw;font-size:8px;width:86%;max-width:none}.hero-photo-phone{top:140px;left:4%;width:92%;height:370px}.hero-photo-phone>.hero-landscape{height:88%;width:100%}.hero-device{width:37%;top:18%;right:1%}.hero-slide .opening-copy{top:575px;left:7vw;width:86%;max-width:none}.hero-title{font-size:25px;line-height:1.6}.hero-slide .opening-copy>.label{margin-bottom:13px}.hero-slide .opening-copy>p:not(.label){font-size:11px;line-height:1.9;margin-top:15px}.hero-slide .opening-copy>.small-link{margin-top:15px}.carousel .hero-art{left:2%;bottom:auto;top:410px;width:27%;max-width:110px}.hero-slide[data-slide="1"] .hero-landscape{object-position:69% 48%}.hero-slide[data-slide="1"] .hero-browser{width:51%;top:69%;right:-1%}.hero-slide[data-slide="2"] .hero-landscape{object-position:70% 50%}.hero-slide[data-slide="2"] .hero-device{width:35%;top:24%;right:0}.hero-slide[data-slide="2"] .hero-art{top:430px;left:2%;width:33%;max-width:130px}.hero-slide[data-slide="3"] .hero-art{top:400px;left:2%;width:29%;max-width:115px}.carousel-controls{bottom:150px;left:7vw;z-index:6}.opening-nav{bottom:20px}.opening-nav .entry{font-size:14px}.app-preview-switch{margin-top:10px;gap:3px}.app-preview-switch button{font-size:8px;padding:6px 7px}.hero-device-label{font-size:7px}.product-modal{width:100%;height:94dvh;max-height:94dvh;border-radius:28px 28px 0 0}.product-modal-content{padding:0 6vw 40px}.modal-close{top:15px;margin-right:18px;width:38px;height:38px}.modal-art{width:100px}.product-modal .actual-detail>h2{font-size:26px}.product-modal .detail-description{font-size:12px}.product-modal .app-showcase{display:block}.product-modal .app-showcase figure+figure{margin-top:50px}.product-modal .futo-start{padding:15px;gap:15px}.product-modal .day-reels{grid-template-columns:minmax(0,260px)}body:has(.case-opening) .actual-detail{margin:20px 4vw;padding:35px 6vw}.product-modal .detail-screen.wide{border-width:4px}
}
@media(prefers-reduced-motion:reduce){.hero-slide.active .hero-landscape,.hero-slide.active .hero-device,.hero-slide.active .hero-browser,.hero-slide.active .opening-copy,.hero-slide.active .hero-art,.product-modal[open],.product-modal.closing{animation:none}}
.paused .hero-slide *{animation-play-state:paused!important}
/* Keep the photographer's face free of the device. */
.hero-slide[data-slide="2"] .hero-device{left:-2%;right:auto;top:30%}
@media(max-width:760px){.hero-slide[data-slide="2"] .hero-device{left:-1%;right:auto;top:24%}.hero-slide[data-slide="2"] .hero-art{left:auto;right:4%;top:430px}}
.opening.carousel{overflow:clip}
/* Slim device frames: one bezel, restrained depth, no metal extrusion. */
.device-3d,.hero-device .device-3d,.app-showcase .device-3d,.app-showcase figure:nth-child(2) .device-3d,.app-showcase figure:nth-child(3) .device-3d{padding:4px;border:1px solid #343733;background:#202320;border-radius:27px;box-shadow:0 2px 3px #18251e16,8px 15px 25px #18251e20;transform:perspective(1800px) rotateY(-7deg) rotateZ(2deg);transform-style:flat}
.device-3d:before,.device-3d:after,.device-shine{display:none!important}.device-screen,.hero-device .device-screen,.actual-detail .app-showcase .device-screen{border:0;border-radius:22px;transform:none;background:#fff}.hero-device .reel-ui{border-radius:22px}.device-3d:hover,a:focus-visible .device-3d{transform:perspective(1800px) rotateY(-3deg) rotateZ(1deg);box-shadow:0 2px 3px #18251e16,8px 15px 25px #18251e20}
@media(max-width:760px){.device-3d,.hero-device .device-3d{padding:3px;border-radius:20px}.device-screen,.hero-device .device-screen{border-radius:16px}.hero-device .reel-ui{border-radius:16px}}
@media(max-width:760px){.opening.carousel{height:1100px;min-height:1100px}.carousel-controls{top:875px;bottom:auto}.opening-nav{bottom:25px}.hero-device{width:min(37%,145px)}.hero-slide[data-slide="2"] .hero-device{width:min(35%,132px)}.app-preview-switch button{min-height:32px}}
.app-preview-switch{gap:8px;width:max-content;position:relative;left:50%;transform:translateX(-50%)}.app-preview-switch button{flex-shrink:0;white-space:nowrap}
/* Draw the close mark around the exact centre, independent of font metrics. */
.product-modal .modal-close{box-sizing:border-box;padding:0;appearance:none;-webkit-appearance:none;font-size:0;line-height:0;letter-spacing:0;display:grid;place-items:center}
.product-modal .modal-close::before,.product-modal .modal-close::after{content:"";position:absolute;left:50%;top:50%;width:15px;height:1.5px;border-radius:2px;background:currentColor;transform:translate(-50%,-50%) rotate(45deg);pointer-events:none}
.product-modal .modal-close::after{transform:translate(-50%,-50%) rotate(-45deg)}

/* DB opens as an editorial sheet; the diagram belongs inside this reader. */
.product-modal.is-db-story .modal-art{display:none}
.product-modal.is-db-story .actual-detail>h2{margin-top:20px}
.journal-db-note{display:block;margin-top:9px;font-size:10px;line-height:1.8;opacity:.8}
.modal-footer-nav{margin-top:40px;padding-top:28px;border-top:1px solid #dfd7c6;display:grid;gap:22px}
.modal-case-pager{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}
.modal-Step-btn{border:1px solid #c8bbab;background:#fcf7ec;border-radius:999px;padding:10px 18px;min-height:44px;font-size:12px;transition:background .2s,transform .2s}
.modal-Step-btn:hover{background:#f0dbb6;transform:translateY(-2px)}
.modal-case-actions{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}
.modal-consult-link{display:inline-flex;align-items:center;min-height:44px;padding:10px 20px;border-radius:999px;background:var(--ink);color:#fbf8f0;font-size:12px;text-decoration:none;transition:opacity .2s}
.modal-consult-link:hover{opacity:.85}
@media(max-width:760px){.modal-case-pager{flex-direction:column}.modal-Step-btn{width:100%;text-align:left}}


.modal-open,.menu-open,.lightbox-open{overflow:hidden}
