.compact footer {
  flex-wrap: wrap;
}
.language-picker {
  display: flex;
  align-items: center;
  gap: 3px;
}
.language-picker[hidden] {
  display: none;
}
.language-picker button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 4px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  opacity: 0.6;
}
.language-picker button[aria-pressed='true'],
.language-picker button:hover {
  opacity: 1;
}
.language-picker button[aria-pressed='true'] {
  border-bottom-color: var(--lime);
}
.language-picker img {
  width: 18px;
  height: 12px;
  border-radius: 1px;
}
.compact :is(h1, h2, h3, summary, .work-tabs button) {
  overflow-wrap: anywhere;
}
html:not([lang='en']) .compact .hero h1 em {
  white-space: normal;
}
html[lang='ja'] .compact :is(h1, h2, h3, em) {
  font-style: normal;
  letter-spacing: 0;
  line-height: 1.4;
}
html[lang='ja'] .compact .hero h1 {
  font-size: clamp(30px, 4vw, 56px);
}
@media (max-width: 600px) {
  html:not([lang='en']) .compact .hero h1 {
    font-size: clamp(32px, 9vw, 48px);
  }
  .compact .header nav {
    gap: 12px;
  }
  .compact .work-tabs button {
    min-width: 0;
  }
}
