/*
 * Site-wide refinements for the exported Webflow pages.
 * Loaded right after the Webflow stylesheet on every page.
 */

/* Moved unchanged from the inline style block each page carried in its body */
.w-richtext>:first-child{margin-top:0}
.w-richtext>:last-child,.w-richtext ol li:last-child,.w-richtext ul li:last-child{margin-bottom:0}
.cursor-wrapper{pointer-events:none}
a{color:inherit;text-decoration:inherit;font-size:inherit}

/* Text for screen readers only */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}

/* "Skip to main content" appears only when reached with the keyboard */
.skip-link{position:fixed;top:1rem;left:1rem;z-index:100000;padding:.75rem 1.25rem;border-radius:500px;background-color:#191919;color:#fff;font-family:Satoshi,sans-serif;font-size:1rem;line-height:1.2;transform:translateY(-300%);transition:transform .2s}
.skip-link:focus{transform:none}
main:focus{outline:0}

/* One visible keyboard focus ring: dark ring with a white halo, readable on light and dark sections */
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,.w-input:focus-visible,.w-dropdown-toggle:focus-visible,[tabindex]:not([tabindex="-1"]):focus-visible{outline:2px solid #191919;outline-offset:2px;box-shadow:0 0 0 4px #fff}

/* Placeholder text readable against white (was 2.5:1, now 4.9:1) */
.form-input::placeholder{color:#707070}

/* Tags that aren't links don't react to the mouse */
div.label{pointer-events:none}

/* Blog: heading row lines up with the card grid, and every card image has the same shape */
.section-blog-posts .margin-xlarge>.container-large{max-width:none}
.post-preview-image{aspect-ratio:3/2;height:auto;object-fit:cover}

/* Blog: the category being viewed is highlighted */
.blog-categories-list .label.w--current{background-color:#191919;color:#fff}

/* Team cards (home page "Our Team" section and the Team page) */
/* Bio pages: the name lines up with the role under it on every screen size */
.career-hero-content .clip,.career-hero-content .clip-copy,.career-hero-content .heading-large.person{text-align:left}
.team-head{display:flex;flex-direction:column;align-items:center;gap:1rem;margin-bottom:4rem;text-align:center}
.team-head .heading-h1{text-align:center}
.team-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2rem}
.team-grid--page{margin-top:5rem}
.team-grid-item{display:flex}
.team-card{display:flex;flex-direction:column;width:100%;overflow:hidden;background-color:#fff;border:1px solid #e8e8e8;border-radius:2rem;transition:box-shadow .3s,transform .3s}
.team-card:hover{box-shadow:0 24px 48px -32px rgba(25,25,25,.45);transform:translateY(-4px)}
.team-card-photo{aspect-ratio:1/1;overflow:hidden;background-color:#fff}
.team-card-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center top;transition:transform .6s}
.team-card:hover .team-card-photo img{transform:scale(1.04)}
.team-card-body{display:flex;flex-direction:column;align-items:center;flex:1;gap:.5rem;padding:1.5rem 1.75rem 1.75rem;border-top:1px solid #e8e8e8;text-align:center}
.team-card-name{font-size:1.5rem;line-height:1.2}
.team-card-role{color:#6b6b6b;letter-spacing:1px;text-transform:uppercase;font-family:Satoshi,sans-serif;font-size:.8125rem;font-weight:500;line-height:1.5}
.team-card-link{display:inline-flex;align-items:center;gap:.5rem;margin-top:auto;padding-top:1.25rem;font-size:.9375rem;font-weight:500}
.team-card-link svg{transition:transform .3s}
.team-card:hover .team-card-link svg{transform:translateX(4px)}
@media screen and (max-width:991px){.team-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}.team-head{margin-bottom:3rem}.team-grid--page{margin-top:3rem}}
@media screen and (max-width:479px){.team-grid{grid-template-columns:1fr;gap:.75rem}.team-card{flex-direction:row;border-radius:1.25rem}.team-card-photo{flex:0 0 7.5rem;width:7.5rem;min-height:7.5rem;aspect-ratio:auto}.team-card-body{align-items:flex-start;justify-content:center;gap:.25rem;padding:1rem 1.25rem;border-top:0;border-left:1px solid #e8e8e8;text-align:left}.team-card-name{font-size:1.125rem}.team-card-role{font-size:.6875rem;letter-spacing:.5px}.team-card-link{margin-top:.5rem;padding-top:0;font-size:.875rem}}
@media (prefers-reduced-motion:reduce){.team-card,.team-card-photo img,.team-card-link svg{transition:none}.team-card:hover,.team-card:hover .team-card-photo img,.team-card:hover .team-card-link svg{transform:none}}

/* Bio pages: portrait beside the bio, about 70 characters per line, real headings and lists, a tappable next step */
.bio-layout{display:grid;grid-template-columns:15rem minmax(0,37rem);column-gap:4rem;align-items:start}
.bio-layout--text{grid-template-columns:minmax(0,37rem)}
.bio-photo{position:sticky;top:9rem}
.bio-photo img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;object-position:center top;background-color:#fff;border:1px solid #e8e8e8;border-radius:1.5rem}
.bio p{margin:0 0 1.25rem}
.bio .bio-lead{font-size:1.25rem;line-height:160%}
.bio-heading{margin:2.5rem 0 .75rem;font-size:1.375rem;line-height:130%}
.bio-list{margin:0 0 1.25rem;padding-left:1.25rem}
.bio-list li{margin-bottom:.5rem;padding-left:.25rem}
.bio-list li::marker{color:#6b6b6b}
.bio-cta{margin-top:3rem;padding-top:2rem;border-top:1px solid #e8e8e8}
.bio-cta-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.75rem}
.bio-cta-phone{display:inline-flex;align-items:center;min-height:2.75rem;font-weight:500;text-decoration:underline;text-underline-offset:.2em}
@media screen and (max-width:991px){.bio-layout{grid-template-columns:11rem minmax(0,1fr);column-gap:2.5rem}}
@media screen and (max-width:767px){.bio-layout,.bio-layout--text{grid-template-columns:minmax(0,1fr)}.bio-photo{position:static;width:8.5rem;margin-bottom:1.75rem}.bio-photo img{border-radius:1.25rem}.bio .bio-lead{font-size:1.125rem}.bio-heading{margin-top:2rem;font-size:1.25rem}.bio-cta .button{width:100%;padding:1rem 1.25rem;font-size:.875rem;white-space:nowrap}}

/* Blog posts: section headings now follow the page title in order; they keep their previous look */
.text-rich-text .rt-h3,h2.rt-h3{margin-top:1.5rem;margin-bottom:1rem;font-size:2rem;line-height:120%}
.text-rich-text .rt-h4,h2.rt-h4,h3.rt-h4{margin-top:2rem;margin-bottom:1rem;font-size:1.5rem;line-height:130%}

/* Photo headers: a dark layer under the white text, sized from the actual photos so text contrast is at least 4.5:1 */
.section-career-hero::before,.section-home-hero::before,.section-services-hero::before,.section-project-hero::before,.section-contact-hero-2::before{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background-color:rgba(0,0,0,.4)}
.section-project-hero::before,.section-contact-hero-2::before{background-color:rgba(0,0,0,.35)}

/* Visitors who turn animations off see headings immediately instead of waiting for them to animate in */
@media (prefers-reduced-motion:reduce){[data-w-id][style*="opacity:0;"],[data-w-id][style$="opacity:0"]{opacity:1!important;transform:none!important}}
