/* Transition between the Beyza and Kararti sections of this site. */
.site-switch-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  overflow: hidden;
  pointer-events: none;
  visibility: visible;
  clip-path: inset(0 100% 0 0);
  background: linear-gradient(115deg, #05080e 7%, #0a1a38 42%, #1557c0 78%, #f7f9ff 100%);
  transition: clip-path 520ms cubic-bezier(.72, 0, .2, 1);
}
.site-switch-screen::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 4px;
  background: #fff;
}
.site-switch-screen strong {
  position: relative;
  z-index: 1;
  padding: 0 24px;
  color: #fff;
  font: 600 clamp(1.2rem, 3vw, 2.5rem)/1.2 system-ui, sans-serif;
  letter-spacing: .02em;
  text-align: center;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .35);
}
.site-switch-screen.is-covering { clip-path: inset(0); }

/* Return link in the mirrored Kararti Solutions header. */
.top .back-to-beyza {
  flex: none;
  padding: 8px 12px;
  border: 1px solid var(--accent);
  border-radius: 3px;
  color: var(--accent);
  font: 600 .78rem/1.35 var(--sans, system-ui, sans-serif);
  text-decoration: none;
  white-space: nowrap;
}
.top .back-to-beyza:hover { background: var(--accent); color: var(--accent-ink); }
.top .sabyeza-link {
  flex: none;
  padding: 8px 13px;
  border: 1px solid #1557c0;
  border-radius: 3px;
  background: #1557c0;
  color: #fff;
  font: 600 .82rem/1.35 var(--sans, system-ui, sans-serif);
  text-decoration: none;
  white-space: nowrap;
}
.top .sabyeza-link:hover { background: #0b0d0f; border-color: #0b0d0f; color: #fff; }
@media (max-width: 1500px) {
  .top .nav { display: none; }
  .top .menu { display: block; margin-left: auto; }
}
@media (max-width: 700px) {
  .top .bar { flex-wrap: wrap; }
  .top .back-to-beyza { order: 5; width: 100%; margin-bottom: 8px; text-align: center; }
}
@media (max-width: 560px) {
  .top .back-to-beyza,
  .top .sabyeza-link { order: 5; flex: 1 1 0; width: auto; margin-bottom: 8px; text-align: center; }
}
@media (max-width: 360px) {
  .top .brand .wm { display: none; }
}

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