.technology-page .engine-workbench-return[hidden] {
  display: none;
}

.engine-workbench-return span {
  margin-inline-end: .55em;
}

@media (prefers-reduced-motion: no-preference) {
  html.workbench-arriving::after,
  html.workbench-leaving::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #0b1d2c;
    pointer-events: none;
  }

  html.workbench-arriving::after {
    animation: workbench-curtain .5s ease-out reverse both;
  }

  html.workbench-arriving .engine-core {
    animation: engine-arrives .5s ease-out both;
  }

  html.workbench-leaving::after {
    animation: workbench-curtain .45s ease-in both;
  }
}

@keyframes workbench-curtain {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes engine-arrives {
  from { scale: .93; }
  to { scale: 1; }
}

@media (orientation: landscape) and (max-height: 560px) {
  .workbench-entry .engine-intro {
    min-height: 0;
    padding-block: 18px 36px;
    gap: 26px;
    align-items: start;
  }

  .workbench-entry .engine-intro h1 {
    font-size: clamp(35px, 5.2vw, 45px);
    line-height: 1.02;
  }

  .workbench-entry .engine-intro .lead {
    margin-block: .6rem .8rem;
  }

  .workbench-entry .engine-intro .body-copy {
    margin-block: .45rem 0;
  }

  .workbench-entry .engine-core {
    height: min(27vw, 230px);
  }
}
