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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 132px;
	overflow-x: clip;
}

body {
	margin: 0;
	min-width: 320px;
	overflow-x: clip;
	background: var(--bg-page);
	color: var(--text-on-dark);
	font-family: var(--font-sans);
	font-size: 17px;
	line-height: 1.72;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

body.menu-open {
	overflow: hidden;
}

main p {
	font-size: max(1rem, 1em);
}

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

figure {
	margin: 0;
}

a {
	color: var(--brand-primary-hover);
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
}

a:hover {
	color: #6ee4d8;
}

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

button,
[role="button"],
.clickable-card {
	cursor: pointer;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

:focus-visible {
	outline: 3px solid var(--accent-gold);
	outline-offset: 4px;
}

::selection {
	background: rgba(25, 183, 165, 0.35);
	color: var(--text-on-dark);
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.58em;
	color: inherit;
	font-weight: 750;
	line-height: 1.12;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.3rem, 5.1vw, 4.125rem);
}

h2 {
	font-size: clamp(1.75rem, 3.2vw, 2.5rem);
}

h3 {
	font-size: clamp(1.3rem, 2vw, 1.58rem);
	letter-spacing: -0.02em;
}

p,
ul,
ol,
table,
blockquote {
	margin-top: 0;
	margin-bottom: 1.25rem;
}

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

li + li {
	margin-top: 0.5rem;
}

strong {
	color: inherit;
	font-weight: 750;
}

.container {
	width: min(calc(100% - 40px), var(--container));
	margin-inline: auto;
}

.reading-shell,
.reading-container,
.article-column {
	width: min(calc(100% - 40px), var(--content));
	margin-inline: auto;
}

.screen-reader-text {
	position: absolute;
	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;
	z-index: 100000;
	top: 10px;
	left: 10px;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto;
	background: #fff;
	color: #111;
	border-radius: 8px;
}

.button,
.wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	min-height: 48px;
	padding: 0.78rem 1.25rem;
	border: 1px solid transparent;
	border-radius: var(--radius-pill);
	font-size: 0.96rem;
	font-weight: 760;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.button:hover,
.wp-element-button:hover {
	transform: translateY(-2px);
}

.button--primary,
.wp-block-button:not(.is-style-outline) .wp-element-button {
	background: var(--brand-primary);
	color: #031313;
	box-shadow: 0 12px 28px rgba(25, 183, 165, 0.22);
}

.button--primary:hover,
.wp-block-button:not(.is-style-outline) .wp-element-button:hover {
	background: var(--brand-primary-hover);
	color: #031313;
}

.button--secondary,
.wp-block-button.is-style-outline .wp-element-button {
	border-color: rgba(255, 255, 255, 0.3);
	background: transparent;
	color: var(--text-on-dark);
}

.button--secondary:hover {
	border-color: var(--brand-primary);
	background: rgba(25, 183, 165, 0.08);
	color: var(--text-on-dark);
}

.button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
}

.icon {
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
	color: var(--brand-primary-hover);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.13em;
	line-height: 1.2;
	text-transform: uppercase;
}

.eyebrow::before {
	width: 24px;
	height: 2px;
	background: currentColor;
	content: "";
}

.site-header {
	position: sticky;
	z-index: 1000;
	top: 0;
	background: var(--bg-header);
	border-bottom: 1px solid var(--border-dark);
	backdrop-filter: blur(18px);
	transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
	background: rgba(6, 16, 22, 0.985);
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

.header-inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 1.35rem;
	min-height: var(--header-height);
}

.wordmark {
	display: inline-flex;
	align-items: center;
	gap: 0.72rem;
	flex: 0 0 auto;
	max-width: min(48vw, 220px);
	color: var(--text-on-dark);
	text-decoration: none;
}

.wordmark:hover {
	color: var(--text-on-dark);
}

