/* 'Delegate anything to Copus': the two ways to hand over work, on the
 * dark band. */

#how {
  padding: 96px 0 80px;
}
.dc::before {
  transform-origin: left;
}
.dc__h {
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  transition: color 0.25s;
  grid-area: title;
  margin: 0;
  font-size: 27px;
  line-height: 1.14;
  text-wrap: balance;
  align-self: start;
}
.dc:hover .dc__h {
  color: var(--dark-accent-hover);
}
.dc__q {
  font-style: italic;
  font-size: 16px;
  line-height: 1.45;
  color: var(--dark-accent-soft);
  transition:
    translate 0.3s cubic-bezier(0.2, 0.7, 0.2, 1),
    color 0.25s;
  grid-area: example;
  margin: 0;
  min-height: 0;
  align-self: end;
}
#how .wrap {
  display: grid;
  grid-template-columns: minmax(330px, 4fr) minmax(620px, 7fr);
  gap: 90px;
  align-items: center;
}
#how .head {
  align-self: center;
}
#how .head h2 {
  max-width: 6.8em;
  text-wrap: balance;
}
.dcs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  display: flex;
  flex-direction: column;
  margin-top: 0;
  border-top: 0;
}
.dc {
  grid-row: span 5;
  align-content: start;
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  grid-template-rows: auto auto;
  grid-template-areas: 'title body' 'title example';
  column-gap: 36px;
  row-gap: 12px;
  min-height: 0;
  padding: 26px 18px 28px 28px;
  border-top: 1px solid var(--rule);
  border-radius: 0;
  transition: background 0.25s;
}
.dc + .dc {
  padding-left: 28px;
  border-left: 0;
  border-top: 1px solid var(--rule);
}
.dc::before,
.dc + .dc::before {
  content: '';
  position: absolute;
  left: 0;
  top: 28px;
  width: 3px;
  height: 28px;
  border-radius: 3px;
  background: var(--dark-accent);
  opacity: 0.76;
  transition:
    height 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
    opacity 0.25s;
}
.dc:hover {
  background: linear-gradient(90deg, color-mix(in srgb, var(--dark-accent) 8%, transparent), transparent 72%);
}
.dc:hover::before {
  width: 3px;
  height: calc(100% - 56px);
  opacity: 1;
}
.dc__s {
  color: var(--ink-2);
  grid-area: body;
  margin: 0;
  min-height: 0;
  font-size: 16px;
  line-height: 1.5;
}
.dc:hover .dc__q {
  color: var(--dark-accent-soft-hover);
  translate: 4px 0;
}
#how .how-scroll-reveal {
  opacity: 0;
  translate: 0 18px;
  transition:
    opacity 0.34s ease-out,
    translate 0.42s cubic-bezier(0.2, 0.7, 0.2, 1);
}
#how .how-scroll-reveal.how-in {
  opacity: 1;
  translate: 0 0;
}
@media (max-width: 900px) {
  #how .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  #how .head h2 {
    max-width: none;
  }
  .dc {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'title' 'body' 'example';
    padding: 24px 4px 26px 20px;
  }
  .dc + .dc {
    padding-left: 20px;
  }
}
@media (max-width: 680px) {
  .dc__h {
    font-size: 24px;
    text-wrap: balance;
  }
}
@media (prefers-reduced-motion: reduce) {
  #how .how-scroll-reveal {
    opacity: 1;
    translate: 0 0;
    transition: none;
  }
}
