/* Diggio3000 — Antonio Di Giorgio. Direzione cinematografica, settembre 2026. */
.dg-header{background:#030f1bed;backdrop-filter:blur(18px)}
.dg-header-inner{min-height:92px;gap:24px}.dg-brand img{width:225px;height:78px}.dg-nav.nav{gap:23px}.dg-nav.nav a,.dg-nav-more summary{font-size:13px}.dg-contact-link{background:transparent;border:1px solid #52beff;border-radius:30px;color:#9edcff!important;padding:9px 15px}
.dg-nav-more{position:relative;color:#e5f1ff}.dg-nav-more summary{list-style:none;cursor:pointer;white-space:nowrap;font-weight:600}.dg-nav-more summary::-webkit-details-marker{display:none}.dg-nav-more summary span{color:#6cc8ff;margin-left:5px}.dg-mega-menu{position:absolute;right:0;top:calc(100% + 25px);width:640px;max-height:70vh;overflow:auto;background:#071a2b;border:1px solid #35607e;box-shadow:0 25px 70px #0008;border-radius:15px;padding:18px;display:grid;grid-template-columns:1fr 1fr;gap:6px}.dg-mega-menu a{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:9px 12px;white-space:normal!important;border-radius:6px;font-size:12px!important}.dg-mega-menu a:hover{background:#15324b}.dg-mega-menu a span{color:#5aadde}.dg-service-nav{display:flex;justify-content:center;gap:24px;border-top:1px solid #ffffff12;padding:7px 18px;font-size:11px;color:#9dbed5}.dg-service-nav a:hover{color:white}
.dg-cinematic-home{background:#031222;color:#f0f6ff}.dg-cinema{position:relative;isolation:isolate;overflow:hidden;min-height:min(790px,85svh);background:#041222;color:white;display:flex;align-items:center}.dg-cinema-media,.dg-cinema-shade{position:absolute;inset:0;z-index:-2}.dg-cinema-media img{width:100%;height:100%;object-fit:cover;object-position:center;transform:scale(1.06);animation:cinema-drift 18s ease-in-out infinite alternate}.dg-cinema-shade{z-index:-1;background:linear-gradient(90deg,#020d1ee0 0%,#020d1e65 48%,transparent 78%),linear-gradient(0deg,#031222 0%,transparent 20%)}
.dg-cinema-content{padding:64px 0 35px}.dg-cinema .dg-kicker{color:#a5c7df;font-size:11px;letter-spacing:2px}.dg-cinema h1{max-width:790px;font-size:clamp(46px,4.65vw,74px);font-weight:750;letter-spacing:-2.8px;line-height:1.04;white-space:pre-line;margin:25px 0;filter:drop-shadow(0 2px 16px #0005)}.dg-cinema-copy{max-width:570px;color:#d6e7f7;font-size:18px;line-height:1.7}.dg-cinema-copy p{margin:0}.dg-cinema .dg-button{border-radius:40px;padding:14px 23px}.dg-cinema .dg-button-outline{border-color:#67beff}.dg-cinema-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:75px}.dg-cinema-bottom>a{font-size:10px;letter-spacing:2px;border-left:1px solid #5ebaff;padding:7px 15px}.dg-cinema-bottom>a span{display:inline-block;margin-left:15px;animation:scroll-cue 2s ease-in-out infinite}.dg-motion-toggle{background:#06172c9c;color:#badbf3;border:1px solid #47677d;padding:7px 12px;border-radius:30px;cursor:pointer;font-size:11px!important}.dg-light-path{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:-1;fill:none;stroke:#51c2ff;stroke-width:2;opacity:.8}.dg-light-path path:first-child{opacity:.18;stroke-width:8;filter:blur(4px)}.dg-light-path path:last-child{stroke-dasharray:90 2100;animation:light-flow 5s linear infinite;filter:drop-shadow(0 0 7px #42b7ff)}
@keyframes cinema-drift{from{transform:scale(1.06) translate3d(0,0,0)}to{transform:scale(1.13) translate3d(-1%,1%,0)}}@keyframes light-flow{to{stroke-dashoffset:-2190}}@keyframes scroll-cue{50%{transform:translateY(5px)}}
.dg-showcase{background:radial-gradient(ellipse at 20% 0%,#09223b,transparent 50%),#031222;color:#eff6ff;padding-top:65px}.dg-showcase .dg-section-head>p{color:#9ebbd2}.dg-showcase .dg-kicker{color:#b3cce0}.dg-feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.dg-feature{min-width:0;background:#071a2c;border:1px solid #395970;border-radius:16px;overflow:hidden;transition:transform .35s,border-color .35s,box-shadow .35s}.dg-feature:hover{transform:translateY(-5px);border-color:#6ac7ff;box-shadow:0 20px 45px #0003}.dg-feature>a{display:block}.dg-feature-media{aspect-ratio:1.7;overflow:hidden;background:#030c19}.dg-feature-media picture{display:block;width:100%;height:100%}.dg-feature-media img{width:100%;height:100%;object-fit:contain;transition:transform .7s}.dg-feature:hover img{transform:scale(1.035)}.dg-feature-caption{padding:20px 24px;display:flex;justify-content:space-between;align-items:center;gap:20px}.dg-feature-caption h3{font-size:21px;line-height:1.25;margin:0;letter-spacing:-.4px}.dg-feature-caption span{font-size:11px;color:#79cfff;white-space:nowrap}.dg-all-projects{margin-top:30px;border-top:1px solid #26435c}.dg-all-projects>summary{cursor:pointer;padding:22px 0;list-style:none;color:#8bd6ff;text-align:right;font-size:14px}.dg-all-projects>summary span{margin-left:15px}.dg-all-projects[open]>summary span{display:inline-block;transform:rotate(45deg)}.dg-all-projects .dg-search{max-width:420px;margin:10px 0 30px}.dg-all-projects .dg-project-grid{gap:28px}.dg-all-projects .dg-project{border:1px solid #29465e;border-radius:12px;overflow:hidden;padding:0 0 20px;background:#0a1d30}.dg-project-cover{display:block;aspect-ratio:1.6;background:#06101e;overflow:hidden;margin-bottom:20px}.dg-project-cover picture,.dg-project-cover img{display:block;width:100%;height:100%;object-fit:contain}.dg-all-projects .dg-project h3,.dg-all-projects .dg-project p{margin-left:20px;margin-right:20px}.dg-all-projects .dg-project p{color:#a2bfd5}.dg-all-projects .dg-project h3{font-size:18px}
.dg-world{position:relative;min-height:520px;display:flex;align-items:center;overflow:hidden;color:#031b31;background:#b9d9eb;isolation:isolate}.dg-world>img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:50% 58%}.dg-world:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#e4f4ffdf,transparent 64%)}.dg-world h2{font-size:clamp(45px,5vw,76px);line-height:1.02;letter-spacing:-3px;margin:22px 0}.dg-world p{font-size:18px;line-height:1.6;max-width:450px}.dg-world .dg-kicker{color:#294d6b}.dg-portfolio{background:#f6f4f0;color:#081c30}.dg-portfolio .dg-portfolio-grid{gap:35px 28px}.dg-portfolio-card{background:transparent;border:0;border-radius:0}.dg-portfolio-image{border:7px solid #192734;border-bottom-width:16px;border-radius:13px;box-shadow:0 15px 30px #263b4a20;background:#dce7ed}.dg-portfolio-body{padding:23px 2px}.dg-portfolio-body h3{font-size:23px}.dg-portfolio-body small{border-color:#d9dadd;padding-top:10px;margin-top:13px}.dg-portfolio-image>span{font-size:10px}.dg-portfolio .dg-kicker{color:#416579}
.dg-cinematic-home .dg-white{background:#071c30;color:#eef6ff}.dg-cinematic-home .dg-white .dg-kicker{color:#a4c9df}.dg-cinematic-home .dg-products{gap:26px}.dg-cinematic-home .dg-product{border-color:#30516c;background:#102a40;color:#eef6ff}.dg-cinematic-home .dg-product-img{aspect-ratio:1.55}.dg-cinematic-home .dg-product p{color:#c1d2e1}.dg-cinematic-home .dg-product-version{color:#9bcce9}.dg-cinematic-home .dg-product-bottom{border-color:#315069}.dg-cinematic-home .dg-care-note{border-color:#315069;color:#bdd1e1}.dg-cinematic-home .dg-care-note a{color:#a4defe}.dg-cinematic-home .dg-paper{background:#eaf0f4;color:#102c43}.dg-services article{padding:25px;border:1px solid #c6d6e0;border-radius:15px;background:linear-gradient(145deg,#fff,#e5eef5)}.dg-services .dg-number{font-size:35px;color:#2384b9}.dg-services h3{margin-top:12px}.dg-about{background:radial-gradient(ellipse at right,#174967,#071a2c 65%)}.dg-cinematic-home .dg-method p{color:#adc7d9}.dg-cinematic-home .dg-method span{color:#7bceff}.dg-cinematic-home .dg-method>div{border-color:#3c5870}.dg-contact{background:linear-gradient(135deg,#05182be8,#102c46e8),url('/assets/cinema/hero.webp') center/cover;color:white}.dg-contact p,.dg-contact-details{color:#d0e5f4}.dg-contact .dg-kicker{color:#a2d6f7}.dg-contact-form{color:#17324b}.dg-footer img{height:85px;width:252px}.dg-footer-top>div:nth-child(2){columns:2;column-gap:25px}.dg-footer-top{grid-template-columns:1fr 1.65fr .85fr 1fr;gap:30px}.dg-footer-top .dg-kicker{column-span:all}.dg-footer-top>div:nth-child(2)>a{break-inside:avoid;font-size:11px}.dg-footer{background:#030f1c}.dg-whatsapp{background:#071c30;border-color:#467fa4;color:#c6eaff!important}
/* Attivazione progressiva: senza JavaScript tutti i contenuti rimangono visibili. */
.cinema-ready [data-cinema-reveal]{transition:opacity .7s,transform .7s}.cinema-ready [data-cinema-reveal].cinema-wait{opacity:0;transform:translateY(26px)}.cinema-paused .dg-cinema-media img,.cinema-paused .dg-light-path path,.cinema-paused .dg-cinema-bottom>a span,[data-motion="off"] .dg-cinema-media img,[data-motion="off"] .dg-light-path path,[data-motion="off"] .dg-cinema-bottom>a span{animation-play-state:paused}
@media(min-width:1001px){.dg-header .menu-toggle{display:none!important}}
@media(max-width:1250px){.dg-nav.nav{gap:14px}.dg-header-inner{gap:16px}.dg-brand img{width:190px}.dg-nav.nav a,.dg-nav-more summary{font-size:12px}.dg-contact-link{font-size:12px}}
@media(max-width:1000px){.dg-header-inner{min-height:80px}.dg-nav.nav{top:80px;max-height:calc(100svh - 110px)}.dg-mega-menu{position:static;width:auto;max-height:none;box-shadow:none;border:0;padding:5px;grid-template-columns:1fr 1fr;background:#0c2337}.dg-nav-more summary{padding:12px 13px;font-size:15px}.dg-service-nav{gap:20px;overflow-x:auto;justify-content:flex-start;white-space:nowrap;padding:8px 20px;scrollbar-width:thin}.dg-cinema{min-height:700px}.dg-cinema h1{font-size:58px;max-width:680px}.dg-cinema-content{padding-top:50px}.dg-cinema-copy{max-width:470px;font-size:17px}.dg-feature-caption{align-items:flex-start;flex-direction:column;gap:8px}.dg-footer-top{grid-template-columns:1fr 1fr}.dg-world{min-height:450px}}
@media(max-width:760px){.dg-cinema{min-height:770px;align-items:flex-start}.dg-cinema-media img{object-position:68% center;animation:none;transform:scale(1.02)}.dg-cinema-shade{background:linear-gradient(180deg,#020e1bef,#02132988 48%,#03122220 70%,#031222)}.dg-cinema h1{font-size:clamp(37px,7.4vw,54px);letter-spacing:-1.6px;max-width:100%;line-height:1.08}.dg-cinema-content{padding-top:50px}.dg-cinema-copy{font-size:16px;max-width:440px}.dg-cinema .dg-hero-actions{gap:12px}.dg-cinema .dg-button{font-size:12px;padding:12px 17px}.dg-cinema-bottom{margin-top:210px;gap:10px}.dg-cinema-bottom>a{font-size:8px;letter-spacing:1px}.dg-motion-toggle{font-size:10px!important}.dg-feature-grid{gap:18px}.dg-feature-caption{padding:16px}.dg-feature-caption h3{font-size:18px}.dg-feature-media{aspect-ratio:1.4}.dg-world{min-height:570px;align-items:flex-start;padding-top:40px}.dg-world>img{object-position:65% bottom}.dg-world:after{background:linear-gradient(180deg,#e3f2ffef 0%,#e3f2ff99 36%,transparent 65%)}.dg-world h2{font-size:48px}.dg-world p{font-size:16px}.dg-products .dg-product{display:flex}.dg-product-img{min-height:0}.dg-footer-top>div:nth-child(2){columns:1}.dg-all-projects .dg-project-grid{grid-template-columns:1fr 1fr}.dg-service-nav{font-size:10px}.dg-contact-grid{gap:35px}}
@media(max-width:480px){.dg-brand img{width:205px;height:70px}.dg-header-inner{min-height:76px}.dg-feature-grid{grid-template-columns:1fr}.dg-feature-media{aspect-ratio:1.65}.dg-feature-caption{flex-direction:row;align-items:center}.dg-feature-caption h3{font-size:19px}.dg-feature-caption span{font-size:10px}.dg-cinema h1{font-size:37px}.dg-cinema-content{padding-top:38px}.dg-cinema{min-height:760px}.dg-cinema-bottom{margin-top:200px}.dg-cinema .dg-kicker{font-size:9px;letter-spacing:1.1px}.dg-mega-menu{grid-template-columns:1fr}.dg-all-projects .dg-project-grid{grid-template-columns:1fr}.dg-world h2{font-size:46px}.dg-world{min-height:530px}.dg-cinematic-home .dg-section-head h2{font-size:35px}.dg-whatsapp{max-width:220px}.dg-portfolio-grid{gap:25px}.dg-cinema .dg-button{font-size:11px;padding:12px 15px;gap:8px}}
@media(prefers-reduced-motion:reduce){.dg-cinema-media img,.dg-light-path path,.dg-cinema-bottom>a span{animation:none!important}.cinema-ready [data-cinema-reveal].cinema-wait{opacity:1;transform:none}.dg-feature,.dg-feature img{transition:none}.dg-light-path{display:none}}
