/* GMPTEAL */
/* GMPHOUSE - see house-style.py. One palette, one type
   scale, served from this site so it always arrives. */
@font-face{font-family:"Inter Tight";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/inter-tight-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Inter Tight";font-style:italic;font-weight:400;font-display:swap;src:url("fonts/inter-tight-latin-400-italic.woff2") format("woff2")}
@font-face{font-family:"Inter Tight";font-style:normal;font-weight:500;font-display:swap;src:url("fonts/inter-tight-latin-500-normal.woff2") format("woff2")}
@font-face{font-family:"Inter Tight";font-style:normal;font-weight:600;font-display:swap;src:url("fonts/inter-tight-latin-600-normal.woff2") format("woff2")}
@font-face{font-family:"Inter Tight";font-style:normal;font-weight:700;font-display:swap;src:url("fonts/inter-tight-latin-700-normal.woff2") format("woff2")}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:600;font-display:swap;src:url("fonts/jetbrains-mono-latin-600-normal.woff2") format("woff2")}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:700;font-display:swap;src:url("fonts/jetbrains-mono-latin-700-normal.woff2") format("woff2")}
@font-face{font-family:"Fraunces";font-style:normal;font-weight:100 900;font-display:swap;src:url("fonts/fraunces-latin-opsz-normal.woff2") format("woff2-variations")}
@font-face{font-family:"Fraunces";font-style:italic;font-weight:100 900;font-display:swap;src:url("fonts/fraunces-latin-opsz-italic.woff2") format("woff2-variations")}

:root{
  /* the cover page's palette, which is the house standard */
  --gmp-navy:#0B3C49; --gmp-navy-700:#0E4A5A; --gmp-navy-600:#12707F;
  --gmp-navy-300:#8FB9C2; --gmp-deep:#06252E;
  --gmp-amber:#FFAD1F; --gmp-amber-600:#E39400; --gmp-amber-100:#FFEBC2;
  --gmp-amber-50:#FFF7E6; --gmp-bronze:#8A5300;
  --gmp-paper:#F3F7F8; --gmp-panel:#FFFFFF;
  --gmp-ink:#131A2E; --gmp-slate:#5C6685; --gmp-rule:#D5E3E7;
  --gmp-tick:#0B6E4F; --gmp-cross:#B3261E;

  --gmp-sans:"Inter Tight",-apple-system,BlinkMacSystemFont,"Segoe UI",
    Roboto,Arial,sans-serif;
  --gmp-display:"Fraunces","Iowan Old Style",Georgia,"Times New Roman",serif;
  --gmp-mono:"JetBrains Mono",ui-monospace,"SF Mono",Menlo,Consolas,monospace;

  /* the three names the pages already use, filled in once */
  --sans:var(--gmp-sans);
  --ui:var(--gmp-sans);
  --mono:var(--gmp-mono);
  --serif:var(--gmp-display);

  /* the names that lied: --gold held a blue on fifty-three pages */
  --gold:var(--gmp-amber);
  --amber:var(--gmp-amber);
  --navy:var(--gmp-navy);
  --accent:var(--gmp-amber);
}

/* lowest specificity there is, so a page with its own deliberate font
   still wins and a page with none stops reaching for Times New Roman */
html{font-family:var(--gmp-sans)}

/* headings are the display face, the way the cover sets them */
h1,h2,h3,.gmp-display{font-family:var(--gmp-display)}

/* HANDED BACK: the maths must stay on the maths stack. rad-fix.py
   depends on this - the square-root sign is taken from a text face by
   unicode-range and the rest of the expression from the maths stack,
   and overriding either one detaches the sign from its number. */
math,math *,.mml,.mml *{font-family:revert}
.m,.math,.num,.fr,.rad,.eqn,.eqline,.disp,.display,.step,.sys,
.m i,.m var,.math i,.math var,.num i,.num var,.rad i,.rad var,
.fr i,.fr var,.display i,.display var,.disp i,.disp var,
.eqn i,.eqn var,.eqline i,.eqline var,.step i,.step var{
  font-family:revert}

