/*
Theme Name: farMore
Theme URI: https://farmore.ai
Author: farMore
Description: The farMore website: livestock intelligence, built on a working farm. The homepage tells the farMore story and every word and photo on it is editable under Appearance, Customize, farMore homepage. Pages, posts and news use a clean reading layout. Contact-form messages are emailed and saved under Enquiries.
Version: 1.2.2
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: farmore
Tags: one-column, custom-logo, custom-menu, featured-images, accessibility-ready
*/

/* Fonts: TeX Gyre Schola (a Century Schoolbook revival, the deck's heading face),
   (c) GUST e-foundry, GUST Font License. Latin subset. */
@font-face {
	font-family: "Schola";
	src: url("fonts/schola-regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Schola";
	src: url("fonts/schola-italic.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Schola";
	src: url("fonts/schola-bold.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* ---------- Tokens ---------- */

:root {
	--night: #1f2b23;
	--night-2: #2a382e;
	--paper: #f6f1e8;
	--paper-2: #ece5d7;
	--stone: #d9d1c1;
	--stone-2: #cfc6b4;
	--ink: #1f2b23;
	--ink-2: #5e594d;
	--grass: #4c9a4f;
	--grass-light: #7cc07e;
	--grass-deep: #2f5a3e;
	--signal: #e8ae2e;
	--loss: #c8643b;

	--serif: "Schola", "Century Schoolbook", "TeX Gyre Schola", "C059", Georgia, serif;
	--sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--wrap: 76rem;
	--gutter: clamp(1.25rem, 4vw, 2.5rem);
	--band: clamp(4.5rem, 2.75rem + 5.5vw, 8.5rem);
	--masthead: 4.25rem;
	--after-title: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);

	/* Section colours; bands override these. */
	--bg: var(--paper);
	--fg: var(--ink);
	--muted: var(--ink-2);
	--rule: var(--stone);
	--accent: var(--grass-deep);
	--focus: var(--grass-deep);
}

/* ---------- Base ---------- */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--masthead) + 1rem);
}

/* Smooth in-page links, but jump instantly when a page opens at an anchor. */
@media (prefers-reduced-motion: no-preference) {
	html.is-ready {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--serif);
	font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
	line-height: 1.62;
	font-kerning: normal;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
	margin: 0;
}

h1,
h2,
h3,
h4 {
	font-weight: 400;
	line-height: 1.12;
	text-wrap: balance;
}

p {
	text-wrap: pretty;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	text-decoration-thickness: 2px;
}

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

main:focus {
	outline: none;
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

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

.skip-link:focus {
	z-index: 100;
	top: 0.75rem;
	left: 0.75rem;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0.75rem 1rem;
	clip: auto;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-weight: 600;
	border-radius: 6px;
}

/* ---------- Buttons ---------- */

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.875rem;
	padding: 0.7rem 1.25rem;
	border: 1px solid transparent;
	border-radius: 6px;
	font-family: var(--sans);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.button--signal {
	background: var(--signal);
	color: var(--night);
}

.button--signal:hover {
	background: #f3c158;
}

.button--ghost {
	border-color: currentColor;
	background: transparent;
	color: inherit;
}

.button--ghost:hover {
	background: rgba(246, 241, 232, 0.12);
}

/* A solid dark button for light bands, where the gold one is not used. */
.button--ink {
	background: var(--night);
	color: var(--paper);
}

.button--ink:hover {
	background: var(--grass-deep);
}

/* ---------- Masthead ---------- */

.masthead {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--night);
	color: var(--paper);
	--focus: var(--signal);
}

.masthead--over {
	position: fixed;
	inset: 0 0 auto;
	background: transparent;
	transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.masthead--over.is-solid,
.masthead--over.is-open {
	background: var(--night);
	box-shadow: 0 1px 0 rgba(246, 241, 232, 0.1);
}

html:not(.js) .masthead--over {
	position: absolute;
}

.admin-bar .masthead {
	top: var(--wp-admin--admin-bar--height, 32px);
}

@media (max-width: 600px) {
	.admin-bar .masthead--over {
		position: absolute;
	}
}

.masthead__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: var(--masthead);
}

.brand {
	display: inline-flex;
	color: var(--paper);
	text-decoration: none;
}

.brand__mark {
	width: 8.75rem;
}

