/* Shared language selector for every header variant. */
.site-lang-switch {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.76);
  color: #fff;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.site-lang-option {
  min-width: 30px;
  height: 26px;
  padding: 0 7px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, opacity 180ms ease;
}

.site-lang-option:not([aria-pressed="true"]) {
  opacity: 0.68;
}

.site-lang-option[aria-pressed="true"] {
  background: #fff;
  color: #111;
  opacity: 1;
}

.site-lang-option:hover {
  opacity: 1;
}

.site-lang-option:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.mobile-sidebar-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 42px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--at-neutral-100);
}

.mobile-sidebar-controls .dark-light-mode .toggle {
  color: var(--at-neutral-900);
}

.mobile-sidebar-controls .dark-light-mode .icon {
  line-height: 1;
}

.mobile-sidebar-controls .dark-light-mode .icon svg {
  display: block;
}

/* French sentence case keeps articles and prepositions correctly lowercase. */
.i18n-fr .at-btn {
  text-transform: none;
}

/* Keep the long bilingual Deloitte project name on a single visual line. */
.portfolio-title-one-line {
  white-space: nowrap;
  font-size: clamp(16px, 1.7vw, 22px);
  letter-spacing: -0.03em;
}

@media (max-width: 575.98px) {
  .at-header-right {
    gap: 0.55rem !important;
  }

  .site-lang-switch {
    padding: 2px;
  }

  .site-lang-option {
    min-width: 27px;
    height: 24px;
    padding: 0 5px;
    font-size: 9px;
  }

  .portfolio-title-one-line {
    margin-right: 0 !important;
    font-size: clamp(12px, 3.4vw, 14px);
  }
}
.i18n-fr .services-hero-title {
  font-size: clamp(30px, 8vw, 160px) !important;
}

.i18n-fr .about-hero-title {
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .i18n-fr .services-hero-title {
    font-size: clamp(27px, 8vw, 31px) !important;
  }

  .i18n-fr .about-hero-title {
    font-size: clamp(34px, 13.8vw, 54px) !important;
  }
}
