/*
	Brachard & Cie: site stylesheets (plain CSS, no build step)

	Loaded in this order by inc/partials/head.php (SITE_STYLES):

	tokens.css      colours, fonts and sizes as custom properties
	base.css        reset, typography, links, forms, tables, print
	vendor/*.css    FlexSlider, Slick
	layout.css      page frame: header, sections, side menus, bottom bar, footer
	components.css  buttons, catalog, slideshow, icons, hellobar, utilities
	sections.css    colours and titles of the home sections, history page
	pages.css       single pages and sub-pages (moved from the includes in Phase 2b)

	campaigns/<name>.css is linked by the campaign include itself (special-cover_inc.php,
	special-bottom_inc.php) while that campaign runs.

	Cascade layers: each file puts its rules in the layer of the same name, in the order
	declared below. A rule in a later layer wins over one in an earlier layer whatever
	their selectors; inside a layer, specificity and order decide as usual. So a
	component never has to out-specify the layout, and a page never has to fight a
	component. If a rule should not win over a later layer, it belongs in that layer.

	CSS outside any layer wins over all of them: the 2026 contest stylesheet
	(concours/2026/), and the libraries that bring their own (PhotoSwipe, TimelineJS,
	Featherlight, Google Fonts). Their rules were checked against the site's when the
	layers came in; the contest stylesheet keeps two page-wide rules away from the
	shared contact block and footer with :where(:not(…)).

	Breakpoints (custom properties can't be used in media queries, so they are
	written out where needed):

	30em     480px
	37.5em   600px
	48em     768px
	62em     992px
	72em    1152px
	86.375em 1382px
	106em   1700px
*/

@layer tokens, base, vendor, layout, components, sections, pages, campaigns;

@layer tokens {
	:root {
		/* Brand */
		--color-brand: rgb(1, 23, 153);
		--color-alt: #ca4235;

		/* Home sections and their bottom-bar tabs */
		--color-who: var(--color-brand);
		--color-what: var(--color-alt);
		--color-where: rgb(255, 202, 47);
		--color-espacecreatif: rgb(21, 138, 23);
		--color-shop: rebeccapurple;
		--color-home: rgb(0, 0, 0);
		--color-footer: rgb(42, 42, 42);
		--color-branding: rgb(27, 25, 25);

		/* Text and links */
		--color-text: black;
		--color-muted: #bfbfbf;
		--color-link: #013568;
		--color-link-visited: #000203;
		--color-link-hover: #011b35;
		--color-link-focus: #000000;
		--color-selection: #2d353e;
		--color-selection-bg: #d6dbe1;
		--color-rule: #c7ced6;
		--color-tint: #f3f5f6;

		/* Forms and tables */
		--color-input-border: #8c9bab;
		--color-input-hover: #586879;
		--color-row-hover: #a9b4c1;

		/* Fonts */
		--font-sans: "Helvetica Neue", Helvetica, sans-serif;
		--font-serif: Georgia, Times, "Times New Roman", serif;
		--font-mono: Monaco, Courier New, monospace;

		/* Spacing */
		--baseline: 1.5em;
		--baseline-rem: 1.5rem;
		--gutter: 24px;
	}
}
