:root {
	--home-paper: #f2f1e8;
	--home-white: #fffefa;
	--home-ink: #202b24;
	--home-muted: #667068;
	--home-green: #28533b;
	--home-green-dark: #1e3c2b;
	--home-coral: #d76d55;
	color-scheme: light;
	font-family: "DM Sans", sans-serif;
	color: var(--home-ink);
	background: var(--home-paper);
	font-synthesis: none;
	text-rendering: optimizeLegibility;
}

* {
	box-sizing: border-box;
}

body.home-page {
	min-width: 320px;
	margin: 0;
	background: var(--home-paper);
}

.home-page a {
	color: inherit;
}

.home-page a:focus-visible {
	outline: 3px solid var(--home-coral);
	outline-offset: 4px;
}

.home-header {
	position: relative;
	z-index: 2;
	min-height: 76px;
	padding: 0 max(6vw, 22px);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	background: var(--home-white);
}

.home-wordmark {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	color: var(--home-ink);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
}

.home-wordmark strong {
	font-weight: 700;
}

.home-monogram {
	width: 112px;
	height: 90px;
	display: block;
	object-fit: contain;
	border-radius: 3px;
}

.home-nav {
	display: flex;
	align-items: center;
	gap: 30px;
}

.home-nav a {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--home-ink);
	text-decoration: none;
	font-size: 12px;
	font-weight: 700;
}

.home-nav a:first-child {
	color: var(--home-green);
}

.home-nav a:hover,
.home-text-link:hover {
	color: var(--home-coral);
}

.home-hero {
	position: relative;
	min-height: 420px;
	height: min(680px, 70svh);
	overflow: hidden;
	display: flex;
	align-items: center;
	background: #435a46;
	color: white;
}

.home-hero-image,
.home-hero-shade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.home-hero-image {
	object-fit: cover;
	object-position: center 54%;
	animation: pasture-reveal 700ms ease-out both;
}

.home-hero-shade {
	background: rgb(17 31 22 / 36%);
}

.home-hero-copy {
	position: relative;
	z-index: 1;
	width: min(1160px, calc(100% - 48px));
	margin: 0 auto;
	padding: 22px 0 32px;
	animation: copy-arrive 650ms 100ms ease-out both;
}

.home-eyebrow {
	margin: 0 0 18px;
	display: flex;
	align-items: center;
	gap: 9px;
	color: white;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
}

.home-eyebrow span {
	width: 8px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--home-coral);
}

.home-hero h1 {
	margin: 0;
	font-family: "Fraunces", Georgia, serif;
	font-size: 80px;
	font-weight: 600;
	line-height: 0.9;
}

.home-tagline {
	margin: 17px 0 24px;
	color: white;
	font-size: 14px;
}

.home-cta {
	min-height: 46px;
	margin-top: 58px;
	padding: 0 17px;
	display: inline-flex;
	align-items: center;
	gap: 25px;
	border-radius: 3px;
	background: var(--home-coral);
	color: white !important;
	text-decoration: none;
	font-size: 12px;
	font-weight: 700;
	transition: background-color 160ms ease, transform 160ms ease;
}

.home-cta:hover {
	transform: translateY(-2px);
	background: #bd543e;
}

.home-hero-caption {
	position: absolute;
	right: max(6vw, 22px);
	bottom: 18px;
	z-index: 1;
	color: rgb(255 255 255 / 85%);
	font-size: 10px;
}

.home-intro {
	width: min(1160px, calc(100% - 48px));
	margin: 0 auto;
	padding: 70px 0 76px;
}

.home-section-label {
	margin-bottom: 24px;
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--home-green);
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
}

.home-section-label span {
	color: var(--home-coral);
	font-family: "Fraunces", Georgia, serif;
	font-size: 15px;
}

.home-intro-copy {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	align-items: end;
	gap: 70px;
}

.home-intro h2,
.home-listing-link h2 {
	margin: 0;
	font-family: "Fraunces", Georgia, serif;
	font-size: 42px;
	font-weight: 600;
	line-height: 1.04;
}

