.site-shell .topbar-actions {
  flex-wrap: nowrap;
}

.language-toggle {
  --language-cell: 34px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, var(--language-cell));
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 44px;
  padding: 4px;
  overflow: hidden;
  border: 1px solid rgba(245, 252, 255, 0.42);
  border-radius: 14px;
  background:
    radial-gradient(120% 170% at var(--glass-x, 18%) var(--glass-y, 8%), rgba(255, 255, 255, 0.34), transparent 52%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.025)),
    rgba(7, 16, 30, 0.28);
  box-shadow:
    0 12px 30px rgba(0, 7, 19, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(73, 218, 255, 0.14);
  color: rgba(245, 251, 255, 0.7);
  cursor: pointer;
  backdrop-filter: blur(22px) saturate(1.62) brightness(1.06);
  -webkit-backdrop-filter: blur(22px) saturate(1.62) brightness(1.06);
}

.language-toggle-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: var(--language-cell);
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 10px;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.82), transparent 34%),
    linear-gradient(135deg, rgba(72, 225, 255, 0.88), rgba(102, 218, 192, 0.72));
  box-shadow:
    0 8px 20px rgba(31, 199, 229, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  transition: transform 280ms cubic-bezier(0.2, 0.85, 0.2, 1);
}

.language-toggle[data-language="en"] .language-toggle-thumb {
  transform: translateX(var(--language-cell));
}

.language-toggle-option {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  height: 34px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
  transition: color 220ms ease;
}

.language-toggle-option.active {
  color: #03151d;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.34);
}

.language-toggle:hover {
  border-color: rgba(143, 237, 255, 0.76);
  box-shadow:
    0 15px 36px rgba(0, 7, 19, 0.3),
    0 0 28px rgba(55, 219, 248, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.language-toggle:focus-visible {
  outline: 2px solid rgba(100, 231, 255, 0.94);
  outline-offset: 3px;
}

.site-shell[data-language="en"] .studio-nav-links {
  gap: 5px;
  font-size: 13px;
}

.site-shell[data-language="en"] .studio-hero h1 {
  max-width: 1120px;
  font-size: 78px;
  line-height: 0.96;
}

.site-shell[data-language="en"] .studio-hero h1 span:first-child {
  font-size: 0.7em;
}

.site-shell[data-language="en"] .studio-feature-card h3 {
  font-size: 36px;
  line-height: 1.08;
}

@media (max-width: 760px) {
  .language-toggle {
    --language-cell: 27px;
    width: 62px;
    height: 40px;
    padding: 4px;
    border-radius: 12px;
  }

  .language-toggle-thumb,
  .language-toggle-option {
    height: 30px;
  }

  .language-toggle-thumb {
    border-radius: 9px;
  }

  .language-toggle-option {
    font-size: 10px;
  }

  .site-shell .topbar-actions {
    gap: 5px;
  }

  .site-shell .topbar-actions .solid-button {
    min-height: 40px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .site-shell[data-language="en"] .brand-lockup {
    gap: 8px;
  }

  .site-shell[data-language="en"] .brand-title {
    max-width: 118px;
    white-space: normal;
    overflow: visible;
    font-size: 13px;
    line-height: 1.12;
  }

  .site-shell[data-language="en"] .brand-subtitle {
    display: none;
  }

  .site-shell[data-language="en"] .studio-hero h1 {
    font-size: 42px;
    line-height: 1;
  }

  .site-shell[data-language="en"] .studio-feature-card h3 {
    font-size: 29px;
  }
}
