.report-docket {
  --priority: #c77b27;
  --strong: #1b7a4b;
  --structural: #16313d;
}

.report-hero {
  min-height: 610px;
}

.report-hero .hero-copy {
  align-content: center;
}

.report-hero h1 {
  max-width: 11ch;
  font-size: clamp(48px, 7.4vw, 92px);
}

.report-number-word {
  display: inline-block;
  margin-left: 0.1em;
}

.report-hero-ledger {
  align-content: stretch;
}

.report-hero-number {
  display: grid;
  align-self: center;
  border-top: 1px solid rgb(247 246 241 / 0.45);
  border-bottom: 1px solid rgb(247 246 241 / 0.45);
  padding: 28px 0;
}

.report-hero-number strong {
  font-size: clamp(92px, 14vw, 180px);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.07em;
}

.report-hero-number span {
  max-width: 14ch;
  margin-top: 24px;
  font: 600 11px/1.45 'IBM Plex Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  margin-top: 32px;
}

.text-action {
  appearance: none;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  background: transparent;
  font: 600 10px/1.3 'IBM Plex Mono', monospace;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
}

.report-lede {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) minmax(260px, 0.78fr) minmax(320px, 0.9fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  padding: clamp(44px, 7vw, 86px);
  border-bottom: 2px solid var(--ink);
  background: var(--field);
}

.report-lede > h2,
.report-section-heading h2,
.methodology h2,
.report-boundaries h2,
.report-downloads h2,
.next-actions h2 {
  margin: 10px 0 18px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.report-lede > h2 {
  max-width: 14ch;
  margin-top: 0;
}

.report-lede-copy {
  display: grid;
  gap: 24px;
}

.report-lede-copy p,
.report-section-heading p,
.signal-split p,
.methodology header p,
.report-downloads header p,
.next-actions header p {
  max-width: 65ch;
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
}

.report-figure-section,
.report-ledger-section {
  padding: clamp(42px, 7vw, 84px);
  border-bottom: 2px solid var(--ink);
}

.report-figure-section {
  background: var(--paper);
}

.report-ledger-section {
  background: var(--field);
}

.report-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: 10px clamp(36px, 7vw, 90px);
  align-items: end;
  margin-bottom: 48px;
}

.report-section-heading .section-label {
  grid-column: 1 / -1;
}

.report-section-heading h2 {
  max-width: 15ch;
  margin-bottom: 0;
}

.tier-figure,
.tier-figure figcaption {
  margin: 0;
}

