@font-face {
  font-family: "STIX Two Text";
  src: url(assets/fonts/stix-two-text.woff2) format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* The article, run ledger, and evidence below the conversation share one paper stock. */
:root {
  --reader-paper: #f2efe4;
  --reader-ink: #25332a;
  --reader-soft: #535e50;
  --reader-line: #c6c8b8;
  --reader-deep: #24362c;
  --reader-serif: "STIX Two Text", Georgia, serif;
}
.journal-page,
.research-page,
.session-page {
  background-color: var(--reader-paper);
}
.journal-page main,
.research-page main,
.session-page :is(.results, .related),
body > footer {
  --ink: var(--reader-ink);
  --muted: var(--reader-soft);
  --line: var(--reader-line);
  color: var(--reader-ink);
}
.journal-page .story-title,
.research-page .masthead {
  background: transparent;
  color: var(--reader-ink);
}
.journal-page :is(.story-title h1, .article-grid h2),
.research-page :is(.masthead h1, h2),
.session-page :is(.results h2, .related a) {
  font-family: var(--reader-serif);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.02;
}
.journal-page .story-title {
  padding: clamp(38px, 5.4vw, 92px) 0;
  border-bottom: 1px solid var(--reader-line);
}
.journal-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5.3vw, 92px);
  align-items: center;
}
.journal-page .story-title .kicker,
.research-page .kicker,
.results .kicker {
  color: var(--reader-soft);
  font: 600 0.8rem/1.35 var(--sans);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.journal-page .story-title .kicker {
  margin-bottom: 20px;
}
.journal-page .story-title h1 {
  max-width: 13ch;
  font-size: clamp(3.3rem, 6.7vw, 7.25rem);
}
.journal-page .journal-intro > p:not(.kicker) {
  color: var(--reader-soft);
  font: 400 clamp(1.08rem, 1.65vw, 1.35rem) / 1.42 var(--sans);
  margin: 16px 0 22px;
  max-width: 32ch;
}
.journal-page .story-title a,
.article-grid a,
.research-page main a,
.results a,
.related a {
  color: var(--reader-ink);
  text-decoration-color: #7b8a76;
}
.journal-page .story-title a:hover,
.article-grid a:hover,
.research-page main a:hover,
.results a:hover {
  color: #556b46;
}
.table-study {
  margin: 0;
  color: #e4e7d8;
  background: #223229;
  padding: clamp(15px, 2.4vw, 38px);
}
.table-study figcaption {
  display: flex;
  gap: 12px;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: clamp(9px, 1.3vw, 19px);
  border-bottom: 3px double #78846f;
}
.table-study figcaption span:first-child {
  font: 400 clamp(1.27rem, 2.3vw, 2.15rem) / 1 var(--reader-serif);
  letter-spacing: -0.045em;
}
.table-study figcaption span:last-child {
  font: 500 0.82rem/1.2 var(--sans);
  color: #c4cdba;
}
.table-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(12px, 2vw, 28px);
}
.table-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding-block: 6px 1px;
}
.table-option + .table-option {
  border-left: 1px solid #4b5d4c;
}
.table-option strong {
  font: 400 clamp(1.55rem, 3.4vw, 3.05rem) / 1 var(--reader-serif);
  letter-spacing: -0.035em;
}
.table-option > span {
  font: 400 0.93rem/1.4 var(--sans);
  margin-top: 5px;
  color: #c4cdba;
}
.table-option.chosen {
  color: #e8dfbd;
}
.table-option.chosen > span {
  color: #e4dbba;
}
.chair-plan {
  position: relative;
  isolation: isolate;
  width: clamp(40px, 5.4vw, 84px);
  aspect-ratio: 1;
  margin: clamp(7px, 1.1vw, 16px) 0 clamp(17px, 2.6vw, 40px);
  border: 1px solid #b9c6ad;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #4b5e49 0 3%, transparent 4%),
    repeating-linear-gradient(0deg, #c2ceaf0c 0 1px, transparent 1px 8px),
    #344838;
  box-shadow:
    inset 0 0 0 3px #314235,
    inset 0 0 0 4px #7a8c72;
}
.chair {
  position: absolute;
  top: 30%;
  left: -19%;
  width: 15%;
  height: 40%;
  border: 1px solid #c4cdb7;
  border-inline-start-width: 3px;
  border-radius: 80% 25% 25% 80% / 36% 24% 24% 36%;
  background: #5c6d53;
}
.chair:nth-child(2) {
  left: auto;
  right: -19%;
  transform: rotate(180deg);
}
.chosen .chair-plan {
  border-color: #d7c797;
  box-shadow:
    inset 0 0 0 3px #3d4836,
    inset 0 0 0 4px #9b9f7d;
}
.chosen .chair {
  border-color: #d9c99b;
  background: #8c8d67;
}

.journal-page .article-grid {
  grid-template-columns: minmax(135px, 0.7fr) minmax(0, 63ch) minmax(0, 0.25fr);
  gap: clamp(30px, 5vw, 88px);
  padding-block: clamp(35px, 4.4vw, 74px) clamp(46px, 6vw, 90px);
}
.article-grid nav {
  gap: 8px;
  border-top: 1px solid #98a18e;
  padding-top: 12px;
}
.article-grid nav p {
  font: 600 0.83rem/1.3 var(--sans);
  color: var(--reader-soft);
}
.article-grid .lede {
  font: 400 clamp(1.46rem, 2.45vw, 2.25rem) / 1.32 var(--reader-serif);
  letter-spacing: -0.026em;
}
.article-grid p + p {
  margin-top: 0.85em;
}
.article-grid p {
  font-size: 1.08rem;
  line-height: 1.58;
}
.journal-page .article-grid h2 {
  font-size: clamp(1.85rem, 2.75vw, 2.72rem);
  margin: 1.05em 0 0.3em;
}
.article-grid .article-links {
  border-top: 1px solid var(--reader-line);
  padding-top: 18px;
}
.article-grid .article-links a,
.research-page .outline,
.results .outline {
  border: 1px solid #8d9987;
  border-radius: 2px;
  color: var(--reader-ink);
  background: transparent;
  font: 500 0.97rem/1.25 var(--sans);
  padding: 9px 13px;
}
.article-grid .article-links a:hover,
.research-page .outline:hover,
.results .outline:hover {
  background: #e3e6d6;
}
.research-page .masthead {
  padding: clamp(35px, 5vw, 72px) 0 24px;
  border-bottom: 3px double #8e9b86;
}
.research-page .masthead h1 {
  font-size: clamp(3.5rem, 7.6vw, 7rem);
}
.research-page .masthead .kicker {
  margin-bottom: 9px;
}
.research-page .calibration {
  grid-template-columns: minmax(min-content, 0.42fr) minmax(0, 1fr);
  gap: clamp(20px, 4.2vw, 66px);
  margin-top: 19px;
  padding: clamp(20px, 3vw, 38px);
  border-radius: 2px;
  background: var(--reader-deep);
  color: #eff0de;
}
.calibration .score {
  color: #eeeacf;
  font: 400 clamp(5.25rem, 8.5vw, 9rem) / 0.98 var(--reader-serif);
  letter-spacing: -0.068em;
}
.calibration .score span {
  font-size: 0.49em;
  margin-left: 0.025em;
  color: #cad2b9;
}
.calibration > div + div {
  border-left: 1px solid #66785f;
  padding-left: clamp(18px, 3vw, 42px);
}
.research-page .calibration .kicker,
.calibration p {
  color: #ccdac4;
}
.research-page .calibration a {
  color: #e7e9ce;
  text-decoration-color: #b5c6a2;
}
.research-page .calibration h2 {
  font-size: clamp(1.8rem, 3.1vw, 3.1rem);
}
.calibration p {
  max-width: 61ch;
  font-size: 1.03rem;
  line-height: 1.46;
}
.research-page .bench {
  padding-block: clamp(32px, 4vw, 62px) clamp(30px, 4vw, 54px);
}
.research-page .bench h2,
.research-page .records h2,
.results .section-head h2 {
  font-size: clamp(2.5rem, 4.65vw, 4.55rem);
}
.research-page .stage-filter {
  margin: 3px 0 14px;
  padding: 0;
  gap: 0;
  border: 0;
  border-bottom: 1px solid #adb8a2;
  border-radius: 0;
}
.stage-filter button {
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 8px 14px;
  color: var(--reader-soft);
}
.research-page .stage-filter [aria-pressed="true"] {
  background: transparent;
  color: var(--reader-ink);
  border-color: #475f43;
}
.ledger,
.shortlist {
  border-top: 1px solid #86957e;
}
.ledger thead th,
.shortlist thead th {
  font: 600 0.84rem/1.3 var(--sans);
  color: var(--reader-soft);
}
.ledger .pass,
.results .pass,
.slot-analysis :is(.selected, .selected strong) {
  color: #365d38;
}
.ledger td,
.ledger th {
  vertical-align: middle;
  padding-block: 0.7rem;
}
.ledger td[data-label="Recorded cost"] {
  font: 400 0.91rem/1.3 var(--mono);
}
.cost-bar {
  display: block;
  width: clamp(56px, 7.4vw, 102px);
  height: 3px;
  margin-top: 5px;
  background: #d4d9c9;
}
.cost-bar::after {
  content: "";
  display: block;
  height: 100%;
  width: var(--cost-share);
  background: #748969;
}
.records details[open],
.source-notes[open],
.method[open] {
  border-color: #8c9b82;
}
.records details[open] summary,
.source-notes[open] summary,
.method[open] summary {
  color: #365537;
}
.records details p,
.method p {
  max-width: 66ch;
}
.results {
  padding-block: clamp(39px, 5vw, 72px) clamp(30px, 4vw, 60px);
}
.results .rationale {
  max-width: 67ch;
  margin-top: 13px;
}
.results .slot-analysis {
  padding: clamp(13px, 2vw, 23px);
  margin-block: 22px 18px;
  gap: 15px;
  border: 1px solid #ccd0bc;
  border-left: 3px solid #819775;
  background: #e9eadc;
}
.slot-analysis ul {
  gap: clamp(16px, 3vw, 50px);
}
.slot-analysis li {
  line-height: 1.35;
}
.results .slot-analysis strong {
  font: 400 clamp(1.25rem, 2.1vw, 1.85rem) / 1.04 var(--reader-serif);
  letter-spacing: -0.04em;
  margin-bottom: 4px;
}
.shortlist small {
  color: var(--reader-soft);
}
.related,
body > footer {
  border-color: var(--reader-line);
}
.related a {
  font-size: clamp(1.22rem, 2.3vw, 2rem);
}
@media (max-width: 850px) {
  .journal-heading {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    gap: clamp(20px, 4vw, 34px);
  }
  .journal-page .article-grid {
    grid-template-columns: minmax(120px, 0.45fr) minmax(0, 1.55fr);
  }
}
@media (max-width: 660px) {
  .journal-heading {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .journal-page .story-title {
    padding-block: 27px;
  }
  .journal-page .story-title h1 {
    font-size: clamp(3.05rem, 11.6vw, 5.1rem);
    max-width: 14ch;
  }
  .journal-page .story-title .kicker {
    margin-bottom: 10px;
  }
  .journal-page .journal-intro > p:not(.kicker) {
    max-width: 40ch;
    margin: 9px 0 12px;
    font-size: 1.04rem;
  }
  .table-study {
    padding: 13px 17px 15px;
  }
  .chair-plan {
    width: 43px;
    margin: 2px 0 12px;
  }
  .table-options {
    margin-top: 10px;
  }
  .table-option strong {
    font-size: 1.66rem;
  }
  .table-option > span {
    font-size: 0.86rem;
    margin-top: 2px;
  }
  .journal-page .article-grid {
    grid-template-columns: 1fr;
    gap: 19px;
    padding-block: 25px 42px;
  }
  .article-grid nav {
    border-top: 0;
    padding: 0 0 16px;
  }
  .research-page .masthead {
    gap: 10px;
  }
  .research-page .calibration {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    padding: 15px;
  }
  .calibration .score {
    font-size: clamp(3.1rem, 10.7vw, 4.6rem);
  }
  .calibration > div + div {
    padding-left: 15px;
  }
  .research-page .calibration h2 {
    font-size: 1.62rem;
  }
  .research-page .calibration .kicker {
    font-size: 0.69rem;
  }
  .calibration p {
    font-size: 0.93rem;
  }
  .ledger td,
  .ledger th {
    padding-block: 3px;
  }
  .ledger td[data-label="Recorded cost"] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .cost-bar {
    grid-column: 2;
    justify-self: end;
    width: 62px;
    margin-top: -3px;
  }
  .shortlist,
  .ledger {
    border-top: 0;
  }
  .shortlist tbody tr {
    padding-block: 15px;
  }
  .results .slot-analysis {
    padding: 12px 10px;
    gap: 5px;
  }
  .slot-analysis ul {
    gap: 12px;
  }
  .slot-analysis li {
    flex: 1;
    min-width: 0;
  }
}
@media (max-width: 370px) {
  .research-page .calibration {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .calibration > div + div {
    border-left: 0;
    padding-left: 0;
  }
  .table-study figcaption span:last-child {
    font-size: 0.76rem;
  }
}
