/* Institutional fonts stay on AI4FM's existing host. */
@font-face {
  font-family: "Open Sans";
  src: url("https://ai4fm.cs.luc.edu/_static/fonts/open-sans-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: "Antenna Condensed Black";
  src: url("https://ai4fm.cs.luc.edu/_static/fonts/antenna-condensed-black.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Antenna Bold";
  src: url("https://ai4fm.cs.luc.edu/_static/fonts/antenna-bold.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --maroon: oklch(.32 .12 12);
  --gold: oklch(.79 .15 83);
  --paper: oklch(.977 .007 85);
  --ink: oklch(.23 .015 30);
  --muted: oklch(.47 .015 30);
  --line: oklch(.84 .012 65);
  --sans: "Open Sans", Arial, sans-serif;
  --heading: "Antenna Bold", "Arial Narrow", Arial, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.8 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--maroon); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: oklch(.48 .14 15); }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
.skip-link { position: absolute; left: 10px; top: -80px; z-index: 1; padding: 8px 16px; background: var(--paper); }
.skip-link:focus { top: 10px; }
.page { width: 90%; max-width: 900px; margin-inline: auto; padding-block: 60px; }
h1 { margin: 0 0 34px; font: 500 clamp(38px, 3.65vw, 52px)/1 "Antenna Condensed Black", Arial, sans-serif; }
h2 { margin: 0; font: 400 32px/1.2 var(--heading); letter-spacing: -.025em; }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
th, td { text-align: left; }
thead { border-block: 1px solid var(--line); }
thead th { font-size: 13px; font-weight: 600; padding: 10px 0; }
thead th:not(:first-child), td { width: 19%; text-align: right; }
tbody tr { border-bottom: 1px solid var(--line); }
tbody th { font-weight: 600; padding: 15px 0; }
tbody th span { display: block; color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.6; }
td { padding-left: 16px; font-size: 23px; line-height: 1.2; font-weight: 500; }
.caveat { max-width: 70ch; margin: 20px 0 0; font-size: 13px; }
.article h1 { margin-bottom: 22px; }
.article h2 { margin: 30px 0 12px; font-size: 25px; }
.article p { max-width: 70ch; margin: 0 0 16px; }
.article ul { padding-left: 20px; max-width: 70ch; }
.article li { margin-block: 8px; }
.article code { font-size: .88em; overflow-wrap: anywhere; }
.site-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 40px; font-size: 13px; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--maroon); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.artifact-links { display: flex; flex-wrap: wrap; gap: 24px; }
.skill { margin: 22px 0 18px; }
.skill summary { width: fit-content; color: var(--maroon); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.skill summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
.skill[open] summary { margin-bottom: 12px; }
.copy { font: inherit; font-size: 13px; color: var(--maroon); background: none; border: 1px solid var(--line); border-radius: 4px; padding: 3px 12px; cursor: pointer; }
.copy:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skill pre { margin: 12px 0 0; padding: 16px; max-height: 70vh; overflow: auto; border: 1px solid var(--line); background: oklch(.99 .004 85); font-size: 12.5px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .page { padding-block: 36px; }
  h1 { margin-bottom: 28px; }
  h2 { font-size: 27px; }
  thead th { font-size: 12px; }
  thead th:not(:first-child), td { width: 22%; }
  tbody th { font-size: 13px; }
  tbody th span { font-size: 11px; }
  td { font-size: 20px; padding-left: 10px; }
  .caveat { font-size: 12px; }
  .article { font-size: 14px; }
}
