/* Shared vertical rhythm after removal of the slide footlines. */
:root{--chapter-top:calc(var(--header-height) + 40px);--chapter-bottom:48px}
.hero-frame{padding-top:var(--chapter-top);padding-bottom:72px;justify-content:center}
.company-frame{min-height:100svh;padding-top:var(--chapter-top);padding-bottom:var(--chapter-bottom);gap:32px}
.company-top{flex:1 0 auto;align-items:flex-start}
.focus-frame{min-height:100svh;height:auto;padding-top:var(--chapter-top);padding-bottom:var(--chapter-bottom);justify-content:flex-start}
.focus-cards{flex:1;min-height:300px;max-height:600px}
.focus-card{height:auto;min-height:300px}
.portfolio-hub .portfolio-frame{padding-top:var(--chapter-top);padding-bottom:var(--chapter-bottom)}
.contact-slide{display:flex;flex-direction:column;min-height:100svh}
.contact-slide .contact-frame{flex:1;min-height:0;padding-top:var(--chapter-top);padding-bottom:var(--chapter-bottom);justify-content:center}
.contact-slide .contact-footer{position:relative;inset:auto;flex:none}
@media(min-width:821px) and (max-height:800px){:root{--chapter-top:calc(var(--header-height) + 28px);--chapter-bottom:36px}.hero-frame{padding-bottom:56px}.company-frame{gap:28px}.focus-cards{margin-top:24px;min-height:260px}.focus-card{min-height:260px}}
@media(max-width:820px){:root{--chapter-top:calc(var(--header-height) + 32px);--chapter-bottom:40px}.company-frame{min-height:100svh}.hero-frame{padding-top:var(--chapter-top);padding-bottom:64px}.focus-cards{flex:0 0 auto;max-height:none}.focus-card{height:330px;min-height:0}.contact-slide .contact-frame{padding-top:var(--chapter-top);padding-bottom:var(--chapter-bottom)}}
@media(max-width:600px){.company-frame{justify-content:flex-start;gap:32px}.company-top{flex:0 0 auto}.focus-cards{min-height:0}.focus-card{height:280px}.hero-frame{padding-top:var(--chapter-top);padding-bottom:72px}.portfolio-hub .portfolio-frame{padding-top:var(--chapter-top)}.contact-slide .contact-frame{justify-content:center}}
@media(min-width:821px){.focus-cards{flex:1 0 300px;grid-template-rows:minmax(0,1fr)}.focus-card{min-height:0}.focus-card>img{position:absolute;inset:0;width:100%;height:100%}}
@media(min-width:821px) and (max-height:800px){
 .company-intro h2{font-size:36px;line-height:1.08}
 .company-intro .eyebrow{margin-bottom:14px}
 .company-description{margin-top:20px;gap:12px}
 .company-description p{font-size:14px;line-height:1.7}
 .company-slide .metrics-block{padding:20px 24px}
 .company-slide .metrics-block h3{margin-bottom:16px}
 .company-slide .group-metrics dt>span{font-size:42px}
 .company-slide .group-metrics dd{font-size:12px;line-height:1.5;margin-top:10px}
}
