:root {
  /* White pages, one flush-left column, thin hairlines, no fills. */
  --paper: #FFFFFF;
  --ink: #1E293B;
  --green: #1E3A2B;
  --slate: #5C6B80;
  --rule: #E2E8F0;
  --display: Georgia, "Gelasio", "Times New Roman", serif;
  --body: Calibri, "Carlito", "Segoe UI", Helvetica, Arial, sans-serif;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  color: var(--green);
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: 44px; line-height: 1.16; max-width: 26ch; }
h2 { font-size: 28px; line-height: 1.25; }
h3 { font-size: 21px; line-height: 1.3; }

p { margin: 0; max-width: 68ch; }
ul, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
a[href^="tel:"] { white-space: nowrap; }
a:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.link {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.wrap {
  width: 100%;
  max-width: 1088px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.brand {
  display: block;
  position: relative;
  width: 124px;
  height: 64px;
  overflow: hidden;
}

.brand img {
  position: absolute;
  left: -39.7px;
  top: -73.4px;
  width: 203.3px;
  height: 203.3px;
  max-width: none;
}

.nav { display: flex; flex-wrap: wrap; gap: 6px 32px; }
.nav a { color: var(--slate); padding: 4px 0; border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--green); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--green); border-bottom-color: var(--green); }

/* Page opening */

.opening { padding: 72px 0 64px; border-top: 1px solid var(--rule); }
.opening .wrap { display: grid; gap: 22px; }
.lede { font-size: 21px; line-height: 1.5; max-width: 58ch; }

.figures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 48px;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--green);
}
.figures dt {
  font-family: var(--display);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.15;
  color: var(--green);
}
.figures dd { margin-top: 6px; color: var(--slate); font-size: 17px; line-height: 1.45; max-width: 32ch; }

/* Sections */

.section { padding: 60px 0; border-top: 1px solid var(--rule); }
.section .wrap { display: grid; gap: 24px; }

.cols { display: grid; gap: 28px 48px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 36px; }

.item { display: grid; gap: 8px; align-content: start; }
.item h3.plain { font-family: var(--body); font-size: 19px; color: var(--ink); }
.item .quiet { color: var(--slate); font-size: 17px; line-height: 1.5; }

.deal { display: grid; gap: 14px; max-width: 760px; }
.deal h3 { margin-bottom: 2px; }

.dash-list { display: grid; gap: 6px; }
.dash-list li { position: relative; padding-left: 24px; max-width: 66ch; }
.dash-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 10px;
  border-top: 1px solid var(--green);
}

/* Criteria table */

.criteria { width: 100%; border-collapse: collapse; font-size: 17px; line-height: 1.5; }
.criteria th, .criteria td { text-align: left; vertical-align: top; padding: 18px 28px 20px 0; }
.criteria thead th {
  color: var(--slate);
  font-weight: 700;
  padding-top: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--green);
}
.criteria tbody tr { border-bottom: 1px solid var(--rule); }
.criteria tbody th { color: var(--green); width: 19%; }
.criteria td { width: 27%; }

/* Team */

.people { display: grid; }
.person {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 8px 48px;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
}
.person:first-child { border-top: 0; padding-top: 0; }
.person:last-child { padding-bottom: 0; }
.person .role { color: var(--slate); margin-top: 4px; }
.person .about { display: grid; gap: 8px; }
.person .school { color: var(--slate); font-size: 17px; }

/* Contact */

.contact { display: grid; gap: 4px; }
.contact .gap { margin-top: 14px; }

/* Footer */

.site-footer { border-top: 1px solid var(--rule); }
.site-footer .wrap {
  display: grid;
  gap: 10px;
  padding-top: 28px;
  padding-bottom: 36px;
  color: var(--slate);
  font-size: 15px;
  line-height: 1.55;
}
.site-footer p { max-width: 96ch; }

/* Narrow screens */

@media (max-width: 900px) {
  h1 { font-size: 38px; }
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  h1 { font-size: 32px; }
  h2 { font-size: 25px; }
  .opening { padding: 48px 0 44px; }
  .lede { font-size: 19px; }
  .section { padding: 44px 0; }
  .figures, .cols-2, .cols-4, .person { grid-template-columns: minmax(0, 1fr); }
  .figures { gap: 20px; }
  .nav { gap: 6px 22px; }

  .criteria thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .criteria, .criteria tbody, .criteria tr, .criteria th, .criteria td { display: block; width: 100%; }
  .criteria tbody tr { padding: 20px 0 16px; }
  .criteria tbody tr:first-child { border-top: 1px solid var(--green); }
  .criteria tbody th { font-size: 20px; padding: 0 0 4px; width: 100%; }
  .criteria td { padding: 8px 0 0; width: 100%; }
  .criteria td::before {
    content: attr(data-label);
    display: block;
    color: var(--slate);
    font-size: 15px;
    font-weight: 700;
  }
}
