/*------------------------------------------------------------------
   Earth Frontiers — Coming Soon
   Brand: deep green #013334 · bright green #79CC22 · warm neutral #F6F4EE
-------------------------------------------------------------------*/

@font-face {
	font-family: 'DM Sans';
	src: url('../fonts/DMSans/DMSans-Variable.ttf') format('truetype');
	font-weight: 100 1000;
	font-style: normal;
	font-display: swap;
}

:root {
	--deep: #013334;
	--bright: #79CC22;
	--warm: #F6F4EE;
	--ink: #013334;
	--ink-muted: rgba(1, 51, 52, 0.72);
	--line: rgba(1, 51, 52, 0.14);
}

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

html {
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: 'DM Sans', 'Segoe UI', Arial, sans-serif;
	font-weight: 400;
	color: var(--ink);
	background-color: #ffffff;
	height: 100vh;
	height: 100svh;
	overflow: hidden;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 20;
	padding: 0.75rem 1.25rem;
	background: var(--deep);
	color: #ffffff;
	font-weight: 600;
	font-size: 0.875rem;
	text-decoration: none;
	border-radius: 0 0 8px 0;
}

.skip-link:focus {
	left: 0;
}

/* Faint leaf watermark */
.backdrop {
	position: fixed;
	right: -8vw;
	bottom: -12vw;
	width: min(48vw, 560px);
	height: auto;
	color: var(--bright);
	opacity: 0.06;
	z-index: 0;
	pointer-events: none;
	transform: rotate(-8deg);
}

.backdrop svg {
	width: 100%;
	height: auto;
}

/*------------------------------
   Single-screen layout
------------------------------*/
.page {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	height: 100vh;
	height: 100svh;
	overflow: hidden;
}

.site-head {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: clamp(0.9rem, 2.4vw, 1.8rem) clamp(1.5rem, 4vw, 2.5rem) 0;
}

.brand {
	display: inline-block;
}

.brand a {
	display: block;
	line-height: 0;
}

.brand img {
	display: block;
	height: clamp(62px, 11vw, 116px);
	width: auto;
}

/*------------------------------
   Content
------------------------------*/
.content {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(1.5rem, 3vh, 2.75rem) 1.5rem;
}

.frame {
	max-width: 860px;
	width: 100%;
	text-align: center;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--bright);
	margin-bottom: clamp(0.9rem, 2vh, 1.4rem);
}

.headline {
	font-weight: 700;
	font-size: clamp(1.9rem, 4.9vw, 3.7rem);
	line-height: 1.14;
	letter-spacing: -0.02em;
	color: var(--deep);
	margin-bottom: clamp(1rem, 2.2vh, 1.6rem);
}

.headline .accent {
	color: var(--bright);
	background-image: linear-gradient(rgba(121, 204, 34, 0.16), rgba(121, 204, 34, 0.16));
	background-repeat: no-repeat;
	background-position: 0 92%;
	background-size: 100% 30%;
	padding: 0 0.06em;
}

.lede {
	font-weight: 500;
	font-size: clamp(0.95rem, 1.5vw, 1.15rem);
	line-height: 1.68;
	color: var(--ink-muted);
	max-width: 33rem;
	margin: 0 auto clamp(1.4rem, 3vh, 2.4rem);
}

.closing-line {
	font-weight: 700;
	font-size: clamp(0.95rem, 2.2vw, 1.1rem);
	letter-spacing: 0.02em;
	color: var(--deep);
	margin-top: clamp(0.75rem, 1.6vh, 1.1rem);
}

.leaf-divider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.85rem;
}

.leaf-divider i {
	display: block;
	width: clamp(1.75rem, 8vw, 3.5rem);
	height: 1px;
	background: var(--line);
}

.leaf-divider svg {
	width: 1.05rem;
	height: 1.05rem;
	color: var(--bright);
}

/*------------------------------
   Footer — contact & socials
------------------------------*/
.site-foot {
	width: 100%;
	background-color: var(--warm);
	border-top: 1px solid rgba(1, 51, 52, 0.1);
}

.foot-inner {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: clamp(0.85rem, 1.8vh, 1.3rem) clamp(1.5rem, 4vw, 2.5rem);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.foot-contact {
	display: flex;
	align-items: center;
	gap: clamp(0.9rem, 2.5vw, 1.8rem);
	flex-wrap: wrap;
}

.foot-link {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--deep);
	text-decoration: none;
	padding-bottom: 2px;
	border-bottom: 1px solid transparent;
	white-space: nowrap;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.foot-link svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	color: var(--bright);
}

.foot-link:hover {
	border-color: var(--bright);
}

.social {
	display: flex;
	gap: 0.65rem;
}

.social-link {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid rgba(1, 51, 52, 0.18);
	display: grid;
	place-items: center;
	color: var(--deep);
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease,
		color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.social-link svg {
	width: 19px;
	height: 19px;
}

.social-link:hover {
	color: var(--deep);
	background-color: var(--bright);
	border-color: var(--bright);
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(1, 51, 52, 0.18);
}

/*------------------------------
   Reveal on load
------------------------------*/
.reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
		transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
	will-change: opacity, transform;
}

.reveal.is-in {
	opacity: 1;
	transform: none;
}

/*------------------------------
   Focus & selection
------------------------------*/
a:focus-visible {
	outline: 2px solid var(--deep);
	outline-offset: 3px;
	border-radius: 2px;
}

::selection {
	background-color: var(--bright);
	color: var(--deep);
}

/*------------------------------
   Accessible motion
------------------------------*/
@media (prefers-reduced-motion: reduce) {
	.reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.social-link,
	.foot-link {
		transition: none;
	}
}

/*------------------------------
   Short / small screens (keep it one screen)
------------------------------*/
@media (max-height: 720px) {
	.brand img {
		height: 72px;
	}

	.headline {
		font-size: clamp(1.7rem, 4.4vw, 2.9rem);
		line-height: 1.12;
		margin-bottom: 0.85rem;
	}

	.lede {
		font-size: clamp(0.9rem, 1.4vw, 1.05rem);
		line-height: 1.6;
		margin-bottom: 1.3rem;
	}

	.eyebrow {
		margin-bottom: 0.8rem;
	}

	.content {
		padding: 1.25rem 1.5rem;
	}
}

@media (max-width: 560px) {
	.brand img {
		height: 58px;
	}

	.headline {
		font-size: clamp(1.6rem, 7.2vw, 2rem);
	}

	.lede {
		font-size: 0.95rem;
	}

	.foot-inner {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		gap: 0.85rem;
	}

	.foot-contact {
		flex-direction: column;
		align-items: center;
		gap: 0.6rem;
	}
}