:root {
	--color-navy: var(--e-global-color-primary, #0a1c3a);
	--color-gold: var(--e-global-color-secondary, #c7a766);
	--color-text: var(--e-global-color-text, #1d2738);
	--color-accent: var(--e-global-color-accent, #10294f);
	--color-navy-deep: #06122a;
	--color-navy-soft: #1a3d72;
	--color-gold-strong: #b08f4c;
	--color-gold-line: #e9ddbf;
	--color-gold-soft: #f6f0e1;
	--color-gold-ink: #7e6327;
	--color-silver: #f3f5f8;
	--color-silver-raised: #e8ecf2;
	--color-line: #d7dde6;
	--color-line-strong: #9aa3b2;
	--color-ink: #0b1626;
	--color-muted: #46526a;
	--color-surface: #fff;
	--color-on-navy: #c9d2e1;
	--color-on-navy-muted: #aeb9cc;
	--font-display: var(--e-global-typography-primary-font-family, "Noto Serif Display"), Georgia, "Times New Roman", serif;
	--font-body: var(--e-global-typography-text-font-family, "Hanken Grotesk"), "Segoe UI", system-ui, sans-serif;
	--text-sm: 0.875rem;
	--text-base: 1.125rem;
	--text-lead: 1.25rem;
	--text-h4: 1.25rem;
	--text-h3: 1.5rem;
	--text-h2: 2.5rem;
	--text-h1: 3rem;
	--container: 1600px;
	--gutter: 3rem;
	--section-space: clamp(4rem, 2.5rem + 5vw, 8rem);
	--radius-s: 6px;
	--radius-m: 8px;
	--radius-l: 12px;
	--shadow-lift: 0 18px 40px rgba(6, 18, 42, 0.1);
	--shadow-panel: 0 18px 40px rgba(6, 18, 42, 0.16), 0 0 0 1px var(--color-line);
	--ease-out: cubic-bezier(0.23, 1, 0.32, 1);
	--header-height: 5.5rem;
	--header-top: var(--wp-admin--admin-bar--height, 0px);
	--z-header: 60;
	--z-float: 55;
	--z-dialog: 80;
}

@media (max-width: 1024px) {
	:root {
		--gutter: 2rem;
		--text-h1: 2.625rem;
		--text-h2: 2.125rem;
	}
}

@media (max-width: 767px) {
	:root {
		--text-base: 1.0625rem;
		--text-h1: 2rem;
		--text-h2: 1.6875rem;
		--text-h3: 1.3125rem;
		--header-height: 4.5rem;
	}
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-height) + var(--header-top) + 1rem);
	overflow-x: clip;
}

body {
	margin: 0;
	background: var(--color-surface);
	color: var(--color-text);
	font-family: var(--font-body);
	font-size: var(--text-base);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}

[hidden] {
	display: none !important;
}

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

img {
	display: block;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	color: var(--color-ink);
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

h1 {
	font-size: var(--text-h1);
	line-height: 1.1;
}

h2 {
	font-size: var(--text-h2);
	line-height: 1.15;
}

h3 {
	font-size: var(--text-h3);
	line-height: 1.25;
}

h4 {
	font-size: var(--text-h4);
	line-height: 1.3;
}

p {
	margin: 0;
	text-wrap: pretty;
}

button,
input,
select,
textarea {
	margin: 0;
	color: inherit;
	font: inherit;
}

button {
	cursor: pointer;
}

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

input:is([type="text"], [type="email"], [type="tel"], [type="url"], [type="number"], [type="search"], [type="password"], [type="date"]),
select,
textarea {
	width: 100%;
	min-height: 3rem;
	padding: 0.75rem 1rem;
	border: 1px solid var(--color-line);
	border-radius: var(--radius-s);
	background: var(--color-surface);
	color: var(--color-text);
	transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

input::placeholder,
textarea::placeholder {
	color: var(--color-muted);
	opacity: 1;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: none;
	border-color: var(--color-navy-soft);
	box-shadow: 0 0 0 3px rgba(199, 167, 102, 0.35);
}

.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;
}

.skip-link {
	position: absolute;
	top: 0.5rem;
	left: -999rem;
	z-index: 200;
	padding: 0.75rem 1rem;
	border-radius: var(--radius-s);
	background: var(--color-surface);
	color: var(--color-navy);
	font-weight: 600;
}

.skip-link:focus {
	left: 0.5rem;
}

.icon {
	width: 1.5rem;
	height: 1.5rem;
	flex: none;
}

.section {
	display: flex;
	width: 100%;
	padding: 0;
}

.container {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.625rem;
	min-height: 3rem;
	padding: 0 1.5rem;
	border: 1.5px solid transparent;
	border-radius: var(--radius-s);
	font: 600 1rem/1.2 var(--font-body);
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), transform 0.16s var(--ease-out);
}

.btn .icon {
	width: 1.125rem;
	height: 1.125rem;
	transition: transform 0.2s var(--ease-out);
}

.btn:hover .icon-arrow {
	transform: translateX(3px);
}

.btn:active {
	transform: scale(0.98);
}

.btn--gold {
	background: var(--color-gold);
	color: var(--color-navy-deep);
}

.btn--gold:hover {
	background: var(--color-gold-strong);
	box-shadow: 0 10px 24px rgba(6, 18, 42, 0.18);
	transform: translateY(-1px);
}

.btn--navy {
	background: var(--color-accent);
	color: #fff;
}

.btn--navy:hover {
	background: var(--color-navy-soft);
	box-shadow: 0 10px 24px rgba(6, 18, 42, 0.18);
	transform: translateY(-1px);
}

.btn--outline {
	border-color: var(--color-accent);
	color: var(--color-accent);
}

.btn--outline:hover {
	background: var(--color-accent);
	color: #fff;
}

.btn--light {
	border-color: rgba(255, 255, 255, 0.7);
	color: #fff;
}

.btn--light:hover {
	background: #fff;
	color: var(--color-navy);
}

.btn--block {
	width: 100%;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 2.75rem;
	color: var(--color-accent);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--color-gold);
	text-decoration-thickness: 1px;
	text-underline-offset: 7px;
	transition: text-decoration-thickness 0.2s var(--ease-out), text-underline-offset 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.link-arrow .icon {
	width: 1rem;
	height: 1rem;
	transition: transform 0.2s var(--ease-out);
}

.link-arrow:hover {
	color: var(--color-navy);
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}

.link-arrow:hover .icon {
	transform: translateX(3px);
}

.breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.625rem;
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
	color: var(--color-muted);
	font-size: 0.9375rem;
}

.breadcrumb__item {
	display: flex;
	align-items: center;
	gap: 0.625rem;
}

.breadcrumb__item + .breadcrumb__item::before {
	content: "/";
	color: var(--color-line-strong);
}

.breadcrumb__item a {
	text-decoration: underline;
	text-decoration-color: var(--color-line-strong);
	text-underline-offset: 4px;
}

.breadcrumb__item a:hover {
	color: var(--color-accent);
	text-decoration-color: var(--color-gold);
}

.page-hero {
	display: flex;
	width: 100%;
	padding-block: clamp(3rem, 2rem + 4vw, 6rem);
	background: var(--color-silver);
}

.page-hero__title {
	max-width: 24ch;
	font-size: var(--text-h1);
	line-height: 1.1;
}

.page-hero__lead {
	max-width: 60ch;
	margin-top: 1.5rem;
	font-size: var(--text-lead);
	line-height: 1.55;
}

.entry-content {
	max-width: 76ch;
}

.entry-content > * + * {
	margin-top: 1rem;
}

.entry-content :is(h2, h3, h4) {
	margin-top: 3rem;
}

.entry-content h2 {
	font-size: 1.75rem;
}

.entry-content :is(h2, h3, h4) + * {
	margin-top: 1rem;
}

.entry-content :is(ul, ol) {
	padding-left: 1.375rem;
}

.entry-content li + li {
	margin-top: 0.5rem;
}

.entry-content a {
	color: var(--color-accent);
	text-decoration-color: var(--color-gold);
	text-underline-offset: 4px;
}

.entry-content blockquote {
	margin-inline: 0;
	padding: 1.5rem 2rem;
	border-radius: var(--radius-m);
	background: var(--color-gold-soft);
	font-family: var(--font-display);
	font-size: var(--text-lead);
	color: var(--color-ink);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 1rem;
}

.entry-content :is(th, td) {
	padding: 0.75rem 1rem;
	border-bottom: 1px solid var(--color-line);
	text-align: left;
	vertical-align: top;
}

.entry-content th {
	color: var(--color-ink);
	font-weight: 600;
}

.entry-content figure {
	margin-inline: 0;
}

.entry-content figcaption {
	margin-top: 0.5rem;
	color: var(--color-muted);
	font-size: var(--text-sm);
}

.entry-content img {
	border-radius: var(--radius-m);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}
