/* The three animated direction previews exist only on the homepage. */
.home .ai-cat-demo { width: 100%; height: 210px; flex: none; user-select: none; pointer-events: none; }
.home .ai-cat-demo canvas { display: block; width: 100%; height: 100%; object-fit: contain; }
.home .code-demo { height: 210px; font-size: clamp(10px, .95vw, 12px); padding: 16px 18px; }
.home .code-demo pre { margin: 0; font: inherit; line-height: 1.5; white-space: pre; }
.home .code-demo code { font: inherit; }
.home .code-demo .tok-c { color: #a6a39c; }
@media (max-width: 720px) {
  .home .code-demo { font-size: clamp(10px, 3.1vw, 12px); }
}

.home .engineering-media { height: 210px; overflow: hidden; border-radius: 20px; background: transparent; }
.home .engineering-media img { width: 100%; height: 100%; object-fit: contain; -webkit-user-drag: none; }
.home .engineering-media img[hidden] { display: none; }
@media (max-width: 720px) {
  .home .engineering-media { height: auto; aspect-ratio: 16 / 9; }
}
