@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/IBMPlexSans.ttf") format("truetype");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/IBMPlexMono-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #12161a;
  --body: #2a3138;
  --mute: #5c6770;
  --rule: #d5dde3;
  --brass: #1a4d5c;
  --paper: #f4f7f8;
  --desk: #dfe6ea;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--desk);
  color: var(--body);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  font-size: 11pt;
  line-height: 1.45;
}

.bar {
  width: min(46rem, calc(100% - 2rem));
  margin: 1rem auto;
  color: var(--mute);
}

.bar a { color: var(--brass); }

.sheet {
  width: min(46rem, calc(100% - 2rem));
  margin: 0 auto 2rem;
  padding: 2.2rem 2.4rem 2.6rem;
  background: var(--paper);
  color: var(--body);
}

h1 {
  margin: 0;
  color: var(--ink);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 2.4rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.role { margin: 0.25rem 0 0; color: var(--brass); font-family: "IBM Plex Sans", sans-serif; font-size: 1.15rem; }
.contact, .where { margin: 0.35rem 0 0; color: var(--mute); }
.contact a { color: var(--ink); text-decoration: none; }
.summary { margin: 1rem 0 0; color: var(--ink); }

h2 {
  margin: 1.3rem 0 0.45rem;
  padding-top: 0.45rem;
  border-top: 1px solid var(--rule);
  color: var(--brass);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h3 { margin: 0.85rem 0 0; color: var(--ink); font-size: 1.02rem; }
.org-note { margin: 0.1rem 0 0.25rem; color: var(--mute); font-size: 0.92rem; }

.role-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.15rem 1.25rem;
  margin-top: 0.55rem;
}
.role-line p { margin: 0; color: var(--ink); font-weight: 620; }
.role-line p:first-child { flex: 1 1 14rem; }
.role-line p:last-child { color: var(--mute); font-weight: 450; white-space: nowrap; }

@media (max-width: 640px) {
  .role-line { flex-direction: column; align-items: flex-start; }
  .role-line p:first-child { flex: none; }
  .role-line p:last-child { white-space: normal; }
}

ul { margin: 0.25rem 0 0.4rem; padding-left: 1.1rem; }
li { margin: 0.18rem 0; }
a { color: var(--brass); }
.refs { margin-top: 1.2rem; color: var(--mute); }

@media print {
  body { background: white; }
  .screen-only { display: none; }
  .sheet { width: auto; margin: 0; padding: 0; }
  a { color: inherit; text-decoration: none; }
  .role-line { flex-direction: row; justify-content: space-between; }
  .role-line p:last-child { white-space: nowrap; }
}
