/*
 * cc-org-identity.css -- Hack University.
 *
 * The org's voice, for every page that is not the gallery home page. The home
 * page gets the same typeface and accent from cc-gallery.css; this file carries
 * them to the rest of the site so an org reads as one thing end to end.
 *
 * The display face does not change -- only labels and small caps go mono.
 *
 * Loaded LAST in <head> so it wins over each page's own inline <style>.
 */

:root {
  --org-accent: #1A73E8;
  --org-accent-dark: #125bbd;
  --org-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --org-font-label: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --org-font-ui: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Pages built before the identity layer name their colour themselves.
     Point those names at the org instead of at whatever was handy. */
  --brand-primary: var(--org-accent);
  --brand-primary-dark: var(--org-accent-dark);
}


/*
 * No type rules here on purpose. This org's face is Inter and its pages
 * already use it; a handful set a display face of their own deliberately --
 * certificates, award pages -- and forcing one family across the folder would
 * take that away for no gain. The accent and the mono labels are the identity.
 */

/* Labels, eyebrows and small caps take the org's second face. */
.gx-kicker, .cc-kicker, .eyebrow, .label, .kicker,
figcaption, small {
  font-family: var(--org-font-label);
}
