.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  min-height: 2rem;
  padding: 0 0.52rem;
  border: 1px solid rgba(17, 17, 17, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: rgba(17, 17, 17, 0.48);
  font-family: "Figtree", sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  pointer-events: auto;
  flex: 0 0 auto;
}

.language-switcher button {
  min-width: 1.72rem;
  padding: 0.38rem 0.04rem;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: center;
}

.language-switcher button:hover,
.language-switcher button.is-active {
  color: #111111;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

body.is-inverted .language-switcher {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(17, 17, 17, 0.68);
  color: rgba(255, 255, 255, 0.52);
}

body.is-inverted .language-switcher button:hover,
body.is-inverted .language-switcher button.is-active {
  color: #ffffff;
}

@media (max-width: 767px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  body {
    cursor: auto;
  }

  .site-header {
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }

  .sticky-header-bar {
    display: grid !important;
    grid-template-columns: auto auto auto;
    grid-auto-flow: column;
    justify-content: end !important;
    align-items: center !important;
    gap: 0.58rem !important;
    min-height: 4.25rem !important;
    padding: 0.72rem 1rem !important;
    box-sizing: border-box;
  }

  .language-switcher {
    gap: 0.18rem;
    min-height: 1.9rem;
    margin: 0 !important;
    padding: 0 0.4rem;
    font-size: 0.68rem;
  }

  .language-switcher button {
    min-width: 1.48rem;
    padding: 0.34rem 0;
  }

  .invert-toggle {
    width: 1rem !important;
    height: 1rem !important;
    margin: 0 0.18rem !important;
  }

  .menu-button {
    width: 2.2rem !important;
    height: 2.2rem !important;
  }

  .wordmark-shell {
    width: calc(100% - 10.75rem) !important;
    max-width: calc(100% - 10.75rem) !important;
    height: 4.25rem;
    padding: 0.75rem 0 0 1rem !important;
    box-sizing: border-box;
    overflow: visible;
  }

  .wordmark-mark {
    width: auto;
    max-width: 100%;
    height: 2.45rem !important;
    object-fit: contain;
    object-position: left top;
  }

  .about-copy-main,
  .about-copy-side,
  .philosophy-longform,
  .philosophy-longform p {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .cta-section {
    width: 100%;
    max-width: 100vw;
    padding: clamp(5.5rem, 22vw, 7rem) 1rem 0.35rem !important;
    box-sizing: border-box;
    overflow: hidden;
  }

  .cta-link {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0;
    max-width: 100%;
  }

  .cta-text {
    max-width: 100%;
    font-size: clamp(3.45rem, 17.5vw, 5.1rem) !important;
    line-height: 0.9;
    white-space: normal !important;
    overflow-wrap: break-word;
  }

  .menu-overlay,
  .package-modal {
    width: 100vw !important;
    max-width: 100vw;
    box-sizing: border-box;
  }

  .menu-overlay-footer {
    white-space: normal !important;
  }

  .package-modal-panel,
  .package-form,
  .package-field,
  .package-form-actions {
    min-width: 0;
    max-width: 100%;
  }

  .package-modal-panel {
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
  }

  .package-modal-title {
    font-size: clamp(2.45rem, 13vw, 3.5rem);
  }

  .about-team-grid {
    grid-template-columns: 1fr !important;
    gap: 1.35rem !important;
  }

  .about-team-column {
    display: contents !important;
  }

  .about-person,
  .about-person-name,
  .about-person-role,
  .about-person-email {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}
