/* Independent locale navigation and language-section refinements. */
.locale-switcher {
  color: rgba(255, 255, 255, 0.48);
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 10px;
  letter-spacing: 0.14em;
  font-size: 9px;
  font-weight: 720;
}

.locale-switcher a {
  transition: color 180ms ease;
}

.locale-switcher a:hover,
.locale-switcher a[aria-current="page"] {
  color: var(--signal);
}

.language-accent {
  color: #5a43cf;
}

.language-line a {
  color: inherit;
  display: block;
  transition: color 180ms ease, transform 180ms ease;
}

.language-line a:hover,
.language-line a[aria-current="page"] {
  color: #5a43cf;
}

.language-line a:hover {
  transform: translateY(-0.035em);
}

.language-line a:focus-visible {
  outline: 2px solid #5a43cf;
  outline-offset: 0.08em;
}

@media (min-width: 821px) {
  .language-line {
    width: 100%;
    max-width: 100%;
    justify-content: space-between;
    gap: clamp(12px, 2vw, 34px);
    font-size: clamp(56px, 6.5vw, 112px);
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    column-gap: 12px;
  }

  .hero-copy {
    width: 100%;
    min-width: 0;
  }

  .hero-copy > * {
    min-width: 0;
  }

  .hero h1,
  .hero-intro {
    width: 100%;
    max-width: 100%;
  }

  .hero h1 span {
    max-width: 100%;
    white-space: normal;
  }

  .locale-switcher {
    gap: 6px;
    font-size: 8px;
  }

  .language-line {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.08em;
    width: 100%;
    max-width: 100%;
  }

  .language-line i {
    display: none;
  }

  .language-line a {
    display: block;
    max-width: 100%;
  }
}

@media (max-width: 360px) {
  .site-header {
    column-gap: 8px;
  }

  .wordmark {
    font-size: 8px;
  }

  .header-link {
    font-size: 8px;
  }
}
