/* Team rules moved to the existing team-card-layout owner. */
.r4-agency[data-page]{
 --r4as-h1:var(--r4st-h2,65px);
 --r4as-h2:var(--r4st-h2,65px);
 --r4as-card-title:24px;
 --r4as-person-name:28px;
 --r4as-body:var(--r4st-body,16px);
 --r4as-support:14px;
 --r4as-meta:12px;
 --r4as-section:var(--r4st-section,80px);
 --r4as-heading-gap:var(--r4st-heading-gap,32px);
 --section:var(--r4as-section);
 --ink:var(--r4st-ink,#242728);--orange:var(--r4st-orange,#ff4c00);
 --muted:var(--r4st-muted,#626b6c);--line:var(--r4st-rule,#cfd3d4);
 --gutter:var(--r4st-gutter,24px);
 --r4t-ink:var(--r4st-ink,#242728);--r4t-copy:var(--r4st-copy,#33393a);
 --r4t-muted:var(--r4st-muted,#626b6c);
 font-size:var(--r4as-body);
 line-height:var(--r4st-body-leading,1.6);
}
.r4-agency[data-page] .r4a-page-title{
 padding-block:64px;
 row-gap:24px;
}
.r4-agency[data-page] .r4a-page-title :is(h1,.page-kicker,.page-lead,.company-hero-statement),
.r4-agency[data-page] .r4a-page-title .company-hero-statement p{
 margin-block:0;
}
.r4-agency[data-page] .r4a-page-title h1{
 font-size:var(--r4as-h1);
 font-weight:var(--r4st-heading-weight,700);
 line-height:1.08;
 letter-spacing:-.042em;
}
.r4-agency[data-page] .r4a-page-title .page-lead{
 font-size:var(--r4as-body);
 font-weight:400;
 line-height:1.65;
 letter-spacing:0;
}
.r4-agency[data-page] .company-hero-statement{
 font-size:var(--r4as-body);
 font-weight:400;
 line-height:var(--r4st-body-leading,1.6);
 letter-spacing:0;
}
.r4-agency[data-page] :is(.r4a-section-heading,.r4-history__section-head) h2,
.r4-agency[data-page] #agency h2,
.r4-agency[data-page] .r4hg-copy>h2,
.r4-agency[data-page] .r4-history__conclusion h2{
 font-size:var(--r4as-h2);
 font-weight:var(--r4st-heading-weight,700);
 line-height:1.14;
 letter-spacing:-.04em;
}
.r4-agency[data-page] :is(.r4a-section-heading,.r4-history__section-head){
 margin-bottom:var(--r4as-heading-gap);
}
.r4-agency[data-page] .r4-history__section[data-edit-id=capabilities] .r4-history__section-head{
 margin-bottom:0;
}
.r4-agency[data-page] :is(.r4a-section-heading>p,.r4-history__section-intro){
 font-size:var(--r4as-body);
 font-weight:400;
 line-height:var(--r4st-body-leading,1.6);
 letter-spacing:0;
 margin-top:24px;
}
.r4-agency[data-page] #agency .r4a-company-intro,
.r4-agency[data-page] #agency .r4a-company-intro>p,
.r4-agency[data-page] .r4hg-copy>.r4-history__lead,
.r4-agency[data-page] .r4-history__section :is(.r4-history__capability p,.r4-history__era-copy p,.r4-history__evidence-copy p){
 font-size:var(--r4as-body);
 font-weight:400;
 line-height:var(--r4st-body-leading,1.6);
 letter-spacing:0;
}
.r4-agency[data-page] :is(.r4a-vacancy,.r4a-legal) .r4a-richtext{
 font-size:var(--r4as-body);
 line-height:var(--r4st-body-leading,1.6);
 letter-spacing:0;
}
.r4-agency[data-page] .r4-history__section :is(.r4-history__capability,.r4-history__era,.r4-history__evidence-copy) h3,
.r4-agency[data-page] #agency .r4a-company-intro h3,
.r4-agency[data-page] :is(.r4a-legal,.r4a-legal-card) h3{
 font-size:var(--r4as-card-title);
 font-weight:var(--r4st-heading-weight,700);
 line-height:1.25;
 letter-spacing:-.025em;
}
.r4-agency[data-page=contacts] .contact-welcome-headline{
 font-size:32px;
 font-weight:600;
 line-height:1.2;
 letter-spacing:-.035em;
}
.r4-agency[data-page=contacts] :is(.contact-welcome-description,.contact-welcome-invite){
 font-size:var(--r4as-body);
 font-weight:400;
 line-height:var(--r4st-body-leading,1.6);
 letter-spacing:0;
}
.r4-agency[data-page=contacts] .contact-welcome-kicker{
 font-size:var(--r4as-meta);
 font-weight:500;
 line-height:1.5;
 letter-spacing:.055em;
}
@media(max-width:1023px){.r4-agency[data-page]{--r4as-h1:52px;--r4as-h2:var(--r4st-h2,52px)}}
@media(max-width:767px){.r4-agency[data-page]{
  --r4as-h1:32px;--r4as-h2:var(--r4st-h2,40px);--r4as-person-name:24px;
  --r4as-section:var(--r4st-section,48px);--r4as-heading-gap:var(--r4st-heading-gap,24px);
 }
.r4-agency[data-page] .r4a-page-title{padding-block:40px;row-gap:24px}
.r4-agency[data-page=contacts] .contact-welcome-headline{font-size:28px}}
@media(max-width:520px){.r4-agency[data-page]{--r4as-h2:var(--r4st-h2,clamp(28px,7.5vw,40px))}}
