/* Header sits transparent OVER the hero image (absolute, top of page) */
.msc-header {
	position: absolute;
	top: 50px;   /* 50px canvas top pad + hero starts at 50 */
	left: 0;
	right: 0;
	z-index: 50;
	padding: 50px 0 0;   /* from top of hero to logo */
	background: transparent;
	pointer-events: none;
}
.msc-header a,
.msc-header button { pointer-events: auto; }
.msc-header__inner {
	max-width: 1680px;
	margin: 0 auto;
	padding: 0 150px;   /* 50 hero pad + 100 in-frame offset = 150 */
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}
.msc-logo {
	font-family: var(--f-script);
	font-weight: 400;
	font-size: 92px;
	line-height: 1;
	color: #000;
	text-decoration: none;
	letter-spacing: 0;
	display: inline-block;
	padding: 0 2px;
	white-space: nowrap;
}
.msc-logo svg { display: block; height: 70px; width: auto; }
.msc-logo span { display: inline-block; }

.msc-nav {
	display: flex;
	align-items: center;
}
.msc-nav ul {
	display: flex;
	gap: 40px;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}
.msc-nav a {
	font-family: var(--f-sans);
	font-size: 18px;
	line-height: 1;
	color: #000;
	text-decoration: none;
	white-space: nowrap;
	transition: opacity var(--t-fast);
}
.msc-nav a:hover, .msc-nav .current-menu-item > a { opacity: 0.6; }

.msc-hamburger {
	display: none;
	position: absolute;
	right: 16px;
	top: 20px;
	width: 34px;
	height: 34px;
	color: #000;
	background: transparent;
	border: 0;
}
.msc-hamburger svg { width: 24px; height: 24px; }

/* Sub-page header: script logo centered on top + pill nav centered below (Figma 22:1543) */
body.msc-plain-page { background: var(--c-section-bg); }
body.msc-plain-page .msc-section,
body.msc-plain-page main#main,
body.msc-plain-page .msc-container,
body.msc-plain-page .msc-footer { background: transparent; }
body.msc-plain-page .msc-header {
	position: static;
	padding: 50px 0 0;
	background: transparent;
	border-bottom: 0;
	top: 0;
}
body.msc-plain-page .msc-header__inner {
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 50px;
	padding: 0 50px;
	text-align: center;
}
body.msc-plain-page .msc-logo {
	font-size: 70px;
	line-height: 1;
	color: #000;
}
body.msc-plain-page .msc-logo svg { height: 50px; }

body.msc-plain-page .msc-nav {
	background: #fdfcfa;
	border: 0;
	border-radius: 18px;
	padding: 20px 80px;
	filter: drop-shadow(0 10px 7px rgba(0, 0, 0, 0.04));
}
body.msc-plain-page .msc-nav ul {
	gap: 80px;
}
body.msc-plain-page .msc-nav a {
	font-family: var(--f-sans);
	font-weight: 400;
	font-size: 18px;
	line-height: 30px;
	color: #000;
	padding: 0;
	position: relative;
	transition: opacity var(--t-fast);
}
body.msc-plain-page .msc-nav a:hover { opacity: 0.55; }
body.msc-plain-page .msc-nav .current-menu-item > a,
body.msc-plain-page .msc-nav .current_page_item > a,
body.msc-plain-page .msc-nav .current-menu-parent > a {
	font-weight: 600;
	opacity: 1;
}

@media (max-width: 900px) {
	.msc-header { top: 0; padding: 20px 0 0; position: absolute; }
	.msc-header__inner { padding: 0 16px; gap: 12px; align-items: center; flex-direction: row; justify-content: space-between; }
	.msc-logo { font-size: 46px; }
	.msc-logo svg { height: 42px; }
	.msc-nav { display: none; }
	.msc-hamburger { display: inline-flex; align-items: center; justify-content: center; position: static; }
	body.msc-plain-page .msc-header__inner { padding: 0 16px; }
	body.msc-plain-page .msc-logo { font-size: 42px; }
	body.msc-plain-page .msc-logo svg { height: 36px; }
}
