/* Shared basics for the two navigation prototypes. Option styles live beside each page. */
.vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
html.nav-locked, html.nav-locked body { overflow: hidden; }
/* No-JavaScript fallback: desktop menus open on hover or keyboard focus. */
html:not(.js) [data-nav-panel] { display: none; }
html:not(.js) [data-nav-item]:is(:hover, :focus-within) > [data-nav-panel] { display: block; }
html:not(.js) .nb-preview { display: none; }
html.js [data-nav-item]:not(.is-open) > [data-nav-panel] { display: none; }

.nav-wordmark {
  display: inline-block;
  color: var(--ink);
  font: 400 31px/1 var(--display);
  letter-spacing: -.05em;
  white-space: nowrap;
}
.nav-wordmark > span {
  position: relative;
  top: 2px;
  margin-left: 2px;
  font: 500 10px/1 var(--sans);
  letter-spacing: 0;
  vertical-align: top;
}

.nav-glyph {
  display: block;
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Search results: shared anatomy, each option sets the container. */
.nav-search-results a {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
}
.nav-search-results a:hover, .nav-search-results a[aria-selected="true"] { background: var(--pine-50); }
.nav-search-type { color: var(--pine-600); font-size: 11.5px; font-weight: 700; }
.nav-search-title { font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.nav-search-desc {
  display: -webkit-box;
  overflow: hidden;
  color: var(--stone);
  font-size: 13px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.nav-search-empty { margin: 0; padding: 12px; color: var(--stone); font-size: 14px; }

/* Prototype-only page furniture. */
.proto-strip {
  padding: 22px var(--gutter) 34px;
  border-top: 1px solid var(--line);
  background: var(--sunk);
  color: var(--graphite);
  font-size: 14px;
  text-align: center;
}
.proto-strip a { color: var(--pine-700); font-weight: 700; }
.proto-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px 0 12px;
  border: 1px solid var(--pine-100);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(33, 64, 47, .16);
  color: var(--pine-700);
  font: 700 14px/1.2 var(--sans);
  text-decoration: none;
}
.proto-fab .woven-line-icon { --woven-icon-size: 28px; }
@media (max-width: 980px) { .proto-fab { display: none; } }
@media (prefers-reduced-motion: reduce) {
  [data-nav-root] *, [data-nav-root] *::before, [data-nav-root] *::after { transition: none !important; animation: none !important; }
}
