/* =====================================================================
   NOON — CANONICAL SITE NAV
   One chrome, every page. Desktop = top bar. Mobile = hamburger.
   Replaces the five different nav/corner patterns that had accumulated.
   Pages that include this file must also include /assets/_nav.html as
   the first child of <body>, OR copy the nav markup pattern inline.
   ===================================================================== */

.nb-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 14px clamp(20px, 4vw, 56px);
  font-family: var(--font-mono, 'Fraunces', Georgia, serif);
  background: rgba(15, 15, 14, 0.78);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  border-bottom: 1px solid rgba(206, 211, 218, 0.14);
  transition: background 280ms ease, border-color 280ms ease;
}
.nb-nav--solid {
  background: rgba(15, 15, 14, 0.96);
  border-bottom-color: rgba(206, 211, 218, 0.34);
}

/* Body padding so fixed nav doesn't cover hero content */
body.has-nb-nav { padding-top: 60px; }
@media (max-width: 760px) {
  body.has-nb-nav { padding-top: 56px; }
}

/* ---------- Brand cluster ---------- */
.nb-nav__brand {
  display: inline-flex; align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nb-nav__mark {
  width: 26px; height: 26px;
  display: block; overflow: visible;
  flex-shrink: 0;
}
.nb-nav__word {
  font-family: var(--font-display, 'Fraunces', Georgia, serif);
  font-weight: 500; font-style: normal;
  font-size: 22px; line-height: 1;
  letter-spacing: -0.012em;
  color: var(--paper, #ECEDEF);
}
.nb-nav__sub {
  font-family: var(--font-mono, 'Fraunces', Georgia, serif);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--paper-3, #969CA4);
  padding-left: 14px; margin-left: 14px;
  border-left: 1px solid rgba(206, 211, 218, 0.22);
}
@media (max-width: 760px) {
  .nb-nav__sub { display: none; }
  .nb-nav__word { font-size: 20px; }
}

/* ---------- Desktop nav row — presidential register ----------
   Inter, ALL CAPS, small size with refined tracking. The Hermes /
   Apple / NYT masthead pattern. Fraunces is reserved for display
   and editorial body type; the nav is the UI sans layer. */
.nb-nav__menu {
  display: flex; align-items: center; gap: 0;
  list-style: none; padding: 0; margin: 0;
}
.nb-nav__menu li { display: inline-flex; align-items: center; }
.nb-nav__link {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-2, #CFD3D8);
  text-decoration: none;
  padding: 10px 12px;
  position: relative;
  transition: color 220ms ease;
  white-space: nowrap;
}
.nb-nav__link:hover {
  color: var(--paper, #ECEDEF);
}
.nb-nav__link[aria-current="page"] {
  color: var(--paper, #ECEDEF);
}
.nb-nav__link[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 12px; right: 12px; bottom: 3px;
  height: 1px;
  background: var(--brass, #9AA1AA);
  opacity: 0.7;
}

/* Group separators — thin vertical brass rules between the three sets */
.nb-nav__sep {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: rgba(206, 211, 218, 0.34);
  margin: 0 12px;
  align-self: center;
  flex-shrink: 0;
}

/* ---------- Hamburger toggle ---------- */
.nb-nav__toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  padding: 8px;
  font: inherit;
  color: var(--paper, #ECEDEF);
}
.nb-nav__toggle:focus-visible {
  outline: 1px solid var(--ember, #8FA0B0);
  outline-offset: 2px;
}
.nb-nav__toggle-icon {
  display: block; width: 22px; height: 16px;
  position: relative;
}
.nb-nav__toggle-icon span {
  position: absolute; left: 0; right: 0; height: 1.5px;
  background: var(--paper, #ECEDEF);
  border-radius: 1px;
  transition: transform 280ms ease, opacity 240ms ease, top 280ms ease;
}
.nb-nav__toggle-icon span:nth-child(1) { top: 2px; }
.nb-nav__toggle-icon span:nth-child(2) { top: 7.5px; }
.nb-nav__toggle-icon span:nth-child(3) { top: 13px; }
.nb-nav[data-open="true"] .nb-nav__toggle-icon span:nth-child(1) {
  top: 7.5px; transform: rotate(45deg);
}
.nb-nav[data-open="true"] .nb-nav__toggle-icon span:nth-child(2) {
  opacity: 0;
}
.nb-nav[data-open="true"] .nb-nav__toggle-icon span:nth-child(3) {
  top: 7.5px; transform: rotate(-45deg);
}

/* ---------- Mobile drawer ---------- */
@media (max-width: 760px) {
  .nb-nav__menu {
    position: fixed;
    top: 56px; left: 0; right: 0;
    background: rgba(15, 15, 14, 0.985);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(206, 211, 218, 0.34);
    flex-direction: column;
    padding: 18px clamp(20px, 5vw, 36px) 28px;
    gap: 0;
    transform: translateY(-100%);
    pointer-events: none;
    opacity: 0;
    transition: transform 320ms cubic-bezier(.22,.61,.36,1), opacity 240ms ease;
  }
  .nb-nav__menu li { display: block; }
  .nb-nav__link {
    display: block; padding: 16px 0;
    font-size: 13px; letter-spacing: 0.18em;
    border-bottom: 1px solid rgba(206, 211, 218, 0.14);
  }
  .nb-nav__sep {
    display: block; width: auto; height: 1px;
    background: rgba(206, 211, 218, 0.34);
    margin: 14px 0;
  }
  .nb-nav__link[aria-current="page"]::after { display: none; }
  .nb-nav__toggle { display: inline-flex; }
  .nb-nav[data-open="true"] .nb-nav__menu {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

/* Prevent body scroll while drawer is open on mobile */
body.nb-nav-open { overflow: hidden; }
@media (min-width: 761px) {
  body.nb-nav-open { overflow: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .nb-nav, .nb-nav__menu, .nb-nav__toggle-icon span { transition: none; }
}

/* =====================================================================
   v19 — UTILITY BAR
   Sasaki-style top row: location chip · search · language toggle.
   Sits ABOVE the main nav across every page.
   Injected via _nav.js so we don't have to edit every HTML file.
   ===================================================================== */

.nb-util {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 201;
  height: 32px;
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 56px);
  background: rgba(11, 11, 10, 0.96);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  border-bottom: 1px solid rgba(206, 211, 218, 0.22);
  font-family: 'Fraunces', Georgia, serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper-3, #969CA4);
}

/* When utility bar is present, bump main nav + body padding */
.nb-nav { top: 32px; }
body.has-nb-nav.has-nb-util { padding-top: 92px; }
@media (max-width: 760px) {
  .nb-util { height: 28px; padding: 0 16px; }
  .nb-nav { top: 28px; }
  body.has-nb-nav.has-nb-util { padding-top: 84px; }
}

/* LEFT — location pin */
.nb-util__left { display: flex; align-items: center; gap: 10px; }
.nb-util__pin {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500;
}
.nb-util__pin::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--ember, #8FA0B0);
  box-shadow: 0 0 6px rgba(143, 160, 176, 0.55);
}
@media (max-width: 540px) {
  .nb-util__pin { font-size: 9px; letter-spacing: 0.18em; }
}

/* CENTER — search button (opens overlay)
   v19.1 — Atreides inscription bar.
   No pill. No rounded plastic. Two brass hairline crosshair brackets [ ] frame
   the bar; an italic Fraunces label reads "Inscribe a search"; a brass sigil
   (nested hexagon) replaces the standard magnifying glass. Hover glows amber. */
.nb-util__center { display: flex; align-items: center; justify-content: flex-end; flex: 1; padding-right: 16px; }
.nb-util__search {
  appearance: none; -webkit-appearance: none;
  background: rgba(206,211,218,0.06);
  border: 1px solid rgba(206,211,218,0.22);
  border-radius: 7px;
  color: var(--paper-3, #969CA4);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400; font-style: normal;
  letter-spacing: 0;
  padding: 0 12px;
  height: 30px;
  display: inline-flex; align-items: center; gap: 9px;
  cursor: text;
  position: relative;
  min-width: clamp(180px, 22vw, 280px);
  isolation: isolate;
  transition: border-color 200ms ease, background 200ms ease;
}
.nb-util__search:hover { border-color: rgba(206,211,218,0.55); background: rgba(206,211,218,0.14); }
.nb-util__search svg {
  width: 15px; height: 15px; flex-shrink: 0;
  color: var(--paper-4, #63686F);
  transition: color 200ms ease;
}
.nb-util__search:hover svg { color: var(--brass, #9AA1AA); }
.nb-util__search-label {
  flex: 1; text-align: left;
  font-style: normal;
  font-size: 13.5px;
  letter-spacing: 0;
  color: var(--paper-4, #63686F);
  text-transform: none;
}
.nb-util__search:hover .nb-util__search-label { color: var(--paper-3, #969CA4); }
.nb-util__kbd {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.05em;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--brass, #9AA1AA);
  background: transparent;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nb-util__kbd::before {
  content: '\2316';   /* position-indicator glyph as a "command" stand-in */
  font-size: 0.9em;
  opacity: 0.85;
}
@media (max-width: 760px) {
  .nb-util__search { min-width: 0; padding: 0 14px; gap: 10px; }
  .nb-util__search-label { display: none; }
  .nb-util__kbd { display: none; }
}

/* Revolving pulse — a slow light travels the search border, with a soft breathing glow.
   v20 — "slow beautiful revolving pulse." Degrades to a static glow without @property. */
@property --nb-ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.nb-util__search::before {
  content: ''; position: absolute; inset: -1px; border-radius: 8px; padding: 1.4px;
  pointer-events: none;
  background: conic-gradient(from var(--nb-ang),
    rgba(206,211,218,0) 0deg, rgba(206,211,218,0) 205deg,
    var(--brass,#9AA1AA) 262deg, var(--ember,#8FA0B0) 306deg,
    var(--ember-2,#A5B4C2) 330deg, rgba(206,211,218,0) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: nbSearchRevolve 12s linear infinite;
}
.nb-util__search::after {
  content: ''; position: absolute; inset: -3px; border-radius: 10px; z-index: -1;
  pointer-events: none;
  background: radial-gradient(65% 150% at 78% 50%, rgba(143,160,176,0.22), transparent 70%);
  filter: blur(4px);
  animation: nbSearchGlow 6s ease-in-out infinite;
}
@keyframes nbSearchRevolve { to { --nb-ang: 360deg; } }
@keyframes nbSearchGlow { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.9; } }
@media (prefers-reduced-motion: reduce) {
  .nb-util__search::before { animation: none; }
  .nb-util__search::after { animation: none; opacity: 0.45; }
}

/* RIGHT — language toggle */
.nb-util__right { display: flex; align-items: center; gap: 4px; }
.nb-util__lang {
  appearance: none; -webkit-appearance: none;
  background: transparent;
  border: 0;
  color: var(--paper-3, #969CA4);
  font: inherit;
  letter-spacing: 0.22em;
  padding: 5px 9px;
  cursor: pointer;
  border-radius: 3px;
  transition: color 180ms ease, background 180ms ease;
}
.nb-util__lang:hover { color: var(--paper, #ECEDEF); background: rgba(206, 211, 218, 0.04); }
.nb-util__lang.is-active {
  color: var(--paper, #ECEDEF);
  background: rgba(206, 211, 218, 0.08);
  border: 1px solid rgba(206, 211, 218, 0.34);
  padding: 4px 8px;
}
.nb-util__lang-sep {
  color: rgba(206, 211, 218, 0.34);
  padding: 0 2px;
  pointer-events: none;
}

/* Polite toast for ES selection — Spanish content not yet translated */
.nb-util__toast {
  position: fixed;
  top: 40px; right: clamp(20px, 4vw, 56px);
  z-index: 250;
  max-width: 340px;
  padding: 16px 20px;
  background: rgba(11, 11, 10, 0.98);
  border: 1px solid rgba(143, 160, 176, 0.45);
  border-left: 2px solid var(--ember, #8FA0B0);
  color: var(--paper-2, #CFD3D8);
  font-family: 'Fraunces', Georgia, serif;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 280ms ease, transform 280ms ease;
  pointer-events: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}
.nb-util__toast.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.nb-util__toast strong {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 9px; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ember, #8FA0B0);
  margin-bottom: 8px;
  font-style: normal;
}
.nb-util__toast em { font-style: italic; color: var(--paper, #ECEDEF); }
.nb-util__toast a { color: var(--brass, #9AA1AA); border-bottom: 1px solid rgba(206, 211, 218, 0.34); }

/* =====================================================================
   SEARCH OVERLAY — Atreides inscription panel
   v19.1 — Amber-radial backdrop + grain. Massive Fraunces italic input
   bracketed by brass crosshair corners. Results render as inscriptions
   on the backdrop — no inner panel-box. Animation: slow brass draw-in.
   ===================================================================== */
.nb-search {
  position: fixed; inset: 0;
  z-index: 300;
  display: none;
}
.nb-search.is-open { display: block; }
.nb-search__backdrop {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 25%, rgba(143,160,176,0.12) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 50% 65%, rgba(206,211,218,0.14) 0%, transparent 70%),
    rgba(8, 8, 7, 0.94);
  backdrop-filter: blur(10px) saturate(1.05);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  animation: nb-search-fade 360ms ease both;
}
/* Subtle SVG noise grain over the backdrop — adds the spice-dust feel.
   The SVG is encoded inline as a data URI. */
.nb-search__backdrop::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.7' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.72  0 0 0 0 0.60  0 0 0 0 0.41  0 0 0 0.18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.55;
  mix-blend-mode: overlay;
  pointer-events: none;
}
@keyframes nb-search-fade { from { opacity: 0; } to { opacity: 1; } }
.nb-search__panel {
  position: relative;
  max-width: 780px;
  margin: clamp(72px, 14vh, 160px) auto 0;
  padding: 0 clamp(20px, 4vw, 32px);
  animation: nb-search-rise 480ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes nb-search-rise {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* THE INSCRIBED INPUT BOX
   Four corner brackets [⌐ ¬ ⌎ ⌏] inscribed at each corner of the input.
   The input itself is a wide Fraunces-italic field on the backdrop.
   No background panel — the brackets ARE the frame. */
.nb-search__head {
  display: flex; align-items: center; gap: 18px;
  padding: clamp(20px, 3vh, 32px) clamp(22px, 4vw, 40px);
  background: transparent;
  border: 0;
  position: relative;
}
/* Four corner brackets — L-shaped brass hairlines.
   Each corner is a pseudo on a positioned span; we use ::before / ::after
   on the .nb-search__head plus two child spans to get all four. */
.nb-search__head::before,
.nb-search__head::after {
  content: '';
  position: absolute;
  width: 24px; height: 24px;
  pointer-events: none;
  background:
    linear-gradient(to right,  var(--brass,#9AA1AA), var(--brass,#9AA1AA)) left top / 24px 1px no-repeat,
    linear-gradient(to bottom, var(--brass,#9AA1AA), var(--brass,#9AA1AA)) left top / 1px 24px no-repeat;
  opacity: 0.85;
  animation: nb-search-draw 720ms cubic-bezier(0.22,1,0.36,1) 120ms both;
}
.nb-search__head::before { top: 0; left: 0; }
.nb-search__head::after  { top: 0; right: 0; transform: scaleX(-1); }
@keyframes nb-search-draw { from { opacity: 0; transform: scale(0.6); } to { opacity: 0.85; } }
.nb-search__head .nb-bracket-bl {
  position: absolute; bottom: 0; left: 0;
  width: 24px; height: 24px;
  pointer-events: none;
  background:
    linear-gradient(to right,  var(--brass,#9AA1AA), var(--brass,#9AA1AA)) left bottom / 24px 1px no-repeat,
    linear-gradient(to bottom, var(--brass,#9AA1AA), var(--brass,#9AA1AA)) left bottom / 1px 24px no-repeat;
  opacity: 0.85;
  animation: nb-search-draw 720ms cubic-bezier(0.22,1,0.36,1) 200ms both;
}
.nb-search__head .nb-bracket-br {
  position: absolute; bottom: 0; right: 0;
  width: 24px; height: 24px;
  pointer-events: none;
  background:
    linear-gradient(to right,  var(--brass,#9AA1AA), var(--brass,#9AA1AA)) right bottom / 24px 1px no-repeat,
    linear-gradient(to bottom, var(--brass,#9AA1AA), var(--brass,#9AA1AA)) right bottom / 1px 24px no-repeat;
  opacity: 0.85;
  animation: nb-search-draw 720ms cubic-bezier(0.22,1,0.36,1) 280ms both;
}

.nb-search__head svg {
  width: 22px; height: 22px;
  color: var(--brass, #9AA1AA);
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(168,180,192,0.30));
  animation: nb-sigil-pulse 4s ease-in-out infinite;
}
@keyframes nb-sigil-pulse {
  0%, 100% { opacity: 0.85; filter: drop-shadow(0 0 8px rgba(168,180,192,0.30)); }
  50%      { opacity: 1.0;  filter: drop-shadow(0 0 14px rgba(168,180,192,0.50)); }
}

.nb-search__input {
  appearance: none; -webkit-appearance: none;
  background: transparent;
  border: 0;
  flex: 1;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(24px, 3.6vw, 40px);
  line-height: 1.15;
  color: var(--paper, #ECEDEF);
  letter-spacing: -0.014em;
  outline: none;
  caret-color: var(--ember, #8FA0B0);
}
.nb-search__input::placeholder {
  color: rgba(232, 235, 217, 0.32);
  font-style: italic;
}

.nb-search__close {
  appearance: none; -webkit-appearance: none;
  background: transparent;
  border: 0;
  color: var(--paper-3, #969CA4);
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.01em;
  cursor: pointer;
  padding: 6px 4px 6px 14px;
  border-left: 1px solid rgba(206, 211, 218, 0.34);
  border-radius: 0;
  transition: color 200ms ease, border-color 200ms ease;
}
.nb-search__close:hover { color: var(--ember, #8FA0B0); border-left-color: var(--ember, #8FA0B0); }
.nb-search__close::after {
  content: '\00A0\21A9';   /* return arrow */
  font-size: 0.85em;
}

/* RESULTS — inscribed cards on the backdrop, no inner panel-box. */
.nb-search__results {
  margin-top: 6px;
  padding: 0 clamp(22px, 4vw, 40px) clamp(40px, 6vh, 80px);
  max-height: 58vh;
  overflow-y: auto;
  background: transparent;
  border: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(206,211,218,0.34) transparent;
}
.nb-search__results::-webkit-scrollbar { width: 4px; }
.nb-search__results::-webkit-scrollbar-thumb { background: rgba(206,211,218,0.22); }
.nb-search__hint {
  padding: 32px 0 8px;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  color: var(--paper-3, #969CA4);
  font-size: 16px;
  line-height: 1.55;
  text-wrap: pretty;
  position: relative;
  padding-left: 28px;
}
.nb-search__hint::before {
  content: '';
  position: absolute; left: 0; top: 36px;
  width: 18px; height: 1px;
  background: rgba(206,211,218,0.55);
}
.nb-search__hint em { color: var(--paper, #ECEDEF); font-style: italic; }
.nb-search__group {
  margin: 28px 0 4px;
  padding-left: 28px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 9.5px; font-weight: 500;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--brass, #9AA1AA);
  position: relative;
}
.nb-search__group::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  width: 18px; height: 1px;
  background: var(--brass, #9AA1AA);
  opacity: 0.55;
  transform: translateY(-50%);
}

.nb-search__item {
  display: block;
  padding: 18px 0 18px 28px;
  border-bottom: 1px solid rgba(206, 211, 218, 0.14);
  transition: background 180ms ease, padding-left 280ms cubic-bezier(0.22,1,0.36,1);
  position: relative;
}
.nb-search__item:last-child { border-bottom: 0; }
.nb-search__item::before {
  content: '';
  position: absolute; left: 0; top: 26px;
  width: 0; height: 1px;
  background: var(--ember, #8FA0B0);
  transition: width 280ms cubic-bezier(0.22,1,0.36,1);
}
.nb-search__item:hover, .nb-search__item:focus, .nb-search__item.is-active {
  background: transparent;
  outline: none;
  padding-left: 40px;
}
.nb-search__item:hover::before,
.nb-search__item.is-active::before {
  width: 26px;
}
.nb-search__item-h {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.2;
  color: var(--paper, #ECEDEF);
  margin-bottom: 4px;
  letter-spacing: -0.010em;
}
.nb-search__item-h em { font-style: italic; color: var(--ember, #8FA0B0); font-weight: 400; }
.nb-search__item-sub {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--paper-2, #CFD3D8);
  margin-bottom: 6px;
}
.nb-search__item-meta {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 9px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--paper-4, #63686F);
}
.nb-search__item-meta strong { color: var(--brass, #9AA1AA); font-weight: 500; }

@media (prefers-reduced-motion: reduce) {
  .nb-search__backdrop, .nb-search__panel { animation: none; }
}

/* click-to-call nav item — ember, tabular */
.nb-nav__link.is-call{color:#8FA0B0;font-variant-numeric:tabular-nums;letter-spacing:0.01em;}
.nb-nav__link.is-call:hover{color:#A5B4C2;}

/* ============================================================
   WHATSAPP CLICK-TO-CHAT — injected site-wide by _nav.js (v9).
   Inbound only; floating bottom-right, clears the mobile callbar.
   ============================================================ */
.nb-wa{position:fixed;right:clamp(16px,2.4vw,26px);bottom:clamp(16px,2.4vw,26px);z-index:90;display:inline-flex;align-items:center;height:56px;width:56px;border-radius:999px;background:#1FA855;color:#fff;box-shadow:0 6px 22px rgba(0,0,0,.45),0 0 0 1px rgba(255,255,255,.08) inset;overflow:hidden;transition:width .32s cubic-bezier(.2,.7,.2,1),background .25s,box-shadow .25s;}
.nb-wa__icon{width:28px;height:28px;flex:0 0 auto;margin:0 14px;}
.nb-wa__label{font-family:'Fraunces',Georgia,serif;font-size:12px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap;opacity:0;transform:translateX(-6px);transition:opacity .25s,transform .25s;padding-right:6px;}
@media(hover:hover){
  .nb-wa:hover{width:182px;background:#25D366;box-shadow:0 10px 30px rgba(31,168,85,.42),0 0 0 1px rgba(255,255,255,.12) inset;}
  .nb-wa:hover .nb-wa__label{opacity:1;transform:none;}
}
@media(max-width:760px){.nb-wa{bottom:calc(64px + 14px);right:14px;height:52px;width:52px;}.nb-wa__icon{width:26px;height:26px;margin:0 13px;}}
@media(prefers-reduced-motion:reduce){.nb-wa,.nb-wa__label{transition:none;}}

/* =====================================================================
   v11 — ONE-BAR HEADER (site-wide consistency)
   Collapse the utility strip into the single nav bar, trim to the four
   core links, fold in the ES link + Sign-in pill (injected by _nav.js),
   and still the breathing brand mark. Every page now matches the
   homepage's distilled header.
   ===================================================================== */
.nb-util{ display:none !important; }
.nb-nav{ top:0 !important; justify-content:flex-start; gap:clamp(14px,2.4vw,36px); }
body.has-nb-nav.has-nb-util{ padding-top:60px; }
@media (max-width:760px){ body.has-nb-nav.has-nb-util{ padding-top:56px; } }

/* keep only the four core sections in the bar — Exchange/About/Begin/phone live in the footer */
.nb-nav__menu li:has(> a[href="/exchange/"]),
.nb-nav__menu li:has(> a[href="/about/"]),
.nb-nav__menu li:has(> a[href="/assess/"]),
.nb-nav__menu li:has(> a.is-call){ display:none !important; }

/* layout order: brand · links · ES · Sign-in · (hamburger on mobile) */
.nb-nav__brand{ order:0; }
.nb-nav__menu{ order:1; margin-left:auto; }
.nb-nav__signin{ order:2; }
.nb-nav__toggle{ order:3; }
.nb-nav__link{ opacity:.78; transition:opacity .2s ease, color 220ms ease; }
.nb-nav__link:hover{ opacity:1; }

.nb-nav__es{
  font-family:'Inter',system-ui,sans-serif; font-weight:500; font-size:11px;
  letter-spacing:.14em; color:var(--paper-3,#969CA4); text-decoration:none;
  padding:10px 4px; white-space:nowrap; transition:color .2s ease;
}
.nb-nav__es:hover{ color:var(--paper,#ECEDEF); }

.nb-nav__signin{
  display:inline-flex; align-items:center; gap:7px;
  border:1px solid rgba(143,160,176,.55); background:rgba(143,160,176,.12);
  border-radius:999px; padding:6px 14px 6px 11px; color:#ECEDEF;
  font-family:'Inter',system-ui,sans-serif; font-weight:600; font-size:12px;
  letter-spacing:.01em; text-decoration:none; white-space:nowrap; transition:background .2s ease;
}
.nb-nav__signin:hover{ background:rgba(143,160,176,.2); }
.nb-nav__signin svg{ flex-shrink:0; }

/* still the breathing-bullseye brand-mark signature, everywhere — consistency */
.nb-nav__mark, .nb-nav__mark circle{ animation:none !important; transform:none !important; }

@media (max-width:760px){
  .nb-nav__signin{ margin-left:auto; font-size:11px; padding:5px 12px 5px 9px; }
  .nb-nav__es{ display:block; padding:16px 0; font-size:13px; letter-spacing:.18em;
    border-bottom:1px solid rgba(206,211,218,0.14); color:var(--paper-2,#CFD3D8); }
}

/* the charge line — the institute's one sentence, carried inward */
.noon-charge{font-family:'Fraunces',Georgia,serif;font-style:italic;font-size:clamp(14px,1.6vw,17px);color:var(--paper-2,#CFD3D8);margin:2px 0 12px;letter-spacing:.02em;}

/* EN/ES — the language pill, seated beside Log */
.nb-nav__es{display:inline-flex;align-items:center;justify-content:center;margin-left:16px;margin-right:4px;padding:7px 14px;border:1px solid rgba(206,211,218,.45);border-radius:999px;font-family:var(--font-display,'Fraunces',Georgia,serif);font-size:11.5px;font-weight:500;letter-spacing:.14em;color:var(--paper-2,#CFD3D8);text-decoration:none;transition:border-color .2s,color .2s,background .2s;}
.nb-nav__es:hover{border-color:var(--ember,#8FA0B0);color:var(--ember,#8FA0B0);}

.nb-nav .nb-nav__signin{order:99;}

/* breathing room across the right-hand cluster */
.nb-nav__menu{gap:4px;}
.nb-nav__menu li + li{margin-left:10px;}
.nb-nav .nb-nav__signin{margin-left:16px;padding-left:18px;padding-right:18px;}
