:root {
	--uem-header-height: 4.85rem;
}

body {
	margin: 0;
	overflow-x: hidden;
}

:focus-visible {
	outline: 2px solid var(--wp--preset--color--brass);
	outline-offset: 3px;
}

.uem-skip-link {
	position: absolute;
	left: -999px;
	top: 0.75rem;
	z-index: 1000;
	padding: 0.5rem 0.85rem;
	background: var(--wp--preset--color--brass);
	color: var(--wp--preset--color--midnight-navy);
	font-family: var(--wp--preset--font-family--ui);
	font-weight: 600;
	text-decoration: none;
}

.uem-skip-link:focus {
	left: 0.75rem;
}

.uem-site-header {
	background: var(--wp--preset--color--midnight-navy);
	color: var(--wp--preset--color--weathered-white);
	border-bottom: 2px solid var(--wp--preset--color--brass);
	position: sticky;
	top: 0;
	z-index: 200;
}

.uem-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	max-width: 72rem;
	margin: 0 auto;
	min-height: var(--uem-header-height);
	padding: 0.5rem 1.25rem;
	position: relative;
}

.uem-brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
	color: inherit;
	min-width: 0;
}

.uem-brand img,
.uem-site-badge {
	width: 3.6rem;
	height: 3.6rem;
	display: block;
	object-fit: contain;
	flex-shrink: 0;
}

.uem-brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.05;
}

.uem-brand-name {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 0.95rem;
}

.uem-brand-hull {
	font-family: var(--wp--preset--font-family--ui);
	font-size: 0.75rem;
	letter-spacing: 0.18em;
	color: var(--wp--preset--color--brass);
}

.uem-nav-toggle {
	display: none;
	background: transparent;
	color: var(--wp--preset--color--weathered-white);
	border: 1px solid var(--wp--preset--color--brass);
	padding: 0.4rem 0.75rem;
	font-family: var(--wp--preset--font-family--ui);
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
}

.uem-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.15rem 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
	justify-content: flex-end;
}

.uem-nav a {
	color: var(--wp--preset--color--weathered-white);
	text-decoration: none;
	font-family: var(--wp--preset--font-family--ui);
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.25rem 0;
	border-bottom: 1px solid transparent;
}

.uem-nav a:hover,
.uem-nav a[aria-current="page"] {
	color: var(--wp--preset--color--brass);
	border-bottom-color: var(--wp--preset--color--brass);
}

.uem-hero,
.uem-section {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	box-sizing: border-box;
}

.uem-hero {
	background-color: var(--wp--preset--color--deep-navy);
	background-image:
		linear-gradient(180deg, rgba(7, 16, 24, 0.2), rgba(7, 16, 24, 0.55)),
		repeating-linear-gradient(0deg, transparent, transparent 47px, rgba(201, 162, 74, 0.08) 48px),
		repeating-linear-gradient(90deg, transparent, transparent 47px, rgba(201, 162, 74, 0.08) 48px);
	color: var(--wp--preset--color--weathered-white);
	padding: 3rem 0 4rem;
}

.uem-hero-banner {
	padding: 0;
	background-image: none;
}

.uem-hero-figure {
	margin: 0;
	line-height: 0;
}

.uem-hero-figure img,
.uem-hero-banner img {
	width: 100%;
	max-width: none;
	height: auto;
	margin: 0;
	display: block;
}

.uem-hero-panel {
	max-width: 44rem;
	margin: 0 auto;
	padding: 1.5rem 1.25rem 2.25rem;
	text-align: center;
}

.uem-hero-inner {
	max-width: 44rem;
	margin: 0 auto;
	text-align: center;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}

.uem-kicker {
	font-family: var(--wp--preset--font-family--display);
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--wp--preset--color--brass);
	font-size: 1rem;
	margin: 0 0 0.35rem;
}

.uem-hull {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: var(--wp--preset--font-size--hull);
	letter-spacing: 0.12em;
	margin: 0;
	line-height: 0.9;
}

.uem-welcome {
	font-family: var(--wp--preset--font-family--body);
	font-size: clamp(1.5rem, 4vw, 2.25rem);
	font-weight: 600;
	margin: 1rem 0 0.75rem;
	text-transform: none;
	letter-spacing: 0;
	line-height: 1.25;
}

.uem-hero p,
.uem-prose p {
	margin: 0 0 1rem;
}

.uem-hero-panel .uem-lede {
	color: var(--wp--preset--color--deck-gray);
	margin-bottom: 0.25rem;
}

.uem-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	margin-top: 1.5rem;
}

.uem-hero-inner .uem-actions {
	justify-content: flex-start;
}

