:root {
	--bg: #050505;
	--bg-deep: #010101;
	--surface: #111111;
	--surface-soft: #191714;
	--surface-line: rgba(228, 178, 64, 0.24);
	--text: #f7f3e8;
	--muted: #c9c0ac;
	--dim: #938a77;
	--gold: #e6b325;
	--gold-strong: #ffd15c;
	--green: #4bb88f;
	--blue: #6aa9ff;
	--danger: #ff8f70;
	--content: min(1120px, calc(100vw - 36px));
	--article: min(940px, calc(100vw - 36px));
	font-size: 16px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 42%, #080705 100%);
	color: var(--text);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.72;
	overflow-x: hidden;
}

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

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	color: var(--gold-strong);
}

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

.skip-link:focus {
	top: 12px;
	left: 12px;
	z-index: 1000;
	width: auto;
	height: auto;
	padding: 10px 14px;
	background: var(--gold);
	color: #101010;
	clip: auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: rgba(3, 3, 3, 0.94);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(14px);
}

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

.site-brand {
	display: inline-flex;
	align-items: center;
	min-width: 116px;
}

.custom-logo,
.site-brand-logo {
	width: auto;
	max-width: 152px;
	max-height: 42px;
	object-fit: contain;
}

.site-brand-text {
	font-weight: 900;
	font-size: 1.35rem;
	color: var(--gold);
	letter-spacing: 0;
}

.primary-navigation {
	flex: 1 1 auto;
	margin-left: auto;
}

