/* Public landing header: reserve separate space for branding and each control. */
@media (max-width: 960px) {
 .site-header {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  justify-content:normal;
  gap:8px;
  height:74px;
  padding-inline:16px;
 }
 .site-header > .brand {min-width:0;max-width:100%;gap:8px;font-size:22px;}
 .site-header > .brand > img {width:36px;height:36px;flex:0 0 36px;}
 .site-header > .brand > span {min-width:0;white-space:nowrap;}
 .site-header > .brand small {white-space:normal;font-size:6px;letter-spacing:1px;}
 .site-header > .bh-preferences {grid-column:2;grid-row:1;justify-self:end;margin:0;gap:6px;}
 .site-header > .bh-preferences select {width:60px;min-width:60px;height:38px;min-height:38px;padding:5px 7px;}
 .site-header > .bh-preferences button {width:38px;min-width:38px;height:38px;min-height:38px;}
 .site-header > .menu-toggle {display:block;grid-column:3;grid-row:1;justify-self:end;width:38px;min-width:38px;height:38px;margin:0;padding:0;}
 .site-header > #site-nav {display:none;position:absolute;top:100%;left:0;right:0;padding:20px;background:var(--paper);border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;gap:20px;}
 .site-header > #site-nav.open {display:flex;}
 .site-header > #site-nav > a:first-child {display:block;}
 .site-header > #site-nav .login-link {border-left:0;padding-left:0;}
 body:not(.light) .site-header > #site-nav.open {background:#2b2231;}
 body:not(.light) .site-header > .bh-preferences {color:#f3eaf4;}
 body:not(.light) .site-header > .menu-toggle {background:#43354a;color:#f3eaf4;border-color:#745b7b;}
}
@media (max-width: 400px) {
 .site-header {padding-inline:12px;gap:7px;}
 .site-header > .brand {font-size:clamp(16px,4.8vw,19px);gap:7px;letter-spacing:-.45px;}
 .site-header > .brand > img {width:32px;height:32px;flex-basis:32px;border-radius:10px;}
 /* The small strapline yields space before any navigation control does. */
 .site-header > .brand small {display:none;}
}