.home-intro h2 em {
	color: var(--home-green);
	font-weight: 600;
}

.home-intro-aside {
	max-width: 390px;
}

.home-intro-aside p {
	margin: 0 0 17px;
	color: var(--home-muted);
	font-size: 13px;
	line-height: 1.8;
}

.home-text-link {
	display: inline-flex;
	align-items: center;
	gap: 15px;
	color: var(--home-green);
	text-decoration-color: var(--home-coral);
	text-underline-offset: 5px;
	font-size: 12px;
	font-weight: 700;
}

.home-listing-link {
	min-height: 240px;
	padding: 42px max(6vw, 24px);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 26px;
	background-color: var(--home-green-dark);
	background-image: repeating-linear-gradient(135deg, transparent 0, transparent 23px, rgb(255 255 255 / 3%) 24px, transparent 25px);
	color: white;
}

.home-eyebrow-dark {
	margin-bottom: 13px;
	color: #dce8d9;
}

.home-listing-link h2 {
	font-size: 38px;
}

.home-listing-link > a {
	min-height: 46px;
	padding: 0 16px;
	display: inline-flex;
	align-items: center;
	gap: 22px;
	border: 1px solid rgb(255 255 255 / 65%);
	border-radius: 3px;
	color: white;
	text-decoration: none;
	font-size: 12px;
	font-weight: 700;
}

.home-listing-link > a:hover {
	border-color: var(--home-coral);
	background: var(--home-coral);
}

.home-footer {
	min-height: 78px;
	padding: 12px max(6vw, 24px);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	background: var(--home-white);
}

.home-footer > span {
	color: var(--home-muted);
	font-size: 10px;
}

.home-social {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 14px;
	font-size: 11px;
}

.home-social span {
	color: var(--home-muted);
}

.home-social a {
	color: var(--home-green);
	font-weight: 700;
	text-decoration: none;
}

.home-social a:hover {
	color: var(--home-coral);
	text-decoration: underline;
	text-underline-offset: 3px;
}

@keyframes pasture-reveal {
	from { transform: scale(1.025); opacity: 0.8; }
	to { transform: scale(1); opacity: 1; }
}

