/* nav before lang switcher — keeps logo·nav·lang left-to-right */
.site-header nav.main { order: 1; }
.site-header .langs   { order: 2; }

.hero-logo {
  display: block;
  width: min(560px, 90vw);
  height: auto;
}

.partners-strip__brand {
  display: flex !important;
  align-items: center;
  max-width: none !important;
}

.partners-strip__brand img {
  width: auto !important;
  height: 80px !important;
  max-width: 260px !important;
  object-fit: contain !important;
  background: #0c0b09;
  border: 1px solid var(--line);
  padding: 8px 12px;
}

.site-header .brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.site-header .brand picture {
  display: block;
}

.site-header .brand img {
  display: block;
  height: 40px;
  width: auto;
}

.lang-menu {
  position: relative;
}

.lang-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 10px;
  list-style: none;
  cursor: pointer;
  color: var(--accent);
  border: 1px solid var(--line);
}

.lang-menu__name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.lang-menu summary::-webkit-details-marker {
  display: none;
}

.lang-menu summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.lang-menu[open] summary::after {
  transform: translateY(1px) rotate(-135deg);
}

.lang-menu img {
  display: block;
  width: 20px;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.15);
}

.lang-menu ul {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 60;
  min-width: 210px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #0c0b09;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgb(0 0 0 / 0.5);
}

.langs .lang-menu li a {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  padding: 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: normal;
  text-transform: none;
}

.langs .lang-menu li a:hover,
.langs .lang-menu li a[aria-current="true"] {
  color: var(--accent);
  background: rgb(255 255 255 / 0.04);
}

html.splash-on body {
  visibility: hidden;
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: visible;
  background: #050505;
  cursor: pointer;
  opacity: 1;
  transition: opacity 600ms ease;
}

.splash.is-leaving {
  opacity: 0;
  pointer-events: none;
}

.splash__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.splash__signature {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 32vh;
  width: min(560px, 82vw);
  height: auto;
  transform: translateX(-50%);
}

.splash__credit {
  position: absolute;
  z-index: 1;
  right: 16px;
  bottom: 12px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: rgb(255 255 255 / 0.7);
}

@media (min-aspect-ratio: 5/4) {
  .splash__signature {
    left: 5vw;
    bottom: 35vh;
    width: min(520px, 34vw);
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .splash {
    transition: none;
  }
}
