:root {
  --paper: #F2F4F6;
  --ink: #0a0d14;
  --steel: #8f9daa;
  --rule: #C4CBD4;
  --blue: #1D4ED8;
  --darkgreen: #2c640d;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.65;
}

.wrap {
  max-width: 62rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

a { color: var(--blue); text-underline-offset: 0.2em; }
a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Header and navigation */
.site-header { border-bottom: 1px solid var(--rule); }
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.site-header {
  background: var(--darkgreen);
  border-bottom: 1px solid var(--rule);
}
.brand {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1rem;
}
.site-nav a {
  color: var(--steel);
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--blue);
}

main { padding: 3rem 0 4rem; }

/* Headings */
h1, h2, h3 { font-family: var(--sans); margin: 0; }

.page-title {
  font-weight: 800;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.lede {
  font-size: 1.25rem;
  max-width: 36rem;
  margin: 1rem 0 0;
}

/* Home hero: a dimensioned name and a drawing-style title block */
.measure { display: inline-block; max-width: 100%; }

.dim {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--blue);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.875rem;
  border-left: 1px solid currentColor;
  border-right: 1px solid currentColor;
  padding: 0.35rem 0;
  margin-bottom: 0.25rem;
}
.dim i {
  display: block;
  flex: 1;
  height: 1px;
  background: currentColor;
  position: relative;
}
.dim i:first-child::before,
.dim i:last-child::after {
  content: "";
  position: absolute;
  top: -4px;
  width: 9px;
  height: 9px;
  background: currentColor;
}
.dim i:first-child::before {
  left: 0;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}
.dim i:last-child::after {
  right: 0;
  clip-path: polygon(100% 50%, 0 0, 0 100%);
}

.hero-name {
  font-weight: 400;
  font-size: 	clamp(2rem, 6vw, 3.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.intro {
  font-size: 1.375rem;
  max-width: 38rem;
  margin: 2rem 0 0;
}

.titleblock {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1px;
  background: var(--ink);
  border: 2px solid var(--ink);
  margin: 2.5rem 0 0;
  font-family: var(--sans);
}
.titleblock > div {
  background: var(--paper);
  padding: 0.6rem 0.9rem;
}
.titleblock dt {
  font-size: 0.8125rem;
  color: var(--steel);
}
.titleblock dd {
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
}

/* Content rows: heading in the left column, content on the right */
.row {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 1rem 3rem;
  border-top: 1px solid var(--ink);
  padding-top: 1.25rem;
  margin-top: 3rem;
}
.row h2 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
}
.row .meta {
  margin: 0.35rem 0 0;
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--steel);
}
.row-body { max-width: 40rem; }
.row-body > :first-child { margin-top: 0; }
.row-body p { margin: 0 0 1rem; }
.row-body ul { margin: 0; padding-left: 1.25rem; }
.row-body li { margin-bottom: 0.6rem; }

.page-head + .row { margin-top: 2.5rem; }

/* Results table */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.5;
}
caption {
  text-align: left;
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--steel);
  padding-bottom: 0.5rem;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 1rem 0.7rem 0;
  border-bottom: 1px solid var(--rule);
}
thead th {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--steel);
  border-bottom: 1px solid var(--ink);
}
tbody th {
  font-family: var(--sans);
  font-weight: 700;
  width: 38%;
}

/* Contact */
.email {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  overflow-wrap: anywhere;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--steel);
}
.site-footer .wrap { padding-top: 1.25rem; padding-bottom: 1.25rem; }

@media (max-width: 48rem) {
  .row { grid-template-columns: 1fr; gap: 0.5rem; }
  main { padding-top: 2rem; }
  tbody th { width: 42%; }
}
