@font-face {
	font-family: 'DM Sans';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('./assets/fonts/dm-sans-regular.ttf') format('truetype');
}

@font-face {
	font-family: 'Libre Caslon Display';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('./assets/fonts/libre-caslon-display.ttf') format('truetype');
}

:root {
	color-scheme: dark;
	font-family: 'DM Sans', sans-serif;
	font-synthesis: none;
	color: #eeeade;
	background: #102723;
	--ink: #eeeade;
	--muted: #a8b4a7;
	--brass: #d8ae70;
	--line: #e5d8b825;
	--serif: 'Libre Caslon Display', Georgia, serif;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background:
		radial-gradient(ellipse at 79% 44%, #9c77430c, transparent 55%),
		radial-gradient(ellipse at 0% 100%, #071a1845, transparent 60%);
}

::selection {
	color: #102723;
	background: var(--brass);
}

a {
	color: inherit;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

a:focus-visible {
	outline: 2px solid var(--brass);
	outline-offset: 7px;
	border-radius: 2px;
}

p,
h1,
figure {
	margin: 0;
}

.page-shell {
	width: min(100% - 144px, 1232px);
	min-height: 100svh;
	margin-inline: auto;
	display: flex;
	flex-direction: column;
}

.site-header {
	min-height: 117px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	border-bottom: 1px solid var(--line);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 15px;
	min-height: 44px;
}

.brand-mark {
	display: grid;
	place-items: end center;
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	border: 1px solid #d8ae705c;
	border-radius: 20px 20px 4px 4px;
	color: var(--brass);
}

.brand-mark svg {
	width: 34px;
	height: 34px;
	stroke: currentColor;
	stroke-width: 1;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.brand-name {
	font-family: var(--serif);
	font-size: 16px;
	letter-spacing: 0.11em;
	white-space: nowrap;
}

.brand-by {
	font-size: 12px;
	letter-spacing: 0.02em;
	padding-inline: 3px;
}

.header-note {
	color: var(--muted);
	font-size: 11px;
	letter-spacing: 0.025em;
}

main {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.hero {
	display: grid;
	grid-template-columns: 1.18fr 1fr;
	align-items: center;
	gap: 20px;
	padding-block: 54px 32px;
}

.hero-copy {
	position: relative;
	z-index: 1;
	padding-bottom: 9px;
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 13px;
	color: var(--brass);
	font-size: 9px;
	line-height: 1.7;
	letter-spacing: 0.17em;
	text-transform: uppercase;
}

.eyebrow > span {
	width: 26px;
	height: 1px;
	flex-shrink: 0;
	background: var(--brass);
}

h1 {
	margin-block: 31px 25px;
	font-family: var(--serif);
	font-size: clamp(68px, 7.65vw, 110px);
	font-weight: 400;
	line-height: 1.025;
	letter-spacing: -0.035em;
}

h1 em {
	font-style: normal;
	color: #dbbf91;
}

h1 em > span {
	color: var(--brass);
}

.cow-portrait {
	display: block;
	width: 180px;
	height: auto;
	margin-top: 32px;
	aspect-ratio: 1;
	border: 1px solid #d8ae7042;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 12px 36px #071a1830;
}

.landing-hero {
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
	gap: 48px;
	padding-block: 48px;
}

.landing-hero .hero-copy {
	padding: 0;
}

.landing-hero h1 {
	max-width: 15ch;
	margin: 0;
	font-size: clamp(52px, 5.8vw, 88px);
	line-height: 1.06;
	text-wrap: balance;
}

.journey-art {
	width: 100%;
	max-width: 580px;
	justify-self: center;
	text-align: center;
}

.journey-art img {
	display: block;
	width: 100%;
	height: auto;
}

.journey-art figcaption {
	margin-top: 20px;
	color: #b9bda9;
	font-family: var(--serif);
	font-size: 21px;
	line-height: 1.4;
	letter-spacing: 0.01em;
}

.site-footer {
	min-height: 92px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 11px;
	letter-spacing: 0.02em;
}

.footer-status {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 4px 12px;
	text-align: right;
}

.footer-name,
.footer-soon {
	white-space: nowrap;
}

.footer-dot {
	color: var(--brass);
}

.maker-link {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	white-space: nowrap;
}

.maker-link img {
	width: 28px;
	height: 28px;
	flex: none;
	border: 1px solid #ffffff22;
	border-radius: 50%;
	object-fit: cover;
}

.maker-domain {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.brand:hover,
.maker-link:hover {
	color: #f4ce96;
}

.error-hero {
	padding-block: 80px;
}

.error-copy {
	color: #bac4b6;
	font-size: 15px;
	line-height: 1.9;
}

.home-link {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	min-height: 48px;
	margin-top: 30px;
	padding: 12px 18px;
	border: 1px solid #d8ae7060;
	border-radius: 4px;
	color: var(--brass);
	font-size: 12px;
}

.home-link svg {
	width: 18px;
	height: 18px;
	stroke: currentColor;
	stroke-width: 1.3;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.home-link:hover {
	color: #f4ce96;
	background: #d8ae700a;
}

.error-cows {
	width: min(100%, 320px);
	height: auto;
	margin: 0;
	justify-self: center;
}

@media (min-width: 1600px) {
	.hero {
		padding-block: 72px 48px;
	}
}

@media (max-width: 1100px) {
	.page-shell {
		width: calc(100% - 96px);
	}

	.hero {
		grid-template-columns: 1.15fr 1fr;
		gap: 4px;
		padding-block: 64px 48px;
	}

	h1 {
		font-size: clamp(65px, 7.6vw, 84px);
	}

	.eyebrow {
		font-size: 8px;
		letter-spacing: 0.12em;
	}

	.eyebrow > span {
		width: 18px;
	}
}

@media (max-width: 760px) {
	.page-shell {
		width: calc(100% - 48px);
	}

	.site-header {
		min-height: 91px;
	}

	.brand {
		gap: 11px;
	}

	.brand-name {
		font-size: 14px;
	}

	.brand-mark {
		width: 33px;
		height: 33px;
	}

	.brand-mark svg {
		width: 28px;
		height: 28px;
	}

	.header-note {
		display: none;
	}

	.hero {
		grid-template-columns: 1fr;
		gap: 48px;
		padding-block: 56px 31px;
	}

	.hero-copy {
		padding: 0;
	}

	.eyebrow {
		font-size: 8px;
	}

	h1 {
		margin-block: 26px 23px;
		font-size: clamp(61px, 11vw, 83px);
	}

	.cow-portrait {
		width: 156px;
		margin-top: 27px;
	}

	.site-footer {
		min-height: 90px;
		gap: 16px;
		padding-block: 16px;
		font-size: 10px;
	}

	.maker-link img {
		width: 24px;
		height: 24px;
	}

	.footer-status {
		column-gap: 8px;
	}

	.error-hero {
		padding-block: 56px;
	}

	.error-copy {
		font-size: 13px;
	}

	.error-cows {
		width: min(75%, 260px);
		margin: 0;
	}
}

@media (max-width: 359px) {
	.page-shell {
		width: calc(100% - 36px);
	}

	h1 {
		font-size: 55px;
	}

	.eyebrow {
		gap: 9px;
		letter-spacing: 0.07em;
	}
}

@media (max-width: 900px) {
	.landing-hero {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
		padding-block: 36px 32px;
		text-align: center;
	}

	.landing-hero h1 {
		max-width: 17ch;
		margin-inline: auto;
		font-size: clamp(40px, 9.5vw, 64px);
		line-height: 1.08;
	}

	.journey-art {
		max-width: 460px;
	}

	.journey-art figcaption {
		margin-top: 16px;
		font-size: clamp(18px, 4.4vw, 21px);
	}
}
