/* Base: document defaults from the design's <helmet> block, plus accessibility essentials. */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--ps-header-h); }

body {
	margin: 0;
	background: var(--ps-cream);
	color: var(--ps-ink);
	font-family: var(--ps-font-body);
	font-size: 16px;
	line-height: normal; /* the design never sets one; unstyled text relies on the UA default */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a { color: var(--ps-verify); text-decoration: none; transition: color var(--ps-ease), background-color var(--ps-ease), border-color var(--ps-ease), box-shadow var(--ps-ease); }
a:hover { color: var(--ps-go); }

::selection { background: var(--ps-core); color: var(--ps-ink); }

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

h1, h2, h3, h4, h5, h6 { margin: 0; } /* keep UA bold: the design's headings are bold (synthetic on Archivo Black) */
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible { outline: 3px solid var(--ps-verify); outline-offset: 2px; }

.screen-reader-text, .ps-sr {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0; z-index: 1000;
	left: 12px; top: 12px; padding: 10px 16px; background: var(--ps-ink); color: var(--ps-cream);
	font-family: var(--ps-font-cond); font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}

/* Page width wrapper: 1360 max, 32px gutters (16px on phones via token). */
.ps-wrap { max-width: var(--ps-max); margin: 0 auto; padding-left: var(--ps-gutter); padding-right: var(--ps-gutter); }

/* Elementor pages rendered by templates/full-width.php: no theme spacing around sections. */
.ps-main { display: block; }
.ps-main > .elementor { width: 100%; }

/* Scroll lock while an overlay is open. */
html.ps-locked, html.ps-locked body { overflow: hidden; }

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