:root {
	color-scheme: light;
	--paper: #f6f3eb;
	--surface: #fffefa;
	--surface-soft: #eeeadf;
	--ink: #29362f;
	--ink-soft: #40534a;
	--muted: #68766d;
	--forest: #3e6454;
	--forest-dark: #29483b;
	--sage: #e2eade;
	--terracotta: #a85f49;
	--terracotta-dark: #874b3a;
	--line: #e4dfd4;
	--line-strong: #c8d0c4;
	--font-display: 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
	--font-body: 'Avenir Next', Avenir, 'Segoe UI', sans-serif;
	--shadow-card: 0 20px 55px rgba(45, 57, 47, 0.09);
	font-family: var(--font-body);
	font-synthesis: none;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

html {
	min-width: 320px;
	background: var(--paper);
	scroll-behavior: smooth;
}

body {
	min-width: 320px;
	min-height: 100vh;
	margin: 0;
	background:
		radial-gradient(ellipse at 12% 7%, rgba(225, 234, 220, 0.62), transparent 34rem),
		var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.7;
}

::selection {
	background: #d3dfd1;
	color: var(--forest-dark);
}

a {
	color: var(--forest-dark);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 3px solid #bd765d;
	outline-offset: 4px;
}

img {
	max-width: 100%;
}

button,
input,
textarea {
	font: inherit;
}

.skip-link {
	position: absolute;
	z-index: 30;
	top: 0.75rem;
	left: 0.75rem;
	padding: 0.65rem 1rem;
	transform: translateY(-160%);
	border-radius: 0.5rem;
	background: var(--forest-dark);
	color: white;
	font-weight: 650;
}

.skip-link:focus {
	transform: translateY(0);
}

.button {
	min-height: 48px;
	padding: 0.82rem 1.25rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	border: 1px solid var(--terracotta);
	border-radius: 999px;
	background: var(--terracotta);
	box-shadow: 0 8px 18px rgba(139, 77, 58, 0.13);
	color: #fffdfa;
	font-size: 0.92rem;
	font-weight: 650;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
	transform: translateY(-1px);
	border-color: var(--terracotta-dark);
	background: var(--terracotta-dark);
	color: #fffdfa;
}

.button--quiet {
	border-color: var(--line-strong);
	background: transparent;
	box-shadow: none;
	color: var(--forest-dark);
}

.button--quiet:hover {
	border-color: var(--forest);
	background: var(--sage);
	color: var(--forest-dark);
}

.eyebrow {
	margin: 0 0 0.8rem;
	color: var(--terracotta-dark);
	font-size: 0.75rem;
	font-weight: 750;
	letter-spacing: 0.15em;
	line-height: 1.4;
	text-transform: uppercase;
}

.site-main {
	min-height: 60vh;
	padding: clamp(2.25rem, 5vw, 4.5rem) 1.25rem;
}

.content-wrap--home,
.content-wrap--contact {
	width: min(100%, 1200px);
	margin-inline: auto;
}

.content-wrap--prose {
	width: min(100%, 1200px);
	margin-inline: auto;
	padding: clamp(1.5rem, 4vw, 3rem);
	border: 1px solid rgba(228, 223, 212, 0.9);
	border-radius: clamp(1.25rem, 3vw, 2rem);
	background: var(--surface);
	box-shadow: var(--shadow-card);
}

.prose {
	max-width: 70ch;
	margin-inline: auto;
}

.content-wrap--prose.prose {
	max-width: 1200px;
}

.content-wrap--prose.prose > p,
.content-wrap--prose.prose > ul,
.content-wrap--prose.prose > ol {
	max-width: 96ch;
}

.prose > :first-child {
	margin-top: 0;
}

.prose h1,
.prose h2,
.prose h3 {
	color: var(--forest-dark);
	font-family: var(--font-display);
	font-weight: 500;
	letter-spacing: -0.035em;
}

.prose h1 {
	margin: 0 0 1.5rem;
	font-size: clamp(2.7rem, 5.4vw, 4.4rem);
	line-height: 1.04;
}

.prose h2 {
	margin: 2.7rem 0 0.8rem;
	font-size: clamp(1.8rem, 3vw, 2.45rem);
	line-height: 1.15;
}

.prose h3 {
	margin: 2rem 0 0.65rem;
	font-size: 1.45rem;
	line-height: 1.25;
}

.prose p,
.prose ul,
.prose ol {
	margin: 0 0 1.25rem;
	color: var(--ink-soft);
	font-size: 1.04rem;
	line-height: 1.82;
}

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

.prose li {
	padding-left: 0.3rem;
	margin-block: 0.45rem;
}

.prose li::marker {
	color: var(--terracotta);
}

.prose a:not(.button) {
	color: var(--forest-dark);
	text-decoration-color: #9eae9f;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.prose a:not(.button):hover {
	text-decoration-color: currentColor;
}

.home-hero {
	position: relative;
	min-height: 630px;
	padding: clamp(2rem, 5vw, 4.6rem);
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.75fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 5rem);
	overflow: hidden;
	border: 1px solid rgba(228, 223, 212, 0.9);
	border-radius: clamp(1.4rem, 3vw, 2.4rem);
	background: linear-gradient(128deg, #fffefa 0%, #fffefa 62%, #f1eee4 100%);
	box-shadow: var(--shadow-card);
}

.home-hero::before {
	position: absolute;
	top: -115px;
	right: 30%;
	width: 250px;
	height: 250px;
	border: 1px solid rgba(62, 100, 84, 0.1);
	border-radius: 50%;
	content: '';
	pointer-events: none;
}

.home-hero__copy {
	position: relative;
	z-index: 1;
}

.home-hero__copy > .eyebrow {
	margin-bottom: 1.25rem;
}

.home-hero__content h1 {
	max-width: 12ch;
	margin: 0 0 1.4rem;
	color: var(--forest-dark);
	font-family: var(--font-display);
	font-size: clamp(3rem, 5vw, 4.6rem);
	font-weight: 500;
	letter-spacing: -0.055em;
	line-height: 0.99;
}

.home-hero__content p {
	max-width: 62ch;
	margin: 0 0 0.9rem;
	color: var(--ink-soft);
	font-size: clamp(0.96rem, 1.25vw, 1.06rem);
	line-height: 1.72;
}

.home-hero__content p:first-of-type {
	color: var(--forest-dark);
	font-size: 1.13rem;
	font-weight: 550;
}

.hero-actions {
	margin-top: 1.8rem;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.hero-note {
	margin: 1.15rem 0 0;
	display: flex;
	align-items: center;
	gap: 0.55rem;
	color: var(--muted);
	font-size: 0.85rem;
}

.hero-note::before {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--forest);
	content: '';
}

.home-portrait {
	position: relative;
	width: min(100%, 365px);
	margin: 0 auto;
	padding: 0 0.9rem 0.9rem 0;
}

.home-portrait::before {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 83%;
	height: 88%;
	border-radius: 48% 48% 1.7rem 1.7rem;
	background: #e6c9af;
	content: '';
}

.home-portrait img {
	position: relative;
	display: block;
	width: 100%;
	max-height: 560px;
	border-radius: 48% 48% 1.45rem 1.45rem;
	object-fit: cover;
	object-position: center 28%;
	box-shadow: 0 15px 36px rgba(48, 57, 47, 0.14);
}

.home-portrait figcaption {
	position: relative;
	margin: 0.8rem 0 0;
	color: var(--muted);
	font-size: 0.8rem;
	text-align: center;
}

.services-preview {
	padding-block: clamp(4rem, 8vw, 7rem) clamp(1rem, 3vw, 2rem);
}

.section-heading {
	max-width: 650px;
	margin: 0 auto 2.1rem;
	text-align: center;
}

.section-heading h2 {
	margin: 0 0 0.7rem;
	color: var(--forest-dark);
	font-family: var(--font-display);
	font-size: clamp(2.15rem, 4vw, 3.2rem);
	font-weight: 500;
	letter-spacing: -0.04em;
	line-height: 1.1;
}

.section-heading p:not(.eyebrow) {
	margin: 0;
	color: var(--muted);
	font-size: 1rem;
}

.service-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.service-card {
	min-height: 245px;
	padding: 1.55rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	border: 1px solid var(--line);
	border-radius: 1.35rem;
	background: rgba(255, 254, 250, 0.82);
	color: inherit;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
	transform: translateY(-4px);
	border-color: var(--line-strong);
	box-shadow: 0 16px 34px rgba(45, 57, 47, 0.09);
}

.service-card__number {
	width: 2.45rem;
	height: 2.45rem;
	margin-bottom: 1.5rem;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--sage);
	color: var(--forest-dark);
	font-family: var(--font-display);
	font-size: 1rem;
}

