/* Shared content edges and spacing, scaled smoothly with the home viewport. */
.home-shell{--gutter:clamp(20px,5vw,80px);--section-space:clamp(52px,6vw,92px)}
.home-shell .section-grid,.home-shell .section-heading{grid-template-columns:minmax(0,22fr) minmax(0,78fr)}
.home-shell .section-grid>*,.home-shell .section-heading>*{min-width:0}
.home-shell .intro{padding-top:clamp(44px,5vw,76px);padding-bottom:clamp(30px,3.5vw,52px)}
.home-shell .intro-bottom{column-gap:clamp(24px,3.2vw,46px)}
.home-shell .intro-facts{column-gap:clamp(18px,2vw,28px)}
.home-shell .areas.business-areas{padding-top:clamp(28px,3vw,46px)}
.home-shell .business-heading{padding-bottom:clamp(28px,3.5vw,46px)}
.home-shell .direction{padding-top:var(--section-space)}
.home-shell .landscape+.portfolio-strip{margin-top:clamp(22px,3vw,38px)}
.home-shell .portfolio-strip+.entrepreneurs{margin-top:clamp(28px,3.5vw,50px)}
.home-shell .contact-section{padding-bottom:clamp(52px,6vw,86px)}
.home-shell .contact-surface{column-gap:clamp(32px,4.7vw,72px)}
.home-shell .contact-heading{min-width:0}
.home-shell .entrepreneur-image>img{object-position:50% 58%;filter:none}

/* Keep the decorative Y cropped below the hero, including tall windows. */
.home-shell>.opening>.hero-art{
  --hero-mark-width:100%;
  --hero-mark-height-ratio:1.6;
  --hero-mark-anchor:71.1%;
}
.home-shell>.opening>.hero-art>img{
  width:max(var(--hero-mark-width),calc((var(--hero-window) - var(--page-frame) - var(--page-frame)) * var(--hero-mark-height-ratio)));
  left:var(--hero-mark-anchor);
  right:auto;
  translate:-51.1% 0;
  transform-origin:51.1% 60%;
}
@media(max-width:1100px){
  .home-shell>.opening>.hero-art{--hero-mark-width:120%;--hero-mark-height-ratio:1.5;--hero-mark-anchor:78.32%}
}
@media(max-width:850px){
  .home-shell>.opening>.hero-art{--hero-mark-width:145%;--hero-mark-height-ratio:1.45;--hero-mark-anchor:84.1%}
}
@media(max-width:600px){
  .home-shell>.opening>.hero-art{--hero-mark-width:900px;--hero-mark-height-ratio:1.25;--hero-mark-anchor:calc(100% - 75px)}
}

/* Break the panorama out of the reading column, within the home's white frame. */
.home-shell .direction+.landscape{border-radius:0 0 16px 16px;overflow:hidden}
@supports(container-type:inline-size) and (width:1cqw){
  .home-shell{container-type:inline-size}
  .home-shell .direction+.landscape{width:100cqw;margin-inline:calc(50% - 50cqw)}
}
.home-shell .landscape-motion>img{object-position:50% 45%}
@media(min-width:961px){
  .home-shell .direction+.landscape{height:calc(var(--direction-overlap) + clamp(120px,12vw,180px))}
}

/* Give mid-sized windows full-width reading and form columns before they tighten. */
@media(max-width:960px){
  .home-shell .section-grid,.home-shell .section-heading{grid-template-columns:minmax(0,1fr);gap:22px}
  .home-shell .contact-surface{grid-template-columns:minmax(0,1fr);gap:36px}
  .home-shell .contact-heading,.home-shell .contact-panel{max-width:620px}
}
@media(max-width:700px){
  .home-shell .intro-bottom{grid-template-columns:minmax(0,1fr);gap:20px}
}
@media(max-width:600px){
  .home-shell .section-grid,.home-shell .section-heading{gap:20px}
  .home-shell .contact-surface{gap:30px}
  .home-shell .contact-heading,.home-shell .contact-panel{max-width:none}
  .home-shell .landscape-motion>img{object-position:58% 50%}
}

/* Selected hero actions: light typography, fine rules and open arrows. */
.home-shell>.opening .hero-actions{flex-wrap:wrap;column-gap:clamp(24px,2.4vw,36px);row-gap:12px}
.home-shell>.opening .hero-actions>.hero-line-link{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  width:164px;
  max-width:100%;
  min-height:48px;
  padding:2px 3px 10px;
  gap:22px;
  border:0;
  border-radius:0;
  background:transparent;
  color:var(--paper);
  font-size:13px;
  font-weight:400;
  line-height:1.4;
  text-decoration:none;
}
.home-shell>.opening .hero-actions>.hero-line-link-secondary{width:150px}
.home-shell>.opening .hero-actions>.hero-line-link::after{
  content:'';
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:1px;
  background:rgba(245,248,250,.58);
  transition:background .22s ease;
}
.home-shell>.opening .hero-actions>.hero-line-link-primary::after,
.home-shell>.opening .hero-actions>.hero-line-link:is(:hover,:focus-visible)::after{background:var(--blue)}
.home-shell>.opening .hero-actions>.hero-line-link>.icon{width:18px;height:18px;transition:transform .22s ease}
.home-shell>.opening .hero-actions>.hero-line-link-primary:is(:hover,:focus-visible)>.icon{transform:translate(1.5px,-1.5px)}
.home-shell>.opening .hero-actions>.hero-line-link-secondary:is(:hover,:focus-visible)>.icon{transform:translateX(3px)}
@media(max-width:600px){
  .home-shell>.opening .hero-actions{column-gap:18px}
  .home-shell>.opening .hero-actions>.hero-line-link{width:clamp(112px,34vw,148px);padding-inline:2px;gap:12px;font-size:12px}
}
@media(prefers-reduced-motion:reduce){
  .home-shell>.opening .hero-actions>.hero-line-link::after,
  .home-shell>.opening .hero-actions>.hero-line-link>.icon{transition:none}
  .home-shell>.opening .hero-actions>.hero-line-link:is(:hover,:focus-visible)>.icon{transform:none}
}
