/* Section: header-bar */
.header-bar { position: sticky; top: 0; z-index: var(--z-header); background: color-mix(in oklab, var(--color-bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--color-border); }
.header-bar__inner { display: flex; align-items: center; gap: var(--space-6); min-height: var(--header-height); }
.header-bar__brand { display: inline-flex; align-items: center; min-height: var(--tap-min); margin-right: auto; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; text-decoration: none; }
.header-bar__nav { display: flex; gap: var(--space-6); }
.header-bar__nav a { display: inline-flex; align-items: center; min-height: var(--tap-min); text-decoration: none; font-weight: 600; }
.header-bar__nav a { text-decoration: underline 2px transparent; text-underline-offset: 0.45em; transition: color var(--duration-hover) ease, text-decoration-color var(--duration-hover) ease; }
.header-bar__nav a[aria-current="true"] { text-decoration-color: var(--color-brand); }
@media (hover: hover) and (pointer: fine) { .header-bar__nav a:hover { color: var(--color-brand-text); } }
.header-bar__cta { min-height: 2.75rem; padding-inline: var(--space-5); }
.header-bar__toggle { display: none; }
@media (max-width: 48rem) {
  .header-bar__inner { gap: var(--space-3); }
  .header-bar__brand { font-size: 1.0625rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  /* Same shape and height as the button beside it, so the pair reads as one set. */
  .header-bar__toggle { display: inline-grid; width: 3rem; height: 3rem; border-radius: var(--radius-sm); }
  .header-bar__nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; gap: 0; padding: var(--space-2) var(--b-pad-inline) var(--space-5); background: var(--color-bg); border-bottom: 1px solid var(--color-border); }
  .header-bar__nav.is-open { display: flex; box-shadow: var(--shadow-float); transition: opacity var(--duration-menu) var(--ease-out), translate var(--duration-menu) var(--ease-out); }
  @starting-style { .header-bar__nav.is-open { opacity: 0; translate: 0 -8px; } }
  .header-bar__nav a { min-height: 3rem; border-bottom: 1px solid var(--color-border); }
  .header-bar__nav a[aria-current="true"] { color: var(--color-brand-text); text-decoration: none; }
}