.tier-figure figcaption {
  padding: 12px 0;
  border-top: 1.5px solid var(--ink);
  font: 600 10px/1.4 'IBM Plex Mono', monospace;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.tier-bars {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 350px;
  border: 1.5px solid var(--ink);
}

.tier-bar {
  display: grid;
  grid-template-columns: minmax(110px, var(--share)) 1fr;
  align-items: center;
  border-bottom: 1px solid rgb(22 49 61 / 0.42);
}

.tier-bar:last-child {
  border-bottom: 0;
}

.tier-bar::before {
  align-self: stretch;
  background: var(--structural);
  content: '';
}

.tier-bar-priority::before {
  background: var(--priority);
}

.tier-bar-strong::before {
  background: var(--strong);
}

.tier-bar strong,
.tier-bar span {
  grid-column: 2;
  padding-left: 24px;
}

.tier-bar strong {
  align-self: end;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.9;
}

.tier-bar span {
  align-self: start;
  padding-top: 6px;
  font: 600 10px/1.4 'IBM Plex Mono', monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.table-scroll {
  overflow-x: auto;
  margin-top: 34px;
  border-top: 1.5px solid var(--ink);
}

.table-scroll:focus-visible {
  outline: 3px solid var(--manifest);
  outline-offset: 3px;
}

.table-scroll table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.table-scroll caption {
  padding: 16px 0;
  color: var(--muted);
  font: 500 10px/1.5 'IBM Plex Mono', monospace;
  letter-spacing: 0.06em;
  text-align: left;
}

.table-scroll th,
.table-scroll td {
  padding: 18px 16px 18px 0;
  border-bottom: 1px solid rgb(22 49 61 / 0.36);
  vertical-align: top;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

.table-scroll thead th {
  font: 600 9px/1.4 'IBM Plex Mono', monospace;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.table-scroll tbody th {
  min-width: 180px;
}

.table-scroll tbody th strong,
.table-scroll tbody th span {
  display: block;
}

.table-scroll tbody th span {
  margin-top: 4px;
  color: var(--muted);
  font: 500 9px/1.4 'IBM Plex Mono', monospace;
}

.ledger-strip {
  display: flex;
  min-height: 190px;
  border: 1.5px solid var(--ink);
  color: var(--paper);
}

.ledger-strip > span {
  display: grid;
  flex: 0 0 max(var(--share), 72px);
  align-content: end;
  min-width: 0;
  padding: 16px;
  border-right: 1px solid rgb(247 246 241 / 0.5);
  background: var(--ink);
}

.ledger-strip > span:last-child {
  border-right: 0;
}

.ledger-strip .ledger-qualified {
  background: var(--cleared);
}

.ledger-strip .ledger-excluded {
  background: var(--muted);
}

.ledger-strip .ledger-unresolved {
  color: var(--ink);
  background: #d4882f;
}

.ledger-strip .ledger-duplicate_alias {
  min-width: 72px;
  padding: 10px;
  color: var(--ink);
  background: var(--paper);
}

.ledger-strip b {
  font-size: clamp(25px, 4vw, 48px);
  line-height: 1;
}

.ledger-strip small {
  margin-top: 8px;
  font: 600 8px/1.35 'IBM Plex Mono', monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.signal-split {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  border-bottom: 2px solid var(--ink);
  color: var(--paper);
  background: var(--ink);
}

.signal-split > div {
  display: grid;
  align-content: center;
  min-height: 480px;
  padding: clamp(38px, 6vw, 74px);
}

.signal-split > div:first-child {
  border-right: 1px solid rgb(247 246 241 / 0.5);
}

.signal-number strong {
  font-size: clamp(86px, 15vw, 176px);
  line-height: 0.8;
  letter-spacing: -0.07em;
}

.signal-number span {
  margin-top: 26px;
  font: 600 11px/1.5 'IBM Plex Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-split .section-label {
  color: rgb(247 246 241 / 0.65);
}

.signal-split h2 {
  max-width: 12ch;
  margin: 10px 0 20px;
  font-size: clamp(38px, 5.6vw, 70px);
  line-height: 0.97;
}

.inline-link {
  width: max-content;
  max-width: 100%;
  margin-top: 30px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font: 600 10px/1.4 'IBM Plex Mono', monospace;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.discovery-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-height: 370px;
  align-items: end;
  padding: 28px 28px 0;
  border: 1.5px solid var(--ink);
}

.discovery-columns > div {
  display: grid;
  height: 100%;
  grid-template-rows: 1fr auto auto;
  align-items: end;
}

.discovery-columns span {
  width: 100%;
  height: var(--height);
  min-height: 60px;
  background: var(--manifest);
}

.discovery-columns > div:nth-child(2) span {
  background: var(--cleared);
}

.discovery-columns > div:nth-child(3) span {
  background: var(--ink);
}

.discovery-columns strong {
  padding-top: 14px;
  font-size: clamp(30px, 5vw, 56px);
}

.discovery-columns small {
  min-height: 50px;
  padding: 6px 0 12px;
  font: 600 8px/1.35 'IBM Plex Mono', monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.methodology {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(36px, 7vw, 90px);
  padding: clamp(42px, 7vw, 84px);
  border-bottom: 2px solid var(--ink);
  background: var(--field);
  scroll-margin-top: 18px;
}

.methodology h2 {
  max-width: 10ch;
}

.method-steps {
  margin: 0;
  padding: 0;
  border-top: 1.5px solid var(--ink);
  list-style: none;
}

.method-steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid rgb(22 49 61 / 0.36);
}

.method-steps li > span,
.method-steps strong,
.formula-line span {
  font: 600 10px/1.5 'IBM Plex Mono', monospace;
  letter-spacing: 0.06em;
}

.method-steps li > span {
  color: var(--manifest);
}

.method-steps p {
  margin: 8px 0 0;
  line-height: 1.58;
}

.formula-line {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(140px, 0.3fr) 1fr;
  gap: 28px;
  padding: 20px 0 0;
  border-top: 2px solid var(--ink);
}

.formula-line strong {
  font-size: clamp(18px, 2.5vw, 30px);
  line-height: 1.25;
}

.report-boundaries {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(38px, 8vw, 100px);
  padding: clamp(42px, 7vw, 84px);
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
}

.report-boundaries h2 {
  max-width: 12ch;
}

.report-boundaries ul {
  margin: 0;
  padding: 0;
  border-top: 1.5px solid var(--ink);
  list-style: none;
}

.report-boundaries li {
  padding: 18px 0 18px 24px;
  border-bottom: 1px solid rgb(22 49 61 / 0.36);
  line-height: 1.55;
}

.report-boundaries li::before {
  display: inline-block;
  width: 24px;
  margin-left: -24px;
  color: var(--manifest);
  content: '—';
}

.report-downloads {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(38px, 7vw, 88px);
  padding: clamp(42px, 7vw, 84px);
  border-bottom: 2px solid var(--ink);
  background: var(--field);
}

.report-downloads h2 {
  max-width: 11ch;
}

.report-download-list {
  border-top: 1.5px solid var(--ink);
}

.report-download-list a {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: 10px 18px;
  padding: 24px 0;
  border-bottom: 1px solid rgb(22 49 61 / 0.4);
  color: var(--ink);
  text-decoration: none;
}

.report-download-list a:hover strong,
.report-download-list a:focus-visible strong {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.report-download-list span,
.report-download-list b {
  font: 600 9px/1.4 'IBM Plex Mono', monospace;
  letter-spacing: 0.06em;
}

.report-download-list strong {
  font-size: 22px;
}

.report-download-list p {
  grid-column: 2 / 4;
  max-width: 55ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.next-actions {
  padding: clamp(42px, 7vw, 84px);
  border-bottom: 2px solid var(--ink);
  color: var(--paper);
  background: var(--ink);
}

.next-actions header {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1.2fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: end;
  margin-bottom: 52px;
}

.next-actions .section-label {
  grid-column: 1 / -1;
  color: rgb(247 246 241 / 0.62);
}

.next-actions h2 {
  margin: 0;
}

.next-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgb(247 246 241 / 0.5);
  border-left: 1px solid rgb(247 246 241 / 0.5);
}

.next-action-grid a {
  display: grid;
  min-height: 260px;
  align-content: start;
  padding: 26px;
  border-right: 1px solid rgb(247 246 241 / 0.5);
  border-bottom: 1px solid rgb(247 246 241 / 0.5);
  color: var(--paper);
  text-decoration: none;
  transition: color 140ms ease, background-color 140ms ease;
}

.next-action-grid a:hover,
.next-action-grid a:focus-visible {
  color: var(--ink);
  background: var(--paper);
}

.next-action-grid span,
.next-action-grid b {
  font: 600 9px/1.4 'IBM Plex Mono', monospace;
  letter-spacing: 0.06em;
}

.next-action-grid strong {
  margin-top: 44px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.05;
}

.next-action-grid b {
  margin-top: auto;
  padding-top: 30px;
}

.report-cta {
  border-bottom: 1.5px solid var(--ink);
}

@media (max-width: 820px) {
  .report-lede,
  .report-section-heading,
  .signal-split,
  .methodology,
  .report-boundaries,
  .report-downloads,
  .next-actions header {
    grid-template-columns: 1fr;
  }

  .report-section-heading .section-label,
  .next-actions .section-label,
  .formula-line {
    grid-column: 1;
  }

  .report-hero-number strong {
    font-size: clamp(100px, 28vw, 150px);
  }

  .tier-bar {
    grid-template-columns: minmax(72px, var(--share)) 1fr;
  }

  .ledger-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .ledger-strip > span,
  .ledger-strip .ledger-duplicate_alias {
    min-width: 0;
    min-height: 130px;
    border-right: 1px solid rgb(247 246 241 / 0.5);
    border-bottom: 1px solid rgb(247 246 241 / 0.5);
  }

  .signal-split > div {
    min-height: 390px;
  }

  .signal-split > div:first-child {
    border-right: 0;
    border-bottom: 1px solid rgb(247 246 241 / 0.5);
  }

  .next-action-grid {
    grid-template-columns: 1fr;
  }

  .next-action-grid a {
    min-height: 220px;
  }
}

@media (max-width: 520px) {
  .report-hero {
    min-height: 0;
  }

  .report-hero .hero-copy {
    min-height: 540px;
  }

  .report-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .report-lede,
  .report-figure-section,
  .report-ledger-section,
  .methodology,
  .report-boundaries,
  .report-downloads,
  .next-actions {
    padding: 36px 20px;
  }

  .tier-bars {
    min-height: 300px;
  }

  .tier-bar {
    grid-template-columns: 62px 1fr;
  }

  .tier-bar strong {
    font-size: 38px;
  }

  .discovery-columns {
    min-height: 310px;
    padding: 18px 12px 0;
  }

  .discovery-columns small {
    min-height: 74px;
  }

  .formula-line,
  .report-download-list a {
    grid-template-columns: 1fr;
  }

  .report-download-list p {
    grid-column: 1;
  }

  .signal-number strong {
    font-size: 76px;
  }
}

@media print {
  .report-actions,
  .next-actions,
  .report-downloads,
  .report-cta {
    display: none;
  }

  .report-figure-section,
  .report-ledger-section,
  .signal-split,
  .methodology,
  .report-boundaries {
    break-inside: avoid;
  }
}
