:root {
	--color-paper: var(--wp--preset--color--paper);
	--color-ink: var(--wp--preset--color--ink);
	--color-green: var(--wp--preset--color--green);
	--color-pine-deep: #19372b;
	--color-mint: var(--wp--preset--color--mint);
	--color-line: var(--wp--preset--color--line);
	--radius: var(--wp--custom--radius);
	--container: var(--wp--custom--container);
	--wide: var(--container);
	--gutter: var(--wp--custom--gutter);
	--transition: var(--wp--custom--transition);
}

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

html {
	overflow-x: clip;
	scroll-behavior: smooth;
	text-size-adjust: 100%;
}

body {
	min-width: 0;
	overflow-x: clip;
	overflow-wrap: break-word;
	text-rendering: optimizelegibility;
	-webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
	font-family: var(--wp--preset--font-family--manrope);
}

::selection {
	color: var(--color-paper);
	background: var(--color-green);
}

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

img,
video {
	height: auto;
}

button,
input,
select,
textarea {
	font: inherit;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
	cursor: pointer;
}

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

:where(h1, h2, h3, h4, h5, h6) {
	margin-block: 0;
	text-wrap: balance;
}

:where(p, li) {
	max-width: 72ch;
	text-wrap: pretty;
}

.wp-site-blocks > * {
	margin-block-start: 0;
}

.kp-reveal {
	opacity: 0;
	transform: translateY(14px);
	transition:
		opacity 520ms cubic-bezier(0.4, 0, 0.2, 1) var(--kp-reveal-delay, 0ms),
		transform 520ms cubic-bezier(0.4, 0, 0.2, 1) var(--kp-reveal-delay, 0ms);
}

.kp-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.is-layout-constrained > .alignwide {
	--wide-width: min(calc(100vw - (2 * var(--gutter))), var(--wide));

	width: var(--wide-width);
	max-width: none;
	margin-inline: calc((100% - var(--wide-width)) / 2) !important;
}

.is-layout-constrained > .alignfull {
	width: 100vw;
	max-width: none;
	margin-inline: calc(50% - 50vw) !important;
}

.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 {
	z-index: 100000;
	top: 12px;
	left: 12px;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	clip: auto !important;
	color: var(--color-paper);
	background: var(--color-green);
	border-radius: var(--radius);
}

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