
.mobile-menu{display:none;position:relative}.mobile-menu summary{list-style:none;display:flex;align-items:center;gap:9px;border:1px solid #d9cfd9;border-radius:100px;padding:10px 15px;font-size:12px;font-weight:600;cursor:pointer}.mobile-menu summary::-webkit-details-marker{display:none}.mobile-menu nav{position:absolute;right:0;top:calc(100% + 14px);width:min(330px,calc(100vw - 38px));padding:13px 20px;background:#fffdf9;border:1px solid #ded7dc;box-shadow:0 15px 45px #302d361a;border-radius:16px;max-height:calc(100dvh - 120px);overflow-y:auto;z-index:30}.mobile-menu nav a{display:flex!important;align-items:center;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid #eee7ed;font-size:14px;text-decoration:none;color:#302d36}.mobile-menu nav a:last-child{border:0;color:#785c79}.mobile-menu nav a span{font-size:16px;color:#977d98}.mobile-menu summary:focus-visible{outline:3px solid #785c79;outline-offset:4px}
@media(max-width:1000px){.mobile-menu{display:block}.nav-inner>.links{display:none}.nav{position:sticky!important;top:0!important;z-index:25}html{scroll-padding-top:100px}section[id]{scroll-margin-top:110px!important}}

.line-arrow{display:inline-block;vertical-align:middle;flex:0 0 auto;color:currentColor;pointer-events:none}.mobile-menu nav .line-arrow{width:18px;height:18px;color:#977d98}.language-switch{display:flex;align-items:center;gap:5px;flex-shrink:0;font-size:11px;letter-spacing:.04em}.language-switch a{display:inline-flex;align-items:center;justify-content:center;min-width:31px;min-height:34px;padding:4px;text-decoration:none;color:#716b76;border-radius:6px}.language-switch a[aria-current=page]{color:#302d36;background:#eee7ef;font-weight:700}.nav-inner{gap:18px}.header-inner{gap:18px}.nav-inner>.language-switch,.header-inner>.language-switch{margin-left:auto}.mobile-menu summary{line-height:1.3}@media(max-width:500px){.nav .brand-caption{display:none}.nav-inner,.header-inner{gap:10px}.mobile-menu summary{padding:10px 12px}.language-switch{gap:1px}.language-switch a{min-width:29px}.header-links{display:none}}

/* The mobile menu uses its own icon instead of accordion indicators. */
.mobile-menu > summary::after,.mobile-menu[open] > summary::after{content:none}

/* Apply the anchor offset once, based on the visible sticky navigation. */
html:root{scroll-padding-top:var(--anchor-offset,92px)!important}
:root section[id],:root .article-body section[id],:root #contact,:root #enquiry-type{scroll-margin-top:0!important}

/* Balanced desktop navigation with one compact contact/language group. */
.header-actions{display:contents}
@media(min-width:1001px){
 .nav-inner,.header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:24px}
 .nav-inner>.brand,.header-inner>.brand{justify-self:start}
 .nav-inner>.links,.header-inner>.header-links{display:flex;justify-content:center;gap:clamp(16px,1.6vw,24px);white-space:nowrap}
 .header-actions{display:flex;align-items:center;justify-content:flex-end;gap:16px;min-width:0}
 .header-actions>.language-switch{margin-left:0;padding-left:12px;border-left:1px solid #e3dcdf}
 .header-actions>.button{white-space:nowrap}
}
@media(max-width:1000px){
 .header-actions>.button{display:none}
 .header-actions>.language-switch{margin-left:auto}
 .header-inner>.header-links{display:none}
}

/* A slimmer phone header leaves more room for the page. */
@media(max-width:600px){
 .nav .nav-inner,.site-header .header-inner{height:58px;min-height:58px;gap:8px}
 .nav .wordmark,.site-header .wordmark{font-size:32px;line-height:1;letter-spacing:-2.1px}
 .nav .brand,.site-header .brand{gap:0;flex-shrink:0}
 .nav .brand-caption,.site-header .brand-caption{display:none}
 .nav .language-switch,.site-header .language-switch{gap:0;font-size:10px}
 .nav .language-switch a,.site-header .language-switch a{min-width:27px;min-height:36px;padding:3px}
 .nav .mobile-menu summary,.site-header .mobile-menu summary{min-height:38px;padding:7px 11px;font-size:11px;gap:7px}
 .mobile-menu summary svg{width:17px;height:17px}
 .mobile-menu nav{top:calc(100% + 10px);max-height:calc(100dvh - 85px)}
}

/* Contact remains reachable throughout the mobile visit. */
.mobile-menu-languages{display:none}
@media(max-width:1000px){
 header.site-header{position:sticky;top:0;z-index:25}
 .nav .header-actions,.site-header .header-actions{display:flex;align-items:center;margin-left:auto;flex-shrink:0}
 .nav .header-actions>.language-switch,.site-header .header-actions>.language-switch{display:none}
 .nav .header-actions>.button,.site-header .header-actions>.button{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;padding:9px 15px;min-height:38px;font-size:12px;line-height:1.2;border-radius:24px;gap:0}
 .mobile-menu{flex-shrink:0}
 .mobile-menu-languages{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 0 12px;border-bottom:1px solid #eee7ed;margin:0 0 5px}
 .mobile-menu-languages>span{font-size:12px;color:#8b778e}
 .mobile-language-options{display:flex;align-items:center;gap:7px}
 .mobile-menu nav .mobile-language-options a{display:inline-flex!important;align-items:center;justify-content:center;min-width:40px;min-height:38px;padding:7px;border:1px solid #ded4e1;border-radius:9px;font-size:11px;color:#716b76}
 .mobile-menu nav .mobile-language-options a[aria-current=page]{color:#302d36;background:#eee7ef;font-weight:700}
}
@media(max-width:600px){
 .nav .header-actions>.button,.site-header .header-actions>.button{font-size:11px;min-height:38px;padding:8px 13px}
}

/* Keep the contact and menu buttons level, including after a touch. */
@media(max-width:1000px){
 .nav .header-actions>.button,.site-header .header-actions>.button,
 .nav .mobile-menu>summary,.site-header .mobile-menu>summary{box-sizing:border-box;height:38px;min-height:38px;align-items:center}
 .nav .header-actions>.button,.site-header .header-actions>.button,
 .nav .header-actions>.button:hover,.site-header .header-actions>.button:hover,
 .nav .header-actions>.button:active,.site-header .header-actions>.button:active{transform:none}
}

/* Full-width Why Perla background meets the sticky header on every screen size. */
:root #standards.trust-section{scroll-margin-top:-16px!important}
