.hopeflow-project-page {
  padding-top: clamp(2.4rem, 4vw, 6.4rem);
}

.hopeflow-project-page .post-content {
  color: inherit;
}

.hopeflow-case {
  --hf-surface: #080a08;
  --hf-panel: #10140f;
  --hf-ink: #f4f6f0;
  --hf-muted: #9ba397;
  --hf-accent: #baff00;
  --hf-line: #293226;
  --hf-space-2: 0.8rem;
  --hf-space-3: 1.2rem;
  --hf-space-4: 1.6rem;
  --hf-space-6: 2.4rem;
  --hf-space-8: 3.2rem;
  --hf-space-12: 4.8rem;
  --hf-space-16: 6.4rem;
  --hf-space-24: 9.6rem;
  overflow: hidden;
  border-radius: clamp(2rem, 3vw, 4.8rem);
  background: var(--hf-surface);
  color: var(--hf-ink);
  font-family: "Manrope", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.hopeflow-case a {
  color: inherit;
}

.hopeflow-hero,
.hopeflow-chapter,
.hopeflow-workflows,
.hopeflow-system,
.hopeflow-delivery,
.hopeflow-business,
.hopeflow-closing {
  padding-inline: clamp(2rem, 5vw, 8rem);
}

.hopeflow-hero {
  padding-top: clamp(3.2rem, 5vw, 7.2rem);
}

.hopeflow-breadcrumbs,
.hopeflow-kicker,
.hopeflow-index,
.hopeflow-note,
.hopeflow-figure figcaption {
  font: 500 1.2rem/1.4 "JetBrains Mono", "Cascadia Code", monospace;
  letter-spacing: 0.06em;
}

.hopeflow-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hf-space-2);
  color: var(--hf-muted);
}

.hopeflow-breadcrumbs a {
  transition: color 0.3s ease;
}

.hopeflow-breadcrumbs a:hover,
.hopeflow-breadcrumbs a:focus-visible {
  color: var(--hf-accent);
}

.hopeflow-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(28rem, 0.65fr);
  gap: var(--hf-space-12);
  align-items: end;
  margin-top: clamp(7rem, 10vw, 15rem);
}

.hopeflow-kicker,
.hopeflow-index {
  margin: 0 0 var(--hf-space-6);
  color: var(--hf-accent);
}

.hopeflow-hero h1,
.hopeflow-section-heading h2,
.hopeflow-chapter h2,
.hopeflow-principle p:last-child,
.hopeflow-delivery h2,
.hopeflow-business h2,
.hopeflow-closing h2 {
  margin: 0;
  color: var(--hf-ink);
  text-wrap: balance;
}

.hopeflow-hero h1 {
  font-size: clamp(4.6rem, 7vw, 11rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.hopeflow-hero h1 span {
  display: block;
}

.hopeflow-hero__lead,
.hopeflow-chapter__copy p,
.hopeflow-section-heading--split > p,
.hopeflow-workflow__copy > p:not(.hopeflow-index, .hopeflow-note),
.hopeflow-delivery__copy > p:not(.hopeflow-index),
.hopeflow-business__copy > p:not(.hopeflow-index),
.hopeflow-closing__copy > p:not(.hopeflow-index) {
  color: var(--hf-muted);
  font-size: clamp(1.7rem, 1.35vw, 2.1rem);
  line-height: 1.72;
  text-wrap: pretty;
}

.hopeflow-hero__lead {
  max-width: 48rem;
  margin: 0;
}

.hopeflow-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(5rem, 7vw, 9rem) 0 var(--hf-space-12);
  border-top: 1px solid var(--hf-line);
  border-bottom: 1px solid var(--hf-line);
}

.hopeflow-facts div {
  padding: var(--hf-space-6) var(--hf-space-4);
  border-right: 1px solid var(--hf-line);
}

.hopeflow-facts div:last-child {
  border-right: 0;
}

.hopeflow-facts dt {
  color: var(--hf-muted);
  font: 500 1.1rem/1.4 "JetBrains Mono", monospace;
}

.hopeflow-facts dd {
  margin: var(--hf-space-2) 0 0;
  color: var(--hf-ink);
  font-size: clamp(2.2rem, 3vw, 4.2rem);
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.hopeflow-figure {
  margin: 0;
  overflow: hidden;
  background: var(--hf-panel);
}

.hopeflow-figure img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  transition: transform 0.6s var(--_animbezier);
}

.hopeflow-figure:hover img {
  transform: scale(1.008);
}

.hopeflow-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: var(--hf-space-4);
  padding: var(--hf-space-4) var(--hf-space-6);
  color: var(--hf-muted);
  border-top: 1px solid var(--hf-line);
}

.hopeflow-figure figcaption span {
  color: var(--hf-accent);
}

.hopeflow-chapter {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(28rem, 0.8fr);
  gap: clamp(4rem, 8vw, 13rem);
  align-items: end;
  padding-top: clamp(10rem, 15vw, 22rem);
  padding-bottom: clamp(7rem, 10vw, 14rem);
}

.hopeflow-chapter h2,
.hopeflow-section-heading h2,
.hopeflow-delivery h2,
.hopeflow-business h2 {
  font-size: clamp(3.4rem, 4.5vw, 6.8rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.hopeflow-chapter__copy p {
  max-width: 60rem;
  margin: 0 0 var(--hf-space-6);
}

.hopeflow-figure--wide {
  margin-inline: clamp(2rem, 5vw, 8rem);
}

.hopeflow-principle {
  margin-top: clamp(10rem, 16vw, 24rem);
  padding: clamp(8rem, 10vw, 14rem) clamp(2rem, 8vw, 14rem);
  border-top: 1px solid var(--hf-line);
  border-bottom: 1px solid var(--hf-line);
  text-align: center;
}

.hopeflow-principle p:last-child {
  font-size: clamp(3.6rem, 5.8vw, 9rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.045em;
}
