.page-products {
  --bp-line: 2px solid var(--ink);
  --bp-hard: 8px 8px 0 var(--ink);
  --bp-gap: clamp(24px, 4vw, 44px);
  background: var(--paper);
  color: var(--ink);
}

.page-products .bp-hero {
  position: relative;
  padding-top: calc(var(--header-space) + clamp(18px, 3.5vw, 44px));
  padding-bottom: clamp(34px, 5vw, 76px);
  overflow: hidden;
}

.page-products .bp-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 58%;
  height: 74%;
  background: var(--karst);
  clip-path: polygon(30% 0, 100% 0, 100% 76%, 0 100%);
  opacity: 0.9;
  z-index: 0;
  display: none;
}

.page-products .bp-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(26px, 4vw, 44px);
}

.page-products .bp-hero__title {
  margin: 10px 0 0;
  font-size: clamp(30px, 5.2vw, 64px);
  line-height: 1.1;
  letter-spacing: 0.05em;
  max-width: 15ch;
}

.page-products .bp-hero__lede {
  margin: 20px 0 0;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.page-products .bp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-products .bp-hero__figure {
  position: relative;
  margin: 0;
}

.page-products .bp-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  border: var(--border-hard);
  box-shadow: var(--shadow-hard);
  object-fit: cover;
}

.page-products .bp-hero__figure::after {
  content: "";
  position: absolute;
  left: 8%;
  bottom: 12%;
  width: 44%;
  height: 5px;
  background: var(--flare);
  transform: rotate(-7deg);
}

.page-products .bp-chain {
  background: var(--paper-2);
  border-top: var(--border-hard);
  border-bottom: var(--border-hard);
  padding: clamp(38px, 6vw, 82px) 0;
}

.page-products .bp-chain__lede {
  margin: 14px 0 0;
  max-width: 66ch;
  line-height: 1.9;
  color: var(--ink-soft);
}

.page-products .bp-chain__steps {
  list-style: none;
  margin: clamp(24px, 4vw, 42px) 0 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.page-products .bp-chain__step {
  padding-top: 16px;
  border-top: var(--bp-line);
}

.page-products .bp-chain__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--stone);
}

.page-products .bp-chain__step h3 {
  margin: 8px 0 0;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.page-products .bp-chain__step p {
  margin: 8px 0 14px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.page-products .bp-lines {
  padding: clamp(40px, 7vw, 96px) 0;
}

.page-products .bp-lines__grid {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
}

.page-products .bp-rail__title {
  margin: 8px 0 0;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.page-products .bp-rail__note {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.page-products .bp-rail__sub {
  margin: 26px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--stone);
}

.page-products .bp-tags {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 8px;
}

.page-products .bp-tags a.tag {
  display: inline-block;
  text-decoration: none;
}

.page-products .bp-tags li:nth-child(2) {
  margin-left: 10px;
}

.page-products .bp-tags li:nth-child(3) {
  margin-left: 20px;
}

.page-products .bp-tags li:nth-child(4) {
  margin-left: 30px;
}

.page-products .bp-tags--sm {
  gap: 8px;
}

.page-products .bp-tags--sm li:nth-child(n) {
  margin-left: 0;
}

.page-products .bp-tags--sm .tag {
  font-size: 12px;
}

.page-products .bp-cards {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.page-products .bp-card {
  position: relative;
  background: var(--paper);
  border: var(--border-hard);
  box-shadow: var(--bp-hard);
  padding: clamp(18px, 2.6vw, 30px);
}

.page-products .bp-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 2px dashed var(--sand);
}

.page-products .bp-card__index {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--stone);
}

.page-products .bp-card__title {
  margin: 14px 0 0;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.page-products .bp-card__body {
  margin: 10px 0 0;
  max-width: 62ch;
  line-height: 1.9;
  color: var(--ink-soft);
}

.page-products .bp-card__figure {
  margin: 18px 0 0;
}

.page-products .bp-card__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: var(--border-hard);
}

.page-products .bp-card__figure--tall {
  max-width: 340px;
}

.page-products .bp-card__figure--tall img {
  aspect-ratio: 3 / 4;
}

.page-products .bp-topo {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 16px;
}

.page-products .bp-topo .link {
  fill: none;
  stroke: var(--flare);
  stroke-width: 3;
  stroke-dasharray: 7 5;
}

.page-products .bp-topo .node {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 2;
}

.page-products .bp-topo text {
  font-family: var(--font-mono);
  font-size: 11px;
  fill: var(--karst);
}

.page-products .bp-card__who {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 600;
  color: var(--indigo);
}

.page-products .bp-card__more {
  margin-top: 16px;
  padding-top: 12px;
  border-top: var(--bp-line);
}

.page-products .bp-card__more summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--karst);
}

.page-products .bp-card__more summary::-webkit-details-marker {
  display: none;
}

.page-products .bp-card__more summary::before {
  content: "+ ";
  color: var(--flare);
  font-weight: 700;
}

