#automation.automation-film{position:relative;isolation:isolate;width:100vw;margin-inline:calc(50% - 50vw);height:auto;min-height:0;max-height:none;padding:0;border:0;background:#fff;overflow:hidden;color:#242a30}
#automation .automation-poster,#automation video,#automation .automation-shade{position:absolute;inset:0;width:100%;height:100%}
#automation .automation-poster img,#automation video{display:block;width:100%;height:100%;object-fit:contain;object-position:center;background:#171d21}
#automation video{transition:opacity .65s}
#automation.has-player:not(.has-frame) video{opacity:0;pointer-events:none}
#automation.has-frame video{opacity:1}
#automation .automation-shade{background:linear-gradient(180deg,rgba(12,19,26,.12) 15%,rgba(12,19,26,.18) 45%,rgba(12,19,26,.76) 100%);pointer-events:none}
#automation:not(.has-player) .automation-shade,#automation.has-frame .automation-shade{display:none}
#automation .automation-play{position:absolute;left:50%;top:46%;transform:translate(-50%,-50%);width:104px;height:104px;border-radius:50%;border:1px solid #ffffff80;background:#ffffff18;backdrop-filter:blur(7px);display:grid;place-items:center;color:#fff;padding:0;cursor:pointer}
#automation .automation-play svg{width:27px;height:32px;margin-left:5px}
#automation .automation-copy{position:static;padding:var(--section-entry) var(--gutter) var(--avis-focus-after);text-align:center}
#automation .automation-copy p{font:500 11px/1.4 Inter,Arial,sans-serif;letter-spacing:.18em;text-transform:uppercase;color:#737873;margin:0 0 20px}
#automation h2{font:500 clamp(36px,4.4vw,68px)/1.12 Manrope,Arial,sans-serif;letter-spacing:0.01em;color:#242a30;margin:0}


#automation .automation-stage{display:block;position:relative;height:84svh;min-height:620px;max-height:1200px;background:#242a30;overflow:hidden}
@media(prefers-reduced-motion:reduce){#automation video{transition:none}}

#automation .automation-play[hidden]{display:none}
#automation.is-loading .automation-play svg{visibility:hidden}
#automation.is-loading .automation-play::after{content:"";position:absolute;width:24px;height:24px;border:2px solid #ffffff50;border-top-color:#fff;border-radius:50%;animation:automation-loading .8s linear infinite}
@keyframes automation-loading{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#automation.is-loading .automation-play::after{animation:none}}
#automation .automation-status{position:absolute;top:56%;left:10%;right:10%;text-align:center;color:white;pointer-events:none}
@media (max-width:700px) {
  #automation.automation-film {
    height:auto;
    min-height:0;
    max-height:none;
  }
  #automation .automation-stage {
    display:block;
    position:relative;
    height:auto;
    min-height:0;
    max-height:none;
    aspect-ratio:1280 / 574;
    background:#171d21;
  }
  #automation .automation-stage:has(video source[media]) {
    aspect-ratio:9 / 16;
  }
  #automation .automation-shade {background:rgba(12,19,26,.12)}
  #automation .automation-play {top:50%;width:58px;height:58px}
  #automation .automation-play svg {width:18px;height:22px;margin-left:3px}
  #automation .automation-status {top:auto;bottom:6px;font-size:12px}
  #automation .automation-copy {
    position:static;
    padding:20px 24px 26px;
    text-align:left;
  }
  #automation .automation-copy p {font-size:9px;letter-spacing:.12em;margin-bottom:10px}
  #automation h2 {font-size:30px;line-height:1.14}
  #automation h2 br {display:none}
}

/* The neutral stage remains visible until the local poster has decoded. */
#automation:not(.has-poster) .automation-poster { visibility:hidden; }
