:root {
	--bg: #050505;
	--bg-soft: #0b0b0d;
	--surface: #121214;
	--surface-2: #191714;
	--text: #f8f7f2;
	--muted: #c8c3b8;
	--dim: #8f897d;
	--gold: #e6b325;
	--gold-strong: #ffc83d;
	--gold-dark: #9f6b09;
	--border: rgba(230, 179, 37, 0.22);
	--shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
	--content: min(1120px, calc(100vw - 36px));
	--article: min(980px, calc(100vw - 36px));
	font-size: 16px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background:
		radial-gradient(circle at 50% -10%, rgba(230, 179, 37, 0.12), transparent 34rem),
		linear-gradient(180deg, #020202 0%, var(--bg) 40%, #080706 100%);
	color: var(--text);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.7;
	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: #111;
	clip: auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: rgba(3, 3, 3, 0.92);
	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;
}

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

.hero-kicker {
	margin: 0 0 14px;
	color: var(--gold);
	font-size: 0.85rem;
	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: clamp(2.25rem, 5vw, 5.2rem);
	line-height: 1.03;
	font-weight: 900;
	letter-spacing: 0;
}

.hero-copy {
	max-width: 760px;
	margin: 18px auto 24px;
	color: var(--muted);
	font-size: clamp(1rem, 2vw, 1.22rem);
}

.primary-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 13px 24px;
	border: 1px solid rgba(255, 235, 160, 0.42);
	border-radius: 6px;
	background: linear-gradient(180deg, var(--gold-strong), var(--gold));
	color: #151006;
	font-weight: 900;
	box-shadow: 0 14px 36px rgba(230, 179, 37, 0.22);
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.primary-action:hover,
.primary-action:focus-visible {
	color: #100b02;
	transform: translateY(-1px);
	box-shadow: 0 18px 44px rgba(230, 179, 37, 0.31);
	background: #ffd866;
	outline: none;
}

.hero-note {
	max-width: 860px;
	margin: 18px auto 28px;
	color: var(--muted);
	font-size: 0.96rem;
}

.hero-visual,
.wp-block-image,
.single-featured-image {
	margin: 30px auto;
}

.hero-visual img,
.longform-article .wp-block-image img,
.single-featured-image img,
.archive-card__media img {
	width: 100%;
	border-radius: 8px;
	border: 1px solid var(--border);
	background: #111;
	box-shadow: var(--shadow);
}

.hero-visual img {
	max-height: 760px;
	object-fit: cover;
}

.content-river {
	padding: 28px 0 72px;
}

.content-river__inner {
	width: var(--article);
	margin: 0 auto;
}

.longform-article {
	color: var(--muted);
	font-size: 1.08rem;
}

.longform-article > * {
	margin-left: auto;
	margin-right: auto;
}

.longform-article h1,
.longform-article h2,
.longform-article h3 {
	color: #fff;
	line-height: 1.18;
	letter-spacing: 0;
}

.longform-article h1 {
	font-size: clamp(2rem, 4vw, 3.7rem);
	text-align: center;
	margin: 28px auto 18px;
}

.longform-article h2 {
	font-size: clamp(1.55rem, 3vw, 2.45rem);
	margin: 54px auto 16px;
}

.longform-article h3 {
	font-size: clamp(1.2rem, 2.2vw, 1.55rem);
	margin: 30px auto 10px;
}

.longform-article p,
.longform-article ul,
.longform-article ol,
.longform-article .wp-block-yoast-faq-block {
	max-width: 860px;
}

.longform-article p {
	margin-top: 0;
	margin-bottom: 18px;
}

.longform-article ul,
.longform-article ol {
	padding-left: 1.25rem;
}

.longform-article li {
	margin-bottom: 8px;
}

.longform-article .wp-block-group,
.longform-article .wp-block-cover,
.longform-article .wp-block-table,
.longform-article .wp-block-yoast-faq-block {
	margin-top: 26px;
	margin-bottom: 26px;
	padding: 22px;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
}

.longform-article .wp-block-group h2:first-child,
.longform-article .wp-block-group h3:first-child,
.longform-article .wp-block-yoast-faq-block h2:first-child,
.longform-article .wp-block-yoast-faq-block h3:first-child {
	margin-top: 0;
}

.longform-article .wp-block-image {
	max-width: 100%;
}

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

.longform-article a:not(.primary-action) {
	color: var(--gold-strong);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.longform-article .wp-block-table {
	overflow-x: auto;
	padding: 0;
	max-width: 100%;
}

.longform-article table {
	width: 100%;
	min-width: 560px;
	border-collapse: collapse;
	table-layout: fixed;
}

.longform-article th,
.longform-article td {
	padding: 14px;
	border: 1px solid rgba(255, 255, 255, 0.11);
	color: var(--muted);
	text-align: left;
	overflow-wrap: anywhere;
	word-break: normal;
	vertical-align: top;
}

.longform-article th {
	color: #fff;
	background: rgba(230, 179, 37, 0.08);
}

.longform-article table th:first-child,
.longform-article table td:first-child {
	width: 30%;
	font-weight: 800;
	color: #f2e8c9;
}

.wp-block-yoast-faq-block .schema-faq-question {
	display: block;
	margin-top: 18px;
	color: #fff;
	font-weight: 900;
}

.wp-block-yoast-faq-block .schema-faq-answer {
	margin: 8px 0 0;
}

.page-hero {
	padding: 58px 0 20px;
	background: radial-gradient(circle at 50% 0, rgba(230, 179, 37, 0.1), transparent 32rem);
	text-align: center;
}

.page-hero__inner {
	width: var(--content);
	margin: 0 auto;
}

.page-hero p:not(.hero-kicker) {
	max-width: 720px;
	margin: 18px auto;
	color: var(--muted);
}

.archive-main {
	width: var(--content);
	margin: 0 auto;
	padding-bottom: 72px;
}

.archive-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	margin: 34px auto 0;
}

.archive-card {
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: var(--surface);
}

.archive-card__media img {
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.archive-card__body {
	padding: 18px;
}

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

.archive-card h2 {
	margin: 0 0 8px;
	font-size: 1.25rem;
	line-height: 1.25;
}

.archive-card p {
	color: var(--muted);
}

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

.search-field {
	width: 100%;
	min-height: 46px;
	padding: 0 14px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 6px;
	background: #101012;
	color: #fff;
}

.search-submit {
	min-height: 46px;
	padding: 0 18px;
	border: 0;
	border-radius: 6px;
	background: var(--gold);
	color: #101010;
	font-weight: 900;
	cursor: pointer;
}

.site-footer {
	background: #030303;
	border-top: 1px solid rgba(230, 179, 37, 0.22);
}

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

.site-footer p,
.footer-navigation a {
	color: var(--muted);
	font-size: 0.95rem;
}

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

.footer-contact p,
.footer-brand p {
	margin: 10px 0 0;
}

.site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.07);
	padding: 14px 18px;
	text-align: center;
}

