:root {
  color-scheme: light;
  --paper: #f3efe6;
  --paper-deep: #e7e1d4;
  --card: #fffdf8;
  --ink: #1b1915;
  --ink-soft: #3e3a34;
  --muted: #5c564c;
  --line: #ddd4c4;
  --line-strong: #c9bfae;
  --green: #12382e;
  --green-deep: #0c2820;
  --card-line: #d9d0c2;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --measure: 46rem;
  --measure-wide: 62rem;
  --focus: #1b1915;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.5;
}

main {
  flex: 1;
  padding-bottom: 2.75rem;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
}

p {
  margin: 0.6rem 0 0;
}

a {
  color: var(--green);
  text-underline-offset: 0.14em;
}

a:hover {
  color: var(--green-deep);
}

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

#content:focus {
  outline: none;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.4rem;
  z-index: 10;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--paper);
  padding: 0.55rem 0.8rem;
  text-decoration: none;
  font-weight: 700;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(100% - 2rem, var(--measure));
  margin-inline: auto;
}

.wrap-wide {
  width: min(100% - 2rem, var(--measure-wide));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(243, 239, 230, 0.96);
  border-top: 6px solid var(--green);
  border-bottom: 1px solid var(--line);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.wordmark img {
  width: 1.75rem;
  height: 1.75rem;
  display: block;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.wordmark:hover,
.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.hero {
  padding-top: 1.75rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid var(--line);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 9vw, 4.4rem);
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.tagline {
  margin: 0.55rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--ink-soft);
}

.lede {
  margin: 0.9rem 0 0;
  max-width: 40rem;
  font-size: 1.075rem;
  color: var(--ink);
}

.search-panel {
  margin-top: 0.25rem;
}

.search-label {
  display: block;
  margin: 0 0 0.45rem;
  font-weight: 700;
}

.search-row {
  display: grid;
  gap: 0.7rem;
}

.search-input {
  width: 100%;
  min-height: 3.5rem;
  padding: 0.85rem 1rem;
  border: 2px solid var(--ink);
  border-radius: 2px;
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-size: 1.125rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem 1.1rem;
  background: var(--green);
  color: #f7f4ec;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border: 2px solid var(--green);
  border-radius: 2px;
}

.button:hover {
  background: var(--green-deep);
  color: #f7f4ec;
}

.results {
  margin-top: 1.1rem;
}

.result-list,
.entry-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.result-list {
  display: grid;
  gap: 0.75rem;
}

.result-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 1rem 2.4rem 1.05rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--card-line);
  color: inherit;
  text-decoration: none;
}

.result-card::after {
  content: "";
  position: absolute;
  right: 1.15rem;
  top: 1.45rem;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

.result-card:hover,
.result-card:focus-visible {
  border-color: var(--green);
  background: #f4faf7;
}

.result-name,
.entry-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--ink);
}

.result-card:hover .result-name,
.result-card:focus-visible .result-name,
.entry a:hover .entry-name,
.entry a:focus-visible .entry-name {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.result-role,
.entry-role {
  color: var(--ink-soft);
  line-height: 1.4;
}

.result-venture {
  margin-top: 0.35rem;
  color: var(--ink);
}

.empty {
  margin-top: 0.25rem;
  padding: 1.1rem 1.15rem 1.15rem;
  background: var(--card);
  border: 1px dashed var(--line-strong);
}

.empty h2 {
  margin: 0;
  font-size: 1.45rem;
}

.suggest-note {
  margin-top: 0.7rem;
}

.suggest-note a {
  font-weight: 700;
}

.page-intro {
  padding-top: 1.6rem;
}

.page-intro h1 {
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  letter-spacing: -0.03em;
}

.page-intro .dek {
  margin: 0.55rem 0 0;
  color: var(--ink-soft);
}

.count {
  margin: 0.85rem 0 0;
  font-weight: 700;
}

.jump-block {
  position: sticky;
  top: 4.8rem;
  z-index: 4;
  margin-top: 1.15rem;
  padding: 0.75rem 0 0.85rem;
  background: rgba(243, 239, 230, 0.97);
  border-bottom: 1px solid var(--line);
}

.jump-label {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.jump {
  display: grid;
  grid-template-columns: repeat(13, minmax(0, 1fr));
  gap: 0.2rem;
}

.letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
  border-radius: 2px;
}

a.letter {
  background: #d7ebe3;
  color: var(--green);
}

a.letter:hover,
a.letter:focus-visible {
  background: #c3dfd4;
  color: var(--green-deep);
}

.letter.is-empty {
  background: transparent;
  color: #8d877c;
  font-weight: 500;
}

.letter-group {
  margin-top: 1.4rem;
}

.letter-group h2 {
  margin: 0;
  padding-top: 0.35rem;
  border-top: 2px solid var(--ink);
  font-size: 2rem;
  scroll-margin-top: 9.5rem;
}

.entry a {
  display: block;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.entry-name,
.entry-role,
.entry-venture {
  display: block;
}

.entry-venture {
  margin-top: 0.15rem;
  color: var(--muted);
}

.title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
  padding-top: 1.5rem;
}

.title-row h1 {
  margin: 0;
  font-size: clamp(2.15rem, 8vw, 3.3rem);
  letter-spacing: -0.03em;
}

.full-name {
  margin: 0.45rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink-soft);
}

