:root {
  --ink: #17211f;
  --muted: #62716d;
  --line: #d9e1dd;
  --paper: #f7f8f5;
  --card: #ffffff;
  --accent: #0e6860;
  --accent-soft: #dcece7;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
body { margin: 0; }
a { color: inherit; }
.site-header, main, .site-footer { max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.site-header { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.brand { color: var(--ink); font-size: 18px; font-weight: 800; letter-spacing: .08em; text-decoration: none; }
.brand span { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 20px; }
nav { display: flex; gap: 22px; font-size: 14px; }
nav a, .site-footer a { color: var(--muted); text-decoration: none; }
nav a:hover, .site-footer a:hover { color: var(--accent); }
.language-switcher { display: flex; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 7px; }
.language-switcher button { border: 0; border-radius: 4px; background: transparent; color: var(--muted); cursor: pointer; font: inherit; font-size: 10px; font-weight: 700; letter-spacing: .04em; padding: 5px 6px; }
.language-switcher button.is-active { background: var(--accent-soft); color: var(--ink); }
.intro { max-width: 780px; padding: 72px 0 34px; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 16px; font-size: clamp(34px, 5vw, 62px); line-height: .98; letter-spacing: -.045em; }
h2 { margin-bottom: 0; font-size: 21px; line-height: 1.15; letter-spacing: -.02em; }
.lede { max-width: 670px; color: var(--muted); font-size: 18px; line-height: 1.5; }
.coverage-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 28px; width: min(100%, 760px); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.coverage-strip div { min-height: 74px; display: flex; flex-direction: column; justify-content: center; gap: 5px; background: rgba(255,255,255,.62); padding: 14px 16px; }
.coverage-strip strong { font-size: 24px; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.coverage-strip span { color: var(--muted); font-size: 12px; line-height: 1.25; }
.search { display: block; margin-top: 30px; }
.search input { width: min(100%, 580px); height: 48px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); font: inherit; padding: 0 15px; }
.search input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); outline: none; }
.directory { padding: 24px 0 56px; border-top: 1px solid var(--line); }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.section-title p { margin: 0; color: var(--muted); font-size: 13px; }
.filters { display: flex; gap: 8px; margin: 20px 0 18px; }
.filter { min-height: 32px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font: inherit; font-size: 13px; padding: 0 12px; }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: white; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.card { min-height: 148px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 16px; text-decoration: none; }
.card:hover { border-color: var(--accent); }
.card-kind { margin-bottom: 18px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.card-title { margin-bottom: 8px; font-size: 18px; font-weight: 700; line-height: 1.2; }
.card-role { margin-bottom: 8px; color: var(--ink); font-size: 13px; line-height: 1.35; }
.card-summary { color: var(--muted); font-size: 14px; line-height: 1.35; }
.card-proof { margin-top: auto; padding-top: 14px; color: var(--muted); font-size: 12px; }
.empty { max-width: 560px; border-left: 3px solid var(--accent); padding: 4px 0 4px 14px; color: var(--muted); }
.empty p:last-child { margin-bottom: 0; }
.empty-title { color: var(--ink); font-weight: 700; }
.about { max-width: 760px; padding: 40px 0 74px; border-top: 1px solid var(--line); }
.about h2 { margin-bottom: 14px; }
.about p:last-child { margin-bottom: 0; color: var(--muted); line-height: 1.55; }
.profile { padding-bottom: 42px; }
.back-link { display: inline-flex; margin-bottom: 22px; color: var(--accent); font-size: 13px; font-weight: 700; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.profile-proof { color: var(--muted); font-size: 13px; }
.profile-overview { max-width: 760px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: -18px 0 30px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.overview-title { grid-column: 1 / -1; background: var(--card); padding: 14px 16px; font-size: 16px; }
.overview-item { min-height: 82px; display: flex; flex-direction: column; gap: 8px; background: rgba(255,255,255,.72); padding: 14px 16px; min-width: 0; }
.overview-item span { color: var(--muted); font-size: 12px; }
.overview-item strong, .overview-item a { color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.overview-item a { color: var(--accent); }
.profile-section { max-width: 760px; padding-bottom: 30px; }
.profile-section h2 { margin-bottom: 18px; }
.role-list { display: grid; gap: 0; margin-top: 18px; border-top: 1px solid var(--line); }
.role { display: grid; grid-template-columns: 1.4fr 1.4fr 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.role span { color: var(--muted); }
.role .role-dates { text-align: right; font-variant-numeric: tabular-nums; }
.compact-list, .source-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.compact-list li, .source-list li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.source-list a, .place a { color: var(--accent); }
.source-list span { color: var(--muted); }
.connection-list, .place-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.connection, .place { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 14px; text-decoration: none; }
.connection:hover strong { color: var(--accent); }
.connection span, .place span { color: var(--muted); }
.place a { justify-self: start; font-size: 13px; }
.site-footer { min-height: 76px; display: flex; align-items: center; gap: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.site-footer span { color: var(--ink); font-weight: 700; letter-spacing: .06em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

@media (max-width: 700px) {
  .site-header, main, .site-footer { padding-left: 16px; padding-right: 16px; }
  .site-header { min-height: 58px; }
  .header-actions { gap: 12px; }
  nav { gap: 12px; font-size: 13px; }
  nav a:nth-child(n + 2) { display: none; }
  .intro { padding-top: 44px; }
  .lede { font-size: 16px; }
  .coverage-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coverage-strip div { min-height: 64px; padding: 12px; }
  .coverage-strip strong { font-size: 20px; }
  .cards { grid-template-columns: 1fr; }
  .profile-overview { grid-template-columns: 1fr; margin-top: -8px; }
  .overview-item { min-height: auto; }
  .role { grid-template-columns: 1fr; gap: 4px; }
  .role .role-dates { text-align: left; }
  .connection, .place { grid-template-columns: 1fr; gap: 4px; }
  .site-footer { align-items: flex-start; flex-wrap: wrap; gap: 12px 18px; padding-top: 20px; padding-bottom: 20px; }
}
