@font-face {
  font-family: "Newsreader";
  src: url("assets/fonts/newsreader-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("assets/fonts/newsreader-latin-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("assets/fonts/ibm-plex-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
}

:root {
  --paper: #f5f1e8;
  --paper-deep: #efe9dc;
  --paper-light: #fbf9f3;
  --ink: #1b1d1a;
  --muted: #5f5b52;
  --faint: #6f6a5f;
  --rule: #d7d0c1;
  --rule-strong: #aca294;
  --teal: #0d5d54;
  --teal-deep: #123b35;
  --teal-light: #dbe7e2;
  --rust: #94401f;
  --rust-wash: #f1e7da;
  --white: #ffffff;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --page: 1180px;
  --gutter: clamp(16px, 3vw, 24px);
  --section-pad: clamp(60px, 8vw, 104px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.66;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--rust);
  color: var(--paper-light);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--rust);
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 3px;
}

h1,
h2,
h3,
p,
dl,
dd,
blockquote,
figure {
  margin: 0;
}

.wrap {
  width: min(var(--page), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--paper-light);
  font-family: var(--sans);
  font-size: 13px;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
  color: var(--paper-light);
}

/* Header and masthead */

.site-header {
  border-top: 5px solid var(--teal);
  background: var(--paper);
}

.masthead-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 62px;
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-decoration: none;
  text-transform: uppercase;
}

.wordmark:hover {
  color: var(--ink);
}

.monogram {
  color: var(--rust);
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.8;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.top-links .status {
  color: var(--rust);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.top-links .divider {
  width: 1px;
  height: 12px;
  background: var(--rule-strong);
}

.top-links a {
  color: var(--ink);
  text-decoration: none;
}

.top-links a:hover {
  color: var(--rust);
  text-decoration: underline;
}

.hero {
  padding-top: clamp(44px, 6.5vw, 84px);
  padding-bottom: clamp(36px, 5vw, 58px);
}

.kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--rule-strong);
  color: var(--teal);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.kicker .kicker-sep {
  width: 22px;
  height: 1px;
  background: var(--rule-strong);
}

.kicker .kicker-date {
  color: var(--muted);
  font-weight: 500;
}

h1 {
  max-width: 1040px;
  margin-top: clamp(22px, 3vw, 34px);
  font-family: var(--serif);
  font-size: clamp(2.9rem, 6vw, 5.35rem);
  font-weight: 500;
  letter-spacing: -0.038em;
  line-height: 0.98;
}

.title-line {
  display: block;
}

.hero-sub {
  max-width: 760px;
  margin-top: 22px;
  color: var(--teal-deep);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-style: italic;
  line-height: 1.3;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: clamp(36px, 6vw, 76px);
  align-items: start;
  margin-top: clamp(30px, 4vw, 48px);
}

.deck {
  max-width: 640px;
  color: #33362f;
  font-size: clamp(1.12rem, 1.5vw, 1.26rem);
  line-height: 1.52;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin-top: 28px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.035em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 3px;
}

.text-link .arrow {
  font-family: var(--sans);
  font-size: 12px;
  transition: transform 160ms ease;
}

.text-link:hover {
  color: var(--rust);
  border-color: var(--rust);
}

.text-link:hover .arrow {
  transform: translate(2px, -2px);
}

.paper-meta {
  border-top: 2px solid var(--ink);
}

.paper-meta div {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
}

.paper-meta dt {
  color: var(--rust);
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1.6;
  text-transform: uppercase;
}

.paper-meta dd {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 11.5px;
  line-height: 1.5;
}

.paper-meta dd span {
  display: block;
  color: var(--muted);
  font-size: 10.5px;
}

.status-note {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  margin-top: clamp(32px, 4vw, 48px);
  padding: 16px 0;
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule);
}

.status-note strong {
  color: var(--rust);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.6;
  text-transform: uppercase;
}

.status-note p {
  max-width: 820px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.65;
}

.status-note em {
  color: var(--ink);
  font-style: normal;
  font-weight: 500;
}

/* Section navigation */

.section-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule);
}

