/* The one header of every public page: the landing, the content pages and
   the hand-written ones (client/seo/build.js writes the same markup into
   each). The landing has its own stylesheet and colour names, so the header
   carries the few colours it uses, the same values as site.css. */
/* One header row: the logo, sections, and the way into the app. */
.site-head {
  --ink-muted: #8d877d;
  --cocoa: #d9b779;
  --cocoa-dark: #ece6db;
  --cream: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: max(1.25rem, env(safe-area-inset-top)) max(1.25rem, env(safe-area-inset-right)) 0 max(1.25rem, env(safe-area-inset-left));
}
/* The official logo file, never a typed wordmark. */
.site-head .logo img { display: block; width: 130px; height: auto; }
.site-head .logo, .head-cta { flex: none; }
.site-head nav { display: flex; gap: 1.25rem; margin-left: auto; font-size: 0.9375rem; }
.site-head nav a { color: var(--ink-muted); text-decoration: none; white-space: nowrap; transition: color 150ms ease; }
.site-head nav a[aria-current] { color: var(--cocoa-dark); font-weight: 500; }
.head-cta {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--cocoa);
  color: var(--cream);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.head-cta:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .site-head nav a:hover { color: var(--cocoa); }
  .head-cta:hover { background: var(--cocoa-dark); }
}
/* The five sections need about 820px on one line. Below that the header is
   the logo and the button; the sections are in the footer. */
@media (max-width: 839px) {
  .site-head nav { display: none; }
  .head-cta { margin-left: auto; }
}