.sprite {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.brand__logo {
	width: auto;
	max-height: 2.5rem;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 1.75rem;
	font-family: var(--sans);
	font-size: 0.9375rem;
}

.site-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav__list a {
	display: block;
	padding-block: 0.5rem;
	color: var(--paper);
	text-decoration: none;
}

.site-nav__list a:hover {
	text-decoration: underline;
}

.site-nav__list a[aria-current="page"] {
	text-decoration: underline;
	text-underline-offset: 0.3em;
}

.site-nav__cta {
	min-height: 2.5rem;
	padding: 0.55rem 1rem;
	font-size: 0.9375rem;
}

.menu-toggle {
	display: none;
}

/* The header links collapse into a menu below 1000px: seven links and the button need about 930px. */
@media (max-width: 999px) {
	.js .menu-toggle {
		display: inline-flex;
		align-items: center;
		min-height: 2.75rem;
		padding: 0.5rem 0.9rem;
		border: 1px solid rgba(246, 241, 232, 0.45);
		border-radius: 6px;
		background: transparent;
		color: var(--paper);
		font: 600 0.9375rem/1 var(--sans);
		cursor: pointer;
	}

	.js .menu-toggle[aria-expanded="true"] {
		background: var(--paper);
		color: var(--night);
	}

	.js .site-nav {
		position: absolute;
		inset: 100% 0 auto;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 1rem;
		padding: 0.5rem var(--gutter) 1.5rem;
		background: var(--night);
		border-top: 1px solid rgba(246, 241, 232, 0.12);
	}

	.js .site-nav.is-open {
		display: flex;
	}

	.js .site-nav__list {
		flex-direction: column;
	}

	.js .site-nav__list a {
		padding-block: 0.7rem;
		font-size: 1.0625rem;
		border-bottom: 1px solid rgba(246, 241, 232, 0.1);
	}

	html:not(.js) .masthead__bar {
		flex-wrap: wrap;
		padding-block: 0.75rem;
	}

	html:not(.js) .site-nav {
		flex-wrap: wrap;
		gap: 0.75rem 1.5rem;
	}
}

/* ---------- Bands ---------- */

.band {
	padding-block: var(--band);
	background: var(--bg);
	color: var(--fg);
}

.band--night {
	--bg: var(--night);
	--fg: var(--paper);
	--muted: rgba(246, 241, 232, 0.74);
	--rule: rgba(246, 241, 232, 0.16);
	--accent: var(--signal);
	--focus: var(--signal);
}

.band--paper {
	--bg: var(--paper);
	--fg: var(--ink);
	--muted: var(--ink-2);
	--rule: var(--stone);
	--accent: var(--grass-deep);
	--focus: var(--grass-deep);
}

.band--follow {
	padding-top: 0;
}

.band--follow > .wrap {
	padding-top: var(--band);
	background-image: linear-gradient(var(--rule), var(--rule));
	background-size: calc(100% - 2 * var(--gutter)) 1px;
	background-position: var(--gutter) 0;
	background-repeat: no-repeat;
}

/* A short closing note to the band above it: the same hairline, half the gap either side. */
.band--lead {
	padding-bottom: calc(var(--band) / 2);
}

.band--coda > .wrap {
	padding-top: calc(var(--band) / 2);
}

.band--photo {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	--bg: var(--night);
	--fg: var(--paper);
	--muted: rgba(246, 241, 232, 0.84);
	--rule: rgba(246, 241, 232, 0.32);
	--accent: var(--signal);
	--focus: var(--signal);
}

.band__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.band__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.band__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(31, 43, 35, 0.74);
}

.section-title {
	max-width: 15em;
	font-size: clamp(2rem, 1.3rem + 2.8vw, 3.5rem);
	line-height: 1.08;
	letter-spacing: -0.015em;
}

.section-intro {
	max-width: 34em;
	margin-top: 1.25rem;
	font-size: clamp(1.125rem, 1.02rem + 0.45vw, 1.375rem);
	line-height: 1.5;
}

.fineprint {
	max-width: 60em;
	margin-top: 2.5rem;
	color: var(--muted);
	font-family: var(--sans);
	font-size: 0.8125rem;
	line-height: 1.55;
}

.sources {
	max-width: 60em;
	margin-top: 2rem;
	color: var(--muted);
	font-family: var(--sans);
	font-size: 0.8125rem;
	line-height: 1.55;
}

.sources summary {
	width: fit-content;
	font-weight: 600;
	cursor: pointer;
}

.sources p {
	margin-top: 0.5rem;
}

figcaption {
	margin-top: 0.6rem;
	color: var(--muted);
	font-family: var(--sans);
	font-size: 0.8125rem;
	line-height: 1.45;
}

/* ---------- Hero ---------- */

.hero {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	min-height: max(38rem, min(100svh, 60rem));
	background: var(--night);
	color: var(--paper);
	--fg: var(--paper);
	--muted: rgba(246, 241, 232, 0.86);
	--focus: var(--signal);
}

.hero__media {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 42%;
}

.hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(31, 43, 35, 0.6) 0%, rgba(31, 43, 35, 0) 20%, rgba(31, 43, 35, 0) 36%, rgba(31, 43, 35, 0.72) 66%, rgba(31, 43, 35, 0.94) 100%),
		linear-gradient(90deg, rgba(31, 43, 35, 0.5) 0%, rgba(31, 43, 35, 0) 65%);
}

.hero__sentinel {
	position: absolute;
	top: 3rem;
	left: 0;
	width: 1px;
	height: 1px;
}

.hero__inner {
	display: grid;
	gap: 2.5rem;
	align-items: end;
	padding-block: calc(var(--masthead) + 4rem) clamp(2.5rem, 6vw, 4.5rem);
}

@media (min-width: 1000px) {
	.hero__inner {
		grid-template-columns: minmax(0, 1fr) 21rem;
		gap: 4rem;
	}
}

.hero__title {
	max-width: 11em;
	font-size: clamp(2.75rem, 1.4rem + 5.4vw, 5.75rem);
	line-height: 1;
	letter-spacing: -0.022em;
}

.hero__lead {
	max-width: 30em;
	margin-top: 1.5rem;
	color: var(--muted);
	font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
	line-height: 1.5;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2rem;
}

.hero__place {
	margin-top: 1.75rem;
	color: var(--muted);
	font-family: var(--sans);
	font-size: 0.875rem;
}

/* The illustrative 2 am alert: the hero's one moment of motion. */
.alert {
	width: min(100%, 21rem);
}

@media (min-width: 1000px) {
	.alert {
		justify-self: end;
		margin-bottom: 0.25rem;
	}
}

.alert__card {
	padding: 0.85rem 1.1rem 1rem;
	border-radius: 18px;
	background: rgba(246, 241, 232, 0.95);
	color: var(--night);
	font-family: var(--sans);
	box-shadow: 0 20px 44px -16px rgba(0, 0, 0, 0.55);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.alert__card {
		background: rgba(246, 241, 232, 0.86);
		-webkit-backdrop-filter: blur(14px) saturate(1.2);
		backdrop-filter: blur(14px) saturate(1.2);
	}
}

