/* Build Path — shared site header (symbol + wordmark + top nav) */

.site-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  padding: 18px 24px;
  min-height: 92px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(17, 24, 39, 0.06);
}

.site-topbar .brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1 1 360px;
  text-decoration: none;
}

/* Step Forward mark — clear accent (not larger than wordmark) */
.site-topbar .brand-symbol {
  height: 52px;
  width: 52px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  display: block;
  background: #ffffff;
}

/* Build Path wordmark — primary brand element */
.site-topbar .brand-logo,
.site-topbar .logo {
  height: 76px;
  width: auto;
  max-width: min(420px, 58vw);
  object-fit: contain;
  object-position: left center;
  display: block;
  flex-shrink: 0;
}

.site-topbar .nav,
.site-topbar .nav-links {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-topbar .nav a,
.site-topbar .nav-links a {
  font-size: 0.88rem;
  font-weight: 700;
  padding: 8px 12px;
  line-height: 1.2;
}

@media (max-width: 900px) {
  .site-topbar .brand-logo,
  .site-topbar .logo {
    height: 60px;
    max-width: min(340px, 65vw);
  }

  .site-topbar .brand-symbol {
    height: 46px;
    width: 46px;
  }
}

@media (max-width: 700px) {
  .site-topbar {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 18px;
    min-height: 0;
    gap: 14px;
  }

  .site-topbar .brand {
    justify-content: flex-start;
    flex: none;
  }

  .site-topbar .brand-symbol {
    height: 44px;
    width: 44px;
  }

  .site-topbar .brand-logo,
  .site-topbar .logo {
    height: 58px;
    max-width: min(300px, 78vw);
  }

  .site-topbar .nav,
  .site-topbar .nav-links {
    justify-content: flex-start;
    width: 100%;
  }
}
