@font-face {
	font-family: "Bricolage Grotesque";
	src: url("../fonts/bricolage-grotesque-700.woff2") format("woff2");
	font-style: normal;
	font-weight: 700;
	font-display: swap;
}

:root {
	/* Brand palette and reusable design values. */
	--forest-950: #15241b;
	--forest-900: #1c3023;
	--forest-800: #294332;
	--fern-700: #365641;
	--fern-200: #c3d397;
	--linen-50: #f7f6ef;
	--linen-100: #efeee4;
	--white: #fffef8;

	--font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--font-wordmark: "Bricolage Grotesque", var(--font-body);
	--font-display: Georgia, "Times New Roman", serif;
	--text-small: 0.875rem;
	--text-body: 1rem;
	--text-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
	--text-card: clamp(1.375rem, 1.25rem + 0.55vw, 1.75rem);
	--text-section: clamp(2.25rem, 1.65rem + 2.5vw, 4rem);
	--text-hero: clamp(2.625rem, 2rem + 3.9vw, 5.5rem);
	--shell-max: 88rem;
	--gutter: clamp(1.125rem, 4vw, 4rem);
	--section-space: clamp(3rem, 5.25vw, 5.5rem);
	--page-space: clamp(2.5rem, 4.5vw, 5rem);
	--layout-gap: clamp(1.5rem, 4vw, 4rem);
	--radius: 0.875rem;

	/* Colors follow the system scheme unless the visitor chooses a theme. */
	color-scheme: light dark;
	--surface: light-dark(var(--linen-50), #18241c);
	--surface-alt: light-dark(var(--linen-100), #1d2c22);
	--surface-card: light-dark(var(--white), #223329);
	--text: light-dark(var(--forest-950), #f2f3e9);
	--text-muted: light-dark(#4e5c50, #c5cfc3);
	--field-line: light-dark(#687969, #7d917e);
	--line: light-dark(#ccd1c3, #425648);
	--accent: light-dark(var(--fern-700), var(--fern-200));
	--focus: light-dark(#456b35, #d9e8a6);
	--action-bg: light-dark(var(--forest-800), var(--fern-200));
	--action-text: light-dark(var(--white), var(--forest-950));

	--faq-question: light-dark(#edf2e4, #263c2d);
	--faq-question-open: light-dark(#dce8cf, #365440);
	--faq-divider: light-dark(#93a583, #6d9477);

	/* Hero and contact surfaces */
	--hero-bg: var(--forest-900);
	--hero-text: var(--white);
	--hero-muted: #e1e9d9;
	--hero-accent: var(--fern-200);
	--hero-line: #829884;
}

:root[data-theme="light"] {
	color-scheme: light;
}

:root[data-theme="dark"] {
	color-scheme: dark;
}
