/**
 * AbleGhana design tokens + self-hosted fonts.
 * Change a value here and it changes everywhere.
 */

/* ---------- Fonts (SIL Open Font License — see assets/fonts/OFL-*.txt) ---------- */
@font-face {
	font-family: "Cormorant Garamond";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/cormorant-garamond-500.woff2") format("woff2");
}

@font-face {
	font-family: "Cormorant Garamond";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/cormorant-garamond-600.woff2") format("woff2");
}

@font-face {
	font-family: "Cormorant Garamond";
	font-style: italic;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/cormorant-garamond-500-italic.woff2") format("woff2");
}

@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/manrope-variable.woff2") format("woff2");
}

:root {
	/* Colour */
	--ag-ivory: #F7F3EC;
	--ag-stone: #ECE5D8;
	--ag-sand: #CBBBA0;
	--ag-charcoal: #1E1D1B;
	--ag-graphite: #55514B;
	--ag-brass: #B08D57;
	--ag-brass-hover: #A07F4B; /* Spec asked for #9A7A48; lightened a touch so charcoal text keeps 4.5:1. */
	--ag-brass-text: #7A5C30;
	--ag-mist: #A9A39A;
	--ag-white: #FFFFFF;

	--ag-hairline: rgba(30, 29, 27, 0.14);
	--ag-hairline-light: rgba(247, 243, 236, 0.16);

	/* Type */
	--ag-font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
	--ag-font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--ag-h1: clamp(2.75rem, 5vw + 1rem, 5.5rem);
	--ag-h2: clamp(2rem, 3vw + 1rem, 3.5rem);
	--ag-h3: clamp(1.5rem, 1.5vw + 1rem, 2rem);
	--ag-h4: 1.375rem;
	--ag-body: 1.0625rem;
	--ag-small: 0.875rem;
	--ag-eyebrow: 0.75rem;

	/* Layout */
	--ag-container: 1280px;
	--ag-gutter: 24px;
	--ag-section-y: clamp(4rem, 8vw, 9rem);
	--ag-gap: clamp(1.5rem, 3vw, 3rem);
	--ag-radius: 2px;
	--ag-header-h: 72px;

	/* Motion */
	--ag-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--ag-speed: 0.3s;
	--ag-reveal-speed: 0.6s;
	--ag-reveal-distance: 24px;
}

@media (min-width: 1024px) {
	:root {
		--ag-gutter: 48px;
		--ag-header-h: 88px;
	}
}