@keyframes copy-arrive {
	from { transform: translateY(12px); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 640px) {
	.home-header {
		min-height: 66px;
		padding: 0 18px;
	}

	.home-wordmark {
		gap: 8px;
		font-size: 12px;
	}

	.home-monogram {
		width: 90px;
		height: 72px;
	}

	.home-nav {
		gap: 15px;
	}

	.home-nav a {
		min-height: 40px;
		font-size: 10px;
	}

	.home-hero {
		height: 61svh;
		min-height: 410px;
		max-height: 590px;
	}

	.home-hero-image {
		object-position: 58% center;
	}

	.home-hero-shade {
		background: rgb(17 31 22 / 42%);
	}

	.home-hero-copy {
		width: calc(100% - 40px);
	}

	.home-hero h1 {
		font-size: 61px;
	}

	.home-hero-caption {
		right: 20px;
		bottom: 14px;
	}

	.home-intro {
		width: calc(100% - 40px);
		padding: 44px 0 50px;
	}

	.home-intro-copy {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.home-intro h2 {
		font-size: 35px;
	}

	.home-listing-link {
		min-height: 220px;
		padding: 34px 20px;
	}

	.home-listing-link h2 {
		font-size: 32px;
	}

	.home-listing-link > a {
		gap: 12px;
		padding: 0 10px;
		font-size: 10px;
	}

	.home-footer {
		min-height: 70px;
		padding: 12px 18px;
		flex-wrap: wrap;
	}

	.home-social {
		width: 100%;
		justify-content: flex-start;
	}
}

@media (max-width: 380px) {
	.home-header {
		min-height: 66px;
		padding: 8px 18px;
		flex-wrap: wrap;
		row-gap: 0;
	}

	.home-header .home-nav {
		width: 100%;
		justify-content: flex-end;
	}

	.home-nav {
		gap: 9px;
	}

	.home-nav a {
		font-size: 9px;
	}

	.home-listing-link {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

.gallery-page {
	min-width: 320px;
	margin: 0;
	background: var(--home-paper);
}

.gallery-page a {
	color: inherit;
}

.gallery-page a:focus-visible,
.gallery-page button:focus-visible {
	outline: 3px solid var(--home-coral);
	outline-offset: 4px;
}

.gallery-current {
	color: var(--home-green) !important;
	box-shadow: inset 0 -2px var(--home-coral);
}

.gallery-main {
	width: min(1160px, calc(100% - 48px));
	margin: 0 auto;
}

.gallery-heading {
	min-height: 250px;
	padding: 48px 0 34px;
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 36px;
	border-bottom: 1px solid #d7dcd2;
}

.gallery-eyebrow {
	margin: 0 0 15px;
	display: flex;
	align-items: center;
	gap: 9px;
	color: var(--home-green);
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
}

.gallery-eyebrow span {
	width: 8px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--home-coral);
}

.gallery-heading h1 {
	margin: 0;
	font-family: "Fraunces", Georgia, serif;
	font-size: 54px;
	font-weight: 600;
	line-height: 0.98;
}

.gallery-heading h1 em {
	color: var(--home-green);
	font-weight: 600;
}

.gallery-intro {
	width: min(300px, 38%);
	margin: 0 0 5px;
	color: var(--home-muted);
	font-size: 13px;
	line-height: 1.7;
}

.gallery-section {
	padding: 27px 0 68px;
}

.gallery-toolbar {
	margin-bottom: 16px;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
}

.gallery-toolbar h2 {
	margin: 0;
	font-family: "Fraunces", Georgia, serif;
	font-size: 22px;
	font-weight: 600;
}

.gallery-toolbar span {
	color: var(--home-muted);
	font-size: 11px;
}

.gallery-grid {
	columns: 3 250px;
	column-gap: 18px;
}

.gallery-item {
	margin: 0 0 18px;
	break-inside: avoid;
	overflow: hidden;
	border: 1px solid #d7dcd2;
	border-radius: 5px;
	background: var(--home-white);
	animation: gallery-enter 400ms ease-out both;
}

.gallery-photo {
	position: relative;
	width: 100%;
	padding: 0;
	display: block;
	border: 0;
	background: #dce9e6;
	cursor: zoom-in;
}

.gallery-photo::after {
	position: absolute;
	inset: 0;
	background: rgb(17 31 22 / 0%);
	content: "";
	transition: background-color 160ms ease;
}

.gallery-photo:hover::after {
	background: rgb(17 31 22 / 14%);
}

.gallery-photo img {
	width: 100%;
	height: auto;
	display: block;
}

.gallery-photo-unavailable {
	min-height: 180px;
	aspect-ratio: 4 / 3;
	display: grid;
	place-items: center;
	cursor: default;
}

.gallery-photo-error {
	padding: 14px;
	color: var(--home-muted);
	font-size: 12px;
}

.gallery-item figcaption {
	padding: 11px 13px 12px;
	color: var(--home-ink);
	font-size: 11px;
	font-weight: 600;
}

.gallery-item-actions {
	padding: 0 10px 10px;
	display: flex;
	justify-content: flex-end;
	gap: 8px;
}

.gallery-item-actions button {
	min-height: 32px;
	padding: 6px 10px;
	font-size: 10px;
}

.gallery-form-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.gallery-status {
	min-height: 20px;
	margin: 0 0 12px;
	color: var(--home-muted);
	font-size: 12px;
}

.photo-viewer {
	position: fixed;
	max-width: min(1100px, calc(100% - 32px));
	max-height: calc(100% - 32px);
	padding: 14px;
	border: 0;
	border-radius: 5px;
	background: var(--home-white);
	box-shadow: 0 12px 48px rgb(0 0 0 / 28%);
}

.photo-viewer::backdrop {
	background: rgb(16 26 19 / 82%);
}

.viewer-controls {
	margin-bottom: 10px;
	display: flex;
	justify-content: end;
}

.viewer-controls button {
	min-height: 36px;
	padding: 6px 9px;
	border: 1px solid #d7dcd2;
	border-radius: 3px;
	background: var(--home-white);
	color: var(--home-ink);
	cursor: pointer;
	font: 600 12px "DM Sans", sans-serif;
}

.viewer-controls button span {
	margin-left: 7px;
	color: var(--home-coral);
	font-size: 17px;
}

.photo-viewer img {
	max-width: 100%;
	max-height: calc(100svh - 120px);
	margin: 0 auto;
	display: block;
	object-fit: contain;
}

.photo-viewer p {
	margin: 11px 2px 1px;
	color: var(--home-ink);
	font-size: 12px;
}

@keyframes gallery-enter {
	from { transform: translateY(8px); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 640px) {
	.gallery-main {
		width: calc(100% - 40px);
	}

	.gallery-heading {
		min-height: 0;
		padding: 38px 0 25px;
		align-items: start;
		flex-direction: column;
		gap: 12px;
	}

	.gallery-heading h1 {
		font-size: 44px;
	}

	.gallery-intro {
		width: min(340px, 100%);
	}

	.gallery-section {
		padding: 23px 0 45px;
	}

	.gallery-grid {
		columns: 2 145px;
		column-gap: 12px;
	}

	.gallery-item {
		margin-bottom: 12px;
	}

	.gallery-item figcaption {
		padding: 9px 10px;
		font-size: 10px;
	}
}

@media (max-width: 380px) {
	.gallery-header {
		min-height: 66px;
		padding: 8px 18px;
		flex-wrap: wrap;
		row-gap: 0;
	}

	.gallery-header .home-nav {
		width: 100%;
		justify-content: flex-end;
	}

	.gallery-grid {
		columns: 1;
	}
}

.goats-page {
	min-width: 320px;
	margin: 0;
	background: var(--home-paper);
}

.goats-page a {
	color: inherit;
}

.goats-page a:focus-visible,
.goats-page button:focus-visible,
.owner-panel summary:focus-visible {
	outline: 3px solid var(--home-coral);
	outline-offset: 4px;
}

.goats-current {
	color: var(--home-green) !important;
	box-shadow: inset 0 -2px var(--home-coral);
}

.goats-main {
	width: min(1160px, calc(100% - 48px));
	margin: 0 auto;
}

.goats-heading {
	min-height: 250px;
	padding: 48px 0 34px;
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 36px;
	border-bottom: 1px solid #d7dcd2;
}

.goats-eyebrow {
	margin: 0 0 15px;
	display: flex;
	align-items: center;
	gap: 9px;
	color: var(--home-green);
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
}

.goats-eyebrow span {
	width: 8px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--home-coral);
}

.goats-heading h1 {
	margin: 0;
	font-family: "Fraunces", Georgia, serif;
	font-size: 54px;
	font-weight: 600;
	line-height: 0.98;
}

.goats-heading h1 em {
	color: var(--home-green);
	font-weight: 600;
}

.goats-intro {
	width: min(310px, 38%);
	margin: 0 0 5px;
	color: var(--home-muted);
	font-size: 13px;
	line-height: 1.7;
}

.goats-listings {
	padding: 28px 0 56px;
}

.goats-toolbar {
	margin-bottom: 14px;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
}

.goats-toolbar h2,
.owner-tools-heading h2 {
	margin: 0;
	font-family: "Fraunces", Georgia, serif;
	font-size: 23px;
	font-weight: 600;
}

.goats-toolbar > span {
	color: var(--home-muted);
	font-size: 11px;
}

.catalog-status,
.owner-status {
	min-height: 20px;
	margin: 0;
	color: var(--home-muted);
	font-size: 12px;
}

.goat-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: start;
	gap: 20px;
}

.goat-card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid #d7dcd2;
	border-radius: 5px;
	background: var(--home-white);
	box-shadow: 0 5px 18px rgb(29 48 40 / 5%);
}

.goat-photo {
	position: relative;
	aspect-ratio: 1.42;
	overflow: hidden;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: 3px;
	background: #dce9e6;
}

.goat-photo.photo-count-1 {
	grid-template-columns: 1fr;
	grid-template-rows: 1fr;
}

.goat-photo.photo-count-2 {
	grid-template-rows: 1fr;
}

.goat-photo.photo-count-3 > :first-child {
	grid-row: span 2;
}

.goat-photo-tile {
	position: relative;
	min-width: 0;
	min-height: 0;
	padding: 0;
	border: 0;
	overflow: hidden;
	background: #dce9e6;
	cursor: zoom-in;
}

.goat-photo-tile img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.goat-photo-tile.has-more-photos::after {
	position: absolute;
	inset: 0;
	background: rgb(20 42 29 / 60%);
	content: "";
}

.goat-photo-more {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: grid;
	place-content: center;
	gap: 4px;
	color: white;
	font-size: 12px;
	font-weight: 700;
}

.goat-photo-more::before {
	content: "+";
	font-family: "Fraunces", Georgia, serif;
	font-size: 27px;
	line-height: 1;
}

.goat-photos-dialog {
	position: fixed;
	width: min(1040px, calc(100% - 32px));
	max-height: calc(100% - 32px);
	margin: auto;
	padding: 18px;
	border: 0;
	border-radius: 5px;
	background: var(--home-white);
	box-shadow: 0 12px 48px rgb(0 0 0 / 28%);
}

.goat-photos-dialog::backdrop {
	background: rgb(16 26 19 / 82%);
}

.goat-photos-dialog-header {
	position: sticky;
	top: -18px;
	z-index: 1;
	margin: -18px -18px 16px;
	padding: 15px 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	border-bottom: 1px solid #d7dcd2;
	background: var(--home-white);
}

.goat-photos-dialog-header h2 {
	margin: 0;
	font-family: "Fraunces", Georgia, serif;
	font-size: 22px;
	font-weight: 600;
}

.goat-photos-dialog-header button {
	min-height: 36px;
	padding: 6px 10px;
	border: 1px solid #d7dcd2;
	border-radius: 3px;
	background: var(--home-white);
	color: var(--home-ink);
	cursor: pointer;
	font: 600 12px "DM Sans", sans-serif;
}

.goat-photos-viewer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 14px;
}

