:root {
	--gph-border: color-mix(in srgb, var(--wp--preset--color--saddle) 36%, transparent);
	--gph-shadow: 0 18px 50px rgb(17 17 16 / 10%);
	--gph-gutter: clamp(1.25rem, 5vw, 3.5rem);
	--gph-section: clamp(4rem, 8vw, 7.5rem);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	overflow-x: clip;
}

body {
	background-color: var(--wp--preset--color--parchment);
	background-image: radial-gradient(rgb(17 17 16 / 3%) 0.55px, transparent 0.55px);
	background-size: 7px 7px;
	overflow-x: clip;
}

:where(
	.wp-site-blocks,
	.wp-block-post-content,
	.wp-block-group,
	.wp-block-columns,
	.wp-block-column,
	.wp-block-buttons,
	.wp-block-button,
	.wp-block-details
) {
	min-width: 0;
}

:where(h1, h2, h3, h4, h5, h6, p, li, summary) {
	overflow-wrap: anywhere;
}

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

a,
button,
input,
select,
textarea,
summary {
	transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid var(--wp--preset--color--saddle);
	outline-offset: 3px;
}

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

.screen-reader-text:focus {
	top: 0.75rem;
	left: 0.75rem;
	z-index: 100000;
	width: auto;
	height: auto;
	clip: auto;
	padding: 0.75rem 1rem;
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--forest);
}

/* Heroes sit directly under the header, without the block gap WordPress adds between template parts. */
.gph-site-main {
	margin-block-start: 0;
	min-height: 50vh;
}

.gph-site-main > .wp-block-post-content:empty {
	min-height: 30vh;
}

.gph-section {
	padding-block: var(--gph-section);
}

.gph-section--compact {
	padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.gph-section--dark {
	background: var(--wp--preset--color--field-night);
	color: var(--wp--preset--color--parchment);
}

.gph-section--dark :where(h1, h2, h3, h4) {
	color: var(--wp--preset--color--parchment);
}

.gph-kicker,
.gph-card__eyebrow {
	margin: 0;
	color: var(--wp--preset--color--saddle);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	line-height: 1.35;
	text-transform: uppercase;
}

.gph-section--dark .gph-kicker,
.gph-hero .gph-kicker,
.gph-page-hero .gph-kicker,
.gph-cta-band .gph-kicker {
	color: var(--wp--preset--color--brass);
}

.gph-editor-note {
	display: none !important;
}

.gph-ornament {
	display: inline-block;
	width: 0.6rem;
	height: 0.6rem;
	border: 1px solid var(--wp--preset--color--brass);
	transform: rotate(45deg);
}

.gph-rule {
	display: flex;
	align-items: center;
	gap: 1rem;
	color: var(--wp--preset--color--brass);
}

.gph-rule::before,
.gph-rule::after {
	content: "";
	flex: 1;
	height: 1px;
	background: currentcolor;
}

.gph-text-link {
	display: inline-block;
	padding-block-end: 0.3rem;
	border-block-end: 1px solid var(--wp--preset--color--brass);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
}

.wp-element-button,
.wp-block-button__link {
	min-height: 3rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

@media (max-width: 24.375rem) {
	.gph-hero__content {
		width: 100%;
		max-width: 100%;
	}

	.gph-hero .wp-block-buttons {
		align-items: stretch;
		flex-direction: column;
	}

	.gph-hero :where(.wp-block-button, .wp-block-button__link) {
		width: 100%;
		white-space: normal;
	}
}

.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--forest);
}

.gph-section--dark .is-style-outline > .wp-block-button__link,
.gph-hero .is-style-outline > .wp-block-button__link,
.gph-page-hero .is-style-outline > .wp-block-button__link {
	border-color: var(--wp--preset--color--brass);
	color: var(--wp--preset--color--parchment);
}

@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;
	}
}
@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/poppins-400-latin.woff2") format("woff2");
}

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/poppins-600-latin.woff2") format("woff2");
}

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/poppins-700-latin.woff2") format("woff2");
}

@font-face {
	font-family: "Libre Baskerville";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/libre-baskerville-400-latin.woff2") format("woff2");
}

@font-face {
	font-family: "Libre Baskerville";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/libre-baskerville-700-latin.woff2") format("woff2");
}
