@import url("screen.css");

body {
	background:
		radial-gradient(circle at top left, rgba(255, 255, 255, 0.94), transparent 34%),
		linear-gradient(180deg, #eef5ea 0%, #dde9d6 50%, #d1ddca 100%);
}

#container {
	width: min(1240px, calc(100% - 2rem));
	margin-bottom: 2rem;
	display: block;
}

.home-shell {
	display: grid;
	gap: 1.5rem;
}

.home-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.95fr);
	gap: 1.5rem;
	align-items: stretch;
}

.home-brand,
.home-links,
.home-media,
.home-highlights {
	border-radius: var(--radius-lg);
	border: 1px solid rgba(255, 255, 255, 0.68);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.home-brand {
	padding: clamp(1.5rem, 3vw, 2.6rem);
	background:
		linear-gradient(135deg, rgba(29, 62, 36, 0.98), rgba(43, 90, 53, 0.92)),
		linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 50%);
	color: #f7fbf2;
}

.home-brand-top {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	align-items: flex-start;
	margin-bottom: 1.25rem;
}

.home-logo-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.45rem 0.55rem;
	border-radius: 20px;
	background: #95e897;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.42),
		0 16px 28px rgba(10, 28, 12, 0.22);
}

.home-logo {
	width: min(200px, 70vw);
	max-width: 100%;
	display: block;
	filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.18));
}

.home-kicker {
	margin: 0 0 0.45rem;
	font-family: "Barlow Semi Condensed", "Trebuchet MS", sans-serif;
	font-size: 0.92rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(247, 251, 242, 0.78);
}

.home-brand h1 {
	margin-bottom: 0.75rem;
	color: #ffffff;
	font-size: clamp(2.8rem, 6vw, 5.1rem);
}

.home-brand h2 {
	margin: 0;
	font-size: 1.05rem;
	letter-spacing: 0.12em;
	color: rgba(247, 251, 242, 0.86);
	text-transform: none;
}

.home-lead {
	max-width: 58ch;
	font-size: 1.08rem;
	color: rgba(247, 251, 242, 0.9);
}

.home-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin-top: 1.5rem;
}

.home-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.2rem;
	border-radius: 999px;
	background: #f6f2e8;
	color: var(--brand-strong);
	text-decoration: none;
	font-family: "Barlow Semi Condensed", "Trebuchet MS", sans-serif;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	box-shadow: 0 14px 30px rgba(15, 26, 16, 0.18);
	transition: transform 160ms ease, opacity 160ms ease;
}

.home-cta:hover {
	transform: translateY(-1px);
	opacity: 0.94;
}

.home-cta.secondary {
	background: transparent;
	color: #f6f2e8;
	border: 1px solid rgba(246, 242, 232, 0.36);
	box-shadow: none;
}

.home-links {
	padding: 1.35rem;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(243, 247, 238, 0.92));
}

.home-links h2 {
	margin-bottom: 1rem;
	font-size: 1rem;
	letter-spacing: 0.18em;
}

.home-nav {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

.home-nav a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 4rem;
	padding: 0.9rem 1rem;
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(239, 244, 234, 0.9), rgba(226, 234, 219, 0.95));
	border: 1px solid rgba(203, 214, 195, 0.9);
	color: var(--brand-strong);
	text-align: center;
	text-decoration: none;
	font-family: "Barlow Semi Condensed", "Trebuchet MS", sans-serif;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
	transition: transform 160ms ease, background-color 160ms ease;
}

.home-nav a:hover {
	transform: translateY(-1px);
	background: linear-gradient(180deg, rgba(233, 240, 227, 1), rgba(219, 230, 210, 1));
}

.home-media {
	padding: 0.75rem;
	background: rgba(255, 255, 255, 0.82);
}

.home-media-frame {
	aspect-ratio: 16 / 10;
	border-radius: calc(var(--radius-lg) - 6px);
	overflow: hidden;
	background: linear-gradient(180deg, #31503a, #213428);
}

.home-media-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.home-caption {
	padding: 1rem 0.35rem 0.2rem;
	font-size: 0.98rem;
	color: var(--muted);
}

.home-highlights {
	padding: 1.35rem;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(241, 246, 236, 0.9));
}

.home-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.home-card {
	padding: 1.1rem;
	border-radius: var(--radius-md);
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid rgba(203, 214, 195, 0.88);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.home-card h3 {
	margin-top: 0;
	margin-bottom: 0.6rem;
	font-size: 1.2rem;
}

.home-card p:last-child {
	margin-bottom: 0;
}

#wrapper,
table.center,
table.centertable,
.btnav {
	width: auto;
	margin: 0;
	background: none;
	border: 0;
	box-shadow: none;
}

@media (max-width: 920px) {
	#container {
		width: min(100%, calc(100% - 1rem));
	}

	.home-hero {
		grid-template-columns: 1fr;
	}

	.home-grid {
		grid-template-columns: 1fr;
	}

	.home-brand-top {
		flex-direction: column;
		align-items: flex-start;
	}

	.home-logo-badge {
		align-self: center;
	}

	.home-nav {
		grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
	}
}

@media (max-width: 640px) {
	.home-brand,
	.home-links,
	.home-highlights {
		padding: 1rem;
	}

	.home-nav {
		grid-template-columns: 1fr;
	}

	.home-actions {
		flex-direction: column;
	}

	.home-cta {
		width: 100%;
	}

	.home-logo {
		width: 135px;
	}

	.home-logo-badge {
		border-radius: 16px;
		padding: 0.35rem 0.45rem;
	}
}