:root {
	--pella-blue: #0878b6;
	--pella-cyan: #18b8e7;
	--pella-navy: #082f46;
	--pella-ink: #102b3a;
	--pella-muted: #5d7480;
	--pella-pale: #eef9fd;
	--pella-line: #dbeaf1;
	--pella-white: #ffffff;
	--pella-page: #f8fcfe;
	--shell: min(92vw, 1480px);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--pella-page);
	color: var(--pella-ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header {
	top: 32px;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: var(--pella-blue);
}

button,
input,
textarea,
select {
	font: inherit;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	position: fixed !important;
	top: 10px;
	left: 10px;
	z-index: 10000;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto;
	background: var(--pella-white);
	color: var(--pella-navy);
}

.site-header {
	position: relative;
	z-index: 30;
	background: rgba(23 97 146);
	border-bottom: 1px solid rgba(8, 120, 182, 0.1);
}

.site-header__inner {
	width: var(--shell);
	min-height: 104px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

.site-brand {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
}

.site-brand img,
.site-brand .custom-logo {
	width: 132px;
	height: auto;
}

.site-brand .custom-logo-link {
	display: block;
}

.primary-menu {
	list-style: none;
	display: flex;
	align-items: center;
	gap: clamp(22px, 2.5vw, 48px);
	margin: 0;
	padding: 0;
}

.primary-menu a,
.menu-label {
	color: var(--pella-white);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.085em;
	text-decoration: none;
	transition: color 160ms ease;
}

.primary-menu a:hover,
.primary-menu a:focus-visible,
.current-menu-item > a {
	color: var(--pella-cyan);
}

.menu-label--unavailable {
	color: #8ea1aa;
	cursor: default;
}

.menu-toggle {
	display: none;
	border: 0;
	background: transparent;
	color: var(--pella-navy);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.hero {
	width: var(--shell);
	min-height: calc(100vh - 104px);
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
	align-items: stretch;
	background: var(--pella-white);
	overflow: hidden;
}

.hero__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(64px, 8vw, 130px) clamp(32px, 6vw, 96px);
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 20px;
	color: var(--pella-blue);
	font-size: 0.76rem;
	font-weight: 900;
	letter-spacing: 0.2em;
}

.eyebrow__dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--pella-cyan);
	box-shadow: 0 0 0 6px rgba(24, 184, 231, 0.12);
}

.hero__title {
	margin: 0;
	color: var(--pella-blue);
	font-size: clamp(3.4rem, 6.5vw, 7.6rem);
	font-weight: 900;
	line-height: 0.84;
	letter-spacing: -0.07em;
}

.hero__title span,
.hero__title strong {
	display: block;
}

.hero__title strong {
	margin-top: 0.12em;
	color: var(--pella-cyan);
	font-size: 0.72em;
	font-weight: 800;
	letter-spacing: -0.045em;
}

.live-player {
	min-height: 82px;
	margin-top: clamp(36px, 5vw, 64px);
}

.live-player__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 13px;
	min-width: 190px;
	min-height: 54px;
	padding: 14px 24px;
	border: 0;
	border-radius: 3px;
	background: var(--pella-blue);
	box-shadow: 0 12px 32px rgba(8, 120, 182, 0.2);
	color: var(--pella-white);
	font-size: 0.82rem;
	font-weight: 900;
	letter-spacing: 0.055em;
	cursor: pointer;
	transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.live-player__button:hover,
.live-player__button:focus-visible {
	background: var(--pella-navy);
	box-shadow: 0 15px 36px rgba(8, 47, 70, 0.22);
	transform: translateY(-2px);
}

.live-player__button:disabled {
	cursor: wait;
	opacity: 0.82;
	transform: none;
}

.live-player[data-state="playing"] .live-player__button {
	background: var(--pella-cyan);
}

.live-player[data-state="error"] .live-player__status {
	color: #a73737;
}

.live-player__status {
	min-height: 1.5em;
	margin: 8px 0 0;
	color: var(--pella-muted);
	font-size: 0.8rem;
}

.current-show {
	max-width: 420px;
	margin-top: clamp(36px, 5vw, 64px);
	padding-top: 24px;
	border-top: 1px solid var(--pella-line);
}

