@font-face {
	font-family: "Open Sans";
	src: url("/assets/fonts/open-sans-latin-var.woff2") format("woff2");
	font-weight: 400 700;
	font-display: swap;
}
@font-face {
	font-family: "Source Code Pro";
	src: url("/assets/fonts/source-code-pro-latin-500.woff2") format("woff2");
	font-weight: 500;
	font-display: swap;
}

:root {
	--peach: #faa971;
	--peach-soft: #fde3cf;
	--green: #13a24a;
	--green-soft: #8fd18f;
	--ink: #333333;
	--body: #5c5c5c;
	--paper: #fdf8f3;
}

* { box-sizing: border-box; }

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

body {
	font-family: "Open Sans", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--body);
	background: var(--paper);
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

/* Soft drifting colour fields behind the content */
.glow {
	position: fixed;
	width: 46vmax;
	height: 46vmax;
	border-radius: 50%;
	filter: blur(70px);
	opacity: .45;
	z-index: 0;
	pointer-events: none;
}
.glow--peach { background: var(--peach-soft); top: -14vmax; right: -12vmax; animation: drift 26s ease-in-out infinite alternate; }
.glow--green { background: #d6efd6; bottom: -18vmax; left: -14vmax; animation: drift 32s ease-in-out infinite alternate-reverse; }

@keyframes drift {
	from { transform: translate(0, 0) scale(1); }
	to   { transform: translate(4vmax, 3vmax) scale(1.08); }
}

.wrap {
	position: relative;
	z-index: 1;
	flex: 1;
	width: 100%;
	max-width: 640px;
	margin: 0 auto;
	padding: 12vh 24px 48px;
	text-align: center;
}

.logo {
	width: min(300px, 70vw);
	height: auto;
	margin: 0 auto 28px;
	display: block;
}

.status {
	font-family: "Source Code Pro", ui-monospace, Menlo, monospace;
	font-size: .85rem;
	letter-spacing: .04em;
	color: var(--ink);
	display: inline-flex;
	align-items: center;
	gap: .6em;
	margin: 0 0 18px;
	padding: .35em .9em;
	border-radius: 999px;
	background: rgba(255, 255, 255, .7);
	border: 1px solid rgba(19, 162, 74, .18);
}

.dot {
	width: .55em;
	height: .55em;
	border-radius: 50%;
	background: var(--green);
	animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(19, 162, 74, .35); }
	50%      { box-shadow: 0 0 0 .45em rgba(19, 162, 74, 0); }
}

h1 {
	font-size: clamp(2rem, 5.5vw, 2.9rem);
	line-height: 1.15;
	font-weight: 700;
	color: var(--ink);
	letter-spacing: -.01em;
	margin: 0 0 18px;
}

.lede {
	font-size: clamp(1.05rem, 2.4vw, 1.2rem);
	line-height: 1.65;
	margin: 0 auto 30px;
	max-width: 34em;
}

/* A small "growing stem" divider echoing the logo */
.stem {
	width: 120px;
	height: 4px;
	margin: 0 auto 30px;
	border-radius: 4px;
	background: rgba(143, 209, 143, .35);
	overflow: hidden;
}
.stem span {
	display: block;
	height: 100%;
	width: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--green-soft), var(--green));
	transform-origin: left;
	animation: grow 3.2s ease-in-out infinite alternate;
}
@keyframes grow {
	from { transform: scaleX(.15); }
	to   { transform: scaleX(1); }
}

.contact {
	font-size: 1.05rem;
	line-height: 1.6;
	margin: 0 0 22px;
}

a {
	color: var(--green);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--peach);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}
a:hover, a:focus-visible { color: var(--ink); }

/* Optional contact form, tucked away until asked for */
.note { text-align: left; max-width: 440px; margin: 0 auto; }
.note summary {
	cursor: pointer;
	text-align: center;
	list-style: none;
	color: var(--ink);
	font-weight: 600;
	padding: .4em;
}
.note summary::-webkit-details-marker { display: none; }
.note summary::after { content: " +"; color: var(--peach); }
.note[open] summary::after { content: " −"; }

form {
	margin-top: 14px;
	padding: 22px;
	border-radius: 14px;
	background: rgba(255, 255, 255, .8);
	border: 1px solid rgba(0, 0, 0, .06);
	display: grid;
	gap: 14px;
}
label { display: grid; gap: 6px; font-size: .9rem; color: var(--ink); font-weight: 600; }
input, textarea {
	font: inherit;
	font-weight: 400;
	padding: .65em .8em;
	border: 1px solid #d9d4ce;
	border-radius: 8px;
	background: #fff;
	color: var(--ink);
}
input:focus, textarea:focus { outline: 2px solid var(--green-soft); border-color: var(--green); }
button {
	font: inherit;
	font-weight: 700;
	justify-self: start;
	padding: .7em 1.6em;
	border: 0;
	border-radius: 8px;
	background: var(--peach);
	color: var(--ink);
	cursor: pointer;
	transition: background .2s, color .2s;
}
button:hover, button:focus-visible { background: var(--green); color: #fff; }
.hp { position: absolute; left: -10000px; }

.foot {
	position: relative;
	z-index: 1;
	text-align: center;
	font-size: .8rem;
	padding: 24px;
	color: #8a8a8a;
}

/* Entrance: gentle staggered fade-up */
.reveal {
	opacity: 0;
	transform: translateY(12px);
	animation: rise .8s cubic-bezier(.2, .7, .2, 1) forwards;
	animation-delay: calc(var(--d, 0) * 120ms + 100ms);
}
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.reveal { opacity: 1; transform: none; }
}
