/* Header video: hamburger + primary nav overlay (stacked red/yellow cards) */

.chenny-header-video-shell {
	--chenny-header-bar-h: 84px;
}

.chenny-header-video__bar {
	--chenny-header-bar-h: 84px;
}

/* Fixed 35×35; top: 50% + translateY(-50%) matches vertical center of bar text in the 84px bar. */
.chenny-header-video__menu-btn {
	position: absolute;
	left: max(0.75rem, env(safe-area-inset-left, 0px));
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	box-sizing: border-box;
	width: 35px;
	height: 35px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: #fff;
	color: #222;
	box-shadow: 0 1px 8px rgba(0, 0, 0, 0.18);
	cursor: pointer;
	pointer-events: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: visible;
	transition: box-shadow 0.15s ease;
}

.chenny-header-video__menu-btn:hover,
.chenny-header-video__menu-btn:focus-visible {
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
	outline: 2px solid #fff;
	outline-offset: 2px;
}

/* Single SVG scales with the circle; viewBox keeps icon centered (no clipping). */
.chenny-header-video__menu-btn-svg-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50%;
	height: 50%;
	max-width: 20px;
	max-height: 20px;
	flex-shrink: 0;
}

.chenny-header-video__menu-btn-svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.chenny-header-video__menu-icon {
	transition: opacity 0.2s ease;
}

.chenny-header-video__menu-icon--close {
	opacity: 0;
}

body.chenny-nav-open .chenny-header-video__menu-icon--hamburger {
	opacity: 0;
}

body.chenny-nav-open .chenny-header-video__menu-icon--close {
	opacity: 1;
}

/* Full overlay */
.chenny-nav-overlay[hidden] {
	display: none !important;
}

.chenny-nav-overlay {
	position: fixed;
	inset: 0;
	z-index: 99990;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: max(1rem, env(safe-area-inset-top)) 1rem 1rem;
	box-sizing: border-box;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

.chenny-nav-overlay__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	cursor: pointer;
}

.chenny-nav-overlay__panel {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 26rem;
	margin-top: 0.5rem;
	padding: 0;
	background: transparent;
	box-shadow: none;
	border-radius: 0;
}

.chenny-nav-overlay__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.75rem;
	padding: 0 0.25rem;
}

.chenny-nav-overlay__title {
	margin: 0;
	font-family: "Special Gothic Expanded One", sans-serif;
	font-size: 1.25rem;
	font-weight: 400;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.chenny-nav-overlay__close {
	flex-shrink: 0;
	width: 2.75rem;
	height: 2.75rem;
	border: none;
	border-radius: 50%;
	background: #fff;
	color: #222;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
}

.chenny-nav-overlay__close:hover,
.chenny-nav-overlay__close:focus-visible {
	outline: 2px solid #f8ad36;
	outline-offset: 2px;
}

.chenny-nav-overlay__nav {
	margin: 0;
	padding: 0;
}

.chenny-nav-overlay__list {
	list-style: none;
	margin: 0;
	padding: 0 0 1.5rem;
	display: flex;
	flex-direction: column;
}

.chenny-nav-overlay__list > li {
	position: relative;
	margin: 0;
	margin-top: -14px;
	padding: 0;
	border-radius: 23px;
	box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.18);
	overflow: visible;
	transition: transform 0.22s ease;
}

.chenny-nav-overlay__list > li:first-child {
	margin-top: 0;
}

.chenny-nav-overlay__list > li:nth-child(odd) {
	background-color: #bc3226;
}

.chenny-nav-overlay__list > li:nth-child(even) {
	background-color: #f8ad36;
}

/* Cascade: each item below sits above the previous (higher z-index). */
.chenny-nav-overlay__list > li:nth-child(1) {
	z-index: 1;
}

.chenny-nav-overlay__list > li:nth-child(2) {
	z-index: 2;
}

.chenny-nav-overlay__list > li:nth-child(3) {
	z-index: 3;
}

.chenny-nav-overlay__list > li:nth-child(4) {
	z-index: 4;
}