.primary-navigation ul,
.footer-navigation ul {
	display: flex;
	align-items: center;
	gap: 10px 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-navigation ul {
	justify-content: flex-end;
	flex-wrap: wrap;
}

.primary-navigation a {
	color: var(--muted);
	font-size: 0.85rem;
	font-weight: 700;
	white-space: nowrap;
}

.primary-navigation a:hover {
	color: var(--text);
}

.menu-toggle {
	display: none;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 6px;
	background: #0f0f10;
	cursor: pointer;
}

.menu-toggle span:not(.screen-reader-text) {
	display: block;
	width: 18px;
	height: 2px;
	margin: 5px auto;
	background: var(--gold);
}

.hero-section {
	padding: 54px 0 30px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-section__inner {
	width: var(--content);
	margin: 0 auto;
	text-align: center;
}

.hero-kicker {
	margin: 0 0 14px;
	color: var(--gold);
	font-size: 0.86rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0;
}

.hero-section h1,
.page-hero h1 {
	max-width: 960px;
	margin: 0 auto;
	color: #fff;
	font-size: 4.2rem;
	line-height: 1.04;
	font-weight: 900;
	letter-spacing: 0;
}

.hero-copy {
	max-width: 770px;
	margin: 18px auto 24px;
	color: var(--muted);
	font-size: 1.08rem;
}

.primary-action,
.search-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 13px 22px;
	border: 0;
	border-radius: 6px;
	background: var(--gold);
	color: #111;
	font-weight: 900;
	line-height: 1.2;
	cursor: pointer;
	box-shadow: 0 14px 32px rgba(230, 179, 37, 0.2);
	transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.primary-action:hover,
.search-submit:hover {
	color: #111;
	background: var(--gold-strong);
	transform: translateY(-1px);
	box-shadow: 0 16px 38px rgba(230, 179, 37, 0.28);
}

.hero-note {
	max-width: 780px;
	margin: 16px auto 0;
	color: var(--dim);
	font-size: 0.94rem;
}

.hero-visual {
	width: min(1040px, 100%);
	margin: 32px auto 0;
	border: 1px solid var(--surface-line);
	border-radius: 8px;
	overflow: hidden;
	background: var(--surface);
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.hero-visual img {
	width: 100%;
	aspect-ratio: 16 / 8;
	object-fit: cover;
}

.content-river {
	padding: 34px 0 70px;
}

.content-river__inner,
.page-shell,
.post-grid {
	width: var(--article);
	margin: 0 auto;
}

.longform-article,
.page-shell {
	color: var(--text);
	font-size: 1.02rem;
}

.longform-article > *,
.page-shell > * {
	max-width: 820px;
	margin-left: auto;
	margin-right: auto;
}

.longform-article h2,
.page-shell h2 {
	margin-top: 42px;
	margin-bottom: 14px;
	color: #fff;
	font-size: 1.72rem;
	line-height: 1.2;
	letter-spacing: 0;
}

.longform-article h3,
.page-shell h3 {
	margin-top: 30px;
	margin-bottom: 10px;
	color: var(--gold-strong);
	font-size: 1.18rem;
	line-height: 1.28;
	letter-spacing: 0;
}

.longform-article p,
.page-shell p,
.longform-article li,
.page-shell li {
	color: var(--muted);
}

.longform-article a,
.page-shell a,
.text-link {
	color: var(--gold-strong);
	border-bottom: 1px solid rgba(255, 209, 92, 0.38);
}

.longform-article ul,
.page-shell ul,
.longform-article ol,
.page-shell ol {
	padding-left: 1.2rem;
}

.wp-block-image,
.longform-article figure {
	max-width: 100%;
	margin-top: 34px;
	margin-bottom: 30px;
}

.wp-block-image img,
.longform-article figure img,
.page-shell figure img {
	width: 100%;
	border-radius: 8px;
	border: 1px solid var(--surface-line);
	background: var(--surface);
}

.wp-block-image figcaption {
	margin-top: 10px;
	color: var(--dim);
	font-size: 0.9rem;
	text-align: center;
}

.wp-block-group {
	max-width: 900px;
	margin: 32px auto;
	padding: 22px;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 8px;
	background: var(--surface-soft);
}

.wp-block-table {
	max-width: 900px;
	overflow-x: auto;
}

.wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	background: var(--surface);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.wp-block-table th,
.wp-block-table td {
	padding: 13px 14px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	text-align: left;
	vertical-align: top;
}

.wp-block-table th {
	color: #fff;
	background: rgba(230, 179, 37, 0.12);
}

.wp-block-yoast-faq-block,
.schema-faq {
	max-width: 900px;
	margin: 40px auto;
	display: grid;
	gap: 14px;
}

.schema-faq-section {
	padding: 18px;
	border-radius: 8px;
	border: 1px solid rgba(230, 179, 37, 0.2);
	background: #11100e;
}

.schema-faq-question {
	margin: 0 0 8px;
	color: #fff;
	font-size: 1rem;
	font-weight: 900;
}

.schema-faq-answer,
.schema-faq-answer p {
	margin: 0;
	color: var(--muted);
}

.page-hero {
	width: var(--content);
	margin: 0 auto 34px;
	padding: 54px 0 24px;
	text-align: center;
}

.page-hero h1 {
	font-size: 3.2rem;
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	padding-bottom: 70px;
}

.post-card {
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	background: var(--surface);
	overflow: hidden;
}

.post-card__image img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.post-card__body {
	padding: 20px;
}

.post-card h2 {
	margin: 0 0 10px;
	font-size: 1.35rem;
	line-height: 1.25;
}

.post-card__meta {
	margin: 0 0 8px;
	color: var(--gold);
	font-size: 0.82rem;
	font-weight: 800;
}

.search-form {
	display: flex;
	justify-content: center;
	gap: 10px;
	max-width: 640px;
	margin: 20px auto 0;
}

.search-field {
	width: min(420px, 100%);
	min-height: 48px;
	padding: 12px 14px;
	border-radius: 6px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: #0e0e0e;
	color: var(--text);
}

.site-footer {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	background: #030303;
}

.site-footer__inner {
	width: var(--content);
	margin: 0 auto;
	padding: 38px 0 28px;
	display: grid;
	grid-template-columns: 1.2fr 0.9fr 0.9fr;
	gap: 28px;
}

.footer-brand p,
.footer-contact p,
.site-footer__bottom {
	color: var(--muted);
	font-size: 0.93rem;
}

.footer-contact h2 {
	margin: 0 0 12px;
	color: #fff;
	font-size: 1.05rem;
}

.footer-contact span {
	color: var(--gold);
	font-weight: 800;
}

.footer-contact-note {
	max-width: 36rem;
	padding-top: 10px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	line-height: 1.7;
}

.footer-navigation ul {
	align-items: flex-start;
	flex-direction: column;
}

.footer-navigation a {
	color: var(--muted);
	font-weight: 700;
}

.site-footer__bottom {
	width: var(--content);
	margin: 0 auto;
	padding: 0 0 24px;
}

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

	.menu-toggle {
		display: inline-block;
	}

	.primary-navigation {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 58px;
		padding: 14px 18px 18px;
		background: #050505;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	.primary-navigation.is-open {
		display: block;
	}

	.primary-navigation ul {
		align-items: flex-start;
		flex-direction: column;
	}

	.hero-section {
		padding-top: 38px;
	}

	.hero-section h1 {
		font-size: 2.55rem;
	}

	.page-hero h1 {
		font-size: 2.2rem;
	}

	.site-footer__inner,
	.post-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 520px) {
	:root {
		--content: min(100vw - 24px, 1120px);
		--article: min(100vw - 24px, 940px);
	}

	.hero-section h1 {
		font-size: 2.05rem;
	}

	.hero-copy,
	.longform-article,
	.page-shell {
		font-size: 0.98rem;
	}

	.longform-article h2,
	.page-shell h2 {
		font-size: 1.42rem;
	}

	.search-form {
		flex-direction: column;
	}

	.search-field,
	.search-submit {
		width: 100%;
	}
}
