html {
	color-scheme: light;
	overflow-x: clip;
}

body {
	margin: 0;
	min-height: 100dvh;
	background: #f3efe6;
	color: #1b1916;
	font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.cs {
	min-height: 100dvh;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
}

.cs__hero {
	display: grid;
	grid-template-rows: auto 1fr;
	min-height: 100dvh;
	padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1.5rem, 4vw, 4.5rem) clamp(2rem, 5vw, 4rem);
	background:
		radial-gradient(880px 520px at 0% 100%, rgba(182, 137, 79, 0.16), transparent 62%),
		#f3efe6;
	box-sizing: border-box;
}

.cs__top {
	display: flex;
	justify-content: flex-end;
}

.cs__login {
	color: #1b1916;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	opacity: 0.55;
}

.cs__login:hover,
.cs__login:focus-visible {
	opacity: 1;
}

.cs__login:focus-visible {
	outline: 2px solid #b6894f;
	outline-offset: 4px;
}

.cs__hero-body {
	align-self: center;
	max-width: 38rem;
	padding: 1.5rem 0 2rem;
}

.cs__kicker {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	max-width: 22rem;
	margin: 0 0 1.75rem;
	color: #7a6544;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.6;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-wrap: balance;
}

.cs__kicker::before {
	content: "";
	width: 2rem;
	height: 1px;
	margin-top: 0.7em;
	background: #b6894f;
	flex: none;
}

.cs__title {
	margin: 0;
	color: #1b1916;
	font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	font-size: clamp(4.25rem, 7.4vw, 7.5rem);
	font-weight: 400;
	line-height: 0.92;
	letter-spacing: -0.03em;
}

.cs__title-line {
	display: block;
}

.cs__title-line--italic {
	font-style: italic;
	color: #7a5b32;
}

.cs__when {
	margin: 2rem 0 0;
	color: #5f564b;
	font-size: 1.05rem;
	letter-spacing: 0.02em;
}

.cs__count {
	display: flex;
	align-items: center;
	min-height: 100dvh;
	padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem);
	background:
		radial-gradient(900px 480px at 100% 0%, rgba(182, 137, 79, 0.22), transparent 58%),
		#1a2622;
	box-shadow: inset 1px 0 0 rgba(182, 137, 79, 0.55);
	box-sizing: border-box;
}

.cs__count-inner {
	width: min(100%, 36rem);
	margin-inline: auto;
}

.cs__label {
	margin: 0 0 1.75rem;
	color: #d7b27a;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	line-height: 1.4;
	text-transform: uppercase;
}

.cs__timer {
	display: flex;
	align-items: stretch;
}

.cs__unit {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	text-align: center;
}

.cs__unit + .cs__unit::before {
	content: "";
	position: absolute;
	top: 8%;
	bottom: 18%;
	left: 0;
	width: 1px;
	background: rgba(243, 239, 230, 0.22);
}

.cs__num {
	display: block;
	color: #f6f1e7;
	font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	font-size: clamp(3.15rem, 5.6vw, 5.5rem);
	font-weight: 400;
	font-variant-numeric: tabular-nums;
	line-height: 0.9;
	letter-spacing: -0.03em;
}

.cs__caption {
	display: block;
	margin-top: 0.7rem;
	color: rgba(246, 241, 231, 0.72);
	font-size: 0.92rem;
	line-height: 1.2;
}

.cs__noscript {
	margin: 1.5rem 0 0;
	color: rgba(246, 241, 231, 0.7);
	font-size: 0.9rem;
	line-height: 1.5;
}

::selection {
	background: #d7b27a;
	color: #1b1916;
}

@media (max-width: 860px) {
	.cs {
		grid-template-columns: minmax(0, 1fr);
	}

	.cs__hero,
	.cs__count {
		min-height: auto;
		min-width: 0;
		max-width: 100%;
	}

	.cs__hero-body {
		padding-top: 2.75rem;
		padding-bottom: 2.75rem;
	}

	.cs__count {
		box-shadow: inset 0 1px 0 rgba(182, 137, 79, 0.55);
		padding-top: 2.75rem;
		padding-bottom: 3rem;
	}

	.cs__title {
		font-size: clamp(3.25rem, 16vw, 6.5rem);
	}
}

@media (max-width: 520px) {
	.cs__timer {
		display: grid;
		grid-template-columns: 1fr 1fr;
		row-gap: 1.6rem;
	}

	.cs__unit + .cs__unit::before {
		display: none;
	}

	.cs__unit:nth-child(even) {
		box-shadow: inset 1px 0 0 rgba(243, 239, 230, 0.2);
	}

	.cs__unit:nth-child(n + 3) {
		padding-top: 1.45rem;
		box-shadow: inset 0 1px 0 rgba(243, 239, 230, 0.2);
	}

	.cs__unit:nth-child(4) {
		box-shadow:
			inset 1px 0 0 rgba(243, 239, 230, 0.2),
			inset 0 1px 0 rgba(243, 239, 230, 0.2);
	}

	.cs__num {
		font-size: 3.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}