.current-show__label {
	margin: 0 0 8px;
	color: var(--pella-blue);
	font-size: 0.67rem;
	font-weight: 900;
	letter-spacing: 0.16em;
}

.current-show__title {
	margin: 0;
	color: var(--pella-navy);
	font-size: clamp(1.15rem, 1.6vw, 1.55rem);
	font-weight: 800;
	line-height: 1.25;
}

.current-show__presenter,
.current-show__time,
.current-show__message {
	margin: 5px 0 0;
	color: var(--pella-muted);
	font-size: 0.88rem;
}

.hero__media {
	position: relative;
	min-width: 0;
}

.hero__media::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	z-index: 1;
	width: 24%;
	background: linear-gradient(90deg, var(--pella-white), rgba(255, 255, 255, 0));
	pointer-events: none;
}

.hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 59% center;
}

.site-main--content {
	min-height: calc(100vh - 190px);
	padding: clamp(52px, 7vw, 100px) 0;
}

.content-shell {
	width: min(90vw, 1180px);
	margin: 0 auto;
}

.entry-card + .entry-card {
	margin-top: 48px;
	padding-top: 48px;
	border-top: 1px solid var(--pella-line);
}

.entry-title {
	margin: 0 0 32px;
	color: var(--pella-navy);
	font-size: clamp(2.2rem, 5vw, 4.7rem);
	line-height: 1.05;
	letter-spacing: -0.045em;
}

.entry-title a {
	color: inherit;
	text-decoration: none;
}

.entry-content::after {
	content: "";
	display: table;
	clear: both;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content iframe {
	max-width: 100%;
}

.site-footer {
	background: var(--pella-navy);
	color: rgba(255, 255, 255, 0.74);
}

.site-footer__inner {
	width: var(--shell);
	margin: 0 auto;
	padding: 24px 0;
	font-size: 0.75rem;
	letter-spacing: 0.05em;
}

.site-footer p {
	margin: 0;
}

@media (max-width: 980px) {
	.site-header__inner {
		min-height: 84px;
	}

	.menu-toggle {
		display: inline-flex;
		align-items: center;
		gap: 10px;
		padding: 12px 0;
		cursor: pointer;
		color: var(--pella-white);
	}

	.menu-toggle__icon,
	.menu-toggle__icon::before,
	.menu-toggle__icon::after {
		display: block;
		width: 22px;
		height: 2px;
		background: currentColor;
	}

	.menu-toggle__icon {
		position: relative;
	}

	.menu-toggle__icon::before,
	.menu-toggle__icon::after {
		content: "";
		position: absolute;
		left: 0;
	}

	.menu-toggle__icon::before { top: -7px; }
	.menu-toggle__icon::after { top: 7px; }

	.primary-navigation {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		padding: 24px 4vw 30px;
		background: var(--pella-white);
		border-top: 1px solid var(--pella-line);
		box-shadow: 0 18px 30px rgba(8, 47, 70, 0.08);
	}

	.primary-navigation.is-open {
		display: block;
		a{
			color: var(--pella-blue);
		}
	}

	.primary-menu {
		align-items: flex-start;
		flex-direction: column;
		gap: 18px;
	}

	.hero {
		width: 100%;
		min-height: 0;
		grid-template-columns: 1fr;
	}

	.hero__content {
		padding: 70px 7vw 58px;
	}

	.hero__title {
		font-size: clamp(3.8rem, 15vw, 7rem);
	}

	.hero__media {
		height: min(62vw, 600px);
		min-height: 390px;
	}

	.hero__media::before {
		inset: 0 0 auto;
		width: 100%;
		height: 24%;
		background: linear-gradient(180deg, var(--pella-white), rgba(255, 255, 255, 0));
	}
}

@media (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}

@media (max-width: 560px) {
	.site-header__inner {
		width: 88vw;
	}

	.site-brand img,
	.site-brand .custom-logo {
		width: 108px;
	}

	.hero__content {
		padding: 54px 7vw 48px;
	}

	.hero__title {
		font-size: clamp(3.2rem, 17vw, 5.4rem);
	}

	.live-player__button {
		width: 100%;
	}

	.current-show {
		margin-top: 34px;
	}

	.hero__media {
		height: 74vw;
		min-height: 320px;
	}

	.entry-title {
		margin-bottom: 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: 0.01ms !important; }
}

