:root {
  --ink: #111111;
  --muted: #6b6b6b;
  --rule: #e6e6e6;
  --paper: #ffffff;
  --track: #f3f3f3;
  --other: #cfcfcf;
  --measure: 42rem;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
}

body {
  margin: 0;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  line-height: 1.55;
  font-size: 1.125rem;
}

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

.site-bar {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: system-ui, -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--rule);
}

.site-bar a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.site-bar img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  display: block;
}

article {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 3.25rem 1.5rem 6rem;
}

.meta {
  font-family: system-ui, -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.01em;
  margin: 0 0 1.1rem;
}

.meta .sep {
  margin: 0 0.45rem;
  color: var(--rule);
}

.cat {
  color: var(--ink);
}

h1 {
  font-size: clamp(2.1rem, 4.4vw, 2.85rem);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
}

.dek {
  font-size: 1.22rem;
  line-height: 1.45;
  color: #2a2a2a;
  margin: 0 0 2.4rem;
}

article p {
  margin: 0 0 1.15rem;
}

figure.hero {
  margin: 0 0 2.4rem;
}

figure.hero img {
  width: 100%;
  height: auto;
  display: block;
}

figcaption {
  font-family: system-ui, -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--muted);
  margin-top: 0.65rem;
}

.method {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 1.4rem 0;
  margin: 2.2rem 0 0.4rem;
  font-size: 1rem;
  color: #333;
}

.bench {
  margin: 3.1rem 0 0;
  padding-top: 2.1rem;
  border-top: 1px solid var(--rule);
}

.bench-head {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  gap: 1rem;
  align-items: start;
  margin-bottom: 1.15rem;
}

.bench-head img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: cover;
  display: block;
}

.bench-head h2 {
  font-size: 1.35rem;
  line-height: 1.25;
  font-weight: 600;
  margin: 0 0 0.2rem;
  letter-spacing: -0.02em;
}

.bench-kicker {
  font-family: system-ui, -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.lead {
  font-family: system-ui, -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  text-align: right;
}

.lead span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.chart {
  margin: 0.4rem 0 0.9rem;
}

.bar-row {
  display: grid;
  grid-template-columns: 9.6rem 1fr 4.1rem;
  gap: 0.7rem;
  align-items: center;
  margin: 0.42rem 0;
  font-family: system-ui, -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.82rem;
}

.bar-label {
  text-align: right;
  color: #444;
}

.bar-row.is-fable .bar-label {
  color: var(--ink);
  font-weight: 600;
}

.bar-track {
  background: var(--track);
  height: 9px;
}

.bar-fill {
  height: 9px;
  background: var(--other);
}

.bar-row.is-fable .bar-track {
  height: 11px;
}

.bar-row.is-fable .bar-fill {
  background: var(--ink);
  height: 11px;
}

.bar-score {
  font-variant-numeric: tabular-nums;
  color: #333;
}

.bench-bg {
  margin: 1.1rem 0 0.4rem;
  font-size: 1rem;
  color: #333;
}

.bench-bg p {
  margin: 0 0 0.75rem;
}

.bench-bg strong {
  font-weight: 600;
}

.orch-intro {
  margin-top: 3.6rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

.orch-intro h2 {
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.8rem;
}

.orch-intro p {
  margin: 0;
  color: #333;
}

#orch-root .bench:first-of-type {
  border-top: none;
  padding-top: 1.4rem;
}

.sources {
  margin-top: 3.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--rule);
}

.sources h2 {
  font-size: 1.05rem;
  margin: 0 0 0.8rem;
}

.sources ol {
  padding-left: 1.2rem;
  font-size: 0.95rem;
}

.sources li {
  margin: 0.35rem 0;
}

footer.site-end {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 1.5rem 3.5rem;
  font-family: system-ui, -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
}

@media (max-width: 640px) {
  .bench-head {
    grid-template-columns: 3rem 1fr;
  }

  .lead {
    grid-column: 1 / -1;
    text-align: left;
    margin-top: 0.4rem;
  }

  .bar-row {
    grid-template-columns: 1fr auto;
  }

  .bar-label {
    text-align: left;
    grid-column: 1 / -1;
  }
}

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