.nav-inner {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.nav-inner::-webkit-scrollbar {
  display: none;
}

.nav-link {
  flex: 0 0 auto;
  padding: 14px 15px 12px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.075em;
  line-height: 1.3;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-link:first-child {
  padding-left: 0;
}

.nav-link:hover {
  color: var(--ink);
  border-bottom-color: var(--rule-strong);
}

.nav-link[aria-current="location"] {
  color: var(--teal);
  border-bottom-color: var(--teal);
  font-weight: 600;
}

/* Sections */

main {
  display: block;
}

.section {
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 58px;
}

.section:first-child {
  border-top: 0;
}

.section-grid {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 56px);
  align-items: start;
}

.rail {
  position: sticky;
  top: 66px;
  align-self: start;
}

.section-no {
  display: block;
  color: var(--rust);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.rail-label {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.content {
  min-width: 0;
  max-width: 940px;
}

.content > p,
.content > ul:not(.sq-list):not(.limit-list):not(.refs),
.content > ol:not(.design-list) {
  max-width: 68ch;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--rust);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

h2 {
  max-width: 25ch;
  margin-bottom: 26px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.1vw, 3.35rem);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1.06;
}

h3 {
  max-width: 34ch;
  margin: 48px 0 16px;
  font-family: var(--serif);
  font-size: clamp(1.42rem, 2.1vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.2;
}

.content p {
  margin-bottom: 1.05em;
}

.content p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: clamp(1.16rem, 1.55vw, 1.3rem);
  line-height: 1.56;
}

.abstract .lead::first-letter {
  float: left;
  padding: 0.06em 0.1em 0 0;
  color: var(--teal);
  font-family: var(--serif);
  font-size: 4.1em;
  font-weight: 500;
  line-height: 0.78;
}

.keywords {
  margin-top: 24px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.01em;
  line-height: 1.6;
}

.keywords strong {
  color: var(--rust);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.small-note {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11.5px;
  line-height: 1.6;
}

/* Results ledger */

.ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(40px, 5vw, 56px) 0 18px;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule-strong);
}

.ledger-item {
  padding: 24px 24px 26px 0;
}

.ledger-item + .ledger-item {
  padding-left: 28px;
  border-left: 1px solid var(--rule);
}

.ledger-value {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.85rem, 5.4vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.9;
}

.ledger-value .slash {
  margin: 0 0.02em;
  color: var(--rust);
  font-size: 0.62em;
  font-style: italic;
}

.ledger-label {
  display: block;
  max-width: 25ch;
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1.45;
}

.ledger-note {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 10.5px;
  line-height: 1.55;
}

/* Questions */

.pullquote {
  max-width: 27ch;
  margin: clamp(36px, 5vw, 54px) 0;
  padding: 28px 0;
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  color: var(--teal);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.1vw, 2.4rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.24;
}

.research-question {
  max-width: 860px;
  margin: 40px 0;
  padding: 24px 0 26px;
  border-top: 2px solid var(--teal);
  border-bottom: 1px solid var(--rule);
}

.rq-label {
  color: var(--rust);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.11em;
  line-height: 1.5;
  text-transform: uppercase;
}

.rq-text {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: clamp(1.42rem, 2.6vw, 2.05rem);
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.sq-list {
  max-width: 860px;
  margin: 28px 0 36px;
  padding: 0;
  border-top: 1px solid var(--rule);
  list-style: none;
}

.sq-list li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.98rem;
  line-height: 1.55;
}

.sq-id {
  padding-top: 4px;
  color: var(--rust);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* Design list */

.design-list {
  max-width: 860px;
  margin: 32px 0 40px;
  padding: 0;
  border-top: 1px solid var(--rule);
  list-style: none;
  counter-reset: design;
}

.design-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--rule);
  counter-increment: design;
}

.design-list li::before {
  content: counter(design, decimal-leading-zero);
  padding-top: 3px;
  color: var(--rust);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.design-list strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.design-list p {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.65;
}

/* Figures */

.research-figure {
  margin: clamp(36px, 5vw, 52px) 0 clamp(40px, 5vw, 56px);
}

.figure-frame {
  padding: clamp(6px, 1.2vw, 14px);
  border: 1px solid var(--rule);
  background: var(--white);
}

.figure-frame img {
  width: 100%;
  height: auto;
}

figcaption {
  display: grid;
  gap: 5px;
  margin-top: 13px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11.5px;
  line-height: 1.6;
}

figcaption strong {
  color: var(--ink);
  font-weight: 600;
}

.figure-source {
  color: var(--faint);
  font-size: 10.5px;
}

.figure-source a {
  color: var(--muted);
}

/* Tables */

.table-block {
  margin: 40px 0 48px;
}

.table-caption {
  max-width: 76ch;
  margin-bottom: 10px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
}

.table-caption .table-no {
  margin-right: 6px;
  color: var(--rust);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scroll-hint {
  display: none;
}

.table-wrap {
  overflow-x: auto;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule-strong);
  -webkit-overflow-scrolling: touch;
}

.table-wrap:focus-visible {
  outline-offset: 4px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.48;
}

th {
  padding: 11px 13px;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.065em;
  text-align: left;
  text-transform: uppercase;
  vertical-align: bottom;
}

td {
  padding: 11px 13px;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.table--wide table {
  min-width: 760px;
}

.table--cases table {
  min-width: 900px;
}

.table--cases td:first-child,
.table--cases th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--paper);
  box-shadow: 1px 0 0 var(--rule);
}

