:root {
  color-scheme: light;
  --paper: #f7f6f1;
  --panel: #fffefa;
  --ink: #242d27;
  --muted: #505950;
  --forest: #264638;
  --forest-dark: #183427;
  --accent: #8a542d;
  --rule: #d5d8ce;
  --tint: #edf0e7;
  --serif: Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.65 system-ui, -apple-system, sans-serif;
}
::selection { background: #dbe7ce; color: var(--forest-dark); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.043em;
  color: var(--forest-dark);
}
a { color: var(--forest); text-underline-offset: .18em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
img { display: block; max-width: 100%; }
.wrap { width: min(100% - 5rem, 76rem); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 3;
  top: .5rem;
  left: .5rem;
  translate: 0 -150%;
  padding: .65rem 1rem;
  background: var(--panel);
}
.skip-link:focus { translate: 0; }

.site-header { border-bottom: 1px solid var(--rule); }
.header-content, .footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  min-height: 5.05rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  width: fit-content;
  flex-shrink: 0;
  color: var(--forest-dark);
  font: 400 1.65rem/1 var(--serif);
  letter-spacing: -.055em;
  text-decoration: none;
}
.brand-accent { color: var(--forest); }
.brand small { margin-left: .1rem; color: var(--accent); font-size: .66em; }
.header-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem clamp(.8rem, 2.8vw, 2.15rem); }
.header-nav a, .footer-content > a:last-child {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
}
.header-nav a:hover, .footer-content > a:last-child:hover { text-decoration: underline; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 2.8rem clamp(2rem, 5.1vw, 5rem);
  padding-top: clamp(3.1rem, 6.15vw, 6.15rem);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: .9rem;
  color: var(--forest);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.eyebrow span { flex: 0 0 1.3rem; height: 1px; background: var(--accent); }
h1 { font-size: clamp(3.1rem, 6.35vw, 6.15rem); line-height: .99; }
.keep-together { white-space: nowrap; }
.lead {
  max-width: 55ch;
  margin-top: 1.45rem;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.32vw, 1.14rem);
  line-height: 1.62;
}
.lead strong { color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.55rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.05rem;
  padding: .6rem 1.08rem;
  border: 1px solid var(--forest);
  border-radius: 5px;
  font-size: .925rem;
  font-weight: 650;
  text-decoration: none;
}
.primary { color: white; background: var(--forest); }
.primary:hover { color: white; background: var(--forest-dark); }
.secondary:hover { color: var(--forest-dark); background: var(--tint); }
.edition {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .22rem .55rem;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: .875rem;
}
.edition span { width: .24rem; height: .24rem; background: var(--accent); border-radius: 50%; }
.hero-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.17;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
  background: #adb29d;
}
.hero-figure figcaption { margin-top: .6rem; color: var(--muted); font-size: .875rem; }

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(2.15rem, 4.6vw, 4.4rem);
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--panel);
}
.metrics > div { padding: 1.25rem clamp(1rem, 2.55vw, 2.7rem) 1.3rem; }
.metrics > div + div { border-left: 1px solid var(--rule); }
.metrics dt { color: var(--ink); font-size: .9rem; font-weight: 650; }
.metrics dd {
  color: var(--forest-dark);
  font: 400 clamp(1.28rem, 2vw, 1.7rem)/1.14 var(--serif);
  white-space: nowrap;
}
.metrics dd span { font-size: clamp(2.55rem, 4.3vw, 4.25rem); letter-spacing: -.075em; }
.metrics .metric-note { margin-top: .35rem; color: var(--muted); font: inherit; font-size: .875rem; white-space: normal; }

.report {
  display: grid;
  grid-template-columns: 12.3rem minmax(0, 1fr);
  gap: clamp(2rem, 5.8vw, 5.8rem);
  padding-block: clamp(3.3rem, 6vw, 6rem);
}
.contents nav { position: sticky; top: 2rem; display: grid; gap: .1rem; border-left: 1px solid var(--rule); }
.contents p {
  padding: 0 .9rem .36rem;
  color: var(--forest);
  font-size: .875rem;
  font-weight: 700;
}
.contents a {
  padding: .32rem .9rem;
  color: var(--muted);
  font-size: .93rem;
  text-decoration: none;
}
.contents a:hover { text-decoration: underline; color: var(--forest-dark); }
.report-body { min-width: 0; max-width: 53rem; }
.report-body section + section {
  margin-top: clamp(2.7rem, 5vw, 4.6rem);
  padding-top: clamp(2.7rem, 5vw, 4.6rem);
  border-top: 1px solid var(--rule);
}
h2 { margin-bottom: 1.05rem; font-size: clamp(2.2rem, 4.5vw, 3.85rem); text-wrap: balance; }
h3 { margin-bottom: .5rem; font-size: clamp(1.48rem, 2.8vw, 2rem); line-height: 1.16; }
.report-body p { max-width: 74ch; }
.report-body p + p { margin-top: .95rem; }
.report-body p + h3 { margin-top: 1.65rem; }

