/* HarvestM8 home page. (C) 2026 BusinessM8 Limited
   One memorable thing: the season line in the hero. Everything else stays quiet and orderly. */

@font-face {
	font-family: "Zilla Slab";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/zilla-slab-latin-600-normal.woff2") format("woff2");
}

@font-face {
	font-family: "Zilla Slab";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/zilla-slab-latin-700-normal.woff2") format("woff2");
}

.is-landing {
	--l-slab: "Zilla Slab", Rockwell, "Roboto Slab", Georgia, serif;
	--l-vine: #1e3a2b;
	--l-vine-2: #2a4d39;
	--l-field: #2f6b45;
	--l-field-dark: #25573a;
	--l-leaf: #8db86b;
	--l-wheat: #d4b25c;
	--l-paper: #f5f7f3;
	--l-mist: #e9efe8;
	--l-ink: #1c2421;
	--l-muted: #5a6661;
	--l-line: #d6dfd8;
	--l-on-dark: #f5f7f3;
	--l-on-dark-muted: #bfd2c5;
	background: var(--l-paper);
}

.l-main { display: block; }
.l-main > .hm8t-wrap:empty { display: none; }
.l-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.is-landing h1, .is-landing h2, .is-landing h3 { font-family: var(--l-slab); font-weight: 700; letter-spacing: -0.005em; }

