/**
 * WAR Theme - Base
 */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	/* clip, not hidden: hidden on the root would kill position:sticky
	   on the rail. Contains the hero photo's deliberate right-edge bleed. */
	overflow-x: clip;
}

body {
	margin: 0;
	/* clip, not hidden - hidden would break the sticky rail */
	overflow-x: clip;
	background: var(--war-black);
	color: var(--war-text);
	font-family: var(--war-font);
	font-size: var(--war-fs-body);
	line-height: var(--war-lh-body);
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-feature-settings: "cv11", "ss01";
	font-variant-numeric: tabular-nums;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
ul,
ol {
	margin: 0;
	padding: 0;
}

ul,
ol {
	list-style: none;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color var(--war-t), opacity var(--war-t);
}

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

button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

:focus-visible {
	outline: 2px solid var(--war-yellow);
	outline-offset: 3px;
	border-radius: var(--war-r-sm);
}

::selection {
	background: var(--war-yellow);
	color: #000;
}

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

.war-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	padding: var(--war-s3) var(--war-s5);
	background: var(--war-yellow);
	color: #000;
	font-size: var(--war-fs-sm);
	font-weight: 600;
}

.war-skip-link:focus {
	left: var(--war-s5);
	top: var(--war-s5);
}

/* Section label - the repeating structural device across the page */
.war-eyebrow {
	font-size: var(--war-fs-section);
	font-weight: 600;
	letter-spacing: var(--war-ls-section);
	text-transform: uppercase;
	color: var(--war-text);
	margin: 0;
}

.war-eyebrow--dim {
	color: var(--war-text-mute);
	font-weight: 500;
}

.war-meta {
	font-size: var(--war-fs-meta);
	font-weight: 600;
	letter-spacing: var(--war-ls-meta);
	text-transform: uppercase;
	color: var(--war-text-mute);
}

.war-link-all {
	font-size: var(--war-fs-label);
	color: var(--war-yellow);
	font-weight: 500;
}

.war-link-all:hover {
	color: var(--war-yellow-hover);
}

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

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