/* The header on every public page. The home page draws its own ground (story.css, .hud); everywhere else it is a solid bar. */
.sn { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: clamp(12px, 1.4vw, 22px); height: 58px; padding-inline: max(20px, 6vw);
  background: var(--base, #FBFAF6); color: var(--on-base, #101012); border-bottom: 1px solid color-mix(in srgb, currentColor 17%, transparent); font-family: 'Instrument Sans', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; font-size: 15px; line-height: 1.2; }
.sn a { color: inherit; text-decoration: none; }
.sn .brand { display: inline-flex; align-items: center; gap: 8px; font-family: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif; font-weight: 800; font-size: 21px; letter-spacing: -.02em; flex: none; }
.sn .brand img { width: 26px; height: 26px; }
.sn .trail { display: flex; align-items: center; gap: clamp(13px, 1.5vw, 26px); margin-left: clamp(10px, 2vw, 36px); min-width: 0; }
.sn .trail a { opacity: .74; white-space: nowrap; transition: opacity .2s; }
.sn .trail a:hover, .sn .trail a[aria-current] { opacity: 1; }
.sn .trail a[aria-current] { font-weight: 600; box-shadow: 0 2px 0 currentColor; }
.sn .sign { margin-left: auto; white-space: nowrap; }
.sn .sign:hover { text-decoration: underline; }
.sn .go { flex: none; padding: 8px 13px; background: var(--on-base, #101012); color: var(--base, #FBFAF6); font-weight: 600; font-size: 14px; white-space: nowrap; }
.sn .tt { margin-left: auto; }
.sn .tt + .sign { margin-left: 0; }

.menu-b { display: none; flex: none; padding: 7px 11px; border: 1.5px solid currentColor; background: none; color: inherit; font: 600 14px/1.2 'Instrument Sans', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; cursor: pointer; }
.site-menu { position: absolute; top: 100%; left: 0; right: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10px max(20px, 6vw) 18px; background: #101012; color: #fff; font-size: 17px; box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .5); }
.site-menu[hidden] { display: none; }
.site-menu a { padding: 11px 0; color: #fff; }

@media (min-width: 2000px) {
  .sn { height: 66px; font-size: 17.5px; }
  .sn .brand { font-size: 25px; }
  .sn .go { font-size: 16px; padding: 9px 16px; }
  .sn + main .pb, app-site-nav + main .pb { --top: 66px; }
}

@media (max-width: 1180px) {
  .sn .trail, .sn .sign, .sn .tt { display: none; }
  .sn .go { margin-left: auto; }
  .menu-b { display: block; }
}
