:root {
	color-scheme: light;
	--paper: #fff;
	--ink: #16222c;
	--muted: #5f625f;
	--accent: #c43d32;
	--line: #d8cec0;
}

* {
	box-sizing: border-box;
}

html {
	min-height: 100%;
}

body {
	min-height: 100vh;
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family:
		ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	-webkit-font-smoothing: antialiased;
	display: flex;
	flex-direction: column;
}

main {
	width: min(100% - 48px, 1180px);
	margin: 0 auto;
	padding: 40px 0 88px;
	flex: 1;
}

.masthead {
	display: flex;
	align-items: center;
	gap: 16px;
}

.mark {
	width: 42px;
	height: 42px;
	border: 1.5px solid var(--accent);
	border-radius: 50% 50% 46% 54%;
	color: var(--accent);
	display: grid;
	place-items: center;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	transform: rotate(-3deg);
}

.rule {
	height: 1px;
	width: 44px;
	background: var(--line);
}

.domain {
	color: var(--muted);
	font-size: 13px;
	font-weight: 650;
	letter-spacing: 0.08em;
}

.intro {
	max-width: 1040px;
	margin-top: clamp(92px, 15vh, 172px);
}

.eyebrow,
.contact h2 {
	margin: 0 0 22px;
	color: var(--accent);
	font-size: 12px;
	font-weight: 760;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

h1 {
	max-width: 1020px;
	margin: 0;
	font-size: clamp(34px, 7.7vw, 108px);
	font-weight: 500;
	letter-spacing: -0.045em;
	line-height: 0.96;
	text-wrap: balance;
}

.description {
	max-width: 620px;
	margin: 44px 0 0;
	color: var(--muted);
	font-size: clamp(19px, 2vw, 25px);
	line-height: 1.48;
}

.contact {
	margin-top: clamp(96px, 16vh, 180px);
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

.contact h2 {
	margin-bottom: 14px;
}

.contact a {
	color: var(--ink);
	font-size: clamp(22px, 3vw, 32px);
	font-weight: 600;
	text-decoration-color: var(--accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
}

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

.contact a:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 7px;
	border-radius: 2px;
}

footer {
	width: min(100% - 48px, 1180px);
	margin: 0 auto;
	padding: 26px 0 30px;
	border-top: 1px solid var(--line);
}

footer p {
	margin: 0;
	color: var(--muted);
	font-size: 12px;
	line-height: 1.5;
}

@media (max-width: 600px) {
	main {
		width: min(100% - 36px, 1180px);
		padding-top: 24px;
		padding-bottom: 64px;
	}
	.masthead {
		gap: 11px;
	}
	.rule {
		width: 22px;
	}
	.intro {
		margin-top: 84px;
	}
	h1 {
		font-size: clamp(43px, 13.2vw, 67px);
		line-height: 0.98;
	}
	.description {
		margin-top: 32px;
	}
	.contact {
		margin-top: 96px;
	}
	footer {
		width: min(100% - 36px, 1180px);
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
	}
}
