.home-brand{display:inline-flex;text-decoration:none;flex-shrink:0}
.home-brand .brand-expanded{display:grid;grid-template-columns:18px auto;column-gap:6px;margin-left:-24px;gap:1px 6px;color:var(--ink)}
.home-brand .brand-line{grid-column:1 / 3;display:grid;grid-template-columns:18px auto auto;column-gap:6px;justify-content:start;align-items:baseline;line-height:1.08;color:var(--ink)}
.home-brand strong{font-size:29px;font-weight:750;letter-spacing:-.045em}
.home-brand .brand-context{font-size:15px;font-weight:400;letter-spacing:-.02em;color:var(--muted)}
.home-brand .brand-line:first-child strong{grid-column:2}
.home-brand .brand-line:first-child .brand-context{grid-column:3}
.home-brand .brand-line:last-child .brand-context:not(.brand-domain){grid-column:1}
.home-brand .brand-line:last-child strong{grid-column:2}
.home-brand .brand-compact{display:none;color:var(--ink)}
@media(max-width:600px){.home-brand .brand-expanded{display:none}.home-brand .brand-compact{display:inline}}

/* Center the service selector independently of the brand and language control. */
header:has(.service-switch){position:relative}
header .service-brand-context{display:flex;flex:1;flex-direction:row;justify-content:flex-start;align-items:center;min-width:0;padding:0}
header .service-brand-context .home-brand{order:0}
header .service-switch{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid var(--line);border-radius:12px;background:#fff}
header .service-switch .service-option{display:flex;align-items:center;justify-content:center;min-height:42px;padding:9px 14px;border:2px solid transparent;border-radius:8px;color:var(--ink);background:#fff;font-size:12px;font-weight:600;line-height:1.5;letter-spacing:.025em;white-space:nowrap;text-decoration:none}
header .service-switch .service-option[aria-current="true"]{border-color:#000;background:#fff;box-shadow:none}
header .service-switch .service-option:hover{color:#000;background:#fff}
header .service-switch .service-option:focus-visible{outline:2px solid #000;outline-offset:2px}
@media(max-width:850px){header .service-brand-context{flex-basis:100%;flex-direction:column;align-items:stretch;gap:26px}header .service-brand-context .home-brand{align-self:flex-start}header .service-brand-context .service-switch{position:static;transform:none;order:1;align-self:center;margin:0}header .service-switch .service-option{padding:8px 10px;min-height:42px;font-size:11px}}
@media(max-width:600px){header .service-brand-context .home-brand{font-size:26px}}

/* Parent selector and child navigation share one centered hierarchy. */
header:has(.service-navigation-stack){padding-bottom:72px}
header .service-navigation-stack{position:absolute;left:50%;top:28px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:14px}
header .service-navigation-stack .service-switch{position:static;transform:none}
header .service-submenu{display:flex;justify-content:center;gap:24px;white-space:nowrap}
header .service-submenu a{display:block;padding:0 0 7px;border-bottom:2px solid transparent;font-size:12px;line-height:1.5;font-weight:500;color:var(--muted);text-decoration:none}
header .service-submenu a[aria-current="page"]{color:#000;border-bottom-color:#000;font-weight:650}
header .service-submenu a:hover{color:#000}
header .service-submenu a:focus-visible{outline:2px solid #000;outline-offset:3px}
@media(max-width:850px){header:has(.service-navigation-stack){padding-bottom:28px}header .service-navigation-stack{position:static;transform:none;order:1;align-self:center;gap:14px}header .service-submenu{gap:18px}header .service-submenu a{font-size:11px}}

/* Quiet domain suffix, aligned with the existing supporting words. */
.home-brand .brand-line:last-child .brand-domain{grid-column:3;margin-left:-6px}

/* Subservice names are labels; prose retains its original casing. */
.service-submenu a,.service-subnav a,.service-chip h2,.service-title{text-transform:uppercase}
header .service-submenu a{letter-spacing:.025em}

.home-brand .brand-line>*{grid-row:1;white-space:nowrap}
.home-brand .brand-compact{white-space:nowrap}
