/*
Theme Name: Townperch Coming Soon
Description: A simple, editable coming soon page for Townperch.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: townperch-coming-soon
*/

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

body {
	margin: 0;
}

.wp-site-blocks {
	padding: 0;
}

.townperch-page {
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	padding: clamp(24px, 4vw, 64px) clamp(24px, 7vw, 112px);
	background: #fafbf9;
	color: #0b2a5b;
}

.townperch-page > * {
	margin-block: 0;
}

.townperch-brand img {
	display: block;
	width: 220px;
	max-width: 100%;
	height: auto;
}

.townperch-main {
	flex: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(24px, 5vw, 80px);
	padding-block: 80px;
	width: 100%;
	max-width: 1280px;
	margin-inline: auto;
}

.townperch-eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	margin: 0 0 28px;
}

.townperch-eyebrow::before {
	content: "";
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #ffc84d;
	flex-shrink: 0;
}

.townperch-heading {
	font-size: clamp(56px, 6.8vw, 104px);
	font-weight: 600;
	letter-spacing: -0.065em;
	line-height: 1.05;
	margin: 0;
}

.townperch-description {
	max-width: 30ch;
	font-size: clamp(18px, 1.5vw, 21px);
	line-height: 1.65;
	color: #52647d;
	margin: 28px 0 0;
}

.townperch-art {
	display: grid;
	place-items: center;
	position: relative;
	aspect-ratio: 1;
	width: 100%;
	max-width: 440px;
	justify-self: end;
	border-radius: 50%;
	background: #edf2fa;
	margin: 0;
}

.townperch-art::before {
	content: "";
	position: absolute;
	inset: -16px;
	border: 1px solid #dce5f2;
	border-radius: inherit;
}

.townperch-art img {
	display: block;
	width: 68%;
	height: auto;
}

.townperch-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	padding-top: 24px;
	border-top: 1px solid #dce3e9;
	font-size: 13px;
	line-height: 1.6;
	color: #52647d;
}

.townperch-footer p {
	margin: 0;
}

.townperch-footer::after {
	content: "";
	display: block;
	width: 40px;
	height: 4px;
	background: #1673ff;
}

@media (max-width: 700px) {
	.townperch-brand img {
		width: 190px;
	}

	.townperch-main {
		grid-template-columns: 1fr;
		gap: 52px;
		padding-block: 64px;
	}

	.townperch-art {
		width: min(70%, 260px);
		justify-self: center;
	}
}