.alert__app {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: #4a4840;
	font-size: 0.8125rem;
	font-weight: 600;
}

.alert__dot {
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 50%;
	background: var(--signal);
	box-shadow: 0 0 0 3px rgba(232, 174, 46, 0.28);
}

.alert__time {
	margin-left: auto;
	font-weight: 400;
}

.alert__title {
	margin-top: 0.4rem;
	font-size: 1.0625rem;
	font-weight: 650;
	line-height: 1.3;
}

.alert__text {
	color: #4a4840;
	font-size: 0.9375rem;
	line-height: 1.4;
}

.alert__note {
	margin-top: 0.6rem;
	color: var(--muted);
	font-size: 0.75rem;
}

@media (prefers-reduced-motion: no-preference) {
	.alert__card {
		animation: alert-in 0.7s cubic-bezier(0.2, 0.75, 0.25, 1) 1.1s both;
	}

	@keyframes alert-in {
		from {
			opacity: 0;
			transform: translateY(16px) scale(0.98);
		}
		to {
			opacity: 1;
			transform: none;
		}
	}
}

/* ---------- The quiet loss ---------- */

.loss {
	display: grid;
	gap: 3rem;
	align-items: center;
}

@media (min-width: 900px) {
	.loss {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: 4.5rem;
	}
}

.loss__figure {
	display: block;
	margin-left: -0.045em;
	color: var(--signal);
	font-size: clamp(5rem, 1.6rem + 12vw, 12rem);
	line-height: 0.9;
	letter-spacing: -0.035em;
	font-variant-numeric: lining-nums;
	white-space: nowrap;
}

.loss__statement {
	display: block;
	max-width: 17em;
	margin-top: 1.5rem;
	font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.375rem);
	line-height: 1.2;
}

.loss__text {
	max-width: 32em;
	margin-top: 1.5rem;
	color: var(--muted);
}

.loss__media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: 50% 72%;
}

@media (min-width: 900px) {
	.loss__media img {
		aspect-ratio: 2 / 3;
		max-height: 42rem;
	}
}

/* ---------- The problem: a ledger of losses ---------- */

.ledger {
	margin: var(--after-title) 0 0;
	padding: 0;
	list-style: none;
	border-top: 2px solid var(--fg);
}

.ledger__row {
	display: grid;
	gap: 0.35rem 2rem;
	padding-block: 1.5rem 1.75rem;
	border-bottom: 1px solid var(--rule);
}

@media (min-width: 760px) {
	.ledger__row {
		grid-template-columns: 15.5rem minmax(0, 1fr);
		grid-template-areas:
			"label ."
			"figure body";
		align-items: baseline;
		column-gap: 2.5rem;
	}

	.ledger__label {
		grid-area: label;
	}

	.ledger__figure {
		grid-area: figure;
	}

	.ledger__body {
		grid-area: body;
	}
}

.ledger__label {
	color: var(--muted);
	font-family: var(--sans);
	font-size: 0.9375rem;
	font-weight: 600;
}

.ledger__figure {
	color: var(--loss);
	font-size: clamp(2.25rem, 1.85rem + 1.4vw, 3.125rem);
	line-height: 1;
	letter-spacing: -0.01em;
	font-variant-numeric: lining-nums;
	white-space: nowrap;
}

.ledger__lead {
	font-size: clamp(1.1875rem, 1.1rem + 0.35vw, 1.4375rem);
	line-height: 1.35;
}

.ledger__text {
	max-width: 36em;
	margin-top: 0.35rem;
	color: var(--muted);
}

.thread {
	max-width: 25em;
	margin-top: clamp(2.5rem, 5vw, 3.75rem);
	font-size: clamp(1.375rem, 1.1rem + 1.1vw, 2rem);
	line-height: 1.32;
}

/* ---------- Why it's unsolved: one stat, one line ---------- */

.unsolved {
	display: grid;
	gap: 2rem;
}

@media (min-width: 900px) {
	.unsolved--stat {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		align-items: start;
		gap: 4.5rem;
	}

	/* The heading comes first in the page; on wide screens the figure sits to its left. */
	.unsolved--stat .stat {
		grid-area: 1 / 1;
	}

	.unsolved--stat .unsolved__copy {
		grid-area: 1 / 2;
	}
}

.unsolved__title {
	max-width: 16em;
	font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
}

.unsolved__text {
	max-width: 34em;
	margin-top: 1rem;
	color: var(--muted);
}

.stat {
	max-width: 22em;
	font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.4375rem);
	line-height: 1.42;
}

.stat__figure {
	display: block;
	margin: 0 0 0.5rem -0.04em;
	color: var(--accent);
	font-size: clamp(3.5rem, 2.4rem + 4vw, 6rem);
	line-height: 1;
	letter-spacing: -0.02em;
}

/* ---------- Product: three steps, then the data line ---------- */

.steps {
	display: grid;
	gap: 2.75rem;
	margin: var(--after-title) 0 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 900px) {
	/* Three across. Shared rows keep the titles level whatever the caption lengths. */
	.steps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0 2.25rem;
	}

	.step {
		display: grid;
		grid-row: span 3;
		grid-template-rows: subgrid;
	}
}

.step__media img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	background: var(--night-2);
}

.step__title {
	display: flex;
	align-items: baseline;
	gap: 0.7rem;
	margin-top: 1.5rem;
	font-size: clamp(1.5rem, 1.3rem + 0.6vw, 1.875rem);
	line-height: 1.15;
}