button.uem-button {
	cursor: pointer;
	appearance: none;
	border-radius: 0;
}

.uem-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.7rem 1.15rem;
	font-family: var(--wp--preset--font-family--ui);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	border: 1px solid var(--wp--preset--color--brass);
}

.uem-button-primary {
	background: var(--wp--preset--color--brass);
	color: var(--wp--preset--color--midnight-navy);
}

.uem-button-secondary {
	background: transparent;
	color: var(--wp--preset--color--weathered-white);
}

.uem-button-ghost {
	background: transparent;
	color: var(--wp--preset--color--deep-navy);
	border-color: var(--wp--preset--color--gunmetal);
}

.uem-section {
	padding: 3.5rem 0;
}

.uem-section-dark {
	background: var(--wp--preset--color--deep-navy);
	color: var(--wp--preset--color--weathered-white);
}

.uem-section-steel {
	background: #e7e2d6;
}

.uem-section h2 {
	margin: 0 0 0.75rem;
}

.uem-section-dark h2,
.uem-section-dark a.uem-button-ghost {
	color: var(--wp--preset--color--weathered-white);
}

.uem-section-dark a.uem-button-ghost {
	border-color: var(--wp--preset--color--brass);
}

.uem-meta {
	font-family: var(--wp--preset--font-family--ui);
	font-size: 0.8rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gunmetal);
	margin: 0 0 0.5rem;
}

.uem-section-dark .uem-meta {
	color: var(--wp--preset--color--brass);
}

.uem-meta a {
	color: inherit;
	text-decoration: none;
}

.uem-meta a:hover,
.uem-meta a:focus {
	text-decoration: underline;
}

.uem-archive-intro {
	margin: 0 0 2rem;
}

.uem-featured {
	margin: 1rem 0 1.5rem;
	background: var(--wp--preset--color--hull-navy);
}

.uem-featured a {
	display: block;
}

.uem-featured img,
.uem-featured-img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid var(--wp--preset--color--gunmetal);
}

.uem-feed {
	max-width: 72rem;
	margin: 0 auto;
	padding: 0 1.25rem;
}

.uem-feed h1 {
	margin: 0 0 1.5rem;
}

.uem-feed .search-form {
	margin-bottom: 1.75rem;
}

.uem-card-grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: 1fr;
	align-items: stretch;
}

.uem-post-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--wp--preset--color--hull-navy);
	color: var(--wp--preset--color--weathered-white);
	border-left: 6px solid var(--wp--preset--color--brass);
	overflow: hidden;
	box-sizing: border-box;
}

.uem-post-card-media {
	display: block;
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--wp--preset--color--midnight-navy);
	overflow: hidden;
}

.uem-post-card-media img,
.uem-post-card-img {
	display: block;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	border: 0;
}

.uem-post-card-copy {
	padding: 0.85rem 1.15rem 1.15rem;
	flex: 1;
}

.uem-kicker {
	font-family: var(--wp--preset--font-family--ui);
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--brass);
	margin: 0 0 0.45rem;
}

.uem-kicker a {
	color: inherit;
	text-decoration: none;
}

.uem-kicker a:hover,
.uem-kicker a:focus {
	text-decoration: underline;
}

.uem-post-card h3 {
	margin: 0 0 0.45rem;
	font-size: 1.15rem;
}

.uem-post-card h3 a {
	color: var(--wp--preset--color--weathered-white);
	text-decoration: none;
}

.uem-post-card h3 a:hover,
.uem-post-card h3 a:focus {
	color: var(--wp--preset--color--brass);
}

.uem-post-card .uem-meta {
	color: var(--wp--preset--color--deck-gray);
	margin: 0;
}

.uem-feed .navigation {
	margin-top: 2rem;
}

.uem-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr;
}

.uem-card {
	border: 1px solid var(--wp--preset--color--deck-gray);
	background: var(--wp--preset--color--weathered-white);
	padding: 1.25rem;
}

.uem-section-dark .uem-card {
	background: var(--wp--preset--color--hull-navy);
	border-color: var(--wp--preset--color--gunmetal);
	color: var(--wp--preset--color--weathered-white);
}

.uem-card h3 {
	margin: 0 0 0.5rem;
	font-size: 1.05rem;
}

.uem-empty {
	font-family: var(--wp--preset--font-family--ui);
	color: var(--wp--preset--color--gunmetal);
	margin: 0;
}

.uem-section-dark .uem-empty {
	color: var(--wp--preset--color--deck-gray);
}

