/* se-header: transparent over the hero, solid black once past it. */

.se-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 90;
	background: transparent;
	transition: background-color 300ms var(--se-ease), transform 320ms var(--se-ease);
}

.se-header.is-solid,
.se-header--solid {
	background: var(--se-black);
}

.se-header.is-hidden {
	transform: translate3d(0, -100%, 0);
}

.se-header.is-menu-open {
	transform: none;
	background: var(--se-black);
}

.se-header__bar {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	height: var(--se-header-h);
	padding-inline: var(--se-pad);
}

.se-header__logo {
	display: block;
	flex: none;
	width: clamp(4.5rem, 6.25vw, 7.5rem);
}

.se-header__logo .se-logo__img {
	width: 100%;
	height: auto;
	object-fit: contain;
}

.se-header__right {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2.92vw, 3.5rem);
}

.se-header__nav ul {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 1.875vw, 2.25rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.se-header__nav a {
	font-family: var(--se-font-label);
	font-weight: 600;
	font-size: clamp(0.875rem, 0.94vw, 1.125rem);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	line-height: 1;
	color: var(--se-bone);
	transition: color var(--se-dur) var(--se-ease);
}

.se-header__nav a:hover,
.se-header__nav .current-menu-item > a {
	color: var(--se-red-hot);
}

.se-header__cta {
	padding: 0.85rem 1.6rem;
	font-size: clamp(0.9375rem, 0.93vw, 1.115rem);
}

.se-header__toggle {
	display: none;
	align-items: center;
	gap: 0.6rem;
	/* QA-MOBILE: the label and the two bars measured 72 x 17, so the only way to
	   open the menu on a phone was a 17px high strip. Pad it out to a 44px
	   thumb target and pull the padding back off the layout so the bar keeps
	   the Figma rhythm. */
	min-height: 2.75rem;
	padding-inline: 0.5rem;
	margin-inline-end: -0.5rem;
	background: none;
	border: 0;
	cursor: pointer;
	color: var(--se-bone);
	font-family: var(--se-font-label);
	font-weight: 600;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	-webkit-tap-highlight-color: transparent;
}

.se-header__toggle:focus-visible {
	outline: 2px solid var(--se-red-hot);
	outline-offset: 2px;
}

.se-header__burger {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 26px;
	height: 14px;
}

.se-header__burger i {
	display: block;
	height: 2px;
	background: var(--se-bone);
	transition: transform 240ms var(--se-ease), opacity 240ms var(--se-ease);
}

.se-header.is-menu-open .se-header__burger i:first-child { transform: translateY(3.5px) rotate(45deg); }
.se-header.is-menu-open .se-header__burger i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* full screen menu */

.se-header__menu {
	position: fixed;
	inset: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: calc(var(--se-header-h) + 2rem) var(--se-pad) 2.5rem;
	background: var(--se-black);
	overflow-y: auto;
}

.se-header__menu[hidden] { display: none; }

.se-header__menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.se-header__menu a {
	display: block;
	padding-block: 0.35rem;
	font-family: var(--se-font-display);
	font-weight: 900;
	font-size: clamp(2.5rem, 12vw, 4rem);
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: -0.01em;
	color: var(--se-bone);
}

.se-header__menu a:hover { color: var(--se-red-hot); }

.se-header__menu-foot .se-btn { width: 100%; }

body.se-menu-open { overflow: hidden; }

@media (max-width: 1023px) {
	.se-header__nav { display: none; }
	.se-header__toggle { display: inline-flex; }

	/* QA-MOBILE: the Figma mobile header (node 160:285) carries a compact
	   Tickets button beside the menu mark. It used to be hidden below 1024, so
	   the top of a phone page had no ticket route at all until the sticky bar
	   appeared after the hero. */
	.se-header__cta {
		display: inline-flex;
		min-height: 2.75rem;
		padding: 0.6rem 1rem;
		font-size: 0.9375rem;
	}

	.se-header__cta .se-btn__arrow { display: none; }

	.se-header__right { gap: 1.125rem; }
}

@media (min-width: 1024px) {
	.se-header__menu { display: none; }
}

/*
 * QA-MOBILE: no script, no lost navigation.
 *
 * The panel used to carry a hard coded `hidden`, so with JavaScript off a phone
 * had no menu button that worked and no menu. Now the markup ships the panel
 * visible, the runtime hides it on init, and with no script it unfolds in the
 * normal flow under a static header instead of covering the page as a fixed
 * overlay.
 */
html.se-js .se-header__menu[hidden] { display: none; }

html:not(.se-js) .se-header__toggle { display: none; }

@media (max-width: 1023px) {
	html:not(.se-js) .se-header {
		position: static;
		background: var(--se-black);
	}

	html:not(.se-js) .se-header__menu {
		position: static;
		padding: 0 var(--se-pad) 2rem;
		overflow: visible;
	}

	html:not(.se-js) .se-header__menu a {
		font-size: 1.75rem;
	}
}