.step__n {
	color: var(--signal);
	font-size: 1.3em;
	line-height: 1;
	font-variant-numeric: lining-nums;
}

.step__text {
	max-width: 32em;
	margin-top: 0.6rem;
	color: var(--muted);
}

/* The illustrative app view in the third step. */
.app {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.5rem;
	aspect-ratio: 16 / 9;
	padding: 0.9rem 1rem;
	border-radius: 12px;
	background: var(--night-2);
	box-shadow: inset 0 0 0 1px rgba(246, 241, 232, 0.14);
	color: var(--paper);
	font-family: var(--sans);
}

.app__head {
	display: flex;
	justify-content: space-between;
	color: rgba(246, 241, 232, 0.72);
	font-size: 0.75rem;
	font-weight: 600;
}

.app__row {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.45rem 0.65rem;
	border-radius: 8px;
	background: rgba(246, 241, 232, 0.08);
	font-size: 0.8125rem;
	line-height: 1.3;
}

.app__time {
	margin-left: auto;
	color: rgba(246, 241, 232, 0.6);
	font-size: 0.75rem;
	white-space: nowrap;
}

.app__dot {
	flex: none;
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background: var(--grass-light);
}

.app__dot--signal {
	background: var(--signal);
}

.app__dot--loss {
	background: var(--loss);
}

.rate {
	display: grid;
	gap: 0.5rem 2.5rem;
	align-items: baseline;
	margin-top: clamp(3rem, 6vw, 4.5rem);
	padding-top: 2rem;
	border-top: 2px solid var(--fg);
}

@media (min-width: 800px) {
	.rate {
		grid-template-columns: auto minmax(0, 1fr);
	}
}

.rate__figure {
	color: var(--accent);
	font-size: clamp(3.5rem, 2.4rem + 4.4vw, 6.5rem);
	line-height: 1;
	letter-spacing: -0.02em;
	font-variant-numeric: lining-nums;
}

.rate__text {
	max-width: 28em;
	font-size: clamp(1.125rem, 1rem + 0.45vw, 1.375rem);
	line-height: 1.45;
}

/* ---------- Genealogy and the pedigree ---------- */

.genealogy {
	display: grid;
	gap: 3rem;
	align-items: start;
	margin-top: clamp(1.75rem, 1.25rem + 2vw, 2.75rem);
}

@media (min-width: 1000px) {
	.genealogy {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		grid-template-rows: auto 1fr;
		grid-template-areas:
			"intro figure"
			"more figure";
		gap: 0 4rem;
	}

	.genealogy__intro {
		grid-area: intro;
	}

	.genealogy .pedigree {
		grid-area: figure;
	}

	.genealogy__more {
		grid-area: more;
		margin-top: 2.25rem;
	}
}

.genealogy .section-intro {
	margin-top: 0;
}

.benefits {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--rule);
}

.benefits li {
	padding-block: 0.9rem;
	border-bottom: 1px solid var(--rule);
	line-height: 1.45;
}

.today {
	max-width: 30em;
	margin-top: 1.75rem;
}

.genealogy .fineprint {
	margin-top: 1.25rem;
}

.pedigree {
	padding: clamp(1rem, 2.5vw, 1.75rem);
	border-radius: 14px;
	background: var(--night);
	color: var(--paper);
	--focus: var(--signal);
}

.pedigree__svg {
	width: 100%;
	overflow: visible;
	font-family: var(--sans);
}

.pedigree__svg--tall {
	display: none;
	max-width: 26rem;
	margin-inline: auto;
}

@media (max-width: 559px) {
	.pedigree__svg--wide {
		display: none;
	}

	.pedigree__svg--tall {
		display: block;
	}
}

.link {
	fill: none;
	stroke-width: 2.5;
	transition: opacity 0.3s ease, visibility 0.3s;
}

.link--sire {
	stroke: var(--signal);
	stroke-dasharray: 6 6;
}

.link--dam {
	stroke: var(--grass-light);
}

.node {
	cursor: pointer;
	outline: none;
	transition: opacity 0.3s ease, visibility 0.3s;
}

.tag {
	fill: var(--paper);
	stroke: transparent;
	stroke-width: 3;
}

.node--sire .tag {
	fill: var(--signal);
}

.node--dam .tag {
	fill: var(--grass-light);
}

.tag__hole {
	fill: var(--night);
}

.tag__role {
	fill: rgba(31, 43, 35, 0.78);
	font-size: 12px;
	font-weight: 600;
}

.tag__id {
	fill: var(--night);
	font-size: 19px;
	font-weight: 700;
	letter-spacing: 0.02em;
	font-variant-numeric: tabular-nums;
}

.node:hover .tag,
.node:focus-visible .tag,
.node.is-picked .tag {
	stroke: var(--paper);
}

.node:focus-visible .tag {
	stroke-dasharray: 4 3;
}

.pedigree.has-pick .node:not(.is-on),
.pedigree.has-pick .link:not(.is-on) {
	opacity: 0.16;
}

.pedigree__caption {
	min-height: 3em;
	margin-top: 1rem;
	color: rgba(246, 241, 232, 0.92);
	font-size: 0.9375rem;
	line-height: 1.5;
}

.pedigree__legend,
.timeline__legend {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	margin-top: 0.75rem;
	color: var(--muted);
	font-family: var(--sans);
	font-size: 0.8125rem;
}

.pedigree__legend {
	color: rgba(246, 241, 232, 0.72);
}

.key {
	display: inline-block;
	width: 1.6rem;
	margin-right: 0.5rem;
	vertical-align: middle;
	border-top: 2.5px solid;
}

.key--sire {
	border-top-style: dashed;
	border-color: var(--signal);
}

