/* The holmsuite.com nav bar (George, 2026-10-22: "there should be a Nav Bar on all pages").
   Every Holmstead page includes this stylesheet and the <nav class="hn"> block from
   scripts/site_nav.html; scripts/check_site.py fails a page that's missing it.
   Self-contained colours so it reads the same on light and dark pages. */
.hn { position: sticky; top: 0; z-index: 9000; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top)); background: rgba(10, 10, 14, .88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .08);
  font: 600 15px/1.3 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: #f2f2f5; box-sizing: border-box; width: 100%; }
.hn *, .hn *::before, .hn *::after { box-sizing: border-box; }
.hn a { color: inherit; text-decoration: none; }
.hn-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: -.01em; padding: 6px 10px 6px 4px; border-radius: 12px; }
.hn-brand img, .hn-brand svg { width: 30px; height: 30px; display: block; }  /* svg: the animated H on the homepage */
.hn ul, .hn li { margin: 0; padding: 0; }
.hn-links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.hn-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); }
.hn a:hover, .hn summary:hover { background: rgba(255, 255, 255, .14); }
.hn a[aria-current="page"] { background: #f2f2f5; color: #0a0a0e; }
.hn a:focus-visible, .hn summary:focus-visible { outline: 2px solid #8fb0ff; outline-offset: 2px; }
.hn-menu { display: none; position: relative; }
.hn-menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px;
  border-radius: 999px; background: rgba(255, 255, 255, .1); user-select: none; }
.hn-menu summary::-webkit-details-marker { display: none; }
.hn-menu summary::before { content: '☰'; font-size: 16px; }
.hn-menu[open] summary::before { content: '✕'; }
.hn-menu .hn-links { position: absolute; right: 0; top: calc(100% + 8px); flex-direction: column; align-items: stretch; gap: 6px; min-width: 220px;
  padding: 10px; border-radius: 18px; background: #14141a; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
.hn-menu .hn-links a { border-radius: 12px; padding: 10px 14px; }
@media (max-width: 720px) {
  .hn > .hn-links { display: none; }
  .hn-menu { display: block; }
}
