:root {
  color-scheme: light;
  --ink: #002060;
  --body: #1C3055;
  --muted: #4A5C78;
  --link: #005C91;
  --accent: #2F80ED;
  --wash: #EAFBFC;
  --wash-2: #F4F9FC;
  --positive: #00B050;
  --paper: #FFFFFF;
  --on-ink: #FFFFFF;
  --on-ink-muted: #9CC3F5;
  --line: #C9D9E8;
  --font-display: "Iowan Old Style", Charter, Georgia, Cambria, "Times New Roman", Times, serif;
  --font-text: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--body);
  font-family: var(--font-text);
  font-size: 100%;
  line-height: 1.65;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
}

body,
button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: var(--link);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

a:hover {
  color: var(--ink);
}

a:focus-visible,
.table-wrap:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

h1,
h2 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(2.25rem, 2.05rem + 1vw, 3.25rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.5rem, 1.38rem + 0.6vw, 2rem);
  max-width: 18ch;
}

h3 {
  color: var(--ink);
  font-size: 1.125rem;
  line-height: 1.35;
  margin: 0;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.shell {
  margin: 0 auto;
  max-width: 1100px;
  padding: 0 1.5rem;
  width: 100%;
}

.skip-link {
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  left: 1rem;
  padding: 0.5rem 0.75rem;
  position: absolute;
  top: 0.75rem;
  transform: translateY(-160%);
  z-index: 10;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  background: color-mix(in srgb, var(--paper) 94%, var(--wash));
  border-bottom: 1px solid var(--line);
}

.header-inner {
  align-items: center;
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
  min-height: 5.25rem;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  background-image: url("logo.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  display: inline-block;
  flex: 0 0 auto;
  height: 2.875rem;
  width: 2.875rem;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.site-nav,
.footer-nav,
.page-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.site-nav a,
.footer-nav a,
.page-links a {
  font-size: 0.9375rem;
  font-weight: 700;
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration-color: var(--accent);
}

.hero {
  overflow: hidden;
  position: relative;
}

.hero::after {
  background-image: url("logo.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  height: min(42vw, 24rem);
  opacity: 0.045;
  position: absolute;
  right: max(1.5rem, calc((100vw - 1100px) / 2));
  top: 2rem;
  width: min(42vw, 24rem);
}

.hero-inner {
  padding-bottom: clamp(4.5rem, 8vw, 7rem);
  padding-top: clamp(4.5rem, 8vw, 7rem);
  position: relative;
  z-index: 1;
}

.compact-hero .hero-inner,
.not-found .hero-inner {
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
}

.kicker,
.section-label,
.source-line,
.note,
caption {
  color: var(--muted);
  font-size: 0.875rem;
}

.kicker,
.section-label {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lede {
  color: var(--body);
  font-size: 1.1875rem;
  line-height: 1.65;
  margin-top: 1.5rem;
  max-width: 68ch;
}

.note {
  margin-top: 1.25rem;
  max-width: 68ch;
}

.section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}

.wash {
  background: var(--wash);
}

.section-label + h2,
.section h2 + .intro,
.prose h2 + p {
  margin-top: 0.75rem;
}

.intro,
.prose p {
  max-width: 68ch;
}

.prose p + p {
  margin-top: 1rem;
}

.stat-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2rem;
}

.stat-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.stat-pair {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.25rem;
}

.stat-number {
  color: var(--accent);
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.75rem + 1.5vw, 3rem);
  font-weight: 600;
  line-height: 1;
}

.stat-text {
  color: var(--muted);
  display: block;
  font-size: 0.875rem;
  line-height: 1.45;
  margin-top: 0.4rem;
}

.stat-grid + .source-line {
  margin-top: 1rem;
}

.feature-list {
  display: grid;
  gap: 1.5rem 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2rem;
  max-width: 980px;
}

.feature-list article {
  border-top: 2px solid var(--accent);
  padding-top: 1rem;
}

.feature-list p {
  margin-top: 0.4rem;
}

.action-line {
  margin-top: 2rem;
}

.text-link,
.ink-link {
  font-weight: 800;
}

.ink-band {
  background: var(--ink);
  color: var(--on-ink);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.ink-band h2 {
  color: var(--on-ink);
}

.ink-inner p {
  color: var(--on-ink-muted);
  margin-top: 1rem;
  max-width: 68ch;
}

.ink-link {
  color: var(--on-ink);
}

.ink-link:hover {
  color: var(--on-ink-muted);
}

.award-list {
  display: grid;
  gap: 0.65rem;
  list-style: none;
  margin-top: 1.5rem;
  max-width: 68ch;
}

.award-list li {
  border-left: 3px solid var(--positive);
  color: var(--on-ink);
  padding-left: 0.9rem;
}

.team-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2rem;
  max-width: 980px;
}

.team-member {
  align-items: center;
  border-top: 2px solid var(--accent);
  display: grid;
  gap: 1rem;
  grid-template-columns: 128px minmax(0, 1fr);
  min-width: 0;
  padding-top: 1rem;
}

.team-photo {
  aspect-ratio: 1;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: block;
  height: 128px;
  object-fit: cover;
  width: 128px;
}

.team-photo-initials {
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  justify-content: center;
  line-height: 1;
}

.team-role {
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-top: 0.35rem;
  text-transform: uppercase;
}

.team-qualification {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.45;
  margin-top: 0.35rem;
}

.table-wrap {
  margin-top: 1.5rem;
  max-width: 100%;
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  font-size: 0.9375rem;
  min-width: 760px;
  width: 100%;
}

caption {
  caption-side: top;
  margin-bottom: 0.75rem;
  text-align: left;
}

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

thead th {
  background: var(--ink);
  color: var(--on-ink);
}

tbody tr:nth-child(even) {
  background: var(--wash-2);
}

tbody th {
  color: var(--ink);
  font-weight: 800;
}

td {
  font-variant-numeric: tabular-nums;
}

.table-wrap + .source-line {
  margin-top: 1rem;
  max-width: 68ch;
}

.timeline {
  display: grid;
  gap: 1.25rem;
  list-style: none;
  margin-top: 2rem;
}

.timeline > li {
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
}

.timeline ul {
  color: var(--body);
  display: grid;
  gap: 0.35rem;
  list-style: disc;
  margin-top: 0.75rem;
  padding-left: 1.1rem;
}

.page-links {
  margin-top: 2rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
}

.footer-inner {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.footer-inner p {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition-duration: 0.01ms;
    transition-delay: 0s;
  }
}

@media (max-width: 720px) {
  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
  }

  .header-inner {
    min-height: 0;
    padding-bottom: 1.25rem;
    padding-top: 1.25rem;
  }

  .site-nav {
    width: 100%;
  }

  .hero::after {
    height: 15rem;
    right: -3.5rem;
    top: 4rem;
    width: 15rem;
  }

  .stat-grid,
  .stat-pair,
  .feature-list,
  .team-grid {
    grid-template-columns: 1fr;
  }

  h1,
  h2 {
    max-width: 100%;
  }
}

@media (max-width: 420px) {
  .shell {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .brand-text {
    font-size: 1.2rem;
  }

  .brand-mark {
    height: 2.4rem;
    width: 2.4rem;
  }
}
