/* Shared editorial components. Preserve each page's content and the original wordmark. */
html body.site-type{--page-line:#d8ddd3;--page-paper:#f4f6f0;--page-ink:#111;--page-accent:#b4212a}
html body.site-type:not(.home-page):not(.legal-page) :is(.services-detail,.about-section,.industry-section,.careers-section,.careers-benefits){padding-block:64px!important}
html body.site-type:not(.home-page) :is(.svc-block,.about-grid){gap:56px;align-items:center}
html body.site-type:not(.home-page) :is(.svc-content,.svc-text,.about-text)>p{max-width:68ch;font-size:16px!important;line-height:1.8!important;color:#111!important}
html body.site-type:not(.home-page) :is(.svc-content,.svc-text,.about-text) h2{font-size:clamp(30px,3.4vw,44px)!important;line-height:1.2!important;letter-spacing:-.04em!important;color:#111!important;margin-bottom:24px!important}
html body.site-type :is(.svc-img-wrap,.about-img-placeholder){border:1px solid var(--page-line);border-radius:2px!important;box-shadow:none!important;min-height:0!important;aspect-ratio:4/3;height:auto!important}
html body.site-type :is(.svc-img-wrap,.about-img-placeholder)>img{display:block;width:100%!important;height:100%!important;object-fit:cover!important}
html body.site-type .values-grid{gap:24px;margin-top:32px}
html body.site-type .values-grid.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html body.site-type .values-grid .value-card{min-height:0!important;padding:28px!important;background:#fff!important;border:1px solid var(--page-line)!important;border-radius:2px!important;box-shadow:none!important;transform:none!important;text-align:left!important}
html body.site-type .values-grid .value-card::before,html body.site-type .values-grid .value-card::after{display:none!important}
html body.site-type .value-card .value-icon{display:grid;place-items:center;width:38px;height:38px;padding:0!important;margin:0 0 24px!important;border-radius:2px!important;background:var(--page-paper)!important;color:var(--page-accent)!important;font:650 12px/1 var(--font-main)!important;box-shadow:none!important}
html body.site-type .values-grid .value-card h3{font-size:23px!important;line-height:1.3!important;letter-spacing:-.025em!important;margin:0 0 14px!important;color:#111!important}
html body.site-type .values-grid .value-card p{margin:0!important;max-width:62ch;color:#111!important;font-size:16px!important;line-height:1.75!important}
html body.site-type .careers-benefits{background:var(--page-paper)!important}
html body.site-type .careers-section .container>p{font-size:17px!important;line-height:1.8!important;max-width:760px!important;color:#111!important}
html body.site-type .page-visual-band{padding:28px 0!important;background:#fff!important}
html body.site-type .page-visual-band>.container{gap:18px!important}
html body.site-type .page-visual-band img{border-radius:2px!important;aspect-ratio:2/1;object-fit:cover;box-shadow:none!important}
/* A contact page with clear reading and form columns, rather than nested decorative panels. */
html body.contact-page .contact-main{padding:56px 0!important;background:#fff!important}
html body.contact-page .contact-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:56px;align-items:start}
html body.contact-page .contact-info-panel{padding:8px 0!important;background:none!important;border:0!important}
html body.contact-page .contact-info-panel>h2{font-size:36px!important;line-height:1.2!important;color:#111!important}
html body.contact-page .contact-info-panel>p{font-size:16px!important;line-height:1.8!important;color:#111!important;margin-bottom:28px!important;max-width:54ch}
html body.contact-page .office-cards{margin-bottom:24px;gap:0}
html body.contact-page .office-card{padding:22px!important;border:1px solid var(--page-line)!important;border-radius:2px!important;background:var(--page-paper)!important;box-shadow:none!important}
html body.contact-page .office-card p{color:#111!important;font-size:15px!important;line-height:1.75!important;margin:10px 0 0!important}
html body.contact-page .contact-channels{gap:0}
html body.contact-page .channel-item{padding:18px 0;border-bottom:1px solid var(--page-line)}
html body.contact-page .channel-icon{width:38px;height:38px;background:var(--page-paper)!important;border-radius:2px!important;color:var(--page-accent)!important}
html body.contact-page .channel-item strong{font-size:11px!important;font-weight:650!important;letter-spacing:.07em!important}
html body.contact-page .channel-item a{display:inline-block;color:#111;font:550 16px/1.6 var(--font-main);text-decoration:none;overflow-wrap:anywhere}
html body.contact-page .channel-item a:hover{color:var(--page-accent);text-decoration:underline;text-underline-offset:4px}
html body.contact-page .response-banner{background:#101114!important;border:0!important;border-radius:2px!important;padding:22px!important;box-shadow:none!important;margin-top:28px!important;align-items:flex-start}
html body.contact-page .response-banner :is(strong,span){color:#fff!important;font-size:14px!important;line-height:1.75!important}
html body.contact-page .contact-form-panel{background:#fff!important;border:1px solid var(--page-line)!important;border-radius:2px!important;padding:32px!important;box-shadow:none!important}
html body.contact-page .form-panel-header{margin-bottom:28px}
html body.contact-page .form-panel-header h3{font-size:28px!important;line-height:1.25!important;color:#111!important}
html body.contact-page .form-panel-header p{font-size:15px!important;line-height:1.75!important;color:#30362f!important}
html body.contact-page .form-row{gap:18px}
html body.contact-page .fg label{font-size:11px!important;font-weight:650!important;letter-spacing:.06em!important;color:#111!important}
html body.contact-page .fg :is(input,select,textarea){border-radius:2px!important;background:#fff!important;border:1px solid #afb6a8;box-shadow:none;font-size:16px!important;line-height:1.5!important}
html body.contact-page .fg :is(input,select){min-height:50px}
html body.contact-page .fg textarea{min-height:150px}
html body.contact-page .selected-service-banner{border:1px solid #ced5c5!important;border-left:3px solid var(--page-accent)!important;border-radius:2px!important;background:var(--page-paper)!important;padding:18px!important}
html body.contact-page .form-submit-row{display:grid;grid-template-columns:1fr;gap:16px;margin-top:16px}
html body.contact-page .btn-submit-inquiry{display:flex;justify-content:center;align-items:center;min-height:52px;padding:14px 20px;border:1px solid var(--page-accent);border-radius:2px;background:var(--page-accent);color:#fff;font:650 15px/1.5 var(--font-main);box-shadow:none!important;transform:none!important}
html body.contact-page .form-note{font-size:13px!important;line-height:1.75!important;color:#30362f!important;max-width:none}
html body.contact-page .faq-strip{padding:52px 0!important;background:var(--page-paper)!important}
html body.contact-page .faq-strip .container>div:first-child{text-align:left!important}
html body.contact-page .faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px 40px;margin-top:28px}
html body.contact-page .faq-item{padding:24px 0!important;border:0!important;border-top:1px solid #bcc5b2!important;background:none!important;border-radius:0!important;box-shadow:none!important}
html body.contact-page .faq-item h4{font-size:20px!important;line-height:1.35!important;margin:0 0 14px!important;color:#111!important}
html body.contact-page .faq-item p{font-size:16px!important;line-height:1.8!important;color:#111!important;margin:0!important}
/* Case studies have a consistent scale and a readable narrative beside real work. */
html body.project-detail-page .case-hero{padding:48px 0 56px!important;background:#101114!important}
html body.project-detail-page .case-hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:56px}
html body.project-detail-page .case-back{margin-bottom:28px;color:#fff;font-size:14px}
html body.project-detail-page .case-hero h1{white-space:normal!important;overflow-wrap:anywhere;font-size:clamp(40px,5vw,68px)!important;line-height:1.08!important;margin:20px 0 24px!important;color:#fff!important}
html body.project-detail-page .case-hero-copy>p{color:#fff!important;font-size:17px!important;line-height:1.75!important}
html body.project-detail-page .case-hero-image{border-radius:2px!important;box-shadow:none!important}
html body.project-detail-page .case-hero-image img{border-radius:0!important}
html body.project-detail-page :is(.case-story,.case-delivery,.case-tech){padding:60px 0!important}
html body.project-detail-page :is(.case-story-grid,.case-tech-grid){grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:56px}
html body.project-detail-page :is(.case-story,.case-tech) h2{font-size:clamp(30px,3.5vw,44px)!important;line-height:1.2!important;margin-top:16px!important;color:#111!important}
html body.project-detail-page .case-story-grid>div:last-child{padding-top:0}
html body.project-detail-page .case-facts-grid>div{min-height:0;padding-block:24px}
html body.project-detail-page .case-delivery-grid{margin-top:28px}
html body.project-detail-page .case-delivery article{min-height:0;padding-block:24px}
html body.project-detail-page .case-delivery h3{font-size:23px;line-height:1.3;margin-top:28px}
/* Project directory: previews and context, not a row of wordmarks. */
html body.projects-index-page .projects-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
html body.projects-index-page .project-card{display:flex;flex-direction:column;min-height:0!important;border:1px solid var(--page-line)!important;border-radius:2px!important;background:#fff!important;box-shadow:none!important;overflow:hidden;text-decoration:none;color:#111}
html body.projects-index-page .project-card:hover{transform:none!important;border-color:#9da991!important;box-shadow:0 8px 24px #10111408!important}
.project-preview{aspect-ratio:3/2;overflow:hidden;background:#f0f2ec;border-bottom:1px solid var(--page-line)}
.project-preview img{display:block;width:100%;height:100%;object-fit:cover;object-position:top center;transition:transform .5s}
.project-fallback{display:grid;place-items:center;height:100%;padding:24px;box-sizing:border-box;font:650 26px/1.3 var(--font-main)}
.project-card-copy{display:flex;flex:1;flex-direction:column;padding:24px;min-width:0}
.project-card-kicker{display:flex;justify-content:space-between;gap:16px;font:550 11px/1.5 var(--font-main);color:#444c3d;margin-bottom:16px}
html body.projects-index-page .project-card-copy h3{font-size:25px!important;line-height:1.25!important;margin:0 0 14px!important;color:#111!important}
html body.projects-index-page .project-card-copy p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;font:450 15px/1.75 var(--font-main);margin:0 0 20px;color:#30362f}
.project-card-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}
.project-card-tags>span{padding:5px 8px;border:1px solid #d8ddd3;font:450 11px/1.4 var(--font-main);color:#30362f}
.project-read{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-top:22px;padding-top:16px;border-top:1px solid var(--page-line);color:var(--page-accent);font:650 14px/1.5 var(--font-main)}
.project-read b{font-size:21px;font-weight:400}
html body.projects-index-page .filter-bar{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:28px}
html body.projects-index-page .filter-btn{border-radius:2px!important;border:1px solid #c8d0bf!important;background:#fff!important;color:#111!important;padding:11px 16px!important;font:550 14px/1.5 var(--font-main)!important}
html body.projects-index-page .filter-btn.active{background:#111!important;color:#fff!important;border-color:#111!important}
/* Legal pages stay compact, with comfortable reading type. */
html body.legal-page .legal-body :is(p,li){font-size:16px!important;line-height:1.85!important;color:#111!important}
html body.legal-page .legal-toc a{font-size:14px!important;line-height:1.7!important;color:#111!important}
html body.legal-page .legal-body h2{font-size:25px!important;color:#111!important}
/* Homepage and all pricing links use the same clear type and touch targets. */
html body.home-page .home-price-card>p,html body.home-page .home-price-card li{font-size:15px!important;line-height:1.75!important;color:#111!important}
html body.home-page .home-price-card>a{font-size:14px!important;font-weight:650!important;min-height:44px}
@media(hover:hover){.project-card:hover .project-preview img{transform:scale(1.025)}}
@media(max-width:1100px){html body.site-type:not(.home-page) :is(.svc-block,.about-grid){gap:32px}html body.contact-page .contact-layout{gap:32px}html body.projects-index-page .projects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){html body.contact-page .contact-layout,html body.project-detail-page :is(.case-hero-grid,.case-story-grid,.case-tech-grid){grid-template-columns:1fr;gap:32px}html body.contact-page .contact-info-panel{max-width:760px}html body.project-detail-page .case-hero-image--remote{min-height:360px!important}html body.site-type .values-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){
 html body.site-type:not(.home-page):not(.legal-page) :is(.services-detail,.about-section,.industry-section,.careers-section,.careers-benefits){padding-block:40px!important}
 html body.site-type .values-grid,html body.site-type .values-grid.cols-4,html body.contact-page .faq-grid,html body.projects-index-page .projects-grid{grid-template-columns:1fr!important}
 html body.site-type .values-grid .value-card{padding:24px!important}
 html body.site-type .values-grid .value-card h3{font-size:22px!important}
 html body.site-type .values-grid{gap:16px;margin-top:26px}
 html body.site-type:not(.home-page) :is(.svc-content,.svc-text,.about-text) h2{font-size:30px!important}
 html body.contact-page .contact-main{padding:36px 0!important}
 html body.contact-page .contact-form-panel{padding:22px!important}
 html body.contact-page .form-row{grid-template-columns:1fr}
 html body.contact-page .contact-info-panel>h2{font-size:32px!important}
 html body.contact-page .faq-strip{padding:40px 0!important}
 html body.project-detail-page .case-hero{padding:32px 0 40px!important}
 html body.project-detail-page :is(.case-story,.case-delivery,.case-tech){padding:40px 0!important}
 html body.project-detail-page .case-facts-grid{grid-template-columns:1fr 1fr}
 html body.project-detail-page .case-facts-grid>div{padding:18px!important;border-bottom:1px solid var(--page-line)}
 html body.project-detail-page .case-delivery-grid{grid-template-columns:1fr}
 html body.project-detail-page .case-delivery article{padding:24px 0!important;border-right:0!important;border-bottom:1px solid var(--page-line)}
 html body.project-detail-page .case-hero h1{font-size:40px!important}
 html body.site-type .page-visual-band>.container{grid-template-columns:1fr 1fr!important}
 html body.site-type .page-visual-band img:last-child{display:none}
}
@media(min-width:1800px){html body.contact-page .contact-layout{gap:80px}html body.site-type:not(.home-page):not(.legal-page) :is(.services-detail,.about-section,.careers-section,.careers-benefits){padding-block:80px!important}}
@media(prefers-reduced-motion:reduce){.project-preview img{transition:none}}
html body.site-type.projects-index-page .projects-section{padding:56px 0!important;background:#fff!important}
html body.projects-index-page .project-card{padding:0!important}
html body.projects-index-page .project-card::before,html body.projects-index-page .project-card::after{display:none!important}
html body.projects-index-page .project-preview{margin:0!important;width:100%;border-radius:0!important}
html body.projects-index-page .project-preview img{border-radius:0!important;box-shadow:none!important}
@media(max-width:620px){html body.site-type.projects-index-page .projects-section{padding:36px 0!important}}

html body.projects-index-page .filter-bar{margin:0 0 28px!important}
/* One button language across company, service, sector and project pages. */
html body.site-type:not(.home-page) :is(a.btn-primary,a.btn-outline-dark,a.btn-outline-white){display:inline-flex;align-items:center;justify-content:center;gap:14px;box-sizing:border-box;min-height:50px;padding:13px 20px!important;border-radius:2px!important;font:650 14px/1.5 var(--font-main)!important;text-decoration:none;box-shadow:none!important;transform:none!important}
html body.site-type:not(.home-page) a.btn-primary{background:#b4212a!important;border:1px solid #b4212a!important;color:#fff!important}
html body.site-type:not(.home-page) a.btn-primary:hover{background:#941a22!important;border-color:#941a22!important}
html body.site-type:not(.home-page) a.btn-outline-dark{background:#fff!important;border:1px solid #bcc4b4!important;color:#111!important}
html body.site-type:not(.home-page) a.btn-outline-white{background:transparent!important;border:1px solid #ffffff80!important;color:#fff!important}
/* Reserve space for the floating assistant so legal links stay clickable. */
@media(min-width:621px){html body #site-footer .footer-legal{padding-right:190px}}
@media(min-width:1800px){
 html body.site-type .values-grid .value-card h3,html body.projects-index-page .project-card-copy h3{font-size:28px!important}
 html body.site-type .values-grid .value-card p,html body.projects-index-page .project-card-copy p{font-size:18px!important}
 html body.site-type:not(.home-page) :is(.svc-content,.svc-text,.about-text)>p{font-size:18px!important}
 html body.project-detail-page .case-hero h1{font-size:80px!important}
}
@media(min-width:2500px){
 html body.site-type .values-grid .value-card p,html body.projects-index-page .project-card-copy p,html body.site-type:not(.home-page) :is(.svc-content,.svc-text,.about-text)>p{font-size:20px!important}
 html body.project-detail-page .case-hero h1{font-size:96px!important}
 html body.project-detail-page .case-hero-copy>p{font-size:21px!important}
 html body.contact-page .contact-form-panel{padding:44px!important}
 html body.contact-page .contact-info-panel>h2{font-size:44px!important}
}
