/* ==========================================================================
   Component — Site Header (top bar + main nav)
   Transparent over hero; solid on scroll.
   ========================================================================== */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 80;
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

/* Top utility bar */
.topbar {
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.topbar__notice {
  width: 100%; text-align: right;
  font-family: var(--font-body); font-size: 12px; line-height: 1.4;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: flex-end; gap: 32px;
  padding: 10px 0;
}
.topbar__hiring { display: flex; align-items: center; gap: 10px; }
.topbar__hiring .tag {
  font-family: var(--font-body); font-weight: 400; font-size: 14px;
  letter-spacing: -0.56px; color: #02182b;
}
.topbar__hiring a {
  font-family: var(--font-body); font-weight: 500; font-size: 16px; color: #02182b;
}
.topbar__lang { display: flex; align-items: center; gap: 10px; }
.topbar__lang .flag { width: 20px; height: 15px; border-radius: 2px; }
.topbar__lang span {
  font-family: var(--font-body); font-weight: 500; font-size: 14px; color: #02182b;
}

/* Main navigation */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 24px 0; }
.nav__left { display: flex; align-items: center; gap: 56px; }
.brand {
  width: 154px; height: 48px;
  background-image: url("../../images/logo-raw.png");
  background-repeat: no-repeat;
  background-size: 121.277% 387.037%;
  background-position: 50.455% 47.742%;
  filter: brightness(0) invert(1);   /* black lockup → white */
  flex-shrink: 0;
}
.nav__menu { display: flex; align-items: center; gap: 24px; }
.nav__menu a {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-body); font-weight: 400; font-size: 16px;
  color: var(--white); text-transform: uppercase;
  position: relative;
}
.nav__menu a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--white);
  transition: width var(--dur) var(--ease);
}
.nav__menu a:hover, .nav__menu a.is-active { color: var(--white); }
.nav__menu a:hover::after, .nav__menu a.is-active::after { width: 100%; }
.nav__menu a svg { width: 14px; height: 14px; }
.nav__right { display: flex; align-items: center; gap: 10px; }
.nav__phone {
  font-family: var(--font-body); font-weight: 500; font-size: 12px;
  letter-spacing: -0.12px; text-transform: uppercase; color: var(--white);
  white-space: nowrap;
}

.nav__phone:hover {
	color: var(--white) !important;
}
/* Scrolled state */
.site-header.is-stuck {
  position: fixed;
  background: var(--ink);
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
  animation: slideDown 0.4s var(--ease);
}
.site-header.is-stuck .topbar { display: none; }
.site-header.is-stuck .topbar__hiring .tag,
.site-header.is-stuck .topbar__hiring a,
.site-header.is-stuck .topbar__lang span { color: var(--white); }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: none; } }

/* Hamburger (mobile) */
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  color: var(--white);
}
.nav__toggle svg { width: 26px; height: 26px; }
.nav__backdrop {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(1,1,29,0.5);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
.nav__backdrop.is-open { opacity: 1; visibility: visible; }