.table-frame {
  margin-top: 1.35rem;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--panel);
}
table { width: 100%; border-collapse: collapse; font-size: .94rem; font-variant-numeric: tabular-nums; }
caption { padding: .85rem 1rem; color: var(--forest); background: var(--tint); font-weight: 700; text-align: left; }
th, td { padding: .6rem 1rem; border-top: 1px solid var(--rule); text-align: left; }
th[scope="row"] { font-weight: 600; }
th small { display: block; color: var(--muted); font-size: .875rem; font-weight: 400; }
td { line-height: 1.4; }
.source, .chart-unit, .chart figcaption { color: var(--muted); font-size: .875rem; }
.source { margin-top: .55rem; }

.chart, .callout {
  margin-block: 1.45rem;
  padding: clamp(1rem, 3vw, 1.8rem);
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--panel);
}
.chart-unit { margin-top: .15rem; }
.bars { display: grid; gap: .65rem; margin: 1.05rem 0; padding: 0; list-style: none; }
.bars li { display: grid; grid-template-columns: 8.5rem 1fr 3rem; align-items: center; gap: .65rem; font-size: .9rem; }
.bars i { width: var(--bar); height: .68rem; border-radius: 2px; background: #3e6251; }
.bars strong { text-align: right; font-variant-numeric: tabular-nums; }
.bars .comparison i { background: #a36941; }
.callout { border-left: 4px solid var(--forest); background: var(--tint); }
.definitions { margin-block: 1.15rem; border-top: 1px solid var(--rule); }
.definitions > div {
  display: grid;
  grid-template-columns: minmax(8rem, 13rem) 1fr;
  gap: .45rem 1rem;
  padding-block: .8rem;
  border-bottom: 1px solid var(--rule);
}
.definitions dt { color: var(--forest-dark); font-weight: 700; }
.bibliography { display: grid; gap: .85rem; padding-left: 1.25rem; }
.bibliography span { display: block; color: var(--muted); font-size: .9rem; }
.site-footer { border-top: 1px solid var(--rule); }
.footer-content { min-height: 5.5rem; }

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 3.2rem); }
  .report { grid-template-columns: 10rem minmax(0, 1fr); }
  .hero { column-gap: 2rem; }
  .hero-figure img { aspect-ratio: 1; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 2.5rem); }
  .header-content { align-items: flex-start; flex-direction: column; gap: .4rem; padding-top: .8rem; }
  .header-nav { gap: 0 clamp(.75rem, 3vw, 1.6rem); }
  .header-nav a { font-size: .875rem; }
  .hero { grid-template-columns: 1fr; gap: 1.65rem; padding-top: 2.55rem; }
  h1 { font-size: clamp(3rem, 8.7vw, 4.65rem); }
  .hero-break { display: none; }
  .hero-figure img { aspect-ratio: 1.55; }
  .report { grid-template-columns: minmax(0, 1fr); gap: 1.65rem; }
  .contents nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: .4rem .8rem;
    padding-bottom: .75rem;
    border: 0;
    border-bottom: 1px solid var(--rule);
  }
  .contents p { width: 100%; padding: 0; }
  .contents a { padding: .25rem 0; }
}
@media (max-width: 520px) {
  .edition { display: block; }
  .edition time { display: block; margin-bottom: .18rem; }
  .edition span { display: none; }
  .metrics { grid-template-columns: 1fr; }
  .metrics > div { padding: .85rem 1rem; }
  .metrics > div + div { border-top: 1px solid var(--rule); border-left: 0; }
  .definitions > div { grid-template-columns: 1fr; gap: .12rem; }
  table, th small { font-size: .875rem; }
  th, td, caption { padding-inline: .48rem; }
  .bars li { grid-template-columns: minmax(5.3rem, auto) 1fr 2.7rem; gap: .4rem; }
}
@media print {
  :root { --paper: white; }
  .wrap { width: 100%; }
  .site-header, .site-footer, .hero-actions, .hero-figure, .contents { display: none; }
  .hero, .report { display: block; padding-block: 1rem; }
  h1 { font-size: 36pt; }
  h2 { font-size: 25pt; break-after: avoid; }
  h3 { break-after: avoid; }
  .table-frame, .chart, .callout { break-inside: avoid; }
}
.sample {
  margin-top: 1.1rem;
  padding: .8rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 5px;
  background: var(--panel);
}
.sample summary { color: var(--forest); font-weight: 650; cursor: pointer; }
.sample[open] > p { margin-top: .7rem; }