.goat-photos-viewer-item {
	min-width: 0;
	margin: 0;
	overflow: hidden;
	border: 1px solid #d7dcd2;
	border-radius: 4px;
	background: white;
}

.goat-photos-viewer-item img {
	width: 100%;
	aspect-ratio: 4 / 3;
	display: block;
	object-fit: contain;
	background: #e8ece5;
}

.goat-photos-viewer-item figcaption {
	padding: 8px 10px;
	color: var(--home-muted);
	font-size: 11px;
}

.goat-info {
	padding: 16px;
}

.goat-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.goat-title h3 {
	margin: 0;
	font-family: "Fraunces", Georgia, serif;
	font-size: 20px;
	font-weight: 600;
}

.goat-type {
	padding: 5px 8px;
	border-radius: 3px;
	background: #dce9e6;
	color: var(--home-green-dark);
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
}

.goat-description {
	min-height: 48px;
	margin: 10px 0 13px;
	color: var(--home-muted);
	font-size: 12px;
	line-height: 1.6;
}

.goat-meta {
	padding: 10px 0;
	display: flex;
	gap: 24px;
	border-top: 1px solid #d7dcd2;
	border-bottom: 1px solid #d7dcd2;
	color: var(--home-muted);
	font-size: 10px;
}

.goat-meta > span {
	display: grid;
	gap: 4px;
}

