/* Reference proportions and balanced navigation. */
html{min-height:100%}
body{min-height:100vh;min-height:100svh;display:flex;flex-direction:column;overflow-x:clip}
body>main{flex:1 0 auto;min-width:0}
body>.site-header,body>.site-footer{flex-shrink:0}
.site-header{overflow:visible;background:#020817}
.site-header:before{background:linear-gradient(135deg,transparent 61%,#073a8055 66%,#0962d79c 70%,#69cfff99 70.3%,#093b8240 71.5%,transparent 77%),radial-gradient(ellipse 29% 3px at 73% 85%,#bceaff 2%,#399bff88 29%,transparent 75%);opacity:.95}
.site-header .nav-row{width:calc(100% - 96px);max-width:1240px;padding:0;min-height:112px}
@media(min-width:981px){
 .site-header .nav-row{display:grid;grid-template-columns:220px minmax(0,1fr) 176px;column-gap:40px}
 .site-header .brand{width:220px}
 .site-header .brand img{width:200px;height:auto}
 .site-header .nav{width:100%;display:flex;justify-content:space-evenly;gap:10px}
 .site-header .nav-group>a,.site-header .nav .nav-services>a{padding:10px 14px;font-size:14px;white-space:nowrap}
 .site-header .nav .nav-cta{display:none}
 .site-header .header-project{width:162px;justify-content:center;justify-self:end;padding:10px 15px;border-color:#74baff;font-size:14px;box-shadow:inset 0 0 6px #1688fa22,0 0 9px #1688fa12}
 .site-header .nav a[aria-current=page]{background:linear-gradient(145deg,#298ee6,#1356c4);border:1px solid #5da9f9;box-shadow:0 0 15px #1978df66,inset 0 1px #94c7ff66}
}
.nav-services{position:relative;display:flex;align-items:center;gap:0}
.site-header .nav .nav-services>a:after{display:none}
.services-toggle{display:grid;place-items:center;width:24px;height:34px;padding:0;margin-left:-10px;background:none;border:0;color:#dbe5f3;cursor:pointer}
.services-toggle span{width:6px;height:6px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:translateY(-2px) rotate(45deg)}
.services-dropdown{position:absolute;z-index:20;top:calc(100% + 12px);left:0;width:270px;padding:10px;background:#051127fa;border:1px solid #3979b8;border-radius:12px;box-shadow:0 12px 35px #0008}
.services-dropdown[hidden]{display:none!important}
.site-header .nav .services-dropdown a{display:block;border-radius:7px;padding:10px 12px;font-size:14px;line-height:1.4;white-space:normal}
.site-header .nav .services-dropdown a:after{display:none}
.about-reference{background:linear-gradient(140deg,transparent 68%,#1641a41a 68.2%,transparent 68.6%,transparent 87%,#1641a41a 87.2%,transparent 87.6%),radial-gradient(ellipse at 70% 55%,#0c215f66,transparent 67%),#020a1c;grid-template-columns:35% minmax(0,1fr) 20%;min-height:330px}
.about-reference .about-visual{height:100%;min-height:330px;position:relative;background:#020a1c}
.about-reference .about-visual img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.about-reference .about-copy{padding-block:30px}
.about-reference .about-copy p.eyebrow{font-size:12px;letter-spacing:.17em;line-height:1.45;margin-bottom:12px;color:#6ab3fc}
.about-reference .about-copy p:not(.eyebrow){font-size:16px;line-height:1.45;margin-bottom:18px;color:#e0e6ef}
.about-reference h2{font-size:clamp(26px,2.45vw,36px);font-weight:650;letter-spacing:-.03em}
.about-reference h2 span{color:#499af1}
.about-reference .about-values{gap:18px}
.reference-cta{border-color:#55b3ff;box-shadow:0 -4px 25px #0888ff33;background:linear-gradient(90deg,#020818 10%,#020818e8 40%,#020818b8 70%,#020818dd),url('media/infrastructure-hero.webp') center 54%/cover no-repeat}
.reference-cta .cta-inner{width:calc(100% - 96px);max-width:1240px;padding:0;gap:38px;min-height:185px}
.reference-cta .cta-brand{padding-right:35px}
.reference-cta .cta-brand img{width:215px}
.reference-cta h2{font-size:24px;font-weight:500;letter-spacing:-.02em}
.reference-cta .button{font-size:16px;background:linear-gradient(145deg,#278eff,#155cdb);border:1px solid #79b7ff80;padding:13px 30px}
.compact-footer .footer-line,.compact-footer .footer-legal{width:calc(100% - 96px);max-width:1240px;padding-inline:0}
.compact-footer .footer-line{gap:24px;min-height:92px}
.compact-footer .footer-tagline{font-size:14px;letter-spacing:.18em;white-space:nowrap;color:#d0d9e6;padding-left:34px;line-height:2.1}
.compact-footer .footer-contacts{gap:22px;flex-wrap:nowrap}
.compact-footer .footer-contacts a{padding:0;border:0;white-space:nowrap}
.compact-footer .footer-contacts svg{color:#d9e6f8;width:19px;height:19px}
.compact-footer .footer-legal{font-size:12px;padding-block:10px 15px}
@media(min-width:981px) and (max-width:1199px){.site-header .nav-row{grid-template-columns:180px minmax(0,1fr) 150px;gap:20px}.site-header .brand,.site-header .brand img{width:180px}.site-header .nav-group>a,.site-header .nav .nav-services>a{padding-inline:9px}.site-header .header-project{width:150px}.compact-footer .footer-line{flex-wrap:wrap;justify-content:center;padding-block:22px;gap:14px}.compact-footer .footer-tagline{padding-left:0;border:0}.reference-cta .cta-inner{gap:25px}.reference-cta .cta-brand{padding-right:25px}.reference-cta .cta-brand img{width:180px}.reference-cta h2{font-size:21px}}
@media(max-width:980px){
 .site-header .nav-row{width:calc(100% - 40px);min-height:90px;padding:0;display:flex;justify-content:space-between}
 .site-header .brand{width:170px}.site-header .brand img{width:170px}
 .site-header .menu-toggle{display:inline-flex;align-items:center}
 .site-header .header-project{display:none}
 .site-header .nav{display:none;position:absolute;left:0;right:0;top:100%;z-index:25;margin:0;padding:20px;background:#041126;border:1px solid #3b74ad;border-radius:12px;transform:none}
 .site-header .nav.open{display:flex;flex-direction:column;align-items:stretch;gap:8px}
 .site-header .nav-group>a{display:block;padding:12px 15px;font-size:16px}
 .nav-services{flex-wrap:wrap;justify-content:space-between}.site-header .nav .nav-services>a{padding:12px 15px;font-size:16px}
 .services-toggle{width:44px;margin:0}.services-dropdown{position:static;width:100%;margin-bottom:8px}
 .about-reference{grid-template-columns:1fr;gap:0;padding:0 0 35px}
 .about-reference .about-visual{height:280px;min-height:0}
 .about-reference .about-visual img{min-height:0;height:100%;object-fit:cover}
 .about-reference .about-copy{padding:28px 25px 0}
 .about-reference .about-values{padding:26px 25px 0;grid-template-columns:1fr 1fr;gap:18px}
 .reference-cta .cta-inner{width:calc(100% - 50px);padding-block:32px;gap:24px;flex-direction:column;text-align:center}
 .reference-cta .cta-brand{padding:0 0 22px}.reference-cta .cta-brand img{width:185px}
 .reference-cta h2{font-size:23px}
 .compact-footer .footer-line,.compact-footer .footer-legal{width:calc(100% - 50px)}
 .compact-footer .footer-line{flex-direction:column;align-items:flex-start;padding-block:28px;gap:22px}
 .compact-footer .footer-contacts{flex-direction:column;align-items:flex-start;gap:18px}
 .compact-footer .footer-tagline{padding:0;border:0;font-size:12px;white-space:normal;letter-spacing:.15em}
}
@media(max-width:400px){.about-reference .about-values{grid-template-columns:1fr}}

/* Give the homepage room on wide screens without enlarging small photo crops. */
@media(min-width:761px){body.reference-home .infrastructure-scene{right:0}}
@media(min-width:1440px){
 body.reference-home .wrap,
 body.reference-home .site-header .nav-row,
 body.reference-home .reference-cta .cta-inner,
 body.reference-home .compact-footer .footer-line,
 body.reference-home .compact-footer .footer-legal{width:min(90%,1440px);max-width:none}
 body.reference-home .infrastructure-scene{right:0;width:min(57%,1536px)}
 body.reference-home .process-reference .process-stage{grid-template-columns:128px minmax(0,1fr);gap:24px}
 body.reference-home .process-reference .process-photo{width:128px;height:128px;object-fit:cover}
 body.reference-home .process-reference .process-stage p{max-width:30ch}
 body.reference-home .glass-contact .wrap{width:min(1240px,calc(100% - 80px))}
}
