@import url("./route-v1.css");

/* Chapter-scale storytelling; the original workshop remains a working demo. */
.hero {
  padding-top: 40px;
  background: #fff;
}
.hero-art {
  width: min(1100px, 100%);
  margin: 28px auto 0;
}
.hero-art img {
  height: 300px;
  object-fit: cover;
  object-position: center 55%;
}
.hero-art figcaption {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 14px 0;
  color: #58665f;
  font-size: 12px;
}
.hero-art figcaption span {
  color: #7a827e;
  font-size: 10px;
}
.intro {
  padding-top: 64px;
  padding-bottom: 68px;
}
.capabilities {
  background: #fff;
}
.capabilities-heading {
  padding-top: 76px;
  padding-bottom: 56px;
  text-align: center;
}
.capabilities-heading h2 {
  font-size: 48px;
  line-height: 1.4;
  margin-top: 18px;
}
.capabilities-heading h2 span {
  color: #66736c;
}
.capabilities-heading > p:last-child {
  font-size: 16px;
  line-height: 1.9;
  color: #66736c;
  margin-top: 24px;
}
.chapter-nav {
  position: sticky;
  top: 72px;
  z-index: 15;
  background: #ffffffed;
  backdrop-filter: blur(18px);
  border-top: 1px solid #e4e9e6;
  border-bottom: 1px solid #e4e9e6;
}
.chapter-nav > div {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.chapter-nav a {
  padding: 18px 0;
  text-align: center;
  font-size: 12px;
  color: #717b74;
  border-bottom: 2px solid transparent;
  transition:
    color 0.25s,
    border-color 0.25s;
}
.chapter-nav a span {
  margin-right: 10px;
  font-size: 11px;
}
.chapter-nav a[aria-current] {
  color: #26735c;
  border-bottom-color: #26735c;
}
.capability {
  --accent: #26735c;
  scroll-margin-top: 145px;
  background: #fff;
  border-bottom: 1px solid #e8ece9;
  overflow: hidden;
}
.capability-2 {
  --accent: #a95a40;
  background: #fcf6f3;
}
.capability-3 {
  --accent: #286d83;
  background: #f0f6f8;
}
.capability-4 {
  --accent: #536b8d;
  background: #f4f5f9;
}
.capability-5 {
  --accent: #26735c;
  background: #eff6f2;
}
.chapter-body {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  column-gap: 44px;
  row-gap: 30px;
  align-items: center;
  padding-top: 82px;
  padding-bottom: 56px;
  min-height: 830px;
}
.chapter-label {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}
.chapter-label span {
  font-size: 52px;
  line-height: 1.1;
  font-weight: 400;
}
.chapter-copy h3 {
  font-size: 40px;
  line-height: 1.45;
  margin-top: 25px;
}
.chapter-intent {
  font-size: 17px;
  font-weight: 550;
  margin-top: 24px;
}
.chapter-description {
  font-size: 14px;
  color: #657168;
  line-height: 1.95;
  margin-top: 14px;
}
.chapter-demo {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  color: var(--accent);
  font-size: 12px;
  margin-top: 25px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--accent);
}
.chapter-art {
  min-width: 0;
  perspective: 1200px;
}
.chapter-art img {
  aspect-ratio: 1.5;
  object-fit: contain;
  mix-blend-mode: multiply;
  transform: translateY(var(--art-offset, 0px));
  transition: transform 0.7s ease-out;
}
.chapter-art figcaption {
  font-size: 10px;
  color: #78827c;
  text-align: center;
  margin-top: 10px;
}
.chapter-story {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  gap: 24px 44px;
  padding-top: 32px;
  border-top: 1px solid #d8e2db;
}
.chapter-story .eyebrow {
  color: var(--accent);
  align-self: start;
  margin-top: 4px;
  font-size: 12px;
}
.chapter-story > p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.9;
  color: #4d5c52;
}
.chapter-pipeline {
  grid-column: 2;
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0;
}
.chapter-pipeline li {
  position: relative;
  flex: 1;
  padding: 12px 0;
  font-size: 12px;
  border-top: 1px solid #bdcbc2;
  color: #48584e;
}
.chapter-pipeline li:not(:last-child):after {
  content: "→";
  position: absolute;
  right: 12px;
  top: 12px;
  color: #9eaca3;
}
.chapter-pipeline span {
  display: block;
  font-size: 9px;
  color: #7b8b80;
  margin-bottom: 8px;
}
.chapter-pipeline .human-step {
  color: var(--accent);
  border-color: var(--accent);
}
.chapter-bottom {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid #d8e2db;
  margin: 0;
}
.chapter-bottom dt {
  font-size: 11px;
  color: var(--accent);
}
.chapter-bottom dd {
  font-size: 13px;
  color: #4d5c52;
  margin: 8px 0 0;
}
.capabilities-close {
  text-align: center;
  padding-top: 76px;
  padding-bottom: 76px;
}
.capabilities-close > p {
  font-size: 13px;
  color: #657168;
}
.capabilities-close h3 {
  font-size: 32px;
  line-height: 1.5;
  margin-top: 16px;
}
.chapter-progress {
  width: 100%;
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 0;
  pointer-events: none;
}
@media (min-width: 1600px) {
  .hero {
    padding-top: 40px;
  }
  .chapter-body {
    min-height: 880px;
  }
}
@media (max-width: 1000px) {
  .chapter-body {
    column-gap: 24px;
    grid-template-columns: 1fr 1.25fr;
    min-height: 780px;
  }
  .chapter-copy h3 {
    font-size: 32px;
  }
  .chapter-intent {
    font-size: 15px;
  }
  .chapter-story {
    grid-template-columns: 1fr 1.25fr;
    column-gap: 24px;
  }
  .chapter-label span {
    font-size: 44px;
  }
}
@media (max-width: 650px) {
  .hero {
    padding-top: 35px;
  }
  .hero-art {
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-top: 24px;
  }
  .hero-art img {
    height: 240px;
    object-fit: cover;
    object-position: center 50%;
  }
  .hero-art figcaption {
    font-size: 10px;
    padding: 10px 0;
    gap: 10px;
  }
  .hero-art figcaption span {
    font-size: 8px;
  }
  .intro {
    padding-top: 45px;
    padding-bottom: 45px;
  }
  .capabilities-heading {
    padding-top: 54px;
    padding-bottom: 35px;
  }
  .capabilities-heading h2 {
    font-size: 30px;
  }
  .capabilities-heading > p:last-child {
    font-size: 13px;
  }
  .chapter-nav {
    top: 60px;
  }
  .chapter-nav > div {
    width: calc(100% - 20px);
    gap: 3px;
  }
  .chapter-nav a {
    font-size: 9px;
    padding: 13px 1px;
  }
  .chapter-nav a span {
    display: block;
    margin: 0 0 5px;
    font-size: 11px;
  }
  .capability {
    scroll-margin-top: 126px;
  }
  .chapter-body {
    grid-template-columns: 1fr;
    row-gap: 24px;
    min-height: 0;
    padding-top: 44px;
    padding-bottom: 36px;
  }
  .chapter-copy h3 {
    font-size: 31px;
    margin-top: 20px;
    line-height: 1.45;
  }
  .chapter-label {
    font-size: 12px;
    gap: 14px;
  }
  .chapter-label span {
    font-size: 38px;
  }
  .chapter-intent {
    font-size: 15px;
    margin-top: 18px;
  }
  .chapter-description {
    font-size: 13px;
  }
  .chapter-demo {
    margin-top: 18px;
    font-size: 12px;
  }
  .chapter-art {
    margin: 0 -12px;
  }
  .chapter-art img {
    transform: none;
  }
  .chapter-art figcaption {
    font-size: 9px;
  }
  .chapter-story {
    grid-column: 1;
    grid-template-columns: 1fr;
    gap: 13px;
    padding-top: 22px;
  }
  .chapter-story > p:not(.eyebrow) {
    font-size: 14px;
  }
  .chapter-pipeline {
    grid-column: 1;
    margin-top: 8px;
  }
  .chapter-pipeline li {
    font-size: 11px;
  }
  .chapter-pipeline li:not(:last-child):after {
    right: 6px;
    font-size: 9px;
  }
  .chapter-bottom {
    grid-column: 1;
    grid-template-columns: 1fr;
    gap: 15px;
    padding-top: 20px;
  }
  .chapter-bottom > div {
    display: grid;
    grid-template-columns: 94px 1fr;
    gap: 12px;
    align-items: baseline;
  }
  .chapter-bottom dt {
    font-size: 10px;
  }
  .chapter-bottom dd {
    margin: 0;
    font-size: 12px;
  }
  .capabilities-close {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .capabilities-close h3 {
    font-size: 25px;
  }
  .roadmap {
    padding-top: 60px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .chapter-art img {
    transform: none !important;
  }
  .chapter-nav a {
    transition: none;
  }
}
