.contact-layout{grid-template-columns:1fr 1fr;align-items:stretch}.contact-map{min-width:0;min-height:480px;overflow:hidden;border-radius:22px;background:#dce4e8}.contact-map iframe{display:block;border:0;width:100%;height:100%;min-height:480px}.contact-preparation{grid-column:1/-1;max-width:840px;width:100%;margin:32px auto 0}.contact-people{display:grid;gap:20px}.person-contact a{overflow-wrap:anywhere}.clock-hour,.clock-minute,.clock-second{transition:none!important}
html[lang=ru] .cinematic-hero h1{font-size:clamp(44px,5vw,76px);line-height:1.08}html[lang=ru] .cinematic-hero .lead{font-size:clamp(19px,1.7vw,26px)}html[lang=ru] #nav{gap:18px}html[lang=ru] #nav>a,html[lang=ru] .nav-expertise>summary{font-size:14px}
@media(max-width:1100px){.cinematic-hero{display:flex;flex-direction:column;height:auto;min-height:0}.cinematic-hero .hero-text{order:0;width:100%;height:auto;padding:44px 6% 34px}.cinematic-hero .hero-photo{order:1;position:relative;inset:auto;flex:none;width:100%;height:clamp(340px,48vw,460px)}.cinematic-hero .hero-text .lead{max-width:700px}.cinematic-hero .hero-actions{flex-wrap:wrap;align-items:center}}
@media(min-width:801px) and (max-width:1100px){header{gap:15px;padding-left:4%;padding-right:4%}header .brand{gap:12px}header .brand>span:nth-child(2){font-size:22px}#nav,html[lang=ru] #nav{gap:13px}#nav>a,.nav-expertise>summary,html[lang=ru] #nav>a,html[lang=ru] .nav-expertise>summary{font-size:12px}#nav .nav-contact{padding:12px 16px}}
@media(max-width:800px){.topline>span,.topline>a{display:none!important}.topline{display:none}.contact-layout{display:grid;grid-template-columns:1fr}.contact-layout .address-panel{display:block}.contact-map{min-height:340px}.contact-map iframe{min-height:340px}.contact-preparation{grid-column:auto;margin-top:0}html[lang=ru] #nav>a,html[lang=ru] .nav-expertise>summary{font-size:24px}.mobile-contact-float{max-width:calc(100% - 32px);white-space:normal;text-align:center}}
@media(max-width:560px){.cinematic-hero .hero-photo{height:clamp(315px,98vw,410px)}.cinematic-hero .hero-text{padding:38px 6% 28px}.cinematic-hero h1,html[lang=ru] .cinematic-hero h1{font-size:clamp(35px,10vw,54px)}.cinematic-hero .hero-actions{gap:12px 22px}.cinematic-hero .hero-actions a{font-size:14px}.contact-person h3{font-size:24px}.visual-page-intro h1,.service-hero h1{overflow-wrap:anywhere}html[lang=ru] .brand>span:nth-child(2){font-size:inherit}}
/* Continuous, slow counter-motion; chains remain anchored to the beam. */
@keyframes balance-left-continuous{0%,100%{transform:scaleY(1)}25%{transform:scaleY(1.035)}75%{transform:scaleY(.965)}}
@keyframes balance-right-continuous{0%,100%{transform:scaleY(1)}25%{transform:scaleY(.965)}75%{transform:scaleY(1.035)}}
@media(prefers-reduced-motion:no-preference){.motion-ready .desk-balance{opacity:1;animation:none}.motion-ready .balance-pan-left{animation:balance-left-continuous 12s ease-in-out infinite}.motion-ready .balance-pan-right{animation:balance-right-continuous 12s ease-in-out infinite}.motion-paused .balance-pan-left,.motion-paused .balance-pan-right{animation-play-state:paused}}

/* Compact language selector beside contact; independent of the wide expertise menu. */
header .language-menu{position:relative;flex:none;margin:0;font-family:Arial,sans-serif}
header .language-menu summary{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 3px;cursor:pointer;list-style:none;color:#f3f5f6;font-size:13px;white-space:nowrap}
.language-menu summary::-webkit-details-marker{display:none}.language-menu summary>span:first-child,.language-options a>span:first-child{font-size:19px;line-height:1}
header .language-options{position:absolute;right:0;top:calc(100% + 8px);width:150px;padding:6px;background:#102333;border:1px solid #d4ad6455;border-radius:12px;box-shadow:0 12px 28px #0004;z-index:100;opacity:0;transform:translateY(-5px);transition:opacity .18s ease,transform .18s ease}
header .language-menu[open] .language-options{opacity:1;transform:translateY(0)}
.language-menu .language-options:before{content:"";position:absolute;bottom:100%;left:0;right:0;height:12px}
header .language-options a{display:flex;align-items:center;gap:10px;padding:11px 9px;color:#f3f5f6;border-radius:7px;font:13px Arial,sans-serif;text-decoration:none;white-space:nowrap}
header .language-options a:hover,header .language-options a[aria-current=true]{background:#d4ad6420;color:#e7c98c}.language-menu summary:hover{color:#e7c98c!important}.language-menu a:focus-visible,.language-menu summary:focus-visible{outline:2px solid #d4ad64;outline-offset:3px}.language-chevron{transition:transform .18s}.language-menu.is-open .language-chevron{transform:rotate(180deg)}
@media(min-width:801px) and (max-width:1100px){#nav,html[lang=ru] #nav{gap:10px}header .brand>span:nth-child(2){font-size:19px}header .language-menu summary{font-size:12px;gap:5px}#nav .nav-contact{padding:10px 12px}}
@media(max-width:800px){
 header{display:flex;gap:8px;padding-left:4%;padding-right:4%}
 header>.brand{margin-right:auto;min-width:0;gap:10px}
 header>.language-menu{align-self:center;margin:0;flex:none}
 header>.language-menu summary{justify-content:center;width:40px;height:44px;padding:0;min-height:44px}
 header>.language-menu summary>span:nth-child(2),header>.language-menu summary>svg{display:none}
 header>.language-menu summary>span:first-child{font-size:23px}
 header>.language-menu .language-options{position:absolute;top:calc(100% + 10px);right:0;width:150px;margin:0}
 header>.menu{flex:none;margin:0;padding:10px 13px;gap:10px}
}
@media(max-width:420px){header>.brand>span:nth-child(2){font-size:18px!important}header>.brand{gap:8px}header>.brand .monogram{font-size:36px}header>.menu{padding:10px;gap:8px}}
@media(max-width:350px){header{gap:4px}header>.brand>span:nth-child(2){font-size:15px!important}header>.brand{gap:5px}header>.menu{font-size:10px;padding:9px 8px}header>.language-menu summary{width:34px}}
@media(prefers-reduced-motion:reduce){header .language-options,.language-chevron{transition:none}}
@media(min-width:801px) and (max-width:920px){html[lang=ru] #nav{gap:8px}html[lang=ru] #nav>a,html[lang=ru] #nav .nav-expertise>summary{font-size:10px}html[lang=ru] header .language-menu summary{font-size:11px}html[lang=ru] #nav .nav-contact{padding:10px}}

/* One content-sized contact card: never clip people to a grid row. */
.contact-layout{display:block}
.contact-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:start;background:#10283f;color:#f3f5f6;border:1px solid #d4ad6430;border-radius:24px;padding:36px;overflow:visible}
.contact-card .address-panel{display:block;padding:0;background:none;border-radius:0;overflow:visible;height:auto!important;min-height:0;align-self:start}
.contact-card .address-panel:after{display:none}
.contact-card .location-emblem{width:42px;height:42px;margin-bottom:18px}
.contact-card .eyebrow{margin-bottom:12px}.contact-card h2{font-size:38px;margin-bottom:18px}
.contact-card address{font-size:18px;margin-bottom:18px}.contact-card .address-panel .button{margin:0 0 24px}
.contact-card .contact-people{gap:20px}.contact-card .contact-person{border-top:1px solid #d4ad6435;padding-top:18px}.contact-card .contact-person h3{font-size:25px;margin-bottom:8px}.contact-card .person-contact{font-size:15px;line-height:1.8}
.contact-card .contact-map{min-height:0;height:100%;min-width:0;border-radius:16px;border:1px solid #d4ad6440;align-self:stretch;overflow:hidden}
.contact-card .contact-map iframe{height:100%;min-height:480px;width:100%}
@media(max-width:800px){.contact-card{grid-template-columns:1fr;padding:24px;gap:28px}.contact-card .contact-map{height:320px}.contact-card .contact-map iframe{min-height:0;height:320px}.contact-card .address-panel .location-emblem{width:42px;height:42px;margin-bottom:18px}header>.language-menu summary{width:52px;border:1px solid #d4ad6480;border-radius:999px;gap:6px;background:#10283f}header>.language-menu summary>svg{display:block;width:10px;height:10px}header>.language-menu summary>span:first-child{font-size:20px}header>.language-menu{z-index:45}header>.language-menu .language-options{z-index:50}}
@media(max-width:350px){header>.language-menu summary{width:44px;gap:4px}header>.brand>span:nth-child(2){font-size:14px!important}}

/* Matching full-width portraits, with no letterboxing. */
.visual-profiles .profile-art.profile-portrait{height:auto;aspect-ratio:2/3;overflow:hidden}
.visual-profiles .profile-art.profile-portrait:before,.visual-profiles .profile-art.profile-portrait:after{display:none}
.profile-portrait img{display:block;width:100%;height:auto;aspect-ratio:2/3;object-fit:cover}


/* Keep the City Hall tower visible in the team-page image. */
.intro-medarbetare .visual-intro-photo img { object-position: center top; }

/* Match fitScene before JS runs, keeping image and clock overlays in one geometry. */
@supports (width: 1cqw) {
 .cinematic-hero .hero-photo { container-type:size; }
 .cinematic-hero .hero-scene { width:max(100cqw,177.6833156cqh); height:max(100cqh,56.2799043cqw); left:auto;right:0;bottom:auto;top:calc((100cqh - max(100cqh,56.2799043cqw))/2); }
}