.uem-site-footer {
	background: var(--wp--preset--color--midnight-navy);
	color: var(--wp--preset--color--weathered-white);
	padding: 3rem 0 2rem;
	margin-top: 0;
	border-top: 2px solid var(--wp--preset--color--brass);
}

.uem-footer-inner {
	display: grid;
	gap: 2rem;
	max-width: 72rem;
	margin: 0 auto 2rem;
	padding: 0 1.25rem;
}

.uem-footer-name,
.uem-footer-label {
	font-family: var(--wp--preset--font-family--display);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin: 0.5rem 0 0.25rem;
}

.uem-footer-hull {
	color: var(--wp--preset--color--brass);
	letter-spacing: 0.16em;
	margin: 0;
	font-family: var(--wp--preset--font-family--ui);
	font-size: 0.85rem;
}

.uem-footer-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.uem-footer-nav a {
	color: var(--wp--preset--color--weathered-white);
	text-decoration: none;
	font-family: var(--wp--preset--font-family--ui);
	font-size: 0.95rem;
}

.uem-footer-nav a:hover {
	color: var(--wp--preset--color--brass);
}

.uem-footer-brand img,
.uem-footer-brand .uem-site-badge {
	width: 8rem;
	height: 8rem;
}

.uem-disclaimer,
.uem-copyright {
	max-width: 72rem;
	margin: 0 auto 0.75rem;
	padding: 0 1.25rem;
	font-family: var(--wp--preset--font-family--ui);
	font-size: 0.85rem;
	color: var(--wp--preset--color--deck-gray);
}

.uem-page-main,
.uem-search-main,
.uem-404 {
	padding: 3rem 0 4rem;
}

.uem-page-inner {
	max-width: 44rem;
	margin: 0 auto;
	padding: 0 1.25rem;
}

.uem-404 {
	text-align: center;
}

.uem-join h2 {
	margin: 1.5rem 0 0.75rem;
	font-size: 1.35rem;
}

.uem-steps {
	margin: 0 0 1.25rem;
	padding-left: 1.25rem;
}

.uem-steps li {
	margin-bottom: 0.4rem;
}

.uem-notice {
	border-left: 6px solid var(--wp--preset--color--brass);
	background: #e7e2d6;
	padding: 1rem 1.15rem;
	margin: 0 0 1.5rem;
}

.uem-notice p:last-child {
	margin-bottom: 0;
}

.uem-notice-error {
	border-left-color: var(--wp--preset--color--signal-red);
}

.uem-hp {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}

.uem-form fieldset {
	border: 1px solid var(--wp--preset--color--deck-gray);
	margin: 0 0 1.25rem;
	padding: 1rem 1.15rem 0.25rem;
}

.uem-form legend {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0 0.4rem;
}

.uem-field {
	margin: 0 0 1rem;
}

.uem-field label {
	display: block;
	font-family: var(--wp--preset--font-family--ui);
	font-size: 0.9rem;
	margin-bottom: 0.35rem;
}

.uem-req,
.uem-field-hint {
	font-family: var(--wp--preset--font-family--ui);
	font-size: 0.8rem;
	color: var(--wp--preset--color--gunmetal);
	font-weight: 400;
}

.uem-field-hint {
	display: block;
	margin: 0 0 0.85rem;
}

.uem-form input,
.uem-form select,
.uem-form textarea {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 0.55rem 0.7rem;
	border: 1px solid var(--wp--preset--color--gunmetal);
	background: #fff;
	color: var(--wp--preset--color--deep-navy);
	font-family: var(--wp--preset--font-family--ui);
	font-size: 1rem;
	border-radius: 0;
}

.uem-form-grid {
	display: grid;
	gap: 0 1rem;
	grid-template-columns: 1fr;
}

.uem-sign-in {
	margin-top: 1.75rem;
}

@media (min-width: 48rem) {
	.uem-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.uem-card-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.uem-form-grid {
		grid-template-columns: 1fr 1fr;
	}

	.uem-footer-inner {
		grid-template-columns: 1.2fr 1fr 1fr 1fr;
	}
}

@media (min-width: 64rem) {
	.uem-grid-3 {
		grid-template-columns: repeat(3, 1fr);
	}

	.uem-card-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 71.99rem) {
	.uem-nav-toggle {
		display: inline-flex;
	}

	.uem-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		background: var(--wp--preset--color--hull-navy);
		padding: 1rem 1.25rem 1.25rem;
		border-bottom: 1px solid var(--wp--preset--color--brass);
	}

	.uem-nav.is-open {
		display: block;
	}

	.uem-nav ul {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.65rem;
	}

	.uem-site-header {
		position: sticky;
	}
}

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