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

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

@font-face {
	font-family: 'Playfair Display';
	src: url('./assets/fonts/subset-PlayfairDisplay-Bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--ink: #000;
	--paper: #f5f2ec;
	--accent: #ff605a;
	--ease: cubic-bezier(0.4, 0.8, 0.74, 1);
}

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

html {
	min-height: 100%;
	background: var(--paper);
	color: var(--ink);
	font-family: 'Poppins', Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body {
	min-height: 100vh;
	min-height: 100svh;
	margin: 0;
}

::selection {
	color: #fff;
	background: var(--accent);
}

.site-shell {
	display: grid;
	grid-template-rows: auto 1fr;
	min-height: 100vh;
	min-height: 100svh;
}

.site-header {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 122px;
	padding: 2rem 1.5rem;
}

.site-header::after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 1px;
	background: var(--ink);
	content: '';
	animation: draw-line 1.25s var(--ease) 0.35s forwards;
}

.brand-logo {
	display: block;
	width: 270px;
	height: auto;
	animation: fade-down 1s var(--ease) 0.3s both;
}

.hero {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(3rem, 7vw, 6rem) 1.5rem;
}

.hero-content {
	width: min(100%, 690px);
	text-align: center;
}

.eyebrow {
	margin: 0 0 0.5rem;
	color: var(--accent);
	font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	font-weight: 700;
	line-height: 1.25;
	animation: fade-down 0.85s var(--ease) 0.45s both;
}

h1 {
	max-width: 20ch;
	margin: 0 auto;
	font-size: clamp(1.8125rem, 3.5vw, 2.625rem);
	font-weight: 400;
	line-height: 1.25;
	animation: fade-down 0.85s var(--ease) 0.55s both;
}

.content-rule {
	display: block;
	width: 0;
	height: 1px;
	margin: 2rem auto;
	background: var(--ink);
	animation: draw-rule 1s var(--ease) 0.65s forwards;
}

.intro {
	max-width: 42ch;
	margin: 0 auto;
	font-size: 1rem;
	font-weight: 300;
	line-height: 1.35;
	animation: fade-down 0.85s var(--ease) 0.65s both;
}

@keyframes fade-down {
	from {
		opacity: 0;
		transform: translateY(-14px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes draw-line {
	to {
		width: 100%;
	}
}

@keyframes draw-rule {
	to {
		width: min(100%, 10rem);
	}
}

@media (max-width: 800px) {
	.site-header {
		min-height: 100px;
		padding-block: 1.6rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-delay: 0ms !important;
		animation-iteration-count: 1 !important;
	}
}
