:root {
	--pcq-navy: #071a2b;
	--pcq-ivory: #f4efe5;
	--pcq-red: #b9252a;
	--pcq-steel: #78909c;
	--pcq-amber: #d99a2b;
	--pcq-white: #fff;
	--pcq-rail-width: 170px;
	--pcq-focus: 3px solid var(--pcq-amber);
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--pcq-ivory);
	color: var(--pcq-navy);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
	color: inherit;
}

a:focus-visible,
button:focus-visible {
	outline: var(--pcq-focus);
	outline-offset: 4px;
}

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

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.site-shell {
	display: grid;
	grid-template-columns: var(--pcq-rail-width) minmax(0, 1fr);
	min-height: 100vh;
}

.site-canvas {
	grid-column: 2;
	min-width: 0;
}

.site-main {
	min-height: 80vh;
	padding: clamp(2rem, 6vw, 7rem);
}

.content-entry {
	max-width: 760px;
	margin-inline: auto;
}

.entry-title {
	font-size: clamp(2.5rem, 6vw, 5rem);
	line-height: 0.98;
}

.site-footer {
	display: flex;
	justify-content: space-between;
	gap: 2rem;
	padding: 2rem clamp(2rem, 6vw, 7rem);
	background: var(--pcq-navy);
	color: var(--pcq-white);
}

.skip-link:focus {
	position: fixed;
	top: 1rem;
	left: 1rem;
	z-index: 1000;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	overflow: visible;
	clip: auto;
	white-space: normal;
	background: var(--pcq-white);
	color: var(--pcq-navy);
}

@media (max-width: 781px) {

	.site-shell {
		display: block;
	}

	.site-canvas {
		grid-column: auto;
	}

	.has-js .site-shell {
		display: grid;
		grid-template-columns: 64px minmax(0, 1fr);
	}

	.has-js .site-canvas {
		grid-column: 2;
	}

	.site-main {
		padding: 2rem 1.25rem;
	}

	.site-footer {
		flex-direction: column;
		padding: 2rem 1.25rem;
	}
}

@media (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}

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