/* DIGIGROUPE / scroll-directed immersive world.
   Each chapter is a genuine position in a shared 3D scene, not a background video. */
html{scroll-behavior:smooth}
body{--dg-phase:0;background:#02050d}
#dg-cinematic-stage{z-index:0;inset:0;position:fixed}
#dg-cinematic-stage canvas{pointer-events:none!important}
.dg-motion-progress{}
#dg-motion-meter{position:fixed;z-index:83;right:clamp(15px,2vw,30px);top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:14px;flex-direction:column;pointer-events:none}
#dg-meter-chapter{writing-mode:vertical-rl;color:rgba(193,220,255,.83);font:500 10px/1.3 'DM Mono',monospace;letter-spacing:.08em}
.dg-meter-track{display:block;position:relative;width:2px;height:130px;background:rgba(180,214,255,.27);overflow:hidden}
.dg-meter-track>i{display:block;width:100%;height:100%;background:#80bdff;transform:scaleY(0);transform-origin:top;will-change:transform}
.hero{background:transparent!important}
.dg-experience{background:linear-gradient(180deg,rgba(1,4,12,.85) 0%,rgba(1,5,15,.25) 13%,rgba(1,5,15,.20) 86%,rgba(1,5,15,.94) 100%)!important;overflow:visible!important;padding-bottom:0!important}
.dg-experience .container{position:relative;z-index:2}
.dg-experience>.container>.section-head{border-color:rgba(222,238,255,.36)!important}
.dg-experience .split-heading{max-width:1500px;padding:60px 0 90px;margin:0!important}
.dg-experience .split-heading h2{font-size:clamp(59px,7.5vw,125px)!important}
.dg-experience .split-heading p{max-width:400px!important;color:#c6d5ec!important}
.dg-journey-list{border:0!important}
.dg-experience .dg-journey-step{
 display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;
 min-height:110svh!important;position:relative!important;
 padding:clamp(140px,10vw,190px) 50% clamp(130px,12vw,210px) 0!important;
 gap:14px!important;grid-template-columns:unset!important;
 border-bottom:1px solid rgba(206,227,255,.18)!important;
 text-decoration:none!important;isolation:isolate;cursor:pointer;
 background:transparent!important;
}
.dg-experience .dg-journey-step:hover{background:transparent!important;padding-left:0!important}
.dg-experience .dg-journey-step::before{content:"";position:absolute;inset:0 auto 0 -20vw;width:75%;z-index:-1;pointer-events:none;background:linear-gradient(90deg,rgba(1,4,14,.91),rgba(1,5,15,.52) 72%,transparent)}
.dg-experience .dg-journey-step .service-id{font:500 11px/1.4 'DM Mono',monospace!important;color:#7bb4ff!important;letter-spacing:.1em}
.dg-experience .dg-journey-step .service-body{display:block;max-width:720px}
.dg-experience .dg-journey-step .service-body strong{
 display:block!important;margin:14px 0 27px!important;
 font:500 clamp(59px,6.2vw,105px)/.98 'Space Grotesk',Arial,sans-serif!important;
 letter-spacing:-.083em!important;color:#fff!important;
}
.dg-experience .dg-journey-step .service-body small{font:400 clamp(17px,1.3vw,21px)/1.62 'Space Grotesk',sans-serif!important;color:#c8d5eb!important;max-width:580px!important}
.dg-experience .dg-journey-step .service-link{padding:16px 0 0!important;text-align:left!important;color:#8fb8f5!important;font:500 11px/1.6 'DM Mono',monospace!important}
.dg-experience .dg-journey-step .service-link u{font:600 13px/1.6 'Space Grotesk',sans-serif!important;text-underline-offset:6px;color:#fff!important}
.dg-experience .dg-journey-step .service-link br{display:none}
.dg-manifesto{min-height:100svh;display:flex;align-items:center;padding-block:clamp(105px,10vw,180px)!important;background:linear-gradient(90deg,rgba(9,61,166,.88) 0%,rgba(5,54,151,.62) 65%,rgba(5,44,116,.24) 100%)!important}
.dg-manifesto .manifesto-stripes{display:none!important}
.dg-manifesto .manifesto-grid{position:relative;z-index:2}
.dg-portfolio-journey{background:linear-gradient(180deg,rgba(226,236,255,.94),rgba(217,233,253,.84) 14%,rgba(226,240,255,.78) 86%,rgba(7,17,42,.89) 100%)!important;color:#0a1e43!important;transition:background .9s ease!important;overflow:visible!important}
.dg-portfolio-journey .section-head{border-color:rgba(21,60,130,.32)!important;color:#1c5ac4!important}
.dg-portfolio-journey .section-head span:last-child{color:#526b94!important}
.dg-portfolio-journey .projects-heading{padding:60px 0 35px;margin-bottom:45px!important}
.dg-portfolio-journey .projects-heading h2{color:#081b40!important;font-size:clamp(61px,7.3vw,120px)!important}
.dg-portfolio-journey .projects-heading h2 em{color:#145fe5!important}
.dg-portfolio-journey .projects-heading p{color:#3e5378!important}
.dg-portfolio-journey .project-grid{display:flex!important;flex-direction:column!important;gap:0!important}
.dg-portfolio-journey .project{display:grid!important;grid-template-columns:minmax(0,.95fr) minmax(0,1fr)!important;align-items:center!important;column-gap:clamp(40px,7vw,140px)!important;min-height:112svh!important;grid-column:auto!important;position:relative;padding-block:clamp(110px,12vw,185px)!important;margin:0!important;border-top:1px solid rgba(29,74,136,.20)}
.dg-portfolio-journey .project:nth-child(even) .project-img{order:2}
.dg-portfolio-journey .project:nth-child(even) .project-text{order:1}
.dg-portfolio-journey .project-img,.dg-portfolio-journey .project-first .project-img{height:auto!important;aspect-ratio:1.3!important;width:100%!important;box-shadow:14px 19px 0 rgba(42,79,137,.13)}
.dg-portfolio-journey .project-text{padding:30px 0!important;z-index:3}
.dg-portfolio-journey .project-text small{color:#1b5bd4!important}
.dg-portfolio-journey .project-text h3{font-size:clamp(50px,6.1vw,104px)!important;color:#071b43!important;line-height:1.01!important}
.dg-portfolio-journey .project-text p{color:#425a7b!important;font-size:clamp(16px,1.35vw,20px)!important;max-width:450px!important}
.dg-portfolio-journey .project-text u{color:#1a5cce!important}
.dg-portfolio-journey .projects-foot{color:#244674!important;border-color:rgba(29,73,132,.24)!important}
.dg-portfolio-journey .projects-foot a{color:#1b58be!important}
.method{background:linear-gradient(115deg,rgba(0,6,22,.96),rgba(7,27,73,.72) 75%,rgba(1,6,19,.6))!important;min-height:100svh}
.dg-contact{min-height:100svh;background:linear-gradient(120deg,rgba(0,3,12,.96),rgba(8,22,59,.85) 70%,rgba(2,6,19,.65))!important}
body.dg-work-chapter .header{background:rgba(241,246,255,.95)!important;border-color:rgba(18,57,113,.17)!important}
body.dg-work-chapter .dg-wordmark,body.dg-work-chapter .navigation a,body.dg-work-chapter .menu-btn{color:#0c2150!important}
body.dg-work-chapter .navigation .nav-cta{color:#fff!important}
body.dg-work-chapter .header .menu-btn .hamburger i{background:#0c2150!important}
body.dg-work-chapter #dg-meter-chapter{color:#315b9d}
body.dg-work-chapter .dg-meter-track{background:rgba(33,72,137,.18)}
body.dg-work-chapter .dg-meter-track>i{background:#2360c5}
@media(max-width:980px){
 .dg-experience .dg-journey-step{padding-right:43%!important}
 .dg-experience .dg-journey-step .service-body strong{font-size:clamp(49px,6.8vw,73px)!important}
 .dg-portfolio-journey .project{grid-template-columns:1fr 1fr!important;gap:30px!important}
}
@media(max-width:680px){
 #dg-motion-meter{right:11px;top:45%;gap:8px}
 #dg-meter-chapter{font-size:8px}
 .dg-meter-track{height:70px}
 .dg-experience{padding-top:75px!important;padding-bottom:0!important;background:linear-gradient(180deg,#030814 0%,rgba(1,4,12,.16) 7%,rgba(1,4,12,.20) 91%,#020610 100%)!important}
 .dg-experience .split-heading{margin:25px 0 20px!important;padding:40px 0 65px!important}
 .dg-experience .split-heading h2{font-size:clamp(56px,10.5vw,77px)!important}
 .dg-experience .dg-journey-step{
  min-height:112svh!important;padding:54svh 14px 84px 0!important;justify-content:flex-end!important;
  gap:11px!important;border-color:rgba(194,220,255,.2)!important;
  background:linear-gradient(180deg,rgba(1,4,14,0) 0%,rgba(1,4,14,.03) 35%,rgba(1,4,14,.78) 55%,#020712 90%)!important;
 }
 .dg-experience .dg-journey-step:hover{padding:54svh 14px 84px 0!important}
 .dg-experience .dg-journey-step::before{display:none}
 .dg-experience .dg-journey-step .service-id{font-size:10px!important}
 .dg-experience .dg-journey-step .service-body strong{font-size:clamp(48px,10.4vw,65px)!important;margin:7px 0 18px!important}
 .dg-experience .dg-journey-step .service-body small{font-size:15px!important;line-height:1.55!important}
 .dg-experience .dg-journey-step .service-link{padding-top:8px!important}
 .dg-manifesto{min-height:85svh!important;padding:120px 0!important}
 .dg-portfolio-journey{background:linear-gradient(180deg,rgba(233,242,255,.92),rgba(227,239,255,.88) 80%,rgba(6,19,48,.8))!important}
 .dg-portfolio-journey .projects-heading{padding:38px 0;margin-bottom:35px!important}
 .dg-portfolio-journey .projects-heading h2{font-size:clamp(54px,10.7vw,76px)!important}
 .dg-portfolio-journey .project{display:flex!important;flex-direction:column!important;min-height:104svh!important;gap:26px!important;justify-content:center!important;align-items:stretch!important;padding:75px 0 90px!important}
 .dg-portfolio-journey .project:nth-child(even) .project-img,.dg-portfolio-journey .project:nth-child(even) .project-text{order:initial}
 .dg-portfolio-journey .project-img,.dg-portfolio-journey .project-first .project-img{aspect-ratio:1.22!important;box-shadow:9px 10px 0 rgba(39,83,144,.12)!important}
 .dg-portfolio-journey .project-text{padding:0!important}
 .dg-portfolio-journey .project-text h3{font-size:clamp(48px,10vw,72px)!important;margin:11px 0!important}
 .dg-portfolio-journey .project-text p{font-size:15px!important}
 body.dg-work-chapter .header .navigation{background:rgba(247,250,255,.99)!important}
 body.dg-work-chapter .header .navigation a{color:#0d2859!important}
 body.dg-work-chapter .header .navigation .nav-cta{color:#fff!important}
}
@media(prefers-reduced-motion:reduce){
 .dg-portfolio-journey,.header{transition:none!important}
 .dg-experience .dg-journey-step{min-height:75svh!important}
 .dg-portfolio-journey .project{min-height:0!important;padding:65px 0!important}
}

/* Preserve strong contrast on copy, but do not darken the 3D subject on the right. */
@media(min-width:681px){
 .dg-experience .dg-journey-step::before{width:65%!important;background:linear-gradient(90deg,rgba(1,4,14,.96),rgba(1,5,15,.66) 62%,transparent)!important}
}
.dg-experience .dg-journey-step .service-link{font-size:0!important}
.dg-experience .dg-journey-step .service-link u{display:inline-block!important;font-size:13px!important}

/* Small-phone typography: long French service labels must never widen the viewport. */
@media(max-width:360px){
 .dg-experience .dg-journey-step .service-body{width:100%;min-width:0;max-width:100%}
 .dg-experience .dg-journey-step .service-body strong{font-size:clamp(35px,9.1vw,44px)!important;letter-spacing:-.087em!important;overflow-wrap:normal}
 .dg-experience .dg-journey-step{padding-right:6px!important}
}
