/* First Sheep — shared adaptive presentation for generated subpages. */
@media (min-width:900px) and (max-width:1279px) {
 html:has(main.manifest-target){scroll-snap-type:none}
 main.manifest-target :is(.v1-hero,.v1-surface,.v1-start){min-height:0;scroll-snap-align:none}
 main.manifest-target .v1-hero{grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:clamp(34px,4.5vw,58px);padding:92px clamp(40px,6vw,76px) 76px}
 main.manifest-target .v1-hero__copy,main.manifest-target .v1-hero__visual,main.manifest-target .v1-surface__inner>*{min-width:0}
 main.manifest-target .v1-hero h1{max-width:12ch;line-break:strict;overflow-wrap:normal;text-wrap:balance}
 main.manifest-target .v1-hero h1 br{display:none}
 main.manifest-target .v1-hero__copy>p{max-width:34rem}
 main.manifest-target .v1-hero__visual{justify-self:stretch;width:100%}
 main.manifest-target .v1-hero__visual figure,
 main.manifest-target .v1-hero__visual nav,
 main.manifest-target .v1-hero__visual>div{width:100%;max-width:620px}
 main.manifest-target .v1-surface{padding:76px clamp(40px,6vw,76px)}
 main.manifest-target .v1-surface__inner,main.manifest-target.v1-page--trust .v1-surface__inner,main.manifest-target.v1-page--knowledge .v1-surface__inner{grid-template-columns:minmax(240px,.78fr) minmax(0,1.22fr);gap:clamp(42px,6vw,76px);max-width:1120px;margin-inline:auto}
 main.manifest-target .v1-surface__inner :is(p,ul,ol,figure,[role="table"]){max-width:100%}
 main.manifest-target .v1-start{gap:clamp(36px,5vw,64px);padding-inline:clamp(40px,6vw,76px)}
}
@media (min-width:900px) and (max-width:1099px) {
 main.manifest-target .v1-hero{grid-template-columns:minmax(0,1fr);padding-top:84px}
 main.manifest-target .v1-hero__copy{max-width:720px}
 main.manifest-target .v1-hero__visual{justify-self:start;max-width:720px}
}
@media (min-width:900px) and (max-width:1199px) {
 main.manifest-target.route-team .v1-hero{grid-template-columns:minmax(0,1fr)}
 main.manifest-target.route-team .v1-hero__visual,main.manifest-target.route-team .team-hero-card{width:min(100%,700px);max-width:700px}
}
/* Short desktop windows retain the editorial columns but grow naturally. */
@media (min-width:1280px) and (max-height:899px) {
 html:has(main.manifest-target){scroll-snap-type:none}
 main.manifest-target :is(.v1-hero,.v1-surface){min-height:calc(100dvh - 72px);padding-top:clamp(64px,8vh,86px);padding-bottom:clamp(64px,8vh,86px);scroll-snap-align:none}
 main.manifest-target .v1-hero__visual :is(img,svg){max-height:min(58vh,540px);object-fit:contain}
}
