.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switch {
  display: flex;
  align-items: center;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(12px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.language-switch a,
.language-switch span {
  min-width: 32px;
  padding: 7px 8px;
  border-radius: 999px;
  text-align: center;
}

.language-switch [aria-current="page"] {
  background: var(--ink);
  color: #fff;
}

.hero-globe-wrap {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 52%;
  width: clamp(520px, 58vw, 820px);
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0.68;
  transform: translate(-50%, -50%);
  mix-blend-mode: multiply;
}

.hero-globe {
  display: block;
  width: 100%;
  height: 100%;
}

.work-rail {
  gap: 24px;
  padding-bottom: 24px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.work-rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.work-card,
.work-card-wide {
  flex: 0 0 min(540px, 84vw);
  width: min(540px, 84vw);
  aspect-ratio: 3 / 2;
  border-radius: 24px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: #e9e6df;
  box-shadow: 0 18px 44px rgba(22, 22, 20, 0.1);
}

.work-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.work-card > div {
  display: none !important;
}

@media (max-width: 620px) {
  .header-tools { gap: 6px; }
  .language-switch { padding: 3px; }
  .language-switch a,
  .language-switch span { min-width: 27px; padding: 6px; }
  .hero-globe-wrap {
    left: 50%;
    top: 54%;
    width: 510px;
    opacity: 0.5;
  }
  .work-rail { gap: 14px; }
  .work-card,
  .work-card-wide {
    flex-basis: 88vw;
    width: 88vw;
    aspect-ratio: 3 / 2;
    border-radius: 18px;
  }
}
