/* DIGIGROUPE / Cinematic studio
   Visual grammar: real-time spatial grid, volumetric product modules, strict editorial type.
   All imagery, objects and composition are independently authored for DIGIGROUPE. */
:root{--sky:#030712;--paper:#060c18;--blue:#2475f4;--ink:#f6f9ff;--night:#02050c;--yellow:#ffc600;--line:rgba(207,226,255,.18);--muted:#a4b2cd;--serif:'Space Grotesk',Arial,sans-serif;--sans:'Space Grotesk',Arial,sans-serif;--mono:'DM Mono',monospace;color-scheme:dark;scroll-padding-top:82px}
html{scroll-padding-top:80px}body{background:#02050c!important;color:#f7f9ff!important;font-family:'Space Grotesk',Arial,sans-serif!important;overflow-x:clip}
#dg-cinematic-stage{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none!important;background:radial-gradient(ellipse at 90% 38%,#092059 0%,#04091a 50%,#010307 84%)}
#dg-cinematic-stage canvas{width:100%;height:100%;display:block;pointer-events:none!important}
.dg-cinematic-fallback{position:absolute;inset:0;background:radial-gradient(ellipse at 88% 30%,rgba(16,96,249,.55),transparent 49%),linear-gradient(116deg,#020407,#091738 100%)}
body.dg-webgl-ready .dg-cinematic-fallback{display:none}
.header{position:fixed!important;top:0;left:0;right:0;z-index:90!important;background:rgba(0,3,11,.77)!important;border-bottom:1px solid rgba(214,231,255,.14)!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.header-grid{min-height:72px!important;display:grid!important;grid-template-columns:auto 1fr auto!important;gap:28px!important}
.header .brand{display:flex!important;align-items:center;gap:10px;width:auto!important;white-space:nowrap;text-decoration:none!important}
.header .brand img{width:31px!important;height:31px!important;object-fit:contain}
.dg-wordmark{font-size:19px;font-weight:700;letter-spacing:-.065em;color:#fff}
.header-location{display:flex;flex-direction:column;margin:0;justify-self:start;padding-left:24px!important;font-size:9px!important;color:#9fb1d0!important}
.header-location .online{background:#58a5ff!important;left:6px!important}
.navigation{display:flex;align-items:center;gap:clamp(18px,2.3vw,38px)}
.navigation a{color:#e9f2ff!important;font-size:13px!important;font-weight:500!important}
.navigation a:hover{color:#87b7ff!important}
.navigation .nav-cta{border-radius:2px!important;background:#1265e6!important;border-color:#2a7df6!important;color:white!important;padding:14px 18px!important}
.navigation .nav-cta:hover{background:#3788ff!important}
main{position:relative;z-index:1}
.container{width:min(100% - clamp(40px,5.2vw,110px),1640px)!important}
.hero{min-height:790px!important;height:100svh!important;max-height:1350px;display:flex;align-items:flex-end;padding:120px 0 0!important;background:transparent!important;isolation:isolate;overflow:hidden}
.hero:before{content:"";display:block!important;position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,1,8,.52),rgba(0,2,10,.20) 53%,transparent 88%),linear-gradient(180deg,rgba(1,3,10,.20),transparent 36%,rgba(0,3,12,.37));pointer-events:none;z-index:-1;opacity:1!important}
.hero .dg-hero-inner{display:flex;flex-direction:column;justify-content:space-between;position:relative;z-index:2;min-height:100%;padding-top:clamp(34px,6vh,110px);padding-bottom:24px}
.dg-hero-overline{color:#b4c7e9!important;letter-spacing:.045em;font:500 11px/1.55 var(--mono);margin:0!important}
.dg-hero-overline span{color:#8096bd}
.dg-hero-main{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(260px,.64fr);align-items:end;gap:clamp(35px,6.3vw,130px);padding:80px 0 30px}
.dg-eyebrow{font:500 clamp(10px,.9vw,13px)/1.4 var(--mono);letter-spacing:.08em;color:#a6c3ff!important;margin:0 0 26px!important}
.hero #hero-title{font:500 clamp(72px,8.0vw,155px)/.95 'Space Grotesk',Arial,sans-serif!important;letter-spacing:-.092em!important;color:#fff!important;margin:0!important;text-wrap:balance;text-align:left!important;max-width:1100px}
.hero #hero-title em{font-style:normal!important;color:#eaf3ff!important}
.dg-hero-detail{padding-bottom:9px;max-width:480px}
.dg-hero-detail p{font-size:clamp(16px,1.4vw,21px);line-height:1.56;color:#b9c6dc;margin:0 0 26px}
.dg-hero-detail strong{font-weight:600;color:white}
.dg-hero-actions{display:flex;gap:10px;flex-wrap:wrap}
.dg-action-primary,.dg-action-alt{display:inline-flex;align-items:center;justify-content:center;min-height:51px;padding:15px 20px;text-align:center;text-decoration:none;border-radius:2px;font:600 13px/1.3 'Space Grotesk',Arial,sans-serif;white-space:nowrap;transition:background .2s,transform .2s}
.dg-action-primary{background:#1869e9;color:white;border:1px solid #3484ff}
.dg-action-primary:hover{background:#348bff;transform:translateY(-2px)}
.dg-action-alt{background:rgba(0,3,12,.48);color:#f4f8ff;border:1px solid rgba(211,231,255,.44)}
.dg-action-alt:hover{background:rgba(255,255,255,.12);transform:translateY(-2px)}
.dg-hero-caption{display:flex;justify-content:space-between;gap:20px;padding:19px 0 0;border-top:1px solid rgba(222,239,255,.22);color:#9eb4d7;font:500 10px/1.5 var(--mono);letter-spacing:.05em}
.ticker{display:none!important}
.section-head{border-color:rgba(183,209,253,.28)!important;color:#92b6fb!important}
.section-head span:last-child{color:#94a8c9!important}
.section{position:relative;z-index:2;padding-block:clamp(100px,9vw,180px)!important}
.split-heading h2,.contact h2,.method h2,.manifesto h2{font-family:'Space Grotesk',Arial,sans-serif!important;letter-spacing:-.074em!important;font-weight:500!important;color:#fff!important;text-transform:none}
.split-heading h2 em,.contact h2 em,.method h2 em{font-style:normal!important;color:#7fb6ff!important}
.split-heading p{color:#b3c2de!important}
.services{background:linear-gradient(180deg,rgba(0,3,10,.88) 0%,rgba(1,5,14,.98) 55%,#030712 100%)!important}
.services .split-heading{margin:clamp(60px,7vw,140px) 0 100px!important}
.services .split-heading h2{font-size:clamp(65px,7.6vw,135px)!important}
.services .split-heading p{font-size:clamp(17px,1.4vw,22px)!important}
.service-list{border-color:rgba(221,236,255,.18)!important}
.service-row{border-color:rgba(221,236,255,.18)!important;grid-template-columns:185px minmax(0,1fr) 125px!important;gap:clamp(22px,4vw,70px)!important;transition:background .2s,padding .2s}
.service-row:hover{background:rgba(21,95,226,.12)!important;padding-inline:16px!important}
.service-id{color:#8cbaff!important}
.service-body strong{font-family:'Space Grotesk',Arial,sans-serif!important;font-size:clamp(34px,3.7vw,66px)!important;font-weight:500!important;letter-spacing:-.072em!important;color:#fff!important}
.service-row:hover .service-body strong{color:#96c5ff!important}
.service-body small{color:#a6b6d3!important}
.service-link{color:#9bb4dd!important}
.service-link u{color:#7ab2ff!important}
.manifesto{background:linear-gradient(120deg,#0757d2,#0b39a8)!important;position:relative;z-index:2;overflow:hidden}
.manifesto:before{content:"";position:absolute;inset:0;opacity:.25;pointer-events:none;background:linear-gradient(130deg,transparent 40%,rgba(148,199,255,.34) 65%,transparent 87%)}
.manifesto .manifesto-grid{position:relative;z-index:2}
.manifesto h2{font-size:clamp(56px,6.6vw,118px)!important}
.manifesto h2 em{color:#e3f0ff!important}
.manifesto .manifesto-stripes{opacity:.06!important}
.projects{background:linear-gradient(180deg,#02050c,#071127 48%,#02040a)!important}
.projects .section-head{border-color:rgba(222,236,255,.18)!important}
.projects-heading h2{font-size:clamp(64px,7.8vw,125px)!important}
.project-img,.project-first .project-img{background:#091f48!important;border:1px solid rgba(186,215,255,.22);border-radius:1px}
.project-img:before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(125deg,rgba(12,78,211,.19),rgba(0,0,0,.05))}
.project-img img{filter:saturate(.85) brightness(.90)!important}
.project-text small{color:#8cb8fb!important}
.project-text h3{font-family:'Space Grotesk',Arial,sans-serif!important;font-weight:500!important;letter-spacing:-.080em!important;color:white!important}
.project-text p{color:#a6b8d5!important}
.project-text u{color:#8fb8ff!important}
.projects-foot{border-color:rgba(221,236,255,.18)!important;color:#8ca3c7!important}
.projects-foot a{color:#9dbdff!important}
.method{background:linear-gradient(120deg,#06112d,#01040c 68%)!important;z-index:2}
.method-heading h2 em{color:#87b9ff!important}
.method-heading p{color:#a9b9d5!important}
.method-steps{border-color:rgba(194,221,255,.23)!important}
.method-step+.method-step{border-color:rgba(194,221,255,.23)!important}
.method-step>span{color:#8bbdff!important}
.method-step h3{font-family:'Space Grotesk',Arial,sans-serif!important;font-weight:500!important;letter-spacing:-.06em!important}
.method-step p{color:#b4c3df!important}
.method-foot{color:#98acd2!important}
.contact{background:linear-gradient(160deg,#040816,#091a42 62%,#02040a)!important;z-index:2}
.contact h2{font-size:clamp(64px,7.8vw,135px)!important}
.contact-copy>p{color:#b5c2dc!important}
.contact-copy>a{color:#8db7ff!important}
.contact-city{color:#9bb2d7!important}
.contact-form{background:rgba(9,22,51,.84)!important;border:1px solid rgba(187,217,255,.23)!important;box-shadow:none!important}
.contact-form label{color:#e9f3ff!important}
.contact-form input,.contact-form select,.contact-form textarea{background:#091329!important;color:#f9fbff!important;border:1px solid rgba(170,203,249,.38)!important}
.contact-form .pill{background:#1565e8!important;color:#fff!important;border-radius:2px!important}
.contact-form .form-note{color:#99aed0!important}
.form-head{color:#91b9ff!important;border-color:rgba(211,232,255,.22)!important}
.footer{background:#02040a!important;color:#e9f2ff!important;border-color:rgba(211,231,255,.19)!important}
.footer-brand img{filter:brightness(0) invert(1)}
.footer-brand p,.footer-links p,.footer-links a{color:#a8b8d1!important}
.footer-links>span{color:#90b6f9!important}
.footer-bottom{border-color:rgba(211,231,255,.18)!important;color:#8296b7!important}
body.js-ready .reveal{transition:opacity .6s ease,transform .6s ease!important}
@media(max-width:1160px){
 .header-location{display:none!important}
 .hero #hero-title{font-size:clamp(64px,8.4vw,107px)!important}
 .dg-hero-main{grid-template-columns:1.1fr .8fr}
}
@media(max-width:900px){
 .dg-hero-main{grid-template-columns:1fr;gap:34px;padding-top:90px}
 .dg-hero-detail{max-width:570px}
 .hero #hero-title{font-size:clamp(66px,10vw,98px)!important}
 .services .service-row{grid-template-columns:130px 1fr 92px!important}
}
@media(max-width:680px){
 html{scroll-padding-top:70px}
 .header-grid{min-height:69px!important}
 .header .brand{gap:7px}
 .header .brand img{height:31px!important;width:31px!important}
 .dg-wordmark{font-size:17px}
 .menu-btn{display:flex!important;color:#fff!important}
 .menu-btn .hamburger i{background:#fff!important}
 .navigation{background:rgba(2,6,18,.98)!important;border-color:rgba(201,229,255,.20)!important}
 .navigation a{color:#fff!important;border-color:rgba(214,234,255,.17)!important}
 .hero{min-height:700px!important;max-height:none;height:100svh!important;padding:110px 0 0!important}
 .hero .dg-hero-inner{padding-top:18px;padding-bottom:35px}
 .dg-hero-overline{font-size:9px;max-width:270px}
 .dg-hero-overline span{display:none}
 .dg-hero-main{padding:100px 0 28px;gap:21px}
 .dg-eyebrow{font-size:9px;margin-bottom:19px!important;letter-spacing:.035em}
 .hero #hero-title{font-size:clamp(54px,11.4vw,78px)!important;letter-spacing:-.082em!important;line-height:.97!important}
 .dg-hero-detail p{font-size:15px;line-height:1.53;margin-bottom:20px}
 .dg-hero-actions{gap:8px}
 .dg-action-primary,.dg-action-alt{padding:12px 14px;min-height:46px;font-size:12px}
 .dg-hero-caption{font-size:9px}
 .dg-hero-caption span:nth-child(2){display:none}
 .services .split-heading{margin:65px 0 75px!important}
 .services .split-heading h2{font-size:clamp(56px,11vw,81px)!important}
 .services .service-row{grid-template-columns:1fr!important;gap:10px!important}
 .service-body strong{font-size:clamp(33px,8.4vw,50px)!important}
 .service-link{text-align:left!important;padding-top:8px!important}
 .manifesto h2{font-size:clamp(54px,11vw,86px)!important}
 .projects-heading h2{font-size:clamp(59px,11.5vw,84px)!important}
 .project-text h3,.project:not(.project-first) .project-text h3{font-size:clamp(53px,10vw,75px)!important}
 .method-heading h2{font-size:clamp(57px,11vw,80px)!important}
 .contact h2{font-size:clamp(58px,11vw,82px)!important}
 .footer-brand img{filter:brightness(0) invert(1)}
}
@media(max-width:375px){
 .hero #hero-title{font-size:clamp(49px,11.2vw,57px)!important}
 .dg-action-primary,.dg-action-alt{flex:1 1 100%;text-align:center}
 .dg-hero-main{padding-top:80px}
}
@media(prefers-reduced-motion:reduce){
 body.js-ready .reveal{opacity:1!important;transform:none!important}
 .dg-action-primary,.dg-action-alt{transition:none!important}
}

/* Mobile header: align menu to the opposite edge of the wordmark. */
@media(max-width:680px){.header-grid{grid-template-columns:minmax(0,1fr) auto!important}.menu-btn{grid-column:2!important;justify-self:end!important;margin-left:auto!important}}

/* Mobile navigation: never open unless the trigger is activated. */
@media(max-width:680px){
 .header-grid{grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important}
 .header .brand{justify-self:start;min-width:0}
 .menu-btn{justify-self:end!important;margin-left:auto!important}
 .header .navigation{display:none!important;position:absolute!important;top:69px!important;left:0!important;right:0!important;margin:0!important;padding:15px 20px 26px!important;background:rgba(2,6,18,.98)!important;border:1px solid rgba(201,229,255,.16)!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;box-shadow:0 25px 55px rgba(0,0,0,.5)!important}
 .header .navigation.open{display:flex!important}
 .header .navigation a{display:flex!important;justify-content:space-between!important;padding:16px 0!important}
 .header .navigation .nav-cta{justify-content:center!important;margin-top:14px!important;padding:14px 16px!important}
 .hero:before{background:linear-gradient(180deg,rgba(0,2,10,.08) 0%,rgba(0,3,11,.07) 27%,rgba(0,3,11,.8) 48%,#02040d 100%)!important}
}

/* Keep metadata outside of floating 3D art on narrow screens. */
@media(max-width:680px){.dg-hero-overline{max-width:188px!important;letter-spacing:.02em!important;line-height:1.65!important}}
/* Legal consent UI follows the dark visual system; consent behavior unchanged. */
body .sp-links{background:#02040a!important;color:#a8badb!important;border-top:1px solid rgba(210,230,255,.17)!important;font-family:'Space Grotesk',Arial,sans-serif!important}
body .sp-links a,body .sp-links button{color:#b6cffa!important;font-family:'Space Grotesk',Arial,sans-serif!important}
body .sp-overlay{background:rgba(0,2,10,.75)!important;backdrop-filter:blur(7px)!important}
body .sp-overlay .sp-card{border:1px solid rgba(160,204,255,.3)!important;background:#09152e!important;color:#eef5ff!important;border-radius:3px!important;box-shadow:0 20px 80px rgba(0,0,0,.55)!important;font-family:'Space Grotesk',Arial,sans-serif!important}
body .sp-overlay .sp-card h2{font-family:'Space Grotesk',Arial,sans-serif!important;font-weight:500!important;color:white!important}
body .sp-overlay .sp-card a{color:#9bc4ff!important}
body .sp-overlay .sp-actions button,body .sp-overlay .sp-save{border-radius:2px!important;border:1px solid #427bd3!important;background:#10274f!important;color:#f7faff!important;font-family:'Space Grotesk',Arial,sans-serif!important}
body .sp-overlay .sp-actions .sp-accept{background:#156af3!important;color:white!important}
body .sp-overlay .sp-close{color:#b4ceff!important}
body .sp-overlay .sp-options{border-color:rgba(205,225,255,.18)!important}

/* Content safety: an old intersection animation sometimes leaves case studies invisible after quick scroll. */
body.js-ready .reveal{opacity:1!important;transform:none!important;transition:none!important}


/* Consent is an unobtrusive floating panel, not a full-viewport takeover. */
body .sp-overlay{background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;pointer-events:none!important;align-items:flex-end!important;justify-content:flex-end!important;padding:clamp(12px,2vw,26px)!important}
body .sp-overlay .sp-card{pointer-events:auto!important;max-width:515px!important;width:min(515px,100%)!important;padding:20px!important;box-shadow:0 15px 55px rgba(0,0,0,.54)!important}
body .sp-overlay .sp-card h2{font-size:19px!important;line-height:1.18!important}
body .sp-overlay .sp-card p{font-size:13px!important;line-height:1.5!important}
body .sp-overlay .sp-actions button{min-width:125px!important;font-size:12px!important;padding:10px!important}
@media(max-width:680px){
 body .sp-overlay{justify-content:center!important;padding:11px!important}
 body .sp-overlay .sp-card{max-height:53svh!important;max-width:100%!important;padding:15px!important}
 body .sp-overlay .sp-card h2{font-size:16px!important;margin-bottom:5px!important}
 body .sp-overlay .sp-card p{font-size:11px!important;margin:4px 0 9px!important}
 body .sp-overlay .sp-actions{gap:5px!important}
 body .sp-overlay .sp-actions button{min-width:94px!important;flex:1 1 90px!important;font-size:11px!important;padding:10px 5px!important}
}
