.language-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: inherit;
}

.language-picker::after {
  content: "⌄";
  position: absolute;
  right: 1px;
  top: 50%;
  transform: translateY(-58%);
  font: 500 .68rem/1 var(--mono, ui-monospace, monospace);
  pointer-events: none;
}

.language-select {
  appearance: none;
  -webkit-appearance: none;
  min-width: 48px;
  min-height: 44px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: inherit;
  padding: 0 18px 0 2px;
  font: 500 .67rem/1 var(--mono, ui-monospace, monospace);
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: .78;
}

.language-select:hover { opacity: 1; }

.language-select:focus-visible {
  outline: 3px solid var(--sandstone, #cc624a);
  outline-offset: 3px;
  opacity: 1;
}

.language-select option {
  background: var(--bone, #efe9e6);
  color: var(--graphite, #222227);
}

header.over-hero .language-picker { color: var(--bone, #efe9e6); }

.head-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

@media (max-width: 760px) {
  .language-select { min-width: 45px; padding-right: 16px; }
  .head-actions { gap: 16px; }
  .site-head .nav-actions .btn { display: none; }
}

@media (max-width: 1100px) and (min-width: 641px) {
  html:not([lang="en"]) .sub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html:not([lang="en"]) .sub-note,
  html:not([lang="en"]) .case-source {
    width: auto;
    margin-left: 0;
    white-space: normal;
    text-wrap: balance;
  }
}

@media (max-width: 640px) {
  html:not([lang="en"]) .sub-note,
  html:not([lang="en"]) .case-source {
    width: auto;
    margin-left: 0;
    white-space: normal;
    text-wrap: balance;
  }
}

@media (max-width: 420px) {
  .site-head .lockup .word,
  .site-head .brand span,
  body > header .brand span { display: none; }
}
