/* One native-engine stage; no global selectors or layout dependencies. */
.engine-film {
  --ef-bg: #0d141a;
  --ef-ink: #f3f6ef;
  --ef-mint: #c9ff8a;
  --ef-muted: #a2afa8;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  background: var(--ef-bg);
  color: var(--ef-ink);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}
.engine-film .ef-scope {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 4% 0;
  color: #aab9ae;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.engine-film .ef-scope > span:first-child {display: inline-flex; align-items: center; gap: 10px}
.engine-film .ef-scope i {display: block; width: 5px; height: 5px; background: var(--ef-mint)}
.engine-film .ef-scope > span:last-child {color: #77887d; letter-spacing: .035em}
.engine-film .ef-visual {width: 100%; margin: 0 auto; max-width: 1360px}
.engine-film .ef-stage {display: block; width: 100%; height: auto; overflow: visible}
.engine-film .ef-stage text {font-family: Inter, "Helvetica Neue", Arial, sans-serif}
.engine-film .ef-object {transition: opacity .45s ease; opacity: .48}
.engine-film .ef-label {fill: #e3eae1; font-size: 24px; font-weight: 500; letter-spacing: -.6px}
.engine-film .ef-label-small {fill: #8b9b90; font-size: 14px; font-weight: 400; letter-spacing: 0}
.engine-film .ef-graph-note {fill: #9daf99; font-size: 11px; font-weight: 500; letter-spacing: 1.2px}
.engine-film .ef-host-note {fill: #8b9b90; font-size: 14px; font-weight: 400}
.engine-film .ef-state-word {fill: #e3f4d6; font-size: 27px; font-weight: 500; letter-spacing: -1px}
.engine-film .ef-state-small {fill: #9bb58e; font-size: 11px; font-weight: 500; letter-spacing: 1px}
.engine-film .ef-token-word {fill: #17241c; font-size: 19px; font-weight: 550; letter-spacing: -.2px}
.engine-film .ef-cpu-word {fill: #c6d4c0; font-size: 13px; font-weight: 500; letter-spacing: 1px}
.engine-film .ef-silicon-word {fill: #b7c9a4; font-size: 9px; font-weight: 500; letter-spacing: 3px}
.engine-film .ef-wire {fill: none; stroke: #819474; stroke-width: 1.5; opacity: .3; transition: opacity .45s ease, stroke .45s ease}
.engine-film .ef-wire-halo {fill: none; stroke: var(--ef-mint); stroke-width: 8; opacity: 0; transition: opacity .45s ease}
.engine-film .ef-wire-state {stroke-dasharray: 4 5}
.engine-film .ef-kernel-focus {opacity: 0; transition: opacity .45s ease}
.engine-film[data-ef-focus="graph"] .ef-graph,
.engine-film[data-ef-focus="graph"] .ef-weights,
.engine-film[data-ef-focus="kernels"] .ef-compute,
.engine-film[data-ef-focus="kernels"] .ef-weights,
.engine-film[data-ef-focus="runtime"] .ef-state,
.engine-film[data-ef-focus="runtime"] .ef-token,
.engine-film[data-ef-focus="runtime"] .ef-cpu {opacity: 1}
.engine-film[data-ef-focus="graph"] .ef-wire-graph,
.engine-film[data-ef-focus="graph"] .ef-wire-weights,
.engine-film[data-ef-focus="kernels"] .ef-wire-weights,
.engine-film[data-ef-focus="kernels"] .ef-wire-output,
.engine-film[data-ef-focus="runtime"] .ef-wire-state,
.engine-film[data-ef-focus="runtime"] .ef-wire-output,
.engine-film[data-ef-focus="runtime"] .ef-wire-token {opacity: 1; stroke: var(--ef-mint)}
.engine-film[data-ef-focus="graph"] .ef-wire-halo.ef-wire-graph,
.engine-film[data-ef-focus="graph"] .ef-wire-halo.ef-wire-weights,
.engine-film[data-ef-focus="kernels"] .ef-wire-halo.ef-wire-weights,
.engine-film[data-ef-focus="kernels"] .ef-wire-halo.ef-wire-output,
.engine-film[data-ef-focus="runtime"] .ef-wire-halo.ef-wire-state,
.engine-film[data-ef-focus="runtime"] .ef-wire-halo.ef-wire-output,
.engine-film[data-ef-focus="runtime"] .ef-wire-halo.ef-wire-token {opacity: .045}
.engine-film[data-ef-focus="kernels"] .ef-kernel-focus {opacity: 1}
.engine-film .ef-controls {
  display: flex;
  align-items: stretch;
  margin: -1px 4% 0;
  border-top: 1px solid #3a483d;
  border-bottom: 1px solid #3a483d;
}
.engine-film .ef-controls button {
  position: relative;
  display: flex;
  flex: 1 1 0;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 24px 22px 24px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #8d9b90;
  font: 500 clamp(15px, 1.5vw, 21px)/1.3 Inter, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -.35px;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.engine-film .ef-controls button::after {content: ""; position: absolute; left: 0; right: 26px; bottom: -1px; height: 2px; background: var(--ef-mint); transform: scaleX(0); transform-origin: left; transition: transform .25s ease}
.engine-film .ef-controls button[aria-pressed="true"] {color: var(--ef-mint)}
.engine-film .ef-controls button[aria-pressed="true"]::after {transform: scaleX(1)}
.engine-film .ef-controls button:hover {color: #f0f8e5}
.engine-film .ef-controls button:focus-visible {outline: 2px solid #d9ffa9; outline-offset: -5px}
.engine-film .ef-control-number {font-size: 11px; font-weight: 400; color: #84967c; letter-spacing: .6px}
.engine-film .ef-control-arrow {margin-left: auto; font-size: 19px; opacity: 0; transition: opacity .25s ease}
.engine-film [aria-pressed="true"] .ef-control-arrow {opacity: 1}
.engine-film .ef-caption {display: grid; grid-template-columns: 1fr 1fr; align-items: start; column-gap: 9%; min-height: 140px; padding: 33px 4% 37px}
.engine-film .ef-caption h3 {max-width: 25ch; margin: 0; color: #f2f6ed; font-size: clamp(24px, 2.7vw, 37px); font-weight: 450; line-height: 1.14; letter-spacing: -1px}
.engine-film .ef-caption p {max-width: 45ch; margin: 0; color: #9fac9f; font-size: clamp(13px, 1.2vw, 16px); line-height: 1.65; letter-spacing: -.12px}
@media (min-width: 1500px) {.engine-film .ef-scope, .engine-film .ef-caption {padding-inline: 6%}.engine-film .ef-controls {margin-inline: 6%}}
@media (max-width: 800px) {
  .engine-film .ef-scope {padding-top: 24px; font-size: 8px; gap: 12px}
  .engine-film .ef-controls button {gap: 9px; padding-block: 20px; font-size: 15px}
  .engine-film .ef-control-arrow {display: none}
  .engine-film .ef-controls button::after {right: 17px}
  .engine-film .ef-caption {min-height: 145px; gap: 24px; padding-block: 27px 30px}
  .engine-film .ef-caption h3 {font-size: 25px; letter-spacing: -.7px}
  .engine-film .ef-caption p {font-size: 13px; line-height: 1.6}
}
@media (max-width: 640px) {
  .engine-film .ef-scope {padding: 23px 6% 0; flex-direction: column; align-items: flex-start; gap: 5px; font-size: 9px; letter-spacing: .06em}
  .engine-film .ef-scope > span:last-child {padding-left: 15px; font-size: 8px}
  .engine-film .ef-visual {margin-top: 10px; max-width: 500px}
  .engine-film .ef-label {font-size: 22px; letter-spacing: -.8px}
  .engine-film .ef-label-small {font-size: 12px; letter-spacing: -.15px}
  .engine-film .ef-host-note {font-size: 14px}
  .engine-film .ef-graph-note {font-size: 10px; letter-spacing: 1px}
  .engine-film .ef-controls {margin: 0 6%; gap: 14px}
  .engine-film .ef-controls button {display: block; padding: 17px 0 18px; font-size: 14px; line-height: 1.35; letter-spacing: -.3px}
  .engine-film .ef-control-number {display: block; margin-bottom: 6px; font-size: 10px}
  .engine-film .ef-controls button::after {right: 0}
  .engine-film .ef-caption {display: block; padding: 28px 6% 34px; min-height: 190px}
  .engine-film .ef-caption h3 {max-width: 23ch; font-size: clamp(25px, 6.5vw, 32px); letter-spacing: -.8px}
  .engine-film .ef-caption p {font-size: 14px; margin-top: 15px; max-width: 44ch; line-height: 1.65}
}
@media (max-width: 350px) {
  .engine-film .ef-controls {gap: 10px}
  .engine-film .ef-controls button {font-size: 12px}
  .engine-film .ef-caption {min-height: 218px}
  .engine-film .ef-caption p {font-size: 13px}
}
@media (prefers-reduced-motion: reduce) {
  .engine-film .ef-object,
  .engine-film .ef-wire,
  .engine-film .ef-wire-halo,
  .engine-film .ef-kernel-focus,
  .engine-film .ef-controls button::after,
  .engine-film .ef-control-arrow {transition: none}
}
