/**
 * Language chips.
 *
 * The band, the container, the section head and the reveal all come from the
 * kit. What is new is the chip row itself: pages.css has `.grid--4`, but it
 * drops to one column at 720px, and a language name in its own script does not
 * need a full-width row to be legible. Two-up is the correct small-screen
 * shape, which is what the approved mock-up does.
 *
 * Every class here is prefixed `languages__`, per AGENTS.md §2.
 * Breakpoints match the kit's own (720px) so nothing drifts against pages.css.
 */

.languages__list {
  max-inline-size: var(--container-narrow);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-3);
}

.languages__chip {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding-block: var(--s-4);
  padding-inline: var(--s-3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s-1);
  text-align: center;
}

.languages__native {
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--text-xl);
  line-height: var(--leading-snug);
  color: var(--navy);
}

.languages__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--ink-faint);
}

.languages__intro { color: var(--ink-soft); }

.languages__note {
  max-inline-size: var(--container-narrow);
  margin-inline: auto;
  margin-block-start: var(--s-4);
  text-align: center;
  font-size: var(--text-xs);
  color: var(--ink-faint);
}

@media (max-width: 720px) {
  .languages__list { grid-template-columns: repeat(2, 1fr); }
}
