:root {
	color-scheme: light;
	font-family:
		Arial,
		Helvetica,
		sans-serif;
	background: #f8f7f3;
	color: #141414;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	min-height: 100vh;
	min-height: 100svh;
	background:
		linear-gradient(90deg, rgba(20, 20, 20, 0.035) 1px, transparent 1px),
		linear-gradient(180deg, rgba(20, 20, 20, 0.028) 1px, transparent 1px),
		#f8f7f3;
	background-size: 32px 32px;
	color: #141414;
}

#ripple-grid {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	background: #f8f7f3;
	z-index: 0;
}

.page {
	position: relative;
	z-index: 1;
	min-height: 100vh;
	min-height: 100svh;
	padding: clamp(44px, 7.5vw, 72px) clamp(24px, 6vw, 88px)
		clamp(48px, 8vw, 86px);
	display: grid;
	grid-template-rows: auto 1fr auto;
	opacity: 0;
	transform: translateY(6px);
}

.page.is-visible {
	opacity: 1;
	transform: translateY(0);
	transition:
		opacity 520ms ease,
		transform 520ms ease;
}

.site-header {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	width: fit-content;
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0;
}

.mark {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.2;
	overflow: visible;
}

.mark path {
	stroke-linecap: square;
	stroke-linejoin: miter;
}

.intro {
	align-self: center;
	width: min(100%, 760px);
	min-width: 0;
	margin-top: -4vh;
}

h1 {
	margin: 0;
	font-size: clamp(1.625rem, 2.1vw, 1.875rem);
	font-weight: 400;
	line-height: 1.18;
	letter-spacing: 0;
	text-wrap: balance;
}

p {
	margin: 1.45rem 0 0;
	color: #625d55;
	font-size: clamp(1rem, 1.35vw, 1.0625rem);
	line-height: 1.5;
	letter-spacing: 0;
}

.site-footer {
	font-size: 0.875rem;
	line-height: 1.3;
	letter-spacing: 0;
	color: #625d55;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	color: #141414;
}

::selection {
	background: #141414;
	color: #f8f7f3;
}

@media (prefers-reduced-motion: reduce) {
	.page,
	.page.is-visible {
		opacity: 1;
		transform: none;
		transition: none;
	}

	#ripple-grid {
		display: none;
	}
}

@media (max-width: 520px) {
	.page {
		padding: 32px 24px 36px;
	}

	.site-header {
		gap: 12px;
	}

	.intro {
		width: 100%;
		margin-top: -7vh;
	}

	h1 {
		max-width: 12em;
	}
}