.goat-meta strong {
	color: var(--home-ink);
	font-size: 11px;
}

.goat-footer {
	padding-top: 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.price {
	color: var(--home-green);
	font-size: 12px;
	font-weight: 700;
}

.goat-footer a {
	color: var(--home-coral) !important;
	text-decoration: none;
	font-size: 11px;
	font-weight: 700;
}

.owner-panel {
	margin: 0 0 34px;
	border-top: 1px solid #d7dcd2;
	border-bottom: 1px solid #d7dcd2;
}

.owner-panel summary {
	min-height: 54px;
	display: flex;
	align-items: center;
	color: var(--home-green);
	cursor: pointer;
	font-size: 12px;
	font-weight: 700;
	list-style-position: inside;
}

.owner-content {
	max-width: 760px;
	padding: 0 0 24px;
}

.owner-tools-heading {
	margin: 18px 0 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

.owner-tools-heading h2 {
	font-size: 21px;
}

.owner-form {
	margin-top: 14px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 13px;
}

.owner-form label {
	min-width: 0;
	display: grid;
	gap: 6px;
	color: var(--home-ink);
	font-size: 11px;
	font-weight: 700;
}

.owner-form input,
.owner-form select,
.owner-form textarea {
	width: 100%;
	min-height: 42px;
	padding: 9px 11px;
	border: 1px solid #bfc9bf;
	border-radius: 4px;
	background: var(--home-white);
	color: var(--home-ink);
	font: 400 13px "DM Sans", sans-serif;
}

.owner-form textarea {
	min-height: 94px;
	resize: vertical;
}

.owner-form input:focus-visible,
.owner-form select:focus-visible,
.owner-form textarea:focus-visible {
	outline: 3px solid rgb(215 109 85 / 35%);
	border-color: var(--home-coral);
}

.owner-form button,
.quiet-button,
.remove-button {
	min-height: 40px;
	padding: 9px 13px;
	border: 0;
	border-radius: 4px;
	background: var(--home-green-dark);
	color: white;
	cursor: pointer;
	font: 700 12px "DM Sans", sans-serif;
}

.owner-form button:hover,
.quiet-button:hover {
	background: var(--home-green);
}

.owner-form button:disabled,
.remove-button:disabled {
	cursor: wait;
	opacity: 0.65;
}

.quiet-button {
	min-height: 34px;
	padding: 7px 10px;
	background: transparent;
	color: var(--home-green);
	box-shadow: inset 0 0 0 1px #d7dcd2;
}

.remove-button {
	min-height: 34px;
	margin-top: 12px;
	padding: 7px 10px;
	background: #f8e6e1;
	color: #8d3025;
}

.remove-button:hover {
	background: #f2d3ca;
}

.form-wide {
	grid-column: 1 / -1;
}

[hidden] {
	display: none !important;
}

@media (max-width: 900px) {
	.goat-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.goats-main {
		width: calc(100% - 40px);
	}

	.goats-heading {
		min-height: 0;
		padding: 38px 0 25px;
		align-items: start;
		flex-direction: column;
		gap: 12px;
	}

	.goats-heading h1 {
		font-size: 44px;
	}

	.goats-intro {
		width: min(340px, 100%);
	}

	.goat-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.owner-form {
		grid-template-columns: 1fr;
	}

	.form-wide {
		grid-column: auto;
	}
}

.account-menu {
	position: relative;
	flex: 0 0 auto;
}

.account-menu > summary {
	min-height: 36px;
	padding: 0 11px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border-radius: 3px;
	background: var(--home-green-dark);
	color: white;
	cursor: pointer;
	font-size: 11px;
	font-weight: 700;
	list-style: none;
}

.account-menu > summary::-webkit-details-marker {
	display: none;
}

.account-menu > summary::after {
	content: "⌄";
	color: #dce8d9;
	font-size: 14px;
}

.account-menu > summary:hover {
	background: var(--home-green);
}

.account-popover {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 5;
	width: min(310px, calc(100vw - 32px));
	padding: 16px;
	border: 1px solid #d7dcd2;
	border-radius: 5px;
	background: var(--home-white);
	box-shadow: 0 10px 28px rgb(29 48 40 / 16%);
}

.account-switch {
	margin-bottom: 12px;
	padding: 3px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3px;
	border-radius: 4px;
	background: #e8ece5;
}

.account-switch button {
	min-height: 34px;
	padding: 6px 5px;
	border: 0;
	border-radius: 3px;
	background: transparent;
	color: var(--home-muted);
	cursor: pointer;
	font: 600 11px "DM Sans", sans-serif;
}

.account-switch button.selected {
	background: var(--home-white);
	color: var(--home-green-dark);
	box-shadow: 0 1px 3px rgb(29 48 40 / 12%);
}

.account-status,
.account-hint,
.account-identity {
	margin: 0 0 11px;
	color: var(--home-muted);
	font-size: 11px;
	line-height: 1.5;
}

.account-identity {
	color: var(--home-ink);
	font-weight: 700;
	overflow-wrap: anywhere;
}

.account-form {
	display: grid;
	gap: 10px;
}

.account-form label {
	display: grid;
	gap: 5px;
	color: var(--home-ink);
	font-size: 10px;
	font-weight: 700;
}

.account-form input {
	width: 100%;
	min-height: 39px;
	padding: 8px 9px;
	border: 1px solid #bfc9bf;
	border-radius: 3px;
	background: white;
	color: var(--home-ink);
	font: 400 12px "DM Sans", sans-serif;
}

.account-form input:focus-visible {
	outline: 3px solid rgb(215 109 85 / 35%);
	border-color: var(--home-coral);
}

.account-form > button,
#signed-in-view > button {
	min-height: 39px;
	padding: 8px 11px;
	border: 0;
	border-radius: 3px;
	background: var(--home-green-dark);
	color: white;
	cursor: pointer;
	font: 700 11px "DM Sans", sans-serif;
}

.account-form > button:hover,
#signed-in-view > button:hover {
	background: var(--home-green);
}

