/*
 * Design tokens.
 * Source: "Styles 1 - foundations" on the Tech East design canvas.
 * Change a value here and it changes everywhere.
 */

@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/archivo-latin-ext-wght-normal.woff2") format("woff2-variations");
	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;
}

@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/archivo-latin-wght-normal.woff2") format("woff2-variations");
	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;
}

:root {
	/* Brand */
	--te-orange: #FF5623;        /* Solar orange: the mark, focus ring, accents. Never body text. */
	--te-peach: #FFD8BD;         /* Tech East's own things only. */
	--te-meteorite: #2A2C2F;     /* Main text and the dark band. */
	--te-charcoal: #212121;      /* Behind hero photos. */

	/* Surfaces */
	--te-warm-white: #FDFCF4;
	--te-warm-grey: #ECE8E3;
	--te-white: #FFFFFF;

	/* Text */
	--te-text: #2A2C2F;
	--te-text-2: #45413D;        /* Secondary text. */
	--te-text-3: #5E5852;        /* Muted text, captions. */
	--te-orange-text: #C2410C;   /* Small orange text on warm white. */
	--te-orange-text-grey: #9A3412; /* Small orange text on warm grey. */
	--te-orange-on-dark: #FF7A50;
	--te-on-dark: #FDFCF4;
	--te-on-dark-2: #ECE8E3;
	--te-on-dark-3: #D3CEC7;
	--te-on-dark-muted: #B3ABA3; /* Small labels on the dark band. */

	/* Lines */
	--te-stone: #8E8780;         /* Form borders, unselected chips. */
	--te-rule: #D3CEC7;
	--te-rule-soft: #E4DFD8;
	--te-error: #B42318;

	/* Type */
	--te-font: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--hf: var(--te-font);        /* Heading family. */
	--hw: 600;                   /* Heading weight. */
	--ht: -0.02em;               /* Heading letter spacing. */

	/* Shape */
	--r-l: 15px;                 /* Cards and panels. */
	--r-s: 10px;                 /* Rows, tiles, form fields. */
	--btn-r: 50px;               /* Pill buttons. */

	/* Layout */
	--te-gutter: 40px;           /* Page side margin. */
	--te-section: 80px;          /* Section top and bottom padding. */
	--te-header-offset: 84px;    /* Space the fixed header needs when jumping to an anchor. */
}

@media (max-width: 720px) {
	:root {
		--te-gutter: 20px;
		--te-section: 72px;
	}
}

@media (max-width: 600px) {
	:root {
		--te-section: 56px;
	}
}
