/* Učnov – tokeny. Barvy jen z manuálu (část 7). Neutrální odstíny jsou průhledný inkoust. */

/* Písma jsou self-hostovaná (GDPR). Soubory patří do assets/fonts/, viz README.md. */
@font-face{font-family:Rubik;font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/rubik-500.woff2) format("woff2")}
@font-face{font-family:Rubik;font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/rubik-600.woff2) format("woff2")}
@font-face{font-family:Rubik;font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/rubik-700.woff2) format("woff2")}
@font-face{font-family:Nunito;font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/nunito-400.woff2) format("woff2")}
@font-face{font-family:Nunito;font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/nunito-600.woff2) format("woff2")}
@font-face{font-family:Nunito;font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/nunito-700.woff2) format("woff2")}
@font-face{font-family:Nunito;font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/nunito-800.woff2) format("woff2")}

:root{
  --ink:#1B2B4B;--accent:#B3261E;--iron:#8E9BAC;--iron-d:#6E86A0;--skin:#F6C9A3;--stache:#5A3418;--paper:#FBF6EC;
  --ink2:rgba(27,43,75,.8);--line:rgba(27,43,75,.15);--surface:rgba(27,43,75,.06);
  --pad:clamp(20px,5vw,48px);--sec:clamp(48px,6vw,88px);--max:1200px;
  --font-head:Rubik,Nunito,system-ui,sans-serif;--font-body:Nunito,system-ui,sans-serif;
  /* vodorovné odsazení sekce tak, aby obsah měl max. šířku --max */
  --gutter:max(var(--pad),calc((100% - var(--max))/2 + var(--pad)));
}
