:root {
  --bg: #eaf1f0;
  --ink: #16353a;
  --muted: #4a676a;
  --accent: #2b7a80;
  --accent-ink: #fff;
  --line: rgba(22, 53, 58, .16);
  --plate: rgba(255, 255, 255, .62);
  --g1: rgba(150, 200, 190, .55);
  --g2: rgba(150, 180, 215, .45);
  --g3: rgba(205, 225, 215, .6);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1d20;
    --ink: #e3eeed;
    --muted: #a3bcbc;
    --accent: #7cc4c4;
    --accent-ink: #0f1d20;
    --line: rgba(227, 238, 237, .18);
    --plate: rgba(255, 255, 255, .05);
    --g1: rgba(43, 122, 128, .35);
    --g2: rgba(70, 100, 150, .3);
    --g3: rgba(30, 60, 60, .5);
  }
}

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

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

body {
  margin: 0;
  color: var(--ink);
  font: 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background:
    radial-gradient(60rem 40rem at 0% 0%, var(--g1), transparent 70%),
    radial-gradient(55rem 40rem at 100% 35%, var(--g2), transparent 70%),
    radial-gradient(60rem 40rem at 10% 100%, var(--g3), transparent 70%),
    var(--bg);
}

h1,
h2,
h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-size: clamp(2.1rem, 6.4vw, 4rem);
  letter-spacing: -.015em;
  max-width: 18ch;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: .5rem;
}

p {
  margin: 0 0 1rem;
  max-width: 68ch;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: min(1080px, 100% - 2.5rem);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  background: var(--ink);
  color: var(--bg);
  padding: .5rem 1rem;
  z-index: 9;
}

header {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.logo {
  display: block;
  line-height: 0;
}

.logo img {
  width: clamp(200px, 34vw, 296px);
  height: auto;
  max-width: 100%;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  padding: .4rem 0;
  display: inline-block;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hero {
  padding: clamp(3rem, 10vw, 7rem) 0 clamp(3rem, 8vw, 5.5rem);
}

.hero p {
  font-size: 1.2rem;
  color: var(--muted);
  margin-top: 1.5rem;
}

.btns {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  flex-direction: column;
  padding: .8rem 1.4rem;
  border-radius: 12px;
  text-decoration: none;
  background: var(--accent);
  color: var(--accent-ink);
  line-height: 1.3;
  transition: opacity .18s ease;
}

.btn:hover {
  opacity: .72;
  text-decoration: none;
}

.btn small {
  font-size: .85rem;
  opacity: .9;
}

.btn strong {
  font-size: 1.2rem;
  font-weight: 600;
}

.btn.alt {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

section {
  padding: clamp(2.5rem, 7vw, 4.5rem) 0;
  border-top: 1px solid var(--line);
}

.two {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .two {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.photo {
  margin: 0;
}

.photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
}

dl.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
  margin: 3rem 0 0;
}

@media (min-width: 800px) {
  dl.stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

dl.stats div {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
}

dl.stats dt {
  font: 500 2.4rem/1 "Iowan Old Style", Georgia, serif;
  order: 1;
}

dl.stats dd {
  margin: .35rem 0 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.35;
}

.deps,
.list,
.reports {
  list-style: none;
  margin: 0;
  padding: 0;
}

.deps li {
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 760px) {
  .deps {
    columns: 2;
    column-gap: 3rem;
  }

  .deps li {
    break-inside: avoid;
  }
}

.note {
  color: var(--muted);
}

.spaced {
  margin-top: 1.25rem;
}

.list li {
  padding: .8rem 0 .8rem 1.6rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.5rem;
  width: .65rem;
  height: .65rem;
  border-radius: 50%;
  background: var(--accent);
}

.reports li {
  border-bottom: 1px solid var(--line);
}

.reports a {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .35rem 1.5rem;
  padding: 1rem 0;
  text-decoration: none;
}

.reports a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.reports time {
  font: 500 1.35rem/1.3 "Iowan Old Style", Georgia, serif;
}

.reports span {
  color: var(--muted);
}

.panel {
  background: var(--plate);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.75rem;
  backdrop-filter: blur(6px);
}

.panel h3 {
  font-size: 1.6rem;
}

.stack {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.tel .note {
  font: 1rem system-ui, sans-serif;
}

@media (min-width: 700px) {
  a.tel {
    font: 500 1.7rem/1.3 "Iowan Old Style", Georgia, serif;
    text-decoration: none;
    display: block;
  }

  p a.tel {
    display: inline;
    font: inherit;
  }

  a.tel:hover {
    text-decoration: underline;
  }
}

footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: .95rem;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.page main {
  padding: clamp(2rem, 6vw, 3.5rem) 0 4rem;
}

.page .wrap {
  width: min(1280px, 100% - 2.5rem);
}

.page h1 {
  font-size: clamp(1.6rem, 4.2vw, 2.4rem);
  max-width: 28ch;
  flex: 1 1 16rem;
}

.page h2 {
  font-size: 1.25rem;
  margin: 2rem 0 .75rem;
}

.page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .85rem 1.25rem;
  margin-bottom: .25rem;
}

.search {
  position: relative;
  flex: 0 1 18rem;
  min-width: 12rem;
}

.search input {
  width: 100%;
  appearance: none;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--plate);
  color: var(--ink);
  padding: .65rem .9rem;
  font: inherit;
}

.search input::placeholder {
  color: var(--muted);
}

.search input:focus {
  outline: none;
  border-color: var(--accent);
}

mark {
  background: #ffe566;
  color: #16353a;
  padding: 0 .12em;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.meta {
  margin: 1rem 0 1.5rem;
}

.scroll {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--plate);
  backdrop-filter: blur(6px);
  -webkit-overflow-scrolling: touch;
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 72rem;
  font-size: .88rem;
  line-height: 1.35;
}

th,
td {
  padding: .55rem .65rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  position: sticky;
  top: 0;
  background: color-mix(in srgb, var(--bg) 88%, white);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .01em;
  z-index: 1;
}

tbody tr:hover {
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

.num {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
