:root {
  --ink: #17201d;
  --muted: #65716c;
  --paper: #f3f5f1;
  --white: #ffffff;
  --line: #cfd7d2;
  --teal: #0f766e;
  --red: #cf5743;
  --gold: #d8a92f;
  --night: #121a18;
  --radius: 6px;
  --shell: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.72;
}

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

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

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

h1,
h2,
h3 {
  line-height: 1.16;
  letter-spacing: 0;
}

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

.section-index,
.eyebrow,
.stage-kicker,
.sub-kicker {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 82px;
  padding: 0 42px;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  border-bottom: 1px solid rgb(255 255 255 / 24%);
}

.brand {
  display: inline-flex;
  align-items: flex-end;
  gap: 6px;
  font-size: 21px;
  font-weight: 800;
}

.brand-dot {
  width: 7px;
  height: 7px;
  margin-bottom: 7px;
  background: var(--gold);
  border-radius: 50%;
}

.header-article-link {
  padding: 8px 0 6px;
  border-bottom: 1px solid rgb(255 255 255 / 72%);
  font-size: 14px;
  font-weight: 700;
}

.header-article-link:hover,
.header-article-link:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
}

.chapter-rail {
  position: fixed;
  z-index: 40;
  top: 50%;
  left: 24px;
  width: 40px;
  padding: 14px 0 14px 10px;
  transform: translateY(-50%);
}

.chapter-rail::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  content: "";
  background: rgb(23 32 29 / 13%);
  transition: background-color 180ms ease;
}

.chapter-rail nav {
  display: grid;
  gap: 3px;
}

.chapter-link {
  position: relative;
  display: flex;
  width: 30px;
  height: 24px;
  align-items: center;
}

.chapter-link::before {
  width: 8px;
  height: 1px;
  content: "";
  background: #9da9a3;
  transition: width 160ms ease, height 160ms ease, background-color 160ms ease;
}

.chapter-link:hover::before,
.chapter-link:focus-visible::before {
  width: 19px;
  background: #59645f;
}

.chapter-link[aria-current="location"]::before {
  width: 28px;
  height: 2px;
  background: var(--night);
}

.chapter-rail[data-tone="dark"]::before {
  background: rgb(255 255 255 / 15%);
}

.chapter-rail[data-tone="dark"] .chapter-link::before {
  background: rgb(255 255 255 / 34%);
}

.chapter-rail[data-tone="dark"] .chapter-link:hover::before,
.chapter-rail[data-tone="dark"] .chapter-link:focus-visible::before {
  background: rgb(255 255 255 / 66%);
}

.chapter-rail[data-tone="dark"] .chapter-link[aria-current="location"]::before {
  background: var(--white);
}

.chapter-link:focus-visible {
  outline: 0;
}

.chapter-label {
  position: absolute;
  top: 50%;
  left: 42px;
  display: grid;
  width: 276px;
  padding: 13px 15px 14px;
  gap: 4px;
  color: var(--ink);
  background: rgb(255 255 255 / 98%);
  border: 1px solid #d9dfdc;
  border-radius: 6px;
  box-shadow: 0 12px 30px rgb(18 26 24 / 13%);
  opacity: 0;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition: opacity 150ms ease, transform 150ms ease;
}

.chapter-link:hover .chapter-label,
.chapter-link:focus-visible .chapter-label {
  opacity: 1;
  transform: translate(0, -50%);
}

.chapter-label small {
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.4;
}

.chapter-label strong {
  font-size: 14px;
  line-height: 1.45;
}

.chapter-label em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.5;
}

.hero {
  position: relative;
  min-height: 720px;
  height: 82vh;
  max-height: 860px;
  overflow: hidden;
  color: var(--white);
  background: #495551;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  filter: none;
}

