.language-switcher {
  gap: 8px;
}

.language-switcher > * {
  display: flex;
  border: 1px solid transparent;
  border-radius: 2px;
}

.language-switcher [aria-current='page'] {
  border-color: var(--orange);
}

.language-switcher img {
  width: 22px;
  height: auto;
  border-radius: 2px;
}

@media (max-width: 420px) {
  .language-switcher {
    gap: 4px;
    margin-right: 8px;
  }
}

.opening-bar h2 span {
  white-space: normal;
}

.opening-screen video {
  aspect-ratio: 160 / 67;
  max-height: 77svh;
}

.hero-portrait > img {
  object-position: 50% center;
}

.hero-portrait figcaption span:first-child {
  max-width: 24ch;
}

.evidence-item .story-cover,
.culture-slide > img,
.gallery-thumbs img,
.scope-phase-image img,
.case-figures img {
  aspect-ratio: 160 / 67;
}

.culture-slide > img {
  display: block;
  width: 100%;
  height: auto;
}

.culture-slide figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

#culture-slide-count {
  white-space: nowrap;
}

.contact-portrait img {
  object-position: center;
}

@media (max-width: 560px) {
  .opening-bar h2 span {
    display: block;
    margin: 4px 0 0;
  }

  .opening-screen video {
    max-height: none;
  }

  .culture-slide figcaption {
    font-size: 12px;
  }

  .case-stats {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.hero h1,
.section-heading h2 {
  text-wrap: balance;
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: clamp(34px, 10vw, 43px);
  }
}


.evidence-item:last-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.evidence-item:last-child .story-copy {
  padding-top: 0;
}

.story-copy .evidence-context {
  overflow-wrap: anywhere;
}

@media (max-width: 560px) {
  .evidence-item:last-child {
    display: block;
  }

  .evidence-item:last-child .story-copy {
    padding-top: 21px;
  }
}
