/* ==========================================================================
   AZF Portfolio — Design tokens
   Change the font for the whole portfolio here (or in Portfolio → Settings).
   ========================================================================== */

@font-face {
	font-family: 'Exo 2';
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url('../fonts/exo-2-latin-wght-normal.woff2') format('woff2-variations'),
	     url('../fonts/exo-2-latin-wght-normal.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Exo 2';
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url('../fonts/exo-2-latin-ext-wght-normal.woff2') format('woff2-variations'),
	     url('../fonts/exo-2-latin-ext-wght-normal.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	/* Typography — the single source of truth */
	--font-primary: 'Exo 2', sans-serif;
	--font-display: var(--font-primary);
	--font-body: var(--font-primary);

	--fw-thin: 200;
	--fw-light: 300;
	--fw-regular: 400;
	--fw-medium: 500;
	--fw-semibold: 600;

	--fs-mega: clamp(3.25rem, 13.6vw, 16.5rem);
	--fs-display: clamp(2.75rem, 8.4vw, 10rem);
	--fs-h2: clamp(2.4rem, 6.4vw, 7rem);
	--fs-h3: clamp(1.75rem, 3.6vw, 3.4rem);
	--fs-h4: clamp(1.2rem, 1.6vw, 1.5rem);
	--fs-lead: clamp(1.15rem, 1.7vw, 1.6rem);
	--fs-body: clamp(1rem, 1.02vw, 1.125rem);
	--fs-small: 0.8125rem;
	--fs-micro: 0.6875rem;

	--lh-tight: 0.9;
	--lh-snug: 1.15;
	--lh-body: 1.65;

	--ls-mega: -0.02em;
	--ls-caps: 0.18em;
	--ls-wide: 0.32em;

	/* Colour */
	--color-background: #050505;
	--color-surface: #111111;
	--color-surface-2: #181818;
	--color-text: #ffffff;
	--color-muted: #999999;
	--color-dim: #5c5c5c;
	--color-ghost: #2a2a2a;
	--color-border: #292929;
	--color-invert-bg: #ededeb;
	--color-invert-text: #050505;
	--color-live: #b9f6ca;
	--color-dev: #ffd59a;

	/* Layout */
	--container-width: 1440px;
	--gutter: clamp(1rem, 4vw, 4rem);
	--section-spacing: clamp(4.5rem, 9vw, 8.5rem);
	--radius: 2px;
	--nav-h: 72px;
	--admin-bar: 0px;

	/* Motion */
	--animation-duration: 0.9s;
	--animation-duration-fast: 0.45s;
	--animation-easing: cubic-bezier(0.16, 1, 0.3, 1);   /* expo.out — mirrors motion-config.js */
	--animation-easing-inout: cubic-bezier(0.87, 0, 0.13, 1);
}

body.admin-bar { --admin-bar: 32px; }
@media (max-width: 782px) { body.admin-bar { --admin-bar: 46px; } }
@media (max-width: 767px) { :root { --nav-h: 60px; } }