.hero-overlay {
  background: rgb(8 17 15 / 18%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100%;
  padding-top: 150px;
  padding-bottom: 72px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.eyebrow.light {
  color: #c9e8e1;
}

.hero h1 {
  margin-top: 17px;
  font-size: 74px;
  font-weight: 800;
}

.hero-role {
  margin-top: 12px;
  font-size: 31px;
  font-weight: 700;
  line-height: 1.35;
}

.hero-copy {
  max-width: 640px;
  margin-top: 22px;
  color: rgb(255 255 255 / 84%);
  font-size: 16px;
}

.hero-links {
  display: flex;
  gap: 26px;
  margin-top: 34px;
  align-items: center;
}

.primary-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.primary-link {
  padding: 9px 18px;
  color: var(--night);
  background: #e8bf4d;
  border-radius: 4px;
}

.primary-link.dark {
  color: var(--white);
  background: var(--night);
}

.story-section[id],
.about-section {
  scroll-margin-top: 20px;
}

.journey-intro {
  padding: 112px 0 124px;
  background: var(--white);
}

.journey-intro-grid {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.journey-intro h2,
.story-content > h2,
.closing-grid h2,
.about-copy h2 {
  font-size: 47px;
  font-weight: 760;
}

.journey-intro-grid > div > p {
  max-width: 820px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 17px;
}

.story-section {
  position: relative;
  padding: 118px 0 126px;
  overflow: hidden;
}

.story-shell {
  position: relative;
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr);
  gap: 58px;
}

.story-shell::before {
  position: absolute;
  top: -118px;
  bottom: -126px;
  left: 171px;
  width: 1px;
  content: "";
  background: var(--line);
}

.story-meta {
  display: flex;
  padding-right: 28px;
  flex-direction: column;
  align-items: flex-start;
}

.story-order {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  color: var(--white);
  background: var(--red);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.story-meta time {
  margin-top: 26px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
}

.story-role {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.story-content {
  min-width: 0;
}

.story-content > h2 {
  max-width: 880px;
  margin-top: 13px;
}

.stage-lead {
  max-width: 870px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.82;
}

.stage-one,
.stage-three {
  background: var(--white);
}

.stage-two,
.stage-seven {
  background: #edf0eb;
}

.stage-four {
  background: #f7f8f5;
}

.stage-five {
  background: #e4ede8;
}

.stage-six {
  color: var(--white);
  background: #141b1a;
}

.stage-six .story-shell::before {
  background: rgb(255 255 255 / 16%);
}

.stage-six .story-meta time {
  color: var(--white);
}

.stage-six .story-role,
.stage-six .stage-lead {
  color: rgb(255 255 255 / 64%);
}

.stage-six .stage-kicker {
  color: #7dd0c3;
}

.ipo-flow {
  display: grid;
  margin-top: 52px;
  grid-template-columns: 1fr 56px 1fr 56px 1fr;
  align-items: center;
}

.ipo-flow > div {
  min-height: 172px;
  padding: 27px;
  background: #eef2ee;
  border-top: 4px solid var(--teal);
}

.ipo-flow > div:nth-of-type(2) {
  border-color: var(--gold);
}

.ipo-flow > div:nth-of-type(3) {
  border-color: var(--red);
}

.ipo-flow span,
.ipo-flow strong,
.ipo-flow small {
  display: block;
}

.ipo-flow span {
  color: var(--teal);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.ipo-flow strong {
  margin-top: 12px;
  font-size: 18px;
}

.ipo-flow small {
  margin-top: 17px;
  color: var(--muted);
  font-size: 13px;
}

.ipo-flow i,
.harness-line i {
  height: 1px;
  background: var(--line);
}

.stage-notes {
  display: grid;
  margin-top: 42px;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stage-notes > div {
  padding: 23px 28px 23px 0;
}

.stage-notes > div + div {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.stage-notes span {
  display: block;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}

.stage-notes p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
}

.handoff {
  position: relative;
  margin-top: 50px;
  padding: 22px 25px 22px 92px;
  color: #49534f;
  background: rgb(255 255 255 / 55%);
  border-left: 4px solid var(--gold);
}

.handoff span {
  position: absolute;
  top: 22px;
  left: 24px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.stage-one .handoff,
.stage-three .handoff,
.stage-four .handoff {
  background: var(--paper);
}

.project-ledger {
  margin-top: 50px;
  border-top: 1px solid var(--line);
}

.project-ledger article {
  display: grid;
  min-height: 164px;
  padding: 30px 0;
  grid-template-columns: 165px 190px 1fr;
  gap: 30px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  transition: background-color 260ms ease;
}

.project-ledger article:hover {
  background: rgb(255 255 255 / 48%);
}

.project-ledger time {
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.project-ledger h3 {
  font-size: 23px;
}

.project-ledger p {
  color: var(--muted);
}

.project-ledger strong {
  grid-column: 3;
  color: #33413c;
  font-size: 13px;
}

.delivery-line {
  display: grid;
  margin-top: 52px;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
}

.delivery-line span {
  display: grid;
  min-width: 108px;
  min-height: 72px;
  padding: 12px;
  place-items: center;
  text-align: center;
  background: #eef2ee;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 800;
}

.delivery-line i {
  height: 1px;
  background: var(--teal);
}

blockquote {
  margin-top: 46px;
  padding: 34px 42px;
  color: var(--ink);
  background: #e5eee9;
  border-left: 5px solid var(--teal);
  font-size: 23px;
  font-weight: 650;
  line-height: 1.65;
}

.wide-visual,
.workflow-visual,
.paired-visuals figure,
.ai-story figure,
.portal-story figure,
.about-photo {
  position: relative;
  overflow: hidden;
  background: #dfe5e1;
  border-radius: var(--radius);
}

.wide-visual {
  margin-top: 52px;
  aspect-ratio: 16 / 8.2;
}

.product-home-visual {
  aspect-ratio: 16 / 10;
}

.wide-visual img,
.workflow-visual img,
.paired-visuals img,
.ai-story img,
.portal-story img,
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.wide-visual:hover img,
.workflow-visual:hover img,
.paired-visuals figure:hover img,
.ai-story figure:hover img,
.portal-story figure:hover img,
.about-photo:hover img {
  transform: scale(1.025);
}

.wide-visual figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 17px 20px;
  color: var(--white);
  background: rgb(12 22 19 / 84%);
  font-size: 14px;
  font-weight: 700;
}

.wide-visual figcaption span,
.workflow-visual figcaption span {
  margin-right: 18px;
  color: #8bd1c5;
  font-size: 11px;
}

.platform-grid {
  display: grid;
  margin-top: 20px;
  grid-template-columns: repeat(4, 1fr);
  color: var(--white);
  background: var(--night);
}

.platform-grid > div {
  min-height: 178px;
  padding: 25px;
  border-right: 1px solid rgb(255 255 255 / 14%);
}

.platform-grid > div:last-child {
  border-right: 0;
}

.platform-grid span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
}

.platform-grid h3 {
  margin-top: 18px;
  font-size: 20px;
}

.platform-grid p {
  margin-top: 10px;
  color: rgb(255 255 255 / 62%);
  font-size: 13px;
}

.feature-gallery-heading {
  display: grid;
  margin-top: 64px;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.feature-gallery-heading > span {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.feature-gallery-heading h3 {
  font-size: 29px;
}

.feature-gallery-heading p {
  max-width: 760px;
  margin-top: 12px;
  color: var(--muted);
}

.workflow-visual {
  margin-top: 32px;
  aspect-ratio: 16 / 9;
}

.workflow-visual figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 17px 20px;
  color: var(--white);
  background: rgb(12 22 19 / 84%);
  font-size: 14px;
  font-weight: 700;
}

.paired-visuals {
  display: grid;
  margin-top: 20px;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.paired-visuals figure {
  min-height: 330px;
}

.paired-visuals figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 9px 12px;
  color: var(--white);
  background: rgb(12 22 19 / 84%);
  border-radius: 3px;
  font-size: 12px;
}

.result-strip {
  display: grid;
  margin-top: 50px;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #b6c8bf;
  border-bottom: 1px solid #b6c8bf;
}

.result-strip > div {
  display: flex;
  min-height: 128px;
  padding: 24px;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid #b6c8bf;
}

.result-strip > div:first-child {
  padding-left: 0;
}

.result-strip > div:last-child {
  border-right: 0;
}

.result-strip strong {
  color: var(--teal);
  font-size: 31px;
  line-height: 1;
}

.result-strip span {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.ai-story {
  display: grid;
  margin-top: 68px;
  grid-template-columns: minmax(330px, 0.76fr) minmax(480px, 1.24fr);
  gap: 58px;
  align-items: center;
}

.ai-copy h3 {
  margin-top: 12px;
  font-size: 30px;
}

.ai-copy > p:not(.sub-kicker) {
  margin-top: 20px;
  color: var(--muted);
}

.ai-copy dl {
  margin-top: 30px;
  border-top: 1px solid #b6c8bf;
}

.ai-copy dl div {
  display: grid;
  padding: 12px 0;
  grid-template-columns: 62px 1fr;
  border-bottom: 1px solid #b6c8bf;
}

.ai-copy dt {
  color: var(--teal);
  font-weight: 800;
}

.ai-copy dd {
  color: var(--muted);
}

.ai-story figure {
  aspect-ratio: 4 / 3;
  box-shadow: 0 22px 58px rgb(28 55 46 / 16%);
}

.ai-story figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  color: var(--white);
  background: rgb(12 22 19 / 84%);
  border-radius: 3px;
  font-size: 11px;
}

.portal-story {
  display: grid;
  margin-top: 74px;
  grid-template-columns: minmax(500px, 1.22fr) minmax(280px, 0.78fr);
  gap: 52px;
  align-items: center;
}

.portal-story figure {
  aspect-ratio: 16 / 10;
  box-shadow: 0 18px 48px rgb(28 55 46 / 13%);
}

.portal-story span {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.portal-story h3 {
  margin-top: 10px;
  font-size: 30px;
}

.portal-story p {
  margin-top: 18px;
  color: var(--muted);
}

code {
  color: #c3982c;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 0.92em;
}

.coding-origin {
  margin-top: 48px;
  border-top: 1px solid rgb(255 255 255 / 17%);
}

.coding-origin article {
  display: grid;
  min-height: 132px;
  padding: 26px 0;
  grid-template-columns: 150px 1fr;
  gap: 30px;
  border-bottom: 1px solid rgb(255 255 255 / 17%);
}

.coding-origin time {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.coding-origin h3 {
  font-size: 21px;
}

.coding-origin p {
  max-width: 750px;
  margin-top: 8px;
  color: rgb(255 255 255 / 61%);
}

.harness-title {
  margin-top: 58px;
  font-size: 30px;
}

.harness-copy {
  max-width: 870px;
  margin-top: 16px;
  color: rgb(255 255 255 / 64%);
  font-size: 17px;
}

.harness-line {
  display: grid;
  margin-top: 54px;
  grid-template-columns: 1fr 34px 1fr 34px 1fr 34px 1fr;
  align-items: center;
}

.harness-line > div {
  min-height: 150px;
  padding: 22px;
  background: #202a27;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: var(--radius);
}

.harness-line span,
.harness-line strong,
.harness-line small {
  display: block;
}

.harness-line span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
}

.harness-line strong {
  margin-top: 21px;
  font-size: 16px;
}

.harness-line small {
  margin-top: 7px;
  color: rgb(255 255 255 / 50%);
}

.harness-line i {
  background: rgb(255 255 255 / 26%);
}

.md-evidence {
  margin-top: 72px;
  padding-top: 60px;
  border-top: 1px solid rgb(255 255 255 / 17%);
}

.md-evidence-heading {
  display: grid;
  grid-template-columns: 150px minmax(300px, 0.75fr) minmax(330px, 1.25fr);
  gap: 30px;
  align-items: start;
}

.md-evidence-heading .sub-kicker {
  color: #78cdbf;
}

.md-evidence-heading h3 {
  font-size: 29px;
}

.md-evidence-heading > p:last-child {
  color: rgb(255 255 255 / 58%);
}

.md-doc-grid {
  display: grid;
  margin-top: 38px;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.md-doc {
  min-width: 0;
  overflow: hidden;
  background: #0d1412;
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: var(--radius);
  transition: border-color 240ms ease, transform 240ms ease;
}

.md-doc:hover {
  border-color: rgb(120 205 191 / 52%);
  transform: translateY(-3px);
}

.md-doc-wide {
  grid-column: 1 / -1;
}

.md-filebar {
  display: flex;
  min-height: 47px;
  padding: 0 18px;
  align-items: center;
  gap: 13px;
  background: #202a27;
  border-bottom: 1px solid rgb(255 255 255 / 11%);
}

.md-filebar span {
  padding: 2px 6px;
  color: var(--night);
  background: var(--gold);
  border-radius: 2px;
  font-size: 9px;
  font-weight: 900;
}

.md-filebar strong {
  min-width: 0;
  overflow: hidden;
  color: rgb(255 255 255 / 76%);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.md-doc pre {
  min-height: 295px;
  margin: 0;
  padding: 24px;
  overflow: hidden;
  white-space: pre-wrap;
}

.md-doc code {
  color: #cbd6d1;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 13px;
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.md-doc-wide pre {
  min-height: 0;
}

.progress-doc code {
  color: #b9c9c3;
}

.md-evidence-note {
  display: grid;
  margin-top: 20px;
  padding: 25px 28px;
  grid-template-columns: 230px 1fr;
  gap: 28px;
  background: #202a27;
  border-left: 4px solid #72c8ba;
}

.md-evidence-note strong {
  font-size: 16px;
}

.md-evidence-note p {
  color: rgb(255 255 255 / 59%);
}

.dark-quote {
  color: var(--white);
  background: #202a27;
  border-color: #6fc6b8;
}

.stage-six .handoff {
  color: rgb(255 255 255 / 72%);
  background: rgb(255 255 255 / 5%);
}

.agent-evolution {
  display: grid;
  margin-top: 52px;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: stretch;
}

.evolution-copy {
  display: grid;
  grid-template-columns: 1fr 44px 1fr;
  align-items: center;
}

.evolution-copy article {
  min-height: 230px;
  padding: 27px;
  background: var(--white);
  border-top: 4px solid var(--teal);
}

.evolution-copy article:last-child {
  border-color: var(--red);
}

.evolution-copy span {
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
}

.evolution-copy h3 {
  margin-top: 20px;
  font-size: 23px;
}

.evolution-copy p {
  margin-top: 13px;
  color: var(--muted);
  font-size: 14px;
}

.evolution-copy i {
  height: 1px;
  background: var(--line);
}

.agent-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--night);
}

.agent-metrics span {
  display: flex;
  min-height: 115px;
  padding: 18px;
  flex-direction: column;
  justify-content: center;
  color: rgb(255 255 255 / 58%);
  border-right: 1px solid rgb(255 255 255 / 13%);
  border-bottom: 1px solid rgb(255 255 255 / 13%);
  font-size: 11px;
}

.agent-metrics strong {
  color: var(--white);
  font-size: 27px;
  line-height: 1;
}

.agent-pair figure {
  min-height: 350px;
}

.chapter-close {
  margin-top: 62px;
  padding-top: 33px;
  color: var(--ink);
  border-top: 1px solid var(--line);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.65;
}

.closing-section {
  padding: 116px 0;
  color: var(--white);
  background: #1d2926;
}

.closing-grid {
  display: grid;
  grid-template-columns: 150px minmax(350px, 0.8fr) minmax(420px, 1.2fr);
  gap: 42px;
  align-items: start;
}

.closing-section .section-index {
  color: #79c9bc;
}

.thread-list {
  border-top: 1px solid rgb(255 255 255 / 20%);
}

.thread-list > div {
  display: grid;
  padding: 20px 0;
  grid-template-columns: 52px 1fr;
  border-bottom: 1px solid rgb(255 255 255 / 20%);
}

.thread-list span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.thread-list p {
  color: rgb(255 255 255 / 76%);
  font-size: 17px;
}

.about-section {
  padding: 128px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.72fr) minmax(440px, 1.28fr);
  gap: 86px;
  align-items: center;
}

.about-photo {
  max-height: 680px;
}

.about-photo img {
  object-position: center 35%;
}

.about-copy h2 {
  margin-top: 14px;
}

.about-copy > p:not(.section-index) {
  max-width: 650px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 17px;
}

.about-tags {
  display: flex;
  margin: 34px 0;
  flex-wrap: wrap;
  gap: 9px;
}

.about-tags span {
  padding: 7px 11px;
  color: #35423d;
  background: #e8ece8;
  border-radius: 3px;
  font-size: 13px;
  transition: color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.about-tags span:hover {
  color: var(--white);
  background: var(--teal);
  transform: translateY(-2px);
}

.about-future {
  margin-top: 42px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.about-future > span {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.about-future h3 {
  max-width: 660px;
  margin-top: 10px;
  font-size: 27px;
  line-height: 1.4;
}

.about-future p {
  max-width: 680px;
  margin-top: 17px;
  color: var(--muted);
}

.about-contact {
  margin-top: 46px;
  padding: 36px 40px 38px;
  color: var(--white);
  background: var(--night);
  border-radius: var(--radius);
}

.contact-label {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.contact-mail {
  display: inline-block;
  margin-top: 14px;
  padding-bottom: 2px;
  color: var(--white);
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  word-break: break-all;
  text-decoration: none;
  border-bottom: 3px solid var(--gold);
  transition: color 220ms ease;
}

.contact-mail:hover,
.contact-mail:focus-visible {
  color: var(--gold);
}

.contact-note {
  margin-top: 14px;
  color: rgb(255 255 255 / 62%);
  font-size: 14px;
}

.learning-title {
  margin: 34px 0 0;
  font-size: 20px;
}

.site-footer {
  padding: 38px 0;
  color: var(--white);
  background: var(--night);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 28px;
  align-items: center;
}

.footer-inner span {
  color: rgb(255 255 255 / 60%);
  font-size: 13px;
}

.filing-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.filing-links a {
  color: rgb(255 255 255 / 60%);
  font-size: 12px;
  text-decoration: none;
}

.filing-links a:hover,
.filing-links a:focus-visible {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.story-shell::before {
  display: none;
}

.story-order {
  display: block;
  width: auto;
  height: auto;
  color: var(--red);
  background: transparent;
  border-radius: 0;
  font-size: 13px;
}

.story-order::after {
  content: " /";
}

.story-paragraphs,
.agent-story-copy {
  max-width: 880px;
  margin-top: 38px;
}

.story-paragraphs p,
.agent-story-copy p {
  color: var(--muted);
  font-size: 17px;
}

.story-paragraphs p + p,
.agent-story-copy p + p {
  margin-top: 18px;
}

.story-paragraphs strong,
.agent-story-copy strong,
.process-copy strong,
.capability-copy strong,
.metric-sentence strong,
.harness-process strong,
.ai-detail strong {
  color: var(--ink);
}

.process-copy,
.capability-copy,
.story-summary,
.harness-process,
.transition-copy {
  max-width: 880px;
  margin-top: 38px;
  color: var(--muted);
  font-size: 17px;
}

.ismp-deep-dive {
  max-width: 900px;
  margin-top: 56px;
}

.ismp-deep-dive h3 {
  font-size: 29px;
}

.ismp-deep-dive h3:not(:first-child) {
  margin-top: 52px;
}

.ismp-deep-dive p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
}

.stage-six .harness-process strong {
  color: var(--white);
}

.project-ledger {
  border-top: 0;
}

.project-ledger article {
  min-height: 0;
  padding: 18px 0;
  border-bottom: 0;
}

.project-ledger article + article {
  margin-top: 14px;
}

.project-ledger article:hover {
  background: transparent;
}

blockquote,
.dark-quote {
  max-width: 880px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border-left: 0;
  font-size: 22px;
  font-weight: 650;
}

.dark-quote {
  color: var(--white);
}

.handoff,
.stage-one .handoff,
.stage-three .handoff,
.stage-four .handoff,
.stage-six .handoff {
  display: flex;
  max-width: 880px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border-left: 0;
}

.stage-six .handoff {
  color: rgb(255 255 255 / 58%);
}

.handoff span {
  position: static;
  margin-right: 14px;
  flex: none;
}

.metric-sentence {
  max-width: 900px;
  margin-top: 42px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.75;
}

.metric-sentence strong {
  margin: 0 4px;
  font-size: 25px;
}

.ai-detail {
  margin-top: 26px;
  color: var(--muted);
}

.coding-story {
  max-width: 880px;
  margin-top: 42px;
}

.coding-story p {
  color: rgb(255 255 255 / 62%);
}

.coding-story p + p {
  margin-top: 20px;
}

.coding-story time {
  display: inline-block;
  min-width: 118px;
  margin-right: 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.coding-story strong {
  margin-right: 6px;
  color: var(--white);
}

.agent-counts {
  margin-top: 28px;
}

.chapter-close {
  padding-top: 0;
  border-top: 0;
}

.closing-copy {
  max-width: 570px;
  color: rgb(255 255 255 / 72%);
  font-size: 18px;
}

.about-future {
  border-top: 0;
}

.primary-link {
  transition: transform 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.primary-link:hover,
.primary-link:focus-visible {
  background: #f1c956;
  box-shadow: 0 10px 28px rgb(0 0 0 / 18%);
  transform: translateY(-2px);
}

@keyframes hero-image-in {
  from {
    opacity: 0.72;
    transform: scale(1.025);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes section-rise {
  from {
    opacity: 0;
    transform: translateY(34px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-image {
  animation: hero-image-in 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-content .eyebrow,
.hero-content h1,
.hero-content .hero-role,
.hero-content .hero-copy,
.hero-content .hero-links {
  animation: hero-copy-in 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-content h1 {
  animation-delay: 60ms;
}

.hero-content .hero-role {
  animation-delay: 120ms;
}

.hero-content .hero-copy {
  animation-delay: 180ms;
}

.hero-content .hero-links {
  animation-delay: 240ms;
}

@supports (animation-timeline: view()) {
  .journey-intro-grid > .section-index,
  .story-meta,
  .story-content > .stage-kicker,
  .wide-visual,
  .feature-gallery-heading,
  .workflow-visual,
  .paired-visuals,
  .ai-story,
  .portal-story,
  .md-evidence,
  .closing-grid > .section-index,
  .about-photo {
    animation: section-rise linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 22%;
  }
}

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

  .site-header {
    padding: 0 20px;
  }

  .journey-intro-grid,
  .closing-grid {
    grid-template-columns: 110px 1fr;
  }

  .thread-list {
    grid-column: 2;
  }

  .closing-copy {
    grid-column: 2;
  }

  .story-shell {
    grid-template-columns: 138px minmax(0, 1fr);
    gap: 38px;
  }

  .story-shell::before {
    left: 137px;
  }

  .project-ledger article {
    grid-template-columns: 150px 180px 1fr;
    gap: 22px;
  }

  .delivery-line {
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
  }

  .delivery-line i {
    display: none;
  }

  .ai-story,
  .portal-story,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .portal-story figure {
    order: 2;
  }

  .agent-evolution {
    grid-template-columns: 1fr;
  }

  .agent-metrics {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1180px) {
  .chapter-rail {
    display: none;
  }
}

@media (min-width: 1181px) and (max-width: 1439px) {
  .page-shell {
    width: min(calc(100% - 176px), var(--shell));
  }
}

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

  .site-header {
    height: 66px;
    padding: 0 14px;
  }

  .brand,
  .header-article-link {
    min-height: 44px;
  }

  .header-article-link {
    display: inline-flex;
    align-items: center;
  }

  .hero {
    min-height: 520px;
    height: 88vh;
    height: 88svh;
    max-height: 700px;
  }

  .hero-image {
    object-position: 60% center;
  }

  .hero-overlay {
    background: rgb(8 17 15 / 30%);
  }

  .hero-content {
    min-height: 100%;
    padding-top: 94px;
    padding-bottom: 38px;
    justify-content: flex-end;
  }

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

  .hero-role {
    font-size: 23px;
  }

  .hero-copy {
    font-size: 14px;
    line-height: 1.7;
  }

  .hero-links {
    gap: 16px;
    margin-top: 24px;
  }

  .primary-link {
    gap: 8px;
    font-size: 14px;
  }

  .journey-intro,
  .story-section,
  .closing-section,
  .about-section {
    padding: 78px 0;
  }

  .journey-intro-grid,
  .closing-grid {
    display: block;
  }

  .journey-intro .section-index,
  .closing-section .section-index {
    margin-bottom: 15px;
  }

  .journey-intro h2,
  .story-content > h2,
  .closing-grid h2,
  .about-copy h2 {
    font-size: 34px;
  }

  .thread-list {
    margin-top: 38px;
  }

  .story-shell {
    display: block;
  }

  .story-shell::before {
    display: none;
  }

  .story-meta {
    display: grid;
    margin-bottom: 34px;
    padding: 0 0 20px;
    grid-template-columns: 45px 112px 1fr;
    gap: 13px;
    align-items: center;
    border-bottom: 0;
  }

  .story-order {
    width: auto;
    height: auto;
  }

  .story-meta time,
  .story-role {
    margin: 0;
  }

  .story-meta time {
    font-size: 13px;
  }

  .story-role {
    text-align: right;
    font-size: 11px;
  }

  .stage-six .story-meta {
    border-color: rgb(255 255 255 / 16%);
  }

  .stage-lead {
    font-size: 16px;
  }

  .ipo-flow {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ipo-flow i {
    display: none;
  }

  .ipo-flow > div {
    min-height: 138px;
  }

  .stage-notes,
  .paired-visuals,
  .result-strip,
  .agent-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .stage-notes > div,
  .stage-notes > div + div {
    padding: 18px;
  }

  .stage-notes > div:first-child {
    padding-left: 0;
  }

  .handoff {
    padding: 0;
  }

  .handoff span {
    top: auto;
    left: auto;
  }

  .project-ledger article {
    display: block;
    min-height: 0;
    padding: 26px 0;
  }

  .project-ledger h3 {
    margin-top: 8px;
  }

  .project-ledger p {
    margin-top: 12px;
  }

  .project-ledger strong {
    display: block;
    margin-top: 13px;
  }

  .delivery-line {
    grid-template-columns: 1fr 1fr;
  }

  .delivery-line span:last-child {
    grid-column: 1 / -1;
  }

  blockquote {
    padding: 0;
    font-size: 19px;
  }

  .wide-visual {
    aspect-ratio: 4 / 3;
  }

  .product-home-visual {
    aspect-ratio: 4 / 3;
  }

  .wide-visual figcaption span,
  .workflow-visual figcaption span {
    display: block;
    margin: 0 0 3px;
  }

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

  .platform-grid > div {
    min-height: 166px;
    padding: 20px;
    border-bottom: 1px solid rgb(255 255 255 / 14%);
  }

  .feature-gallery-heading {
    display: block;
    margin-top: 48px;
  }

  .feature-gallery-heading > span {
    display: block;
    margin-bottom: 9px;
  }

  .feature-gallery-heading h3 {
    font-size: 25px;
  }

  .workflow-visual {
    aspect-ratio: 4 / 3;
  }

  .paired-visuals {
    grid-template-columns: 1fr;
  }

  .paired-visuals figure,
  .agent-pair figure {
    min-height: 250px;
  }

  .result-strip > div,
  .result-strip > div:first-child {
    min-height: 108px;
    padding: 16px;
  }

  .result-strip > div:nth-child(2) {
    border-right: 0;
  }

  .result-strip > div:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid #b6c8bf;
  }

  .ai-story,
  .portal-story {
    margin-top: 54px;
    gap: 36px;
  }

  .ai-copy h3,
  .portal-story h3 {
    font-size: 27px;
  }

  .ai-story figure {
    aspect-ratio: 4 / 5;
  }

  .harness-line {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .coding-origin article {
    display: block;
  }

  .coding-origin h3 {
    margin-top: 8px;
  }

  .harness-title {
    font-size: 27px;
  }

  .harness-line i {
    display: none;
  }

  .harness-line > div {
    min-height: 140px;
  }

  .md-evidence {
    margin-top: 54px;
    padding-top: 48px;
  }

  .md-evidence-heading {
    display: block;
  }

  .md-evidence-heading h3 {
    margin-top: 10px;
    font-size: 26px;
  }

  .md-evidence-heading > p:last-child {
    margin-top: 14px;
  }

  .md-doc-grid {
    grid-template-columns: 1fr;
  }

  .md-doc-wide {
    grid-column: auto;
  }

  .md-doc pre {
    min-height: 0;
    padding: 19px;
  }

  .md-doc code {
    font-size: 11px;
  }

  .md-evidence-note {
    display: block;
    padding: 22px;
  }

  .md-evidence-note p {
    margin-top: 8px;
  }

  .evolution-copy {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .evolution-copy i {
    display: none;
  }

  .evolution-copy article {
    min-height: 200px;
  }

  .chapter-close {
    font-size: 20px;
  }

  .metric-sentence {
    font-size: 18px;
  }

  .metric-sentence strong {
    font-size: 21px;
  }

  .ismp-deep-dive h3 {
    font-size: 25px;
  }

  .coding-story time {
    display: block;
    margin-bottom: 5px;
  }

  .closing-copy {
    margin-top: 28px;
    font-size: 16px;
  }

  .about-grid {
    gap: 42px;
  }

  .about-photo {
    max-height: 540px;
  }

  .about-future {
    margin-top: 34px;
    padding-top: 28px;
  }

  .about-future h3 {
    font-size: 24px;
  }

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

@media (max-width: 420px) {
  .hero h1 {
    font-size: 44px;
  }

  .hero-role {
    font-size: 21px;
  }

  .hero-copy {
    font-size: 13px;
  }

  .journey-intro h2,
  .story-content > h2,
  .closing-grid h2,
  .about-copy h2 {
    overflow-wrap: anywhere;
    font-size: 30px;
  }

  .story-meta {
    grid-template-columns: 38px 96px minmax(0, 1fr);
    gap: 10px;
  }

  .story-role {
    overflow-wrap: anywhere;
  }

  .paired-visuals figure,
  .agent-pair figure {
    min-height: 220px;
  }

  .about-photo {
    max-height: 440px;
  }
}

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

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