/* NovaGlass — base styles */

:root {
	--font-display: 'Space Grotesk', system-ui, sans-serif;
	--font-body: 'Inter', system-ui, sans-serif;
	--font-accent: 'Roboto', system-ui, sans-serif;
	--font-brand: 'Norwester', 'Space Grotesk', sans-serif;

	--color-text: #0f1419;
	--color-muted: #6b7280;
	--color-bg: #ffffff;
	--color-bg-dark: #0f1419;
	--color-accent: #1f4dd0;
	--color-border: #e5e7eb;

	--container: 1400px;
	--header-h: 80px;
}

* { box-sizing: border-box; }

html, body {
	margin: 0;
	padding: 0;
	font-family: var(--font-body);
	color: var(--color-text);
	background: var(--color-bg);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 0.6em;
}

/* === Header === */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.6);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.site-header__inner {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
	height: var(--header-h);
	display: flex;
	align-items: center;
	gap: 32px;
}

.site-header__logo {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}
.site-header__logo img {
	height: 36px;
	width: auto;
}

.site-header__toggle {
	display: none;
	background: none;
	border: 0;
	padding: 8px;
	cursor: pointer;
	color: #1c4279;
	margin-left: auto;
}
.site-header__toggle svg {
	width: 24px;
	height: 24px;
	display: block;
}
.site-header__toggle-icon { display: inline-flex; }
.site-header__toggle-icon--close { display: none; }
.site-header--menu-open .site-header__toggle-icon--open { display: none; }
.site-header--menu-open .site-header__toggle-icon--close { display: inline-flex; }

.site-header__contact {
	display: inline-flex;
	margin-left: auto;
	align-items: center;
	gap: 16px;
}
.site-header__email { display: none; }

.site-header__nav {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 24px;
}
.site-header__menu {
	flex: 1;
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 36px;
	justify-content: center;
}
.site-header__menu li { display: inline-flex; }
.site-header__menu a {
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 16px;
	line-height: 1.2;
	letter-spacing: 0;
	color: #090909;
	padding: 8px 0;
	text-decoration: none;
	text-underline-offset: 6px;
	text-decoration-thickness: 2px;
	transition: color .15s ease;
}
.site-header__menu a:hover,
.site-header__menu .current-menu-item a {
	text-decoration: underline;
}

.site-header__cta {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: transparent;
	color: #000;
	padding: 14px 32px;
	border: 1px solid #000;
	border-radius: 0;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 16px;
	line-height: 1.2;
	letter-spacing: 0;
	transition: background .15s ease, color .15s ease;
}
.site-header__cta:hover {
	background: #000;
	color: #fff;
}
.site-header__cta-icon {
	display: inline-flex;
	width: 20px;
	height: 20px;
}
.site-header__cta-icon svg {
	width: 100%;
	height: 100%;
	stroke: currentColor;
	fill: none;
}
.site-header__cta-text {
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1.5px;
}

/* === Footer === */
.site-footer {
	background: #ffffff;
	color: var(--color-text);
	font-family: var(--font-body);
}
.site-footer__main-wrap {
	padding: 20px 20px 0;
}
.site-footer__main {
	background: #1c4279;
	color: #fff;
	padding: 64px 0 56px;
}
.site-footer__main a {
	color: #fff;
	transition: opacity .15s ease;
}
.site-footer__main a:hover { opacity: 0.75; }
.site-footer__inner {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: minmax(280px, 1fr) 2.4fr;
	gap: 64px;
	align-items: start;
}

/* Brand column */
.site-footer__brand { display: flex; flex-direction: column; gap: 36px; }
.site-footer__logo { display: inline-flex; }
.site-footer__logo img { height: 44px; width: auto; }

.site-footer__socials-label {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 20px;
	line-height: 1.2;
	letter-spacing: -0.02em;
	margin: 0 0 16px;
	color: #fff;
}
.site-footer__socials-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 16px;
	align-items: center;
}
.site-footer__socials-list a {
	display: inline-flex;
	width: 28px;
	height: 28px;
	align-items: center;
	justify-content: center;
}
.site-footer__socials-list svg {
	width: 100%;
	height: 100%;
	fill: #fff;
}
.site-footer__socials-list svg path,
.site-footer__socials-list svg rect,
.site-footer__socials-list svg circle,
.site-footer__socials-list svg polygon {
	fill: #fff;
}

