:root {
  --report-ink: #26241e;
  --report-muted: #615d53;
  --report-paper: #fcf9f1;
  --report-line: #d8d2c4;
}

.jstor-report {
  color: var(--report-ink);
  font-family: "Figtree", sans-serif;
  overflow: hidden;
}

.report-hero {
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, .06);
  padding: 4rem 0;
}

.section-number {
  color: var(--aghc-red);
  display: flex;
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .16em;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
}

.stage-heading {
  align-items: center;
  display: flex;
  gap: 1.25rem;
}

.report-section .stage-heading h2 {
  margin: 0;
}

.stage-icon {
  align-items: center;
  background: var(--aghc-red);
  border: 2px solid var(--aghc-red);
  color: #fff;
  display: inline-flex;
  font-size: 1.875rem;
  height: 4rem;
  justify-content: center;
  letter-spacing: normal;
  padding-left: 0;
  width: 4rem;
}

.report-hero h1 {
  font-size: 48px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.3;
  margin: 0 0 .6rem;
  max-width: none;
  white-space: nowrap;
}

.report-lede {
  color: var(--report-muted);
  font-size: 18px;
  line-height: 1.55;
}

.report-toc {
  align-items: center;
  background: transparent;
  border-top: 1px solid var(--report-line);
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
}

.toc-title {
  align-items: center;
  background: var(--aghc-red);
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: .78rem;
  height: 2.75rem;
  letter-spacing: .1em;
  padding: 0 1rem;
  text-transform: uppercase;
}

