/* =====================================================================
   COLMOR LLP — "One instruction. One partner." (the About page's loop)
   ---------------------------------------------------------------------
   One component, two compositions: 16:9 (1920x1080) and 4:5 (1080x1350).
   The picture is a single inline SVG drawn in those units, so it is the
   same picture at any width. Motion lives in one-partner.js (one GSAP
   timeline, 22.5s, seamless). All classes are prefixed onep- so nothing
   here touches the host page.
   ===================================================================== */
/* margin:0 matters when the host is a <figure>: its browser-default margin would shift the stage */
.onep{position:relative;display:block;width:100%;margin:0;aspect-ratio:16/9;overflow:hidden;isolation:isolate;contain:layout paint;background:#052e75;color:#fff;color-scheme:only light;
  font-family:'Space Grotesk',system-ui,-apple-system,'Segoe UI',sans-serif;line-height:1.2;text-align:left;
  -webkit-font-smoothing:antialiased;-webkit-user-select:none;user-select:none;
  -webkit-text-size-adjust:100%;text-size-adjust:100%}
.onep[data-onep-format="portrait"]{aspect-ratio:4/5}
/* 4:5 on upright phones only. The same query is in one-partner.js and on the page's <source>. */
@media (max-width:700px) and (orientation:portrait){.onep[data-onep-format="auto"]{aspect-ratio:4/5}}
.onep picture{display:contents}
/* still frame: shown until the animation is ready, and kept if it never is.
   It stays in place underneath afterwards, so its alt text is still read out. */
.onep-poster{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;z-index:0}

/* forced-color-adjust: the stage is a picture, like the still frame beneath it. In a Windows
   contrast theme it keeps its own colours. pointer-events: it is not something to click. */
.onep-stage{position:absolute;inset:0;z-index:1;overflow:hidden;forced-color-adjust:none;pointer-events:none;
  background:linear-gradient(158deg,#0c3a86 0%,#052e75 46%,#041f53 100%)}
.onep-stage svg{display:block;width:100%;height:100%;overflow:hidden}
.onep-stage text{font-family:'Space Grotesk',system-ui,-apple-system,'Segoe UI',sans-serif;text-rendering:geometricPrecision;font-kerning:normal}
/* every value in the picture is set by the script's timeline: nothing on the host page may ease or animate one */
.onep-stage,.onep-stage *{transition:none!important;animation:none!important}
/* on paper, the still frame: a print would otherwise catch the loop wherever it happened to be */
@media print{.onep-stage,.onep-toggle{display:none!important}}

/* the control drawn by the script when the page supplies none */
.onep-toggle{position:absolute;right:2.2%;bottom:3%;z-index:3;width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.35);
  background:rgba(4,31,83,.7);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.onep-toggle svg{width:14px;height:14px;fill:currentColor}
.onep-toggle[data-state="playing"] .onep-i-play,.onep-toggle[data-state="paused"] .onep-i-pause{display:none}
.onep-toggle:focus-visible{outline:2px solid #fac703;outline-offset:3px}
