.how-sec {
  position: relative;
  isolation: isolate;
}

[data-page=os] .how-sec .how-layers {
  grid-column: var(--c-body)/-1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(var(--gut) * 3);
  list-style: none;
  margin: 0;
  padding: 0;
}

.how-sec .how-layers > li {
  min-width: 0;
}

.how-sec .how-stage {
  position: relative;
  aspect-ratio: 1;
  margin: 0 0 var(--tl-l);
}

.how-sec .how-layer {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.how-sec .how-stage.is-rendered .how-layer {
  visibility: hidden;
}

.how-sec .how-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.how-sec .how-layers h3 {
  margin: 0 0 var(--r2t);
}

.how-sec .how-layers p {
  margin: 0;
  color: var(--text);
  max-width: calc(var(--em-b) * 26);
}

@media (max-width:767px), (max-width:1023px) and (max-aspect-ratio:9999/10000), (max-width:1023px) and (max-height:499px) {
  [data-page=os] .how-sec .how-layers {
    grid-column: 1/-1;
    grid-row: 3;
    grid-template-columns: minmax(0, 1fr);
    gap: calc(var(--em-tl-b) * 3);
    margin-top: var(--em-tl-b);
  }

  .how-sec .how-stage {
    aspect-ratio: 1.35;
    margin-bottom: var(--em-tl-b);
  }
}

@media (min-width:768px) and (max-width:1023px) and (max-aspect-ratio:9999/10000), (min-width:768px) and (max-width:1023px) and (max-height:499px) {
  [data-page=os] .how-sec .how-layers {
    grid-column: var(--c-body)/-1;
    grid-row: 2;
    margin-top: 0;
  }

  .how-sec .how-stage {
    aspect-ratio: 1.5;
  }
}
