/*
 * Header and navigation primitives.
 *
 * Migrated from assets/styles.css before the legacy compatibility layer to preserve cascade order.
 */

/* [Panith CSS Section] 02 Header and navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 245, 240, 0.88);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  font-size: 2rem;
  line-height: 1;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.72rem;
  font-weight: 800;
}

.nav-links li {
  display: contents;
}

.nav-links a {
  padding: 10px 0;
}

.talk-button {
  justify-self: end;
  min-height: max(42px, calc(var(--panith-button-height, 48px) - 6px));
  padding: 0 max(18px, calc(var(--panith-button-padding-x, 25px) - 3px));
  display: inline-flex;
  align-items: center;
  border-radius: 7px;
  background: var(--black);
  color: var(--white);
  font-size: max(12px, calc(var(--panith-button-font-size, 14px) - 1px));
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(17, 18, 19, 0.14);
}

.menu-toggle {
  display: none;
}
