/* ==========================================================================
   Header — ticker + sticky logo
   ========================================================================== */

:root {
	--ticker-h: 36px;
}

/* --------------------------------------------------------------------------
   Ticker (running announcement bar) — pinned at the very top
   -------------------------------------------------------------------------- */

.ticker {
	z-index: 30;
	display: flex;
	align-items: center;
	min-height: var(--ticker-h);
	overflow: hidden;
	background-color: var(--color-black);
}

.ticker__track {
	display: flex;
	width: max-content;
	animation: ticker-scroll 240s linear infinite;
}

.ticker__group {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ticker__item {
	display: inline-flex;
	align-items: center;
	gap: 32px;
	padding-right: 32px;
}

.ticker__word {
	color: var(--color-cream);
	font-family: var(--font-sans);
	font-weight: var(--fw-medium);
	font-size: 13px;
	line-height: 1;
	text-transform: lowercase;
	white-space: nowrap;
}

.ticker__star {
	display: inline-flex;
	flex: none;
	width: 9px;
	height: 9px;
	color: var(--color-cream);
}

.ticker__star svg {
	display: block;
	width: 100%;
	height: 100%;
}

@keyframes ticker-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.ticker__track { animation: none; }
}

/* --------------------------------------------------------------------------
   Site header — centered logo, sticky below the ticker, overlaps the hero
   -------------------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 50px;
	z-index: 20;
	display: flex;
	justify-content: center;
	margin-bottom: -72px;
	pointer-events: none;
	transition: top 0.3s ease;
}

body.is-scrolled .site-header {
	top: -3px;
}

.site-header__inner {
	pointer-events: auto;
}

.site-header .custom-logo-link {
	display: block;
	line-height: 0;
}

.site-header .custom-logo,
.site-header__inner img {
	display: block;
	width: auto;
	height: 72px;
	max-width: calc(100vw - 32px);
	object-fit: contain;
}

.site-header__fallback {
	display: inline-block;
	padding: 8px 16px;
	background-color: var(--color-cream);
	color: var(--color-text);
	font-family: var(--font-sans);
	font-weight: var(--fw-extrabold);
	font-size: 20px;
	border-radius: 0 0 5px 5px;
}

@media (max-width: 768px) {
	.site-header .custom-logo,
	.site-header__inner img {
		height: 54px;
	}
}

