@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Lato:wght@300;400&display=swap");

html {
	font-size: 16px;
}

body {
	font-family: var(--font-body);
	font-weight: var(--font-weight-light);
	font-size: var(--text-md);
	line-height: 1.7;
	color: var(--sand-dune);
	/* Soft background to keep contrast low and elegant */
	background: var(--linen);
}

main {
	display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-headline);
	font-weight: var(--font-weight-regular);
	line-height: 1.1;
	color: var(--sand-dune);
}

h1 {
	font-size: var(--text-5xl);
	letter-spacing: 0.01em;
}

h2 {
	font-size: var(--text-3xl);
}

h3 {
	font-size: var(--text-2xl);
}

p {
	max-width: var(--content-narrow);
}

a {
	transition: color 200ms ease;
}

a:hover,
a:focus-visible {
	color: var(--vanilla-ice);
}

::selection {
	background: var(--vanilla-ice);
	color: var(--sand-dune);
}

/* Utility for quiet section spacing */
.section {
	padding: var(--space-7) 0;
}

.section--tight {
	padding: var(--space-5) 0;
}

/* Visually hidden but accessible text */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