.service-card h3 {
	margin: 0 0 0.5rem;
	color: var(--forest-dark);
	font-family: var(--font-display);
	font-size: 1.55rem;
	font-weight: 500;
	letter-spacing: -0.025em;
}

.service-card p {
	margin: 0 0 1.25rem;
	color: var(--muted);
	font-size: 0.92rem;
	line-height: 1.65;
}

.service-card__link {
	margin-top: auto;
	color: var(--terracotta-dark);
	font-size: 0.88rem;
	font-weight: 700;
}

.contact-invitation {
	width: min(100% - 2.5rem, 910px);
	margin: 0 auto clamp(3rem, 7vw, 5.5rem);
	padding: clamp(1.5rem, 4vw, 2.5rem);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	border: 1px solid #d4dfd2;
	border-radius: 1.5rem;
	background: var(--sage);
}

.contact-invitation h2 {
	margin: 0 0 0.45rem;
	color: var(--forest-dark);
	font-family: var(--font-display);
	font-size: clamp(1.7rem, 3vw, 2.2rem);
	font-weight: 500;
	letter-spacing: -0.035em;
	line-height: 1.15;
}

.contact-invitation p:not(.eyebrow) {
	max-width: 56ch;
	margin: 0;
	color: var(--ink-soft);
	font-size: 0.93rem;
}