.table--cases tr:nth-child(even) td {
  background: #f8f5ed;
}

.table--cases tr:nth-child(even) td:first-child {
  background: #f8f5ed;
}

.table-note {
  max-width: 78ch;
  margin-top: 10px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.6;
}

code,
.case-key {
  font-family: var(--mono);
  font-size: 0.86em;
}

.case-key {
  color: var(--teal-deep);
  white-space: nowrap;
}

.score {
  display: inline-block;
  min-width: 17px;
  color: var(--ink);
  font-weight: 600;
  text-align: center;
}

.score--full {
  color: var(--rust);
}

/* Caveat */

.caveat {
  max-width: 860px;
  margin: 36px 0 44px;
  padding: 22px 24px 24px;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--rust);
  background: var(--rust-wash);
}

.caveat-label {
  margin-bottom: 8px;
  color: var(--rust);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.caveat p {
  max-width: 72ch;
  font-size: 0.98rem;
  line-height: 1.62;
}

.caveat p + p {
  margin-top: 10px;
}

/* Limitations */

.limit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 36px;
  max-width: 940px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.limit-list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  padding: 16px 0 20px;
  border-top: 1px solid var(--rule);
  font-size: 0.96rem;
  line-height: 1.56;
}

.limit-list .limit-no {
  padding-top: 4px;
  color: var(--rust);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.limit-list strong {
  font-weight: 600;
}

/* Code and copy controls */

.code-block {
  margin: 26px 0 34px;
  border-top: 3px solid var(--teal);
  background: #13231f;
  color: #f2ede2;
}

.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 14px;
  border-bottom: 1px solid rgba(242, 237, 226, 0.18);
  color: #b8c9c1;
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.code-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.copy-btn {
  padding: 5px 9px;
  border: 1px solid rgba(242, 237, 226, 0.35);
  background: transparent;
  color: #f2ede2;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}

.copy-btn:hover {
  border-color: #f2ede2;
  background: rgba(242, 237, 226, 0.08);
}

.copy-status {
  color: #b8c9c1;
  font-size: 9px;
  letter-spacing: 0.02em;
  text-transform: none;
}

.code-block pre {
  margin: 0;
  padding: 18px 20px 20px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.75;
  tab-size: 2;
}

.code-block pre code {
  font-size: inherit;
}

.code-block--bib pre {
  white-space: pre;
}

/* Status list */

.status-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 940px;
  margin: 34px 0;
  padding: 0;
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  list-style: none;
}

.status-list li {
  padding: 16px 18px 18px 0;
  font-family: var(--sans);
  font-size: 11.5px;
  line-height: 1.55;
}

.status-list li + li {
  padding-left: 18px;
  border-left: 1px solid var(--rule);
}

.status-list .status-mark {
  display: block;
  margin-bottom: 5px;
  color: var(--teal);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-list .status-mark--none {
  color: var(--rust);
}

/* References */

.refs {
  max-width: 850px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: ref;
}

.refs li {
  position: relative;
  padding: 14px 0 14px 46px;
  border-top: 1px solid var(--rule);
  font-size: 0.95rem;
  line-height: 1.58;
  overflow-wrap: anywhere;
  counter-increment: ref;
}

.refs li::before {
  content: "[" counter(ref) "]";
  position: absolute;
  top: 19px;
  left: 0;
  color: var(--rust);
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.refs cite {
  font-style: italic;
}

.refs .ref-note {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 10px;
  line-height: 1.45;
}

/* Citation */

.cite-text {
  max-width: 760px;
  padding: 22px 0;
  border-top: 2px solid var(--teal);
  border-bottom: 1px solid var(--rule);
  font-size: clamp(1.08rem, 1.5vw, 1.2rem);
  line-height: 1.58;
}

.cite-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin: 24px 0 30px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
}

/* Footer */

.site-footer {
  padding: clamp(44px, 6vw, 64px) 0 32px;
  background: #11241f;
  color: #e8e1d5;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
  gap: clamp(30px, 5vw, 70px);
  padding-bottom: 36px;
}

.footer-title {
  max-width: 18ch;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.footer-status {
  max-width: 44ch;
  margin-top: 14px;
  color: #b9c4bb;
  font-family: var(--sans);
  font-size: 11.5px;
  line-height: 1.65;
}

.footer-heading {
  margin-bottom: 12px;
  color: #93aaa0;
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: #e8e1d5;
  font-family: var(--sans);
  font-size: 11.5px;
  text-decoration: none;
}

.footer-links a:hover {
  color: #f2d2bd;
  text-decoration: underline;
}

.footer-note {
  color: #b9c4bb;
  font-family: var(--sans);
  font-size: 10.5px;
  line-height: 1.65;
}

.footer-note + .footer-note {
  margin-top: 10px;
}

.footer-note a {
  color: #c9d8cf;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(232, 225, 213, 0.2);
  color: #93aaa0;
  font-family: var(--sans);
  font-size: 10px;
  line-height: 1.6;
}

.footer-bottom a {
  color: #c9d8cf;
}

/* Small screens */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 36px;
  }

  .section-grid {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 28px;
  }

  .limit-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  }

  .footer-grid > div:last-child {
    grid-column: 1 / -1;
    padding-top: 24px;
    border-top: 1px solid rgba(232, 225, 213, 0.2);
  }
}

