body {
	margin: 0 1lh;
}

:root {
	font-family: "Hoefler Text", Baskerville, Georgia, serif;
	line-height: 1.7;
	font-weight: 450;
	font-size-adjust: 0.5;
	inline-size: clamp(0ch, 100%, 66ch);
	margin-inline: auto;
	text-wrap: pretty;
	color: #333;
	background: whitesmoke;
}

:heading {
	line-height: 1rlh;
	text-wrap: balance;
	margin-block: 1rlh 0;
}

h1 {
	font-size: 1.8em;
}

:heading(1) {
	margin-block-end: 0.5lh;
}

h2 {
	font-size: 1.6em;
}

h3 {
	font-size: 1.4em;
}

h4 {
	font-size: 1.2em;
}

h5, h6 {
	font-size: 1em;
}

h6 {
	font-weight: normal;
}

p {
	margin: 0;
	
	+ p {
		text-indent: 1lh;
	}
}

ul {
	margin: 0;
	
	li {
		margin-block: 0.5lh;
	}
}

ul, ol {
	padding-inline-start: 1lh;
	box-sizing: border-box;
}

ol {
	margin-block: 1lh;
}

img {
	display: block;
	max-inline-size: 100%;
	block-size: auto;
	margin-block: 1lh;
}

footer {
	margin-block: 0.5lh;
}

nav {
	display: flex;
	flex-wrap: wrap;
	column-gap: 1em;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-variant-caps: all-small-caps;
	font-weight: bold;
}

a {
	text-underline-offset: 0.1lh;
	color: currentColor;
	text-decoration-thickness: 1px;
	
	&:hover {
		text-decoration-thickness: 2px;
	}
}