:root {
  --paper: #fcfcfb;
  --ink: #17191b;
  --muted: #596168;
  --rule: #dfe2e4;
  --blue: #2456d6;
  --shell: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4,
figure {
  margin: 0;
}

.shell {
  width: min(var(--shell), calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  background: rgb(252 252 251 / 94%);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--blue);
}

.brand {
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.03em;
}

nav {
  display: flex;
  gap: 34px;
  align-items: center;
}

nav a {
  padding-block: 10px;
  color: #34393f;
  font-size: 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 410px);
  gap: 76px;
  align-items: center;
  padding-block: 58px 54px;
}

.hero.short {
  min-height: 665px;
}

.hero.full {
  min-height: 750px;
}

.hero-copy {
  max-width: 735px;
}

.hero h1 {
  max-width: 730px;
  font-size: clamp(34px, 3.35vw, 48px);
  font-weight: 480;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.appointments {
  margin-top: 26px;
  color: #50585f;
  font-size: 14px;
  line-height: 1.55;
}

.appointments p:nth-child(1),
.appointments p:nth-child(2) {
  color: var(--ink);
  font-weight: 620;
}

.appointments a {
  color: inherit;
}

.appointments a:hover,
.appointments a:focus-visible {
  color: var(--blue);
}

.argument {
  max-width: 710px;
  display: grid;
  gap: 13px;
  margin-top: 24px;
  color: #4d555c;
  font-size: 15px;
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 30px;
}

.actions a,
.section-link {
  padding-block: 7px;
  border-bottom: 2px solid var(--blue);
  font-size: 14px;
  font-weight: 620;
}

.portrait {
  width: 100%;
  max-width: 410px;
  justify-self: end;
}

.portrait img {
  width: 100%;
  height: auto;
  display: block;
}

.portrait figcaption {
  margin-top: 8px;
  color: #7a8187;
  font-size: 10px;
}

.section {
  padding-block: 96px 106px;
  border-top: 1px solid var(--rule);
}

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

.kicker,
.overline,
.stream-label,
.status {
  color: var(--blue);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.17em;
  line-height: 1.3;
  text-transform: uppercase;
}

.section h2 {
  max-width: 850px;
  font-size: clamp(38px, 4.1vw, 58px);
  font-weight: 535;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.theory {
  max-width: 850px;
  margin-top: 34px;
  color: #4e565d;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.5;
}

.streams {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 54px;
  margin-top: 62px;
}

.stream {
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}

.stream h3 {
  margin-top: 15px;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.22;
}

.stream p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.evidence-streams {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 54px;
  margin-top: 62px;
}

.evidence-stream {
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}

.evidence-stream > h3 {
  margin-top: 15px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.18;
}

.stream-summary {
  min-height: 84px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.stream-papers {
  margin-top: 34px;
  border-bottom: 1px solid #aeb3b7;
}

.stream-paper {
  padding-block: 24px 26px;
  border-top: 1px solid #aeb3b7;
}

.stream-paper-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 18px;
  align-items: baseline;
}

.stream-paper-meta strong {
  font-size: 13px;
}

.stream-paper h4 {
  margin-top: 14px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.stream-paper .authors {
  margin-top: 9px;
  color: #747b81;
  font-size: 13px;
  line-height: 1.45;
}

.stream-paper .finding {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.research-continuation {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: baseline;
  margin-top: 40px;
}

.research-continuation p {
  max-width: 590px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.program-section {
  padding-block: 76px 82px;
  border-top: 1px solid var(--rule);
}

.program-heading {
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr);
  gap: 28px;
}

.program-section h2,
.record-section h2 {
  font-size: clamp(38px, 4.1vw, 58px);
  font-weight: 535;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.program-theory {
  max-width: 850px;
  margin-top: 25px;
  color: #4e565d;
  font-size: 18px;
  line-height: 1.55;
}

.program-streams {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 54px;
  margin-top: 38px;
}

.program-stream {
  padding-top: 17px;
  border-top: 2px solid var(--ink);
}

.program-stream h3 {
  margin-top: 13px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.program-stream p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.record-section {
  padding-block: 90px 100px;
  border-top: 1px solid var(--rule);
}

.record-layout {
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr);
  gap: 28px;
}

.record-intro {
  max-width: 720px;
  margin-top: 23px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.lab-section {
  padding-block: 72px 78px;
}

.lab-copy {
  max-width: 760px;
  margin-top: 23px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.lab-actions {
  margin-top: 22px;
}

.record-group {
  margin-top: 54px;
}

.record-group + .record-group {
  margin-top: 64px;
}

.record-group-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: baseline;
  padding-bottom: 13px;
}

.record-group-heading h3 {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.record-group-heading span {
  color: #798086;
  font-size: 12px;
}

.record-list {
  border-bottom: 1px solid #aeb3b7;
}

.record-row {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr) 180px;
  gap: 25px;
  align-items: start;
  padding-block: 22px 24px;
  border-top: 1px solid #aeb3b7;
}

.record-status {
  color: var(--blue);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.record-main h4 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.record-main h4 a:hover,
.record-main h4 a:focus-visible {
  color: var(--blue);
}

.record-main p {
  margin-top: 7px;
  color: #747b81;
  font-size: 13px;
  line-height: 1.5;
}

.record-meta {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.record-venue {
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
}

.stream-tag {
  display: inline-block;
  padding: 4px 7px 3px;
  border: 1px solid #b9c8ed;
  color: var(--blue);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.record-note {
  max-width: 760px;
  margin-top: 34px;
  color: #737a80;
  font-size: 13px;
  line-height: 1.55;
}

.standard-list {
  margin-top: 48px;
  border-bottom: 1px solid #aeb3b7;
}

.standard-paper {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 185px;
  gap: 26px;
  align-items: start;
  padding-block: 25px 27px;
  border-top: 1px solid #aeb3b7;
}

#working-papers .standard-paper {
  grid-template-columns: 190px minmax(0, 1fr) 145px;
}

.standard-status {
  color: var(--blue);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.14em;
  line-height: 1.45;
  text-transform: uppercase;
}

.publication-venue {
  display: grid;
  align-content: start;
  gap: 6px;
}

.publication-venue strong {
  color: var(--blue);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
}

.publication-venue span {
  color: #5f676d;
  font-size: 12px;
  line-height: 1.45;
}

.standard-main h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.28;
}

.standard-main h3 a:hover,
.standard-main h3 a:focus-visible {
  color: var(--blue);
}

.standard-byline {
  margin-top: 8px;
  color: #747b81;
  font-size: 13px;
  line-height: 1.5;
}

.standard-summary {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.standard-side {
  display: grid;
  justify-items: start;
  gap: 9px;
  font-size: 13px;
  line-height: 1.45;
}

.standard-side strong {
  font-weight: 650;
}

.paper-actions {
  align-content: start;
}

.paper-link {
  padding-bottom: 3px;
  border-bottom: 1px solid var(--blue);
  font-size: 12px;
  font-weight: 650;
}

.paper-details {
  margin-top: 17px;
  border-top: 1px solid #d9dcde;
}

.paper-details summary {
  width: max-content;
  padding-block: 11px 3px;
  color: var(--blue);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  list-style-position: outside;
}

.paper-details[open] summary {
  margin-bottom: 9px;
}

.details-body {
  max-width: 720px;
  padding-bottom: 3px;
  color: #5f676d;
  font-size: 14px;
  line-height: 1.65;
}

.details-body p + p {
  margin-top: 12px;
}

.about-copy {
  max-width: 820px;
  margin-top: 30px;
  color: #4e565d;
  font-size: 17px;
  line-height: 1.7;
}

.about-copy p:first-child {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.58;
}

.about-copy p + p {
  margin-top: 19px;
}

.next-section {
  padding-block: 72px 84px;
  border-top: 1px solid var(--rule);
}

.next-section h2 {
  margin-top: 18px;
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 535;
  letter-spacing: -0.055em;
}

.paper-list {
  margin-top: 46px;
  border-bottom: 1px solid #aeb3b7;
}

.paper {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 28px;
  padding-block: 27px;
  border-top: 1px solid #aeb3b7;
}

.paper-meta {
  display: grid;
  align-content: start;
  gap: 8px;
}

.paper-meta strong {
  font-size: 14px;
  line-height: 1.35;
}

.paper h3 {
  max-width: 740px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.22;
}

.paper p {
  max-width: 730px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.comparison-note {
  padding-block: 15px;
  border-bottom: 1px solid var(--rule);
  color: #697178;
  font-size: 12px;
}

.comparison-note .shell {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.comparison-note a {
  color: var(--blue);
  font-weight: 700;
}

@media (max-width: 850px) {
  .shell {
    width: min(100% - 40px, var(--shell));
  }

  nav {
    gap: 17px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .portrait {
    width: min(100%, 410px);
    justify-self: start;
  }

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

  .program-heading,
  .record-layout {
    grid-template-columns: 1fr;
  }

  .evidence-streams {
    grid-template-columns: 1fr;
  }

  .record-row {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .standard-paper {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .record-meta {
    grid-column: 2;
  }

  .standard-side {
    grid-column: 2;
  }

  .stream-summary {
    min-height: 0;
  }
}

@media (max-width: 600px) {
  .shell {
    width: min(100% - 28px, var(--shell));
  }

  .header-inner {
    display: block;
    padding-block: 16px;
  }

  nav {
    justify-content: flex-start;
    margin-top: 13px;
  }

  nav a {
    font-size: 12px;
  }

  .hero {
    padding-block: 42px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .streams {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .program-streams {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .record-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .standard-paper {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .record-meta {
    grid-column: auto;
  }

  .standard-side {
    grid-column: auto;
  }

  .record-group-heading {
    display: block;
  }

  .record-group-heading span {
    display: inline-block;
    margin-top: 7px;
  }

  .research-continuation {
    display: block;
  }

  .research-continuation .section-link {
    display: inline-block;
    margin-top: 18px;
  }

  .paper {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .comparison-note .shell {
    display: block;
  }

  .comparison-note a {
    display: inline-block;
    margin-top: 8px;
  }
}