.chenny-nav-overlay__list > li:nth-child(5) {
	z-index: 5;
}

.chenny-nav-overlay__list > li:nth-child(6) {
	z-index: 6;
}

.chenny-nav-overlay__list > li:nth-child(7) {
	z-index: 7;
}

.chenny-nav-overlay__list > li:nth-child(8) {
	z-index: 8;
}

.chenny-nav-overlay__list > li:nth-child(9) {
	z-index: 9;
}

.chenny-nav-overlay__list > li:nth-child(10) {
	z-index: 10;
}

.chenny-nav-overlay__list > li:nth-child(11) {
	z-index: 11;
}

.chenny-nav-overlay__list > li:nth-child(12) {
	z-index: 12;
}

.chenny-nav-overlay__list > li:nth-child(13) {
	z-index: 13;
}

.chenny-nav-overlay__list > li:nth-child(14) {
	z-index: 14;
}

.chenny-nav-overlay__list > li:nth-child(15) {
	z-index: 15;
}

.chenny-nav-overlay__list > li:nth-child(16) {
	z-index: 16;
}

.chenny-nav-overlay__list > li:nth-child(17) {
	z-index: 17;
}

.chenny-nav-overlay__list > li:nth-child(18) {
	z-index: 18;
}

.chenny-nav-overlay__list > li:nth-child(19) {
	z-index: 19;
}

.chenny-nav-overlay__list > li:nth-child(20) {
	z-index: 20;
}

.chenny-nav-overlay__list > li:last-child {
	border-radius: 23px;
}

.chenny-nav-overlay__list > li > a {
	display: block;
	padding: 1.1rem 1.35rem 1.25rem;
	color: #fff !important;
	font-family: "Special Gothic Expanded One", sans-serif;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.25;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	text-align: center;
	word-break: break-word;
	transition: padding 0.22s ease, background 0.22s ease;
}

/* +10px height upward: extra padding-top + translateY on the row keeps bottom edge stable. */
.chenny-nav-overlay__list > li:hover {
	transform: translateY(-10px);
	z-index: 50;
}

.chenny-nav-overlay__list > li:hover > a {
	padding-top: calc(1.1rem + 10px);
	background: rgba(255, 255, 255, 0.12);
}

.chenny-nav-overlay__list > li > a:focus {
	outline: none;
}

.chenny-nav-overlay__list > li > a:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.8);
	outline-offset: 3px;
}

body.chenny-nav-open {
	overflow: hidden;
}

@media (max-width: 781px) {
	/* White icon on red bar — no circular button (see 07-hero-header-video mobile red header). */
	.chenny-header-video__menu-btn {
		width: 44px;
		height: 44px;
		border-radius: 0;
		background: transparent;
		color: #fff;
		box-shadow: none;
		z-index: 41;
		-webkit-tap-highlight-color: transparent;
	}

	.chenny-header-video__menu-btn:hover,
	.chenny-header-video__menu-btn:focus-visible {
		box-shadow: none;
		outline: 2px solid #fff;
		outline-offset: 2px;
	}

	.chenny-header-video__menu-btn-svg-wrap {
		width: 24px;
		height: 24px;
		max-width: 24px;
		max-height: 24px;
	}

	/* currentColor can fail on some WebKit builds; force white fills. */
	.chenny-header-video__menu-btn .chenny-header-video__menu-btn-svg {
		color: #fff;
	}

	.chenny-header-video__menu-btn .chenny-header-video__menu-icon--hamburger,
	.chenny-header-video__menu-btn .chenny-header-video__menu-icon--close {
		fill: #fff;
	}
}

@media (prefers-reduced-motion: reduce) {
	.chenny-header-video__menu-btn,
	.chenny-header-video__menu-icon {
		transition: none;
	}

	.chenny-nav-overlay__list > li {
		transition: none;
	}

	.chenny-nav-overlay__list > li:hover {
		transform: none;
	}

	.chenny-nav-overlay__list > li:hover > a {
		padding-top: 1.1rem;
	}

	.chenny-nav-overlay__list > li > a {
		transition: none;
	}
}