/* ---------- Header on the home page: joins the hero into one dark block ---------- */
.is-landing .hm8t-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid #2c4c3a; }
.l-nav ul { align-items: center; }
.l-nav a { font-weight: 500; }
.hm8t .l-nav .l-nav-cta a { background: var(--l-leaf); color: #12230f; font-weight: 700; margin-left: 6px; }
.hm8t .l-nav .l-nav-cta a:hover { background: #a3c785; color: #12230f; }

/* ---------- Hero ---------- */
.l-hero { background: var(--l-vine); color: var(--l-on-dark); padding: 72px 0 80px; overflow: hidden; }
.l-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.l-hero h1 {
	color: var(--l-on-dark);
	font-size: clamp(2.4rem, 4.6vw, 4rem);
	line-height: 1.04;
	margin: 0 0 22px;
	max-width: 13ch;
}
.l-hero-lead { color: var(--l-on-dark-muted); font-size: 1.18rem; line-height: 1.6; max-width: 34rem; margin: 0 0 30px; }

.l-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.l-hero-small { color: #9fb5a7; font-size: .95rem; margin: 16px 0 0; }
.l-btn {
	display: inline-block; padding: 13px 24px; border-radius: 8px; font-weight: 700; font-size: 1.02rem;
	text-decoration: none; border: 2px solid transparent; transition: background-color .15s, border-color .15s;
}
.hm8t a.l-btn-light { background: var(--l-on-dark); color: var(--l-vine); }
.hm8t a.l-btn-light:hover { background: #fff; color: var(--l-vine); }
.hm8t a.l-btn-ghost { color: var(--l-on-dark); border-color: #5f826d; }
.hm8t a.l-btn-ghost:hover { border-color: var(--l-on-dark); color: #fff; }

/* The season line */
.l-season { margin: 0; }
.l-season svg { width: 100%; height: auto; display: block; overflow: visible; }
.l-season-harvest { fill: var(--l-wheat); opacity: .1; }
.l-season-steady { stroke: #6d8c7a; stroke-width: 1.5; stroke-dasharray: 4 6; }
.l-season-steady-label { fill: var(--l-on-dark-muted); font-size: 13px; font-family: system-ui, sans-serif; }
.l-season-area { fill: url(#l-season-fade); }
.l-season-line { fill: none; stroke: var(--l-leaf); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.l-season-peak { fill: var(--l-wheat); stroke: var(--l-vine); stroke-width: 3; }
.l-season-month { fill: #9fb5a7; font-size: 14px; text-anchor: middle; font-family: system-ui, sans-serif; }
.l-season-note {
	margin: 14px 0 0 36px; padding-left: 14px; border-left: 3px solid var(--l-wheat); max-width: 30rem;
	color: var(--l-on-dark-muted); font-size: .98rem; line-height: 1.5;
}
.l-season-note strong { display: block; color: var(--l-on-dark); font-family: var(--l-slab); font-size: 1.2rem; font-weight: 700; margin-bottom: 2px; }

/* One orchestrated moment: the year draws itself, then the harvest note appears. */
@media (prefers-reduced-motion: no-preference) {
	.l-season-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: l-draw 1.9s cubic-bezier(.45, .05, .25, 1) .25s forwards; }
	.l-season-area { opacity: 0; animation: l-fade-area .7s ease-out 1.6s forwards; }
	.l-season-peak { opacity: 0; transform-box: fill-box; transform-origin: center; animation: l-pop .45s ease-out 1.9s forwards; }
	.l-season-note { opacity: 0; transform: translateY(6px); animation: l-note .6s ease-out 2.1s forwards; }
}
@keyframes l-draw { to { stroke-dashoffset: 0; } }
@keyframes l-fade-area { to { opacity: 1; } }
@keyframes l-pop { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: scale(1); } }
@keyframes l-note { to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.l-section { padding: 88px 0; }
.l-section h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.12; color: var(--l-ink); margin: 0 0 14px; max-width: 22ch; }
.l-intro { color: var(--l-muted); font-size: 1.12rem; line-height: 1.6; max-width: 40rem; margin: 0 0 40px; }
.l-section h3 { font-size: 1.32rem; line-height: 1.2; color: var(--l-ink); margin: 0 0 8px; }
.l-section p { line-height: 1.65; }

/* The three headaches: columns split by fine rules, not boxes */
.l-problems-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 36px; }
.l-problem { padding: 4px 32px 4px 0; }
.l-problem + .l-problem { padding-left: 32px; border-left: 1px solid var(--l-line); }
.l-problem p { color: var(--l-muted); margin: 0; max-width: 34ch; }

/* How it works: a real sequence, so it is numbered and joined */
.l-how { background: #fff; border-top: 1px solid var(--l-line); border-bottom: 1px solid var(--l-line); }
.l-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; position: relative; }
.l-flow::before {
	content: ""; position: absolute; left: 22px; right: calc(100% / 6 - 22px); top: 22px; height: 2px; background: var(--l-mist);
}
.l-flow-step { position: relative; }
.l-flow-num {
	display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%;
	background: var(--l-field); color: #fff; font-family: var(--l-slab); font-weight: 700; font-size: 1.2rem;
	box-shadow: 0 0 0 6px #fff; position: relative; margin-bottom: 18px;
}
.l-flow-step h3 { font-size: 1.12rem; }
.l-flow-step p { color: var(--l-muted); font-size: .97rem; margin: 0; }

/* UK rules: heading on the left, a clean list on the right */
.l-rules-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.l-rules-list { margin: 0; border-top: 2px solid var(--l-ink); }
.l-rule { display: grid; grid-template-columns: minmax(150px, .38fr) 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--l-line); }
.l-rule dt { font-family: var(--l-slab); font-weight: 700; font-size: 1.18rem; color: var(--l-field-dark); }
.l-rule dd { margin: 0; color: var(--l-muted); line-height: 1.6; }

/* Why it matters: three big figures on a light wheat band */
.l-stakes { background: #f6efdc; border-top: 1px solid #e8dcb8; border-bottom: 1px solid #e8dcb8; }
.l-stakes-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 30px; }
.l-stake { padding: 0 32px 0 0; }
.l-stake + .l-stake { padding-left: 32px; border-left: 1px solid #e0d1a4; }
.l-stake-figure {
	font-family: var(--l-slab); font-weight: 700; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1;
	color: var(--l-vine); margin: 0 0 12px; letter-spacing: -0.01em;
}
.l-stake p:not(.l-stake-figure) { color: #4a4430; margin: 0; max-width: 32ch; }
.l-stakes-source { color: #7a704f; font-size: .88rem; margin: 30px 0 0; }

/* What HarvestM8 will be: progress bar, then groups of tiles */
.l-platform { background: var(--l-mist); }
.l-progress { background: #fff; border-radius: 10px; padding: 18px 22px; margin: 0 0 44px; border: 1px solid var(--l-line); }
.l-progress-bar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; gap: 3px; background: #fff; }
.l-seg { display: block; flex-basis: 0; min-width: 6px; }
.l-seg-now { background: var(--l-field); }
.l-seg-building { background: var(--l-leaf); }
.l-seg-planned { background: #c9d9c0; }
.l-seg-exploring { background: repeating-linear-gradient(135deg, #e7d6a4 0 6px, #f4ead0 6px 12px); }
.l-legend { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.l-legend li { display: flex; align-items: center; gap: 8px; color: var(--l-muted); }
.l-legend strong { color: var(--l-ink); font-family: var(--l-slab); font-size: 1.15rem; }

.l-chip { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .02em; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.l-chip-now { background: var(--l-field); color: #fff; }
.l-chip-building { background: var(--l-leaf); color: #12230f; }
.l-chip-planned { background: #fff; color: var(--l-field-dark); box-shadow: inset 0 0 0 1.5px #9fbf95; }
.l-chip-exploring { background: #fbf5e4; color: #7a5d12; box-shadow: inset 0 0 0 1.5px var(--l-wheat); }

.l-group { display: grid; grid-template-columns: minmax(0, .32fr) minmax(0, 1fr); gap: 32px; padding: 30px 0; border-top: 1px solid #cfdad1; }
.l-group-head h3 { font-size: 1.45rem; margin: 0 0 6px; }
.l-group-head p { color: var(--l-muted); margin: 0; font-size: .98rem; }
.l-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.l-tile { background: #fff; border: 1px solid var(--l-line); border-radius: 10px; padding: 16px 18px 18px; }
.l-tile h4 { font-family: var(--l-slab); font-weight: 700; font-size: 1.12rem; line-height: 1.25; color: var(--l-ink); margin: 12px 0 6px; }
.l-tile p { color: var(--l-muted); font-size: .95rem; line-height: 1.5; margin: 0; }
.l-tile-now { border-color: #9fc3aa; box-shadow: inset 4px 0 0 var(--l-field); }
.l-tile-building { box-shadow: inset 4px 0 0 var(--l-leaf); }
.l-tile-exploring { background: transparent; border: 1.5px dashed #c8b67e; }

/* How we build it */
.l-build { background: #fff; border-top: 1px solid var(--l-line); }
.l-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 30px; }
.l-value { border-top: 3px solid var(--l-leaf); padding-top: 16px; }
.l-value p { color: var(--l-muted); margin: 0; }
.l-connect { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.l-connect-title { font-weight: 700; color: var(--l-ink); margin: 0; }
.l-connect ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.l-connect li { border: 1px solid var(--l-line); background: var(--l-paper); border-radius: 999px; padding: 6px 14px; font-size: .94rem; color: var(--l-ink); }

/* Contact */
.l-contact { background: var(--l-vine); color: var(--l-on-dark); }
.l-contact-inner > * { max-width: 46rem; }
.l-contact h2 { color: var(--l-on-dark); font-size: clamp(2.1rem, 4vw, 3rem); }
.l-contact p { color: var(--l-on-dark-muted); font-size: 1.15rem; max-width: 40rem; }
.l-contact .l-actions { margin: 28px 0 22px; }
.l-contact-login { font-size: .98rem; }
.hm8t .l-contact-login a { color: var(--l-on-dark); }

/* Footer joins the dark contact band */
.is-landing .hm8t-footer { background: #17301f; border-top: 1px solid #2c4c3a; color: #9fb5a7; }

/* ---------- Smaller screens ---------- */
@media (max-width: 1000px) {
	.l-hero-grid, .l-rules-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.l-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
	.l-flow::before { display: none; }
	.l-group { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.l-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.l-values { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

@media (max-width: 760px) {
	.l-hero { padding: 44px 0 56px; }
	.l-section { padding: 60px 0; }
	.l-wrap { padding: 0 18px; }
	.l-problems-list { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-top: 24px; }
	.l-problem, .l-problem + .l-problem { padding: 0 0 0 16px; border-left: 3px solid var(--l-leaf); }
	.l-flow { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
	.l-flow::before { display: block; left: 21px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; }
	.l-flow-step { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding-bottom: 22px; }
	.l-flow-num { grid-row: span 2; margin-bottom: 0; }
	.l-rule { grid-template-columns: minmax(0, 1fr); gap: 4px; }
	.l-stakes-list { grid-template-columns: minmax(0, 1fr); gap: 26px; }
	.l-stake, .l-stake + .l-stake { padding: 0 0 0 16px; border-left: 3px solid var(--l-wheat); }
	.l-tiles { grid-template-columns: minmax(0, 1fr); }
	.l-progress { padding: 16px; }
	.l-season-note { margin-left: 0; }
	.l-nav li:nth-child(-n+3) { display: none; }
	.hm8t .l-nav .l-nav-cta a { padding-left: 12px; padding-right: 12px; }
	.hm8t .l-nav ul { flex-wrap: nowrap; }
	.is-landing .hm8t-header-inner { flex-direction: row; align-items: center; }
}

/* Small phones: the hero's own Register button is right there, so the header keeps just Log in */
@media (max-width: 480px) {
	.l-nav .l-nav-cta { display: none; }
}

@media print {
	.l-hero, .l-contact { background: #fff; color: #000; }
}

/* 0.4.19: the film at the top */
.l-filmband { background: #fff; padding: 72px 0; border-bottom: 1px solid #e3e8df; }
.l-film-wrap { max-width: 1000px; text-align: center; }
.l-filmband h2 { margin: 0 0 10px; }
.l-filmband .l-intro { margin: 0 auto 28px; max-width: 40rem; }
.l-film { margin: 0; }
.l-film video { width: 100%; aspect-ratio: 16 / 9; display: block; background: #0b0f0d; border-radius: 14px; box-shadow: 0 24px 60px rgba(11, 15, 13, .22); }
.hm8t a.l-hero-film { color: var(--l-on-dark); text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; white-space: nowrap; }
.hm8t a.l-hero-film:hover { color: #fff; }
@media print { .l-filmband { display: none; } }