.report-toc ol {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.report-toc a {
  align-items: center;
  background-image: linear-gradient(var(--aghc-red), var(--aghc-red));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  color: var(--report-ink);
  display: inline-flex;
  gap: .4rem;
  line-height: 1.5;
  padding-bottom: .25rem;
  text-decoration: none;
  transition: color .15s ease, background-size .15s ease;
}

.report-toc a span {
  color: var(--aghc-red);
  font-weight: 700;
}

.report-toc a:hover,
.report-toc a:focus {
  background-size: 100% 2px;
  color: var(--aghc-red);
  text-decoration: none;
}

.build-copy a {
  color: var(--report-ink);
  text-decoration-color: var(--aghc-red);
  text-decoration-thickness: 2px;
  text-underline-offset: .2em;
}

.report-metrics {
  background: var(--aghc-red);
  color: #fff;
}

.metric {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  min-height: 9.5rem;
  padding: 2rem clamp(1rem, 3vw, 2.5rem);
}

.metric:first-child { padding-left: 0; }

.metric strong {
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1;
}

.metric span {
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  margin-top: auto;
  text-transform: uppercase;
}

.report-section {
  padding: 4rem 0;
  scroll-margin-top: var(--header-height, 87px);
}

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

.report-section h2 {
  font-size: 40px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.section-intro,
.section-lead {
  color: var(--report-muted);
  font-size: 24px;
  line-height: 1.5;
}

.stage-heading + .section-intro {
  margin-top: 1.5rem;
}

.build-path {
  counter-reset: path;
}

.build-path li {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  line-height: 1.65;
  padding: 1.4rem 0;
}

.build-path li > span:first-child {
  align-self: flex-start;
  align-items: center;
  background: transparent;
  border: 2px solid var(--aghc-red);
  color: var(--aghc-red);
  display: inline-flex;
  font-size: .875rem;
  font-weight: 700;
  height: 2.75rem;
  justify-content: center;
  letter-spacing: .1em;
  padding: 0;
  text-align: center;
  text-transform: uppercase;
  width: auto;
}

.build-path .build-copy {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: 1.45;
  padding: 0;
  text-transform: none;
}

.build-path cite {
  display: inline;
  line-height: inherit;
}

.review-points {
  counter-reset: review-rule;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
}

.review-points li {
  background: #fff;
  border-top: 2px solid var(--aghc-red);
  counter-increment: review-rule;
  line-height: 1.65;
  padding: 0;
}

.review-points li::before {
  align-items: center;
  background: var(--aghc-red);
  color: #fff;
  content: "2." counter(review-rule);
  display: flex;
  font-size: 1rem;
  font-weight: 700;
  height: 3rem;
  justify-content: center;
  width: 3rem;
}

.review-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.review-card-body h3 {
  color: var(--aghc-red);
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 0 .65rem;
}

.review-card-body p {
  color: var(--report-muted);
  margin: 0;
}

.rating-band {
  align-items: center;
  display: grid;
  gap: clamp(.5rem, 2vw, 1.25rem);
  grid-template-columns: repeat(6, 1fr);
  max-width: 42rem;
  margin-bottom: 2rem;
}

.rating-band span {
  align-items: center;
  display: flex;
  justify-content: center;
}

.rating-band svg {
  display: block;
  fill: currentColor;
  height: auto;
  width: 100%;
}

.rating-band span:nth-child(1) { color: #d8d2c4; }
.rating-band span:nth-child(1) svg { fill: none; stroke: currentColor; stroke-width: 1.35; }
.rating-band span:nth-child(2) { color: color-mix(in srgb, var(--aghc-red) 30%, white); }
.rating-band span:nth-child(3) { color: color-mix(in srgb, var(--aghc-red) 45%, white); }
.rating-band span:nth-child(4) { color: color-mix(in srgb, var(--aghc-red) 60%, white); }
.rating-band span:nth-child(5) { color: color-mix(in srgb, var(--aghc-red) 78%, white); }
.rating-band span:nth-child(6) { color: var(--aghc-red); }

.process-section { background: var(--report-paper); color: var(--report-ink); }
.process-section .section-lead { color: var(--report-muted); text-align: center; }
.process-section .stage-heading { justify-content: center; }

.process-grid {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  background: transparent;
  border: 0;
}

.process-card {
  background: transparent;
  min-height: 0;
  padding: 1.5rem 0;
  position: relative;
  text-align: center;
}

.process-card:not(:last-child)::after {
  bottom: -.95rem;
  color: var(--aghc-red);
  content: "↓";
  font-size: 1.4rem;
  left: 50%;
  position: absolute;
  right: auto;
  top: auto;
  transform: translateX(-50%);
  z-index: 1;
}

.process-card > span {
  align-items: center;
  background: var(--aghc-red);
  border: 2px solid var(--aghc-red);
  border-radius: 0;
  color: #fff;
  display: inline-flex;
  font-size: .875rem;
  font-weight: 800;
  height: 3rem;
  justify-content: center;
  letter-spacing: .12em;
  margin-bottom: 1.5rem;
  padding-left: .12em;
  width: 3rem;
}

.process-card h3 {
  color: var(--aghc-red);
  font-size: 30px;
  font-weight: 400;
}
.process-card p { color: var(--report-muted); font-size: 18px; line-height: 1.65; margin: 0 auto; max-width: 65ch; }

.standards-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.standards-list li {
  counter-increment: standards;
  padding: 1.4rem 0;
}

.standards-list strong {
  align-items: center;
  background: transparent;
  border: 2px solid var(--aghc-red);
  color: var(--aghc-red);
  display: flex;
  font-size: .875rem;
  font-weight: 700;
  height: 2.75rem;
  letter-spacing: .1em;
  margin: .2rem 0 .75rem;
  padding: 0;
  text-transform: uppercase;
  width: fit-content;
}

.split-label-number,
.split-label-text {
  align-items: center;
  display: inline-flex;
  height: 100%;
}

.split-label-number {
  background: var(--aghc-red);
  border-right: 2px solid var(--aghc-red);
  color: #fff;
  justify-content: center;
  min-width: 3.25rem;
  padding: 0 .75rem;
}

.split-label-text {
  padding: 0 1rem;
}

.standards-list p {
  margin: 0;
}

.standard-example {
  background: var(--report-paper);
  border-left: 2px solid var(--aghc-red);
  margin-top: 1rem;
  padding: 1rem 1.25rem;
}

.example {
  align-items: center;
  color: var(--report-muted);
  display: grid;
  font-size: .92rem;
  gap: .75rem;
  grid-template-columns: 1fr auto 1fr;
}

.example q { quotes: none; }
.example b { color: var(--aghc-red); font-size: 1.25rem; }

.example-side {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.example-label {
  color: var(--aghc-red);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.outcome-section {
  background: var(--report-paper);
  color: var(--report-ink);
}

.future-list {
  padding-left: 0;
}

.future-list li {
  color: var(--report-muted);
}

.future-card {
  background: #fff;
  border-top: 2px solid var(--aghc-red);
  padding: 0;
}

.future-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.future-card p {
  line-height: 1.55;
  margin: 0;
}

.future-card h3 {
  color: var(--aghc-red);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 .5rem;
}

.future-icon {
  align-items: center;
  background: var(--aghc-red);
  color: #fff;
  display: flex;
  font-size: 1rem;
  font-weight: 700;
  height: 3rem;
  justify-content: center;
  margin: 0;
  width: 3rem;
}

@media (max-width: 1024px) {
  .report-hero h1 { font-size: 44px; }
  .report-section h2 { font-size: 36px; }
  .process-card h3 { font-size: 28px; }
  .section-intro,
  .section-lead { font-size: 22px; }
  .report-lede,
  .process-card p { font-size: 17px; }
}

@media (max-width: 767.98px) {
  .report-hero { padding: 3rem 0; }
  .report-section { padding: 3rem 0; }
  .metric { padding-left: 0; padding-right: 0; }
  .report-hero h1 { font-size: 38px; }
  .report-section h2 { font-size: 32px; line-height: 1.2; }
  .process-card h3 { font-size: 26px; }
  .section-intro,
  .section-lead { font-size: 20px; }
  .report-lede,
  .process-card p { font-size: 16px; }
  .report-toc { align-items: flex-start; flex-direction: column; gap: .75rem; }
  .report-toc ol { flex-direction: column; gap: .5rem; }
  .review-points { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
  .metric { min-height: 8rem; }
  .build-path li { grid-template-columns: 1fr; }
  .example { align-items: start; grid-template-columns: 1fr; }
  .example b { transform: rotate(90deg); width: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .jstor-report *, .jstor-report *::before, .jstor-report *::after { scroll-behavior: auto !important; }
}
