* {
	box-sizing: border-box;
}

:root {
	--background: #eef4f1;
	--surface: #ffffff;
	--text: #18332d;
	--muted: #55716a;
	--border: #d6e3de;
	--accent: #2f6b5b;
}

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	padding: 0 2rem;
	background: var(--background);
	color: var(--text);
	font-family: Georgia, "Times New Roman", serif;
}

.site-header {
	width: min(100%, 960px);
	margin: 0 auto;
	padding: 1.5rem 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.site-name {
	color: var(--text);
	font-size: 1.25rem;
	font-weight: bold;
	text-decoration: none;
}

nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 1rem;
}

nav a {
	padding: 0.4rem 0;
	color: var(--muted);
	font-size: 0.95rem;
	text-decoration: none;
	border-bottom: 2px solid transparent;
}

nav a:hover,
nav a.active {
	color: var(--accent);
	border-bottom-color: var(--accent);
}

main {
	flex: 1;
	width: min(100%, 680px);
	margin: 0 auto;
	padding: 4rem 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: var(--surface);
	border: 1px solid var(--border);
	box-shadow: 0 18px 45px rgba(24, 51, 45, 0.12);
}

.page-content {
	width: min(100%, 960px);
	display: block;
	padding: 3rem;
	text-align: left;
}

h1 {
	margin: 0 0 1rem;
	font-size: clamp(2.5rem, 8vw, 5rem);
	line-height: 1;
	letter-spacing: 0.02em;
}

h2 {
	margin: 0 0 0.75rem;
	font-size: clamp(1.8rem, 4vw, 2.5rem);
}

p {
	margin: 0;
	color: var(--muted);
	font-size: clamp(1.1rem, 3vw, 1.35rem);
}

.page-content p {
	max-width: 38rem;
	font-size: 1.1rem;
	line-height: 1.7;
}

footer {
	padding: 1.5rem 0;
	color: var(--muted);
	font-size: 0.85rem;
	text-align: center;
}

@media (max-width: 640px) {
	body {
		padding: 0 1rem;
	}

	.site-header {
		align-items: flex-start;
		flex-direction: column;
		gap: 1rem;
	}

	nav {
		justify-content: flex-start;
		gap: 0.75rem;
	}

	main {
		padding: 3rem 1.5rem;
	}

	.page-content {
		padding: 2rem 1.5rem;
	}
}

.hero-page {
	position: relative;
	padding: 0;
	background: #1c2830;
	font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.hero-page main::before {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.08);
	content: "";
}

.hero-page .site-header {
	position: absolute;
	top: 0;
	left: 5.7%;
	z-index: 1;
	width: 88.6%;
	max-width: none;
	padding: 1.7rem 0;
}

.hero-page .site-name,
.hero-page nav a,
.hero-page .search-button {
	color: #171a1d;
}

.hero-page .site-name {
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: 0.34em;
}

.hero-page nav {
	align-items: center;
	gap: clamp(1.3rem, 3vw, 2.8rem);
}

.hero-page nav a {
	padding: 0.35rem 0;
	font-size: 0.65rem;
	letter-spacing: 0.3em;
	border-bottom-width: 1px;
}

.hero-page nav a:hover,
.hero-page nav a.active {
	color: #171a1d;
	border-bottom-color: #171a1d;
}

.search-button {
	margin-left: 0.3rem;
	padding: 0;
	background: transparent;
	border: 0;
	font-family: inherit;
	font-size: 1.7rem;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
}

.hero-page main {
	position: relative;
	z-index: 0;
	width: 100%;
	min-height: 0;
	padding: 0;
	display: block;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.hero-image {
	display: block;
	width: 100%;
	height: auto;
}

.hero-content {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	text-align: center;
}

.hero-content h1 {
	margin-bottom: 1.25rem;
	font-size: clamp(2.5rem, 6vw, 4.6rem);
	font-weight: 300;
	letter-spacing: 0.2em;
	line-height: 1;
}

.hero-rule {
	width: 3rem;
	height: 1px;
	margin: 0 auto 1.4rem;
	background: #ffffff;
}

.hero-content p {
	width: min(44rem, calc(100% - 3rem));
	color: #ffffff;
	font-size: clamp(0.65rem, 1.35vw, 0.9rem);
	font-weight: 300;
	letter-spacing: 0.34em;
	line-height: 1.8;
}

.hero-page footer {
	display: none;
}

@media (max-width: 700px) {
	.hero-page .site-header {
		left: 1.5rem;
		width: calc(100% - 3rem);
	}

	.hero-page .site-header,
	.hero-page nav {
		align-items: flex-start;
		flex-direction: column;
	}

	.hero-page .site-header {
		gap: 1.25rem;
	}

	.hero-page nav {
		gap: 0.7rem;
	}

	.hero-page .site-name {
		font-size: 0.85rem;
	}

	.hero-page main {
		padding-top: 15rem;
	}

	.hero-content h1 {
		letter-spacing: 0.1em;
	}

	.hero-content p {
		line-height: 1.8;
		letter-spacing: 0.2em;
	}
}
