:root {
	--ink: #10141c;
	--ink-soft: #1a2230;
	--paper: #f3efe6;
	--muted: rgba(243, 239, 230, 0.78);
	--accent: #e8a23a;
	--accent-ink: #1a1205;
	--line: rgba(243, 239, 230, 0.16);
	--font-display: "Bricolage Grotesque", system-ui, sans-serif;
	--font-body: "Source Sans 3", system-ui, sans-serif;
}

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

html,
body {
	margin: 0;
	min-height: 100%;
}

body {
	color: var(--paper);
	font-family: var(--font-body);
	background: var(--ink);
	overflow-x: hidden;
}

.hero {
	position: relative;
	isolation: isolate;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	overflow: hidden;
}

.hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 40%;
	transform: scale(1.04);
	animation: hero-zoom 18s ease-out both;
}

.hero__veil {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(16, 20, 28, 0.35) 0%, rgba(16, 20, 28, 0.55) 42%, rgba(16, 20, 28, 0.92) 100%),
		linear-gradient(90deg, rgba(16, 20, 28, 0.55) 0%, transparent 55%);
}

.hero__content {
	position: relative;
	z-index: 1;
	padding: clamp(1.5rem, 4vw, 3rem);
	padding-bottom: clamp(2.5rem, 8vh, 5rem);
	max-width: 40rem;
	animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand {
	margin: 0 0 1rem;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(3rem, 10vw, 5.75rem);
	line-height: 0.92;
	letter-spacing: -0.04em;
	text-wrap: balance;
}

.headline {
	margin: 0 0 1rem;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(1.45rem, 3.6vw, 2.15rem);
	line-height: 1.15;
	letter-spacing: -0.02em;
	max-width: 18ch;
	text-wrap: balance;
	animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.lede {
	margin: 0 0 1.75rem;
	max-width: 34ch;
	font-size: clamp(1.05rem, 2.2vw, 1.2rem);
	line-height: 1.45;
	color: var(--muted);
	animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
}

.cta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both;
}

.cta__primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0.8rem 1.35rem;
	border-radius: 999px;
	background: var(--accent);
	color: var(--accent-ink);
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none;
	transition: transform 160ms ease, filter 160ms ease;
}

.cta__primary:hover {
	transform: translateY(-1px);
	filter: brightness(1.05);
}

.cta__primary:focus-visible {
	outline: 2px solid var(--paper);
	outline-offset: 3px;
}

main {
	position: relative;
	z-index: 1;
	background:
		radial-gradient(80% 60% at 10% 0%, #243149 0%, transparent 55%),
		linear-gradient(180deg, var(--ink-soft) 0%, var(--ink) 100%);
}

.section {
	padding: clamp(3.5rem, 10vw, 6.5rem) clamp(1.5rem, 4vw, 3rem);
	max-width: 64rem;
	margin: 0 auto;
}

.section--close {
	padding-top: 0;
	padding-bottom: clamp(4rem, 12vw, 7rem);
}

.section__title {
	margin: 0 0 0.75rem;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.section__intro {
	margin: 0 0 2rem;
	max-width: 40ch;
	color: var(--muted);
	font-size: 1.05rem;
	line-height: 1.5;
}

.offer {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1.25rem 1.5rem;
}

@media (min-width: 720px) {
	.offer {
		grid-template-columns: 1fr 1fr;
	}
}

.offer__item {
	padding: 1.25rem 0;
	border-top: 1px solid var(--line);
}

.offer__name {
	margin: 0 0 0.4rem;
	font-family: var(--font-display);
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.offer__text {
	margin: 0;
	color: var(--muted);
	line-height: 1.5;
	max-width: 36ch;
}

.footer {
	padding: 2rem clamp(1.5rem, 4vw, 3rem) 2.5rem;
	border-top: 1px solid var(--line);
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	align-items: baseline;
	justify-content: space-between;
	background: var(--ink);
}

.footer__brand {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.1rem;
}

.footer__tag {
	margin: 0;
	color: var(--muted);
	font-size: 0.95rem;
}

@keyframes rise {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes hero-zoom {
	from {
		transform: scale(1.08);
	}
	to {
		transform: scale(1.04);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero__image,
	.hero__content,
	.headline,
	.lede,
	.cta {
		animation: none;
	}
}
