/* Native Enfold colour and font settings remain authoritative. */
#top .pd-work-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:36px;margin-bottom:30px}
#top .pd-work-heading>div:first-child{flex:1;min-width:0}
#top .pd-work-heading .pd-intro{margin-bottom:0;max-width:760px}
#top .pd-work-controls{display:flex;gap:8px;flex:none}
#top .pd-work-controls button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid var(--pd-line);border-radius:3px;background:transparent;color:var(--pd-ink);font:inherit;font-size:21px;cursor:pointer}
#top .pd-project-track{display:flex;gap:30px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;clear:both;width:100%;align-items:stretch}
#top .pd-project-track::-webkit-scrollbar{display:none}
#top .pd-project-track>article{flex:0 0 calc((100% - 60px)/3);scroll-snap-align:start;display:flex;flex-direction:column;min-width:0;height:auto;margin:0}
#top .pd-project-track .pd-project-image-link{flex:none}
#top .pd-project-track .pd-showcase-body{display:flex;flex-direction:column;flex:1}
#top .pd-project-track .pd-showcase-body>.pd-text-link{align-self:flex-start;margin-top:auto;padding-top:18px}
#top .pd-work-links{padding-top:20px}
#top .pd-work-links p{margin:0}
#top .pd-work-controls button:focus-visible,#top .pd-project-track:focus-visible{outline:3px solid var(--pd-raspberry);outline-offset:-3px}
#top .pd-home-reasons article{padding:20px 0 12px 35px;border-top:1px solid var(--pd-line);position:relative}
#top .pd-home-reasons article>span{position:absolute;left:0;color:var(--pd-raspberry);font-size:12px}
#top .pd-home-reasons h3{font-size:21px;margin-bottom:8px}
#top .pd-home-reasons p{font-size:15px;margin-bottom:12px}
#top .pd-home-photo img{width:100%;height:480px;object-fit:cover}
#top .pd-home-photo{padding-top:80px}
@media(max-width:767px){#top .pd-project-track{gap:20px}#top .pd-project-track>article{flex-basis:88%}#top .pd-work-heading{gap:20px;flex-wrap:wrap;margin-bottom:24px}#top .pd-work-heading>div:first-child{flex-basis:100%}#top .pd-work-controls{margin-left:auto}#top .pd-home-photo{padding-top:0}#top .pd-home-photo img{height:280px}#top .pd-work-links{padding-top:18px}}

/* Homepage rhythm: avoid stacked 100px section pads and ALB trailing line boxes. */
html #top.home.pd-site #wrap_all #services>.container>.content,
html #top.home.pd-site #wrap_all .pd-home-work>.container>.content,
html #top.home.pd-site #wrap_all .pd-home-why>.container>.content,
html #top.home.pd-site #wrap_all .pd-cta>.container>.content{padding-top:64px;padding-bottom:64px}
html #top.home.pd-site #wrap_all #services .entry-content-wrapper>br:last-child,
html #top.home.pd-site #wrap_all .pd-home-work .entry-content-wrapper>br:last-child,
html #top.home.pd-site #wrap_all .pd-home-why .entry-content-wrapper>br:last-child,
html #top.home.pd-site #wrap_all .pd-cta .entry-content-wrapper>p:empty{display:none}
html #top.home.pd-site #wrap_all .pd-home-work .pd-work-links{padding-top:24px}
html #top.home.pd-site #wrap_all .pd-home-work .pd-work-links>a{margin-bottom:0}
@media(max-width:767px){
 html #top.home.pd-site #wrap_all #services>.container>.content,
 html #top.home.pd-site #wrap_all .pd-home-work>.container>.content,
 html #top.home.pd-site #wrap_all .pd-home-why>.container>.content,
 html #top.home.pd-site #wrap_all .pd-cta>.container>.content{padding-top:44px;padding-bottom:44px}
 html #top.home.pd-site #wrap_all .pd-home-work .pd-work-links{padding-top:20px}
}

/* Preserve the full company-profile photograph, including all three people. */
html #top.home #wrap_all .pd-home-photo .pd-profile-photo img{height:auto;aspect-ratio:auto;object-fit:contain}

/* Eyebrow on the native alternate surface uses its matching primary colour. */
html #top.pd-site #wrap_all .alternate_color .pd-work-heading .pd-eyebrow{color:var(--enfold-alternate-color-primary)}

/* Keep the team photograph beside the introduction, with balanced reasons below. */
html #top.home #wrap_all .pd-home-why .pd-home-photo{padding-top:0;margin-bottom:0}
html #top.home #wrap_all .pd-home-why .pd-profile-photo{width:100%;max-width:none;margin:0}
html #top.home #wrap_all .pd-home-why .avia-image-container-inner,
html #top.home #wrap_all .pd-home-why .avia-image-overlay-wrap{width:100%;display:block}
html #top.home #wrap_all .pd-home-why .pd-profile-photo img{display:block;width:100%;height:auto;border-radius:4px}
html #top.home #wrap_all .pd-home-why .pd-why-details{margin-top:36px;margin-bottom:0}
html #top.home #wrap_all .pd-home-why .pd-home-reasons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;margin-bottom:20px}
html #top.home #wrap_all .pd-home-why .pd-home-reasons article{padding:20px 0 0}
@media(max-width:767px){
 html #top.home #wrap_all .pd-home-why .pd-home-reasons{grid-template-columns:1fr;gap:16px}
 html #top.home #wrap_all .pd-home-why .pd-why-details{margin-top:28px}
}