.wordmark-mark {
	display: grid;
	width: 46px;
	height: 46px;
	place-items: center;
	border: 1px solid rgba(25, 183, 165, 0.5);
	border-radius: 14px 8px 14px 8px;
	background: linear-gradient(145deg, rgba(25, 183, 165, 0.2), rgba(59, 143, 209, 0.12));
	color: var(--brand-primary-hover);
	font-size: 0.82rem;
	font-weight: 850;
	letter-spacing: 0.02em;
}

.wordmark-logo {
	display: flex;
	width: 92px;
	flex: 0 0 auto;
	align-items: center;
	overflow: hidden;
	border-radius: 4px;
	background: #000;
}

.wordmark-logo img {
	display: block;
	width: 100%;
	height: auto;
}

.wordmark-copy {
	display: grid;
	line-height: 1.08;
}

.wordmark-copy strong {
	font-size: 1.05rem;
	letter-spacing: 0.05em;
}

.wordmark-copy small {
	margin-top: 0.24rem;
	color: var(--text-secondary-dark);
	font-size: 0.7rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.site-header .wordmark-copy small,
.desktop-nav .menu-item-home {
	display: none;
}

.custom-logo-link img,
.custom-logo,
.site-branding img,
.brand-logo img,
.footer-brand img {
	width: auto;
	height: auto;
	max-width: 180px;
	max-height: 56px;
	object-fit: contain;
}

.desktop-nav {
	width: 100%;
	justify-self: stretch;
	min-width: 0;
}

.menu {
	padding: 0;
	margin: 0;
	list-style: none;
}

.primary-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.08rem;
}

.primary-menu > li {
	position: relative;
	margin: 0;
}

.primary-menu > li > a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 0.68rem 0.45rem;
	border-radius: 9px;
	color: var(--text-secondary-dark);
	font-size: 0.8rem;
	font-weight: 680;
	text-decoration: none;
	white-space: nowrap;
}

.primary-menu > li > a:hover,
.primary-menu > .current-menu-item > a,
.primary-menu > .current-menu-ancestor > a,
.primary-menu > li:focus-within > a {
	background: rgba(25, 183, 165, 0.09);
	color: var(--text-on-dark);
}

.primary-menu .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 50%;
	width: 240px;
	padding: 0.65rem;
	margin: 0;
	list-style: none;
	border: 1px solid var(--border-dark);
	border-radius: 14px;
	background: #0a1920;
	box-shadow: var(--shadow-medium);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 8px);
	transition: opacity 160ms ease, visibility 160ms ease, transform 160ms ease;
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu,
.primary-menu li.submenu-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}

.primary-menu .sub-menu li {
	margin: 0;
}

.primary-menu .sub-menu a {
	display: block;
	padding: 0.7rem 0.78rem;
	border-radius: 8px;
	color: var(--text-secondary-dark);
	font-size: 0.88rem;
	text-decoration: none;
}

.primary-menu .sub-menu a:hover,
.primary-menu .sub-menu .current-menu-item > a {
	background: rgba(25, 183, 165, 0.12);
	color: #fff;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.header-link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0.5rem 0.62rem;
	color: var(--text-on-dark);
	font-size: 0.84rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.button--header {
	min-height: 44px;
	padding: 0.68rem 0.95rem;
	background: var(--brand-primary);
	color: #031313;
	font-size: 0.84rem;
}

.menu-toggle {
	display: none;
	width: 48px;
	height: 48px;
	padding: 12px;
	border: 1px solid var(--border-dark);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.04);
	color: #fff;
}

.menu-toggle > span:not(.screen-reader-text) {
	display: block;
	width: 22px;
	height: 2px;
	margin: 4px auto;
	border-radius: 2px;
	background: currentColor;
}

.site-notice {
	position: relative;
	z-index: 1001;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	background: #08171d;
}

.site-notice__inner {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	min-height: 42px;
	padding-block: 0.42rem;
	font-size: 0.76rem;
	line-height: 1.45;
}

.site-notice p {
	flex: 1;
	margin: 0;
	color: var(--text-secondary-dark);
}

.site-notice a {
	flex: 0 0 auto;
	font-weight: 750;
}

.notice-dot {
	width: 8px;
	height: 8px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: var(--warning);
	box-shadow: 0 0 0 5px rgba(233, 185, 78, 0.12);
}

