.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.section-intro {
  max-width: 640px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
  margin: -9px 0 30px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.project-card {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--card);
  min-width: 0;
}
.project-animation {
  background: var(--panel);
  overflow: hidden;
  margin: 0;
}
.animation-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 21px 0;
}
.animation-topline .small-mono {
  font-size: 8px;
  letter-spacing: 0.6px;
}
.animation-time {
  flex-shrink: 0;
  white-space: nowrap;
}
.project-animation canvas {
  display: block;
  width: 100%;
  height: 238px;
}
.project-animation figcaption {
  padding: 0 21px 15px;
}
.animation-stage {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.4;
  min-height: 44px;
  letter-spacing: -0.15px;
  color: var(--ink);
}
.animation-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}
.animation-kind {
  font-family: var(--mono);
  font-size: 7px;
  color: var(--muted);
  letter-spacing: 0.4px;
}
.animation-buttons {
  gap: 6px;
}
.animation-buttons .icon-button {
  width: 28px;
  height: 28px;
  font-size: 13px;
}
.animation-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.7;
}
.animation-timeline {
  margin-top: 14px;
  width: 100%;
}
.animation-timeline input {
  flex: 1;
}
.story-body figure.research-figure {
  width: min(1000px, calc(100vw - 80px));
  max-width: none;
  margin: 32px 0 32px 50%;
  transform: translateX(-50%);
}
.research-figure a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  background: white;
}
.research-figure img {
  display: block;
  width: 100%;
}
.story-body .research-figure figcaption {
  max-width: 720px;
  margin: 14px auto 0;
  line-height: 1.8;
}
.katex-display {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 0;
}
.project-card-copy {
  padding: 24px 25px 22px;
}
.project-meta {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 12px;
}
.project-meta > .small-mono {
  white-space: nowrap;
  font-size: 8px;
}
.project-meta .card-kicker {
  font-size: 8px;
}
.project-card h3 {
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -0.6px;
  max-width: 440px;
}
.project-card h3 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.project-card-copy > p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 15px;
  min-height: 68px;
}
.story-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 23px;
  padding-top: 15px;
  font-size: 11px;
  color: var(--green);
}
.story-link:hover > span {
  transform: translateX(4px);
}
.story-link > span {
  transition: transform 0.2s;
}
.publication-source {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 24px;
}
.publication-source .status-dot {
  width: 5px;
  height: 5px;
}
.publication-toolbar {
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}
.publication-search {
  border: 1px solid var(--line);
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  max-width: 475px;
  padding: 10px 12px;
  background: var(--card);
}
.publication-search svg {
  width: 15px;
  height: 15px;
  color: var(--muted);
  flex-shrink: 0;
}
.publication-search input {
  appearance: none;
  min-width: 0;
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.6;
}
.publication-search input::placeholder {
  color: var(--muted);
}
.publication-year {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  color: var(--muted);
}
.publication-year select {
  font: inherit;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 9px 23px 9px 10px;
  cursor: pointer;
}
#publication-count {
  margin-left: auto;
  white-space: nowrap;
}
.publication-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.publication-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 25px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.publication-date {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--green);
  padding-top: 3px;
}
.supplemented-year {
  font-size: 9px;
  vertical-align: super;
  margin-left: 2px;
}
.publication-item h3 {
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.35;
  letter-spacing: -0.4px;
  font-weight: 400;
  max-width: 960px;
}
.publication-title > span {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--green);
  white-space: nowrap;
}
.publication-title:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.publication-authors {
  font-size: 11px;
  margin-top: 8px;
  color: var(--ink);
}
.publication-venue {
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}
.publication-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.publication-links .text-link {
  font-size: 10px;
  gap: 8px;
  color: var(--green);
}
.publication-empty {
  padding: 28px 0;
  color: var(--muted);
  font-size: 13px;
}
.publication-footnote {
  font-size: 9px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 17px;
}
.story-back {
  margin-top: 35px;
  color: var(--muted);
  font-size: 11px;
}
.story-heading {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-block: 45px 60px;
  border-bottom: 1px solid var(--line);
}
.story-heading h1 {
  font-family: var(--serif);
  font-size: clamp(37px, 4.3vw, 62px);
  line-height: 1.1;
  letter-spacing: -2px;
  margin-top: 18px;
  max-width: 690px;
}
.story-lede {
  font-size: 14px;
  line-height: 1.9;
  margin-top: 25px;
  color: var(--muted);
  max-width: 630px;
}
.story-authors {
  font-size: 10px;
  color: var(--muted);
  margin-top: 23px;
}
.story-animation {
  border: 1px solid var(--line);
  border-radius: 4px;
  min-width: 0;
}
.story-animation canvas {
  height: 300px;
}
.story-animation .animation-stage {
  font-size: 20px;
  min-height: 56px;
}
.story-animation figcaption {
  padding: 8px 23px 20px;
}
.story-animation .animation-buttons .icon-button {
  width: 34px;
  height: 34px;
  font-size: 17px;
}
.story-reading {
  max-width: 720px;
  margin: 0 auto;
  padding: 12px 0 50px;
}
.story-prose > section {
  padding-top: 43px;
}
.story-prose h2 {
  font-family: var(--serif);
  font-size: 31px;
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin-bottom: 22px;
}
.story-prose section > p {
  font-size: 15px;
  line-height: 1.95;
  margin-bottom: 19px;
  color: var(--muted);
}
.story-prose em {
  color: var(--ink);
}
.story-lede p {
  margin: 0;
}
.story-body {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
  overflow-wrap: anywhere;
}
.story-body h2 {
  padding-top: 43px;
  color: var(--ink);
}
.story-body h3 {
  font-family: var(--serif);
  color: var(--ink);
  font-size: 23px;
  line-height: 1.4;
  margin: 30px 0 15px;
}
.story-body p,
.story-body ul,
.story-body ol {
  margin: 0 0 19px;
}
.story-body ul,
.story-body ol {
  padding-left: 24px;
}
.story-body li + li {
  margin-top: 10px;
}
.story-body strong {
  color: var(--ink);
}
.story-body a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.story-body blockquote {
  background: var(--surface);
  border-left: 2px solid var(--green);
  padding: 24px 28px;
  margin: 35px 0;
}
.story-body blockquote p:last-child {
  margin-bottom: 0;
}
.story-body img,
.story-body video,
.story-body svg {
  max-width: 100%;
  height: auto;
}
.story-body figure {
  margin: 30px 0;
}
.story-body figcaption {
  font-size: 12px;
  margin-top: 12px;
}
.story-body pre {
  padding: 20px;
  background: var(--surface);
  overflow-x: auto;
  font-size: 12px;
}
.story-body code {
  font-family: var(--mono);
}
.story-body table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin-block: 24px;
}
.story-body th,
.story-body td {
  padding: 10px 15px;
  border: 1px solid var(--line);
  text-align: left;
}
.story-takeaway {
  background: var(--surface);
  border-left: 2px solid var(--green);
  padding: 26px 30px;
  margin-top: 39px;
}
.story-takeaway > p:last-child {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.45;
  letter-spacing: -0.35px;
  margin-top: 11px;
}
.story-terms h2 {
  font-size: 25px;
}
.story-terms dl {
  margin: 0;
}
.story-terms dl > div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 20px;
  padding-block: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.8;
}
.story-terms dt {
  color: var(--ink);
}
.story-terms dd {
  margin: 0;
  color: var(--muted);
}
.story-reference {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 30px !important;
}
.story-reference h2 {
  font-size: 23px;
  line-height: 1.45;
  letter-spacing: -0.4px;
  margin-block: 14px;
}
.story-reference > p:not(.eyebrow) {
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 5px;
}
.story-paper-links {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 22px;
  color: var(--green);
}
.next-story {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 33px 0 45px;
  border-top: 1px solid var(--line);
}
.next-story h2 {
  font-family: var(--serif);
  font-size: 29px;
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin-top: 10px;
}
.next-story > span {
  font-size: 30px;
  color: var(--green);
}
.next-story:hover h2 {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
@media (min-width: 961px) {
  .header-inner nav {
    gap: 23px;
  }
}
@media (max-width: 1100px) {
  .project-grid {
    gap: 20px;
  }
  .project-card-copy {
    padding: 22px;
  }
  .project-card h3 {
    font-size: 25px;
  }
  .project-meta .card-kicker {
    font-size: 7px;
  }
  .story-heading {
    gap: 35px;
  }
  .story-heading h1 {
    font-size: 47px;
  }
  .story-animation canvas {
    height: 260px;
  }
}
@media (max-width: 960px) {
  .js .menu-toggle {
    display: flex;
    order: 3;
    margin-left: 8px;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    padding: 8px;
    background: transparent;
  }
  .header-actions {
    margin-left: auto;
  }
  .js .header-inner nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    padding: 15px 24px 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 20px #00000008;
  }
  .js .header-inner nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .header-inner nav a {
    font-size: 13px;
    padding: 10px;
  }
  .header-inner nav a::after {
    display: none;
  }
  .header-inner {
    height: 74px;
  }
  .js .header-inner {
    flex-wrap: nowrap;
  }
  :root:not(.js) .header-inner {
    height: auto;
    min-height: 74px;
    flex-wrap: wrap;
    padding-block: 12px;
  }
  .project-card h3 {
    font-size: 24px;
  }
  .project-meta {
    flex-direction: column;
    gap: 5px;
  }
  .project-card-copy > p {
    font-size: 11px;
  }
  .project-animation canvas {
    height: 210px;
  }
  .animation-stage {
    font-size: 15px;
  }
  .animation-topline {
    padding: 15px 16px 0;
  }
  .project-animation figcaption {
    padding: 0 16px 13px;
  }
  .story-heading {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .story-heading h1 {
    font-size: 54px;
    max-width: 750px;
  }
  .story-animation {
    max-width: 720px;
  }
  .story-animation canvas {
    height: 300px;
  }
  .story-lede {
    font-size: 15px;
  }
  .story-authors {
    font-size: 11px;
  }
}
@media (max-width: 640px) {
  .story-body figure.research-figure {
    width: calc(100vw - 40px);
  }
  .header-inner {
    height: 70px;
  }
  .js .header-inner nav {
    top: 70px;
  }
  .js .menu-toggle {
    margin-left: 0;
    font-size: 10px;
    padding: 5px;
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .section-intro {
    font-size: 12px;
    margin-top: -4px;
    margin-bottom: 23px;
  }
  .projects-section > .section-heading {
    gap: 13px;
  }
  .projects-section .section-aside {
    text-align: left;
    font-size: 10px;
  }
  .projects-section .section-aside br {
    display: none;
  }
  .project-animation canvas {
    height: 220px;
  }
  .animation-stage {
    font-size: 18px;
    min-height: 46px;
  }
  .animation-topline {
    padding: 18px 20px 0;
  }
  .project-animation figcaption {
    padding: 0 20px 16px;
  }
  .animation-buttons .icon-button {
    width: 33px;
    height: 33px;
    font-size: 16px;
  }
  .project-card-copy {
    padding: 23px;
  }
  .project-meta {
    flex-direction: row;
    align-items: start;
    gap: 12px;
  }
  .project-meta .card-kicker {
    font-size: 7px;
    max-width: 220px;
  }
  .project-card h3 {
    font-size: 27px;
  }
  .project-card-copy > p {
    font-size: 12px;
    min-height: 0;
  }
  .story-link {
    margin-top: 20px;
  }
  .publication-source {
    align-items: start;
    font-size: 9px;
    line-height: 1.9;
  }
  .publication-source .status-dot {
    margin-top: 6px;
  }
  .publication-toolbar {
    gap: 12px;
    flex-wrap: wrap;
  }
  .publication-search {
    flex: 1 1 100%;
    max-width: none;
  }
  .publication-year select {
    padding-block: 7px;
  }
  .publication-year {
    font-size: 10px;
  }
  .publication-item {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    padding-block: 22px;
  }
  .publication-date {
    font-size: 9px;
    padding-top: 5px;
  }
  .publication-item h3 {
    font-size: 21px;
    line-height: 1.35;
  }
  .publication-authors {
    font-size: 10px;
    line-height: 1.8;
  }
  .publication-venue {
    font-size: 9px;
    line-height: 1.8;
  }
  .publication-footnote {
    font-size: 8px;
  }
  .publication-links {
    gap: 19px;
  }
  .story-back {
    margin-top: 28px;
    font-size: 10px;
  }
  .story-heading {
    padding-block: 29px 35px;
    gap: 30px;
  }
  .story-heading > .eyebrow,
  .story-heading .eyebrow {
    font-size: 8px;
  }
  .story-heading h1 {
    font-size: 40px;
    letter-spacing: -1.5px;
  }
  .story-lede {
    font-size: 13px;
    margin-top: 22px;
  }
  .story-authors {
    font-size: 10px;
    margin-top: 19px;
  }
  .story-animation canvas {
    height: 240px;
  }
  .story-animation .animation-stage {
    font-size: 20px;
  }
  .animation-note {
    font-size: 9px;
  }
  .story-animation figcaption {
    padding: 0 19px 17px;
  }
  .story-reading {
    padding-bottom: 35px;
  }
  .story-prose > section {
    padding-top: 32px;
  }
  .story-prose h2 {
    font-size: 28px;
    margin-bottom: 18px;
  }
  .story-prose section > p {
    font-size: 13px;
    line-height: 1.95;
  }
  .story-body {
    font-size: 13px;
  }
  .story-body h2 {
    padding-top: 32px;
  }
  .story-body blockquote {
    padding: 20px;
  }
  .story-takeaway {
    padding: 23px;
    margin-top: 30px;
  }
  .story-takeaway > p:last-child {
    font-size: 23px;
  }
  .story-terms dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
    font-size: 11px;
  }
  .story-reference h2 {
    font-size: 22px;
  }
  .story-reference > p:not(.eyebrow) {
    font-size: 11px;
  }
  .story-paper-links {
    gap: 20px;
  }
  .story-paper-links .text-link {
    font-size: 10px;
  }
  .next-story {
    gap: 20px;
    padding-block: 27px 35px;
  }
  .next-story h2 {
    font-size: 25px;
  }
}
@media (max-width: 360px) {
  .project-card-copy {
    padding: 20px;
  }
  .project-meta {
    flex-direction: column;
    gap: 6px;
  }
  .project-card h3 {
    font-size: 25px;
  }
  .animation-stage {
    font-size: 17px;
  }
  .story-heading h1 {
    font-size: 35px;
  }
  .publication-item {
    grid-template-columns: 33px minmax(0, 1fr);
    gap: 11px;
  }
  .publication-item h3 {
    font-size: 19px;
  }
}
