/* Base: colours, fonts, spacing tokens and resets. Values from Figma 2026. */

:root {
	--color-bg: #283e4c;
	--color-text: #fff;
	--color-decoration: #f9d1b7;
	--color-coffee: #f9d1b7;
	--color-desc: #f7d6ca;
	--color-tags: #fdd5bb;
	--color-muted: #8e8e93;
	--light-fade: 1.2s;
	--glass-bg: linear-gradient(90deg, rgba(33, 37, 39, 0.18), rgba(31, 34, 35, 0.18));
	--glass-blur: 25px;
	--font-display: "Marcellus", Georgia, serif;
	--font-body: "Manjari", system-ui, sans-serif;
	--font-mono: "DM Mono", ui-monospace, monospace;

	/* Case study pages (Figma qHfThmGU6mzX7bMOYeT9Dg) */
	--color-panel: #314a59;
	--color-panel-deep: #385463;
	--color-body: #c7ced4;
	--color-label: #9ea8b0;
	--line-soft: rgba(249, 209, 183, 0.22);
	--line-strong: rgba(249, 209, 183, 0.6);
	--content-max: 1212px;

	--gutter: 114px;
	--header-h: 79px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-padding-top: var(--header-h);
}

/* Links like "Work" (/#works) glide down instead of jumping. */
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-display);
	-webkit-font-smoothing: antialiased;
}

img,
video {
	max-width: 100%;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

h1,
h2,
h3,
p,
dl,
dd {
	margin: 0;
	font-weight: 400;
}

@media (max-width: 1200px) {
	:root {
		--gutter: 48px;
	}
}

@media (max-width: 899px) {
	:root {
		--gutter: 20px;
	}
}