.key--dam {
	border-color: var(--grass-light);
}

/* ---------- What a farmer sees ---------- */

.caps {
	display: grid;
	gap: 3rem;
}

@media (min-width: 1000px) {
	.caps {
		grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
		gap: 4rem;
	}
}

.caps__media {
	max-width: 22rem;
	margin-top: 2.5rem;
}

.caps__media img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 50%;
}

@media (max-width: 999px) {
	.caps__media {
		display: none;
	}
}

.caps__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr));
	gap: 0 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cap {
	padding-block: 1.25rem 1.5rem;
	border-top: 1px solid var(--rule);
}

.cap__title {
	font-size: clamp(1.25rem, 1.15rem + 0.35vw, 1.4375rem);
	line-height: 1.2;
}

.cap__text {
	margin-top: 0.4rem;
	color: var(--muted);
	font-family: var(--sans);
	font-size: 0.9375rem;
	line-height: 1.45;
}

.cap__status {
	margin-top: 0.6rem;
	color: var(--signal);
	font-family: var(--sans);
	font-size: 0.8125rem;
	font-weight: 600;
}

.caps .fineprint {
	margin-top: 1.5rem;
}

/* ---------- The farm ---------- */

.farm {
	display: grid;
	gap: 2.5rem 4rem;
	margin-top: var(--after-title);
}

@media (min-width: 1000px) {
	.farm {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		align-items: center;
	}
}

.farm__map img {
	width: 100%;
}

.farm .section-intro {
	margin-top: 0;
}

