* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
	background: #f5f5f4;
	color: #1c1917;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	line-height: 1.6;
}

header {
	background: #292524;
	color: #fafaf9;
	padding: 1.25rem 1rem;
}

.header-inner {
	max-width: 48rem;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

header .site-title {
	font-weight: 700;
	font-size: 1.25rem;
	color: #fafaf9;
	text-decoration: none;
}

nav a {
	color: #d6d3d1;
	text-decoration: none;
	margin-left: 1.25rem;
	font-size: 0.95rem;
}

nav a:first-child {
	margin-left: 0;
}

nav a:hover,
nav a:focus {
	color: #fafaf9;
	text-decoration: underline;
}

main {
	flex: 1;
	max-width: 48rem;
	margin: 2.5rem auto;
	padding: 0 1rem;
	width: 100%;
}

main > p:first-child,
main > .lead {
	font-size: 1.15rem;
}

h1 {
	font-size: 2rem;
	margin-top: 0;
}

h2 {
	margin-top: 2.5rem;
	font-size: 1.4rem;
}

h3 {
	margin-top: 1.75rem;
	font-size: 1.1rem;
}

a {
	color: #b45309;
}

.cta {
	display: inline-block;
	margin-top: 1.5rem;
	background: #b45309;
	color: #fffaf0;
	text-decoration: none;
	padding: 0.6rem 1.25rem;
	border-radius: 0.35rem;
	font-weight: 600;
}

.cta:hover,
.cta:focus {
	background: #92400e;
}

.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	gap: 1.5rem;
	margin-top: 1.5rem;
}

.card h3 {
	margin-top: 0;
}

form.contact {
	margin-top: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	max-width: 32rem;
}

form.contact label {
	font-weight: 600;
	font-size: 0.9rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

form.contact input,
form.contact textarea {
	font: inherit;
	padding: 0.6rem;
	border: 1px solid #d6d3d1;
	border-radius: 0.35rem;
	background: #fff;
}

form.contact textarea {
	resize: vertical;
}

form.contact button {
	font: inherit;
	font-weight: 600;
	background: #b45309;
	color: #fffaf0;
	border: none;
	padding: 0.7rem 1.25rem;
	border-radius: 0.35rem;
	cursor: pointer;
	align-self: flex-start;
}

form.contact button:hover,
form.contact button:focus {
	background: #92400e;
}

form.contact button:disabled {
	background: #d6d3d1;
	cursor: not-allowed;
}

.form-status {
	font-size: 0.9rem;
}

.form-status[data-state="ok"] {
	color: #15803d;
}

.form-status[data-state="error"] {
	color: #b91c1c;
}

/* honeypot field, hidden from real visitors */
.hp-field {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

footer {
	text-align: center;
	padding: 1.5rem 1rem;
	color: #78716c;
	font-size: 0.875rem;
}

footer a {
	color: #78716c;
}
