* {
	box-sizing: border-box;
}

:root {
	color-scheme: light;
	--bg: #f7f4ec;
	--surface: #ffffff;
	--surface-border: #d9d2c3;
	--text: #1f2a28;
	--muted: #4f5c58;
	--accent: #2f6f66;
	--accent-strong: #25554f;
}

html {
	min-height: 100%;
}

body {
	margin: 0;
	min-height: 100vh;
	color: var(--text);
	font-family: Georgia, "Times New Roman", serif;
	background-color: var(--bg);
}

a {
	color: var(--accent-strong);
	text-decoration-thickness: 0.12em;
	text-underline-offset: 0.16em;
}

a:hover {
	color: var(--accent);
}

.page-shell {
	width: min(1040px, calc(100% - 32px));
	margin: 0 auto;
	padding: 24px 0 20px;
}

.intro {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	padding: 12px 0 40px;
}

.intro-text {
	width: min(760px, 100%);
	margin: 0;
	padding: 18px 20px;
	border: 1px solid var(--surface-border);
	border-radius: 8px;
	background: var(--surface);
	font-size: clamp(1rem, 1vw + 0.95rem, 1.3rem);
	line-height: 1.7;
}

.intro-text p {
	margin: 0 0 0.85rem;
}

.intro-label {
	font-weight: 700;
	color: var(--accent-strong);
}

.intro-text ul {
	margin: 0;
	padding-left: 1.2rem;
}

.intro-text li + li {
	margin-top: 0.5rem;
}

.projects {
	padding: 18px 0 36px;
}

.section-heading {
	margin-bottom: 18px;
}

.eyebrow {
	margin: 0 0 8px;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--accent);
}

.section-heading h1 {
	margin: 0;
	font-size: clamp(1.9rem, 3vw + 1rem, 3.2rem);
	line-height: 1.05;
}

.project-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.project-card {
	padding: 22px;
	border: 1px solid var(--surface-border);
	border-radius: 8px;
	background: var(--surface);
}

.project-card h2 {
	margin: 0 0 10px;
	font-size: 1.4rem;
}

.project-card p {
	margin: 0 0 18px;
	color: var(--muted);
	line-height: 1.6;
}

.project-card a {
	display: inline-block;
	padding: 0.55rem 0.85rem;
	border: 1px solid #bfcfc9;
	border-radius: 6px;
	background: #eef5f2;
	font-weight: 700;
	text-decoration: none;
}

.project-card a::after {
	content: "↗";
	font-size: 0.95em;
}

.site-footer {
	width: min(1040px, calc(100% - 32px));
	margin: 0 auto;
	padding: 12px 0 28px;
	color: var(--muted);
	font-size: 0.95rem;
}

.site-footer p {
	margin: 0;
}

@media (max-width: 780px) {
	.page-shell,
	.site-footer {
		width: min(100%, calc(100% - 24px));
	}

	.intro {
		padding-bottom: 28px;
	}

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

	.project-card {
		padding: 18px;
	}
}
