/*
	Webzakimbo — minimal one-page presence.
	Typography and amber accent carried over from design concept 7b
	(full version archived in _archive/site-7b-full/).
*/

@font-face {
	font-family: "Source Sans Pro";
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url("../fonts/source-sans-pro-300.woff2") format("woff2");
}

@font-face {
	font-family: "Source Sans Pro";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/source-sans-pro-600.woff2") format("woff2");
}

:root {
	--text: #ffffff;
	--text-faint: rgba(255, 255, 255, 0.5);
	--accent: #e3b268;
	--accent-soft: rgba(227, 178, 104, 0.6);
}

@supports (color: oklch(0.78 0.11 75)) {
	:root {
		--accent: oklch(0.78 0.11 75);
		--accent-soft: oklch(0.78 0.11 75 / 0.6);
	}
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	background: #0d0f11;
	font-family: "Source Sans Pro", sans-serif;
	font-weight: 300;
	font-size: 17px;
	line-height: 1.65;
	letter-spacing: 0.025em;
	color: var(--text);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

main {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 48px 24px;
}

h1 {
	font-size: 30px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5rem;
	padding-left: 0.5rem; /* optically re-centre letter-spaced text */
	margin-bottom: 20px;
}

.strap {
	font-size: 21px;
	font-weight: 300;
	margin-bottom: 20px;
}

.kicker {
	color: var(--accent);
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.15rem;
	margin-bottom: 48px;
}

.contact a {
	color: var(--accent);
	text-decoration: none;
	border-bottom: 1px dotted var(--accent-soft);
}

.contact a:hover {
	border-bottom-color: var(--accent);
	border-bottom-style: solid;
}

footer {
	text-align: center;
	padding: 0 24px 32px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.1rem;
	color: var(--text-faint);
	line-height: 1.8;
}

@media (max-width: 640px) {
	h1 {
		font-size: 24px;
		letter-spacing: 0.35rem;
		padding-left: 0.35rem;
	}

	.strap {
		font-size: 18px;
	}
}
