/* Shared site header band and layout primitives for Fundamental Datum */
/* Keep nav-specific pill/link styles inside nav.css; this file sets the header band shell and common spacing. */

:root {
  --space-3: 1rem;
  --space-4: 1.5rem;
  --header-h: 56px;
}

@media (max-width: 600px) {
  :root { --header-h: 96px; }
}

/* Left-aligned header band that appears on Home, About, and Portfolio */
header.site {
  padding: var(--space-3) var(--space-4);
  background: #111;
  color: #eaeaea;
  border-bottom: 1px solid #333;
  display: flex;
  gap: var(--space-3);
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  width: 100%;
  box-sizing: border-box;
}

/* Title treatment kept consistent across pages */
header.site h1 {
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.1;
  white-space: nowrap;
  flex: 0 0 auto;
}

/* Ultra-narrow title compression to avoid awkward wraps on very small devices */
@media (max-width: 360px) {
  header.site h1 { font-size: 1rem; letter-spacing: 0.08em; }
}

/* Mobile: enforce two-line header (brand on line 1; nav on line 2) */
@media (max-width: 600px) {
  header.site {
    flex-wrap: wrap;
    justify-content: flex-start; /* avoid space-between pushing edges when wrapped */
  }
}
