:root {
	--bg: #fbf9f7;
	--muted: #6b6b6b;
	--text: #111111;
	--accent: #586066;
	--primary: #0b6bff;
	--max-width: 1100px;
	--radius: 8px;
	--gap: 24px;
	font-size: 16px;
}
* {
	box-sizing: border-box;
}
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family:
		Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	line-height: 1.45;
}
p {
	text-wrap-style: balance;
}
.hide {
	display: none;
}
.container {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 48px 24px;
}
.site-header {
	border-bottom: 1px solid rgba(11, 11, 11, 0.06);
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0.6),
		rgba(255, 255, 255, 0.9)
	);
}
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.brand h1 {
	font-family: "Libre Baskerville", Georgia, serif;
	margin: 0;
	font-size: 20px;
	letter-spacing: 0.02em;
}
.tag {
	margin: 0;
	font-size: 13px;
	color: var(--muted);
}
.nav a {
	margin-left: 18px;
	color: var(--accent);
	text-decoration: none;
	font-weight: 600;
}
.nav a.cta {
	border: 1px solid var(--accent);
	padding: 8px 12px;
	border-radius: 6px;
}

.hero {
	padding: 64px 0;
}
.hero-inner {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 40px;
	align-items: center;
}
.hero-copy h2 {
	font-family: "Libre Baskerville", Georgia, serif;
	font-size: 32px;
	margin: 0 0 12px;
}
.lead {
	color: var(--muted);
	margin: 0 0 8px;
}
.meta {
	font-weight: 600;
	margin: 10px 0;
}
.calm-block {
	background: #fff;
	padding: 20px;
	border-radius: 12px;
	box-shadow: 0 6px 20px rgba(11, 18, 24, 0.06);
	text-align: center;
}
.small {
	margin: 8px 0;
	color: var(--muted);
}

.cta-row {
	display: inherit;
}
.button {
	display: inline-block;
	text-decoration: none;
	border: 2px solid rgba(11, 11, 11, 0.08);
	padding: 10px 16px;
	border-radius: 8px;
	font-weight: 700;
}
.button.primary {
	background: var(--accent);
	color: #fff;
}
.button.ghost {
	background: transparent;
	color: var(--accent);
}

/* Anchor/link styles */
a {
	color: var(--accent);
	text-decoration: underline;
	transition:
		color 160ms ease,
		opacity 160ms ease;
}
a:visited {
	color: #465258;
}
a:hover,
a:focus {
	color: var(--primary);
	text-decoration: underline;
}
a:active {
	color: rgba(70, 82, 88, 0.85);
}

.steps h3,
.form-section h3,
.faq h3 {
	margin-top: 0;
	font-family: "Libre Baskerville", Georgia, serif;
}
.steps ol {
	padding-left: 1.2rem;
}
.cta-row {
	margin-top: 18px;
}

.form-section {
	background: transparent;
	padding: 32px 0;
}
.app-form {
	background: #fff;
	padding: 22px;
	border-radius: 12px;
	box-shadow: 0 6px 20px rgba(11, 18, 24, 0.04);
}
.grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--gap);
}
.field {
	display: flex;
	flex-direction: column;
}
.field.full {
	grid-column: 1 / 3;
}
.label {
	font-size: 13px;
	color: var(--muted);
	margin-bottom: 6px;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
textarea {
	padding: 10px;
	border: 2px solid #e6e6e6;
	border-radius: 8px;
	font-size: 15px;
}
textarea {
	resize: vertical;
}
.checkbox {
	display: block;
	margin: 8px 0;
	color: var(--muted);
	font-size: 14px;
}
.form-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 16px;
}
#formStatus {
	font-size: 14px;
	color: var(--muted);
}

/* About section */
.about-avatar img {
	border-radius: 12px;
	display: block;
	border: 1px solid #eee;
	object-fit: cover;
	width: 160px;
	height: 160px;
}
.about-bio h3 {
	margin: 0 0 8px;
	font-family: "Libre Baskerville", Georgia, serif;
}
.about-bio p {
	margin: 0 0 8px;
	color: var(--muted);
}
.about-inner {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 18px 0;
}

/* (visually hidden but present in DOM for bots) */
.honeypot {
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.honeypot input {
	width: 1px;
	height: 1px;
	border: 0;
	padding: 0;
	margin: 0;
}

.faq dl {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}
.faq dt {
	font-weight: 700;
}
.site-footer {
	border-top: 1px solid rgba(11, 11, 11, 0.04);
	padding: 28px 0;
	margin-top: 40px;
	background: transparent;
}
.footer-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* Projects / gallery */
.gallery {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-top: 18px;
}
.thumb {
	background: #fff;
	padding: 12px;
	border-radius: 10px;
	box-shadow: 0 6px 18px rgba(11, 18, 24, 0.04);
	text-align: left;
}
.thumb-image {
	background: #f5f5f5;
	border-radius: 8px;
	overflow: hidden;
	height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.thumb-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.thumb h4 {
	margin: 10px 0 6px;
	font-size: 16px;
}
.lead-list {
	margin: 0 0 18px;
	padding-left: 1.1rem;
}

@media (max-width: 436px) {
	.about-inner {
		display: inherit;
	}
	.cta-row {
		display: flex;
		flex-direction: column;
		gap: 8px;
	}
	.header-inner > nav > a:nth-of-type(2) {
		display: none;
	}
	.checkbox {
		display: block;
		margin: 8px 0;
		color: var(--muted);
		font-size: 14px;
	}
	.form-actions {
		display: flex;
		align-items: center;
		gap: 12px;
		margin-top: 16px;
	}
	#formStatus {
		font-size: 14px;
		color: var(--muted);
	}
}

@media (max-width: 541px) {
	.field.full {
		grid-column: 1;
	}
	.header-inner > nav > a:nth-of-type(1) {
		display: none;
	}
}

@media (max-width: 900px) {
	.hero-inner {
		grid-template-columns: 1fr;
	}
	.grid {
		grid-template-columns: 1fr;
	}
	.gallery {
		grid-template-columns: repeat(2, 1fr);
	}
	.container {
		padding: 28px;
	}
	.footer-inner {
		flex-direction: column;
		gap: 8px;
	}
}

@media (max-width: 540px) {
	.gallery {
		grid-template-columns: 1fr;
	}
}

/* focus styles */
input:focus,
textarea:focus,
.button:focus {
	outline: 3px solid rgba(88, 96, 102, 0.12);
	outline-offset: 2px;
}
