:root {
	color-scheme: light;
	--page: #f5f4f0;
	--surface: #ffffff;
	--ink: #24313d;
	--muted: #596672;
	--accent: #245c63;
	--line: #dce2df;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--page);
	color: var(--ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color 160ms ease;
}

a:hover {
	color: #173f45;
}

a:focus-visible {
	border-radius: 2px;
	outline: 3px solid #8eafad;
	outline-offset: 3px;
}

.grid-container {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.8fr);
	grid-template-areas:
		"header header"
		"content about";
	gap: 2rem;
	max-width: 1160px;
	margin: 0 auto;
	padding: 4.5rem 2rem 5rem;
}

.header {
	grid-area: header;
	padding: 0 0 1.5rem;
	border-bottom: 1px solid var(--line);
}

.header h1 {
	margin: 0;
	color: #1d2c37;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2.5rem, 6vw, 4rem);
	font-weight: 500;
	letter-spacing: -0.045em;
	line-height: 1.12;
}

.content {
	grid-area: content;
	min-width: 0;
	padding: 0.5rem 0;
}

.content > h2 {
	margin: 2rem 0 0.7rem;
	padding-bottom: 0.55rem;
	border-bottom: 1px solid var(--line);
	color: #1d2c37;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.65rem;
	font-weight: 500;
	line-height: 1.3;
}

.content > h2:first-of-type {
	margin-top: 0;
}

.content h3 {
	margin: 1.5rem 0 0.35rem;
	color: #34444f;
	font-size: 1.02rem;
	font-weight: 650;
	letter-spacing: 0.01em;
}

.content p,
.about p {
	margin: 0.6rem 0 1rem;
}

.content ul {
	margin: 0.45rem 0 1.25rem;
	padding-left: 1.3rem;
}

.content li {
	padding-left: 0.2rem;
	margin: 0.35rem 0;
}

.about {
	grid-area: about;
	align-self: start;
	padding: 1.25rem;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--surface);
	box-shadow: 0 12px 32px rgb(34 49 61 / 6%);
}

.about img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 340px;
	margin: 0 auto 1.2rem;
	border-radius: 8px;
	object-fit: cover;
}

.about h2 {
	margin: 0 0 0.55rem;
	color: #1d2c37;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.6rem;
	font-weight: 500;
	line-height: 1.3;
}

.about p {
	margin-bottom: 0;
	color: var(--muted);
	font-size: 0.96rem;
	line-height: 1.7;
}

@media (max-width: 760px) {
	.grid-container {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"header"
			"content"
			"about";
		gap: 1.5rem;
		padding: 2.5rem 1.25rem 3rem;
	}

	.header {
		padding-bottom: 1.2rem;
	}

	.content > h2:first-of-type {
		margin-top: 0.5rem;
	}

	.about {
		max-width: 520px;
	}

	.about img {
		max-width: 300px;
	}
}

@media (prefers-reduced-motion: reduce) {
	a {
		transition: none;
	}
}
