:root {
  color-scheme: dark;
  --bg: #292326;
  --text: #ffd35c;
  --cream: #ffedbd;
  --line: rgba(255, 211, 92, 0.35);
  --max: 1100px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }

a { color: var(--cream); }

a:hover { text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  padding: 0.4rem 0.7rem;
  background: var(--cream);
  color: var(--bg);
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header { padding-top: 1.5rem; }

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

.site-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.4;
}

.site-title a {
  color: inherit;
  text-decoration: none;
}

.site-title a:hover { text-decoration: underline; }

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
}

nav a {
  color: inherit;
  text-decoration: none;
}

nav a:hover,
nav a:focus { text-decoration: underline; }

nav a[aria-current="page"] { font-weight: 700; }

.banner {
  display: block;
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 1.25rem auto 0;
}

main { padding: 2.25rem 0 3rem; }

main h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 2.4vw, 2.25rem);
  font-weight: 400;
  line-height: 1.2;
}

.home { width: min(42rem, calc(100% - 2.5rem)); }

.mission { text-align: center; }

.officers h2 {
  margin: 2rem 0 1rem;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.officer-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.badge { width: 200px; }

.roster {
  flex: 1 1 16rem;
  min-width: min(100%, 16rem);
}

.roster p { margin: 0 0 1rem; }

.year-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 28rem;
}

.year-list a {
  display: block;
  padding: 0.35rem 0;
}

.table-scroll {
  overflow-x: auto;
  margin-top: 1rem;
}

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

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

thead th {
  background: rgba(255, 211, 92, 0.16);
  color: var(--text);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

thead th:first-child,
tbody th[scope="row"],
td:nth-child(4),
thead th:nth-child(4) {
  text-align: right;
  white-space: nowrap;
}

tbody tr:nth-child(even) { background: rgba(255, 211, 92, 0.06); }

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

.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;
}

@media (max-width: 720px) {
  .bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .officer-layout {
    flex-direction: column;
    text-align: center;
  }
}

@media print {
  body { background: #fff; color: #000; }
  a, .site-title a, nav a { color: #000; }
  .banner, .skip-link { display: none; }
  thead th { background: #eee; color: #000; }
  th, td { border-color: #999; }
}