.contact-invitation .eyebrow {
	margin-bottom: 0.45rem;
}

.site-footer {
	background: var(--forest-dark);
	color: #f7f5ed;
}

.footer-inner {
	width: min(100% - 3rem, 1200px);
	margin-inline: auto;
	padding: 3rem 0 1.35rem;
	display: grid;
	grid-template-columns: minmax(250px, 1fr) auto;
	gap: 2rem 4rem;
}

.footer-brand {
	color: #fffefa;
	font-family: var(--font-display);
	font-size: 1.6rem;
	letter-spacing: -0.025em;
	text-decoration: none;
}

.footer-main p {
	max-width: 36ch;
	margin: 0.55rem 0 0;
	color: #d3ddd4;
	font-size: 0.9rem;
}

.footer-nav {
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 0.7rem 1.25rem;
}

.footer-nav a {
	color: #e0e8df;
	font-size: 0.87rem;
	text-decoration: none;
}

.footer-nav a:hover {
	color: white;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.footer-bottom {
	grid-column: 1 / -1;
	padding-top: 1rem;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	color: #c6d4c9;
	font-size: 0.77rem;
}

.contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1.15fr);
	align-items: start;
	gap: clamp(2rem, 6vw, 5rem);
}

.contact-intro {
	padding-top: 1.2rem;
}

.contact-intro h1 {
	max-width: 12ch;
	margin: 0 0 1.1rem;
	color: var(--forest-dark);
	font-family: var(--font-display);
	font-size: clamp(2.8rem, 5vw, 4.2rem);
	font-weight: 500;
	letter-spacing: -0.05em;
	line-height: 1;
}

.contact-intro p:not(.eyebrow) {
	max-width: 48ch;
	color: var(--ink-soft);
	font-size: 1.08rem;
	line-height: 1.8;
}

.contact-details {
	margin: 2rem 0 0;
	padding: 1.1rem 1.25rem;
	border-left: 3px solid #b2c4af;
	background: rgba(226, 234, 222, 0.54);
	color: var(--ink-soft);
	font-size: 0.94rem;
}

.contact-panel {
	padding: clamp(1.4rem, 4vw, 2.4rem);
	border: 1px solid var(--line);
	border-radius: 1.7rem;
	background: var(--surface);
	box-shadow: var(--shadow-card);
}

.contact-panel h2 {
	margin: 0 0 1.35rem;
	color: var(--forest-dark);
	font-family: var(--font-display);
	font-size: 1.8rem;
	font-weight: 500;
	letter-spacing: -0.03em;
}

.contact-form {
	display: grid;
	gap: 1.1rem;
}

.contact-form label {
	display: grid;
	gap: 0.4rem;
	color: var(--ink-soft);
	font-size: 0.88rem;
	font-weight: 650;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	min-height: 48px;
	padding: 0.75rem 0.85rem;
	border: 1px solid var(--line-strong);
	border-radius: 0.7rem;
	background: #fff;
	color: var(--ink);
	font-size: 1rem;
	font-weight: 400;
}

.contact-form textarea {
	min-height: 155px;
	resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
	color: #87938a;
}

.contact-form button {
	justify-self: start;
	cursor: pointer;
}

.contact-form__required {
	margin: 0;
	color: var(--muted);
	font-size: 0.78rem;
}

@media (max-width: 820px) {
	.site-main {
		padding: 2.25rem 1rem 3.5rem;
	}

	.home-hero {
		min-height: auto;
		grid-template-columns: minmax(0, 1fr) minmax(215px, 0.72fr);
		gap: 1.75rem;
	}

	.home-portrait {
		width: 100%;
	}

	.home-hero__content h1 {
		font-size: clamp(2.65rem, 6.8vw, 3.6rem);
	}

	.service-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.contact-layout {
		grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1.2fr);
		gap: 1.5rem;
	}
}

@media (max-width: 620px) {
	.content-wrap--prose {
		padding: 1.6rem 1.25rem;
		border-radius: 1.15rem;
	}

	.home-hero {
		padding: 1.5rem;
		grid-template-columns: 1fr;
	}

	.home-hero__content h1 {
		max-width: 11ch;
		font-size: clamp(2.8rem, 12vw, 4rem);
	}

	.home-portrait {
		width: min(100%, 340px);
	}

	.service-grid {
		grid-template-columns: 1fr;
	}

	.service-card {
		min-height: auto;
	}

	.contact-invitation {
		width: min(100% - 2rem, 910px);
		align-items: flex-start;
		flex-direction: column;
	}

	.footer-inner {
		width: min(100% - 2rem, 1200px);
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.footer-nav {
		justify-content: flex-start;
	}

	.footer-bottom {
		grid-column: auto;
	}

	.contact-layout {
		grid-template-columns: 1fr;
	}

	.contact-intro {
		padding-top: 0;
	}
}

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