/* Design tokens: the one place colours, type sizes, spacing and the page container are set. */
:root {
	/* Photo shapes: three only. Thumbnail in a row 4:3; card or phone photo 3:2; wide feature photo (story, event, wide image) 16:9. Photos supplied as 4:3, 3:2 or 16:9 all crop cleanly into these. */
	--fc-ratio-thumb: 4 / 3;
	--fc-ratio-card: 3 / 2;
	--fc-ratio-wide: 16 / 9;
	/* colour */
	--fc-coast: #2e5668;
	--fc-forest: #3b5a36;
	--fc-heath: #c9953a;
	--fc-granite: #8f8a80;
	--fc-bone: #e9e5dc;
	--fc-paper: #f6f4ef;
	--fc-ink: #1f2622;
	--fc-white: #fff;
	--fc-link: #2a4f60; /* the site palette's own link blue (Kadence palette 2) */
	--fc-muted: #3d463f;

	/* type: six sizes */
	--fc-serif: "Source Serif 4", Georgia, serif;
	--fc-sans: "Source Sans 3", system-ui, sans-serif;
	--fc-fs-small: 16px;
	--fc-fs-body: 18px;
	--fc-fs-lead: 22px;
	--fc-fs-title: 28px;
	--fc-measure-lead: 44ch; /* the line length of the sentence under a page title: heroes, openings, bands */
	--fc-fs-h1: clamp(38px, 5.4vw, 80px);   /* every page title except the home page */
	--fc-fs-h2: clamp(30px, 3.4vw, 46px);   /* section headings */
	--fc-fs-h2s: clamp(26px, 2.4vw, 34px);  /* sub-section headings: event months, headings inside a story */
	--fc-fs-display: clamp(44px, 7vw, 104px);

	/* space and grid */
	--fc-m: clamp(16px, 4vw, 56px);
	--fc-wrap: 1240px;
	--fc-edge: max(var(--fc-m), calc((100vw - var(--fc-wrap)) / 2));
	--fc-section: clamp(64px, 7vw, 112px);
	--fc-gap: 40px;
	--fc-link-speed: .2s;   /* how long the underline takes to drop on a text link */

	/* older shape and line tokens (were --fom- in the Additional CSS) */
	--fc-measure: 720px;   /* reading column in the Events list */
	--fc-radius: 6px;      /* old cards; the design rule is no rounded corners, so avoid in new work */
	--fc-radius-sm: 3px;
	--fc-shadow: 0 1px 3px rgba(35, 42, 37, 0.1), 0 4px 12px rgba(35, 42, 37, 0.06);   /* old cards; avoid in new work */
	--fc-line: #d3ccbf;
	--fc-tint: #ddd6c8;

	/* forms: the field, message and confirmation values (one standard shared by every form on the site) */
	--fc-field-border: #6b665c;
	--fc-field-h: 44px;
	--fc-error: #c02b0a;
	--fc-error-text: #a82408;
	--fc-error-bg: #d9d2c3;
	--fc-ok-bg: #e3ecde;

	/* event status notice (a cancelled or postponed event): a pale heath tint with a heath bar; a candidate to merge with heath */
	--fc-notice-bg: #f0e6cf;
	--fc-notice-line: #c8963a;
}

@media (max-width: 600px) {
	:root { --fc-fs-title: 22px; }
}
