/* Shared layout rules loaded after page and language styles. */
:root{--ec-header-height:90px;--ec-gutter:clamp(24px,4vw,64px)}
html:has(.ec-languages){--ec-header-height:124px}
html{scroll-padding-top:calc(var(--ec-header-height) + 20px)}
.site-header{height:var(--ec-header-height);column-gap:24px}
.site-header>.brand-link,.site-header>.mobile-menu{min-width:0}
.site-header>nav:not(.ec-languages){min-width:0;gap:clamp(12px,1.5vw,28px)}
.site-header>nav:not(.ec-languages) a{white-space:nowrap}
.site-header>.header-contact{margin-left:0;flex-shrink:0}
.site-header nav.ec-languages a{min-height:28px}
.mobile-menu:not([open])>div{display:none}
.mobile-menu>div{overscroll-behavior:contain}
:where(main,footer) :where(h1,h2,h3,h4,p,a,li,dt,dd,strong){overflow-wrap:anywhere}
:where(.hero-bottom,.about-main,.section-head,.contact-layout,.service-trigger,.service-content,.service-detail,.founder-profile,.ec-careers-section,.footer-bottom)>*{min-width:0}
.hero-bottom{grid-template-columns:minmax(0,.9fr) minmax(0,1fr) minmax(210px,.7fr);gap:clamp(24px,3vw,48px)}
.hero-cta{width:100%;max-width:320px;gap:20px;min-height:64px;height:auto;padding:20px 24px}
html[lang] .section-head h2{font-size:clamp(48px,7vw,108px);line-height:.98}
.section-head-row{gap:40px;align-items:start}
.section-description{margin:0;max-width:430px}
.section-head-row>div{flex:1}
.section-head-row>.section-description{flex:1}
.section-text-link{min-height:44px;font-size:12px;line-height:1.7}
.about-main{gap:clamp(32px,6vw,88px);margin:56px auto 64px;padding-top:32px}
.about-copy{line-height:1.95}
.about-copy p:last-child{margin-bottom:0}
.principle-list>div{min-height:0;padding-top:28px;padding-bottom:28px}
.principle-list span{margin-bottom:28px}
.service-list,.home-message-grid,.logo-grid{margin-top:56px}
.service-trigger{grid-template-columns:40px minmax(0,1.2fr) minmax(0,1fr) 44px;gap:24px;padding:28px 24px;min-height:128px}
.service-toggle{font-size:0;gap:0}
.service-toggle b{flex-shrink:0}
.service-title-wrap strong{line-height:1.5}
.service-content{padding-left:64px;gap:32px}
.service-contact,.contact-band>a,.service-detail-scope>a,.recruit-entry>a,.service-legal-link{white-space:normal;max-width:100%;line-height:1.7;min-height:48px}
.service-detail{grid-template-columns:72px minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(28px,4vw,64px);scroll-margin-top:0}
.service-detail-scope>a{padding:16px 20px}
.service-tags span,.service-detail-tags span{max-width:100%;overflow-wrap:anywhere}
.contact-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,5vw,80px)}
.contact-copy h2{font-size:clamp(42px,6vw,92px);line-height:1}
.contact-form{min-width:0;padding:clamp(24px,3vw,40px)}
.contact-form input:not([type=checkbox]),.contact-form select,.contact-form textarea{min-width:0;max-width:100%;font-size:16px;line-height:1.5}
.contact-form input:focus-visible,.contact-form select:focus-visible,.contact-form textarea:focus-visible{outline:2px solid var(--cobalt);outline-offset:2px}
.consent{align-items:flex-start!important;line-height:1.8}
.consent input{flex:0 0 20px;width:20px;height:20px;margin-top:2px}
.contact-form label>span{font-size:13px}
.form-note{font-size:12px}
.footer-bottom{gap:24px;flex-wrap:wrap;margin-top:32px}
.footer-bottom nav{gap:8px 24px}
.footer-bottom a{display:inline-flex;align-items:center;min-height:44px;font-size:11px;line-height:1.6}
.footer-bottom p{font-size:11px;line-height:1.7}
.interior-hero h1{font-size:clamp(40px,7.3vw,112px);line-height:1;margin-bottom:48px}
.interior-hero{min-height:0;padding-top:calc(var(--ec-header-height) + 64px);padding-bottom:72px}
.thanks-page{padding-top:calc(var(--ec-header-height) + 64px)}
.thanks-page h1{font-size:clamp(38px,9vw,128px);line-height:1;margin-bottom:40px}
.founder-profile{grid-template-columns:minmax(0,.75fr) minmax(0,1.1fr);gap:clamp(40px,6vw,88px)}
.founder-photo{top:calc(var(--ec-header-height) + 24px)}
.founder-copy{padding-top:0}
.founder-copy>.founder-name{font-size:clamp(32px,4.5vw,64px);line-height:1.4}
.contact-band{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px}
.contact-band>a{grid-column:2;justify-self:start}
.ec-careers-section{scroll-margin-top:0}
.ec-careers-nav a{min-width:0}
.news-index,.news-article,.article-page{padding-top:calc(var(--ec-header-height) + 64px)}
.news-article-body img,.article-body img{height:auto}
.navigation.pagination .nav-links{flex-wrap:wrap}
.placement-documents a{grid-template-columns:minmax(0,1fr) auto;gap:12px}
.placement-documents small{grid-column:1}
@media(min-width:1101px){.mobile-menu{display:none}}
@media(max-width:1100px){
 :root{--ec-header-height:80px}html:has(.ec-languages){--ec-header-height:110px}
 .site-header{grid-template-columns:minmax(0,1fr) auto;padding:0 24px;gap:20px}
 .site-header:has(.ec-languages){padding-top:30px}
 .site-header>nav:not(.ec-languages),.site-header>.header-contact{display:none}
 .site-header .mobile-menu{display:block;justify-self:end}
 .mobile-menu summary{cursor:pointer;display:flex;align-items:center;justify-content:center;min-width:72px;min-height:44px;padding:10px 16px;border:1px solid #2575b747;border-radius:24px;list-style:none;font-size:12px;font-weight:700}
 .mobile-menu summary::-webkit-details-marker{display:none}
 .site-header .mobile-menu>div{display:grid;position:absolute;top:100%;left:0;right:0;padding:8px 24px 20px;background:#f8fcfffA;border-top:1px solid var(--line);max-height:calc(100dvh - var(--ec-header-height) - 16px);overflow-y:auto;box-shadow:0 16px 24px #152a3d14}
 .site-header .mobile-menu:not([open])>div{display:none}
 .site-header .mobile-menu>div a{display:block;color:var(--ink);padding:14px 0;border-bottom:1px solid var(--line);font-size:14px;line-height:1.5;min-height:48px}
 .site-header nav.ec-languages{right:24px;height:30px}
 .hero-bottom{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .hero-cta{grid-column:2}
 .contact-layout{grid-template-columns:minmax(0,1fr);gap:40px}
 .contact-copy{max-width:720px}
 .contact-copy h2{margin:0 0 28px}
 .contact-form{width:100%;max-width:760px}
 .service-detail{grid-template-columns:56px minmax(0,1fr)}
 .service-detail-scope{grid-column:2}
 .ec-careers-section{gap:40px}
}
@media(max-width:820px){
 :root{--page:calc(100vw - 48px)}
 .section-pad,.service-overview,.service-faq,.founder-profile,.founder-values,.policy-content,.column-index{padding:64px 24px}
 .hero{min-height:0;padding:calc(var(--ec-header-height) + 44px) 24px 48px}
 .hero-inner{min-height:0}
 .hero h1{font-size:clamp(50px,13.5vw,104px);line-height:.94;margin:0 0 36px}
 .hero-bottom{grid-template-columns:minmax(0,1fr);gap:20px}
 .hero-description{display:block;font-size:14px;line-height:1.9;max-width:540px}
 .hero-cta{grid-column:auto;margin-top:4px}
 html[lang] .section-head h2{font-size:clamp(32px,9vw,68px);line-height:1.02}
 .section-head-row{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}
 .section-description{max-width:640px;font-size:14px}
 .about-main{grid-template-columns:minmax(0,1fr);gap:24px;margin:32px auto 40px;padding-top:24px}
 .about-statement{font-size:clamp(24px,4.6vw,32px)}
 .about-copy{font-size:15px}
 .principle-list>div{padding:24px 0}.principle-list span{margin-bottom:16px}
 .service-list,.logo-grid,.home-message-grid{margin-top:36px}
 .service-trigger{grid-template-columns:24px minmax(0,1fr) 36px;gap:12px;padding:24px 0;min-height:0}
 .service-title-wrap{grid-column:2}.service-lead{grid-column:2/-1}
 html[lang] .service-title-wrap strong{font-size:18px;line-height:1.55}
 .service-toggle{grid-area:1/3}.service-toggle b{width:36px;height:36px}
 .service-content{grid-template-columns:minmax(0,1fr);gap:24px;margin:0;padding:24px 0 32px}
 .service-contact,.service-content>.service-legal-link{grid-column:auto;width:100%;margin:0;font-size:12px}
 .service-description>p,.service-points li{font-size:14px;line-height:1.9}
 .results{padding:64px 24px;gap:32px}
 .result-intro h2{font-size:32px;margin-bottom:20px}
 .results-ledger>div{grid-template-columns:minmax(0,1fr) auto;gap:12px}
 .home-message-grid{gap:36px}.home-message-photo{box-shadow:12px 12px #e4f1fa}
 .home-message-copy h3{font-size:26px;margin-bottom:24px}
 .home-message-copy h3+p{font-size:15px;line-height:1.95}
 .home-message-sign{margin-top:28px}
 .contact-copy h2{font-size:clamp(38px,10vw,66px);margin:0 0 28px}
 .contact-copy>a{margin-top:24px;min-height:44px}
 .contact-form{padding:24px 20px;border-radius:18px}
 .form-grid{grid-template-columns:minmax(0,1fr)}
 .submit-button{min-height:56px;padding:14px 20px;gap:12px;line-height:1.6}
 .interior-hero{padding:calc(var(--ec-header-height) + 40px) 24px 48px;min-height:0}
 .interior-hero h1{font-size:clamp(28px,8.1vw,64px);margin-bottom:32px;line-height:1.08}
 .interior-lead{gap:16px;padding-top:24px}
 .service-overview nav{margin-top:32px}
 .service-overview nav a{grid-template-columns:24px minmax(0,1fr) auto;gap:12px;padding:20px 0;min-height:80px;font-size:18px;line-height:1.5}
 .service-detail{grid-template-columns:minmax(0,1fr);gap:24px;padding:56px 0}
 .service-detail-scope{grid-column:auto}
 .service-detail-copy h2{font-size:28px;line-height:1.45}
 .service-detail-copy h3{margin:24px 0 16px}
 .service-faq-list{margin-top:32px}
 .founder-profile{grid-template-columns:minmax(0,1fr);gap:32px}
 .founder-photo{position:static;width:100%;max-width:440px}
 .founder-message{padding-top:32px}.founder-message h2{font-size:25px;margin-bottom:24px}
 .founder-message p{line-height:1.95}
 .founder-values article{padding:24px 0}
 .contact-band{grid-template-columns:minmax(0,1fr);padding:56px 24px;gap:24px}
 .contact-band h2{font-size:30px;line-height:1.45}
 .contact-band>a{grid-column:auto;min-width:0;width:100%;max-width:360px}
 .policy-list{margin-top:32px}
 .policy-list article{grid-template-columns:24px minmax(0,1fr);gap:14px;padding:28px 0}
 .policy-list h3{font-size:22px;line-height:1.6}
 .thanks-page{min-height:0;padding:calc(var(--ec-header-height) + 48px) 24px 64px}
 .thanks-page h1{font-size:clamp(38px,10vw,74px);margin-bottom:32px}
 .news-index,.news-article,.article-page{padding:calc(var(--ec-header-height) + 40px) 24px 64px}
 .news-index-head{margin-bottom:32px}
 .news-article h1,.article-page>header h1{font-size:30px;line-height:1.5}
 .ec-careers-hero{padding:calc(var(--ec-header-height) + 36px) 24px 40px;min-height:0;gap:32px}
 .ec-careers-section{padding:56px 24px;gap:28px}
 .ec-careers-heading h2{font-size:28px}
 .ec-careers-work-list details>div{padding-left:0}
 footer{padding:48px 24px 24px}
 .footer-top,.footer-bottom{display:grid;gap:24px;align-items:start}
 .footer-top p{text-align:left}
 .group-companies{margin:24px 0}
}
@media(max-width:380px){
 .site-header{padding-left:16px;padding-right:16px;gap:12px}
 .site-header .brand-logo{width:152px}
 .site-header nav.ec-languages{right:16px}
 .results-ledger>div{grid-template-columns:minmax(0,1fr);gap:8px;padding:20px 0}
 .results-ledger dd{justify-content:flex-end}
 .ec-careers-nav{padding:0 16px}
 .service-title-wrap strong{font-size:17px}
 .footer-top .brand-logo{max-width:100%}
}
@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important}}