/* Link columns */
.site-footer__columns {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 48px;
}
.site-footer__column-heading {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 20px;
	line-height: 1.2;
	letter-spacing: -0.02em;
	margin: 0 0 24px;
	color: #fff;
}
.site-footer__column-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.site-footer__column-links a {
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 18px;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: #fff;
}

/* Bottom bar */
.site-footer__bottom {
	background: #ffffff;
	padding: 24px 0;
}
.site-footer__bottom-inner {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	flex-wrap: wrap;
	gap: 16px 32px;
	justify-content: space-between;
	align-items: center;
}
.site-footer__copyright {
	margin: 0;
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 14px;
	color: #1c4279;
}
.site-footer__legal-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 28px;
}
.site-footer__legal-list a {
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 14px;
	text-decoration: underline;
	text-underline-offset: 3px;
	color: #1c4279;
}
.site-footer__legal-list a:hover { opacity: 0.7; }

/* === Main === */
.site-main {
	max-width: var(--container);
	margin: 0 auto;
	padding: 2rem 24px;
}
.site-main--full {
	max-width: none;
	margin: 0;
	padding: 0;
}

/* === Responsive === */
@media (max-width: 960px) {
	:root { --header-h: 64px; }
	.site-header__inner {
		gap: 16px;
		padding: 0 20px;
	}
	.site-header__logo img { height: 28px; }
	.site-header__toggle { display: inline-flex; padding: 4px; }
	.site-header__toggle svg { width: 26px; height: 26px; }

	/* Header becomes solid when menu open */
	.site-header--menu-open {
		background: #ffffff;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}
	body.has-menu-open { overflow: hidden; }

	/* Full-screen mobile menu */
	.site-header__nav {
		position: fixed;
		top: var(--header-h);
		left: 0;
		right: 0;
		bottom: 0;
		background: #ffffff;
		display: none;
		flex-direction: column;
		gap: 0;
		padding: 48px 20px 32px;
		overflow-y: auto;
	}
	.site-header__nav[data-open="true"] { display: flex; }
	.site-header__menu {
		flex-direction: column;
		gap: 32px;
		justify-content: flex-start;
		align-items: center;
		flex: 0 0 auto;
	}
	.site-header__menu a {
		font-family: var(--font-display);
		font-weight: 500;
		font-size: 24px;
		line-height: 1.2;
		letter-spacing: -0.02em;
		color: #1c4279;
		border-bottom: none;
		padding: 0;
		text-decoration: none;
	}
	.site-header__menu .current-menu-item a {
		text-decoration: underline;
		text-underline-offset: 6px;
		text-decoration-thickness: 1.5px;
		color: #1c4279;
		border-bottom: none;
	}
	.site-header__menu a:hover {
		color: #1c4279;
		border-bottom: none;
	}

	/* Contact block at bottom of mobile menu */
	.site-header__contact {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 20px;
		margin: 48px 0 0;
		flex-shrink: 0;
	}
	.site-header__cta {
		display: inline-flex;
		justify-content: center;
		width: 100%;
		padding: 14px 24px;
	}
	.site-header__email {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 12px;
		color: #1c4279;
		font-family: var(--font-body);
		font-weight: 400;
		font-size: 18px;
		line-height: 1.5;
	}
	.site-header__email-icon {
		display: inline-flex;
		width: 32px;
		height: 32px;
		color: #1c4279;
	}
	.site-header__email-icon svg {
		width: 100%;
		height: 100%;
	}
	.site-header__email-text {
		text-decoration: underline;
		text-underline-offset: 3px;
		text-decoration-thickness: 1.5px;
	}

	/* Footer stacks: brand on top, all 3 columns stacked below */
	.site-footer__main {
		padding: 60px 0 60px;
	}
	.site-footer__inner {
		grid-template-columns: 1fr;
		gap: 40px;
		padding: 0 20px;
	}
	.site-footer__brand {
		gap: 32px;
	}
	.site-footer__columns {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.site-footer__bottom {
		padding: 20px 0 24px;
	}
	.site-footer__bottom-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
		padding: 0 20px;
	}
	.site-footer__legal-list {
		flex-direction: column;
		gap: 18px;
	}
}

/* ==========================================================================
   Single blog post (single.php)
   ========================================================================== */

.ng-article {
	background: #ffffff;
}

.ng-article__header {
	max-width: var(--container, 1240px);
	margin: 0 auto;
	padding: 130px 24px 32px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	text-align: center;
}

.ng-article__breadcrumb {
	font-family: var(--font-body, 'Inter', sans-serif);
	font-size: 14px;
	font-weight: 600;
	color: #1c4279;
	display: flex;
	gap: 6px;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
}

.ng-article__breadcrumb a {
	color: #1c4279;
	text-decoration: none;
	opacity: 0.7;
}

.ng-article__breadcrumb a:hover {
	opacity: 1;
}

.ng-article__crumb-sep {
	opacity: 0.5;
}

.ng-article__crumb-current {
	text-decoration: underline;
}

.ng-article__title {
	font-family: var(--font-display, 'Space Grotesk', sans-serif);
	font-weight: 700;
	font-size: 56px;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #1c4279;
	margin: 0;
	max-width: 900px;
}

.ng-article__featured {
	max-width: var(--container, 1240px);
	margin: 0 auto;
	padding: 0 24px;
}

.ng-article__featured-img {
	display: block;
	width: 100%;
	max-height: 560px;
	object-fit: cover;
}

/* Article body — constrained prose column; full-bleed blocks opt out below. */
.ng-single {
	padding: 56px 0 0;
}

.ng-single > * {
	max-width: 1040px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
}

.ng-single > * + * {
	margin-top: 24px;
}

.ng-single h2,
.ng-single .wp-block-heading.wp-block-heading {
	font-family: var(--font-display, 'Space Grotesk', sans-serif);
	font-weight: 700;
	color: #1c4279;
	letter-spacing: -0.01em;
}

.ng-single h2 {
	font-size: 34px;
	line-height: 1.25;
	margin-top: 40px;
}

.ng-single h3 {
	font-family: var(--font-display, 'Space Grotesk', sans-serif);
	font-weight: 700;
	font-size: 26px;
	line-height: 1.3;
	color: #1c4279;
	margin-top: 40px;
}

.ng-single p {
	font-family: var(--font-body, 'Inter', sans-serif);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.65;
	color: #1c4279;
}

.ng-single p strong,
.ng-single strong {
	font-weight: 700;
}

.ng-single a {
	color: #1c4279;
}

.ng-single ul,
.ng-single ol {
	font-family: var(--font-body, 'Inter', sans-serif);
	font-size: 16px;
	line-height: 1.65;
	color: #1c4279;
	padding-left: 22px;
}

.ng-single .wp-block-separator {
	border: 0;
	border-top: 1px solid #c9d3e0;
	margin-top: 40px;
	margin-bottom: 8px;
	opacity: 1;
	width: 100%;
}

.ng-single .wp-block-image {
	margin-top: 32px;
}

.ng-single .wp-block-image img {
	display: block;
	margin: 0 auto;
	max-width: 720px;
	width: 100%;
	height: auto;
}

/* Full-bleed blocks inside the article opt out of the prose column. */
.ng-single > .wp-block-novaglass-post-conclusion {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
	margin-top: 56px;
}

/* …but their inner content stays aligned with the prose column (24px gutter). */
.ng-single > .wp-block-novaglass-post-conclusion .ng-post-conclusion__inner {
	padding-left: 24px;
	padding-right: 24px;
}

.ng-single > .wp-block-novaglass-post-featured {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

@media screen and ( max-width: 768px ) {
	.ng-article__header {
		padding: 100px 20px 24px;
	}

	.ng-article__title {
		font-size: 36px;
	}

	.ng-single h2 {
		font-size: 26px;
	}

	.ng-single h3 {
		font-size: 22px;
	}
}