.site-footer__bottom p {
	margin: 0;
	color: var(--dim);
	font-size: 0.86rem;
}

.pagination {
	grid-column: 1 / -1;
}

@media (max-width: 900px) {
	:root {
		--content: min(100vw - 28px, 760px);
		--article: min(100vw - 28px, 760px);
	}

	.site-header__inner {
		min-height: 58px;
	}

	.menu-toggle {
		display: block;
	}

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

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

	.primary-navigation ul {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.primary-navigation a {
		display: block;
		padding: 10px 12px;
		border: 1px solid rgba(255, 255, 255, 0.1);
		border-radius: 6px;
		background: #111;
	}

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

	.hero-section h1,
	.page-hero h1 {
		font-size: clamp(2rem, 12vw, 3.15rem);
	}

	.hero-visual img {
		max-height: none;
		object-fit: contain;
	}

	.archive-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-footer__inner {
		grid-template-columns: 1fr;
		padding: 30px 0;
	}
}

@media (max-width: 620px) {
	:root {
		--content: calc(100vw - 24px);
		--article: calc(100vw - 24px);
	}

	.custom-logo,
	.site-brand-logo {
		max-width: 126px;
		max-height: 36px;
	}

	.primary-navigation ul {
		grid-template-columns: 1fr;
	}

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

	.hero-copy,
	.longform-article {
		font-size: 1rem;
	}

	.primary-action {
		width: 100%;
		max-width: 320px;
	}

	.hero-note {
		font-size: 0.9rem;
	}

	.longform-article .wp-block-group,
	.longform-article .wp-block-table,
	.longform-article .wp-block-yoast-faq-block {
		padding: 16px;
	}

	.longform-article h2 {
		margin-top: 42px;
	}

	.archive-grid {
		grid-template-columns: 1fr;
	}

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

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
