/* Fraunces for the name, the system font for the rest. Self-hosted so the page
   loads nothing from third parties. SIL Open Font License 1.1, see
   assets/fonts/OFL-fraunces.txt. */
@font-face {
	font-family: "Fraunces";
	src: url("/assets/fonts/fraunces-500.woff2") format("woff2");
	font-weight: 500;
	font-display: swap;
}

* { box-sizing: border-box; }

html, body { height: 100%; margin: 0; }

body {
	/* The top of the image is this flat colour, so the page and the render meet
	   without a seam at any aspect ratio. */
	background: #3b3b40 url("/assets/landing.jpg") center bottom / cover no-repeat;
	color: #f1f0ec;
	font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

main {
	min-height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 16vh 1.5rem 0;
	text-align: center;
}

h1 {
	margin: 0 0 1.4rem;
	font-family: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
	font-size: clamp(2.8rem, 7.5vw, 5.75rem);
	line-height: 1.02;
	font-weight: 500;
	letter-spacing: -0.01em;
}

a {
	color: #b4b3b0;
	font-size: clamp(1rem, 1.6vw, 1.2rem);
	font-weight: 500;
	text-decoration: none;
	letter-spacing: 0.01em;
}

a:hover { color: #f1f0ec; }
