:root {
	--bg: #f3efe8;
	--bg-soft: #ebe5dc;
	--surface: #f8f5ef;
	--text: #1e1c19;
	--text-muted: #5f5a53;
	--line: #d7d0c4;
	--accent: #2d4b73;
	--accent-soft: #6f7f93;
	--max-width: 1180px;
	--narrow-width: 860px;
	--radius-lg: 24px;
	--radius-md: 16px;
	--shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.04);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Inter", sans-serif;
	background: var(--bg);
	color: var(--text);
	line-height: 1.7;
}

img {
	display: block;
	width: 100%;
	height: auto;
}

a {
	color: var(--accent);
	text-decoration: none;
}

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

.container {
	width: min(var(--max-width), calc(100% - 40px));
	margin: 0 auto;
}

.narrow {
	width: min(var(--narrow-width), calc(100% - 40px));
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(243, 239, 232, 0.94);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(30, 28, 25, 0.08);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 76px;
	gap: 24px;
}

.brand {
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: var(--text);
}

.site-nav {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 18px;
}

.site-nav a {
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--text-muted);
}

.site-nav a:hover {
	color: var(--text);
}

.hero {
	padding: 72px 0 48px;
}

.hero-grid {
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 56px;
	align-items: center;
}

.hero-image-wrap {
	max-width: 320px;
}

.hero-image {
	aspect-ratio: 2 / 3;
	object-fit: cover;
	border-radius: 28px;
	box-shadow: var(--shadow-soft);
	border: 1px solid rgba(30, 28, 25, 0.08);
	background: var(--bg-soft);
}

.eyebrow {
	margin: 0 0 14px;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--accent-soft);
}

h1,
h2,
h3 {
	margin: 0;
	color: var(--text);
}

h1,
h2 {
	font-family: "Newsreader", serif;
	font-weight: 600;
	line-height: 1.04;
	letter-spacing: -0.02em;
}

h1 {
	font-size: clamp(2.2rem, 4vw, 4rem);
	max-width: 13ch;
}

h2 {
	font-size: clamp(2rem, 3.4vw, 3.2rem);
	margin-bottom: 18px;
}

h3 {
	font-size: 1.15rem;
	line-height: 1.25;
}

.hero-text,
.intro-text p,
.section-note,
.project-body p,
.small-project-body p,
.experience-content p,
.fact p,
.contact-text,
.contact-details {
	color: var(--text-muted);
}

.hero-text {
	margin: 22px 0 0;
	max-width: 60ch;
	font-size: 1.05rem;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin-top: 28px;
}

.text-link {
	display: inline-block;
	font-weight: 600;
	color: var(--text);
	border-bottom: 1px solid var(--line);
	padding-bottom: 2px;
}

.text-link:hover {
	border-color: var(--text);
}

.hero-meta,
.contact-list,
.project-tags {
	list-style: none;
	padding: 0;
	margin: 0;
}

.hero-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin-top: 24px;
}

.hero-meta a {
	color: var(--text-muted);
	font-weight: 500;
}

.hero-meta a:hover {
	color: var(--text);
}

.section {
	padding: 56px 0;
}

.section-lined {
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.14);
}

.intro-text {
	display: grid;
	gap: 18px;
	margin-top: 8px;
}

.intro-text p {
	margin: 0;
	font-size: 1.02rem;
}

.facts-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-top: 34px;
}

.fact {
	padding-top: 18px;
	border-top: 1px solid var(--line);
}

.fact h3 {
	margin-bottom: 8px;
}

.fact p {
	margin: 0;
}

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

.section-note {
	max-width: 60ch;
	margin: 0;
}

.section-subheading {
	margin-top: 64px;
}

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

.project {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: var(--shadow-soft);
	overflow: hidden;
}

.project-media img {
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 0;
	background: var(--bg-soft);
	box-shadow: none;
	border: 0;
}

.project-body {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 20px 22px 22px;
}

.project-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.project-header h3 {
	margin: 0;
	font-size: 1.35rem;
	line-height: 1.2;
}

.project-type {
	flex-shrink: 0;
	margin: 0;
	padding: 6px 10px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
	background: rgba(45, 75, 115, 0.08);
	border: 1px solid rgba(45, 75, 115, 0.14);
	border-radius: 999px;
}

.project-body p {
	margin: 0;
	color: var(--text-muted);
}

.project-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.project-links-top {
	order: 0;
}

.project-links a {
	display: inline-flex;
	align-items: center;
	padding: 8px 12px;
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1;
	color: var(--accent);
	background: rgba(45, 75, 115, 0.06);
	border: 1px solid rgba(45, 75, 115, 0.12);
	border-radius: 999px;
}

.project-links a:hover {
	color: var(--text);
	border-color: rgba(30, 28, 25, 0.18);
	background: rgba(30, 28, 25, 0.04);
}

.project-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.project-tags li {
	padding: 6px 10px;
	font-size: 0.84rem;
	line-height: 1;
	color: var(--text-muted);
	background: rgba(30, 28, 25, 0.04);
	border: 1px solid rgba(30, 28, 25, 0.08);
	border-radius: 999px;
}

@media (max-width: 980px) {
	.project-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.project-list {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.project-header {
		flex-direction: column;
		align-items: flex-start;
	}
}

.experience-list {
	margin-top: 26px;
	border-top: 1px solid var(--line);
}

.experience-item {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 28px;
	padding: 22px 0;
	border-bottom: 1px solid var(--line);
}

.experience-period {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--accent-soft);
}

.experience-content h3 {
	margin-bottom: 10px;
	font-size: 1.15rem;
}

.experience-content p {
	margin: 0;
}

.contact-block {
	text-align: left;
}

.contact-text {
	margin: 0 0 24px;
	max-width: 52ch;
}

.contact-list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
	margin-bottom: 24px;
}

.contact-list a {
	font-weight: 600;
}

.contact-details {
	margin: 0;
}

@media (max-width: 980px) {

	.hero-grid,
	.experience-item {
		grid-template-columns: 1fr;
	}

	.hero-image-wrap {
		max-width: 220px;
	}

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

	h1 {
		max-width: 14ch;
	}
}

@media (max-width: 720px) {

	.container,
	.narrow {
		width: min(var(--max-width), calc(100% - 24px));
	}

	.header-inner {
		flex-direction: column;
		justify-content: center;
		padding: 14px 0;
		min-height: auto;
	}

	.site-nav {
		justify-content: center;
		gap: 14px;
	}

	.hero {
		padding: 40px 0 28px;
	}

	.section {
		padding: 40px 0;
	}

	.hero-grid {
		gap: 28px;
	}

	.project-list,
	.small-project-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.experience-item {
		gap: 8px;
		padding: 18px 0;
	}
}