.role {
  margin: 0.4rem 0 0;
  font-size: 1.125rem;
}

.official {
  margin: 1rem 0 0;
}

.kicker {
  display: block;
  margin: 0 0 0.2rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3f4a44;
}

.result-venture .kicker {
  display: inline;
  margin: 0 0.35rem 0 0;
}

.section {
  margin-top: 2rem;
}

.section h2 {
  margin: 0 0 0.8rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--ink);
  font-size: 1.6rem;
}

.section-note {
  margin: -0.2rem 0 0.8rem;
  color: var(--ink-soft);
}

.record {
  margin-top: 0.75rem;
  padding: 1rem 1rem 1.05rem;
  background: var(--card);
  border: 1px solid var(--card-line);
}

.card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
}

.card-head h3 {
  margin: 0;
  font-size: 1.4rem;
}

.handle {
  font-family: var(--sans);
  font-weight: 700;
  white-space: nowrap;
}

.relationship {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0.45rem 0 0;
}

.status {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.08rem 0.42rem;
  border: 1px solid currentColor;
  border-radius: 2px;
  white-space: nowrap;
}

.status-current {
  color: #0f3d32;
}

.status-former {
  color: #6d2f2a;
}

.facts {
  display: grid;
  gap: 0.55rem;
  margin: 0.85rem 0 0;
}

.facts div {
  display: grid;
  gap: 0.1rem;
}

.facts dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts dd,
.official a {
  margin: 0;
  overflow-wrap: anywhere;
}

.facts dd {
  margin: 0;
}

.badge {
  display: inline-block;
  margin: 0;
  padding: 0.18rem 0.5rem;
  background: #efe2c4;
  color: #4e3510;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  border-radius: 2px;
}

.badge-draft {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--green);
}

.correction {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.message {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  background: var(--card);
  border: 1px solid var(--card-line);
}

.message-error {
  background: #f8efe9;
  border-color: #6d2f2a;
  color: #3d1c16;
}

.needs-js {
  display: none;
}

.js .needs-js {
  display: block;
}

.site-footer {
  margin-top: auto;
  padding: 1.2rem 0 1.6rem;
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
}

.site-footer p {
  margin: 0.35rem 0;
  color: var(--ink-soft);
}

.site-footer a {
  font-weight: 700;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 720px) {
  .search-input {
    font-size: 1.35rem;
    height: 4rem;
    min-height: 4rem;
    padding: 0.95rem 1.1rem;
  }

  .search-row {
    grid-template-columns: 1fr auto;
    align-items: stretch;
  }

  .search-row .button {
    width: auto;
    height: 4rem;
    min-height: 4rem;
    min-width: 16rem;
  }
}

@media (min-width: 800px) {
  .jump {
    grid-template-columns: repeat(26, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  body {
    border-top: 0;
    background: #fff;
  }

  .site-header,
  .search-panel,
  .jump-block,
  .skip {
    position: static;
  }

  .button,
  .result-card,
  .record {
    border-color: #000;
  }
}
