/* =========================================================
   HEADER (TRANSPARENT → GRADIENT ON SCROLL)
   ========================================================= */
.header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  height: var(--header-h);
  display:flex;
  align-items:center;
  background: transparent;
}

.header::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity: 0;
  transition: opacity 180ms ease;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.55) 45%,
    rgba(0,0,0,0.00) 100%
  );
}

.header.is-scrolled::before{ opacity: 1; }

.header-inner{
  width: var(--wrap);
  margin: 0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.brand{
  display:flex;
  align-items:center;
  gap: 14px;
  text-decoration:none;
  color: rgba(255,255,255,0.92);
}

.brand img{
  height: 58px;
  width: auto;
  display:block;
  filter:
    drop-shadow(0 10px 24px rgba(0,0,0,0.55))
    drop-shadow(0 2px 0 rgba(0,0,0,0.25));
}

.header-actions{
  display:flex;
  align-items:center;
  gap: 14px;
}

.header-link{
  display:inline-flex;
  align-items:center;
  text-decoration:none;
  color: rgba(255,255,255,0.86);
  font-weight: 500;
  letter-spacing: 0.14em;
  font-size: 11px;
  text-transform: uppercase;
  padding: 10px 10px;
  border-radius: 999px;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}

.header-link:hover{
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.96);
  transform: translateY(-1px);
}

.header-link:active{ transform: translateY(0) scale(0.99); }

@media (max-width: 520px){
  .brand img{ height: 50px; }
  .header-actions{ gap: 10px; }
  .header-link{ padding: 10px 8px; font-size: 10px; letter-spacing: 0.12em; }
}