@media (max-width: 760px) {
  body {
    font-size: 1rem;
    line-height: 1.64;
  }

  .masthead-top {
    min-height: 56px;
  }

  .top-links .status,
  .top-links .divider {
    display: none;
  }

  .hero {
    padding-top: 34px;
    padding-bottom: 30px;
  }

  .kicker {
    gap: 8px 14px;
    padding-top: 12px;
  }

  .kicker .kicker-sep {
    width: 12px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 30px;
  }

  .paper-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 22px;
  }

  .paper-meta div {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 9px 0;
  }

  .paper-meta dt {
    font-size: 9px;
  }

  .paper-meta dd {
    font-size: 11px;
  }

  .status-note {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 30px;
  }

  .status-note p {
    font-size: 11.5px;
  }

  .nav-link {
    padding: 12px 12px 10px;
    font-size: 10px;
  }

  .section {
    padding: 52px 0;
    scroll-margin-top: 54px;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .rail {
    position: static;
    display: flex;
    gap: 9px;
    align-items: baseline;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--rule);
  }

  .section-no,
  .rail-label {
    margin: 0;
  }

  h1 {
    font-size: clamp(2.65rem, 10.5vw, 3.85rem);
    line-height: 1;
  }

  h2 {
    margin-bottom: 20px;
    font-size: clamp(2rem, 8.5vw, 2.7rem);
  }

  h3 {
    margin-top: 38px;
  }

  .abstract .lead::first-letter {
    font-size: 3.6em;
  }

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

  .ledger-item {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 4px 16px;
    align-items: start;
    padding: 20px 0;
  }

  .ledger-item + .ledger-item {
    padding-left: 0;
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  .ledger-value {
    grid-row: span 2;
    font-size: 3.4rem;
  }

  .ledger-label {
    margin-top: 2px;
  }

  .ledger-note {
    margin-top: 0;
  }

  .pullquote {
    padding: 24px 0;
  }

  .sq-list li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    font-size: 0.95rem;
  }

  .design-list li {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
  }

  .table-wrap {
    margin-right: calc(var(--gutter) * -1);
    padding-right: var(--gutter);
  }

  .scroll-hint {
    display: block;
    margin-top: 3px;
    color: var(--rust);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
  }

  table {
    font-size: 11.5px;
  }

  th,
  td {
    padding: 10px 11px;
  }

  .table--wide table {
    min-width: 690px;
  }

  .table--cases table {
    min-width: 840px;
  }

  .status-list {
    grid-template-columns: 1fr;
  }

  .status-list li {
    padding: 14px 0;
  }

  .status-list li + li {
    padding-left: 0;
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  .caveat {
    padding: 18px 18px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .paper-meta {
    grid-template-columns: 1fr;
  }

  .wordmark {
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  .monogram {
    font-size: 19px;
  }

  .top-links {
    font-size: 10px;
  }

  .ledger-item {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .ledger-value {
    font-size: 3rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .section-nav,
  .skip-link,
  .site-footer,
  .copy-btn,
  .hero-actions,
  .top-links {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .site-header,
  .section {
    border-color: #999;
  }

  .section {
    padding: 24px 0;
    break-inside: avoid-page;
  }

  .section-grid {
    display: block;
  }

  .rail {
    position: static;
    margin-bottom: 8px;
  }

  .research-figure,
  .table-block,
  .caveat {
    break-inside: avoid;
  }

  a {
    color: #000;
  }
}
