/* The nav mark (2026-12-01, Joe): rests as the G. mark and opens as the
   Garwood.AI signature. Same spec as .sig on /terms and /privacy: Playfair
   Display 700, tracking -0.015em, red period at 1.35em with .04em/.02em
   bearings, AI at 92%. nav-brand.js moves the period and sets the widths.
   Every page that uses it loads Playfair 700. Without the script it is the
   plain G. mark. Colour is inherited so the index menu-open flip still works.
   With the script, the box stays the G. mark's size and the open name paints
   over the space beside it, so nothing else in the nav moves. */
a.gw-brand {
  position: relative;
  font-family: var(--font-display, "Playfair Display", Georgia, serif);
  font-size: clamp(34px, 3.4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  text-decoration: none;
  transform-origin: 0 50%;
}
.gw-brand > * { flex-shrink: 0; }
/* the script fades the Back link while the open name covers it (phones) */
.gw-fade { transition: opacity 0.3s ease; }
.gw-fade.gw-faded { opacity: 0; pointer-events: none; }
.gw-brand .nb-dot { color: #E02B0B; display: inline-block; margin-left: -0.03em; }
.gw-brand .nb-base { display: inline-block; width: 0; height: 0; vertical-align: baseline; }
.gw-brand .nb-probe { position: absolute; visibility: hidden; left: 0; top: 0; }
.gw-brand .nb-rest,
.gw-brand .nb-slot,
.gw-brand .nb-suffix,
.gw-brand .nb-tail { display: inline-block; width: 0; clip-path: inset(-50% 0 -50% 0); }
.gw-brand .nb-suffix { font-size: 0.92em; }
.gw-brand .nb-rest span,
.gw-brand .nb-suffix span { display: inline-block; }
.gw-brand:not(.nb-ready) .nb-rest span,
.gw-brand:not(.nb-ready) .nb-suffix span { visibility: hidden; }
.gw-brand.nb-ready .nb-dot { position: absolute; left: 0; top: 0; margin: 0; will-change: transform; }
