/* Quiet, localised atmosphere. Content and photography sit above the haze. */
.home-intro,.project-covers,.team-section{position:relative;isolation:isolate;overflow:hidden}
.home-intro-content,.project-covers-grid,.team-inner{position:relative;z-index:1}
.home-intro{padding:72px var(--pad) 104px;background:var(--anthracite);text-align:center;scroll-margin-top:24px}
.home-intro-content{max-width:820px;margin-inline:auto}
.home-intro h2{margin:0;font-size:clamp(36px,4.4vw,64px);font-weight:500;line-height:1.08;letter-spacing:-.055em;text-wrap:balance}
.home-intro p{margin:25px 0 0;font-size:clamp(15px,1.3vw,18px);line-height:1.6;letter-spacing:-.02em;color:#bcc6ce;text-wrap:balance}
.home-intro::before,.project-covers::before,.team-section::before{content:'';position:absolute;z-index:0;pointer-events:none;background:url('assets/footer-haze.svg') center/100% 100% no-repeat;transform-origin:center;animation:atmosphere-drift 34s ease-in-out infinite alternate}
.home-intro::before{width:1300px;height:580px;left:50%;top:-165px;margin-left:-650px;opacity:.82;mask-image:linear-gradient(#000 35%,transparent 80%)}
.project-covers::before{width:min(1200px,110%);height:800px;right:-30%;top:31%;opacity:.9;animation-delay:-11s}
.team-section::before{width:min(1400px,130%);height:660px;left:-28%;top:-240px;opacity:.85;animation-delay:-23s}
/* Fine, static material across every background, not just inside the fog.
   The tile scale follows the hero shader's 1.35 samples per CSS pixel.
   Keep the content above it so lettering and the supplied artwork stay clear. */
.home-intro::after,.project-covers::after,.team-section::after,.hero-grain-bridge,.impression-grain{position:absolute;pointer-events:none;background:url('assets/footer-material-grain.svg') repeat;background-size:133.333px 133.333px;mix-blend-mode:soft-light;opacity:.48;mask-image:none}
.home-intro::after,.project-covers::after,.team-section::after{content:'';z-index:0;inset:0}
/* Introduce the page texture as the shader's grain fades out at the landing. */
.hero-grain-bridge{z-index:4;inset:auto 0 0;height:160px;mask-image:linear-gradient(transparent,#000)}
.impression-grain{inset:0;z-index:2}
@media(max-width:600px){.hero-grain-bridge{height:130px}}
@keyframes atmosphere-drift{from{transform:translate3d(-1%,0,0) scale(1)}to{transform:translate3d(2%,-12px,0) scale(1.05)}}
@media(max-width:650px){.home-intro{padding:50px 24px 68px}.home-intro h2{font-size:clamp(34px,8.7vw,46px)}.home-intro p{margin-top:20px;font-size:15px}.home-intro::before{width:180%;height:440px;left:-40%;margin-left:0;top:-120px;opacity:.72}.project-covers::before{width:190%;height:800px;right:-110%;top:32%;opacity:.65}.team-section::before{width:190%;height:540px;left:-85%;top:-205px;opacity:.7}}
@media(prefers-reduced-motion:reduce){.home-intro::before,.project-covers::before,.team-section::before{animation:none}}
