.tb-site-header { border-bottom: 1px solid var(--tb-line); background: var(--tb-bg); }
.tb-site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; min-height: 5rem; }
.tb-site-header__brand { display: block; flex: none; text-decoration: none; color: var(--tb-ink); }
/* The harvested logo has generous built-in padding, so it is cropped in. */
.tb-site-header__logo { width: 9.5rem; height: 4.5rem; object-fit: cover; object-position: center 52%; }
.tb-site-header__name { font-family: var(--tb-font-display); font-size: 1.5rem; font-weight: 600; }
.tb-site-header__nav { display: flex; gap: clamp(1rem, 2.4vw, 2.25rem); overflow-x: auto; scrollbar-width: none; }
.tb-site-header__nav a { position: relative; padding-block: 0.9rem; color: var(--tb-ink); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.tb-site-header__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.55rem; height: 1px; background: var(--tb-primary); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease; }
.tb-site-header__nav a:hover::after, .tb-site-header__nav a:focus-visible::after { transform: scaleX(1); }
/* Phones: a menu button opens the links as a list. Without JavaScript the links wrap instead. */
.tb-site-header__toggle { display: none; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid var(--tb-line); border-radius: var(--tb-radius, 4px); background: transparent; color: var(--tb-ink); cursor: pointer; }
.tb-site-header__bars, .tb-site-header__bars::before, .tb-site-header__bars::after { display: block; width: 1.2rem; height: 2px; background: currentColor; transition: transform 0.2s ease, opacity 0.2s ease; }
.tb-site-header__bars { position: relative; }
.tb-site-header__bars::before, .tb-site-header__bars::after { content: ""; position: absolute; left: 0; }
.tb-site-header__bars::before { top: -6px; }
.tb-site-header__bars::after { top: 6px; }
.is-open .tb-site-header__bars { background: transparent; }
.is-open .tb-site-header__bars::before { transform: translateY(6px) rotate(45deg); }
.is-open .tb-site-header__bars::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 640px) {
	.tb-site-header__in { flex-wrap: wrap; gap: 0 1rem; }
	.tb-site-header__toggle:not([hidden]) { display: inline-flex; }
	.tb-site-header__nav { width: 100%; flex-wrap: wrap; gap: 0 1.25rem; overflow: visible; }
	.tb-js .tb-site-header__nav { display: none; flex-direction: column; gap: 0; padding-bottom: 0.75rem; }
	.tb-js.is-open .tb-site-header__nav { display: flex; }
	.tb-js .tb-site-header__nav a { padding-block: 0.85rem; border-top: 1px solid var(--tb-line); }
	.tb-js .tb-site-header__nav a::after { display: none; }
}
