:root {
  color-scheme: light;
  --paper: #f4f6f2;
  --ink: #101817;
  --muted: #505d58;
  --line: #cbd2cb;
  --green: #d5fa64;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  --sans: Inter, Arial, Helvetica, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}
a {
  color: inherit;
  text-underline-offset: 0.25em;
}
a:focus-visible {
  outline: 3px solid #427000;
  outline-offset: 6px;
}
a:hover {
  text-decoration-thickness: 2px;
}
.shell {
  max-width: 1600px;
  margin: auto;
  padding: 0 5.5%;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -8rem;
  z-index: 10;
  background: var(--green);
  padding: 1rem;
}
.skip-link:focus {
  top: 1rem;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.3rem;
  font-weight: 750;
  letter-spacing: -0.06em;
  text-decoration: none;
}
.mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--ink);
  color: var(--green);
  font-family: var(--mono);
  font-size: 23px;
  letter-spacing: -6px;
  padding-right: 5px;
}
.mark span {
  font-size: 17px;
}
nav {
  display: flex;
  gap: 2rem;
  font-size: 0.875rem;
}
nav a {
  text-decoration: none;
}
nav a:hover {
  text-decoration: underline;
}
.eyebrow,
.mini-label,
.step-tag,
.edition-id,
.edition-kind,
.research-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.055em;
}
.eyebrow {
  text-transform: uppercase;
  margin: 0 0 1.6rem;
  color: var(--muted);
}
.hero {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 6%;
  align-items: center;
  padding: 6.5rem 0 5rem;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(3.3rem, 5.6vw, 5.7rem);
  line-height: 1.03;
  letter-spacing: -0.065em;
  font-weight: 550;
  margin-bottom: 2rem;
}
em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
h1 em {
  letter-spacing: -0.065em;
}
.intro {
  font-size: 1.3rem;
  line-height: 1.5;
  max-width: 34rem;
  margin-bottom: 1.1rem;
}
.hero-detail {
  max-width: 32rem;
  color: var(--muted);
  margin-bottom: 2rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.4rem;
  min-height: 50px;
  padding: 0.8rem 1.2rem;
  background: var(--ink);
  color: white;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--ink);
  transition:
    background 0.15s,
    color 0.15s;
}
.button:hover {
  background: var(--green);
  color: var(--ink);
}
.button span {
  font-size: 1.15rem;
}
.machine {
  margin: 0;
  background: #e8ede6;
  border: 1px solid #c5cfc2;
  padding: 1.5rem 1.8rem 1.3rem;
  position: relative;
  background-image: radial-gradient(#bac6b8 0.6px, transparent 0.6px);
  background-size: 12px 12px;
}
.figure-top {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  gap: 1rem;
  margin-bottom: 2rem;
}
.source {
  margin: 0 1.5rem;
  padding: 1.1rem 1.3rem;
  background: var(--paper);
  border: 1px solid #b5c1b3;
}
.mini-label {
  font-size: 0.6875rem;
}
.source-lines {
  display: grid;
  gap: 6px;
  margin: 1rem 0;
}
.source-lines i {
  height: 3px;
  background: #a9b4a5;
  width: 95%;
}
.source-lines i:nth-child(2) {
  width: 80%;
}
.source-lines i:nth-child(3) {
  width: 91%;
}
.source-lines i:nth-child(4) {
  width: 66%;
}
.source-lines i:nth-child(5) {
  width: 85%;
}
.source p {
  font-family: var(--mono);
  font-size: 0.75rem;
  margin: 1rem 0 0;
  display: flex;
  justify-content: space-between;
  gap: 0.3rem;
}
.source p span {
  color: #677260;
}
.connector {
  height: 26px;
  width: 1px;
  background: #6c8260;
  margin: auto;
}
.engine-block {
  background: var(--ink);
  color: var(--green);
  padding: 1.3rem 1.5rem;
}
.engine-block .mini-label {
  color: #bac4b6;
}
.engine-block p {
  font-size: 1.9rem;
  line-height: 1.22;
  margin: 1rem 0 1.4rem;
  letter-spacing: -0.04em;
}
.stages {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #415047;
  padding-top: 0.8rem;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: #dce4d7;
}
.branches {
  height: 32px;
  display: flex;
  justify-content: space-around;
}
.branches span {
  border-left: 1px solid #6c8260;
}
.outputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.outputs div {
  background: var(--paper);
  border: 1px solid #aebbab;
  padding: 0.7rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.outputs b {
  font-size: 1.7rem;
  font-family: Georgia, serif;
  font-weight: 400;
}
.outputs span {
  font-family: var(--mono);
  font-size: 0.6875rem;
}
.outputs div:nth-child(2) {
  background: var(--green);
}
figcaption {
  font-family: var(--mono);
  font-size: 0.6875rem;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 1.5rem;
}
.thesis {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2.2rem 0;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: start;
}
.thesis .eyebrow {
  margin: 0.3rem 0;
}
.thesis p {
  font-size: 1.65rem;
  line-height: 1.4;
  letter-spacing: -0.03em;
  margin: 0;
}
.engine-section {
  padding: 6rem 0;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 8%;
}
h2 {
  font-size: clamp(2.2rem, 3.3vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.055em;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.section-heading > p:last-child {
  color: var(--muted);
  max-width: 38rem;
}
.pipeline {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pipeline li {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  gap: 0.8rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}
.pipeline li:last-child {
  border-bottom: 1px solid var(--line);
}
.step {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  padding-top: 0.2rem;
}
h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 0.55rem;
}
.pipeline p {
  font-size: 0.9375rem;
  color: var(--muted);
  margin: 0;
  max-width: 34rem;
}
.step-tag {
  font-size: 0.625rem;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.25rem;
}
.editions-section {
  background: var(--ink);
  color: var(--paper);
  margin: 0 -6.18%;
  padding: 5rem 5.5%;
}
.editions-section .eyebrow,
.editions-section .section-heading > p:last-child {
  color: #b8c4bc;
}
.editions-section h2 em {
  color: var(--green);
}
.edition-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 3rem;
  border-top: 1px solid #455149;
  border-bottom: 1px solid #455149;
}
.edition-list article {
  padding: 1.5rem 1.5rem 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-right: 1px solid #455149;
}
.edition-list article + article {
  padding-left: 1.5rem;
}
.edition-list article:last-child {
  border-right: 0;
}
.edition-id {
  color: #b8c4bc;
  font-size: 0.6875rem;
  margin-bottom: 2.5rem;
}
.edition-list h3 {
  font-size: 1.7rem;
  line-height: 1.15;
  font-weight: 500;
  min-height: 6rem;
  max-width: 14rem;
}
.code-title {
  font-family: var(--mono);
  font-size: 0.85em;
  color: var(--green);
}
.edition-list p {
  font-size: 0.9375rem;
  color: #b8c4bc;
}
.edition-kind {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.625rem;
  letter-spacing: 0;
  color: var(--green);
}
.editions-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  margin-top: 2rem;
}
.editions-note p {
  color: #b8c4bc;
  font-size: 0.9375rem;
  max-width: 47rem;
  margin: 0;
}
.editions-note strong {
  color: var(--paper);
  font-weight: 500;
}
.text-link {
  font-size: 0.9375rem;
  white-space: nowrap;
}
.horizon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  padding: 6rem 0;
  border-bottom: 1px solid var(--line);
}
.horizon-copy {
  padding-top: 3rem;
  color: var(--muted);
}
.research-label {
  display: inline-block;
  border: 1px solid #bac6b8;
  padding: 0.5rem 0.75rem;
  margin-top: 0.5rem;
  font-size: 0.6875rem;
}
.closing {
  text-align: center;
  padding: 5rem 0;
}
.closing h2 {
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
}
.closing .eyebrow {
  font-size: 0.6875rem;
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--line);
  padding: 1.7rem 0;
}
footer p,
footer > a:last-child {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
}
footer .wordmark {
  font-size: 1.15rem;
}
@media (min-width: 1600px) {
  .editions-section {
    margin-inline: 0;
    padding-inline: 3rem;
  }
}
@media (max-width: 1050px) {
  .hero {
    gap: 4%;
    padding-top: 4rem;
  }
  h1 {
    font-size: 4.1rem;
  }
  .machine {
    padding: 1.2rem;
  }
  .source {
    margin: 0 0.5rem;
  }
  .engine-section {
    gap: 5%;
    grid-template-columns: 1fr 1.3fr;
  }
  .step-tag {
    display: none;
  }
  .pipeline li {
    grid-template-columns: 1.5rem 1fr;
  }
  .edition-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .edition-list article {
    padding: 1.5rem;
  }
  .edition-list article:nth-child(2) {
    border-right: 0;
  }
  .edition-list article:nth-child(n + 3) {
    border-top: 1px solid #455149;
  }
  .edition-list h3 {
    min-height: 4rem;
    max-width: 20rem;
  }
  .editions-note {
    gap: 2rem;
  }
  .thesis {
    grid-template-columns: 1fr 2fr;
  }
}
@media (max-width: 720px) {
  .shell {
    padding: 0 6%;
  }
  header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.2rem 0;
  }
  nav {
    width: 100%;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.8125rem;
  }
  nav a {
    padding: 0.4rem 0;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 3.5rem 0 3rem;
    gap: 2.8rem;
  }
  h1 {
    font-size: clamp(3rem, 10.8vw, 4.5rem);
  }
  .intro {
    font-size: 1.15rem;
  }
  .machine {
    max-width: 440px;
    width: 100%;
    justify-self: center;
    padding: 1.3rem;
  }
  .source {
    margin: 0 1rem;
  }
  .figure-top {
    font-size: 0.6875rem;
  }
  .thesis {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1.6rem 0;
  }
  .thesis p {
    font-size: 1.45rem;
  }
  .eyebrow {
    margin-bottom: 1.2rem;
  }
  .engine-section,
  .horizon {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    padding: 3.5rem 0;
  }
  .editions-section {
    margin-inline: -6.82%;
    padding: 3.5rem 6%;
  }
  .edition-list article,
  .edition-list article + article {
    padding: 1.2rem 0.9rem;
  }
  .edition-id {
    margin-bottom: 1.5rem;
  }
  .edition-list h3 {
    font-size: 1.35rem;
    min-height: 6rem;
  }
  .edition-list p {
    font-size: 0.875rem;
  }
  .editions-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.2rem;
  }
  .horizon-copy {
    padding-top: 0;
  }
  .closing {
    padding: 3.5rem 0;
  }
  .closing .eyebrow {
    max-width: 18rem;
    margin: 0 auto 1.5rem;
  }
  footer {
    flex-wrap: wrap;
    gap: 1rem;
  }
  footer p {
    order: 3;
    width: 100%;
  }
  .research-label {
    font-size: 0.625rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button {
    transition: none;
  }
}
@media (forced-colors: active) {
  .button,
  .mark,
  .engine-block {
    border: 1px solid CanvasText;
  }
  .source-lines i {
    background: CanvasText;
  }
}

/* Let long labels and enlarged text reflow without widening the page. */
.hero > *,
.engine-section > *,
.horizon > *,
.outputs > *,
.edition-list > * {
  min-width: 0;
}
body {
  overflow-wrap: anywhere;
}
nav,
.stages,
.figure-top {
  flex-wrap: wrap;
}
.outputs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mini-label,
.stages,
.outputs span,
figcaption,
.edition-id,
.edition-kind,
.research-label,
.closing .eyebrow,
.step-tag {
  font-size: 0.75rem;
}
@media (max-width: 720px) {
  .hero,
  .engine-section,
  .horizon {
    grid-template-columns: minmax(0, 1fr);
  }
  .edition-list {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr));
  }
  .edition-list article {
    border: 0;
    border-bottom: 1px solid #455149;
  }
  .source {
    margin-inline: 0;
    padding: 1rem;
  }
  .outputs > div {
    padding: 0.6rem 0.35rem;
  }
  .button {
    max-width: 100%;
    gap: 1rem;
  }
  .text-link {
    white-space: normal;
  }
}