.account-form .account-hint {
	margin: -5px 0 0;
	font-size: 10px;
}

@media (max-width: 640px) {
	.home-header {
		min-height: auto;
		padding: 10px 18px 0;
		align-items: stretch;
		flex-direction: column;
		gap: 4px;
	}

	.home-nav {
		width: 100%;
		justify-content: space-between;
		gap: 8px;
	}

	.home-nav a {
		font-size: 10px;
	}

	.account-menu > summary {
		min-height: 34px;
		font-size: 10px;
	}
}

.account-mount {
	display: block;
	flex: 0 0 auto;
}

.about-main {
	width: min(1160px, calc(100% - 48px));
	min-height: calc(100svh - 154px);
	margin: 0 auto;
	padding: 76px 0 90px;
}

.about-main h1 {
	margin: 0;
	font-family: "Fraunces", Georgia, serif;
	font-size: 54px;
	font-weight: 600;
	line-height: 0.98;
}

.about-main h1 em {
	color: var(--home-green);
	font-weight: 600;
}

.about-main > p:not(.gallery-eyebrow) {
	max-width: 510px;
	margin: 22px 0 20px;
	color: var(--home-muted);
	font-size: 14px;
	line-height: 1.8;
}

.about-photo {
	width: min(100%, 720px);
	height: auto;
	margin: 0 0 24px;
	display: block;
	border-radius: 5px;
}

.about-links {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.about-links a {
	color: var(--home-green);
	text-decoration-color: var(--home-coral);
	text-underline-offset: 5px;
	font-size: 12px;
	font-weight: 700;
}

@media (max-width: 640px) {
	.about-main {
		width: calc(100% - 40px);
		min-height: calc(100svh - 150px);
		padding: 48px 0 60px;
	}

	.about-main h1 {
		font-size: 44px;
	}
}