.mobile-drawer,
.drawer-backdrop {
	display: none;
}

.breadcrumb-shell {
	padding-top: 1.25rem;
}

.breadcrumbs {
	font-size: 0.8rem;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding: 0;
	margin: 0;
	list-style: none;
}

.breadcrumbs li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	color: var(--text-secondary-dark);
}

.breadcrumbs li:not(:last-child)::after {
	color: rgba(255, 255, 255, 0.35);
	content: "/";
}

.breadcrumbs a {
	color: var(--text-secondary-dark);
	text-decoration: none;
}

.breadcrumbs a:hover {
	color: var(--brand-primary-hover);
}

.site-main--inner {
	min-height: 60vh;
}

.site-footer {
	padding-top: 4.8rem;
	border-top: 1px solid var(--border-dark);
	background: #040b0f;
}

.footer-grid {
	display: grid;
	grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(150px, 0.8fr));
	gap: 3rem;
}

.site-footer h2 {
	margin-bottom: 1.1rem;
	font-size: 0.92rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.footer-brand p {
	max-width: 360px;
	color: var(--text-secondary-dark);
	font-size: 0.88rem;
}

.wordmark--footer {
	margin-bottom: 1.25rem;
}

.footer-age {
	padding-left: 0.85rem;
	border-left: 3px solid var(--warning);
}

.footer-menu {
	display: grid;
	gap: 0.65rem;
}

.footer-menu li {
	margin: 0;
}

.footer-menu a {
	color: var(--text-secondary-dark);
	font-size: 0.88rem;
	text-decoration: none;
}

.footer-menu a:hover {
	color: var(--brand-primary-hover);
}

.footer-disclosure {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	padding-block: 2rem;
	margin-top: 3.5rem;
	border-top: 1px solid var(--border-dark);
	border-bottom: 1px solid var(--border-dark);
}

.footer-disclosure p {
	margin: 0;
	color: #91a8ae;
	font-size: 0.78rem;
	line-height: 1.65;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 2rem;
	padding-block: 1.4rem 2rem;
	color: #789097;
	font-size: 0.75rem;
}

.footer-bottom p {
	margin: 0;
}

.mobile-action-bar {
	display: none;
}

.not-found-page,
.search-page,
.archive-page,
.site-main--article {
	padding-block: 6rem;
}

.not-found-card {
	max-width: 780px;
	padding: clamp(2rem, 6vw, 5rem);
	border: 1px solid var(--border-dark);
	border-radius: var(--radius-large);
	background: linear-gradient(145deg, var(--bg-card), #0a1b22);
	text-align: center;
}

.error-code {
	margin: 0;
	color: var(--brand-primary);
	font-size: clamp(5rem, 15vw, 9rem);
	font-weight: 850;
	line-height: 0.9;
	letter-spacing: -0.08em;
}

.not-found-card .button-row {
	justify-content: center;
	margin-top: 2rem;
}

.archive-header {
	margin-bottom: 3rem;
}

.archive-list {
	display: grid;
	gap: 1rem;
}

.archive-card {
	padding: 1.6rem;
	border: 1px solid var(--border-dark);
	border-radius: var(--radius-medium);
	background: var(--bg-card);
}

.archive-card h2 {
	font-size: 1.35rem;
}

.archive-card h2 a {
	color: var(--text-on-dark);
	text-decoration: none;
}

.search-form {
	display: flex;
	gap: 0.7rem;
	margin-top: 1.5rem;
}

.search-form label {
	flex: 1;
}

.search-field {
	width: 100%;
	min-height: 50px;
	padding: 0.75rem 1rem;
	border: 1px solid var(--border-dark);
	border-radius: var(--radius-pill);
	background: var(--bg-card);
	color: var(--text-on-dark);
}

.search-form button {
	min-height: 50px;
	padding-inline: 1.2rem;
	border: 0;
	border-radius: var(--radius-pill);
	background: var(--brand-primary);
	color: #031313;
	font-weight: 750;
}

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