.page-products .bp-card__more[open] summary::before {
  content: "– ";
}

.page-products .bp-card__more ul {
  margin: 12px 0 0;
  padding-left: 18px;
  line-height: 1.9;
  font-size: 15px;
}

.page-products .bp-cycle {
  background: var(--karst);
  color: var(--paper);
  padding: clamp(40px, 7vw, 92px) 0;
}

.page-products .bp-cycle .eyebrow {
  color: var(--signal);
}

.page-products .bp-cycle .h-section {
  color: var(--paper);
}

.page-products .bp-cycle__lede {
  margin: 14px 0 0;
  max-width: 64ch;
  line-height: 1.9;
  color: rgba(243, 238, 226, 0.78);
}

.page-products .bp-cycle__grid {
  display: grid;
  gap: 30px;
  margin-top: clamp(24px, 4vw, 40px);
}

.page-products .bp-cycle__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .bp-cycle__list li {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid rgba(243, 238, 226, 0.28);
}

.page-products .bp-cycle__list li:last-child {
  border-bottom: 1px solid rgba(243, 238, 226, 0.28);
}

.page-products .bp-cycle__stage {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--signal);
}

.page-products .bp-cycle__span {
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.page-products .bp-cycle__list p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(243, 238, 226, 0.72);
}

.page-products .bp-cycle__scene {
  background: var(--karst-soft);
  border: 2px solid rgba(243, 238, 226, 0.4);
  padding: clamp(18px, 2.6vw, 30px);
}

.page-products .bp-cycle__scene h3 {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.page-products .bp-cycle__scene p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(243, 238, 226, 0.8);
}

.page-products .bp-cycle__scene .btn {
  margin-top: 6px;
}

.page-products .bp-cases {
  padding: clamp(40px, 7vw, 92px) 0;
}

.page-products .bp-cases__panel {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  border: var(--border-hard);
  box-shadow: var(--shadow-flare);
  padding: clamp(24px, 4vw, 54px);
}

.page-products .eyebrow--paper {
  color: var(--signal);
}

.page-products .bp-cases .h-section {
  color: var(--paper);
}

.page-products .bp-cases__lede {
  margin: 14px 0 0;
  max-width: 62ch;
  line-height: 1.9;
  color: rgba(243, 238, 226, 0.78);
}

.page-products .bp-cases__stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0;
  padding: 0;
}

.page-products .bp-cases__stats li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(243, 238, 226, 0.35);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.page-products .bp-cases__num {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--signal);
}

.page-products .bp-next {
  padding: 0 0 clamp(40px, 6vw, 84px);
}

.page-products .bp-next__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--paper-2);
  border: var(--border-hard);
  box-shadow: var(--bp-hard);
  padding: clamp(20px, 3vw, 34px);
}

.page-products .bp-next__title {
  margin: 0;
  flex: 1 1 100%;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.page-products .bp-next__text {
  margin: 0;
  flex: 1 1 320px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.page-products .bp-next__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (min-width: 760px) {
  .page-products .bp-chain__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 0;
  }

  .page-products .bp-chain__step {
    border-top: 0;
    border-left: var(--bp-line);
    padding: 4px 22px 4px 22px;
  }

  .page-products .bp-chain__step:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .page-products .bp-hero__figure::after {
    height: 6px;
  }
}

@media (min-width: 900px) {
  .page-products .bp-hero::before {
    display: block;
  }

  .page-products .bp-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
  }

  .page-products .bp-chain__steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }

  .page-products .bp-chain__step {
    border-top: 0;
    border-left: var(--bp-line);
    padding: 4px 20px;
  }

  .page-products .bp-chain__step:nth-child(odd) {
    border-left: var(--bp-line);
    padding-left: 20px;
  }

  .page-products .bp-chain__step:first-child {
    border-left: 0;
    padding-left: 0;
  }

  .page-products .bp-cycle__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: start;
  }
}

@media (min-width: 980px) {
  .page-products .bp-lines__grid {
    grid-template-columns: 286px minmax(0, 1fr);
    gap: 64px;
    align-items: start;
  }

  .page-products .bp-rail {
    position: sticky;
    top: calc(var(--header-space) + 16px);
  }

  .page-products .bp-tags {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }

  .page-products .bp-tags li:nth-child(1) {
    margin-left: 0;
  }

  .page-products .bp-tags li:nth-child(2) {
    margin-left: 16px;
  }

  .page-products .bp-tags li:nth-child(3) {
    margin-left: 32px;
  }

  .page-products .bp-tags li:nth-child(4) {
    margin-left: 48px;
  }

  .page-products .bp-tags--sm {
    flex-direction: row;
  }

  .page-products .bp-tags--sm li:nth-child(n) {
    margin-left: 0;
  }

  .page-products .bp-card:nth-child(even) {
    margin-left: clamp(28px, 6vw, 76px);
  }

  .page-products .bp-card__figure--tall {
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .bp-hero__figure::after {
    transform: none;
  }
}
