:root {
  --green: #009444;
  --green-dark: #00702f;
  --green-tint: #eef7f1;
  --ink: #111111;
  --muted: #555a5f;
  --line: #dcdcdc;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green-dark); }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.site-header { padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-header img { display: block; width: 8.5rem; height: auto; }
.site-header nav a { margin-left: 2rem; color: var(--ink); font-weight: 500; font-size: 0.9375rem; text-decoration: none; }
.site-header nav a:hover { color: var(--green); }

/* Hero */
.hero { padding: 4.5rem 0 3.5rem; }
.hero h1 {
  margin: 0;
  max-width: 16ch;
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.hero .lede { max-width: 40rem; margin: 1.5rem 0 0; color: var(--muted); font-size: 1.25rem; line-height: 1.5; }

/* Directory: a plain catalog list */
.directory { padding-bottom: 4rem; }
.group { padding-top: 2.5rem; }
.group h2 {
  margin: 0;
  padding-bottom: 0.625rem;
  border-bottom: 3px solid var(--ink);
  font-size: 0.9375rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
}
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { border-bottom: 1px solid var(--line); }
.rows a {
  display: grid;
  grid-template-columns: 15rem 1fr 14rem;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem 0.75rem;
  margin: 0 -0.75rem;
  color: inherit;
  text-decoration: none;
}
.rows a:hover { background: var(--green-tint); }
.rows .thumb {
  display: block; width: 100%; height: auto; aspect-ratio: 8 / 5;
  object-fit: cover; object-position: top;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f2f2f2;
}
.rows .text { display: block; }
.rows .name { display: block; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.rows a:hover .name { color: var(--green-dark); }
.rows .desc { display: block; margin-top: 0.375rem; color: var(--muted); font-size: 0.9875rem; line-height: 1.5; }
.rows .url { justify-self: end; color: var(--green-dark); font-weight: 500; font-size: 0.9375rem; text-decoration: underline; text-underline-offset: 0.2em; }

/* About: full-bleed band */
.about { padding: 4rem 0; background: var(--green-dark); color: #fff; }
.about h2 { margin: 0 0 1.5rem; font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.about h2 span { display: block; margin-top: 0.5rem; font-size: 1rem; font-weight: 500; letter-spacing: 0; opacity: 0.85; }
.about .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 3rem; }
.about p { margin: 0; font-size: 1.125rem; line-height: 1.6; }

/* Footer */
.site-footer { padding: 2.5rem 0 3rem; font-size: 0.875rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 3rem; }
.site-footer address { font-style: normal; line-height: 1.6; }
.site-footer strong { color: var(--ink); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.site-footer ul a { color: var(--ink); }
.site-footer .copy { flex-basis: 100%; margin: 0; padding-top: 1.5rem; border-top: 1px solid var(--line); }

/* Policy pages */
.doc { padding: 3rem 0 5rem; }
.doc .wrap { max-width: 46rem; }
.doc .back { display: inline-block; margin-bottom: 2rem; font-size: 0.9375rem; }
.doc h1 { margin: 0 0 0.5rem; font-size: clamp(2rem, 4.5vw, 2.75rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; }
.doc .updated { margin: 0 0 2rem; padding-bottom: 1.5rem; border-bottom: 3px solid var(--ink); color: var(--muted); font-size: 0.9375rem; }
.doc h2 { margin: 2.25rem 0 0.5rem; font-size: 1.125rem; font-weight: 700; }
.doc p, .doc li { color: #2b2e31; }
.doc ul { padding-left: 1.25rem; }
.doc li { margin: 0.25rem 0; }

@media (max-width: 900px) {
  .rows a { grid-template-columns: 12rem 1fr; gap: 0.5rem 1.5rem; }
  .rows .thumb { grid-row: span 2; }
  .rows .url { justify-self: start; }
  .about .cols { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .site-header nav { display: none; }
  .rows a { grid-template-columns: 1fr; }
  .rows .thumb { grid-row: auto; margin-bottom: 0.5rem; }
  .hero { padding: 3rem 0 2.5rem; }
}
