@font-face {
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url(../fonts/poppins-0.woff2) format('woff2');
}

@font-face {
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/poppins-1.woff2) format('woff2');
}

@font-face {
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url(../fonts/poppins-2.woff2) format('woff2');
}

@font-face {
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url(../fonts/poppins-3.woff2) format('woff2');
}

@font-face {
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(../fonts/poppins-4.woff2) format('woff2');
}

*, *::before, *::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: auto;
	scroll-padding-top: 100px;
}

/* Plain CSS, so it can't use the Sass tokens. #fafbfb, #211c4f and the #366b8a
   focus outline below mirror $paper, $navy and $blue in src/styles/_tokens.scss;
   change them together. */
body {
	margin: 0;
	background: #fafbfb;
	color: #211c4f;
	font-family: Poppins, 'Avenir Next', Avenir, sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 1.6;
	text-rendering: geometricPrecision;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img {
	max-width: 100%;
}

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

:focus-visible {
	outline: 2px solid #366b8a;
	outline-offset: 3px;
	border-radius: 2px;
}

h1 {
	font-family: Georgia, 'Times New Roman', serif;
	font-weight: 400;
	font-size: clamp(46px, 6.1vw, 84px);
	line-height: 1.02;
	letter-spacing: -0.02em;
	margin: 0 0 26px;
	text-wrap: balance;
}

h2 {
	font-family: Georgia, 'Times New Roman', serif;
	font-weight: 400;
	letter-spacing: -0.018em;
	font-size: clamp(32px, 3.6vw, 48px);
	line-height: 1.1;
	margin: 0 0 20px;
	text-wrap: balance;
}

h3 {
	font-family: Poppins, 'Avenir Next', Avenir, sans-serif;
	font-weight: 500;
	font-size: 20px;
	letter-spacing: -0.01em;
	margin: 0 0 10px;
}

h1 em, h2 em {
	font-style: italic;
	font-weight: 200;
}

p {
	margin: 0 0 16px;
}

.rv {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.rv.in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {

	.rv {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

.heading-word {
	display: inline-block;
	white-space: nowrap;
	vertical-align: bottom;
	padding: 0.08em 0.1em 0.16em;
	margin: -0.08em -0.1em -0.16em;
}

@media (prefers-reduced-motion: no-preference) {

	.heading-reveal .heading-word {
		opacity: 0;
		transform: translateY(0.4em);
		filter: blur(4px);
	}

	.heading-reveal.is-revealed .heading-word {
		animation: heading-word-reveal 0.72s cubic-bezier(0.16, 1, 0.3, 1) both;
		animation-delay: var(--word-delay, 0s);
	}

	@keyframes heading-word-reveal {

		to {
			opacity: 1;
			transform: translateY(0);
			filter: blur(0);
		}
	}
}

@media (prefers-reduced-motion: reduce) {

	.heading-reveal .heading-word {
		animation: none !important;
		opacity: 1 !important;
		transform: none !important;
		filter: none !important;
	}
}