/* Progress so far: a solid line for what's done, dashed for what's next. */
.milestones {
	display: grid;
	gap: 2.25rem 1.75rem;
	margin: clamp(3rem, 6vw, 4.5rem) 0 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 700px) {
	.milestones {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.milestones {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 0 1.75rem;
	}
}

.milestone {
	position: relative;
	padding-top: 1.35rem;
	border-top: 2px solid var(--grass);
}

.milestone::before {
	content: "";
	position: absolute;
	top: -7px;
	left: 0;
	width: 12px;
	height: 12px;
	border: 2px solid var(--grass);
	border-radius: 50%;
	background: var(--grass);
}

.milestone--next {
	border-top: 2px dashed var(--stone-2);
}

.milestone--next::before {
	border-color: var(--grass-deep);
	background: var(--paper);
}

.milestone__status {
	color: var(--accent);
	font-family: var(--sans);
	font-size: 0.8125rem;
	font-weight: 600;
}

.milestone__title {
	margin-top: 0.3rem;
	font-size: clamp(1.25rem, 1.15rem + 0.3vw, 1.4375rem);
	line-height: 1.25;
}

.milestone__text {
	max-width: 26em;
	margin-top: 0.4rem;
	color: var(--muted);
	font-family: var(--sans);
	font-size: 0.9375rem;
	line-height: 1.45;
}

.regen {
	display: grid;
	gap: 2rem 4rem;
	align-items: center;
	margin-top: clamp(3.5rem, 7vw, 5.5rem);
}

@media (min-width: 900px) {
	.regen {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	}
}

.regen__media img {
	width: 100%;
}

.regen__title {
	font-size: clamp(1.5rem, 1.3rem + 0.7vw, 2rem);
}

.regen__text {
	margin-top: 0.75rem;
	color: var(--muted);
}

/* ---------- Why now ---------- */

.timeline {
	position: relative;
	display: grid;
	margin: var(--after-title) 0 0;
	padding: 0;
	list-style: none;
}

.timeline::before {
	content: "";
	position: absolute;
	top: 0.5rem;
	bottom: 0.5rem;
	left: 0.35rem;
	border-left: 1px solid var(--rule);
}

.event {
	position: relative;
	padding: 0 0 1.75rem 2rem;
}

.event::before,
.key--mandate,
.key--capital {
	content: "";
	width: 0.75rem;
	height: 0.75rem;
	background: var(--signal);
	border: 0;
	border-radius: 50%;
}

.event::before {
	position: absolute;
	top: 0.3rem;
	left: 0;
}

.event--capital::before,
.key--capital {
	background: var(--grass-light);
	border-radius: 2px;
	transform: rotate(45deg) scale(0.9);
}

.event__date {
	color: var(--muted);
	font-family: var(--sans);
	font-size: 0.875rem;
	font-weight: 600;
}

.event__text {
	margin-top: 0.3rem;
	font-size: 1.0625rem;
	line-height: 1.45;
}

@media (min-width: 1000px) {
	.timeline {
		grid-template-columns: repeat(6, minmax(0, 1fr));
		gap: 1.75rem;
		padding-top: 2.25rem;
	}

	.timeline::before {
		top: 0.375rem;
		right: 0;
		bottom: auto;
		left: 0;
		border-left: 0;
		border-top: 1px solid var(--rule);
	}

	.event {
		padding: 0;
	}

	.event::before {
		top: -2.25rem;
	}

	.event__text {
		font-size: 1rem;
	}

	.timeline + .timeline__legend {
		margin-top: 2.25rem;
	}
}

.timeline__legend .key {
	display: inline-block;
	width: 0.75rem;
	margin-right: 0.5rem;
	vertical-align: -0.05rem;
}

.demand {
	display: grid;
	gap: 0 2.25rem;
	margin: clamp(3.5rem, 7vw, 5rem) 0 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 800px) {
	.demand {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.demand li {
	padding-block: 1.25rem 1.5rem;
	border-top: 1px solid var(--rule);
}

.demand__figure {
	display: block;
	font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem);
	line-height: 1;
}

.demand__text {
	display: block;
	margin-top: 0.7rem;
	color: var(--muted);
	font-family: var(--sans);
	font-size: 0.9375rem;
	line-height: 1.45;
}

.market {
	max-width: 38em;
	margin-top: 2rem;
	color: var(--muted);
}

/* A clear next step for investors. */
.investors {
	display: grid;
	gap: 1.25rem 3rem;
	margin-top: clamp(3rem, 6vw, 4.5rem);
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border: 1px solid var(--rule);
	border-radius: 12px;
}

@media (min-width: 800px) {
	.investors {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
	}
}

.investors__title {
	font-size: clamp(1.5rem, 1.3rem + 0.7vw, 2rem);
}

.investors__text {
	max-width: 36em;
	margin-top: 0.5rem;
	color: var(--muted);
}

.investors .button {
	justify-self: start;
}

/* ---------- Roadmap ---------- */

.roadmap .band__bg::after {
	background: linear-gradient(180deg, rgba(31, 43, 35, 0.88) 0%, rgba(31, 43, 35, 0.7) 45%, rgba(31, 43, 35, 0.86) 100%);
}

.horizons {
	display: grid;
	gap: 2rem;
	margin: var(--after-title) 0 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 900px) {
	.horizons {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 2.5rem;
	}
}

.horizon {
	padding-top: 1.25rem;
	border-top: 2px solid var(--rule);
}

.horizon:first-child {
	border-top-color: var(--signal);
}

.horizon__label {
	color: var(--muted);
	font-family: var(--sans);
	font-size: 0.875rem;
	font-weight: 600;
}

.horizon__title {
	margin-top: 0.4rem;
	font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
	line-height: 1.2;
}

.horizon__text {
	margin-top: 0.6rem;
	color: var(--muted);
}

.vision {
	max-width: 32em;
	margin-top: clamp(3.5rem, 7vw, 5rem);
}

.vision p {
	font-size: clamp(1.375rem, 1.1rem + 1.1vw, 2rem);
	line-height: 1.35;
}

/* ---------- Team ---------- */

.founders {
	display: grid;
	gap: 2.5rem;
	margin-top: var(--after-title);
}

@media (min-width: 900px) {
	.founders {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 3rem;
	}
}

.person {
	display: grid;
	grid-template-columns: 6.5rem minmax(0, 1fr);
	gap: 1.25rem;
	align-items: start;
}

@media (min-width: 600px) {
	.person {
		grid-template-columns: 9.5rem minmax(0, 1fr);
		gap: 1.75rem;
	}
}

.person__photo {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 50%;
	background: var(--paper-2);
}

.person__name {
	font-size: clamp(1.5rem, 1.3rem + 0.6vw, 1.875rem);
}

.person__role,
.partner__role {
	margin-top: 0.3rem;
	color: var(--accent);
	font-family: var(--sans);
	font-size: 0.9375rem;
	font-weight: 600;
}

.person__bio {
	margin-top: 0.75rem;
	color: var(--muted);
}

.family {
	display: grid;
	gap: 1.5rem 2.5rem;
	align-items: center;
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
	padding-block: 2rem;
	border-block: 1px solid var(--rule);
}

@media (min-width: 800px) {
	.family {
		grid-template-columns: 22rem minmax(0, 1fr);
	}
}

.family img {
	width: 100%;
}

.family__text {
	max-width: 26em;
	font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
	line-height: 1.4;
}

.subhead {
	margin-top: clamp(3.5rem, 7vw, 5rem);
	font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
}

.partners {
	display: grid;
	gap: 3rem;
	margin-top: 2rem;
}

@media (min-width: 900px) {
	.partners {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.partner {
	padding-top: 1.25rem;
	border-top: 1px solid var(--rule);
}

.partner__name {
	margin-top: 0;
	font-size: 1.5rem;
}

.partner__bio {
	margin-top: 0.6rem;
	color: var(--muted);
}

/* ---------- Contact ---------- */

.contact .band__bg img {
	object-position: 50% 60%;
}

.contact .band__bg::after {
	background: linear-gradient(90deg, rgba(31, 43, 35, 0.94) 0%, rgba(31, 43, 35, 0.84) 50%, rgba(31, 43, 35, 0.66) 100%);
}

.contact__grid {
	display: grid;
	gap: 3rem;
}

@media (min-width: 1000px) {
	.contact__grid {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
		gap: 5rem;
		align-items: start;
	}
}

.audiences {
	display: grid;
	gap: 1.25rem;
	margin-top: 2.25rem;
}

.audiences dt {
	font-family: var(--sans);
	font-size: 0.9375rem;
	font-weight: 600;
}

.audiences dd {
	margin-top: 0.2rem;
	color: var(--muted);
}

.contact__email {
	margin-top: 2rem;
	font-family: var(--sans);
	font-weight: 600;
}

.panel {
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border-radius: 12px;
	background: var(--paper);
	color: var(--ink);
	--fg: var(--ink);
	--muted: var(--ink-2);
	--rule: var(--stone);
	--focus: var(--grass-deep);
}

.form {
	display: grid;
	gap: 1.1rem;
	font-family: var(--sans);
}

.field {
	display: grid;
	gap: 0.4rem;
}

.field label {
	font-size: 0.9375rem;
	font-weight: 600;
}

.field__optional {
	color: var(--muted);
	font-weight: 400;
}

.field input,
.field select,
.field textarea {
	width: 100%;
	min-height: 2.875rem;
	padding: 0.7rem 0.8rem;
	border: 1px solid #a89f8b;
	border-radius: 6px;
	background: #fffdf8;
	color: var(--ink);
	font: inherit;
	font-size: 1rem;
}

.field select {
	appearance: none;
	padding-right: 2.5rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231f2b23' stroke-width='2'/%3E%3C/svg%3E");
	background-position: right 0.9rem center;
	background-repeat: no-repeat;
}

.field textarea {
	min-height: 8.5rem;
	resize: vertical;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
	outline-offset: 1px;
	border-color: var(--grass-deep);
}

.form__trap {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form__actions .button {
	width: 100%;
}

@media (min-width: 600px) {
	.form__actions .button {
		width: auto;
		min-width: 12rem;
	}
}

.form__privacy {
	color: var(--muted);
	font-size: 0.8125rem;
	line-height: 1.5;
}

.notice {
	margin-bottom: 1.25rem;
	padding: 0.85rem 1rem;
	border: 1px solid;
	border-radius: 6px;
	font-family: var(--sans);
	font-size: 0.9375rem;
	line-height: 1.45;
}

.notice--ok {
	border-color: #9cc49a;
	background: #e4f0e1;
	color: #1d4026;
}

.notice--error {
	border-color: #dca78c;
	background: #f8e3d8;
	color: #7a2f12;
}

/* ---------- Footer ---------- */

.site-footer {
	padding-block: 3.5rem 2.75rem;
	background: var(--night);
	color: var(--paper);
	font-family: var(--sans);
	font-size: 0.9375rem;
	--muted: rgba(246, 241, 232, 0.72);
	--focus: var(--signal);
}

.site-footer__grid {
	display: grid;
	gap: 2rem;
}

@media (min-width: 800px) {
	.site-footer__grid {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: end;
	}
}

.site-footer__mark {
	width: 11rem;
}

.site-footer__logo {
	width: auto;
	max-height: 3rem;
}

.site-footer__tagline {
	margin-top: 1rem;
	font-family: var(--serif);
	font-size: 1.3125rem;
}

.site-footer__meta {
	display: grid;
	gap: 0.4rem;
	color: var(--muted);
}

@media (min-width: 800px) {
	.site-footer__meta {
		text-align: right;
	}
}

.site-footer__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 800px) {
	.site-footer__menu {
		justify-content: flex-end;
	}
}

/* ---------- Short-item grids: why it compounds, the breeders page ---------- */

.caps__grid--pairs,
.caps__grid--three {
	gap: 0 2.5rem;
	margin-top: var(--after-title);
}

@media (min-width: 760px) {
	.caps__grid--pairs,
	.caps__grid--three {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1000px) {
	.caps__grid--three {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.caps__grid--pairs .cap__text,
.caps__grid--three .cap__text {
	max-width: 32em;
	font-size: 1rem;
	line-height: 1.55;
}

/* A short label over a grid, such as the questions under Why it compounds. */
.caps__label {
	margin-top: var(--after-title);
	color: var(--accent);
	font-family: var(--sans);
	font-size: 0.9375rem;
	font-weight: 600;
}

.caps__label + .caps__grid {
	margin-top: 1rem;
}

/* ---------- Genealogy: what pedigree is worth, and the button to the breeders page ---------- */

.proof {
	max-width: 30em;
	margin-top: 1.75rem;
}

.more-link {
	margin-top: 1.75rem;
}

/* On wide screens the pedigree stays in view while the list beside it scrolls. */
@media (min-width: 1000px) {
	.genealogy .pedigree {
		position: sticky;
		top: calc(var(--masthead) + 1.5rem);
		align-self: start;
	}
}

/* ---------- For Breeders page ---------- */

.breeders-head {
	padding-block: clamp(4rem, 3rem + 5vw, 7.5rem);
}

.breeders-head .section-title {
	max-width: 13em;
}

.breeders-head .band__bg::after {
	background: linear-gradient(90deg, rgba(31, 43, 35, 0.92) 0%, rgba(31, 43, 35, 0.78) 55%, rgba(31, 43, 35, 0.6) 100%);
}

.ledger--gain .ledger__figure {
	color: var(--accent);
}

/* ---------- Pages, posts and news ---------- */

.reading {
	padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) var(--band);
}

.wrap--reading {
	max-width: calc(46rem + 2 * var(--gutter));
}

.reading__title {
	font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
	line-height: 1.08;
	letter-spacing: -0.015em;
}

.entry__meta {
	margin-top: 0.75rem;
	color: var(--ink-2);
	font-family: var(--sans);
	font-size: 0.9375rem;
}

.entry__image {
	margin-top: 2rem;
}

.prose {
	margin-top: 2rem;
}

.prose > * + * {
	margin-top: 1.15em;
}

.prose h2 {
	margin-top: 2em;
	font-size: clamp(1.625rem, 1.4rem + 1vw, 2.125rem);
}

.prose h3 {
	margin-top: 1.75em;
	font-size: clamp(1.3125rem, 1.2rem + 0.5vw, 1.5rem);
}

.prose h4 {
	margin-top: 1.5em;
	font-family: var(--sans);
	font-size: 1rem;
	font-weight: 600;
}

.prose a {
	color: var(--grass-deep);
}

.prose ul,
.prose ol {
	padding-left: 1.3em;
}

.prose li + li {
	margin-top: 0.35em;
}

.prose blockquote {
	padding-left: 1.25em;
	border-left: 3px solid var(--grass);
	font-size: 1.2em;
	line-height: 1.45;
}

.prose hr {
	border: 0;
	border-top: 1px solid var(--stone);
}

.prose table {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--sans);
	font-size: 0.9375rem;
}

.prose th,
.prose td {
	padding: 0.6rem 0.5rem;
	border-bottom: 1px solid var(--stone);
	text-align: left;
	vertical-align: top;
}

.prose pre {
	overflow-x: auto;
	padding: 1rem 1.25rem;
	background: var(--paper-2);
	font-size: 0.875rem;
}

.prose code {
	font-size: 0.9em;
}

.prose .alignwide {
	width: min(var(--wrap) - 2 * var(--gutter), 100vw - 2 * var(--gutter));
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.prose .alignfull {
	width: 100vw;
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.alignleft {
	float: left;
	margin: 0.3em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.3em 0 1em 1.5em;
}

.aligncenter {
	margin-inline: auto;
}

.wp-caption-text,
.wp-element-caption {
	margin-top: 0.6rem;
	color: var(--ink-2);
	font-family: var(--sans);
	font-size: 0.8125rem;
}

.listing {
	margin: 2.5rem 0 0;
	padding: 0;
	list-style: none;
}

.listing__item {
	padding-block: 1.75rem;
	border-top: 1px solid var(--stone);
}

.listing__title {
	font-size: clamp(1.5rem, 1.3rem + 0.7vw, 1.875rem);
}

.listing__title a {
	text-decoration: none;
}

.listing__title a:hover {
	text-decoration: underline;
}

.listing__excerpt {
	margin-top: 0.75rem;
	color: var(--ink-2);
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	margin-top: 2.5rem;
	font-family: var(--sans);
}

.search-form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	font-family: var(--sans);
}

.search-form .search-field {
	flex: 1 1 14rem;
	min-height: 2.875rem;
	padding: 0.7rem 0.8rem;
	border: 1px solid #a89f8b;
	border-radius: 6px;
	background: #fffdf8;
	font: inherit;
}

.search-form .search-submit {
	min-height: 2.875rem;
	padding: 0.7rem 1.25rem;
	border: 0;
	border-radius: 6px;
	background: var(--night);
	color: var(--paper);
	font: 600 1rem var(--sans);
	cursor: pointer;
}

/* WordPress's privacy-policy template labels ("Suggested text:") are notes for the editor. */
.privacy-policy-tutorial {
	display: none;
}

/* ---------- The site's existing WPForms form, matched to the theme ---------- */

.panel .wpforms-container {
	--wpforms-field-border-radius: 6px;
	--wpforms-field-border-color: #a89f8b;
	--wpforms-field-background-color: #fffdf8;
	--wpforms-field-text-color: #1f2b23;
	--wpforms-label-color: #1f2b23;
	--wpforms-label-sublabel-color: #5e594d;
	--wpforms-label-error-color: #a3361a;
	--wpforms-button-border-radius: 6px;
	--wpforms-button-background-color: #e8ae2e;
	--wpforms-button-border-color: #e8ae2e;
	--wpforms-button-text-color: #1f2b23;
	--wpforms-field-size-input-height: 46px;
	--wpforms-field-size-font-size: 16px;
	--wpforms-label-size-font-size: 15px;
	--wpforms-button-size-font-size: 16px;
	--wpforms-button-size-height: 46px;
	margin: 0;
	font-family: var(--sans);
}

.panel div.wpforms-container-full .wpforms-form .wpforms-field {
	padding-block: 0 1.1rem;
}

.panel div.wpforms-container-full .wpforms-form .wpforms-field-label {
	margin-bottom: 0.4rem;
	color: var(--ink);
	font-family: var(--sans);
	font-size: 0.9375rem;
	font-weight: 600;
}

.panel div.wpforms-container-full .wpforms-form .wpforms-field-sublabel,
.panel div.wpforms-container-full .wpforms-form .wpforms-field-description {
	color: var(--ink-2);
	font-family: var(--sans);
	font-size: 0.8125rem;
}

.panel div.wpforms-container-full .wpforms-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="hidden"]),
.panel div.wpforms-container-full .wpforms-form select,
.panel div.wpforms-container-full .wpforms-form textarea {
	width: 100%;
	max-width: 100%;
	min-height: 2.875rem;
	padding: 0.7rem 0.8rem;
	border: 1px solid #a89f8b;
	border-radius: 6px;
	background-color: #fffdf8;
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1rem;
	box-shadow: none;
}

.panel div.wpforms-container-full .wpforms-form textarea {
	min-height: 8.5rem;
}

.panel div.wpforms-container-full .wpforms-form input:focus,
.panel div.wpforms-container-full .wpforms-form select:focus,
.panel div.wpforms-container-full .wpforms-form textarea:focus {
	border-color: var(--grass-deep);
	outline: 3px solid var(--grass-deep);
	outline-offset: 1px;
	box-shadow: none;
}

.panel div.wpforms-container-full .wpforms-form button[type="submit"],
.panel div.wpforms-container-full .wpforms-form .wpforms-submit {
	min-height: 2.875rem;
	padding: 0.7rem 1.5rem;
	border: 0;
	border-radius: 6px;
	background: var(--signal);
	color: var(--night);
	font: 600 1rem/1.2 var(--sans);
	cursor: pointer;
}

.panel div.wpforms-container-full .wpforms-form button[type="submit"]:hover,
.panel div.wpforms-container-full .wpforms-form .wpforms-submit:hover {
	background: #f3c158;
}

.panel div.wpforms-container-full .wpforms-form label.wpforms-error,
.panel div.wpforms-container-full .wpforms-form em.wpforms-error {
	color: #a3361a;
	font-family: var(--sans);
	font-size: 0.875rem;
}

.panel .wpforms-confirmation-container-full {
	margin: 0;
	padding: 0.85rem 1rem;
	border: 1px solid #9cc49a;
	border-radius: 6px;
	background: #e4f0e1;
	color: #1d4026;
	font-family: var(--sans);
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}
